1. Packages
  2. Azure Native
  3. API Docs
  4. redhatopenshift
  5. listOpenShiftClusterAdminCredentials
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.3.0 published on Monday, Apr 28, 2025 by Pulumi

azure-native.redhatopenshift.listOpenShiftClusterAdminCredentials

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.3.0 published on Monday, Apr 28, 2025 by Pulumi

    The operation returns the admin kubeconfig.

    Uses Azure REST API version 2023-11-22.

    Other available API versions: 2022-09-04, 2023-04-01, 2023-07-01-preview, 2023-09-04, 2024-08-12-preview. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native redhatopenshift [ApiVersion]. See the version guide for details.

    Using listOpenShiftClusterAdminCredentials

    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 listOpenShiftClusterAdminCredentials(args: ListOpenShiftClusterAdminCredentialsArgs, opts?: InvokeOptions): Promise<ListOpenShiftClusterAdminCredentialsResult>
    function listOpenShiftClusterAdminCredentialsOutput(args: ListOpenShiftClusterAdminCredentialsOutputArgs, opts?: InvokeOptions): Output<ListOpenShiftClusterAdminCredentialsResult>
    def list_open_shift_cluster_admin_credentials(resource_group_name: Optional[str] = None,
                                                  resource_name: Optional[str] = None,
                                                  opts: Optional[InvokeOptions] = None) -> ListOpenShiftClusterAdminCredentialsResult
    def list_open_shift_cluster_admin_credentials_output(resource_group_name: Optional[pulumi.Input[str]] = None,
                                                  resource_name: Optional[pulumi.Input[str]] = None,
                                                  opts: Optional[InvokeOptions] = None) -> Output[ListOpenShiftClusterAdminCredentialsResult]
    func ListOpenShiftClusterAdminCredentials(ctx *Context, args *ListOpenShiftClusterAdminCredentialsArgs, opts ...InvokeOption) (*ListOpenShiftClusterAdminCredentialsResult, error)
    func ListOpenShiftClusterAdminCredentialsOutput(ctx *Context, args *ListOpenShiftClusterAdminCredentialsOutputArgs, opts ...InvokeOption) ListOpenShiftClusterAdminCredentialsResultOutput

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

    public static class ListOpenShiftClusterAdminCredentials 
    {
        public static Task<ListOpenShiftClusterAdminCredentialsResult> InvokeAsync(ListOpenShiftClusterAdminCredentialsArgs args, InvokeOptions? opts = null)
        public static Output<ListOpenShiftClusterAdminCredentialsResult> Invoke(ListOpenShiftClusterAdminCredentialsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<ListOpenShiftClusterAdminCredentialsResult> listOpenShiftClusterAdminCredentials(ListOpenShiftClusterAdminCredentialsArgs args, InvokeOptions options)
    public static Output<ListOpenShiftClusterAdminCredentialsResult> listOpenShiftClusterAdminCredentials(ListOpenShiftClusterAdminCredentialsArgs args, InvokeOptions options)
    
    fn::invoke:
      function: azure-native:redhatopenshift:listOpenShiftClusterAdminCredentials
      arguments:
        # arguments dictionary

    The following arguments are supported:

    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    ResourceName string
    The name of the OpenShift cluster resource.
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    ResourceName string
    The name of the OpenShift cluster resource.
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    resourceName String
    The name of the OpenShift cluster resource.
    resourceGroupName string
    The name of the resource group. The name is case insensitive.
    resourceName string
    The name of the OpenShift cluster resource.
    resource_group_name str
    The name of the resource group. The name is case insensitive.
    resource_name str
    The name of the OpenShift cluster resource.
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    resourceName String
    The name of the OpenShift cluster resource.

    listOpenShiftClusterAdminCredentials Result

    The following output properties are available:

    Kubeconfig string
    The base64-encoded kubeconfig file.
    Kubeconfig string
    The base64-encoded kubeconfig file.
    kubeconfig String
    The base64-encoded kubeconfig file.
    kubeconfig string
    The base64-encoded kubeconfig file.
    kubeconfig str
    The base64-encoded kubeconfig file.
    kubeconfig String
    The base64-encoded kubeconfig 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.3.0 published on Monday, Apr 28, 2025 by Pulumi