GenericResource Interface

public interface GenericResource extends GroupableResource<ResourceManager, GenericResourceInner>,Refreshable,Updatable<GenericResource.Update>

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

Method Summary

Modifier and Type Method and Description
String apiVersion()
String parentResourcePath()
Plan plan()
Object properties()
String resourceProviderNamespace()
String resourceType()

Inherited Members

Method Details

apiVersion

public String apiVersion()

Returns:

the api version of the resource

parentResourcePath

public String parentResourcePath()

Returns:

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

plan

public Plan plan()

Returns:

the plan of the resource

properties

public Object properties()

Returns:

other properties of the resource

resourceProviderNamespace

public String resourceProviderNamespace()

Returns:

the namespace of the resource provider

resourceType

public String resourceType()

Returns:

the type of the resource

Applies to