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",
    }],
});
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",
    }])
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
	})
}
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",
            },
        },
    });
});
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());
    }
}
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}
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 string
- The unique name of the resource.
- args ImagePlacementPolicyV2Args
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args 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 string
- The unique name of the resource.
- args ImagePlacementPolicyV2Args
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ImagePlacementPolicyV2Args
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args 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,
});
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),
})
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());
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)
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,
});
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
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:
- ClusterEntity List<PiersFilters Karsenbarg. Nutanix. Inputs. Image Placement Policy V2Cluster Entity Filter> 
- Category-based entity filter.
- ImageEntity List<PiersFilters Karsenbarg. Nutanix. Inputs. Image Placement Policy V2Image Entity Filter> 
- Category-based entity filter.
- PlacementType 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.
- ShouldCancel boolRunning Tasks 
- ClusterEntity []ImageFilters Placement Policy V2Cluster Entity Filter Args 
- Category-based entity filter.
- ImageEntity []ImageFilters Placement Policy V2Image Entity Filter Args 
- Category-based entity filter.
- PlacementType 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.
- ShouldCancel boolRunning Tasks 
- clusterEntity List<ImageFilters Placement Policy V2Cluster Entity Filter> 
- Category-based entity filter.
- imageEntity List<ImageFilters Placement Policy V2Image Entity Filter> 
- Category-based entity filter.
- placementType 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.
- shouldCancel BooleanRunning Tasks 
- clusterEntity ImageFilters Placement Policy V2Cluster Entity Filter[] 
- Category-based entity filter.
- imageEntity ImageFilters Placement Policy V2Image Entity Filter[] 
- Category-based entity filter.
- placementType 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.
- shouldCancel booleanRunning Tasks 
- cluster_entity_ Sequence[Imagefilters Placement Policy V2Cluster Entity Filter Args] 
- Category-based entity filter.
- image_entity_ Sequence[Imagefilters Placement Policy V2Image Entity Filter Args] 
- Category-based entity filter.
- placement_type 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_ boolrunning_ tasks 
- clusterEntity List<Property Map>Filters 
- Category-based entity filter.
- imageEntity List<Property Map>Filters 
- Category-based entity filter.
- placementType 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.
- shouldCancel BooleanRunning Tasks 
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.
- LastUpdate stringTime 
- OwnerExt stringId 
- CreateTime string
- Id string
- The provider-assigned unique ID for this managed resource.
- LastUpdate stringTime 
- OwnerExt stringId 
- createTime String
- id String
- The provider-assigned unique ID for this managed resource.
- lastUpdate StringTime 
- ownerExt StringId 
- createTime string
- id string
- The provider-assigned unique ID for this managed resource.
- lastUpdate stringTime 
- ownerExt stringId 
- create_time str
- id str
- The provider-assigned unique ID for this managed resource.
- last_update_ strtime 
- owner_ext_ strid 
- createTime String
- id String
- The provider-assigned unique ID for this managed resource.
- lastUpdate StringTime 
- ownerExt StringId 
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) -> ImagePlacementPolicyV2func 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
- The unique name of the resulting resource.
- id
- 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
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- 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
- The unique name of the resulting resource.
- id
- 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
- The unique name of the resulting resource.
- id
- 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.
- Action string
- Action to be performed on the image placement policy. Valid values "RESUME", "SUSPEND"
- ClusterEntity List<PiersFilters Karsenbarg. Nutanix. Inputs. Image Placement Policy V2Cluster Entity Filter> 
- 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
- ImageEntity List<PiersFilters Karsenbarg. Nutanix. Inputs. Image Placement Policy V2Image Entity Filter> 
- Category-based entity filter.
- LastUpdate stringTime 
- Name string
- Name of the image placement policy.
- OwnerExt stringId 
- PlacementType string
- Type of the image placement policy. Valid values "HARD", "SOFT"
- ShouldCancel boolRunning Tasks 
- Action string
- Action to be performed on the image placement policy. Valid values "RESUME", "SUSPEND"
- ClusterEntity []ImageFilters Placement Policy V2Cluster Entity Filter Args 
- 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
- ImageEntity []ImageFilters Placement Policy V2Image Entity Filter Args 
- Category-based entity filter.
- LastUpdate stringTime 
- Name string
- Name of the image placement policy.
- OwnerExt stringId 
- PlacementType string
- Type of the image placement policy. Valid values "HARD", "SOFT"
- ShouldCancel boolRunning Tasks 
- action String
- Action to be performed on the image placement policy. Valid values "RESUME", "SUSPEND"
- clusterEntity List<ImageFilters Placement Policy V2Cluster Entity Filter> 
- 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
- imageEntity List<ImageFilters Placement Policy V2Image Entity Filter> 
- Category-based entity filter.
- lastUpdate StringTime 
- name String
- Name of the image placement policy.
- ownerExt StringId 
- placementType String
- Type of the image placement policy. Valid values "HARD", "SOFT"
- shouldCancel BooleanRunning Tasks 
- action string
- Action to be performed on the image placement policy. Valid values "RESUME", "SUSPEND"
- clusterEntity ImageFilters Placement Policy V2Cluster Entity Filter[] 
- 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
- imageEntity ImageFilters Placement Policy V2Image Entity Filter[] 
- Category-based entity filter.
- lastUpdate stringTime 
- name string
- Name of the image placement policy.
- ownerExt stringId 
- placementType string
- Type of the image placement policy. Valid values "HARD", "SOFT"
- shouldCancel booleanRunning Tasks 
- action str
- Action to be performed on the image placement policy. Valid values "RESUME", "SUSPEND"
- cluster_entity_ Sequence[Imagefilters Placement Policy V2Cluster Entity Filter Args] 
- 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_ Sequence[Imagefilters Placement Policy V2Image Entity Filter Args] 
- Category-based entity filter.
- last_update_ strtime 
- name str
- Name of the image placement policy.
- owner_ext_ strid 
- placement_type str
- Type of the image placement policy. Valid values "HARD", "SOFT"
- should_cancel_ boolrunning_ tasks 
- action String
- Action to be performed on the image placement policy. Valid values "RESUME", "SUSPEND"
- clusterEntity List<Property Map>Filters 
- 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
- imageEntity List<Property Map>Filters 
- Category-based entity filter.
- lastUpdate StringTime 
- name String
- Name of the image placement policy.
- ownerExt StringId 
- placementType String
- Type of the image placement policy. Valid values "HARD", "SOFT"
- shouldCancel BooleanRunning Tasks 
Supporting Types
ImagePlacementPolicyV2ClusterEntityFilter, ImagePlacementPolicyV2ClusterEntityFilterArgs            
- Type string
- Filter matching type. Valid values "CATEGORIES_MATCH_ALL", "CATEGORIES_MATCH_ANY"
- CategoryExt List<string>Ids 
- Array of strings - See detailed information in Nutanix Image Placement Policies V4 
- Type string
- Filter matching type. Valid values "CATEGORIES_MATCH_ALL", "CATEGORIES_MATCH_ANY"
- CategoryExt []stringIds 
- Array of strings - See detailed information in Nutanix Image Placement Policies V4 
- type String
- Filter matching type. Valid values "CATEGORIES_MATCH_ALL", "CATEGORIES_MATCH_ANY"
- categoryExt List<String>Ids 
- Array of strings - See detailed information in Nutanix Image Placement Policies V4 
- type string
- Filter matching type. Valid values "CATEGORIES_MATCH_ALL", "CATEGORIES_MATCH_ANY"
- categoryExt string[]Ids 
- Array of strings - See detailed information in Nutanix Image Placement Policies V4 
- type str
- Filter matching type. Valid values "CATEGORIES_MATCH_ALL", "CATEGORIES_MATCH_ANY"
- category_ext_ Sequence[str]ids 
- Array of strings - See detailed information in Nutanix Image Placement Policies V4 
- type String
- Filter matching type. Valid values "CATEGORIES_MATCH_ALL", "CATEGORIES_MATCH_ANY"
- categoryExt List<String>Ids 
- Array of strings - See detailed information in Nutanix Image Placement Policies V4 
ImagePlacementPolicyV2ImageEntityFilter, ImagePlacementPolicyV2ImageEntityFilterArgs            
- Type string
- Filter matching type. Valid values "CATEGORIES_MATCH_ALL", "CATEGORIES_MATCH_ANY"
- CategoryExt List<string>Ids 
- Array of strings
- Type string
- Filter matching type. Valid values "CATEGORIES_MATCH_ALL", "CATEGORIES_MATCH_ANY"
- CategoryExt []stringIds 
- Array of strings
- type String
- Filter matching type. Valid values "CATEGORIES_MATCH_ALL", "CATEGORIES_MATCH_ANY"
- categoryExt List<String>Ids 
- Array of strings
- type string
- Filter matching type. Valid values "CATEGORIES_MATCH_ALL", "CATEGORIES_MATCH_ANY"
- categoryExt string[]Ids 
- Array of strings
- type str
- Filter matching type. Valid values "CATEGORIES_MATCH_ALL", "CATEGORIES_MATCH_ANY"
- category_ext_ Sequence[str]ids 
- Array of strings
- type String
- Filter matching type. Valid values "CATEGORIES_MATCH_ALL", "CATEGORIES_MATCH_ANY"
- categoryExt List<String>Ids 
- Array of strings
Package Details
- Repository
- nutanix pierskarsenbarg/pulumi-nutanix
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the nutanixTerraform Provider.
