Nutanix v0.8.0 published on Sunday, May 11, 2025 by Piers Karsenbarg
nutanix.getLcmConfigV2
Explore with Pulumi AI
Get LCM configuration.
Example
import * as pulumi from "@pulumi/pulumi";
import * as nutanix from "@pulumi/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 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.
getLcmConfigV2 Result
The following output properties are available:
- Auto
Inventory 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).
- Connectivity
Type 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.
- Deprecated
Software List<string>Entities - List of entities for which One-Click upgrades are not available.
- Display
Version string - User friendly display version of LCM installed on the cluster.
- Ext
Id string - 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 string
- 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
List<Piers
Karsenbarg. 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.
- Supported
Software List<string>Entities - List of entities for which One-Click upgrades are supported.
- 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).
- Url string
- URL of the LCM repository.
- Version string
- LCM version installed on the cluster.
- XCluster
Id string
- Auto
Inventory 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).
- Connectivity
Type 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.
- Deprecated
Software []stringEntities - List of entities for which One-Click upgrades are not available.
- Display
Version string - User friendly display version of LCM installed on the cluster.
- Ext
Id string - 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 string
- 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
[]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.
- Supported
Software []stringEntities - List of entities for which One-Click upgrades are supported.
- 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).
- Url string
- URL of the LCM repository.
- Version string
- LCM version installed on the cluster.
- XCluster
Id string
- auto
Inventory 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).
- connectivity
Type 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.
- deprecated
Software List<String>Entities - List of entities for which One-Click upgrades are not available.
- display
Version String - User friendly display version of LCM installed on the cluster.
- ext
Id String - A globally unique identifier of an instance that is suitable for external consumption.
- has
Module 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.
- is
Auto BooleanInventory Enabled - Indicates if the auto inventory operation is enabled. The default value is set to False.
- is
Framework BooleanBundle Uploaded - Indicates if the bundle is uploaded or not.
- is
Https BooleanEnabled - Indicates if the LCM URL has HTTPS enabled. The default value is True.
- links
List<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.
- supported
Software List<String>Entities - List of entities for which One-Click upgrades are supported.
- 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).
- url String
- URL of the LCM repository.
- version String
- LCM version installed on the cluster.
- x
Cluster StringId
- auto
Inventory 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).
- connectivity
Type 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.
- deprecated
Software string[]Entities - List of entities for which One-Click upgrades are not available.
- display
Version string - User friendly display version of LCM installed on the cluster.
- ext
Id string - A globally unique identifier of an instance that is suitable for external consumption.
- has
Module 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.
- is
Auto booleanInventory Enabled - Indicates if the auto inventory operation is enabled. The default value is set to False.
- is
Framework booleanBundle Uploaded - Indicates if the bundle is uploaded or not.
- is
Https booleanEnabled - Indicates if the LCM URL has HTTPS enabled. The default value is True.
- links
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.
- supported
Software string[]Entities - List of entities for which One-Click upgrades are supported.
- 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).
- url string
- URL of the LCM repository.
- version string
- LCM version installed on the cluster.
- x
Cluster 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[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.
- 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
- auto
Inventory 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).
- connectivity
Type 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.
- deprecated
Software List<String>Entities - List of entities for which One-Click upgrades are not available.
- display
Version String - User friendly display version of LCM installed on the cluster.
- ext
Id String - A globally unique identifier of an instance that is suitable for external consumption.
- has
Module 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.
- is
Auto BooleanInventory Enabled - Indicates if the auto inventory operation is enabled. The default value is set to False.
- is
Framework BooleanBundle Uploaded - Indicates if the bundle is uploaded or not.
- is
Https 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.
- supported
Software List<String>Entities - List of entities for which One-Click upgrades are supported.
- 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).
- url String
- URL of the LCM repository.
- version String
- LCM version installed on the cluster.
- x
Cluster StringId
Supporting Types
GetLcmConfigV2Link
Package Details
- Repository
- nutanix pierskarsenbarg/pulumi-nutanix
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
nutanix
Terraform Provider.