CustomerSubscriptions class

Class representing a CustomerSubscriptions.

Constructors

CustomerSubscriptions(AzureStackManagementClientContext)

Create a CustomerSubscriptions.

Methods

create(string, string, string, CustomerSubscription, RequestOptionsBase)

Creates a new customer subscription under a registration.

create(string, string, string, CustomerSubscription, RequestOptionsBase, ServiceCallback<CustomerSubscription>)
create(string, string, string, CustomerSubscription, ServiceCallback<CustomerSubscription>)
deleteMethod(string, string, string, RequestOptionsBase)

Deletes a customer subscription under a registration.

deleteMethod(string, string, string, RequestOptionsBase, ServiceCallback<void>)
deleteMethod(string, string, string, ServiceCallback<void>)
get(string, string, string, RequestOptionsBase)

Returns the specified product.

get(string, string, string, RequestOptionsBase, ServiceCallback<CustomerSubscription>)
get(string, string, string, ServiceCallback<CustomerSubscription>)
list(string, string, RequestOptionsBase)

Returns a list of products.

list(string, string, RequestOptionsBase, ServiceCallback<CustomerSubscriptionList>)
list(string, string, ServiceCallback<CustomerSubscriptionList>)
listNext(string, RequestOptionsBase)

Returns a list of products.

listNext(string, RequestOptionsBase, ServiceCallback<CustomerSubscriptionList>)
listNext(string, ServiceCallback<CustomerSubscriptionList>)

Constructor Details

CustomerSubscriptions(AzureStackManagementClientContext)

Create a CustomerSubscriptions.

new CustomerSubscriptions(client: AzureStackManagementClientContext)

Parameters

client
AzureStackManagementClientContext

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

ServiceCallback<CustomerSubscription>

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

ServiceCallback<CustomerSubscription>

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

ServiceCallback<CustomerSubscription>

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

ServiceCallback<CustomerSubscription>

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

ServiceCallback<CustomerSubscriptionList>

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

ServiceCallback<CustomerSubscriptionList>

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

ServiceCallback<CustomerSubscriptionList>

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

ServiceCallback<CustomerSubscriptionList>

The callback