Class: MintPress::OracleTrafficDirector::OriginServerPool

Inherits:
Object
  • Object
show all
Includes:
MintLogger, Mixins::Properties, OtdCommon
Defined in:
src/oracle-otd/lib/oracle-otd/generated/origin_server_pool.rb

Overview

set the following origin-server pool properties:

Properties (Read/Write)

  • #name ⇒ String

    Property Attributes
    
    
    39
    # File 'src/oracle-otd/lib/oracle-otd/generated/origin_server_pool.rb', line 39
    
    property :name, type: String
  • #configuration ⇒ [MintPress::OracleTrafficDirector::Configuration]
    'Name of the configuration.'

    Property Attributes
    • otd_proptrue
    • otd_mandatorytrue
    • fromString
    • delete_proptrue
    • otd_delete_mandatorytrue
    • set_proptrue
    
    
    42
    # File 'src/oracle-otd/lib/oracle-otd/generated/origin_server_pool.rb', line 42
    
    property :configuration, description: 'Name of the configuration.', otd_prop: true, otd_mandatory: true, type: [MintPress::OracleTrafficDirector::Configuration], from: String, delete_prop: true, otd_delete_mandatory: true, set_prop: true
  • #origin_server_pool ⇒ String (Default Value: Proc.new { self.name })
    'Name of the origin server pool.'

    Property Attributes
    • otd_proptrue
    • otd_mandatorytrue
    • defaultProc.new { self.name }
    • delete_proptrue
    • otd_delete_mandatorytrue
    • set_proptrue
    
    
    44
    # File 'src/oracle-otd/lib/oracle-otd/generated/origin_server_pool.rb', line 44
    
    property :origin_server_pool, description: 'Name of the origin server pool.', otd_prop: true, otd_mandatory: true, type: String, default: Proc.new { self.name }, delete_prop: true, otd_delete_mandatory: true, set_prop: true
  • #origin_server ⇒ Hash of ⇒ [MintPress::OracleTrafficDirector::OriginServer]
    'Represents an origin server that belongs to this server pool. Multiple comma separated values can be specified.'

    Property Attributes
    • otd_proptrue
    • fromString
    
    
    46
    # File 'src/oracle-otd/lib/oracle-otd/generated/origin_server_pool.rb', line 46
    
    property :origin_server, description: 'Represents an origin server that belongs to this server pool. Multiple comma separated values can be specified.', otd_prop: true, type: [MintPress::OracleTrafficDirector::OriginServer], from: String, hash: true
  • #type ⇒ String
    'Specifies the type of (requests handled by) every server in this server pool. Range of values: tcp, http, or https. Default: http.'

    Property Attributes
    • otd_proptrue
    
    
    50
    51
    52
    # File 'src/oracle-otd/lib/oracle-otd/generated/origin_server_pool.rb', line 50
    
    property :type, description: 'Specifies the type of (requests handled by) every server in this server pool.
    Range of values: tcp, http, or https.
    Default: http.', otd_prop: true, type: String
  • #family ⇒ String
    'The socket family used to connect to servers in this pool. Range of values: default, inet, inet6, or inet-sdp. Default: auto-tuned.'

    Property Attributes
    • otd_proptrue
    • set_proptrue
    
    
    56
    57
    58
    # File 'src/oracle-otd/lib/oracle-otd/generated/origin_server_pool.rb', line 56
    
    property :family, description: 'The socket family used to connect to servers in this pool.
    Range of values: default, inet, inet6, or inet-sdp.
    Default: auto-tuned.', otd_prop: true, type: String, set_prop: true
  • #load_distribution ⇒ String
    'Algorithm that is used for load distribution of this server pool. Range of values: round-robin, least-connection-count, or least-response-time. Default: least-connection-count.'

    Property Attributes
    • otd_proptrue
    • set_proptrue
    
    
    62
    63
    64
    # File 'src/oracle-otd/lib/oracle-otd/generated/origin_server_pool.rb', line 62
    
    property :load_distribution, description: 'Algorithm that is used for load distribution of this server pool.
    Range of values: round-robin, least-connection-count, or least-response-time.
    Default: least-connection-count.', otd_prop: true, type: String, set_prop: true
  • #proxy_server ⇒ String
    'Name of the proxy-server in the form of host:port.'

    Property Attributes
    • otd_proptrue
    • set_proptrue
    
    
    66
    # File 'src/oracle-otd/lib/oracle-otd/generated/origin_server_pool.rb', line 66
    
    property :proxy_server, description: 'Name of the proxy-server in the form of host:port.', otd_prop: true, type: String, set_prop: true
  • #queue_timeout ⇒ Float
    'Timeout (in seconds) for which the request waits in the queue for a connection to an origin-server. After the timeout, request is rejected. Range of values: 0.001 - 3600. Default: 30.'

    Property Attributes
    • set_proptrue
    
    
    70
    71
    72
    # File 'src/oracle-otd/lib/oracle-otd/generated/origin_server_pool.rb', line 70
    
    property :queue_timeout, description: 'Timeout (in seconds) for which the request waits in the queue for a connection to an origin-server. After the timeout, request is rejected.
    Range of values: 0.001 - 3600.
    Default: 30.', set_prop: true, type: Float
  • #tcp_proxy ⇒ Hash of ⇒ MintPress::OracleTrafficDirector::TcpProxy
    'All child TcpProxy objects'

    Property Attributes
    
    
    74
    # File 'src/oracle-otd/lib/oracle-otd/generated/origin_server_pool.rb', line 74
    
    property :tcp_proxy, type: MintPress::OracleTrafficDirector::TcpProxy, hash: true, description: 'All child TcpProxy objects'
  • #virtual_server ⇒ Hash of ⇒ MintPress::OracleTrafficDirector::VirtualServer
    'All child VirtualServer objects'

    Property Attributes
    
    
    76
    # File 'src/oracle-otd/lib/oracle-otd/generated/origin_server_pool.rb', line 76
    
    property :virtual_server, type: MintPress::OracleTrafficDirector::VirtualServer, hash: true, description: 'All child VirtualServer objects'
  • #maintenance ⇒ MintPress::OracleTrafficDirector::OriginServerPoolMaintenance (Default Value: MintPress::OracleTrafficDirector::OriginServerPoolMaintenance.new)
    'OriginServerPoolMaintenance static object'

    Property Attributes
    • defaultMintPress::OracleTrafficDirector::OriginServerPoolMaintenance.new
    
    
    78
    # File 'src/oracle-otd/lib/oracle-otd/generated/origin_server_pool.rb', line 78
    
    property :maintenance, type: MintPress::OracleTrafficDirector::OriginServerPoolMaintenance, default: MintPress::OracleTrafficDirector::OriginServerPoolMaintenance.new, description: 'OriginServerPoolMaintenance static object'
  • #health_check ⇒ MintPress::OracleTrafficDirector::HealthCheck (Default Value: MintPress::OracleTrafficDirector::HealthCheck.new)
    'HealthCheck static object'

    Property Attributes
    • defaultMintPress::OracleTrafficDirector::HealthCheck.new
    
    
    80
    # File 'src/oracle-otd/lib/oracle-otd/generated/origin_server_pool.rb', line 80
    
    property :health_check, type: MintPress::OracleTrafficDirector::HealthCheck, default: MintPress::OracleTrafficDirector::HealthCheck.new, description: 'HealthCheck static object'
  • #ssl ⇒ MintPress::OracleTrafficDirector::OriginServerPoolSsl (Default Value: MintPress::OracleTrafficDirector::OriginServerPoolSsl.new)
    'OriginServerPoolSsl static object'

    Property Attributes
    • defaultMintPress::OracleTrafficDirector::OriginServerPoolSsl.new
    
    
    82
    # File 'src/oracle-otd/lib/oracle-otd/generated/origin_server_pool.rb', line 82
    
    property :ssl, type: MintPress::OracleTrafficDirector::OriginServerPoolSsl, default: MintPress::OracleTrafficDirector::OriginServerPoolSsl.new, description: 'OriginServerPoolSsl static object'
  • #parent ⇒ MintPress::OracleTrafficDirector::Configuration

    Property Attributes
    
    
    83
    # File 'src/oracle-otd/lib/oracle-otd/generated/origin_server_pool.rb', line 83
    
    property :parent, type: MintPress::OracleTrafficDirector::Configuration

