import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * Resource for Manual Deployment Freeze Window. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as harness from "@pulumi/harness"; * * const example = new harness.platform.ManualFreeze("example", { * identifier: "identifier", * orgId: "orgIdentifier", * projectId: "projectIdentifier", * accountId: "accountIdentifier", * yaml: `freeze: * name: freezeName * identifier: identifier * entityConfigs: * - name: r1 * entities: * - filterType: All * type: Org * - filterType: All * type: Project * - filterType: All * type: Service * - filterType: All * type: EnvType * status: Disabled * description: hi * windows: * - timeZone: Asia/Calcutta * startTime: 2023-05-03 04:16 PM * duration: 30m * recurrence: * type: Daily * notificationRules: [] * tags: {} * `, * }); * ``` * * ## Import * * The `pulumi import` command can be used, for example: * * Import an account level freeze * * ```sh * $ pulumi import harness:platform/manualFreeze:ManualFreeze example * ``` * * Import an organization level freeze * * ```sh * $ pulumi import harness:platform/manualFreeze:ManualFreeze example / * ``` * * Import project level freeze * * ```sh * $ pulumi import harness:platform/manualFreeze:ManualFreeze example // * ``` */ export declare class ManualFreeze extends pulumi.CustomResource { /** * Get an existing ManualFreeze 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?: ManualFreezeState, opts?: pulumi.CustomResourceOptions): ManualFreeze; /** * Returns true if the given object is an instance of ManualFreeze. 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 ManualFreeze; /** * Account Identifier of the freeze */ readonly accountId: pulumi.Output; /** * Current or upcoming windows */ readonly currentOrUpcomingWindows: pulumi.Output; /** * Description of the freeze */ readonly description: pulumi.Output; /** * Freeze windows in the freeze response */ readonly freezeWindows: pulumi.Output; /** * Identifier of the freeze */ readonly identifier: pulumi.Output; /** * Name of the freeze */ readonly name: pulumi.Output; /** * Organization identifier of the freeze */ readonly orgId: pulumi.Output; /** * Project identifier of the freeze */ readonly projectId: pulumi.Output; /** * Scope of the freeze */ readonly scope: pulumi.Output; /** * Status of the freeze */ readonly status: pulumi.Output; /** * Tags associated with the freeze */ readonly tags: pulumi.Output; /** * Type of freeze */ readonly type: pulumi.Output; /** * Yaml of the freeze */ readonly yaml: pulumi.Output; /** * Create a ManualFreeze 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: ManualFreezeArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering ManualFreeze resources. */ export interface ManualFreezeState { /** * Account Identifier of the freeze */ accountId?: pulumi.Input; /** * Current or upcoming windows */ currentOrUpcomingWindows?: pulumi.Input[] | undefined>; /** * Description of the freeze */ description?: pulumi.Input; /** * Freeze windows in the freeze response */ freezeWindows?: pulumi.Input[] | undefined>; /** * Identifier of the freeze */ identifier?: pulumi.Input; /** * Name of the freeze */ name?: pulumi.Input; /** * Organization identifier of the freeze */ orgId?: pulumi.Input; /** * Project identifier of the freeze */ projectId?: pulumi.Input; /** * Scope of the freeze */ scope?: pulumi.Input; /** * Status of the freeze */ status?: pulumi.Input; /** * Tags associated with the freeze */ tags?: pulumi.Input[] | undefined>; /** * Type of freeze */ type?: pulumi.Input; /** * Yaml of the freeze */ yaml?: pulumi.Input; } /** * The set of arguments for constructing a ManualFreeze resource. */ export interface ManualFreezeArgs { /** * Account Identifier of the freeze */ accountId: pulumi.Input; /** * Identifier of the freeze */ identifier: pulumi.Input; /** * Organization identifier of the freeze */ orgId?: pulumi.Input; /** * Project identifier of the freeze */ projectId?: pulumi.Input; /** * Yaml of the freeze */ yaml: pulumi.Input; } //# sourceMappingURL=manualFreeze.d.ts.map