Class TrackedResource

java.lang.Object
com.azure.analytics.synapse.artifacts.models.Resource
com.azure.analytics.synapse.artifacts.models.TrackedResource
Direct Known Subclasses:
BigDataPoolResourceInfo, SqlPool, Workspace

public class TrackedResource extends Resource
Tracked Resource

The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location'.

  • Constructor Details

    • TrackedResource

      public TrackedResource()
  • Method Details

    • getTags

      public Map<String,String> getTags()
      Get the tags property: Resource tags.
      Returns:
      the tags value.
    • setTags

      public TrackedResource setTags(Map<String,String> tags)
      Set the tags property: Resource tags.
      Parameters:
      tags - the tags value to set.
      Returns:
      the TrackedResource object itself.
    • getLocation

      public String getLocation()
      Get the location property: The geo-location where the resource lives.
      Returns:
      the location value.
    • setLocation

      public TrackedResource setLocation(String location)
      Set the location property: The geo-location where the resource lives.
      Parameters:
      location - the location value to set.
      Returns:
      the TrackedResource object itself.