Interface GenericResource
- All Superinterfaces:
GroupableResource<ResourceManager, GenericResourceInner>, HasId, HasInnerModel<GenericResourceInner>, HasManager<ResourceManager>, HasName, HasResourceGroup, Indexable, Refreshable<GenericResource>, Resource, Updatable<GenericResource.Update>
public interface GenericResource
extends GroupableResource<ResourceManager, GenericResourceInner>, Refreshable<GenericResource>, Updatable<GenericResource.Update>
An immutable client-side representation of an Azure generic resource.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceThe entirety of the generic resource definition.static interfaceGrouping of generic resource definition stages.static interfaceThe template for a generic resource update operation, containing all the settings that can be modified.static interfaceGrouping of generic resource update stages.Nested classes/interfaces inherited from interface Resource
Resource.DefinitionWithRegion<T>, Resource.DefinitionWithTags<T>, Resource.UpdateWithTags<T> -
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the api version of the resource.identity()Gets the managed identity of the resource.kind()Gets the kind of the resource.Gets the ID of the resource that manages this resource.Gets the id of the parent resource if this is a child resource.plan()Gets the plan of the resource.Gets other properties of the resource.Gets the namespace of the resource provider.Gets the type of the resource.sku()Gets the SKU of the resource.Methods inherited from interface HasInnerModel
innerModelMethods inherited from interface HasManager
managerMethods inherited from interface HasResourceGroup
resourceGroupNameMethods inherited from interface Refreshable
refresh, refreshAsyncMethods inherited from interface Resource
region, regionName, tags, type
-
Method Details
-
resourceProviderNamespace
String resourceProviderNamespace()Gets the namespace of the resource provider.- Returns:
- the namespace of the resource provider
-
parentResourcePath
String parentResourcePath()Gets the id of the parent resource if this is a child resource.- Returns:
- the id of the parent resource if this is a child resource
-
resourceType
-
apiVersion
-
plan
-
properties
Object properties()Gets other properties of the resource.- Returns:
- other properties of the resource
-
kind
-
sku
-
identity
Identity identity()Gets the managed identity of the resource.- Returns:
- the managed identity of the resource
-
managedBy
String managedBy()Gets the ID of the resource that manages this resource.- Returns:
- the ID of the resource that manages this resource
-