Compartilhar via


Registrations class

Classe que representa um Registro.

Construtores

Registrations(AzureStackManagementClientContext)

Crie um Registro.

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)

Retorna uma lista de todos os registros.

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

Retorna uma lista de todos os registros.

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

Aplicação de patch em 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 Registro.

new Registrations(client: AzureStackManagementClientContext)

Parâmetros

client
AzureStackManagementClientContext

Referência ao cliente de serviço.

Detalhes do 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 registro

options
RequestOptionsBase

Os parâmetros opcionais

Retornos

Prometa<Models.RegistrationsCreateOrUpdateResponse>

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 registro

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 registro

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

Retornos

Promise<RestResponse>

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

Retornos

< Promise>Models.RegistrationsGetResponse

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

Retornos

< Promise>Models.RegistrationsGetActivationKeyResponse

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)

Retorna uma lista de todos os registros.

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

Parâmetros

resourceGroup

string

Nome do grupo de recursos.

options
RequestOptionsBase

Os parâmetros opcionais

Retornos

< Promise>Models.RegistrationsListResponse

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)

Retorna uma lista de todos os registros.

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

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

listNext(string, RequestOptionsBase, ServiceCallback<RegistrationList>)

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

Parâmetros

nextPageLink

string

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

callback

ServiceCallback<RegistrationList>

O retorno de chamada

update(string, string, RegistrationParameter, RequestOptionsBase)

Aplicação de patch em 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 registro

options
RequestOptionsBase

Os parâmetros opcionais

Retornos

< Promise>Models.RegistrationsUpdateResponse

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 registro

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 registro

callback

ServiceCallback<Registration>

O retorno de chamada