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')
location: location @allowed([
tags: { 512
tagName1: 'tagValue1' 4096
tagName2: 'tagValue2' ])
} param logicalSectorSize int = 4096
sku: {
name: 'string' @description('Disk size in GiB')
} @minValue(4)
extendedLocation: { @maxValue(65536)
name: 'string' param diskSizeinGiB int = 8
type: 'EdgeZone'
} @description('Disk IOPS value')
properties: { @minValue(100)
burstingEnabled: true @maxValue(160000)
creationData: { param diskIopsReadWrite int = 100
createOption: 'empty'
galleryImageReference: { @description('Disk throughput value in MBps')
id: 'string' @minValue(1)
lun: 1 @maxValue(2000)
} param diskMbpsReadWrite int = 10
imageReference: {
id: 'string' @description('Location for all resources.')
lun: 1 param location string = resourceGroup().location
}
logicalSectorSize: 1 resource managedDisk 'Microsoft.Compute/disks@2020-09-30' = {
sourceResourceId: sourceresourceid name: managedDiskName
sourceUri: 'string' location: location
storageAccountId: 'string' sku: {
uploadSizeBytes: 20972032 name: 'UltraSSD_LRS'
} }
diskAccessId: 'string' properties: {
diskIOPSReadWrite: 5000 creationData: {
diskMBpsReadWrite: 200 createOption: 'Empty'
diskSizeGB: 1024 logicalSectorSize: logicalSectorSize
encryption: { }
diskEncryptionSetId: 'string' diskSizeGB: diskSizeinGiB
type: 'string' diskIOPSReadWrite: diskIopsReadWrite
} diskMBpsReadWrite: diskMbpsReadWrite
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'
]
}