Class: Azure::Network::Mgmt::V2019_11_01::Models::ExpressRoutePort

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

Overview

ExpressRoutePort resource definition.

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

#allocation_dateString

Letter of Authorization.

Returns:

  • (String)

    Date of the physical port allocation to be used in


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

def allocation_date
  @allocation_date
end

#bandwidth_in_gbpsInteger

Returns Bandwidth of procured ports in Gbps.

Returns:

  • (Integer)

    Bandwidth of procured ports in Gbps.


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

def bandwidth_in_gbps
  @bandwidth_in_gbps
end

#circuitsArray<SubResource>

are provisioned on this ExpressRoutePort resource.

Returns:

  • (Array<SubResource>)

    Reference the ExpressRoute circuit(s) that


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

def circuits
  @circuits
end

#encapsulationExpressRoutePortsEncapsulation

physical ports. Possible values include: 'Dot1Q', 'QinQ'

Returns:


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

def encapsulation
  @encapsulation
end

#etagString

resource is updated.

Returns:

  • (String)

    A unique read-only string that changes whenever the


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

def etag
  @etag
end

#ether_typeString

Returns Ether type of the physical port.

Returns:

  • (String)

    Ether type of the physical port.


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

def ether_type
  @ether_type
end

#identityManagedServiceIdentity

configured.

Returns:


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

def identity
  @identity
end

set of physical links of the ExpressRoutePort resource.

Returns:


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

def links
  @links
end

#mtuString

pair(s).

Returns:

  • (String)

    Maximum transmission unit of the physical port


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

def mtu
  @mtu
end

#peering_locationString

ExpressRoutePort is mapped to physically.

Returns:

  • (String)

    The name of the peering location that the


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

def peering_location
  @peering_location
end

#provisioned_bandwidth_in_gbpsFloat

Returns Aggregate Gbps of associated circuit bandwidths.

Returns:

  • (Float)

    Aggregate Gbps of associated circuit bandwidths.


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

def provisioned_bandwidth_in_gbps
  @provisioned_bandwidth_in_gbps
end

#provisioning_stateProvisioningState

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

Returns:


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

def provisioning_state
  @provisioning_state
end

#resource_guidString

resource.

Returns:

  • (String)

    The resource GUID property of the express route port


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

def resource_guid
  @resource_guid
end

Class Method Details

.mapperObject

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


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
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
# File 'lib/2019-11-01/generated/azure_mgmt_network/models/express_route_port.rb', line 72

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ExpressRoutePort',
    type: {
      name: 'Composite',
      class_name: 'ExpressRoutePort',
      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'
                }
            }
          }
        },
        peering_location: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.peeringLocation',
          type: {
            name: 'String'
          }
        },
        bandwidth_in_gbps: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.bandwidthInGbps',
          type: {
            name: 'Number'
          }
        },
        provisioned_bandwidth_in_gbps: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.provisionedBandwidthInGbps',
          type: {
            name: 'Double'
          }
        },
        mtu: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.mtu',
          type: {
            name: 'String'
          }
        },
        encapsulation: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.encapsulation',
          type: {
            name: 'String'
          }
        },
        ether_type: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.etherType',
          type: {
            name: 'String'
          }
        },
        allocation_date: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.allocationDate',
          type: {
            name: 'String'
          }
        },
        links: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.links',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'ExpressRouteLinkElementType',
                type: {
                  name: 'Composite',
                  class_name: 'ExpressRouteLink'
                }
            }
          }
        },
        circuits: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.circuits',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'SubResourceElementType',
                type: {
                  name: 'Composite',
                  class_name: 'SubResource'
                }
            }
          }
        },
        provisioning_state: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.provisioningState',
          type: {
            name: 'String'
          }
        },
        resource_guid: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.resourceGuid',
          type: {
            name: 'String'
          }
        },
        etag: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'etag',
          type: {
            name: 'String'
          }
        },
        identity: {
          client_side_validation: true,
          required: false,
          serialized_name: 'identity',
          type: {
            name: 'Composite',
            class_name: 'ManagedServiceIdentity'
          }
        }
      }
    }
  }
end