tencentcloud 1.81.183 published on Wednesday, Apr 16, 2025 by tencentcloudstack
tencentcloud.getKubernetesClusterAuthenticationOptions
Explore with Pulumi AI
tencentcloud 1.81.183 published on Wednesday, Apr 16, 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 dictionaryThe following arguments are supported:
- Cluster
Id string - Cluster ID.
 - Id string
 - Result
Output stringFile  - Used to save results.
 
- Cluster
Id string - Cluster ID.
 - Id string
 - Result
Output stringFile  - Used to save results.
 
- cluster
Id String - Cluster ID.
 - id String
 - result
Output StringFile  - Used to save results.
 
- cluster
Id string - Cluster ID.
 - id string
 - result
Output stringFile  - Used to save results.
 
- cluster_
id str - Cluster ID.
 - id str
 - result_
output_ strfile  - Used to save results.
 
- cluster
Id String - Cluster ID.
 - id String
 - result
Output StringFile  - Used to save results.
 
getKubernetesClusterAuthenticationOptions Result
The following output properties are available:
- Cluster
Id string - Id string
 - Latest
Operation stringState  - Result of the last modification. Values: 
Updating,Success,FailedorTimeOut. Note: this field may returnnull, indicating that no valid values can be obtained. - Oidc
Configs List<GetKubernetes Cluster Authentication Options Oidc Config>  - OIDC authentication configurations. Note: This field may return 
null, indicating that no valid value can be obtained. - Service
Accounts List<GetKubernetes Cluster Authentication Options Service Account>  - ServiceAccount authentication configuration. Note: this field may return 
null, indicating that no valid values can be obtained. - Result
Output stringFile  
- Cluster
Id string - Id string
 - Latest
Operation stringState  - Result of the last modification. Values: 
Updating,Success,FailedorTimeOut. Note: this field may returnnull, indicating that no valid values can be obtained. - Oidc
Configs []GetKubernetes Cluster Authentication Options Oidc Config  - OIDC authentication configurations. Note: This field may return 
null, indicating that no valid value can be obtained. - Service
Accounts []GetKubernetes Cluster Authentication Options Service Account  - ServiceAccount authentication configuration. Note: this field may return 
null, indicating that no valid values can be obtained. - Result
Output stringFile  
- cluster
Id String - id String
 - latest
Operation StringState  - Result of the last modification. Values: 
Updating,Success,FailedorTimeOut. Note: this field may returnnull, indicating that no valid values can be obtained. - oidc
Configs List<GetKubernetes Cluster Authentication Options Oidc Config>  - OIDC authentication configurations. Note: This field may return 
null, indicating that no valid value can be obtained. - service
Accounts List<GetKubernetes Cluster Authentication Options Service Account>  - ServiceAccount authentication configuration. Note: this field may return 
null, indicating that no valid values can be obtained. - result
Output StringFile  
- cluster
Id string - id string
 - latest
Operation stringState  - Result of the last modification. Values: 
Updating,Success,FailedorTimeOut. Note: this field may returnnull, indicating that no valid values can be obtained. - oidc
Configs GetKubernetes Cluster Authentication Options Oidc Config[]  - OIDC authentication configurations. Note: This field may return 
null, indicating that no valid value can be obtained. - service
Accounts GetKubernetes Cluster Authentication Options Service Account[]  - ServiceAccount authentication configuration. Note: this field may return 
null, indicating that no valid values can be obtained. - result
Output stringFile  
- cluster_
id str - id str
 - latest_
operation_ strstate  - Result of the last modification. Values: 
Updating,Success,FailedorTimeOut. Note: this field may returnnull, indicating that no valid values can be obtained. - oidc_
configs Sequence[GetKubernetes Cluster Authentication Options Oidc Config]  - OIDC authentication configurations. Note: This field may return 
null, indicating that no valid value can be obtained. - service_
accounts Sequence[GetKubernetes Cluster Authentication Options Service Account]  - ServiceAccount authentication configuration. Note: this field may return 
null, indicating that no valid values can be obtained. - result_
output_ strfile  
- cluster
Id String - id String
 - latest
