CustomerSubscriptions interface

Interface representing a CustomerSubscriptions.

Methods

create(string, string, string, CustomerSubscription, CustomerSubscriptionsCreateOptionalParams)

Creates a new customer subscription under a registration.

delete(string, string, string, CustomerSubscriptionsDeleteOptionalParams)

Deletes a customer subscription under a registration.

get(string, string, string, CustomerSubscriptionsGetOptionalParams)

Returns the specified product.

list(string, string, CustomerSubscriptionsListOptionalParams)

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.

options
CustomerSubscriptionsCreateOptionalParams

The options parameters.

Returns

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.

options
CustomerSubscriptionsDeleteOptionalParams

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.

options
CustomerSubscriptionsGetOptionalParams

The options parameters.

Returns

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.

options
CustomerSubscriptionsListOptionalParams

The options parameters.

Returns