Skip to content
Open
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
param variables_avSetSKU ? /* TODO: fill in correct type */

@description('The name of avaiability set to be used when create the VMs.')
param availabilitySetName string

@description('The location of the session host VMs.')
param vmLocation string

@description('The tags to be assigned to the availability set')
param availabilitySetTags object

@description('The platform update domain count of avaiability set to be created.')
@allowed([
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
])
param availabilitySetUpdateDomainCount int

@description('The platform fault domain count of avaiability set to be created.')
@allowed([
1
2
3
])
param availabilitySetFaultDomainCount int

resource availabilitySetName_resource 'Microsoft.Compute/availabilitySets@2018-10-01' = {
name: availabilitySetName
location: vmLocation
tags: availabilitySetTags
properties: {
platformUpdateDomainCount: availabilitySetUpdateDomainCount
platformFaultDomainCount: availabilitySetFaultDomainCount
}
sku: {
name: variables_avSetSKU
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
@description('The name of the Hostpool to be created.')
param hostpoolName string

@description('WVD api version')
param apiVersion string

@description('The location of the host pool to be updated. Used when the host pool was created empty.')
param hostpoolLocation string

@description('The properties of the Hostpool to be updated. Used when the host pool was created empty.')
param hostpoolProperties object

resource hostpoolName_resource 'Microsoft.DesktopVirtualization/hostpools@[parameters(\'apiVersion\')]' = {
name: hostpoolName
location: hostpoolLocation
properties: hostpoolProperties
}
Loading