Class: Azure::Network::Mgmt::V2019_11_01::Models::ExpressRouteCircuit

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

Overview

ExpressRouteCircuit resource.

Instance Attribute Summary collapse

Attributes inherited from Resource

#id, #location, #name, #tags, #type

Class Method Summary collapse

Methods inherited from Resource

#resource_group

Instance Attribute Details

#allow_classic_operationsBoolean

Returns Allow classic operations.

Returns:

  • (Boolean)

    Allow classic operations.


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

def allow_classic_operations
  @allow_classic_operations
end

#authorizationsArray<ExpressRouteCircuitAuthorization>

authorizations.

Returns:


32
33
34
# File 'lib/2019-11-01/generated/azure_mgmt_network/models/express_route_circuit.rb', line 32

def authorizations
  @authorizations
end

#bandwidth_in_gbpsFloat

provisioned on an ExpressRoutePort resource.

Returns:

  • (Float)

    The bandwidth of the circuit when the circuit is


53
54
55
# File 'lib/2019-11-01/generated/azure_mgmt_network/models/express_route_circuit.rb', line 53

def bandwidth_in_gbps
  @bandwidth_in_gbps
end

#circuit_provisioning_stateString

Returns The CircuitProvisioningState state of the resource.

Returns:

  • (String)

    The CircuitProvisioningState state of the resource.


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

def circuit_provisioning_state
  @circuit_provisioning_state
end

#etagString

resource is updated.

Returns:

  • (String)

    A unique read-only string that changes whenever the


72
73
74
# File 'lib/2019-11-01/generated/azure_mgmt_network/models/express_route_circuit.rb', line 72

def etag
  @etag
end

#express_route_portSubResource

when the circuit is provisioned on an ExpressRoutePort resource.

Returns:

  • (SubResource)

    The reference to the ExpressRoutePort resource


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

def express_route_port
  @express_route_port
end

#gateway_manager_etagString

Returns The GatewayManager Etag.

Returns:

  • (String)

    The GatewayManager Etag.


65
66
67
# File 'lib/2019-11-01/generated/azure_mgmt_network/models/express_route_circuit.rb', line 65

def gateway_manager_etag
  @gateway_manager_etag
end

#global_reach_enabledBoolean

Returns Flag denoting Global reach status.

Returns:

  • (Boolean)

    Flag denoting Global reach status.


68
69
70
# File 'lib/2019-11-01/generated/azure_mgmt_network/models/express_route_circuit.rb', line 68

def global_reach_enabled
  @global_reach_enabled
end

#peeringsArray<ExpressRouteCircuitPeering>

Returns The list of peerings.

Returns:


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

def peerings
  @peerings
end

#provisioning_stateProvisioningState

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

Returns:


62
63
64
# File 'lib/2019-11-01/generated/azure_mgmt_network/models/express_route_circuit.rb', line 62

def provisioning_state
  @provisioning_state
end

#service_keyString

Returns The ServiceKey.

Returns:

  • (String)

    The ServiceKey.


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

def service_key
  @service_key
end

#service_provider_notesString

Returns The ServiceProviderNotes.

Returns:

  • (String)

    The ServiceProviderNotes.


41
42
43
# File 'lib/2019-11-01/generated/azure_mgmt_network/models/express_route_circuit.rb', line 41

def service_provider_notes
  @service_provider_notes
end

#service_provider_propertiesExpressRouteCircuitServiceProviderProperties

ServiceProviderProperties.


45
46
47
# File 'lib/2019-11-01/generated/azure_mgmt_network/models/express_route_circuit.rb', line 45

def service_provider_properties
  @service_provider_properties
end

#service_provider_provisioning_stateServiceProviderProvisioningState

ServiceProviderProvisioningState state of the resource. Possible values include: 'NotProvisioned', 'Provisioning', 'Provisioned', 'Deprovisioning'


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

def service_provider_provisioning_state
  @service_provider_provisioning_state
end

#skuExpressRouteCircuitSku

Returns The SKU.

Returns:


16
17
18
# File 'lib/2019-11-01/generated/azure_mgmt_network/models/express_route_circuit.rb', line 16

def sku
  @sku
end

#stagInteger

QinQ encapsulation.

Returns:

  • (Integer)

    The identifier of the circuit traffic. Outer tag for


57
58
59
# File 'lib/2019-11-01/generated/azure_mgmt_network/models/express_route_circuit.rb', line 57

def stag
  @stag
end

Class Method Details

.mapperObject

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


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
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
# File 'lib/2019-11-01/generated/azure_mgmt_network/models/express_route_circuit.rb', line 79

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ExpressRouteCircuit',
    type: {
      name: 'Composite',
      class_name: 'ExpressRouteCircuit',
      model_properties: {
        id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'id',
          type: {
            name: 'String'
          }
        },
        name: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        type: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'type',
          type: {
            name: 'String'
          }
        },
        location: {
          client_side_validation: true,
          required: false,
          serialized_name: 'location',
          type: {
            name: 'String'
          }
        },
        tags: {
          client_side_validation: true,
          required: false,
          serialized_name: 'tags',
          type: {
            name: 'Dictionary',
            value: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        },
        sku: {
          client_side_validation: true,
          required: false,
          serialized_name: 'sku',
          type: {
            name: 'Composite',
            class_name: 'ExpressRouteCircuitSku'
          }
        },
        allow_classic_operations: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.allowClassicOperations',
          type: {
            name: 'Boolean'
          }
        },
        circuit_provisioning_state: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.circuitProvisioningState',
          type: {
            name: 'String'
          }
        },
        service_provider_provisioning_state: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.serviceProviderProvisioningState',
          type: {
            name: 'String'
          }
        },
        authorizations: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.authorizations',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'ExpressRouteCircuitAuthorizationElementType',
                type: {
                  name: 'Composite',
                  class_name: 'ExpressRouteCircuitAuthorization'
                }
            }
          }
        },
        peerings: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.peerings',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'ExpressRouteCircuitPeeringElementType',
                type: {
                  name: 'Composite',
                  class_name: 'ExpressRouteCircuitPeering'
                }
            }
          }
        },
        service_key: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.serviceKey',
          type: {
            name: 'String'
          }
        },
        service_provider_notes: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.serviceProviderNotes',
          type: {
            name: 'String'
          }
        },
        service_provider_properties: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.serviceProviderProperties',
          type: {
            name: 'Composite',
            class_name: 'ExpressRouteCircuitServiceProviderProperties'
          }
        },
        express_route_port: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.expressRoutePort',
          type: {
            name: 'Composite',
            class_name: 'SubResource'
          }
        },
        bandwidth_in_gbps: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.bandwidthInGbps',
          type: {
            name: 'Double'
          }
        },
        stag: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.stag',
          type: {
            name: 'Number'
          }
        },
        provisioning_state: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.provisioningState',
          type: {
            name: 'String'
          }
        },
        gateway_manager_etag: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.gatewayManagerEtag',
          type: {
            name: 'String'
          }
        },
        global_reach_enabled: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.globalReachEnabled',
          type: {
            name: 'Boolean'
          }
        },
        etag: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'etag',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end