Skip to content

Commit cd3ef90

Browse files
DanOwenUKHOJiviteshT
authored andcommitted
Dev/new env2 (#245)
* Rework deployment folder * re work main yaml pipeline
1 parent 7da00d2 commit cd3ef90

File tree

132 files changed

+872
-4467
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

132 files changed

+872
-4467
lines changed
File renamed without changes.
File renamed without changes.
File renamed without changes.
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
param (
2+
[Parameter(Mandatory = $true)] [string] $mockresourcegroup,
3+
[Parameter(Mandatory = $true)] [string] $mockwebappname,
4+
[Parameter(Mandatory = $true)] [string] $subscriptionid,
5+
[Parameter(Mandatory = $true)] [string] $vnetresourcegroup,
6+
[Parameter(Mandatory = $true)] [string] $vnetname,
7+
[Parameter(Mandatory = $true)] [string] $subnetname
8+
)
9+
10+
Write-Output "Set Subnet in Mock Network Configuration ..."
11+
az webapp config access-restriction add -g $mockresourcegroup -n $mockwebappname --action Allow --subnet "/subscriptions/$subscriptionid/resourceGroups/$vnetresourcegroup/providers/Microsoft.Network/virtualNetworks/$vnetname/subnets/$subnetname" --priority 65000 --scm-site false -i
12+
13+
14+
15+

0 commit comments

Comments
 (0)