1. Packages
  2. Azure Native
  3. API Docs
  4. kubernetes
  5. listConnectedClusterUserCredentials
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.2.0 published on Monday, Apr 14, 2025 by Pulumi

azure-native.kubernetes.listConnectedClusterUserCredentials

Explore with Pulumi AI

This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.2.0 published on Monday, Apr 14, 2025 by Pulumi

Gets cluster user credentials of the connected cluster with a specified resource group and name.

Uses Azure REST API version 2021-04-01-preview.

Using listConnectedClusterUserCredentials

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 listConnectedClusterUserCredentials(args: ListConnectedClusterUserCredentialsArgs, opts?: InvokeOptions): Promise<ListConnectedClusterUserCredentialsResult>
function listConnectedClusterUserCredentialsOutput(args: ListConnectedClusterUserCredentialsOutputArgs, opts?: InvokeOptions): Output<ListConnectedClusterUserCredentialsResult>
Copy
def list_connected_cluster_user_credentials(authentication_method: Optional[Union[str, AuthenticationMethod]] = None,
                                            client_proxy: Optional[bool] = None,
                                            cluster_name: Optional[str] = None,
                                            resource_group_name: Optional[str] = None,
                                            opts: Optional[InvokeOptions] = None) -> ListConnectedClusterUserCredentialsResult
def list_connected_cluster_user_credentials_output(authentication_method: Optional[pulumi.Input[Union[str, AuthenticationMethod]]] = None,
                                            client_proxy: Optional[pulumi.Input[bool]] = None,
                                            cluster_name: Optional[pulumi.Input[str]] = None,
                                            resource_group_name: Optional[pulumi.Input[str]] = None,
                                            opts: Optional[InvokeOptions] = None) -> Output[ListConnectedClusterUserCredentialsResult]
Copy
func ListConnectedClusterUserCredentials(ctx *Context, args *ListConnectedClusterUserCredentialsArgs, opts ...InvokeOption) (*ListConnectedClusterUserCredentialsResult, error)
func ListConnectedClusterUserCredentialsOutput(ctx *Context, args *ListConnectedClusterUserCredentialsOutputArgs, opts ...InvokeOption) ListConnectedClusterUserCredentialsResultOutput
Copy

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

public static class ListConnectedClusterUserCredentials 
{
    public static Task<ListConnectedClusterUserCredentialsResult> InvokeAsync(ListConnectedClusterUserCredentialsArgs args, InvokeOptions? opts = null)
    public static Output<ListConnectedClusterUserCredentialsResult> Invoke(ListConnectedClusterUserCredentialsInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<ListConnectedClusterUserCredentialsResult> listConnectedClusterUserCredentials(ListConnectedClusterUserCredentialsArgs args, InvokeOptions options)
public static Output<ListConnectedClusterUserCredentialsResult> listConnectedClusterUserCredentials(ListConnectedClusterUserCredentialsArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: azure-native:kubernetes:listConnectedClusterUserCredentials
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

AuthenticationMethod This property is required. string | Pulumi.AzureNative.Kubernetes.AuthenticationMethod
The mode of client authentication.
ClientProxy This property is required. bool
Boolean value to indicate whether the request is for client side proxy or not
ClusterName
This property is required.
Changes to this property will trigger replacement.
string
The name of the Kubernetes cluster on which get is called.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
AuthenticationMethod This property is required. string | AuthenticationMethod
The mode of client authentication.
ClientProxy This property is required. bool
Boolean value to indicate whether the request is for client side proxy or not
ClusterName
This property is required.
Changes to this property will trigger replacement.
string
The name of the Kubernetes cluster on which get is called.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
authenticationMethod This property is required. String | AuthenticationMethod
The mode of client authentication.
clientProxy This property is required. Boolean
Boolean value to indicate whether the request is for client side proxy or not
clusterName
This property is required.
Changes to this property will trigger replacement.
String
The name of the Kubernetes cluster on which get is called.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group. The name is case insensitive.
authenticationMethod This property is required. string | AuthenticationMethod
The mode of client authentication.
clientProxy This property is required. boolean
Boolean value to indicate whether the request is for client side proxy or not
clusterName
This property is required.
Changes to this property will trigger replacement.
string
The name of the Kubernetes cluster on which get is called.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
authentication_method This property is required. str | AuthenticationMethod
The mode of client authentication.
client_proxy This property is required. bool
Boolean value to indicate whether the request is for client side proxy or not
cluster_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the Kubernetes cluster on which get is called.
resource_group_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the resource group. The name is case insensitive.
authenticationMethod This property is required. String | "Token" | "AAD"
The mode of client authentication.
clientProxy This property is required. Boolean
Boolean value to indicate whether the request is for client side proxy or not
clusterName
This property is required.
Changes to this property will trigger replacement.
String
The name of the Kubernetes cluster on which get is called.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group. The name is case insensitive.

listConnectedClusterUserCredentials Result

The following output properties are available:

HybridConnectionConfig Pulumi.AzureNative.Kubernetes.Outputs.HybridConnectionConfigResponse
Contains the REP (rendezvous endpoint) and “Sender” access token.
Kubeconfigs List<Pulumi.AzureNative.Kubernetes.Outputs.CredentialResultResponse>
Base64-encoded Kubernetes configuration file.
HybridConnectionConfig HybridConnectionConfigResponse
Contains the REP (rendezvous endpoint) and “Sender” access token.
Kubeconfigs []CredentialResultResponse
Base64-encoded Kubernetes configuration file.
hybridConnectionConfig HybridConnectionConfigResponse
Contains the REP (rendezvous endpoint) and “Sender” access token.
kubeconfigs List<CredentialResultResponse>
Base64-encoded Kubernetes configuration file.
hybridConnectionConfig HybridConnectionConfigResponse
Contains the REP (rendezvous endpoint) and “Sender” access token.
kubeconfigs CredentialResultResponse[]
Base64-encoded Kubernetes configuration file.
hybrid_connection_config HybridConnectionConfigResponse
Contains the REP (rendezvous endpoint) and “Sender” access token.
kubeconfigs Sequence[CredentialResultResponse]
Base64-encoded Kubernetes configuration file.
hybridConnectionConfig Property Map
Contains the REP (rendezvous endpoint) and “Sender” access token.
kubeconfigs List<Property Map>
Base64-encoded Kubernetes configuration file.

Supporting Types

AuthenticationMethod

CredentialResultResponse

Name This property is required. string
The name of the credential.
Value This property is required. string
Base64-encoded Kubernetes configuration file.
Name This property is required. string
The name of the credential.
Value This property is required. string
Base64-encoded Kubernetes configuration file.
name This property is required. String
The name of the credential.
value This property is required. String
Base64-encoded Kubernetes configuration file.
name This property is required. string
The name of the credential.
value This property is required. string
Base64-encoded Kubernetes configuration file.
name This property is required. str
The name of the credential.
value This property is required. str
Base64-encoded Kubernetes configuration file.
name This property is required. String
The name of the credential.
value This property is required. String
Base64-encoded Kubernetes configuration file.

HybridConnectionConfigResponse

ExpirationTime This property is required. double
Timestamp when this token will be expired.
HybridConnectionName This property is required. string
Name of the connection
Relay This property is required. string
Name of the relay.
Token This property is required. string
Sender access token
ExpirationTime This property is required. float64
Timestamp when this token will be expired.
HybridConnectionName This property is required. string
Name of the connection
Relay This property is required. string
Name of the relay.
Token This property is required. string
Sender access token
expirationTime This property is required. Double
Timestamp when this token will be expired.
hybridConnectionName This property is required. String
Name of the connection
relay This property is required. String
Name of the relay.
token This property is required. String
Sender access token
expirationTime This property is required. number
Timestamp when this token will be expired.
hybridConnectionName This property is required. string
Name of the connection
relay This property is required. string
Name of the relay.
token This property is required. string
Sender access token
expiration_time This property is required. float
Timestamp when this token will be expired.
hybrid_connection_name This property is required. str
Name of the connection
relay This property is required. str
Name of the relay.
token This property is required. str
Sender access token
expirationTime This property is required. Number
Timestamp when this token will be expired.
hybridConnectionName This property is required. String
Name of the connection
relay This property is required. String
Name of the relay.
token This property is required. String
Sender access token

Package Details

Repository
Azure Native pulumi/pulumi-azure-native
License
Apache-2.0
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.2.0 published on Monday, Apr 14, 2025 by Pulumi