Class: MintPress::OracleTrafficDirector::StandaloneInstance

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

Overview

delete an Oracle Traffic Director instance with the specified name in an Oracle Traffic Director standalone domain.

Properties (Read/Write)

  • #name ⇒ String

    Property Attributes
    
    
    27
    # File 'src/oracle-otd/lib/oracle-otd/generated/standalone_instance.rb', line 27
    
    property :name, type: String
  • #instance ⇒ [MintPress::OracleTrafficDirector::Instance]
    'Name of the instance to be deleted.'

    Property Attributes
    • otd_proptrue
    • otd_mandatorytrue
    • fromString
    • delete_proptrue
    • otd_delete_mandatorytrue
    
    
    30
    # File 'src/oracle-otd/lib/oracle-otd/generated/standalone_instance.rb', line 30
    
    property :instance, description: 'Name of the instance to be deleted.', otd_prop: true, otd_mandatory: true, type: [MintPress::OracleTrafficDirector::Instance], from: String, delete_prop: true, otd_delete_mandatory: true
  • #domain_home ⇒ String
    'Path to the domain directory which should contain the Oracle Traffic Director standalone domain.'

    Property Attributes
    • otd_proptrue
    • otd_mandatorytrue
    • delete_proptrue
    • otd_delete_mandatorytrue
    
    
    32
    # File 'src/oracle-otd/lib/oracle-otd/generated/standalone_instance.rb', line 32
    
    property :domain_home, description: 'Path to the domain directory which should contain the Oracle Traffic Director standalone domain.', otd_prop: true, otd_mandatory: true, type: String, delete_prop: true, otd_delete_mandatory: true
  • #listener_port ⇒ Integer
    'Listener port through which the server accepts requests. Range of values: port number should be an integer between 1 and 65535, both inclusive.'

    Property Attributes
    • otd_proptrue
    • otd_mandatorytrue
    
    
    35
    36
    # File 'src/oracle-otd/lib/oracle-otd/generated/standalone_instance.rb', line 35
    
    property :listener_port, description: 'Listener port through which the server accepts requests.
    Range of values: port number should be an integer between 1 and 65535, both inclusive.', otd_prop: true, otd_mandatory: true, type: Integer
  • #server_name ⇒ String (Default Value: Proc.new {self.name})
    'Valid only if origin-server-type is http or https. The server name is used in any URLs that are generated automatically by the server and sent to the client. This server name should be the virtual host name or alias name if your server uses an alias. If a colon and port number are appended to the server name then that port is used in the generated URLs.'

    Property Attributes
    • otd_proptrue
    • defaultProc.new {self.name}
    
    
    38
    # File 'src/oracle-otd/lib/oracle-otd/generated/standalone_instance.rb', line 38
    
    property :server_name, description: 'Valid only if origin-server-type is http or https. The server name is used in any URLs that are generated automatically by the server and sent to the client. This server name should be the virtual host name or alias name if your server uses an alias. If a colon and port number are appended to the server name then that port is used in the generated URLs.', otd_prop: true, type: String, default: Proc.new {self.name}
  • #ip ⇒ String
    'The server will bind to this Internet Protocol (IP) address for the default listener. Only traffic sent to this IP address will be serviced. * indicates that the server will listen on all IP addresses. Range of values: *, a hostname, or an IPV4/IPV6 address.'

    Property Attributes
    • otd_proptrue
    
    
    41
    42
    # File 'src/oracle-otd/lib/oracle-otd/generated/standalone_instance.rb', line 41
    
    property :ip, description: 'The server will bind to this Internet Protocol (IP) address for the default listener. Only traffic sent to this IP address will be serviced. * indicates that the server will listen on all IP addresses.
    Range of values: *, a hostname, or an IPV4/IPV6 address.', otd_prop: true, type: String
  • #origin_server_type ⇒ String
    'Type of requests handled by the origin servers. Range of values: http/https/tcp. Default: http.'

    Property Attributes
    • otd_proptrue
    
    
    46
    47
    48
    # File 'src/oracle-otd/lib/oracle-otd/generated/standalone_instance.rb', line 46
    
    property :origin_server_type, description: 'Type of requests handled by the origin servers.
    Range of values: http/https/tcp.
    Default: http.', otd_prop: true, type: String
  • #origin_server ⇒ Hash of ⇒ [MintPress::OracleTrafficDirector::OriginServer]
    'A back-end server to which Oracle Traffic Director forwards requests that it receives from clients, and from which it receives responses to client requests. The origin servers could, for example, be application servers like Oracle WebLogic Server, web servers, LDAP servers, and so on. Specified as a comma separated list of origin servers of the format host:port.'

    Property Attributes
    • otd_proptrue
    • fromString
    
    
    51
    52
    # File 'src/oracle-otd/lib/oracle-otd/generated/standalone_instance.rb', line 51
    
    property :origin_server, description: 'A back-end server to which Oracle Traffic Director forwards requests that it receives from clients, and from which it receives responses to client requests. The origin servers could, for example, be application servers like Oracle WebLogic Server, web servers, LDAP servers, and so on.
    Specified as a comma separated list of origin servers of the format host:port.', otd_prop: true, type: [MintPress::OracleTrafficDirector::OriginServer], from: String, hash: true

Properties (Read Only)

Constant Summary collapse

MODEL_PARENTS =
nil
LIST_PARAMS =
nil
GET_PARAMS =
nil

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 = {}) ⇒ StandaloneInstance

Returns a new instance of StandaloneInstance.

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)