Compartir a través de


DataReplicationProtectedItemCollection.Get(String, CancellationToken) Método

Definición

Obtiene los detalles del elemento protegido.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataReplication/replicationVaults/{vaultName}/protectedItems/{protectedItemName}
  • IdProtectedItem_Get de operaciones
public virtual Azure.Response<Azure.ResourceManager.RecoveryServicesDataReplication.DataReplicationProtectedItemResource> Get (string protectedItemName, System.Threading.CancellationToken cancellationToken = default);
abstract member Get : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.RecoveryServicesDataReplication.DataReplicationProtectedItemResource>
override this.Get : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.RecoveryServicesDataReplication.DataReplicationProtectedItemResource>
Public Overridable Function Get (protectedItemName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of DataReplicationProtectedItemResource)

Parámetros

protectedItemName
String

Nombre del elemento protegido.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

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

protectedItemName es null.

Se aplica a