Registrations class

Class representing a Registrations.

Constructors

Registrations(AzureStackManagementClientContext)

Create a Registrations.

Methods

createOrUpdate(string, string, RegistrationParameter, RequestOptionsBase)

Create or update an Azure Stack registration.

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

Delete the requested Azure Stack registration.

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

Returns the properties of an Azure Stack registration.

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

Returns Azure Stack Activation Key.

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

Returns a list of all registrations.

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

Returns a list of all registrations.

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

Patch an Azure Stack registration.

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

Constructor Details

Registrations(AzureStackManagementClientContext)

Create a Registrations.

new Registrations(client: AzureStackManagementClientContext)

Parameters

client
AzureStackManagementClientContext

Reference to the service client.

Method Details

createOrUpdate(string, string, RegistrationParameter, RequestOptionsBase)

Create or update an Azure Stack registration.

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

Parameters

resourceGroup

string

Name of the resource group.

registrationName

string

Name of the Azure Stack registration.

token
RegistrationParameter

Registration token

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.RegistrationsCreateOrUpdateResponse>

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

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

Parameters

resourceGroup

string

Name of the resource group.

registrationName

string

Name of the Azure Stack registration.

token
RegistrationParameter

Registration token

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<Registration>

The callback

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

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

Parameters

resourceGroup

string

Name of the resource group.

registrationName

string

Name of the Azure Stack registration.

token
RegistrationParameter

Registration token

callback

ServiceCallback<Registration>

The callback

deleteMethod(string, string, RequestOptionsBase)

Delete the requested Azure Stack registration.

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

Parameters

resourceGroup

string

Name of the resource group.

registrationName

string

Name of the Azure Stack registration.

options
RequestOptionsBase

The optional parameters

Returns

Promise<RestResponse>

Promise<msRest.RestResponse>

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

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

Parameters

resourceGroup

string

Name of the resource group.

registrationName

string

Name of the Azure Stack registration.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<void>

The callback

deleteMethod(string, string, ServiceCallback<void>)

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

Parameters

resourceGroup

string

Name of the resource group.

registrationName

string

Name of the Azure Stack registration.

callback

ServiceCallback<void>

The callback

get(string, string, RequestOptionsBase)

Returns the properties of an Azure Stack registration.

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

Parameters

resourceGroup

string

Name of the resource group.

registrationName

string

Name of the Azure Stack registration.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.RegistrationsGetResponse>

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

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

Parameters

resourceGroup

string

Name of the resource group.

registrationName

string

Name of the Azure Stack registration.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<Registration>

The callback

get(string, string, ServiceCallback<Registration>)

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

Parameters

resourceGroup

string

Name of the resource group.

registrationName

string

Name of the Azure Stack registration.

callback

ServiceCallback<Registration>

The callback

getActivationKey(string, string, RequestOptionsBase)

Returns Azure Stack Activation Key.

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

Parameters

resourceGroup

string

Name of the resource group.

registrationName

string

Name of the Azure Stack registration.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.RegistrationsGetActivationKeyResponse>

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

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

Parameters

resourceGroup

string

Name of the resource group.

registrationName

string

Name of the Azure Stack registration.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<ActivationKeyResult>

The callback

getActivationKey(string, string, ServiceCallback<ActivationKeyResult>)

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

Parameters

resourceGroup

string

Name of the resource group.

registrationName

string

Name of the Azure Stack registration.

callback

ServiceCallback<ActivationKeyResult>

The callback

list(string, RequestOptionsBase)

Returns a list of all registrations.

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

Parameters

resourceGroup

string

Name of the resource group.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.RegistrationsListResponse>

list(string, RequestOptionsBase, ServiceCallback<RegistrationList>)

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

Parameters

resourceGroup

string

Name of the resource group.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<RegistrationList>

The callback

list(string, ServiceCallback<RegistrationList>)

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

Parameters

resourceGroup

string

Name of the resource group.

callback

ServiceCallback<RegistrationList>

The callback

listNext(string, RequestOptionsBase)

Returns a list of all registrations.

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

Parameters

nextPageLink

string

The NextLink from the previous successful call to List operation.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.RegistrationsListNextResponse>

listNext(string, RequestOptionsBase, ServiceCallback<RegistrationList>)

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

Parameters

nextPageLink

string

The NextLink from the previous successful call to List operation.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<RegistrationList>

The callback

listNext(string, ServiceCallback<RegistrationList>)

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

Parameters

nextPageLink

string

The NextLink from the previous successful call to List operation.

callback

ServiceCallback<RegistrationList>

The callback

update(string, string, RegistrationParameter, RequestOptionsBase)

Patch an Azure Stack registration.

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

Parameters

resourceGroup

string

Name of the resource group.

registrationName

string

Name of the Azure Stack registration.

token
RegistrationParameter

Registration token

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.RegistrationsUpdateResponse>

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

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

Parameters

resourceGroup

string

Name of the resource group.

registrationName

string

Name of the Azure Stack registration.

token
RegistrationParameter

Registration token

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<Registration>

The callback

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

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

Parameters

resourceGroup

string

Name of the resource group.

registrationName

string

Name of the Azure Stack registration.

token
RegistrationParameter

Registration token

callback

ServiceCallback<Registration>

The callback