import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * E-MapReduce (EMR) is an enterprise-grade big data analytics system based on the open-source Hadoop ecosystem. It is fully compatible with open source and provides integration and management for ecosystem components such as Hadoop, Spark, Hive, Hudi, and Iceberg. * * ## Import * * ```sh * $ pulumi import volcenginecc:emr/cluster:Cluster example "cluster_id" * ``` */ 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; /** * Account ID. */ readonly accountId: pulumi.Output; readonly applicationExtras: pulumi.Output; /** * List of service names installed in the cluster. Creation-related field. */ readonly applicationNames: pulumi.Output; readonly applications: pulumi.Output; readonly bootstrapScripts: pulumi.Output; /** * Monthly subscription configuration parameters. Required when chargeType=PRE. */ readonly chargePreConfig: pulumi.Output; /** * Payment type. PRE means monthly subscription, POST means pay-as-you-go. */ readonly chargeType: pulumi.Output; /** * Cluster DNS domain suffix list. */ readonly clusterDomainNames: pulumi.Output; /** * Cluster ID. */ readonly clusterId: pulumi.Output; /** * Cluster name. */ readonly clusterName: pulumi.Output; /** * Cluster status. */ readonly clusterState: pulumi.Output; /** * Cluster type. */ readonly clusterType: pulumi.Output; /** * Cluster creation time. */ readonly createdTime: pulumi.Output; /** * Creator ID. */ readonly creatorId: pulumi.Output; /** * Creator name. */ readonly creatorName: pulumi.Output; /** * Deployment mode. SIMPLE means simple mode, HIGH_AVAILABLE means high availability mode. */ readonly deployMode: pulumi.Output; /** * ECS image ID. */ readonly ecsImageId: pulumi.Output; /** * Cluster expiration time. */ readonly expireTime: pulumi.Output; /** * HistoryServer mode: LOCAL stores active data within the cluster, PHS stores active data outside the cluster. */ readonly historyServerMode: pulumi.Output; /** * Cluster global node information. */ readonly nodeAttribute: pulumi.Output; readonly nodeGroupAttributes: pulumi.Output; /** * Project to which the resource belongs. Default is 'default'. Each resource can belong to only one project. Only letters, numbers, underscores '_', dots '.', and hyphens '-' are allowed. Maximum length is 64 characters. */ readonly projectName: pulumi.Output; /** * Cluster creation completion time. */ readonly readyTime: pulumi.Output; /** * Cluster version. */ readonly releaseVersion: pulumi.Output; /** * Cluster global security group ID. All ECS in node groups will join this security group. */ readonly securityGroupId: pulumi.Output; /** * Security mode. */ readonly securityMode: pulumi.Output; /** * Status change reason. */ readonly stateChangeReason: pulumi.Output; readonly tags: pulumi.Output; /** * Cluster termination time. */ readonly terminateTime: pulumi.Output; /** * Vpc ID。 */ readonly vpcId: 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 { /** * Account ID. */ accountId?: pulumi.Input; applicationExtras?: pulumi.Input[]>; /** * List of service names installed in the cluster. Creation-related field. */ applicationNames?: pulumi.Input[]>; applications?: pulumi.Input[]>; bootstrapScripts?: pulumi.Input[]>; /** * Monthly subscription configuration parameters. Required when chargeType=PRE. */ chargePreConfig?: pulumi.Input; /** * Payment type. PRE means monthly subscription, POST means pay-as-you-go. */ chargeType?: pulumi.Input; /** * Cluster DNS domain suffix list. */ clusterDomainNames?: pulumi.Input[]>; /** * Cluster ID. */ clusterId?: pulumi.Input; /** * Cluster name. */ clusterName?: pulumi.Input; /** * Cluster status. */ clusterState?: pulumi.Input; /** * Cluster type. */ clusterType?: pulumi.Input; /** * Cluster creation time. */ createdTime?: pulumi.Input; /** * Creator ID. */ creatorId?: pulumi.Input; /** * Creator name. */ creatorName?: pulumi.Input; /** * Deployment mode. SIMPLE means simple mode, HIGH_AVAILABLE means high availability mode. */ deployMode?: pulumi.Input; /** * ECS image ID. */ ecsImageId?: pulumi.Input; /** * Cluster expiration time. */ expireTime?: pulumi.Input; /** * HistoryServer mode: LOCAL stores active data within the cluster, PHS stores active data outside the cluster. */ historyServerMode?: pulumi.Input; /** * Cluster global node information. */ nodeAttribute?: pulumi.Input; nodeGroupAttributes?: pulumi.Input[]>; /** * Project to which the resource belongs. Default is 'default'. Each resource can belong to only one project. Only letters, numbers, underscores '_', dots '.', and hyphens '-' are allowed. Maximum length is 64 characters. */ projectName?: pulumi.Input; /** * Cluster creation completion time. */ readyTime?: pulumi.Input; /** * Cluster version. */ releaseVersion?: pulumi.Input; /** * Cluster global security group ID. All ECS in node groups will join this security group. */ securityGroupId?: pulumi.Input; /** * Security mode. */ securityMode?: pulumi.Input; /** * Status change reason. */ stateChangeReason?: pulumi.Input; tags?: pulumi.Input[]>; /** * Cluster termination time. */ terminateTime?: pulumi.Input; /** * Vpc ID。 */ vpcId?: pulumi.Input; } /** * The set of arguments for constructing a Cluster resource. */ export interface ClusterArgs { applicationExtras?: pulumi.Input[]>; /** * List of service names installed in the cluster. Creation-related field. */ applicationNames?: pulumi.Input[]>; bootstrapScripts?: pulumi.Input[]>; /** * Monthly subscription configuration parameters. Required when chargeType=PRE. */ chargePreConfig?: pulumi.Input; /** * Payment type. PRE means monthly subscription, POST means pay-as-you-go. */ chargeType: pulumi.Input; /** * Cluster name. */ clusterName: pulumi.Input; /** * Cluster type. */ clusterType: pulumi.Input; /** * Deployment mode. SIMPLE means simple mode, HIGH_AVAILABLE means high availability mode. */ deployMode?: pulumi.Input; /** * HistoryServer mode: LOCAL stores active data within the cluster, PHS stores active data outside the cluster. */ historyServerMode?: pulumi.Input; /** * Cluster global node information. */ nodeAttribute: pulumi.Input; nodeGroupAttributes?: pulumi.Input[]>; /** * Project to which the resource belongs. Default is 'default'. Each resource can belong to only one project. Only letters, numbers, underscores '_', dots '.', and hyphens '-' are allowed. Maximum length is 64 characters. */ projectName?: pulumi.Input; /** * Cluster version. */ releaseVersion: pulumi.Input; /** * Cluster global security group ID. All ECS in node groups will join this security group. */ securityGroupId: pulumi.Input; /** * Security mode. */ securityMode?: pulumi.Input; tags?: pulumi.Input[]>; /** * Vpc ID。 */ vpcId: pulumi.Input; }