Megosztás a következőn keresztül:


Private Endpoint Connections - Create Or Update

Létrehozza vagy frissíti a PrivateEndpointKapcsolatok szolgáltatásnévterét.

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

URI-paraméterek

Name In Kötelező Típus Description
namespaceName
path True

string

A névtér neve

privateEndpointConnectionName
path True

string

A PrivateEndpointConnection neve

resourceGroupName
path True

string

Az Azure-előfizetésen belüli erőforráscsoport neve.

subscriptionId
path True

string

Az előfizetés hitelesítő adatai, amelyek egyedileg azonosítják a Microsoft Azure-előfizetést. Az előfizetés-azonosító az URI részét képezi minden szolgáltatáshíváshoz.

api-version
query True

string

Ügyfél API-verziója.

Kérelem törzse

Name Típus Description
properties.privateEndpoint

PrivateEndpoint

A kapcsolat privát végponti erőforrása.

properties.privateLinkServiceConnectionState

ConnectionState

A kapcsolat állapotának részletei.

properties.provisioningState

EndPointProvisioningState

A privát végponti kapcsolat kiépítési állapota.

Válaszok

Name Típus Description
200 OK

PrivateEndpointConnection

A PrivateEndPoint-kapcsolat sikeresen létrejött állapota.

201 Created

PrivateEndpointConnection

A PrivateEndPoint-kapcsolat állapotának módosítására irányuló kérelem elfogadva.

202 Accepted

PrivateEndpointConnection

A PrivateEndPoint-kapcsolat állapotának módosítására irányuló kérelem elfogadva.

Other Status Codes

ErrorResponse

ServiceBus-hibaválasz, amely leírja, hogy miért hiúsult meg a művelet.

Biztonság

azure_auth

Azure Active Directory OAuth2 Flow

Típus: oauth2
Folyamat: implicit
Engedélyezési URL: https://login.microsoftonline.com/common/oauth2/authorize

Hatókörök

Name Description
user_impersonation felhasználói fiók megszemélyesítése

Példák

NameSpacePrivateEndPointConnectionCreate

Mintakérelem

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"
  }
}

Mintaválasz

{
  "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"
    }
  }
}

Definíciók

Name Description
ConnectionState

ConnectionState-adatok.

createdByType

Az erőforrást létrehozó identitás típusa.

EndPointProvisioningState

A privát végponti kapcsolat kiépítési állapota.

Error

A hibaobjektum.

ErrorAdditionalInfo

Az erőforrás-kezelési hiba további információi.

ErrorResponse

Az erőforrás-kezelési hibaválasz.

PrivateEndpoint

PrivateEndpoint-információk.

PrivateEndpointConnection

A PrivateEndpointConnection tulajdonságai.

PrivateLinkConnectionStatus

A kapcsolat állapota.

systemData

Az erőforrás létrehozásával és utolsó módosításával kapcsolatos metaadatok.

ConnectionState

ConnectionState-adatok.

Name Típus Description
description

string

A kapcsolat állapotának leírása.

status

PrivateLinkConnectionStatus

A kapcsolat állapota.

createdByType

Az erőforrást létrehozó identitás típusa.

Name Típus Description
Application

string

Key

string

ManagedIdentity

string

User

string

EndPointProvisioningState

A privát végponti kapcsolat kiépítési állapota.

Name Típus Description
Canceled

string

Creating

string

Deleting

string

Failed

string

Succeeded

string

Updating

string

Error

A hibaobjektum.

Name Típus Description
additionalInfo

ErrorAdditionalInfo[]

A hiba további információi.

code

string

A hibakód.

details

ErrorResponse[]

A hiba részletei.

message

string

A hibaüzenet.

target

string

A hiba célja.

ErrorAdditionalInfo

Az erőforrás-kezelési hiba további információi.

Name Típus Description
info

object

A további információk.

type

string

A további adattípus.

ErrorResponse

Az erőforrás-kezelési hibaválasz.

Name Típus Description
error

Error

A hibaobjektum.

PrivateEndpoint

PrivateEndpoint-információk.

Name Típus Description
id

string

A privát végpont ARM-azonosítója.

PrivateEndpointConnection

A PrivateEndpointConnection tulajdonságai.

Name Típus Description
id

string

Az erőforrás teljes erőforrás-azonosítója. Például : /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

location

string

A földrajzi hely, ahol az erőforrás él

name

string

Az erőforrás neve

properties.privateEndpoint

PrivateEndpoint

A kapcsolat privát végponti erőforrása.

properties.privateLinkServiceConnectionState

ConnectionState

A kapcsolat állapotának részletei.

properties.provisioningState

EndPointProvisioningState

A privát végponti kapcsolat kiépítési állapota.

systemData

systemData

Az erőforráshoz kapcsolódó rendszer metaadatai.

type

string

Az erőforrás típusa. Pl. "Microsoft.EventHub/Namespaces" vagy "Microsoft.EventHub/Namespaces/EventHubs"

PrivateLinkConnectionStatus

A kapcsolat állapota.

Name Típus Description
Approved

string

Disconnected

string

Pending

string

Rejected

string

systemData

Az erőforrás létrehozásával és utolsó módosításával kapcsolatos metaadatok.

Name Típus Description
createdAt

string

Az erőforrás-létrehozás időbélyege (UTC).

createdBy

string

Az erőforrást létrehozó identitás.

createdByType

createdByType

Az erőforrást létrehozó identitás típusa.

lastModifiedAt

string

Az erőforrást legutóbb módosító identitás típusa.

lastModifiedBy

string

Az erőforrást utoljára módosító identitás.

lastModifiedByType

createdByType

Az erőforrást legutóbb módosító identitás típusa.