1. Packages
  2. Tencentcloud Provider
  3. API Docs
  4. KubernetesAddonConfig
tencentcloud 1.81.182 published on Monday, Apr 14, 2025 by tencentcloudstack

tencentcloud.KubernetesAddonConfig

Explore with Pulumi AI

Provide a resource to configure addon that kubernetes comes with.

Example Usage

Create KubernetesAddonConfig Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new KubernetesAddonConfig(name: string, args: KubernetesAddonConfigArgs, opts?: CustomResourceOptions);
@overload
def KubernetesAddonConfig(resource_name: str,
                          args: KubernetesAddonConfigArgs,
                          opts: Optional[ResourceOptions] = None)

@overload
def KubernetesAddonConfig(resource_name: str,
                          opts: Optional[ResourceOptions] = None,
                          addon_name: Optional[str] = None,
                          cluster_id: Optional[str] = None,
                          addon_version: Optional[str] = None,
                          kubernetes_addon_config_id: Optional[str] = None,
                          raw_values: Optional[str] = None)
func NewKubernetesAddonConfig(ctx *Context, name string, args KubernetesAddonConfigArgs, opts ...ResourceOption) (*KubernetesAddonConfig, error)
public KubernetesAddonConfig(string name, KubernetesAddonConfigArgs args, CustomResourceOptions? opts = null)
public KubernetesAddonConfig(String name, KubernetesAddonConfigArgs args)
public KubernetesAddonConfig(String name, KubernetesAddonConfigArgs args, CustomResourceOptions options)
type: tencentcloud:KubernetesAddonConfig
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. KubernetesAddonConfigArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. KubernetesAddonConfigArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. KubernetesAddonConfigArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. KubernetesAddonConfigArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. KubernetesAddonConfigArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

KubernetesAddonConfig Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The KubernetesAddonConfig resource accepts the following input properties:

AddonName This property is required. string
Name of addon.
ClusterId This property is required. string
ID of cluster.
AddonVersion string
Version of addon.
KubernetesAddonConfigId string
ID of the resource.
RawValues string
Params of addon, base64 encoded json format.
AddonName This property is required. string
Name of addon.
ClusterId This property is required. string
ID of cluster.
AddonVersion string
Version of addon.
KubernetesAddonConfigId string
ID of the resource.
RawValues string
Params of addon, base64 encoded json format.
addonName This property is required. String
Name of addon.
clusterId This property is required. String
ID of cluster.
addonVersion String
Version of addon.
kubernetesAddonConfigId String
ID of the resource.
rawValues String
Params of addon, base64 encoded json format.
addonName This property is required. string
Name of addon.
clusterId This property is required. string
ID of cluster.
addonVersion string
Version of addon.
kubernetesAddonConfigId string
ID of the resource.
rawValues string
Params of addon, base64 encoded json format.
addon_name This property is required. str
Name of addon.
cluster_id This property is required. str
ID of cluster.
addon_version str
Version of addon.
kubernetes_addon_config_id str
ID of the resource.
raw_values str
Params of addon, base64 encoded json format.
addonName This property is required. String
Name of addon.
clusterId This property is required. String
ID of cluster.
addonVersion String
Version of addon.
kubernetesAddonConfigId String
ID of the resource.
rawValues String
Params of addon, base64 encoded json format.

Outputs

All input properties are implicitly available as output properties. Additionally, the KubernetesAddonConfig resource produces the following output properties:

Id string
The provider-assigned unique ID for this managed resource.
Phase string
Status of addon.
Reason string
Reason of addon failed.
Id string
The provider-assigned unique ID for this managed resource.
Phase string
Status of addon.
Reason string
Reason of addon failed.
id String
The provider-assigned unique ID for this managed resource.
phase String
Status of addon.
reason String
Reason of addon failed.
id string
The provider-assigned unique ID for this managed resource.
phase string
Status of addon.
reason string
Reason of addon failed.
id str
The provider-assigned unique ID for this managed resource.
phase str
Status of addon.
reason str
Reason of addon failed.
id String
The provider-assigned unique ID for this managed resource.
phase String
Status of addon.
reason String
Reason of addon failed.

Look up Existing KubernetesAddonConfig Resource

Get an existing KubernetesAddonConfig resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: KubernetesAddonConfigState, opts?: CustomResourceOptions): KubernetesAddonConfig
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        addon_name: Optional[str] = None,
        addon_version: Optional[str] = None,
        cluster_id: Optional[str] = None,
        kubernetes_addon_config_id: Optional[str] = None,
        phase: Optional[str] = None,
        raw_values: Optional[str] = None,
        reason: Optional[str] = None) -> KubernetesAddonConfig
func GetKubernetesAddonConfig(ctx *Context, name string, id IDInput, state *KubernetesAddonConfigState, opts ...ResourceOption) (*KubernetesAddonConfig, error)
public static KubernetesAddonConfig Get(string name, Input<string> id, KubernetesAddonConfigState? state, CustomResourceOptions? opts = null)
public static KubernetesAddonConfig get(String name, Output<String> id, KubernetesAddonConfigState state, CustomResourceOptions options)
resources:  _:    type: tencentcloud:KubernetesAddonConfig    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
AddonName string
Name of addon.
AddonVersion string
Version of addon.
ClusterId string
ID of cluster.
KubernetesAddonConfigId string
ID of the resource.
Phase string
Status of addon.
RawValues string
Params of addon, base64 encoded json format.
Reason string
Reason of addon failed.
AddonName string
Name of addon.
AddonVersion string
Version of addon.
ClusterId string
ID of cluster.
KubernetesAddonConfigId string
ID of the resource.
Phase string
Status of addon.
RawValues string
Params of addon, base64 encoded json format.
Reason string
Reason of addon failed.
addonName String
Name of addon.
addonVersion String
Version of addon.
clusterId String
ID of cluster.
kubernetesAddonConfigId String
ID of the resource.
phase String
Status of addon.
rawValues String
Params of addon, base64 encoded json format.
reason String
Reason of addon failed.
addonName string
Name of addon.
addonVersion string
Version of addon.
clusterId string
ID of cluster.
kubernetesAddonConfigId string
ID of the resource.
phase string
Status of addon.
rawValues string
Params of addon, base64 encoded json format.
reason string
Reason of addon failed.
addon_name str
Name of addon.
addon_version str
Version of addon.
cluster_id str
ID of cluster.
kubernetes_addon_config_id str
ID of the resource.
phase str
Status of addon.
raw_values str
Params of addon, base64 encoded json format.
reason str
Reason of addon failed.
addonName String
Name of addon.
addonVersion String
Version of addon.
clusterId String
ID of cluster.
kubernetesAddonConfigId String
ID of the resource.
phase String
Status of addon.
rawValues String
Params of addon, base64 encoded json format.
reason String
Reason of addon failed.

Package Details

Repository
tencentcloud tencentcloudstack/terraform-provider-tencentcloud
License
Notes
This Pulumi package is based on the tencentcloud Terraform Provider.