Compartilhar via


VirtualMachineScaleSetsOperationsExtensions.BeginSetOrchestrationServiceStateAsync Método

Definição

Altera a propriedade ServiceState para um determinado serviço

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

Parâmetros

operations
IVirtualMachineScaleSetsOperations

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

resourceGroupName
String

O nome do grupo de recursos.

vmScaleSetName
String

O nome do conjunto de dimensionamento de máquinas virtuais a ser criado ou atualizado.

parameters
OrchestrationServiceStateInput

O objeto de entrada para a API SetOrchestrationServiceState.

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Aplica-se a