IPlacementPoliciesOperations.BeginCreateOrUpdateWithHttpMessagesAsync 메서드

정의

프라이빗 클라우드 클러스터에서 배치 정책 만들기 또는 업데이트

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

매개 변수

resourceGroupName
String

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

privateCloudName
String

프라이빗 클라우드의 이름

clusterName
String

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

placementPolicyName
String

VMware vSphere DRS(분산 리소스 스케줄러) 배치 정책의 이름

placementPolicy
PlacementPolicy

프라이빗 클라우드 클러스터의 배치 정책

customHeaders
Dictionary<String,List<String>>

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

cancellationToken
CancellationToken

취소 토큰입니다.

반환

예외

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

응답을 역직렬화할 수 없는 경우 throw됨

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

적용 대상