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

CustomerSubscriptions class

表示 CustomerSubscriptions 的类。

构造函数

CustomerSubscriptions(AzureStackManagementClientContext)

创建 CustomerSubscriptions。

方法

create(string, string, string, CustomerSubscription, RequestOptionsBase)

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

create(string, string, string, CustomerSubscription, RequestOptionsBase, ServiceCallback<CustomerSubscription>)
create(string, string, string, CustomerSubscription, ServiceCallback<CustomerSubscription>)
deleteMethod(string, string, string, RequestOptionsBase)

在注册下删除客户订阅。

deleteMethod(string, string, string, RequestOptionsBase, ServiceCallback<void>)
deleteMethod(string, string, string, ServiceCallback<void>)
get(string, string, string, RequestOptionsBase)

返回指定的产品。

get(string, string, string, RequestOptionsBase, ServiceCallback<CustomerSubscription>)
get(string, string, string, ServiceCallback<CustomerSubscription>)
list(string, string, RequestOptionsBase)

返回产品列表。

list(string, string, RequestOptionsBase, ServiceCallback<CustomerSubscriptionList>)
list(string, string, ServiceCallback<CustomerSubscriptionList>)
listNext(string, RequestOptionsBase)

返回产品列表。

listNext(string, RequestOptionsBase, ServiceCallback<CustomerSubscriptionList>)
listNext(string, ServiceCallback<CustomerSubscriptionList>)

构造函数详细信息

CustomerSubscriptions(AzureStackManagementClientContext)

创建 CustomerSubscriptions。

new CustomerSubscriptions(client: AzureStackManagementClientContext)

参数

client
AzureStackManagementClientContext

对服务客户端的引用。

方法详细信息

create(string, string, string, CustomerSubscription, RequestOptionsBase)

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

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

参数

resourceGroup

string

资源组的名称。

registrationName

string

Azure Stack 注册的名称。

customerSubscriptionName

string

产品的名称。

customerCreationParameters
CustomerSubscription

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

options
RequestOptionsBase

可选参数

返回

承诺<模型.CustomerSubscriptionsCreateResponse>

create(string, string, string, CustomerSubscription, RequestOptionsBase, ServiceCallback<CustomerSubscription>)

function create(resourceGroup: string, registrationName: string, customerSubscriptionName: string, customerCreationParameters: CustomerSubscription, options: RequestOptionsBase, callback: ServiceCallback<CustomerSubscription>)

参数

resourceGroup

string

资源组的名称。

registrationName

string

Azure Stack 注册的名称。

customerSubscriptionName

string

产品的名称。

customerCreationParameters
CustomerSubscription

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

options
RequestOptionsBase

可选参数

create(string, string, string, CustomerSubscription, ServiceCallback<CustomerSubscription>)

function create(resourceGroup: string, registrationName: string, customerSubscriptionName: string, customerCreationParameters: CustomerSubscription, callback: ServiceCallback<CustomerSubscription>)

参数

resourceGroup

string

资源组的名称。

registrationName

string

Azure Stack 注册的名称。

customerSubscriptionName

string

产品的名称。

customerCreationParameters
CustomerSubscription

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

deleteMethod(string, string, string, RequestOptionsBase)

在注册下删除客户订阅。

function deleteMethod(resourceGroup: string, registrationName: string, customerSubscriptionName: string, options?: RequestOptionsBase): Promise<RestResponse>

参数

resourceGroup

string

资源组的名称。

registrationName

string

Azure Stack 注册的名称。

customerSubscriptionName

string

产品的名称。

options
RequestOptionsBase

可选参数

返回

Promise<RestResponse>

承诺<msRest.RestResponse>

deleteMethod(string, string, string, RequestOptionsBase, ServiceCallback<void>)

function deleteMethod(resourceGroup: string, registrationName: string, customerSubscriptionName: string, options: RequestOptionsBase, callback: ServiceCallback<void>)

参数

resourceGroup

string

