tencentcloud 1.81.191 published on Friday, May 9, 2025 by tencentcloudstack
tencentcloud.getKubernetesClusterAuthenticationOptions
Explore with Pulumi AI
tencentcloud 1.81.191 published on Friday, May 9, 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:
- ClusterId string
- Cluster ID.
- Id string
- ResultOutput stringFile 
- Used to save results.
- ClusterId string
- Cluster ID.
- Id string
- ResultOutput stringFile 
- Used to save results.
- clusterId String
- Cluster ID.
- id String
- resultOutput StringFile 
- Used to save results.
- clusterId string
- Cluster ID.
- id string
- resultOutput stringFile 
- Used to save results.
- cluster_id str
- Cluster ID.
- id str
- result_output_ strfile 
- Used to save results.
- clusterId String
- Cluster ID.
- id String
- resultOutput StringFile 
- Used to save results.
getKubernetesClusterAuthenticationOptions Result
The following output properties are available:
- ClusterId string
- Id string
- LatestOperation stringState 
- Result of the last modification. Values: Updating,Success,FailedorTimeOut. Note: this field may returnnull, indicating that no valid values can be obtained.
- OidcConfigs List<GetKubernetes Cluster Authentication Options Oidc Config> 
- OIDC authentication configurations. Note: This field may return null, indicating that no valid value can be obtained.
- ServiceAccounts List<GetKubernetes Cluster Authentication Options Service Account> 
- ServiceAccount authentication configuration. Note: this field may return null, indicating that no valid values can be obtained.
- ResultOutput stringFile 
- ClusterId string
- Id string
- LatestOperation stringState 
- Result of the last modification. Values: Updating,Success,FailedorTimeOut. Note: this field may returnnull, indicating that no valid values can be obtained.
- OidcConfigs []GetKubernetes Cluster Authentication Options Oidc Config 
- OIDC authentication configurations. Note: This field may return null, indicating that no valid value can be obtained.
- ServiceAccounts []GetKubernetes Cluster Authentication Options Service Account 
- ServiceAccount authentication configuration. Note: this field may return null, indicating that no valid values can be obtained.
- ResultOutput stringFile 
- clusterId String
- id String
- latestOperation StringState 
- Result of the last modification. Values: Updating,Success,FailedorTimeOut. Note: this field may returnnull, indicating that no valid values can be obtained.
- oidcConfigs List<GetKubernetes Cluster Authentication Options Oidc Config> 
- OIDC authentication configurations. Note: This field may return null, indicating that no valid value can be obtained.
- serviceAccounts List<GetKubernetes Cluster Authentication Options Service Account> 
- ServiceAccount authentication configuration. Note: this field may return null, indicating that no valid values can be obtained.
- resultOutput StringFile 
- clusterId string
- id string
- latestOperation stringState 
- Result of the last modification. Values: Updating,Success,FailedorTimeOut. Note: this field may returnnull, indicating that no valid values can be obtained.
- oidcConfigs GetKubernetes Cluster Authentication Options Oidc Config[] 
- OIDC authentication configurations. Note: This field may return null, indicating that no valid value can be obtained.
- serviceAccounts GetKubernetes Cluster Authentication Options Service Account[] 
- ServiceAccount authentication configuration. Note: this field may return null, indicating that no valid values can be obtained.
- resultOutput 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 
- clusterId String
- id String
- latestOperation StringState 
- Result of the last modification. Values: Updating,Success,FailedorTimeOut. Note: this field may returnnull, 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.
- resultOutput StringFile 
Supporting Types
GetKubernetesClusterAuthenticationOptionsOidcConfig      
- AutoCreate List<string>Client Ids 
- Creating ClientId of the identity provider. Note: This field may return null, indicating that no valid value can be obtained.
- AutoCreate boolOidc Config 
- Creating an identity provider. Note: This field may return null, indicating that no valid value can be obtained.
- AutoInstall boolPod Identity Webhook Addon 
- Creating the PodIdentityWebhook component. Note: This field may return null, indicating that no valid value can be obtained.
- AutoCreate []stringClient Ids 
- Creating ClientId of the identity provider. Note: This field may return null, indicating that no valid value can be obtained.
- AutoCreate boolOidc Config 
- Creating an identity provider. Note: This field may return null, indicating that no valid value can be obtained.
- AutoInstall boolPod Identity Webhook Addon 
- Creating the PodIdentityWebhook component. Note: This field may return null, indicating that no valid value can be obtained.
- autoCreate List<String>Client Ids 
- Creating ClientId of the identity provider. Note: This field may return null, indicating that no valid value can be obtained.
- autoCreate BooleanOidc Config 
- Creating an identity provider. Note: This field may return null, indicating that no valid value can be obtained.
- autoInstall BooleanPod Identity Webhook Addon 
- Creating the PodIdentityWebhook component. Note: This field may return null, indicating that no valid value can be obtained.
- autoCreate string[]Client Ids 
- Creating ClientId of the identity provider. Note: This field may return null, indicating that no valid value can be obtained.
- autoCreate booleanOidc Config 
- Creating an identity provider. Note: This field may return null, indicating that no valid value can be obtained.
- autoInstall 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.
- autoCreate List<String>Client Ids 
- Creating ClientId of the identity provider. Note: This field may return null, indicating that no valid value can be obtained.
- autoCreate BooleanOidc Config 
- Creating an identity provider. Note: This field may return null, indicating that no valid value can be obtained.
- autoInstall BooleanPod Identity Webhook Addon 
- Creating the PodIdentityWebhook component. Note: This field may return null, indicating that no valid value can be obtained.
GetKubernetesClusterAuthenticationOptionsServiceAccount      
- AutoCreate 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.
- JwksUri string
- service-account-jwks-uri. Note: this field may return null, indicating that no valid values can be obtained.
- UseTke boolDefault 
- Use TKE default issuer and jwksuri. Note: This field may return null, indicating that no valid values can be obtained.
- AutoCreate 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.
- JwksUri string
- service-account-jwks-uri. Note: this field may return null, indicating that no valid values can be obtained.
- UseTke boolDefault 
- Use TKE default issuer and jwksuri. Note: This field may return null, indicating that no valid values can be obtained.
- autoCreate 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.
- jwksUri String
- service-account-jwks-uri. Note: this field may return null, indicating that no valid values can be obtained.
- useTke BooleanDefault 
- Use TKE default issuer and jwksuri. Note: This field may return null, indicating that no valid values can be obtained.
- autoCreate 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.
- jwksUri string
- service-account-jwks-uri. Note: this field may return null, indicating that no valid values can be obtained.
- useTke 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.
- autoCreate 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.
- jwksUri String
- service-account-jwks-uri. Note: this field may return null, indicating that no valid values can be obtained.
- useTke 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.191 published on Friday, May 9, 2025 by tencentcloudstack