CreatePrivateServiceAccessDetails¶
-
class
oci.psa.models.CreatePrivateServiceAccessDetails(**kwargs)¶ Bases:
objectDetails to create a private service access.
Methods
__init__(**kwargs)Initializes a new CreatePrivateServiceAccessDetails object with values from keyword arguments. Attributes
compartment_id[Required] Gets the compartment_id of this CreatePrivateServiceAccessDetails. defined_tagsGets the defined_tags of this CreatePrivateServiceAccessDetails. descriptionGets the description of this CreatePrivateServiceAccessDetails. display_nameGets the display_name of this CreatePrivateServiceAccessDetails. freeform_tagsGets the freeform_tags of this CreatePrivateServiceAccessDetails. ipv4_ipGets the ipv4_ip of this CreatePrivateServiceAccessDetails. nsg_idsGets the nsg_ids of this CreatePrivateServiceAccessDetails. security_attributesGets the security_attributes of this CreatePrivateServiceAccessDetails. service_id[Required] Gets the service_id of this CreatePrivateServiceAccessDetails. subnet_id[Required] Gets the subnet_id of this CreatePrivateServiceAccessDetails. -
__init__(**kwargs)¶ Initializes a new CreatePrivateServiceAccessDetails 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 CreatePrivateServiceAccessDetails.
- defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreatePrivateServiceAccessDetails.
- freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreatePrivateServiceAccessDetails.
- security_attributes (dict(str, dict(str, object))) – The value to assign to the security_attributes property of this CreatePrivateServiceAccessDetails.
- display_name (str) – The value to assign to the display_name property of this CreatePrivateServiceAccessDetails.
- description (str) – The value to assign to the description property of this CreatePrivateServiceAccessDetails.
- subnet_id (str) – The value to assign to the subnet_id property of this CreatePrivateServiceAccessDetails.
- nsg_ids (list[str]) – The value to assign to the nsg_ids property of this CreatePrivateServiceAccessDetails.
- service_id (str) – The value to assign to the service_id property of this CreatePrivateServiceAccessDetails.
- ipv4_ip (str) – The value to assign to the ipv4_ip property of this CreatePrivateServiceAccessDetails.
-
compartment_id¶ [Required] Gets the compartment_id of this CreatePrivateServiceAccessDetails. The OCID of the compartment to contain the private service access.
Returns: The compartment_id of this CreatePrivateServiceAccessDetails. Return type: str
Gets the defined_tags of this CreatePrivateServiceAccessDetails. 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 CreatePrivateServiceAccessDetails. Return type: dict(str, dict(str, object))
-
description¶ Gets the description of this CreatePrivateServiceAccessDetails. A description of this private service accesss.
Returns: The description of this CreatePrivateServiceAccessDetails. Return type: str
-
display_name¶ Gets the display_name of this CreatePrivateServiceAccessDetails. A user-friendly name. Does not have to be unique, and it’s changeable. Avoid entering confidential information.
Returns: The display_name of this CreatePrivateServiceAccessDetails. Return type: str
Gets the freeform_tags of this CreatePrivateServiceAccessDetails. 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 CreatePrivateServiceAccessDetails. Return type: dict(str, str)
-
ipv4_ip¶ Gets the ipv4_ip of this CreatePrivateServiceAccessDetails. The private IPv4 address (in the consumer’s VCN) that represents the access point for the associated service.
Returns: The ipv4_ip of this CreatePrivateServiceAccessDetails. Return type: str
-
nsg_ids¶ Gets the nsg_ids of this CreatePrivateServiceAccessDetails. A list of the OCIDs of the network security groups (NSGs) to add the private service access’s VNIC to. For more information about NSGs, see
NetworkSecurityGroup.Returns: The nsg_ids of this CreatePrivateServiceAccessDetails. Return type: list[str]
-
security_attributes¶ Gets the security_attributes of this CreatePrivateServiceAccessDetails. Security attributes are labels for a resource that can be referenced in a Zero Trust Packet Routing (ZPR) policy to control access to ZPR-supported resources.
Example: {“Oracle-DataSecurity-ZPR”: {“MaxEgressCount”: {“value”:”42”,”mode”:”audit”}}}
Returns: The security_attributes of this CreatePrivateServiceAccessDetails. Return type: dict(str, dict(str, object))
-
service_id¶ [Required] Gets the service_id of this CreatePrivateServiceAccessDetails. A unique service identifier for which the private service access was created.
Returns: The service_id of this CreatePrivateServiceAccessDetails. Return type: str
-