IVirtualMachinesOperations.BeginRestrictMovementWithHttpMessagesAsync 메서드

정의

DRS 기반 VM 이동 제한 사용 또는 사용 안 함

public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse> BeginRestrictMovementWithHttpMessagesAsync (string resourceGroupName, string privateCloudName, string clusterName, string virtualMachineId, Microsoft.Azure.Management.Avs.Models.VirtualMachineRestrictMovement restrictMovement, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member BeginRestrictMovementWithHttpMessagesAsync : string * string * string * string * Microsoft.Azure.Management.Avs.Models.VirtualMachineRestrictMovement * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse>
Public Function BeginRestrictMovementWithHttpMessagesAsync (resourceGroupName As String, privateCloudName As String, clusterName As String, virtualMachineId As String, restrictMovement As VirtualMachineRestrictMovement, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AzureOperationResponse)

매개 변수

resourceGroupName
String

리소스 그룹의 이름. 이름은 대소문자를 구분하지 않습니다.

privateCloudName
String

프라이빗 클라우드의 이름

clusterName
String

프라이빗 클라우드의 클러스터 이름

virtualMachineId
String

Virtual Machine 식별자

restrictMovement
VirtualMachineRestrictMovement

VM DRS 기반 이동이 제한되는지 여부(사용) (사용 안 함)

customHeaders
Dictionary<String,List<String>>

요청에 추가할 헤더입니다.

cancellationToken
CancellationToken

취소 토큰입니다.

반환

예외

작업이 잘못된 상태 코드를 반환할 때 throw됨

필수 매개 변수가 null일 때 throw됨

적용 대상