CapacityReservationGroupsOperationsExtensions.CreateOrUpdate Method

Definition

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
System.String

The name of the resource group.

capacityReservationGroupName
System.String

The name of the capacity reservation group.

parameters
CapacityReservationGroup

Parameters supplied to the Create capacity reservation Group.

Returns

CapacityReservationGroup

Applies to