Compartilhar 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 em 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 do cliente em um registro.

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

Retorna o produto especificado.

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

Retorna uma lista de produtos.

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

Retorna 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 de serviço.

Detalhes do método

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

Cria uma nova assinatura de cliente em 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

Os parâmetros são usados para criar uma assinatura do cliente.

options
RequestOptionsBase

Os parâmetros opcionais

Retornos

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

Os parâmetros são usados para criar uma assinatura do 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

Os parâmetros são usados para criar uma assinatura do cliente.

callback

ServiceCallback<CustomerSubscription>

O retorno de chamada

deleteMethod(string, string, string, RequestOptionsBase)

Exclui uma assinatura do 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

Retornos

Promise<RestResponse>

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

Retorna 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

Retornos

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)

Retorna 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

Retornos

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)

Retorna uma lista de produtos.

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

Parâmetros

nextPageLink

string

O NextLink da chamada com êxito anterior para a operação List.

options
RequestOptionsBase

Os parâmetros opcionais

Retornos

Promise<Models.CustomerSubscriptionsListNextResponse>

listNext(string, RequestOptionsBase, ServiceCallback<CustomerSubscriptionList>)

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

Parâmetros

nextPageLink

string

O NextLink da chamada com êxito anterior para a operação 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 chamada com êxito anterior para a operação List.

callback

ServiceCallback<CustomerSubscriptionList>

O retorno de chamada