Method: QingCloud::SDK::SharedStorageService#detach_from_s2_shared_target

Defined in:
lib/qingcloud/sdk/service/shared_storage.rb

#detach_from_s2_shared_target(shared_target: '', volumes: []) ⇒ Object



373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
# File 'lib/qingcloud/sdk/service/shared_storage.rb', line 373

def detach_from_s2_shared_target(shared_target: '', volumes: [])
  input = {
    config:         config,
    properties:     properties,
    api_name:       'DetachFromS2SharedTarget',
    request_method: 'GET',
    request_params: {
      'shared_target' => shared_target,
      'volumes'       => volumes,
    },
  }

  detach_from_s2_shared_target_input_validate input

  request = Request.new input
  request.send
end