Class: Azure::Profiles::V2020_09_01_Hybrid::Network::Mgmt::NetworkManagementClass

Inherits:
Object
  • Object
show all
Defined in:
lib/v2020_09_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.



520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
# File 'lib/v2020_09_01_hybrid/modules/network_profile_module.rb', line 520

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

  @client_0 = Azure::Network::Mgmt::V2018_11_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_delegations = @client_0.available_delegations
  @available_resource_group_delegations = @client_0.available_resource_group_delegations
  @azure_firewalls = @client_0.azure_firewalls
  @azure_firewall_fqdn_tags = @client_0.azure_firewall_fqdn_tags
  @ddos_custom_policies = @client_0.ddos_custom_policies
  @ddos_protection_plans = @client_0.ddos_protection_plans
  @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_circuit_connections = @client_0.express_route_circuit_connections
  @express_route_circuits = @client_0.express_route_circuits
  @express_route_service_providers = @client_0.express_route_service_providers
  @express_route_cross_connections = @client_0.express_route_cross_connections
  @express_route_cross_connection_peerings = @client_0.express_route_cross_connection_peerings
  @express_route_gateways = @client_0.express_route_gateways
  @express_route_connections = @client_0.express_route_connections
  @express_route_ports_locations = @client_0.express_route_ports_locations
  @express_route_ports = @client_0.express_route_ports
  @express_route_links = @client_0.express_route_links
  @interface_endpoints = @client_0.interface_endpoints
  @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_outbound_rules = @client_0.load_balancer_outbound_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_interface_tap_configurations = @client_0.network_interface_tap_configurations
  @network_profiles = @client_0.network_profiles
  @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
  @public_ipprefixes = @client_0.public_ipprefixes
  @route_filters = @client_0.route_filters
  @route_filter_rules = @client_0.route_filter_rules
  @route_tables = @client_0.route_tables
  @routes = @client_0.routes
  @service_endpoint_policies = @client_0.service_endpoint_policies
  @service_endpoint_policy_definitions = @client_0.service_endpoint_policy_definitions
  @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
  @virtual_network_taps = @client_0.virtual_network_taps
  @virtual_wans = @client_0.virtual_wans
  @vpn_sites = @client_0.vpn_sites
  @vpn_sites_configuration = @client_0.vpn_sites_configuration
  @virtual_hubs = @client_0.virtual_hubs
  @hub_virtual_network_connections = @client_0.hub_virtual_network_connections
  @vpn_gateways = @client_0.vpn_gateways
  @vpn_connections = @client_0.vpn_connections
  @p2s_vpn_server_configurations = @client_0.p2s_vpn_server_configurations
  @p2s_vpn_gateways = @client_0.p2s_vpn_gateways

  @model_classes = ModelClasses.new
end

Dynamic Method Handling

This class handles dynamic methods through the method_missing method

#method_missing(method, *args) ⇒ Object



604
605
606
607
608
609
610
# File 'lib/v2020_09_01_hybrid/modules/network_profile_module.rb', line 604

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.



518
519
520
# File 'lib/v2020_09_01_hybrid/modules/network_profile_module.rb', line 518

def application_gateways
  @application_gateways
end

#application_security_groupsObject (readonly)

Returns the value of attribute application_security_groups.



518
519
520
# File 'lib/v2020_09_01_hybrid/modules/network_profile_module.rb', line 518

def application_security_groups
  @application_security_groups
end

#available_delegationsObject (readonly)

Returns the value of attribute available_delegations.



518
519
520
# File 'lib/v2020_09_01_hybrid/modules/network_profile_module.rb', line 518

def available_delegations
  @available_delegations
end

#available_endpoint_servicesObject (readonly)

Returns the value of attribute available_endpoint_services.



518
519
520
# File 'lib/v2020_09_01_hybrid/modules/network_profile_module.rb', line 518

def available_endpoint_services
  @available_endpoint_services
end

#available_resource_group_delegationsObject (readonly)

Returns the value of attribute available_resource_group_delegations.



518
519
520
# File 'lib/v2020_09_01_hybrid/modules/network_profile_module.rb', line 518

