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

CustomerSubscriptions interface

表示 CustomerSubscriptions 的接口。

方法

create(string, string, string, CustomerSubscription, CustomerSubscriptionsCreateOptionalParams)

在注册下创建新的客户订阅。

delete(string, string, string, CustomerSubscriptionsDeleteOptionalParams)

在注册下删除客户订阅。

get(string, string, string, CustomerSubscriptionsGetOptionalParams)

返回指定的产品。

list(string, string, CustomerSubscriptionsListOptionalParams)

返回产品列表。

方法详细信息

create(string, string, string, CustomerSubscription, CustomerSubscriptionsCreateOptionalParams)

在注册下创建新的客户订阅。

function create(resourceGroup: string, registrationName: string, customerSubscriptionName: string, customerCreationParameters: CustomerSubscription, options?: CustomerSubscriptionsCreateOptionalParams): Promise<CustomerSubscription>

参数

resourceGroup

string

资源组的名称。

registrationName

string

Azure Stack 注册的名称。

customerSubscriptionName

string

产品的名称。

customerCreationParameters
CustomerSubscription

用于创建客户订阅的参数。

返回

delete(string, string, string, CustomerSubscriptionsDeleteOptionalParams)

在注册下删除客户订阅。

function delete(resourceGroup: string, registrationName: string, customerSubscriptionName: string, options?: CustomerSubscriptionsDeleteOptionalParams): Promise<void>

参数

resourceGroup

string

资源组的名称。

registrationName

string

Azure Stack 注册的名称。

customerSubscriptionName

string

产品的名称。

返回

Promise<void>

get(string, string, string, CustomerSubscriptionsGetOptionalParams)

返回指定的产品。

function get(resourceGroup: string, registrationName: string, customerSubscriptionName: string, options?: CustomerSubscriptionsGetOptionalParams): Promise<CustomerSubscription>

参数

resourceGroup

string

资源组的名称。

registrationName

string

Azure Stack 注册的名称。

customerSubscriptionName

string

产品的名称。

options
CustomerSubscriptionsGetOptionalParams

选项参数。

返回

list(string, string, CustomerSubscriptionsListOptionalParams)

返回产品列表。

function list(resourceGroup: string, registrationName: string, options?: CustomerSubscriptionsListOptionalParams): PagedAsyncIterableIterator<CustomerSubscription, CustomerSubscription[], PageSettings>

参数

resourceGroup

string

资源组的名称。

registrationName

string

Azure Stack 注册的名称。

options
CustomerSubscriptionsListOptionalParams

选项参数。

返回