Volcengine v0.0.31 published on Monday, May 12, 2025 by Volcengine
volcengine.vke.getAddons
Explore with Pulumi AI
Use this data source to query detailed information of vke addons
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as volcengine from "@pulumi/volcengine";
const default = volcengine.vke.getAddons({
clusterIds: ["cccctv1vqtofp49d96ujg"],
});
import pulumi
import pulumi_volcengine as volcengine
default = volcengine.vke.get_addons(cluster_ids=["cccctv1vqtofp49d96ujg"])
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/vke"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := vke.GetAddons(ctx, &vke.GetAddonsArgs{
ClusterIds: []string{
"cccctv1vqtofp49d96ujg",
},
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Volcengine = Pulumi.Volcengine;
return await Deployment.RunAsync(() =>
{
var @default = Volcengine.Vke.GetAddons.Invoke(new()
{
ClusterIds = new[]
{
"cccctv1vqtofp49d96ujg",
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.volcengine.vke.VkeFunctions;
import com.pulumi.volcengine.vke.inputs.GetAddonsArgs;
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 default = VkeFunctions.getAddons(GetAddonsArgs.builder()
.clusterIds("cccctv1vqtofp49d96ujg")
.build());
}
}
variables:
default:
fn::invoke:
Function: volcengine:vke:getAddons
Arguments:
clusterIds:
- cccctv1vqtofp49d96ujg
Using getAddons
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 getAddons(args: GetAddonsArgs, opts?: InvokeOptions): Promise<GetAddonsResult>
function getAddonsOutput(args: GetAddonsOutputArgs, opts?: InvokeOptions): Output<GetAddonsResult>
def get_addons(cluster_ids: Optional[Sequence[str]] = None,
create_client_token: Optional[str] = None,
deploy_modes: Optional[Sequence[str]] = None,
deploy_node_types: Optional[Sequence[str]] = None,
name_regex: Optional[str] = None,
names: Optional[Sequence[str]] = None,
output_file: Optional[str] = None,
statuses: Optional[Sequence[GetAddonsStatus]] = None,
update_client_token: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetAddonsResult
def get_addons_output(cluster_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
create_client_token: Optional[pulumi.Input[str]] = None,
deploy_modes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
deploy_node_types: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
name_regex: Optional[pulumi.Input[str]] = None,
names: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
output_file: Optional[pulumi.Input[str]] = None,
statuses: Optional[pulumi.Input[Sequence[pulumi.Input[GetAddonsStatusArgs]]]] = None,
update_client_token: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetAddonsResult]
func GetAddons(ctx *Context, args *GetAddonsArgs, opts ...InvokeOption) (*GetAddonsResult, error)
func GetAddonsOutput(ctx *Context, args *GetAddonsOutputArgs, opts ...InvokeOption) GetAddonsResultOutput
> Note: This function is named GetAddons
in the Go SDK.
public static class GetAddons
{
public static Task<GetAddonsResult> InvokeAsync(GetAddonsArgs args, InvokeOptions? opts = null)
public static Output<GetAddonsResult> Invoke(GetAddonsInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetAddonsResult> getAddons(GetAddonsArgs args, InvokeOptions options)
public static Output<GetAddonsResult> getAddons(GetAddonsArgs args, InvokeOptions options)
fn::invoke:
function: volcengine:vke/getAddons:getAddons
arguments:
# arguments dictionary
The following arguments are supported:
- Cluster
Ids List<string> - The IDs of Cluster.
- Create
Client stringToken - ClientToken when the addon is created successfully. ClientToken is a string that guarantees the idempotency of the request. This string is passed in by the caller.
- Deploy
Modes List<string> - The deploy model, the value is
Managed
orUnmanaged
. - Deploy
Node List<string>Types - The deploy node types, the value is
Node
orVirtualNode
. Only effected when deploy_mode isUnmanaged
. - Name
Regex string - A Name Regex of addon.
- Names List<string>
- The Names of addons.
- Output
File string - File name where to save data source results.
- Statuses
List<Get
Addons Status> - Array of addon states to filter.
- Update
Client stringToken - The ClientToken when the last addon update succeeded. ClientToken is a string that guarantees the idempotency of the request. This string is passed in by the caller.
- Cluster
Ids []string - The IDs of Cluster.
- Create
Client stringToken - ClientToken when the addon is created successfully. ClientToken is a string that guarantees the idempotency of the request. This string is passed in by the caller.
- Deploy
Modes []string - The deploy model, the value is
Managed
orUnmanaged
. - Deploy
Node []stringTypes - The deploy node types, the value is
Node
orVirtualNode
. Only effected when deploy_mode isUnmanaged
. - Name
Regex string - A Name Regex of addon.
- Names []string
- The Names of addons.
- Output
File string - File name where to save data source results.
- Statuses
[]Get
Addons Status - Array of addon states to filter.
- Update
Client stringToken - The ClientToken when the last addon update succeeded. ClientToken is a string that guarantees the idempotency of the request. This string is passed in by the caller.
- cluster
Ids List<String> - The IDs of Cluster.
- create
Client StringToken - ClientToken when the addon is created successfully. ClientToken is a string that guarantees the idempotency of the request. This string is passed in by the caller.
- deploy
Modes List<String> - The deploy model, the value is
Managed
orUnmanaged
. - deploy
Node List<String>Types - The deploy node types, the value is
Node
orVirtualNode
. Only effected when deploy_mode isUnmanaged
. - name
Regex String - A Name Regex of addon.
- names List<String>
- The Names of addons.
- output
File String - File name where to save data source results.
- statuses
List<Get
Addons Status> - Array of addon states to filter.
- update
Client StringToken - The ClientToken when the last addon update succeeded. ClientToken is a string that guarantees the idempotency of the request. This string is passed in by the caller.
- cluster
Ids string[] - The IDs of Cluster.
- create
Client stringToken - ClientToken when the addon is created successfully. ClientToken is a string that guarantees the idempotency of the request. This string is passed in by the caller.
- deploy
Modes string[] - The deploy model, the value is
Managed
orUnmanaged
. - deploy
Node string[]Types - The deploy node types, the value is
Node
orVirtualNode
. Only effected when deploy_mode isUnmanaged
. - name
Regex string - A Name Regex of addon.
- names string[]
- The Names of addons.
- output
File string - File name where to save data source results.
- statuses
Get
Addons Status[] - Array of addon states to filter.
- update
Client stringToken - The ClientToken when the last addon update succeeded. ClientToken is a string that guarantees the idempotency of the request. This string is passed in by the caller.
- cluster_
ids Sequence[str] - The IDs of Cluster.
- create_
client_ strtoken - ClientToken when the addon is created successfully. ClientToken is a string that guarantees the idempotency of the request. This string is passed in by the caller.
- deploy_
modes Sequence[str] - The deploy model, the value is
Managed
orUnmanaged
. - deploy_
node_ Sequence[str]types - The deploy node types, the value is
Node
orVirtualNode
. Only effected when deploy_mode isUnmanaged
. - name_
regex str - A Name Regex of addon.
- names Sequence[str]
- The Names of addons.
- output_
file str - File name where to save data source results.
- statuses
Sequence[Get
Addons Status] - Array of addon states to filter.
- update_
client_ strtoken - The ClientToken when the last addon update succeeded. ClientToken is a string that guarantees the idempotency of the request. This string is passed in by the caller.
- cluster
Ids List<String> - The IDs of Cluster.
- create
Client StringToken - ClientToken when the addon is created successfully. ClientToken is a string that guarantees the idempotency of the request. This string is passed in by the caller.
- deploy
Modes List<String> - The deploy model, the value is
Managed
orUnmanaged
. - deploy
Node List<String>Types - The deploy node types, the value is
Node
orVirtualNode
. Only effected when deploy_mode isUnmanaged
. - name
Regex String - A Name Regex of addon.
- names List<String>
- The Names of addons.
- output
File String - File name where to save data source results.
- statuses List<Property Map>
- Array of addon states to filter.
- update
Client StringToken - The ClientToken when the last addon update succeeded. ClientToken is a string that guarantees the idempotency of the request. This string is passed in by the caller.
getAddons Result
The following output properties are available:
- Addons
List<Get
Addons Addon> - The collection of addon query.
- Id string
- The provider-assigned unique ID for this managed resource.
- Total
Count int - The total count of addon query.
- Cluster
Ids List<string> - Create
Client stringToken - Deploy
Modes List<string> - Deploy
Node List<string>Types - Name
Regex string - Names List<string>
- Output
File string - Statuses
List<Get
Addons Status> - Update
Client stringToken
- Addons
[]Get
Addons Addon - The collection of addon query.
- Id string
- The provider-assigned unique ID for this managed resource.
- Total
Count int - The total count of addon query.
- Cluster
Ids []string - Create
Client stringToken - Deploy
Modes []string - Deploy
Node []stringTypes - Name
Regex string - Names []string
- Output
File string - Statuses
[]Get
Addons Status - Update
Client stringToken
- addons
List<Get
Addons Addon> - The collection of addon query.
- id String
- The provider-assigned unique ID for this managed resource.
- total
Count Integer - The total count of addon query.
- cluster
Ids List<String> - create
Client StringToken - deploy
Modes List<String> - deploy
Node List<String>Types - name
Regex String - names List<String>
- output
File String - statuses
List<Get
Addons Status> - update
Client StringToken
- addons
Get
Addons Addon[] - The collection of addon query.
- id string
- The provider-assigned unique ID for this managed resource.
- total
Count number - The total count of addon query.
- cluster
Ids string[] - create
Client stringToken - deploy
Modes string[] - deploy
Node string[]Types - name
Regex string - names string[]
- output
File string - statuses
Get
Addons Status[] - update
Client stringToken
- addons
Sequence[Get
Addons Addon] - The collection of addon query.
- id str
- The provider-assigned unique ID for this managed resource.
- total_
count int - The total count of addon query.
- cluster_
ids Sequence[str] - create_
client_ strtoken - deploy_
modes Sequence[str] - deploy_
node_ Sequence[str]types - name_
regex str - names Sequence[str]
- output_
file str - statuses
Sequence[Get
Addons Status] - update_
client_ strtoken
- addons List<Property Map>
- The collection of addon query.
- id String
- The provider-assigned unique ID for this managed resource.
- total
Count Number - The total count of addon query.
- cluster
Ids List<String> - create
Client StringToken - deploy
Modes List<String> - deploy
Node List<String>Types - name
Regex String - names List<String>
- output
File String - statuses List<Property Map>
- update
Client StringToken
Supporting Types
GetAddonsAddon
- Cluster
Id string - The ID of the Cluster.
- Config string
- The config of addon.
- Create
Time string - Addon creation time. UTC+0 time in standard RFC3339 format.
- Deploy
Mode string - The deploy mode.
- Deploy
Node stringType - The deploy node type.
- Name string
- The name of the cluster.
- Status
Get
Addons Addon Status - The status of the addon.
- Update
Time string - The last time a request was accepted by the addon and executed or completed. UTC+0 time in standard RFC3339 format.
- Version string
- The name of the cluster.
- Create
Client stringToken - ClientToken when the addon is created successfully. ClientToken is a string that guarantees the idempotency of the request. This string is passed in by the caller.
- Update
Client stringToken - The ClientToken when the last addon update succeeded. ClientToken is a string that guarantees the idempotency of the request. This string is passed in by the caller.
- Cluster
Id string - The ID of the Cluster.
- Config string
- The config of addon.
- Create
Time string - Addon creation time. UTC+0 time in standard RFC3339 format.
- Deploy
Mode string - The deploy mode.
- Deploy
Node stringType - The deploy node type.
- Name string
- The name of the cluster.
- Status
Get
Addons Addon Status - The status of the addon.
- Update
Time string - The last time a request was accepted by the addon and executed or completed. UTC+0 time in standard RFC3339 format.
- Version string
- The name of the cluster.
- Create
Client stringToken - ClientToken when the addon is created successfully. ClientToken is a string that guarantees the idempotency of the request. This string is passed in by the caller.
- Update
Client stringToken - The ClientToken when the last addon update succeeded. ClientToken is a string that guarantees the idempotency of the request. This string is passed in by the caller.
- cluster
Id String - The ID of the Cluster.
- config String
- The config of addon.
- create
Time String - Addon creation time. UTC+0 time in standard RFC3339 format.
- deploy
Mode String - The deploy mode.
- deploy
Node StringType - The deploy node type.
- name String
- The name of the cluster.
- status
Get
Addons Addon Status - The status of the addon.
- update
Time String - The last time a request was accepted by the addon and executed or completed. UTC+0 time in standard RFC3339 format.
- version String
- The name of the cluster.
- create
Client StringToken - ClientToken when the addon is created successfully. ClientToken is a string that guarantees the idempotency of the request. This string is passed in by the caller.
- update
Client StringToken - The ClientToken when the last addon update succeeded. ClientToken is a string that guarantees the idempotency of the request. This string is passed in by the caller.
- cluster
Id string - The ID of the Cluster.
- config string
- The config of addon.
- create
Time string - Addon creation time. UTC+0 time in standard RFC3339 format.
- deploy
Mode string - The deploy mode.
- deploy
Node stringType - The deploy node type.
- name string
- The name of the cluster.
- status
Get
Addons Addon Status - The status of the addon.
- update
Time string - The last time a request was accepted by the addon and executed or completed. UTC+0 time in standard RFC3339 format.
- version string
- The name of the cluster.
- create
Client stringToken - ClientToken when the addon is created successfully. ClientToken is a string that guarantees the idempotency of the request. This string is passed in by the caller.
- update
Client stringToken - The ClientToken when the last addon update succeeded. ClientToken is a string that guarantees the idempotency of the request. This string is passed in by the caller.
- cluster_
id str - The ID of the Cluster.
- config str
- The config of addon.
- create_
time str - Addon creation time. UTC+0 time in standard RFC3339 format.
- deploy_
mode str - The deploy mode.
- deploy_
node_ strtype - The deploy node type.
- name str
- The name of the cluster.
- status
Get
Addons Addon Status - The status of the addon.
- update_
time str - The last time a request was accepted by the addon and executed or completed. UTC+0 time in standard RFC3339 format.
- version str
- The name of the cluster.
- create_
client_ strtoken - ClientToken when the addon is created successfully. ClientToken is a string that guarantees the idempotency of the request. This string is passed in by the caller.
- update_
client_ strtoken - The ClientToken when the last addon update succeeded. ClientToken is a string that guarantees the idempotency of the request. This string is passed in by the caller.
- cluster
Id String - The ID of the Cluster.
- config String
- The config of addon.
- create
Time String - Addon creation time. UTC+0 time in standard RFC3339 format.
- deploy
Mode String - The deploy mode.
- deploy
Node StringType - The deploy node type.
- name String
- The name of the cluster.
- status Property Map
- The status of the addon.
- update
Time String - The last time a request was accepted by the addon and executed or completed. UTC+0 time in standard RFC3339 format.
- version String
- The name of the cluster.
- create
Client StringToken - ClientToken when the addon is created successfully. ClientToken is a string that guarantees the idempotency of the request. This string is passed in by the caller.
- update
Client StringToken - The ClientToken when the last addon update succeeded. ClientToken is a string that guarantees the idempotency of the request. This string is passed in by the caller.
GetAddonsAddonStatus
- Conditions
List<Get
Addons Addon Status Condition> - The state condition in the current primary state of the cluster, that is, the reason for entering the primary state.
- Phase string
- The status of addon. the value contains
Creating
,Running
,Updating
,Deleting
,Failed
.
- Conditions
[]Get
Addons Addon Status Condition - The state condition in the current primary state of the cluster, that is, the reason for entering the primary state.
- Phase string
- The status of addon. the value contains
Creating
,Running
,Updating
,Deleting
,Failed
.
- conditions
List<Get
Addons Addon Status Condition> - The state condition in the current primary state of the cluster, that is, the reason for entering the primary state.
- phase String
- The status of addon. the value contains
Creating
,Running
,Updating
,Deleting
,Failed
.
- conditions
Get
Addons Addon Status Condition[] - The state condition in the current primary state of the cluster, that is, the reason for entering the primary state.
- phase string
- The status of addon. the value contains
Creating
,Running
,Updating
,Deleting
,Failed
.
- conditions
Sequence[Get
Addons Addon Status Condition] - The state condition in the current primary state of the cluster, that is, the reason for entering the primary state.
- phase str
- The status of addon. the value contains
Creating
,Running
,Updating
,Deleting
,Failed
.
- conditions List<Property Map>
- The state condition in the current primary state of the cluster, that is, the reason for entering the primary state.
- phase String
- The status of addon. the value contains
Creating
,Running
,Updating
,Deleting
,Failed
.
GetAddonsAddonStatusCondition
- Type string
- The state condition in the current main state of the addon, that is, the reason for entering the main state, there can be multiple reasons, the value contains
Progressing
,Ok
,Degraded
,Unknown
,ClusterNotRunning
,CrashLoopBackOff
,SchedulingFailed
,NameConflict
,ResourceCleanupFailed
,ClusterVersionUpgrading
.
- Type string
- The state condition in the current main state of the addon, that is, the reason for entering the main state, there can be multiple reasons, the value contains
Progressing
,Ok
,Degraded
,Unknown
,ClusterNotRunning
,CrashLoopBackOff
,SchedulingFailed
,NameConflict
,ResourceCleanupFailed
,ClusterVersionUpgrading
.
- type String
- The state condition in the current main state of the addon, that is, the reason for entering the main state, there can be multiple reasons, the value contains
Progressing
,Ok
,Degraded
,Unknown
,ClusterNotRunning
,CrashLoopBackOff
,SchedulingFailed
,NameConflict
,ResourceCleanupFailed
,ClusterVersionUpgrading
.
- type string
- The state condition in the current main state of the addon, that is, the reason for entering the main state, there can be multiple reasons, the value contains
Progressing
,Ok
,Degraded
,Unknown
,ClusterNotRunning
,CrashLoopBackOff
,SchedulingFailed
,NameConflict
,ResourceCleanupFailed
,ClusterVersionUpgrading
.
- type str
- The state condition in the current main state of the addon, that is, the reason for entering the main state, there can be multiple reasons, the value contains
Progressing
,Ok
,Degraded
,Unknown
,ClusterNotRunning
,CrashLoopBackOff
,SchedulingFailed
,NameConflict
,ResourceCleanupFailed
,ClusterVersionUpgrading
.
- type String
- The state condition in the current main state of the addon, that is, the reason for entering the main state, there can be multiple reasons, the value contains
Progressing
,Ok
,Degraded
,Unknown
,ClusterNotRunning
,CrashLoopBackOff
,SchedulingFailed
,NameConflict
,ResourceCleanupFailed
,ClusterVersionUpgrading
.
GetAddonsStatus
- Conditions
Type string - The state condition in the current main state of the addon, that is, the reason for entering the main state, there can be multiple reasons, the value contains
Progressing
,Ok
,Degraded
,Unknown
,ClusterNotRunning
,CrashLoopBackOff
,SchedulingFailed
,NameConflict
,ResourceCleanupFailed
,ClusterVersionUpgrading
. - Phase string
- The status of addon. the value contains
Creating
,Running
,Updating
,Deleting
,Failed
.
- Conditions
Type string - The state condition in the current main state of the addon, that is, the reason for entering the main state, there can be multiple reasons, the value contains
Progressing
,Ok
,Degraded
,Unknown
,ClusterNotRunning
,CrashLoopBackOff
,SchedulingFailed
,NameConflict
,ResourceCleanupFailed
,ClusterVersionUpgrading
. - Phase string
- The status of addon. the value contains
Creating
,Running
,Updating
,Deleting
,Failed
.
- conditions
Type String - The state condition in the current main state of the addon, that is, the reason for entering the main state, there can be multiple reasons, the value contains
Progressing
,Ok
,Degraded
,Unknown
,ClusterNotRunning
,CrashLoopBackOff
,SchedulingFailed
,NameConflict
,ResourceCleanupFailed
,ClusterVersionUpgrading
. - phase String
- The status of addon. the value contains
Creating
,Running
,Updating
,Deleting
,Failed
.
- conditions
Type string - The state condition in the current main state of the addon, that is, the reason for entering the main state, there can be multiple reasons, the value contains
Progressing
,Ok
,Degraded
,Unknown
,ClusterNotRunning
,CrashLoopBackOff
,SchedulingFailed
,NameConflict
,ResourceCleanupFailed
,ClusterVersionUpgrading
. - phase string
- The status of addon. the value contains
Creating
,Running
,Updating
,Deleting
,Failed
.
- conditions_
type str - The state condition in the current main state of the addon, that is, the reason for entering the main state, there can be multiple reasons, the value contains
Progressing
,Ok
,Degraded
,Unknown
,ClusterNotRunning
,CrashLoopBackOff
,SchedulingFailed
,NameConflict
,ResourceCleanupFailed
,ClusterVersionUpgrading
. - phase str
- The status of addon. the value contains
Creating
,Running
,Updating
,Deleting
,Failed
.
- conditions
Type String - The state condition in the current main state of the addon, that is, the reason for entering the main state, there can be multiple reasons, the value contains
Progressing
,Ok
,Degraded
,Unknown
,ClusterNotRunning
,CrashLoopBackOff
,SchedulingFailed
,NameConflict
,ResourceCleanupFailed
,ClusterVersionUpgrading
. - phase String
- The status of addon. the value contains
Creating
,Running
,Updating
,Deleting
,Failed
.
Package Details
- Repository
- volcengine volcengine/pulumi-volcengine
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
volcengine
Terraform Provider.