Interface ServiceResource


public interface ServiceResource
An immutable client-side representation of ServiceResource.
  • 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

      Map<String,String> tags()
      Gets the tags property: Resource tags.
      Returns:
      the tags value.
    • targetLocation

      String targetLocation()
      Gets the targetLocation property: The Azure location to which the resources in the service belong to or should be deployed to.
      Returns:
      the targetLocation value.
    • targetSubscriptionId

      String targetSubscriptionId()
      Gets the targetSubscriptionId property: The subscription to which the resources in the service belong to or should be deployed to.
      Returns:
      the targetSubscriptionId 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

      ServiceResourceInner innerModel()
      Gets the inner com.azure.resourcemanager.deploymentmanager.fluent.models.ServiceResourceInner object.
      Returns:
      the inner object.
    • update

      Begins update for the ServiceResource resource.
      Returns:
      the stage of resource update.
    • refresh

      ServiceResource refresh()
      Refreshes the resource to sync with Azure.
      Returns:
      the refreshed resource.
    • refresh

      ServiceResource refresh(com.azure.core.util.Context context)
      Refreshes the resource to sync with Azure.
      Parameters:
      context - The context to associate with this operation.
      Returns:
      the refreshed resource.