import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * This data source provides the list of Security Policies in Oracle Cloud Infrastructure Cloud Guard service. * * Returns a list of security zone policies (SecurityPolicySummary resources), * identified by compartmentId. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testSecurityPolicies = oci.cloudguard.getSecurityPolicies({ * compartmentId: compartmentId, * displayName: securityPolicyDisplayName, * id: securityPolicyId, * state: securityPolicyState, * }); * ``` */ export declare function getSecurityPolicies(args: GetSecurityPoliciesArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getSecurityPolicies. */ export interface GetSecurityPoliciesArgs { /** * The OCID of the compartment in which to list resources. */ compartmentId: string; /** * A filter to return only resources that match the entire display name given. */ displayName?: string; filters?: inputs.CloudGuard.GetSecurityPoliciesFilter[]; /** * The unique identifier of the security zone policy. (`SecurityPolicy`) */ id?: string; /** * The field lifecycle state. Only one state can be provided. Default value for state is active. If no value is specified state is active. */ state?: string; } /** * A collection of values returned by getSecurityPolicies. */ export interface GetSecurityPoliciesResult { /** * The OCID of the security policy's compartment */ readonly compartmentId: string; /** * The security policy's display name */ readonly displayName?: string; readonly filters?: outputs.CloudGuard.GetSecurityPoliciesFilter[]; /** * Unique identifier that can’t be changed after creation */ readonly id?: string; /** * The list of security_policy_collection. */ readonly securityPolicyCollections: outputs.CloudGuard.GetSecurityPoliciesSecurityPolicyCollection[]; /** * The current lifecycle state of the security policy */ readonly state?: string; } /** * This data source provides the list of Security Policies in Oracle Cloud Infrastructure Cloud Guard service. * * Returns a list of security zone policies (SecurityPolicySummary resources), * identified by compartmentId. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testSecurityPolicies = oci.cloudguard.getSecurityPolicies({ * compartmentId: compartmentId, * displayName: securityPolicyDisplayName, * id: securityPolicyId, * state: securityPolicyState, * }); * ``` */ export declare function getSecurityPoliciesOutput(args: GetSecurityPoliciesOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getSecurityPolicies. */ export interface GetSecurityPoliciesOutputArgs { /** * The OCID of the compartment in which to list resources. */ compartmentId: pulumi.Input; /** * A filter to return only resources that match the entire display name given. */ displayName?: pulumi.Input; filters?: pulumi.Input[] | undefined>; /** * The unique identifier of the security zone policy. (`SecurityPolicy`) */ id?: pulumi.Input; /** * The field lifecycle state. Only one state can be provided. Default value for state is active. If no value is specified state is active. */ state?: pulumi.Input; } //# sourceMappingURL=getSecurityPolicies.d.ts.map