Compartir a través de


RecoveryServicesSiteRecoveryExtensions.GetReplicationVaultHealthAsync Método

Definición

Obtiene los detalles de mantenimiento del almacén.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationVaultHealth
  • IdReplicationVaultHealth_Get de operaciones
public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.VaultHealthDetails>> GetReplicationVaultHealthAsync (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, string resourceName, System.Threading.CancellationToken cancellationToken = default);
static member GetReplicationVaultHealthAsync : Azure.ResourceManager.Resources.ResourceGroupResource * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.VaultHealthDetails>>
<Extension()>
Public Function GetReplicationVaultHealthAsync (resourceGroupResource As ResourceGroupResource, resourceName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of VaultHealthDetails))

Parámetros

resourceGroupResource
ResourceGroupResource

Instancia ResourceGroupResource en la que se ejecutará el método.

resourceName
String

Nombre del almacén de Recovery Services.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

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

resourceName es null.

Se aplica a