1. Packages
  2. Azure Native
  3. API Docs
  4. kubernetes
  5. listConnectedClusterUserCredential
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.63.0 published on Tuesday, Sep 24, 2024 by Pulumi

azure-native.kubernetes.listConnectedClusterUserCredential

Explore with Pulumi AI

azure-native logo
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.63.0 published on Tuesday, Sep 24, 2024 by Pulumi

    Gets cluster user credentials of the connected cluster with a specified resource group and name. Azure REST API version: 2022-05-01-preview.

    Other available API versions: 2022-10-01-preview, 2023-11-01-preview, 2024-01-01, 2024-02-01-preview, 2024-06-01-preview, 2024-07-01-preview, 2024-07-15-preview.

    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)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: azure-native:kubernetes:listConnectedClusterUserCredential
      arguments:
        # arguments dictionary

    The following arguments are supported:

    AuthenticationMethod string | Pulumi.AzureNative.Kubernetes.AuthenticationMethod
    The mode of client authentication.
    ClientProxy bool
    Boolean value to indicate whether the request is for client side proxy or not
    ClusterName string
    The name of the Kubernetes cluster on which get is called.
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    AuthenticationMethod string | AuthenticationMethod
    The mode of client authentication.
    ClientProxy bool
    Boolean value to indicate whether the request is for client side proxy or not
    ClusterName string
    The name of the Kubernetes cluster on which get is called.
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    authenticationMethod String | AuthenticationMethod
    The mode of client authentication.
    clientProxy Boolean
    Boolean value to indicate whether the request is for client side proxy or not
    clusterName String
    The name of the Kubernetes cluster on which get is called.
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    authenticationMethod string | AuthenticationMethod
    The mode of client authentication.
    clientProxy boolean
    Boolean value to indicate whether the request is for client side proxy or not
    clusterName string
    The name of the Kubernetes cluster on which get is called.
    resourceGroupName string
    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_name str
    The name of the resource group. The name is case insensitive.
    authenticationMethod String | "Token" | "AAD"
    The mode of client authentication.
    clientProxy Boolean
    Boolean value to indicate whether the request is for client side proxy or not
    clusterName String
    The name of the Kubernetes cluster on which get is called.
    resourceGroupName String
    The name of the resource group. The name is case insensitive.

    listConnectedClusterUserCredential 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 string
    The name of the credential.
    Value string
    Base64-encoded Kubernetes configuration file.
    Name string
    The name of the credential.
    Value string
    Base64-encoded Kubernetes configuration file.
    name String
    The name of the credential.
    value String
    Base64-encoded Kubernetes configuration file.
    name string
    The name of the credential.
    value string
    Base64-encoded Kubernetes configuration file.
    name str
    The name of the credential.
    value str
    Base64-encoded Kubernetes configuration file.
    name String
    The name of the credential.
    value String
    Base64-encoded Kubernetes configuration file.

    HybridConnectionConfigResponse

    ExpirationTime double
    Timestamp when this token will be expired.
    HybridConnectionName string
    Name of the connection
    Relay string
    Name of the relay.
    Token string
    Sender access token
    ExpirationTime float64
    Timestamp when this token will be expired.
    HybridConnectionName string
    Name of the connection
    Relay string
    Name of the relay.
    Token string
    Sender access token
    expirationTime Double
    Timestamp when this token will be expired.
    hybridConnectionName String
    Name of the connection
    relay String
    Name of the relay.
    token String
    Sender access token
    expirationTime number
    Timestamp when this token will be expired.
    hybridConnectionName string
    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_name str
    Name of the connection
    relay str
    Name of the relay.
    token str
    Sender access token
    expirationTime Number
    Timestamp when this token will be expired.
    hybridConnectionName String
    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
    azure-native logo
    This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
    Azure Native v2.63.0 published on Tuesday, Sep 24, 2024 by Pulumi