1. Packages
  2. Opentelekomcloud Provider
  3. API Docs
  4. getCceAddonTemplatesV3
opentelekomcloud 1.36.37 published on Thursday, Apr 24, 2025 by opentelekomcloud

opentelekomcloud.getCceAddonTemplatesV3

Explore with Pulumi AI

opentelekomcloud logo
opentelekomcloud 1.36.37 published on Thursday, Apr 24, 2025 by opentelekomcloud

    Up-to-date reference of API arguments for CCE Addon template you can get at documentation portal

    Use this data source to get from OpenTelekomCloud a CCE Addon template versions and additional info based on cluster version.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as opentelekomcloud from "@pulumi/opentelekomcloud";
    
    const templates = opentelekomcloud.getCceAddonTemplatesV3({
        addonName: "volcano",
        clusterVersion: "1.21.3",
    });
    
    import pulumi
    import pulumi_opentelekomcloud as opentelekomcloud
    
    templates = opentelekomcloud.get_cce_addon_templates_v3(addon_name="volcano",
        cluster_version="1.21.3")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/opentelekomcloud/opentelekomcloud"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := opentelekomcloud.GetCceAddonTemplatesV3(ctx, &opentelekomcloud.GetCceAddonTemplatesV3Args{
    			AddonName:      "volcano",
    			ClusterVersion: "1.21.3",
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Opentelekomcloud = Pulumi.Opentelekomcloud;
    
    return await Deployment.RunAsync(() => 
    {
        var templates = Opentelekomcloud.GetCceAddonTemplatesV3.Invoke(new()
        {
            AddonName = "volcano",
            ClusterVersion = "1.21.3",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.opentelekomcloud.OpentelekomcloudFunctions;
    import com.pulumi.opentelekomcloud.inputs.GetCceAddonTemplatesV3Args;
    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 templates = OpentelekomcloudFunctions.getCceAddonTemplatesV3(GetCceAddonTemplatesV3Args.builder()
                .addonName("volcano")
                .clusterVersion("1.21.3")
                .build());
    
        }
    }
    
    variables:
      templates:
        fn::invoke:
          function: opentelekomcloud:getCceAddonTemplatesV3
          arguments:
            addonName: volcano
            clusterVersion: 1.21.3
    

    Using getCceAddonTemplatesV3

    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 getCceAddonTemplatesV3(args: GetCceAddonTemplatesV3Args, opts?: InvokeOptions): Promise<GetCceAddonTemplatesV3Result>
    function getCceAddonTemplatesV3Output(args: GetCceAddonTemplatesV3OutputArgs, opts?: InvokeOptions): Output<GetCceAddonTemplatesV3Result>
    def get_cce_addon_templates_v3(addon_name: Optional[str] = None,
                                   cluster_type: Optional[str] = None,
                                   cluster_version: Optional[str] = None,
                                   id: Optional[str] = None,
                                   opts: Optional[InvokeOptions] = None) -> GetCceAddonTemplatesV3Result
    def get_cce_addon_templates_v3_output(addon_name: Optional[pulumi.Input[str]] = None,
                                   cluster_type: Optional[pulumi.Input[str]] = None,
                                   cluster_version: Optional[pulumi.Input[str]] = None,
                                   id: Optional[pulumi.Input[str]] = None,
                                   opts: Optional[InvokeOptions] = None) -> Output[GetCceAddonTemplatesV3Result]
    func GetCceAddonTemplatesV3(ctx *Context, args *GetCceAddonTemplatesV3Args, opts ...InvokeOption) (*GetCceAddonTemplatesV3Result, error)
    func GetCceAddonTemplatesV3Output(ctx *Context, args *GetCceAddonTemplatesV3OutputArgs, opts ...InvokeOption) GetCceAddonTemplatesV3ResultOutput

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

    public static class GetCceAddonTemplatesV3 
    {
        public static Task<GetCceAddonTemplatesV3Result> InvokeAsync(GetCceAddonTemplatesV3Args args, InvokeOptions? opts = null)
        public static Output<GetCceAddonTemplatesV3Result> Invoke(GetCceAddonTemplatesV3InvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetCceAddonTemplatesV3Result> getCceAddonTemplatesV3(GetCceAddonTemplatesV3Args args, InvokeOptions options)
    public static Output<GetCceAddonTemplatesV3Result> getCceAddonTemplatesV3(GetCceAddonTemplatesV3Args args, InvokeOptions options)
    
    fn::invoke:
      function: opentelekomcloud:index/getCceAddonTemplatesV3:getCceAddonTemplatesV3
      arguments:
        # arguments dictionary

    The following arguments are supported:

    AddonName string
    The name of the CCE addon. For example: autoscaler.
    ClusterVersion string
    The version of the CCE cluster. For example: 1.23.6.
    ClusterType string
    The type of the CCE cluster. Default value: VirtualMachine. The valid values are as follows:

    • VirtualMachine: The instance is running properly.
    • ARM64: The instance has been properly stopped.
    • BareMetal: An error has occurred on the instance.
    Id string
    The data source ID.
    AddonName string
    The name of the CCE addon. For example: autoscaler.
    ClusterVersion string
    The version of the CCE cluster. For example: 1.23.6.
    ClusterType string
    The type of the CCE cluster. Default value: VirtualMachine. The valid values are as follows:

    • VirtualMachine: The instance is running properly.
    • ARM64: The instance has been properly stopped.
    • BareMetal: An error has occurred on the instance.
    Id string
    The data source ID.
    addonName String
    The name of the CCE addon. For example: autoscaler.
    clusterVersion String
    The version of the CCE cluster. For example: 1.23.6.
    clusterType String
    The type of the CCE cluster. Default value: VirtualMachine. The valid values are as follows:

    • VirtualMachine: The instance is running properly.
    • ARM64: The instance has been properly stopped.
    • BareMetal: An error has occurred on the instance.
    id String
    The data source ID.
    addonName string
    The name of the CCE addon. For example: autoscaler.
    clusterVersion string
    The version of the CCE cluster. For example: 1.23.6.
    clusterType string
    The type of the CCE cluster. Default value: VirtualMachine. The valid values are as follows:

    • VirtualMachine: The instance is running properly.
    • ARM64: The instance has been properly stopped.
    • BareMetal: An error has occurred on the instance.
    id string
    The data source ID.
    addon_name str
    The name of the CCE addon. For example: autoscaler.
    cluster_version str
    The version of the CCE cluster. For example: 1.23.6.
    cluster_type str
    The type of the CCE cluster. Default value: VirtualMachine. The valid values are as follows:

    • VirtualMachine: The instance is running properly.
    • ARM64: The instance has been properly stopped.
    • BareMetal: An error has occurred on the instance.
    id str
    The data source ID.
    addonName String
    The name of the CCE addon. For example: autoscaler.
    clusterVersion String
    The version of the CCE cluster. For example: 1.23.6.
    clusterType String
    The type of the CCE cluster. Default value: VirtualMachine. The valid values are as follows:

    • VirtualMachine: The instance is running properly.
    • ARM64: The instance has been properly stopped.
    • BareMetal: An error has occurred on the instance.
    id String
    The data source ID.

    getCceAddonTemplatesV3 Result

    The following output properties are available:

    AddonName string
    Addons List<GetCceAddonTemplatesV3Addon>
    List of CCE addons details. The object structure of each CCE addon is documented below.
    ClusterVersion string
    Id string
    The data source ID.
    ClusterType string
    AddonName string
    Addons []GetCceAddonTemplatesV3Addon
    List of CCE addons details. The object structure of each CCE addon is documented below.
    ClusterVersion string
    Id string
    The data source ID.
    ClusterType string
    addonName String
    addons List<GetCceAddonTemplatesV3Addon>
    List of CCE addons details. The object structure of each CCE addon is documented below.
    clusterVersion String
    id String
    The data source ID.
    clusterType String
    addonName string
    addons GetCceAddonTemplatesV3Addon[]
    List of CCE addons details. The object structure of each CCE addon is documented below.
    clusterVersion string
    id string
    The data source ID.
    clusterType string
    addon_name str
    addons Sequence[GetCceAddonTemplatesV3Addon]
    List of CCE addons details. The object structure of each CCE addon is documented below.
    cluster_version str
    id str
    The data source ID.
    cluster_type str
    addonName String
    addons List<Property Map>
    List of CCE addons details. The object structure of each CCE addon is documented below.
    clusterVersion String
    id String
    The data source ID.
    clusterType String

    Supporting Types

    GetCceAddonTemplatesV3Addon

    AddonVersion string
    Supported addon version.
    ClusterIp string
    The cluster ip.
    EulerosVersion string
    The euler os version.
    ImageVersion string
    The cluster image version.
    ObsUrl string
    The obs endpoint url.
    Platform string
    The cluster image version.
    SwrAddr string
    The cluster swr_addr.
    SwrUser string
    The cluster swr_user.
    AddonVersion string
    Supported addon version.
    ClusterIp string
    The cluster ip.
    EulerosVersion string
    The euler os version.
    ImageVersion string
    The cluster image version.
    ObsUrl string
    The obs endpoint url.
    Platform string
    The cluster image version.
    SwrAddr string
    The cluster swr_addr.
    SwrUser string
    The cluster swr_user.
    addonVersion String
    Supported addon version.
    clusterIp String
    The cluster ip.
    eulerosVersion String
    The euler os version.
    imageVersion String
    The cluster image version.
    obsUrl String
    The obs endpoint url.
    platform String
    The cluster image version.
    swrAddr String
    The cluster swr_addr.
    swrUser String
    The cluster swr_user.
    addonVersion string
    Supported addon version.
    clusterIp string
    The cluster ip.
    eulerosVersion string
    The euler os version.
    imageVersion string
    The cluster image version.
    obsUrl string
    The obs endpoint url.
    platform string
    The cluster image version.
    swrAddr string
    The cluster swr_addr.
    swrUser string
    The cluster swr_user.
    addon_version str
    Supported addon version.
    cluster_ip str
    The cluster ip.
    euleros_version str
    The euler os version.
    image_version str
    The cluster image version.
    obs_url str
    The obs endpoint url.
    platform str
    The cluster image version.
    swr_addr str
    The cluster swr_addr.
    swr_user str
    The cluster swr_user.
    addonVersion String
    Supported addon version.
    clusterIp String
    The cluster ip.
    eulerosVersion String
    The euler os version.
    imageVersion String
    The cluster image version.
    obsUrl String
    The obs endpoint url.
    platform String
    The cluster image version.
    swrAddr String
    The cluster swr_addr.
    swrUser String
    The cluster swr_user.

    Package Details

    Repository
    opentelekomcloud opentelekomcloud/terraform-provider-opentelekomcloud
    License
    Notes
    This Pulumi package is based on the opentelekomcloud Terraform Provider.
    opentelekomcloud logo
    opentelekomcloud 1.36.37 published on Thursday, Apr 24, 2025 by opentelekomcloud