Share via


DedicatedHostGroupsOperationsExtensions.CreateOrUpdate Method

Definition

Create or update a dedicated host group. For details of Dedicated Host and Dedicated Host Groups please see [Dedicated Host Documentation] (https://go.microsoft.com/fwlink/?linkid=2082596)

public static Microsoft.Azure.Management.Compute.Models.DedicatedHostGroup CreateOrUpdate (this Microsoft.Azure.Management.Compute.IDedicatedHostGroupsOperations operations, string resourceGroupName, string hostGroupName, Microsoft.Azure.Management.Compute.Models.DedicatedHostGroup parameters);
static member CreateOrUpdate : Microsoft.Azure.Management.Compute.IDedicatedHostGroupsOperations * string * string * Microsoft.Azure.Management.Compute.Models.DedicatedHostGroup -> Microsoft.Azure.Management.Compute.Models.DedicatedHostGroup
<Extension()>
Public Function CreateOrUpdate (operations As IDedicatedHostGroupsOperations, resourceGroupName As String, hostGroupName As String, parameters As DedicatedHostGroup) As DedicatedHostGroup

Parameters

operations
IDedicatedHostGroupsOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group.

hostGroupName
String

The name of the dedicated host group.

parameters
DedicatedHostGroup

Parameters supplied to the Create Dedicated Host Group.

Returns

Applies to