Partilhar via


Registrations class

Classe que representa um Registro.

Construtores

Registrations(AzureStackManagementClientContext)

Crie um Registros.

Métodos

createOrUpdate(string, string, RegistrationParameter, RequestOptionsBase)

Crie ou atualize um registro do Azure Stack.

createOrUpdate(string, string, RegistrationParameter, RequestOptionsBase, ServiceCallback<Registration>)
createOrUpdate(string, string, RegistrationParameter, ServiceCallback<Registration>)
deleteMethod(string, string, RequestOptionsBase)

Exclua o registro solicitado do Azure Stack.

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

Retorna as propriedades de um registro do Azure Stack.

get(string, string, RequestOptionsBase, ServiceCallback<Registration>)
get(string, string, ServiceCallback<Registration>)
getActivationKey(string, string, RequestOptionsBase)

Retorna a chave de ativação do Azure Stack.

getActivationKey(string, string, RequestOptionsBase, ServiceCallback<ActivationKeyResult>)
getActivationKey(string, string, ServiceCallback<ActivationKeyResult>)
list(string, RequestOptionsBase)

Devolve uma lista de todos os registos.

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

Devolve uma lista de todos os registos.

listNext(string, RequestOptionsBase, ServiceCallback<RegistrationList>)
listNext(string, ServiceCallback<RegistrationList>)
update(string, string, RegistrationParameter, RequestOptionsBase)

Corrija um registro do Azure Stack.

update(string, string, RegistrationParameter, RequestOptionsBase, ServiceCallback<Registration>)
update(string, string, RegistrationParameter, ServiceCallback<Registration>)

Detalhes do Construtor

Registrations(AzureStackManagementClientContext)

Crie um Registros.

new Registrations(client: AzureStackManagementClientContext)

Parâmetros

client
AzureStackManagementClientContext

Referência ao cliente do serviço.

Detalhes de Método

createOrUpdate(string, string, RegistrationParameter, RequestOptionsBase)

Crie ou atualize um registro do Azure Stack.

function createOrUpdate(resourceGroup: string, registrationName: string, token: RegistrationParameter, options?: RequestOptionsBase): Promise<RegistrationsCreateOrUpdateResponse>

Parâmetros

resourceGroup

string

Nome do grupo de recursos.

registrationName

string

Nome do registro do Azure Stack.

token
RegistrationParameter

Token de registo

options
RequestOptionsBase

Os parâmetros opcionais

Devoluções

Modelos de Promessa.RegistrosCriarOuAtualizarResposta<>

createOrUpdate(string, string, RegistrationParameter, RequestOptionsBase, ServiceCallback<Registration>)

function createOrUpdate(resourceGroup: string, registrationName: string, token: RegistrationParameter, options: RequestOptionsBase, callback: ServiceCallback<Registration>)

Parâmetros

resourceGroup

string

Nome do grupo de recursos.

registrationName

string

Nome do registro do Azure Stack.

token
RegistrationParameter

Token de registo

options
RequestOptionsBase

Os parâmetros opcionais

callback

ServiceCallback<Registration>

O retorno de chamada

createOrUpdate(string, string, RegistrationParameter, ServiceCallback<Registration>)

function createOrUpdate(resourceGroup: string, registrationName: string, token: RegistrationParameter, callback: ServiceCallback<Registration>)

Parâmetros

resourceGroup

string

Nome do grupo de recursos.

registrationName

string

Nome do registro do Azure Stack.

token
RegistrationParameter

Token de registo

callback

ServiceCallback<Registration>

O retorno de chamada

deleteMethod(string, string, RequestOptionsBase)

Exclua o registro solicitado do Azure Stack.

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

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

Prometa<> msRest.RestResponse

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

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

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

O retorno de chamada

deleteMethod(string, string, ServiceCallback<void>)

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

Parâmetros

resourceGroup

string

Nome do grupo de recursos.

registrationName

string

Nome do registro do Azure Stack.

callback

ServiceCallback<void>

O retorno de chamada

get(string, string, RequestOptionsBase)

Retorna as propriedades de um registro do Azure Stack.

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

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

Modelos de Promessa.RegistrosGetResponse<>

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

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

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

O retorno de chamada

get(string, string, ServiceCallback<Registration>)

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

