class Azure::Compute::Mgmt::V2020_09_30::Models::SnapshotUpdate
Snapshot update resource.
Attributes
@return [String] ARM id of the DiskAccess resource for using private endpoints on disks.
@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 [SnapshotSku]
Private Class Methods
Mapper for SnapshotUpdate class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2020-09-30/generated/azure_mgmt_compute/models/snapshot_update.rb, line 54 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'SnapshotUpdate', type: { name: 'Composite', class_name: 'SnapshotUpdate', 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' } }, 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' } }, 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: 'SnapshotSku' } } } } } end