Alibaba Cloud v3.57.1 published on Wednesday, Jun 26, 2024 by Pulumi
alicloud.cs.getKubernetesAddons
Explore with Pulumi AI
This data source provides a list of available addons that the cluster can install.
NOTE: Available since v1.150.0. NOTE: From version v1.166.0, support for returning custom configuration of kubernetes cluster addon.
Using getKubernetesAddons
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 getKubernetesAddons(args: GetKubernetesAddonsArgs, opts?: InvokeOptions): Promise<GetKubernetesAddonsResult>
function getKubernetesAddonsOutput(args: GetKubernetesAddonsOutputArgs, opts?: InvokeOptions): Output<GetKubernetesAddonsResult>
def get_kubernetes_addons(cluster_id: Optional[str] = None,
ids: Optional[Sequence[str]] = None,
name_regex: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetKubernetesAddonsResult
def get_kubernetes_addons_output(cluster_id: Optional[pulumi.Input[str]] = None,
ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
name_regex: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetKubernetesAddonsResult]
func GetKubernetesAddons(ctx *Context, args *GetKubernetesAddonsArgs, opts ...InvokeOption) (*GetKubernetesAddonsResult, error)
func GetKubernetesAddonsOutput(ctx *Context, args *GetKubernetesAddonsOutputArgs, opts ...InvokeOption) GetKubernetesAddonsResultOutput
> Note: This function is named GetKubernetesAddons
in the Go SDK.
public static class GetKubernetesAddons
{
public static Task<GetKubernetesAddonsResult> InvokeAsync(GetKubernetesAddonsArgs args, InvokeOptions? opts = null)
public static Output<GetKubernetesAddonsResult> Invoke(GetKubernetesAddonsInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetKubernetesAddonsResult> getKubernetesAddons(GetKubernetesAddonsArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: alicloud:cs/getKubernetesAddons:getKubernetesAddons
arguments:
# arguments dictionary
The following arguments are supported:
- cluster_
id str - The id of kubernetes cluster.
- ids Sequence[str]
- A list of addon IDs. The id of addon consists of the cluster id and the addon name, with the structure <cluster_ud>:<addon_name>.
- name_
regex str - A regex string to filter results by addon name.
getKubernetesAddons Result
The following output properties are available:
- addons
Sequence[Get
Kubernetes Addons Addon] - A list of addons.
- cluster_
id str - The id of kubernetes cluster.
- id str
- The provider-assigned unique ID for this managed resource.
- ids Sequence[str]
- names Sequence[str]
- A list of addon names.
- name_
regex str
Supporting Types
GetKubernetesAddonsAddon
- Current
Config string - The current custom configuration of the addon. Note: Available in v1.166.0+
- Current
Version string - The current version of addon, if this field is an empty string, it means that the addon is not installed.
- Name string
- The name of addon.
- Next
Version string - The next version of this addon can be upgraded to.
- Required bool
- Whether the addon is a system addon.
- Current
Config string - The current custom configuration of the addon. Note: Available in v1.166.0+
- Current
Version string - The current version of addon, if this field is an empty string, it means that the addon is not installed.
- Name string
- The name of addon.
- Next
Version string - The next version of this addon can be upgraded to.
- Required bool
- Whether the addon is a system addon.
- current
Config String - The current custom configuration of the addon. Note: Available in v1.166.0+
- current
Version String - The current version of addon, if this field is an empty string, it means that the addon is not installed.
- name String
- The name of addon.
- next
Version String - The next version of this addon can be upgraded to.
- required Boolean
- Whether the addon is a system addon.
- current
Config string - The current custom configuration of the addon. Note: Available in v1.166.0+
- current
Version string - The current version of addon, if this field is an empty string, it means that the addon is not installed.
- name string
- The name of addon.
- next
Version string - The next version of this addon can be upgraded to.
- required boolean
- Whether the addon is a system addon.
- current_
config str - The current custom configuration of the addon. Note: Available in v1.166.0+
- current_
version str - The current version of addon, if this field is an empty string, it means that the addon is not installed.
- name str
- The name of addon.
- next_
version str - The next version of this addon can be upgraded to.
- required bool
- Whether the addon is a system addon.
- current
Config String - The current custom configuration of the addon. Note: Available in v1.166.0+
- current
Version String - The current version of addon, if this field is an empty string, it means that the addon is not installed.
- name String
- The name of addon.
- next
Version String - The next version of this addon can be upgraded to.
- required Boolean
- Whether the addon is a system addon.
Package Details
- Repository
- Alibaba Cloud pulumi/pulumi-alicloud
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
alicloud
Terraform Provider.