Class: Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteCircuitConnection

Inherits:
SubResource
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2018-08-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/2018-08-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/2018-08-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 are: 'Connected' and 'Disconnected'. Possible values include: 'Connected', 'Connecting', 'Disconnected'

Returns:


34
35
36
# File 'lib/2018-08-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


46
47
48
# File 'lib/2018-08-01/generated/azure_mgmt_network/models/express_route_circuit_connection.rb', line 46

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/2018-08-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)

    Gets name of the resource that is unique within a


42
43
44
# File 'lib/2018-08-01/generated/azure_mgmt_network/models/express_route_circuit_connection.rb', line 42

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/2018-08-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_stateString

Possible values are: 'Succeeded', 'Updating', 'Deleting', and 'Failed'.

Returns:

  • (String)

    Provisioning state of the circuit connection resource.


38
39
40
# File 'lib/2018-08-01/generated/azure_mgmt_network/models/express_route_circuit_connection.rb', line 38

def provisioning_state
  @provisioning_state
end

Class Method Details

.mapperObject

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


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
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
# File 'lib/2018-08-01/generated/azure_mgmt_network/models/express_route_circuit_connection.rb', line 53

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,
          read_only: true,
          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'
          }
        }
      }
    }
  }
end