Dela via


IGenericResource Interface

Definition

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

public interface IGenericResource : Microsoft.Azure.Management.ResourceManager.Fluent.Core.IGroupableResource<Microsoft.Azure.Management.ResourceManager.Fluent.IResourceManager,Microsoft.Azure.Management.ResourceManager.Fluent.Models.GenericResourceInner>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.IHasInner<Microsoft.Azure.Management.ResourceManager.Fluent.Models.GenericResourceInner>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.IHasManager<Microsoft.Azure.Management.ResourceManager.Fluent.IResourceManager>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.ResourceActions.IRefreshable<Microsoft.Azure.Management.ResourceManager.Fluent.IGenericResource>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.ResourceActions.IUpdatable<Microsoft.Azure.Management.ResourceManager.Fluent.GenericResource.Update.IWithApiVersion>
type IGenericResource = interface
    interface IGroupableResource<IResourceManager, GenericResourceInner>
    interface IResource
    interface IIndexable
    interface IHasId
    interface IHasName
    interface IHasResourceGroup
    interface IHasManager<IResourceManager>
    interface IHasInner<GenericResourceInner>
    interface IRefreshable<IGenericResource>
    interface IUpdatable<IWithApiVersion>
Public Interface IGenericResource
Implements IGroupableResource(Of IResourceManager, GenericResourceInner), IHasInner(Of GenericResourceInner), IHasManager(Of IResourceManager), IRefreshable(Of IGenericResource), IUpdatable(Of IWithApiVersion)
Implements

Properties

ApiVersion
Id

Gets the resource id string

(Inherited from IHasId)
Inner (Inherited from IHasInner<T>)
Key (Inherited from IIndexable)
Manager

Gets the manager client type of this resource type.

(Inherited from IHasManager<ManagerT>)
Name

Gets the name of the resource

(Inherited from IHasName)
ParentResourceId
Plan
Properties
Region (Inherited from IResource)
RegionName (Inherited from IResource)
ResourceGroupName (Inherited from IHasResourceGroup)
ResourceProviderNamespace
ResourceType
Tags (Inherited from IResource)
Type (Inherited from IResource)

Methods

Refresh()

Refreshes the resource to sync with Azure.

(Inherited from IRefreshable<T>)
RefreshAsync(CancellationToken)

Refreshes the resource to sync with Azure.

(Inherited from IRefreshable<T>)
Update() (Inherited from IUpdatable<T>)

Applies to