import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * Create an image placement policy using the provided request body. Name, placement_type, imageEntityFilter and source are mandatory fields to create an policy. * * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as nutanix from "@pierskarsenbarg/nutanix"; * * const example = new nutanix.ImagePlacementPolicyV2("example", { * name: "image_placement_policy", * description: "%[2]s", * placementType: "SOFT", * clusterEntityFilters: [{ * categoryExtIds: ["ab520e1d-4950-1db1-917f-a9e2ea35b8e3"], * type: "CATEGORIES_MATCH_ALL", * }], * imageEntityFilters: [{ * categoryExtIds: ["ab520e1d-4950-1db1-917f-a9e2ea35b8e3"], * type: "CATEGORIES_MATCH_ALL", * }], * }); * ``` * */ export declare class ImagePlacementPolicyV2 extends pulumi.CustomResource { /** * Get an existing ImagePlacementPolicyV2 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?: ImagePlacementPolicyV2State, opts?: pulumi.CustomResourceOptions): ImagePlacementPolicyV2; /** * Returns true if the given object is an instance of ImagePlacementPolicyV2. 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 ImagePlacementPolicyV2; /** * Action to be performed on the image placement policy. Valid values "RESUME", "SUSPEND" */ readonly action: pulumi.Output; /** * Category-based entity filter. */ readonly clusterEntityFilters: pulumi.Output; readonly createTime: pulumi.Output; /** * Description of the image placement policy. */ readonly description: pulumi.Output; /** * Enforcement status of the image placement policy. Valid values "ACTIVE", "SUSPENDED" */ readonly enforcementState: pulumi.Output; readonly extId: pulumi.Output; /** * Category-based entity filter. */ readonly imageEntityFilters: pulumi.Output; readonly lastUpdateTime: pulumi.Output; /** * Name of the image placement policy. */ readonly name: pulumi.Output; readonly ownerExtId: pulumi.Output; /** * Type of the image placement policy. Valid values "HARD", "SOFT" */ readonly placementType: pulumi.Output; readonly shouldCancelRunningTasks: pulumi.Output; /** * Create a ImagePlacementPolicyV2 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: ImagePlacementPolicyV2Args, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering ImagePlacementPolicyV2 resources. */ export interface ImagePlacementPolicyV2State { /** * Action to be performed on the image placement policy. Valid values "RESUME", "SUSPEND" */ action?: pulumi.Input; /** * Category-based entity filter. */ clusterEntityFilters?: pulumi.Input[] | undefined>; createTime?: pulumi.Input; /** * Description of the image placement policy. */ description?: pulumi.Input; /** * Enforcement status of the image placement policy. Valid values "ACTIVE", "SUSPENDED" */ enforcementState?: pulumi.Input; extId?: pulumi.Input; /** * Category-based entity filter. */ imageEntityFilters?: pulumi.Input[] | undefined>; lastUpdateTime?: pulumi.Input; /** * Name of the image placement policy. */ name?: pulumi.Input; ownerExtId?: pulumi.Input; /** * Type of the image placement policy. Valid values "HARD", "SOFT" */ placementType?: pulumi.Input; shouldCancelRunningTasks?: pulumi.Input; } /** * The set of arguments for constructing a ImagePlacementPolicyV2 resource. */ export interface ImagePlacementPolicyV2Args { /** * Action to be performed on the image placement policy. Valid values "RESUME", "SUSPEND" */ action?: pulumi.Input; /** * Category-based entity filter. */ clusterEntityFilters: pulumi.Input[]>; /** * Description of the image placement policy. */ description?: pulumi.Input; /** * Enforcement status of the image placement policy. Valid values "ACTIVE", "SUSPENDED" */ enforcementState?: pulumi.Input; extId?: pulumi.Input; /** * Category-based entity filter. */ imageEntityFilters: pulumi.Input[]>; /** * Name of the image placement policy. */ name?: pulumi.Input; /** * Type of the image placement policy. Valid values "HARD", "SOFT" */ placementType: pulumi.Input; shouldCancelRunningTasks?: pulumi.Input; } //# sourceMappingURL=imagePlacementPolicyV2.d.ts.map