CreateDistributedDatabasePrivateEndpointDetails¶
-
class
oci.distributed_database.models.CreateDistributedDatabasePrivateEndpointDetails(**kwargs)¶ Bases:
objectDetails required for private endpoint creation.
Methods
__init__(**kwargs)Initializes a new CreateDistributedDatabasePrivateEndpointDetails object with values from keyword arguments. Attributes
compartment_id[Required] Gets the compartment_id of this CreateDistributedDatabasePrivateEndpointDetails. defined_tagsGets the defined_tags of this CreateDistributedDatabasePrivateEndpointDetails. descriptionGets the description of this CreateDistributedDatabasePrivateEndpointDetails. display_name[Required] Gets the display_name of this CreateDistributedDatabasePrivateEndpointDetails. freeform_tagsGets the freeform_tags of this CreateDistributedDatabasePrivateEndpointDetails. nsg_idsGets the nsg_ids of this CreateDistributedDatabasePrivateEndpointDetails. subnet_id[Required] Gets the subnet_id of this CreateDistributedDatabasePrivateEndpointDetails. -
__init__(**kwargs)¶ Initializes a new CreateDistributedDatabasePrivateEndpointDetails 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 CreateDistributedDatabasePrivateEndpointDetails.
- subnet_id (str) – The value to assign to the subnet_id property of this CreateDistributedDatabasePrivateEndpointDetails.
- display_name (str) – The value to assign to the display_name property of this CreateDistributedDatabasePrivateEndpointDetails.
- description (str) – The value to assign to the description property of this CreateDistributedDatabasePrivateEndpointDetails.
- nsg_ids (list[str]) – The value to assign to the nsg_ids property of this CreateDistributedDatabasePrivateEndpointDetails.
- freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateDistributedDatabasePrivateEndpointDetails.
- defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateDistributedDatabasePrivateEndpointDetails.
-
compartment_id¶ [Required] Gets the compartment_id of this CreateDistributedDatabasePrivateEndpointDetails. Identifier of the compartment where private endpoint is to be created.
Returns: The compartment_id of this CreateDistributedDatabasePrivateEndpointDetails. Return type: str
Gets the defined_tags of this CreateDistributedDatabasePrivateEndpointDetails. 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 CreateDistributedDatabasePrivateEndpointDetails. Return type: dict(str, dict(str, object))
-
description¶ Gets the description of this CreateDistributedDatabasePrivateEndpointDetails. DistributedDatabasePrivateEndpoint description.
Returns: The description of this CreateDistributedDatabasePrivateEndpointDetails. Return type: str
-
display_name¶ [Required] Gets the display_name of this CreateDistributedDatabasePrivateEndpointDetails. Private endpoint display name.
Returns: The display_name of this CreateDistributedDatabasePrivateEndpointDetails. Return type: str
Gets the freeform_tags of this CreateDistributedDatabasePrivateEndpointDetails. 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 CreateDistributedDatabasePrivateEndpointDetails. Return type: dict(str, str)
-
nsg_ids¶ Gets the nsg_ids of this CreateDistributedDatabasePrivateEndpointDetails. The OCIDs of the network security groups that the private endpoint belongs to.
Returns: The nsg_ids of this CreateDistributedDatabasePrivateEndpointDetails. Return type: list[str]
-
subnet_id¶ [Required] Gets the subnet_id of this CreateDistributedDatabasePrivateEndpointDetails. Identifier of the customer subnet against which private endpoint is to be created.
Returns: The subnet_id of this CreateDistributedDatabasePrivateEndpointDetails. Return type: str
-