mirror of
https://github.com/MicrosoftLearning/AZ-104-MicrosoftAzureAdministrator.git
synced 2026-02-05 08:09:08 +00:00
Add files via upload
This commit is contained in:
parent
4997a9625f
commit
cbede6a1d2
36
Allfiles/Labs/03/azuredeploydisk.bicep
Normal file
36
Allfiles/Labs/03/azuredeploydisk.bicep
Normal file
@ -0,0 +1,36 @@
|
||||
@description('Name of the managed disk to be copied')
|
||||
param managedDiskName string = 'diskname'
|
||||
|
||||
@description('Disk size in GiB')
|
||||
@minValue(4)
|
||||
@maxValue(65536)
|
||||
param diskSizeinGiB int = 8
|
||||
|
||||
@description('Disk IOPS value')
|
||||
@minValue(100)
|
||||
@maxValue(160000)
|
||||
param diskIopsReadWrite int = 100
|
||||
|
||||
@description('Disk throughput value in MBps')
|
||||
@minValue(1)
|
||||
@maxValue(2000)
|
||||
param diskMbpsReadWrite int = 10
|
||||
|
||||
@description('Location for all resources.')
|
||||
param location string = resourceGroup().location
|
||||
|
||||
resource managedDisk 'Microsoft.Compute/disks@2020-09-30' = {
|
||||
name: managedDiskName
|
||||
location: location
|
||||
sku: {
|
||||
name: 'UltraSSD_LRS'
|
||||
}
|
||||
properties: {
|
||||
creationData: {
|
||||
createOption: 'Empty'
|
||||
}
|
||||
diskSizeGB: diskSizeinGiB
|
||||
diskIOPSReadWrite: diskIopsReadWrite
|
||||
diskMBpsReadWrite: diskMbpsReadWrite
|
||||
}
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user