Dela via


Private Link Services - Delete

Tar bort den angivna private link-tjänsten.

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

URI-parametrar

Name I Obligatorisk Typ Description
resourceGroupName
path True

string

Namnet på resursgruppen.

serviceName
path True

string

Namnet på private link-tjänsten.

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

Åtgärden godkänns och 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

Sample Request

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

Sample Response

Definitioner

Name Description
Error

Vanlig felrepresentation.

ErrorDetails

Representation av vanliga felinformation.

Error

Vanlig felrepresentation.

Name Typ Description
code

string

Felkod.

details

ErrorDetails[]

Felinformation.

innerError

string

Inre felmeddelande.

message

string

Felmeddelande.

target

string

Felmål.

ErrorDetails

Representation av vanliga felinformation.

Name Typ Description
code

string

Felkod.

message

string

Felmeddelande.

target

string

Felmål.