Class: Azure::Profiles::V2019_03_01_Hybrid::Network::Mgmt::NetworkManagementClass

Inherits:
Object
  • Object
show all
Defined in:
lib/v2019_03_01_hybrid/modules/network_profile_module.rb

Defined Under Namespace

Classes: ModelClasses

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(configurable, base_url = nil, options = nil) ⇒ NetworkManagementClass

Returns a new instance of NetworkManagementClass.



339
340
341
342
343
344
345
346
347
348
349
350
351
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
# File 'lib/v2019_03_01_hybrid/modules/network_profile_module.rb', line 339

def initialize(configurable, base_url=nil, options=nil)
  @configurable, @base_url, @options = configurable, base_url, options

  @client_0 = Azure::Network::Mgmt::V2017_10_01::NetworkManagementClient.new(configurable.credentials, base_url, options)
  if(@client_0.respond_to?(:subscription_id))
    @client_0.subscription_id = configurable.subscription_id
  end
  add_telemetry(@client_0)
  @application_gateways = @client_0.application_gateways
  @application_security_groups = @client_0.application_security_groups
  @available_endpoint_services = @client_0.available_endpoint_services
  @express_route_circuit_authorizations = @client_0.express_route_circuit_authorizations
  @express_route_circuit_peerings = @client_0.express_route_circuit_peerings
  @express_route_circuits = @client_0.express_route_circuits
  @express_route_service_providers = @client_0.express_route_service_providers
  @load_balancers = @client_0.load_balancers
  @load_balancer_backend_address_pools = @client_0.load_balancer_backend_address_pools
  @load_balancer_frontend_ipconfigurations = @client_0.load_balancer_frontend_ipconfigurations
  @inbound_nat_rules = @client_0.inbound_nat_rules
  @load_balancer_load_balancing_rules = @client_0.load_balancer_load_balancing_rules
  @load_balancer_network_interfaces = @client_0.load_balancer_network_interfaces
  @load_balancer_probes = @client_0.load_balancer_probes
  @network_interfaces = @client_0.network_interfaces
  @network_interface_ipconfigurations = @client_0.network_interface_ipconfigurations
  @network_interface_load_balancers = @client_0.network_interface_load_balancers
  @network_security_groups = @client_0.network_security_groups
  @security_rules = @client_0.security_rules
  @default_security_rules = @client_0.default_security_rules
  @network_watchers = @client_0.network_watchers
  @packet_captures = @client_0.packet_captures
  @connection_monitors = @client_0.connection_monitors
  @operations = @client_0.operations
  @public_ipaddresses = @client_0.public_ipaddresses
  @route_filters = @client_0.route_filters
  @route_filter_rules = @client_0.route_filter_rules
  @route_tables = @client_0.route_tables
  @routes = @client_0.routes
  @bgp_service_communities = @client_0.bgp_service_communities
  @usages = @client_0.usages
  @virtual_networks = @client_0.virtual_networks
  @subnets = @client_0.subnets
  @virtual_network_peerings = @client_0.virtual_network_peerings
  @virtual_network_gateways = @client_0.virtual_network_gateways
  @virtual_network_gateway_connections = @client_0.virtual_network_gateway_connections
  @local_network_gateways = @client_0.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



393
394
395
396
397
398
399
# File 'lib/v2019_03_01_hybrid/modules/network_profile_module.rb', line 393

def method_missing(method, *args)
  if @client_0.respond_to?method
    @client_0.send(method, *args)
  else
    super
  end
end

Instance Attribute Details

#application_gatewaysObject (readonly)

Returns the value of attribute application_gateways.



337
338
339
# File 'lib/v2019_03_01_hybrid/modules/network_profile_module.rb', line 337

def application_gateways
  @application_gateways
end

#application_security_groupsObject (readonly)

Returns the value of attribute application_security_groups.



337
338
339
# File 'lib/v2019_03_01_hybrid/modules/network_profile_module.rb', line 337

def application_security_groups
  @application_security_groups
end

#available_endpoint_servicesObject (readonly)

Returns the value of attribute available_endpoint_services.



337
338
339
# File 'lib/v2019_03_01_hybrid/modules/network_profile_module.rb', line 337

def available_endpoint_services
  @available_endpoint_services
end

#base_urlObject (readonly)

Returns the value of attribute base_url.



337
338
339
# File 'lib/v2019_03_01_hybrid/modules/network_profile_module.rb', line 337

def base_url
  @base_url
end

#bgp_service_communitiesObject (readonly)

Returns the value of attribute bgp_service_communities.



337
338
339
# File 'lib/v2019_03_01_hybrid/modules/network_profile_module.rb', line 337

def bgp_service_communities
  @bgp_service_communities
end

