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 Zones in Oracle Cloud Infrastructure Cloud Guard service. * * Returns a list of security zones (SecurityZone resources) in a compartment identified by * compartmentId. List is contained in a page of SecurityZoneSummary resources. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testSecurityZones = oci.cloudguard.getSecurityZones({ * compartmentId: compartmentId, * displayName: securityZoneDisplayName, * id: securityZoneId, * isRequiredSecurityZonesInSubtree: securityZoneIsRequiredSecurityZonesInSubtree === "true", * securityRecipeId: testSecurityRecipe.id, * state: securityZoneState, * }); * ``` */ export declare function getSecurityZones(args: GetSecurityZonesArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getSecurityZones. */ export interface GetSecurityZonesArgs { /** * 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.GetSecurityZonesFilter[]; /** * The unique identifier of the security zone (`SecurityZone` resource). */ id?: string; /** * Is security zones in the subtree? */ isRequiredSecurityZonesInSubtree?: boolean; /** * The unique identifier of the security zone recipe. (`SecurityRecipe` resource). */ securityRecipeId?: 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 getSecurityZones. */ export interface GetSecurityZonesResult { /** * The OCID of the compartment for the security zone */ readonly compartmentId: string; /** * The security zone's display name */ readonly displayName?: string; readonly filters?: outputs.CloudGuard.GetSecurityZonesFilter[]; /** * Unique identifier that can’t be changed after creation */ readonly id?: string; readonly isRequiredSecurityZonesInSubtree?: boolean; readonly securityRecipeId?: string; /** * The list of security_zone_collection. */ readonly securityZoneCollections: outputs.CloudGuard.GetSecurityZonesSecurityZoneCollection[]; /** * The current lifecycle state of the security zone */ readonly state?: string; } /** * This data source provides the list of Security Zones in Oracle Cloud Infrastructure Cloud Guard service. * * Returns a list of security zones (SecurityZone resources) in a compartment identified by * compartmentId. List is contained in a page of SecurityZoneSummary resources. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testSecurityZones = oci.cloudguard.getSecurityZones({ * compartmentId: compartmentId, * displayName: securityZoneDisplayName, * id: securityZoneId, * isRequiredSecurityZonesInSubtree: securityZoneIsRequiredSecurityZonesInSubtree === "true", * securityRecipeId: testSecurityRecipe.id, * state: securityZoneState, * }); * ``` */ export declare function getSecurityZonesOutput(args: GetSecurityZonesOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getSecurityZones. */ export interface GetSecurityZonesOutputArgs { /** * 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 (`SecurityZone` resource). */ id?: pulumi.Input; /** * Is security zones in the subtree? */ isRequiredSecurityZonesInSubtree?: pulumi.Input; /** * The unique identifier of the security zone recipe. (`SecurityRecipe` resource). */ securityRecipeId?: 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=getSecurityZones.d.ts.map