Interface Registration
public interface Registration
An immutable client-side representation of Registration.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
The entirety of the Registration definition.static interface
The Registration definition stages.static interface
The template for Registration update.static interface
The Registration update stages. -
Method Summary
Modifier and TypeMethodDescriptionGets the billingModel property: Specifies the billing mode for the Azure Stack registration.cloudId()
Gets the cloudId property: The identifier of the registered Azure Stack.void
Enables remote management for device under the Azure Stack registration.com.azure.core.http.rest.Response<Void>
enableRemoteManagementWithResponse
(com.azure.core.util.Context context) Enables remote management for device under the Azure Stack registration.etag()
Gets the etag property: The entity tag used for optimistic concurrency when modifying the resource.Returns Azure Stack Activation Key.com.azure.core.http.rest.Response<ActivationKeyResult>
getActivationKeyWithResponse
(com.azure.core.util.Context context) Returns Azure Stack Activation Key.id()
Gets the id property: Fully qualified resource Id for the resource.Gets the inner com.azure.resourcemanager.azurestack.fluent.models.RegistrationInner object.location()
Gets the location property: The geo-location where the resource lives.name()
Gets the name property: The name of the resource.objectId()
Gets the objectId property: The object identifier associated with the Azure Stack connecting to Azure.refresh()
Refreshes the resource to sync with Azure.refresh
(com.azure.core.util.Context context) Refreshes the resource to sync with Azure.com.azure.core.management.Region
region()
Gets the region of the resource.Gets the name of the resource region.Gets the name of the resource group.tags()
Gets the tags property: Resource tags.type()
Gets the type property: The type of the resource.update()
Begins update for the Registration resource.
-
Method Details
-
id
String id()Gets the id property: Fully qualified resource Id for the resource.- Returns:
- the id value.
-
name
String name()Gets the name property: The name of the resource.- Returns:
- the name value.
-
type
String type()Gets the type property: The type of the resource.- Returns:
- the type value.
-
location
String location()Gets the location property: The geo-location where the resource lives.- Returns:
- the location value.
-
tags
Gets the tags property: Resource tags.- Returns:
- the tags value.
-
etag
String etag()Gets the etag property: The entity tag used for optimistic concurrency when modifying the resource.- Returns:
- the etag value.
-
objectId
String objectId()Gets the objectId property: The object identifier associated with the Azure Stack connecting to Azure.- Returns:
- the objectId value.
-
cloudId
String cloudId()Gets the cloudId property: The identifier of the registered Azure Stack.- Returns:
- the cloudId value.
-
billingModel
String billingModel()Gets the billingModel property: Specifies the billing mode for the Azure Stack registration.- Returns:
- the billingModel value.
-
region
com.azure.core.management.Region region()Gets the region of the resource.- Returns:
- the region of the resource.
-
regionName
String regionName()Gets the name of the resource region.- Returns:
- the name of the resource region.
-
resourceGroupName
String resourceGroupName()Gets the name of the resource group.- Returns:
- the name of the resource group.
-
innerModel
RegistrationInner innerModel()Gets the inner com.azure.resourcemanager.azurestack.fluent.models.RegistrationInner object.- Returns:
- the inner object.
-
update
Registration.Update update()Begins update for the Registration resource.- Returns:
- the stage of resource update.
-
refresh
Registration refresh()Refreshes the resource to sync with Azure.- Returns:
- the refreshed resource.
-
refresh
Refreshes the resource to sync with Azure.- Parameters:
context
- The context to associate with this operation.- Returns:
- the refreshed resource.
-
getActivationKeyWithResponse
com.azure.core.http.rest.Response<ActivationKeyResult> getActivationKeyWithResponse(com.azure.core.util.Context context) Returns Azure Stack Activation Key.- Parameters:
context
- The context to associate with this operation.- Returns:
- the resource containing the Azure Stack activation key along with
Response
. - Throws:
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.
-
getActivationKey
ActivationKeyResult getActivationKey()Returns Azure Stack Activation Key.- Returns:
- the resource containing the Azure Stack activation key.
- Throws:
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.
-
enableRemoteManagementWithResponse
com.azure.core.http.rest.Response<Void> enableRemoteManagementWithResponse(com.azure.core.util.Context context) Enables remote management for device under the Azure Stack registration.- Parameters:
context
- The context to associate with this operation.- Returns:
- the
Response
. - Throws:
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.
-
enableRemoteManagement
void enableRemoteManagement()Enables remote management for device under the Azure Stack registration.- Throws:
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.
-