import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * An E-MapReduce cluster consists of multiple types of instance nodes, including master instance nodes (Master), core instance nodes (Core), and task instance nodes (Task). Different service processes are deployed on each node type, and each is responsible for different tasks. * * ## Import * * ```sh * $ pulumi import volcenginecc:emr/nodeGroup:NodeGroup example "cluster_id|node_group_id" * ``` */ export declare class NodeGroup extends pulumi.CustomResource { /** * Get an existing NodeGroup 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?: NodeGroupState, opts?: pulumi.CustomResourceOptions): NodeGroup; /** * Returns true if the given object is an instance of NodeGroup. 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 NodeGroup; readonly applicationLayouts: pulumi.Output; /** * Subscription payment configuration. */ readonly chargePreConfig: pulumi.Output; /** * Payment type. PRE indicates monthly subscription, POST indicates pay-as-you-go. */ readonly chargeType: pulumi.Output; /** * Cluster ID. */ readonly clusterId: pulumi.Output; /** * Creation time. */ readonly createdTime: pulumi.Output; readonly dataDisks: pulumi.Output; /** * ECS instance specification list. Currently, only a single instance specification can be modified. */ readonly ecsInstanceTypes: pulumi.Output; /** * Custom configuration parameter list for the returned node group components. */ readonly layoutComponentNames: pulumi.Output; /** * Node count. Value range: 1~1000. */ readonly nodeCount: pulumi.Output; /** * Node group ID. */ readonly nodeGroupId: pulumi.Output; /** * Node group name. */ readonly nodeGroupName: pulumi.Output; /** * Node group status. RUNNING: Running. EXTENDING: Expanding. REDUCING: Shrinking. DISK_EXTENDING: Disk expansion. MODIFYING: Configuration modification in progress. */ readonly nodeGroupState: pulumi.Output; /** * Node group type. */ readonly nodeGroupType: pulumi.Output; readonly nodes: pulumi.Output; /** * Subnet ID list. */ readonly subnetIds: pulumi.Output; /** * System disk. */ readonly systemDisk: pulumi.Output; /** * Target disk size for expansion. Minimum 60GB, maximum 2048GB, unit: GB. */ readonly targetDiskSize: pulumi.Output; /** * Cluster termination time. */ readonly terminateTime: pulumi.Output; /** * Whether the ECS instance includes a public IP. */ readonly withPublicIp: pulumi.Output; /** * zoneId. If empty, the cluster's zoneId is reused by default. */ readonly zoneId: pulumi.Output; /** * Create a NodeGroup 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: NodeGroupArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering NodeGroup resources. */ export interface NodeGroupState { applicationLayouts?: pulumi.Input[]>; /** * Subscription payment configuration. */ chargePreConfig?: pulumi.Input; /** * Payment type. PRE indicates monthly subscription, POST indicates pay-as-you-go. */ chargeType?: pulumi.Input; /** * Cluster ID. */ clusterId?: pulumi.Input; /** * Creation time. */ createdTime?: pulumi.Input; dataDisks?: pulumi.Input[]>; /** * ECS instance specification list. Currently, only a single instance specification can be modified. */ ecsInstanceTypes?: pulumi.Input[]>; /** * Custom configuration parameter list for the returned node group components. */ layoutComponentNames?: pulumi.Input[]>; /** * Node count. Value range: 1~1000. */ nodeCount?: pulumi.Input; /** * Node group ID. */ nodeGroupId?: pulumi.Input; /** * Node group name. */ nodeGroupName?: pulumi.Input; /** * Node group status. RUNNING: Running. EXTENDING: Expanding. REDUCING: Shrinking. DISK_EXTENDING: Disk expansion. MODIFYING: Configuration modification in progress. */ nodeGroupState?: pulumi.Input; /** * Node group type. */ nodeGroupType?: pulumi.Input; nodes?: pulumi.Input[]>; /** * Subnet ID list. */ subnetIds?: pulumi.Input[]>; /** * System disk. */ systemDisk?: pulumi.Input; /** * Target disk size for expansion. Minimum 60GB, maximum 2048GB, unit: GB. */ targetDiskSize?: pulumi.Input; /** * Cluster termination time. */ terminateTime?: pulumi.Input; /** * Whether the ECS instance includes a public IP. */ withPublicIp?: pulumi.Input; /** * zoneId. If empty, the cluster's zoneId is reused by default. */ zoneId?: pulumi.Input; } /** * The set of arguments for constructing a NodeGroup resource. */ export interface NodeGroupArgs { applicationLayouts?: pulumi.Input[]>; /** * Subscription payment configuration. */ chargePreConfig?: pulumi.Input; /** * Payment type. PRE indicates monthly subscription, POST indicates pay-as-you-go. */ chargeType: pulumi.Input; /** * Cluster ID. */ clusterId: pulumi.Input; dataDisks?: pulumi.Input[]>; /** * ECS instance specification list. Currently, only a single instance specification can be modified. */ ecsInstanceTypes?: pulumi.Input[]>; /** * Node count. Value range: 1~1000. */ nodeCount: pulumi.Input; /** * Node group name. */ nodeGroupName: pulumi.Input; /** * Node group type. */ nodeGroupType: pulumi.Input; /** * Subnet ID list. */ subnetIds?: pulumi.Input[]>; /** * System disk. */ systemDisk?: pulumi.Input; /** * Target disk size for expansion. Minimum 60GB, maximum 2048GB, unit: GB. */ targetDiskSize?: pulumi.Input; /** * Whether the ECS instance includes a public IP. */ withPublicIp?: pulumi.Input; /** * zoneId. If empty, the cluster's zoneId is reused by default. */ zoneId?: pulumi.Input; }