Add files via upload

This commit is contained in:
staleycyn 2024-02-09 11:21:51 -08:00 committed by GitHub
parent 2fb0c1ebf7
commit 600b4fcba5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,82 +1,44 @@
param location string = 'westus' @description('Name of the managed disk to be copied')
param sourceresourceid string = '/subscriptions/aa509d92-2cc7-4eb9-9ae9-db02c24e057d' param managedDiskName string = 'diskname'
resource symbolicname 'Microsoft.Compute/disks@2020-12-01' = {
name: 'az104-disk4' @description('Logical Sector Size. Recommended 4096 unless application requires 512 bytes sector size support')
@allowed([
512
4096
])
param logicalSectorSize int = 4096
@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 location: location
tags: {
tagName1: 'tagValue1'
tagName2: 'tagValue2'
}
sku: { sku: {
name: 'string' name: 'UltraSSD_LRS'
}
extendedLocation: {
name: 'string'
type: 'EdgeZone'
} }
properties: { properties: {
burstingEnabled: true
creationData: { creationData: {
createOption: 'empty' createOption: 'Empty'
galleryImageReference: { logicalSectorSize: logicalSectorSize
id: 'string'
lun: 1
}
imageReference: {
id: 'string'
lun: 1
}
logicalSectorSize: 1
sourceResourceId: sourceresourceid
sourceUri: 'string'
storageAccountId: 'string'
uploadSizeBytes: 20972032
} }
diskAccessId: 'string' diskSizeGB: diskSizeinGiB
diskIOPSReadWrite: 5000 diskIOPSReadWrite: diskIopsReadWrite
diskMBpsReadWrite: 200 diskMBpsReadWrite: diskMbpsReadWrite
diskSizeGB: 1024
encryption: {
diskEncryptionSetId: 'string'
type: 'string'
}
encryptionSettingsCollection: {
enabled: true
encryptionSettings: [
{
diskEncryptionKey: {
secretUrl: 'string'
sourceVault: {
id: 'string'
}
}
keyEncryptionKey: {
keyUrl: 'string'
sourceVault: {
id: 'string'
}
}
}
]
encryptionSettingsVersion: 'string'
}
hyperVGeneration: 'string'
maxShares: 1
networkAccessPolicy: 'string'
osType: 'Windows'
purchasePlan: {
name: 'string'
product: 'string'
promotionCode: 'string'
publisher: 'string'
}
securityProfile: {
securityType: 'TrustedLaunch'
}
supportsHibernation: true
tier: 'string'
} }
zones: [
'string'
]
} }