Private Endpoint Connections - Create Or Update

서비스 네임스페이스의 PrivateEndpointConnections를 만들거나 업데이트합니다.

PUT https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/privateEndpointConnections/{privateEndpointConnectionName}?api-version=2021-11-01

URI 매개 변수

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

string

네임스페이스 이름

privateEndpointConnectionName
path True

string

PrivateEndpointConnection 이름

resourceGroupName
path True

string

Azure 구독 내의 리소스 그룹의 이름입니다.

subscriptionId
path True

string

Microsoft Azure 구독을 고유하게 식별하는 구독 자격 증명입니다. 구독 ID는 모든 서비스 호출에 대한 URI의 파트를 형성합니다.

api-version
query True

string

클라이언트 API 버전입니다.

요청 본문

Name 형식 Description
properties.privateEndpoint

PrivateEndpoint

이 연결에 대한 프라이빗 엔드포인트 리소스입니다.

properties.privateLinkServiceConnectionState

ConnectionState

연결 상태에 대한 세부 정보입니다.

properties.provisioningState

EndPointProvisioningState

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

응답

Name 형식 Description
200 OK

PrivateEndpointConnection

PrivateEndPoint 연결이 성공적으로 생성됨의 상태입니다.

201 Created

PrivateEndpointConnection

PrivateEndPoint 연결 상태 업데이트 요청이 수락되었습니다.

202 Accepted

PrivateEndpointConnection

PrivateEndPoint 연결 상태 업데이트 요청이 수락되었습니다.

Other Status Codes

ErrorResponse

작업이 실패한 이유를 설명하는 ServiceBus 오류 응답입니다.

보안

azure_auth

Azure Active Directory OAuth2 Flow

Type: oauth2
Flow: implicit
Authorization URL: https://login.microsoftonline.com/common/oauth2/authorize

Scopes

Name Description
user_impersonation 사용자 계정 가장

예제

NameSpacePrivateEndPointConnectionCreate

Sample Request

PUT https://management.azure.com/subscriptions/subID/resourceGroups/ArunMonocle/providers/Microsoft.ServiceBus/namespaces/sdk-Namespace-2924/privateEndpointConnections/privateEndpointConnectionName?api-version=2021-11-01

{
  "properties": {
    "privateEndpoint": {
      "id": "/subscriptions/dbedb4e0-40e6-4145-81f3-f1314c150774/resourceGroups/SDK-ServiceBus-8396/providers/Microsoft.Network/privateEndpoints/sdk-Namespace-2847"
    },
    "privateLinkServiceConnectionState": {
      "status": "Rejected",
      "description": "testing"
    },
    "provisioningState": "Succeeded"
  }
}

Sample Response

{
  "id": "/subscriptions/dbedb4e0-40e6-4145-81f3-f1314c150774/resourceGroups/SDK-ServiceBus-4794/providers/Microsoft.ServiceBus/namespaces/sdk-Namespace-5828/privateEndpointConnections/928c44d5-b7c6-423b-b6fa-811e0c27b3e0",
  "name": "928c44d5-b7c6-423b-b6fa-811e0c27b3e0",
  "type": "Microsoft.ServiceBus/Namespaces/PrivateEndpointConnections",
  "properties": {
    "provisioningState": "Succeeded",
    "privateEndpoint": {
      "id": "/subscriptions/dbedb4e0-40e6-4145-81f3-f1314c150774/resourceGroups/SDK-ServiceBus-4794/providers/Microsoft.Network/privateEndpoints/sdk-Namespace-5828"
    },
    "privateLinkServiceConnectionState": {
      "status": "Approved",
      "description": "Auto-Approved"
    }
  }
}
{
  "id": "/subscriptions/dbedb4e0-40e6-4145-81f3-f1314c150774/resourceGroups/SDK-ServiceBus-4794/providers/Microsoft.ServiceBus/namespaces/sdk-Namespace-5828/privateEndpointConnections/928c44d5-b7c6-423b-b6fa-811e0c27b3e0",
  "name": "928c44d5-b7c6-423b-b6fa-811e0c27b3e0",
  "type": "Microsoft.ServiceBus/Namespaces/PrivateEndpointConnections",
  "properties": {
    "provisioningState": "Succeeded",
    "privateEndpoint": {
      "id": "/subscriptions/dbedb4e0-40e6-4145-81f3-f1314c150774/resourceGroups/SDK-ServiceBus-4794/providers/Microsoft.Network/privateEndpoints/sdk-Namespace-5828"
    },
    "privateLinkServiceConnectionState": {
      "status": "Approved",
      "description": "Auto-Approved"
    }
  }
}
{
  "id": "/subscriptions/dbedb4e0-40e6-4145-81f3-f1314c150774/resourceGroups/SDK-ServiceBus-4794/providers/Microsoft.ServiceBus/namespaces/sdk-Namespace-5828/privateEndpointConnections/928c44d5-b7c6-423b-b6fa-811e0c27b3e0",
  "name": "928c44d5-b7c6-423b-b6fa-811e0c27b3e0",
  "type": "Microsoft.ServiceBus/Namespaces/PrivateEndpointConnections",
  "properties": {
    "provisioningState": "Succeeded",
    "privateEndpoint": {
      "id": "/subscriptions/dbedb4e0-40e6-4145-81f3-f1314c150774/resourceGroups/SDK-ServiceBus-4794/providers/Microsoft.Network/privateEndpoints/sdk-Namespace-5828"
    },
    "privateLinkServiceConnectionState": {
      "status": "Approved",
      "description": "Auto-Approved"
    }
  }
}

