Partager via


ResourceConfig<TModel> Class

Definition

public sealed class ResourceConfig<TModel> : Microsoft.Azure.Commands.Common.Strategies.IEntityConfig<TModel>, Microsoft.Azure.Commands.Common.Strategies.IResourceConfig where TModel : class
type ResourceConfig<'Model (requires 'Model : null)> = class
    interface IEntityConfig<'Model (requires 'Model : null)>
    interface IEntityConfig
    interface IResourceConfig
Public NotInheritable Class ResourceConfig(Of TModel)
Implements IEntityConfig(Of TModel), IResourceConfig

Type Parameters

TModel
Inheritance
ResourceConfig<TModel>
Implements

Constructors

ResourceConfig<TModel>(ResourceStrategy<TModel>, IResourceConfig, String, Func<IEngine,TModel>, IEnumerable<IEntityConfig>)

Properties

CreateModel
Name
NestedResources
ResourceGroup
Strategy

Methods

CreateNested<TNestedModel>(NestedResourceStrategy<TNestedModel,TModel>, String, Func<IEngine,TNestedModel>)
GetIdFromResourceGroup()

Explicit Interface Implementations

IEntityConfig.Accept<TContext,TResult>(IEntityConfigVisitor<TContext,TResult>, TContext)
IEntityConfig.Dependencies
IEntityConfig.NestedResources
IEntityConfig.Resource
IEntityConfig.Strategy
IEntityConfig<TModel>.Accept<TContext,TResult>(IEntityConfigVisitor<TModel,TContext,TResult>, TContext)
IEntityConfig<TModel>.AddNested<TNestedModel>(NestedResourceConfig<TNestedModel,TModel>)
IResourceConfig.Accept<TContext,TResult>(IResourceConfigVisitor<TContext,TResult>, TContext)
IResourceConfig.Strategy

Extension Methods

DefaultIdStr(IEntityConfig)
GetIdFromSubscription(IEntityConfig)
GetResourceGroupName(IEntityConfig)
GetStateAsync<TModel>(ResourceConfig<TModel>, IClient, CancellationToken)
CreateOrUpdateAsync<TModel>(ResourceConfig<TModel>, IClient, TModel, CancellationToken)
GetAsync<TModel>(ResourceConfig<TModel>, IClient, CancellationToken)
GetFullName(IResourceConfig)
GetResourceDependencies(IEntityConfig)
GetTargetDependencies(IResourceConfig, IState)
GetTargetState<TModel>(ResourceConfig<TModel>, IState, IEngine, String)
UpdateStateAsync<TModel>(ResourceConfig<TModel>, IClient, IState, CancellationToken, IShouldProcess, Action<ITaskProgress>)

Applies to