UpdateIPSecConnectionDetails¶
- class oci.core.models.UpdateIPSecConnectionDetails(**kwargs)¶
Bases:
objectUpdateIPSecConnectionDetails model.
Attributes:
A constant which can be used with the cpe_local_identifier_type property of a UpdateIPSecConnectionDetails.
A constant which can be used with the cpe_local_identifier_type property of a UpdateIPSecConnectionDetails.
Gets the cpe_local_identifier of this UpdateIPSecConnectionDetails.
Gets the cpe_local_identifier_type of this UpdateIPSecConnectionDetails.
Gets the defined_tags of this UpdateIPSecConnectionDetails.
Gets the display_name of this UpdateIPSecConnectionDetails.
Gets the freeform_tags of this UpdateIPSecConnectionDetails.
Gets the static_routes of this UpdateIPSecConnectionDetails.
Methods:
__init__(**kwargs)Initializes a new UpdateIPSecConnectionDetails object with values from keyword arguments.
- CPE_LOCAL_IDENTIFIER_TYPE_HOSTNAME = 'HOSTNAME'¶
A constant which can be used with the cpe_local_identifier_type property of a UpdateIPSecConnectionDetails. This constant has a value of “HOSTNAME”
- CPE_LOCAL_IDENTIFIER_TYPE_IP_ADDRESS = 'IP_ADDRESS'¶
A constant which can be used with the cpe_local_identifier_type property of a UpdateIPSecConnectionDetails. This constant has a value of “IP_ADDRESS”
- __init__(**kwargs)¶
Initializes a new UpdateIPSecConnectionDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this UpdateIPSecConnectionDetails.
display_name (str) – The value to assign to the display_name property of this UpdateIPSecConnectionDetails.
freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this UpdateIPSecConnectionDetails.
cpe_local_identifier (str) – The value to assign to the cpe_local_identifier property of this UpdateIPSecConnectionDetails.
cpe_local_identifier_type (str) – The value to assign to the cpe_local_identifier_type property of this UpdateIPSecConnectionDetails. Allowed values for this property are: “IP_ADDRESS”, “HOSTNAME”
static_routes (list[str]) – The value to assign to the static_routes property of this UpdateIPSecConnectionDetails.
- property cpe_local_identifier¶
Gets the cpe_local_identifier of this UpdateIPSecConnectionDetails. Your identifier for your CPE device. Can be either an IP address or a hostname (specifically, the fully qualified domain name (FQDN)). The type of identifier you provide here must correspond to the value for cpeLocalIdentifierType.
For information about why you’d provide this value, see If Your CPE Is Behind a NAT Device.
Example IP address: 10.0.3.3
Example hostname: cpe.example.com
- Returns
The cpe_local_identifier of this UpdateIPSecConnectionDetails.
- Return type
str
- property cpe_local_identifier_type¶
Gets the cpe_local_identifier_type of this UpdateIPSecConnectionDetails. The type of identifier for your CPE device. The value you provide here must correspond to the value for cpeLocalIdentifier.
Allowed values for this property are: “IP_ADDRESS”, “HOSTNAME”
- Returns
The cpe_local_identifier_type of this UpdateIPSecConnectionDetails.
- Return type
str
- property defined_tags¶
Gets the defined_tags of this UpdateIPSecConnectionDetails. 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 UpdateIPSecConnectionDetails.
- Return type
dict(str, dict(str, object))
- property display_name¶
Gets the display_name of this UpdateIPSecConnectionDetails. A user-friendly name. Does not have to be unique, and it’s changeable. Avoid entering confidential information.
- Returns
The display_name of this UpdateIPSecConnectionDetails.
- Return type
str
- property freeform_tags¶
Gets the freeform_tags of this UpdateIPSecConnectionDetails. 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 UpdateIPSecConnectionDetails.
- Return type
dict(str, str)
- property static_routes¶
Gets the static_routes of this UpdateIPSecConnectionDetails. Static routes to the CPE. If you provide this attribute, it replaces the entire current set of static routes. A static route’s CIDR must not be a multicast address or class E address. The CIDR can be either IPv4 or IPv6. IPv6 addressing is supported for all commercial and government regions. See IPv6 Addresses.
Example: 10.0.1.0/24
Example: 2001:db8::/32
- Returns
The static_routes of this UpdateIPSecConnectionDetails.
- Return type
list[str]