import * as pulumi from "@pulumi/pulumi"; /** * Sets the Cloud Armor tier of the project. * * To get more information about ProjectCloudArmorTier, see: * * * [API documentation](https://cloud.google.com/compute/docs/reference/rest/v1/projects/setCloudArmorTier) * * How-to Guides * * [Subscribing to Cloud Armor Enterprise](https://cloud.google.com/armor/docs/managed-protection-overview#subscribing_to_plus) * * ## Example Usage * * ### Compute Project Cloud Armor Tier Basic * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as gcp from "@pulumi/gcp"; * * const cloudArmorTierConfig = new gcp.compute.ProjectCloudArmorTier("cloud_armor_tier_config", {cloudArmorTier: "CA_STANDARD"}); * ``` * ### Compute Project Cloud Armor Tier Project Set * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as gcp from "@pulumi/gcp"; * * const project = new gcp.organizations.Project("project", { * projectId: "your_project_id", * name: "your_project_id", * orgId: "123456789", * billingAccount: "000000-0000000-0000000-000000", * deletionPolicy: "DELETE", * }); * const compute = new gcp.projects.Service("compute", { * project: project.projectId, * service: "compute.googleapis.com", * }); * const cloudArmorTierConfig = new gcp.compute.ProjectCloudArmorTier("cloud_armor_tier_config", { * project: project.projectId, * cloudArmorTier: "CA_STANDARD", * }, { * dependsOn: [compute], * }); * ``` * * ## Import * * ProjectCloudArmorTier can be imported using any of these accepted formats: * * * `projects/{{project}}` * * * `{{project}}` * * When using the `pulumi import` command, ProjectCloudArmorTier can be imported using one of the formats above. For example: * * ```sh * $ pulumi import gcp:compute/projectCloudArmorTier:ProjectCloudArmorTier default projects/{{project}} * ``` * * ```sh * $ pulumi import gcp:compute/projectCloudArmorTier:ProjectCloudArmorTier default {{project}} * ``` */ export declare class ProjectCloudArmorTier extends pulumi.CustomResource { /** * Get an existing ProjectCloudArmorTier resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: ProjectCloudArmorTierState, opts?: pulumi.CustomResourceOptions): ProjectCloudArmorTier; /** * Returns true if the given object is an instance of ProjectCloudArmorTier. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is ProjectCloudArmorTier; /** * Managed protection tier to be set. * Possible values are: `CA_STANDARD`, `CA_ENTERPRISE_PAYGO`, `CA_ENTERPRISE_ANNUAL`. */ readonly cloudArmorTier: pulumi.Output; /** * The ID of the project in which the resource belongs. * If it is not provided, the provider project is used. */ readonly project: pulumi.Output; /** * Create a ProjectCloudArmorTier resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: ProjectCloudArmorTierArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering ProjectCloudArmorTier resources. */ export interface ProjectCloudArmorTierState { /** * Managed protection tier to be set. * Possible values are: `CA_STANDARD`, `CA_ENTERPRISE_PAYGO`, `CA_ENTERPRISE_ANNUAL`. */ cloudArmorTier?: 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 set of arguments for constructing a ProjectCloudArmorTier resource. */ export interface ProjectCloudArmorTierArgs { /** * Managed protection tier to be set. * Possible values are: `CA_STANDARD`, `CA_ENTERPRISE_PAYGO`, `CA_ENTERPRISE_ANNUAL`. */ cloudArmorTier: 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; }