Registrations class
Class representing a Registrations.
Constructors
| Registrations(Azure | Create a Registrations. | 
Methods
Constructor Details
		Registrations(AzureStackManagementClientContext)
	    
	Create a Registrations.
new Registrations(client: AzureStackManagementClientContext)Parameters
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<RegistrationsCreateOrUpdateResponse>
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
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
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<RegistrationsGetResponse>
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
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
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
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
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<RegistrationsListResponse>
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
The callback
		list(string, ServiceCallback<RegistrationList>)
	  
	function list(resourceGroup: string, callback: ServiceCallback<RegistrationList>)Parameters
- resourceGroup
- 
				string 
Name of the resource group.
- callback
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<RegistrationsListNextResponse>
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
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
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<RegistrationsUpdateResponse>
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
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
The callback