CreateDbManagementPrivateEndpointDetails¶
- class oci.database_management.models.CreateDbManagementPrivateEndpointDetails(**kwargs)¶
Bases:
objectThe details used to create a new Database Management private endpoint.
Methods:
__init__(**kwargs)Initializes a new CreateDbManagementPrivateEndpointDetails object with values from keyword arguments.
Attributes:
[Required] Gets the compartment_id of this CreateDbManagementPrivateEndpointDetails.
Gets the defined_tags of this CreateDbManagementPrivateEndpointDetails.
Gets the description of this CreateDbManagementPrivateEndpointDetails.
Gets the freeform_tags of this CreateDbManagementPrivateEndpointDetails.
Gets the is_cluster of this CreateDbManagementPrivateEndpointDetails.
Gets the is_dns_resolution_enabled of this CreateDbManagementPrivateEndpointDetails.
[Required] Gets the name of this CreateDbManagementPrivateEndpointDetails.
Gets the nsg_ids of this CreateDbManagementPrivateEndpointDetails.
Gets the security_attributes of this CreateDbManagementPrivateEndpointDetails.
[Required] Gets the subnet_id of this CreateDbManagementPrivateEndpointDetails.
- __init__(**kwargs)¶
Initializes a new CreateDbManagementPrivateEndpointDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
name (str) – The value to assign to the name property of this CreateDbManagementPrivateEndpointDetails.
compartment_id (str) – The value to assign to the compartment_id property of this CreateDbManagementPrivateEndpointDetails.
is_cluster (bool) – The value to assign to the is_cluster property of this CreateDbManagementPrivateEndpointDetails.
is_dns_resolution_enabled (bool) – The value to assign to the is_dns_resolution_enabled property of this CreateDbManagementPrivateEndpointDetails.
subnet_id (str) – The value to assign to the subnet_id property of this CreateDbManagementPrivateEndpointDetails.
description (str) – The value to assign to the description property of this CreateDbManagementPrivateEndpointDetails.
nsg_ids (list[str]) – The value to assign to the nsg_ids property of this CreateDbManagementPrivateEndpointDetails.
freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateDbManagementPrivateEndpointDetails.
defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateDbManagementPrivateEndpointDetails.
security_attributes (dict(str, dict(str, object))) – The value to assign to the security_attributes property of this CreateDbManagementPrivateEndpointDetails.
- property compartment_id¶
[Required] Gets the compartment_id of this CreateDbManagementPrivateEndpointDetails. The OCID of the compartment.
- Returns
The compartment_id of this CreateDbManagementPrivateEndpointDetails.
- Return type
str
- property defined_tags¶
Gets the defined_tags of this CreateDbManagementPrivateEndpointDetails. 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 CreateDbManagementPrivateEndpointDetails.
- Return type
dict(str, dict(str, object))
- property description¶
Gets the description of this CreateDbManagementPrivateEndpointDetails. The description of the private endpoint.
- Returns
The description of this CreateDbManagementPrivateEndpointDetails.
- Return type
str
- property freeform_tags¶
Gets the freeform_tags of this CreateDbManagementPrivateEndpointDetails. 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 CreateDbManagementPrivateEndpointDetails.
- Return type
dict(str, str)
- property is_cluster¶
Gets the is_cluster of this CreateDbManagementPrivateEndpointDetails. Specifies whether the Database Management private endpoint will be used for Oracle Databases in a cluster.
- Returns
The is_cluster of this CreateDbManagementPrivateEndpointDetails.
- Return type
bool
- property is_dns_resolution_enabled¶
Gets the is_dns_resolution_enabled of this CreateDbManagementPrivateEndpointDetails. Specifies whether the Database Management private endpoint has DNS proxy server enabled to resolve private host name.
- Returns
The is_dns_resolution_enabled of this CreateDbManagementPrivateEndpointDetails.
- Return type
bool
- property name¶
[Required] Gets the name of this CreateDbManagementPrivateEndpointDetails. The display name of the Database Management private endpoint.
- Returns
The name of this CreateDbManagementPrivateEndpointDetails.
- Return type
str
- property nsg_ids¶
Gets the nsg_ids of this CreateDbManagementPrivateEndpointDetails. The OCIDs of the Network Security Groups to which the Database Management private endpoint belongs.
- Returns
The nsg_ids of this CreateDbManagementPrivateEndpointDetails.
- Return type
list[str]
- property security_attributes¶
Gets the security_attributes of this CreateDbManagementPrivateEndpointDetails. Security attributes for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
Example: {“Oracle-ZPR”: {“MaxEgressCount”: {“value”: “42”, “mode”: “enforce”}}}
- Returns
The security_attributes of this CreateDbManagementPrivateEndpointDetails.
- Return type
dict(str, dict(str, object))