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 com.azure.resourcemanager.resources.fluentcore.arm.models.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 com.azure.resourcemanager.resources.fluentcore.model.HasInnerModel
innerModelMethods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.HasManager
managerMethods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.HasName
nameMethods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.HasResourceGroup
resourceGroupNameMethods inherited from interface com.azure.resourcemanager.resources.fluentcore.model.Refreshable
refresh, refreshAsyncMethods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.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
String resourceType()Gets the type of the resource.- Returns:
- the type of the resource
-
apiVersion
String apiVersion()Gets the api version of the resource.- Returns:
- the api version of the resource
-
plan
Plan plan()Gets the plan of the resource.- Returns:
- the plan of the resource
-
properties
Object properties()Gets other properties of the resource.- Returns:
- other properties of the resource
-
kind
String kind()Gets the kind of the resource.- Returns:
- the kind of the resource
-
sku
Sku sku()Gets the SKU of the resource.- Returns:
- the SKU of the resource
-
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
-