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 string
- The unique name of the resource.
- args KubernetesAddonConfigArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args 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 string
- The unique name of the resource.
- args KubernetesAddonConfigArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args KubernetesAddonConfigArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args 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:
- Addon
Name string - Name of addon.
- Cluster
Id string - ID of cluster.
- Addon
Version string - Version of addon.
- Kubernetes
Addon stringConfig Id - ID of the resource.
- Raw
Values string - Params of addon, base64 encoded json format.
- Addon
Name string - Name of addon.
- Cluster
Id string - ID of cluster.
- Addon
Version string - Version of addon.
- Kubernetes
Addon stringConfig Id - ID of the resource.
- Raw
Values string - Params of addon, base64 encoded json format.
- addon
Name String - Name of addon.
- cluster
Id String - ID of cluster.
- addon
Version String - Version of addon.
- kubernetes
Addon StringConfig Id - ID of the resource.
- raw
Values String - Params of addon, base64 encoded json format.
- addon
Name string - Name of addon.
- cluster
Id string - ID of cluster.
- addon
Version string - Version of addon.
- kubernetes
Addon stringConfig Id - ID of the resource.
- raw
Values string - Params of addon, base64 encoded json format.
- addon_
name str - Name of addon.
- cluster_
id str - ID of cluster.
- addon_
version str - Version of addon.
- kubernetes_
addon_ strconfig_ id - ID of the resource.
- raw_
values str - Params of addon, base64 encoded json format.
- addon
Name String - Name of addon.
- cluster
Id String - ID of cluster.
- addon
Version String - Version of addon.
- kubernetes
Addon StringConfig Id - ID of the resource.
- raw
Values 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:
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
- The unique name of the resulting resource.
- id
- 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
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- 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
- The unique name of the resulting resource.
- id
- 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
- The unique name of the resulting resource.
- id
- 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.
- Addon
Name string - Name of addon.
- Addon
Version string - Version of addon.
- Cluster
Id string - ID of cluster.
- Kubernetes
Addon stringConfig Id - ID of the resource.
- Phase string
- Status of addon.
- Raw
Values string - Params of addon, base64 encoded json format.
- Reason string
- Reason of addon failed.
- Addon
Name string - Name of addon.
- Addon
Version string - Version of addon.
- Cluster
Id string - ID of cluster.
- Kubernetes
Addon stringConfig Id - ID of the resource.
- Phase string
- Status of addon.
- Raw
Values string - Params of addon, base64 encoded json format.
- Reason string
- Reason of addon failed.
- addon
Name String - Name of addon.
- addon
Version String - Version of addon.
- cluster
Id String - ID of cluster.
- kubernetes
Addon StringConfig Id - ID of the resource.
- phase String
- Status of addon.
- raw
Values String - Params of addon, base64 encoded json format.
- reason String
- Reason of addon failed.
- addon
Name string - Name of addon.
- addon
Version string - Version of addon.
- cluster
Id string - ID of cluster.
- kubernetes
Addon stringConfig Id - ID of the resource.
- phase string
- Status of addon.
- raw
Values 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_ strconfig_ id - 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.
- addon
Name String - Name of addon.
- addon
Version String - Version of addon.
- cluster
Id String - ID of cluster.
- kubernetes
Addon StringConfig Id - ID of the resource.
- phase String
- Status of addon.
- raw
Values 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.