다음을 통해 공유


IPoolOperations.UpdateWithHttpMessagesAsync 메서드

정의

기존 풀의 속성을 업데이트.

public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.Batch.Models.Pool,Microsoft.Azure.Management.Batch.Models.PoolUpdateHeaders>> UpdateWithHttpMessagesAsync(string resourceGroupName, string accountName, string poolName, Microsoft.Azure.Management.Batch.Models.Pool parameters, string ifMatch = default, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateWithHttpMessagesAsync : string * string * string * Microsoft.Azure.Management.Batch.Models.Pool * string * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.Batch.Models.Pool, Microsoft.Azure.Management.Batch.Models.PoolUpdateHeaders>>
Public Function UpdateWithHttpMessagesAsync (resourceGroupName As String, accountName As String, poolName As String, parameters As Pool, Optional ifMatch As String = Nothing, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AzureOperationResponse(Of Pool, PoolUpdateHeaders))

매개 변수

resourceGroupName
String

Batch 계정을 포함하는 리소스 그룹의 이름입니다.

accountName
String

Batch 계정의 이름입니다.

poolName
String

풀 이름입니다. 계정 내에서 고유해야 합니다.

parameters
Pool

업데이트해야 하는 풀 속성입니다. 제공된 속성이 업데이트되고 제공되지 않은 속성은 변경되지 않습니다.

ifMatch
String

업데이트할 풀의 ETag(엔터티 상태) 버전입니다. 이 값을 생략하거나 "*"로 설정하여 무조건 작업을 적용할 수 있습니다.

customHeaders
Dictionary<String,List<String>>

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

cancellationToken
CancellationToken

취소 토큰입니다.

반환

예외

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

응답을 역직렬화할 수 없을 때 throw됨

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

적용 대상