Class: Azure::Network::Profiles::V2018_03_01::Mgmt::Client

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

Overview

Client class for the V2018_03_01 profile SDK.

Instance Attribute Summary

Attributes inherited from NetworkManagementClass

#application_gateways, #application_security_groups, #available_endpoint_services, #base_url, #bgp_service_communities, #configurable, #connection_monitors, #default_security_rules, #express_route_circuit_authorizations, #express_route_circuit_peerings, #express_route_circuits, #express_route_service_providers, #inbound_nat_rules, #load_balancer_backend_address_pools, #load_balancer_frontend_ipconfigurations, #load_balancer_load_balancing_rules, #load_balancer_network_interfaces, #load_balancer_probes, #load_balancers, #local_network_gateways, #model_classes, #network_interface_ipconfigurations, #network_interface_load_balancers, #network_interfaces, #network_security_groups, #network_watchers, #operations, #options, #packet_captures, #public_ipaddresses, #route_filter_rules, #route_filters, #route_tables, #routes, #security_rules, #subnets, #usages, #virtual_network_gateway_connections, #virtual_network_gateways, #virtual_network_peerings, #virtual_networks

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/v2018_03_01/network_v2018_03_01_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::V2018_03_01::Mgmt::NetworkManagementClass