Sha256: 9ad0628a22ab0c5f97aa22a4c59101e86aacafb25e3bf8cad9236e2e96c9019b
Contents?: true
Size: 887 Bytes
Versions: 2
Compression:
Stored size: 887 Bytes
Contents
module Fog module VcloudDirector class Compute class Real # Place the vApp in maintenance mode. # # When a vApp is in maintenance mode, it is read-only to users. Only a # system administrator can modify it. User-initiated tasks that are # running when the vApp enters maintenance mode continue to run. # # @param [String] id Object identifier of the vApp. # @return [Excon::Response] # # @see http://pubs.vmware.com/vcd-51/topic/com.vmware.vcloud.api.reference.doc_51/doc/operations/POST-EnterMaintenanceMode.html # @since vCloud API version 1.5 def post_enter_maintenance_mode(id) request( :expects => 204, :method => 'POST', :path => "vApp/#{id}/action/enterMaintenanceMode" ) end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems