Udostępnij za pośrednictwem


DedicatedHostGroupsOperationsExtensions.CreateOrUpdateAsync 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 System.Threading.Tasks.Task<Microsoft.Azure.Management.Compute.Fluent.Models.DedicatedHostGroupInner> CreateOrUpdateAsync (this Microsoft.Azure.Management.Compute.Fluent.IDedicatedHostGroupsOperations operations, string resourceGroupName, string hostGroupName, Microsoft.Azure.Management.Compute.Fluent.Models.DedicatedHostGroupInner parameters, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateAsync : Microsoft.Azure.Management.Compute.Fluent.IDedicatedHostGroupsOperations * string * string * Microsoft.Azure.Management.Compute.Fluent.Models.DedicatedHostGroupInner * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Compute.Fluent.Models.DedicatedHostGroupInner>
<Extension()>
Public Function CreateOrUpdateAsync (operations As IDedicatedHostGroupsOperations, resourceGroupName As String, hostGroupName As String, parameters As DedicatedHostGroupInner, Optional cancellationToken As CancellationToken = Nothing) As Task(Of DedicatedHostGroupInner)

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
DedicatedHostGroupInner

Parameters supplied to the Create Dedicated Host Group.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to