Freigeben über


SecurityCenterLocationCollection.Exists Methode

Definition

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

  • Anforderungspfad/abonnements/{subscriptionId}/providers/Microsoft.Security/locations/{ascLocation}
  • Vorgangs-IdLocations_Get
public virtual Azure.Response<bool> Exists (Azure.Core.AzureLocation ascLocation, System.Threading.CancellationToken cancellationToken = default);
abstract member Exists : Azure.Core.AzureLocation * System.Threading.CancellationToken -> Azure.Response<bool>
override this.Exists : Azure.Core.AzureLocation * System.Threading.CancellationToken -> Azure.Response<bool>
Public Overridable Function Exists (ascLocation As AzureLocation, Optional cancellationToken As CancellationToken = Nothing) As Response(Of Boolean)

Parameter

ascLocation
AzureLocation

Der Speicherort, an dem ASC die Daten des Abonnements speichert. kann unter Abrufen von Speicherorten abgerufen werden.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Gilt für: