Class: Azure::Compute::Mgmt::V2019_07_01::Models::VirtualMachineCaptureParameters
- Inherits:
-
Object
- Object
- Azure::Compute::Mgmt::V2019_07_01::Models::VirtualMachineCaptureParameters
- Includes:
- MsRestAzure
- Defined in:
- lib/2019-07-01/generated/azure_mgmt_compute/models/virtual_machine_capture_parameters.rb
Overview
Capture Virtual Machine parameters.
Instance Attribute Summary collapse
-
#destination_container_name ⇒ String
The destination container name.
-
#overwrite_vhds ⇒ Boolean
virtual hard disk, in case of conflict.
-
#vhd_prefix ⇒ String
The captured virtual hard disk's name prefix.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for VirtualMachineCaptureParameters class as Ruby Hash.
Instance Attribute Details
#destination_container_name ⇒ String
Returns The destination container name.
19 20 21 |
# File 'lib/2019-07-01/generated/azure_mgmt_compute/models/virtual_machine_capture_parameters.rb', line 19 def destination_container_name @destination_container_name end |
#overwrite_vhds ⇒ Boolean
virtual hard disk, in case of conflict.
23 24 25 |
# File 'lib/2019-07-01/generated/azure_mgmt_compute/models/virtual_machine_capture_parameters.rb', line 23 def overwrite_vhds @overwrite_vhds end |
#vhd_prefix ⇒ String
Returns The captured virtual hard disk's name prefix.
16 17 18 |
# File 'lib/2019-07-01/generated/azure_mgmt_compute/models/virtual_machine_capture_parameters.rb', line 16 def vhd_prefix @vhd_prefix end |
Class Method Details
.mapper ⇒ Object
Mapper for VirtualMachineCaptureParameters class as Ruby Hash. This will be used for serialization/deserialization.
30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 |
# File 'lib/2019-07-01/generated/azure_mgmt_compute/models/virtual_machine_capture_parameters.rb', line 30 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'VirtualMachineCaptureParameters', type: { name: 'Composite', class_name: 'VirtualMachineCaptureParameters', model_properties: { vhd_prefix: { client_side_validation: true, required: true, serialized_name: 'vhdPrefix', type: { name: 'String' } }, destination_container_name: { client_side_validation: true, required: true, serialized_name: 'destinationContainerName', type: { name: 'String' } }, overwrite_vhds: { client_side_validation: true, required: true, serialized_name: 'overwriteVhds', type: { name: 'Boolean' } } } } } end |