class Azure::Compute::Mgmt::V2020_09_30::Models::DiskUpdate
Disk
update resource.
Attributes
@return [Boolean] Set to true to enable bursting beyond the provisioned performance target of the disk. Bursting is disabled by default. Does not apply to Ultra disks.
@return [String] ARM id of the DiskAccess
resource for using private endpoints on disks.
@return [Integer] The total number of IOPS that will be allowed across all VMs mounting the shared disk as ReadOnly. One operation can transfer between 4k and 256k bytes.
@return [Integer] The number of IOPS allowed for this disk; only settable for UltraSSD disks. One operation can transfer between 4k and 256k bytes.
@return [Integer] The total throughput (MBps) that will be allowed across all VMs mounting the shared disk as ReadOnly. MBps means millions of bytes per second - MB here uses the ISO notation, of powers of 10.
@return [Integer] The bandwidth allowed for this disk; only settable for UltraSSD disks. MBps means millions of bytes per second - MB here uses the ISO notation, of powers of 10.
@return [Integer] If creationData.createOption is Empty, this field is mandatory and it indicates the size of the disk to create. If this field is present for updates or creation with other options, it indicates a resize. Resizes are only allowed if the disk is not attached to a running VM, and can only increase the disk's size.
@return [Encryption] Encryption
property can be used to encrypt data at rest with customer managed keys or platform managed keys.
@return [EncryptionSettingsCollection] Encryption
settings collection used be Azure
Disk
Encryption
, can contain multiple encryption settings per disk or snapshot.
@return [NetworkAccessPolicy] Possible values include: 'AllowAll', 'AllowPrivate', 'DenyAll'
@return [OperatingSystemTypes] the Operating System type. Possible values include: 'Windows', 'Linux'
@return [PurchasePlan] Purchase plan information to be added on the OS disk
@return [DiskSku]
@return [String] Performance tier of the disk (e.g, P4, S10) as described here: azure.microsoft.com/en-us/pricing/details/managed-disks/. Does not apply to Ultra disks.
Private Class Methods
Mapper for DiskUpdate
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2020-09-30/generated/azure_mgmt_compute/models/disk_update.rb, line 95 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'DiskUpdate', type: { name: 'Composite', class_name: 'DiskUpdate', model_properties: { os_type: { client_side_validation: true, required: false, serialized_name: 'properties.osType', type: { name: 'Enum', module: 'OperatingSystemTypes' } }, disk_size_gb: { client_side_validation: true, required: false, serialized_name: 'properties.diskSizeGB', type: { name: 'Number' } }, encryption_settings_collection: { client_side_validation: true, required: false, serialized_name: 'properties.encryptionSettingsCollection', type: { name: 'Composite', class_name: 'EncryptionSettingsCollection' } }, disk_iopsread_write: { client_side_validation: true, required: false, serialized_name: 'properties.diskIOPSReadWrite', type: { name: 'Number' } }, disk_mbps_read_write: { client_side_validation: true, required: false, serialized_name: 'properties.diskMBpsReadWrite', type: { name: 'Number' } }, disk_iopsread_only: { client_side_validation: true, required: false, serialized_name: 'properties.diskIOPSReadOnly', type: { name: 'Number' } }, disk_mbps_read_only: { client_side_validation: true, required: false, serialized_name: 'properties.diskMBpsReadOnly', type: { name: 'Number' } }, max_shares: { client_side_validation: true, required: false, serialized_name: 'properties.maxShares', type: { name: 'Number' } }, encryption: { client_side_validation: true, required: false, serialized_name: 'properties.encryption', type: { name: 'Composite', class_name: 'Encryption' } }, network_access_policy: { client_side_validation: true, required: false, serialized_name: 'properties.networkAccessPolicy', type: { name: 'String' } }, disk_access_id: { client_side_validation: true, required: false, serialized_name: 'properties.diskAccessId', type: { name: 'String' } }, tier: { client_side_validation: true, required: false, serialized_name: 'properties.tier', type: { name: 'String' } }, bursting_enabled: { client_side_validation: true, required: false, serialized_name: 'properties.burstingEnabled', type: { name: 'Boolean' } }, purchase_plan: { client_side_validation: true, required: false, serialized_name: 'properties.purchasePlan', type: { name: 'Composite', class_name: 'PurchasePlan' } }, tags: { client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } }, sku: { client_side_validation: true, required: false, serialized_name: 'sku', type: { name: 'Composite', class_name: 'DiskSku' } } } } } end