@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 4.24 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* The operation returns properties of a OpenShift cluster.
*
* 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 getOpenShiftCluster(args: GetOpenShiftClusterArgs, opts?: pulumi.InvokeOptions): Promise<GetOpenShiftClusterResult>;
export interface GetOpenShiftClusterArgs {
/**
* The name of the resource group. The name is case insensitive.
*/
resourceGroupName: string;
/**
* The name of the OpenShift cluster resource.
*/
resourceName: string;
}
/**
* OpenShiftCluster represents an Azure Red Hat OpenShift cluster.
*/
export interface GetOpenShiftClusterResult {
/**
* The cluster API server profile.
*/
readonly apiserverProfile?: outputs.redhatopenshift.APIServerProfileResponse;
/**
* The Azure API version of the resource.
*/
readonly azureApiVersion: string;
/**
* The cluster profile.
*/
readonly clusterProfile?: outputs.redhatopenshift.ClusterProfileResponse;
/**
* The console profile.
*/
readonly consoleProfile?: outputs.redhatopenshift.ConsoleProfileResponse;
/**
* Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
*/
readonly id: string;
/**
* The cluster ingress profiles.
*/
readonly ingressProfiles?: outputs.redhatopenshift.IngressProfileResponse[];
/**
* The geo-location where the resource lives
*/
readonly location: string;
/**
* The cluster master profile.
*/
readonly masterProfile?: outputs.redhatopenshift.MasterProfileResponse;
/**
* The name of the resource
*/
readonly name: string;
/**
* The cluster network profile.
*/
readonly networkProfile?: outputs.redhatopenshift.NetworkProfileResponse;
/**
* The cluster provisioning state.
*/
readonly provisioningState?: string;
/**
* The cluster service principal profile.
*/
readonly servicePrincipalProfile?: outputs.redhatopenshift.ServicePrincipalProfileResponse;
/**
* Azure Resource Manager metadata containing createdBy and modifiedBy information.
*/
readonly systemData: outputs.redhatopenshift.SystemDataResponse;
/**
* Resource tags.
*/
readonly tags?: {
[key: string]: string;
};
/**
* The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
*/
readonly type: string;
/**
* The cluster worker profiles.
*/
readonly workerProfiles?: outputs.redhatopenshift.WorkerProfileResponse[];
/**
* The cluster worker profiles status.
*/
readonly workerProfilesStatus: outputs.redhatopenshift.WorkerProfileResponse[];
}
/**
* The operation returns properties of a OpenShift cluster.
*
* 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 getOpenShiftClusterOutput(args: GetOpenShiftClusterOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetOpenShiftClusterResult>;
export interface GetOpenShiftClusterOutputArgs {
/**
* 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>;
}