diff --git a/ibm_cloud_networking_services/transit_gateway_apis_v1.py b/ibm_cloud_networking_services/transit_gateway_apis_v1.py index 1bd1ee3..6400146 100644 --- a/ibm_cloud_networking_services/transit_gateway_apis_v1.py +++ b/ibm_cloud_networking_services/transit_gateway_apis_v1.py @@ -495,10 +495,10 @@ def create_transit_gateway_connection(self, in a different account than the gateway. This field is required to be unspecified for network type 'gre_tunnel'. :param str network_id: (optional) The ID of the network being connected via - this connection. This field is required for some types, such as 'vpc'. For - network type 'vpc' this is the CRN of the VPC to be connected. This field - is required to be unspecified for network type 'classic' and 'gre_tunnel' - connections. + this connection. This field is required for some types, such as 'vpc' and + 'directlink'. For network types 'vpc' and 'directlink' this is the CRN of + the VPC / Direct Link gateway respectively. This field is required to be + unspecified for network type 'classic' and 'gre_tunnel' connections. :param str remote_bgp_asn: (optional) Remote network BGP ASN. This field is only applicable to 'gre_tunnel' type connections. The following ASN values are reserved and unavailable 64512-64513, 65100, 65201-65234, @@ -1335,8 +1335,9 @@ class TransitConnection(): connected network. Generally only used if the network is in a different IBM Cloud account than the gateway. :attr str network_id: (optional) The ID of the network being connected via this - connection. This field is required for some types, such as 'vpc'. For network - type 'vpc' this is the CRN of the VPC to be connected. + connection. This field is required for some types, such as 'vpc' and + 'directlink'. For network types 'vpc' and 'directlink' it should be the CRN of + the target vpc / gateway respectively. :attr str network_type: Defines what type of network is connected via this connection. The list of enumerated values for this property may expand in the future. Code and processes using this field must tolerate unexpected values. @@ -1417,8 +1418,9 @@ def __init__(self, the connected network. Generally only used if the network is in a different IBM Cloud account than the gateway. :param str network_id: (optional) The ID of the network being connected via - this connection. This field is required for some types, such as 'vpc'. For - network type 'vpc' this is the CRN of the VPC to be connected. + this connection. This field is required for some types, such as 'vpc' and + 'directlink'. For network types 'vpc' and 'directlink' it should be the CRN + of the target vpc / gateway respectively. :param int remote_bgp_asn: (optional) Remote network BGP ASN. This field only applies to network type 'gre_tunnel' connections. :param str remote_gateway_ip: (optional) Remote gateway IP address. This @@ -1583,9 +1585,10 @@ class NetworkTypeEnum(str, Enum): enumerated values for this property may expand in the future. Code and processes using this field must tolerate unexpected values. """ - VPC = 'vpc' CLASSIC = 'classic' + DIRECTLINK = 'directlink' GRE_TUNNEL = 'gre_tunnel' + VPC = 'vpc' class RequestStatusEnum(str, Enum): @@ -2267,8 +2270,9 @@ class TransitGatewayConnectionCust(): :attr str name: The user-defined name for this transit gateway connection. :attr str network_id: (optional) The ID of the network being connected via this - connection. This field is required for some types, such as 'vpc'. For network - type 'vpc' this is the CRN of the VPC to be connected. + connection. This field is required for some types, such as 'vpc' and + 'directlink'. For network types 'vpc' and 'directlink' it should be the CRN of + the target vpc / gateway respectively. :attr str network_type: Defines what type of network is connected via this connection. The list of enumerated values for this property may expand in the future. Code and processes using this field must tolerate unexpected values. @@ -2342,8 +2346,9 @@ def __init__(self, :param datetime created_at: The date and time that this connection was created. :param str network_id: (optional) The ID of the network being connected via - this connection. This field is required for some types, such as 'vpc'. For - network type 'vpc' this is the CRN of the VPC to be connected. + this connection. This field is required for some types, such as 'vpc' and + 'directlink'. For network types 'vpc' and 'directlink' it should be the CRN + of the target vpc / gateway respectively. :param str base_connection_id: (optional) network_type 'gre_tunnel' connections use 'base_connection_id' to specify the ID of a network_type 'classic' connection the tunnel is configured over. The specified @@ -2520,9 +2525,10 @@ class NetworkTypeEnum(str, Enum): enumerated values for this property may expand in the future. Code and processes using this field must tolerate unexpected values. """ - VPC = 'vpc' CLASSIC = 'classic' + DIRECTLINK = 'directlink' GRE_TUNNEL = 'gre_tunnel' + VPC = 'vpc' class RequestStatusEnum(str, Enum):