CreatePrivateServiceAccessDetails

class oci.psa.models.CreatePrivateServiceAccessDetails(**kwargs)

Bases: object

Details 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_tags

Gets the defined_tags of this CreatePrivateServiceAccessDetails.

description

Gets the description of this CreatePrivateServiceAccessDetails.

display_name

Gets the display_name of this CreatePrivateServiceAccessDetails.

freeform_tags

Gets the freeform_tags of this CreatePrivateServiceAccessDetails.

ipv4_ip

Gets the ipv4_ip of this CreatePrivateServiceAccessDetails.

nsg_ids

Gets the nsg_ids of this CreatePrivateServiceAccessDetails.

security_attributes

Gets 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.

property 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

property defined_tags

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))

property description

Gets the description of this CreatePrivateServiceAccessDetails. A description of this private service accesss.

Returns

The description of this CreatePrivateServiceAccessDetails.

Return type

str

property 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

property freeform_tags

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)

property 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

property 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]

property 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))

property 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

property subnet_id

[Required] Gets the subnet_id of this CreatePrivateServiceAccessDetails. The OCID of the VCN’s subnet where the private service access’s VNIC will reside.

Returns

The subnet_id of this CreatePrivateServiceAccessDetails.

Return type

str