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

nutanix.getLcmStatusV2

Explore with Pulumi AI

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

    Get the LCM framework status. Represents the Status of LCM. Status represents details about a pending or ongoing action in LCM.

    Example

    import * as pulumi from "@pulumi/pulumi";
    import * as nutanix from "@pulumi/nutanix";
    
    const lcmFrameworkStatus = nutanix.getLcmStatusV2({
        xClusterId: "0005a104-0b0b-4b0b-8005-0b0b0b0b0b0b",
    });
    
    import pulumi
    import pulumi_nutanix as nutanix
    
    lcm_framework_status = nutanix.get_lcm_status_v2(x_cluster_id="0005a104-0b0b-4b0b-8005-0b0b0b0b0b0b")
    
    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.GetLcmStatusV2(ctx, &nutanix.GetLcmStatusV2Args{
    			XClusterId: pulumi.StringRef("0005a104-0b0b-4b0b-8005-0b0b0b0b0b0b"),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Nutanix = Pulumi.Nutanix;
    
    return await Deployment.RunAsync(() => 
    {
        var lcmFrameworkStatus = Nutanix.GetLcmStatusV2.Invoke(new()
        {
            XClusterId = "0005a104-0b0b-4b0b-8005-0b0b0b0b0b0b",
        });
    
    });
    
    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.GetLcmStatusV2Args;
    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 lcmFrameworkStatus = NutanixFunctions.getLcmStatusV2(GetLcmStatusV2Args.builder()
                .xClusterId("0005a104-0b0b-4b0b-8005-0b0b0b0b0b0b")
                .build());
    
        }
    }
    
    variables:
      lcmFrameworkStatus:
        fn::invoke:
          function: nutanix:getLcmStatusV2
          arguments:
            xClusterId: 0005a104-0b0b-4b0b-8005-0b0b0b0b0b0b
    

    Using getLcmStatusV2

    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 getLcmStatusV2(args: GetLcmStatusV2Args, opts?: InvokeOptions): Promise<GetLcmStatusV2Result>
    function getLcmStatusV2Output(args: GetLcmStatusV2OutputArgs, opts?: InvokeOptions): Output<GetLcmStatusV2Result>
    def get_lcm_status_v2(x_cluster_id: Optional[str] = None,
                          opts: Optional[InvokeOptions] = None) -> GetLcmStatusV2Result
    def get_lcm_status_v2_output(x_cluster_id: Optional[pulumi.Input[str]] = None,
                          opts: Optional[InvokeOptions] = None) -> Output[GetLcmStatusV2Result]
    func GetLcmStatusV2(ctx *Context, args *GetLcmStatusV2Args, opts ...InvokeOption) (*GetLcmStatusV2Result, error)
    func GetLcmStatusV2Output(ctx *Context, args *GetLcmStatusV2OutputArgs, opts ...InvokeOption) GetLcmStatusV2ResultOutput

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

    public static class GetLcmStatusV2 
    {
        public static Task<GetLcmStatusV2Result> InvokeAsync(GetLcmStatusV2Args args, InvokeOptions? opts = null)
        public static Output<GetLcmStatusV2Result> Invoke(GetLcmStatusV2InvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetLcmStatusV2Result> getLcmStatusV2(GetLcmStatusV2Args args, InvokeOptions options)
    public static Output<GetLcmStatusV2Result> getLcmStatusV2(GetLcmStatusV2Args args, InvokeOptions options)
    
    fn::invoke:
      function: nutanix:index/getLcmStatusV2:getLcmStatusV2
      arguments:
        # arguments dictionary

    The following arguments are supported:

    XClusterId string
    Cluster uuid on which the resource is present or operation is being performed.
    XClusterId string
    Cluster uuid on which the resource is present or operation is being performed.
    xClusterId String
    Cluster uuid on which the resource is present or operation is being performed.
    xClusterId string
    Cluster uuid on which the resource is present or operation is being performed.
    x_cluster_id str
    Cluster uuid on which the resource is present or operation is being performed.
    xClusterId String
    Cluster uuid on which the resource is present or operation is being performed.

    getLcmStatusV2 Result

    The following output properties are available:

    ExtId string
    A globally unique identifier of an instance that is suitable for external consumption.
    FrameworkVersions List<PiersKarsenbarg.Nutanix.Outputs.GetLcmStatusV2FrameworkVersion>
    LCM framework version information.
    Id string
    The provider-assigned unique ID for this managed resource.
    InProgressOperations List<PiersKarsenbarg.Nutanix.Outputs.GetLcmStatusV2InProgressOperation>
    Operation type and UUID of an ongoing operation in LCM.
    IsCancelIntentSet bool
    Boolean that indicates if cancel intent for LCM update is set or not.
    Links List<PiersKarsenbarg.Nutanix.Outputs.GetLcmStatusV2Link>
    • A HATEOAS style link for the response. Each link contains a user-friendly name identifying the link and an address for retrieving the particular resource.
    TenantId string
    • A globally unique identifier that represents the tenant that owns this entity. The system automatically assigns it, and it and is immutable from an API consumer perspective (some use cases may cause this Id to change - For instance, a use case may require the transfer of ownership of the entity, but these cases are handled automatically on the server).
    UploadTaskUuid string
    Upload task UUID.
    XClusterId string
    ExtId string
    A globally unique identifier of an instance that is suitable for external consumption.
    FrameworkVersions []GetLcmStatusV2FrameworkVersion
    LCM framework version information.
    Id string
    The provider-assigned unique ID for this managed resource.
    InProgressOperations []GetLcmStatusV2InProgressOperation
    Operation type and UUID of an ongoing operation in LCM.
    IsCancelIntentSet bool
    Boolean that indicates if cancel intent for LCM update is set or not.
    Links []GetLcmStatusV2Link
    • A HATEOAS style link for the response. Each link contains a user-friendly name identifying the link and an address for retrieving the particular resource.
    TenantId string
    • A globally unique identifier that represents the tenant that owns this entity. The system automatically assigns it, and it and is immutable from an API consumer perspective (some use cases may cause this Id to change - For instance, a use case may require the transfer of ownership of the entity, but these cases are handled automatically on the server).
    UploadTaskUuid string
    Upload task UUID.
    XClusterId string
    extId String
    A globally unique identifier of an instance that is suitable for external consumption.
    frameworkVersions List<GetLcmStatusV2FrameworkVersion>
    LCM framework version information.
    id String
    The provider-assigned unique ID for this managed resource.
    inProgressOperations List<GetLcmStatusV2InProgressOperation>
    Operation type and UUID of an ongoing operation in LCM.
    isCancelIntentSet Boolean
    Boolean that indicates if cancel intent for LCM update is set or not.
    links List<GetLcmStatusV2Link>
    • A HATEOAS style link for the response. Each link contains a user-friendly name identifying the link and an address for retrieving the particular resource.
    tenantId String
    • A globally unique identifier that represents the tenant that owns this entity. The system automatically assigns it, and it and is immutable from an API consumer perspective (some use cases may cause this Id to change - For instance, a use case may require the transfer of ownership of the entity, but these cases are handled automatically on the server).
    uploadTaskUuid String
    Upload task UUID.
    xClusterId String
    extId string
    A globally unique identifier of an instance that is suitable for external consumption.
    frameworkVersions GetLcmStatusV2FrameworkVersion[]
    LCM framework version information.
    id string
    The provider-assigned unique ID for this managed resource.
    inProgressOperations GetLcmStatusV2InProgressOperation[]
    Operation type and UUID of an ongoing operation in LCM.
    isCancelIntentSet boolean
    Boolean that indicates if cancel intent for LCM update is set or not.
    links GetLcmStatusV2Link[]
    • A HATEOAS style link for the response. Each link contains a user-friendly name identifying the link and an address for retrieving the particular resource.
    tenantId string
    • A globally unique identifier that represents the tenant that owns this entity. The system automatically assigns it, and it and is immutable from an API consumer perspective (some use cases may cause this Id to change - For instance, a use case may require the transfer of ownership of the entity, but these cases are handled automatically on the server).
    uploadTaskUuid string
    Upload task UUID.
    xClusterId string
    ext_id str
    A globally unique identifier of an instance that is suitable for external consumption.
    framework_versions Sequence[GetLcmStatusV2FrameworkVersion]
    LCM framework version information.
    id str
    The provider-assigned unique ID for this managed resource.
    in_progress_operations Sequence[GetLcmStatusV2InProgressOperation]
    Operation type and UUID of an ongoing operation in LCM.
    is_cancel_intent_set bool
    Boolean that indicates if cancel intent for LCM update is set or not.
    links Sequence[GetLcmStatusV2Link]
    • A HATEOAS style link for the response. Each link contains a user-friendly name identifying the link and an address for retrieving the particular resource.
    tenant_id str
    • A globally unique identifier that represents the tenant that owns this entity. The system automatically assigns it, and it and is immutable from an API consumer perspective (some use cases may cause this Id to change - For instance, a use case may require the transfer of ownership of the entity, but these cases are handled automatically on the server).
    upload_task_uuid str
    Upload task UUID.
    x_cluster_id str
    extId String
    A globally unique identifier of an instance that is suitable for external consumption.
    frameworkVersions List<Property Map>
    LCM framework version information.
    id String
    The provider-assigned unique ID for this managed resource.
    inProgressOperations List<Property Map>
    Operation type and UUID of an ongoing operation in LCM.
    isCancelIntentSet Boolean
    Boolean that indicates if cancel intent for LCM update is set or not.
    links List<Property Map>
    • A HATEOAS style link for the response. Each link contains a user-friendly name identifying the link and an address for retrieving the particular resource.
    tenantId String
    • A globally unique identifier that represents the tenant that owns this entity. The system automatically assigns it, and it and is immutable from an API consumer perspective (some use cases may cause this Id to change - For instance, a use case may require the transfer of ownership of the entity, but these cases are handled automatically on the server).
    uploadTaskUuid String
    Upload task UUID.
    xClusterId String

    Supporting Types

    GetLcmStatusV2FrameworkVersion

    AvailableVersion string
    • LCM framework version present in the LCM URL.
    CurrentVersion string
    • Current LCM Version.
    IsUpdateNeeded bool
    • Boolean that indicates if LCM framework update is needed.
    AvailableVersion string
    • LCM framework version present in the LCM URL.
    CurrentVersion string
    • Current LCM Version.
    IsUpdateNeeded bool
    • Boolean that indicates if LCM framework update is needed.
    availableVersion String
    • LCM framework version present in the LCM URL.
    currentVersion String
    • Current LCM Version.
    isUpdateNeeded Boolean
    • Boolean that indicates if LCM framework update is needed.
    availableVersion string
    • LCM framework version present in the LCM URL.
    currentVersion string
    • Current LCM Version.
    isUpdateNeeded boolean
    • Boolean that indicates if LCM framework update is needed.
    available_version str
    • LCM framework version present in the LCM URL.
    current_version str
    • Current LCM Version.
    is_update_needed bool
    • Boolean that indicates if LCM framework update is needed.
    availableVersion String
    • LCM framework version present in the LCM URL.
    currentVersion String
    • Current LCM Version.
    isUpdateNeeded Boolean
    • Boolean that indicates if LCM framework update is needed.

    GetLcmStatusV2InProgressOperation

    OperationId string
    • Root task UUID of the operation, if it is in running state.
    OperationType string
    • Type of the operation tracked by the task. Values are:
    • PRECHECKS: Perform LCM prechecks for the intended update operation.
    • INVENTORY: Perform an LCM inventory operation.
    • UPGRADE: Perform upgrade operation to a specific target version for discovered LCM entity/entities.
    • NONE: Indicates that no operation is currently ongoing.
    OperationId string
    • Root task UUID of the operation, if it is in running state.
    OperationType string
    • Type of the operation tracked by the task. Values are:
    • PRECHECKS: Perform LCM prechecks for the intended update operation.
    • INVENTORY: Perform an LCM inventory operation.
    • UPGRADE: Perform upgrade operation to a specific target version for discovered LCM entity/entities.
    • NONE: Indicates that no operation is currently ongoing.
    operationId String
    • Root task UUID of the operation, if it is in running state.
    operationType String
    • Type of the operation tracked by the task. Values are:
    • PRECHECKS: Perform LCM prechecks for the intended update operation.
    • INVENTORY: Perform an LCM inventory operation.
    • UPGRADE: Perform upgrade operation to a specific target version for discovered LCM entity/entities.
    • NONE: Indicates that no operation is currently ongoing.
    operationId string
    • Root task UUID of the operation, if it is in running state.
    operationType string
    • Type of the operation tracked by the task. Values are:
    • PRECHECKS: Perform LCM prechecks for the intended update operation.
    • INVENTORY: Perform an LCM inventory operation.
    • UPGRADE: Perform upgrade operation to a specific target version for discovered LCM entity/entities.
    • NONE: Indicates that no operation is currently ongoing.
    operation_id str
    • Root task UUID of the operation, if it is in running state.
    operation_type str
    • Type of the operation tracked by the task. Values are:
    • PRECHECKS: Perform LCM prechecks for the intended update operation.
    • INVENTORY: Perform an LCM inventory operation.
    • UPGRADE: Perform upgrade operation to a specific target version for discovered LCM entity/entities.
    • NONE: Indicates that no operation is currently ongoing.
    operationId String
    • Root task UUID of the operation, if it is in running state.
    operationType String
    • Type of the operation tracked by the task. Values are:
    • PRECHECKS: Perform LCM prechecks for the intended update operation.
    • INVENTORY: Perform an LCM inventory operation.
    • UPGRADE: Perform upgrade operation to a specific target version for discovered LCM entity/entities.
    • NONE: Indicates that no operation is currently ongoing.
    Href string
    Rel string
    Href string
    Rel string
    href String
    rel String
    href string
    rel string
    href str
    rel str
    href String
    rel String

    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