1. Packages
  2. Azure Native
  3. API Docs
  4. containerservice
  5. listManagedClusterAdminCredentials
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.1.0 published on Tuesday, Apr 8, 2025 by Pulumi

azure-native.containerservice.listManagedClusterAdminCredentials

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.1.0 published on Tuesday, Apr 8, 2025 by Pulumi

The list credential result response.

Uses Azure REST API version 2024-10-01.

Other available API versions: 2019-11-01, 2020-01-01, 2020-02-01, 2020-03-01, 2020-04-01, 2020-06-01, 2020-07-01, 2020-09-01, 2020-11-01, 2020-12-01, 2021-02-01, 2021-03-01, 2021-05-01, 2021-07-01, 2021-08-01, 2021-09-01, 2021-10-01, 2021-11-01-preview, 2022-01-01, 2022-01-02-preview, 2022-02-01, 2022-02-02-preview, 2022-03-01, 2022-03-02-preview, 2022-04-01, 2022-04-02-preview, 2022-05-02-preview, 2022-06-01, 2022-06-02-preview, 2022-07-01, 2022-07-02-preview, 2022-08-02-preview, 2022-08-03-preview, 2022-09-01, 2022-09-02-preview, 2022-10-02-preview, 2022-11-01, 2022-11-02-preview, 2023-01-01, 2023-01-02-preview, 2023-02-01, 2023-02-02-preview, 2023-03-01, 2023-03-02-preview, 2023-04-01, 2023-04-02-preview, 2023-05-01, 2023-05-02-preview, 2023-06-01, 2023-06-02-preview, 2023-07-01, 2023-07-02-preview, 2023-08-01, 2023-08-02-preview, 2023-09-01, 2023-09-02-preview, 2023-10-01, 2023-10-02-preview, 2023-11-01, 2023-11-02-preview, 2024-01-01, 2024-01-02-preview, 2024-02-01, 2024-02-02-preview, 2024-03-02-preview, 2024-04-02-preview, 2024-05-01, 2024-05-02-preview, 2024-06-02-preview, 2024-07-01, 2024-07-02-preview, 2024-08-01, 2024-09-01, 2024-09-02-preview, 2024-10-02-preview, 2025-01-01. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native containerservice [ApiVersion]. See the version guide for details.

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>
Copy
def list_managed_cluster_admin_credentials(resource_group_name: Optional[str] = None,
                                           resource_name: Optional[str] = None,
                                           server_fqdn: 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,
                                           server_fqdn: Optional[pulumi.Input[str]] = None,
                                           opts: Optional[InvokeOptions] = None) -> Output[ListManagedClusterAdminCredentialsResult]
Copy
func ListManagedClusterAdminCredentials(ctx *Context, args *ListManagedClusterAdminCredentialsArgs, opts ...InvokeOption) (*ListManagedClusterAdminCredentialsResult, error)
func ListManagedClusterAdminCredentialsOutput(ctx *Context, args *ListManagedClusterAdminCredentialsOutputArgs, opts ...InvokeOption) ListManagedClusterAdminCredentialsResultOutput
Copy

> 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)
}
Copy
public static CompletableFuture<ListManagedClusterAdminCredentialsResult> listManagedClusterAdminCredentials(ListManagedClusterAdminCredentialsArgs args, InvokeOptions options)
public static Output<ListManagedClusterAdminCredentialsResult> listManagedClusterAdminCredentials(ListManagedClusterAdminCredentialsArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: azure-native:containerservice:listManagedClusterAdminCredentials
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
ResourceName
This property is required.
Changes to this property will trigger replacement.
string
The name of the managed cluster resource.
ServerFqdn string
server fqdn type for credentials to be returned
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
ResourceName
This property is required.
Changes to this property will trigger replacement.
string
The name of the managed cluster resource.
ServerFqdn string
server fqdn type for credentials to be returned
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group. The name is case insensitive.
resourceName
This property is required.
Changes to this property will trigger replacement.
String
The name of the managed cluster resource.
serverFqdn String
server fqdn type for credentials to be returned
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
resourceName
This property is required.
Changes to this property will trigger replacement.
string
The name of the managed cluster resource.
serverFqdn string
server fqdn type for credentials to be returned
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.
resource_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the managed cluster resource.
server_fqdn str
server fqdn type for credentials to be returned
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group. The name is case insensitive.
resourceName
This property is required.
Changes to this property will trigger replacement.
String
The name of the managed cluster resource.
serverFqdn String
server fqdn type for credentials to be returned

listManagedClusterAdminCredentials 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 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.

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.1.0 published on Tuesday, Apr 8, 2025 by Pulumi