Freigeben über


ComponentLinkedStorageAccountCollection.ExistsAsync Methode

Definition

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

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/components/{resourceName}/linkedStorageAccounts/{storageType}
  • Vorgang IdComponentLinkedStorageAccounts_Get
public virtual System.Threading.Tasks.Task<Azure.Response<bool>> ExistsAsync (Azure.ResourceManager.ApplicationInsights.Models.StorageType storageType, System.Threading.CancellationToken cancellationToken = default);
abstract member ExistsAsync : Azure.ResourceManager.ApplicationInsights.Models.StorageType * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<bool>>
override this.ExistsAsync : Azure.ResourceManager.ApplicationInsights.Models.StorageType * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<bool>>
Public Overridable Function ExistsAsync (storageType As StorageType, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of Boolean))

Parameter

storageType
StorageType

Der Typ der Application Insights-Komponentendatenquelle für das verknüpfte Speicherkonto.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Gilt für: