1. Packages
  2. Tencentcloud Provider
  3. API Docs
  4. getKubernetesClusterAuthenticationOptions
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack

tencentcloud.getKubernetesClusterAuthenticationOptions

Explore with Pulumi AI

tencentcloud logo
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack

    Use this data source to query detailed information of kubernetes cluster_authentication_options

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const clusterAuthenticationOptions = tencentcloud.getKubernetesClusterAuthenticationOptions({
        clusterId: "cls-kzilgv5m",
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    cluster_authentication_options = tencentcloud.get_kubernetes_cluster_authentication_options(cluster_id="cls-kzilgv5m")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/tencentcloud/tencentcloud"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := tencentcloud.GetKubernetesClusterAuthenticationOptions(ctx, &tencentcloud.GetKubernetesClusterAuthenticationOptionsArgs{
    			ClusterId: "cls-kzilgv5m",
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Tencentcloud = Pulumi.Tencentcloud;
    
    return await Deployment.RunAsync(() => 
    {
        var clusterAuthenticationOptions = Tencentcloud.GetKubernetesClusterAuthenticationOptions.Invoke(new()
        {
            ClusterId = "cls-kzilgv5m",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.tencentcloud.TencentcloudFunctions;
    import com.pulumi.tencentcloud.inputs.GetKubernetesClusterAuthenticationOptionsArgs;
    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 clusterAuthenticationOptions = TencentcloudFunctions.getKubernetesClusterAuthenticationOptions(GetKubernetesClusterAuthenticationOptionsArgs.builder()
                .clusterId("cls-kzilgv5m")
                .build());
    
        }
    }
    
    variables:
      clusterAuthenticationOptions:
        fn::invoke:
          function: tencentcloud:getKubernetesClusterAuthenticationOptions
          arguments:
            clusterId: cls-kzilgv5m
    

    Using getKubernetesClusterAuthenticationOptions

    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 getKubernetesClusterAuthenticationOptions(args: GetKubernetesClusterAuthenticationOptionsArgs, opts?: InvokeOptions): Promise<GetKubernetesClusterAuthenticationOptionsResult>
    function getKubernetesClusterAuthenticationOptionsOutput(args: GetKubernetesClusterAuthenticationOptionsOutputArgs, opts?: InvokeOptions): Output<GetKubernetesClusterAuthenticationOptionsResult>
    def get_kubernetes_cluster_authentication_options(cluster_id: Optional[str] = None,
                                                      id: Optional[str] = None,
                                                      result_output_file: Optional[str] = None,
                                                      opts: Optional[InvokeOptions] = None) -> GetKubernetesClusterAuthenticationOptionsResult
    def get_kubernetes_cluster_authentication_options_output(cluster_id: Optional[pulumi.Input[str]] = None,
                                                      id: Optional[pulumi.Input[str]] = None,
                                                      result_output_file: Optional[pulumi.Input[str]] = None,
                                                      opts: Optional[InvokeOptions] = None) -> Output[GetKubernetesClusterAuthenticationOptionsResult]
    func GetKubernetesClusterAuthenticationOptions(ctx *Context, args *GetKubernetesClusterAuthenticationOptionsArgs, opts ...InvokeOption) (*GetKubernetesClusterAuthenticationOptionsResult, error)
    func GetKubernetesClusterAuthenticationOptionsOutput(ctx *Context, args *GetKubernetesClusterAuthenticationOptionsOutputArgs, opts ...InvokeOption) GetKubernetesClusterAuthenticationOptionsResultOutput

    > Note: This function is named GetKubernetesClusterAuthenticationOptions in the Go SDK.

    public static class GetKubernetesClusterAuthenticationOptions 
    {
        public static Task<GetKubernetesClusterAuthenticationOptionsResult> InvokeAsync(GetKubernetesClusterAuthenticationOptionsArgs args, InvokeOptions? opts = null)
        public static Output<GetKubernetesClusterAuthenticationOptionsResult> Invoke(GetKubernetesClusterAuthenticationOptionsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetKubernetesClusterAuthenticationOptionsResult> getKubernetesClusterAuthenticationOptions(GetKubernetesClusterAuthenticationOptionsArgs args, InvokeOptions options)
    public static Output<GetKubernetesClusterAuthenticationOptionsResult> getKubernetesClusterAuthenticationOptions(GetKubernetesClusterAuthenticationOptionsArgs args, InvokeOptions options)
    
    fn::invoke:
      function: tencentcloud:index/getKubernetesClusterAuthenticationOptions:getKubernetesClusterAuthenticationOptions
      arguments:
        # arguments dictionary

    The following arguments are supported:

    ClusterId string
    Cluster ID.
    Id string
    ResultOutputFile string
    Used to save results.
    ClusterId string
    Cluster ID.
    Id string
    ResultOutputFile string
    Used to save results.
    clusterId String
    Cluster ID.
    id String
    resultOutputFile String
    Used to save results.
    clusterId string
    Cluster ID.
    id string
    resultOutputFile string
    Used to save results.
    cluster_id str
    Cluster ID.
    id str
    result_output_file str
    Used to save results.
    clusterId String
    Cluster ID.
    id String
    resultOutputFile String
    Used to save results.

    getKubernetesClusterAuthenticationOptions Result

    The following output properties are available:

    ClusterId string
    Id string
    LatestOperationState string
    Result of the last modification. Values: Updating, Success, Failed or TimeOut. Note: this field may return null, indicating that no valid values can be obtained.
    OidcConfigs List<GetKubernetesClusterAuthenticationOptionsOidcConfig>
    OIDC authentication configurations. Note: This field may return null, indicating that no valid value can be obtained.
    ServiceAccounts List<GetKubernetesClusterAuthenticationOptionsServiceAccount>
    ServiceAccount authentication configuration. Note: this field may return null, indicating that no valid values can be obtained.
    ResultOutputFile string
    ClusterId string
    Id string
    LatestOperationState string
    Result of the last modification. Values: Updating, Success, Failed or TimeOut. Note: this field may return null, indicating that no valid values can be obtained.
    OidcConfigs []GetKubernetesClusterAuthenticationOptionsOidcConfig
    OIDC authentication configurations. Note: This field may return null, indicating that no valid value can be obtained.
    ServiceAccounts []GetKubernetesClusterAuthenticationOptionsServiceAccount
    ServiceAccount authentication configuration. Note: this field may return null, indicating that no valid values can be obtained.
    ResultOutputFile string
    clusterId String
    id String
    latestOperationState String
    Result of the last modification. Values: Updating, Success, Failed or TimeOut. Note: this field may return null, indicating that no valid values can be obtained.
    oidcConfigs List<GetKubernetesClusterAuthenticationOptionsOidcConfig>
    OIDC authentication configurations. Note: This field may return null, indicating that no valid value can be obtained.
    serviceAccounts List<GetKubernetesClusterAuthenticationOptionsServiceAccount>
    ServiceAccount authentication configuration. Note: this field may return null, indicating that no valid values can be obtained.
    resultOutputFile String
    clusterId string
    id string
    latestOperationState string
    Result of the last modification. Values: Updating, Success, Failed or TimeOut. Note: this field may return null, indicating that no valid values can be obtained.
    oidcConfigs GetKubernetesClusterAuthenticationOptionsOidcConfig[]
    OIDC authentication configurations. Note: This field may return null, indicating that no valid value can be obtained.
    serviceAccounts GetKubernetesClusterAuthenticationOptionsServiceAccount[]
    ServiceAccount authentication configuration. Note: this field may return null, indicating that no valid values can be obtained.
    resultOutputFile string
    cluster_id str
    id str
    latest_operation_state str
    Result of the last modification. Values: Updating, Success, Failed or TimeOut. Note: this field may return null, indicating that no valid values can be obtained.
    oidc_configs Sequence[GetKubernetesClusterAuthenticationOptionsOidcConfig]
    OIDC authentication configurations. Note: This field may return null, indicating that no valid value can be obtained.
    service_accounts Sequence[GetKubernetesClusterAuthenticationOptionsServiceAccount]
    ServiceAccount authentication configuration. Note: this field may return null, indicating that no valid values can be obtained.
    result_output_file str
    clusterId String
    id String
    latestOperationState String
    Result of the last modification. Values: Updating, Success, Failed or TimeOut. Note: this field may return null, indicating that no valid values can be obtained.
    oidcConfigs List<Property Map>
    OIDC authentication configurations. Note: This field may return null, indicating that no valid value can be obtained.
    serviceAccounts List<Property Map>
    ServiceAccount authentication configuration. Note: this field may return null, indicating that no valid values can be obtained.
    resultOutputFile String

    Supporting Types

    GetKubernetesClusterAuthenticationOptionsOidcConfig

    AutoCreateClientIds List<string>
    Creating ClientId of the identity provider. Note: This field may return null, indicating that no valid value can be obtained.
    AutoCreateOidcConfig bool
    Creating an identity provider. Note: This field may return null, indicating that no valid value can be obtained.
    AutoInstallPodIdentityWebhookAddon bool
    Creating the PodIdentityWebhook component. Note: This field may return null, indicating that no valid value can be obtained.
    AutoCreateClientIds []string
    Creating ClientId of the identity provider. Note: This field may return null, indicating that no valid value can be obtained.
    AutoCreateOidcConfig bool
    Creating an identity provider. Note: This field may return null, indicating that no valid value can be obtained.
    AutoInstallPodIdentityWebhookAddon bool
    Creating the PodIdentityWebhook component. Note: This field may return null, indicating that no valid value can be obtained.
    autoCreateClientIds List<String>
    Creating ClientId of the identity provider. Note: This field may return null, indicating that no valid value can be obtained.
    autoCreateOidcConfig Boolean
    Creating an identity provider. Note: This field may return null, indicating that no valid value can be obtained.
    autoInstallPodIdentityWebhookAddon Boolean
    Creating the PodIdentityWebhook component. Note: This field may return null, indicating that no valid value can be obtained.
    autoCreateClientIds string[]
    Creating ClientId of the identity provider. Note: This field may return null, indicating that no valid value can be obtained.
    autoCreateOidcConfig boolean
    Creating an identity provider. Note: This field may return null, indicating that no valid value can be obtained.
    autoInstallPodIdentityWebhookAddon boolean
    Creating the PodIdentityWebhook component. Note: This field may return null, indicating that no valid value can be obtained.
    auto_create_client_ids Sequence[str]
    Creating ClientId of the identity provider. Note: This field may return null, indicating that no valid value can be obtained.
    auto_create_oidc_config bool
    Creating an identity provider. Note: This field may return null, indicating that no valid value can be obtained.
    auto_install_pod_identity_webhook_addon bool
    Creating the PodIdentityWebhook component. Note: This field may return null, indicating that no valid value can be obtained.
    autoCreateClientIds List<String>
    Creating ClientId of the identity provider. Note: This field may return null, indicating that no valid value can be obtained.
    autoCreateOidcConfig Boolean
    Creating an identity provider. Note: This field may return null, indicating that no valid value can be obtained.
    autoInstallPodIdentityWebhookAddon Boolean
    Creating the PodIdentityWebhook component. Note: This field may return null, indicating that no valid value can be obtained.

    GetKubernetesClusterAuthenticationOptionsServiceAccount

    AutoCreateDiscoveryAnonymousAuth bool
    If it is set to true, a RABC rule is automatically created to allow anonymous users to access /.well-known/openid-configuration and /openid/v1/jwks. Note: this field may return null, indicating that no valid values can be obtained.
    Issuer string
    service-account-issuer. Note: this field may return null, indicating that no valid values can be obtained.
    JwksUri string
    service-account-jwks-uri. Note: this field may return null, indicating that no valid values can be obtained.
    UseTkeDefault bool
    Use TKE default issuer and jwksuri. Note: This field may return null, indicating that no valid values can be obtained.
    AutoCreateDiscoveryAnonymousAuth bool
    If it is set to true, a RABC rule is automatically created to allow anonymous users to access /.well-known/openid-configuration and /openid/v1/jwks. Note: this field may return null, indicating that no valid values can be obtained.
    Issuer string
    service-account-issuer. Note: this field may return null, indicating that no valid values can be obtained.
    JwksUri string
    service-account-jwks-uri. Note: this field may return null, indicating that no valid values can be obtained.
    UseTkeDefault bool
    Use TKE default issuer and jwksuri. Note: This field may return null, indicating that no valid values can be obtained.
    autoCreateDiscoveryAnonymousAuth Boolean
    If it is set to true, a RABC rule is automatically created to allow anonymous users to access /.well-known/openid-configuration and /openid/v1/jwks. Note: this field may return null, indicating that no valid values can be obtained.
    issuer String
    service-account-issuer. Note: this field may return null, indicating that no valid values can be obtained.
    jwksUri String
    service-account-jwks-uri. Note: this field may return null, indicating that no valid values can be obtained.
    useTkeDefault Boolean
    Use TKE default issuer and jwksuri. Note: This field may return null, indicating that no valid values can be obtained.
    autoCreateDiscoveryAnonymousAuth boolean
    If it is set to true, a RABC rule is automatically created to allow anonymous users to access /.well-known/openid-configuration and /openid/v1/jwks. Note: this field may return null, indicating that no valid values can be obtained.
    issuer string
    service-account-issuer. Note: this field may return null, indicating that no valid values can be obtained.
    jwksUri string
    service-account-jwks-uri. Note: this field may return null, indicating that no valid values can be obtained.
    useTkeDefault boolean
    Use TKE default issuer and jwksuri. Note: This field may return null, indicating that no valid values can be obtained.
    auto_create_discovery_anonymous_auth bool
    If it is set to true, a RABC rule is automatically created to allow anonymous users to access /.well-known/openid-configuration and /openid/v1/jwks. Note: this field may return null, indicating that no valid values can be obtained.
    issuer str
    service-account-issuer. Note: this field may return null, indicating that no valid values can be obtained.
    jwks_uri str
    service-account-jwks-uri. Note: this field may return null, indicating that no valid values can be obtained.
    use_tke_default bool
    Use TKE default issuer and jwksuri. Note: This field may return null, indicating that no valid values can be obtained.
    autoCreateDiscoveryAnonymousAuth Boolean
    If it is set to true, a RABC rule is automatically created to allow anonymous users to access /.well-known/openid-configuration and /openid/v1/jwks. Note: this field may return null, indicating that no valid values can be obtained.
    issuer String
    service-account-issuer. Note: this field may return null, indicating that no valid values can be obtained.
    jwksUri String
    service-account-jwks-uri. Note: this field may return null, indicating that no valid values can be obtained.
    useTkeDefault Boolean
    Use TKE default issuer and jwksuri. Note: This field may return null, indicating that no valid values can be obtained.

    Package Details

    Repository
    tencentcloud tencentcloudstack/terraform-provider-tencentcloud
    License
    Notes
    This Pulumi package is based on the tencentcloud Terraform Provider.
    tencentcloud logo
    tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack