Delen via


Web Apps - Get Vnet Connection Gateway

Beschrijving voor Haalt de Virtual Network-gateway van een app op.

GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/virtualNetworkConnections/{vnetName}/gateways/{gatewayName}?api-version=2023-12-01

URI-parameters

Name In Vereist Type Description
gatewayName
path True

string

Naam van de gateway. Op dit moment is de enige ondersteunde tekenreeks 'primary'.

name
path True

string

Naam van de app.

resourceGroupName
path True

string

Naam van de resourcegroep waartoe de resource behoort.

Regex-patroon: ^[-\w\._\(\)]+[^\.]$

subscriptionId
path True

string

Uw Azure-abonnements-id. Dit is een tekenreeks met GUID-indeling (bijvoorbeeld 00000000-0000-0000-0000-000000000000).

vnetName
path True

string

Naam van de Virtual Network.

api-version
query True

string

API-versie

Antwoorden

Name Type Description
200 OK

VnetGateway

OK.

404 Not Found

Benoemde gateway bestaat niet. Alleen de 'primaire' gateway wordt momenteel ondersteund.

Other Status Codes

DefaultErrorResponse

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

Definities

Name Description
DefaultErrorResponse

App Service foutreactie.

Details
Error

Foutmodel.

VnetGateway

Het Virtual Network gatewaycontract. Dit wordt gebruikt om de Virtual Network gateway toegang te geven tot het VPN-pakket.

DefaultErrorResponse

App Service foutreactie.

Name Type Description
error

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.

VnetGateway

Het Virtual Network gatewaycontract. Dit wordt gebruikt om de Virtual Network gateway toegang te geven tot het VPN-pakket.

Name Type Description
id

string

Resource-id.

kind

string

Soort resource.

name

string

Resourcenaam.

properties.vnetName

string

De naam van de Virtual Network.

properties.vpnPackageUri

string

De URI waar het VPN-pakket kan worden gedownload.

type

string

Resourcetype.