Share via


ComponentLinkedStorageAccountCollection.ExistsAsync Method

Definition

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/components/{resourceName}/linkedStorageAccounts/{storageType}
  • Operation Id: ComponentLinkedStorageAccounts_Get
  • Default Api Version: 2020-03-01-preview
  • Resource: ComponentLinkedStorageAccountResource
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))

Parameters

storageType
StorageType

The type of the Application Insights component data source for the linked storage account.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to