Properties (Read Only)

Constant Summary collapse

MODEL_PARENTS =
["configuration"]
LIST_PARAMS =
["configuration"]
GET_PARAMS =
["configuration", "origin-server-pool"]

Constants included from MintLogger

MintLogger::DEBUG, MintLogger::ERROR, MintLogger::FATAL, MintLogger::INFO, MintLogger::UNKNOWN, MintLogger::VERBOSE, MintLogger::WARN

Instance Attribute Summary collapse

Attributes included from Mixins::Properties

#autopush_set_cache, #dynamic_create, #harvest_on_access, #harvest_undefined_only, #harvested, #tree_root

Attributes included from OtdCommon

#harvested

Instance Method Summary collapse

Methods included from Mixins::Properties

#[], #[]=, #add_validate_report_result, #armour_set_property, #array_contains?, #array_is_a?, #check_autopush, #check_stack_overflow, #clone_property_object, #cloner_handle_single_property, #coerce_single, #contains_as_string?, #display_validate_report_result, #double_initialize?, #dump_to_hash, #find_parent, #find_parent_by_identity, #generate_accessor_functions, #get_canonical_renamed, #get_from_opts, #get_my_name, #get_property, #get_property_item, #has?, included, #initialize_validate_report, #inspect, #is_cloned_object?, #is_mintpress_object?, #is_probably_canonical?, #is_set?, #local_debug, #local_info, #local_verbose, #mintpress_property_definitions, #place_object_by_identity, #process_properties, #prop_set?, #property, #property_definitions, #property_details, #property_is_simple_object?, #push_root!, #require_property, #require_update, #retrieve_docstring, #sanitize, #set_map_dirty, #set_property, #set_property_item, #show_short_array, #strip_defaults!, #synchronize, #uncloned_property_definitions, #update_map, #validate, #validate_generic, #validate_properties, #validate_property, #validate_required, #version_allowed?, #weakref

Methods included from MintLogger::Utils::Common

#boolean_val, #has_value?, #no_value?, #nvl, #path_as_symbol, #ruby_level_to_send

Methods included from OtdCommon

#can_exist?, #creator_available?, #delete_generic, #delete_props, #destroy_generic, #disable_props, #empty_mbean?, #enable_prop_generic, #enable_props, #exist_generic?, #form_props, #get_domain, #get_property_from_target, #get_props, #handle_type, #harvest, #harvesters, #harvesting, #list_generic, #list_props, #otd_create_generic, #otd_propize, #set_prop_generic, #set_props

Constructor Details

#initialize(opts = {}) ⇒ OriginServerPool

Returns a new instance of OriginServerPool.

Instance Attribute Details

#get_paramsObject

Returns the value of attribute get_params.

#list_paramsObject

Returns the value of attribute list_params.

#model_parentsObject

Returns the value of attribute model_parents.

Instance Method Details

#createObject

#destroyObject

#exist?Boolean

Returns:

  • (Boolean)