Private Endpoints - Delete

Tar bort den angivna privata slutpunkten.

DELETE https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateEndpoints/{privateEndpointName}?api-version=2023-09-01

URI-parametrar

Name I Obligatorisk Typ Description
privateEndpointName
path True

string

Namnet på den privata slutpunkten.

resourceGroupName
path True

string

Namnet på resursgruppen.

subscriptionId
path True

string

Autentiseringsuppgifterna för prenumerationen som unikt identifierar Microsoft Azure-prenumerationen. Prenumerations-ID:t utgör en del av URI:n för varje tjänstanrop.

api-version
query True

string

Klient-API-version.

Svar

Name Typ Description
200 OK

Borttagningen lyckades.

202 Accepted

Accepterad och åtgärden slutförs asynkront.

204 No Content

Borttagningen lyckades.

Other Status Codes

Error

Fel.

Säkerhet

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 personifiera ditt användarkonto

Exempel

Delete private endpoint

Sample Request

DELETE https://management.azure.com/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/testPe?api-version=2023-09-01

Sample Response

Definitioner

Name Description
Error

Vanlig felrepresentation.

ErrorDetails

Vanliga felinformationsrepresentationer.

Error

Vanlig felrepresentation.

Name Typ Description
code

string

Felkod.

details

ErrorDetails[]

Felinformation.

innerError

string

Inre felmeddelande.

message

string

Felmeddelande.

target

string

Felmål.

ErrorDetails

Vanliga felinformationsrepresentationer.

Name Typ Description
code

string

Felkod.

message

string

Felmeddelande.

target

string

Felmål.