PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/privateAccess/virtualNetworks/?api-version=2023-01-01
Description for Sets data around private site access enablement and authorized Virtual Networks that can access the site.
Servers
- https://management.azure.com/
Path parameters
Name | Type | Required | Description |
---|---|---|---|
name |
String | Yes |
The name of the web app. |
slot |
String | Yes |
The name of the slot for the web app. |
subscriptionId |
String | Yes |
Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). |
resourceGroupName |
String | Yes |
Name of the resource group to which the resource belongs. |
Request headers
Name | Type | Required | Description |
---|---|---|---|
Content-Type |
String | Yes |
The media type of the request body.
Default value: "application/json" |
Request body fields
Name | Type | Required | Description |
---|---|---|---|
id |
String | No |
Resource Id. |
name |
String | No |
Resource Name. |
properties |
Object | No |
PrivateAccess resource specific properties |
properties.enabled |
Boolean | No |
Whether private access is enabled or not. |
properties.virtualNetworks[] |
Array | No |
The Virtual Networks (and subnets) allowed to access the site privately. |
properties.virtualNetworks[].name |
String | No |
The name of the Virtual Network. |
properties.virtualNetworks[].key |
Integer | No |
The key (ID) of the Virtual Network. |
properties.virtualNetworks[].resourceId |
String | No |
The ARM uri of the Virtual Network |
properties.virtualNetworks[].subnets[] |
Array | No |
A List of subnets that access is allowed to on this Virtual Network. An empty array (but not null) is interpreted to mean that all subnets are allowed within this Virtual Network. |
properties.virtualNetworks[].subnets[].name |
String | No |
The name of the subnet. |
properties.virtualNetworks[].subnets[].key |
Integer | No |
The key (ID) of the subnet. |
type |
String | No |
Resource type. |
kind |
String | No |
Kind of resource. |
How to start integrating
- Add HTTP Task to your workflow definition.
- Search for the API you want to integrate with and click on the name.
- This loads the API reference documentation and prepares the Http request settings.
- Click Test request to test run your request to the API and see the API's response.