Class: Google::Apis::MigrationcenterV1::VmwareDiskConfig
- Inherits:
-
Object
- Object
- Google::Apis::MigrationcenterV1::VmwareDiskConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/migrationcenter_v1/classes.rb,
lib/google/apis/migrationcenter_v1/representations.rb,
lib/google/apis/migrationcenter_v1/representations.rb
Overview
VMware disk config details.
Instance Attribute Summary collapse
-
#backing_type ⇒ String
VMDK backing type.
-
#rdm_compatibility ⇒ String
RDM compatibility mode.
-
#shared ⇒ Boolean
(also: #shared?)
Is VMDK shared with other VMs.
-
#vmdk_mode ⇒ String
VMDK disk mode.
Instance Method Summary collapse
-
#initialize(**args) ⇒ VmwareDiskConfig
constructor
A new instance of VmwareDiskConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ VmwareDiskConfig
Returns a new instance of VmwareDiskConfig.
4812 4813 4814 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 4812 def initialize(**args) update!(**args) end |
Instance Attribute Details
#backing_type ⇒ String
VMDK backing type.
Corresponds to the JSON property backingType
4794 4795 4796 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 4794 def backing_type @backing_type end |
#rdm_compatibility ⇒ String
RDM compatibility mode.
Corresponds to the JSON property rdmCompatibility
4799 4800 4801 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 4799 def rdm_compatibility @rdm_compatibility end |
#shared ⇒ Boolean Also known as:
Is VMDK shared with other VMs.
Corresponds to the JSON property shared
4804 4805 4806 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 4804 def shared @shared end |
#vmdk_mode ⇒ String
VMDK disk mode.
Corresponds to the JSON property vmdkMode
4810 4811 4812 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 4810 def vmdk_mode @vmdk_mode end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4817 4818 4819 4820 4821 4822 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 4817 def update!(**args) @backing_type = args[:backing_type] if args.key?(:backing_type) @rdm_compatibility = args[:rdm_compatibility] if args.key?(:rdm_compatibility) @shared = args[:shared] if args.key?(:shared) @vmdk_mode = args[:vmdk_mode] if args.key?(:vmdk_mode) end |