Compartir a través de


SiteRecoveryProtectionContainerResource.GetReplicationProtectedItem Método

Definición

Obtiene los detalles de un elemento protegido de replicación de ASR.

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

Parámetros

replicatedProtectedItemName
String

Nombre del elemento protegido de replicación.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

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

replicatedProtectedItemName es null.

Se aplica a