Share via


IVirtualMachineScaleSetsOperations.ForceRecoveryServiceFabricPlatformUpdateDomainWalkWithHttpMessagesAsync Method

Definition

Manual platform update domain walk to update virtual machines in a service fabric virtual machine scale set.

public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.Compute.Fluent.Models.RecoveryWalkResponseInner>> ForceRecoveryServiceFabricPlatformUpdateDomainWalkWithHttpMessagesAsync (string resourceGroupName, string vmScaleSetName, int platformUpdateDomain, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member ForceRecoveryServiceFabricPlatformUpdateDomainWalkWithHttpMessagesAsync : string * string * int * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.Compute.Fluent.Models.RecoveryWalkResponseInner>>
Public Function ForceRecoveryServiceFabricPlatformUpdateDomainWalkWithHttpMessagesAsync (resourceGroupName As String, vmScaleSetName As String, platformUpdateDomain As Integer, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AzureOperationResponse(Of RecoveryWalkResponseInner))

Parameters

resourceGroupName
String

The name of the resource group.

vmScaleSetName
String

The name of the VM scale set.

platformUpdateDomain
Int32

The platform update domain for which a manual recovery walk is requested

customHeaders
Dictionary<String,List<String>>

The headers that will be added to request.

cancellationToken
CancellationToken

The cancellation token.

Returns

Exceptions

Thrown when the operation returned an invalid status code

Thrown when unable to deserialize the response

Thrown when a required parameter is null

Applies to