src/vsphere_cpi/lib/nsxt/nsxt_client/api/nsx_component_administration_api.rb
# Suspend any running restore operation
# Suspend any currently running restore operation. The restore operation is made up of a number of steps. When this call is issued, any currently running step is allowed to finish (successfully or with errors), and the next step (and therefore the entire restore operation) is suspended until a subsequent resume or cancel call is issued. This operation is only valid when a GET cluster/restore/status returns a status with value RUNNING. Otherwise, a 409 response is returned. 
# @param [Hash] opts the optional parameters
# @return [Array<(ClusterRestoreStatus, Fixnum, Hash)>] ClusterRestoreStatus data, response status code and response headers
Suspend any running restore operation
Suspend any currently running restore operation. The restore operation is made up of a number of steps. When this call is issued, any currently running step is allowed to finish (successfully or with errors), and the next step (and therefore the entire restore operation) is suspended until a subsequent resume or cancel call is issued. This operation is only valid when a GET cluster/restore/status returns a status with value RUNNING. Otherwise, a 409 response is returned.
Suspend any running restore operation Suspend any currently running restore operation . The restore operation is made up of a number of steps . When this call is issued any currently running step is allowed to finish ( successfully or with errors ) and the next step ( and therefore the entire restore operation ) is suspended until a subsequent resume or cancel call is issued . This operation is only valid when a GET cluster / restore / status returns a status with value RUNNING . Otherwise a 409 response is returned .
def suspend_cluster_restore_suspend_with_http_info(opts = {})
      if @api_client.config.debugging
        @api_client.config.logger.debug "Calling API: NsxComponentAdministrationApi.suspend_cluster_restore_suspend ..."
      end
      local_var_path = "/cluster/restore?action=suspend"
      query_params = {}
      header_params = {}
      header_params['Accept'] = @api_client.select_header_accept(['application/json'])
      header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
      form_params = {}
      post_body = nil
      auth_names = ['BasicAuth']
      data, status_code, headers = @api_client.call_api(:POST, local_var_path,
        :header_params => header_params,
        :query_params => query_params,
        :form_params => form_params,
        :body => post_body,
        :auth_names => auth_names,
        :return_type => 'ClusterRestoreStatus')
      if @api_client.config.debugging
        @api_client.config.logger.debug "API called: NsxComponentAdministrationApi#suspend_cluster_restore_suspend\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
      end
      return data, status_code, headers
    end
def suspend_cluster_restore_suspend_with_http_info ( opts = { } ) if @api_client . config . debugging @api_client . config . logger . debug "Calling API: NsxComponentAdministrationApi.suspend_cluster_restore_suspend ..." end local_var_path = "/cluster/restore?action=suspend" query_params = { } header_params = { } header_params [ 'Accept' ] = @api_client . select_header_accept ( [ 'application/json' ] ) header_params [ 'Content-Type' ] = @api_client . select_header_content_type ( [ 'application/json' ] ) form_params = { } post_body = nil auth_names = [ 'BasicAuth' ] data , status_code , headers = @api_client . call_api ( :POST , local_var_path , :header_params => header_params , :query_params => query_params , :form_params => form_params , :body => post_body , :auth_names => auth_names , :return_type => 'ClusterRestoreStatus' ) if @api_client . config . debugging @api_client . config . logger . debug "API called: NsxComponentAdministrationApi#suspend_cluster_restore_suspend\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data , status_code , headers end
Suspend any running restore operation
Suspend any currently running restore operation.
Suspend any running restore operation Suspend any currently running restore operation .
# resource path # query parameters # header parameters # HTTP header 'Accept' (if needed) # HTTP header 'Content-Type' # form parameters # http body (model)
ClusterRestoreStatus data, response status code and response headers
ClusterRestoreStatus data response status code and response headers
Array<(ClusterRestoreStatus, Fixnum, Hash)>
opts
opts the optional parameters
opts the optional parameters