emrv2

package
v3.46.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 30, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cluster

type Cluster struct {
	pulumi.CustomResourceState

	// The application configurations of EMR cluster. See `applicationConfigs` below.
	ApplicationConfigs ClusterApplicationConfigArrayOutput `pulumi:"applicationConfigs"`
	// The applications of EMR cluster to be installed, e.g. HADOOP-COMMON, HDFS, YARN, HIVE, SPARK2, SPARK3, ZOOKEEPER etc. You can find all valid applications in emr web console.
	Applications pulumi.StringArrayOutput `pulumi:"applications"`
	// The bootstrap scripts to be effected when creating emr-cluster or resize emr-cluster. See `bootstrapScripts` below.
	BootstrapScripts ClusterBootstrapScriptArrayOutput `pulumi:"bootstrapScripts"`
	// The name of emr cluster. The name length must be less than 64. Supported characters: chinese character, english character, number, "-", "_".
	ClusterName pulumi.StringOutput `pulumi:"clusterName"`
	// EMR Cluster Type, e.g. DATALAKE, OLAP, DATAFLOW, DATASERVING, CUSTOM etc. You can find all valid EMR cluster type in emr web console.
	ClusterType pulumi.StringOutput `pulumi:"clusterType"`
	// The deploy mode of EMR cluster. Supported value: NORMAL or HA.
	DeployMode pulumi.StringOutput `pulumi:"deployMode"`
	// The node attributes of ecs instances which the emr-cluster belongs. See `nodeAttributes` below.
	NodeAttributes ClusterNodeAttributeArrayOutput `pulumi:"nodeAttributes"`
	// Groups of node, You can specify MASTER as a group, CORE as a group (just like the above example). See `nodeGroups` below.
	NodeGroups ClusterNodeGroupArrayOutput `pulumi:"nodeGroups"`
	// Payment Type for this cluster. Supported value: PayAsYouGo or Subscription.
	PaymentType pulumi.StringOutput `pulumi:"paymentType"`
	// EMR Version, e.g. EMR-5.10.0. You can find the all valid EMR Version in emr web console.
	ReleaseVersion pulumi.StringOutput `pulumi:"releaseVersion"`
	// The Id of resource group which the emr-cluster belongs.
	ResourceGroupId pulumi.StringOutput `pulumi:"resourceGroupId"`
	// The security mode of EMR cluster. Supported value: NORMAL or KERBEROS.
	SecurityMode pulumi.StringOutput `pulumi:"securityMode"`
	// The detail configuration of subscription payment type. See `subscriptionConfig` below.
	SubscriptionConfig ClusterSubscriptionConfigPtrOutput `pulumi:"subscriptionConfig"`
	// A mapping of tags to assign to the resource.
	Tags pulumi.MapOutput `pulumi:"tags"`
}

Provides a EMR cluster resource. This resource is based on EMR's new version OpenAPI.

