Web Apps - Update Vnet Connection Gateway
Beschrijving voor Hiermee voegt u een gateway toe aan een verbonden Virtual Network (PUT) of werkt deze bij (PATCH).
PATCH 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 |
---|---|---|---|---|
gateway
|
path | True |
string |
Naam van de gateway. Op dit moment is de enige ondersteunde tekenreeks 'primary'. |
name
|
path | True |
string |
Naam van de app. |
resource
|
path | True |
string |
Naam van de resourcegroep waartoe de resource behoort. Regex-patroon: |
subscription
|
path | True |
string |
Uw Azure-abonnements-id. Dit is een tekenreeks met GUID-indeling (bijvoorbeeld 00000000-0000-0000-0000-000000000000). |
vnet
|
path | True |
string |
Naam van de Virtual Network. |
api-version
|
query | True |
string |
API-versie |
Aanvraagbody
Name | Vereist | Type | Description |
---|---|---|---|
properties.vpnPackageUri | True |
string |
De URI waar het VPN-pakket kan worden gedownload. |
kind |
string |
Soort resource. |
|
properties.vnetName |
string |
De naam van de Virtual Network. |
Antwoorden
Name | Type | Description |
---|---|---|
200 OK |
OK |
|
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 |
Definities
Name | Description |
---|---|
Default |
App Service foutreactie. |
Details | |
Error |
Foutmodel. |
Vnet |
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 |
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. |