Compartir a través de


VirtualMachineScaleSetsOperationsExtensions.BeginSetOrchestrationServiceStateAsync Método

Definición

Cambia la propiedad ServiceState para un servicio determinado.

public static System.Threading.Tasks.Task BeginSetOrchestrationServiceStateAsync (this Microsoft.Azure.Management.Compute.Fluent.IVirtualMachineScaleSetsOperations operations, string resourceGroupName, string vmScaleSetName, Microsoft.Azure.Management.Compute.Fluent.Models.OrchestrationServiceStateInput parameters, System.Threading.CancellationToken cancellationToken = default);
static member BeginSetOrchestrationServiceStateAsync : Microsoft.Azure.Management.Compute.Fluent.IVirtualMachineScaleSetsOperations * string * string * Microsoft.Azure.Management.Compute.Fluent.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

El grupo de operaciones de este método de extensión.

resourceGroupName
String

Nombre del grupo de recursos.

vmScaleSetName
String

Nombre del conjunto de escalado de máquinas virtuales que se va a crear o actualizar.

parameters
OrchestrationServiceStateInput

Objeto de entrada para la API SetOrchestrationServiceState.

cancellationToken
CancellationToken

Token de cancelación.

Devoluciones

Se aplica a