For information about EMR New and how to use it, see [Add a domain](https://www.alibabacloud.com/help/doc-detail/28068.htm).

> **NOTE:** Available since v1.199.0.

## Example Usage

Basic Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud"
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/ecs"
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/emrv2"
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/ram"
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/resourcemanager"
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/vpc"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		cfg := config.New(ctx, "")
		name := "terraform-example"
		if param := cfg.Get("name"); param != "" {
			name = param
		}
		defaultResourceGroups, err := resourcemanager.GetResourceGroups(ctx, nil, nil)
		if err != nil {
			return err
		}
		defaultZones, err := alicloud.GetZones(ctx, &alicloud.GetZonesArgs{
			AvailableInstanceType: pulumi.StringRef("ecs.g7.xlarge"),
		}, nil)
		if err != nil {
			return err
		}
		defaultNetwork, err := vpc.NewNetwork(ctx, "defaultNetwork", &vpc.NetworkArgs{
			VpcName:   pulumi.String(name),
			CidrBlock: pulumi.String("172.16.0.0/12"),
		})
		if err != nil {
			return err
		}
		defaultSwitch, err := vpc.NewSwitch(ctx, "defaultSwitch", &vpc.SwitchArgs{
			VpcId:       defaultNetwork.ID(),
			CidrBlock:   pulumi.String("172.16.0.0/21"),
			ZoneId:      *pulumi.String(defaultZones.Zones[0].Id),
			VswitchName: pulumi.String(name),
		})
		if err != nil {
			return err
		}
		defaultEcsKeyPair, err := ecs.NewEcsKeyPair(ctx, "defaultEcsKeyPair", &ecs.EcsKeyPairArgs{
			KeyPairName: pulumi.String(name),
		})
		if err != nil {
			return err
		}
		defaultSecurityGroup, err := ecs.NewSecurityGroup(ctx, "defaultSecurityGroup", &ecs.SecurityGroupArgs{
			VpcId: defaultNetwork.ID(),
		})
		if err != nil {
			return err
		}
		defaultRole, err := ram.NewRole(ctx, "defaultRole", &ram.RoleArgs{
			Document: pulumi.String(`    {
        "Statement": [
        {
            "Action": "sts:AssumeRole",
            "Effect": "Allow",
            "Principal": {
            "Service": [
                "emr.aliyuncs.com",
                "ecs.aliyuncs.com"
            ]
            }
        }
        ],
        "Version": "1"
    }

`),

			Description: pulumi.String("this is a role example."),
			Force:       pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		_, err = emrv2.NewCluster(ctx, "defaultCluster", &emrv2.ClusterArgs{
			PaymentType:    pulumi.String("PayAsYouGo"),
			ClusterType:    pulumi.String("DATALAKE"),
			ReleaseVersion: pulumi.String("EMR-5.10.0"),
			ClusterName:    pulumi.String(name),
			DeployMode:     pulumi.String("NORMAL"),
			SecurityMode:   pulumi.String("NORMAL"),
			Applications: pulumi.StringArray{
				pulumi.String("HADOOP-COMMON"),
				pulumi.String("HDFS"),
				pulumi.String("YARN"),
				pulumi.String("HIVE"),
				pulumi.String("SPARK3"),
				pulumi.String("TEZ"),
			},
			ApplicationConfigs: emrv2.ClusterApplicationConfigArray{
				&emrv2.ClusterApplicationConfigArgs{
					ApplicationName: pulumi.String("HIVE"),
					ConfigFileName:  pulumi.String("hivemetastore-site.xml"),
					ConfigItemKey:   pulumi.String("hive.metastore.type"),
					ConfigItemValue: pulumi.String("DLF"),
					ConfigScope:     pulumi.String("CLUSTER"),
				},
				&emrv2.ClusterApplicationConfigArgs{
					ApplicationName: pulumi.String("SPARK3"),
					ConfigFileName:  pulumi.String("hive-site.xml"),
					ConfigItemKey:   pulumi.String("hive.metastore.type"),
					ConfigItemValue: pulumi.String("DLF"),
					ConfigScope:     pulumi.String("CLUSTER"),
				},
			},
			NodeAttributes: emrv2.ClusterNodeAttributeArray{
				&emrv2.ClusterNodeAttributeArgs{
					RamRole:         defaultRole.Name,
					SecurityGroupId: defaultSecurityGroup.ID(),
					VpcId:           defaultNetwork.ID(),
					ZoneId:          *pulumi.String(defaultZones.Zones[0].Id),
					KeyPairName:     defaultEcsKeyPair.ID(),
				},
			},
			Tags: pulumi.Map{
				"created": pulumi.Any("tf"),
			},
			NodeGroups: emrv2.ClusterNodeGroupArray{
				&emrv2.ClusterNodeGroupArgs{
					NodeGroupType: pulumi.String("MASTER"),
					NodeGroupName: pulumi.String("emr-master"),
					PaymentType:   pulumi.String("PayAsYouGo"),
					VswitchIds: pulumi.StringArray{
						defaultSwitch.ID(),
					},
					WithPublicIp: pulumi.Bool(false),
					InstanceTypes: pulumi.StringArray{
						pulumi.String("ecs.g7.xlarge"),
					},
					NodeCount: pulumi.Int(1),
					SystemDisk: &emrv2.ClusterNodeGroupSystemDiskArgs{
						Category: pulumi.String("cloud_essd"),
						Size:     pulumi.Int(80),
						Count:    pulumi.Int(1),
					},
					DataDisks: emrv2.ClusterNodeGroupDataDiskArray{
						&emrv2.ClusterNodeGroupDataDiskArgs{
							Category: pulumi.String("cloud_essd"),
							Size:     pulumi.Int(80),
							Count:    pulumi.Int(3),
						},
					},
				},
				&emrv2.ClusterNodeGroupArgs{
					NodeGroupType: pulumi.String("CORE"),
					NodeGroupName: pulumi.String("emr-core"),
					PaymentType:   pulumi.String("PayAsYouGo"),
					VswitchIds: pulumi.StringArray{
						defaultSwitch.ID(),
					},
					WithPublicIp: pulumi.Bool(false),
					InstanceTypes: pulumi.StringArray{
						pulumi.String("ecs.g7.xlarge"),
					},
					NodeCount: pulumi.Int(3),
					SystemDisk: &emrv2.ClusterNodeGroupSystemDiskArgs{
						Category: pulumi.String("cloud_essd"),
						Size:     pulumi.Int(80),
						Count:    pulumi.Int(1),
					},
					DataDisks: emrv2.ClusterNodeGroupDataDiskArray{
						&emrv2.ClusterNodeGroupDataDiskArgs{
							Category: pulumi.String("cloud_essd"),
							Size:     pulumi.Int(80),
							Count:    pulumi.Int(3),
						},
					},
				},
			},
			ResourceGroupId: *pulumi.String(defaultResourceGroups.Ids[0]),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Aliclioud E-MapReduce cluster can be imported using the id e.g.

```sh

$ pulumi import alicloud:emrv2/cluster:Cluster default <id>

```

func GetCluster

func GetCluster(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ClusterState, opts ...pulumi.ResourceOption) (*Cluster, error)

GetCluster gets an existing Cluster resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewCluster

func NewCluster(ctx *pulumi.Context,
	name string, args *ClusterArgs, opts ...pulumi.ResourceOption) (*Cluster, error)

NewCluster registers a new resource with the given unique name, arguments, and options.

func (*Cluster) ElementType

func (*Cluster) ElementType() reflect.Type

func (*Cluster) ToClusterOutput

func (i *Cluster) ToClusterOutput() ClusterOutput

func (*Cluster) ToClusterOutputWithContext

func (i *Cluster) ToClusterOutputWithContext(ctx context.Context) ClusterOutput

type ClusterApplicationConfig

type ClusterApplicationConfig struct {
	// The application name of EMR cluster which has installed.
	ApplicationName string `pulumi:"applicationName"`
	// The configuration description of application installed.
	ConfigDescription *string `pulumi:"configDescription"`
	// The configuration file name of application installed.
	ConfigFileName string `pulumi:"configFileName"`
	// The configuration item key of application installed.
	ConfigItemKey string `pulumi:"configItemKey"`
	// The configuration item value of application installed.
	ConfigItemValue string `pulumi:"configItemValue"`
	// The configuration scope of emr cluster. Supported value: CLUSTER or NODEGROUP.
	ConfigScope *string `pulumi:"configScope"`
	// The configuration effected which node group id of emr cluster.
	NodeGroupId *string `pulumi:"nodeGroupId"`
	// The configuration effected which node group name of emr cluster.
	NodeGroupName *string `pulumi:"nodeGroupName"`
}

type ClusterApplicationConfigArgs

type ClusterApplicationConfigArgs struct {
	// The application name of EMR cluster which has installed.
	ApplicationName pulumi.StringInput `pulumi:"applicationName"`
	// The configuration description of application installed.
	ConfigDescription pulumi.StringPtrInput `pulumi:"configDescription"`
	// The configuration file name of application installed.
	ConfigFileName pulumi.StringInput `pulumi:"configFileName"`
	// The configuration item key of application installed.
	ConfigItemKey pulumi.StringInput `pulumi:"configItemKey"`
	// The configuration item value of application installed.
	ConfigItemValue pulumi.StringInput `pulumi:"configItemValue"`
	// The configuration scope of emr cluster. Supported value: CLUSTER or NODEGROUP.
	ConfigScope pulumi.StringPtrInput `pulumi:"configScope"`
	// The configuration effected which node group id of emr cluster.
	NodeGroupId pulumi.StringPtrInput `pulumi:"nodeGroupId"`
	// The configuration effected which node group name of emr cluster.
	NodeGroupName pulumi.StringPtrInput `pulumi:"nodeGroupName"`
}

func (ClusterApplicationConfigArgs) ElementType

func (ClusterApplicationConfigArgs) ToClusterApplicationConfigOutput

func (i ClusterApplicationConfigArgs) ToClusterApplicationConfigOutput() ClusterApplicationConfigOutput

func (ClusterApplicationConfigArgs) ToClusterApplicationConfigOutputWithContext

func (i ClusterApplicationConfigArgs) ToClusterApplicationConfigOutputWithContext(ctx context.Context) ClusterApplicationConfigOutput

type ClusterApplicationConfigArray

type ClusterApplicationConfigArray []ClusterApplicationConfigInput

func (ClusterApplicationConfigArray) ElementType

func (ClusterApplicationConfigArray) ToClusterApplicationConfigArrayOutput

func (i ClusterApplicationConfigArray) ToClusterApplicationConfigArrayOutput() ClusterApplicationConfigArrayOutput

func (ClusterApplicationConfigArray) ToClusterApplicationConfigArrayOutputWithContext

func (i ClusterApplicationConfigArray) ToClusterApplicationConfigArrayOutputWithContext(ctx context.Context) ClusterApplicationConfigArrayOutput

type ClusterApplicationConfigArrayInput

type ClusterApplicationConfigArrayInput interface {
	pulumi.Input

	ToClusterApplicationConfigArrayOutput() ClusterApplicationConfigArrayOutput
	ToClusterApplicationConfigArrayOutputWithContext(context.Context) ClusterApplicationConfigArrayOutput
}

ClusterApplicationConfigArrayInput is an input type that accepts ClusterApplicationConfigArray and ClusterApplicationConfigArrayOutput values. You can construct a concrete instance of `ClusterApplicationConfigArrayInput` via:

ClusterApplicationConfigArray{ ClusterApplicationConfigArgs{...} }

type ClusterApplicationConfigArrayOutput

type ClusterApplicationConfigArrayOutput struct{ *pulumi.OutputState }

func (ClusterApplicationConfigArrayOutput) ElementType

func (ClusterApplicationConfigArrayOutput) Index

func (ClusterApplicationConfigArrayOutput) ToClusterApplicationConfigArrayOutput

func (o ClusterApplicationConfigArrayOutput) ToClusterApplicationConfigArrayOutput() ClusterApplicationConfigArrayOutput

func (ClusterApplicationConfigArrayOutput) ToClusterApplicationConfigArrayOutputWithContext

func (o ClusterApplicationConfigArrayOutput) ToClusterApplicationConfigArrayOutputWithContext(ctx context.Context) ClusterApplicationConfigArrayOutput

type ClusterApplicationConfigInput

type ClusterApplicationConfigInput interface {
	pulumi.Input

	ToClusterApplicationConfigOutput() ClusterApplicationConfigOutput
	ToClusterApplicationConfigOutputWithContext(context.Context) ClusterApplicationConfigOutput
}

ClusterApplicationConfigInput is an input type that accepts ClusterApplicationConfigArgs and ClusterApplicationConfigOutput values. You can construct a concrete instance of `ClusterApplicationConfigInput` via:

ClusterApplicationConfigArgs{...}

type ClusterApplicationConfigOutput

type ClusterApplicationConfigOutput struct{ *pulumi.OutputState }

func (ClusterApplicationConfigOutput) ApplicationName

The application name of EMR cluster which has installed.

func (ClusterApplicationConfigOutput) ConfigDescription

The configuration description of application installed.

func (ClusterApplicationConfigOutput) ConfigFileName

The configuration file name of application installed.

func (ClusterApplicationConfigOutput) ConfigItemKey

The configuration item key of application installed.

func (ClusterApplicationConfigOutput) ConfigItemValue

The configuration item value of application installed.

func (ClusterApplicationConfigOutput) ConfigScope

The configuration scope of emr cluster. Supported value: CLUSTER or NODEGROUP.

func (ClusterApplicationConfigOutput) ElementType

func (ClusterApplicationConfigOutput) NodeGroupId

The configuration effected which node group id of emr cluster.

func (ClusterApplicationConfigOutput) NodeGroupName

The configuration effected which node group name of emr cluster.

func (ClusterApplicationConfigOutput) ToClusterApplicationConfigOutput

func (o ClusterApplicationConfigOutput) ToClusterApplicationConfigOutput() ClusterApplicationConfigOutput

func (ClusterApplicationConfigOutput) ToClusterApplicationConfigOutputWithContext

func (o ClusterApplicationConfigOutput) ToClusterApplicationConfigOutputWithContext(ctx context.Context) ClusterApplicationConfigOutput

type ClusterArgs

type ClusterArgs struct {
	// The application configurations of EMR cluster. See `applicationConfigs` below.
	ApplicationConfigs ClusterApplicationConfigArrayInput
	// The applications of EMR cluster to be installed, e.g. HADOOP-COMMON, HDFS, YARN, HIVE, SPARK2, SPARK3, ZOOKEEPER etc. You can find all valid applications in emr web console.
	Applications pulumi.StringArrayInput
	// The bootstrap scripts to be effected when creating emr-cluster or resize emr-cluster. See `bootstrapScripts` below.
	BootstrapScripts ClusterBootstrapScriptArrayInput
	// The name of emr cluster. The name length must be less than 64. Supported characters: chinese character, english character, number, "-", "_".
	ClusterName pulumi.StringInput
	// EMR Cluster Type, e.g. DATALAKE, OLAP, DATAFLOW, DATASERVING, CUSTOM etc. You can find all valid EMR cluster type in emr web console.
	ClusterType pulumi.StringInput
	// The deploy mode of EMR cluster. Supported value: NORMAL or HA.
	DeployMode pulumi.StringPtrInput
	// The node attributes of ecs instances which the emr-cluster belongs. See `nodeAttributes` below.
	NodeAttributes ClusterNodeAttributeArrayInput
	// Groups of node, You can specify MASTER as a group, CORE as a group (just like the above example). See `nodeGroups` below.
	NodeGroups ClusterNodeGroupArrayInput
	// Payment Type for this cluster. Supported value: PayAsYouGo or Subscription.
	PaymentType pulumi.StringPtrInput
	// EMR Version, e.g. EMR-5.10.0. You can find the all valid EMR Version in emr web console.
	ReleaseVersion pulumi.StringInput
	// The Id of resource group which the emr-cluster belongs.
	ResourceGroupId pulumi.StringPtrInput
	// The security mode of EMR cluster. Supported value: NORMAL or KERBEROS.
	SecurityMode pulumi.StringPtrInput
	// The detail configuration of subscription payment type. See `subscriptionConfig` below.
	SubscriptionConfig ClusterSubscriptionConfigPtrInput
	// A mapping of tags to assign to the resource.
	Tags pulumi.MapInput
}

The set of arguments for constructing a Cluster resource.

func (ClusterArgs) ElementType

func (ClusterArgs) ElementType() reflect.Type

type ClusterArray

type ClusterArray []ClusterInput

func (ClusterArray) ElementType

func (ClusterArray) ElementType() reflect.Type

func (ClusterArray) ToClusterArrayOutput

func (i ClusterArray) ToClusterArrayOutput() ClusterArrayOutput

func (ClusterArray) ToClusterArrayOutputWithContext

func (i ClusterArray) ToClusterArrayOutputWithContext(ctx context.Context) ClusterArrayOutput

type ClusterArrayInput

type ClusterArrayInput interface {
	pulumi.Input

	ToClusterArrayOutput() ClusterArrayOutput
	ToClusterArrayOutputWithContext(context.Context) ClusterArrayOutput
}

ClusterArrayInput is an input type that accepts ClusterArray and ClusterArrayOutput values. You can construct a concrete instance of `ClusterArrayInput` via:

ClusterArray{ ClusterArgs{...} }

type ClusterArrayOutput

type ClusterArrayOutput struct{ *pulumi.OutputState }

func (ClusterArrayOutput) ElementType

func (ClusterArrayOutput) ElementType() reflect.Type

func (ClusterArrayOutput) Index

func (ClusterArrayOutput) ToClusterArrayOutput

func (o ClusterArrayOutput) ToClusterArrayOutput() ClusterArrayOutput

func (ClusterArrayOutput) ToClusterArrayOutputWithContext

func (o ClusterArrayOutput) ToClusterArrayOutputWithContext(ctx context.Context) ClusterArrayOutput

type ClusterBootstrapScript

type ClusterBootstrapScript struct {
	// The bootstrap scripts execution fail strategy, ’FAILED_BLOCKED’ or ‘FAILED_CONTINUE’ .
	ExecutionFailStrategy string `pulumi:"executionFailStrategy"`
	// The bootstrap scripts execution moment, ’BEFORE_INSTALL’ or ‘AFTER_STARTED’ .
	ExecutionMoment string `pulumi:"executionMoment"`
	// The bootstrap scripts execution target. See `nodeSelector` below.
	NodeSelector ClusterBootstrapScriptNodeSelector `pulumi:"nodeSelector"`
	// The bootstrap scripts priority.
	Priority *int `pulumi:"priority"`
	// The bootstrap script args, e.g. "--a=b".
	ScriptArgs string `pulumi:"scriptArgs"`
	// The bootstrap script name.
	ScriptName string `pulumi:"scriptName"`
	// The bootstrap script path, e.g. "oss://bucket/path".
	ScriptPath string `pulumi:"scriptPath"`
}

type ClusterBootstrapScriptArgs

type ClusterBootstrapScriptArgs struct {
	// The bootstrap scripts execution fail strategy, ’FAILED_BLOCKED’ or ‘FAILED_CONTINUE’ .
	ExecutionFailStrategy pulumi.StringInput `pulumi:"executionFailStrategy"`
	// The bootstrap scripts execution moment, ’BEFORE_INSTALL’ or ‘AFTER_STARTED’ .
	ExecutionMoment pulumi.StringInput `pulumi:"executionMoment"`
	// The bootstrap scripts execution target. See `nodeSelector` below.
	NodeSelector ClusterBootstrapScriptNodeSelectorInput `pulumi:"nodeSelector"`
	// The bootstrap scripts priority.
	Priority pulumi.IntPtrInput `pulumi:"priority"`
	// The bootstrap script args, e.g. "--a=b".
	ScriptArgs pulumi.StringInput `pulumi:"scriptArgs"`
	// The bootstrap script name.
	ScriptName pulumi.StringInput `pulumi:"scriptName"`
	// The bootstrap script path, e.g. "oss://bucket/path".
	ScriptPath pulumi.StringInput `pulumi:"scriptPath"`
}

func (ClusterBootstrapScriptArgs) ElementType

func (ClusterBootstrapScriptArgs) ElementType() reflect.Type

func (ClusterBootstrapScriptArgs) ToClusterBootstrapScriptOutput

func (i ClusterBootstrapScriptArgs) ToClusterBootstrapScriptOutput() ClusterBootstrapScriptOutput

func (ClusterBootstrapScriptArgs) ToClusterBootstrapScriptOutputWithContext

func (i ClusterBootstrapScriptArgs) ToClusterBootstrapScriptOutputWithContext(ctx context.Context) ClusterBootstrapScriptOutput

type ClusterBootstrapScriptArray

type ClusterBootstrapScriptArray []ClusterBootstrapScriptInput

func (ClusterBootstrapScriptArray) ElementType

func (ClusterBootstrapScriptArray) ToClusterBootstrapScriptArrayOutput

func (i ClusterBootstrapScriptArray) ToClusterBootstrapScriptArrayOutput() ClusterBootstrapScriptArrayOutput

func (ClusterBootstrapScriptArray) ToClusterBootstrapScriptArrayOutputWithContext

func (i ClusterBootstrapScriptArray) ToClusterBootstrapScriptArrayOutputWithContext(ctx context.Context) ClusterBootstrapScriptArrayOutput

type ClusterBootstrapScriptArrayInput

type ClusterBootstrapScriptArrayInput interface {
	pulumi.Input

	ToClusterBootstrapScriptArrayOutput() ClusterBootstrapScriptArrayOutput
	ToClusterBootstrapScriptArrayOutputWithContext(context.Context) ClusterBootstrapScriptArrayOutput
}

ClusterBootstrapScriptArrayInput is an input type that accepts ClusterBootstrapScriptArray and ClusterBootstrapScriptArrayOutput values. You can construct a concrete instance of `ClusterBootstrapScriptArrayInput` via:

ClusterBootstrapScriptArray{ ClusterBootstrapScriptArgs{...} }

type ClusterBootstrapScriptArrayOutput

type ClusterBootstrapScriptArrayOutput struct{ *pulumi.OutputState }

func (ClusterBootstrapScriptArrayOutput) ElementType

func (ClusterBootstrapScriptArrayOutput) Index

func (ClusterBootstrapScriptArrayOutput) ToClusterBootstrapScriptArrayOutput

func (o ClusterBootstrapScriptArrayOutput) ToClusterBootstrapScriptArrayOutput() ClusterBootstrapScriptArrayOutput

func (ClusterBootstrapScriptArrayOutput) ToClusterBootstrapScriptArrayOutputWithContext

func (o ClusterBootstrapScriptArrayOutput) ToClusterBootstrapScriptArrayOutputWithContext(ctx context.Context) ClusterBootstrapScriptArrayOutput

type ClusterBootstrapScriptInput

type ClusterBootstrapScriptInput interface {
	pulumi.Input

	ToClusterBootstrapScriptOutput() ClusterBootstrapScriptOutput
	ToClusterBootstrapScriptOutputWithContext(context.Context) ClusterBootstrapScriptOutput
}

ClusterBootstrapScriptInput is an input type that accepts ClusterBootstrapScriptArgs and ClusterBootstrapScriptOutput values. You can construct a concrete instance of `ClusterBootstrapScriptInput` via:

ClusterBootstrapScriptArgs{...}

type ClusterBootstrapScriptNodeSelector

type ClusterBootstrapScriptNodeSelector struct {
	// The configuration effected which node group id of emr cluster.
	NodeGroupId *string `pulumi:"nodeGroupId"`
	// The configuration effected which node group name of emr cluster.
	NodeGroupName *string `pulumi:"nodeGroupName"`
	// The bootstrap scripts execution target node group types.
	NodeGroupTypes []string `pulumi:"nodeGroupTypes"`
	// The bootstrap scripts execution target node names.
	NodeNames []string `pulumi:"nodeNames"`
	// The bootstrap scripts execution target node select type. Supported value: NODE, NODEGROUP or CLUSTER.
	NodeSelectType string `pulumi:"nodeSelectType"`
}

type ClusterBootstrapScriptNodeSelectorArgs

type ClusterBootstrapScriptNodeSelectorArgs struct {
	// The configuration effected which node group id of emr cluster.
	NodeGroupId pulumi.StringPtrInput `pulumi:"nodeGroupId"`
	// The configuration effected which node group name of emr cluster.
	NodeGroupName pulumi.StringPtrInput `pulumi:"nodeGroupName"`
	// The bootstrap scripts execution target node group types.
	NodeGroupTypes pulumi.StringArrayInput `pulumi:"nodeGroupTypes"`
	// The bootstrap scripts execution target node names.
	NodeNames pulumi.StringArrayInput `pulumi:"nodeNames"`
	// The bootstrap scripts execution target node select type. Supported value: NODE, NODEGROUP or CLUSTER.
	NodeSelectType pulumi.StringInput `pulumi:"nodeSelectType"`
}

func (ClusterBootstrapScriptNodeSelectorArgs) ElementType

func (ClusterBootstrapScriptNodeSelectorArgs) ToClusterBootstrapScriptNodeSelectorOutput

func (i ClusterBootstrapScriptNodeSelectorArgs) ToClusterBootstrapScriptNodeSelectorOutput() ClusterBootstrapScriptNodeSelectorOutput

func (ClusterBootstrapScriptNodeSelectorArgs) ToClusterBootstrapScriptNodeSelectorOutputWithContext

func (i ClusterBootstrapScriptNodeSelectorArgs) ToClusterBootstrapScriptNodeSelectorOutputWithContext(ctx context.Context) ClusterBootstrapScriptNodeSelectorOutput

type ClusterBootstrapScriptNodeSelectorInput

type ClusterBootstrapScriptNodeSelectorInput interface {
	pulumi.Input

	ToClusterBootstrapScriptNodeSelectorOutput() ClusterBootstrapScriptNodeSelectorOutput
	ToClusterBootstrapScriptNodeSelectorOutputWithContext(context.Context) ClusterBootstrapScriptNodeSelectorOutput
}

ClusterBootstrapScriptNodeSelectorInput is an input type that accepts ClusterBootstrapScriptNodeSelectorArgs and ClusterBootstrapScriptNodeSelectorOutput values. You can construct a concrete instance of `ClusterBootstrapScriptNodeSelectorInput` via:

ClusterBootstrapScriptNodeSelectorArgs{...}

type ClusterBootstrapScriptNodeSelectorOutput

type ClusterBootstrapScriptNodeSelectorOutput struct{ *pulumi.OutputState }

func (ClusterBootstrapScriptNodeSelectorOutput) ElementType

func (ClusterBootstrapScriptNodeSelectorOutput) NodeGroupId

The configuration effected which node group id of emr cluster.

func (ClusterBootstrapScriptNodeSelectorOutput) NodeGroupName

The configuration effected which node group name of emr cluster.

func (ClusterBootstrapScriptNodeSelectorOutput) NodeGroupTypes

The bootstrap scripts execution target node group types.

func (ClusterBootstrapScriptNodeSelectorOutput) NodeNames

The bootstrap scripts execution target node names.

func (ClusterBootstrapScriptNodeSelectorOutput) NodeSelectType

The bootstrap scripts execution target node select type. Supported value: NODE, NODEGROUP or CLUSTER.

func (ClusterBootstrapScriptNodeSelectorOutput) ToClusterBootstrapScriptNodeSelectorOutput

func (o ClusterBootstrapScriptNodeSelectorOutput) ToClusterBootstrapScriptNodeSelectorOutput() ClusterBootstrapScriptNodeSelectorOutput

func (ClusterBootstrapScriptNodeSelectorOutput) ToClusterBootstrapScriptNodeSelectorOutputWithContext

func (o ClusterBootstrapScriptNodeSelectorOutput) ToClusterBootstrapScriptNodeSelectorOutputWithContext(ctx context.Context) ClusterBootstrapScriptNodeSelectorOutput

type ClusterBootstrapScriptOutput

type ClusterBootstrapScriptOutput struct{ *pulumi.OutputState }

func (ClusterBootstrapScriptOutput) ElementType

func (ClusterBootstrapScriptOutput) ExecutionFailStrategy

func (o ClusterBootstrapScriptOutput) ExecutionFailStrategy() pulumi.StringOutput

The bootstrap scripts execution fail strategy, ’FAILED_BLOCKED’ or ‘FAILED_CONTINUE’ .

func (ClusterBootstrapScriptOutput) ExecutionMoment

func (o ClusterBootstrapScriptOutput) ExecutionMoment() pulumi.StringOutput

The bootstrap scripts execution moment, ’BEFORE_INSTALL’ or ‘AFTER_STARTED’ .

func (ClusterBootstrapScriptOutput) NodeSelector

The bootstrap scripts execution target. See `nodeSelector` below.

func (ClusterBootstrapScriptOutput) Priority

The bootstrap scripts priority.

func (ClusterBootstrapScriptOutput) ScriptArgs

The bootstrap script args, e.g. "--a=b".

func (ClusterBootstrapScriptOutput) ScriptName

The bootstrap script name.

func (ClusterBootstrapScriptOutput) ScriptPath

The bootstrap script path, e.g. "oss://bucket/path".

func (ClusterBootstrapScriptOutput) ToClusterBootstrapScriptOutput

func (o ClusterBootstrapScriptOutput) ToClusterBootstrapScriptOutput() ClusterBootstrapScriptOutput

func (ClusterBootstrapScriptOutput) ToClusterBootstrapScriptOutputWithContext

func (o ClusterBootstrapScriptOutput) ToClusterBootstrapScriptOutputWithContext(ctx context.Context) ClusterBootstrapScriptOutput

type ClusterInput

type ClusterInput interface {
	pulumi.Input

	ToClusterOutput() ClusterOutput
	ToClusterOutputWithContext(ctx context.Context) ClusterOutput
}

type ClusterMap

type ClusterMap map[string]ClusterInput

func (ClusterMap) ElementType

func (ClusterMap) ElementType() reflect.Type

func (ClusterMap) ToClusterMapOutput

func (i ClusterMap) ToClusterMapOutput() ClusterMapOutput

func (ClusterMap) ToClusterMapOutputWithContext

func (i ClusterMap) ToClusterMapOutputWithContext(ctx context.Context) ClusterMapOutput

type ClusterMapInput

type ClusterMapInput interface {
	pulumi.Input

	ToClusterMapOutput() ClusterMapOutput
	ToClusterMapOutputWithContext(context.Context) ClusterMapOutput
}

ClusterMapInput is an input type that accepts ClusterMap and ClusterMapOutput values. You can construct a concrete instance of `ClusterMapInput` via:

ClusterMap{ "key": ClusterArgs{...} }

type ClusterMapOutput

type ClusterMapOutput struct{ *pulumi.OutputState }

func (ClusterMapOutput) ElementType

func (ClusterMapOutput) ElementType() reflect.Type

func (ClusterMapOutput) MapIndex

func (ClusterMapOutput) ToClusterMapOutput

func (o ClusterMapOutput) ToClusterMapOutput() ClusterMapOutput

func (ClusterMapOutput) ToClusterMapOutputWithContext

func (o ClusterMapOutput) ToClusterMapOutputWithContext(ctx context.Context) ClusterMapOutput

type ClusterNodeAttribute

type ClusterNodeAttribute struct {
	// Whether to enable data disk encryption.
	DataDiskEncrypted *bool `pulumi:"dataDiskEncrypted"`
	// The kms key id used to encrypt the data disk. It takes effect when dataDiskEncrypted is true.
	DataDiskKmsKeyId *string `pulumi:"dataDiskKmsKeyId"`
	// The name of the key pair.
	KeyPairName string `pulumi:"keyPairName"`
	// Alicloud EMR uses roles to perform actions on your behalf when provisioning cluster resources, running applications, dynamically scaling resources. EMR uses the following roles when interacting with other Alicloud services. Default value is AliyunEmrEcsDefaultRole.
	RamRole string `pulumi:"ramRole"`
	// Security Group ID for Cluster.
	SecurityGroupId string `pulumi:"securityGroupId"`
	// Used to retrieve instances belong to specified VPC.
	VpcId string `pulumi:"vpcId"`
	// Zone ID, e.g. cn-hangzhou-i
	ZoneId string `pulumi:"zoneId"`
}

type ClusterNodeAttributeArgs

type ClusterNodeAttributeArgs struct {
	// Whether to enable data disk encryption.
	DataDiskEncrypted pulumi.BoolPtrInput `pulumi:"dataDiskEncrypted"`
	// The kms key id used to encrypt the data disk. It takes effect when dataDiskEncrypted is true.
	DataDiskKmsKeyId pulumi.StringPtrInput `pulumi:"dataDiskKmsKeyId"`
	// The name of the key pair.
	KeyPairName pulumi.StringInput `pulumi:"keyPairName"`
	// Alicloud EMR uses roles to perform actions on your behalf when provisioning cluster resources, running applications, dynamically scaling resources. EMR uses the following roles when interacting with other Alicloud services. Default value is AliyunEmrEcsDefaultRole.
	RamRole pulumi.StringInput `pulumi:"ramRole"`
	// Security Group ID for Cluster.
	SecurityGroupId pulumi.StringInput `pulumi:"securityGroupId"`
	// Used to retrieve instances belong to specified VPC.
	VpcId pulumi.StringInput `pulumi:"vpcId"`
	// Zone ID, e.g. cn-hangzhou-i
	ZoneId pulumi.StringInput `pulumi:"zoneId"`
}

func (ClusterNodeAttributeArgs) ElementType

func (ClusterNodeAttributeArgs) ElementType() reflect.Type

func (ClusterNodeAttributeArgs) ToClusterNodeAttributeOutput

func (i ClusterNodeAttributeArgs) ToClusterNodeAttributeOutput() ClusterNodeAttributeOutput

func (ClusterNodeAttributeArgs) ToClusterNodeAttributeOutputWithContext

func (i ClusterNodeAttributeArgs) ToClusterNodeAttributeOutputWithContext(ctx context.Context) ClusterNodeAttributeOutput

type ClusterNodeAttributeArray

type ClusterNodeAttributeArray []ClusterNodeAttributeInput

func (ClusterNodeAttributeArray) ElementType

func (ClusterNodeAttributeArray) ElementType() reflect.Type

func (ClusterNodeAttributeArray) ToClusterNodeAttributeArrayOutput

func (i ClusterNodeAttributeArray) ToClusterNodeAttributeArrayOutput() ClusterNodeAttributeArrayOutput

func (ClusterNodeAttributeArray) ToClusterNodeAttributeArrayOutputWithContext

func (i ClusterNodeAttributeArray) ToClusterNodeAttributeArrayOutputWithContext(ctx context.Context) ClusterNodeAttributeArrayOutput

type ClusterNodeAttributeArrayInput

type ClusterNodeAttributeArrayInput interface {
	pulumi.Input

	ToClusterNodeAttributeArrayOutput() ClusterNodeAttributeArrayOutput
	ToClusterNodeAttributeArrayOutputWithContext(context.Context) ClusterNodeAttributeArrayOutput
}

ClusterNodeAttributeArrayInput is an input type that accepts ClusterNodeAttributeArray and ClusterNodeAttributeArrayOutput values. You can construct a concrete instance of `ClusterNodeAttributeArrayInput` via:

ClusterNodeAttributeArray{ ClusterNodeAttributeArgs{...} }

type ClusterNodeAttributeArrayOutput

type ClusterNodeAttributeArrayOutput struct{ *pulumi.OutputState }

func (ClusterNodeAttributeArrayOutput) ElementType

func (ClusterNodeAttributeArrayOutput) Index

func (ClusterNodeAttributeArrayOutput) ToClusterNodeAttributeArrayOutput

func (o ClusterNodeAttributeArrayOutput) ToClusterNodeAttributeArrayOutput() ClusterNodeAttributeArrayOutput

func (ClusterNodeAttributeArrayOutput) ToClusterNodeAttributeArrayOutputWithContext

func (o ClusterNodeAttributeArrayOutput) ToClusterNodeAttributeArrayOutputWithContext(ctx context.Context) ClusterNodeAttributeArrayOutput

type ClusterNodeAttributeInput

type ClusterNodeAttributeInput interface {
	pulumi.Input

	ToClusterNodeAttributeOutput() ClusterNodeAttributeOutput
	ToClusterNodeAttributeOutputWithContext(context.Context) ClusterNodeAttributeOutput
}

ClusterNodeAttributeInput is an input type that accepts ClusterNodeAttributeArgs and ClusterNodeAttributeOutput values. You can construct a concrete instance of `ClusterNodeAttributeInput` via:

ClusterNodeAttributeArgs{...}

type ClusterNodeAttributeOutput

type ClusterNodeAttributeOutput struct{ *pulumi.OutputState }

func (ClusterNodeAttributeOutput) DataDiskEncrypted added in v3.37.0

func (o ClusterNodeAttributeOutput) DataDiskEncrypted() pulumi.BoolPtrOutput

Whether to enable data disk encryption.

func (ClusterNodeAttributeOutput) DataDiskKmsKeyId added in v3.37.0

func (o ClusterNodeAttributeOutput) DataDiskKmsKeyId() pulumi.StringPtrOutput

The kms key id used to encrypt the data disk. It takes effect when dataDiskEncrypted is true.

func (ClusterNodeAttributeOutput) ElementType

func (ClusterNodeAttributeOutput) ElementType() reflect.Type

func (ClusterNodeAttributeOutput) KeyPairName

The name of the key pair.

func (ClusterNodeAttributeOutput) RamRole

Alicloud EMR uses roles to perform actions on your behalf when provisioning cluster resources, running applications, dynamically scaling resources. EMR uses the following roles when interacting with other Alicloud services. Default value is AliyunEmrEcsDefaultRole.

func (ClusterNodeAttributeOutput) SecurityGroupId

func (o ClusterNodeAttributeOutput) SecurityGroupId() pulumi.StringOutput

Security Group ID for Cluster.

func (ClusterNodeAttributeOutput) ToClusterNodeAttributeOutput

func (o ClusterNodeAttributeOutput) ToClusterNodeAttributeOutput() ClusterNodeAttributeOutput

func (ClusterNodeAttributeOutput) ToClusterNodeAttributeOutputWithContext

func (o ClusterNodeAttributeOutput) ToClusterNodeAttributeOutputWithContext(ctx context.Context) ClusterNodeAttributeOutput

func (ClusterNodeAttributeOutput) VpcId

Used to retrieve instances belong to specified VPC.

func (ClusterNodeAttributeOutput) ZoneId

Zone ID, e.g. cn-hangzhou-i

type ClusterNodeGroup

type ClusterNodeGroup struct {
	// Additional security Group IDS for Cluster, you can also specify this key for each node group.
	AdditionalSecurityGroupIds []string `pulumi:"additionalSecurityGroupIds"`
	// The detail cost optimized configuration of emr cluster. See `costOptimizedConfig` below.
	CostOptimizedConfig *ClusterNodeGroupCostOptimizedConfig `pulumi:"costOptimizedConfig"`
	// Host Ecs data disks information in this node group. See `dataDisks` below.
	DataDisks []ClusterNodeGroupDataDisk `pulumi:"dataDisks"`
	// Enable emr cluster of task node graceful decommission, ’true’ or ‘false’ .
	GracefulShutdown *bool `pulumi:"gracefulShutdown"`
	// Host Ecs instance types.
	InstanceTypes []string `pulumi:"instanceTypes"`
	// Host Ecs number in this node group.
	NodeCount int `pulumi:"nodeCount"`
	// The node group name of emr cluster.
	NodeGroupName string `pulumi:"nodeGroupName"`
	// The node group type of emr cluster, supported value: MASTER, CORE or TASK.
	NodeGroupType string `pulumi:"nodeGroupType"`
	// Payment Type for this cluster. Supported value: PayAsYouGo or Subscription.
	PaymentType *string `pulumi:"paymentType"`
	// The spot bid prices of a PayAsYouGo instance. See `spotBidPrices` below.
	SpotBidPrices []ClusterNodeGroupSpotBidPrice `pulumi:"spotBidPrices"`
	// Whether to replace spot instances with newly created spot/onDemand instance when receive a spot recycling message.
	SpotInstanceRemedy *bool `pulumi:"spotInstanceRemedy"`
	// The detail configuration of subscription payment type. See `subscriptionConfig` below.
	SubscriptionConfig *ClusterNodeGroupSubscriptionConfig `pulumi:"subscriptionConfig"`
	// Host Ecs system disk information in this node group. See `systemDisk` below.
	SystemDisk ClusterNodeGroupSystemDisk `pulumi:"systemDisk"`
	// Global vSwitch ids, you can also specify it in node group.
	VswitchIds []string `pulumi:"vswitchIds"`
	// Whether the node has a public IP address enabled.
	WithPublicIp *bool `pulumi:"withPublicIp"`
}

type ClusterNodeGroupArgs

type ClusterNodeGroupArgs struct {
	// Additional security Group IDS for Cluster, you can also specify this key for each node group.
	AdditionalSecurityGroupIds pulumi.StringArrayInput `pulumi:"additionalSecurityGroupIds"`
	// The detail cost optimized configuration of emr cluster. See `costOptimizedConfig` below.
	CostOptimizedConfig ClusterNodeGroupCostOptimizedConfigPtrInput `pulumi:"costOptimizedConfig"`
	// Host Ecs data disks information in this node group. See `dataDisks` below.
	DataDisks ClusterNodeGroupDataDiskArrayInput `pulumi:"dataDisks"`
	// Enable emr cluster of task node graceful decommission, ’true’ or ‘false’ .
	GracefulShutdown pulumi.BoolPtrInput `pulumi:"gracefulShutdown"`
	// Host Ecs instance types.
	InstanceTypes pulumi.StringArrayInput `pulumi:"instanceTypes"`
	// Host Ecs number in this node group.
	NodeCount pulumi.IntInput `pulumi:"nodeCount"`
	// The node group name of emr cluster.
	NodeGroupName pulumi.StringInput `pulumi:"nodeGroupName"`
	// The node group type of emr cluster, supported value: MASTER, CORE or TASK.
	NodeGroupType pulumi.StringInput `pulumi:"nodeGroupType"`
	// Payment Type for this cluster. Supported value: PayAsYouGo or Subscription.
	PaymentType pulumi.StringPtrInput `pulumi:"paymentType"`
	// The spot bid prices of a PayAsYouGo instance. See `spotBidPrices` below.
	SpotBidPrices ClusterNodeGroupSpotBidPriceArrayInput `pulumi:"spotBidPrices"`
	// Whether to replace spot instances with newly created spot/onDemand instance when receive a spot recycling message.
	SpotInstanceRemedy pulumi.BoolPtrInput `pulumi:"spotInstanceRemedy"`
	// The detail configuration of subscription payment type. See `subscriptionConfig` below.
	SubscriptionConfig ClusterNodeGroupSubscriptionConfigPtrInput `pulumi:"subscriptionConfig"`
	// Host Ecs system disk information in this node group. See `systemDisk` below.
	SystemDisk ClusterNodeGroupSystemDiskInput `pulumi:"systemDisk"`
	// Global vSwitch ids, you can also specify it in node group.
	VswitchIds pulumi.StringArrayInput `pulumi:"vswitchIds"`
	// Whether the node has a public IP address enabled.
	WithPublicIp pulumi.BoolPtrInput `pulumi:"withPublicIp"`
}

func (ClusterNodeGroupArgs) ElementType

func (ClusterNodeGroupArgs) ElementType() reflect.Type

func (ClusterNodeGroupArgs) ToClusterNodeGroupOutput

func (i ClusterNodeGroupArgs) ToClusterNodeGroupOutput() ClusterNodeGroupOutput

func (ClusterNodeGroupArgs) ToClusterNodeGroupOutputWithContext

func (i ClusterNodeGroupArgs) ToClusterNodeGroupOutputWithContext(ctx context.Context) ClusterNodeGroupOutput

type ClusterNodeGroupArray

type ClusterNodeGroupArray []ClusterNodeGroupInput

func (ClusterNodeGroupArray) ElementType

func (ClusterNodeGroupArray) ElementType() reflect.Type

func (ClusterNodeGroupArray) ToClusterNodeGroupArrayOutput

func (i ClusterNodeGroupArray) ToClusterNodeGroupArrayOutput() ClusterNodeGroupArrayOutput

func (ClusterNodeGroupArray) ToClusterNodeGroupArrayOutputWithContext

func (i ClusterNodeGroupArray) ToClusterNodeGroupArrayOutputWithContext(ctx context.Context) ClusterNodeGroupArrayOutput

type ClusterNodeGroupArrayInput

type ClusterNodeGroupArrayInput interface {
	pulumi.Input

	ToClusterNodeGroupArrayOutput() ClusterNodeGroupArrayOutput
	ToClusterNodeGroupArrayOutputWithContext(context.Context) ClusterNodeGroupArrayOutput
}

ClusterNodeGroupArrayInput is an input type that accepts ClusterNodeGroupArray and ClusterNodeGroupArrayOutput values. You can construct a concrete instance of `ClusterNodeGroupArrayInput` via:

ClusterNodeGroupArray{ ClusterNodeGroupArgs{...} }

type ClusterNodeGroupArrayOutput

type ClusterNodeGroupArrayOutput struct{ *pulumi.OutputState }

func (ClusterNodeGroupArrayOutput) ElementType

func (ClusterNodeGroupArrayOutput) Index

func (ClusterNodeGroupArrayOutput) ToClusterNodeGroupArrayOutput

func (o ClusterNodeGroupArrayOutput) ToClusterNodeGroupArrayOutput() ClusterNodeGroupArrayOutput

func (ClusterNodeGroupArrayOutput) ToClusterNodeGroupArrayOutputWithContext

func (o ClusterNodeGroupArrayOutput) ToClusterNodeGroupArrayOutputWithContext(ctx context.Context) ClusterNodeGroupArrayOutput

type ClusterNodeGroupCostOptimizedConfig

type ClusterNodeGroupCostOptimizedConfig struct {
	// The cost optimized configuration which on demand based capacity.
	OnDemandBaseCapacity int `pulumi:"onDemandBaseCapacity"`
	// The cost optimized configuration which on demand percentage above based capacity.
	OnDemandPercentageAboveBaseCapacity int `pulumi:"onDemandPercentageAboveBaseCapacity"`
	// The cost optimized configuration with spot instance pools.
	SpotInstancePools int `pulumi:"spotInstancePools"`
}

type ClusterNodeGroupCostOptimizedConfigArgs

type ClusterNodeGroupCostOptimizedConfigArgs struct {
	// The cost optimized configuration which on demand based capacity.
	OnDemandBaseCapacity pulumi.IntInput `pulumi:"onDemandBaseCapacity"`
	// The cost optimized configuration which on demand percentage above based capacity.
	OnDemandPercentageAboveBaseCapacity pulumi.IntInput `pulumi:"onDemandPercentageAboveBaseCapacity"`
	// The cost optimized configuration with spot instance pools.
	SpotInstancePools pulumi.IntInput `pulumi:"spotInstancePools"`
}

func (ClusterNodeGroupCostOptimizedConfigArgs) ElementType

func (ClusterNodeGroupCostOptimizedConfigArgs) ToClusterNodeGroupCostOptimizedConfigOutput

func (i ClusterNodeGroupCostOptimizedConfigArgs) ToClusterNodeGroupCostOptimizedConfigOutput() ClusterNodeGroupCostOptimizedConfigOutput

func (ClusterNodeGroupCostOptimizedConfigArgs) ToClusterNodeGroupCostOptimizedConfigOutputWithContext

func (i ClusterNodeGroupCostOptimizedConfigArgs) ToClusterNodeGroupCostOptimizedConfigOutputWithContext(ctx context.Context) ClusterNodeGroupCostOptimizedConfigOutput

func (ClusterNodeGroupCostOptimizedConfigArgs) ToClusterNodeGroupCostOptimizedConfigPtrOutput

func (i ClusterNodeGroupCostOptimizedConfigArgs) ToClusterNodeGroupCostOptimizedConfigPtrOutput() ClusterNodeGroupCostOptimizedConfigPtrOutput

func (ClusterNodeGroupCostOptimizedConfigArgs) ToClusterNodeGroupCostOptimizedConfigPtrOutputWithContext

func (i ClusterNodeGroupCostOptimizedConfigArgs) ToClusterNodeGroupCostOptimizedConfigPtrOutputWithContext(ctx context.Context) ClusterNodeGroupCostOptimizedConfigPtrOutput

type ClusterNodeGroupCostOptimizedConfigInput

type ClusterNodeGroupCostOptimizedConfigInput interface {
	pulumi.Input

	ToClusterNodeGroupCostOptimizedConfigOutput() ClusterNodeGroupCostOptimizedConfigOutput
	ToClusterNodeGroupCostOptimizedConfigOutputWithContext(context.Context) ClusterNodeGroupCostOptimizedConfigOutput
}

ClusterNodeGroupCostOptimizedConfigInput is an input type that accepts ClusterNodeGroupCostOptimizedConfigArgs and ClusterNodeGroupCostOptimizedConfigOutput values. You can construct a concrete instance of `ClusterNodeGroupCostOptimizedConfigInput` via:

ClusterNodeGroupCostOptimizedConfigArgs{...}

type ClusterNodeGroupCostOptimizedConfigOutput

type ClusterNodeGroupCostOptimizedConfigOutput struct{ *pulumi.OutputState }

func (ClusterNodeGroupCostOptimizedConfigOutput) ElementType

func (ClusterNodeGroupCostOptimizedConfigOutput) OnDemandBaseCapacity

The cost optimized configuration which on demand based capacity.

func (ClusterNodeGroupCostOptimizedConfigOutput) OnDemandPercentageAboveBaseCapacity

func (o ClusterNodeGroupCostOptimizedConfigOutput) OnDemandPercentageAboveBaseCapacity() pulumi.IntOutput

The cost optimized configuration which on demand percentage above based capacity.

func (ClusterNodeGroupCostOptimizedConfigOutput) SpotInstancePools

The cost optimized configuration with spot instance pools.

func (ClusterNodeGroupCostOptimizedConfigOutput) ToClusterNodeGroupCostOptimizedConfigOutput

func (o ClusterNodeGroupCostOptimizedConfigOutput) ToClusterNodeGroupCostOptimizedConfigOutput() ClusterNodeGroupCostOptimizedConfigOutput

func (ClusterNodeGroupCostOptimizedConfigOutput) ToClusterNodeGroupCostOptimizedConfigOutputWithContext

func (o ClusterNodeGroupCostOptimizedConfigOutput) ToClusterNodeGroupCostOptimizedConfigOutputWithContext(ctx context.Context) ClusterNodeGroupCostOptimizedConfigOutput

func (ClusterNodeGroupCostOptimizedConfigOutput) ToClusterNodeGroupCostOptimizedConfigPtrOutput

func (o ClusterNodeGroupCostOptimizedConfigOutput) ToClusterNodeGroupCostOptimizedConfigPtrOutput() ClusterNodeGroupCostOptimizedConfigPtrOutput

func (ClusterNodeGroupCostOptimizedConfigOutput) ToClusterNodeGroupCostOptimizedConfigPtrOutputWithContext

func (o ClusterNodeGroupCostOptimizedConfigOutput) ToClusterNodeGroupCostOptimizedConfigPtrOutputWithContext(ctx context.Context) ClusterNodeGroupCostOptimizedConfigPtrOutput

type ClusterNodeGroupCostOptimizedConfigPtrInput

type ClusterNodeGroupCostOptimizedConfigPtrInput interface {
	pulumi.Input

	ToClusterNodeGroupCostOptimizedConfigPtrOutput() ClusterNodeGroupCostOptimizedConfigPtrOutput
	ToClusterNodeGroupCostOptimizedConfigPtrOutputWithContext(context.Context) ClusterNodeGroupCostOptimizedConfigPtrOutput
}

ClusterNodeGroupCostOptimizedConfigPtrInput is an input type that accepts ClusterNodeGroupCostOptimizedConfigArgs, ClusterNodeGroupCostOptimizedConfigPtr and ClusterNodeGroupCostOptimizedConfigPtrOutput values. You can construct a concrete instance of `ClusterNodeGroupCostOptimizedConfigPtrInput` via:

        ClusterNodeGroupCostOptimizedConfigArgs{...}

or:

        nil

type ClusterNodeGroupCostOptimizedConfigPtrOutput

type ClusterNodeGroupCostOptimizedConfigPtrOutput struct{ *pulumi.OutputState }

func (ClusterNodeGroupCostOptimizedConfigPtrOutput) Elem

func (ClusterNodeGroupCostOptimizedConfigPtrOutput) ElementType

func (ClusterNodeGroupCostOptimizedConfigPtrOutput) OnDemandBaseCapacity

The cost optimized configuration which on demand based capacity.

func (ClusterNodeGroupCostOptimizedConfigPtrOutput) OnDemandPercentageAboveBaseCapacity

func (o ClusterNodeGroupCostOptimizedConfigPtrOutput) OnDemandPercentageAboveBaseCapacity() pulumi.IntPtrOutput

The cost optimized configuration which on demand percentage above based capacity.

func (ClusterNodeGroupCostOptimizedConfigPtrOutput) SpotInstancePools

The cost optimized configuration with spot instance pools.

func (ClusterNodeGroupCostOptimizedConfigPtrOutput) ToClusterNodeGroupCostOptimizedConfigPtrOutput

func (o ClusterNodeGroupCostOptimizedConfigPtrOutput) ToClusterNodeGroupCostOptimizedConfigPtrOutput() ClusterNodeGroupCostOptimizedConfigPtrOutput

func (ClusterNodeGroupCostOptimizedConfigPtrOutput) ToClusterNodeGroupCostOptimizedConfigPtrOutputWithContext

func (o ClusterNodeGroupCostOptimizedConfigPtrOutput) ToClusterNodeGroupCostOptimizedConfigPtrOutputWithContext(ctx context.Context) ClusterNodeGroupCostOptimizedConfigPtrOutput

type ClusterNodeGroupDataDisk

type ClusterNodeGroupDataDisk struct {
	// The type of the data disk. Valid values: `cloudEfficiency` and `cloudEssd`.
	Category string `pulumi:"category"`
	// The count of a data disk.
	Count *int `pulumi:"count"`
	// Worker node data disk performance level, when `category` values `cloudEssd`, the optional values are `PL0`, `PL1`, `PL2` or `PL3`, but the specific performance level is related to the disk capacity.
	PerformanceLevel *string `pulumi:"performanceLevel"`
	// The size of a data disk, at least 40. Unit: GiB.
	Size int `pulumi:"size"`
}

type ClusterNodeGroupDataDiskArgs

type ClusterNodeGroupDataDiskArgs struct {
	// The type of the data disk. Valid values: `cloudEfficiency` and `cloudEssd`.
	Category pulumi.StringInput `pulumi:"category"`
	// The count of a data disk.
	Count pulumi.IntPtrInput `pulumi:"count"`
	// Worker node data disk performance level, when `category` values `cloudEssd`, the optional values are `PL0`, `PL1`, `PL2` or `PL3`, but the specific performance level is related to the disk capacity.
	PerformanceLevel pulumi.StringPtrInput `pulumi:"performanceLevel"`
	// The size of a data disk, at least 40. Unit: GiB.
	Size pulumi.IntInput `pulumi:"size"`
}

func (ClusterNodeGroupDataDiskArgs) ElementType

func (ClusterNodeGroupDataDiskArgs) ToClusterNodeGroupDataDiskOutput

func (i ClusterNodeGroupDataDiskArgs) ToClusterNodeGroupDataDiskOutput() ClusterNodeGroupDataDiskOutput

func (ClusterNodeGroupDataDiskArgs) ToClusterNodeGroupDataDiskOutputWithContext

func (i ClusterNodeGroupDataDiskArgs) ToClusterNodeGroupDataDiskOutputWithContext(ctx context.Context) ClusterNodeGroupDataDiskOutput

type ClusterNodeGroupDataDiskArray

type ClusterNodeGroupDataDiskArray []ClusterNodeGroupDataDiskInput

func (ClusterNodeGroupDataDiskArray) ElementType

func (ClusterNodeGroupDataDiskArray) ToClusterNodeGroupDataDiskArrayOutput

func (i ClusterNodeGroupDataDiskArray) ToClusterNodeGroupDataDiskArrayOutput() ClusterNodeGroupDataDiskArrayOutput

func (ClusterNodeGroupDataDiskArray) ToClusterNodeGroupDataDiskArrayOutputWithContext

func (i ClusterNodeGroupDataDiskArray) ToClusterNodeGroupDataDiskArrayOutputWithContext(ctx context.Context) ClusterNodeGroupDataDiskArrayOutput

type ClusterNodeGroupDataDiskArrayInput

type ClusterNodeGroupDataDiskArrayInput interface {
	pulumi.Input

	ToClusterNodeGroupDataDiskArrayOutput() ClusterNodeGroupDataDiskArrayOutput
	ToClusterNodeGroupDataDiskArrayOutputWithContext(context.Context) ClusterNodeGroupDataDiskArrayOutput
}

ClusterNodeGroupDataDiskArrayInput is an input type that accepts ClusterNodeGroupDataDiskArray and ClusterNodeGroupDataDiskArrayOutput values. You can construct a concrete instance of `ClusterNodeGroupDataDiskArrayInput` via:

ClusterNodeGroupDataDiskArray{ ClusterNodeGroupDataDiskArgs{...} }

type ClusterNodeGroupDataDiskArrayOutput

type ClusterNodeGroupDataDiskArrayOutput struct{ *pulumi.OutputState }

func (ClusterNodeGroupDataDiskArrayOutput) ElementType

func (ClusterNodeGroupDataDiskArrayOutput) Index

func (ClusterNodeGroupDataDiskArrayOutput) ToClusterNodeGroupDataDiskArrayOutput

func (o ClusterNodeGroupDataDiskArrayOutput) ToClusterNodeGroupDataDiskArrayOutput() ClusterNodeGroupDataDiskArrayOutput

func (ClusterNodeGroupDataDiskArrayOutput) ToClusterNodeGroupDataDiskArrayOutputWithContext

func (o ClusterNodeGroupDataDiskArrayOutput) ToClusterNodeGroupDataDiskArrayOutputWithContext(ctx context.Context) ClusterNodeGroupDataDiskArrayOutput

type ClusterNodeGroupDataDiskInput

type ClusterNodeGroupDataDiskInput interface {
	pulumi.Input

	ToClusterNodeGroupDataDiskOutput() ClusterNodeGroupDataDiskOutput
	ToClusterNodeGroupDataDiskOutputWithContext(context.Context) ClusterNodeGroupDataDiskOutput
}

ClusterNodeGroupDataDiskInput is an input type that accepts ClusterNodeGroupDataDiskArgs and ClusterNodeGroupDataDiskOutput values. You can construct a concrete instance of `ClusterNodeGroupDataDiskInput` via:

ClusterNodeGroupDataDiskArgs{...}

type ClusterNodeGroupDataDiskOutput

type ClusterNodeGroupDataDiskOutput struct{ *pulumi.OutputState }

func (ClusterNodeGroupDataDiskOutput) Category

The type of the data disk. Valid values: `cloudEfficiency` and `cloudEssd`.

func (ClusterNodeGroupDataDiskOutput) Count

The count of a data disk.

func (ClusterNodeGroupDataDiskOutput) ElementType

func (ClusterNodeGroupDataDiskOutput) PerformanceLevel

Worker node data disk performance level, when `category` values `cloudEssd`, the optional values are `PL0`, `PL1`, `PL2` or `PL3`, but the specific performance level is related to the disk capacity.

func (ClusterNodeGroupDataDiskOutput) Size

The size of a data disk, at least 40. Unit: GiB.

func (ClusterNodeGroupDataDiskOutput) ToClusterNodeGroupDataDiskOutput

func (o ClusterNodeGroupDataDiskOutput) ToClusterNodeGroupDataDiskOutput() ClusterNodeGroupDataDiskOutput

func (ClusterNodeGroupDataDiskOutput) ToClusterNodeGroupDataDiskOutputWithContext

func (o ClusterNodeGroupDataDiskOutput) ToClusterNodeGroupDataDiskOutputWithContext(ctx context.Context) ClusterNodeGroupDataDiskOutput

type ClusterNodeGroupInput

type ClusterNodeGroupInput interface {
	pulumi.Input

	ToClusterNodeGroupOutput() ClusterNodeGroupOutput
	ToClusterNodeGroupOutputWithContext(context.Context) ClusterNodeGroupOutput
}

ClusterNodeGroupInput is an input type that accepts ClusterNodeGroupArgs and ClusterNodeGroupOutput values. You can construct a concrete instance of `ClusterNodeGroupInput` via:

ClusterNodeGroupArgs{...}

type ClusterNodeGroupOutput

type ClusterNodeGroupOutput struct{ *pulumi.OutputState }

func (ClusterNodeGroupOutput) AdditionalSecurityGroupIds

func (o ClusterNodeGroupOutput) AdditionalSecurityGroupIds() pulumi.StringArrayOutput

Additional security Group IDS for Cluster, you can also specify this key for each node group.

func (ClusterNodeGroupOutput) CostOptimizedConfig

The detail cost optimized configuration of emr cluster. See `costOptimizedConfig` below.

func (ClusterNodeGroupOutput) DataDisks

Host Ecs data disks information in this node group. See `dataDisks` below.

func (ClusterNodeGroupOutput) ElementType

func (ClusterNodeGroupOutput) ElementType() reflect.Type

func (ClusterNodeGroupOutput) GracefulShutdown

func (o ClusterNodeGroupOutput) GracefulShutdown() pulumi.BoolPtrOutput

Enable emr cluster of task node graceful decommission, ’true’ or ‘false’ .

func (ClusterNodeGroupOutput) InstanceTypes

Host Ecs instance types.

func (ClusterNodeGroupOutput) NodeCount

func (o ClusterNodeGroupOutput) NodeCount() pulumi.IntOutput

Host Ecs number in this node group.

func (ClusterNodeGroupOutput) NodeGroupName

func (o ClusterNodeGroupOutput) NodeGroupName() pulumi.StringOutput

The node group name of emr cluster.

func (ClusterNodeGroupOutput) NodeGroupType

func (o ClusterNodeGroupOutput) NodeGroupType() pulumi.StringOutput

The node group type of emr cluster, supported value: MASTER, CORE or TASK.

func (ClusterNodeGroupOutput) PaymentType

Payment Type for this cluster. Supported value: PayAsYouGo or Subscription.

func (ClusterNodeGroupOutput) SpotBidPrices

The spot bid prices of a PayAsYouGo instance. See `spotBidPrices` below.

func (ClusterNodeGroupOutput) SpotInstanceRemedy

func (o ClusterNodeGroupOutput) SpotInstanceRemedy() pulumi.BoolPtrOutput

Whether to replace spot instances with newly created spot/onDemand instance when receive a spot recycling message.

func (ClusterNodeGroupOutput) SubscriptionConfig

The detail configuration of subscription payment type. See `subscriptionConfig` below.

func (ClusterNodeGroupOutput) SystemDisk

Host Ecs system disk information in this node group. See `systemDisk` below.

func (ClusterNodeGroupOutput) ToClusterNodeGroupOutput

func (o ClusterNodeGroupOutput) ToClusterNodeGroupOutput() ClusterNodeGroupOutput

func (ClusterNodeGroupOutput) ToClusterNodeGroupOutputWithContext

func (o ClusterNodeGroupOutput) ToClusterNodeGroupOutputWithContext(ctx context.Context) ClusterNodeGroupOutput

func (ClusterNodeGroupOutput) VswitchIds

Global vSwitch ids, you can also specify it in node group.

func (ClusterNodeGroupOutput) WithPublicIp

func (o ClusterNodeGroupOutput) WithPublicIp() pulumi.BoolPtrOutput

Whether the node has a public IP address enabled.

type ClusterNodeGroupSpotBidPrice

type ClusterNodeGroupSpotBidPrice struct {
	// The spot bid price of a PayAsYouGo instance.
	BidPrice int `pulumi:"bidPrice"`
	// Host Ecs instance type.
	InstanceType string `pulumi:"instanceType"`
}

type ClusterNodeGroupSpotBidPriceArgs

type ClusterNodeGroupSpotBidPriceArgs struct {
	// The spot bid price of a PayAsYouGo instance.
	BidPrice pulumi.IntInput `pulumi:"bidPrice"`
	// Host Ecs instance type.
	InstanceType pulumi.StringInput `pulumi:"instanceType"`
}

func (ClusterNodeGroupSpotBidPriceArgs) ElementType

func (ClusterNodeGroupSpotBidPriceArgs) ToClusterNodeGroupSpotBidPriceOutput

func (i ClusterNodeGroupSpotBidPriceArgs) ToClusterNodeGroupSpotBidPriceOutput() ClusterNodeGroupSpotBidPriceOutput

func (ClusterNodeGroupSpotBidPriceArgs) ToClusterNodeGroupSpotBidPriceOutputWithContext

func (i ClusterNodeGroupSpotBidPriceArgs) ToClusterNodeGroupSpotBidPriceOutputWithContext(ctx context.Context) ClusterNodeGroupSpotBidPriceOutput

type ClusterNodeGroupSpotBidPriceArray

type ClusterNodeGroupSpotBidPriceArray []ClusterNodeGroupSpotBidPriceInput

func (ClusterNodeGroupSpotBidPriceArray) ElementType

func (ClusterNodeGroupSpotBidPriceArray) ToClusterNodeGroupSpotBidPriceArrayOutput

func (i ClusterNodeGroupSpotBidPriceArray) ToClusterNodeGroupSpotBidPriceArrayOutput() ClusterNodeGroupSpotBidPriceArrayOutput

func (ClusterNodeGroupSpotBidPriceArray) ToClusterNodeGroupSpotBidPriceArrayOutputWithContext

func (i ClusterNodeGroupSpotBidPriceArray) ToClusterNodeGroupSpotBidPriceArrayOutputWithContext(ctx context.Context) ClusterNodeGroupSpotBidPriceArrayOutput

type ClusterNodeGroupSpotBidPriceArrayInput

type ClusterNodeGroupSpotBidPriceArrayInput interface {
	pulumi.Input

	ToClusterNodeGroupSpotBidPriceArrayOutput() ClusterNodeGroupSpotBidPriceArrayOutput
	ToClusterNodeGroupSpotBidPriceArrayOutputWithContext(context.Context) ClusterNodeGroupSpotBidPriceArrayOutput
}

ClusterNodeGroupSpotBidPriceArrayInput is an input type that accepts ClusterNodeGroupSpotBidPriceArray and ClusterNodeGroupSpotBidPriceArrayOutput values. You can construct a concrete instance of `ClusterNodeGroupSpotBidPriceArrayInput` via:

ClusterNodeGroupSpotBidPriceArray{ ClusterNodeGroupSpotBidPriceArgs{...} }

type ClusterNodeGroupSpotBidPriceArrayOutput

type ClusterNodeGroupSpotBidPriceArrayOutput struct{ *pulumi.OutputState }

func (ClusterNodeGroupSpotBidPriceArrayOutput) ElementType

func (ClusterNodeGroupSpotBidPriceArrayOutput) Index

func (ClusterNodeGroupSpotBidPriceArrayOutput) ToClusterNodeGroupSpotBidPriceArrayOutput

func (o ClusterNodeGroupSpotBidPriceArrayOutput) ToClusterNodeGroupSpotBidPriceArrayOutput() ClusterNodeGroupSpotBidPriceArrayOutput

func (ClusterNodeGroupSpotBidPriceArrayOutput) ToClusterNodeGroupSpotBidPriceArrayOutputWithContext

func (o ClusterNodeGroupSpotBidPriceArrayOutput) ToClusterNodeGroupSpotBidPriceArrayOutputWithContext(ctx context.Context) ClusterNodeGroupSpotBidPriceArrayOutput

type ClusterNodeGroupSpotBidPriceInput

type ClusterNodeGroupSpotBidPriceInput interface {
	pulumi.Input

	ToClusterNodeGroupSpotBidPriceOutput() ClusterNodeGroupSpotBidPriceOutput
	ToClusterNodeGroupSpotBidPriceOutputWithContext(context.Context) ClusterNodeGroupSpotBidPriceOutput
}

ClusterNodeGroupSpotBidPriceInput is an input type that accepts ClusterNodeGroupSpotBidPriceArgs and ClusterNodeGroupSpotBidPriceOutput values. You can construct a concrete instance of `ClusterNodeGroupSpotBidPriceInput` via:

ClusterNodeGroupSpotBidPriceArgs{...}

type ClusterNodeGroupSpotBidPriceOutput

type ClusterNodeGroupSpotBidPriceOutput struct{ *pulumi.OutputState }

func (ClusterNodeGroupSpotBidPriceOutput) BidPrice

The spot bid price of a PayAsYouGo instance.

func (ClusterNodeGroupSpotBidPriceOutput) ElementType

func (ClusterNodeGroupSpotBidPriceOutput) InstanceType

Host Ecs instance type.

func (ClusterNodeGroupSpotBidPriceOutput) ToClusterNodeGroupSpotBidPriceOutput

func (o ClusterNodeGroupSpotBidPriceOutput) ToClusterNodeGroupSpotBidPriceOutput() ClusterNodeGroupSpotBidPriceOutput

func (ClusterNodeGroupSpotBidPriceOutput) ToClusterNodeGroupSpotBidPriceOutputWithContext

func (o ClusterNodeGroupSpotBidPriceOutput) ToClusterNodeGroupSpotBidPriceOutputWithContext(ctx context.Context) ClusterNodeGroupSpotBidPriceOutput

type ClusterNodeGroupSubscriptionConfig

type ClusterNodeGroupSubscriptionConfig struct {
	// Auto renew for prepaid, ’true’ or ‘false’ . Default value: false.
	AutoRenew *bool `pulumi:"autoRenew"`
	// If paymentType is Subscription, this should be specified. Supported value: 1、2、3、4、5、6、7、8、9、12、24、36、48.
	AutoRenewDuration *int `pulumi:"autoRenewDuration"`
	// If paymentType is Subscription, this should be specified. Supported value: Month or Year.
	AutoRenewDurationUnit *string `pulumi:"autoRenewDurationUnit"`
	// If paymentType is Subscription, this should be specified. Supported value: 1、2、3、4、5、6、7、8、9、12、24、36、48.
	PaymentDuration int `pulumi:"paymentDuration"`
	// If paymentType is Subscription, this should be specified. Supported value: Month or Year.
	PaymentDurationUnit string `pulumi:"paymentDurationUnit"`
}

type ClusterNodeGroupSubscriptionConfigArgs

type ClusterNodeGroupSubscriptionConfigArgs struct {
	// Auto renew for prepaid, ’true’ or ‘false’ . Default value: false.
	AutoRenew pulumi.BoolPtrInput `pulumi:"autoRenew"`
	// If paymentType is Subscription, this should be specified. Supported value: 1、2、3、4、5、6、7、8、9、12、24、36、48.
	AutoRenewDuration pulumi.IntPtrInput `pulumi:"autoRenewDuration"`
	// If paymentType is Subscription, this should be specified. Supported value: Month or Year.
	AutoRenewDurationUnit pulumi.StringPtrInput `pulumi:"autoRenewDurationUnit"`
	// If paymentType is Subscription, this should be specified. Supported value: 1、2、3、4、5、6、7、8、9、12、24、36、48.
	PaymentDuration pulumi.IntInput `pulumi:"paymentDuration"`
	// If paymentType is Subscription, this should be specified. Supported value: Month or Year.
	PaymentDurationUnit pulumi.StringInput `pulumi:"paymentDurationUnit"`
}

func (ClusterNodeGroupSubscriptionConfigArgs) ElementType

func (ClusterNodeGroupSubscriptionConfigArgs) ToClusterNodeGroupSubscriptionConfigOutput

func (i ClusterNodeGroupSubscriptionConfigArgs) ToClusterNodeGroupSubscriptionConfigOutput() ClusterNodeGroupSubscriptionConfigOutput

func (ClusterNodeGroupSubscriptionConfigArgs) ToClusterNodeGroupSubscriptionConfigOutputWithContext

func (i ClusterNodeGroupSubscriptionConfigArgs) ToClusterNodeGroupSubscriptionConfigOutputWithContext(ctx context.Context) ClusterNodeGroupSubscriptionConfigOutput

func (ClusterNodeGroupSubscriptionConfigArgs) ToClusterNodeGroupSubscriptionConfigPtrOutput

func (i ClusterNodeGroupSubscriptionConfigArgs) ToClusterNodeGroupSubscriptionConfigPtrOutput() ClusterNodeGroupSubscriptionConfigPtrOutput

func (ClusterNodeGroupSubscriptionConfigArgs) ToClusterNodeGroupSubscriptionConfigPtrOutputWithContext

func (i ClusterNodeGroupSubscriptionConfigArgs) ToClusterNodeGroupSubscriptionConfigPtrOutputWithContext(ctx context.Context) ClusterNodeGroupSubscriptionConfigPtrOutput

type ClusterNodeGroupSubscriptionConfigInput

type ClusterNodeGroupSubscriptionConfigInput interface {
	pulumi.Input

	ToClusterNodeGroupSubscriptionConfigOutput() ClusterNodeGroupSubscriptionConfigOutput
	ToClusterNodeGroupSubscriptionConfigOutputWithContext(context.Context) ClusterNodeGroupSubscriptionConfigOutput
}

ClusterNodeGroupSubscriptionConfigInput is an input type that accepts ClusterNodeGroupSubscriptionConfigArgs and ClusterNodeGroupSubscriptionConfigOutput values. You can construct a concrete instance of `ClusterNodeGroupSubscriptionConfigInput` via:

ClusterNodeGroupSubscriptionConfigArgs{...}

type ClusterNodeGroupSubscriptionConfigOutput

type ClusterNodeGroupSubscriptionConfigOutput struct{ *pulumi.OutputState }

func (ClusterNodeGroupSubscriptionConfigOutput) AutoRenew

Auto renew for prepaid, ’true’ or ‘false’ . Default value: false.

func (ClusterNodeGroupSubscriptionConfigOutput) AutoRenewDuration

If paymentType is Subscription, this should be specified. Supported value: 1、2、3、4、5、6、7、8、9、12、24、36、48.

func (ClusterNodeGroupSubscriptionConfigOutput) AutoRenewDurationUnit

If paymentType is Subscription, this should be specified. Supported value: Month or Year.

func (ClusterNodeGroupSubscriptionConfigOutput) ElementType

func (ClusterNodeGroupSubscriptionConfigOutput) PaymentDuration

If paymentType is Subscription, this should be specified. Supported value: 1、2、3、4、5、6、7、8、9、12、24、36、48.

func (ClusterNodeGroupSubscriptionConfigOutput) PaymentDurationUnit

If paymentType is Subscription, this should be specified. Supported value: Month or Year.

func (ClusterNodeGroupSubscriptionConfigOutput) ToClusterNodeGroupSubscriptionConfigOutput

func (o ClusterNodeGroupSubscriptionConfigOutput) ToClusterNodeGroupSubscriptionConfigOutput() ClusterNodeGroupSubscriptionConfigOutput

func (ClusterNodeGroupSubscriptionConfigOutput) ToClusterNodeGroupSubscriptionConfigOutputWithContext

func (o ClusterNodeGroupSubscriptionConfigOutput) ToClusterNodeGroupSubscriptionConfigOutputWithContext(ctx context.Context) ClusterNodeGroupSubscriptionConfigOutput

func (ClusterNodeGroupSubscriptionConfigOutput) ToClusterNodeGroupSubscriptionConfigPtrOutput

func (o ClusterNodeGroupSubscriptionConfigOutput) ToClusterNodeGroupSubscriptionConfigPtrOutput() ClusterNodeGroupSubscriptionConfigPtrOutput

func (ClusterNodeGroupSubscriptionConfigOutput) ToClusterNodeGroupSubscriptionConfigPtrOutputWithContext

func (o ClusterNodeGroupSubscriptionConfigOutput) ToClusterNodeGroupSubscriptionConfigPtrOutputWithContext(ctx context.Context) ClusterNodeGroupSubscriptionConfigPtrOutput

type ClusterNodeGroupSubscriptionConfigPtrInput

type ClusterNodeGroupSubscriptionConfigPtrInput interface {
	pulumi.Input

	ToClusterNodeGroupSubscriptionConfigPtrOutput() ClusterNodeGroupSubscriptionConfigPtrOutput
	ToClusterNodeGroupSubscriptionConfigPtrOutputWithContext(context.Context) ClusterNodeGroupSubscriptionConfigPtrOutput
}

ClusterNodeGroupSubscriptionConfigPtrInput is an input type that accepts ClusterNodeGroupSubscriptionConfigArgs, ClusterNodeGroupSubscriptionConfigPtr and ClusterNodeGroupSubscriptionConfigPtrOutput values. You can construct a concrete instance of `ClusterNodeGroupSubscriptionConfigPtrInput` via:

        ClusterNodeGroupSubscriptionConfigArgs{...}

or:

        nil

type ClusterNodeGroupSubscriptionConfigPtrOutput

type ClusterNodeGroupSubscriptionConfigPtrOutput struct{ *pulumi.OutputState }

func (ClusterNodeGroupSubscriptionConfigPtrOutput) AutoRenew

Auto renew for prepaid, ’true’ or ‘false’ . Default value: false.

func (ClusterNodeGroupSubscriptionConfigPtrOutput) AutoRenewDuration

If paymentType is Subscription, this should be specified. Supported value: 1、2、3、4、5、6、7、8、9、12、24、36、48.

func (ClusterNodeGroupSubscriptionConfigPtrOutput) AutoRenewDurationUnit

If paymentType is Subscription, this should be specified. Supported value: Month or Year.

func (ClusterNodeGroupSubscriptionConfigPtrOutput) Elem

func (ClusterNodeGroupSubscriptionConfigPtrOutput) ElementType

func (ClusterNodeGroupSubscriptionConfigPtrOutput) PaymentDuration

If paymentType is Subscription, this should be specified. Supported value: 1、2、3、4、5、6、7、8、9、12、24、36、48.

func (ClusterNodeGroupSubscriptionConfigPtrOutput) PaymentDurationUnit

If paymentType is Subscription, this should be specified. Supported value: Month or Year.

func (ClusterNodeGroupSubscriptionConfigPtrOutput) ToClusterNodeGroupSubscriptionConfigPtrOutput

func (o ClusterNodeGroupSubscriptionConfigPtrOutput) ToClusterNodeGroupSubscriptionConfigPtrOutput() ClusterNodeGroupSubscriptionConfigPtrOutput

func (ClusterNodeGroupSubscriptionConfigPtrOutput) ToClusterNodeGroupSubscriptionConfigPtrOutputWithContext

func (o ClusterNodeGroupSubscriptionConfigPtrOutput) ToClusterNodeGroupSubscriptionConfigPtrOutputWithContext(ctx context.Context) ClusterNodeGroupSubscriptionConfigPtrOutput

type ClusterNodeGroupSystemDisk

type ClusterNodeGroupSystemDisk struct {
	// The type of the data disk. Valid values: `cloudEfficiency` and `cloudEssd`.
	Category string `pulumi:"category"`
	// The count of a data disk.
	Count *int `pulumi:"count"`
	// Worker node data disk performance level, when `category` values `cloudEssd`, the optional values are `PL0`, `PL1`, `PL2` or `PL3`, but the specific performance level is related to the disk capacity.
	PerformanceLevel *string `pulumi:"performanceLevel"`
	// The size of a data disk, at least 40. Unit: GiB.
	Size int `pulumi:"size"`
}

type ClusterNodeGroupSystemDiskArgs

type ClusterNodeGroupSystemDiskArgs struct {
	// The type of the data disk. Valid values: `cloudEfficiency` and `cloudEssd`.
	Category pulumi.StringInput `pulumi:"category"`
	// The count of a data disk.
	Count pulumi.IntPtrInput `pulumi:"count"`
	// Worker node data disk performance level, when `category` values `cloudEssd`, the optional values are `PL0`, `PL1`, `PL2` or `PL3`, but the specific performance level is related to the disk capacity.
	PerformanceLevel pulumi.StringPtrInput `pulumi:"performanceLevel"`
	// The size of a data disk, at least 40. Unit: GiB.
	Size pulumi.IntInput `pulumi:"size"`
}

func (ClusterNodeGroupSystemDiskArgs) ElementType

func (ClusterNodeGroupSystemDiskArgs) ToClusterNodeGroupSystemDiskOutput

func (i ClusterNodeGroupSystemDiskArgs) ToClusterNodeGroupSystemDiskOutput() ClusterNodeGroupSystemDiskOutput

func (ClusterNodeGroupSystemDiskArgs) ToClusterNodeGroupSystemDiskOutputWithContext

func (i ClusterNodeGroupSystemDiskArgs) ToClusterNodeGroupSystemDiskOutputWithContext(ctx context.Context) ClusterNodeGroupSystemDiskOutput

type ClusterNodeGroupSystemDiskInput

type ClusterNodeGroupSystemDiskInput interface {
	pulumi.Input

	ToClusterNodeGroupSystemDiskOutput() ClusterNodeGroupSystemDiskOutput
	ToClusterNodeGroupSystemDiskOutputWithContext(context.Context) ClusterNodeGroupSystemDiskOutput
}

ClusterNodeGroupSystemDiskInput is an input type that accepts ClusterNodeGroupSystemDiskArgs and ClusterNodeGroupSystemDiskOutput values. You can construct a concrete instance of `ClusterNodeGroupSystemDiskInput` via:

ClusterNodeGroupSystemDiskArgs{...}

type ClusterNodeGroupSystemDiskOutput

type ClusterNodeGroupSystemDiskOutput struct{ *pulumi.OutputState }

func (ClusterNodeGroupSystemDiskOutput) Category

The type of the data disk. Valid values: `cloudEfficiency` and `cloudEssd`.

func (ClusterNodeGroupSystemDiskOutput) Count

The count of a data disk.

func (ClusterNodeGroupSystemDiskOutput) ElementType

func (ClusterNodeGroupSystemDiskOutput) PerformanceLevel

Worker node data disk performance level, when `category` values `cloudEssd`, the optional values are `PL0`, `PL1`, `PL2` or `PL3`, but the specific performance level is related to the disk capacity.

func (ClusterNodeGroupSystemDiskOutput) Size

The size of a data disk, at least 40. Unit: GiB.

func (ClusterNodeGroupSystemDiskOutput) ToClusterNodeGroupSystemDiskOutput

func (o ClusterNodeGroupSystemDiskOutput) ToClusterNodeGroupSystemDiskOutput() ClusterNodeGroupSystemDiskOutput

func (ClusterNodeGroupSystemDiskOutput) ToClusterNodeGroupSystemDiskOutputWithContext

func (o ClusterNodeGroupSystemDiskOutput) ToClusterNodeGroupSystemDiskOutputWithContext(ctx context.Context) ClusterNodeGroupSystemDiskOutput

type ClusterOutput

type ClusterOutput struct{ *pulumi.OutputState }

func (ClusterOutput) ApplicationConfigs

func (o ClusterOutput) ApplicationConfigs() ClusterApplicationConfigArrayOutput

The application configurations of EMR cluster. See `applicationConfigs` below.

func (ClusterOutput) Applications

func (o ClusterOutput) Applications() pulumi.StringArrayOutput

The applications of EMR cluster to be installed, e.g. HADOOP-COMMON, HDFS, YARN, HIVE, SPARK2, SPARK3, ZOOKEEPER etc. You can find all valid applications in emr web console.

func (ClusterOutput) BootstrapScripts

func (o ClusterOutput) BootstrapScripts() ClusterBootstrapScriptArrayOutput

The bootstrap scripts to be effected when creating emr-cluster or resize emr-cluster. See `bootstrapScripts` below.

func (ClusterOutput) ClusterName

func (o ClusterOutput) ClusterName() pulumi.StringOutput

The name of emr cluster. The name length must be less than 64. Supported characters: chinese character, english character, number, "-", "_".

func (ClusterOutput) ClusterType

func (o ClusterOutput) ClusterType() pulumi.StringOutput

EMR Cluster Type, e.g. DATALAKE, OLAP, DATAFLOW, DATASERVING, CUSTOM etc. You can find all valid EMR cluster type in emr web console.

func (ClusterOutput) DeployMode

func (o ClusterOutput) DeployMode() pulumi.StringOutput

The deploy mode of EMR cluster. Supported value: NORMAL or HA.

func (ClusterOutput) ElementType

func (ClusterOutput) ElementType() reflect.Type

func (ClusterOutput) NodeAttributes

The node attributes of ecs instances which the emr-cluster belongs. See `nodeAttributes` below.

func (ClusterOutput) NodeGroups

Groups of node, You can specify MASTER as a group, CORE as a group (just like the above example). See `nodeGroups` below.

func (ClusterOutput) PaymentType

func (o ClusterOutput) PaymentType() pulumi.StringOutput

Payment Type for this cluster. Supported value: PayAsYouGo or Subscription.

func (ClusterOutput) ReleaseVersion

func (o ClusterOutput) ReleaseVersion() pulumi.StringOutput

EMR Version, e.g. EMR-5.10.0. You can find the all valid EMR Version in emr web console.

func (ClusterOutput) ResourceGroupId

func (o ClusterOutput) ResourceGroupId() pulumi.StringOutput

The Id of resource group which the emr-cluster belongs.

func (ClusterOutput) SecurityMode

func (o ClusterOutput) SecurityMode() pulumi.StringOutput

The security mode of EMR cluster. Supported value: NORMAL or KERBEROS.

func (ClusterOutput) SubscriptionConfig

func (o ClusterOutput) SubscriptionConfig() ClusterSubscriptionConfigPtrOutput

The detail configuration of subscription payment type. See `subscriptionConfig` below.

func (ClusterOutput) Tags

func (o ClusterOutput) Tags() pulumi.MapOutput

A mapping of tags to assign to the resource.

func (ClusterOutput) ToClusterOutput

func (o ClusterOutput) ToClusterOutput() ClusterOutput

func (ClusterOutput) ToClusterOutputWithContext

func (o ClusterOutput) ToClusterOutputWithContext(ctx context.Context) ClusterOutput

type ClusterState

type ClusterState struct {
	// The application configurations of EMR cluster. See `applicationConfigs` below.
	ApplicationConfigs ClusterApplicationConfigArrayInput
	// The applications of EMR cluster to be installed, e.g. HADOOP-COMMON, HDFS, YARN, HIVE, SPARK2, SPARK3, ZOOKEEPER etc. You can find all valid applications in emr web console.
	Applications pulumi.StringArrayInput
	// The bootstrap scripts to be effected when creating emr-cluster or resize emr-cluster. See `bootstrapScripts` below.
	BootstrapScripts ClusterBootstrapScriptArrayInput
	// The name of emr cluster. The name length must be less than 64. Supported characters: chinese character, english character, number, "-", "_".
	ClusterName pulumi.StringPtrInput
	// EMR Cluster Type, e.g. DATALAKE, OLAP, DATAFLOW, DATASERVING, CUSTOM etc. You can find all valid EMR cluster type in emr web console.
	ClusterType pulumi.StringPtrInput
	// The deploy mode of EMR cluster. Supported value: NORMAL or HA.
	DeployMode pulumi.StringPtrInput
	// The node attributes of ecs instances which the emr-cluster belongs. See `nodeAttributes` below.
	NodeAttributes ClusterNodeAttributeArrayInput
	// Groups of node, You can specify MASTER as a group, CORE as a group (just like the above example). See `nodeGroups` below.
	NodeGroups ClusterNodeGroupArrayInput
	// Payment Type for this cluster. Supported value: PayAsYouGo or Subscription.
	PaymentType pulumi.StringPtrInput
	// EMR Version, e.g. EMR-5.10.0. You can find the all valid EMR Version in emr web console.
	ReleaseVersion pulumi.StringPtrInput
	// The Id of resource group which the emr-cluster belongs.
	ResourceGroupId pulumi.StringPtrInput
	// The security mode of EMR cluster. Supported value: NORMAL or KERBEROS.
	SecurityMode pulumi.StringPtrInput
	// The detail configuration of subscription payment type. See `subscriptionConfig` below.
	SubscriptionConfig ClusterSubscriptionConfigPtrInput
	// A mapping of tags to assign to the resource.
	Tags pulumi.MapInput
}

func (ClusterState) ElementType

func (ClusterState) ElementType() reflect.Type

type ClusterSubscriptionConfig

type ClusterSubscriptionConfig struct {
	// Auto renew for prepaid, ’true’ or ‘false’ . Default value: false.
	AutoRenew *bool `pulumi:"autoRenew"`
	// If paymentType is Subscription, this should be specified. Supported value: 1、2、3、4、5、6、7、8、9、12、24、36、48.
	AutoRenewDuration *int `pulumi:"autoRenewDuration"`
	// If paymentType is Subscription, this should be specified. Supported value: Month or Year.
	AutoRenewDurationUnit *string `pulumi:"autoRenewDurationUnit"`
	// If paymentType is Subscription, this should be specified. Supported value: 1、2、3、4、5、6、7、8、9、12、24、36、48.
	PaymentDuration int `pulumi:"paymentDuration"`
	// If paymentType is Subscription, this should be specified. Supported value: Month or Year.
	PaymentDurationUnit string `pulumi:"paymentDurationUnit"`
}

type ClusterSubscriptionConfigArgs

type ClusterSubscriptionConfigArgs struct {
	// Auto renew for prepaid, ’true’ or ‘false’ . Default value: false.
	AutoRenew pulumi.BoolPtrInput `pulumi:"autoRenew"`
	// If paymentType is Subscription, this should be specified. Supported value: 1、2、3、4、5、6、7、8、9、12、24、36、48.
	AutoRenewDuration pulumi.IntPtrInput `pulumi:"autoRenewDuration"`
	// If paymentType is Subscription, this should be specified. Supported value: Month or Year.
	AutoRenewDurationUnit pulumi.StringPtrInput `pulumi:"autoRenewDurationUnit"`
	// If paymentType is Subscription, this should be specified. Supported value: 1、2、3、4、5、6、7、8、9、12、24、36、48.
	PaymentDuration pulumi.IntInput `pulumi:"paymentDuration"`
	// If paymentType is Subscription, this should be specified. Supported value: Month or Year.
	PaymentDurationUnit pulumi.StringInput `pulumi:"paymentDurationUnit"`
}

func (ClusterSubscriptionConfigArgs) ElementType

func (ClusterSubscriptionConfigArgs) ToClusterSubscriptionConfigOutput

func (i ClusterSubscriptionConfigArgs) ToClusterSubscriptionConfigOutput() ClusterSubscriptionConfigOutput

func (ClusterSubscriptionConfigArgs) ToClusterSubscriptionConfigOutputWithContext

func (i ClusterSubscriptionConfigArgs) ToClusterSubscriptionConfigOutputWithContext(ctx context.Context) ClusterSubscriptionConfigOutput

func (ClusterSubscriptionConfigArgs) ToClusterSubscriptionConfigPtrOutput

func (i ClusterSubscriptionConfigArgs) ToClusterSubscriptionConfigPtrOutput() ClusterSubscriptionConfigPtrOutput

func (ClusterSubscriptionConfigArgs) ToClusterSubscriptionConfigPtrOutputWithContext

func (i ClusterSubscriptionConfigArgs) ToClusterSubscriptionConfigPtrOutputWithContext(ctx context.Context) ClusterSubscriptionConfigPtrOutput

type ClusterSubscriptionConfigInput

type ClusterSubscriptionConfigInput interface {
	pulumi.Input

	ToClusterSubscriptionConfigOutput() ClusterSubscriptionConfigOutput
	ToClusterSubscriptionConfigOutputWithContext(context.Context) ClusterSubscriptionConfigOutput
}

ClusterSubscriptionConfigInput is an input type that accepts ClusterSubscriptionConfigArgs and ClusterSubscriptionConfigOutput values. You can construct a concrete instance of `ClusterSubscriptionConfigInput` via:

ClusterSubscriptionConfigArgs{...}

type ClusterSubscriptionConfigOutput

type ClusterSubscriptionConfigOutput struct{ *pulumi.OutputState }

func (ClusterSubscriptionConfigOutput) AutoRenew

Auto renew for prepaid, ’true’ or ‘false’ . Default value: false.

func (ClusterSubscriptionConfigOutput) AutoRenewDuration

func (o ClusterSubscriptionConfigOutput) AutoRenewDuration() pulumi.IntPtrOutput

If paymentType is Subscription, this should be specified. Supported value: 1、2、3、4、5、6、7、8、9、12、24、36、48.

func (ClusterSubscriptionConfigOutput) AutoRenewDurationUnit

func (o ClusterSubscriptionConfigOutput) AutoRenewDurationUnit() pulumi.StringPtrOutput

If paymentType is Subscription, this should be specified. Supported value: Month or Year.

func (ClusterSubscriptionConfigOutput) ElementType

func (ClusterSubscriptionConfigOutput) PaymentDuration

func (o ClusterSubscriptionConfigOutput) PaymentDuration() pulumi.IntOutput

If paymentType is Subscription, this should be specified. Supported value: 1、2、3、4、5、6、7、8、9、12、24、36、48.

func (ClusterSubscriptionConfigOutput) PaymentDurationUnit

func (o ClusterSubscriptionConfigOutput) PaymentDurationUnit() pulumi.StringOutput

If paymentType is Subscription, this should be specified. Supported value: Month or Year.

func (ClusterSubscriptionConfigOutput) ToClusterSubscriptionConfigOutput

func (o ClusterSubscriptionConfigOutput) ToClusterSubscriptionConfigOutput() ClusterSubscriptionConfigOutput

func (ClusterSubscriptionConfigOutput) ToClusterSubscriptionConfigOutputWithContext

func (o ClusterSubscriptionConfigOutput) ToClusterSubscriptionConfigOutputWithContext(ctx context.Context) ClusterSubscriptionConfigOutput

func (ClusterSubscriptionConfigOutput) ToClusterSubscriptionConfigPtrOutput

func (o ClusterSubscriptionConfigOutput) ToClusterSubscriptionConfigPtrOutput() ClusterSubscriptionConfigPtrOutput

func (ClusterSubscriptionConfigOutput) ToClusterSubscriptionConfigPtrOutputWithContext

func (o ClusterSubscriptionConfigOutput) ToClusterSubscriptionConfigPtrOutputWithContext(ctx context.Context) ClusterSubscriptionConfigPtrOutput

type ClusterSubscriptionConfigPtrInput

type ClusterSubscriptionConfigPtrInput interface {
	pulumi.Input

	ToClusterSubscriptionConfigPtrOutput() ClusterSubscriptionConfigPtrOutput
	ToClusterSubscriptionConfigPtrOutputWithContext(context.Context) ClusterSubscriptionConfigPtrOutput
}

ClusterSubscriptionConfigPtrInput is an input type that accepts ClusterSubscriptionConfigArgs, ClusterSubscriptionConfigPtr and ClusterSubscriptionConfigPtrOutput values. You can construct a concrete instance of `ClusterSubscriptionConfigPtrInput` via:

        ClusterSubscriptionConfigArgs{...}

or:

        nil

type ClusterSubscriptionConfigPtrOutput

type ClusterSubscriptionConfigPtrOutput struct{ *pulumi.OutputState }

func (ClusterSubscriptionConfigPtrOutput) AutoRenew

Auto renew for prepaid, ’true’ or ‘false’ . Default value: false.

func (ClusterSubscriptionConfigPtrOutput) AutoRenewDuration

If paymentType is Subscription, this should be specified. Supported value: 1、2、3、4、5、6、7、8、9、12、24、36、48.

func (ClusterSubscriptionConfigPtrOutput) AutoRenewDurationUnit

func (o ClusterSubscriptionConfigPtrOutput) AutoRenewDurationUnit() pulumi.StringPtrOutput

If paymentType is Subscription, this should be specified. Supported value: Month or Year.

func (ClusterSubscriptionConfigPtrOutput) Elem

func (ClusterSubscriptionConfigPtrOutput) ElementType

func (ClusterSubscriptionConfigPtrOutput) PaymentDuration

If paymentType is Subscription, this should be specified. Supported value: 1、2、3、4、5、6、7、8、9、12、24、36、48.

func (ClusterSubscriptionConfigPtrOutput) PaymentDurationUnit

If paymentType is Subscription, this should be specified. Supported value: Month or Year.

func (ClusterSubscriptionConfigPtrOutput) ToClusterSubscriptionConfigPtrOutput

func (o ClusterSubscriptionConfigPtrOutput) ToClusterSubscriptionConfigPtrOutput() ClusterSubscriptionConfigPtrOutput

func (ClusterSubscriptionConfigPtrOutput) ToClusterSubscriptionConfigPtrOutputWithContext

func (o ClusterSubscriptionConfigPtrOutput) ToClusterSubscriptionConfigPtrOutputWithContext(ctx context.Context) ClusterSubscriptionConfigPtrOutput

type GetClustersArgs

type GetClustersArgs struct {
	// The name of the emr cluster.
	ClusterName *string `pulumi:"clusterName"`
	// The cluster states.
	ClusterStates []string `pulumi:"clusterStates"`
	// The cluster types.
	ClusterTypes []string `pulumi:"clusterTypes"`
	// A list of Cluster IDS.
	Ids []string `pulumi:"ids"`
	// The max results is used to list clusters for next page.
	MaxResults *int `pulumi:"maxResults"`
	// A regex string to filter results by Cluster name.
	NameRegex *string `pulumi:"nameRegex"`
	// The next token is used to list clusters for next page.
	NextToken *string `pulumi:"nextToken"`
	// File name where to save data source results (after running `pulumi preview`).
	OutputFile *string `pulumi:"outputFile"`
	// The cluster payment types.
	PaymentTypes []string `pulumi:"paymentTypes"`
	// The resource group id of the resource.
	ResourceGroupId *string `pulumi:"resourceGroupId"`
	// A mapping of tags to assign to the resource.
	Tags map[string]interface{} `pulumi:"tags"`
}

A collection of arguments for invoking getClusters.

type GetClustersCluster

type GetClustersCluster struct {
	// The first ID of the resource.
	ClusterId string `pulumi:"clusterId"`
	// The name of the emr cluster.
	ClusterName string `pulumi:"clusterName"`
	// The state of the emr cluster.
	ClusterState string `pulumi:"clusterState"`
	// The type of the emr cluster.
	ClusterType string `pulumi:"clusterType"`
	// The creation time of the resource.
	CreateTime string `pulumi:"createTime"`
	// The ecs default role belongs to this emr cluster.
	EmrDefaultRole string `pulumi:"emrDefaultRole"`
	// The end time of the resource.
	EndTime string `pulumi:"endTime"`
	// The expire time of the resource.
	ExpireTime string `pulumi:"expireTime"`
	// The payment type of the emr cluster.
	PaymentType string `pulumi:"paymentType"`
	// The ready time of the resource.
	ReadyTime string `pulumi:"readyTime"`
	// The release version of the resource.
	ReleaseVersion string `pulumi:"releaseVersion"`
	// The resource group id of the resource.
	ResourceGroupId string `pulumi:"resourceGroupId"`
	// The cluster state change reason.
	StateChangeReason map[string]interface{} `pulumi:"stateChangeReason"`
	// A mapping of tags to assign to the resource.
	Tags []GetClustersClusterTag `pulumi:"tags"`
}

type GetClustersClusterArgs

type GetClustersClusterArgs struct {
	// The first ID of the resource.
	ClusterId pulumi.StringInput `pulumi:"clusterId"`
	// The name of the emr cluster.
	ClusterName pulumi.StringInput `pulumi:"clusterName"`
	// The state of the emr cluster.
	ClusterState pulumi.StringInput `pulumi:"clusterState"`
	// The type of the emr cluster.
	ClusterType pulumi.StringInput `pulumi:"clusterType"`
	// The creation time of the resource.
	CreateTime pulumi.StringInput `pulumi:"createTime"`
	// The ecs default role belongs to this emr cluster.
	EmrDefaultRole pulumi.StringInput `pulumi:"emrDefaultRole"`
	// The end time of the resource.
	EndTime pulumi.StringInput `pulumi:"endTime"`
	// The expire time of the resource.
	ExpireTime pulumi.StringInput `pulumi:"expireTime"`
	// The payment type of the emr cluster.
	PaymentType pulumi.StringInput `pulumi:"paymentType"`
	// The ready time of the resource.
	ReadyTime pulumi.StringInput `pulumi:"readyTime"`
	// The release version of the resource.
	ReleaseVersion pulumi.StringInput `pulumi:"releaseVersion"`
	// The resource group id of the resource.
	ResourceGroupId pulumi.StringInput `pulumi:"resourceGroupId"`
	// The cluster state change reason.
	StateChangeReason pulumi.MapInput `pulumi:"stateChangeReason"`
	// A mapping of tags to assign to the resource.
	Tags GetClustersClusterTagArrayInput `pulumi:"tags"`
}

func (GetClustersClusterArgs) ElementType

func (GetClustersClusterArgs) ElementType() reflect.Type

func (GetClustersClusterArgs) ToGetClustersClusterOutput

func (i GetClustersClusterArgs) ToGetClustersClusterOutput() GetClustersClusterOutput

func (GetClustersClusterArgs) ToGetClustersClusterOutputWithContext

func (i GetClustersClusterArgs) ToGetClustersClusterOutputWithContext(ctx context.Context) GetClustersClusterOutput

type GetClustersClusterArray

type GetClustersClusterArray []GetClustersClusterInput

func (GetClustersClusterArray) ElementType

func (GetClustersClusterArray) ElementType() reflect.Type

func (GetClustersClusterArray) ToGetClustersClusterArrayOutput

func (i GetClustersClusterArray) ToGetClustersClusterArrayOutput() GetClustersClusterArrayOutput

func (GetClustersClusterArray) ToGetClustersClusterArrayOutputWithContext

func (i GetClustersClusterArray) ToGetClustersClusterArrayOutputWithContext(ctx context.Context) GetClustersClusterArrayOutput

type GetClustersClusterArrayInput

type GetClustersClusterArrayInput interface {
	pulumi.Input

	ToGetClustersClusterArrayOutput() GetClustersClusterArrayOutput
	ToGetClustersClusterArrayOutputWithContext(context.Context) GetClustersClusterArrayOutput
}

GetClustersClusterArrayInput is an input type that accepts GetClustersClusterArray and GetClustersClusterArrayOutput values. You can construct a concrete instance of `GetClustersClusterArrayInput` via:

GetClustersClusterArray{ GetClustersClusterArgs{...} }

type GetClustersClusterArrayOutput

type GetClustersClusterArrayOutput struct{ *pulumi.OutputState }

func (GetClustersClusterArrayOutput) ElementType

func (GetClustersClusterArrayOutput) Index

func (GetClustersClusterArrayOutput) ToGetClustersClusterArrayOutput

func (o GetClustersClusterArrayOutput) ToGetClustersClusterArrayOutput() GetClustersClusterArrayOutput

func (GetClustersClusterArrayOutput) ToGetClustersClusterArrayOutputWithContext

func (o GetClustersClusterArrayOutput) ToGetClustersClusterArrayOutputWithContext(ctx context.Context) GetClustersClusterArrayOutput

type GetClustersClusterInput

type GetClustersClusterInput interface {
	pulumi.Input

	ToGetClustersClusterOutput() GetClustersClusterOutput
	ToGetClustersClusterOutputWithContext(context.Context) GetClustersClusterOutput
}

GetClustersClusterInput is an input type that accepts GetClustersClusterArgs and GetClustersClusterOutput values. You can construct a concrete instance of `GetClustersClusterInput` via:

GetClustersClusterArgs{...}

type GetClustersClusterOutput

type GetClustersClusterOutput struct{ *pulumi.OutputState }

func (GetClustersClusterOutput) ClusterId

The first ID of the resource.

func (GetClustersClusterOutput) ClusterName

The name of the emr cluster.

func (GetClustersClusterOutput) ClusterState

func (o GetClustersClusterOutput) ClusterState() pulumi.StringOutput

The state of the emr cluster.

func (GetClustersClusterOutput) ClusterType

The type of the emr cluster.

func (GetClustersClusterOutput) CreateTime

The creation time of the resource.

func (GetClustersClusterOutput) ElementType

func (GetClustersClusterOutput) ElementType() reflect.Type

func (GetClustersClusterOutput) EmrDefaultRole

func (o GetClustersClusterOutput) EmrDefaultRole() pulumi.StringOutput

The ecs default role belongs to this emr cluster.

func (GetClustersClusterOutput) EndTime

The end time of the resource.

func (GetClustersClusterOutput) ExpireTime

The expire time of the resource.

func (GetClustersClusterOutput) PaymentType

The payment type of the emr cluster.

func (GetClustersClusterOutput) ReadyTime

The ready time of the resource.

func (GetClustersClusterOutput) ReleaseVersion

func (o GetClustersClusterOutput) ReleaseVersion() pulumi.StringOutput

The release version of the resource.

func (GetClustersClusterOutput) ResourceGroupId

func (o GetClustersClusterOutput) ResourceGroupId() pulumi.StringOutput

The resource group id of the resource.

func (GetClustersClusterOutput) StateChangeReason

func (o GetClustersClusterOutput) StateChangeReason() pulumi.MapOutput

The cluster state change reason.

func (GetClustersClusterOutput) Tags

A mapping of tags to assign to the resource.

func (GetClustersClusterOutput) ToGetClustersClusterOutput

func (o GetClustersClusterOutput) ToGetClustersClusterOutput() GetClustersClusterOutput

func (GetClustersClusterOutput) ToGetClustersClusterOutputWithContext

func (o GetClustersClusterOutput) ToGetClustersClusterOutputWithContext(ctx context.Context) GetClustersClusterOutput

type GetClustersClusterTag

type GetClustersClusterTag struct {
	Key   string `pulumi:"key"`
	Value string `pulumi:"value"`
}

type GetClustersClusterTagArgs

type GetClustersClusterTagArgs struct {
	Key   pulumi.StringInput `pulumi:"key"`
	Value pulumi.StringInput `pulumi:"value"`
}

func (GetClustersClusterTagArgs) ElementType

func (GetClustersClusterTagArgs) ElementType() reflect.Type

func (GetClustersClusterTagArgs) ToGetClustersClusterTagOutput

func (i GetClustersClusterTagArgs) ToGetClustersClusterTagOutput() GetClustersClusterTagOutput

func (GetClustersClusterTagArgs) ToGetClustersClusterTagOutputWithContext

func (i GetClustersClusterTagArgs) ToGetClustersClusterTagOutputWithContext(ctx context.Context) GetClustersClusterTagOutput

type GetClustersClusterTagArray

type GetClustersClusterTagArray []GetClustersClusterTagInput

func (GetClustersClusterTagArray) ElementType

func (GetClustersClusterTagArray) ElementType() reflect.Type

func (GetClustersClusterTagArray) ToGetClustersClusterTagArrayOutput

func (i GetClustersClusterTagArray) ToGetClustersClusterTagArrayOutput() GetClustersClusterTagArrayOutput

func (GetClustersClusterTagArray) ToGetClustersClusterTagArrayOutputWithContext

func (i GetClustersClusterTagArray) ToGetClustersClusterTagArrayOutputWithContext(ctx context.Context) GetClustersClusterTagArrayOutput

type GetClustersClusterTagArrayInput

type GetClustersClusterTagArrayInput interface {
	pulumi.Input

	ToGetClustersClusterTagArrayOutput() GetClustersClusterTagArrayOutput
	ToGetClustersClusterTagArrayOutputWithContext(context.Context) GetClustersClusterTagArrayOutput
}

GetClustersClusterTagArrayInput is an input type that accepts GetClustersClusterTagArray and GetClustersClusterTagArrayOutput values. You can construct a concrete instance of `GetClustersClusterTagArrayInput` via:

GetClustersClusterTagArray{ GetClustersClusterTagArgs{...} }

type GetClustersClusterTagArrayOutput

type GetClustersClusterTagArrayOutput struct{ *pulumi.OutputState }

func (GetClustersClusterTagArrayOutput) ElementType

func (GetClustersClusterTagArrayOutput) Index

func (GetClustersClusterTagArrayOutput) ToGetClustersClusterTagArrayOutput

func (o GetClustersClusterTagArrayOutput) ToGetClustersClusterTagArrayOutput() GetClustersClusterTagArrayOutput

func (GetClustersClusterTagArrayOutput) ToGetClustersClusterTagArrayOutputWithContext

func (o GetClustersClusterTagArrayOutput) ToGetClustersClusterTagArrayOutputWithContext(ctx context.Context) GetClustersClusterTagArrayOutput

type GetClustersClusterTagInput

type GetClustersClusterTagInput interface {
	pulumi.Input

	ToGetClustersClusterTagOutput() GetClustersClusterTagOutput
	ToGetClustersClusterTagOutputWithContext(context.Context) GetClustersClusterTagOutput
}

GetClustersClusterTagInput is an input type that accepts GetClustersClusterTagArgs and GetClustersClusterTagOutput values. You can construct a concrete instance of `GetClustersClusterTagInput` via:

GetClustersClusterTagArgs{...}

type GetClustersClusterTagOutput

type GetClustersClusterTagOutput struct{ *pulumi.OutputState }

func (GetClustersClusterTagOutput) ElementType

func (GetClustersClusterTagOutput) Key

func (GetClustersClusterTagOutput) ToGetClustersClusterTagOutput

func (o GetClustersClusterTagOutput) ToGetClustersClusterTagOutput() GetClustersClusterTagOutput

func (GetClustersClusterTagOutput) ToGetClustersClusterTagOutputWithContext

func (o GetClustersClusterTagOutput) ToGetClustersClusterTagOutputWithContext(ctx context.Context) GetClustersClusterTagOutput

func (GetClustersClusterTagOutput) Value

type GetClustersOutputArgs

type GetClustersOutputArgs struct {
	// The name of the emr cluster.
	ClusterName pulumi.StringPtrInput `pulumi:"clusterName"`
	// The cluster states.
	ClusterStates pulumi.StringArrayInput `pulumi:"clusterStates"`
	// The cluster types.
	ClusterTypes pulumi.StringArrayInput `pulumi:"clusterTypes"`
	// A list of Cluster IDS.
	Ids pulumi.StringArrayInput `pulumi:"ids"`
	// The max results is used to list clusters for next page.
	MaxResults pulumi.IntPtrInput `pulumi:"maxResults"`
	// A regex string to filter results by Cluster name.
	NameRegex pulumi.StringPtrInput `pulumi:"nameRegex"`
	// The next token is used to list clusters for next page.
	NextToken pulumi.StringPtrInput `pulumi:"nextToken"`
	// File name where to save data source results (after running `pulumi preview`).
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
	// The cluster payment types.
	PaymentTypes pulumi.StringArrayInput `pulumi:"paymentTypes"`
	// The resource group id of the resource.
	ResourceGroupId pulumi.StringPtrInput `pulumi:"resourceGroupId"`
	// A mapping of tags to assign to the resource.
	Tags pulumi.MapInput `pulumi:"tags"`
}

A collection of arguments for invoking getClusters.

func (GetClustersOutputArgs) ElementType

func (GetClustersOutputArgs) ElementType() reflect.Type

type GetClustersResult

type GetClustersResult struct {
	ClusterName   *string              `pulumi:"clusterName"`
	ClusterStates []string             `pulumi:"clusterStates"`
	ClusterTypes  []string             `pulumi:"clusterTypes"`
	Clusters      []GetClustersCluster `pulumi:"clusters"`
	// The provider-assigned unique ID for this managed resource.
	Id              string                 `pulumi:"id"`
	Ids             []string               `pulumi:"ids"`
	MaxResults      *int                   `pulumi:"maxResults"`
	NameRegex       *string                `pulumi:"nameRegex"`
	Names           []string               `pulumi:"names"`
	NextToken       *string                `pulumi:"nextToken"`
	OutputFile      *string                `pulumi:"outputFile"`
	PaymentTypes    []string               `pulumi:"paymentTypes"`
	ResourceGroupId *string                `pulumi:"resourceGroupId"`
	Tags            map[string]interface{} `pulumi:"tags"`
	TotalCount      int                    `pulumi:"totalCount"`
}

A collection of values returned by getClusters.

func GetClusters

func GetClusters(ctx *pulumi.Context, args *GetClustersArgs, opts ...pulumi.InvokeOption) (*GetClustersResult, error)

This data source provides the Emr Clusters of the current Alibaba Cloud user.

> **NOTE:** Available in v1.199.0+.

type GetClustersResultOutput

type GetClustersResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getClusters.

func (GetClustersResultOutput) ClusterName

func (GetClustersResultOutput) ClusterStates

func (GetClustersResultOutput) ClusterTypes

func (GetClustersResultOutput) Clusters

func (GetClustersResultOutput) ElementType

func (GetClustersResultOutput) ElementType() reflect.Type

func (GetClustersResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetClustersResultOutput) Ids

func (GetClustersResultOutput) MaxResults

func (GetClustersResultOutput) NameRegex

func (GetClustersResultOutput) Names

func (GetClustersResultOutput) NextToken

func (GetClustersResultOutput) OutputFile

func (GetClustersResultOutput) PaymentTypes

func (GetClustersResultOutput) ResourceGroupId

func (o GetClustersResultOutput) ResourceGroupId() pulumi.StringPtrOutput

func (GetClustersResultOutput) Tags

func (GetClustersResultOutput) ToGetClustersResultOutput

func (o GetClustersResultOutput) ToGetClustersResultOutput() GetClustersResultOutput

func (GetClustersResultOutput) ToGetClustersResultOutputWithContext

func (o GetClustersResultOutput) ToGetClustersResultOutputWithContext(ctx context.Context) GetClustersResultOutput

func (GetClustersResultOutput) TotalCount

func (o GetClustersResultOutput) TotalCount() pulumi.IntOutput

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL