azure-native.containerservice.listManagedClusterUserCredentials
Explore with Pulumi AI
The list credential result response. Azure REST API version: 2023-04-01.
Other available API versions: 2019-02-01, 2019-06-01, 2021-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.
Using listManagedClusterUserCredentials
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 listManagedClusterUserCredentials(args: ListManagedClusterUserCredentialsArgs, opts?: InvokeOptions): Promise<ListManagedClusterUserCredentialsResult>
function listManagedClusterUserCredentialsOutput(args: ListManagedClusterUserCredentialsOutputArgs, opts?: InvokeOptions): Output<ListManagedClusterUserCredentialsResult>
def list_managed_cluster_user_credentials(format: Optional[str] = None,
resource_group_name: Optional[str] = None,
resource_name: Optional[str] = None,
server_fqdn: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> ListManagedClusterUserCredentialsResult
def list_managed_cluster_user_credentials_output(format: Optional[pulumi.Input[str]] = None,
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[ListManagedClusterUserCredentialsResult]
func ListManagedClusterUserCredentials(ctx *Context, args *ListManagedClusterUserCredentialsArgs, opts ...InvokeOption) (*ListManagedClusterUserCredentialsResult, error)
func ListManagedClusterUserCredentialsOutput(ctx *Context, args *ListManagedClusterUserCredentialsOutputArgs, opts ...InvokeOption) ListManagedClusterUserCredentialsResultOutput
> Note: This function is named ListManagedClusterUserCredentials
in the Go SDK.
public static class ListManagedClusterUserCredentials
{
public static Task<ListManagedClusterUserCredentialsResult> InvokeAsync(ListManagedClusterUserCredentialsArgs args, InvokeOptions? opts = null)
public static Output<ListManagedClusterUserCredentialsResult> Invoke(ListManagedClusterUserCredentialsInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<ListManagedClusterUserCredentialsResult> listManagedClusterUserCredentials(ListManagedClusterUserCredentialsArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azure-native:containerservice:listManagedClusterUserCredentials
arguments:
# arguments dictionary
The following arguments are supported:
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Resource
Name string - The name of the managed cluster resource.
- Format string
- Only apply to AAD clusters, specifies the format of returned kubeconfig. Format 'azure' will return azure auth-provider kubeconfig; format 'exec' will return exec format kubeconfig, which requires kubelogin binary in the path.
- Server
Fqdn string - server fqdn type for credentials to be returned
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Resource
Name string - The name of the managed cluster resource.
- Format string
- Only apply to AAD clusters, specifies the format of returned kubeconfig. Format 'azure' will return azure auth-provider kubeconfig; format 'exec' will return exec format kubeconfig, which requires kubelogin binary in the path.
- Server
Fqdn string - server fqdn type for credentials to be returned
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- resource
Name String - The name of the managed cluster resource.
- format String
- Only apply to AAD clusters, specifies the format of returned kubeconfig. Format 'azure' will return azure auth-provider kubeconfig; format 'exec' will return exec format kubeconfig, which requires kubelogin binary in the path.
- server
Fqdn String - server fqdn type for credentials to be returned
- resource
Group stringName - The name of the resource group. The name is case insensitive.
- resource
Name string - The name of the managed cluster resource.
- format string
- Only apply to AAD clusters, specifies the format of returned kubeconfig. Format 'azure' will return azure auth-provider kubeconfig; format 'exec' will return exec format kubeconfig, which requires kubelogin binary in the path.
- server
Fqdn string - server fqdn type for credentials to be returned
- resource_
group_ strname - The name of the resource group. The name is case insensitive.
- resource_
name str - The name of the managed cluster resource.
- format str
- Only apply to AAD clusters, specifies the format of returned kubeconfig. Format 'azure' will return azure auth-provider kubeconfig; format 'exec' will return exec format kubeconfig, which requires kubelogin binary in the path.
- server_
fqdn str - server fqdn type for credentials to be returned
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- resource
Name String - The name of the managed cluster resource.
- format String
- Only apply to AAD clusters, specifies the format of returned kubeconfig. Format 'azure' will return azure auth-provider kubeconfig; format 'exec' will return exec format kubeconfig, which requires kubelogin binary in the path.
- server
Fqdn String - server fqdn type for credentials to be returned
listManagedClusterUserCredentials 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 pulumi/pulumi-azure-native
- License
- Apache-2.0