Viewing docs for Nutanix v0.16.0
published on Tuesday, May 26, 2026 by Piers Karsenbarg
published on Tuesday, May 26, 2026 by Piers Karsenbarg
Viewing docs for Nutanix v0.16.0
published on Tuesday, May 26, 2026 by Piers Karsenbarg
published on Tuesday, May 26, 2026 by Piers Karsenbarg
List VM-Host Affinity policies details with support for pagination, filtering, and sorting.
Example
import * as pulumi from "@pulumi/pulumi";
import * as nutanix from "@pierskarsenbarg/nutanix";
// List all VM-Host Affinity policies
const allPolicies = nutanix.getVmHostAffinityPoliciesV2({});
// List with pagination
const paginatedPolicies = nutanix.getVmHostAffinityPoliciesV2({
page: 0,
limit: 10,
});
// List with filtering
const filteredPolicies = nutanix.getVmHostAffinityPoliciesV2({
filter: "name eq 'my-policy'",
});
// List with ordering
const sortedPolicies = nutanix.getVmHostAffinityPoliciesV2({
orderBy: "name asc",
});
// List with multiple filters
const complexPolicies = nutanix.getVmHostAffinityPoliciesV2({
filter: "startswith(name, 'prod-')",
orderBy: "create_time desc",
page: 0,
limit: 20,
});
import pulumi
import pulumi_nutanix as nutanix
# List all VM-Host Affinity policies
all_policies = nutanix.get_vm_host_affinity_policies_v2()
# List with pagination
paginated_policies = nutanix.get_vm_host_affinity_policies_v2(page=0,
limit=10)
# List with filtering
filtered_policies = nutanix.get_vm_host_affinity_policies_v2(filter="name eq 'my-policy'")
# List with ordering
sorted_policies = nutanix.get_vm_host_affinity_policies_v2(order_by="name asc")
# List with multiple filters
complex_policies = nutanix.get_vm_host_affinity_policies_v2(filter="startswith(name, 'prod-')",
order_by="create_time desc",
page=0,
limit=20)
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 {
// List all VM-Host Affinity policies
_, err := nutanix.GetVmHostAffinityPoliciesV2(ctx, &nutanix.GetVmHostAffinityPoliciesV2Args{}, nil)
if err != nil {
return err
}
// List with pagination
_, err = nutanix.GetVmHostAffinityPoliciesV2(ctx, &nutanix.GetVmHostAffinityPoliciesV2Args{
Page: pulumi.IntRef(0),
Limit: pulumi.IntRef(10),
}, nil)
if err != nil {
return err
}
// List with filtering
_, err = nutanix.GetVmHostAffinityPoliciesV2(ctx, &nutanix.GetVmHostAffinityPoliciesV2Args{
Filter: pulumi.StringRef("name eq 'my-policy'"),
}, nil)
if err != nil {
return err
}
// List with ordering
_, err = nutanix.GetVmHostAffinityPoliciesV2(ctx, &nutanix.GetVmHostAffinityPoliciesV2Args{
OrderBy: pulumi.StringRef("name asc"),
}, nil)
if err != nil {
return err
}
// List with multiple filters
_, err = nutanix.GetVmHostAffinityPoliciesV2(ctx, &nutanix.GetVmHostAffinityPoliciesV2Args{
Filter: pulumi.StringRef("startswith(name, 'prod-')"),
OrderBy: pulumi.StringRef("create_time desc"),
Page: pulumi.IntRef(0),
Limit: pulumi.IntRef(20),
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Nutanix = PiersKarsenbarg.Nutanix;
return await Deployment.RunAsync(() =>
{
// List all VM-Host Affinity policies
var allPolicies = Nutanix.GetVmHostAffinityPoliciesV2.Invoke();
// List with pagination
var paginatedPolicies = Nutanix.GetVmHostAffinityPoliciesV2.Invoke(new()
{
Page = 0,
Limit = 10,
});
// List with filtering
var filteredPolicies = Nutanix.GetVmHostAffinityPoliciesV2.Invoke(new()
{
Filter = "name eq 'my-policy'",
});
// List with ordering
var sortedPolicies = Nutanix.GetVmHostAffinityPoliciesV2.Invoke(new()
{
OrderBy = "name asc",
});
// List with multiple filters
var complexPolicies = Nutanix.GetVmHostAffinityPoliciesV2.Invoke(new()
{
Filter = "startswith(name, 'prod-')",
OrderBy = "create_time desc",
Page = 0,
Limit = 20,
});
});
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.GetVmHostAffinityPoliciesV2Args;
import java.util.ArrayList;
import java.util.Arrays;
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) {
// List all VM-Host Affinity policies
final var allPolicies = NutanixFunctions.getVmHostAffinityPoliciesV2(GetVmHostAffinityPoliciesV2Args.builder()
.build());
// List with pagination
final var paginatedPolicies = NutanixFunctions.getVmHostAffinityPoliciesV2(GetVmHostAffinityPoliciesV2Args.builder()
.page(0)
.limit(10)
.build());
// List with filtering
final var filteredPolicies = NutanixFunctions.getVmHostAffinityPoliciesV2(GetVmHostAffinityPoliciesV2Args.builder()
.filter("name eq 'my-policy'")
.build());
// List with ordering
final var sortedPolicies = NutanixFunctions.getVmHostAffinityPoliciesV2(GetVmHostAffinityPoliciesV2Args.builder()
.orderBy("name asc")
.build());
// List with multiple filters
final var complexPolicies = NutanixFunctions.getVmHostAffinityPoliciesV2(GetVmHostAffinityPoliciesV2Args.builder()
.filter("startswith(name, 'prod-')")
.orderBy("create_time desc")
.page(0)
.limit(20)
.build());
}
}
variables:
# List all VM-Host Affinity policies
allPolicies:
fn::invoke:
function: nutanix:getVmHostAffinityPoliciesV2
arguments: {}
# List with pagination
paginatedPolicies:
fn::invoke:
function: nutanix:getVmHostAffinityPoliciesV2
arguments:
page: 0
limit: 10
# List with filtering
filteredPolicies:
fn::invoke:
function: nutanix:getVmHostAffinityPoliciesV2
arguments:
filter: name eq 'my-policy'
# List with ordering
sortedPolicies:
fn::invoke:
function: nutanix:getVmHostAffinityPoliciesV2
arguments:
orderBy: name asc
# List with multiple filters
complexPolicies:
fn::invoke:
function: nutanix:getVmHostAffinityPoliciesV2
arguments:
filter: startswith(name, 'prod-')
orderBy: create_time desc
page: 0
limit: 20
pulumi {
required_providers {
nutanix = {
source = "pulumi/nutanix"
}
}
}
data "nutanix_getvmhostaffinitypoliciesv2" "allPolicies" {
}
data "nutanix_getvmhostaffinitypoliciesv2" "paginatedPolicies" {
page = 0
limit = 10
}
data "nutanix_getvmhostaffinitypoliciesv2" "filteredPolicies" {
filter = "name eq 'my-policy'"
}
data "nutanix_getvmhostaffinitypoliciesv2" "sortedPolicies" {
order_by = "name asc"
}
data "nutanix_getvmhostaffinitypoliciesv2" "complexPolicies" {
filter = "startswith(name, 'prod-')"
order_by = "create_time desc"
page = 0
limit = 20
}
# List all VM-Host Affinity policies
# List with pagination
# List with filtering
# List with ordering
# List with multiple filters
Using getVmHostAffinityPoliciesV2
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 getVmHostAffinityPoliciesV2(args: GetVmHostAffinityPoliciesV2Args, opts?: InvokeOptions): Promise<GetVmHostAffinityPoliciesV2Result>
function getVmHostAffinityPoliciesV2Output(args: GetVmHostAffinityPoliciesV2OutputArgs, opts?: InvokeOptions): Output<GetVmHostAffinityPoliciesV2Result>def get_vm_host_affinity_policies_v2(filter: Optional[str] = None,
limit: Optional[int] = None,
order_by: Optional[str] = None,
page: Optional[int] = None,
opts: Optional[InvokeOptions] = None) -> GetVmHostAffinityPoliciesV2Result
def get_vm_host_affinity_policies_v2_output(filter: pulumi.Input[Optional[str]] = None,
limit: pulumi.Input[Optional[int]] = None,
order_by: pulumi.Input[Optional[str]] = None,
page: pulumi.Input[Optional[int]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetVmHostAffinityPoliciesV2Result]func GetVmHostAffinityPoliciesV2(ctx *Context, args *GetVmHostAffinityPoliciesV2Args, opts ...InvokeOption) (*GetVmHostAffinityPoliciesV2Result, error)
func GetVmHostAffinityPoliciesV2Output(ctx *Context, args *GetVmHostAffinityPoliciesV2OutputArgs, opts ...InvokeOption) GetVmHostAffinityPoliciesV2ResultOutput> Note: This function is named GetVmHostAffinityPoliciesV2 in the Go SDK.
public static class GetVmHostAffinityPoliciesV2
{
public static Task<GetVmHostAffinityPoliciesV2Result> InvokeAsync(GetVmHostAffinityPoliciesV2Args args, InvokeOptions? opts = null)
public static Output<GetVmHostAffinityPoliciesV2Result> Invoke(GetVmHostAffinityPoliciesV2InvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetVmHostAffinityPoliciesV2Result> getVmHostAffinityPoliciesV2(GetVmHostAffinityPoliciesV2Args args, InvokeOptions options)
public static Output<GetVmHostAffinityPoliciesV2Result> getVmHostAffinityPoliciesV2(GetVmHostAffinityPoliciesV2Args args, InvokeOptions options)
fn::invoke:
function: nutanix:index/getVmHostAffinityPoliciesV2:getVmHostAffinityPoliciesV2
arguments:
# arguments dictionarydata "nutanix_getvmhostaffinitypoliciesv2" "name" {
# arguments
}The following arguments are supported:
- Filter string
- A URL query parameter that allows clients to filter a collection of resources. The expression specified with $filter is evaluated for each resource in the collection, and only items where the expression evaluates to true are included in the response. Expression specified with the $filter must conform to the OData V4.01 URL conventions. For example,
$filter=name eq 'my-policy'would filter the result on policy name 'my-policy',$filter=startswith(name, 'prod-')would filter on policy names starting with 'prod-'. The filter can be applied to the following fields: - Limit int
- A URL query parameter that specifies the total number of records returned in the result set. Must be a positive integer between 1 and 100. Any number out of this range will lead to a validation error. If the limit is not provided, a default value of 50 records will be returned in the result set.
- Order
By string - A URL query parameter that allows clients to specify the sort criteria for the returned list of objects. Resources can be sorted in ascending order using
ascor descending order usingdesc. Ifascordescare not specified, the resources will be sorted in ascending order by default. For example,name ascwould sort policies by name in ascending order,updateTime descwould sort by update time in descending order. The orderBy can be applied to the following fields: - Page int
- A URL query parameter that specifies the page number of the result set. It must be a positive integer between 0 and the maximum number of pages that are available for that resource. Any number out of this range might lead to no results.
- Filter string
- A URL query parameter that allows clients to filter a collection of resources. The expression specified with $filter is evaluated for each resource in the collection, and only items where the expression evaluates to true are included in the response. Expression specified with the $filter must conform to the OData V4.01 URL conventions. For example,
$filter=name eq 'my-policy'would filter the result on policy name 'my-policy',$filter=startswith(name, 'prod-')would filter on policy names starting with 'prod-'. The filter can be applied to the following fields: - Limit int
- A URL query parameter that specifies the total number of records returned in the result set. Must be a positive integer between 1 and 100. Any number out of this range will lead to a validation error. If the limit is not provided, a default value of 50 records will be returned in the result set.
- Order
By string - A URL query parameter that allows clients to specify the sort criteria for the returned list of objects. Resources can be sorted in ascending order using
ascor descending order usingdesc. Ifascordescare not specified, the resources will be sorted in ascending order by default. For example,name ascwould sort policies by name in ascending order,updateTime descwould sort by update time in descending order. The orderBy can be applied to the following fields: - Page int
- A URL query parameter that specifies the page number of the result set. It must be a positive integer between 0 and the maximum number of pages that are available for that resource. Any number out of this range might lead to no results.
- filter string
- A URL query parameter that allows clients to filter a collection of resources. The expression specified with $filter is evaluated for each resource in the collection, and only items where the expression evaluates to true are included in the response. Expression specified with the $filter must conform to the OData V4.01 URL conventions. For example,
$filter=name eq 'my-policy'would filter the result on policy name 'my-policy',$filter=startswith(name, 'prod-')would filter on policy names starting with 'prod-'. The filter can be applied to the following fields: - limit number
- A URL query parameter that specifies the total number of records returned in the result set. Must be a positive integer between 1 and 100. Any number out of this range will lead to a validation error. If the limit is not provided, a default value of 50 records will be returned in the result set.
- order_
by string - A URL query parameter that allows clients to specify the sort criteria for the returned list of objects. Resources can be sorted in ascending order using
ascor descending order usingdesc. Ifascordescare not specified, the resources will be sorted in ascending order by default. For example,name ascwould sort policies by name in ascending order,updateTime descwould sort by update time in descending order. The orderBy can be applied to the following fields: - page number
- A URL query parameter that specifies the page number of the result set. It must be a positive integer between 0 and the maximum number of pages that are available for that resource. Any number out of this range might lead to no results.
- filter String
- A URL query parameter that allows clients to filter a collection of resources. The expression specified with $filter is evaluated for each resource in the collection, and only items where the expression evaluates to true are included in the response. Expression specified with the $filter must conform to the OData V4.01 URL conventions. For example,
$filter=name eq 'my-policy'would filter the result on policy name 'my-policy',$filter=startswith(name, 'prod-')would filter on policy names starting with 'prod-'. The filter can be applied to the following fields: - limit Integer
- A URL query parameter that specifies the total number of records returned in the result set. Must be a positive integer between 1 and 100. Any number out of this range will lead to a validation error. If the limit is not provided, a default value of 50 records will be returned in the result set.
- order
By String - A URL query parameter that allows clients to specify the sort criteria for the returned list of objects. Resources can be sorted in ascending order using
ascor descending order usingdesc. Ifascordescare not specified, the resources will be sorted in ascending order by default. For example,name ascwould sort policies by name in ascending order,updateTime descwould sort by update time in descending order. The orderBy can be applied to the following fields: - page Integer
- A URL query parameter that specifies the page number of the result set. It must be a positive integer between 0 and the maximum number of pages that are available for that resource. Any number out of this range might lead to no results.
- filter string
- A URL query parameter that allows clients to filter a collection of resources. The expression specified with $filter is evaluated for each resource in the collection, and only items where the expression evaluates to true are included in the response. Expression specified with the $filter must conform to the OData V4.01 URL conventions. For example,
$filter=name eq 'my-policy'would filter the result on policy name 'my-policy',$filter=startswith(name, 'prod-')would filter on policy names starting with 'prod-'. The filter can be applied to the following fields: - limit number
- A URL query parameter that specifies the total number of records returned in the result set. Must be a positive integer between 1 and 100. Any number out of this range will lead to a validation error. If the limit is not provided, a default value of 50 records will be returned in the result set.
- order
By string - A URL query parameter that allows clients to specify the sort criteria for the returned list of objects. Resources can be sorted in ascending order using
ascor descending order usingdesc. Ifascordescare not specified, the resources will be sorted in ascending order by default. For example,name ascwould sort policies by name in ascending order,updateTime descwould sort by update time in descending order. The orderBy can be applied to the following fields: - page number
- A URL query parameter that specifies the page number of the result set. It must be a positive integer between 0 and the maximum number of pages that are available for that resource. Any number out of this range might lead to no results.
- filter str
- A URL query parameter that allows clients to filter a collection of resources. The expression specified with $filter is evaluated for each resource in the collection, and only items where the expression evaluates to true are included in the response. Expression specified with the $filter must conform to the OData V4.01 URL conventions. For example,
$filter=name eq 'my-policy'would filter the result on policy name 'my-policy',$filter=startswith(name, 'prod-')would filter on policy names starting with 'prod-'. The filter can be applied to the following fields: - limit int
- A URL query parameter that specifies the total number of records returned in the result set. Must be a positive integer between 1 and 100. Any number out of this range will lead to a validation error. If the limit is not provided, a default value of 50 records will be returned in the result set.
- order_
by str - A URL query parameter that allows clients to specify the sort criteria for the returned list of objects. Resources can be sorted in ascending order using
ascor descending order usingdesc. Ifascordescare not specified, the resources will be sorted in ascending order by default. For example,name ascwould sort policies by name in ascending order,updateTime descwould sort by update time in descending order. The orderBy can be applied to the following fields: - page int
- A URL query parameter that specifies the page number of the result set. It must be a positive integer between 0 and the maximum number of pages that are available for that resource. Any number out of this range might lead to no results.
- filter String
- A URL query parameter that allows clients to filter a collection of resources. The expression specified with $filter is evaluated for each resource in the collection, and only items where the expression evaluates to true are included in the response. Expression specified with the $filter must conform to the OData V4.01 URL conventions. For example,
$filter=name eq 'my-policy'would filter the result on policy name 'my-policy',$filter=startswith(name, 'prod-')would filter on policy names starting with 'prod-'. The filter can be applied to the following fields: - limit Number
- A URL query parameter that specifies the total number of records returned in the result set. Must be a positive integer between 1 and 100. Any number out of this range will lead to a validation error. If the limit is not provided, a default value of 50 records will be returned in the result set.
- order
By String - A URL query parameter that allows clients to specify the sort criteria for the returned list of objects. Resources can be sorted in ascending order using
ascor descending order usingdesc. Ifascordescare not specified, the resources will be sorted in ascending order by default. For example,name ascwould sort policies by name in ascending order,updateTime descwould sort by update time in descending order. The orderBy can be applied to the following fields: - page Number
- A URL query parameter that specifies the page number of the result set. It must be a positive integer between 0 and the maximum number of pages that are available for that resource. Any number out of this range might lead to no results.
getVmHostAffinityPoliciesV2 Result
The following output properties are available:
Supporting Types
GetVmHostAffinityPoliciesV2Policy
- Create
Time string - The timestamp when the policy was created.
- Created
By Dictionary<string, string> - Information about the entity that created the policy.
- Description string
- A description of the VM-Host Affinity policy.
- Ext
Id string - The external identifier of the VM-Host Affinity policy.
- Host
Categories List<string> - List of host category external IDs that define where the VMs can be placed.
- Last
Updated Dictionary<string, string>By - Information about the entity that last updated the policy.
- Name string
- The name of the VM-Host Affinity policy.
- Num
Compliant intVms - Number of VMs which are compliant with the VM-host affinity policy.
- Num
Hosts int - Number of hosts associated with the VM-host affinity policy.
- Num
Non intCompliant Vms - Number of VMs which are not compliant with the VM-host affinity policy.
- Num
Vms int - Number of VMs associated with the VM-host affinity policy.
- Update
Time string - The timestamp when the policy was last updated.
- Vm
Categories List<string> - List of VM category external IDs that this policy applies to.
- Create
Time string - The timestamp when the policy was created.
- Created
By map[string]string - Information about the entity that created the policy.
- Description string
- A description of the VM-Host Affinity policy.
- Ext
Id string - The external identifier of the VM-Host Affinity policy.
- Host
Categories []string - List of host category external IDs that define where the VMs can be placed.
- Last
Updated map[string]stringBy - Information about the entity that last updated the policy.
- Name string
- The name of the VM-Host Affinity policy.
- Num
Compliant intVms - Number of VMs which are compliant with the VM-host affinity policy.
- Num
Hosts int - Number of hosts associated with the VM-host affinity policy.
- Num
Non intCompliant Vms - Number of VMs which are not compliant with the VM-host affinity policy.
- Num
Vms int - Number of VMs associated with the VM-host affinity policy.
- Update
Time string - The timestamp when the policy was last updated.
- Vm
Categories []string - List of VM category external IDs that this policy applies to.
- create_
time string - The timestamp when the policy was created.
- created_
by map(string) - Information about the entity that created the policy.
- description string
- A description of the VM-Host Affinity policy.
- ext_
id string - The external identifier of the VM-Host Affinity policy.
- host_
categories list(string) - List of host category external IDs that define where the VMs can be placed.
- last_
updated_ map(string)by - Information about the entity that last updated the policy.
- name string
- The name of the VM-Host Affinity policy.
- num_
compliant_ numbervms - Number of VMs which are compliant with the VM-host affinity policy.
- num_
hosts number - Number of hosts associated with the VM-host affinity policy.
- num_
non_ numbercompliant_ vms - Number of VMs which are not compliant with the VM-host affinity policy.
- num_
vms number - Number of VMs associated with the VM-host affinity policy.
- update_
time string - The timestamp when the policy was last updated.
- vm_
categories list(string) - List of VM category external IDs that this policy applies to.
- create
Time String - The timestamp when the policy was created.
- created
By Map<String,String> - Information about the entity that created the policy.
- description String
- A description of the VM-Host Affinity policy.
- ext
Id String - The external identifier of the VM-Host Affinity policy.
- host
Categories List<String> - List of host category external IDs that define where the VMs can be placed.
- last
Updated Map<String,String>By - Information about the entity that last updated the policy.
- name String
- The name of the VM-Host Affinity policy.
- num
Compliant IntegerVms - Number of VMs which are compliant with the VM-host affinity policy.
- num
Hosts Integer - Number of hosts associated with the VM-host affinity policy.
- num
Non IntegerCompliant Vms - Number of VMs which are not compliant with the VM-host affinity policy.
- num
Vms Integer - Number of VMs associated with the VM-host affinity policy.
- update
Time String - The timestamp when the policy was last updated.
- vm
Categories List<String> - List of VM category external IDs that this policy applies to.
- create
Time string - The timestamp when the policy was created.
- created
By {[key: string]: string} - Information about the entity that created the policy.
- description string
- A description of the VM-Host Affinity policy.
- ext
Id string - The external identifier of the VM-Host Affinity policy.
- host
Categories string[] - List of host category external IDs that define where the VMs can be placed.
- last
Updated {[key: string]: string}By - Information about the entity that last updated the policy.
- name string
- The name of the VM-Host Affinity policy.
- num
Compliant numberVms - Number of VMs which are compliant with the VM-host affinity policy.
- num
Hosts number - Number of hosts associated with the VM-host affinity policy.
- num
Non numberCompliant Vms - Number of VMs which are not compliant with the VM-host affinity policy.
- num
Vms number - Number of VMs associated with the VM-host affinity policy.
- update
Time string - The timestamp when the policy was last updated.
- vm
Categories string[] - List of VM category external IDs that this policy applies to.
- create_
time str - The timestamp when the policy was created.
- created_
by Mapping[str, str] - Information about the entity that created the policy.
- description str
- A description of the VM-Host Affinity policy.
- ext_
id str - The external identifier of the VM-Host Affinity policy.
- host_
categories Sequence[str] - List of host category external IDs that define where the VMs can be placed.
- last_
updated_ Mapping[str, str]by - Information about the entity that last updated the policy.
- name str
- The name of the VM-Host Affinity policy.
- num_
compliant_ intvms - Number of VMs which are compliant with the VM-host affinity policy.
- num_
hosts int - Number of hosts associated with the VM-host affinity policy.
- num_
non_ intcompliant_ vms - Number of VMs which are not compliant with the VM-host affinity policy.
- num_
vms int - Number of VMs associated with the VM-host affinity policy.
- update_
time str - The timestamp when the policy was last updated.
- vm_
categories Sequence[str] - List of VM category external IDs that this policy applies to.
- create
Time String - The timestamp when the policy was created.
- created
By Map<String> - Information about the entity that created the policy.
- description String
- A description of the VM-Host Affinity policy.
- ext
Id String - The external identifier of the VM-Host Affinity policy.
- host
Categories List<String> - List of host category external IDs that define where the VMs can be placed.
- last
Updated Map<String>By - Information about the entity that last updated the policy.
- name String
- The name of the VM-Host Affinity policy.
- num
Compliant NumberVms - Number of VMs which are compliant with the VM-host affinity policy.
- num
Hosts Number - Number of hosts associated with the VM-host affinity policy.
- num
Non NumberCompliant Vms - Number of VMs which are not compliant with the VM-host affinity policy.
- num
Vms Number - Number of VMs associated with the VM-host affinity policy.
- update
Time String - The timestamp when the policy was last updated.
- vm
Categories List<String> - List of VM category external IDs that this policy applies to.
Package Details
- Repository
- nutanix pierskarsenbarg/pulumi-nutanix
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
nutanixTerraform Provider.
Viewing docs for Nutanix v0.16.0
published on Tuesday, May 26, 2026 by Piers Karsenbarg
published on Tuesday, May 26, 2026 by Piers Karsenbarg