Module: GClouder::Resources::Compute::Disks::Disk
- Includes:
- GClouder::Resource
- Defined in:
- lib/gclouder/resources/compute/disks.rb
Class Method Summary collapse
Methods included from GClouder::Resource
describe, feedback, list, resource?, set
Methods included from Logging
#add, #bad, #change, #debug, #error, #fatal, #good, included, #info, log, loggers, #remove, report, #resource_state, setup, #warn, #warning
Methods included from Config::CLIArgs
check, #cli_args, cli_args, included, load, valid_resources
Methods included from GCloud
Methods included from Config::Project
Methods included from Helpers
#hash_to_args, included, #module_exists?, #to_arg, #to_deep_merge_hash, #valid_json?
Methods included from Shell
Class Method Details
.ensure(disk, zone, size, type) ⇒ Object
88 89 90 |
# File 'lib/gclouder/resources/compute/disks.rb', line 88 def self.ensure(disk, zone, size, type) Resource.ensure :"compute disks", disk, "--zone #{zone} --size #{size} --type #{type}" end |