Interface ServiceUnitResource
public interface ServiceUnitResource
An immutable client-side representation of ServiceUnitResource.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
The entirety of the ServiceUnitResource definition.static interface
The ServiceUnitResource definition stages.static interface
The template for ServiceUnitResource update.static interface
The ServiceUnitResource update stages. -
Method Summary
Modifier and TypeMethodDescriptionGets the artifacts property: The artifacts for the service unit.Gets the deploymentMode property: Describes the type of ARM deployment to be performed on the resource.id()
Gets the id property: Fully qualified resource Id for the resource.Gets the inner com.azure.resourcemanager.deploymentmanager.fluent.models.ServiceUnitResourceInner object.location()
Gets the location property: The geo-location where the resource lives.name()
Gets the name property: The name of the resource.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.Gets the targetResourceGroup property: The Azure Resource Group to which the resources in the service unit belong to or should be deployed to.type()
Gets the type property: The type of the resource.update()
Begins update for the ServiceUnitResource 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.
-
targetResourceGroup
String targetResourceGroup()Gets the targetResourceGroup property: The Azure Resource Group to which the resources in the service unit belong to or should be deployed to.- Returns:
- the targetResourceGroup value.
-
deploymentMode
DeploymentMode deploymentMode()Gets the deploymentMode property: Describes the type of ARM deployment to be performed on the resource.- Returns:
- the deploymentMode value.
-
artifacts
ServiceUnitArtifacts artifacts()Gets the artifacts property: The artifacts for the service unit.- Returns:
- the artifacts 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
ServiceUnitResourceInner innerModel()Gets the inner com.azure.resourcemanager.deploymentmanager.fluent.models.ServiceUnitResourceInner object.- Returns:
- the inner object.
-
update
ServiceUnitResource.Update update()Begins update for the ServiceUnitResource resource.- Returns:
- the stage of resource update.
-
refresh
ServiceUnitResource 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.
-