Class: Azure::Network::Mgmt::V2019_11_01::Models::ExpressRouteCircuitConnection

Inherits:
SubResource
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2019-11-01/generated/azure_mgmt_network/models/express_route_circuit_connection.rb

Overview

Express Route Circuit Connection in an ExpressRouteCircuitPeering resource.

Instance Attribute Summary collapse

Attributes inherited from SubResource

#id

Class Method Summary collapse

Instance Attribute Details

#address_prefixString

for tunnels.

Returns:

  • (String)

    /29 IP address space to carve out Customer addresses


26
27
28
# File 'lib/2019-11-01/generated/azure_mgmt_network/models/express_route_circuit_connection.rb', line 26

def address_prefix
  @address_prefix
end

#authorization_keyString

Returns The authorization key.

Returns:

  • (String)

    The authorization key.


29
30
31
# File 'lib/2019-11-01/generated/azure_mgmt_network/models/express_route_circuit_connection.rb', line 29

def authorization_key
  @authorization_key
end

#circuit_connection_statusCircuitConnectionStatus

state. Possible values include: 'Connected', 'Connecting', 'Disconnected'

Returns:


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

def circuit_connection_status
  @circuit_connection_status
end

#etagString

resource is updated.

Returns:

  • (String)

    A unique read-only string that changes whenever the


47
48
49
# File 'lib/2019-11-01/generated/azure_mgmt_network/models/express_route_circuit_connection.rb', line 47

def etag
  @etag
end

#express_route_circuit_peeringSubResource

Peering Resource of the circuit initiating connection.

Returns:

  • (SubResource)

    Reference to Express Route Circuit Private


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

def express_route_circuit_peering
  @express_route_circuit_peering
end

#nameString

resource group. This name can be used to access the resource.

Returns:

  • (String)

    The name of the resource that is unique within a


43
44
45
# File 'lib/2019-11-01/generated/azure_mgmt_network/models/express_route_circuit_connection.rb', line 43

def name
  @name
end

#peer_express_route_circuit_peeringSubResource

Peering Resource of the peered circuit.

Returns:

  • (SubResource)

    Reference to Express Route Circuit Private


22
23
24
# File 'lib/2019-11-01/generated/azure_mgmt_network/models/express_route_circuit_connection.rb', line 22

def peer_express_route_circuit_peering
  @peer_express_route_circuit_peering
end

#provisioning_stateProvisioningState

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

Returns:


39
40
41
# File 'lib/2019-11-01/generated/azure_mgmt_network/models/express_route_circuit_connection.rb', line 39

def provisioning_state
  @provisioning_state
end

#typeString

Returns Type of the resource.

Returns:

  • (String)

    Type of the resource.


50
51
52
# File 'lib/2019-11-01/generated/azure_mgmt_network/models/express_route_circuit_connection.rb', line 50

def type
  @type
end

Class Method Details

.mapperObject

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


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
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
# File 'lib/2019-11-01/generated/azure_mgmt_network/models/express_route_circuit_connection.rb', line 57

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ExpressRouteCircuitConnection',
    type: {
      name: 'Composite',
      class_name: 'ExpressRouteCircuitConnection',
      model_properties: {
        id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'id',
          type: {
            name: 'String'
          }
        },
        express_route_circuit_peering: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.expressRouteCircuitPeering',
          type: {
            name: 'Composite',
            class_name: 'SubResource'
          }
        },
        peer_express_route_circuit_peering: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.peerExpressRouteCircuitPeering',
          type: {
            name: 'Composite',
            class_name: 'SubResource'
          }
        },
        address_prefix: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.addressPrefix',
          type: {
            name: 'String'
          }
        },
        authorization_key: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.authorizationKey',
          type: {
            name: 'String'
          }
        },
        circuit_connection_status: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.circuitConnectionStatus',
          type: {
            name: 'String'
          }
        },
        provisioning_state: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.provisioningState',
          type: {
            name: 'String'
          }
        },
        name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        etag: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'etag',
          type: {
            name: 'String'
          }
        },
        type: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'type',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end