Registrations interface
Interface representing a Registrations.
Methods
create |
Create or update an Azure Stack registration. |
delete(string, string, Registrations |
Delete the requested Azure Stack registration. |
enable |
Enables remote management for device under the Azure Stack registration. |
get(string, string, Registrations |
Returns the properties of an Azure Stack registration. |
get |
Returns Azure Stack Activation Key. |
list(string, Registrations |
Returns a list of all registrations. |
list |
Returns a list of all registrations under current subscription. |
update(string, string, Registration |
Patch an Azure Stack registration. |
Method Details
createOrUpdate(string, string, RegistrationParameter, RegistrationsCreateOrUpdateOptionalParams)
Create or update an Azure Stack registration.
function createOrUpdate(resourceGroup: string, registrationName: string, token: RegistrationParameter, options?: RegistrationsCreateOrUpdateOptionalParams): Promise<Registration>
Parameters
- resourceGroup
-
string
Name of the resource group.
- registrationName
-
string
Name of the Azure Stack registration.
- token
- RegistrationParameter
Registration token
The options parameters.
Returns
Promise<Registration>
delete(string, string, RegistrationsDeleteOptionalParams)
Delete the requested Azure Stack registration.
function delete(resourceGroup: string, registrationName: string, options?: RegistrationsDeleteOptionalParams): Promise<void>
Parameters
- resourceGroup
-
string
Name of the resource group.
- registrationName
-
string
Name of the Azure Stack registration.
The options parameters.
Returns
Promise<void>
enableRemoteManagement(string, string, RegistrationsEnableRemoteManagementOptionalParams)
Enables remote management for device under the Azure Stack registration.
function enableRemoteManagement(resourceGroup: string, registrationName: string, options?: RegistrationsEnableRemoteManagementOptionalParams): Promise<void>
Parameters
- resourceGroup
-
string
Name of the resource group.
- registrationName
-
string
Name of the Azure Stack registration.
The options parameters.
Returns
Promise<void>
get(string, string, RegistrationsGetOptionalParams)
Returns the properties of an Azure Stack registration.
function get(resourceGroup: string, registrationName: string, options?: RegistrationsGetOptionalParams): Promise<Registration>
Parameters
- resourceGroup
-
string
Name of the resource group.
- registrationName
-
string
Name of the Azure Stack registration.
- options
- RegistrationsGetOptionalParams
The options parameters.
Returns
Promise<Registration>
getActivationKey(string, string, RegistrationsGetActivationKeyOptionalParams)
Returns Azure Stack Activation Key.
function getActivationKey(resourceGroup: string, registrationName: string, options?: RegistrationsGetActivationKeyOptionalParams): Promise<ActivationKeyResult>
Parameters
- resourceGroup
-
string
Name of the resource group.
- registrationName
-
string
Name of the Azure Stack registration.
The options parameters.
Returns
Promise<ActivationKeyResult>
list(string, RegistrationsListOptionalParams)
Returns a list of all registrations.
function list(resourceGroup: string, options?: RegistrationsListOptionalParams): PagedAsyncIterableIterator<Registration, Registration[], PageSettings>
Parameters
- resourceGroup
-
string
Name of the resource group.
- options
- RegistrationsListOptionalParams
The options parameters.
Returns
listBySubscription(RegistrationsListBySubscriptionOptionalParams)
Returns a list of all registrations under current subscription.
function listBySubscription(options?: RegistrationsListBySubscriptionOptionalParams): PagedAsyncIterableIterator<Registration, Registration[], PageSettings>
Parameters
The options parameters.
Returns
update(string, string, RegistrationParameter, RegistrationsUpdateOptionalParams)
Patch an Azure Stack registration.
function update(resourceGroup: string, registrationName: string, token: RegistrationParameter, options?: RegistrationsUpdateOptionalParams): Promise<Registration>
Parameters
- resourceGroup
-
string
Name of the resource group.
- registrationName
-
string
Name of the Azure Stack registration.
- token
- RegistrationParameter
Registration token
The options parameters.
Returns
Promise<Registration>
Azure SDK for JavaScript