Created
April 13, 2020 10:42
-
-
Save JamesDLD/45c171c80176a9fd1f5ef5fd0f534f54 to your computer and use it in GitHub Desktop.
A Private Endpoint in the Hub and it's Resource in an Application Resource Group.
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 "MyHubRgName" ` | |
-TemplateUri https://raw.githubusercontent.com/JamesDLD/AzureRm-Template/master/Create-AzPrivateEnpoints/azuredeploy.json ` | |
-tags "{""MyTagKey1"":""MyTagKey1Value"",""MyTagKey2"":""MyTagKey2Value""}""" ` | |
-existingVirtualNetworkName "hub-vnet1" ` | |
-existingVirtualNetworkSubnetName "endpoint-snet1" ` | |
-existingResourceSubscriptionId "xxxxx-xxxxx-xxxxx-xxxxx" ` | |
-existingResourceResourceGroupName "MyAppRgName" ` | |
-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