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

nutanix.getImagePlacementPolicyV2

Explore with Pulumi AI

Nutanix v0.7.4 published on Friday, Mar 21, 2025 by Piers Karsenbarg

Retrieve the image placement policy details for the provided external identifier.

Using getImagePlacementPolicyV2

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getImagePlacementPolicyV2(args: GetImagePlacementPolicyV2Args, opts?: InvokeOptions): Promise<GetImagePlacementPolicyV2Result>
function getImagePlacementPolicyV2Output(args: GetImagePlacementPolicyV2OutputArgs, opts?: InvokeOptions): Output<GetImagePlacementPolicyV2Result>
Copy
def get_image_placement_policy_v2(ext_id: Optional[str] = None,
                                  opts: Optional[InvokeOptions] = None) -> GetImagePlacementPolicyV2Result
def get_image_placement_policy_v2_output(ext_id: Optional[pulumi.Input[str]] = None,
                                  opts: Optional[InvokeOptions] = None) -> Output[GetImagePlacementPolicyV2Result]
Copy
func LookupImagePlacementPolicyV2(ctx *Context, args *LookupImagePlacementPolicyV2Args, opts ...InvokeOption) (*LookupImagePlacementPolicyV2Result, error)
func LookupImagePlacementPolicyV2Output(ctx *Context, args *LookupImagePlacementPolicyV2OutputArgs, opts ...InvokeOption) LookupImagePlacementPolicyV2ResultOutput
Copy

> Note: This function is named LookupImagePlacementPolicyV2 in the Go SDK.

public static class GetImagePlacementPolicyV2 
{
    public static Task<GetImagePlacementPolicyV2Result> InvokeAsync(GetImagePlacementPolicyV2Args args, InvokeOptions? opts = null)
    public static Output<GetImagePlacementPolicyV2Result> Invoke(GetImagePlacementPolicyV2InvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetImagePlacementPolicyV2Result> getImagePlacementPolicyV2(GetImagePlacementPolicyV2Args args, InvokeOptions options)
public static Output<GetImagePlacementPolicyV2Result> getImagePlacementPolicyV2(GetImagePlacementPolicyV2Args args, InvokeOptions options)
Copy
fn::invoke:
  function: nutanix:index/getImagePlacementPolicyV2:getImagePlacementPolicyV2
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

ExtId This property is required. string
The external identifier of an image placement policy.
ExtId This property is required. string
The external identifier of an image placement policy.
extId This property is required. String
The external identifier of an image placement policy.
extId This property is required. string
The external identifier of an image placement policy.
ext_id This property is required. str
The external identifier of an image placement policy.
extId This property is required. String
The external identifier of an image placement policy.

getImagePlacementPolicyV2 Result

The following output properties are available:

ClusterEntityFilters List<PiersKarsenbarg.Nutanix.Outputs.GetImagePlacementPolicyV2ClusterEntityFilter>
(Required) Category-based entity filter.
CreateTime string
Description string
(Optional) Description of the image placement policy.
EnforcementState string
(Optional) Enforcement status of the image placement policy. Valid values "ACTIVE", "SUSPENDED"
ExtId string
Id string
The provider-assigned unique ID for this managed resource.
ImageEntityFilters List<PiersKarsenbarg.Nutanix.Outputs.GetImagePlacementPolicyV2ImageEntityFilter>
(Required) Category-based entity filter.
LastUpdateTime string
Name string
(Required) Name of the image placement policy.
OwnerExtId string
PlacementType string
(Required) Type of the image placement policy. Valid values "HARD", "SOFT"
ClusterEntityFilters []GetImagePlacementPolicyV2ClusterEntityFilter
(Required) Category-based entity filter.
CreateTime string
Description string
(Optional) Description of the image placement policy.
EnforcementState string
(Optional) Enforcement status of the image placement policy. Valid values "ACTIVE", "SUSPENDED"
ExtId string
Id string
The provider-assigned unique ID for this managed resource.
ImageEntityFilters []GetImagePlacementPolicyV2ImageEntityFilter
(Required) Category-based entity filter.
LastUpdateTime string
Name string
(Required) Name of the image placement policy.
OwnerExtId string
PlacementType string
(Required) Type of the image placement policy. Valid values "HARD", "SOFT"
clusterEntityFilters List<GetImagePlacementPolicyV2ClusterEntityFilter>
(Required) Category-based entity filter.
createTime String
description String
(Optional) Description of the image placement policy.
enforcementState String
(Optional) Enforcement status of the image placement policy. Valid values "ACTIVE", "SUSPENDED"
extId String
id String
The provider-assigned unique ID for this managed resource.
imageEntityFilters List<GetImagePlacementPolicyV2ImageEntityFilter>
(Required) Category-based entity filter.
lastUpdateTime String
name String
(Required) Name of the image placement policy.
ownerExtId String
placementType String
(Required) Type of the image placement policy. Valid values "HARD", "SOFT"
clusterEntityFilters GetImagePlacementPolicyV2ClusterEntityFilter[]
(Required) Category-based entity filter.
createTime string
description string
(Optional) Description of the image placement policy.
enforcementState string
(Optional) Enforcement status of the image placement policy. Valid values "ACTIVE", "SUSPENDED"
extId string
id string
The provider-assigned unique ID for this managed resource.
imageEntityFilters GetImagePlacementPolicyV2ImageEntityFilter[]
(Required) Category-based entity filter.
lastUpdateTime string
name string
(Required) Name of the image placement policy.
ownerExtId string
placementType string
(Required) Type of the image placement policy. Valid values "HARD", "SOFT"
cluster_entity_filters Sequence[GetImagePlacementPolicyV2ClusterEntityFilter]
(Required) Category-based entity filter.
create_time str
description str
(Optional) Description of the image placement policy.
enforcement_state str
(Optional) Enforcement status of the image placement policy. Valid values "ACTIVE", "SUSPENDED"
ext_id str
id str
The provider-assigned unique ID for this managed resource.
image_entity_filters Sequence[GetImagePlacementPolicyV2ImageEntityFilter]
(Required) Category-based entity filter.
last_update_time str
name str
(Required) Name of the image placement policy.
owner_ext_id str
placement_type str
(Required) Type of the image placement policy. Valid values "HARD", "SOFT"
clusterEntityFilters List<Property Map>
(Required) Category-based entity filter.
createTime String
description String
(Optional) Description of the image placement policy.
enforcementState String
(Optional) Enforcement status of the image placement policy. Valid values "ACTIVE", "SUSPENDED"
extId String
id String
The provider-assigned unique ID for this managed resource.
imageEntityFilters List<Property Map>
(Required) Category-based entity filter.
lastUpdateTime String
name String
(Required) Name of the image placement policy.
ownerExtId String
placementType String
(Required) Type of the image placement policy. Valid values "HARD", "SOFT"

Supporting Types

GetImagePlacementPolicyV2ClusterEntityFilter

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

GetImagePlacementPolicyV2ImageEntityFilter

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

Package Details

Repository
nutanix pierskarsenbarg/pulumi-nutanix
License
Apache-2.0
Notes
This Pulumi package is based on the nutanix Terraform Provider.
Nutanix v0.7.4 published on Friday, Mar 21, 2025 by Piers Karsenbarg