다음을 통해 공유


IPrivateEndpointConnectionOperations.UpdateWithHttpMessagesAsync 메서드

정의

기존 프라이빗 엔드포인트 연결의 속성을 업데이트.

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

매개 변수

resourceGroupName
String

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

accountName
String

Batch 계정의 이름입니다.

privateEndpointConnectionName
String

프라이빗 엔드포인트 연결 이름입니다. 계정 내에서 고유해야 합니다.

ifMatch
String

업데이트할 프라이빗 엔드포인트 연결의 상태(ETag) 버전입니다. 이 값을 생략하거나 "*"로 설정하여 무조건 작업을 적용할 수 있습니다.

privateLinkServiceConnectionState
PrivateLinkServiceConnectionState

프라이빗 엔드포인트 연결의 프라이빗 링크 서비스 연결 상태입니다.

customHeaders
Dictionary<String,List<String>>

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

cancellationToken
CancellationToken

취소 토큰입니다.

반환

예외

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

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

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

적용 대상