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 Summary
Constructors Constructor Description TrackedResource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getLocation()
Get the location property: The geo-location where the resource lives.Map<String,String>
getTags()
Get the tags property: Resource tags.TrackedResource
setLocation(String location)
Set the location property: The geo-location where the resource lives.TrackedResource
setTags(Map<String,String> tags)
Set the tags property: Resource tags.
-
-
-
Method Detail
-
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.
-
-