Dela via


UpdateStateExtensions.UpdateStateAsync<TModel> Method

Definition

public static System.Threading.Tasks.Task<Microsoft.Azure.Commands.Common.Strategies.IState> UpdateStateAsync<TModel> (this Microsoft.Azure.Commands.Common.Strategies.ResourceConfig<TModel> config, Microsoft.Azure.Commands.Common.Strategies.IClient client, Microsoft.Azure.Commands.Common.Strategies.IState target, System.Threading.CancellationToken cancellationToken, Microsoft.Azure.Commands.Common.Strategies.IShouldProcess shouldProcess, Action<Microsoft.Azure.Commands.Common.Strategies.ITaskProgress> reportTaskProgress) where TModel : class;
static member UpdateStateAsync : Microsoft.Azure.Commands.Common.Strategies.ResourceConfig<'Model (requires 'Model : null)> * Microsoft.Azure.Commands.Common.Strategies.IClient * Microsoft.Azure.Commands.Common.Strategies.IState * System.Threading.CancellationToken * Microsoft.Azure.Commands.Common.Strategies.IShouldProcess * Action<Microsoft.Azure.Commands.Common.Strategies.ITaskProgress> -> System.Threading.Tasks.Task<Microsoft.Azure.Commands.Common.Strategies.IState> (requires 'Model : null)
<Extension()>
Public Function UpdateStateAsync(Of TModel As Class) (config As ResourceConfig(Of TModel), client As IClient, target As IState, cancellationToken As CancellationToken, shouldProcess As IShouldProcess, reportTaskProgress As Action(Of ITaskProgress)) As Task(Of IState)

Type Parameters

TModel

Parameters

client
IClient
target
IState
cancellationToken
CancellationToken
shouldProcess
IShouldProcess
reportTaskProgress
Action<ITaskProgress>

Returns

Applies to