Class Cluster
Provides a EMR Cluster resource. With this you can create, read, and release EMR Cluster.
NOTE: Available in 1.57.0+.
Inherited Members
Namespace: Pulumi.AliCloud.Emr
Assembly: Pulumi.AliCloud.dll
Syntax
public class Cluster : CustomResource
Constructors
View SourceCluster(String, ClusterArgs, CustomResourceOptions)
Create a Cluster resource with the given unique name, arguments, and options.
Declaration
public Cluster(string name, ClusterArgs args, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resource |
| ClusterArgs | args | The arguments used to populate this resource's properties |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Properties
View SourceBootstrapActions
Declaration
public Output<ImmutableArray<ClusterBootstrapAction>> BootstrapActions { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableArray<ClusterBootstrapAction>> |
ChargeType
Charge Type for this group of hosts: PostPaid or PrePaid. If this is not specified, charge type will follow global charge_type value.
Declaration
public Output<string> ChargeType { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
ClusterType
EMR Cluster Type, e.g. HADOOP, KAFKA, DRUID, GATEWAY etc. You can find all valid EMR cluster type in emr web console. Supported 'GATEWAY' available in 1.61.0+.
Declaration
public Output<string> ClusterType { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
DepositType
Cluster deposit type, HALF_MANAGED or FULL_MANAGED.
Declaration
public Output<string> DepositType { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
EasEnable
High security cluster (true) or not. Default value is false.
Declaration
public Output<bool?> EasEnable { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Nullable<System.Boolean>> |
EmrVer
EMR Version, e.g. EMR-3.22.0. You can find the all valid EMR Version in emr web console.
Declaration
public Output<string> EmrVer { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
HighAvailabilityEnable
High Available for HDFS and YARN. If this is set true, MASTER group must have two nodes.
Declaration
public Output<bool?> HighAvailabilityEnable { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Nullable<System.Boolean>> |
HostGroups
Groups of Host, You can specify MASTER as a group, CORE as a group (just like the above example).
Declaration
public Output<ImmutableArray<ClusterHostGroup>> HostGroups { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableArray<ClusterHostGroup>> |
IsOpenPublicIp
Declaration
public Output<bool?> IsOpenPublicIp { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Nullable<System.Boolean>> |
KeyPairName
Ssh key pair.
Declaration
public Output<string> KeyPairName { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
MasterPwd
Master ssh password.
Declaration
public Output<string> MasterPwd { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Name
bootstrap action name.
Declaration
public Output<string> Name { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
OptionSoftwareLists
Optional software list.
Declaration
public Output<ImmutableArray<string>> OptionSoftwareLists { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableArray<System.String>> |
RelatedClusterId
This specify the related cluster id, if this cluster is a Gateway.
Declaration
public Output<string> RelatedClusterId { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
SecurityGroupId
Security Group ID for Cluster, you can also specify this key for each host group.
Declaration
public Output<string> SecurityGroupId { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
SshEnable
If this is set true, we can ssh into cluster. Default value is false.
Declaration
public Output<bool?> SshEnable { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Nullable<System.Boolean>> |
Tags
A mapping of tags to assign to the resource.
Declaration
public Output<ImmutableDictionary<string, object>> Tags { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableDictionary<System.String, System.Object>> |
UseLocalMetadb
Use local metadb. Default is false.
Declaration
public Output<bool?> UseLocalMetadb { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Nullable<System.Boolean>> |
UserDefinedEmrEcsRole
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.
Declaration
public Output<string> UserDefinedEmrEcsRole { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
VswitchId
Global vswitch id, you can also specify it in host group.
Declaration
public Output<string> VswitchId { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
ZoneId
Zone ID, e.g. cn-huhehaote-a
Declaration
public Output<string> ZoneId { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Methods
View SourceGet(String, Input<String>, ClusterState, CustomResourceOptions)
Get an existing Cluster resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
Declaration
public static Cluster Get(string name, Input<string> id, ClusterState state = null, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resulting resource. |
| Input<System.String> | id | The unique provider ID of the resource to lookup. |
| ClusterState | state | Any extra arguments used during the lookup. |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Returns
| Type | Description |
|---|---|
| Cluster |