Class: MintPress::InfrastructureOci::DrgAttachment

Inherits:
Object
  • Object
show all
Includes:
MintLogger, TagUtils, Mixins::Properties
Defined in:
src/mintpress-infrastructure-oci/lib/mintpress-infrastructure-oci/oci_dynamic_routing_gateway.rb

Properties (Read/Write)

  • #name ⇒ String
    'The name of the DRG Attachment'

    Property Attributes
    • alias:display_name
    
    
    141
    # File 'src/mintpress-infrastructure-oci/lib/mintpress-infrastructure-oci/oci_dynamic_routing_gateway.rb', line 141
    
    property :name, type: String, description: 'The name of the DRG Attachment', alias: :display_name
  • #platform ⇒ MintPress::InfrastructureOci::OciPlatform (Default Value: Proc.new { if opts[:provider] MintPress::InfrastructureOci::OciPlatform.new(:provider => opts[:provider]) else MintPress::InfrastructureOci::OciPlatform.new end })
    'This incapsulates all properties required for the OCI provider.'

    Property Attributes
    • defaultProc.new { if opts[:provider] MintPress::InfrastructureOci::OciPlatform.new(:provider => opts[:provider]) else MintPress::InfrastructureOci::OciPlatform.new end }
    
    
    142
    143
    144
    145
    146
    147
    148
    # File 'src/mintpress-infrastructure-oci/lib/mintpress-infrastructure-oci/oci_dynamic_routing_gateway.rb', line 142
    
    property :platform, type: MintPress::InfrastructureOci::OciPlatform, default: Proc.new {
      if opts[:provider]
        MintPress::InfrastructureOci::OciPlatform.new(:provider => opts[:provider])
      else
        MintPress::InfrastructureOci::OciPlatform.new
      end
    }, description: 'This incapsulates all properties required for the OCI provider.'
  • #compartment_id ⇒ String (Default Value: Proc.new { self.platform.compartment })

    Property Attributes
    • defaultProc.new { self.platform.compartment }
    
    
    149
    # File 'src/mintpress-infrastructure-oci/lib/mintpress-infrastructure-oci/oci_dynamic_routing_gateway.rb', line 149
    
    property :compartment_id, type: String, default: Proc.new { self.platform.compartment }
  • #vcn ⇒ [MintPress::InfrastructureOci::VCN,String]
    'Either the VCN object or the OCID of the VCN this security list associates with. The VCN must exists before you can create the security list.'

    Property Attributes
    
    
    151
    # File 'src/mintpress-infrastructure-oci/lib/mintpress-infrastructure-oci/oci_dynamic_routing_gateway.rb', line 151
    
    property :vcn, type: [MintPress::InfrastructureOci::VCN,String], description: 'Either the VCN object or the OCID of the VCN this security list associates with. The VCN must exists before you can create the security list.'
  • #vcn_id ⇒ String (Default Value: Proc.new { self.get_vcn_id })
    'vcn id'

    Property Attributes
    • defaultProc.new { self.get_vcn_id }
    
    
    152
    # File 'src/mintpress-infrastructure-oci/lib/mintpress-infrastructure-oci/oci_dynamic_routing_gateway.rb', line 152
    
    property :vcn_id, type: String, default: Proc.new { self.get_vcn_id }, description: 'vcn id'
  • #drg_route_table_id ⇒ String
    'The OCID of the DRG route table that is assigned to this attachment. If not provided, we create one.'

    Property Attributes
    
    
    153
    # File 'src/mintpress-infrastructure-oci/lib/mintpress-infrastructure-oci/oci_dynamic_routing_gateway.rb', line 153
    
    property :drg_route_table_id, type: String, description: 'The OCID of the DRG route table that is assigned to this attachment. If not provided, we create one.'
  • #is_cross_tenancy ⇒ [TrueClass, FalseClass]
    'Indicates whether the DRG attachment and attached network live in a different tenancy than the DRG.'

    Property Attributes
    • alias:cross_tenancy
    
    
    154
    # File 'src/mintpress-infrastructure-oci/lib/mintpress-infrastructure-oci/oci_dynamic_routing_gateway.rb', line 154
    
    property :is_cross_tenancy, type: [TrueClass, FalseClass], description: 'Indicates whether the DRG attachment and attached network live in a different tenancy than the DRG.', alias: :cross_tenancy
  • #network_details
    'details about what network types are attached to the drg.'

    Property Attributes
    
    
    156
    # File 'src/mintpress-infrastructure-oci/lib/mintpress-infrastructure-oci/oci_dynamic_routing_gateway.rb', line 156
    
    property :network_details, description: 'details about what network types are attached to the drg.'
  • #drg ⇒ [MintPress::InfrastructureOci::DynamicRoutingGateway]
    'DRG this attachment belongs to.'

    Property Attributes
    
    
    158
    # File 'src/mintpress-infrastructure-oci/lib/mintpress-infrastructure-oci/oci_dynamic_routing_gateway.rb', line 158
    
    property :drg, type: [MintPress::InfrastructureOci::DynamicRoutingGateway], description: 'DRG this attachment belongs to.'
  • #drg_id ⇒ String
    'ID for the DRG this attachment is attached to'

    Property Attributes
    
    
    159
    # File 'src/mintpress-infrastructure-oci/lib/mintpress-infrastructure-oci/oci_dynamic_routing_gateway.rb', line 159
    
    property :drg_id, type: String, description: 'ID for the DRG this attachment is attached to'
  • #id ⇒ String
    'ID for the DRG attachment itself.'

    Property Attributes
    
    
    160
    # File 'src/mintpress-infrastructure-oci/lib/mintpress-infrastructure-oci/oci_dynamic_routing_gateway.rb', line 160
    
    property :id, type: String, description: 'ID for the DRG attachment itself.'
  • #vcn_route_table_id ⇒ String
    'Route table id for VCN. If specified, the VCN attachment will use this route table.'

    Property Attributes
    
    
    162
    # File 'src/mintpress-infrastructure-oci/lib/mintpress-infrastructure-oci/oci_dynamic_routing_gateway.rb', line 162
    
    property :vcn_route_table_id, type: String, description: 'Route table id for VCN. If specified, the VCN attachment will use this route table.'
  • #vcn_route_type ⇒ String (Default Value: 'SUBNET_CIDRS')

    Property Attributes
    • default'SUBNET_CIDRS'
    • allowed_values['VCN_CIDRS', 'SUBNET_CIDRS']
    • insensitivetrue
    
    
    164
    # File 'src/mintpress-infrastructure-oci/lib/mintpress-infrastructure-oci/oci_dynamic_routing_gateway.rb', line 164
    
    property  :vcn_route_type, type: String, default: 'SUBNET_CIDRS', allowed_values: ['VCN_CIDRS', 'SUBNET_CIDRS'], insensitive: true
  • #attachment_type ⇒ String (Default Value: 'VCN')
    'What kind of attachment to create. IPSEC_TUNNEL, VIRTUAL_CIRCUIT, REMOTE_PEERING_CONNECTION, VCN, ALL'

    Property Attributes
    • insensitivetrue
    • default'VCN'
    
    
    166
    # File 'src/mintpress-infrastructure-oci/lib/mintpress-infrastructure-oci/oci_dynamic_routing_gateway.rb', line 166
    
    property :attachment_type, type: String, insensitive: true, default: 'VCN', description: 'What kind of attachment to create. IPSEC_TUNNEL, VIRTUAL_CIRCUIT, REMOTE_PEERING_CONNECTION, VCN, ALL'

Properties (Read Only)

Constant Summary

Constants included from MintLogger

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

Instance Attribute Summary

Attributes included from Mixins::Properties

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

Instance Method Summary collapse

Methods included from TagUtils

#clear_tags, #fetch_resource_details, #import_tag_properties, #manage_tags, #merge_defined_tags, #remove_defined_tags, #remove_tags, #update_resource, #update_tags

Methods included from CommonUtils

#create_status_check_proc, #destroy_status_check_proc, #filter_nil_properties, #populate_properties

Methods included from MintLogger::Utils::Common

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

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

Constructor Details

#initialize(opts = {}) ⇒ DrgAttachment

Returns a new instance of DrgAttachment.

Instance Method Details

#createObject

#destroyObject

#exists?Boolean

Returns:

  • (Boolean)

#get_vcn_idObject

#harvestObject

#remove_route_distributionObject

#updateObject