import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Use this data source to get information about a Compute Region Security Policy. For more details, see the [API documentation](https://cloud.google.com/compute/docs/reference/rest/v1/regionSecurityPolicies). * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as gcp from "@pulumi/gcp"; * * const _default = gcp.compute.getRegionSecurityPolicy({ * name: "my-region-security-policy", * region: "us-west2", * }); * ``` */ export declare function getRegionSecurityPolicy(args: GetRegionSecurityPolicyArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getRegionSecurityPolicy. */ export interface GetRegionSecurityPolicyArgs { /** * The name of the Region Security Policy. */ name: string; /** * The ID of the project in which the resource belongs. If it is not provided, the provider project is used. */ project?: string; /** * The region in which the Region Security Policy resides. If not specified, the provider region is used. */ region?: string; } /** * A collection of values returned by getRegionSecurityPolicy. */ export interface GetRegionSecurityPolicyResult { readonly advancedOptionsConfigs: outputs.compute.GetRegionSecurityPolicyAdvancedOptionsConfig[]; readonly ddosProtectionConfigs: outputs.compute.GetRegionSecurityPolicyDdosProtectionConfig[]; readonly description: string; readonly fingerprint: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly name: string; readonly policyId: string; readonly project?: string; readonly region?: string; readonly rules: outputs.compute.GetRegionSecurityPolicyRule[]; readonly selfLink: string; readonly selfLinkWithPolicyId: string; readonly type: string; readonly userDefinedFields: outputs.compute.GetRegionSecurityPolicyUserDefinedField[]; } /** * Use this data source to get information about a Compute Region Security Policy. For more details, see the [API documentation](https://cloud.google.com/compute/docs/reference/rest/v1/regionSecurityPolicies). * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as gcp from "@pulumi/gcp"; * * const _default = gcp.compute.getRegionSecurityPolicy({ * name: "my-region-security-policy", * region: "us-west2", * }); * ``` */ export declare function getRegionSecurityPolicyOutput(args: GetRegionSecurityPolicyOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getRegionSecurityPolicy. */ export interface GetRegionSecurityPolicyOutputArgs { /** * The name of the Region Security Policy. */ name: pulumi.Input; /** * The ID of the project in which the resource belongs. If it is not provided, the provider project is used. */ project?: pulumi.Input; /** * The region in which the Region Security Policy resides. If not specified, the provider region is used. */ region?: pulumi.Input; }