public interface RegistrationsClient
| Modifier and Type | Method and Description |
|---|---|
RegistrationInner |
createOrUpdate(String resourceGroup,
String registrationName,
RegistrationParameter token)
Create or update an Azure Stack registration.
|
com.azure.core.http.rest.Response<RegistrationInner> |
createOrUpdateWithResponse(String resourceGroup,
String registrationName,
RegistrationParameter token,
com.azure.core.util.Context context)
Create or update an Azure Stack registration.
|
void |
delete(String resourceGroup,
String registrationName)
Delete the requested Azure Stack registration.
|
com.azure.core.http.rest.Response<Void> |
deleteWithResponse(String resourceGroup,
String registrationName,
com.azure.core.util.Context context)
Delete the requested Azure Stack registration.
|
void |
enableRemoteManagement(String resourceGroup,
String registrationName)
Enables remote management for device under the Azure Stack registration.
|
com.azure.core.http.rest.Response<Void> |
enableRemoteManagementWithResponse(String resourceGroup,
String registrationName,
com.azure.core.util.Context context)
Enables remote management for device under the Azure Stack registration.
|
ActivationKeyResultInner |
getActivationKey(String resourceGroup,
String registrationName)
Returns Azure Stack Activation Key.
|
com.azure.core.http.rest.Response<ActivationKeyResultInner> |
getActivationKeyWithResponse(String resourceGroup,
String registrationName,
com.azure.core.util.Context context)
Returns Azure Stack Activation Key.
|
RegistrationInner |
getByResourceGroup(String resourceGroup,
String registrationName)
Returns the properties of an Azure Stack registration.
|
com.azure.core.http.rest.Response<RegistrationInner> |
getByResourceGroupWithResponse(String resourceGroup,
String registrationName,
com.azure.core.util.Context context)
Returns the properties of an Azure Stack registration.
|
com.azure.core.http.rest.PagedIterable<RegistrationInner> |
listByResourceGroup(String resourceGroup)
Returns a list of all registrations.
|
com.azure.core.http.rest.PagedIterable<RegistrationInner> |
listByResourceGroup(String resourceGroup,
com.azure.core.util.Context context)
Returns a list of all registrations.
|
RegistrationInner |
update(String resourceGroup,
String registrationName,
RegistrationParameter token)
Patch an Azure Stack registration.
|
com.azure.core.http.rest.Response<RegistrationInner> |
updateWithResponse(String resourceGroup,
String registrationName,
RegistrationParameter token,
com.azure.core.util.Context context)
Patch an Azure Stack registration.
|
com.azure.core.http.rest.PagedIterable<RegistrationInner> listByResourceGroup(String resourceGroup)
resourceGroup - Name of the resource group.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.PagedIterable<RegistrationInner> listByResourceGroup(String resourceGroup, com.azure.core.util.Context context)
resourceGroup - Name of the resource group.context - The context to associate with this operation.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.RegistrationInner getByResourceGroup(String resourceGroup, String registrationName)
resourceGroup - Name of the resource group.registrationName - Name of the Azure Stack registration.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.Response<RegistrationInner> getByResourceGroupWithResponse(String resourceGroup, String registrationName, com.azure.core.util.Context context)
resourceGroup - Name of the resource group.registrationName - Name of the Azure Stack registration.context - The context to associate with this operation.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.void delete(String resourceGroup, String registrationName)
resourceGroup - Name of the resource group.registrationName - Name of the Azure Stack registration.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.Response<Void> deleteWithResponse(String resourceGroup, String registrationName, com.azure.core.util.Context context)
resourceGroup - Name of the resource group.registrationName - Name of the Azure Stack registration.context - The context to associate with this operation.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.RegistrationInner createOrUpdate(String resourceGroup, String registrationName, RegistrationParameter token)
resourceGroup - Name of the resource group.registrationName - Name of the Azure Stack registration.token - Registration token.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.Response<RegistrationInner> createOrUpdateWithResponse(String resourceGroup, String registrationName, RegistrationParameter token, com.azure.core.util.Context context)
resourceGroup - Name of the resource group.registrationName - Name of the Azure Stack registration.token - Registration token.context - The context to associate with this operation.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.RegistrationInner update(String resourceGroup, String registrationName, RegistrationParameter token)
resourceGroup - Name of the resource group.registrationName - Name of the Azure Stack registration.token - Registration token.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.Response<RegistrationInner> updateWithResponse(String resourceGroup, String registrationName, RegistrationParameter token, com.azure.core.util.Context context)
resourceGroup - Name of the resource group.registrationName - Name of the Azure Stack registration.token - Registration token.context - The context to associate with this operation.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.ActivationKeyResultInner getActivationKey(String resourceGroup, String registrationName)
resourceGroup - Name of the resource group.registrationName - Name of the Azure Stack registration.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.Response<ActivationKeyResultInner> getActivationKeyWithResponse(String resourceGroup, String registrationName, com.azure.core.util.Context context)
resourceGroup - Name of the resource group.registrationName - Name of the Azure Stack registration.context - The context to associate with this operation.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.void enableRemoteManagement(String resourceGroup, String registrationName)
resourceGroup - Name of the resource group.registrationName - Name of the Azure Stack registration.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.Response<Void> enableRemoteManagementWithResponse(String resourceGroup, String registrationName, com.azure.core.util.Context context)
resourceGroup - Name of the resource group.registrationName - Name of the Azure Stack registration.context - The context to associate with this operation.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.Copyright © 2021 Microsoft Corporation. All rights reserved.