Sdílet prostřednictvím


CapacityReservationGroupsOperationsExtensions.UpdateAsync Method

Definition

The operation to update a capacity reservation group. When updating a capacity reservation group, only tags may be modified.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Compute.Models.CapacityReservationGroup> UpdateAsync (this Microsoft.Azure.Management.Compute.ICapacityReservationGroupsOperations operations, string resourceGroupName, string capacityReservationGroupName, System.Collections.Generic.IDictionary<string,string> tags = default, System.Threading.CancellationToken cancellationToken = default);
static member UpdateAsync : Microsoft.Azure.Management.Compute.ICapacityReservationGroupsOperations * string * string * System.Collections.Generic.IDictionary<string, string> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Compute.Models.CapacityReservationGroup>
<Extension()>
Public Function UpdateAsync (operations As ICapacityReservationGroupsOperations, resourceGroupName As String, capacityReservationGroupName As String, Optional tags As IDictionary(Of String, String) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of CapacityReservationGroup)

Parameters

operations
ICapacityReservationGroupsOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group.

capacityReservationGroupName
String

The name of the capacity reservation group.

tags
IDictionary<String,String>

Resource tags

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to