1. Packages
  2. Azure Native v1
  3. API Docs
  4. redhatopenshift
  5. listOpenShiftClusterCredentials
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.redhatopenshift.listOpenShiftClusterCredentials

Explore with Pulumi AI

azure-native-v1 logo
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

    The operation returns the credentials. API Version: 2020-04-30.

    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-v1 pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native-v1 logo
    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