Udostępnij za pośrednictwem


ContainerRepository.UpdatePropertiesAsync Method

Definition

Update the properties of the repository.

public virtual System.Threading.Tasks.Task<Azure.Response<Azure.Containers.ContainerRegistry.ContainerRepositoryProperties>> UpdatePropertiesAsync (Azure.Containers.ContainerRegistry.ContainerRepositoryProperties value, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdatePropertiesAsync : Azure.Containers.ContainerRegistry.ContainerRepositoryProperties * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.Containers.ContainerRegistry.ContainerRepositoryProperties>>
override this.UpdatePropertiesAsync : Azure.Containers.ContainerRegistry.ContainerRepositoryProperties * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.Containers.ContainerRegistry.ContainerRepositoryProperties>>
Public Overridable Function UpdatePropertiesAsync (value As ContainerRepositoryProperties, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of ContainerRepositoryProperties))

Parameters

value
ContainerRepositoryProperties

Repository properties object containing values to update.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

Thrown when value is null.

Thrown when a failure is returned by the Container Registry service.

Applies to