public interface Asset
An immutable client-side representation of Asset.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static interface 
    The entirety of the Asset definition.
    static interface 
    The Asset definition stages.
    static interface 
    The template for Asset update.
    static interface 
    The Asset update stages.
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the extendedLocation property: The extended location.
    id()
    Gets the id property: Fully qualified resource Id for the resource.
    Gets the inner com.azure.resourcemanager.deviceregistry.fluent.models.AssetInner object.
    Gets the location property: The geo-location where the resource lives.
    Gets the name property: The name of the resource.
    Gets the properties property: The resource-specific properties for this resource.
    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
    Gets the region of the resource.
    Gets the name of the resource region.
    Gets the name of the resource group.
    com.azure.core.management.SystemData
    Gets the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
    Gets the tags property: Resource tags.
    Gets the type property: The type of the resource.
    Begins update for the Asset 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

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

      AssetProperties properties()
      Gets the properties property: The resource-specific properties for this resource.
      Returns:
      the properties value.
    • extendedLocation

      ExtendedLocation extendedLocation()
      Gets the extendedLocation property: The extended location.
      Returns:
      the extendedLocation value.
    • systemData

      com.azure.core.management.SystemData systemData()
      Gets the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
      Returns:
      the systemData 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

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

      Asset.Update update()
      Begins update for the Asset resource.
      Returns:
      the stage of resource update.
    • refresh

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

      Asset 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.