Class: Com::Vmware::Appliance::System::Storage
- Inherits:
-
VAPI::Bindings::VapiService
- Object
- VAPI::Bindings::VapiService
- Com::Vmware::Appliance::System::Storage
- Defined in:
- /build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/appliance/system.rb
Overview
``Com::Vmware::Appliance::System::Storage`` class provides methods Appliance storage configuration
Defined Under Namespace
Classes: StorageMapping
Instance Method Summary (collapse)
-
- (Storage) initialize(config)
constructor
Constructs a new instance.
-
- (Array<Com::Vmware::Appliance::System::Storage::StorageMapping>) list
Get disk to partition mapping.
-
- (Void) resize
Resize all partitions to 100 percent of disk size.
Constructor Details
- (Storage) initialize(config)
Constructs a new instance.
107 108 109 |
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/appliance/system.rb', line 107 def initialize(config) super(config, @@service_info) end |
Instance Method Details
- (Array<Com::Vmware::Appliance::System::Storage::StorageMapping>) list
Get disk to partition mapping
118 119 120 |
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/appliance/system.rb', line 118 def list() invoke_with_info(@@list_info) end |
- (Void) resize
Resize all partitions to 100 percent of disk size
128 129 130 |
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/appliance/system.rb', line 128 def resize() invoke_with_info(@@resize_info) end |