Partager via


ConfigurationsOperationsExtensions.CreateInResourceGroupAsync Méthode

Définition

Créer/remplacer une configuration Azure Advisor.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Advisor.Models.ARMErrorResponseBody> CreateInResourceGroupAsync (this Microsoft.Azure.Management.Advisor.IConfigurationsOperations operations, Microsoft.Azure.Management.Advisor.Models.ConfigData configContract, string resourceGroup, System.Threading.CancellationToken cancellationToken = default);
static member CreateInResourceGroupAsync : Microsoft.Azure.Management.Advisor.IConfigurationsOperations * Microsoft.Azure.Management.Advisor.Models.ConfigData * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Advisor.Models.ARMErrorResponseBody>
<Extension()>
Public Function CreateInResourceGroupAsync (operations As IConfigurationsOperations, configContract As ConfigData, resourceGroup As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ARMErrorResponseBody)

Paramètres

operations
IConfigurationsOperations

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

configContract
ConfigData

Structure des données de configuration d’Azure Advisor.

resourceGroup
String

Le nom du groupe de ressources Azure.

cancellationToken
CancellationToken

Jeton d'annulation.

Retours

S’applique à