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

nutanix.getLcmConfigV2

Explore with Pulumi AI

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

    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:

    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.

    getLcmConfigV2 Result

    The following output properties are available:

    AutoInventorySchedule string
    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.
    DeprecatedSoftwareEntities List<string>
    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.
    HasModuleAutoUpgradeEnabled bool
    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.
    IsAutoInventoryEnabled bool
    Indicates if the auto inventory operation is enabled. The default value is set to False.
    IsFrameworkBundleUploaded bool
    Indicates if the bundle is uploaded or not.
    IsHttpsEnabled bool
    Indicates if the LCM URL has HTTPS enabled. The default value is True.
    Links List<PiersKarsenbarg.Nutanix.Outputs.GetLcmConfigV2Link>
    • 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.
    SupportedSoftwareEntities List<string>
    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
    AutoInventorySchedule string
    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.
    DeprecatedSoftwareEntities []string
    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.
    HasModuleAutoUpgradeEnabled bool
    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.
    IsAutoInventoryEnabled bool
    Indicates if the auto inventory operation is enabled. The default value is set to False.
    IsFrameworkBundleUploaded bool
    Indicates if the bundle is uploaded or not.
    IsHttpsEnabled bool
    Indicates if the LCM URL has HTTPS enabled. The default value is True.
    Links []GetLcmConfigV2Link
    • 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.
    SupportedSoftwareEntities []string
    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
    autoInventorySchedule String
    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.
    deprecatedSoftwareEntities List<String>
    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.
    hasModuleAutoUpgradeEnabled Boolean
    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.
    isAutoInventoryEnabled Boolean
    Indicates if the auto inventory operation is enabled. The default value is set to False.
    isFrameworkBundleUploaded Boolean
    Indicates if the bundle is uploaded or not.
    isHttpsEnabled Boolean
    Indicates if the LCM URL has HTTPS enabled. The default value is True.
    links List<GetLcmConfigV2Link>
    • 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.
    supportedSoftwareEntities List<String>
    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
    autoInventorySchedule string
    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.
    deprecatedSoftwareEntities string[]
    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.
    hasModuleAutoUpgradeEnabled boolean
    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.
    isAutoInventoryEnabled boolean
    Indicates if the auto inventory operation is enabled. The default value is set to False.
    isFrameworkBundleUploaded boolean
    Indicates if the bundle is uploaded or not.
    isHttpsEnabled boolean
    Indicates if the LCM URL has HTTPS enabled. The default value is True.
    links GetLcmConfigV2Link[]
    • 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.
    supportedSoftwareEntities string[]
    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
    auto_inventory_schedule str
    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_entities Sequence[str]
    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_auto_upgrade_enabled bool
    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_inventory_enabled bool
    Indicates if the auto inventory operation is enabled. The default value is set to False.
    is_framework_bundle_uploaded bool
    Indicates if the bundle is uploaded or not.
    is_https_enabled bool
    Indicates if the LCM URL has HTTPS enabled. The default value is True.
    links Sequence[GetLcmConfigV2Link]
    • 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_entities Sequence[str]
    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_id str
    autoInventorySchedule String
    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.
    deprecatedSoftwareEntities List<String>
    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.
    hasModuleAutoUpgradeEnabled Boolean
    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.
    isAutoInventoryEnabled Boolean
    Indicates if the auto inventory operation is enabled. The default value is set to False.
    isFrameworkBundleUploaded Boolean
    Indicates if the bundle is uploaded or not.
    isHttpsEnabled Boolean
    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.
    supportedSoftwareEntities List<String>
    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

    Supporting Types

    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