import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * Manages a fully managed Azure Red Hat OpenShift Cluster (also known as ARO). * * > **Note:** All arguments including the client secret will be stored in the raw state as plain-text. [Read more about sensitive data in state](https://www.terraform.io/docs/state/sensitive-data.html). * * ## Import * * Red Hat OpenShift Clusters can be imported using the `resource id`, e.g. * * ```sh * $ pulumi import azure:redhatopenshift/cluster:Cluster cluster1 /subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/group1/providers/Microsoft.RedHatOpenShift/openShiftClusters/cluster1 * ``` */ export declare class Cluster extends pulumi.CustomResource { /** * Get an existing Cluster resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: ClusterState, opts?: pulumi.CustomResourceOptions): Cluster; /** * Returns true if the given object is an instance of Cluster. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is Cluster; /** * An `apiServerProfile` block as defined below. Changing this forces a new resource to be created. */ readonly apiServerProfile: pulumi.Output; /** * A `clusterProfile` block as defined below. Changing this forces a new resource to be created. */ readonly clusterProfile: pulumi.Output; /** * The Red Hat OpenShift cluster console URL. */ readonly consoleUrl: pulumi.Output; /** * An `ingressProfile` block as defined below. Changing this forces a new resource to be created. */ readonly ingressProfile: pulumi.Output; /** * The location where the Azure Red Hat OpenShift Cluster should be created. Changing this forces a new resource to be created. */ readonly location: pulumi.Output; /** * A `mainProfile` block as defined below. Changing this forces a new resource to be created. */ readonly mainProfile: pulumi.Output; /** * The name of the Azure Red Hat OpenShift Cluster to create. Changing this forces a new resource to be created. */ readonly name: pulumi.Output; /** * A `networkProfile` block as defined below. Changing this forces a new resource to be created. */ readonly networkProfile: pulumi.Output; /** * Specifies the Resource Group where the Azure Red Hat OpenShift Cluster should exist. Changing this forces a new resource to be created. */ readonly resourceGroupName: pulumi.Output; /** * A `servicePrincipal` block as defined below. */ readonly servicePrincipal: pulumi.Output; /** * A mapping of tags to assign to the resource. */ readonly tags: pulumi.Output<{ [key: string]: string; } | undefined>; /** * A `workerProfile` block as defined below. Changing this forces a new resource to be created. */ readonly workerProfile: pulumi.Output; /** * Create a Cluster resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: ClusterArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering Cluster resources. */ export interface ClusterState { /** * An `apiServerProfile` block as defined below. Changing this forces a new resource to be created. */ apiServerProfile?: pulumi.Input; /** * A `clusterProfile` block as defined below. Changing this forces a new resource to be created. */ clusterProfile?: pulumi.Input; /** * The Red Hat OpenShift cluster console URL. */ consoleUrl?: pulumi.Input; /** * An `ingressProfile` block as defined below. Changing this forces a new resource to be created. */ ingressProfile?: pulumi.Input; /** * The location where the Azure Red Hat OpenShift Cluster should be created. Changing this forces a new resource to be created. */ location?: pulumi.Input; /** * A `mainProfile` block as defined below. Changing this forces a new resource to be created. */ mainProfile?: pulumi.Input; /** * The name of the Azure Red Hat OpenShift Cluster to create. Changing this forces a new resource to be created. */ name?: pulumi.Input; /** * A `networkProfile` block as defined below. Changing this forces a new resource to be created. */ networkProfile?: pulumi.Input; /** * Specifies the Resource Group where the Azure Red Hat OpenShift Cluster should exist. Changing this forces a new resource to be created. */ resourceGroupName?: pulumi.Input; /** * A `servicePrincipal` block as defined below. */ servicePrincipal?: pulumi.Input; /** * A mapping of tags to assign to the resource. */ tags?: pulumi.Input<{ [key: string]: pulumi.Input; }>; /** * A `workerProfile` block as defined below. Changing this forces a new resource to be created. */ workerProfile?: pulumi.Input; } /** * The set of arguments for constructing a Cluster resource. */ export interface ClusterArgs { /** * An `apiServerProfile` block as defined below. Changing this forces a new resource to be created. */ apiServerProfile: pulumi.Input; /** * A `clusterProfile` block as defined below. Changing this forces a new resource to be created. */ clusterProfile: pulumi.Input; /** * An `ingressProfile` block as defined below. Changing this forces a new resource to be created. */ ingressProfile: pulumi.Input; /** * The location where the Azure Red Hat OpenShift Cluster should be created. Changing this forces a new resource to be created. */ location?: pulumi.Input; /** * A `mainProfile` block as defined below. Changing this forces a new resource to be created. */ mainProfile: pulumi.Input; /** * The name of the Azure Red Hat OpenShift Cluster to create. Changing this forces a new resource to be created. */ name?: pulumi.Input; /** * A `networkProfile` block as defined below. Changing this forces a new resource to be created. */ networkProfile: pulumi.Input; /** * Specifies the Resource Group where the Azure Red Hat OpenShift Cluster should exist. Changing this forces a new resource to be created. */ resourceGroupName: pulumi.Input; /** * A `servicePrincipal` block as defined below. */ servicePrincipal: pulumi.Input; /** * A mapping of tags to assign to the resource. */ tags?: pulumi.Input<{ [key: string]: pulumi.Input; }>; /** * A `workerProfile` block as defined below. Changing this forces a new resource to be created. */ workerProfile: pulumi.Input; }