다음을 통해 공유


Private Endpoint Connections - List By Server

서버의 모든 프라이빗 엔드포인트 연결을 가져옵니다.

GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/privateEndpointConnections?api-version=2021-11-01

URI 매개 변수

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

string

리소스를 포함하는 리소스 그룹의 이름입니다. Azure 리소스 관리자 API 또는 포털에서 이 값을 가져올 수 있습니다.

serverName
path True

string

서버의 이름입니다.

subscriptionId
path True

string

Azure 구독을 식별하는 구독 ID입니다.

api-version
query True

string

요청에 사용할 API 버전입니다.

응답

Name 형식 Description
200 OK

PrivateEndpointConnectionListResult

프라이빗 엔드포인트 연결을 검색했습니다.

Other Status Codes

오류 응답: ***

  • 400 PrivateEndpointConnectionDoesNotExist - 프라이빗 엔드포인트 연결이 없습니다.

  • 400 PrivateEndpointConnectionStatusNotPending - 프라이빗 엔드포인트 연결 상태가 보류 중이 아닙니다.

  • 400 NullRemotePrivateLinkServiceConnectionState - 원격 Private Link 서비스 연결 상태가 Null입니다.

  • 400 NullPrivateEndpointConnectionProperties - 프라이빗 엔드포인트 연결 속성이 Null입니다.

  • 400 NullRemotePrivateLinkServiceConnectionStateStatus - 원격 Private Link 서비스 연결 상태가 Null입니다.

  • 400 IncorrectPrivateLinkServiceConnectionStateStatus - Private Link 서비스 연결 상태 상태는 "승인됨" 또는 "거부됨"이어야 합니다.

  • 404 ResourceNotFound - 요청된 리소스를 찾을 수 없습니다.

예제

Gets list of private endpoint connections on a server.

Sample Request

GET https://management.azure.com/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/Microsoft.Sql/servers/test-svr/privateEndpointConnections?api-version=2021-11-01

Sample Response

{
  "value": [
    {
      "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/Microsoft.Sql/servers/test-svr/privateEndpointConnections/private-endpoint-connection-name-2",
      "name": "private-endpoint-connection-name",
      "type": "Microsoft.Sql/servers/privateEndpointConnections",
      "properties": {
        "provisioningState": "Ready",
        "privateEndpoint": {
          "id": "/subscriptions/55555555-6666-7777-8888-999999999999/resourceGroups/Default-Network/providers/Microsoft.Network/privateEndpoints/private-endpoint-name"
        },
        "privateLinkServiceConnectionState": {
          "status": "Approved",
          "description": "Auto-approved",
          "actionsRequired": "None"
        }
      }
    },
    {
      "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/Microsoft.Sql/servers/test-svr/privateEndpointConnections/private-endpoint-connection-name-2",
      "name": "private-endpoint-connection-name-2",
      "type": "Microsoft.Sql/servers/privateEndpointConnections",
      "properties": {
        "provisioningState": "Ready",
        "privateEndpoint": {
          "id": "/subscriptions/55555555-6666-7777-8888-999999999999/resourceGroups/Default-Network/providers/Microsoft.Network/privateEndpoints/private-endpoint-name-2"
        },
        "privateLinkServiceConnectionState": {
          "status": "Approved",
          "description": "Auto-approved",
          "actionsRequired": "None"
        }
      }
    }
  ]
}

정의

Name Description
PrivateEndpointConnection

프라이빗 엔드포인트 연결

PrivateEndpointConnectionListResult

프라이빗 엔드포인트 연결 목록입니다.

PrivateEndpointProperty
PrivateEndpointProvisioningState

프라이빗 엔드포인트 연결의 상태입니다.

PrivateLinkServiceConnectionStateActionsRequire

프라이빗 링크 서비스 연결에 필요한 작업입니다.

PrivateLinkServiceConnectionStateProperty
PrivateLinkServiceConnectionStateStatus

프라이빗 링크 서비스 연결 상태.

PrivateEndpointConnection

프라이빗 엔드포인트 연결

Name 형식 Description
id

string

리소스 ID입니다.

name

string

리소스 이름입니다.

properties.groupIds

string[]

그룹 ID.

properties.privateEndpoint

PrivateEndpointProperty

연결이 속한 프라이빗 엔드포인트입니다.

properties.privateLinkServiceConnectionState

PrivateLinkServiceConnectionStateProperty

프라이빗 엔드포인트 연결의 연결 상태입니다.

properties.provisioningState

PrivateEndpointProvisioningState

프라이빗 엔드포인트 연결의 상태입니다.

type

string

리소스 종류.

PrivateEndpointConnectionListResult

프라이빗 엔드포인트 연결 목록입니다.

Name 형식 Description
nextLink

string

연결하여 결과의 다음 페이지를 검색합니다.

value

PrivateEndpointConnection[]

결과 배열입니다.

PrivateEndpointProperty

Name 형식 Description
id

string

프라이빗 엔드포인트의 리소스 ID입니다.

PrivateEndpointProvisioningState

프라이빗 엔드포인트 연결의 상태입니다.

Name 형식 Description
Approving

string

Dropping

string

Failed

string

Ready

string

Rejecting

string

PrivateLinkServiceConnectionStateActionsRequire

프라이빗 링크 서비스 연결에 필요한 작업입니다.

Name 형식 Description
None

string

PrivateLinkServiceConnectionStateProperty

Name 형식 Description
actionsRequired

PrivateLinkServiceConnectionStateActionsRequire

프라이빗 링크 서비스 연결에 필요한 작업입니다.

description

string

프라이빗 링크 서비스 연결 설명입니다.

status

PrivateLinkServiceConnectionStateStatus

프라이빗 링크 서비스 연결 상태.

PrivateLinkServiceConnectionStateStatus

프라이빗 링크 서비스 연결 상태.

Name 형식 Description
Approved

string

Disconnected

string

Pending

string

Rejected

string