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 Details

    • Resource

      public Resource()
  • Method Details

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