@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 3.36 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
import * as enums from "../types/enums";
/**
* Gets cluster user credentials of the connected cluster with a specified resource group and name.
*
* Uses Azure REST API version 2024-02-01-preview.
*
* Other available API versions: 2021-10-01, 2022-05-01-preview, 2022-10-01-preview, 2023-11-01-preview, 2024-01-01, 2024-06-01-preview, 2024-07-01-preview, 2024-07-15-preview, 2024-12-01-preview, 2025-08-01-preview. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native kubernetes [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
*/
export declare function listConnectedClusterUserCredential(args: ListConnectedClusterUserCredentialArgs, opts?: pulumi.InvokeOptions): Promise<ListConnectedClusterUserCredentialResult>;
export interface ListConnectedClusterUserCredentialArgs {
/**
* The mode of client authentication.
*/
authenticationMethod: string | enums.kubernetes.AuthenticationMethod;
/**
* Boolean value to indicate whether the request is for client side proxy or not
*/
clientProxy: boolean;
/**
* The name of the Kubernetes cluster on which get is called.
*/
clusterName: string;
/**
* The name of the resource group. The name is case insensitive.
*/
resourceGroupName: string;
}
/**
* The list of credential result response.
*/
export interface ListConnectedClusterUserCredentialResult {
/**
* Contains the REP (rendezvous endpoint) and “Sender” access token.
*/
readonly hybridConnectionConfig: outputs.kubernetes.HybridConnectionConfigResponse;
/**
* Base64-encoded Kubernetes configuration file.
*/
readonly kubeconfigs: outputs.kubernetes.CredentialResultResponse[];
}
/**
* Gets cluster user credentials of the connected cluster with a specified resource group and name.
*
* Uses Azure REST API version 2024-02-01-preview.
*
* Other available API versions: 2021-10-01, 2022-05-01-preview, 2022-10-01-preview, 2023-11-01-preview, 2024-01-01, 2024-06-01-preview, 2024-07-01-preview, 2024-07-15-preview, 2024-12-01-preview, 2025-08-01-preview. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native kubernetes [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
*/
export declare function listConnectedClusterUserCredentialOutput(args: ListConnectedClusterUserCredentialOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<ListConnectedClusterUserCredentialResult>;
export interface ListConnectedClusterUserCredentialOutputArgs {
/**
* The mode of client authentication.
*/
authenticationMethod: pulumi.Input<string | enums.kubernetes.AuthenticationMethod>;
/**
* Boolean value to indicate whether the request is for client side proxy or not
*/
clientProxy: pulumi.Input<boolean>;
/**
* The name of the Kubernetes cluster on which get is called.
*/
clusterName: pulumi.Input<string>;
/**
* The name of the resource group. The name is case insensitive.
*/
resourceGroupName: pulumi.Input<string>;
}