Class Openwsman::ClientOptions
In: ../openwsman.i
openwsman/openwsman.rb
Parent: Object

Methods

Public Class methods

new()

Public Instance methods

Add an option (for OptionSet) as key/value pair

NOTE: the value must be properly escaped (replace & with &, etc.) in Ruby use CGI::escapeHTML()

Add a property as key/value pair

  • Input parameters to ‘invoke‘d methods are represented as ClientOption properties
  • Key is evaluated as String
  • Value is evaluated as String or EndPointReference

Add a string property as key/value pair (an ‘add_property’ analogue for adding array items)

  • Input parameters to ‘invoke‘d methods are represented as ClientOption properties

Add a selector as key/value pair

NOTE: the string value must be properly escaped (replace & with &, etc.) in Ruby use CGI::escapeHTML()

Get CIM Namespace for Openwsman Note: Microsoft WinRM set the resource namespace by attaching it to the resource URI

See also: Openwsman.epr_prefix_for

Set CIM Namespace for Openwsman (default is root/cimv2) Note: Microsoft WinRM set the resource namespace by attaching it to the resource URI

See also: Openwsman.epr_prefix_for

Reset dump all operations to the dumpfile

Used for debugging on the wire-level

See also: set_dump_request

clear option flag(s)

clears specific flag(s) from options

Get subscription delivery mode (push, pushwithack,events,pull)

Set subscription delivery mode (push, pushwithack,events,pull)

Get subscription delivery security mode

Set subscription delivery security mode

(auto, http basic, http digest, https basic, https digest, https mutual, https mutual basic, https mutual digest, http spnego kerberos, https spnego kerberos, https mutual spnego kerberos)

flags()

Get fragment filter See DSP0226, section 7.7.

Set fragment filter See DSP0226, section 7.7. (Supported Dialects: XPATH)

Get subscription heartbeat interval (in seconds)

Set subscription heartbeat interval (in seconds)

Return enumeration elements limit

Limit number of elements returned by enumeration

max_envelope_size()

Limit size of result document

Get options (for OptionSet) as Hash

Set options (for OptionSet) from Hash

NOTE: the values must be properly escaped (replace & with &, etc.) in Ruby use CGI::escapeHTML()

Get properties as Hash

  • Input parameters to ‘invoke‘d methods are represented as ClientOption properties

Get WS-Addressing reference properties Returns the string representation of a valid XML document

Set WS-Addressing reference properties Argument must the string representation of a valid XML document

reset option flags

sets option flags bitmask to FLAG_NONE

Request to dump all operations to the dumpfile

Used for debugging on the wire-level

See also: clear_dump_request

Get subscription expiry timeout (in seconds)

Set subscription expiry timeout (in seconds)

timeout()

[Validate]