CapacityReservationGroupsOperationsExtensions.CreateOrUpdate 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 create or update a capacity reservation group. When updating a capacity reservation group, only tags may be modified. Please refer to https://aka.ms/CapacityReservation for more details.
public static Microsoft.Azure.Management.Compute.Models.CapacityReservationGroup CreateOrUpdate (this Microsoft.Azure.Management.Compute.ICapacityReservationGroupsOperations operations, string resourceGroupName, string capacityReservationGroupName, Microsoft.Azure.Management.Compute.Models.CapacityReservationGroup parameters);
static member CreateOrUpdate : Microsoft.Azure.Management.Compute.ICapacityReservationGroupsOperations * string * string * Microsoft.Azure.Management.Compute.Models.CapacityReservationGroup -> Microsoft.Azure.Management.Compute.Models.CapacityReservationGroup
<Extension()>
Public Function CreateOrUpdate (operations As ICapacityReservationGroupsOperations, resourceGroupName As String, capacityReservationGroupName As String, parameters As CapacityReservationGroup) As 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.
- parameters
- CapacityReservationGroup
Parameters supplied to the Create capacity reservation Group.
Returns
Applies to
Azure SDK for .NET