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
HasId.id()
HasInner<T>.inner()
Indexable.key()
HasManager<ManagerT>.manager()
HasName.name()
Refreshable<T>.refresh()
Refreshable<T>.refreshAsync()
Resource.region()
Resource.regionName()
HasResourceGroup.resourceGroupName()
Resource.tags()
Resource.type()
Updatable<T>.update()
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Java