Created
April 13, 2020 10:46
-
-
Save JamesDLD/bbc2ebe1306ff7701f02da1e98924e18 to your computer and use it in GitHub Desktop.
A Private Endpoint with its Resource in the Application's Resource Group and its Ip address in a remote Virtual Network.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
New-AzResourceGroupDeployment -Name "mystorageaccountname-pe1" -ResourceGroupName "MyAppRgName" ` | |
-TemplateUri https://raw.githubusercontent.com/JamesDLD/AzureRm-Template/master/Create-AzPrivateEnpoints/azuredeploy.json ` | |
-tags "{""MyTagKey1"":""MyTagKey1Value"",""MyTagKey2"":""MyTagKey2Value""}""" ` | |
-existingVirtualNetworkResourceGroupName "MyHubRgName" ` | |
-existingVirtualNetworkName "hub-vnet1" ` | |
-existingVirtualNetworkSubnetName "endpoint-snet1" ` | |
-existingResourceName "mystorageaccountname" ` | |
-existingResourceType "Microsoft.Storage/storageAccounts" ` | |
-groupIds @("blob") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment