DscNodeConfigurationOperationsExtensions.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(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)
Parameters
- operations
- IDscNodeConfigurationOperations
- resourceGroupName
- String
- automationAccount
- String
- parameters
- DscNodeConfigurationCreateOrUpdateParameters
Returns
Applies to
CreateOrUpdateAsync(IDscNodeConfigurationOperations, String, String, String, DscNodeConfigurationCreateOrUpdateParameters, CancellationToken)
Create the node configuration identified by node configuration name. 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)
Parameters
- operations
- IDscNodeConfigurationOperations
The operations group for this extension method.
- resourceGroupName
- String
Name of an Azure Resource group.
- automationAccountName
- String
The name of the automation account.
- nodeConfigurationName
- String
The Dsc node configuration name.
- parameters
- DscNodeConfigurationCreateOrUpdateParameters
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