def available_resource_group_delegations
  @available_resource_group_delegations
end

#azure_firewall_fqdn_tagsObject (readonly)

Returns the value of attribute azure_firewall_fqdn_tags.



518
519
520
# File 'lib/v2020_09_01_hybrid/modules/network_profile_module.rb', line 518

def azure_firewall_fqdn_tags
  @azure_firewall_fqdn_tags
end

#azure_firewallsObject (readonly)

Returns the value of attribute azure_firewalls.



518
519
520
# File 'lib/v2020_09_01_hybrid/modules/network_profile_module.rb', line 518

def azure_firewalls
  @azure_firewalls
end

#base_urlObject (readonly)

Returns the value of attribute base_url.



518
519
520
# File 'lib/v2020_09_01_hybrid/modules/network_profile_module.rb', line 518

def base_url
  @base_url
end

#configurableObject (readonly)

Returns the value of attribute configurable.



518
519
520
# File 'lib/v2020_09_01_hybrid/modules/network_profile_module.rb', line 518

def configurable
  @configurable
end

#connection_monitorsObject (readonly)

Returns the value of attribute connection_monitors.



518
519
520
# File 'lib/v2020_09_01_hybrid/modules/network_profile_module.rb', line 518

def connection_monitors
  @connection_monitors
end

#ddos_custom_policiesObject (readonly)

Returns the value of attribute ddos_custom_policies.



518
519
520
# File 'lib/v2020_09_01_hybrid/modules/network_profile_module.rb', line 518

def ddos_custom_policies
  @ddos_custom_policies
end

#ddos_protection_plansObject (readonly)

Returns the value of attribute ddos_protection_plans.



518
519
520
# File 'lib/v2020_09_01_hybrid/modules/network_profile_module.rb', line 518

def ddos_protection_plans
  @ddos_protection_plans
end

#default_security_rulesObject (readonly)

Returns the value of attribute default_security_rules.



518
519
520
# File 'lib/v2020_09_01_hybrid/modules/network_profile_module.rb', line 518

def default_security_rules
  @default_security_rules
end

#express_route_circuit_authorizationsObject (readonly)

Returns the value of attribute express_route_circuit_authorizations.



518
519
520
# File 'lib/v2020_09_01_hybrid/modules/network_profile_module.rb', line 518

def express_route_circuit_authorizations
  @express_route_circuit_authorizations
end

#express_route_circuit_connectionsObject (readonly)

Returns the value of attribute express_route_circuit_connections.



518
519
520
# File 'lib/v2020_09_01_hybrid/modules/network_profile_module.rb', line 518

def express_route_circuit_connections
  @express_route_circuit_connections
end

#express_route_circuit_peeringsObject (readonly)

Returns the value of attribute express_route_circuit_peerings.



518
519
520
# File 'lib/v2020_09_01_hybrid/modules/network_profile_module.rb', line 518

def express_route_circuit_peerings
  @express_route_circuit_peerings
end

#express_route_circuitsObject (readonly)

Returns the value of attribute express_route_circuits.



518
519
520
# File 'lib/v2020_09_01_hybrid/modules/network_profile_module.rb', line 518

def express_route_circuits
  @express_route_circuits
end

#express_route_connectionsObject (readonly)

Returns the value of attribute express_route_connections.



518
519
520
# File 'lib/v2020_09_01_hybrid/modules/network_profile_module.rb', line 518

def express_route_connections
  @express_route_connections
end

#express_route_cross_connection_peeringsObject (readonly)

Returns the value of attribute express_route_cross_connection_peerings.



518
519
520
# File 'lib/v2020_09_01_hybrid/modules/network_profile_module.rb', line 518

def express_route_cross_connection_peerings
  @express_route_cross_connection_peerings
end

#express_route_cross_connectionsObject (readonly)

Returns the value of attribute express_route_cross_connections.



518
519
520
# File 'lib/v2020_09_01_hybrid/modules/network_profile_module.rb', line 518

def express_route_cross_connections
  @express_route_cross_connections
end

#express_route_gatewaysObject (readonly)

Returns the value of attribute express_route_gateways.



518
519
520
# File 'lib/v2020_09_01_hybrid/modules/network_profile_module.rb', line 518

