These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi
azure-native.containerservice.listManagedClusterAdminCredentials
Explore with Pulumi AI
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi
Gets cluster admin credential of the managed cluster with a specified resource group and name. 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)
func ListManagedClusterAdminCredentialsOutput(ctx *Context, args *ListManagedClusterAdminCredentialsOutputArgs, opts ...InvokeOption) ListManagedClusterAdminCredentialsResultOutput
> 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)
}
public static CompletableFuture<ListManagedClusterAdminCredentialsResult> listManagedClusterAdminCredentials(ListManagedClusterAdminCredentialsArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azure-native:containerservice:listManagedClusterAdminCredentials
arguments:
# arguments dictionary
The following arguments are supported:
- Resource
Group stringName - The name of the resource group.
- Resource
Name string - The name of the managed cluster resource.
- Resource
Group stringName - The name of the resource group.
- Resource
Name string - The name of the managed cluster resource.
- resource
Group StringName - The name of the resource group.
- resource
Name String - The name of the managed cluster resource.
- resource
Group stringName - The name of the resource group.
- resource
Name string - The name of the managed cluster resource.
- resource_
group_ strname - The name of the resource group.
- resource_
name str - The name of the managed cluster resource.
- resource
Group StringName - The name of the resource group.
- resource
Name String - The name of the managed cluster resource.
listManagedClusterAdminCredentials Result
The following output properties are available:
- Kubeconfigs
List<Pulumi.
Azure Native. Container Service. Outputs. Credential Result Response> - Base64-encoded Kubernetes configuration file.
- Kubeconfigs
[]Credential
Result Response - Base64-encoded Kubernetes configuration file.
- kubeconfigs
List<Credential
Result Response> - Base64-encoded Kubernetes configuration file.
- kubeconfigs
Credential
Result Response[] - Base64-encoded Kubernetes configuration file.
- kubeconfigs
Sequence[Credential
Result Response] - Base64-encoded Kubernetes configuration file.
- kubeconfigs List<Property Map>
- Base64-encoded Kubernetes configuration file.
Supporting Types
CredentialResultResponse
Package Details
- Repository
- azure-native-v1 pulumi/pulumi-azure-native
- License
- Apache-2.0
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi