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

47 lines (46 loc) 2.2 kB
import * as pulumi from "@pulumi/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](../../../version-guide/#accessing-any-api-version-via-local-packages) for details. */ export declare function listOpenShiftClusterAdminCredentials(args: ListOpenShiftClusterAdminCredentialsArgs, opts?: pulumi.InvokeOptions): Promise<ListOpenShiftClusterAdminCredentialsResult>; export interface ListOpenShiftClusterAdminCredentialsArgs { /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: string; /** * The name of the OpenShift cluster resource. */ resourceName: string; } /** * OpenShiftClusterAdminKubeconfig represents an OpenShift cluster's admin kubeconfig. */ export interface ListOpenShiftClusterAdminCredentialsResult { /** * The base64-encoded kubeconfig file. */ readonly kubeconfig?: string; } /** * 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](../../../version-guide/#accessing-any-api-version-via-local-packages) for details. */ export declare function listOpenShiftClusterAdminCredentialsOutput(args: ListOpenShiftClusterAdminCredentialsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<ListOpenShiftClusterAdminCredentialsResult>; export interface ListOpenShiftClusterAdminCredentialsOutputArgs { /** * 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>; }