Skip to content

Making use of Outputs in deployment scripts #3688

Answered by deniscooper
deniscooper asked this question in Q&A
Discussion options

You must be logged in to vote
param location string = resourceGroup().location
param subnetName string = 'PROD-BROM-SUB-INT-SERVERS'
param virtualNetworkID string = '/subscriptions/15fae3c7-14e6-47e4-8610-f9d56afb5aad/resourceGroups/PROD-RG-S2SVPN/providers/Microsoft.Network/virtualNetworks/PROD-BROM-VNET01'
param virtualMachineName string 
param osDiskType string = 'Premium_LRS'
param virtualMachineSize string = 'Standard_DS1_v2'

param adminUserName string
@secure()
param adminPassword string

var vnetID = virtualNetworkID
var subnetRef = '${vnetID}/subnets/${subnetName}'
var networkInterfaceName = '${virtualMachineName}-NIC'
var ipconfig1 = '${virtualMachineName}-ipConfig'
var groupName = 'APP-D-RDS-${virtualMachin…

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
1 reply
@deniscooper
Comment options

Comment options

You must be logged in to vote
4 replies
@StefanIvemo
Comment options

@deniscooper
Comment options

@StefanIvemo
Comment options

@deniscooper
Comment options

Answer selected by anthony-c-martin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants