Web Apps - Approve Or Reject Private Endpoint Connection
Özel uç nokta bağlantısını onaylar veya reddeder açıklaması
PUT https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/privateEndpointConnections/{privateEndpointConnectionName}?api-version=2023-12-01
URI Parametreleri
Name | İçinde | Gerekli | Tür | Description |
---|---|---|---|---|
name
|
path | True |
string |
Sitenin adı. |
private
|
path | True |
string |
|
resource
|
path | True |
string |
Kaynağın ait olduğu kaynak grubunun adı. Regex pattern: |
subscription
|
path | True |
string |
Azure abonelik kimliğiniz. Bu GUID biçimli bir dizedir (örneğin, 000000000-0000-0000-0000-00000000000000). |
api-version
|
query | True |
string |
API Sürümü |
İstek Gövdesi
Name | Tür | Description |
---|---|---|
kind |
string |
Bir tür kaynak. |
properties.ipAddresses |
string[] |
Uzak özel uç noktaya eşlenen Özel IPAddresses |
properties.privateEndpoint |
Uzak özel uç nokta bağlantısının PrivateEndpoint'i |
|
properties.privateLinkServiceConnectionState |
Özel bağlantı bağlantısının durumu |
Yanıtlar
Name | Tür | Description |
---|---|---|
200 OK |
Tamam ögesini seçin. |
|
202 Accepted |
Zaman uyumsuz işlem devam ediyor. |
|
Other Status Codes |
hata yanıtı App Service. |
Güvenlik
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 | kullanıcı hesabınızın kimliğine bürünme |
Örnekler
Approves or rejects a private endpoint connection for a site.
Sample Request
PUT https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/sites/testSite/privateEndpointConnections/connection?api-version=2023-12-01
{
"properties": {
"privateLinkServiceConnectionState": {
"status": "Approved",
"description": "Approved by admin.",
"actionsRequired": ""
}
}
}
Sample Response
{
"id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/sites/testSite/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/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": ""
}
}
}
Tanımlar
Name | Description |
---|---|
Arm |
ARM kaynak kimliği için sarmalayıcı |
Default |
hata yanıtı App Service. |
Details | |
Error |
Hata modeli. |
Private |
Özel bağlantı bağlantısının durumu |
Remote |
Uzak Özel Uç Nokta Bağlantısı ARM kaynağı. |
ArmIdWrapper
ARM kaynak kimliği için sarmalayıcı
Name | Tür | Description |
---|---|---|
id |
string |
DefaultErrorResponse
hata yanıtı App Service.
Name | Tür | Description |
---|---|---|
error |
Hata modeli. |
Details
Name | Tür | Description |
---|---|---|
code |
string |
Hatayı program aracılığıyla tanımlamak için standartlaştırılmış dize. |
message |
string |
Ayrıntılı hata açıklaması ve hata ayıklama bilgileri. |
target |
string |
Ayrıntılı hata açıklaması ve hata ayıklama bilgileri. |
Error
Hata modeli.
Name | Tür | Description |
---|---|---|
code |
string |
Hatayı program aracılığıyla tanımlamak için standartlaştırılmış dize. |
details |
Details[] |
Ayrıntılı hatalar. |
innererror |
string |
Hata ayıklamak için daha fazla bilgi. |
message |
string |
Ayrıntılı hata açıklaması ve hata ayıklama bilgileri. |
target |
string |
Ayrıntılı hata açıklaması ve hata ayıklama bilgileri. |
PrivateLinkConnectionState
Özel bağlantı bağlantısının durumu
Name | Tür | Description |
---|---|---|
actionsRequired |
string |
Özel bağlantı bağlantısı için ActionsRequired |
description |
string |
Özel bağlantı bağlantısının açıklaması |
status |
string |
Özel bağlantı bağlantısının durumu |
RemotePrivateEndpointConnectionARMResource
Uzak Özel Uç Nokta Bağlantısı ARM kaynağı.
Name | Tür | Description |
---|---|---|
id |
string |
Kaynak Kimliği. |
kind |
string |
Bir tür kaynak. |
name |
string |
Kaynak Adı. |
properties.ipAddresses |
string[] |
Uzak özel uç noktaya eşlenen Özel IPAddresses |
properties.privateEndpoint |
Uzak özel uç nokta bağlantısının PrivateEndpoint'i |
|
properties.privateLinkServiceConnectionState |
Özel bağlantı bağlantısının durumu |
|
properties.provisioningState |
string |
|
type |
string |
Kaynak türü. |