Compartir a través de


SiteRecoveryProtectionContainerResource.GetProtectionContainerMappingAsync Método

Definición

Obtiene los detalles de una asignación de contenedor de protección.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectionContainerMappings/{mappingName}
  • IdReplicationProtectionContainerMappings_Get de operación
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.RecoveryServicesSiteRecovery.ProtectionContainerMappingResource>> GetProtectionContainerMappingAsync (string mappingName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetProtectionContainerMappingAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.RecoveryServicesSiteRecovery.ProtectionContainerMappingResource>>
override this.GetProtectionContainerMappingAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.RecoveryServicesSiteRecovery.ProtectionContainerMappingResource>>
Public Overridable Function GetProtectionContainerMappingAsync (mappingName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of ProtectionContainerMappingResource))

Parámetros

mappingName
String

Nombre de asignación de contenedor de protección.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

mappingName es una cadena vacía y se espera que no esté vacía.

mappingName es null.

Se aplica a