Class: Azure::Profiles::Latest::Peering::Mgmt::PeeringManagementClass
- Inherits:
-
Object
- Object
- Azure::Profiles::Latest::Peering::Mgmt::PeeringManagementClass
- Defined in:
- lib/latest/modules/peering_profile_module.rb
Defined Under Namespace
Classes: ModelClasses
Instance Attribute Summary collapse
-
#base_url ⇒ Object
readonly
Returns the value of attribute base_url.
-
#configurable ⇒ Object
readonly
Returns the value of attribute configurable.
-
#legacy_peerings ⇒ Object
readonly
Returns the value of attribute legacy_peerings.
-
#model_classes ⇒ Object
readonly
Returns the value of attribute model_classes.
-
#operations ⇒ Object
readonly
Returns the value of attribute operations.
-
#options ⇒ Object
readonly
Returns the value of attribute options.
-
#peer_asns ⇒ Object
readonly
Returns the value of attribute peer_asns.
-
#peering_locations ⇒ Object
readonly
Returns the value of attribute peering_locations.
-
#peering_service_locations ⇒ Object
readonly
Returns the value of attribute peering_service_locations.
-
#peering_service_prefixes ⇒ Object
readonly
Returns the value of attribute peering_service_prefixes.
-
#peering_service_providers ⇒ Object
readonly
Returns the value of attribute peering_service_providers.
-
#peering_services ⇒ Object
readonly
Returns the value of attribute peering_services.
-
#peerings ⇒ Object
readonly
Returns the value of attribute peerings.
-
#prefixes ⇒ Object
readonly
Returns the value of attribute prefixes.
Instance Method Summary collapse
- #add_telemetry(client) ⇒ Object
-
#initialize(configurable, base_url = nil, options = nil) ⇒ PeeringManagementClass
constructor
A new instance of PeeringManagementClass.
- #method_missing(method, *args) ⇒ Object
Constructor Details
#initialize(configurable, base_url = nil, options = nil) ⇒ PeeringManagementClass
Returns a new instance of PeeringManagementClass.
75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 |
# File 'lib/latest/modules/peering_profile_module.rb', line 75 def initialize(configurable, base_url=nil, =nil) @configurable, @base_url, @options = configurable, base_url, @client_0 = Azure::Peering::Mgmt::V2019_08_01_preview::PeeringClient.new(configurable.credentials, base_url, ) if(@client_0.respond_to?(:subscription_id)) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) @legacy_peerings = @client_0.legacy_peerings @operations = @client_0.operations @peer_asns = @client_0.peer_asns @peering_locations = @client_0.peering_locations @peerings = @client_0.peerings @peering_service_locations = @client_0.peering_service_locations @peering_service_prefixes = @client_0.peering_service_prefixes @prefixes = @client_0.prefixes @peering_service_providers = @client_0.peering_service_providers @peering_services = @client_0.peering_services @model_classes = ModelClasses.new end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(method, *args) ⇒ Object
102 103 104 105 106 107 108 |
# File 'lib/latest/modules/peering_profile_module.rb', line 102 def method_missing(method, *args) if @client_0.respond_to?method @client_0.send(method, *args) else super end end |
Instance Attribute Details
#base_url ⇒ Object (readonly)
Returns the value of attribute base_url.
73 74 75 |
# File 'lib/latest/modules/peering_profile_module.rb', line 73 def base_url @base_url end |
#configurable ⇒ Object (readonly)
Returns the value of attribute configurable.
73 74 75 |
# File 'lib/latest/modules/peering_profile_module.rb', line 73 def configurable @configurable end |
#legacy_peerings ⇒ Object (readonly)
Returns the value of attribute legacy_peerings.
73 74 75 |
# File 'lib/latest/modules/peering_profile_module.rb', line 73 def legacy_peerings @legacy_peerings end |
#model_classes ⇒ Object (readonly)
Returns the value of attribute model_classes.
73 74 75 |
# File 'lib/latest/modules/peering_profile_module.rb', line 73 def model_classes @model_classes end |
#operations ⇒ Object (readonly)
Returns the value of attribute operations.
73 74 75 |
# File 'lib/latest/modules/peering_profile_module.rb', line 73 def operations @operations end |
#options ⇒ Object (readonly)
Returns the value of attribute options.
73 74 75 |
# File 'lib/latest/modules/peering_profile_module.rb', line 73 def @options end |
#peer_asns ⇒ Object (readonly)
Returns the value of attribute peer_asns.
73 74 75 |
# File 'lib/latest/modules/peering_profile_module.rb', line 73 def peer_asns @peer_asns end |
#peering_locations ⇒ Object (readonly)
Returns the value of attribute peering_locations.
73 74 75 |
# File 'lib/latest/modules/peering_profile_module.rb', line 73 def peering_locations @peering_locations end |
#peering_service_locations ⇒ Object (readonly)
Returns the value of attribute peering_service_locations.
73 74 75 |
# File 'lib/latest/modules/peering_profile_module.rb', line 73 def peering_service_locations @peering_service_locations end |
#peering_service_prefixes ⇒ Object (readonly)
Returns the value of attribute peering_service_prefixes.
73 74 75 |
# File 'lib/latest/modules/peering_profile_module.rb', line 73 def peering_service_prefixes @peering_service_prefixes end |
#peering_service_providers ⇒ Object (readonly)
Returns the value of attribute peering_service_providers.
73 74 75 |
# File 'lib/latest/modules/peering_profile_module.rb', line 73 def peering_service_providers @peering_service_providers end |
#peering_services ⇒ Object (readonly)
Returns the value of attribute peering_services.
73 74 75 |
# File 'lib/latest/modules/peering_profile_module.rb', line 73 def peering_services @peering_services end |
#peerings ⇒ Object (readonly)
Returns the value of attribute peerings.
73 74 75 |
# File 'lib/latest/modules/peering_profile_module.rb', line 73 def peerings @peerings end |
#prefixes ⇒ Object (readonly)
Returns the value of attribute prefixes.
73 74 75 |
# File 'lib/latest/modules/peering_profile_module.rb', line 73 def prefixes @prefixes end |