Share via


你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ISubscriptions 接口

定义

订阅管理 API 的入口点。

public interface ISubscriptions : Microsoft.Azure.Management.ResourceManager.Fluent.Core.CollectionActions.ISupportsGettingById<Microsoft.Azure.Management.ResourceManager.Fluent.ISubscription>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.CollectionActions.ISupportsListing<Microsoft.Azure.Management.ResourceManager.Fluent.ISubscription>
type ISubscriptions = interface
    interface ISupportsListing<ISubscription>
    interface ISupportsGettingById<ISubscription>
Public Interface ISubscriptions
Implements ISupportsGettingById(Of ISubscription), ISupportsListing(Of ISubscription)
实现

方法

GetById(String)

根据资源 ID 从 Azure 获取有关资源的信息。

(继承自 ISupportsGettingById<T>)
GetByIdAsync(String, CancellationToken)

根据资源 ID 从 Azure 获取有关资源的信息。

(继承自 ISupportsGettingById<T>)
List()

列出当前所选订阅中指定类型的所有资源。

(继承自 ISupportsListing<T>)
ListAsync(Boolean, CancellationToken)

列出当前所选订阅中指定类型的所有资源。

(继承自 ISupportsListing<T>)

适用于