#configurableObject (readonly)

Returns the value of attribute configurable.



337
338
339
# File 'lib/v2019_03_01_hybrid/modules/network_profile_module.rb', line 337

def configurable
  @configurable
end

#connection_monitorsObject (readonly)

Returns the value of attribute connection_monitors.



337
338
339
# File 'lib/v2019_03_01_hybrid/modules/network_profile_module.rb', line 337

def connection_monitors
  @connection_monitors
end

#default_security_rulesObject (readonly)

Returns the value of attribute default_security_rules.



337
338
339
# File 'lib/v2019_03_01_hybrid/modules/network_profile_module.rb', line 337

def default_security_rules
  @default_security_rules
end

#express_route_circuit_authorizationsObject (readonly)

Returns the value of attribute express_route_circuit_authorizations.



337
338
339
# File 'lib/v2019_03_01_hybrid/modules/network_profile_module.rb', line 337

def express_route_circuit_authorizations
  @express_route_circuit_authorizations
end

#express_route_circuit_peeringsObject (readonly)

Returns the value of attribute express_route_circuit_peerings.



337
338
339
# File 'lib/v2019_03_01_hybrid/modules/network_profile_module.rb', line 337

def express_route_circuit_peerings
  @express_route_circuit_peerings
end

#express_route_circuitsObject (readonly)

Returns the value of attribute express_route_circuits.



337
338
339
# File 'lib/v2019_03_01_hybrid/modules/network_profile_module.rb', line 337

def express_route_circuits
  @express_route_circuits
end

#express_route_service_providersObject (readonly)

Returns the value of attribute express_route_service_providers.



337
338
339
# File 'lib/v2019_03_01_hybrid/modules/network_profile_module.rb', line 337

def express_route_service_providers
  @express_route_service_providers
end

#inbound_nat_rulesObject (readonly)

Returns the value of attribute inbound_nat_rules.



337
338
339
# File 'lib/v2019_03_01_hybrid/modules/network_profile_module.rb', line 337

def inbound_nat_rules
  @inbound_nat_rules
end

#load_balancer_backend_address_poolsObject (readonly)

Returns the value of attribute load_balancer_backend_address_pools.



337
338
339
# File 'lib/v2019_03_01_hybrid/modules/network_profile_module.rb', line 337

def load_balancer_backend_address_pools
  @load_balancer_backend_address_pools
end

#load_balancer_frontend_ipconfigurationsObject (readonly)

Returns the value of attribute load_balancer_frontend_ipconfigurations.



337
338
339
# File 'lib/v2019_03_01_hybrid/modules/network_profile_module.rb', line 337

def load_balancer_frontend_ipconfigurations
  @load_balancer_frontend_ipconfigurations
end

#load_balancer_load_balancing_rulesObject (readonly)

Returns the value of attribute load_balancer_load_balancing_rules.



337
338
339
# File 'lib/v2019_03_01_hybrid/modules/network_profile_module.rb', line 337

def load_balancer_load_balancing_rules
  @load_balancer_load_balancing_rules
end

#load_balancer_network_interfacesObject (readonly)

Returns the value of attribute load_balancer_network_interfaces.



337
338
339
# File 'lib/v2019_03_01_hybrid/modules/network_profile_module.rb', line 337

def load_balancer_network_interfaces
  @load_balancer_network_interfaces
end

#load_balancer_probesObject (readonly)

Returns the value of attribute load_balancer_probes.



337
338
339
# File 'lib/v2019_03_01_hybrid/modules/network_profile_module.rb', line 337

def load_balancer_probes
  @load_balancer_probes
end

#load_balancersObject (readonly)

Returns the value of attribute load_balancers.



337
338
339
# File 'lib/v2019_03_01_hybrid/modules/network_profile_module.rb', line 337

def load_balancers
  @load_balancers
end

#local_network_gatewaysObject (readonly)

Returns the value of attribute local_network_gateways.



337
338
339
# File 'lib/v2019_03_01_hybrid/modules/network_profile_module.rb', line 337

def local_network_gateways
  @local_network_gateways
end

#model_classesObject (readonly)

Returns the value of attribute model_classes.



337
338
339
# File 'lib/v2019_03_01_hybrid/modules/network_profile_module.rb', line 337

def model_classes
  @model_classes
end

#network_interface_ipconfigurationsObject (readonly)

Returns the value of attribute network_interface_ipconfigurations.



337
338
339
# File 'lib/v2019_03_01_hybrid/modules/network_profile_module.rb', line 337

def network_interface_ipconfigurations
  @network_interface_ipconfigurations
end

#network_interface_load_balancersObject (readonly)

Returns the value of attribute network_interface_load_balancers.



