class Azure::Profiles::V2017_03_09::Network::Mgmt::NetworkManagementClass

Attributes

application_gateways[R]
base_url[R]
configurable[R]
express_route_circuit_authorizations[R]
express_route_circuit_peerings[R]
express_route_circuits[R]
express_route_service_providers[R]
load_balancers[R]
local_network_gateways[R]
model_classes[R]
network_interfaces[R]
network_security_groups[R]
options[R]
public_ipaddresses[R]
route_tables[R]
routes[R]
security_rules[R]
subnets[R]
usages[R]
virtual_network_gateway_connections[R]
virtual_network_gateways[R]
virtual_networks[R]

Public Class Methods

new(configurable, base_url=nil, options=nil) click to toggle source
# File lib/v2017_03_09/modules/network_profile_module.rb, line 153
def initialize(configurable, base_url=nil, options=nil)
  @configurable, @base_url, @options = configurable, base_url, options

  @client_0 = Azure::Network::Mgmt::V2015_06_15::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
  @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
  @network_interfaces = @client_0.network_interfaces
  @network_security_groups = @client_0.network_security_groups
  @security_rules = @client_0.security_rules
  @public_ipaddresses = @client_0.public_ipaddresses
  @route_tables = @client_0.route_tables
  @routes = @client_0.routes
  @usages = @client_0.usages
  @virtual_networks = @client_0.virtual_networks
  @subnets = @client_0.subnets
  @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

Public Instance Methods

add_telemetry(client) click to toggle source
# File lib/v2017_03_09/modules/network_profile_module.rb, line 183
def add_telemetry(client)
  profile_information = "Profiles/azure_sdk/#{Azure::VERSION}/V2017_03_09/Network/Mgmt"
  client.add_user_agent_information(profile_information)
end
method_missing(method, *args) click to toggle source
Calls superclass method
# File lib/v2017_03_09/modules/network_profile_module.rb, line 188
def method_missing(method, *args)
  if @client_0.respond_to?method
    @client_0.send(method, *args)
  else
    super
  end
end