Share via


StorageInsightConfigsOperationsExtensions.CreateOrUpdateAsync Method

Definition

Create or update a storage insight.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.OperationalInsights.Models.StorageInsight> CreateOrUpdateAsync (this Microsoft.Azure.Management.OperationalInsights.IStorageInsightConfigsOperations operations, string resourceGroupName, string workspaceName, string storageInsightName, Microsoft.Azure.Management.OperationalInsights.Models.StorageInsight parameters, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateAsync : Microsoft.Azure.Management.OperationalInsights.IStorageInsightConfigsOperations * string * string * string * Microsoft.Azure.Management.OperationalInsights.Models.StorageInsight * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.OperationalInsights.Models.StorageInsight>
<Extension()>
Public Function CreateOrUpdateAsync (operations As IStorageInsightConfigsOperations, resourceGroupName As String, workspaceName As String, storageInsightName As String, parameters As StorageInsight, Optional cancellationToken As CancellationToken = Nothing) As Task(Of StorageInsight)

Parameters

operations
IStorageInsightConfigsOperations

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.

storageInsightName
String

Name of the storageInsightsConfigs resource

parameters
StorageInsight

The parameters required to create or update a storage insight.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to