1. Packages
  2. Nutanix
  3. API Docs
  4. ImagePlacementPolicyV2
Nutanix v0.7.4 published on Friday, Mar 21, 2025 by Piers Karsenbarg

nutanix.ImagePlacementPolicyV2

Explore with Pulumi AI

Create an image placement policy using the provided request body. Name, placement_type, image_entity_filter and source are mandatory fields to create an policy.

import * as pulumi from "@pulumi/pulumi";
import * as nutanix from "@pierskarsenbarg/nutanix";
import * as nutanix from "@pulumi/nutanix";

const categories = nutanix.getCategoriesV2({});
const category0 = data.nutanix_categories_v4.categories.categories[0].ext_id;
const example = new nutanix.ImagePlacementPolicyV2("example", {
    description: "%[2]s",
    placementType: "SOFT",
    clusterEntityFilters: [{
        categoryExtIds: [category0],
        type: "CATEGORIES_MATCH_ALL",
    }],
    imageEntityFilters: [{
        categoryExtIds: [category0],
        type: "CATEGORIES_MATCH_ALL",
    }],
});
Copy
import pulumi
import pulumi_nutanix as nutanix

categories = nutanix.get_categories_v2()
category0 = data["nutanix_categories_v4"]["categories"]["categories"][0]["ext_id"]
example = nutanix.ImagePlacementPolicyV2("example",
    description="%[2]s",
    placement_type="SOFT",
    cluster_entity_filters=[{
        "category_ext_ids": [category0],
        "type": "CATEGORIES_MATCH_ALL",
    }],
    image_entity_filters=[{
        "category_ext_ids": [category0],
        "type": "CATEGORIES_MATCH_ALL",
    }])
Copy
package main

