DscConfigurationOperationsExtensions.CreateOrUpdateAsync Metodo
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Overload
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)
Parametri
- operations
- IDscConfigurationOperations
- resourceGroupName
- String
- automationAccount
- String
- parameters
- DscConfigurationCreateOrUpdateParameters
Restituisce
Si applica a
CreateOrUpdateAsync(IDscConfigurationOperations, String, String, String, DscConfigurationCreateOrUpdateParameters, CancellationToken)
Creare la configurazione identificata dal nome di configurazione. 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)
Parametri
- operations
- IDscConfigurationOperations
Gruppo di operazioni per questo metodo di estensione.
- resourceGroupName
- String
Nome di un gruppo di risorse di Azure.
- automationAccountName
- String
Nome dell'account di automazione.
- configurationName
- String
Parametri di creazione o aggiornamento per la configurazione.
- parameters
- DscConfigurationCreateOrUpdateParameters
Parametri di creazione o aggiornamento per la configurazione.
- cancellationToken
- CancellationToken
Token di annullamento.