Class: Azure::Network::Mgmt::V2020_07_01::Models::ExpressRouteConnection

Inherits:
SubResource
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2020-07-01/generated/azure_mgmt_network/models/express_route_connection.rb

Overview

ExpressRouteConnection resource.

Instance Attribute Summary collapse

Attributes inherited from SubResource

#id

Class Method Summary collapse

Instance Attribute Details

#authorization_keyString

Returns Authorization key to establish the connection.

Returns:

  • (String)

    Authorization key to establish the connection.



25
26
27
# File 'lib/2020-07-01/generated/azure_mgmt_network/models/express_route_connection.rb', line 25

def authorization_key
  @authorization_key
end

#enable_internet_securityBoolean

Returns Enable internet security.

Returns:

  • (Boolean)

    Enable internet security.



31
32
33
# File 'lib/2020-07-01/generated/azure_mgmt_network/models/express_route_connection.rb', line 31

def enable_internet_security
  @enable_internet_security
end

#express_route_circuit_peeringExpressRouteCircuitPeeringId

peering.

Returns:



22
23
24
# File 'lib/2020-07-01/generated/azure_mgmt_network/models/express_route_connection.rb', line 22

def express_route_circuit_peering
  @express_route_circuit_peering
end

#nameString

Returns The name of the resource.

Returns:

  • (String)

    The name of the resource.



38
39
40
# File 'lib/2020-07-01/generated/azure_mgmt_network/models/express_route_connection.rb', line 38

def name
  @name
end

#provisioning_stateProvisioningState

connection resource. Possible values include: ‘Succeeded’, ‘Updating’, ‘Deleting’, ‘Failed’

Returns:



18
19
20
# File 'lib/2020-07-01/generated/azure_mgmt_network/models/express_route_connection.rb', line 18

def provisioning_state
  @provisioning_state
end

#routing_configurationRoutingConfiguration

associated and propagated route tables on this connection.

Returns:



35
36
37
# File 'lib/2020-07-01/generated/azure_mgmt_network/models/express_route_connection.rb', line 35

def routing_configuration
  @routing_configuration
end

#routing_weightInteger

Returns The routing weight associated to the connection.

Returns:

  • (Integer)

    The routing weight associated to the connection.



28
29
30
# File 'lib/2020-07-01/generated/azure_mgmt_network/models/express_route_connection.rb', line 28

def routing_weight
  @routing_weight
end

Class Method Details

.mapperObject

Mapper for ExpressRouteConnection class as Ruby Hash. This will be used for serialization/deserialization.



45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
# File 'lib/2020-07-01/generated/azure_mgmt_network/models/express_route_connection.rb', line 45

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ExpressRouteConnection',
    type: {
      name: 'Composite',
      class_name: 'ExpressRouteConnection',
      model_properties: {
        id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'id',
          type: {
            name: 'String'
          }
        },
        provisioning_state: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.provisioningState',
          type: {
            name: 'String'
          }
        },
        express_route_circuit_peering: {
          client_side_validation: true,
          required: true,
          serialized_name: 'properties.expressRouteCircuitPeering',
          type: {
            name: 'Composite',
            class_name: 'ExpressRouteCircuitPeeringId'
          }
        },
        authorization_key: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.authorizationKey',
          type: {
            name: 'String'
          }
        },
        routing_weight: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.routingWeight',
          type: {
            name: 'Number'
          }
        },
        enable_internet_security: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.enableInternetSecurity',
          type: {
            name: 'Boolean'
          }
        },
        routing_configuration: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.routingConfiguration',
          type: {
            name: 'Composite',
            class_name: 'RoutingConfiguration'
          }
        },
        name: {
          client_side_validation: true,
          required: true,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end