Compartir a través de


VirtualMachineScaleSetsOperationsExtensions.SetOrchestrationServiceStateAsync Método

Definición

Cambia la propiedad ServiceState para un servicio determinado.

public static System.Threading.Tasks.Task SetOrchestrationServiceStateAsync (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 SetOrchestrationServiceStateAsync : 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 SetOrchestrationServiceStateAsync (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