Show / Hide Table of Contents

Class Cluster

Provides a EMR Cluster resource. With this you can create, read, and release EMR Cluster.

NOTE: Available in 1.57.0+.

Inheritance
System.Object
Resource
CustomResource
Cluster
Inherited Members
CustomResource.Id
Resource.GetResourceType()
Resource.GetResourceName()
Resource.Urn
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.AliCloud.Emr
Assembly: Pulumi.AliCloud.dll
Syntax
public class Cluster : CustomResource

Constructors

View Source

Cluster(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 Source

BootstrapActions

Declaration
public Output<ImmutableArray<ClusterBootstrapAction>> BootstrapActions { get; }
Property Value
Type Description
Output<System.Collections.Immutable.ImmutableArray<ClusterBootstrapAction>>
View Source

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>
View Source

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>
View Source

DepositType

Cluster deposit type, HALF_MANAGED or FULL_MANAGED.

Declaration
public Output<string> DepositType { get; }
Property Value
Type Description
Output<System.String>
View Source

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>>
View Source

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>
View Source

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>>
View Source

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>>
View Source

IsOpenPublicIp

Declaration
public Output<bool?> IsOpenPublicIp { get; }
Property Value
Type Description
Output<System.Nullable<System.Boolean>>
View Source

KeyPairName

Ssh key pair.

Declaration
public Output<string> KeyPairName { get; }
Property Value
Type Description
Output<System.String>
View Source

MasterPwd

Master ssh password.

Declaration
public Output<string> MasterPwd { get; }
Property Value
Type Description
Output<System.String>
View Source

Name

bootstrap action name.

Declaration
public Output<string> Name { get; }
Property Value
Type Description
Output<System.String>
View Source

OptionSoftwareLists

Optional software list.

Declaration
public Output<ImmutableArray<string>> OptionSoftwareLists { get; }
Property Value
Type Description
Output<System.Collections.Immutable.ImmutableArray<System.String>>
View Source

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>
View Source

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>
View Source

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>>
View Source

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>>
View Source

UseLocalMetadb

Use local metadb. Default is false.

Declaration
public Output<bool?> UseLocalMetadb { get; }
Property Value
Type Description
Output<System.Nullable<System.Boolean>>
View Source

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>
View Source

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>
View Source

ZoneId

Zone ID, e.g. cn-huhehaote-a

Declaration
public Output<string> ZoneId { get; }
Property Value
Type Description
Output<System.String>

Methods

View Source

Get(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
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.