다음을 통해 공유


Web Apps - Approve Or Reject Private Endpoint Connection Slot

프라이빗 엔드포인트 연결 승인 또는 거부에 대한 설명

PUT https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/privateEndpointConnections/{privateEndpointConnectionName}?api-version=2023-12-01

URI 매개 변수

Name In(다음 안에) 필수 형식 Description
name
path True

string

사이트의 이름입니다.

privateEndpointConnectionName
path True

string

resourceGroupName
path True

string

리소스가 속한 리소스 그룹의 이름입니다.

regex 패턴: ^[-\w\._\(\)]+[^\.]$

slot
path True

string

subscriptionId
path True

string

Azure 구독 ID. GUID 형식 문자열입니다(예: 000000000-0000-0000-0000-0000-000000000000).

api-version
query True

string

API 버전

요청 본문

Name 형식 Description
kind

string

리소스 종류입니다.

properties.ipAddresses

string[]

원격 프라이빗 엔드포인트에 매핑된 개인 IPAddresses

properties.privateEndpoint

ArmIdWrapper

원격 프라이빗 엔드포인트 연결의 PrivateEndpoint

properties.privateLinkServiceConnectionState

PrivateLinkConnectionState

프라이빗 링크 연결의 상태입니다.

응답

Name 형식 Description
200 OK

RemotePrivateEndpointConnectionARMResource

OK.

202 Accepted

RemotePrivateEndpointConnectionARMResource

진행 중인 비동기 작업입니다.

Other Status Codes

DefaultErrorResponse

오류 응답을 App Service.

보안

azure_auth

Azure Active Directory OAuth2 Flow

형식: oauth2
Flow: implicit
권한 부여 URL: https://login.microsoftonline.com/common/oauth2/authorize

범위

Name Description
user_impersonation 사용자 계정 가장

예제

Approves or rejects a private endpoint connection for a site.

샘플 요청

PUT https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/sites/testSite/slots/stage/privateEndpointConnections/connection?api-version=2023-12-01

{
  "properties": {
    "privateLinkServiceConnectionState": {
      "status": "Approved",
      "description": "Approved by admin.",
      "actionsRequired": ""
    }
  }
}

샘플 응답

{
  "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/sites/testSite/slots/stage/privateEndpointConnections/connection",
  "name": "connection",
  "type": "Microsoft.Web/sites/privateEndpointConnections",
  "properties": {
    "provisioningState": "Succeeded",
    "privateEndpoint": {
      "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Network/privateEndpoints/myPrivateEndpoint"
    },
    "privateLinkServiceConnectionState": {
      "status": "Approved",
      "description": "Approved by admin.",
      "actionsRequired": ""
    }
  }
}
azure-asyncoperation: https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/providers/Microsoft.Web/locations/westus2/operationResults/62e4d893-d233-4005-988e-a428d9f77076?api-version=2019-01-01
{
  "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/sites/testSite/slots/stage/privateEndpointConnections/connection",
  "name": "connection",
  "type": "Microsoft.Web/sites/privateEndpointConnections",
  "properties": {
    "provisioningState": "Succeeded",
    "privateEndpoint": {
      "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Network/privateEndpoints/myPrivateEndpoint"
    },
    "privateLinkServiceConnectionState": {
      "status": "Approved",
      "description": "Approved by admin.",
      "actionsRequired": ""
    }
  }
}

정의

Name Description
ArmIdWrapper

ARM 리소스 ID에 대한 래퍼

DefaultErrorResponse

오류 응답을 App Service.

Details
Error

오류 모델.

PrivateLinkConnectionState

프라이빗 링크 연결의 상태입니다.

RemotePrivateEndpointConnectionARMResource

원격 프라이빗 엔드포인트 연결 ARM 리소스.

ArmIdWrapper

ARM 리소스 ID에 대한 래퍼

Name 형식 Description
id

string

DefaultErrorResponse

오류 응답을 App Service.

Name 형식 Description
error

Error

오류 모델.

Details

Name 형식 Description
code

string

프로그래밍 방식으로 오류를 식별하는 표준화된 문자열입니다.

message

string

자세한 오류 설명 및 디버깅 정보입니다.

target

string

자세한 오류 설명 및 디버깅 정보입니다.

Error

오류 모델.

Name 형식 Description
code

string

프로그래밍 방식으로 오류를 식별하는 표준화된 문자열입니다.

details

Details[]

자세한 오류입니다.

innererror

string

디버그 오류에 대한 자세한 정보입니다.

message

string

자세한 오류 설명 및 디버깅 정보입니다.

target

string

자세한 오류 설명 및 디버깅 정보입니다.

PrivateLinkConnectionState

프라이빗 링크 연결의 상태입니다.

Name 형식 Description
actionsRequired

string

프라이빗 링크 연결에 대한 ActionsRequired

description

string

프라이빗 링크 연결에 대한 설명

status

string

프라이빗 링크 연결 상태

RemotePrivateEndpointConnectionARMResource

원격 프라이빗 엔드포인트 연결 ARM 리소스.

Name 형식 Description
id

string

리소스 ID입니다.

kind

string

리소스 종류입니다.

name

string

리소스 이름입니다.

properties.ipAddresses

string[]

원격 프라이빗 엔드포인트에 매핑된 개인 IPAddresses

properties.privateEndpoint

ArmIdWrapper

원격 프라이빗 엔드포인트 연결의 PrivateEndpoint

properties.privateLinkServiceConnectionState

PrivateLinkConnectionState

프라이빗 링크 연결의 상태입니다.

properties.provisioningState

string

type

string

리소스 종류.