Nutanix v0.7.4 published on Friday, Mar 21, 2025 by Piers Karsenbarg
nutanix.getImagePlacementPolicyV2
Explore with Pulumi AI
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>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]func LookupImagePlacementPolicyV2(ctx *Context, args *LookupImagePlacementPolicyV2Args, opts ...InvokeOption) (*LookupImagePlacementPolicyV2Result, error)
func LookupImagePlacementPolicyV2Output(ctx *Context, args *LookupImagePlacementPolicyV2OutputArgs, opts ...InvokeOption) LookupImagePlacementPolicyV2ResultOutput> 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)
}public static CompletableFuture<GetImagePlacementPolicyV2Result> getImagePlacementPolicyV2(GetImagePlacementPolicyV2Args args, InvokeOptions options)
public static Output<GetImagePlacementPolicyV2Result> getImagePlacementPolicyV2(GetImagePlacementPolicyV2Args args, InvokeOptions options)
fn::invoke:
  function: nutanix:index/getImagePlacementPolicyV2:getImagePlacementPolicyV2
  arguments:
    # arguments dictionaryThe following arguments are supported:
- ExtId string
- The external identifier of an image placement policy.
- ExtId string
- The external identifier of an image placement policy.
- extId String
- The external identifier of an image placement policy.
- extId string
- The external identifier of an image placement policy.
- ext_id str
- The external identifier of an image placement policy.
- extId String
- The external identifier of an image placement policy.
getImagePlacementPolicyV2 Result
The following output properties are available:
- ClusterEntity List<PiersFilters Karsenbarg. Nutanix. Outputs. Get Image Placement Policy V2Cluster Entity Filter> 
- (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.
- ImageEntity List<PiersFilters Karsenbarg. Nutanix. Outputs. Get Image Placement Policy V2Image Entity Filter> 
- (Required) Category-based entity filter.
- LastUpdate stringTime 
- Name string
- (Required) Name of the image placement policy.
- OwnerExt stringId 
- PlacementType string
- (Required) Type of the image placement policy. Valid values "HARD", "SOFT"
- ClusterEntity []GetFilters Image Placement Policy V2Cluster Entity Filter 
- (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.
- ImageEntity []GetFilters Image Placement Policy V2Image Entity Filter 
- (Required) Category-based entity filter.
- LastUpdate stringTime 
- Name string
- (Required) Name of the image placement policy.
- OwnerExt stringId 
- PlacementType string
- (Required) Type of the image placement policy. Valid values "HARD", "SOFT"
- clusterEntity List<GetFilters Image Placement Policy V2Cluster Entity Filter> 
- (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.
- imageEntity List<GetFilters Image Placement Policy V2Image Entity Filter> 
- (Required) Category-based entity filter.
- lastUpdate StringTime 
- name String
- (Required) Name of the image placement policy.
- ownerExt StringId 
- placementType String
- (Required) Type of the image placement policy. Valid values "HARD", "SOFT"
- clusterEntity GetFilters Image Placement Policy V2Cluster Entity Filter[] 
- (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.
- imageEntity GetFilters Image Placement Policy V2Image Entity Filter[] 
- (Required) Category-based entity filter.
- lastUpdate stringTime 
- name string
- (Required) Name of the image placement policy.
- ownerExt stringId 
- placementType string
- (Required) Type of the image placement policy. Valid values "HARD", "SOFT"
- cluster_entity_ Sequence[Getfilters Image Placement Policy V2Cluster Entity Filter] 
- (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_ Sequence[Getfilters Image Placement Policy V2Image Entity Filter] 
- (Required) Category-based entity filter.
- last_update_ strtime 
- name str
- (Required) Name of the image placement policy.
- owner_ext_ strid 
- placement_type str
- (Required) Type of the image placement policy. Valid values "HARD", "SOFT"
- clusterEntity List<Property Map>Filters 
- (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.
- imageEntity List<Property Map>Filters 
- (Required) Category-based entity filter.
- lastUpdate StringTime 
- name String
- (Required) Name of the image placement policy.
- ownerExt StringId 
- placementType String
- (Required) Type of the image placement policy. Valid values "HARD", "SOFT"
Supporting Types
GetImagePlacementPolicyV2ClusterEntityFilter      
- CategoryExt List<string>Ids 
- Array of strings
- Type string
- (Required) Filter matching type. Valid values "CATEGORIES_MATCH_ALL", "CATEGORIES_MATCH_ANY"
- CategoryExt []stringIds 
- Array of strings
- Type string
- (Required) Filter matching type. Valid values "CATEGORIES_MATCH_ALL", "CATEGORIES_MATCH_ANY"
- categoryExt List<String>Ids 
- Array of strings
- type String
- (Required) Filter matching type. Valid values "CATEGORIES_MATCH_ALL", "CATEGORIES_MATCH_ANY"
- categoryExt string[]Ids 
- Array of strings
- type string
- (Required) Filter matching type. Valid values "CATEGORIES_MATCH_ALL", "CATEGORIES_MATCH_ANY"
- category_ext_ Sequence[str]ids 
- Array of strings
- type str
- (Required) Filter matching type. Valid values "CATEGORIES_MATCH_ALL", "CATEGORIES_MATCH_ANY"
- categoryExt List<String>Ids 
- Array of strings
- type String
- (Required) Filter matching type. Valid values "CATEGORIES_MATCH_ALL", "CATEGORIES_MATCH_ANY"
GetImagePlacementPolicyV2ImageEntityFilter      
- CategoryExt List<string>Ids 
- Array of strings
- Type string
- (Required) Filter matching type. Valid values "CATEGORIES_MATCH_ALL", "CATEGORIES_MATCH_ANY"
- CategoryExt []stringIds 
- Array of strings
- Type string
- (Required) Filter matching type. Valid values "CATEGORIES_MATCH_ALL", "CATEGORIES_MATCH_ANY"
- categoryExt List<String>Ids 
- Array of strings
- type String
- (Required) Filter matching type. Valid values "CATEGORIES_MATCH_ALL", "CATEGORIES_MATCH_ANY"
- categoryExt string[]Ids 
- Array of strings
- type string
- (Required) Filter matching type. Valid values "CATEGORIES_MATCH_ALL", "CATEGORIES_MATCH_ANY"
- category_ext_ Sequence[str]ids 
- Array of strings
- type str
- (Required) Filter matching type. Valid values "CATEGORIES_MATCH_ALL", "CATEGORIES_MATCH_ANY"
- categoryExt List<String>Ids 
- Array of strings
- type 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 nutanixTerraform Provider.
