telnyx 4.1.0 → 4.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +15 -0
- data/README.md +1 -1
- data/lib/telnyx/models/calls/action_start_transcription_params.rb +3 -3
- data/lib/telnyx/models/calls/transcription_start_request.rb +56 -56
- data/lib/telnyx/models/messaging_profile.rb +9 -1
- data/lib/telnyx/models/messaging_profile_create_params.rb +9 -1
- data/lib/telnyx/models/messaging_profile_update_params.rb +9 -1
- data/lib/telnyx/models/network_list_interfaces_response.rb +114 -0
- data/lib/telnyx/models/public_internet_gateway_create_response.rb +115 -0
- data/lib/telnyx/models/public_internet_gateway_delete_response.rb +115 -0
- data/lib/telnyx/models/public_internet_gateway_list_response.rb +114 -0
- data/lib/telnyx/models/public_internet_gateway_retrieve_response.rb +115 -0
- data/lib/telnyx/models/texml/accounts/call_calls_params.rb +33 -1
- data/lib/telnyx/models/texml/accounts/conferences/participant_participants_params.rb +33 -1
- data/lib/telnyx/models/virtual_cross_connect_create_response.rb +275 -0
- data/lib/telnyx/models/virtual_cross_connect_delete_response.rb +275 -0
- data/lib/telnyx/models/virtual_cross_connect_list_response.rb +274 -0
- data/lib/telnyx/models/virtual_cross_connect_retrieve_response.rb +275 -0
- data/lib/telnyx/models/virtual_cross_connect_update_response.rb +275 -0
- data/lib/telnyx/models/wireguard_interface_create_response.rb +131 -0
- data/lib/telnyx/models/wireguard_interface_delete_response.rb +131 -0
- data/lib/telnyx/models/wireguard_interface_list_response.rb +130 -0
- data/lib/telnyx/models/wireguard_interface_retrieve_response.rb +131 -0
- data/lib/telnyx/models/wireguard_peer_create_response.rb +78 -0
- data/lib/telnyx/models/wireguard_peer_delete_response.rb +78 -0
- data/lib/telnyx/models/wireguard_peer_list_response.rb +77 -0
- data/lib/telnyx/models/wireguard_peer_retrieve_response.rb +78 -0
- data/lib/telnyx/models/wireguard_peer_update_response.rb +78 -0
- data/lib/telnyx/resources/calls/actions.rb +1 -1
- data/lib/telnyx/resources/messaging_profiles.rb +6 -2
- data/lib/telnyx/resources/texml/accounts/calls.rb +3 -1
- data/lib/telnyx/resources/texml/accounts/conferences/participants.rb +3 -1
- data/lib/telnyx/version.rb +1 -1
- data/rbi/telnyx/models/calls/action_start_transcription_params.rbi +6 -6
- data/rbi/telnyx/models/calls/transcription_start_request.rbi +266 -263
- data/rbi/telnyx/models/messaging_profile.rbi +11 -0
- data/rbi/telnyx/models/messaging_profile_create_params.rbi +11 -0
- data/rbi/telnyx/models/messaging_profile_update_params.rbi +11 -0
- data/rbi/telnyx/models/network_list_interfaces_response.rbi +202 -0
- data/rbi/telnyx/models/public_internet_gateway_create_response.rbi +202 -0
- data/rbi/telnyx/models/public_internet_gateway_delete_response.rbi +202 -0
- data/rbi/telnyx/models/public_internet_gateway_list_response.rbi +202 -0
- data/rbi/telnyx/models/public_internet_gateway_retrieve_response.rbi +202 -0
- data/rbi/telnyx/models/texml/accounts/call_calls_params.rbi +65 -0
- data/rbi/telnyx/models/texml/accounts/conferences/participant_participants_params.rbi +67 -0
- data/rbi/telnyx/models/virtual_cross_connect_create_response.rbi +444 -0
- data/rbi/telnyx/models/virtual_cross_connect_delete_response.rbi +444 -0
- data/rbi/telnyx/models/virtual_cross_connect_list_response.rbi +444 -0
- data/rbi/telnyx/models/virtual_cross_connect_retrieve_response.rbi +444 -0
- data/rbi/telnyx/models/virtual_cross_connect_update_response.rbi +444 -0
- data/rbi/telnyx/models/wireguard_interface_create_response.rbi +224 -0
- data/rbi/telnyx/models/wireguard_interface_delete_response.rbi +224 -0
- data/rbi/telnyx/models/wireguard_interface_list_response.rbi +224 -0
- data/rbi/telnyx/models/wireguard_interface_retrieve_response.rbi +224 -0
- data/rbi/telnyx/models/wireguard_peer_create_response.rbi +125 -0
- data/rbi/telnyx/models/wireguard_peer_delete_response.rbi +125 -0
- data/rbi/telnyx/models/wireguard_peer_list_response.rbi +125 -0
- data/rbi/telnyx/models/wireguard_peer_retrieve_response.rbi +125 -0
- data/rbi/telnyx/models/wireguard_peer_update_response.rbi +125 -0
- data/rbi/telnyx/resources/calls/actions.rbi +5 -5
- data/rbi/telnyx/resources/messaging_profiles.rbi +6 -0
- data/rbi/telnyx/resources/texml/accounts/calls.rbi +7 -0
- data/rbi/telnyx/resources/texml/accounts/conferences/participants.rbi +7 -0
- data/sig/telnyx/models/calls/action_start_transcription_params.rbs +5 -5
- data/sig/telnyx/models/calls/transcription_start_request.rbs +83 -83
- data/sig/telnyx/models/messaging_profile.rbs +7 -0
- data/sig/telnyx/models/messaging_profile_create_params.rbs +7 -0
- data/sig/telnyx/models/messaging_profile_update_params.rbs +7 -0
- data/sig/telnyx/models/network_list_interfaces_response.rbs +110 -0
- data/sig/telnyx/models/public_internet_gateway_create_response.rbs +110 -0
- data/sig/telnyx/models/public_internet_gateway_delete_response.rbs +110 -0
- data/sig/telnyx/models/public_internet_gateway_list_response.rbs +110 -0
- data/sig/telnyx/models/public_internet_gateway_retrieve_response.rbs +110 -0
- data/sig/telnyx/models/texml/accounts/call_calls_params.rbs +21 -0
- data/sig/telnyx/models/texml/accounts/conferences/participant_participants_params.rbs +21 -0
- data/sig/telnyx/models/virtual_cross_connect_create_response.rbs +219 -0
- data/sig/telnyx/models/virtual_cross_connect_delete_response.rbs +219 -0
- data/sig/telnyx/models/virtual_cross_connect_list_response.rbs +219 -0
- data/sig/telnyx/models/virtual_cross_connect_retrieve_response.rbs +219 -0
- data/sig/telnyx/models/virtual_cross_connect_update_response.rbs +219 -0
- data/sig/telnyx/models/wireguard_interface_create_response.rbs +124 -0
- data/sig/telnyx/models/wireguard_interface_delete_response.rbs +124 -0
- data/sig/telnyx/models/wireguard_interface_list_response.rbs +124 -0
- data/sig/telnyx/models/wireguard_interface_retrieve_response.rbs +124 -0
- data/sig/telnyx/models/wireguard_peer_create_response.rbs +68 -0
- data/sig/telnyx/models/wireguard_peer_delete_response.rbs +68 -0
- data/sig/telnyx/models/wireguard_peer_list_response.rbs +68 -0
- data/sig/telnyx/models/wireguard_peer_retrieve_response.rbs +68 -0
- data/sig/telnyx/models/wireguard_peer_update_response.rbs +68 -0
- data/sig/telnyx/resources/calls/actions.rbs +1 -1
- data/sig/telnyx/resources/messaging_profiles.rbs +2 -0
- data/sig/telnyx/resources/texml/accounts/calls.rbs +1 -0
- data/sig/telnyx/resources/texml/accounts/conferences/participants.rbs +1 -0
- metadata +2 -2
@@ -18,6 +18,280 @@ module Telnyx
|
|
18
18
|
# @!method initialize(data: nil, meta: nil)
|
19
19
|
# @param data [Array<Telnyx::Models::VirtualCrossConnectListResponse::Data>]
|
20
20
|
# @param meta [Telnyx::Models::PaginationMeta]
|
21
|
+
|
22
|
+
class Data < Telnyx::Internal::Type::BaseModel
|
23
|
+
# @!attribute name
|
24
|
+
# A user specified name for the interface.
|
25
|
+
#
|
26
|
+
# @return [String, nil]
|
27
|
+
optional :name, String
|
28
|
+
|
29
|
+
# @!attribute network_id
|
30
|
+
# The id of the network associated with the interface.
|
31
|
+
#
|
32
|
+
# @return [String, nil]
|
33
|
+
optional :network_id, String
|
34
|
+
|
35
|
+
# @!attribute region_code
|
36
|
+
# The region the interface should be deployed to.
|
37
|
+
#
|
38
|
+
# @return [String, nil]
|
39
|
+
optional :region_code, String
|
40
|
+
|
41
|
+
# @!attribute bgp_asn
|
42
|
+
# The Border Gateway Protocol (BGP) Autonomous System Number (ASN). If null, value
|
43
|
+
# will be assigned by Telnyx.
|
44
|
+
#
|
45
|
+
# @return [Float]
|
46
|
+
required :bgp_asn, Float
|
47
|
+
|
48
|
+
# @!attribute cloud_provider
|
49
|
+
# The Virtual Private Cloud with which you would like to establish a cross
|
50
|
+
# connect.
|
51
|
+
#
|
52
|
+
# @return [Symbol, Telnyx::Models::VirtualCrossConnectListResponse::Data::CloudProvider]
|
53
|
+
required :cloud_provider,
|
54
|
+
enum: -> { Telnyx::Models::VirtualCrossConnectListResponse::Data::CloudProvider }
|
55
|
+
|
56
|
+
# @!attribute cloud_provider_region
|
57
|
+
# The region where your Virtual Private Cloud hosts are located.<br /><br />The
|
58
|
+
# available regions can be found using the /virtual_cross_connect_regions
|
59
|
+
# endpoint.
|
60
|
+
#
|
61
|
+
# @return [String]
|
62
|
+
required :cloud_provider_region, String
|
63
|
+
|
64
|
+
# @!attribute primary_cloud_account_id
|
65
|
+
# The identifier for your Virtual Private Cloud. The number will be different
|
66
|
+
# based upon your Cloud provider.
|
67
|
+
#
|
68
|
+
# @return [String]
|
69
|
+
required :primary_cloud_account_id, String
|
70
|
+
|
71
|
+
# @!attribute bandwidth_mbps
|
72
|
+
# The desired throughput in Megabits per Second (Mbps) for your Virtual Cross
|
73
|
+
# Connect.<br /><br />The available bandwidths can be found using the
|
74
|
+
# /virtual_cross_connect_regions endpoint.
|
75
|
+
#
|
76
|
+
# @return [Float, nil]
|
77
|
+
optional :bandwidth_mbps, Float
|
78
|
+
|
79
|
+
# @!attribute primary_bgp_key
|
80
|
+
# The authentication key for BGP peer configuration.
|
81
|
+
#
|
82
|
+
# @return [String, nil]
|
83
|
+
optional :primary_bgp_key, String
|
84
|
+
|
85
|
+
# @!attribute primary_cloud_ip
|
86
|
+
# The IP address assigned for your side of the Virtual Cross
|
87
|
+
# Connect.<br /><br />If none is provided, one will be generated for
|
88
|
+
# you.<br /><br />This value can not be patched once the VXC has bene provisioned.
|
89
|
+
#
|
90
|
+
# @return [String, nil]
|
91
|
+
optional :primary_cloud_ip, String
|
92
|
+
|
93
|
+
# @!attribute primary_enabled
|
94
|
+
# Indicates whether the primary circuit is enabled. Setting this to `false` will
|
95
|
+
# disable the circuit.
|
96
|
+
#
|
97
|
+
# @return [Boolean, nil]
|
98
|
+
optional :primary_enabled, Telnyx::Internal::Type::Boolean
|
99
|
+
|
100
|
+
# @!attribute primary_routing_announcement
|
101
|
+
# Whether the primary BGP route is being announced.
|
102
|
+
#
|
103
|
+
# @return [Boolean, nil]
|
104
|
+
optional :primary_routing_announcement, Telnyx::Internal::Type::Boolean
|
105
|
+
|
106
|
+
# @!attribute primary_telnyx_ip
|
107
|
+
# The IP address assigned to the Telnyx side of the Virtual Cross
|
108
|
+
# Connect.<br /><br />If none is provided, one will be generated for
|
109
|
+
# you.<br /><br />This value should be null for GCE as Google will only inform you
|
110
|
+
# of your assigned IP once the connection has been accepted.
|
111
|
+
#
|
112
|
+
# @return [String, nil]
|
113
|
+
optional :primary_telnyx_ip, String
|
114
|
+
|
115
|
+
# @!attribute region
|
116
|
+
#
|
117
|
+
# @return [Telnyx::Models::VirtualCrossConnectListResponse::Data::Region, nil]
|
118
|
+
optional :region, -> { Telnyx::Models::VirtualCrossConnectListResponse::Data::Region }
|
119
|
+
|
120
|
+
# @!attribute secondary_bgp_key
|
121
|
+
# The authentication key for BGP peer configuration.
|
122
|
+
#
|
123
|
+
# @return [String, nil]
|
124
|
+
optional :secondary_bgp_key, String
|
125
|
+
|
126
|
+
# @!attribute secondary_cloud_account_id
|
127
|
+
# The identifier for your Virtual Private Cloud. The number will be different
|
128
|
+
# based upon your Cloud provider.<br /><br />This attribute is only necessary for
|
129
|
+
# GCE.
|
130
|
+
#
|
131
|
+
# @return [String, nil]
|
132
|
+
optional :secondary_cloud_account_id, String
|
133
|
+
|
134
|
+
# @!attribute secondary_cloud_ip
|
135
|
+
# The IP address assigned for your side of the Virtual Cross
|
136
|
+
# Connect.<br /><br />If none is provided, one will be generated for
|
137
|
+
# you.<br /><br />This value can not be patched once the VXC has bene provisioned.
|
138
|
+
#
|
139
|
+
# @return [String, nil]
|
140
|
+
optional :secondary_cloud_ip, String
|
141
|
+
|
142
|
+
# @!attribute secondary_enabled
|
143
|
+
# Indicates whether the secondary circuit is enabled. Setting this to `false` will
|
144
|
+
# disable the circuit.
|
145
|
+
#
|
146
|
+
# @return [Boolean, nil]
|
147
|
+
optional :secondary_enabled, Telnyx::Internal::Type::Boolean
|
148
|
+
|
149
|
+
# @!attribute secondary_routing_announcement
|
150
|
+
# Whether the secondary BGP route is being announced.
|
151
|
+
#
|
152
|
+
# @return [Boolean, nil]
|
153
|
+
optional :secondary_routing_announcement, Telnyx::Internal::Type::Boolean
|
154
|
+
|
155
|
+
# @!attribute secondary_telnyx_ip
|
156
|
+
# The IP address assigned to the Telnyx side of the Virtual Cross
|
157
|
+
# Connect.<br /><br />If none is provided, one will be generated for
|
158
|
+
# you.<br /><br />This value should be null for GCE as Google will only inform you
|
159
|
+
# of your assigned IP once the connection has been accepted.
|
160
|
+
#
|
161
|
+
# @return [String, nil]
|
162
|
+
optional :secondary_telnyx_ip, String
|
163
|
+
|
164
|
+
response_only do
|
165
|
+
# @!attribute id
|
166
|
+
# Identifies the resource.
|
167
|
+
#
|
168
|
+
# @return [String, nil]
|
169
|
+
optional :id, String
|
170
|
+
|
171
|
+
# @!attribute created_at
|
172
|
+
# ISO 8601 formatted date-time indicating when the resource was created.
|
173
|
+
#
|
174
|
+
# @return [String, nil]
|
175
|
+
optional :created_at, String
|
176
|
+
|
177
|
+
# @!attribute record_type
|
178
|
+
# Identifies the type of the resource.
|
179
|
+
#
|
180
|
+
# @return [String, nil]
|
181
|
+
optional :record_type, String
|
182
|
+
|
183
|
+
# @!attribute updated_at
|
184
|
+
# ISO 8601 formatted date-time indicating when the resource was updated.
|
185
|
+
#
|
186
|
+
# @return [String, nil]
|
187
|
+
optional :updated_at, String
|
188
|
+
|
189
|
+
# @!attribute status
|
190
|
+
# The current status of the interface deployment.
|
191
|
+
#
|
192
|
+
# @return [Symbol, Telnyx::Models::InterfaceStatus, nil]
|
193
|
+
optional :status, enum: -> { Telnyx::InterfaceStatus }
|
194
|
+
end
|
195
|
+
|
196
|
+
# @!method initialize(bgp_asn:, cloud_provider:, cloud_provider_region:, primary_cloud_account_id:, id: nil, created_at: nil, record_type: nil, updated_at: nil, name: nil, network_id: nil, status: nil, region_code: nil, bandwidth_mbps: nil, primary_bgp_key: nil, primary_cloud_ip: nil, primary_enabled: nil, primary_routing_announcement: nil, primary_telnyx_ip: nil, region: nil, secondary_bgp_key: nil, secondary_cloud_account_id: nil, secondary_cloud_ip: nil, secondary_enabled: nil, secondary_routing_announcement: nil, secondary_telnyx_ip: nil)
|
197
|
+
# Some parameter documentations has been truncated, see
|
198
|
+
# {Telnyx::Models::VirtualCrossConnectListResponse::Data} for more details.
|
199
|
+
#
|
200
|
+
# @param bgp_asn [Float] The Border Gateway Protocol (BGP) Autonomous System Number (ASN). If null, value
|
201
|
+
#
|
202
|
+
# @param cloud_provider [Symbol, Telnyx::Models::VirtualCrossConnectListResponse::Data::CloudProvider] The Virtual Private Cloud with which you would like to establish a cross connect
|
203
|
+
#
|
204
|
+
# @param cloud_provider_region [String] The region where your Virtual Private Cloud hosts are located.<br /><br />The av
|
205
|
+
#
|
206
|
+
# @param primary_cloud_account_id [String] The identifier for your Virtual Private Cloud. The number will be different base
|
207
|
+
#
|
208
|
+
# @param id [String] Identifies the resource.
|
209
|
+
#
|
210
|
+
# @param created_at [String] ISO 8601 formatted date-time indicating when the resource was created.
|
211
|
+
#
|
212
|
+
# @param record_type [String] Identifies the type of the resource.
|
213
|
+
#
|
214
|
+
# @param updated_at [String] ISO 8601 formatted date-time indicating when the resource was updated.
|
215
|
+
#
|
216
|
+
# @param name [String] A user specified name for the interface.
|
217
|
+
#
|
218
|
+
# @param network_id [String] The id of the network associated with the interface.
|
219
|
+
#
|
220
|
+
# @param status [Symbol, Telnyx::Models::InterfaceStatus] The current status of the interface deployment.
|
221
|
+
#
|
222
|
+
# @param region_code [String] The region the interface should be deployed to.
|
223
|
+
#
|
224
|
+
# @param bandwidth_mbps [Float] The desired throughput in Megabits per Second (Mbps) for your Virtual Cross Conn
|
225
|
+
#
|
226
|
+
# @param primary_bgp_key [String] The authentication key for BGP peer configuration.
|
227
|
+
#
|
228
|
+
# @param primary_cloud_ip [String] The IP address assigned for your side of the Virtual Cross Connect.<br /><br />I
|
229
|
+
#
|
230
|
+
# @param primary_enabled [Boolean] Indicates whether the primary circuit is enabled. Setting this to `false` will d
|
231
|
+
#
|
232
|
+
# @param primary_routing_announcement [Boolean] Whether the primary BGP route is being announced.
|
233
|
+
#
|
234
|
+
# @param primary_telnyx_ip [String] The IP address assigned to the Telnyx side of the Virtual Cross Connect.<br /><b
|
235
|
+
#
|
236
|
+
# @param region [Telnyx::Models::VirtualCrossConnectListResponse::Data::Region]
|
237
|
+
#
|
238
|
+
# @param secondary_bgp_key [String] The authentication key for BGP peer configuration.
|
239
|
+
#
|
240
|
+
# @param secondary_cloud_account_id [String] The identifier for your Virtual Private Cloud. The number will be different base
|
241
|
+
#
|
242
|
+
# @param secondary_cloud_ip [String] The IP address assigned for your side of the Virtual Cross Connect.<br /><br />I
|
243
|
+
#
|
244
|
+
# @param secondary_enabled [Boolean] Indicates whether the secondary circuit is enabled. Setting this to `false` will
|
245
|
+
#
|
246
|
+
# @param secondary_routing_announcement [Boolean] Whether the secondary BGP route is being announced.
|
247
|
+
#
|
248
|
+
# @param secondary_telnyx_ip [String] The IP address assigned to the Telnyx side of the Virtual Cross Connect.<br /><b
|
249
|
+
|
250
|
+
# The Virtual Private Cloud with which you would like to establish a cross
|
251
|
+
# connect.
|
252
|
+
#
|
253
|
+
# @see Telnyx::Models::VirtualCrossConnectListResponse::Data#cloud_provider
|
254
|
+
module CloudProvider
|
255
|
+
extend Telnyx::Internal::Type::Enum
|
256
|
+
|
257
|
+
AWS = :aws
|
258
|
+
AZURE = :azure
|
259
|
+
GCE = :gce
|
260
|
+
|
261
|
+
# @!method self.values
|
262
|
+
# @return [Array<Symbol>]
|
263
|
+
end
|
264
|
+
|
265
|
+
# @see Telnyx::Models::VirtualCrossConnectListResponse::Data#region
|
266
|
+
class Region < Telnyx::Internal::Type::BaseModel
|
267
|
+
# @!attribute code
|
268
|
+
# Region code of the interface.
|
269
|
+
#
|
270
|
+
# @return [String, nil]
|
271
|
+
optional :code, String
|
272
|
+
|
273
|
+
# @!attribute name
|
274
|
+
# Region name of the interface.
|
275
|
+
#
|
276
|
+
# @return [String, nil]
|
277
|
+
optional :name, String
|
278
|
+
|
279
|
+
response_only do
|
280
|
+
# @!attribute record_type
|
281
|
+
# Identifies the type of the resource.
|
282
|
+
#
|
283
|
+
# @return [String, nil]
|
284
|
+
optional :record_type, String
|
285
|
+
end
|
286
|
+
|
287
|
+
# @!method initialize(code: nil, name: nil, record_type: nil)
|
288
|
+
# @param code [String] Region code of the interface.
|
289
|
+
#
|
290
|
+
# @param name [String] Region name of the interface.
|
291
|
+
#
|
292
|
+
# @param record_type [String] Identifies the type of the resource.
|
293
|
+
end
|
294
|
+
end
|
21
295
|
end
|
22
296
|
end
|
23
297
|
end
|
@@ -11,6 +11,281 @@ module Telnyx
|
|
11
11
|
|
12
12
|
# @!method initialize(data: nil)
|
13
13
|
# @param data [Telnyx::Models::VirtualCrossConnectRetrieveResponse::Data]
|
14
|
+
|
15
|
+
# @see Telnyx::Models::VirtualCrossConnectRetrieveResponse#data
|
16
|
+
class Data < Telnyx::Internal::Type::BaseModel
|
17
|
+
# @!attribute name
|
18
|
+
# A user specified name for the interface.
|
19
|
+
#
|
20
|
+
# @return [String, nil]
|
21
|
+
optional :name, String
|
22
|
+
|
23
|
+
# @!attribute network_id
|
24
|
+
# The id of the network associated with the interface.
|
25
|
+
#
|
26
|
+
# @return [String, nil]
|
27
|
+
optional :network_id, String
|
28
|
+
|
29
|
+
# @!attribute region_code
|
30
|
+
# The region the interface should be deployed to.
|
31
|
+
#
|
32
|
+
# @return [String, nil]
|
33
|
+
optional :region_code, String
|
34
|
+
|
35
|
+
# @!attribute bgp_asn
|
36
|
+
# The Border Gateway Protocol (BGP) Autonomous System Number (ASN). If null, value
|
37
|
+
# will be assigned by Telnyx.
|
38
|
+
#
|
39
|
+
# @return [Float]
|
40
|
+
required :bgp_asn, Float
|
41
|
+
|
42
|
+
# @!attribute cloud_provider
|
43
|
+
# The Virtual Private Cloud with which you would like to establish a cross
|
44
|
+
# connect.
|
45
|
+
#
|
46
|
+
# @return [Symbol, Telnyx::Models::VirtualCrossConnectRetrieveResponse::Data::CloudProvider]
|
47
|
+
required :cloud_provider,
|
48
|
+
enum: -> { Telnyx::Models::VirtualCrossConnectRetrieveResponse::Data::CloudProvider }
|
49
|
+
|
50
|
+
# @!attribute cloud_provider_region
|
51
|
+
# The region where your Virtual Private Cloud hosts are located.<br /><br />The
|
52
|
+
# available regions can be found using the /virtual_cross_connect_regions
|
53
|
+
# endpoint.
|
54
|
+
#
|
55
|
+
# @return [String]
|
56
|
+
required :cloud_provider_region, String
|
57
|
+
|
58
|
+
# @!attribute primary_cloud_account_id
|
59
|
+
# The identifier for your Virtual Private Cloud. The number will be different
|
60
|
+
# based upon your Cloud provider.
|
61
|
+
#
|
62
|
+
# @return [String]
|
63
|
+
required :primary_cloud_account_id, String
|
64
|
+
|
65
|
+
# @!attribute bandwidth_mbps
|
66
|
+
# The desired throughput in Megabits per Second (Mbps) for your Virtual Cross
|
67
|
+
# Connect.<br /><br />The available bandwidths can be found using the
|
68
|
+
# /virtual_cross_connect_regions endpoint.
|
69
|
+
#
|
70
|
+
# @return [Float, nil]
|
71
|
+
optional :bandwidth_mbps, Float
|
72
|
+
|
73
|
+
# @!attribute primary_bgp_key
|
74
|
+
# The authentication key for BGP peer configuration.
|
75
|
+
#
|
76
|
+
# @return [String, nil]
|
77
|
+
optional :primary_bgp_key, String
|
78
|
+
|
79
|
+
# @!attribute primary_cloud_ip
|
80
|
+
# The IP address assigned for your side of the Virtual Cross
|
81
|
+
# Connect.<br /><br />If none is provided, one will be generated for
|
82
|
+
# you.<br /><br />This value can not be patched once the VXC has bene provisioned.
|
83
|
+
#
|
84
|
+
# @return [String, nil]
|
85
|
+
optional :primary_cloud_ip, String
|
86
|
+
|
87
|
+
# @!attribute primary_enabled
|
88
|
+
# Indicates whether the primary circuit is enabled. Setting this to `false` will
|
89
|
+
# disable the circuit.
|
90
|
+
#
|
91
|
+
# @return [Boolean, nil]
|
92
|
+
optional :primary_enabled, Telnyx::Internal::Type::Boolean
|
93
|
+
|
94
|
+
# @!attribute primary_routing_announcement
|
95
|
+
# Whether the primary BGP route is being announced.
|
96
|
+
#
|
97
|
+
# @return [Boolean, nil]
|
98
|
+
optional :primary_routing_announcement, Telnyx::Internal::Type::Boolean
|
99
|
+
|
100
|
+
# @!attribute primary_telnyx_ip
|
101
|
+
# The IP address assigned to the Telnyx side of the Virtual Cross
|
102
|
+
# Connect.<br /><br />If none is provided, one will be generated for
|
103
|
+
# you.<br /><br />This value should be null for GCE as Google will only inform you
|
104
|
+
# of your assigned IP once the connection has been accepted.
|
105
|
+
#
|
106
|
+
# @return [String, nil]
|
107
|
+
optional :primary_telnyx_ip, String
|
108
|
+
|
109
|
+
# @!attribute region
|
110
|
+
#
|
111
|
+
# @return [Telnyx::Models::VirtualCrossConnectRetrieveResponse::Data::Region, nil]
|
112
|
+
optional :region, -> { Telnyx::Models::VirtualCrossConnectRetrieveResponse::Data::Region }
|
113
|
+
|
114
|
+
# @!attribute secondary_bgp_key
|
115
|
+
# The authentication key for BGP peer configuration.
|
116
|
+
#
|
117
|
+
# @return [String, nil]
|
118
|
+
optional :secondary_bgp_key, String
|
119
|
+
|
120
|
+
# @!attribute secondary_cloud_account_id
|
121
|
+
# The identifier for your Virtual Private Cloud. The number will be different
|
122
|
+
# based upon your Cloud provider.<br /><br />This attribute is only necessary for
|
123
|
+
# GCE.
|
124
|
+
#
|
125
|
+
# @return [String, nil]
|
126
|
+
optional :secondary_cloud_account_id, String
|
127
|
+
|
128
|
+
# @!attribute secondary_cloud_ip
|
129
|
+
# The IP address assigned for your side of the Virtual Cross
|
130
|
+
# Connect.<br /><br />If none is provided, one will be generated for
|
131
|
+
# you.<br /><br />This value can not be patched once the VXC has bene provisioned.
|
132
|
+
#
|
133
|
+
# @return [String, nil]
|
134
|
+
optional :secondary_cloud_ip, String
|
135
|
+
|
136
|
+
# @!attribute secondary_enabled
|
137
|
+
# Indicates whether the secondary circuit is enabled. Setting this to `false` will
|
138
|
+
# disable the circuit.
|
139
|
+
#
|
140
|
+
# @return [Boolean, nil]
|
141
|
+
optional :secondary_enabled, Telnyx::Internal::Type::Boolean
|
142
|
+
|
143
|
+
# @!attribute secondary_routing_announcement
|
144
|
+
# Whether the secondary BGP route is being announced.
|
145
|
+
#
|
146
|
+
# @return [Boolean, nil]
|
147
|
+
optional :secondary_routing_announcement, Telnyx::Internal::Type::Boolean
|
148
|
+
|
149
|
+
# @!attribute secondary_telnyx_ip
|
150
|
+
# The IP address assigned to the Telnyx side of the Virtual Cross
|
151
|
+
# Connect.<br /><br />If none is provided, one will be generated for
|
152
|
+
# you.<br /><br />This value should be null for GCE as Google will only inform you
|
153
|
+
# of your assigned IP once the connection has been accepted.
|
154
|
+
#
|
155
|
+
# @return [String, nil]
|
156
|
+
optional :secondary_telnyx_ip, String
|
157
|
+
|
158
|
+
response_only do
|
159
|
+
# @!attribute id
|
160
|
+
# Identifies the resource.
|
161
|
+
#
|
162
|
+
# @return [String, nil]
|
163
|
+
optional :id, String
|
164
|
+
|
165
|
+
# @!attribute created_at
|
166
|
+
# ISO 8601 formatted date-time indicating when the resource was created.
|
167
|
+
#
|
168
|
+
# @return [String, nil]
|
169
|
+
optional :created_at, String
|
170
|
+
|
171
|
+
# @!attribute record_type
|
172
|
+
# Identifies the type of the resource.
|
173
|
+
#
|
174
|
+
# @return [String, nil]
|
175
|
+
optional :record_type, String
|
176
|
+
|
177
|
+
# @!attribute updated_at
|
178
|
+
# ISO 8601 formatted date-time indicating when the resource was updated.
|
179
|
+
#
|
180
|
+
# @return [String, nil]
|
181
|
+
optional :updated_at, String
|
182
|
+
|
183
|
+
# @!attribute status
|
184
|
+
# The current status of the interface deployment.
|
185
|
+
#
|
186
|
+
# @return [Symbol, Telnyx::Models::InterfaceStatus, nil]
|
187
|
+
optional :status, enum: -> { Telnyx::InterfaceStatus }
|
188
|
+
end
|
189
|
+
|
190
|
+
# @!method initialize(bgp_asn:, cloud_provider:, cloud_provider_region:, primary_cloud_account_id:, id: nil, created_at: nil, record_type: nil, updated_at: nil, name: nil, network_id: nil, status: nil, region_code: nil, bandwidth_mbps: nil, primary_bgp_key: nil, primary_cloud_ip: nil, primary_enabled: nil, primary_routing_announcement: nil, primary_telnyx_ip: nil, region: nil, secondary_bgp_key: nil, secondary_cloud_account_id: nil, secondary_cloud_ip: nil, secondary_enabled: nil, secondary_routing_announcement: nil, secondary_telnyx_ip: nil)
|
191
|
+
# Some parameter documentations has been truncated, see
|
192
|
+
# {Telnyx::Models::VirtualCrossConnectRetrieveResponse::Data} for more details.
|
193
|
+
#
|
194
|
+
# @param bgp_asn [Float] The Border Gateway Protocol (BGP) Autonomous System Number (ASN). If null, value
|
195
|
+
#
|
196
|
+
# @param cloud_provider [Symbol, Telnyx::Models::VirtualCrossConnectRetrieveResponse::Data::CloudProvider] The Virtual Private Cloud with which you would like to establish a cross connect
|
197
|
+
#
|
198
|
+
# @param cloud_provider_region [String] The region where your Virtual Private Cloud hosts are located.<br /><br />The av
|
199
|
+
#
|
200
|
+
# @param primary_cloud_account_id [String] The identifier for your Virtual Private Cloud. The number will be different base
|
201
|
+
#
|
202
|
+
# @param id [String] Identifies the resource.
|
203
|
+
#
|
204
|
+
# @param created_at [String] ISO 8601 formatted date-time indicating when the resource was created.
|
205
|
+
#
|
206
|
+
# @param record_type [String] Identifies the type of the resource.
|
207
|
+
#
|
208
|
+
# @param updated_at [String] ISO 8601 formatted date-time indicating when the resource was updated.
|
209
|
+
#
|
210
|
+
# @param name [String] A user specified name for the interface.
|
211
|
+
#
|
212
|
+
# @param network_id [String] The id of the network associated with the interface.
|
213
|
+
#
|
214
|
+
# @param status [Symbol, Telnyx::Models::InterfaceStatus] The current status of the interface deployment.
|
215
|
+
#
|
216
|
+
# @param region_code [String] The region the interface should be deployed to.
|
217
|
+
#
|
218
|
+
# @param bandwidth_mbps [Float] The desired throughput in Megabits per Second (Mbps) for your Virtual Cross Conn
|
219
|
+
#
|
220
|
+
# @param primary_bgp_key [String] The authentication key for BGP peer configuration.
|
221
|
+
#
|
222
|
+
# @param primary_cloud_ip [String] The IP address assigned for your side of the Virtual Cross Connect.<br /><br />I
|
223
|
+
#
|
224
|
+
# @param primary_enabled [Boolean] Indicates whether the primary circuit is enabled. Setting this to `false` will d
|
225
|
+
#
|
226
|
+
# @param primary_routing_announcement [Boolean] Whether the primary BGP route is being announced.
|
227
|
+
#
|
228
|
+
# @param primary_telnyx_ip [String] The IP address assigned to the Telnyx side of the Virtual Cross Connect.<br /><b
|
229
|
+
#
|
230
|
+
# @param region [Telnyx::Models::VirtualCrossConnectRetrieveResponse::Data::Region]
|
231
|
+
#
|
232
|
+
# @param secondary_bgp_key [String] The authentication key for BGP peer configuration.
|
233
|
+
#
|
234
|
+
# @param secondary_cloud_account_id [String] The identifier for your Virtual Private Cloud. The number will be different base
|
235
|
+
#
|
236
|
+
# @param secondary_cloud_ip [String] The IP address assigned for your side of the Virtual Cross Connect.<br /><br />I
|
237
|
+
#
|
238
|
+
# @param secondary_enabled [Boolean] Indicates whether the secondary circuit is enabled. Setting this to `false` will
|
239
|
+
#
|
240
|
+
# @param secondary_routing_announcement [Boolean] Whether the secondary BGP route is being announced.
|
241
|
+
#
|
242
|
+
# @param secondary_telnyx_ip [String] The IP address assigned to the Telnyx side of the Virtual Cross Connect.<br /><b
|
243
|
+
|
244
|
+
# The Virtual Private Cloud with which you would like to establish a cross
|
245
|
+
# connect.
|
246
|
+
#
|
247
|
+
# @see Telnyx::Models::VirtualCrossConnectRetrieveResponse::Data#cloud_provider
|
248
|
+
module CloudProvider
|
249
|
+
extend Telnyx::Internal::Type::Enum
|
250
|
+
|
251
|
+
AWS = :aws
|
252
|
+
AZURE = :azure
|
253
|
+
GCE = :gce
|
254
|
+
|
255
|
+
# @!method self.values
|
256
|
+
# @return [Array<Symbol>]
|
257
|
+
end
|
258
|
+
|
259
|
+
# @see Telnyx::Models::VirtualCrossConnectRetrieveResponse::Data#region
|
260
|
+
class Region < Telnyx::Internal::Type::BaseModel
|
261
|
+
# @!attribute code
|
262
|
+
# Region code of the interface.
|
263
|
+
#
|
264
|
+
# @return [String, nil]
|
265
|
+
optional :code, String
|
266
|
+
|
267
|
+
# @!attribute name
|
268
|
+
# Region name of the interface.
|
269
|
+
#
|
270
|
+
# @return [String, nil]
|
271
|
+
optional :name, String
|
272
|
+
|
273
|
+
response_only do
|
274
|
+
# @!attribute record_type
|
275
|
+
# Identifies the type of the resource.
|
276
|
+
#
|
277
|
+
# @return [String, nil]
|
278
|
+
optional :record_type, String
|
279
|
+
end
|
280
|
+
|
281
|
+
# @!method initialize(code: nil, name: nil, record_type: nil)
|
282
|
+
# @param code [String] Region code of the interface.
|
283
|
+
#
|
284
|
+
# @param name [String] Region name of the interface.
|
285
|
+
#
|
286
|
+
# @param record_type [String] Identifies the type of the resource.
|
287
|
+
end
|
288
|
+
end
|
14
289
|
end
|
15
290
|
end
|
16
291
|
end
|