GenericResource Interface
Implements
public interface GenericResource
extends GroupableResource<ResourceManager,GenericResourceInner>, Refreshable<GenericResource>, Updatable<Update>
An immutable client-side representation of an Azure generic resource.
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract String |
apiVersion()
Gets the api version of the resource. |
abstract Identity |
identity()
Gets the managed identity of the resource. |
abstract String |
kind()
Gets the kind of the resource. |
abstract String |
managedBy()
Gets the ID of the resource that manages this resource. |
abstract String |
parentResourcePath()
Gets the id of the parent resource if this is a child resource. |
abstract Plan |
plan()
Gets the plan of the resource. |
abstract Object |
properties()
Gets other properties of the resource. |
abstract String |
resourceProviderNamespace()
Gets the namespace of the resource provider. |
abstract String |
resourceType()
Gets the type of the resource. |
abstract Sku |
sku()
Gets the SKU of the resource. |
Method Details
apiVersion
public abstract String apiVersion()
Gets the api version of the resource.
Returns:
identity
public abstract Identity identity()
Gets the managed identity of the resource.
Returns:
kind
public abstract String kind()
Gets the kind of the resource.
Returns:
managedBy
public abstract String managedBy()
Gets the ID of the resource that manages this resource.
Returns:
parentResourcePath
public abstract String parentResourcePath()
Gets the id of the parent resource if this is a child resource.
Returns:
plan
public abstract Plan plan()
Gets the plan of the resource.
Returns:
properties
public abstract Object properties()
Gets other properties of the resource.
Returns:
resourceProviderNamespace
public abstract String resourceProviderNamespace()
Gets the namespace of the resource provider.
Returns:
resourceType
public abstract String resourceType()
Gets the type of the resource.
Returns:
sku
public abstract Sku sku()
Gets the SKU of the resource.
Returns: