Nutanix v0.10.0 published on Monday, Sep 1, 2025 by Piers Karsenbarg
nutanix.getLcmConfigV2
Get LCM configuration.
Example
import * as pulumi from "@pulumi/pulumi";
import * as nutanix from "@pierskarsenbarg/nutanix";
const lcm_configuration = nutanix.getLcmConfigV2({});
const lcm_configuration_cluster = nutanix.getLcmConfigV2({
    xClusterId: "0005a104-0b0b-4b0b-8005-0b0b0b0b0b0b",
});
import pulumi
import pulumi_nutanix as nutanix
lcm_configuration = nutanix.get_lcm_config_v2()
lcm_configuration_cluster = nutanix.get_lcm_config_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.LookupLcmConfigV2(ctx, &nutanix.LookupLcmConfigV2Args{}, nil)
		if err != nil {
			return err
		}
		_, err = nutanix.LookupLcmConfigV2(ctx, &nutanix.LookupLcmConfigV2Args{
			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 lcm_configuration = Nutanix.GetLcmConfigV2.Invoke();
    var lcm_configuration_cluster = Nutanix.GetLcmConfigV2.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.GetLcmConfigV2Args;
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 lcm-configuration = NutanixFunctions.getLcmConfigV2(GetLcmConfigV2Args.builder()
            .build());
        final var lcm-configuration-cluster = NutanixFunctions.getLcmConfigV2(GetLcmConfigV2Args.builder()
            .xClusterId("0005a104-0b0b-4b0b-8005-0b0b0b0b0b0b")
            .build());
    }
}
variables:
  lcm-configuration:
    fn::invoke:
      function: nutanix:getLcmConfigV2
      arguments: {}
  lcm-configuration-cluster:
    fn::invoke:
      function: nutanix:getLcmConfigV2
      arguments:
        xClusterId: 0005a104-0b0b-4b0b-8005-0b0b0b0b0b0b
Using getLcmConfigV2
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 getLcmConfigV2(args: GetLcmConfigV2Args, opts?: InvokeOptions): Promise<GetLcmConfigV2Result>
function getLcmConfigV2Output(args: GetLcmConfigV2OutputArgs, opts?: InvokeOptions): Output<GetLcmConfigV2Result>def get_lcm_config_v2(x_cluster_id: Optional[str] = None,
                      opts: Optional[InvokeOptions] = None) -> GetLcmConfigV2Result
def get_lcm_config_v2_output(x_cluster_id: Optional[pulumi.Input[str]] = None,
                      opts: Optional[InvokeOptions] = None) -> Output[GetLcmConfigV2Result]func LookupLcmConfigV2(ctx *Context, args *LookupLcmConfigV2Args, opts ...InvokeOption) (*LookupLcmConfigV2Result, error)
