Interface GenericResource

All Superinterfaces:
GroupableResource<ResourceManager,GenericResourceInner>, HasId, HasInnerModel<GenericResourceInner>, HasManager<ResourceManager>, HasName, HasResourceGroup, Indexable, Refreshable<GenericResource>, Resource, Updatable<GenericResource.Update>

An immutable client-side representation of an Azure generic resource.
  • Method Details

    • resourceProviderNamespace

      String resourceProviderNamespace()
      Gets the namespace of the resource provider.
      Returns:
      the namespace of the resource provider
    • parentResourcePath

      String parentResourcePath()
      Gets the id of the parent resource if this is a child resource.
      Returns:
      the id of the parent resource if this is a child resource
    • resourceType

      String resourceType()
      Gets the type of the resource.
      Returns:
      the type of the resource
    • apiVersion

      String apiVersion()
      Gets the api version of the resource.
      Returns:
      the api version of the resource
    • plan

      Plan plan()
      Gets the plan of the resource.
      Returns:
      the plan of the resource
    • properties

      Object properties()
      Gets other properties of the resource.
      Returns:
      other properties of the resource
    • kind

      String kind()
      Gets the kind of the resource.
      Returns:
      the kind of the resource
    • sku

      Sku sku()
      Gets the SKU of the resource.
      Returns:
      the SKU of the resource
    • identity

      Identity identity()
      Gets the managed identity of the resource.
      Returns:
      the managed identity of the resource
    • managedBy

      String managedBy()
      Gets the ID of the resource that manages this resource.
      Returns:
      the ID of the resource that manages this resource