1. Packages
  2. Azure Native
  3. API Docs
  4. redhatopenshift
  5. listOpenShiftClusterCredentials
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.37.0 published on Monday, Apr 15, 2024 by Pulumi

azure-native.redhatopenshift.listOpenShiftClusterCredentials

Explore with Pulumi AI

azure-native logo
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.37.0 published on Monday, Apr 15, 2024 by Pulumi

    The operation returns the credentials. Azure REST API version: 2022-09-04.

    Other available API versions: 2023-04-01, 2023-07-01-preview, 2023-09-04, 2023-11-22.

    Using listOpenShiftClusterCredentials

    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 listOpenShiftClusterCredentials(args: ListOpenShiftClusterCredentialsArgs, opts?: InvokeOptions): Promise<ListOpenShiftClusterCredentialsResult>
    function listOpenShiftClusterCredentialsOutput(args: ListOpenShiftClusterCredentialsOutputArgs, opts?: InvokeOptions): Output<ListOpenShiftClusterCredentialsResult>
    def list_open_shift_cluster_credentials(resource_group_name: Optional[str] = None,
                                            resource_name: Optional[str] = None,
                                            opts: Optional[InvokeOptions] = None) -> ListOpenShiftClusterCredentialsResult
    def list_open_shift_cluster_credentials_output(resource_group_name: Optional[pulumi.Input[str]] = None,
                                            resource_name: Optional[pulumi.Input[str]] = None,
                                            opts: Optional[InvokeOptions] = None) -> Output[ListOpenShiftClusterCredentialsResult]
    func ListOpenShiftClusterCredentials(ctx *Context, args *ListOpenShiftClusterCredentialsArgs, opts ...InvokeOption) (*ListOpenShiftClusterCredentialsResult, error)
    func ListOpenShiftClusterCredentialsOutput(ctx *Context, args *ListOpenShiftClusterCredentialsOutputArgs, opts ...InvokeOption) ListOpenShiftClusterCredentialsResultOutput

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

    public static class ListOpenShiftClusterCredentials 
    {
        public static Task<ListOpenShiftClusterCredentialsResult> InvokeAsync(ListOpenShiftClusterCredentialsArgs args, InvokeOptions? opts = null)
        public static Output<ListOpenShiftClusterCredentialsResult> Invoke(ListOpenShiftClusterCredentialsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<ListOpenShiftClusterCredentialsResult> listOpenShiftClusterCredentials(ListOpenShiftClusterCredentialsArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: azure-native:redhatopenshift:listOpenShiftClusterCredentials
      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.

    listOpenShiftClusterCredentials Result

    The following output properties are available:

    KubeadminPassword string
    The password for the kubeadmin user.
    KubeadminUsername string
    The username for the kubeadmin user.
    KubeadminPassword string
    The password for the kubeadmin user.
    KubeadminUsername string
    The username for the kubeadmin user.
    kubeadminPassword String
    The password for the kubeadmin user.
    kubeadminUsername String
    The username for the kubeadmin user.
    kubeadminPassword string
    The password for the kubeadmin user.
    kubeadminUsername string
    The username for the kubeadmin user.
    kubeadmin_password str
    The password for the kubeadmin user.
    kubeadmin_username str
    The username for the kubeadmin user.
    kubeadminPassword String
    The password for the kubeadmin user.
    kubeadminUsername String
    The username for the kubeadmin user.

    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 v1 docs if using the v1 version of this package.
    Azure Native v2.37.0 published on Monday, Apr 15, 2024 by Pulumi