Freigeben über


DscConfigurationOperationsExtensions.CreateOrUpdateAsync Methode

Definition

Überlädt

CreateOrUpdateAsync(IDscConfigurationOperations, String, String, DscConfigurationCreateOrUpdateParameters)
CreateOrUpdateAsync(IDscConfigurationOperations, String, String, String, DscConfigurationCreateOrUpdateParameters, CancellationToken)

Erstellen Sie die durch den Konfigurationsnamen identifizierte Konfiguration. http://aka.ms/azureautomationsdk/configurationoperations

CreateOrUpdateAsync(IDscConfigurationOperations, String, String, DscConfigurationCreateOrUpdateParameters)

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Automation.Models.DscConfigurationCreateOrUpdateResponse> CreateOrUpdateAsync (this Microsoft.Azure.Management.Automation.IDscConfigurationOperations operations, string resourceGroupName, string automationAccount, Microsoft.Azure.Management.Automation.Models.DscConfigurationCreateOrUpdateParameters parameters);
static member CreateOrUpdateAsync : Microsoft.Azure.Management.Automation.IDscConfigurationOperations * string * string * Microsoft.Azure.Management.Automation.Models.DscConfigurationCreateOrUpdateParameters -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Automation.Models.DscConfigurationCreateOrUpdateResponse>
<Extension()>
Public Function CreateOrUpdateAsync (operations As IDscConfigurationOperations, resourceGroupName As String, automationAccount As String, parameters As DscConfigurationCreateOrUpdateParameters) As Task(Of DscConfigurationCreateOrUpdateResponse)

Parameter

resourceGroupName
String
automationAccount
String

Gibt zurück

Gilt für:

CreateOrUpdateAsync(IDscConfigurationOperations, String, String, String, DscConfigurationCreateOrUpdateParameters, CancellationToken)

Erstellen Sie die durch den Konfigurationsnamen identifizierte Konfiguration. http://aka.ms/azureautomationsdk/configurationoperations

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Automation.Models.DscConfiguration> CreateOrUpdateAsync (this Microsoft.Azure.Management.Automation.IDscConfigurationOperations operations, string resourceGroupName, string automationAccountName, string configurationName, Microsoft.Azure.Management.Automation.Models.DscConfigurationCreateOrUpdateParameters parameters, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateAsync : Microsoft.Azure.Management.Automation.IDscConfigurationOperations * string * string * string * Microsoft.Azure.Management.Automation.Models.DscConfigurationCreateOrUpdateParameters * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Automation.Models.DscConfiguration>
<Extension()>
Public Function CreateOrUpdateAsync (operations As IDscConfigurationOperations, resourceGroupName As String, automationAccountName As String, configurationName As String, parameters As DscConfigurationCreateOrUpdateParameters, Optional cancellationToken As CancellationToken = Nothing) As Task(Of DscConfiguration)

Parameter

operations
IDscConfigurationOperations

Die Vorgangsgruppe für diese Erweiterungsmethode.

resourceGroupName
String

Name einer Azure-Ressourcengruppe.

automationAccountName
String

Der Name des Automation-Kontos.

configurationName
String

Die Erstellungs- oder Aktualisierungsparameter für die Konfiguration.

parameters
DscConfigurationCreateOrUpdateParameters

Die Erstellungs- oder Aktualisierungsparameter für die Konfiguration.

cancellationToken
CancellationToken

Das Abbruchtoken.

Gibt zurück

Gilt für: