Partager via


ResourceStrategy<TModel> Class

Definition

public sealed class ResourceStrategy<TModel> : Microsoft.Azure.Commands.Common.Strategies.IResourceStrategy
type ResourceStrategy<'Model> = class
    interface IResourceStrategy
    interface IEntityStrategy
Public NotInheritable Class ResourceStrategy(Of TModel)
Implements IResourceStrategy

Type Parameters

TModel
Inheritance
ResourceStrategy<TModel>
Implements

Constructors

ResourceStrategy<TModel>(ResourceType, Func<IClient,GetAsyncParams, Task<TModel>>, Func<IClient,CreateOrUpdateAsyncParams<TModel>, Task<TModel>>, Property<TModel,String>, Func<TModel,Int32>, Boolean, Func<TModel,Boolean>)
ResourceStrategy<TModel>(ResourceType, Func<IClient,GetAsyncParams, Task<TModel>>, Func<IClient,CreateOrUpdateAsyncParams<TModel>, Task<TModel>>, Property<TModel,String>, Func<TModel,Int32>, Boolean)

Properties

CompulsoryLocation
CreateOrUpdateAsync
CreateTime
EvaluatePreexistingConfiguration
GetAsync
Location
Type

Methods

DefaultEvaluator(TModel)

Extension Methods

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

Applies to