CustomerSubscriptions class
Class representing a CustomerSubscriptions.
Constructors
Customer |
Create a CustomerSubscriptions. |
Methods
Constructor Details
CustomerSubscriptions(AzureStackManagementClientContext)
Create a CustomerSubscriptions.
new CustomerSubscriptions(client: AzureStackManagementClientContext)
Parameters
Reference to the service client.
Method Details
create(string, string, string, CustomerSubscription, RequestOptionsBase)
Creates a new customer subscription under a registration.
function create(resourceGroup: string, registrationName: string, customerSubscriptionName: string, customerCreationParameters: CustomerSubscription, options?: RequestOptionsBase): Promise<CustomerSubscriptionsCreateResponse>
Parameters
- resourceGroup
-
string
Name of the resource group.
- registrationName
-
string
Name of the Azure Stack registration.
- customerSubscriptionName
-
string
Name of the product.
- customerCreationParameters
- CustomerSubscription
Parameters use to create a customer subscription.
- options
- RequestOptionsBase
The optional parameters
Returns
Promise<CustomerSubscriptionsCreateResponse>
Promise<Models.CustomerSubscriptionsCreateResponse>
create(string, string, string, CustomerSubscription, RequestOptionsBase, ServiceCallback<CustomerSubscription>)
function create(resourceGroup: string, registrationName: string, customerSubscriptionName: string, customerCreationParameters: CustomerSubscription, options: RequestOptionsBase, callback: ServiceCallback<CustomerSubscription>)
Parameters
- resourceGroup
-
string
Name of the resource group.
- registrationName
-
string
Name of the Azure Stack registration.
- customerSubscriptionName
-
string
Name of the product.
- customerCreationParameters
- CustomerSubscription
Parameters use to create a customer subscription.
- options
- RequestOptionsBase
The optional parameters
- callback
The callback
create(string, string, string, CustomerSubscription, ServiceCallback<CustomerSubscription>)
function create(resourceGroup: string, registrationName: string, customerSubscriptionName: string, customerCreationParameters: CustomerSubscription, callback: ServiceCallback<CustomerSubscription>)
Parameters
- resourceGroup
-
string
Name of the resource group.
- registrationName
-
string
Name of the Azure Stack registration.
- customerSubscriptionName
-
string
Name of the product.
- customerCreationParameters
- CustomerSubscription
Parameters use to create a customer subscription.
- callback
The callback
deleteMethod(string, string, string, RequestOptionsBase)
Deletes a customer subscription under a registration.
function deleteMethod(resourceGroup: string, registrationName: string, customerSubscriptionName: string, options?: RequestOptionsBase): Promise<RestResponse>
Parameters
- resourceGroup
-
string
Name of the resource group.
- registrationName
-
string
Name of the Azure Stack registration.
- customerSubscriptionName
-
string
Name of the product.
- options
- RequestOptionsBase
The optional parameters
Returns
Promise<RestResponse>
Promise<msRest.RestResponse>
deleteMethod(string, string, string, RequestOptionsBase, ServiceCallback<void>)
function deleteMethod(resourceGroup: string, registrationName: string, customerSubscriptionName: string, options: RequestOptionsBase, callback: ServiceCallback<void>)
Parameters
- resourceGroup
-
string
Name of the resource group.
- registrationName
-
string
Name of the Azure Stack registration.
- customerSubscriptionName
-
string
Name of the product.
- options
- RequestOptionsBase
The optional parameters
- callback
-
ServiceCallback<void>
The callback
deleteMethod(string, string, string, ServiceCallback<void>)
function deleteMethod(resourceGroup: string, registrationName: string, customerSubscriptionName: string, callback: ServiceCallback<void>)
Parameters
- resourceGroup
-
string
Name of the resource group.
- registrationName
-
string
Name of the Azure Stack registration.
- customerSubscriptionName
-
string
Name of the product.
- callback
-
ServiceCallback<void>
The callback
get(string, string, string, RequestOptionsBase)
Returns the specified product.
function get(resourceGroup: string, registrationName: string, customerSubscriptionName: string, options?: RequestOptionsBase): Promise<CustomerSubscriptionsGetResponse>
Parameters
- resourceGroup
-
string
Name of the resource group.
- registrationName
-
string
Name of the Azure Stack registration.
- customerSubscriptionName
-
string
Name of the product.
- options
- RequestOptionsBase
The optional parameters
Returns
Promise<CustomerSubscriptionsGetResponse>
Promise<Models.CustomerSubscriptionsGetResponse>
get(string, string, string, RequestOptionsBase, ServiceCallback<CustomerSubscription>)
function get(resourceGroup: string, registrationName: string, customerSubscriptionName: string, options: RequestOptionsBase, callback: ServiceCallback<CustomerSubscription>)
Parameters
- resourceGroup
-
string
Name of the resource group.
- registrationName
-
string
Name of the Azure Stack registration.
- customerSubscriptionName
-
string
Name of the product.
- options
- RequestOptionsBase
The optional parameters
- callback
The callback
get(string, string, string, ServiceCallback<CustomerSubscription>)
function get(resourceGroup: string, registrationName: string, customerSubscriptionName: string, callback: ServiceCallback<CustomerSubscription>)
Parameters
- resourceGroup
-
string
Name of the resource group.
- registrationName
-
string
Name of the Azure Stack registration.
- customerSubscriptionName
-
string
Name of the product.
- callback
The callback
list(string, string, RequestOptionsBase)
Returns a list of products.
function list(resourceGroup: string, registrationName: string, options?: RequestOptionsBase): Promise<CustomerSubscriptionsListResponse>
Parameters
- resourceGroup
-
string
Name of the resource group.
- registrationName
-
string
Name of the Azure Stack registration.
- options
- RequestOptionsBase
The optional parameters
Returns
Promise<CustomerSubscriptionsListResponse>
Promise<Models.CustomerSubscriptionsListResponse>
list(string, string, RequestOptionsBase, ServiceCallback<CustomerSubscriptionList>)
function list(resourceGroup: string, registrationName: string, options: RequestOptionsBase, callback: ServiceCallback<CustomerSubscriptionList>)
Parameters
- resourceGroup
-
string
Name of the resource group.
- registrationName
-
string
Name of the Azure Stack registration.
- options
- RequestOptionsBase
The optional parameters
- callback
The callback
list(string, string, ServiceCallback<CustomerSubscriptionList>)
function list(resourceGroup: string, registrationName: string, callback: ServiceCallback<CustomerSubscriptionList>)
Parameters
- resourceGroup
-
string
Name of the resource group.
- registrationName
-
string
Name of the Azure Stack registration.
- callback
The callback
listNext(string, RequestOptionsBase)
Returns a list of products.
function listNext(nextPageLink: string, options?: RequestOptionsBase): Promise<CustomerSubscriptionsListNextResponse>
Parameters
- nextPageLink
-
string
The NextLink from the previous successful call to List operation.
- options
- RequestOptionsBase
The optional parameters
Returns
Promise<Models.CustomerSubscriptionsListNextResponse>
listNext(string, RequestOptionsBase, ServiceCallback<CustomerSubscriptionList>)
function listNext(nextPageLink: string, options: RequestOptionsBase, callback: ServiceCallback<CustomerSubscriptionList>)
Parameters
- nextPageLink
-
string
The NextLink from the previous successful call to List operation.
- options
- RequestOptionsBase
The optional parameters
- callback
The callback
listNext(string, ServiceCallback<CustomerSubscriptionList>)
function listNext(nextPageLink: string, callback: ServiceCallback<CustomerSubscriptionList>)
Parameters
- nextPageLink
-
string
The NextLink from the previous successful call to List operation.
- callback
The callback