import (
	"github.com/pierskarsenbarg/pulumi-nutanix/sdk/go/nutanix"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := nutanix.GetCategoriesV2(ctx, &nutanix.GetCategoriesV2Args{}, nil)
		if err != nil {
			return err
		}
		category0 := data.Nutanix_categories_v4.Categories.Categories[0].Ext_id
		_, err = nutanix.NewImagePlacementPolicyV2(ctx, "example", &nutanix.ImagePlacementPolicyV2Args{
			Description:   pulumi.String("%[2]s"),
			PlacementType: pulumi.String("SOFT"),
			ClusterEntityFilters: nutanix.ImagePlacementPolicyV2ClusterEntityFilterArray{
				&nutanix.ImagePlacementPolicyV2ClusterEntityFilterArgs{
					CategoryExtIds: pulumi.StringArray{
						category0,
					},
					Type: pulumi.String("CATEGORIES_MATCH_ALL"),
				},
			},
			ImageEntityFilters: nutanix.ImagePlacementPolicyV2ImageEntityFilterArray{
				&nutanix.ImagePlacementPolicyV2ImageEntityFilterArgs{
					CategoryExtIds: pulumi.StringArray{
						category0,
					},
					Type: pulumi.String("CATEGORIES_MATCH_ALL"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Nutanix = PiersKarsenbarg.Nutanix;
using Nutanix = Pulumi.Nutanix;

return await Deployment.RunAsync(() => 
{
    var categories = Nutanix.GetCategoriesV2.Invoke();

    var category0 = data.Nutanix_categories_v4.Categories.Categories[0].Ext_id;

    var example = new Nutanix.ImagePlacementPolicyV2("example", new()
    {
        Description = "%[2]s",
        PlacementType = "SOFT",
        ClusterEntityFilters = new[]
        {
            new Nutanix.Inputs.ImagePlacementPolicyV2ClusterEntityFilterArgs
            {
                CategoryExtIds = new[]
                {
                    category0,
                },
                Type = "CATEGORIES_MATCH_ALL",
            },
        },
        ImageEntityFilters = new[]
        {
            new Nutanix.Inputs.ImagePlacementPolicyV2ImageEntityFilterArgs
            {
                CategoryExtIds = new[]
                {
                    category0,
                },
                Type = "CATEGORIES_MATCH_ALL",
            },
        },
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.nutanix.NutanixFunctions;
import com.pulumi.nutanix.inputs.GetCategoriesV2Args;
import com.pulumi.nutanix.ImagePlacementPolicyV2;
import com.pulumi.nutanix.ImagePlacementPolicyV2Args;
import com.pulumi.nutanix.inputs.ImagePlacementPolicyV2ClusterEntityFilterArgs;
import com.pulumi.nutanix.inputs.ImagePlacementPolicyV2ImageEntityFilterArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        final var categories = NutanixFunctions.getCategoriesV2();

        final var category0 = data.nutanix_categories_v4().categories().categories()[0].ext_id();

        var example = new ImagePlacementPolicyV2("example", ImagePlacementPolicyV2Args.builder()
            .description("%[2]s")
            .placementType("SOFT")
            .clusterEntityFilters(ImagePlacementPolicyV2ClusterEntityFilterArgs.builder()
                .categoryExtIds(category0)
                .type("CATEGORIES_MATCH_ALL")
                .build())
            .imageEntityFilters(ImagePlacementPolicyV2ImageEntityFilterArgs.builder()
                .categoryExtIds(category0)
                .type("CATEGORIES_MATCH_ALL")
                .build())
            .build());

    }
}
Copy
resources:
  example:
    type: nutanix:ImagePlacementPolicyV2
    properties:
      description: '%[2]s'
      placementType: SOFT
      clusterEntityFilters:
        - categoryExtIds:
            - ${category0}
          type: CATEGORIES_MATCH_ALL
      imageEntityFilters:
        - categoryExtIds:
            - ${category0}
          type: CATEGORIES_MATCH_ALL
variables:
  categories:
    fn::invoke:
      function: nutanix:getCategoriesV2
      arguments: {}
  category0: ${data.nutanix_categories_v4.categories.categories[0].ext_id}
Copy

Create ImagePlacementPolicyV2 Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new ImagePlacementPolicyV2(name: string, args: ImagePlacementPolicyV2Args, opts?: CustomResourceOptions);
@overload
def ImagePlacementPolicyV2(resource_name: str,
                           args: ImagePlacementPolicyV2Args,
                           opts: Optional[ResourceOptions] = None)

@overload
def ImagePlacementPolicyV2(resource_name: str,
                           opts: Optional[ResourceOptions] = None,
                           cluster_entity_filters: Optional[Sequence[ImagePlacementPolicyV2ClusterEntityFilterArgs]] = None,
                           image_entity_filters: Optional[Sequence[ImagePlacementPolicyV2ImageEntityFilterArgs]] = None,
                           placement_type: Optional[str] = None,
                           action: Optional[str] = None,
                           description: Optional[str] = None,
                           enforcement_state: Optional[str] = None,
                           ext_id: Optional[str] = None,
                           name: Optional[str] = None,
                           should_cancel_running_tasks: Optional[bool] = None)
func NewImagePlacementPolicyV2(ctx *Context, name string, args ImagePlacementPolicyV2Args, opts ...ResourceOption) (*ImagePlacementPolicyV2, error)
public ImagePlacementPolicyV2(string name, ImagePlacementPolicyV2Args args, CustomResourceOptions? opts = null)
public ImagePlacementPolicyV2(String name, ImagePlacementPolicyV2Args args)
public ImagePlacementPolicyV2(String name, ImagePlacementPolicyV2Args args, CustomResourceOptions options)
type: nutanix:ImagePlacementPolicyV2
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. ImagePlacementPolicyV2Args
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. ImagePlacementPolicyV2Args
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. ImagePlacementPolicyV2Args
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. ImagePlacementPolicyV2Args
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. ImagePlacementPolicyV2Args
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Constructor example

The following reference example uses placeholder values for all input properties.

var imagePlacementPolicyV2Resource = new Nutanix.ImagePlacementPolicyV2("imagePlacementPolicyV2Resource", new()
{
    ClusterEntityFilters = new[]
    {
        new Nutanix.Inputs.ImagePlacementPolicyV2ClusterEntityFilterArgs
        {
            Type = "string",
            CategoryExtIds = new[]
            {
                "string",
            },
        },
    },
    ImageEntityFilters = new[]
    {
        new Nutanix.Inputs.ImagePlacementPolicyV2ImageEntityFilterArgs
        {
            Type = "string",
            CategoryExtIds = new[]
            {
                "string",
            },
        },
    },
    PlacementType = "string",
    Action = "string",
    Description = "string",
    EnforcementState = "string",
    ExtId = "string",
    Name = "string",
    ShouldCancelRunningTasks = false,
});
Copy
example, err := nutanix.NewImagePlacementPolicyV2(ctx, "imagePlacementPolicyV2Resource", &nutanix.ImagePlacementPolicyV2Args{
	ClusterEntityFilters: nutanix.ImagePlacementPolicyV2ClusterEntityFilterArray{
		&nutanix.ImagePlacementPolicyV2ClusterEntityFilterArgs{
			Type: pulumi.String("string"),
			CategoryExtIds: pulumi.StringArray{
				pulumi.String("string"),
			},
		},
	},
	ImageEntityFilters: nutanix.ImagePlacementPolicyV2ImageEntityFilterArray{
		&nutanix.ImagePlacementPolicyV2ImageEntityFilterArgs{
			Type: pulumi.String("string"),
			CategoryExtIds: pulumi.StringArray{
				pulumi.String("string"),
			},
		},
	},
	PlacementType:            pulumi.String("string"),
	Action:                   pulumi.String("string"),
	Description:              pulumi.String("string"),
	EnforcementState:         pulumi.String("string"),
	ExtId:                    pulumi.String("string"),
	Name:                     pulumi.String("string"),
	ShouldCancelRunningTasks: pulumi.Bool(false),
})
Copy
var imagePlacementPolicyV2Resource = new ImagePlacementPolicyV2("imagePlacementPolicyV2Resource", ImagePlacementPolicyV2Args.builder()
    .clusterEntityFilters(ImagePlacementPolicyV2ClusterEntityFilterArgs.builder()
        .type("string")
        .categoryExtIds("string")
        .build())
    .imageEntityFilters(ImagePlacementPolicyV2ImageEntityFilterArgs.builder()
        .type("string")
        .categoryExtIds("string")
        .build())
    .placementType("string")
    .action("string")
    .description("string")
    .enforcementState("string")
    .extId("string")
    .name("string")
    .shouldCancelRunningTasks(false)
    .build());
Copy
image_placement_policy_v2_resource = nutanix.ImagePlacementPolicyV2("imagePlacementPolicyV2Resource",
    cluster_entity_filters=[{
        "type": "string",
        "category_ext_ids": ["string"],
    }],
    image_entity_filters=[{
        "type": "string",
        "category_ext_ids": ["string"],
    }],
    placement_type="string",
    action="string",
    description="string",
    enforcement_state="string",
    ext_id="string",
    name="string",
    should_cancel_running_tasks=False)
Copy
const imagePlacementPolicyV2Resource = new nutanix.ImagePlacementPolicyV2("imagePlacementPolicyV2Resource", {
    clusterEntityFilters: [{
        type: "string",
        categoryExtIds: ["string"],
    }],
    imageEntityFilters: [{
        type: "string",
        categoryExtIds: ["string"],
    }],
    placementType: "string",
    action: "string",
    description: "string",
    enforcementState: "string",
    extId: "string",
    name: "string",
    shouldCancelRunningTasks: false,
});
Copy
type: nutanix:ImagePlacementPolicyV2
properties:
    action: string
    clusterEntityFilters:
        - categoryExtIds:
            - string
          type: string
    description: string
    enforcementState: string
    extId: string
    imageEntityFilters:
        - categoryExtIds:
            - string
          type: string
    name: string
    placementType: string
    shouldCancelRunningTasks: false
Copy

ImagePlacementPolicyV2 Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The ImagePlacementPolicyV2 resource accepts the following input properties:

ClusterEntityFilters This property is required. List<PiersKarsenbarg.Nutanix.Inputs.ImagePlacementPolicyV2ClusterEntityFilter>
Category-based entity filter.
ImageEntityFilters This property is required. List<PiersKarsenbarg.Nutanix.Inputs.ImagePlacementPolicyV2ImageEntityFilter>
Category-based entity filter.
PlacementType This property is required. string
Type of the image placement policy. Valid values "HARD", "SOFT"
Action string
Action to be performed on the image placement policy. Valid values "RESUME", "SUSPEND"
Description string
Description of the image placement policy.
EnforcementState string
Enforcement status of the image placement policy. Valid values "ACTIVE", "SUSPENDED"
ExtId string
Name string
Name of the image placement policy.
ShouldCancelRunningTasks bool
ClusterEntityFilters This property is required. []ImagePlacementPolicyV2ClusterEntityFilterArgs
Category-based entity filter.
ImageEntityFilters This property is required. []ImagePlacementPolicyV2ImageEntityFilterArgs
Category-based entity filter.
PlacementType This property is required. string
Type of the image placement policy. Valid values "HARD", "SOFT"
Action string
Action to be performed on the image placement policy. Valid values "RESUME", "SUSPEND"
Description string
Description of the image placement policy.
EnforcementState string
Enforcement status of the image placement policy. Valid values "ACTIVE", "SUSPENDED"
ExtId string
Name string
Name of the image placement policy.
ShouldCancelRunningTasks bool
clusterEntityFilters This property is required. List<ImagePlacementPolicyV2ClusterEntityFilter>
Category-based entity filter.
imageEntityFilters This property is required. List<ImagePlacementPolicyV2ImageEntityFilter>
Category-based entity filter.
placementType This property is required. String
Type of the image placement policy. Valid values "HARD", "SOFT"
action String
Action to be performed on the image placement policy. Valid values "RESUME", "SUSPEND"
description String
Description of the image placement policy.
enforcementState String
Enforcement status of the image placement policy. Valid values "ACTIVE", "SUSPENDED"
extId String
name String
Name of the image placement policy.
shouldCancelRunningTasks Boolean
clusterEntityFilters This property is required. ImagePlacementPolicyV2ClusterEntityFilter[]
Category-based entity filter.
imageEntityFilters This property is required. ImagePlacementPolicyV2ImageEntityFilter[]
Category-based entity filter.
placementType This property is required. string
Type of the image placement policy. Valid values "HARD", "SOFT"
action string
Action to be performed on the image placement policy. Valid values "RESUME", "SUSPEND"
description string
Description of the image placement policy.
enforcementState string
Enforcement status of the image placement policy. Valid values "ACTIVE", "SUSPENDED"
extId string
name string
Name of the image placement policy.
shouldCancelRunningTasks boolean
cluster_entity_filters This property is required. Sequence[ImagePlacementPolicyV2ClusterEntityFilterArgs]
Category-based entity filter.
image_entity_filters This property is required. Sequence[ImagePlacementPolicyV2ImageEntityFilterArgs]
Category-based entity filter.
placement_type This property is required. str
Type of the image placement policy. Valid values "HARD", "SOFT"
action str
Action to be performed on the image placement policy. Valid values "RESUME", "SUSPEND"
description str
Description of the image placement policy.
enforcement_state str
Enforcement status of the image placement policy. Valid values "ACTIVE", "SUSPENDED"
ext_id str
name str
Name of the image placement policy.
should_cancel_running_tasks bool
clusterEntityFilters This property is required. List<Property Map>
Category-based entity filter.
imageEntityFilters This property is required. List<Property Map>
Category-based entity filter.
placementType This property is required. String
Type of the image placement policy. Valid values "HARD", "SOFT"
action String
Action to be performed on the image placement policy. Valid values "RESUME", "SUSPEND"
description String
Description of the image placement policy.
enforcementState String
Enforcement status of the image placement policy. Valid values "ACTIVE", "SUSPENDED"
extId String
name String
Name of the image placement policy.
shouldCancelRunningTasks Boolean

Outputs

All input properties are implicitly available as output properties. Additionally, the ImagePlacementPolicyV2 resource produces the following output properties:

CreateTime string
Id string
The provider-assigned unique ID for this managed resource.
LastUpdateTime string
OwnerExtId string
CreateTime string
Id string
The provider-assigned unique ID for this managed resource.
LastUpdateTime string
OwnerExtId string
createTime String
id String
The provider-assigned unique ID for this managed resource.
lastUpdateTime String
ownerExtId String
createTime string
id string
The provider-assigned unique ID for this managed resource.
lastUpdateTime string
ownerExtId string
create_time str
id str
The provider-assigned unique ID for this managed resource.
last_update_time str
owner_ext_id str
createTime String
id String
The provider-assigned unique ID for this managed resource.
lastUpdateTime String
ownerExtId String

Look up Existing ImagePlacementPolicyV2 Resource

Get an existing ImagePlacementPolicyV2 resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: ImagePlacementPolicyV2State, opts?: CustomResourceOptions): ImagePlacementPolicyV2
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        action: Optional[str] = None,
        cluster_entity_filters: Optional[Sequence[ImagePlacementPolicyV2ClusterEntityFilterArgs]] = None,
        create_time: Optional[str] = None,
        description: Optional[str] = None,
        enforcement_state: Optional[str] = None,
        ext_id: Optional[str] = None,
        image_entity_filters: Optional[Sequence[ImagePlacementPolicyV2ImageEntityFilterArgs]] = None,
        last_update_time: Optional[str] = None,
        name: Optional[str] = None,
        owner_ext_id: Optional[str] = None,
        placement_type: Optional[str] = None,
        should_cancel_running_tasks: Optional[bool] = None) -> ImagePlacementPolicyV2
func GetImagePlacementPolicyV2(ctx *Context, name string, id IDInput, state *ImagePlacementPolicyV2State, opts ...ResourceOption) (*ImagePlacementPolicyV2, error)
public static ImagePlacementPolicyV2 Get(string name, Input<string> id, ImagePlacementPolicyV2State? state, CustomResourceOptions? opts = null)
public static ImagePlacementPolicyV2 get(String name, Output<String> id, ImagePlacementPolicyV2State state, CustomResourceOptions options)
resources:  _:    type: nutanix:ImagePlacementPolicyV2    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
Action string
Action to be performed on the image placement policy. Valid values "RESUME", "SUSPEND"
ClusterEntityFilters List<PiersKarsenbarg.Nutanix.Inputs.ImagePlacementPolicyV2ClusterEntityFilter>
Category-based entity filter.
CreateTime string
Description string
Description of the image placement policy.
EnforcementState string
Enforcement status of the image placement policy. Valid values "ACTIVE", "SUSPENDED"
ExtId string
ImageEntityFilters List<PiersKarsenbarg.Nutanix.Inputs.ImagePlacementPolicyV2ImageEntityFilter>
Category-based entity filter.
LastUpdateTime string
Name string
Name of the image placement policy.
OwnerExtId string
PlacementType string
Type of the image placement policy. Valid values "HARD", "SOFT"
ShouldCancelRunningTasks bool
Action string
Action to be performed on the image placement policy. Valid values "RESUME", "SUSPEND"
ClusterEntityFilters []ImagePlacementPolicyV2ClusterEntityFilterArgs
Category-based entity filter.
CreateTime string
Description string
Description of the image placement policy.
EnforcementState string
Enforcement status of the image placement policy. Valid values "ACTIVE", "SUSPENDED"
ExtId string
ImageEntityFilters []ImagePlacementPolicyV2ImageEntityFilterArgs
Category-based entity filter.
LastUpdateTime string
Name string
Name of the image placement policy.
OwnerExtId string
PlacementType string
Type of the image placement policy. Valid values "HARD", "SOFT"
ShouldCancelRunningTasks bool
action String
Action to be performed on the image placement policy. Valid values "RESUME", "SUSPEND"
clusterEntityFilters List<ImagePlacementPolicyV2ClusterEntityFilter>
Category-based entity filter.
createTime String
description String
Description of the image placement policy.
enforcementState String
Enforcement status of the image placement policy. Valid values "ACTIVE", "SUSPENDED"
extId String
imageEntityFilters List<ImagePlacementPolicyV2ImageEntityFilter>
Category-based entity filter.
lastUpdateTime String
name String
Name of the image placement policy.
ownerExtId String
placementType String
Type of the image placement policy. Valid values "HARD", "SOFT"
shouldCancelRunningTasks Boolean
action string
Action to be performed on the image placement policy. Valid values "RESUME", "SUSPEND"
clusterEntityFilters ImagePlacementPolicyV2ClusterEntityFilter[]
Category-based entity filter.
createTime string
description string
Description of the image placement policy.
enforcementState string
Enforcement status of the image placement policy. Valid values "ACTIVE", "SUSPENDED"
extId string
imageEntityFilters ImagePlacementPolicyV2ImageEntityFilter[]
Category-based entity filter.
lastUpdateTime string
name string
Name of the image placement policy.
ownerExtId string
placementType string
Type of the image placement policy. Valid values "HARD", "SOFT"
shouldCancelRunningTasks boolean
action str
Action to be performed on the image placement policy. Valid values "RESUME", "SUSPEND"
cluster_entity_filters Sequence[ImagePlacementPolicyV2ClusterEntityFilterArgs]
Category-based entity filter.
create_time str
description str
Description of the image placement policy.
enforcement_state str
Enforcement status of the image placement policy. Valid values "ACTIVE", "SUSPENDED"
ext_id str
image_entity_filters Sequence[ImagePlacementPolicyV2ImageEntityFilterArgs]
Category-based entity filter.
last_update_time str
name str
Name of the image placement policy.
owner_ext_id str
placement_type str
Type of the image placement policy. Valid values "HARD", "SOFT"
should_cancel_running_tasks bool
action String
Action to be performed on the image placement policy. Valid values "RESUME", "SUSPEND"
clusterEntityFilters List<Property Map>
Category-based entity filter.
createTime String
description String
Description of the image placement policy.
enforcementState String
Enforcement status of the image placement policy. Valid values "ACTIVE", "SUSPENDED"
extId String
imageEntityFilters List<Property Map>
Category-based entity filter.
lastUpdateTime String
name String
Name of the image placement policy.
ownerExtId String
placementType String
Type of the image placement policy. Valid values "HARD", "SOFT"
shouldCancelRunningTasks Boolean

Supporting Types

ImagePlacementPolicyV2ClusterEntityFilter
, ImagePlacementPolicyV2ClusterEntityFilterArgs

Type This property is required. string
Filter matching type. Valid values "CATEGORIES_MATCH_ALL", "CATEGORIES_MATCH_ANY"
CategoryExtIds List<string>

Array of strings

See detailed information in Nutanix Image Placement Policies V4

Type This property is required. string
Filter matching type. Valid values "CATEGORIES_MATCH_ALL", "CATEGORIES_MATCH_ANY"
CategoryExtIds []string

Array of strings

See detailed information in Nutanix Image Placement Policies V4

type This property is required. String
Filter matching type. Valid values "CATEGORIES_MATCH_ALL", "CATEGORIES_MATCH_ANY"
categoryExtIds List<String>

Array of strings

See detailed information in Nutanix Image Placement Policies V4

type This property is required. string
Filter matching type. Valid values "CATEGORIES_MATCH_ALL", "CATEGORIES_MATCH_ANY"
categoryExtIds string[]

Array of strings

See detailed information in Nutanix Image Placement Policies V4

type This property is required. str
Filter matching type. Valid values "CATEGORIES_MATCH_ALL", "CATEGORIES_MATCH_ANY"
category_ext_ids Sequence[str]

Array of strings

See detailed information in Nutanix Image Placement Policies V4

type This property is required. String
Filter matching type. Valid values "CATEGORIES_MATCH_ALL", "CATEGORIES_MATCH_ANY"
categoryExtIds List<String>

Array of strings

See detailed information in Nutanix Image Placement Policies V4

ImagePlacementPolicyV2ImageEntityFilter
, ImagePlacementPolicyV2ImageEntityFilterArgs

Type This property is required. string
Filter matching type. Valid values "CATEGORIES_MATCH_ALL", "CATEGORIES_MATCH_ANY"
CategoryExtIds List<string>
Array of strings
Type This property is required. string
Filter matching type. Valid values "CATEGORIES_MATCH_ALL", "CATEGORIES_MATCH_ANY"
CategoryExtIds []string
Array of strings
type This property is required. String
Filter matching type. Valid values "CATEGORIES_MATCH_ALL", "CATEGORIES_MATCH_ANY"
categoryExtIds List<String>
Array of strings
type This property is required. string
Filter matching type. Valid values "CATEGORIES_MATCH_ALL", "CATEGORIES_MATCH_ANY"
categoryExtIds string[]
Array of strings
type This property is required. str
Filter matching type. Valid values "CATEGORIES_MATCH_ALL", "CATEGORIES_MATCH_ANY"
category_ext_ids Sequence[str]
Array of strings
type This property is required. String
Filter matching type. Valid values "CATEGORIES_MATCH_ALL", "CATEGORIES_MATCH_ANY"
categoryExtIds List<String>
Array of strings

Package Details

Repository
nutanix pierskarsenbarg/pulumi-nutanix
License
Apache-2.0
Notes
This Pulumi package is based on the nutanix Terraform Provider.