Partager via


RecoveryServicesSiteRecoveryExtensions.GetReplicationAppliancesAsync Méthode

Définition

Obtient la liste des appliances Azure Site Recovery pour le coffre.

  • Chemin de la requête/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationAppliances
  • IdReplicationAppliances_List d’opération
public static Azure.AsyncPageable<Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryReplicationAppliance> GetReplicationAppliancesAsync (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, string resourceName, string filter = default, System.Threading.CancellationToken cancellationToken = default);
static member GetReplicationAppliancesAsync : Azure.ResourceManager.Resources.ResourceGroupResource * string * string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryReplicationAppliance>
<Extension()>
Public Function GetReplicationAppliancesAsync (resourceGroupResource As ResourceGroupResource, resourceName As String, Optional filter As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of SiteRecoveryReplicationAppliance)

Paramètres

resourceGroupResource
ResourceGroupResource

Instance ResourceGroupResource sur laquelle la méthode s’exécute.

resourceName
String

Nom du coffre Recovery Services.

filter
String

Options de filtre OData.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

Collection asynchrone de qui peut nécessiter plusieurs demandes de SiteRecoveryReplicationAppliance service pour itérer.

Exceptions

resourceName est une chaîne vide et devait être non vide.

resourceName a la valeur null.

S’applique à