Freigeben über


ResourceGuardProxyCollection.Exists(String, CancellationToken) Methode

Definition

Überprüft, ob die Ressource in Azure vorhanden ist.

  • Anforderungspfad/abonnements/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupResourceGuardProxies/{resourceGuardProxyName}
  • Vorgangs-IdResourceGuardProxy_Get
public virtual Azure.Response<bool> Exists (string resourceGuardProxyName, System.Threading.CancellationToken cancellationToken = default);
abstract member Exists : string * System.Threading.CancellationToken -> Azure.Response<bool>
override this.Exists : string * System.Threading.CancellationToken -> Azure.Response<bool>
Public Overridable Function Exists (resourceGuardProxyName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of Boolean)

Parameter

resourceGuardProxyName
String

Die zu verwendende Zeichenfolge.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

resourceGuardProxyName ist eine leere Zeichenfolge und wurde erwartet, dass sie nicht leer ist.

resourceGuardProxyName ist NULL.

Gilt für: