Class: Azure::Profiles::V2018_03_01::Network::Mgmt::NetworkManagementClass
- Inherits:
-
Object
- Object
- Azure::Profiles::V2018_03_01::Network::Mgmt::NetworkManagementClass
- Defined in:
- lib/v2018_03_01/modules/network_profile_module.rb
Defined Under Namespace
Classes: ModelClasses
Instance Attribute Summary collapse
-
#application_gateways ⇒ Object
readonly
Returns the value of attribute application_gateways.
-
#application_security_groups ⇒ Object
readonly
Returns the value of attribute application_security_groups.
-
#available_endpoint_services ⇒ Object
readonly
Returns the value of attribute available_endpoint_services.
-
#base_url ⇒ Object
readonly
Returns the value of attribute base_url.
-
#bgp_service_communities ⇒ Object
readonly
Returns the value of attribute bgp_service_communities.
-
#configurable ⇒ Object
readonly
Returns the value of attribute configurable.
-
#connection_monitors ⇒ Object
readonly
Returns the value of attribute connection_monitors.
-
#default_security_rules ⇒ Object
readonly
Returns the value of attribute default_security_rules.
-
#express_route_circuit_authorizations ⇒ Object
readonly
Returns the value of attribute express_route_circuit_authorizations.
-
#express_route_circuit_peerings ⇒ Object
readonly
Returns the value of attribute express_route_circuit_peerings.
-
#express_route_circuits ⇒ Object
readonly
Returns the value of attribute express_route_circuits.
-
#express_route_service_providers ⇒ Object
readonly
Returns the value of attribute express_route_service_providers.
-
#inbound_nat_rules ⇒ Object
readonly
Returns the value of attribute inbound_nat_rules.
-
#load_balancer_backend_address_pools ⇒ Object
readonly
Returns the value of attribute load_balancer_backend_address_pools.
-
#load_balancer_frontend_ipconfigurations ⇒ Object
readonly
Returns the value of attribute load_balancer_frontend_ipconfigurations.
-
#load_balancer_load_balancing_rules ⇒ Object
readonly
Returns the value of attribute load_balancer_load_balancing_rules.
-
#load_balancer_network_interfaces ⇒ Object
readonly
Returns the value of attribute load_balancer_network_interfaces.
-
#load_balancer_probes ⇒ Object
readonly
Returns the value of attribute load_balancer_probes.
-
#load_balancers ⇒ Object
readonly
Returns the value of attribute load_balancers.
-
#local_network_gateways ⇒ Object
readonly
Returns the value of attribute local_network_gateways.
-
#model_classes ⇒ Object
readonly
Returns the value of attribute model_classes.
-
#network_interface_ipconfigurations ⇒ Object
readonly
Returns the value of attribute network_interface_ipconfigurations.
-
#network_interface_load_balancers ⇒ Object
readonly
Returns the value of attribute network_interface_load_balancers.
-
#network_interfaces ⇒ Object
readonly
Returns the value of attribute network_interfaces.
-
#network_security_groups ⇒ Object
readonly
Returns the value of attribute network_security_groups.
-
#network_watchers ⇒ Object
readonly
Returns the value of attribute network_watchers.
-
#operations ⇒ Object
readonly
Returns the value of attribute operations.
-
#options ⇒ Object
readonly
Returns the value of attribute options.
-
#packet_captures ⇒ Object
readonly
Returns the value of attribute packet_captures.
-
#public_ipaddresses ⇒ Object
readonly
Returns the value of attribute public_ipaddresses.
-
#route_filter_rules ⇒ Object
readonly
Returns the value of attribute route_filter_rules.
-
#route_filters ⇒ Object
readonly
Returns the value of attribute route_filters.
-
#route_tables ⇒ Object
readonly
Returns the value of attribute route_tables.
-
#routes ⇒ Object
readonly
Returns the value of attribute routes.
-
#security_rules ⇒ Object
readonly
Returns the value of attribute security_rules.
-
#subnets ⇒ Object
readonly
Returns the value of attribute subnets.
-
#usages ⇒ Object
readonly
Returns the value of attribute usages.
-
#virtual_network_gateway_connections ⇒ Object
readonly
Returns the value of attribute virtual_network_gateway_connections.
-
#virtual_network_gateways ⇒ Object
readonly
Returns the value of attribute virtual_network_gateways.
-
#virtual_network_peerings ⇒ Object
readonly
Returns the value of attribute virtual_network_peerings.
-
#virtual_networks ⇒ Object
readonly
Returns the value of attribute virtual_networks.
Instance Method Summary collapse
- #add_telemetry(client) ⇒ Object
-
#initialize(configurable, base_url = nil, options = nil) ⇒ NetworkManagementClass
constructor
A new instance of NetworkManagementClass.
- #method_missing(method, *args) ⇒ Object
Constructor Details
#initialize(configurable, base_url = nil, options = nil) ⇒ NetworkManagementClass
Returns a new instance of NetworkManagementClass.
352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 |
# File 'lib/v2018_03_01/modules/network_profile_module.rb', line 352 def initialize(configurable, base_url=nil, =nil) @configurable, @base_url, @options = configurable, base_url, @client_0 = Azure::Network::Mgmt::V2017_03_30::NetworkManagementClient.new(configurable.credentials, base_url, ) if(@client_0.respond_to?(:subscription_id)) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) @client_1 = Azure::Network::Mgmt::V2017_10_01::NetworkManagementClient.new(configurable.credentials, base_url, ) if(@client_1.respond_to?(:subscription_id)) @client_1.subscription_id = configurable.subscription_id end add_telemetry(@client_1) @application_gateways = @client_1.application_gateways @application_security_groups = @client_1.application_security_groups @available_endpoint_services = @client_1.available_endpoint_services @express_route_circuit_authorizations = @client_1. @express_route_circuit_peerings = @client_1.express_route_circuit_peerings @express_route_circuits = @client_1.express_route_circuits @express_route_service_providers = @client_1.express_route_service_providers @load_balancers = @client_1.load_balancers @load_balancer_backend_address_pools = @client_1.load_balancer_backend_address_pools @load_balancer_frontend_ipconfigurations = @client_1.load_balancer_frontend_ipconfigurations @inbound_nat_rules = @client_1.inbound_nat_rules @load_balancer_load_balancing_rules = @client_1.load_balancer_load_balancing_rules @load_balancer_network_interfaces = @client_1.load_balancer_network_interfaces @load_balancer_probes = @client_1.load_balancer_probes @network_interfaces = @client_1.network_interfaces @network_interface_ipconfigurations = @client_1.network_interface_ipconfigurations @network_interface_load_balancers = @client_1.network_interface_load_balancers @network_security_groups = @client_1.network_security_groups @security_rules = @client_1.security_rules @default_security_rules = @client_1.default_security_rules @network_watchers = @client_1.network_watchers @packet_captures = @client_1.packet_captures @connection_monitors = @client_1.connection_monitors @operations = @client_1.operations @public_ipaddresses = @client_1.public_ipaddresses @route_filters = @client_1.route_filters @route_filter_rules = @client_1.route_filter_rules @route_tables = @client_1.route_tables @routes = @client_1.routes @bgp_service_communities = @client_1.bgp_service_communities @usages = @client_1.usages @virtual_networks = @client_1.virtual_networks @subnets = @client_1.subnets @virtual_network_peerings = @client_1.virtual_network_peerings @virtual_network_gateways = @client_1.virtual_network_gateways @virtual_network_gateway_connections = @client_1.virtual_network_gateway_connections @local_network_gateways = @client_1.local_network_gateways @model_classes = ModelClasses.new end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(method, *args) ⇒ Object
412 413 414 415 416 417 418 419 420 |
# File 'lib/v2018_03_01/modules/network_profile_module.rb', line 412 def method_missing(method, *args) if @client_1.respond_to?method @client_1.send(method, *args) elsif @client_0.respond_to?method @client_0.send(method, *args) else super end end |
Instance Attribute Details
#application_gateways ⇒ Object (readonly)
Returns the value of attribute application_gateways.
350 351 352 |
# File 'lib/v2018_03_01/modules/network_profile_module.rb', line 350 def application_gateways @application_gateways end |
#application_security_groups ⇒ Object (readonly)
Returns the value of attribute application_security_groups.
350 351 352 |
# File 'lib/v2018_03_01/modules/network_profile_module.rb', line 350 def application_security_groups @application_security_groups end |
#available_endpoint_services ⇒ Object (readonly)
Returns the value of attribute available_endpoint_services.
350 351 352 |
# File 'lib/v2018_03_01/modules/network_profile_module.rb', line 350 def available_endpoint_services @available_endpoint_services end |
#base_url ⇒ Object (readonly)
Returns the value of attribute base_url.
350 351 352 |
# File 'lib/v2018_03_01/modules/network_profile_module.rb', line 350 def base_url @base_url end |
#bgp_service_communities ⇒ Object (readonly)
Returns the value of attribute bgp_service_communities.
350 351 352 |
# File 'lib/v2018_03_01/modules/network_profile_module.rb', line 350 def bgp_service_communities @bgp_service_communities end |
#configurable ⇒ Object (readonly)
Returns the value of attribute configurable.
350 351 352 |
# File 'lib/v2018_03_01/modules/network_profile_module.rb', line 350 def configurable @configurable end |
#connection_monitors ⇒ Object (readonly)
Returns the value of attribute connection_monitors.
350 351 352 |
# File 'lib/v2018_03_01/modules/network_profile_module.rb', line 350 def connection_monitors @connection_monitors end |
#default_security_rules ⇒ Object (readonly)
Returns the value of attribute default_security_rules.
350 351 352 |
# File 'lib/v2018_03_01/modules/network_profile_module.rb', line 350 def default_security_rules @default_security_rules end |
#express_route_circuit_authorizations ⇒ Object (readonly)
Returns the value of attribute express_route_circuit_authorizations.
350 351 352 |
# File 'lib/v2018_03_01/modules/network_profile_module.rb', line 350 def @express_route_circuit_authorizations end |
#express_route_circuit_peerings ⇒ Object (readonly)
Returns the value of attribute express_route_circuit_peerings.
350 351 352 |
# File 'lib/v2018_03_01/modules/network_profile_module.rb', line 350 def express_route_circuit_peerings @express_route_circuit_peerings end |
#express_route_circuits ⇒ Object (readonly)
Returns the value of attribute express_route_circuits.
350 351 352 |
# File 'lib/v2018_03_01/modules/network_profile_module.rb', line 350 def express_route_circuits @express_route_circuits end |
#express_route_service_providers ⇒ Object (readonly)
Returns the value of attribute express_route_service_providers.
350 351 352 |
# File 'lib/v2018_03_01/modules/network_profile_module.rb', line 350 def express_route_service_providers @express_route_service_providers end |
#inbound_nat_rules ⇒ Object (readonly)
Returns the value of attribute inbound_nat_rules.
350 351 352 |
# File 'lib/v2018_03_01/modules/network_profile_module.rb', line 350 def inbound_nat_rules @inbound_nat_rules end |
#load_balancer_backend_address_pools ⇒ Object (readonly)
Returns the value of attribute load_balancer_backend_address_pools.
350 351 352 |
# File 'lib/v2018_03_01/modules/network_profile_module.rb', line 350 def load_balancer_backend_address_pools @load_balancer_backend_address_pools end |
#load_balancer_frontend_ipconfigurations ⇒ Object (readonly)
Returns the value of attribute load_balancer_frontend_ipconfigurations.
350 351 352 |
# File 'lib/v2018_03_01/modules/network_profile_module.rb', line 350 def load_balancer_frontend_ipconfigurations @load_balancer_frontend_ipconfigurations end |
#load_balancer_load_balancing_rules ⇒ Object (readonly)
Returns the value of attribute load_balancer_load_balancing_rules.
350 351 352 |
# File 'lib/v2018_03_01/modules/network_profile_module.rb', line 350 def load_balancer_load_balancing_rules @load_balancer_load_balancing_rules end |
#load_balancer_network_interfaces ⇒ Object (readonly)
Returns the value of attribute load_balancer_network_interfaces.
350 351 352 |
# File 'lib/v2018_03_01/modules/network_profile_module.rb', line 350 def load_balancer_network_interfaces @load_balancer_network_interfaces end |
#load_balancer_probes ⇒ Object (readonly)
Returns the value of attribute load_balancer_probes.
350 351 352 |
# File 'lib/v2018_03_01/modules/network_profile_module.rb', line 350 def load_balancer_probes @load_balancer_probes end |
#load_balancers ⇒ Object (readonly)
Returns the value of attribute load_balancers.
350 351 352 |
# File 'lib/v2018_03_01/modules/network_profile_module.rb', line 350 def load_balancers @load_balancers end |
#local_network_gateways ⇒ Object (readonly)
Returns the value of attribute local_network_gateways.
350 351 352 |
# File 'lib/v2018_03_01/modules/network_profile_module.rb', line 350 def local_network_gateways @local_network_gateways end |
#model_classes ⇒ Object (readonly)
Returns the value of attribute model_classes.
350 351 352 |
# File 'lib/v2018_03_01/modules/network_profile_module.rb', line 350 def model_classes @model_classes end |
#network_interface_ipconfigurations ⇒ Object (readonly)
Returns the value of attribute network_interface_ipconfigurations.
350 351 352 |
# File 'lib/v2018_03_01/modules/network_profile_module.rb', line 350 def network_interface_ipconfigurations @network_interface_ipconfigurations end |
#network_interface_load_balancers ⇒ Object (readonly)
Returns the value of attribute network_interface_load_balancers.
350 351 352 |
# File 'lib/v2018_03_01/modules/network_profile_module.rb', line 350 def network_interface_load_balancers @network_interface_load_balancers end |
#network_interfaces ⇒ Object (readonly)
Returns the value of attribute network_interfaces.
350 351 352 |
# File 'lib/v2018_03_01/modules/network_profile_module.rb', line 350 def network_interfaces @network_interfaces end |
#network_security_groups ⇒ Object (readonly)
Returns the value of attribute network_security_groups.
350 351 352 |
# File 'lib/v2018_03_01/modules/network_profile_module.rb', line 350 def network_security_groups @network_security_groups end |
#network_watchers ⇒ Object (readonly)
Returns the value of attribute network_watchers.
350 351 352 |
# File 'lib/v2018_03_01/modules/network_profile_module.rb', line 350 def network_watchers @network_watchers end |
#operations ⇒ Object (readonly)
Returns the value of attribute operations.
350 351 352 |
# File 'lib/v2018_03_01/modules/network_profile_module.rb', line 350 def operations @operations end |
#options ⇒ Object (readonly)
Returns the value of attribute options.
350 351 352 |
# File 'lib/v2018_03_01/modules/network_profile_module.rb', line 350 def @options end |
#packet_captures ⇒ Object (readonly)
Returns the value of attribute packet_captures.
350 351 352 |
# File 'lib/v2018_03_01/modules/network_profile_module.rb', line 350 def packet_captures @packet_captures end |
#public_ipaddresses ⇒ Object (readonly)
Returns the value of attribute public_ipaddresses.
350 351 352 |
# File 'lib/v2018_03_01/modules/network_profile_module.rb', line 350 def public_ipaddresses @public_ipaddresses end |
#route_filter_rules ⇒ Object (readonly)
Returns the value of attribute route_filter_rules.
350 351 352 |
# File 'lib/v2018_03_01/modules/network_profile_module.rb', line 350 def route_filter_rules @route_filter_rules end |
#route_filters ⇒ Object (readonly)
Returns the value of attribute route_filters.
350 351 352 |
# File 'lib/v2018_03_01/modules/network_profile_module.rb', line 350 def route_filters @route_filters end |
#route_tables ⇒ Object (readonly)
Returns the value of attribute route_tables.
350 351 352 |
# File 'lib/v2018_03_01/modules/network_profile_module.rb', line 350 def route_tables @route_tables end |
#routes ⇒ Object (readonly)
Returns the value of attribute routes.
350 351 352 |
# File 'lib/v2018_03_01/modules/network_profile_module.rb', line 350 def routes @routes end |
#security_rules ⇒ Object (readonly)
Returns the value of attribute security_rules.
350 351 352 |
# File 'lib/v2018_03_01/modules/network_profile_module.rb', line 350 def security_rules @security_rules end |
#subnets ⇒ Object (readonly)
Returns the value of attribute subnets.
350 351 352 |
# File 'lib/v2018_03_01/modules/network_profile_module.rb', line 350 def subnets @subnets end |
#usages ⇒ Object (readonly)
Returns the value of attribute usages.
350 351 352 |
# File 'lib/v2018_03_01/modules/network_profile_module.rb', line 350 def usages @usages end |
#virtual_network_gateway_connections ⇒ Object (readonly)
Returns the value of attribute virtual_network_gateway_connections.
350 351 352 |
# File 'lib/v2018_03_01/modules/network_profile_module.rb', line 350 def virtual_network_gateway_connections @virtual_network_gateway_connections end |
#virtual_network_gateways ⇒ Object (readonly)
Returns the value of attribute virtual_network_gateways.
350 351 352 |
# File 'lib/v2018_03_01/modules/network_profile_module.rb', line 350 def virtual_network_gateways @virtual_network_gateways end |
#virtual_network_peerings ⇒ Object (readonly)
Returns the value of attribute virtual_network_peerings.
350 351 352 |
# File 'lib/v2018_03_01/modules/network_profile_module.rb', line 350 def virtual_network_peerings @virtual_network_peerings end |
#virtual_networks ⇒ Object (readonly)
Returns the value of attribute virtual_networks.
350 351 352 |
# File 'lib/v2018_03_01/modules/network_profile_module.rb', line 350 def virtual_networks @virtual_networks end |