def express_route_gateways
  @express_route_gateways
end

Returns the value of attribute express_route_links.



518
519
520
# File 'lib/v2020_09_01_hybrid/modules/network_profile_module.rb', line 518

def express_route_links
  @express_route_links
end

#express_route_portsObject (readonly)

Returns the value of attribute express_route_ports.



518
519
520
# File 'lib/v2020_09_01_hybrid/modules/network_profile_module.rb', line 518

def express_route_ports
  @express_route_ports
end

#express_route_ports_locationsObject (readonly)

Returns the value of attribute express_route_ports_locations.



518
519
520
# File 'lib/v2020_09_01_hybrid/modules/network_profile_module.rb', line 518

def express_route_ports_locations
  @express_route_ports_locations
end

#express_route_service_providersObject (readonly)

Returns the value of attribute express_route_service_providers.



518
519
520
# File 'lib/v2020_09_01_hybrid/modules/network_profile_module.rb', line 518

def express_route_service_providers
  @express_route_service_providers
end

#hub_virtual_network_connectionsObject (readonly)

Returns the value of attribute hub_virtual_network_connections.



518
519
520
# File 'lib/v2020_09_01_hybrid/modules/network_profile_module.rb', line 518

def hub_virtual_network_connections
  @hub_virtual_network_connections
end

#inbound_nat_rulesObject (readonly)

Returns the value of attribute inbound_nat_rules.



518
519
520
# File 'lib/v2020_09_01_hybrid/modules/network_profile_module.rb', line 518

def inbound_nat_rules
  @inbound_nat_rules
end

#interface_endpointsObject (readonly)

Returns the value of attribute interface_endpoints.



518
519
520
# File 'lib/v2020_09_01_hybrid/modules/network_profile_module.rb', line 518

def interface_endpoints
  @interface_endpoints
end

#load_balancer_backend_address_poolsObject (readonly)

Returns the value of attribute load_balancer_backend_address_pools.



518
519
520
# File 'lib/v2020_09_01_hybrid/modules/network_profile_module.rb', line 518

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.



518
519
520
# File 'lib/v2020_09_01_hybrid/modules/network_profile_module.rb', line 518

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.



518
519
520
# File 'lib/v2020_09_01_hybrid/modules/network_profile_module.rb', line 518

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.



518
519
520
# File 'lib/v2020_09_01_hybrid/modules/network_profile_module.rb', line 518

def load_balancer_network_interfaces
  @load_balancer_network_interfaces
end

#load_balancer_outbound_rulesObject (readonly)

Returns the value of attribute load_balancer_outbound_rules.



518
519
520
# File 'lib/v2020_09_01_hybrid/modules/network_profile_module.rb', line 518

def load_balancer_outbound_rules
  @load_balancer_outbound_rules
end

#load_balancer_probesObject (readonly)

Returns the value of attribute load_balancer_probes.



518
519
520
# File 'lib/v2020_09_01_hybrid/modules/network_profile_module.rb', line 518

def load_balancer_probes
  @load_balancer_probes
end

#load_balancersObject (readonly)

Returns the value of attribute load_balancers.



518
519
520
# File 'lib/v2020_09_01_hybrid/modules/network_profile_module.rb', line 518

def load_balancers
  @load_balancers
end

#local_network_gatewaysObject (readonly)

Returns the value of attribute local_network_gateways.



518
519
520
# File 'lib/v2020_09_01_hybrid/modules/network_profile_module.rb', line 518

def local_network_gateways
  @local_network_gateways
end

#model_classesObject (readonly)

Returns the value of attribute model_classes.



518
519
520
# File 'lib/v2020_09_01_hybrid/modules/network_profile_module.rb', line 518

def model_classes
  @model_classes
end

#network_interface_ipconfigurationsObject (readonly)

Returns the value of attribute network_interface_ipconfigurations.



518
519
520
# File 'lib/v2020_09_01_hybrid/modules/network_profile_module.rb', line 518

def network_interface_ipconfigurations
  @network_interface_ipconfigurations
end

#network_interface_load_balancersObject (readonly)

