Data Source: oci_psa_private_service_accesses
This data source provides the list of Private Service Access in Oracle Cloud Infrastructure Psa service.
List the private service accesses in the specified compartment. You can optionally filter the list by specifying the OCID of a subnet in the cunsumer’s VCN.
Example Usage
data "oci_psa_private_service_accesses" "test_private_service_accesses" {
#Optional
compartment_id = var.compartment_id
display_name = var.private_service_acces_display_name
id = var.private_service_acces_id
service_id = oci_psa_psa_service.test_psa_service.id
state = var.private_service_acces_state
vcn_id = oci_core_vcn.test_vcn.id
}
Argument Reference
The following arguments are supported:
compartment_id- (Optional) The OCID of the compartment in which to list resources.display_name- (Optional) A filter to return only resources that match the given display name exactly.id- (Optional) The OCID of the resource.service_id- (Optional) The unique identifier of the Oracle Cloud Infrastructure service.state- (Optional) A filter to return only resources that match the given lifecycle state. The state value is case-insensitive.vcn_id- (Optional) The OCID of the VCN.
Attributes Reference
The following attributes are exported:
private_service_access_collection- The list of private_service_access_collection.
PrivateServiceAcces Reference
The following attributes are exported:
compartment_id- The OCID of the compartment that contains the private service access.defined_tags- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:{"Operations.CostCenter": "42"}description- A description of this private service access.display_name- A user-friendly name. Does not have to be unique, and it’s changeable. Avoid entering confidential information.fqdns- The private service access FQDNs, which are going to be used to access the service. Example:xyz.oraclecloud.comfreeform_tags- 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"}id- The OCID of the private service access.ipv4ip- The private IPv4 address (in the consumer’s VCN) that represents the access point for the associated service.nsg_ids- A list of the OCIDs of the network security groups that the private service access’s VNIC belongs to. For more information about NSGs, see NetworkSecurityGroup.security_attributes- 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"}}}service_id- A unique service identifier for which the private service access was created.state- The private service access’s current lifecycle state.subnet_id- The OCID of the subnet that the private service access belongs to.system_tags- System tags for this resource. Each key is predefined and scoped to a namespace. Example:{"orcl-cloud.free-tier-retained": "true"}time_created- The date and time the private service access was created, in the format defined by RFC3339. Example:2016-08-25T21:10:29.600Ztime_updated- The date and time the PrivateServiceAccess was updated, in the format defined by RFC 3339. Example:2016-08-25T21:10:29.600Zvcn_id- The OCID of the VCN that the private service access belongs to.vnic_id- An OCID of the private service access’s VNIC, which resides in the private service access’s VCN .