Compartilhar via


ContainerRegistryResource.GetContainerRegistryReplicationAsync Método

Definição

Obtém as propriedades da replicação especificada.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/replications/{replicationName}
  • IdReplications_Get de operação
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ContainerRegistry.ContainerRegistryReplicationResource>> GetContainerRegistryReplicationAsync (string replicationName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetContainerRegistryReplicationAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ContainerRegistry.ContainerRegistryReplicationResource>>
override this.GetContainerRegistryReplicationAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ContainerRegistry.ContainerRegistryReplicationResource>>
Public Overridable Function GetContainerRegistryReplicationAsync (replicationName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of ContainerRegistryReplicationResource))

Parâmetros

replicationName
String

O nome da replicação.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

replicationName é uma cadeia de caracteres vazia e era esperado que não estivesse vazio.

replicationName é nulo.

Aplica-se a