Operation StringState  - Result of the last modification. Values: 
Updating,Success,FailedorTimeOut. Note: this field may returnnull, indicating that no valid values can be obtained. - oidc
Configs List<Property Map> - OIDC authentication configurations. Note: This field may return 
null, indicating that no valid value can be obtained. - service
Accounts List<Property Map> - ServiceAccount authentication configuration. Note: this field may return 
null, indicating that no valid values can be obtained. - result
Output StringFile  
Supporting Types
GetKubernetesClusterAuthenticationOptionsOidcConfig      
- Auto
Create List<string>Client Ids  - Creating ClientId of the identity provider. Note: This field may return 
null, indicating that no valid value can be obtained. - Auto
Create boolOidc Config  - Creating an identity provider. Note: This field may return 
null, indicating that no valid value can be obtained. - Auto
Install boolPod Identity Webhook Addon  - Creating the PodIdentityWebhook component. Note: This field may return 
null, indicating that no valid value can be obtained. 
- Auto
Create []stringClient Ids  - Creating ClientId of the identity provider. Note: This field may return 
null, indicating that no valid value can be obtained. - Auto
Create boolOidc Config  - Creating an identity provider. Note: This field may return 
null, indicating that no valid value can be obtained. - Auto
Install boolPod Identity Webhook Addon  - Creating the PodIdentityWebhook component. Note: This field may return 
null, indicating that no valid value can be obtained. 
- auto
Create List<String>Client Ids  - Creating ClientId of the identity provider. Note: This field may return 
null, indicating that no valid value can be obtained. - auto
Create BooleanOidc Config  - Creating an identity provider. Note: This field may return 
null, indicating that no valid value can be obtained. - auto
Install BooleanPod Identity Webhook Addon  - Creating the PodIdentityWebhook component. Note: This field may return 
null, indicating that no valid value can be obtained. 
- auto
Create string[]Client Ids  - Creating ClientId of the identity provider. Note: This field may return 
null, indicating that no valid value can be obtained. - auto
Create booleanOidc Config  - Creating an identity provider. Note: This field may return 
null, indicating that no valid value can be obtained. - auto
Install booleanPod Identity Webhook Addon  - Creating the PodIdentityWebhook component. Note: This field may return 
null, indicating that no valid value can be obtained. 
- auto_
create_ Sequence[str]client_ ids  - Creating ClientId of the identity provider. Note: This field may return 
null, indicating that no valid value can be obtained. - auto_
create_ booloidc_ config  - Creating an identity provider. Note: This field may return 
null, indicating that no valid value can be obtained. - auto_
install_ boolpod_ identity_ webhook_ addon  - Creating the PodIdentityWebhook component. Note: This field may return 
null, indicating that no valid value can be obtained. 
- auto
Create List<String>Client Ids  - Creating ClientId of the identity provider. Note: This field may return 
null, indicating that no valid value can be obtained. - auto
Create BooleanOidc Config  - Creating an identity provider. Note: This field may return 
null, indicating that no valid value can be obtained. - auto
Install BooleanPod Identity Webhook Addon  - Creating the PodIdentityWebhook component. Note: This field may return 
null, indicating that no valid value can be obtained. 
GetKubernetesClusterAuthenticationOptionsServiceAccount      
- Auto
Create boolDiscovery Anonymous Auth  - If it is set to 
true, a RABC rule is automatically created to allow anonymous users to access/.well-known/openid-configurationand/openid/v1/jwks. Note: this field may returnnull, 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. - Jwks
Uri string - service-account-jwks-uri. Note: this field may return 
null, indicating that no valid values can be obtained. - Use
Tke boolDefault  - Use TKE default issuer and jwksuri. Note: This field may return 
null, indicating that no valid values can be obtained. 
- Auto
Create boolDiscovery Anonymous Auth  - If it is set to 
true, a RABC rule is automatically created to allow anonymous users to access/.well-known/openid-configurationand/openid/v1/jwks. Note: this field may returnnull, 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. - Jwks
Uri string - service-account-jwks-uri. Note: this field may return 
null, indicating that no valid values can be obtained. - Use
Tke boolDefault  - Use TKE default issuer and jwksuri. Note: This field may return 
null, indicating that no valid values can be obtained. 
- auto
Create BooleanDiscovery Anonymous Auth  - If it is set to 
true, a RABC rule is automatically created to allow anonymous users to access/.well-known/openid-configurationand/openid/v1/jwks. Note: this field may returnnull, 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. - jwks
Uri String - service-account-jwks-uri. Note: this field may return 
null, indicating that no valid values can be obtained. - use
Tke BooleanDefault  - Use TKE default issuer and jwksuri. Note: This field may return 
null, indicating that no valid values can be obtained. 
- auto
Create booleanDiscovery Anonymous Auth  - If it is set to 
true, a RABC rule is automatically created to allow anonymous users to access/.well-known/openid-configurationand/openid/v1/jwks. Note: this field may returnnull, 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. - jwks
Uri string - service-account-jwks-uri. Note: this field may return 
null, indicating that no valid values can be obtained. - use
Tke booleanDefault  - Use TKE default issuer and jwksuri. Note: This field may return 
null, indicating that no valid values can be obtained. 
- auto_
create_ booldiscovery_ anonymous_ auth  - If it is set to 
true, a RABC rule is automatically created to allow anonymous users to access/.well-known/openid-configurationand/openid/v1/jwks. Note: this field may returnnull, 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_ booldefault  - Use TKE default issuer and jwksuri. Note: This field may return 
null, indicating that no valid values can be obtained. 
- auto
Create BooleanDiscovery Anonymous Auth  - If it is set to 
true, a RABC rule is automatically created to allow anonymous users to access/.well-known/openid-configurationand/openid/v1/jwks. Note: this field may returnnull, 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. - jwks
Uri String - service-account-jwks-uri. Note: this field may return 
null, indicating that no valid values can be obtained. - use
Tke BooleanDefault  - 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 
tencentcloudTerraform Provider. 
tencentcloud 1.81.183 published on Wednesday, Apr 16, 2025 by tencentcloudstack