Nutanix v0.8.0 published on Sunday, May 11, 2025 by Piers Karsenbarg
nutanix.getLcmStatusV2
Explore with Pulumi AI
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:
- XCluster
Id string - Cluster uuid on which the resource is present or operation is being performed.
- XCluster
Id string - Cluster uuid on which the resource is present or operation is being performed.
- x
Cluster StringId - Cluster uuid on which the resource is present or operation is being performed.
- x
Cluster stringId - Cluster uuid on which the resource is present or operation is being performed.
- x_
cluster_ strid - Cluster uuid on which the resource is present or operation is being performed.
- x
Cluster StringId - Cluster uuid on which the resource is present or operation is being performed.
getLcmStatusV2 Result
The following output properties are available:
- Ext
Id string - A globally unique identifier of an instance that is suitable for external consumption.
- Framework
Versions List<PiersKarsenbarg. Nutanix. Outputs. Get Lcm Status V2Framework Version> - LCM framework version information.
- Id string
- The provider-assigned unique ID for this managed resource.
- In
Progress List<PiersOperations Karsenbarg. Nutanix. Outputs. Get Lcm Status V2In Progress Operation> - Operation type and UUID of an ongoing operation in LCM.
- Is
Cancel boolIntent Set - Boolean that indicates if cancel intent for LCM update is set or not.
- Links
List<Piers
Karsenbarg. Nutanix. Outputs. Get Lcm Status V2Link> - 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 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).
- Upload
Task stringUuid - Upload task UUID.
- XCluster
Id string
- Ext
Id string - A globally unique identifier of an instance that is suitable for external consumption.
- Framework
Versions []GetLcm Status V2Framework Version - LCM framework version information.
- Id string
- The provider-assigned unique ID for this managed resource.
- In
Progress []GetOperations Lcm Status V2In Progress Operation - Operation type and UUID of an ongoing operation in LCM.
- Is
Cancel boolIntent Set - Boolean that indicates if cancel intent for LCM update is set or not.
- Links
[]Get
Lcm Status V2Link - 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 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).
- Upload
Task stringUuid - Upload task UUID.
- XCluster
Id string
- ext
Id String - A globally unique identifier of an instance that is suitable for external consumption.
- framework
Versions List<GetLcm Status V2Framework Version> - LCM framework version information.
- id String
- The provider-assigned unique ID for this managed resource.
- in
Progress List<GetOperations Lcm Status V2In Progress Operation> - Operation type and UUID of an ongoing operation in LCM.
- is
Cancel BooleanIntent Set - Boolean that indicates if cancel intent for LCM update is set or not.
- links
List<Get
Lcm Status V2Link> - 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 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).
- upload
Task StringUuid - Upload task UUID.
- x
Cluster StringId
- ext
Id string - A globally unique identifier of an instance that is suitable for external consumption.
- framework
Versions GetLcm Status V2Framework Version[] - LCM framework version information.
- id string
- The provider-assigned unique ID for this managed resource.
- in
Progress GetOperations Lcm Status V2In Progress Operation[] - Operation type and UUID of an ongoing operation in LCM.
- is
Cancel booleanIntent Set - Boolean that indicates if cancel intent for LCM update is set or not.
- links
Get
Lcm Status V2Link[] - 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 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).
- upload
Task stringUuid - Upload task UUID.
- x
Cluster stringId
- ext_
id str - A globally unique identifier of an instance that is suitable for external consumption.
- framework_
versions Sequence[GetLcm Status V2Framework Version] - LCM framework version information.
- id str
- The provider-assigned unique ID for this managed resource.
- in_
progress_ Sequence[Getoperations Lcm Status V2In Progress Operation] - Operation type and UUID of an ongoing operation in LCM.
- is_
cancel_ boolintent_ set - Boolean that indicates if cancel intent for LCM update is set or not.
- links
Sequence[Get
Lcm Status V2Link] - 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_ struuid - Upload task UUID.
- x_
cluster_ strid
- ext
Id String - A globally unique identifier of an instance that is suitable for external consumption.
- framework
Versions List<Property Map> - LCM framework version information.
- id String
- The provider-assigned unique ID for this managed resource.
- in
Progress List<Property Map>Operations - Operation type and UUID of an ongoing operation in LCM.
- is
Cancel BooleanIntent Set - 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.
- tenant
Id 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).
- upload
Task StringUuid - Upload task UUID.
- x
Cluster StringId
Supporting Types
GetLcmStatusV2FrameworkVersion
- Available
Version string - LCM framework version present in the LCM URL.
- Current
Version string - Current LCM Version.
- Is
Update boolNeeded - Boolean that indicates if LCM framework update is needed.
- Available
Version string - LCM framework version present in the LCM URL.
- Current
Version string - Current LCM Version.
- Is
Update boolNeeded - Boolean that indicates if LCM framework update is needed.
- available
Version String - LCM framework version present in the LCM URL.
- current
Version String - Current LCM Version.
- is
Update BooleanNeeded - Boolean that indicates if LCM framework update is needed.
- available
Version string - LCM framework version present in the LCM URL.
- current
Version string - Current LCM Version.
- is
Update booleanNeeded - 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_ boolneeded - Boolean that indicates if LCM framework update is needed.
- available
Version String - LCM framework version present in the LCM URL.
- current
Version String - Current LCM Version.
- is
Update BooleanNeeded - Boolean that indicates if LCM framework update is needed.
GetLcmStatusV2InProgressOperation
- Operation
Id string - Root task UUID of the operation, if it is in running state.
- Operation
Type 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 string - Root task UUID of the operation, if it is in running state.
- Operation
Type 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 String - Root task UUID of the operation, if it is in running state.
- operation
Type 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 string - Root task UUID of the operation, if it is in running state.
- operation
Type 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.
- operation
Id String - Root task UUID of the operation, if it is in running state.
- operation
Type 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.
GetLcmStatusV2Link
Package Details
- Repository
- nutanix pierskarsenbarg/pulumi-nutanix
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
nutanix
Terraform Provider.