Private Link Services - Check Private Link Service Visibility By Resource Group

Controleert of het abonnement zichtbaar is voor de Private Link-service in de opgegeven resourcegroep.

POST https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/locations/{location}/checkPrivateLinkServiceVisibility?api-version=2023-09-01

URI-parameters

Name In Vereist Type Description
location
path True

string

De locatie van de domeinnaam.

resourceGroupName
path True

string

De naam van de resourcegroep.

subscriptionId
path True

string

De abonnementsreferenties waarmee het Microsoft Azure-abonnement uniek wordt geïdentificeerd. De abonnements-id maakt deel uit van de URI voor elke service-aanroep.

api-version
query True

string

Client-API-versie.

Aanvraagbody

Name Type Description
privateLinkServiceAlias

string

De alias van de Private Link-service.

Antwoorden

Name Type Description
200 OK

PrivateLinkServiceVisibility

De aanvraag is voltooid. Retourneert of het abonnement zichtbaar is voor de Private Link-service.

202 Accepted

Geaccepteerd en de bewerking wordt asynchroon voltooid.

Other Status Codes

CloudError

Foutreactie waarin wordt beschreven waarom de bewerking is mislukt.

Beveiliging

azure_auth

Azure Active Directory OAuth2-stroom.

Type: oauth2
Flow: implicit
Authorization URL: https://login.microsoftonline.com/common/oauth2/authorize

Scopes

Name Description
user_impersonation uw gebruikersaccount imiteren

Voorbeelden

Sample Request

POST https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/locations/westus/checkPrivateLinkServiceVisibility?api-version=2023-09-01

{
  "privateLinkServiceAlias": "mypls.00000000-0000-0000-0000-000000000000.azure.privatelinkservice"
}

Sample Response

{
  "visible": true
}

Definities

Name Description
CheckPrivateLinkServiceVisibilityRequest

Aanvraagbody van de CheckPrivateLinkServiceVisibility API-serviceaanroep.

CloudError

Een foutreactie van de service.

CloudErrorBody

Een foutreactie van de service.

PrivateLinkServiceVisibility

Antwoord voor de CheckPrivateLinkServiceVisibility API-serviceaanroep.

CheckPrivateLinkServiceVisibilityRequest

Aanvraagbody van de CheckPrivateLinkServiceVisibility API-serviceaanroep.

Name Type Description
privateLinkServiceAlias

string

De alias van de Private Link-service.

CloudError

Een foutreactie van de service.

Name Type Description
error

CloudErrorBody

Hoofdtekst van cloudfout.

CloudErrorBody

Een foutreactie van de service.

Name Type Description
code

string

Een id voor de fout. Codes zijn invariant en zijn bedoeld om programmatisch te worden gebruikt.

details

CloudErrorBody[]

Een lijst met aanvullende informatie over de fout.

message

string

Een bericht met een beschrijving van de fout, bedoeld om te worden weergegeven in een gebruikersinterface.

target

string

Het doel van de specifieke fout. Bijvoorbeeld de naam van de eigenschap in fout.

PrivateLinkServiceVisibility

Antwoord voor de CheckPrivateLinkServiceVisibility API-serviceaanroep.

Name Type Description
visible

boolean

Private Link Service zichtbaarheid (waar/onwaar).