Udostępnij za pośrednictwem


LinkedStorageAccountsOperationsExtensions.DeleteAsync Method

Definition

Deletes all linked storage accounts of a specific data source type associated with the specified workspace.

public static System.Threading.Tasks.Task DeleteAsync (this Microsoft.Azure.Management.OperationalInsights.ILinkedStorageAccountsOperations operations, string resourceGroupName, string workspaceName, Microsoft.Azure.Management.OperationalInsights.Models.DataSourceType dataSourceType, System.Threading.CancellationToken cancellationToken = default);
static member DeleteAsync : Microsoft.Azure.Management.OperationalInsights.ILinkedStorageAccountsOperations * string * string * Microsoft.Azure.Management.OperationalInsights.Models.DataSourceType * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function DeleteAsync (operations As ILinkedStorageAccountsOperations, resourceGroupName As String, workspaceName As String, dataSourceType As DataSourceType, Optional cancellationToken As CancellationToken = Nothing) As Task

Parameters

operations
ILinkedStorageAccountsOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group. The name is case insensitive.

workspaceName
String

The name of the workspace.

dataSourceType
DataSourceType

Linked storage accounts type. Possible values include: 'CustomLogs', 'AzureWatson', 'Query', 'Alerts'

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to