Parâmetros

resourceGroup

string

Nome do grupo de recursos.

registrationName

string

Nome do registro do Azure Stack.

callback

ServiceCallback<Registration>

O retorno de chamada

getActivationKey(string, string, RequestOptionsBase)

Retorna a chave de ativação do Azure Stack.

function getActivationKey(resourceGroup: string, registrationName: string, options?: RequestOptionsBase): Promise<RegistrationsGetActivationKeyResponse>

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

Modelos de Promessa.RegistrosGetActivationKeyResponse<>

getActivationKey(string, string, RequestOptionsBase, ServiceCallback<ActivationKeyResult>)

function getActivationKey(resourceGroup: string, registrationName: string, options: RequestOptionsBase, callback: ServiceCallback<ActivationKeyResult>)

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

O retorno de chamada

getActivationKey(string, string, ServiceCallback<ActivationKeyResult>)

function getActivationKey(resourceGroup: string, registrationName: string, callback: ServiceCallback<ActivationKeyResult>)

Parâmetros

resourceGroup

string

Nome do grupo de recursos.

registrationName

string

Nome do registro do Azure Stack.

callback

ServiceCallback<ActivationKeyResult>

O retorno de chamada

list(string, RequestOptionsBase)

Devolve uma lista de todos os registos.

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

Parâmetros

resourceGroup

string

Nome do grupo de recursos.

options
RequestOptionsBase

Os parâmetros opcionais

Devoluções

Modelos de Promessa.RegistrosListResposta<>

list(string, RequestOptionsBase, ServiceCallback<RegistrationList>)

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

Parâmetros

resourceGroup

string

Nome do grupo de recursos.

options
RequestOptionsBase

Os parâmetros opcionais

callback

ServiceCallback<RegistrationList>

O retorno de chamada

list(string, ServiceCallback<RegistrationList>)

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

Parâmetros

resourceGroup

string

Nome do grupo de recursos.

callback

ServiceCallback<RegistrationList>

O retorno de chamada

listNext(string, RequestOptionsBase)

Devolve uma lista de todos os registos.

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

Parâmetros

nextPageLink

string

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

options
RequestOptionsBase

Os parâmetros opcionais

Devoluções

Modelos de Promessa.RegistrosListaPróximoResposta<>

listNext(string, RequestOptionsBase, ServiceCallback<RegistrationList>)

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

Parâmetros

nextPageLink

string

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

options
RequestOptionsBase

Os parâmetros opcionais

callback

ServiceCallback<RegistrationList>

O retorno de chamada

listNext(string, ServiceCallback<RegistrationList>)

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

Parâmetros

nextPageLink

string

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

callback

ServiceCallback<RegistrationList>

O retorno de chamada

update(string, string, RegistrationParameter, RequestOptionsBase)

Corrija um registro do Azure Stack.

function update(resourceGroup: string, registrationName: string, token: RegistrationParameter, options?: RequestOptionsBase): Promise<RegistrationsUpdateResponse>

Parâmetros

resourceGroup

string

Nome do grupo de recursos.

registrationName

string

Nome do registro do Azure Stack.

token
RegistrationParameter

Token de registo

options
RequestOptionsBase

Os parâmetros opcionais

Devoluções

Modelos de Promessa.RegistrosAtualizaçãoResposta<>

update(string, string, RegistrationParameter, RequestOptionsBase, ServiceCallback<Registration>)

function update(resourceGroup: string, registrationName: string, token: RegistrationParameter, options: RequestOptionsBase, callback: ServiceCallback<Registration>)

Parâmetros

resourceGroup

string

Nome do grupo de recursos.

registrationName

string

Nome do registro do Azure Stack.

token
RegistrationParameter

Token de registo

options
RequestOptionsBase

Os parâmetros opcionais

callback

ServiceCallback<Registration>

O retorno de chamada

update(string, string, RegistrationParameter, ServiceCallback<Registration>)

function update(resourceGroup: string, registrationName: string, token: RegistrationParameter, callback: ServiceCallback<Registration>)

Parâmetros

resourceGroup

string

Nome do grupo de recursos.

registrationName

string

Nome do registro do Azure Stack.

token
RegistrationParameter

Token de registo

callback

ServiceCallback<Registration>

O retorno de chamada