CustomerSubscriptions interface
Interface representing a CustomerSubscriptions.
Methods
create(string, string, string, Customer |
Creates a new customer subscription under a registration. |
delete(string, string, string, Customer |
Deletes a customer subscription under a registration. |
get(string, string, string, Customer |
Returns the specified product. |
list(string, string, Customer |
Returns a list of products. |
Method Details
create(string, string, string, CustomerSubscription, CustomerSubscriptionsCreateOptionalParams)
Creates a new customer subscription under a registration.
function create(resourceGroup: string, registrationName: string, customerSubscriptionName: string, customerCreationParameters: CustomerSubscription, options?: CustomerSubscriptionsCreateOptionalParams): Promise<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.
The options parameters.
Returns
Promise<CustomerSubscription>
delete(string, string, string, CustomerSubscriptionsDeleteOptionalParams)
Deletes a customer subscription under a registration.
function delete(resourceGroup: string, registrationName: string, customerSubscriptionName: string, options?: CustomerSubscriptionsDeleteOptionalParams): Promise<void>
Parameters
- resourceGroup
-
string
Name of the resource group.
- registrationName
-
string
Name of the Azure Stack registration.
- customerSubscriptionName
-
string
Name of the product.
The options parameters.
Returns
Promise<void>
get(string, string, string, CustomerSubscriptionsGetOptionalParams)
Returns the specified product.
function get(resourceGroup: string, registrationName: string, customerSubscriptionName: string, options?: CustomerSubscriptionsGetOptionalParams): Promise<CustomerSubscription>
Parameters
- resourceGroup
-
string
Name of the resource group.
- registrationName
-
string
Name of the Azure Stack registration.
- customerSubscriptionName
-
string
Name of the product.
The options parameters.
Returns
Promise<CustomerSubscription>
list(string, string, CustomerSubscriptionsListOptionalParams)
Returns a list of products.
function list(resourceGroup: string, registrationName: string, options?: CustomerSubscriptionsListOptionalParams): PagedAsyncIterableIterator<CustomerSubscription, CustomerSubscription[], PageSettings>
Parameters
- resourceGroup
-
string
Name of the resource group.
- registrationName
-
string
Name of the Azure Stack registration.
The options parameters.
Returns
Azure SDK for JavaScript