func LookupLcmConfigV2Output(ctx *Context, args *LookupLcmConfigV2OutputArgs, opts ...InvokeOption) LookupLcmConfigV2ResultOutput> Note: This function is named LookupLcmConfigV2 in the Go SDK.
public static class GetLcmConfigV2 
{
    public static Task<GetLcmConfigV2Result> InvokeAsync(GetLcmConfigV2Args args, InvokeOptions? opts = null)
    public static Output<GetLcmConfigV2Result> Invoke(GetLcmConfigV2InvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetLcmConfigV2Result> getLcmConfigV2(GetLcmConfigV2Args args, InvokeOptions options)
public static Output<GetLcmConfigV2Result> getLcmConfigV2(GetLcmConfigV2Args args, InvokeOptions options)
fn::invoke:
  function: nutanix:index/getLcmConfigV2:getLcmConfigV2
  arguments:
    # arguments dictionaryThe 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.
- xCluster StringId 
- Cluster uuid on which the resource is present or operation is being performed.
- xCluster 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.
- xCluster StringId 
- Cluster uuid on which the resource is present or operation is being performed.
getLcmConfigV2 Result
The following output properties are available:
- AutoInventory stringSchedule 
- The scheduled time in "%H:%M" 24-hour format of the next inventory execution. Used when auto_inventory_enabled is set to True. The default schedule time is 03:00(AM).
- ConnectivityType string
- This field indicates whether LCM framework on the cluster is running in connected-site mode or darksite mode. Values are :- CONNECTED_SITE: In connected-site, LCM on the cluster has internet connectivity to reach configured portal for downloading LCM modules/bundles etc.
- DARKSITE_DIRECT_UPLOAD: LCM on the cluster does not have external connectivity and will have a facility to upload darksite bundles through LCM.
- DARKSITE_WEB_SERVER: LCM on the cluster does not have external connectivity and will have a connection to darksite webserver maintained by the customer.
 
- DeprecatedSoftware List<string>Entities 
- List of entities for which One-Click upgrades are not available.
- DisplayVersion string
- User friendly display version of LCM installed on the cluster.
- ExtId string
- A globally unique identifier of an instance that is suitable for external consumption.
- HasModule boolAuto Upgrade Enabled 
- Indicates if LCM is enabled to auto-upgrade products. The default value is False.
- Id string
- The provider-assigned unique ID for this managed resource.
- IsAuto boolInventory Enabled 
- Indicates if the auto inventory operation is enabled. The default value is set to False.
- IsFramework boolBundle Uploaded 
- Indicates if the bundle is uploaded or not.
- IsHttps boolEnabled 
- Indicates if the LCM URL has HTTPS enabled. The default value is True.
- Links
List<PiersKarsenbarg. Nutanix. Outputs. Get Lcm Config 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.
 
- SupportedSoftware List<string>Entities 
- List of entities for which One-Click upgrades are supported.
- 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).
 
- Url string
- URL of the LCM repository.
- Version string
- LCM version installed on the cluster.
- XClusterId string
- AutoInventory stringSchedule 
- The scheduled time in "%H:%M" 24-hour format of the next inventory execution. Used when auto_inventory_enabled is set to True. The default schedule time is 03:00(AM).
- ConnectivityType string
- This field indicates whether LCM framework on the cluster is running in connected-site mode or darksite mode. Values are :- CONNECTED_SITE: In connected-site, LCM on the cluster has internet connectivity to reach configured portal for downloading LCM modules/bundles etc.
- DARKSITE_DIRECT_UPLOAD: LCM on the cluster does not have external connectivity and will have a facility to upload darksite bundles through LCM.
- DARKSITE_WEB_SERVER: LCM on the cluster does not have external connectivity and will have a connection to darksite webserver maintained by the customer.
 
- DeprecatedSoftware []stringEntities 
- List of entities for which One-Click upgrades are not available.
- DisplayVersion string
- User friendly display version of LCM installed on the cluster.
- ExtId string
- A globally unique identifier of an instance that is suitable for external consumption.
- HasModule boolAuto Upgrade Enabled 
- Indicates if LCM is enabled to auto-upgrade products. The default value is False.
- Id string
- The provider-assigned unique ID for this managed resource.
- IsAuto boolInventory Enabled 
- Indicates if the auto inventory operation is enabled. The default value is set to False.
- IsFramework boolBundle Uploaded 
- Indicates if the bundle is uploaded or not.
- IsHttps boolEnabled 
- Indicates if the LCM URL has HTTPS enabled. The default value is True.
- Links
[]GetLcm Config 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.
 
- SupportedSoftware []stringEntities 
- List of entities for which One-Click upgrades are supported.
- 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).
 
- Url string
- URL of the LCM repository.
- Version string
- LCM version installed on the cluster.
- XClusterId string
- autoInventory StringSchedule 
- The scheduled time in "%H:%M" 24-hour format of the next inventory execution. Used when auto_inventory_enabled is set to True. The default schedule time is 03:00(AM).
- connectivityType String
- This field indicates whether LCM framework on the cluster is running in connected-site mode or darksite mode. Values are :- CONNECTED_SITE: In connected-site, LCM on the cluster has internet connectivity to reach configured portal for downloading LCM modules/bundles etc.
- DARKSITE_DIRECT_UPLOAD: LCM on the cluster does not have external connectivity and will have a facility to upload darksite bundles through LCM.
- DARKSITE_WEB_SERVER: LCM on the cluster does not have external connectivity and will have a connection to darksite webserver maintained by the customer.
 
- deprecatedSoftware List<String>Entities 
- List of entities for which One-Click upgrades are not available.
- displayVersion String
- User friendly display version of LCM installed on the cluster.
- extId String
- A globally unique identifier of an instance that is suitable for external consumption.
- hasModule BooleanAuto Upgrade Enabled 
- Indicates if LCM is enabled to auto-upgrade products. The default value is False.
- id String
- The provider-assigned unique ID for this managed resource.
- isAuto BooleanInventory Enabled 
- Indicates if the auto inventory operation is enabled. The default value is set to False.
- isFramework BooleanBundle Uploaded 
- Indicates if the bundle is uploaded or not.
- isHttps BooleanEnabled 
- Indicates if the LCM URL has HTTPS enabled. The default value is True.
- links
List<GetLcm Config 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.
 
- supportedSoftware List<String>Entities 
- List of entities for which One-Click upgrades are supported.
- 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).
 
- url String
- URL of the LCM repository.
- version String
- LCM version installed on the cluster.
- xCluster StringId 
- autoInventory stringSchedule 
- The scheduled time in "%H:%M" 24-hour format of the next inventory execution. Used when auto_inventory_enabled is set to True. The default schedule time is 03:00(AM).
- connectivityType string
- This field indicates whether LCM framework on the cluster is running in connected-site mode or darksite mode. Values are :- CONNECTED_SITE: In connected-site, LCM on the cluster has internet connectivity to reach configured portal for downloading LCM modules/bundles etc.
- DARKSITE_DIRECT_UPLOAD: LCM on the cluster does not have external connectivity and will have a facility to upload darksite bundles through LCM.
- DARKSITE_WEB_SERVER: LCM on the cluster does not have external connectivity and will have a connection to darksite webserver maintained by the customer.
 
