UpdateVirtualCircuitDetails¶
-
class
oci.core.models.
UpdateVirtualCircuitDetails
(**kwargs)¶ Bases:
object
UpdateVirtualCircuitDetails model.
Attributes
BGP_ADMIN_STATE_DISABLED
A constant which can be used with the bgp_admin_state property of a UpdateVirtualCircuitDetails. BGP_ADMIN_STATE_ENABLED
A constant which can be used with the bgp_admin_state property of a UpdateVirtualCircuitDetails. IP_MTU_MTU_1500
A constant which can be used with the ip_mtu property of a UpdateVirtualCircuitDetails. IP_MTU_MTU_9000
A constant which can be used with the ip_mtu property of a UpdateVirtualCircuitDetails. PROVIDER_STATE_ACTIVE
A constant which can be used with the provider_state property of a UpdateVirtualCircuitDetails. PROVIDER_STATE_INACTIVE
A constant which can be used with the provider_state property of a UpdateVirtualCircuitDetails. ROUTING_POLICY_GLOBAL
A constant which can be used with the routing_policy property of a UpdateVirtualCircuitDetails. ROUTING_POLICY_MARKET_LEVEL
A constant which can be used with the routing_policy property of a UpdateVirtualCircuitDetails. ROUTING_POLICY_ORACLE_SERVICE_NETWORK
A constant which can be used with the routing_policy property of a UpdateVirtualCircuitDetails. ROUTING_POLICY_REGIONAL
A constant which can be used with the routing_policy property of a UpdateVirtualCircuitDetails. bandwidth_shape_name
Gets the bandwidth_shape_name of this UpdateVirtualCircuitDetails. bgp_admin_state
Gets the bgp_admin_state of this UpdateVirtualCircuitDetails. cross_connect_mappings
Gets the cross_connect_mappings of this UpdateVirtualCircuitDetails. customer_asn
Gets the customer_asn of this UpdateVirtualCircuitDetails. customer_bgp_asn
Gets the customer_bgp_asn of this UpdateVirtualCircuitDetails. defined_tags
Gets the defined_tags of this UpdateVirtualCircuitDetails. display_name
Gets the display_name of this UpdateVirtualCircuitDetails. freeform_tags
Gets the freeform_tags of this UpdateVirtualCircuitDetails. gateway_id
Gets the gateway_id of this UpdateVirtualCircuitDetails. ip_mtu
Gets the ip_mtu of this UpdateVirtualCircuitDetails. is_bfd_enabled
Gets the is_bfd_enabled of this UpdateVirtualCircuitDetails. is_transport_mode
Gets the is_transport_mode of this UpdateVirtualCircuitDetails. provider_service_key_name
Gets the provider_service_key_name of this UpdateVirtualCircuitDetails. provider_state
Gets the provider_state of this UpdateVirtualCircuitDetails. reference_comment
Gets the reference_comment of this UpdateVirtualCircuitDetails. routing_policy
Gets the routing_policy of this UpdateVirtualCircuitDetails. Methods
__init__
(**kwargs)Initializes a new UpdateVirtualCircuitDetails object with values from keyword arguments. -
BGP_ADMIN_STATE_DISABLED
= 'DISABLED'¶ A constant which can be used with the bgp_admin_state property of a UpdateVirtualCircuitDetails. This constant has a value of “DISABLED”
-
BGP_ADMIN_STATE_ENABLED
= 'ENABLED'¶ A constant which can be used with the bgp_admin_state property of a UpdateVirtualCircuitDetails. This constant has a value of “ENABLED”
-
IP_MTU_MTU_1500
= 'MTU_1500'¶ A constant which can be used with the ip_mtu property of a UpdateVirtualCircuitDetails. This constant has a value of “MTU_1500”
-
IP_MTU_MTU_9000
= 'MTU_9000'¶ A constant which can be used with the ip_mtu property of a UpdateVirtualCircuitDetails. This constant has a value of “MTU_9000”
-
PROVIDER_STATE_ACTIVE
= 'ACTIVE'¶ A constant which can be used with the provider_state property of a UpdateVirtualCircuitDetails. This constant has a value of “ACTIVE”
-
PROVIDER_STATE_INACTIVE
= 'INACTIVE'¶ A constant which can be used with the provider_state property of a UpdateVirtualCircuitDetails. This constant has a value of “INACTIVE”
-
ROUTING_POLICY_GLOBAL
= 'GLOBAL'¶ A constant which can be used with the routing_policy property of a UpdateVirtualCircuitDetails. This constant has a value of “GLOBAL”
-
ROUTING_POLICY_MARKET_LEVEL
= 'MARKET_LEVEL'¶ A constant which can be used with the routing_policy property of a UpdateVirtualCircuitDetails. This constant has a value of “MARKET_LEVEL”
-
ROUTING_POLICY_ORACLE_SERVICE_NETWORK
= 'ORACLE_SERVICE_NETWORK'¶ A constant which can be used with the routing_policy property of a UpdateVirtualCircuitDetails. This constant has a value of “ORACLE_SERVICE_NETWORK”
-
ROUTING_POLICY_REGIONAL
= 'REGIONAL'¶ A constant which can be used with the routing_policy property of a UpdateVirtualCircuitDetails. This constant has a value of “REGIONAL”
-
__init__
(**kwargs)¶ Initializes a new UpdateVirtualCircuitDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - bandwidth_shape_name (str) – The value to assign to the bandwidth_shape_name property of this UpdateVirtualCircuitDetails.
- cross_connect_mappings (list[oci.core.models.CrossConnectMapping]) – The value to assign to the cross_connect_mappings property of this UpdateVirtualCircuitDetails.
- routing_policy (list[str]) – The value to assign to the routing_policy property of this UpdateVirtualCircuitDetails. Allowed values for items in this list are: “ORACLE_SERVICE_NETWORK”, “REGIONAL”, “MARKET_LEVEL”, “GLOBAL”
- bgp_admin_state (str) – The value to assign to the bgp_admin_state property of this UpdateVirtualCircuitDetails. Allowed values for this property are: “ENABLED”, “DISABLED”
- is_bfd_enabled (bool) – The value to assign to the is_bfd_enabled property of this UpdateVirtualCircuitDetails.
- is_transport_mode (bool) – The value to assign to the is_transport_mode property of this UpdateVirtualCircuitDetails.
- customer_bgp_asn (int) – The value to assign to the customer_bgp_asn property of this UpdateVirtualCircuitDetails.
- customer_asn (int) – The value to assign to the customer_asn property of this UpdateVirtualCircuitDetails.
- defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this UpdateVirtualCircuitDetails.
- display_name (str) – The value to assign to the display_name property of this UpdateVirtualCircuitDetails.
- freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this UpdateVirtualCircuitDetails.
- gateway_id (str) – The value to assign to the gateway_id property of this UpdateVirtualCircuitDetails.
- provider_state (str) – The value to assign to the provider_state property of this UpdateVirtualCircuitDetails. Allowed values for this property are: “ACTIVE”, “INACTIVE”
- provider_service_key_name (str) – The value to assign to the provider_service_key_name property of this UpdateVirtualCircuitDetails.
- reference_comment (str) – The value to assign to the reference_comment property of this UpdateVirtualCircuitDetails.
- ip_mtu (str) – The value to assign to the ip_mtu property of this UpdateVirtualCircuitDetails. Allowed values for this property are: “MTU_1500”, “MTU_9000”
-
bandwidth_shape_name
¶ Gets the bandwidth_shape_name of this UpdateVirtualCircuitDetails. The provisioned data rate of the connection. To get a list of the available bandwidth levels (that is, shapes), see
list_fast_connect_provider_virtual_circuit_bandwidth_shapes()
. To be updated only by the customer who owns the virtual circuit.Returns: The bandwidth_shape_name of this UpdateVirtualCircuitDetails. Return type: str
-
bgp_admin_state
¶ Gets the bgp_admin_state of this UpdateVirtualCircuitDetails. Set to ENABLED (the default) to activate the BGP session of the virtual circuit, set to DISABLED to deactivate the virtual circuit.
Allowed values for this property are: “ENABLED”, “DISABLED”
Returns: The bgp_admin_state of this UpdateVirtualCircuitDetails. Return type: str
-
cross_connect_mappings
¶ Gets the cross_connect_mappings of this UpdateVirtualCircuitDetails. An array of mappings, each containing properties for a cross-connect or cross-connect group associated with this virtual circuit.
The customer and provider can update different properties in the mapping depending on the situation. See the description of the
CrossConnectMapping
.Returns: The cross_connect_mappings of this UpdateVirtualCircuitDetails. Return type: list[oci.core.models.CrossConnectMapping]
-
customer_asn
¶ Gets the customer_asn of this UpdateVirtualCircuitDetails. The BGP ASN of the network at the other end of the BGP session from Oracle.
If the BGP session is from the customer’s edge router to Oracle, the required value is the customer’s ASN, and it can be updated only by the customer.
If the BGP session is from the provider’s edge router to Oracle, the required value is the provider’s ASN, and it can be updated only by the provider.
Can be a 2-byte or 4-byte ASN. Uses “asplain” format.
Returns: The customer_asn of this UpdateVirtualCircuitDetails. Return type: int
-
customer_bgp_asn
¶ Gets the customer_bgp_asn of this UpdateVirtualCircuitDetails. Deprecated. Instead use customerAsn. If you specify values for both, the request will be rejected.
Returns: The customer_bgp_asn of this UpdateVirtualCircuitDetails. Return type: int
Gets the defined_tags of this UpdateVirtualCircuitDetails. Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
Example: {“Operations”: {“CostCenter”: “42”}}
Returns: The defined_tags of this UpdateVirtualCircuitDetails. Return type: dict(str, dict(str, object))
-
display_name
¶ Gets the display_name of this UpdateVirtualCircuitDetails. A user-friendly name. Does not have to be unique, and it’s changeable. Avoid entering confidential information.
Returns: The display_name of this UpdateVirtualCircuitDetails. Return type: str
Gets the freeform_tags of this UpdateVirtualCircuitDetails. Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags.
Example: {“Department”: “Finance”}
Returns: The freeform_tags of this UpdateVirtualCircuitDetails. Return type: dict(str, str)
-
gateway_id
¶ Gets the gateway_id of this UpdateVirtualCircuitDetails. The OCID of the
Drg
that this private virtual circuit uses.To be updated only by the customer who owns the virtual circuit.
Returns: The gateway_id of this UpdateVirtualCircuitDetails. Return type: str
-
ip_mtu
¶ Gets the ip_mtu of this UpdateVirtualCircuitDetails. The layer 3 IP MTU to use on this virtual circuit.
Allowed values for this property are: “MTU_1500”, “MTU_9000”
Returns: The ip_mtu of this UpdateVirtualCircuitDetails. Return type: str
-
is_bfd_enabled
¶ Gets the is_bfd_enabled of this UpdateVirtualCircuitDetails. Set to true to enable BFD for IPv4 BGP peering, or set to false to disable BFD. If this is not set, the default is false.
Returns: The is_bfd_enabled of this UpdateVirtualCircuitDetails. Return type: bool
-
is_transport_mode
¶ Gets the is_transport_mode of this UpdateVirtualCircuitDetails. Set to true for the virtual circuit to carry only encrypted traffic, or set to false for the virtual circuit to carry unencrypted traffic. If this is not set, the default is false.
Returns: The is_transport_mode of this UpdateVirtualCircuitDetails. Return type: bool
-
provider_service_key_name
¶ Gets the provider_service_key_name of this UpdateVirtualCircuitDetails. The service key name offered by the provider (if the customer is connecting via a provider).
Returns: The provider_service_key_name of this UpdateVirtualCircuitDetails. Return type: str
-
provider_state
¶ Gets the provider_state of this UpdateVirtualCircuitDetails. The provider’s state in relation to this virtual circuit. Relevant only if the customer is using FastConnect via a provider. ACTIVE means the provider has provisioned the virtual circuit from their end. INACTIVE means the provider has not yet provisioned the virtual circuit, or has de-provisioned it.
To be updated only by the provider.
Allowed values for this property are: “ACTIVE”, “INACTIVE”
Returns: The provider_state of this UpdateVirtualCircuitDetails. Return type: str
-
reference_comment
¶ Gets the reference_comment of this UpdateVirtualCircuitDetails. Provider-supplied reference information about this virtual circuit. Relevant only if the customer is using FastConnect via a provider.
To be updated only by the provider.
Returns: The reference_comment of this UpdateVirtualCircuitDetails. Return type: str
-
routing_policy
¶ Gets the routing_policy of this UpdateVirtualCircuitDetails. The routing policy sets how routing information about the Oracle cloud is shared over a public virtual circuit. Policies available are: ORACLE_SERVICE_NETWORK, REGIONAL, MARKET_LEVEL, and GLOBAL. See Route Filtering for details. By default, routing information is shared for all routes in the same market.
Allowed values for items in this list are: “ORACLE_SERVICE_NETWORK”, “REGIONAL”, “MARKET_LEVEL”, “GLOBAL”
Returns: The routing_policy of this UpdateVirtualCircuitDetails. Return type: list[str]
-