1. Packages
  2. Azure Native
  3. API Docs
  4. containerservice
  5. listNamespaceCredential
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.4.0 published on Wednesday, May 7, 2025 by Pulumi

azure-native.containerservice.listNamespaceCredential

Explore with Pulumi AI

azure-native logo
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.4.0 published on Wednesday, May 7, 2025 by Pulumi

    The list credential result response.

    Uses Azure REST API version 2025-02-02-preview.

    Using listNamespaceCredential

    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 listNamespaceCredential(args: ListNamespaceCredentialArgs, opts?: InvokeOptions): Promise<ListNamespaceCredentialResult>
    function listNamespaceCredentialOutput(args: ListNamespaceCredentialOutputArgs, opts?: InvokeOptions): Output<ListNamespaceCredentialResult>
    def list_namespace_credential(namespace_name: Optional[str] = None,
                                  resource_group_name: Optional[str] = None,
                                  resource_name: Optional[str] = None,
                                  opts: Optional[InvokeOptions] = None) -> ListNamespaceCredentialResult
    def list_namespace_credential_output(namespace_name: Optional[pulumi.Input[str]] = None,
                                  resource_group_name: Optional[pulumi.Input[str]] = None,
                                  resource_name: Optional[pulumi.Input[str]] = None,
                                  opts: Optional[InvokeOptions] = None) -> Output[ListNamespaceCredentialResult]
    func ListNamespaceCredential(ctx *Context, args *ListNamespaceCredentialArgs, opts ...InvokeOption) (*ListNamespaceCredentialResult, error)
    func ListNamespaceCredentialOutput(ctx *Context, args *ListNamespaceCredentialOutputArgs, opts ...InvokeOption) ListNamespaceCredentialResultOutput

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

    public static class ListNamespaceCredential 
    {
        public static Task<ListNamespaceCredentialResult> InvokeAsync(ListNamespaceCredentialArgs args, InvokeOptions? opts = null)
        public static Output<ListNamespaceCredentialResult> Invoke(ListNamespaceCredentialInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<ListNamespaceCredentialResult> listNamespaceCredential(ListNamespaceCredentialArgs args, InvokeOptions options)
    public static Output<ListNamespaceCredentialResult> listNamespaceCredential(ListNamespaceCredentialArgs args, InvokeOptions options)
    
    fn::invoke:
      function: azure-native:containerservice:listNamespaceCredential
      arguments:
        # arguments dictionary

    The following arguments are supported:

    NamespaceName string
    The name of the namespace.
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    ResourceName string
    The name of the managed cluster resource.
    NamespaceName string
    The name of the namespace.
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    ResourceName string
    The name of the managed cluster resource.
    namespaceName String
    The name of the namespace.
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    resourceName String
    The name of the managed cluster resource.
    namespaceName string
    The name of the namespace.
    resourceGroupName string
    The name of the resource group. The name is case insensitive.
    resourceName string
    The name of the managed cluster resource.
    namespace_name str
    The name of the namespace.
    resource_group_name str
    The name of the resource group. The name is case insensitive.
    resource_name str
    The name of the managed cluster resource.
    namespaceName String
    The name of the namespace.
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    resourceName String
    The name of the managed cluster resource.

    listNamespaceCredential Result

    The following output properties are available:

    Kubeconfigs []CredentialResultResponse
    Base64-encoded Kubernetes configuration file.
    kubeconfigs List<CredentialResultResponse>
    Base64-encoded Kubernetes configuration file.
    kubeconfigs CredentialResultResponse[]
    Base64-encoded Kubernetes configuration file.
    kubeconfigs Sequence[CredentialResultResponse]
    Base64-encoded Kubernetes configuration file.
    kubeconfigs List<Property Map>
    Base64-encoded Kubernetes configuration file.

    Supporting Types

    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.

    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 v2 docs if using the v2 version of this package.
    Azure Native v3.4.0 published on Wednesday, May 7, 2025 by Pulumi