다음을 통해 공유


IPoolOperations.StopResizeWithHttpMessagesAsync 메서드

정의

풀에서 진행 중인 크기 조정 작업을 중지합니다.

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

매개 변수

resourceGroupName
String

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

accountName
String

Batch 계정의 이름입니다.

poolName
String

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

customHeaders
Dictionary<String,List<String>>

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

cancellationToken
CancellationToken

취소 토큰입니다.

반환

예외

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

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

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

설명

이렇게 하면 크기 조정 작업 전에 풀이 이전 상태로 복원되지 않습니다. 추가 변경 내용만 중지하고 풀은 현재 상태를 유지합니다. 중지한 후 풀은 중지 작업이 완료되었을 때의 노드 수에서 안정화됩니다. 중지 작업 중에 풀 할당 상태가 먼저 중지로 변경된 다음, 안정적으로 변경됩니다. 크기 조정 작업은 명시적 크기 조정 풀 요청일 필요가 없습니다. 이 API를 사용하여 풀을 만들 때 초기 크기 조정을 중지할 수도 있습니다.

적용 대상