Data Source: oci_zpr_zpr_policy
This data source provides details about a specific Zpr Policy resource in Oracle Cloud Infrastructure Zpr service.
Gets information about a ZprPolicy.
Example Usage
data "oci_zpr_zpr_policy" "test_zpr_policy" {
#Required
zpr_policy_id = oci_zpr_zpr_policy.test_zpr_policy.id
}
Argument Reference
The following arguments are supported:
zpr_policy_id
- (Required) The OCID of the ZprPolicy.
Attributes Reference
The following attributes are exported:
compartment_id
- The OCID of the compartment.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
- The description you assign to the ZprPolicy during creation. Does not have to be unique, and it’s changeable.freeform_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"}
lifecycle_details
- A message that describes the current state of the ZprPolicy in more detail. For example, can be used to provide actionable information for a resource in the Failed state.name
- The name you assign to the ZprPolicy during creation. The name must be unique across all ZPL policies in the tenancy.state
- The current state of the ZprPolicy.statements
- An array of ZprPolicy statements (up to 25 statements per ZprPolicy) written in the Zero Trust Packet Routing Policy Language.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 ZprPolicy was created, in the format defined by RFC 3339. Example:2016-08-25T21:10:29.600Z
time_updated
- The date and time the ZprPolicy was updated, in the format defined by RFC 3339. Example:2016-08-25T21:10:29.600Z