정의

Name Description
ConnectionState

ConnectionState 정보입니다.

createdByType

리소스를 만든 ID의 형식입니다.

EndPointProvisioningState

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

Error

Error 개체.

ErrorAdditionalInfo

리소스 관리 오류 추가 정보입니다.

ErrorResponse

리소스 관리 오류 응답입니다.

PrivateEndpoint

PrivateEndpoint 정보입니다.

PrivateEndpointConnection

PrivateEndpointConnection의 속성입니다.

PrivateLinkConnectionStatus

연결의 상태입니다.

systemData

리소스 만들기 및 마지막 수정과 관련된 메타데이터입니다.

ConnectionState

ConnectionState 정보입니다.

Name 형식 Description
description

string

연결 상태에 대한 설명입니다.

status

PrivateLinkConnectionStatus

연결의 상태입니다.

createdByType

리소스를 만든 ID의 형식입니다.

Name 형식 Description
Application

string

Key

string

ManagedIdentity

string

User

string

EndPointProvisioningState

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

Name 형식 Description
Canceled

string

Creating

string

Deleting

string

Failed

string

Succeeded

string

Updating

string

Error

Error 개체.

Name 형식 Description
additionalInfo

ErrorAdditionalInfo[]

오류 추가 정보입니다.

code

string

오류 코드입니다.

details

ErrorResponse[]

오류 세부 정보입니다.

message

string

오류 메시지입니다.

target

string

오류 대상입니다.

ErrorAdditionalInfo

리소스 관리 오류 추가 정보입니다.

Name 형식 Description
info

object

추가 정보입니다.

type

string

추가 정보 유형입니다.

ErrorResponse

리소스 관리 오류 응답입니다.

Name 형식 Description
error

Error

Error 개체.

PrivateEndpoint

PrivateEndpoint 정보입니다.

Name 형식 Description
id

string

프라이빗 엔드포인트에 대한 ARM 식별자입니다.

PrivateEndpointConnection

PrivateEndpointConnection의 속성입니다.

Name 형식 Description
id

string

리소스에 대한 정규화된 리소스 ID입니다. 예 - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

location

string

리소스가 있는 지리적 위치

name

string

리소스의 이름입니다.

properties.privateEndpoint

PrivateEndpoint

이 연결에 대한 프라이빗 엔드포인트 리소스입니다.

properties.privateLinkServiceConnectionState

ConnectionState

연결 상태에 대한 세부 정보입니다.

properties.provisioningState

EndPointProvisioningState

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

systemData

systemData

이 리소스와 관련된 시스템 메타 데이터입니다.

type

string

리소스 형식입니다. 예: "Microsoft.EventHub/Namespaces" 또는 "Microsoft.EventHub/Namespaces/EventHubs"

PrivateLinkConnectionStatus

연결의 상태입니다.

Name 형식 Description
Approved

string

Disconnected

string

Pending

string

Rejected

string

systemData

리소스 만들기 및 마지막 수정과 관련된 메타데이터입니다.

Name 형식 Description
createdAt

string

UTC(리소스 만들기)의 타임스탬프입니다.

createdBy

string

리소스를 만든 ID입니다.

createdByType

createdByType

리소스를 만든 ID의 형식입니다.

lastModifiedAt

string

리소스를 마지막으로 수정한 ID 유형입니다.

lastModifiedBy

string

리소스를 마지막으로 수정한 ID입니다.

lastModifiedByType

createdByType

리소스를 마지막으로 수정한 ID 유형입니다.