1. Packages
  2. Nutanix
  3. API Docs
  4. LcmUpgradeV2
Nutanix v0.8.0 published on Sunday, May 11, 2025 by Piers Karsenbarg

nutanix.LcmUpgradeV2

Explore with Pulumi AI

nutanix logo
Nutanix v0.8.0 published on Sunday, May 11, 2025 by Piers Karsenbarg

    Perform upgrade operation to a specific target version for discovered LCM entity/entities.

    Example

    import * as pulumi from "@pulumi/pulumi";
    import * as nutanix from "@pierskarsenbarg/nutanix";
    
    // upgrade the entity
    const upgrade = new nutanix.LcmUpgradeV2("upgrade", {entityUpdateSpecs: [{
        entityUuid: "0c5c9e53-3551-4c5d-b13c-e41c04cbfaf7",
        toVersion: "4.0.0",
    }]});
    
    import pulumi
    import pulumi_nutanix as nutanix
    
    # upgrade the entity
    upgrade = nutanix.LcmUpgradeV2("upgrade", entity_update_specs=[{
        "entity_uuid": "0c5c9e53-3551-4c5d-b13c-e41c04cbfaf7",
        "to_version": "4.0.0",
    }])
    
    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 {
    		// upgrade the entity
    		_, err := nutanix.NewLcmUpgradeV2(ctx, "upgrade", &nutanix.LcmUpgradeV2Args{
    			EntityUpdateSpecs: nutanix.LcmUpgradeV2EntityUpdateSpecArray{
    				&nutanix.LcmUpgradeV2EntityUpdateSpecArgs{
    					EntityUuid: pulumi.String("0c5c9e53-3551-4c5d-b13c-e41c04cbfaf7"),
    					ToVersion:  pulumi.String("4.0.0"),
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Nutanix = PiersKarsenbarg.Nutanix;
    
    return await Deployment.RunAsync(() => 
    {
        // upgrade the entity
        var upgrade = new Nutanix.LcmUpgradeV2("upgrade", new()
        {
            EntityUpdateSpecs = new[]
            {
                new Nutanix.Inputs.LcmUpgradeV2EntityUpdateSpecArgs
                {
                    EntityUuid = "0c5c9e53-3551-4c5d-b13c-e41c04cbfaf7",
                    ToVersion = "4.0.0",
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.nutanix.LcmUpgradeV2;
    import com.pulumi.nutanix.LcmUpgradeV2Args;
    import com.pulumi.nutanix.inputs.LcmUpgradeV2EntityUpdateSpecArgs;
    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) {
            // upgrade the entity
            var upgrade = new LcmUpgradeV2("upgrade", LcmUpgradeV2Args.builder()
                .entityUpdateSpecs(LcmUpgradeV2EntityUpdateSpecArgs.builder()
                    .entityUuid("0c5c9e53-3551-4c5d-b13c-e41c04cbfaf7")
                    .toVersion("4.0.0")
                    .build())
                .build());
    
        }
    }
    
    resources:
      # upgrade the entity
      upgrade:
        type: nutanix:LcmUpgradeV2
        properties:
          entityUpdateSpecs:
            - entityUuid: 0c5c9e53-3551-4c5d-b13c-e41c04cbfaf7
              toVersion: 4.0.0
    

    Create LcmUpgradeV2 Resource

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

    Constructor syntax

    new LcmUpgradeV2(name: string, args?: LcmUpgradeV2Args, opts?: CustomResourceOptions);
    @overload
    def LcmUpgradeV2(resource_name: str,
                     args: Optional[LcmUpgradeV2Args] = None,
                     opts: Optional[ResourceOptions] = None)
    
    @overload
    def LcmUpgradeV2(resource_name: str,
                     opts: Optional[ResourceOptions] = None,
                     auto_handle_flags: Optional[Sequence[str]] = None,
                     entity_update_specs: Optional[Sequence[LcmUpgradeV2EntityUpdateSpecArgs]] = None,
                     management_server: Optional[LcmUpgradeV2ManagementServerArgs] = None,
                     max_wait_time_in_secs: Optional[int] = None,
                     skipped_precheck_flags: Optional[Sequence[str]] = None,
                     x_cluster_id: Optional[str] = None)
    func NewLcmUpgradeV2(ctx *Context, name string, args *LcmUpgradeV2Args, opts ...ResourceOption) (*LcmUpgradeV2, error)
    public LcmUpgradeV2(string name, LcmUpgradeV2Args? args = null, CustomResourceOptions? opts = null)
    public LcmUpgradeV2(String name, LcmUpgradeV2Args args)
    public LcmUpgradeV2(String name, LcmUpgradeV2Args args, CustomResourceOptions options)
    
    type: nutanix:LcmUpgradeV2
    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 LcmUpgradeV2Args
    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 LcmUpgradeV2Args
    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 LcmUpgradeV2Args
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args LcmUpgradeV2Args
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args LcmUpgradeV2Args
    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 lcmUpgradeV2Resource = new Nutanix.LcmUpgradeV2("lcmUpgradeV2Resource", new()
    {
        AutoHandleFlags = new[]
        {
            "string",
        },
        EntityUpdateSpecs = new[]
        {
            new Nutanix.Inputs.LcmUpgradeV2EntityUpdateSpecArgs
            {
                EntityUuid = "string",
                ToVersion = "string",
            },
        },
        ManagementServer = new Nutanix.Inputs.LcmUpgradeV2ManagementServerArgs
        {
            HypervisorType = "string",
            Ip = "string",
            Password = "string",
            Username = "string",
        },
        MaxWaitTimeInSecs = 0,
        SkippedPrecheckFlags = new[]
        {
            "string",
        },
        XClusterId = "string",
    });
    
    example, err := nutanix.NewLcmUpgradeV2(ctx, "lcmUpgradeV2Resource", &nutanix.LcmUpgradeV2Args{
    	AutoHandleFlags: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	EntityUpdateSpecs: nutanix.LcmUpgradeV2EntityUpdateSpecArray{
    		&nutanix.LcmUpgradeV2EntityUpdateSpecArgs{
    			EntityUuid: pulumi.String("string"),
    			ToVersion:  pulumi.String("string"),
    		},
    	},
    	ManagementServer: &nutanix.LcmUpgradeV2ManagementServerArgs{
    		HypervisorType: pulumi.String("string"),
    		Ip:             pulumi.String("string"),
    		Password:       pulumi.String("string"),
    		Username:       pulumi.String("string"),
    	},
    	MaxWaitTimeInSecs: pulumi.Int(0),
    	SkippedPrecheckFlags: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	XClusterId: pulumi.String("string"),
    })
    
    var lcmUpgradeV2Resource = new LcmUpgradeV2("lcmUpgradeV2Resource", LcmUpgradeV2Args.builder()
        .autoHandleFlags("string")
        .entityUpdateSpecs(LcmUpgradeV2EntityUpdateSpecArgs.builder()
            .entityUuid("string")
            .toVersion("string")
            .build())
        .managementServer(LcmUpgradeV2ManagementServerArgs.builder()
            .hypervisorType("string")
            .ip("string")
            .password("string")
            .username("string")
            .build())
        .maxWaitTimeInSecs(0)
        .skippedPrecheckFlags("string")
        .xClusterId("string")
        .build());
    
    lcm_upgrade_v2_resource = nutanix.LcmUpgradeV2("lcmUpgradeV2Resource",
        auto_handle_flags=["string"],
        entity_update_specs=[{
            "entity_uuid": "string",
            "to_version": "string",
        }],
        management_server={
            "hypervisor_type": "string",
            "ip": "string",
            "password": "string",
            "username": "string",
        },
        max_wait_time_in_secs=0,
        skipped_precheck_flags=["string"],
        x_cluster_id="string")
    
    const lcmUpgradeV2Resource = new nutanix.LcmUpgradeV2("lcmUpgradeV2Resource", {
        autoHandleFlags: ["string"],
        entityUpdateSpecs: [{
            entityUuid: "string",
            toVersion: "string",
        }],
        managementServer: {
            hypervisorType: "string",
            ip: "string",
            password: "string",
            username: "string",
        },
        maxWaitTimeInSecs: 0,
        skippedPrecheckFlags: ["string"],
        xClusterId: "string",
    });
    
    type: nutanix:LcmUpgradeV2
    properties:
        autoHandleFlags:
            - string
        entityUpdateSpecs:
            - entityUuid: string
              toVersion: string
        managementServer:
            hypervisorType: string
            ip: string
            password: string
            username: string
        maxWaitTimeInSecs: 0
        skippedPrecheckFlags:
            - string
        xClusterId: string
    

    LcmUpgradeV2 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 LcmUpgradeV2 resource accepts the following input properties:

    AutoHandleFlags List<string>
    List of automated system operations to perform, to avoid precheck failure and let the system restore state after an update is complete. The allowed flag is: - 'powerOffUvms': This allows the system to automatically power off user VMs which cannot be migrated to other hosts and power them on when the update is done. This option can avoid pinned VM precheck failure on the host which needs to enter maintenance mode during the update and allow the update to go through. Items Enum: POWER_OFF_UVMS
    EntityUpdateSpecs List<PiersKarsenbarg.Nutanix.Inputs.LcmUpgradeV2EntityUpdateSpec>
    List of entity update objects for getting recommendations.
    ManagementServer PiersKarsenbarg.Nutanix.Inputs.LcmUpgradeV2ManagementServer
    Cluster management server configuration used while updating clusters with ESX or Hyper-V.
    MaxWaitTimeInSecs int
    Number of seconds LCM waits for the VMs to come up after exiting host maintenance mode. Value in Range [ 60 .. 86400]
    SkippedPrecheckFlags List<string>
    List of prechecks to skip. The allowed value is 'powerOffUvms' that skips the pinned VM prechecks. Items Enum: POWER_OFF_UVMS
    XClusterId string
    Cluster uuid on which the resource is present or operation is being performed.
    AutoHandleFlags []string
    List of automated system operations to perform, to avoid precheck failure and let the system restore state after an update is complete. The allowed flag is: - 'powerOffUvms': This allows the system to automatically power off user VMs which cannot be migrated to other hosts and power them on when the update is done. This option can avoid pinned VM precheck failure on the host which needs to enter maintenance mode during the update and allow the update to go through. Items Enum: POWER_OFF_UVMS
    EntityUpdateSpecs []LcmUpgradeV2EntityUpdateSpecArgs
    List of entity update objects for getting recommendations.
    ManagementServer LcmUpgradeV2ManagementServerArgs
    Cluster management server configuration used while updating clusters with ESX or Hyper-V.
    MaxWaitTimeInSecs int
    Number of seconds LCM waits for the VMs to come up after exiting host maintenance mode. Value in Range [ 60 .. 86400]
    SkippedPrecheckFlags []string
    List of prechecks to skip. The allowed value is 'powerOffUvms' that skips the pinned VM prechecks. Items Enum: POWER_OFF_UVMS
    XClusterId string
    Cluster uuid on which the resource is present or operation is being performed.
    autoHandleFlags List<String>
    List of automated system operations to perform, to avoid precheck failure and let the system restore state after an update is complete. The allowed flag is: - 'powerOffUvms': This allows the system to automatically power off user VMs which cannot be migrated to other hosts and power them on when the update is done. This option can avoid pinned VM precheck failure on the host which needs to enter maintenance mode during the update and allow the update to go through. Items Enum: POWER_OFF_UVMS
    entityUpdateSpecs List<LcmUpgradeV2EntityUpdateSpec>
    List of entity update objects for getting recommendations.
    managementServer LcmUpgradeV2ManagementServer
    Cluster management server configuration used while updating clusters with ESX or Hyper-V.
    maxWaitTimeInSecs Integer
    Number of seconds LCM waits for the VMs to come up after exiting host maintenance mode. Value in Range [ 60 .. 86400]
    skippedPrecheckFlags List<String>
    List of prechecks to skip. The allowed value is 'powerOffUvms' that skips the pinned VM prechecks. Items Enum: POWER_OFF_UVMS
    xClusterId String
    Cluster uuid on which the resource is present or operation is being performed.
    autoHandleFlags string[]
    List of automated system operations to perform, to avoid precheck failure and let the system restore state after an update is complete. The allowed flag is: - 'powerOffUvms': This allows the system to automatically power off user VMs which cannot be migrated to other hosts and power them on when the update is done. This option can avoid pinned VM precheck failure on the host which needs to enter maintenance mode during the update and allow the update to go through. Items Enum: POWER_OFF_UVMS
    entityUpdateSpecs LcmUpgradeV2EntityUpdateSpec[]
    List of entity update objects for getting recommendations.
    managementServer LcmUpgradeV2ManagementServer
    Cluster management server configuration used while updating clusters with ESX or Hyper-V.
    maxWaitTimeInSecs number
    Number of seconds LCM waits for the VMs to come up after exiting host maintenance mode. Value in Range [ 60 .. 86400]
    skippedPrecheckFlags string[]
    List of prechecks to skip. The allowed value is 'powerOffUvms' that skips the pinned VM prechecks. Items Enum: POWER_OFF_UVMS
    xClusterId string
    Cluster uuid on which the resource is present or operation is being performed.
    auto_handle_flags Sequence[str]
    List of automated system operations to perform, to avoid precheck failure and let the system restore state after an update is complete. The allowed flag is: - 'powerOffUvms': This allows the system to automatically power off user VMs which cannot be migrated to other hosts and power them on when the update is done. This option can avoid pinned VM precheck failure on the host which needs to enter maintenance mode during the update and allow the update to go through. Items Enum: POWER_OFF_UVMS
    entity_update_specs Sequence[LcmUpgradeV2EntityUpdateSpecArgs]
    List of entity update objects for getting recommendations.
    management_server LcmUpgradeV2ManagementServerArgs
    Cluster management server configuration used while updating clusters with ESX or Hyper-V.
    max_wait_time_in_secs int
    Number of seconds LCM waits for the VMs to come up after exiting host maintenance mode. Value in Range [ 60 .. 86400]
    skipped_precheck_flags Sequence[str]
    List of prechecks to skip. The allowed value is 'powerOffUvms' that skips the pinned VM prechecks. Items Enum: POWER_OFF_UVMS
    x_cluster_id str
    Cluster uuid on which the resource is present or operation is being performed.
    autoHandleFlags List<String>
    List of automated system operations to perform, to avoid precheck failure and let the system restore state after an update is complete. The allowed flag is: - 'powerOffUvms': This allows the system to automatically power off user VMs which cannot be migrated to other hosts and power them on when the update is done. This option can avoid pinned VM precheck failure on the host which needs to enter maintenance mode during the update and allow the update to go through. Items Enum: POWER_OFF_UVMS
    entityUpdateSpecs List<Property Map>
    List of entity update objects for getting recommendations.
    managementServer Property Map
    Cluster management server configuration used while updating clusters with ESX or Hyper-V.
    maxWaitTimeInSecs Number
    Number of seconds LCM waits for the VMs to come up after exiting host maintenance mode. Value in Range [ 60 .. 86400]
    skippedPrecheckFlags List<String>
    List of prechecks to skip. The allowed value is 'powerOffUvms' that skips the pinned VM prechecks. Items Enum: POWER_OFF_UVMS
    xClusterId String
    Cluster uuid on which the resource is present or operation is being performed.

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing LcmUpgradeV2 Resource

    Get an existing LcmUpgradeV2 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?: LcmUpgradeV2State, opts?: CustomResourceOptions): LcmUpgradeV2
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            auto_handle_flags: Optional[Sequence[str]] = None,
            entity_update_specs: Optional[Sequence[LcmUpgradeV2EntityUpdateSpecArgs]] = None,
            management_server: Optional[LcmUpgradeV2ManagementServerArgs] = None,
            max_wait_time_in_secs: Optional[int] = None,
            skipped_precheck_flags: Optional[Sequence[str]] = None,
            x_cluster_id: Optional[str] = None) -> LcmUpgradeV2
    func GetLcmUpgradeV2(ctx *Context, name string, id IDInput, state *LcmUpgradeV2State, opts ...ResourceOption) (*LcmUpgradeV2, error)
    public static LcmUpgradeV2 Get(string name, Input<string> id, LcmUpgradeV2State? state, CustomResourceOptions? opts = null)
    public static LcmUpgradeV2 get(String name, Output<String> id, LcmUpgradeV2State state, CustomResourceOptions options)
    resources:  _:    type: nutanix:LcmUpgradeV2    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.
    The following state arguments are supported:
    AutoHandleFlags List<string>
    List of automated system operations to perform, to avoid precheck failure and let the system restore state after an update is complete. The allowed flag is: - 'powerOffUvms': This allows the system to automatically power off user VMs which cannot be migrated to other hosts and power them on when the update is done. This option can avoid pinned VM precheck failure on the host which needs to enter maintenance mode during the update and allow the update to go through. Items Enum: POWER_OFF_UVMS
    EntityUpdateSpecs List<PiersKarsenbarg.Nutanix.Inputs.LcmUpgradeV2EntityUpdateSpec>
    List of entity update objects for getting recommendations.
    ManagementServer PiersKarsenbarg.Nutanix.Inputs.LcmUpgradeV2ManagementServer
    Cluster management server configuration used while updating clusters with ESX or Hyper-V.
    MaxWaitTimeInSecs int
    Number of seconds LCM waits for the VMs to come up after exiting host maintenance mode. Value in Range [ 60 .. 86400]
    SkippedPrecheckFlags List<string>
    List of prechecks to skip. The allowed value is 'powerOffUvms' that skips the pinned VM prechecks. Items Enum: POWER_OFF_UVMS
    XClusterId string
    Cluster uuid on which the resource is present or operation is being performed.
    AutoHandleFlags []string
    List of automated system operations to perform, to avoid precheck failure and let the system restore state after an update is complete. The allowed flag is: - 'powerOffUvms': This allows the system to automatically power off user VMs which cannot be migrated to other hosts and power them on when the update is done. This option can avoid pinned VM precheck failure on the host which needs to enter maintenance mode during the update and allow the update to go through. Items Enum: POWER_OFF_UVMS
    EntityUpdateSpecs []LcmUpgradeV2EntityUpdateSpecArgs
    List of entity update objects for getting recommendations.
    ManagementServer LcmUpgradeV2ManagementServerArgs
    Cluster management server configuration used while updating clusters with ESX or Hyper-V.
    MaxWaitTimeInSecs int
    Number of seconds LCM waits for the VMs to come up after exiting host maintenance mode. Value in Range [ 60 .. 86400]
    SkippedPrecheckFlags []string
    List of prechecks to skip. The allowed value is 'powerOffUvms' that skips the pinned VM prechecks. Items Enum: POWER_OFF_UVMS
    XClusterId string
    Cluster uuid on which the resource is present or operation is being performed.
    autoHandleFlags List<String>
    List of automated system operations to perform, to avoid precheck failure and let the system restore state after an update is complete. The allowed flag is: - 'powerOffUvms': This allows the system to automatically power off user VMs which cannot be migrated to other hosts and power them on when the update is done. This option can avoid pinned VM precheck failure on the host which needs to enter maintenance mode during the update and allow the update to go through. Items Enum: POWER_OFF_UVMS
    entityUpdateSpecs List<LcmUpgradeV2EntityUpdateSpec>
    List of entity update objects for getting recommendations.
    managementServer LcmUpgradeV2ManagementServer
    Cluster management server configuration used while updating clusters with ESX or Hyper-V.
    maxWaitTimeInSecs Integer
    Number of seconds LCM waits for the VMs to come up after exiting host maintenance mode. Value in Range [ 60 .. 86400]
    skippedPrecheckFlags List<String>
    List of prechecks to skip. The allowed value is 'powerOffUvms' that skips the pinned VM prechecks. Items Enum: POWER_OFF_UVMS
    xClusterId String
    Cluster uuid on which the resource is present or operation is being performed.
    autoHandleFlags string[]
    List of automated system operations to perform, to avoid precheck failure and let the system restore state after an update is complete. The allowed flag is: - 'powerOffUvms': This allows the system to automatically power off user VMs which cannot be migrated to other hosts and power them on when the update is done. This option can avoid pinned VM precheck failure on the host which needs to enter maintenance mode during the update and allow the update to go through. Items Enum: POWER_OFF_UVMS
    entityUpdateSpecs LcmUpgradeV2EntityUpdateSpec[]
    List of entity update objects for getting recommendations.
    managementServer LcmUpgradeV2ManagementServer
    Cluster management server configuration used while updating clusters with ESX or Hyper-V.
    maxWaitTimeInSecs number
    Number of seconds LCM waits for the VMs to come up after exiting host maintenance mode. Value in Range [ 60 .. 86400]
    skippedPrecheckFlags string[]
    List of prechecks to skip. The allowed value is 'powerOffUvms' that skips the pinned VM prechecks. Items Enum: POWER_OFF_UVMS
    xClusterId string
    Cluster uuid on which the resource is present or operation is being performed.
    auto_handle_flags Sequence[str]
    List of automated system operations to perform, to avoid precheck failure and let the system restore state after an update is complete. The allowed flag is: - 'powerOffUvms': This allows the system to automatically power off user VMs which cannot be migrated to other hosts and power them on when the update is done. This option can avoid pinned VM precheck failure on the host which needs to enter maintenance mode during the update and allow the update to go through. Items Enum: POWER_OFF_UVMS
    entity_update_specs Sequence[LcmUpgradeV2EntityUpdateSpecArgs]
    List of entity update objects for getting recommendations.
    management_server LcmUpgradeV2ManagementServerArgs
    Cluster management server configuration used while updating clusters with ESX or Hyper-V.
    max_wait_time_in_secs int
    Number of seconds LCM waits for the VMs to come up after exiting host maintenance mode. Value in Range [ 60 .. 86400]
    skipped_precheck_flags Sequence[str]
    List of prechecks to skip. The allowed value is 'powerOffUvms' that skips the pinned VM prechecks. Items Enum: POWER_OFF_UVMS
    x_cluster_id str
    Cluster uuid on which the resource is present or operation is being performed.
    autoHandleFlags List<String>
    List of automated system operations to perform, to avoid precheck failure and let the system restore state after an update is complete. The allowed flag is: - 'powerOffUvms': This allows the system to automatically power off user VMs which cannot be migrated to other hosts and power them on when the update is done. This option can avoid pinned VM precheck failure on the host which needs to enter maintenance mode during the update and allow the update to go through. Items Enum: POWER_OFF_UVMS
    entityUpdateSpecs List<Property Map>
    List of entity update objects for getting recommendations.
    managementServer Property Map
    Cluster management server configuration used while updating clusters with ESX or Hyper-V.
    maxWaitTimeInSecs Number
    Number of seconds LCM waits for the VMs to come up after exiting host maintenance mode. Value in Range [ 60 .. 86400]
    skippedPrecheckFlags List<String>
    List of prechecks to skip. The allowed value is 'powerOffUvms' that skips the pinned VM prechecks. Items Enum: POWER_OFF_UVMS
    xClusterId String
    Cluster uuid on which the resource is present or operation is being performed.

    Supporting Types

    LcmUpgradeV2EntityUpdateSpec, LcmUpgradeV2EntityUpdateSpecArgs

    EntityUuid string
    UUID of the LCM entity.
    ToVersion string

    Version to upgrade to.

    See detailed information in Nutanix LCM Upgrade v4.

    EntityUuid string
    UUID of the LCM entity.
    ToVersion string

    Version to upgrade to.

    See detailed information in Nutanix LCM Upgrade v4.

    entityUuid String
    UUID of the LCM entity.
    toVersion String

    Version to upgrade to.

    See detailed information in Nutanix LCM Upgrade v4.

    entityUuid string
    UUID of the LCM entity.
    toVersion string

    Version to upgrade to.

    See detailed information in Nutanix LCM Upgrade v4.

    entity_uuid str
    UUID of the LCM entity.
    to_version str

    Version to upgrade to.

    See detailed information in Nutanix LCM Upgrade v4.

    entityUuid String
    UUID of the LCM entity.
    toVersion String

    Version to upgrade to.

    See detailed information in Nutanix LCM Upgrade v4.

    LcmUpgradeV2ManagementServer, LcmUpgradeV2ManagementServerArgs

    HypervisorType string
    Type of Hypervisor present in the cluster. Enum Values:

    • "HYPERV" : Hyper-V Hypervisor.
    • "ESX" : ESX Hypervisor.
    • "AHV" : Nutanix AHV Hypervisor.
    Ip string
    IP address of the management server.
    Password string
    Password to login to the management server.
    Username string
    Username to login to the management server.
    HypervisorType string
    Type of Hypervisor present in the cluster. Enum Values:

    • "HYPERV" : Hyper-V Hypervisor.
    • "ESX" : ESX Hypervisor.
    • "AHV" : Nutanix AHV Hypervisor.
    Ip string
    IP address of the management server.
    Password string
    Password to login to the management server.
    Username string
    Username to login to the management server.
    hypervisorType String
    Type of Hypervisor present in the cluster. Enum Values:

    • "HYPERV" : Hyper-V Hypervisor.
    • "ESX" : ESX Hypervisor.
    • "AHV" : Nutanix AHV Hypervisor.
    ip String
    IP address of the management server.
    password String
    Password to login to the management server.
    username String
    Username to login to the management server.
    hypervisorType string
    Type of Hypervisor present in the cluster. Enum Values:

    • "HYPERV" : Hyper-V Hypervisor.
    • "ESX" : ESX Hypervisor.
    • "AHV" : Nutanix AHV Hypervisor.
    ip string
    IP address of the management server.
    password string
    Password to login to the management server.
    username string
    Username to login to the management server.
    hypervisor_type str
    Type of Hypervisor present in the cluster. Enum Values:

    • "HYPERV" : Hyper-V Hypervisor.
    • "ESX" : ESX Hypervisor.
    • "AHV" : Nutanix AHV Hypervisor.
    ip str
    IP address of the management server.
    password str
    Password to login to the management server.
    username str
    Username to login to the management server.
    hypervisorType String
    Type of Hypervisor present in the cluster. Enum Values:

    • "HYPERV" : Hyper-V Hypervisor.
    • "ESX" : ESX Hypervisor.
    • "AHV" : Nutanix AHV Hypervisor.
    ip String
    IP address of the management server.
    password String
    Password to login to the management server.
    username String
    Username to login to the management server.

    Package Details

    Repository
    nutanix pierskarsenbarg/pulumi-nutanix
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the nutanix Terraform Provider.
    nutanix logo
    Nutanix v0.8.0 published on Sunday, May 11, 2025 by Piers Karsenbarg