Welcome to Pulumi Registry, your window into the cloud. Read the announcement.

Azure Native

v1.47.0 published on Saturday, Nov 20, 2021 by Pulumi

listManagedClusterAdminCredentials

The list of credential result response. API Version: 2021-03-01.

Using listManagedClusterAdminCredentials

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 listManagedClusterAdminCredentials(args: ListManagedClusterAdminCredentialsArgs, opts?: InvokeOptions): Promise<ListManagedClusterAdminCredentialsResult>
function listManagedClusterAdminCredentialsOutput(args: ListManagedClusterAdminCredentialsOutputArgs, opts?: InvokeOptions): Output<ListManagedClusterAdminCredentialsResult>
def list_managed_cluster_admin_credentials(resource_group_name: Optional[str] = None,
                                           resource_name: Optional[str] = None,
                                           opts: Optional[InvokeOptions] = None) -> ListManagedClusterAdminCredentialsResult
def list_managed_cluster_admin_credentials_output(resource_group_name: Optional[pulumi.Input[str]] = None,
                                           resource_name: Optional[pulumi.Input[str]] = None,
                                           opts: Optional[InvokeOptions] = None) -> Output[ListManagedClusterAdminCredentialsResult]
func ListManagedClusterAdminCredentials(ctx *Context, args *ListManagedClusterAdminCredentialsArgs, opts ...InvokeOption) (*ListManagedClusterAdminCredentialsResult, error)

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

public static class ListManagedClusterAdminCredentials 
{
    public static Task<ListManagedClusterAdminCredentialsResult> InvokeAsync(ListManagedClusterAdminCredentialsArgs args, InvokeOptions? opts = null)
    public static Output<ListManagedClusterAdminCredentialsResult> Invoke(ListManagedClusterAdminCredentialsInvokeArgs args, InvokeOptions? opts = null)
}

The following arguments are supported:

ResourceGroupName string
The name of the resource group.
ResourceName string
The name of the managed cluster resource.
ResourceGroupName string
The name of the resource group.
ResourceName string
The name of the managed cluster resource.
resourceGroupName string
The name of the resource group.
resourceName string
The name of the managed cluster resource.
resource_group_name str
The name of the resource group.
resource_name str
The name of the managed cluster resource.

listManagedClusterAdminCredentials Result

The following output properties are available:

Kubeconfigs []CredentialResultResponse
Base64-encoded Kubernetes configuration file.
kubeconfigs CredentialResultResponse[]
Base64-encoded Kubernetes configuration file.
kubeconfigs Sequence[CredentialResultResponse]
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 str
The name of the credential.
value str
Base64-encoded Kubernetes configuration file.

Package Details

Repository
https://github.com/pulumi/pulumi-azure-native
License
Apache-2.0