Class: Azure::Network::Mgmt::V2018_06_01::Models::ExpressRouteCrossConnection

Inherits:
Resource
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2018-06-01/generated/azure_mgmt_network/models/express_route_cross_connection.rb

Overview

ExpressRouteCrossConnection 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

#bandwidth_in_mbpsInteger

Returns The circuit bandwidth In Mbps.

Returns:

  • (Integer)

    The circuit bandwidth In Mbps.



28
29
30
# File 'lib/2018-06-01/generated/azure_mgmt_network/models/express_route_cross_connection.rb', line 28

def bandwidth_in_mbps
  @bandwidth_in_mbps
end

#etagString

the resource is updated.

Returns:

  • (String)

    Gets a unique read-only string that changes whenever



54
55
56
# File 'lib/2018-06-01/generated/azure_mgmt_network/models/express_route_cross_connection.rb', line 54

def etag
  @etag
end

#express_route_circuitExpressRouteCircuitReference

Returns The ExpressRouteCircuit.

Returns:



31
32
33
# File 'lib/2018-06-01/generated/azure_mgmt_network/models/express_route_cross_connection.rb', line 31

def express_route_circuit
  @express_route_circuit
end

#peering_locationString

Returns The peering location of the ExpressRoute circuit.

Returns:

  • (String)

    The peering location of the ExpressRoute circuit.



25
26
27
# File 'lib/2018-06-01/generated/azure_mgmt_network/models/express_route_cross_connection.rb', line 25

def peering_location
  @peering_location
end

#peeringsArray<ExpressRouteCrossConnectionPeering>

peerings.

Returns:



50
51
52
# File 'lib/2018-06-01/generated/azure_mgmt_network/models/express_route_cross_connection.rb', line 50

def peerings
  @peerings
end

#primary_azure_portString

Returns The name of the primary port.

Returns:

  • (String)

    The name of the primary port.



16
17
18
# File 'lib/2018-06-01/generated/azure_mgmt_network/models/express_route_cross_connection.rb', line 16

def primary_azure_port
  @primary_azure_port
end

#provisioning_stateString

Possible values are: ‘Updating’, ‘Deleting’, and ‘Failed’.

Returns:

  • (String)

    Gets the provisioning state of the public IP resource.



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

def provisioning_state
  @provisioning_state
end

#s_tagInteger

Returns The identifier of the circuit traffic.

Returns:

  • (Integer)

    The identifier of the circuit traffic.



22
23
24
# File 'lib/2018-06-01/generated/azure_mgmt_network/models/express_route_cross_connection.rb', line 22

def s_tag
  @s_tag
end

#secondary_azure_portString

Returns The name of the secondary port.

Returns:

  • (String)

    The name of the secondary port.



19
20
21
# File 'lib/2018-06-01/generated/azure_mgmt_network/models/express_route_cross_connection.rb', line 19

def secondary_azure_port
  @secondary_azure_port
end

#service_provider_notesString

provider.

Returns:

  • (String)

    Additional read only notes set by the connectivity



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

def service_provider_notes
  @service_provider_notes
end

#service_provider_provisioning_stateServiceProviderProvisioningState

the circuit in the connectivity provider system. Possible values are ‘NotProvisioned’, ‘Provisioning’, ‘Provisioned’. Possible values include: ‘NotProvisioned’, ‘Provisioning’, ‘Provisioned’, ‘Deprovisioning’

Returns:



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

def service_provider_provisioning_state
  @service_provider_provisioning_state
end

Class Method Details

.mapperObject

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



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
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
# File 'lib/2018-06-01/generated/azure_mgmt_network/models/express_route_cross_connection.rb', line 61

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ExpressRouteCrossConnection',
    type: {
      name: 'Composite',
      class_name: 'ExpressRouteCrossConnection',
      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'
                }
            }
          }
        },
        primary_azure_port: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.primaryAzurePort',
          type: {
            name: 'String'
          }
        },
        secondary_azure_port: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.secondaryAzurePort',
          type: {
            name: 'String'
          }
        },
        s_tag: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.sTag',
          type: {
            name: 'Number'
          }
        },
        peering_location: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.peeringLocation',
          type: {
            name: 'String'
          }
        },
        bandwidth_in_mbps: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.bandwidthInMbps',
          type: {
            name: 'Number'
          }
        },
        express_route_circuit: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.expressRouteCircuit',
          type: {
            name: 'Composite',
            class_name: 'ExpressRouteCircuitReference'
          }
        },
        service_provider_provisioning_state: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.serviceProviderProvisioningState',
          type: {
            name: 'String'
          }
        },
        service_provider_notes: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.serviceProviderNotes',
          type: {
            name: 'String'
          }
        },
        provisioning_state: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.provisioningState',
          type: {
            name: 'String'
          }
        },
        peerings: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.peerings',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'ExpressRouteCrossConnectionPeeringElementType',
                type: {
                  name: 'Composite',
                  class_name: 'ExpressRouteCrossConnectionPeering'
                }
            }
          }
        },
        etag: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'etag',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end