Returns the value of attribute network_interface_load_balancers.



518
519
520
# File 'lib/v2020_09_01_hybrid/modules/network_profile_module.rb', line 518

def network_interface_load_balancers
  @network_interface_load_balancers
end

#network_interface_tap_configurationsObject (readonly)

Returns the value of attribute network_interface_tap_configurations.



518
519
520
# File 'lib/v2020_09_01_hybrid/modules/network_profile_module.rb', line 518

def network_interface_tap_configurations
  @network_interface_tap_configurations
end

#network_interfacesObject (readonly)

Returns the value of attribute network_interfaces.



518
519
520
# File 'lib/v2020_09_01_hybrid/modules/network_profile_module.rb', line 518

def network_interfaces
  @network_interfaces
end

#network_profilesObject (readonly)

Returns the value of attribute network_profiles.



518
519
520
# File 'lib/v2020_09_01_hybrid/modules/network_profile_module.rb', line 518

def network_profiles
  @network_profiles
end

#network_security_groupsObject (readonly)

Returns the value of attribute network_security_groups.



518
519
520
# File 'lib/v2020_09_01_hybrid/modules/network_profile_module.rb', line 518

def network_security_groups
  @network_security_groups
end

#network_watchersObject (readonly)

Returns the value of attribute network_watchers.



518
519
520
# File 'lib/v2020_09_01_hybrid/modules/network_profile_module.rb', line 518

def network_watchers
  @network_watchers
end

#operationsObject (readonly)

Returns the value of attribute operations.



518
519
520
# File 'lib/v2020_09_01_hybrid/modules/network_profile_module.rb', line 518

def operations
  @operations
end

#optionsObject (readonly)

Returns the value of attribute options.



518
519
520
# File 'lib/v2020_09_01_hybrid/modules/network_profile_module.rb', line 518

def options
  @options
end

#p2s_vpn_gatewaysObject (readonly)

Returns the value of attribute p2s_vpn_gateways.



518
519
520
# File 'lib/v2020_09_01_hybrid/modules/network_profile_module.rb', line 518

def p2s_vpn_gateways
  @p2s_vpn_gateways
end

#p2s_vpn_server_configurationsObject (readonly)

Returns the value of attribute p2s_vpn_server_configurations.



518
519
520
# File 'lib/v2020_09_01_hybrid/modules/network_profile_module.rb', line 518

def p2s_vpn_server_configurations
  @p2s_vpn_server_configurations
end

#packet_capturesObject (readonly)

Returns the value of attribute packet_captures.



518
519
520
# File 'lib/v2020_09_01_hybrid/modules/network_profile_module.rb', line 518

def packet_captures
  @packet_captures
end

#public_ipaddressesObject (readonly)

Returns the value of attribute public_ipaddresses.



518
519
520
# File 'lib/v2020_09_01_hybrid/modules/network_profile_module.rb', line 518

def public_ipaddresses
  @public_ipaddresses
end

#public_ipprefixesObject (readonly)

Returns the value of attribute public_ipprefixes.



518
519
520
# File 'lib/v2020_09_01_hybrid/modules/network_profile_module.rb', line 518

def public_ipprefixes
  @public_ipprefixes
end

#route_filter_rulesObject (readonly)

Returns the value of attribute route_filter_rules.



518
519
520
# File 'lib/v2020_09_01_hybrid/modules/network_profile_module.rb', line 518

def route_filter_rules
  @route_filter_rules
end

#route_filtersObject (readonly)

Returns the value of attribute route_filters.



518
519
520
# File 'lib/v2020_09_01_hybrid/modules/network_profile_module.rb', line 518

def route_filters
  @route_filters
end

#route_tablesObject (readonly)

Returns the value of attribute route_tables.



518
519
520
# File 'lib/v2020_09_01_hybrid/modules/network_profile_module.rb', line 518

def route_tables
  @route_tables
end

#routesObject (readonly)

Returns the value of attribute routes.



518
519
520
# File 'lib/v2020_09_01_hybrid/modules/network_profile_module.rb', line 518

def routes
  @routes
end

#security_rulesObject (readonly)

Returns the value of attribute security_rules.



