DscConfigurationOperationsExtensions.CreateOrUpdateAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
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)
Parameters
- operations
- IDscConfigurationOperations
- resourceGroupName
- String
- automationAccount
- String
- parameters
- DscConfigurationCreateOrUpdateParameters
Returns
Applies to
CreateOrUpdateAsync(IDscConfigurationOperations, String, String, String, DscConfigurationCreateOrUpdateParameters, CancellationToken)
Create the configuration identified by configuration name. 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)
Parameters
- operations
- IDscConfigurationOperations
The operations group for this extension method.
- resourceGroupName
- String
Name of an Azure Resource group.
- automationAccountName
- String
The name of the automation account.
- configurationName
- String
The create or update parameters for configuration.
- parameters
- DscConfigurationCreateOrUpdateParameters
The create or update parameters for configuration.
- cancellationToken
- CancellationToken
The cancellation token.
Returns
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET