public interface Registrations
| Modifier and Type | Method and Description |
|---|---|
Registration.DefinitionStages.Blank |
define(String name)
Begins definition for a new Registration resource.
|
void |
deleteById(String id)
Delete the requested Azure Stack registration.
|
com.azure.core.http.rest.Response<Void> |
deleteByIdWithResponse(String id,
com.azure.core.util.Context context)
Delete the requested Azure Stack registration.
|
void |
deleteByResourceGroup(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.
|
ActivationKeyResult |
getActivationKey(String resourceGroup,
String registrationName)
Returns Azure Stack Activation Key.
|
com.azure.core.http.rest.Response<ActivationKeyResult> |
getActivationKeyWithResponse(String resourceGroup,
String registrationName,
com.azure.core.util.Context context)
Returns Azure Stack Activation Key.
|
Registration |
getById(String id)
Returns the properties of an Azure Stack registration.
|
com.azure.core.http.rest.Response<Registration> |
getByIdWithResponse(String id,
com.azure.core.util.Context context)
Returns the properties of an Azure Stack registration.
|
Registration |
getByResourceGroup(String resourceGroup,
String registrationName)
Returns the properties of an Azure Stack registration.
|
com.azure.core.http.rest.Response<Registration> |
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<Registration> |
listByResourceGroup(String resourceGroup)
Returns a list of all registrations.
|
com.azure.core.http.rest.PagedIterable<Registration> |
listByResourceGroup(String resourceGroup,
com.azure.core.util.Context context)
Returns a list of all registrations.
|
com.azure.core.http.rest.PagedIterable<Registration> 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<Registration> 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.Registration 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<Registration> 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 deleteByResourceGroup(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.ActivationKeyResult 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<ActivationKeyResult> 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.Registration getById(String id)
id - the resource ID.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<Registration> getByIdWithResponse(String id, com.azure.core.util.Context context)
id - the resource ID.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 deleteById(String id)
id - the resource ID.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> deleteByIdWithResponse(String id, com.azure.core.util.Context context)
id - the resource ID.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.Registration.DefinitionStages.Blank define(String name)
name - resource name.Copyright © 2021 Microsoft Corporation. All rights reserved.