518
519
520
# File 'lib/v2020_09_01_hybrid/modules/network_profile_module.rb', line 518

def security_rules
  @security_rules
end

#service_endpoint_policiesObject (readonly)

Returns the value of attribute service_endpoint_policies.



518
519
520
# File 'lib/v2020_09_01_hybrid/modules/network_profile_module.rb', line 518

def service_endpoint_policies
  @service_endpoint_policies
end

#service_endpoint_policy_definitionsObject (readonly)

Returns the value of attribute service_endpoint_policy_definitions.



518
519
520
# File 'lib/v2020_09_01_hybrid/modules/network_profile_module.rb', line 518

def service_endpoint_policy_definitions
  @service_endpoint_policy_definitions
end

#subnetsObject (readonly)

Returns the value of attribute subnets.



518
519
520
# File 'lib/v2020_09_01_hybrid/modules/network_profile_module.rb', line 518

def subnets
  @subnets
end

#usagesObject (readonly)

Returns the value of attribute usages.



518
519
520
# File 'lib/v2020_09_01_hybrid/modules/network_profile_module.rb', line 518

def usages
  @usages
end

#virtual_hubsObject (readonly)

Returns the value of attribute virtual_hubs.



518
519
520
# File 'lib/v2020_09_01_hybrid/modules/network_profile_module.rb', line 518

def virtual_hubs
  @virtual_hubs
end

#virtual_network_gateway_connectionsObject (readonly)

Returns the value of attribute virtual_network_gateway_connections.



518
519
520
# File 'lib/v2020_09_01_hybrid/modules/network_profile_module.rb', line 518

def virtual_network_gateway_connections
  @virtual_network_gateway_connections
end

#virtual_network_gatewaysObject (readonly)

Returns the value of attribute virtual_network_gateways.



518
519
520
# File 'lib/v2020_09_01_hybrid/modules/network_profile_module.rb', line 518

def virtual_network_gateways
  @virtual_network_gateways
end

#virtual_network_peeringsObject (readonly)

Returns the value of attribute virtual_network_peerings.



518
519
520
# File 'lib/v2020_09_01_hybrid/modules/network_profile_module.rb', line 518

def virtual_network_peerings
  @virtual_network_peerings
end

#virtual_network_tapsObject (readonly)

Returns the value of attribute virtual_network_taps.



518
519
520
# File 'lib/v2020_09_01_hybrid/modules/network_profile_module.rb', line 518

def virtual_network_taps
  @virtual_network_taps
end

#virtual_networksObject (readonly)

Returns the value of attribute virtual_networks.



518
519
520
# File 'lib/v2020_09_01_hybrid/modules/network_profile_module.rb', line 518

def virtual_networks
  @virtual_networks
end

#virtual_wansObject (readonly)

Returns the value of attribute virtual_wans.



518
519
520
# File 'lib/v2020_09_01_hybrid/modules/network_profile_module.rb', line 518

def virtual_wans
  @virtual_wans
end

#vpn_connectionsObject (readonly)

Returns the value of attribute vpn_connections.



518
519
520
# File 'lib/v2020_09_01_hybrid/modules/network_profile_module.rb', line 518

def vpn_connections
  @vpn_connections
end

#vpn_gatewaysObject (readonly)

Returns the value of attribute vpn_gateways.



518
519
520
# File 'lib/v2020_09_01_hybrid/modules/network_profile_module.rb', line 518

def vpn_gateways
  @vpn_gateways
end

#vpn_sitesObject (readonly)

Returns the value of attribute vpn_sites.



518
519
520
# File 'lib/v2020_09_01_hybrid/modules/network_profile_module.rb', line 518

def vpn_sites
  @vpn_sites
end

#vpn_sites_configurationObject (readonly)

Returns the value of attribute vpn_sites_configuration.



518
519
520
# File 'lib/v2020_09_01_hybrid/modules/network_profile_module.rb', line 518

def vpn_sites_configuration
  @vpn_sites_configuration
end

Instance Method Details

#add_telemetry(client) ⇒ Object



599
600
601
602
# File 'lib/v2020_09_01_hybrid/modules/network_profile_module.rb', line 599

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