Class: Azure::Network::Mgmt::V2019_11_01::Models::ExpressRouteConnection

Inherits:
SubResource
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2019-11-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/2019-11-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/2019-11-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/2019-11-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.


34
35
36
# File 'lib/2019-11-01/generated/azure_mgmt_network/models/express_route_connection.rb', line 34

def name
  @name
end

#provisioning_stateProvisioningState

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

Returns:


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

def provisioning_state
  @provisioning_state
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/2019-11-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.


41
42
43
44
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
# File 'lib/2019-11-01/generated/azure_mgmt_network/models/express_route_connection.rb', line 41

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'
          }
        },
        name: {
          client_side_validation: true,
          required: true,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end