opentelekomcloud 1.36.37 published on Thursday, Apr 24, 2025 by opentelekomcloud
opentelekomcloud.getCceAddonTemplatesV3
Explore with Pulumi AI
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:
- Addon
Name string - The name of the CCE addon. For example:
autoscaler
. - Cluster
Version string - The version of the CCE cluster. For example:
1.23.6
. - Cluster
Type 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 string - The name of the CCE addon. For example:
autoscaler
. - Cluster
Version string - The version of the CCE cluster. For example:
1.23.6
. - Cluster
Type 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 String - The name of the CCE addon. For example:
autoscaler
. - cluster
Version String - The version of the CCE cluster. For example:
1.23.6
. - cluster
Type 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 string - The name of the CCE addon. For example:
autoscaler
. - cluster
Version string - The version of the CCE cluster. For example:
1.23.6
. - cluster
Type 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.
- addon
Name String - The name of the CCE addon. For example:
autoscaler
. - cluster
Version String - The version of the CCE cluster. For example:
1.23.6
. - cluster
Type 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:
- Addon
Name string - Addons
List<Get
Cce Addon Templates V3Addon> - List of CCE addons details. The object structure of each CCE addon is documented below.
- Cluster
Version string - Id string
- The data source ID.
- Cluster
Type string
- Addon
Name string - Addons
[]Get
Cce Addon Templates V3Addon - List of CCE addons details. The object structure of each CCE addon is documented below.
- Cluster
Version string - Id string
- The data source ID.
- Cluster
Type string
- addon
Name String - addons
List<Get
Cce Addon Templates V3Addon> - List of CCE addons details. The object structure of each CCE addon is documented below.
- cluster
Version String - id String
- The data source ID.
- cluster
Type String
- addon
Name string - addons
Get
Cce Addon Templates V3Addon[] - List of CCE addons details. The object structure of each CCE addon is documented below.
- cluster
Version string - id string
- The data source ID.
- cluster
Type string
- addon_
name str - addons
Sequence[Get
Cce Addon Templates V3Addon] - 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
- addon
Name String - addons List<Property Map>
- List of CCE addons details. The object structure of each CCE addon is documented below.
- cluster
Version String - id String
- The data source ID.
- cluster
Type String
Supporting Types
GetCceAddonTemplatesV3Addon
- Addon
Version string - Supported addon version.
- Cluster
Ip string - The cluster ip.
- Euleros
Version string - The euler os version.
- Image
Version string - The cluster image version.
- Obs
Url string - The obs endpoint url.
- Platform string
- The cluster image version.
- Swr
Addr string - The cluster
swr_addr
. - Swr
User string - The cluster
swr_user
.
- Addon
Version string - Supported addon version.
- Cluster
Ip string - The cluster ip.
- Euleros
Version string - The euler os version.
- Image
Version string - The cluster image version.
- Obs
Url string - The obs endpoint url.
- Platform string
- The cluster image version.
- Swr
Addr string - The cluster
swr_addr
. - Swr
User string - The cluster
swr_user
.
- addon
Version String - Supported addon version.
- cluster
Ip String - The cluster ip.
- euleros
Version String - The euler os version.
- image
Version String - The cluster image version.
- obs
Url String - The obs endpoint url.
- platform String
- The cluster image version.
- swr
Addr String - The cluster
swr_addr
. - swr
User String - The cluster
swr_user
.
- addon
Version string - Supported addon version.
- cluster
Ip string - The cluster ip.
- euleros
Version string - The euler os version.
- image
Version string - The cluster image version.
- obs
Url string - The obs endpoint url.
- platform string
- The cluster image version.
- swr
Addr string - The cluster
swr_addr
. - swr
User 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
.
- addon
Version String - Supported addon version.
- cluster
Ip String - The cluster ip.
- euleros
Version String - The euler os version.
- image
Version String - The cluster image version.
- obs
Url String - The obs endpoint url.
- platform String
- The cluster image version.
- swr
Addr String - The cluster
swr_addr
. - swr
User 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 1.36.37 published on Thursday, Apr 24, 2025 by opentelekomcloud