CapacityReservationsOperationsExtensions.UpdateAsync 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.
The operation to update a capacity reservation.
public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Compute.Models.CapacityReservation> UpdateAsync (this Microsoft.Azure.Management.Compute.ICapacityReservationsOperations operations, string resourceGroupName, string capacityReservationGroupName, string capacityReservationName, Microsoft.Azure.Management.Compute.Models.CapacityReservationUpdate parameters, System.Threading.CancellationToken cancellationToken = default);
static member UpdateAsync : Microsoft.Azure.Management.Compute.ICapacityReservationsOperations * string * string * string * Microsoft.Azure.Management.Compute.Models.CapacityReservationUpdate * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Compute.Models.CapacityReservation>
<Extension()>
Public Function UpdateAsync (operations As ICapacityReservationsOperations, resourceGroupName As String, capacityReservationGroupName As String, capacityReservationName As String, parameters As CapacityReservationUpdate, Optional cancellationToken As CancellationToken = Nothing) As Task(Of CapacityReservation)
Parameters
- operations
- ICapacityReservationsOperations
The operations group for this extension method.
- resourceGroupName
- String
The name of the resource group.
- capacityReservationGroupName
- String
The name of the capacity reservation group.
- capacityReservationName
- String
The name of the capacity reservation.
- parameters
- CapacityReservationUpdate
Parameters supplied to the Update capacity reservation operation.
- 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