azure-native.kubernetes.listConnectedClusterUserCredential
Explore with Pulumi AI
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. 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 for details.
Using listConnectedClusterUserCredential
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 listConnectedClusterUserCredential(args: ListConnectedClusterUserCredentialArgs, opts?: InvokeOptions): Promise<ListConnectedClusterUserCredentialResult>
function listConnectedClusterUserCredentialOutput(args: ListConnectedClusterUserCredentialOutputArgs, opts?: InvokeOptions): Output<ListConnectedClusterUserCredentialResult>def list_connected_cluster_user_credential(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) -> ListConnectedClusterUserCredentialResult
def list_connected_cluster_user_credential_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[ListConnectedClusterUserCredentialResult]func ListConnectedClusterUserCredential(ctx *Context, args *ListConnectedClusterUserCredentialArgs, opts ...InvokeOption) (*ListConnectedClusterUserCredentialResult, error)
func ListConnectedClusterUserCredentialOutput(ctx *Context, args *ListConnectedClusterUserCredentialOutputArgs, opts ...InvokeOption) ListConnectedClusterUserCredentialResultOutput> Note: This function is named ListConnectedClusterUserCredential in the Go SDK.
public static class ListConnectedClusterUserCredential 
{
    public static Task<ListConnectedClusterUserCredentialResult> InvokeAsync(ListConnectedClusterUserCredentialArgs args, InvokeOptions? opts = null)
    public static Output<ListConnectedClusterUserCredentialResult> Invoke(ListConnectedClusterUserCredentialInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<ListConnectedClusterUserCredentialResult> listConnectedClusterUserCredential(ListConnectedClusterUserCredentialArgs args, InvokeOptions options)
public static Output<ListConnectedClusterUserCredentialResult> listConnectedClusterUserCredential(ListConnectedClusterUserCredentialArgs args, InvokeOptions options)
fn::invoke:
  function: azure-native:kubernetes:listConnectedClusterUserCredential
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Authentication
Method string | Pulumi.Azure Native. Kubernetes. Authentication Method  - The mode of client authentication.
 - Client
Proxy bool - Boolean value to indicate whether the request is for client side proxy or not
 - Cluster
Name string - The name of the Kubernetes cluster on which get is called.
 - Resource
Group stringName  - The name of the resource group. The name is case insensitive.
 
- Authentication
Method string | AuthenticationMethod  - The mode of client authentication.
 - Client
Proxy bool - Boolean value to indicate whether the request is for client side proxy or not
 - Cluster
Name string - The name of the Kubernetes cluster on which get is called.
 - Resource
Group stringName  - The name of the resource group. The name is case insensitive.
 
- authentication
Method String | AuthenticationMethod  - The mode of client authentication.
 - client
Proxy Boolean - Boolean value to indicate whether the request is for client side proxy or not
 - cluster
Name String - The name of the Kubernetes cluster on which get is called.
 - resource
Group StringName  - The name of the resource group. The name is case insensitive.
 
- authentication
Method string | AuthenticationMethod  - The mode of client authentication.
 - client
Proxy boolean - Boolean value to indicate whether the request is for client side proxy or not
 - cluster
Name string - The name of the Kubernetes cluster on which get is called.
 - resource
Group stringName  - The name of the resource group. The name is case insensitive.
 
- authentication_
method str | AuthenticationMethod  - The mode of client authentication.
 - client_
proxy bool - Boolean value to indicate whether the request is for client side proxy or not
 - cluster_
name str - The name of the Kubernetes cluster on which get is called.
 - resource_
group_ strname  - The name of the resource group. The name is case insensitive.
 
- authentication
Method String | "Token" | "AAD" - The mode of client authentication.
 - client
Proxy Boolean - Boolean value to indicate whether the request is for client side proxy or not
 - cluster
Name String - The name of the Kubernetes cluster on which get is called.
 - resource
Group StringName  - The name of the resource group. The name is case insensitive.
 
listConnectedClusterUserCredential Result
The following output properties are available:
- Hybrid
Connection Pulumi.Config Azure Native. Kubernetes. Outputs. Hybrid Connection Config Response  - Contains the REP (rendezvous endpoint) and “Sender” access token.
 - Kubeconfigs
List<Pulumi.
Azure Native. Kubernetes. Outputs. Credential Result Response>  - Base64-encoded Kubernetes configuration file.
 
- Hybrid
Connection HybridConfig Connection Config Response  - Contains the REP (rendezvous endpoint) and “Sender” access token.
 - Kubeconfigs
[]Credential
Result Response  - Base64-encoded Kubernetes configuration file.
 
- hybrid
Connection HybridConfig Connection Config Response  - Contains the REP (rendezvous endpoint) and “Sender” access token.
 - kubeconfigs
List<Credential
Result Response>  - Base64-encoded Kubernetes configuration file.
 
- hybrid
Connection HybridConfig Connection Config Response  - Contains the REP (rendezvous endpoint) and “Sender” access token.
 - kubeconfigs
Credential
Result Response[]  - Base64-encoded Kubernetes configuration file.
 
- hybrid_
connection_ Hybridconfig Connection Config Response  - Contains the REP (rendezvous endpoint) and “Sender” access token.
 - kubeconfigs
Sequence[Credential
Result Response]  - Base64-encoded Kubernetes configuration file.
 
- hybrid
Connection Property MapConfig  - Contains the REP (rendezvous endpoint) and “Sender” access token.
 - kubeconfigs List<Property Map>
 - Base64-encoded Kubernetes configuration file.
 
Supporting Types
AuthenticationMethod 
CredentialResultResponse  
HybridConnectionConfigResponse   
- Expiration
Time double - Timestamp when this token will be expired.
 - Hybrid
Connection stringName  - Name of the connection
 - Relay string
 - Name of the relay.
 - Token string
 - Sender access token
 
- Expiration
Time float64 - Timestamp when this token will be expired.
 - Hybrid
Connection stringName  - Name of the connection
 - Relay string
 - Name of the relay.
 - Token string
 - Sender access token
 
- expiration
Time Double - Timestamp when this token will be expired.
 - hybrid
Connection StringName  - Name of the connection
 - relay String
 - Name of the relay.
 - token String
 - Sender access token
 
- expiration
Time number - Timestamp when this token will be expired.
 - hybrid
Connection stringName  - Name of the connection
 - relay string
 - Name of the relay.
 - token string
 - Sender access token
 
- expiration_
time float - Timestamp when this token will be expired.
 - hybrid_
connection_ strname  - Name of the connection
 - relay str
 - Name of the relay.
 - token str
 - Sender access token
 
- expiration
Time Number - Timestamp when this token will be expired.
 - hybrid
Connection StringName  - Name of the connection
 - relay String
 - Name of the relay.
 - token String
 - Sender access token
 
Package Details
- Repository
 - Azure Native pulumi/pulumi-azure-native
 - License
 - Apache-2.0