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
回呼