-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathvmssModule.bicep
More file actions
46 lines (37 loc) · 1.12 KB
/
vmssModule.bicep
File metadata and controls
46 lines (37 loc) · 1.12 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
@description('Name of the infrastructure VNet')
param vnetName string
@description('Name of the infrastructure subnet')
param subnetName string
@description('Name of the VMSS')
param vmssName string
@description('Admin password for the VMSS')
param adminPassword string
@description('Resource group name for the VNet')
param vnetResourceGroupName string
@description('SKU for the VMSS')
param vmssSku string
@description('Location for the deployment')
param location string
@description('Extension name for the VMSS')
param extensionName string
@description('Bicep template path for VMSS deployment')
param bicepTemplatePath string
resource vmssDeployment 'Microsoft.Resources/deployments@2021-04-01' = {
name: '${vmssName}-deployment'
properties: {
mode: 'Incremental'
templateLink: {
uri: bicepTemplatePath
}
parameters: {
vnetname: vnetName
subnetname: subnetName
name: vmssName
adminPassword: adminPassword
vnetrgname: vnetResourceGroupName
vmsssku: vmssSku
location: location
extensionName: extensionName
}
}
}