Compartilhar via


DedicatedHostGroupsOperationsExtensions.CreateOrUpdateAsync Método

Definição

Criar ou atualizar um grupo de hosts dedicado. Para obter detalhes sobre host dedicado e grupos de hosts dedicados, consulte [Documentação do host dedicado] (https://go.microsoft.com/fwlink/?linkid=2082596)

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

Parâmetros

operations
IDedicatedHostGroupsOperations

O grupo de operações para esse método de extensão.

resourceGroupName
String

O nome do grupo de recursos.

hostGroupName
String

O nome do grupo de hosts dedicado.

parameters
DedicatedHostGroup

Parâmetros fornecidos para o Grupo de Hosts Dedicados.

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Aplica-se a