import * as pulumi from "@pulumi/pulumi"; /** * This data source provides details about a specific Zpr Policy resource in Oracle Cloud Infrastructure Zpr service. * * Gets information about a ZprPolicy. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testZprPolicy = oci.zpr.getZprPolicy({ * zprPolicyId: testZprPolicyOciZprZprPolicy.id, * }); * ``` */ export declare function getZprPolicy(args: GetZprPolicyArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getZprPolicy. */ export interface GetZprPolicyArgs { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the ZprPolicy. */ zprPolicyId: string; } /** * A collection of values returned by getZprPolicy. */ export interface GetZprPolicyResult { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. */ readonly compartmentId: string; /** * Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` */ readonly definedTags: { [key: string]: string; }; /** * The description you assign to the ZprPolicy during creation. Does not have to be unique, and it's changeable. */ readonly description: string; /** * 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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` */ readonly freeformTags: { [key: string]: string; }; readonly id: string; /** * 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. */ readonly lifecycleDetails: string; /** * The name you assign to the ZprPolicy during creation. The name must be unique across all ZPL policies in the tenancy. */ readonly name: string; /** * The current state of the ZprPolicy. */ readonly state: string; /** * An array of ZprPolicy statements (up to 25 statements per ZprPolicy) written in the Zero Trust Packet Routing Policy Language. */ readonly statements: string[]; /** * System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}` */ readonly systemTags: { [key: string]: string; }; /** * The date and time the ZprPolicy was created, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z` */ readonly timeCreated: string; /** * The date and time the ZprPolicy was updated, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z` */ readonly timeUpdated: string; readonly zprPolicyId: string; } /** * This data source provides details about a specific Zpr Policy resource in Oracle Cloud Infrastructure Zpr service. * * Gets information about a ZprPolicy. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testZprPolicy = oci.zpr.getZprPolicy({ * zprPolicyId: testZprPolicyOciZprZprPolicy.id, * }); * ``` */ export declare function getZprPolicyOutput(args: GetZprPolicyOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getZprPolicy. */ export interface GetZprPolicyOutputArgs { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the ZprPolicy. */ zprPolicyId: pulumi.Input; } //# sourceMappingURL=getZprPolicy.d.ts.map