资源组的名称。

registrationName

string

Azure Stack 注册的名称。

customerSubscriptionName

string

产品的名称。

options
RequestOptionsBase

可选参数

callback

ServiceCallback<void>

回调

deleteMethod(string, string, string, ServiceCallback<void>)

function deleteMethod(resourceGroup: string, registrationName: string, customerSubscriptionName: string, callback: ServiceCallback<void>)

参数

resourceGroup

string

资源组的名称。

registrationName

string

Azure Stack 注册的名称。

customerSubscriptionName

string

产品的名称。

callback

ServiceCallback<void>

回调

get(string, string, string, RequestOptionsBase)

返回指定的产品。

function get(resourceGroup: string, registrationName: string, customerSubscriptionName: string, options?: RequestOptionsBase): Promise<CustomerSubscriptionsGetResponse>

参数

resourceGroup

string

资源组的名称。

registrationName

string

Azure Stack 注册的名称。

customerSubscriptionName

string

产品的名称。

options
RequestOptionsBase

可选参数

返回

承诺<Models.CustomerSubscriptionsGetResponse>

get(string, string, string, RequestOptionsBase, ServiceCallback<CustomerSubscription>)

function get(resourceGroup: string, registrationName: string, customerSubscriptionName: string, options: RequestOptionsBase, callback: ServiceCallback<CustomerSubscription>)

参数

resourceGroup

string

资源组的名称。

registrationName

string

Azure Stack 注册的名称。

customerSubscriptionName

string

产品的名称。

options
RequestOptionsBase

可选参数

get(string, string, string, ServiceCallback<CustomerSubscription>)

function get(resourceGroup: string, registrationName: string, customerSubscriptionName: string, callback: ServiceCallback<CustomerSubscription>)

参数

resourceGroup

string

资源组的名称。

registrationName

string

Azure Stack 注册的名称。

customerSubscriptionName

string

产品的名称。

list(string, string, RequestOptionsBase)

返回产品列表。

function list(resourceGroup: string, registrationName: string, options?: RequestOptionsBase): Promise<CustomerSubscriptionsListResponse>

参数

resourceGroup

string

资源组的名称。

registrationName

string

Azure Stack 注册的名称。

options
RequestOptionsBase

可选参数

返回

Promise<Models.CustomerSubscriptionsListResponse>

list(string, string, RequestOptionsBase, ServiceCallback<CustomerSubscriptionList>)

function list(resourceGroup: string, registrationName: string, options: RequestOptionsBase, callback: ServiceCallback<CustomerSubscriptionList>)

参数

resourceGroup

string

资源组的名称。

registrationName

string

Azure Stack 注册的名称。

options
RequestOptionsBase

可选参数

list(string, string, ServiceCallback<CustomerSubscriptionList>)

function list(resourceGroup: string, registrationName: string, callback: ServiceCallback<CustomerSubscriptionList>)

参数

resourceGroup

string

资源组的名称。

registrationName

string

Azure Stack 注册的名称。

listNext(string, RequestOptionsBase)

返回产品列表。

function listNext(nextPageLink: string, options?: RequestOptionsBase): Promise<CustomerSubscriptionsListNextResponse>

参数

nextPageLink

string

上一次成功调用 List作的 NextLink。

options
RequestOptionsBase

可选参数

返回

承诺<Models.CustomerSubscriptionsListNextResponse>

listNext(string, RequestOptionsBase, ServiceCallback<CustomerSubscriptionList>)

function listNext(nextPageLink: string, options: RequestOptionsBase, callback: ServiceCallback<CustomerSubscriptionList>)

参数

nextPageLink

string

上一次成功调用 List作的 NextLink。

options
RequestOptionsBase

可选参数

listNext(string, ServiceCallback<CustomerSubscriptionList>)

function listNext(nextPageLink: string, callback: ServiceCallback<CustomerSubscriptionList>)

参数

nextPageLink

string

上一次成功调用 List作的 NextLink。