Web Apps - Approve Or Reject Private Endpoint Connection Slot
Beschrijving voor Een privé-eindpuntverbinding goedkeuren of afwijzen
PUT https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/privateEndpointConnections/{privateEndpointConnectionName}?api-version=2023-12-01
URI-parameters
Name | In | Vereist | Type | Description |
---|---|---|---|---|
name
|
path | True |
string |
Naam van de site. |
private
|
path | True |
string |
|
resource
|
path | True |
string |
Naam van de resourcegroep waartoe de resource behoort. Regex-patroon: |
slot
|
path | True |
string |
|
subscription
|
path | True |
string |
Uw Azure-abonnements-id. Dit is een tekenreeks met GUID-indeling (bijvoorbeeld 00000000-0000-0000-0000-000000000000). |
api-version
|
query | True |
string |
API-versie |
Aanvraagbody
Name | Type | Description |
---|---|---|
kind |
string |
Soort resource. |
properties.ipAddresses |
string[] |
Privé-IP-adressen die zijn toegewezen aan het externe privé-eindpunt |
properties.privateEndpoint |
PrivateEndpoint van een verbinding met een extern privé-eindpunt |
|
properties.privateLinkServiceConnectionState |
De status van een Private Link-verbinding |
Antwoorden
Name | Type | Description |
---|---|---|
200 OK |
OK. |
|
202 Accepted |
Asynchrone bewerking wordt uitgevoerd. |
|
Other Status Codes |
App Service foutreactie. |
Beveiliging
azure_auth
Azure Active Directory OAuth2-stroom
Type:
oauth2
Stroom:
implicit
Autorisatie-URL:
https://login.microsoftonline.com/common/oauth2/authorize
Bereiken
Name | Description |
---|---|
user_impersonation | uw gebruikersaccount imiteren |
Voorbeelden
Approves or rejects a private endpoint connection for a site.
Voorbeeldaanvraag
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": ""
}
}
}
Voorbeeldrespons
{
"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": ""
}
}
}
Definities
Name | Description |
---|---|
Arm |
Een wrapper voor een ARM-resource-id |
Default |
App Service foutreactie. |
Details | |
Error |
Foutmodel. |
Private |
De status van een Private Link-verbinding |
Remote |
ARM-resource voor externe privé-eindpuntverbinding. |
ArmIdWrapper
Een wrapper voor een ARM-resource-id
Name | Type | Description |
---|---|---|
id |
string |
DefaultErrorResponse
App Service foutreactie.
Name | Type | Description |
---|---|---|
error |
Foutmodel. |
Details
Name | Type | Description |
---|---|---|
code |
string |
Gestandaardiseerde tekenreeks om de fout programmatisch te identificeren. |
message |
string |
Gedetailleerde foutbeschrijving en foutopsporingsinformatie. |
target |
string |
Gedetailleerde foutbeschrijving en foutopsporingsinformatie. |
Error
Foutmodel.
Name | Type | Description |
---|---|---|
code |
string |
Gestandaardiseerde tekenreeks om de fout programmatisch te identificeren. |
details |
Details[] |
Gedetailleerde fouten. |
innererror |
string |
Meer informatie over foutopsporing. |
message |
string |
Gedetailleerde foutbeschrijving en foutopsporingsinformatie. |
target |
string |
Gedetailleerde foutbeschrijving en foutopsporingsinformatie. |
PrivateLinkConnectionState
De status van een Private Link-verbinding
Name | Type | Description |
---|---|---|
actionsRequired |
string |
ActionsRequired for a Private Link connection (ActionsRequired for a Private Link Connection Connection) |
description |
string |
Beschrijving van een Private Link-verbinding |
status |
string |
Status van een Private Link-verbinding |
RemotePrivateEndpointConnectionARMResource
ARM-resource voor externe privé-eindpuntverbinding.
Name | Type | Description |
---|---|---|
id |
string |
Resource-id. |
kind |
string |
Soort resource. |
name |
string |
Resourcenaam. |
properties.ipAddresses |
string[] |
Privé-IP-adressen die zijn toegewezen aan het externe privé-eindpunt |
properties.privateEndpoint |
PrivateEndpoint van een verbinding met een extern privé-eindpunt |
|
properties.privateLinkServiceConnectionState |
De status van een Private Link-verbinding |
|
properties.provisioningState |
string |
|
type |
string |
Resourcetype. |