- deprecatedSoftware string[]Entities 
- List of entities for which One-Click upgrades are not available.
- displayVersion string
- User friendly display version of LCM installed on the cluster.
- extId string
- A globally unique identifier of an instance that is suitable for external consumption.
- hasModule booleanAuto Upgrade Enabled 
- Indicates if LCM is enabled to auto-upgrade products. The default value is False.
- id string
- The provider-assigned unique ID for this managed resource.
- isAuto booleanInventory Enabled 
- Indicates if the auto inventory operation is enabled. The default value is set to False.
- isFramework booleanBundle Uploaded 
- Indicates if the bundle is uploaded or not.
- isHttps booleanEnabled 
- Indicates if the LCM URL has HTTPS enabled. The default value is True.
- links
GetLcm Config 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.
 
- supportedSoftware string[]Entities 
- List of entities for which One-Click upgrades are supported.
- 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).
 
- url string
- URL of the LCM repository.
- version string
- LCM version installed on the cluster.
- xCluster stringId 
- auto_inventory_ strschedule 
- The scheduled time in "%H:%M" 24-hour format of the next inventory execution. Used when auto_inventory_enabled is set to True. The default schedule time is 03:00(AM).
- connectivity_type str
- This field indicates whether LCM framework on the cluster is running in connected-site mode or darksite mode. Values are :- CONNECTED_SITE: In connected-site, LCM on the cluster has internet connectivity to reach configured portal for downloading LCM modules/bundles etc.
- DARKSITE_DIRECT_UPLOAD: LCM on the cluster does not have external connectivity and will have a facility to upload darksite bundles through LCM.
- DARKSITE_WEB_SERVER: LCM on the cluster does not have external connectivity and will have a connection to darksite webserver maintained by the customer.
 
- deprecated_software_ Sequence[str]entities 
- List of entities for which One-Click upgrades are not available.
- display_version str
- User friendly display version of LCM installed on the cluster.
- ext_id str
- A globally unique identifier of an instance that is suitable for external consumption.
- has_module_ boolauto_ upgrade_ enabled 
- Indicates if LCM is enabled to auto-upgrade products. The default value is False.
- id str
- The provider-assigned unique ID for this managed resource.
- is_auto_ boolinventory_ enabled 
- Indicates if the auto inventory operation is enabled. The default value is set to False.
- is_framework_ boolbundle_ uploaded 
- Indicates if the bundle is uploaded or not.
- is_https_ boolenabled 
- Indicates if the LCM URL has HTTPS enabled. The default value is True.
- links
Sequence[GetLcm Config 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.
 
- supported_software_ Sequence[str]entities 
- List of entities for which One-Click upgrades are supported.
- 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).
 
- url str
- URL of the LCM repository.
- version str
- LCM version installed on the cluster.
- x_cluster_ strid 
- autoInventory StringSchedule 
- The scheduled time in "%H:%M" 24-hour format of the next inventory execution. Used when auto_inventory_enabled is set to True. The default schedule time is 03:00(AM).
- connectivityType String
- This field indicates whether LCM framework on the cluster is running in connected-site mode or darksite mode. Values are :- CONNECTED_SITE: In connected-site, LCM on the cluster has internet connectivity to reach configured portal for downloading LCM modules/bundles etc.
- DARKSITE_DIRECT_UPLOAD: LCM on the cluster does not have external connectivity and will have a facility to upload darksite bundles through LCM.
- DARKSITE_WEB_SERVER: LCM on the cluster does not have external connectivity and will have a connection to darksite webserver maintained by the customer.
 
- deprecatedSoftware List<String>Entities 
- List of entities for which One-Click upgrades are not available.
- displayVersion String
- User friendly display version of LCM installed on the cluster.
- extId String
- A globally unique identifier of an instance that is suitable for external consumption.
- hasModule BooleanAuto Upgrade Enabled 
- Indicates if LCM is enabled to auto-upgrade products. The default value is False.
- id String
- The provider-assigned unique ID for this managed resource.
- isAuto BooleanInventory Enabled 
- Indicates if the auto inventory operation is enabled. The default value is set to False.
- isFramework BooleanBundle Uploaded 
- Indicates if the bundle is uploaded or not.
- isHttps BooleanEnabled 
- Indicates if the LCM URL has HTTPS enabled. The default value is True.
- 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.
 
- supportedSoftware List<String>Entities 
- List of entities for which One-Click upgrades are supported.
- 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).
 
- url String
- URL of the LCM repository.
- version String
- LCM version installed on the cluster.
- xCluster StringId 
Supporting Types
GetLcmConfigV2Link   
Package Details
- Repository
- nutanix pierskarsenbarg/pulumi-nutanix
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the nutanixTerraform Provider.
 
