Sha256: 272320e3c72cc6f309145eaa7c19bfd30920b16a8c049db22e9a6db28e6e59a1

Contents?: true

Size: 649 Bytes

Versions: 2

Compression:

Stored size: 649 Bytes

Contents

module Fog
  module VcloudDirector
    class Compute
      class Real
        # Take the vApp out of maintenance mode.
        #
        # @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-ExitMaintenanceMode.html
        # @since vCloud API version 1.5
        def post_exit_maintenance_mode(id)
          request(
            :expects => 204,
            :method  => 'POST',
            :path    => "vApp/#{id}/action/exitMaintenanceMode"
          )
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
fog-vcloud-director-0.3.1 lib/fog/vcloud_director/requests/compute/post_exit_maintenance_mode.rb
fog-vcloud-director-0.3.0 lib/fog/vcloud_director/requests/compute/post_exit_maintenance_mode.rb