Udostępnij za pośrednictwem


RunsOperationsExtensions.UpdateAsync Method

Definition

Patch the run properties.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.ContainerRegistry.Models.Run> UpdateAsync (this Microsoft.Azure.Management.ContainerRegistry.IRunsOperations operations, string resourceGroupName, string registryName, string runId, bool? isArchiveEnabled = default, System.Threading.CancellationToken cancellationToken = default);
static member UpdateAsync : Microsoft.Azure.Management.ContainerRegistry.IRunsOperations * string * string * string * Nullable<bool> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.ContainerRegistry.Models.Run>
<Extension()>
Public Function UpdateAsync (operations As IRunsOperations, resourceGroupName As String, registryName As String, runId As String, Optional isArchiveEnabled As Nullable(Of Boolean) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Run)

Parameters

operations
IRunsOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group to which the container registry belongs.

registryName
String

The name of the container registry.

runId
String

The run ID.

isArchiveEnabled
Nullable<Boolean>

The value that indicates whether archiving is enabled or not.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to