Class Resource
- java.lang.Object
-
- com.azure.analytics.synapse.artifacts.models.Resource
-
- Direct Known Subclasses:
AzureEntityResource
,ProxyResource
,TrackedResource
public class Resource extends Object
Resource Common fields that are returned in the response for all Azure Resource Manager resources.
-
-
Constructor Summary
Constructors Constructor Description Resource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getId()
Get the id property: Fully qualified resource ID for the resource.String
getName()
Get the name property: The name of the resource.String
getType()
Get the type property: The type of the resource.
-
-
-
Method Detail
-
getId
public String getId()
Get the id property: Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.- Returns:
- the id value.
-
getName
public String getName()
Get the name property: The name of the resource.- Returns:
- the name value.
-
getType
public String getType()
Get the type property: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".- Returns:
- the type value.
-
-