diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2024-11-01/CommonDefinitions.json b/specification/web/resource-manager/Microsoft.Web/stable/2024-11-01/CommonDefinitions.json index f783568f532c..d98ec70bc655 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2024-11-01/CommonDefinitions.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2024-11-01/CommonDefinitions.json @@ -3248,21 +3248,9 @@ "$ref": "#/definitions/SiteDnsConfig", "description": "Property to configure various DNS related settings for a site." }, - "vnetRouteAllEnabled": { - "description": "Virtual Network Route All enabled. This causes all outbound traffic to have Virtual Network Security Groups and User Defined Routes applied.", - "type": "boolean" - }, - "vnetImagePullEnabled": { - "description": "To enable pulling image over Virtual Network", - "type": "boolean" - }, - "vnetContentShareEnabled": { - "description": "To enable accessing content over virtual network", - "type": "boolean" - }, - "vnetBackupRestoreEnabled": { - "description": "To enable Backup and Restore operations over virtual network", - "type": "boolean" + "outboundVnetRouting": { + "$ref": "#/definitions/OutboundVnetRouting", + "description": "Property to configure various outbound traffic routing options over virtual network for a site" }, "siteConfig": { "$ref": "#/definitions/SiteConfig", @@ -4228,6 +4216,32 @@ } } }, + "OutboundVnetRouting": { + "description": "Outbound traffic options over virtual network.", + "type": "object", + "properties": { + "allTraffic": { + "description": "Enables all other routing options defined in OutboundVnetRouting if this setting is set to true.", + "type": "boolean" + }, + "applicationTraffic": { + "description": "This causes all outbound traffic to have Virtual Network Security Groups and User Defined Routes applied. Previously called VnetRouteAllEnabled.", + "type": "boolean" + }, + "contentShareTraffic": { + "description": "Enables accessing content over virtual network. Previously called VnetContentShareEnabled", + "type": "boolean" + }, + "imagePullTraffic": { + "description": "Enables pulling image over Virtual Network. Previously called VnetImagePullEnabled.", + "type": "boolean" + }, + "backupRestoreTraffic": { + "description": "Enables Backup and Restore operations over virtual network. Previously called VnetBackupRestoreEnabled", + "type": "boolean" + } + } + }, "SiteLimits": { "description": "Metric limits set on an app.", "type": "object", diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2024-11-01/examples/CloneWebApp.json b/specification/web/resource-manager/Microsoft.Web/stable/2024-11-01/examples/CloneWebApp.json index d39e2338008e..deee32776c58 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2024-11-01/examples/CloneWebApp.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2024-11-01/examples/CloneWebApp.json @@ -63,9 +63,13 @@ "isXenon": false, "hyperV": false, "lastModifiedTimeUtc": "2020-03-04T17:33:11.641Z", - "vnetRouteAllEnabled": false, - "vnetImagePullEnabled": false, - "vnetContentShareEnabled": false, + "outboundVnetRouting": { + "allTraffic": false, + "applicationTraffic": false, + "contentShareTraffic": false, + "imagePullTraffic": false, + "backupRestoreTraffic": false + }, "siteConfig": { "numberOfWorkers": 1, "defaultDocuments": [ @@ -176,9 +180,13 @@ "isXenon": false, "hyperV": false, "lastModifiedTimeUtc": "2020-03-04T17:33:11.641Z", - "vnetRouteAllEnabled": false, - "vnetImagePullEnabled": false, - "vnetContentShareEnabled": false, + "outboundVnetRouting": { + "allTraffic": false, + "applicationTraffic": false, + "contentShareTraffic": false, + "imagePullTraffic": false, + "backupRestoreTraffic": false + }, "siteConfig": { "numberOfWorkers": 1, "defaultDocuments": [ diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2024-11-01/examples/CloneWebAppSlot.json b/specification/web/resource-manager/Microsoft.Web/stable/2024-11-01/examples/CloneWebAppSlot.json index 6d8062d59426..12e547863f81 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2024-11-01/examples/CloneWebAppSlot.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2024-11-01/examples/CloneWebAppSlot.json @@ -64,9 +64,13 @@ "isXenon": false, "hyperV": false, "lastModifiedTimeUtc": "2020-03-04T17:33:11.641Z", - "vnetRouteAllEnabled": false, - "vnetImagePullEnabled": false, - "vnetContentShareEnabled": false, + "outboundVnetRouting": { + "allTraffic": false, + "applicationTraffic": false, + "contentShareTraffic": false, + "imagePullTraffic": false, + "backupRestoreTraffic": false + }, "siteConfig": { "numberOfWorkers": 1, "defaultDocuments": [ @@ -177,9 +181,13 @@ "isXenon": false, "hyperV": false, "lastModifiedTimeUtc": "2020-03-04T17:33:11.641Z", - "vnetRouteAllEnabled": false, - "vnetImagePullEnabled": false, - "vnetContentShareEnabled": false, + "outboundVnetRouting": { + "allTraffic": false, + "applicationTraffic": false, + "contentShareTraffic": false, + "imagePullTraffic": false, + "backupRestoreTraffic": false + }, "siteConfig": { "numberOfWorkers": 1, "defaultDocuments": [ diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2024-11-01/examples/CreateOrUpdateFunctionAppFlexConsumption.json b/specification/web/resource-manager/Microsoft.Web/stable/2024-11-01/examples/CreateOrUpdateFunctionAppFlexConsumption.json index c65e2380bc34..c860e3853896 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2024-11-01/examples/CreateOrUpdateFunctionAppFlexConsumption.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2024-11-01/examples/CreateOrUpdateFunctionAppFlexConsumption.json @@ -81,9 +81,13 @@ "isXenon": false, "hyperV": false, "lastModifiedTimeUtc": "2024-01-09T00:24:54.8", - "vnetRouteAllEnabled": false, - "vnetImagePullEnabled": false, - "vnetContentShareEnabled": false, + "outboundVnetRouting": { + "allTraffic": false, + "applicationTraffic": false, + "contentShareTraffic": false, + "imagePullTraffic": false, + "backupRestoreTraffic": false + }, "siteConfig": { "numberOfWorkers": 1, "netFrameworkVersion": "", @@ -168,7 +172,6 @@ "scmSiteAlsoStopped": false, "clientAffinityEnabled": false, "clientCertEnabled": false, - "vnetBackupRestoreEnabled": false, "resourceConfig": { "cpu": 1.0, "memory": "2.0Gi" @@ -225,9 +228,13 @@ "isXenon": false, "hyperV": false, "lastModifiedTimeUtc": "2024-01-09T00:24:54.8", - "vnetRouteAllEnabled": false, - "vnetImagePullEnabled": false, - "vnetContentShareEnabled": false, + "outboundVnetRouting": { + "allTraffic": false, + "applicationTraffic": false, + "contentShareTraffic": false, + "imagePullTraffic": false, + "backupRestoreTraffic": false + }, "siteConfig": { "numberOfWorkers": 1, "netFrameworkVersion": "", @@ -312,7 +319,6 @@ "scmSiteAlsoStopped": false, "clientAffinityEnabled": false, "clientCertEnabled": false, - "vnetBackupRestoreEnabled": false, "resourceConfig": { "cpu": 1.0, "memory": "2.0Gi" diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2024-11-01/examples/CreateOrUpdateFunctionAppFlexConsumptionWithDetails.json b/specification/web/resource-manager/Microsoft.Web/stable/2024-11-01/examples/CreateOrUpdateFunctionAppFlexConsumptionWithDetails.json index 4be32f430eb9..6b23d78ebc06 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2024-11-01/examples/CreateOrUpdateFunctionAppFlexConsumptionWithDetails.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2024-11-01/examples/CreateOrUpdateFunctionAppFlexConsumptionWithDetails.json @@ -92,9 +92,13 @@ "isXenon": false, "hyperV": false, "lastModifiedTimeUtc": "2024-01-09T00:24:54.8", - "vnetRouteAllEnabled": false, - "vnetImagePullEnabled": false, - "vnetContentShareEnabled": false, + "outboundVnetRouting": { + "allTraffic": false, + "applicationTraffic": false, + "contentShareTraffic": false, + "imagePullTraffic": false, + "backupRestoreTraffic": false + }, "siteConfig": { "numberOfWorkers": 1, "netFrameworkVersion": "", @@ -188,7 +192,6 @@ "scmSiteAlsoStopped": false, "clientAffinityEnabled": false, "clientCertEnabled": false, - "vnetBackupRestoreEnabled": false, "resourceConfig": { "cpu": 1.0, "memory": "2.0Gi" @@ -245,9 +248,13 @@ "isXenon": false, "hyperV": false, "lastModifiedTimeUtc": "2024-01-09T00:24:54.8", - "vnetRouteAllEnabled": false, - "vnetImagePullEnabled": false, - "vnetContentShareEnabled": false, + "outboundVnetRouting": { + "allTraffic": false, + "applicationTraffic": false, + "contentShareTraffic": false, + "imagePullTraffic": false, + "backupRestoreTraffic": false + }, "siteConfig": { "numberOfWorkers": 1, "netFrameworkVersion": "", @@ -341,7 +348,6 @@ "scmSiteAlsoStopped": false, "clientAffinityEnabled": false, "clientCertEnabled": false, - "vnetBackupRestoreEnabled": false, "resourceConfig": { "cpu": 1.0, "memory": "2.0Gi" diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2024-11-01/examples/CreateOrUpdateWebApp.json b/specification/web/resource-manager/Microsoft.Web/stable/2024-11-01/examples/CreateOrUpdateWebApp.json index 499648f2ef31..9b530852fc22 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2024-11-01/examples/CreateOrUpdateWebApp.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2024-11-01/examples/CreateOrUpdateWebApp.json @@ -51,9 +51,13 @@ "isXenon": false, "hyperV": false, "lastModifiedTimeUtc": "2020-03-04T17:33:11.641Z", - "vnetRouteAllEnabled": false, - "vnetImagePullEnabled": false, - "vnetContentShareEnabled": false, + "outboundVnetRouting": { + "allTraffic": false, + "applicationTraffic": false, + "contentShareTraffic": false, + "imagePullTraffic": false, + "backupRestoreTraffic": false + }, "siteConfig": { "numberOfWorkers": 1, "defaultDocuments": [ @@ -169,9 +173,13 @@ "isXenon": false, "hyperV": false, "lastModifiedTimeUtc": "2020-03-04T17:33:11.641Z", - "vnetRouteAllEnabled": false, - "vnetImagePullEnabled": false, - "vnetContentShareEnabled": false, + "outboundVnetRouting": { + "allTraffic": false, + "applicationTraffic": false, + "contentShareTraffic": false, + "imagePullTraffic": false, + "backupRestoreTraffic": false + }, "siteConfig": { "numberOfWorkers": 1, "defaultDocuments": [ diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2024-11-01/examples/CreateOrUpdateWebAppSlot.json b/specification/web/resource-manager/Microsoft.Web/stable/2024-11-01/examples/CreateOrUpdateWebAppSlot.json index 973e968dd198..f06045c01ce0 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2024-11-01/examples/CreateOrUpdateWebAppSlot.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2024-11-01/examples/CreateOrUpdateWebAppSlot.json @@ -52,9 +52,13 @@ "isXenon": false, "hyperV": false, "lastModifiedTimeUtc": "2020-03-04T17:33:11.641Z", - "vnetRouteAllEnabled": false, - "vnetImagePullEnabled": false, - "vnetContentShareEnabled": false, + "outboundVnetRouting": { + "allTraffic": false, + "applicationTraffic": false, + "contentShareTraffic": false, + "imagePullTraffic": false, + "backupRestoreTraffic": false + }, "siteConfig": { "numberOfWorkers": 1, "defaultDocuments": [ @@ -165,9 +169,13 @@ "isXenon": false, "hyperV": false, "lastModifiedTimeUtc": "2020-03-04T17:33:11.641Z", - "vnetRouteAllEnabled": false, - "vnetImagePullEnabled": false, - "vnetContentShareEnabled": false, + "outboundVnetRouting": { + "allTraffic": false, + "applicationTraffic": false, + "contentShareTraffic": false, + "imagePullTraffic": false, + "backupRestoreTraffic": false + }, "siteConfig": { "numberOfWorkers": 1, "defaultDocuments": [ diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2024-11-01/examples/GetWebApp.json b/specification/web/resource-manager/Microsoft.Web/stable/2024-11-01/examples/GetWebApp.json index 6408a92deb9f..809e8b40623a 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2024-11-01/examples/GetWebApp.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2024-11-01/examples/GetWebApp.json @@ -44,9 +44,13 @@ "isXenon": false, "hyperV": false, "lastModifiedTimeUtc": "2020-03-04T17:33:11.641Z", - "vnetRouteAllEnabled": false, - "vnetImagePullEnabled": false, - "vnetContentShareEnabled": false, + "outboundVnetRouting": { + "allTraffic": false, + "applicationTraffic": false, + "contentShareTraffic": false, + "imagePullTraffic": false, + "backupRestoreTraffic": false + }, "siteConfig": { "numberOfWorkers": 1, "defaultDocuments": [ diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2024-11-01/examples/GetWebAppSlot.json b/specification/web/resource-manager/Microsoft.Web/stable/2024-11-01/examples/GetWebAppSlot.json index e37be7725f1c..afc2954e1a35 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2024-11-01/examples/GetWebAppSlot.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2024-11-01/examples/GetWebAppSlot.json @@ -45,9 +45,13 @@ "isXenon": false, "hyperV": false, "lastModifiedTimeUtc": "2020-03-04T17:33:11.641Z", - "vnetRouteAllEnabled": false, - "vnetImagePullEnabled": false, - "vnetContentShareEnabled": false, + "outboundVnetRouting": { + "allTraffic": false, + "applicationTraffic": false, + "contentShareTraffic": false, + "imagePullTraffic": false, + "backupRestoreTraffic": false + }, "siteConfig": { "numberOfWorkers": 1, "defaultDocuments": [ diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2024-11-01/examples/ListWebAppSlots.json b/specification/web/resource-manager/Microsoft.Web/stable/2024-11-01/examples/ListWebAppSlots.json index b548df661a4f..a72747e2f597 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2024-11-01/examples/ListWebAppSlots.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2024-11-01/examples/ListWebAppSlots.json @@ -46,9 +46,13 @@ "isXenon": false, "hyperV": false, "lastModifiedTimeUtc": "2020-03-04T17:33:11.641Z", - "vnetRouteAllEnabled": false, - "vnetImagePullEnabled": false, - "vnetContentShareEnabled": false, + "outboundVnetRouting": { + "allTraffic": false, + "applicationTraffic": false, + "contentShareTraffic": false, + "imagePullTraffic": false, + "backupRestoreTraffic": false + }, "siteConfig": { "numberOfWorkers": 1, "defaultDocuments": [ @@ -154,9 +158,13 @@ "isXenon": false, "hyperV": false, "lastModifiedTimeUtc": "2020-03-04T17:33:11.641Z", - "vnetRouteAllEnabled": false, - "vnetImagePullEnabled": false, - "vnetContentShareEnabled": false, + "outboundVnetRouting": { + "allTraffic": false, + "applicationTraffic": false, + "contentShareTraffic": false, + "imagePullTraffic": false, + "backupRestoreTraffic": false + }, "siteConfig": { "numberOfWorkers": 1, "defaultDocuments": [ diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2024-11-01/examples/ListWebApps.json b/specification/web/resource-manager/Microsoft.Web/stable/2024-11-01/examples/ListWebApps.json index e9bdbc820b3c..1f5c3fa5cf6e 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2024-11-01/examples/ListWebApps.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2024-11-01/examples/ListWebApps.json @@ -44,9 +44,13 @@ "isXenon": false, "hyperV": false, "lastModifiedTimeUtc": "2020-03-04T17:33:11.641Z", - "vnetRouteAllEnabled": false, - "vnetImagePullEnabled": false, - "vnetContentShareEnabled": false, + "outboundVnetRouting": { + "allTraffic": false, + "applicationTraffic": false, + "contentShareTraffic": false, + "imagePullTraffic": false, + "backupRestoreTraffic": false + }, "siteConfig": { "numberOfWorkers": 1, "defaultDocuments": [ @@ -157,9 +161,13 @@ "isXenon": false, "hyperV": false, "lastModifiedTimeUtc": "2020-03-04T17:33:11.641Z", - "vnetRouteAllEnabled": false, - "vnetImagePullEnabled": false, - "vnetContentShareEnabled": false, + "outboundVnetRouting": { + "allTraffic": false, + "applicationTraffic": false, + "contentShareTraffic": false, + "imagePullTraffic": false, + "backupRestoreTraffic": false + }, "siteConfig": { "numberOfWorkers": 1, "defaultDocuments": [ diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2024-11-01/examples/ListWebAppsByResourceGroup.json b/specification/web/resource-manager/Microsoft.Web/stable/2024-11-01/examples/ListWebAppsByResourceGroup.json index eb977cf047c1..b97c7e192008 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2024-11-01/examples/ListWebAppsByResourceGroup.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2024-11-01/examples/ListWebAppsByResourceGroup.json @@ -45,9 +45,13 @@ "isXenon": false, "hyperV": false, "lastModifiedTimeUtc": "2020-03-04T17:33:11.641Z", - "vnetRouteAllEnabled": false, - "vnetImagePullEnabled": false, - "vnetContentShareEnabled": false, + "outboundVnetRouting": { + "allTraffic": false, + "applicationTraffic": false, + "contentShareTraffic": false, + "imagePullTraffic": false, + "backupRestoreTraffic": false + }, "siteConfig": { "numberOfWorkers": 1, "defaultDocuments": [ @@ -158,9 +162,13 @@ "isXenon": false, "hyperV": false, "lastModifiedTimeUtc": "2020-03-04T17:33:11.641Z", - "vnetRouteAllEnabled": false, - "vnetImagePullEnabled": false, - "vnetContentShareEnabled": false, + "outboundVnetRouting": { + "allTraffic": false, + "applicationTraffic": false, + "contentShareTraffic": false, + "imagePullTraffic": false, + "backupRestoreTraffic": false + }, "siteConfig": { "numberOfWorkers": 1, "defaultDocuments": [ diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2024-11-01/examples/UpdateWebApp.json b/specification/web/resource-manager/Microsoft.Web/stable/2024-11-01/examples/UpdateWebApp.json index 09beb192e816..ea17fa126304 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2024-11-01/examples/UpdateWebApp.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2024-11-01/examples/UpdateWebApp.json @@ -49,9 +49,13 @@ "isXenon": false, "hyperV": false, "lastModifiedTimeUtc": "2020-03-04T17:33:11.641Z", - "vnetRouteAllEnabled": false, - "vnetImagePullEnabled": false, - "vnetContentShareEnabled": false, + "outboundVnetRouting": { + "allTraffic": false, + "applicationTraffic": false, + "contentShareTraffic": false, + "imagePullTraffic": false, + "backupRestoreTraffic": false + }, "siteConfig": { "numberOfWorkers": 1, "defaultDocuments": [ @@ -167,9 +171,13 @@ "isXenon": false, "hyperV": false, "lastModifiedTimeUtc": "2020-03-04T17:33:11.641Z", - "vnetRouteAllEnabled": false, - "vnetImagePullEnabled": false, - "vnetContentShareEnabled": false, + "outboundVnetRouting": { + "allTraffic": false, + "applicationTraffic": false, + "contentShareTraffic": false, + "imagePullTraffic": false, + "backupRestoreTraffic": false + }, "siteConfig": { "numberOfWorkers": 1, "defaultDocuments": [ diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2024-11-01/examples/UpdateWebAppSlot.json b/specification/web/resource-manager/Microsoft.Web/stable/2024-11-01/examples/UpdateWebAppSlot.json index b81f1a8e2e4e..a33057be8c39 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2024-11-01/examples/UpdateWebAppSlot.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2024-11-01/examples/UpdateWebAppSlot.json @@ -50,9 +50,13 @@ "isXenon": false, "hyperV": false, "lastModifiedTimeUtc": "2020-03-04T17:33:11.641Z", - "vnetRouteAllEnabled": false, - "vnetImagePullEnabled": false, - "vnetContentShareEnabled": false, + "outboundVnetRouting": { + "allTraffic": false, + "applicationTraffic": false, + "contentShareTraffic": false, + "imagePullTraffic": false, + "backupRestoreTraffic": false + }, "siteConfig": { "numberOfWorkers": 1, "defaultDocuments": [ @@ -163,9 +167,13 @@ "isXenon": false, "hyperV": false, "lastModifiedTimeUtc": "2020-03-04T17:33:11.641Z", - "vnetRouteAllEnabled": false, - "vnetImagePullEnabled": false, - "vnetContentShareEnabled": false, + "outboundVnetRouting": { + "allTraffic": false, + "applicationTraffic": false, + "contentShareTraffic": false, + "imagePullTraffic": false, + "backupRestoreTraffic": false + }, "siteConfig": { "numberOfWorkers": 1, "defaultDocuments": [