Partilhar via


CustomerSubscriptions class

Classe que representa um CustomerSubscriptions.

Construtores

CustomerSubscriptions(AzureStackManagementClientContext)

Crie um CustomerSubscriptions.

Métodos

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

Cria uma nova assinatura de cliente sob um registro.

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

Exclui uma assinatura de cliente em um registro.

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

Devolve o produto especificado.

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

Devolve uma lista de produtos.

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

Devolve uma lista de produtos.

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

Detalhes do Construtor

CustomerSubscriptions(AzureStackManagementClientContext)

Crie um CustomerSubscriptions.

new CustomerSubscriptions(client: AzureStackManagementClientContext)

Parâmetros

client
AzureStackManagementClientContext

Referência ao cliente do serviço.

Detalhes de Método

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

Cria uma nova assinatura de cliente sob um registro.

function create(resourceGroup: string, registrationName: string, customerSubscriptionName: string, customerCreationParameters: CustomerSubscription, options?: RequestOptionsBase): Promise<CustomerSubscriptionsCreateResponse>

Parâmetros

resourceGroup

string

Nome do grupo de recursos.

registrationName

string

Nome do registro do Azure Stack.

customerSubscriptionName

string

Nome do produto.

customerCreationParameters
CustomerSubscription

Parâmetros usados para criar uma assinatura de cliente.

options
RequestOptionsBase

Os parâmetros opcionais

Devoluções

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

Parâmetros

resourceGroup

string

Nome do grupo de recursos.

registrationName

string

Nome do registro do Azure Stack.

customerSubscriptionName

string

Nome do produto.

customerCreationParameters
CustomerSubscription

Parâmetros usados para criar uma assinatura de cliente.

options
RequestOptionsBase

Os parâmetros opcionais

callback

ServiceCallback<CustomerSubscription>

O retorno de chamada

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

function create(resourceGroup: string, registrationName: string, customerSubscriptionName: string, customerCreationParameters: CustomerSubscription, callback: ServiceCallback<CustomerSubscription>)

Parâmetros

resourceGroup

string

Nome do grupo de recursos.

registrationName

string

Nome do registro do Azure Stack.

customerSubscriptionName

string

Nome do produto.

customerCreationParameters
CustomerSubscription

Parâmetros usados para criar uma assinatura de cliente.

callback

ServiceCallback<CustomerSubscription>

O retorno de chamada

deleteMethod(string, string, string, RequestOptionsBase)

Exclui uma assinatura de cliente em um registro.

function deleteMethod(resourceGroup: string, registrationName: string, customerSubscriptionName: string, options?: RequestOptionsBase): Promise<RestResponse>

Parâmetros

resourceGroup

string

Nome do grupo de recursos.

registrationName

string

Nome do registro do Azure Stack.

customerSubscriptionName

string

Nome do produto.

options
RequestOptionsBase

Os parâmetros opcionais

Devoluções

Promise<RestResponse>

Prometa<> msRest.RestResponse

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

function deleteMethod(resourceGroup: string, registrationName: string, customerSubscriptionName: string, options: RequestOptionsBase, callback: ServiceCallback<void>)

Parâmetros

resourceGroup

string

Nome do grupo de recursos.

registrationName

string

Nome do registro do Azure Stack.

customerSubscriptionName

string

Nome do produto.

options
RequestOptionsBase

Os parâmetros opcionais

callback

ServiceCallback<void>

O retorno de chamada

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

function deleteMethod(resourceGroup: string, registrationName: string, customerSubscriptionName: string, callback: ServiceCallback<void>)

Parâmetros

resourceGroup

string

Nome do grupo de recursos.

registrationName

string

Nome do registro do Azure Stack.

customerSubscriptionName

string

Nome do produto.

callback

ServiceCallback<void>

O retorno de chamada

get(string, string, string, RequestOptionsBase)

Devolve o produto especificado.

