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()
abstract Identity identity()
abstract String kind()
abstract String managedBy()
abstract String parentResourcePath()
abstract Plan plan()
abstract Object properties()
abstract String resourceProviderNamespace()
abstract String resourceType()
abstract Sku sku()

Method Details

apiVersion

public abstract String apiVersion()

Returns:

the api version of the resource

identity

public abstract Identity identity()

Returns:

the managed identity of the resource

kind

public abstract String kind()

Returns:

the kind of the resource

managedBy

public abstract String managedBy()

Returns:

the ID of the resource that manages this resource

parentResourcePath

public abstract String parentResourcePath()

Returns:

the id of the parent resource if this is a child resource

plan

public abstract Plan plan()

Returns:

the plan of the resource

properties

public abstract Object properties()

Returns:

other properties of the resource

resourceProviderNamespace

public abstract String resourceProviderNamespace()

Returns:

the namespace of the resource provider

resourceType

public abstract String resourceType()

Returns:

the type of the resource

sku

public abstract Sku sku()

Returns:

the SKU of the resource

Applies to