UNPKG

@pulumi/azure-native

Version:

[![Slack](http://www.pulumi.com/images/docs/badges/slack.svg)](https://slack.pulumi.com) [![NPM version](https://badge.fury.io/js/%40pulumi%2Fazure-native.svg)](https://npmjs.com/package/@pulumi/azure-native) [![Python version](https://badge.fury.io/py/pu

51 lines (50 loc) 2.25 kB
import * as pulumi from "@pulumi/pulumi"; /** * The operation returns the credentials. * * 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](../../../version-guide/#accessing-any-api-version-via-local-packages) for details. */ export declare function listOpenShiftClusterCredentials(args: ListOpenShiftClusterCredentialsArgs, opts?: pulumi.InvokeOptions): Promise<ListOpenShiftClusterCredentialsResult>; export interface ListOpenShiftClusterCredentialsArgs { /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: string; /** * The name of the OpenShift cluster resource. */ resourceName: string; } /** * OpenShiftClusterCredentials represents an OpenShift cluster's credentials. */ export interface ListOpenShiftClusterCredentialsResult { /** * The password for the kubeadmin user. */ readonly kubeadminPassword?: string; /** * The username for the kubeadmin user. */ readonly kubeadminUsername?: string; } /** * The operation returns the credentials. * * 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](../../../version-guide/#accessing-any-api-version-via-local-packages) for details. */ export declare function listOpenShiftClusterCredentialsOutput(args: ListOpenShiftClusterCredentialsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<ListOpenShiftClusterCredentialsResult>; export interface ListOpenShiftClusterCredentialsOutputArgs { /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: pulumi.Input<string>; /** * The name of the OpenShift cluster resource. */ resourceName: pulumi.Input<string>; }