function get(resourceGroup: string, registrationName: string, customerSubscriptionName: string, options?: RequestOptionsBase): Promise<CustomerSubscriptionsGetResponse>

Parâmetros

resourceGroup

string

Nome do grupo de recursos.

registrationName

string

Nome do registro do Azure Stack.

customerSubscriptionName

string

Nome do produto.

options
RequestOptionsBase

Os parâmetros opcionais

Devoluções

Promise<Models.CustomerSubscriptionsGetResponse>

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

function get(resourceGroup: string, registrationName: string, customerSubscriptionName: string, options: RequestOptionsBase, callback: ServiceCallback<CustomerSubscription>)

Parâmetros

resourceGroup

string

Nome do grupo de recursos.

registrationName

string

Nome do registro do Azure Stack.

customerSubscriptionName

string

Nome do produto.

options
RequestOptionsBase

Os parâmetros opcionais

callback

ServiceCallback<CustomerSubscription>

O retorno de chamada

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

function get(resourceGroup: string, registrationName: string, customerSubscriptionName: string, callback: ServiceCallback<CustomerSubscription>)

Parâmetros

resourceGroup

string

Nome do grupo de recursos.

registrationName

string

Nome do registro do Azure Stack.

customerSubscriptionName

string

Nome do produto.

callback

ServiceCallback<CustomerSubscription>

O retorno de chamada

list(string, string, RequestOptionsBase)

Devolve uma lista de produtos.

function list(resourceGroup: string, registrationName: string, options?: RequestOptionsBase): Promise<CustomerSubscriptionsListResponse>

Parâmetros

resourceGroup

string

Nome do grupo de recursos.

registrationName

string

Nome do registro do Azure Stack.

options
RequestOptionsBase

Os parâmetros opcionais

Devoluções

Promise<Models.CustomerSubscriptionsListResponse>

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

function list(resourceGroup: string, registrationName: string, options: RequestOptionsBase, callback: ServiceCallback<CustomerSubscriptionList>)

Parâmetros

resourceGroup

string

Nome do grupo de recursos.

registrationName

string

Nome do registro do Azure Stack.

options
RequestOptionsBase

Os parâmetros opcionais

callback

ServiceCallback<CustomerSubscriptionList>

O retorno de chamada

list(string, string, ServiceCallback<CustomerSubscriptionList>)

function list(resourceGroup: string, registrationName: string, callback: ServiceCallback<CustomerSubscriptionList>)

Parâmetros

resourceGroup

string

Nome do grupo de recursos.

registrationName

string

Nome do registro do Azure Stack.

callback

ServiceCallback<CustomerSubscriptionList>

O retorno de chamada

listNext(string, RequestOptionsBase)

Devolve uma lista de produtos.

function listNext(nextPageLink: string, options?: RequestOptionsBase): Promise<CustomerSubscriptionsListNextResponse>

Parâmetros

nextPageLink

string

O NextLink da operação anterior de chamada bem-sucedida para List.

options
RequestOptionsBase

Os parâmetros opcionais

Devoluções

Promise<Models.CustomerSubscriptionsListNextResponse>

listNext(string, RequestOptionsBase, ServiceCallback<CustomerSubscriptionList>)

function listNext(nextPageLink: string, options: RequestOptionsBase, callback: ServiceCallback<CustomerSubscriptionList>)

Parâmetros

nextPageLink

string

O NextLink da operação anterior de chamada bem-sucedida para List.

options
RequestOptionsBase

Os parâmetros opcionais

callback

ServiceCallback<CustomerSubscriptionList>

O retorno de chamada

listNext(string, ServiceCallback<CustomerSubscriptionList>)

function listNext(nextPageLink: string, callback: ServiceCallback<CustomerSubscriptionList>)

Parâmetros

nextPageLink

string

O NextLink da operação anterior de chamada bem-sucedida para List.

callback

ServiceCallback<CustomerSubscriptionList>

O retorno de chamada