Partager via


ConfigurationAssignmentsForResourceGroupOperationsExtensions.UpdateMethodAsync Method

Definition

Create configuration assignment

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Maintenance.Models.ConfigurationAssignment> UpdateMethodAsync (this Microsoft.Azure.Management.Maintenance.IConfigurationAssignmentsForResourceGroupOperations operations, string resourceGroupName, string configurationAssignmentName, Microsoft.Azure.Management.Maintenance.Models.ConfigurationAssignment configurationAssignment, System.Threading.CancellationToken cancellationToken = default);
static member UpdateMethodAsync : Microsoft.Azure.Management.Maintenance.IConfigurationAssignmentsForResourceGroupOperations * string * string * Microsoft.Azure.Management.Maintenance.Models.ConfigurationAssignment * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Maintenance.Models.ConfigurationAssignment>
<Extension()>
Public Function UpdateMethodAsync (operations As IConfigurationAssignmentsForResourceGroupOperations, resourceGroupName As String, configurationAssignmentName As String, configurationAssignment As ConfigurationAssignment, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ConfigurationAssignment)

Parameters

operations
IConfigurationAssignmentsForResourceGroupOperations

The operations group for this extension method.

resourceGroupName
String

Resource group name

configurationAssignmentName
String

Configuration assignment name

configurationAssignment
ConfigurationAssignment

The configurationAssignment

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

Register configuration for resource.

Applies to