337
338
339
# File 'lib/v2019_03_01_hybrid/modules/network_profile_module.rb', line 337

def network_interface_load_balancers
  @network_interface_load_balancers
end

#network_interfacesObject (readonly)

Returns the value of attribute network_interfaces.



337
338
339
# File 'lib/v2019_03_01_hybrid/modules/network_profile_module.rb', line 337

def network_interfaces
  @network_interfaces
end

#network_security_groupsObject (readonly)

Returns the value of attribute network_security_groups.



337
338
339
# File 'lib/v2019_03_01_hybrid/modules/network_profile_module.rb', line 337

def network_security_groups
  @network_security_groups
end

#network_watchersObject (readonly)

Returns the value of attribute network_watchers.



337
338
339
# File 'lib/v2019_03_01_hybrid/modules/network_profile_module.rb', line 337

def network_watchers
  @network_watchers
end

#operationsObject (readonly)

Returns the value of attribute operations.



337
338
339
# File 'lib/v2019_03_01_hybrid/modules/network_profile_module.rb', line 337

def operations
  @operations
end

#optionsObject (readonly)

Returns the value of attribute options.



337
338
339
# File 'lib/v2019_03_01_hybrid/modules/network_profile_module.rb', line 337

def options
  @options
end

#packet_capturesObject (readonly)

Returns the value of attribute packet_captures.



337
338
339
# File 'lib/v2019_03_01_hybrid/modules/network_profile_module.rb', line 337

def packet_captures
  @packet_captures
end

#public_ipaddressesObject (readonly)

Returns the value of attribute public_ipaddresses.



337
338
339
# File 'lib/v2019_03_01_hybrid/modules/network_profile_module.rb', line 337

def public_ipaddresses
  @public_ipaddresses
end

#route_filter_rulesObject (readonly)

Returns the value of attribute route_filter_rules.



337
338
339
# File 'lib/v2019_03_01_hybrid/modules/network_profile_module.rb', line 337

def route_filter_rules
  @route_filter_rules
end

#route_filtersObject (readonly)

Returns the value of attribute route_filters.



337
338
339
# File 'lib/v2019_03_01_hybrid/modules/network_profile_module.rb', line 337

def route_filters
  @route_filters
end

#route_tablesObject (readonly)

Returns the value of attribute route_tables.



337
338
339
# File 'lib/v2019_03_01_hybrid/modules/network_profile_module.rb', line 337

def route_tables
  @route_tables
end

#routesObject (readonly)

Returns the value of attribute routes.



337
338
339
# File 'lib/v2019_03_01_hybrid/modules/network_profile_module.rb', line 337

def routes
  @routes
end

#security_rulesObject (readonly)

Returns the value of attribute security_rules.



337
338
339
# File 'lib/v2019_03_01_hybrid/modules/network_profile_module.rb', line 337

def security_rules
  @security_rules
end

#subnetsObject (readonly)

Returns the value of attribute subnets.



337
338
339
# File 'lib/v2019_03_01_hybrid/modules/network_profile_module.rb', line 337

def subnets
  @subnets
end

#usagesObject (readonly)

Returns the value of attribute usages.



337
338
339
# File 'lib/v2019_03_01_hybrid/modules/network_profile_module.rb', line 337

def usages
  @usages
end

#virtual_network_gateway_connectionsObject (readonly)

Returns the value of attribute virtual_network_gateway_connections.



337
338
339
# File 'lib/v2019_03_01_hybrid/modules/network_profile_module.rb', line 337

def virtual_network_gateway_connections
  @virtual_network_gateway_connections
end

#virtual_network_gatewaysObject (readonly)

Returns the value of attribute virtual_network_gateways.



337
338
339
# File 'lib/v2019_03_01_hybrid/modules/network_profile_module.rb', line 337

def virtual_network_gateways
  @virtual_network_gateways
end

#virtual_network_peeringsObject (readonly)

Returns the value of attribute virtual_network_peerings.



337
338
339
# File 'lib/v2019_03_01_hybrid/modules/network_profile_module.rb', line 337

def virtual_network_peerings
  @virtual_network_peerings
end

#virtual_networksObject (readonly)

Returns the value of attribute virtual_networks.



337
338
339
# File 'lib/v2019_03_01_hybrid/modules/network_profile_module.rb', line 337

def virtual_networks
  @virtual_networks
end

Instance Method Details

#add_telemetry(client) ⇒ Object



388
389
390
391
# File 'lib/v2019_03_01_hybrid/modules/network_profile_module.rb', line 388

def add_telemetry(client)
  profile_information = "Profiles/azure_sdk/#{Azure::VERSION}/V2019_03_01_Hybrid/Network/Mgmt"
  client.add_user_agent_information(profile_information)
end