File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed
templates/common/infra/bicep/core/host Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -36,6 +36,7 @@ param scmDoBuildDuringDeployment bool = false
36
36
param use32BitWorkerProcess bool = false
37
37
param ftpsState string = 'FtpsOnly'
38
38
param healthCheckPath string = ''
39
+ param virtualNetworkSubnetId string = ''
39
40
40
41
resource appService 'Microsoft.Web/sites@2022-03-01' = {
41
42
name : name
@@ -61,6 +62,7 @@ resource appService 'Microsoft.Web/sites@2022-03-01' = {
61
62
}
62
63
clientAffinityEnabled : clientAffinityEnabled
63
64
httpsOnly : true
65
+ virtualNetworkSubnetId : !empty (virtualNetworkSubnetId ) ? virtualNetworkSubnetId : null
64
66
}
65
67
66
68
identity : { type : managedIdentity ? 'SystemAssigned' : 'None' }
Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ param appServicePlanId string
9
9
param keyVaultName string = ''
10
10
param managedIdentity bool = !empty (keyVaultName )
11
11
param storageAccountName string
12
+ param virtualNetworkSubnetId string = ''
12
13
13
14
// Runtime Properties
14
15
@allowed ([
@@ -74,6 +75,7 @@ module functions 'appservice.bicep' = {
74
75
runtimeNameAndVersion : runtimeNameAndVersion
75
76
scmDoBuildDuringDeployment : scmDoBuildDuringDeployment
76
77
use32BitWorkerProcess : use32BitWorkerProcess
78
+ virtualNetworkSubnetId : virtualNetworkSubnetId
77
79
}
78
80
}
79
81
You can’t perform that action at this time.
0 commit comments