Delen via


GenericResource Interface

Implements

GroupableResource<com.microsoft.azure.management.resources.implementation.ResourceManager,com.microsoft.azure.management.resources.implementation.GenericResourceInner> Refreshable<GenericResource> Updatable<Update>

public interface GenericResource
extends GroupableResource<com.microsoft.azure.management.resources.implementation.ResourceManager,com.microsoft.azure.management.resources.implementation.GenericResourceInner>, Refreshable<GenericResource>, Updatable<Update>

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

Method Summary

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

Method Details

apiVersion

public abstract String apiVersion()

Returns:

the api version of the 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

Applies to