Class: Azure::Network::Profiles::Latest::Mgmt::Client

Inherits:
NetworkManagementClass show all
Includes:
MsRestAzure::Common::Configurable
Defined in:
lib/profiles/latest/network_latest_profile_client.rb

Overview

Client class for the Latest profile SDK.

Instance Attribute Summary

Attributes inherited from NetworkManagementClass

#application_gateway_private_endpoint_connections, #application_gateway_private_link_resources, #application_gateways, #application_security_groups, #available_delegations, #available_endpoint_services, #available_private_endpoint_types, #available_resource_group_delegations, #available_service_aliases, #azure_firewall_fqdn_tags, #azure_firewalls, #base_url, #bastion_hosts, #bgp_service_communities, #configurable, #connection_monitors, #ddos_custom_policies, #ddos_protection_plans, #default_security_rules, #express_route_circuit_authorizations, #express_route_circuit_connections, #express_route_circuit_peerings, #express_route_circuits, #express_route_connections, #express_route_cross_connection_peerings, #express_route_cross_connections, #express_route_gateways, #express_route_links, #express_route_ports, #express_route_ports_locations, #express_route_service_providers, #firewall_policies, #firewall_policy_rule_collection_groups, #firewall_policy_rule_groups, #flow_logs, #hub_route_tables, #hub_virtual_network_connections, #inbound_nat_rules, #ip_allocations, #ip_groups, #load_balancer_backend_address_pools, #load_balancer_frontend_ipconfigurations, #load_balancer_load_balancing_rules, #load_balancer_network_interfaces, #load_balancer_outbound_rules, #load_balancer_probes, #load_balancers, #local_network_gateways, #model_classes, #nat_gateways, #network_interface_ipconfigurations, #network_interface_load_balancers, #network_interface_tap_configurations, #network_interfaces, #network_profiles, #network_security_groups, #network_virtual_appliances, #network_watchers, #operations, #options, #p2s_vpn_gateways, #p2s_vpn_server_configurations, #packet_captures, #peer_express_route_circuit_connections, #private_dns_zone_groups, #private_endpoints, #private_link_services, #public_ipaddresses, #public_ipprefixes, #resource_navigation_links, #route_filter_rules, #route_filters, #route_tables, #routes, #security_partner_providers, #security_rules, #service_association_links, #service_endpoint_policies, #service_endpoint_policy_definitions, #service_tags, #subnets, #usages, #virtual_appliance_sites, #virtual_appliance_skus, #virtual_hub_bgp_connection, #virtual_hub_bgp_connections, #virtual_hub_ip_configuration, #virtual_hub_route_table_v2s, #virtual_hubs, #virtual_network_gateway_connections, #virtual_network_gateways, #virtual_network_peerings, #virtual_network_taps, #virtual_networks, #virtual_router_peerings, #virtual_routers, #virtual_wans, #vpn_connections, #vpn_gateways, #vpn_link_connections, #vpn_server_configurations, #vpn_server_configurations_associated_with_virtual_wan, #vpn_site_link_connections, #vpn_site_links, #vpn_sites, #vpn_sites_configuration, #web_application_firewall_policies

Instance Method Summary collapse

Methods inherited from NetworkManagementClass

#add_telemetry, #method_missing

Constructor Details

#initialize(options = {}) ⇒ Client

Initializes a new instance of the Client class.

'credentials' are optional and if not passed in the hash, will be obtained
from MsRest::TokenCredentials using MsRestAzure::ApplicationTokenProvider.

Also, base_url, active_directory_settings & options are optional.

Parameters:

  • options (Hash) (defaults to: {})

    hash of client options. options =

    tenant_id: 'YOUR TENANT ID',
    client_id: 'YOUR CLIENT ID',
    client_secret: 'YOUR CLIENT SECRET',
    subscription_id: 'YOUR SUBSCRIPTION ID',
    credentials: credentials,
    active_directory_settings: active_directory_settings,
    base_url: 'YOUR BASE URL',
    options: options
    


34
35
36
# File 'lib/profiles/latest/network_latest_profile_client.rb', line 34

def initialize(options = {})
  super(options)
end

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Azure::Network::Profiles::Latest::Mgmt::NetworkManagementClass