import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../../types/input"; import * as outputs from "../../types/output"; import * as enums from "../../types/enums"; /** * CreateSecurityAction creates a SecurityAction. * Note - this resource's API doesn't support deletion. When deleted, the resource will persist * on Google Cloud even though it will be deleted from Pulumi state. */ export declare class SecurityAction extends pulumi.CustomResource { /** * Get an existing SecurityAction 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 opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): SecurityAction; /** * Returns true if the given object is an instance of SecurityAction. 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 SecurityAction; /** * Allow a request through if it matches this SecurityAction. */ readonly allow: pulumi.Output; /** * A valid SecurityAction must contain at least one condition. */ readonly conditionConfig: pulumi.Output; /** * The create time for this SecurityAction. */ readonly createTime: pulumi.Output; /** * Deny a request through if it matches this SecurityAction. */ readonly deny: pulumi.Output; /** * Optional. An optional user provided description of the SecurityAction. */ readonly description: pulumi.Output; readonly environmentId: pulumi.Output; /** * The expiration for this SecurityAction. */ readonly expireTime: pulumi.Output; /** * Flag a request through if it matches this SecurityAction. */ readonly flag: pulumi.Output; /** * Immutable. This field is ignored during creation as per AIP-133. Please set the `security_action_id` field in the CreateSecurityActionRequest when creating a new SecurityAction. Format: organizations/{org}/environments/{env}/securityActions/{security_action} */ readonly name: pulumi.Output; readonly organizationId: pulumi.Output; /** * Required. The ID to use for the SecurityAction, which will become the final component of the action's resource name. This value should be 0-61 characters, and valid format is (^[a-z]([a-z0-9-]{​0,61}[a-z0-9])?$). */ readonly securityActionId: pulumi.Output; /** * Only an ENABLED SecurityAction is enforced. An ENABLED SecurityAction past its expiration time will not be enforced. */ readonly state: pulumi.Output; /** * Input only. The TTL for this SecurityAction. */ readonly ttl: pulumi.Output; /** * The update time for this SecurityAction. This reflects when this SecurityAction changed states. */ readonly updateTime: pulumi.Output; /** * Create a SecurityAction 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: SecurityActionArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a SecurityAction resource. */ export interface SecurityActionArgs { /** * Allow a request through if it matches this SecurityAction. */ allow?: pulumi.Input; /** * A valid SecurityAction must contain at least one condition. */ conditionConfig: pulumi.Input; /** * Deny a request through if it matches this SecurityAction. */ deny?: pulumi.Input; /** * Optional. An optional user provided description of the SecurityAction. */ description?: pulumi.Input; environmentId: pulumi.Input; /** * The expiration for this SecurityAction. */ expireTime?: pulumi.Input; /** * Flag a request through if it matches this SecurityAction. */ flag?: pulumi.Input; /** * Immutable. This field is ignored during creation as per AIP-133. Please set the `security_action_id` field in the CreateSecurityActionRequest when creating a new SecurityAction. Format: organizations/{org}/environments/{env}/securityActions/{security_action} */ name?: pulumi.Input; organizationId: pulumi.Input; /** * Required. The ID to use for the SecurityAction, which will become the final component of the action's resource name. This value should be 0-61 characters, and valid format is (^[a-z]([a-z0-9-]{​0,61}[a-z0-9])?$). */ securityActionId: pulumi.Input; /** * Only an ENABLED SecurityAction is enforced. An ENABLED SecurityAction past its expiration time will not be enforced. */ state: pulumi.Input; /** * Input only. The TTL for this SecurityAction. */ ttl?: pulumi.Input; }