@@ -495,10 +495,10 @@ def create_transit_gateway_connection(self,
495
495
in a different account than the gateway. This field is required to be
496
496
unspecified for network type 'gre_tunnel'.
497
497
:param str network_id: (optional) The ID of the network being connected via
498
- this connection. This field is required for some types, such as 'vpc'. For
499
- network type 'vpc' this is the CRN of the VPC to be connected. This field
500
- is required to be unspecified for network type 'classic' and 'gre_tunnel'
501
- connections.
498
+ this connection. This field is required for some types, such as 'vpc' and
499
+ 'directlink'. For network types 'vpc' and 'directlink' this is the CRN of
500
+ the VPC / Direct Link gateway respectively. This field is required to be
501
+ unspecified for network type 'classic' and 'gre_tunnel' connections.
502
502
:param str remote_bgp_asn: (optional) Remote network BGP ASN. This field
503
503
is only applicable to 'gre_tunnel' type connections. The following ASN
504
504
values are reserved and unavailable 64512-64513, 65100, 65201-65234,
@@ -1335,8 +1335,9 @@ class TransitConnection():
1335
1335
connected network. Generally only used if the network is in a different IBM
1336
1336
Cloud account than the gateway.
1337
1337
:attr str network_id: (optional) The ID of the network being connected via this
1338
- connection. This field is required for some types, such as 'vpc'. For network
1339
- type 'vpc' this is the CRN of the VPC to be connected.
1338
+ connection. This field is required for some types, such as 'vpc' and
1339
+ 'directlink'. For network types 'vpc' and 'directlink' it should be the CRN of
1340
+ the target vpc / gateway respectively.
1340
1341
:attr str network_type: Defines what type of network is connected via this
1341
1342
connection. The list of enumerated values for this property may expand in the
1342
1343
future. Code and processes using this field must tolerate unexpected values.
@@ -1417,8 +1418,9 @@ def __init__(self,
1417
1418
the connected network. Generally only used if the network is in a different
1418
1419
IBM Cloud account than the gateway.
1419
1420
:param str network_id: (optional) The ID of the network being connected via
1420
- this connection. This field is required for some types, such as 'vpc'. For
1421
- network type 'vpc' this is the CRN of the VPC to be connected.
1421
+ this connection. This field is required for some types, such as 'vpc' and
1422
+ 'directlink'. For network types 'vpc' and 'directlink' it should be the CRN
1423
+ of the target vpc / gateway respectively.
1422
1424
:param int remote_bgp_asn: (optional) Remote network BGP ASN. This field
1423
1425
only applies to network type 'gre_tunnel' connections.
1424
1426
:param str remote_gateway_ip: (optional) Remote gateway IP address. This
@@ -1583,9 +1585,10 @@ class NetworkTypeEnum(str, Enum):
1583
1585
enumerated values for this property may expand in the future. Code and processes
1584
1586
using this field must tolerate unexpected values.
1585
1587
"""
1586
- VPC = 'vpc'
1587
1588
CLASSIC = 'classic'
1589
+ DIRECTLINK = 'directlink'
1588
1590
GRE_TUNNEL = 'gre_tunnel'
1591
+ VPC = 'vpc'
1589
1592
1590
1593
1591
1594
class RequestStatusEnum (str , Enum ):
@@ -2267,8 +2270,9 @@ class TransitGatewayConnectionCust():
2267
2270
2268
2271
:attr str name: The user-defined name for this transit gateway connection.
2269
2272
:attr str network_id: (optional) The ID of the network being connected via this
2270
- connection. This field is required for some types, such as 'vpc'. For network
2271
- type 'vpc' this is the CRN of the VPC to be connected.
2273
+ connection. This field is required for some types, such as 'vpc' and
2274
+ 'directlink'. For network types 'vpc' and 'directlink' it should be the CRN of
2275
+ the target vpc / gateway respectively.
2272
2276
:attr str network_type: Defines what type of network is connected via this
2273
2277
connection. The list of enumerated values for this property may expand in the
2274
2278
future. Code and processes using this field must tolerate unexpected values.
@@ -2342,8 +2346,9 @@ def __init__(self,
2342
2346
:param datetime created_at: The date and time that this connection was
2343
2347
created.
2344
2348
:param str network_id: (optional) The ID of the network being connected via
2345
- this connection. This field is required for some types, such as 'vpc'. For
2346
- network type 'vpc' this is the CRN of the VPC to be connected.
2349
+ this connection. This field is required for some types, such as 'vpc' and
2350
+ 'directlink'. For network types 'vpc' and 'directlink' it should be the CRN
2351
+ of the target vpc / gateway respectively.
2347
2352
:param str base_connection_id: (optional) network_type 'gre_tunnel'
2348
2353
connections use 'base_connection_id' to specify the ID of a network_type
2349
2354
'classic' connection the tunnel is configured over. The specified
@@ -2520,9 +2525,10 @@ class NetworkTypeEnum(str, Enum):
2520
2525
enumerated values for this property may expand in the future. Code and processes
2521
2526
using this field must tolerate unexpected values.
2522
2527
"""
2523
- VPC = 'vpc'
2524
2528
CLASSIC = 'classic'
2529
+ DIRECTLINK = 'directlink'
2525
2530
GRE_TUNNEL = 'gre_tunnel'
2531
+ VPC = 'vpc'
2526
2532
2527
2533
2528
2534
class RequestStatusEnum (str , Enum ):
0 commit comments