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.90.0 published on Thursday, Mar 27, 2025 by Pulumi

azure-native.redhatopenshift.listOpenShiftClusterCredentials

Explore with Pulumi AI

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.90.0 published on Thursday, Mar 27, 2025 by Pulumi

The operation returns the credentials.

Uses Azure REST API version 2022-09-04.

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

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>
Copy
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]
Copy
func ListOpenShiftClusterCredentials(ctx *Context, args *ListOpenShiftClusterCredentialsArgs, opts ...InvokeOption) (*ListOpenShiftClusterCredentialsResult, error)
func ListOpenShiftClusterCredentialsOutput(ctx *Context, args *ListOpenShiftClusterCredentialsOutputArgs, opts ...InvokeOption) ListOpenShiftClusterCredentialsResultOutput
Copy

> 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)
}
Copy
public static CompletableFuture<ListOpenShiftClusterCredentialsResult> listOpenShiftClusterCredentials(ListOpenShiftClusterCredentialsArgs args, InvokeOptions options)
public static Output<ListOpenShiftClusterCredentialsResult> listOpenShiftClusterCredentials(ListOpenShiftClusterCredentialsArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: azure-native:redhatopenshift:listOpenShiftClusterCredentials
  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 OpenShift cluster resource.
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 OpenShift cluster resource.
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 OpenShift cluster resource.
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 OpenShift cluster resource.
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 OpenShift cluster resource.
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 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
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.90.0 published on Thursday, Mar 27, 2025 by Pulumi