Udostępnij za pośrednictwem


ContainerRepository.UpdateProperties Method

Definition

Update the properties of the repository.

public virtual Azure.Response<Azure.Containers.ContainerRegistry.ContainerRepositoryProperties> UpdateProperties (Azure.Containers.ContainerRegistry.ContainerRepositoryProperties value, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateProperties : Azure.Containers.ContainerRegistry.ContainerRepositoryProperties * System.Threading.CancellationToken -> Azure.Response<Azure.Containers.ContainerRegistry.ContainerRepositoryProperties>
override this.UpdateProperties : Azure.Containers.ContainerRegistry.ContainerRepositoryProperties * System.Threading.CancellationToken -> Azure.Response<Azure.Containers.ContainerRegistry.ContainerRepositoryProperties>
Public Overridable Function UpdateProperties (value As ContainerRepositoryProperties, Optional cancellationToken As CancellationToken = Nothing) As 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