CustomerSubscriptions class
表示 CustomerSubscriptions 的类。
构造函数
| Customer |
创建 CustomerSubscriptions。 |
方法
构造函数详细信息
CustomerSubscriptions(AzureStackManagementClientContext)
创建 CustomerSubscriptions。
new CustomerSubscriptions(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
可选参数
返回
Promise<CustomerSubscriptionsCreateResponse>
承诺<模型.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
可选参数
- callback
回调
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
用于创建客户订阅的参数。
- callback
回调
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
可选参数
返回
Promise<CustomerSubscriptionsGetResponse>
承诺<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
可选参数
- callback
回调
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
产品的名称。
- callback
回调
list(string, string, RequestOptionsBase)
返回产品列表。
function list(resourceGroup: string, registrationName: string, options?: RequestOptionsBase): Promise<CustomerSubscriptionsListResponse>
参数
- resourceGroup
-
string
资源组的名称。
- registrationName
-
string
Azure Stack 注册的名称。
- options
- RequestOptionsBase
可选参数
返回
Promise<CustomerSubscriptionsListResponse>
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
可选参数
- callback
回调
list(string, string, ServiceCallback<CustomerSubscriptionList>)
function list(resourceGroup: string, registrationName: string, callback: ServiceCallback<CustomerSubscriptionList>)
参数
- resourceGroup
-
string
资源组的名称。
- registrationName
-
string
Azure Stack 注册的名称。
- callback
回调
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
可选参数
- callback
回调
listNext(string, ServiceCallback<CustomerSubscriptionList>)
function listNext(nextPageLink: string, callback: ServiceCallback<CustomerSubscriptionList>)
参数
- nextPageLink
-
string
上一次成功调用 List作的 NextLink。
- callback
回调