CreateIPSecConnectionDetails¶
- class oci.vn_monitoring.models.CreateIPSecConnectionDetails(**kwargs)¶
Bases:
objectCreateIPSecConnectionDetails model.
Methods:
__init__(**kwargs)Initializes a new CreateIPSecConnectionDetails object with values from keyword arguments.
Attributes:
[Required] Gets the compartment_id of this CreateIPSecConnectionDetails.
[Required] Gets the cpe_id of this CreateIPSecConnectionDetails.
Gets the defined_tags of this CreateIPSecConnectionDetails.
Gets the display_name of this CreateIPSecConnectionDetails.
[Required] Gets the drg_id of this CreateIPSecConnectionDetails.
Gets the freeform_tags of this CreateIPSecConnectionDetails.
Gets the static_routes of this CreateIPSecConnectionDetails.
- __init__(**kwargs)¶
Initializes a new CreateIPSecConnectionDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
compartment_id (str) – The value to assign to the compartment_id property of this CreateIPSecConnectionDetails.
cpe_id (str) – The value to assign to the cpe_id property of this CreateIPSecConnectionDetails.
defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateIPSecConnectionDetails.
display_name (str) – The value to assign to the display_name property of this CreateIPSecConnectionDetails.
drg_id (str) – The value to assign to the drg_id property of this CreateIPSecConnectionDetails.
freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateIPSecConnectionDetails.
static_routes (list[str]) – The value to assign to the static_routes property of this CreateIPSecConnectionDetails.
- property compartment_id¶
[Required] Gets the compartment_id of this CreateIPSecConnectionDetails. The OCID of the compartment to contain the IPSec connection.
- Returns
The compartment_id of this CreateIPSecConnectionDetails.
- Return type
str
- property cpe_id¶
[Required] Gets the cpe_id of this CreateIPSecConnectionDetails. The OCID of the
Cpeobject.- Returns
The cpe_id of this CreateIPSecConnectionDetails.
- Return type
str
- property defined_tags¶
Gets the defined_tags of this CreateIPSecConnectionDetails. Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}
- Returns
The defined_tags of this CreateIPSecConnectionDetails.
- Return type
dict(str, dict(str, object))
- property display_name¶
Gets the display_name of this CreateIPSecConnectionDetails. A user-friendly name. Does not have to be unique, and it’s changeable. Avoid entering confidential information.
- Returns
The display_name of this CreateIPSecConnectionDetails.
- Return type
str
- property drg_id¶
[Required] Gets the drg_id of this CreateIPSecConnectionDetails. The OCID of the DRG.
- Returns
The drg_id of this CreateIPSecConnectionDetails.
- Return type
str
- property freeform_tags¶
Gets the freeform_tags of this CreateIPSecConnectionDetails. Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {“bar-key”: “value”}
- Returns
The freeform_tags of this CreateIPSecConnectionDetails.
- Return type
dict(str, str)
- property static_routes¶
Gets the static_routes of this CreateIPSecConnectionDetails. Static routes to the CPE. A static route’s CIDR must not be a multicast address or class E address.
Example: 10.0.1.0/24
- Returns
The static_routes of this CreateIPSecConnectionDetails.
- Return type
list[str]