Partager via


StorageInsightConfigsOperationsExtensions.CreateOrUpdateAsync Méthode

Définition

Créer ou mettre à jour un insight de stockage.

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)

Paramètres

operations
IStorageInsightConfigsOperations

Groupe d’opérations pour cette méthode d’extension.

resourceGroupName
String

Nom du groupe de ressources. Le nom ne respecte pas la casse.

workspaceName
String

Nom de l’espace de travail.

storageInsightName
String

Nom de la ressource storageInsightsConfigs

parameters
StorageInsight

Paramètres requis pour créer ou mettre à jour un insight de stockage.

cancellationToken
CancellationToken

Jeton d'annulation.

Retours

S’applique à