Sdílet prostřednictvím


DscNodeConfigurationOperationsExtensions.CreateOrUpdateAsync Metoda

Definice

Přetížení

CreateOrUpdateAsync(IDscNodeConfigurationOperations, String, String, DscNodeConfigurationCreateOrUpdateParameters)
CreateOrUpdateAsync(IDscNodeConfigurationOperations, String, String, String, DscNodeConfigurationCreateOrUpdateParameters, CancellationToken)

Vytvořte konfiguraci uzlu identifikovanou názvem konfigurace uzlu. http://aka.ms/azureautomationsdk/dscnodeconfigurations

CreateOrUpdateAsync(IDscNodeConfigurationOperations, String, String, DscNodeConfigurationCreateOrUpdateParameters)

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

Parametry

resourceGroupName
String
automationAccount
String

Návraty

Platí pro

CreateOrUpdateAsync(IDscNodeConfigurationOperations, String, String, String, DscNodeConfigurationCreateOrUpdateParameters, CancellationToken)

Vytvořte konfiguraci uzlu identifikovanou názvem konfigurace uzlu. http://aka.ms/azureautomationsdk/dscnodeconfigurations

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

Parametry

operations
IDscNodeConfigurationOperations

Skupina operací pro tuto metodu rozšíření.

resourceGroupName
String

Název skupiny prostředků Azure.

automationAccountName
String

Název účtu Automation.

nodeConfigurationName
String

Název konfigurace uzlu DSC.

parameters
DscNodeConfigurationCreateOrUpdateParameters

Parametry vytvoření nebo aktualizace konfigurace.

cancellationToken
CancellationToken

Token zrušení.

Návraty

Platí pro