Documentation
¶
Index ¶
- type Cluster
- type ClusterApplicationConfig
- type ClusterApplicationConfigArgs
- func (ClusterApplicationConfigArgs) ElementType() reflect.Type
- func (i ClusterApplicationConfigArgs) ToClusterApplicationConfigOutput() ClusterApplicationConfigOutput
- func (i ClusterApplicationConfigArgs) ToClusterApplicationConfigOutputWithContext(ctx context.Context) ClusterApplicationConfigOutput
- type ClusterApplicationConfigArray
- func (ClusterApplicationConfigArray) ElementType() reflect.Type
- func (i ClusterApplicationConfigArray) ToClusterApplicationConfigArrayOutput() ClusterApplicationConfigArrayOutput
- func (i ClusterApplicationConfigArray) ToClusterApplicationConfigArrayOutputWithContext(ctx context.Context) ClusterApplicationConfigArrayOutput
- type ClusterApplicationConfigArrayInput
- type ClusterApplicationConfigArrayOutput
- func (ClusterApplicationConfigArrayOutput) ElementType() reflect.Type
- func (o ClusterApplicationConfigArrayOutput) Index(i pulumi.IntInput) ClusterApplicationConfigOutput
- func (o ClusterApplicationConfigArrayOutput) ToClusterApplicationConfigArrayOutput() ClusterApplicationConfigArrayOutput
- func (o ClusterApplicationConfigArrayOutput) ToClusterApplicationConfigArrayOutputWithContext(ctx context.Context) ClusterApplicationConfigArrayOutput
- type ClusterApplicationConfigInput
- type ClusterApplicationConfigOutput
- func (o ClusterApplicationConfigOutput) ApplicationName() pulumi.StringOutput
- func (o ClusterApplicationConfigOutput) ConfigDescription() pulumi.StringPtrOutput
- func (o ClusterApplicationConfigOutput) ConfigFileName() pulumi.StringOutput
- func (o ClusterApplicationConfigOutput) ConfigItemKey() pulumi.StringOutput
- func (o ClusterApplicationConfigOutput) ConfigItemValue() pulumi.StringOutput
- func (o ClusterApplicationConfigOutput) ConfigScope() pulumi.StringPtrOutput
- func (ClusterApplicationConfigOutput) ElementType() reflect.Type
- func (o ClusterApplicationConfigOutput) NodeGroupId() pulumi.StringPtrOutput
- func (o ClusterApplicationConfigOutput) NodeGroupName() pulumi.StringPtrOutput
- func (o ClusterApplicationConfigOutput) ToClusterApplicationConfigOutput() ClusterApplicationConfigOutput
- func (o ClusterApplicationConfigOutput) ToClusterApplicationConfigOutputWithContext(ctx context.Context) ClusterApplicationConfigOutput
- type ClusterArgs
- type ClusterArray
- type ClusterArrayInput
- type ClusterArrayOutput
- type ClusterBootstrapScript
- type ClusterBootstrapScriptArgs
- type ClusterBootstrapScriptArray
- func (ClusterBootstrapScriptArray) ElementType() reflect.Type
- func (i ClusterBootstrapScriptArray) ToClusterBootstrapScriptArrayOutput() ClusterBootstrapScriptArrayOutput
- func (i ClusterBootstrapScriptArray) ToClusterBootstrapScriptArrayOutputWithContext(ctx context.Context) ClusterBootstrapScriptArrayOutput
- type ClusterBootstrapScriptArrayInput
- type ClusterBootstrapScriptArrayOutput
- func (ClusterBootstrapScriptArrayOutput) ElementType() reflect.Type
- func (o ClusterBootstrapScriptArrayOutput) Index(i pulumi.IntInput) ClusterBootstrapScriptOutput
- func (o ClusterBootstrapScriptArrayOutput) ToClusterBootstrapScriptArrayOutput() ClusterBootstrapScriptArrayOutput
- func (o ClusterBootstrapScriptArrayOutput) ToClusterBootstrapScriptArrayOutputWithContext(ctx context.Context) ClusterBootstrapScriptArrayOutput
- type ClusterBootstrapScriptInput
- type ClusterBootstrapScriptNodeSelector
- type ClusterBootstrapScriptNodeSelectorArgs
- func (ClusterBootstrapScriptNodeSelectorArgs) ElementType() reflect.Type
- func (i ClusterBootstrapScriptNodeSelectorArgs) ToClusterBootstrapScriptNodeSelectorOutput() ClusterBootstrapScriptNodeSelectorOutput
- func (i ClusterBootstrapScriptNodeSelectorArgs) ToClusterBootstrapScriptNodeSelectorOutputWithContext(ctx context.Context) ClusterBootstrapScriptNodeSelectorOutput
- type ClusterBootstrapScriptNodeSelectorInput
- type ClusterBootstrapScriptNodeSelectorOutput
- func (ClusterBootstrapScriptNodeSelectorOutput) ElementType() reflect.Type
- func (o ClusterBootstrapScriptNodeSelectorOutput) NodeGroupId() pulumi.StringPtrOutput
- func (o ClusterBootstrapScriptNodeSelectorOutput) NodeGroupName() pulumi.StringPtrOutput
- func (o ClusterBootstrapScriptNodeSelectorOutput) NodeGroupTypes() pulumi.StringArrayOutput
- func (o ClusterBootstrapScriptNodeSelectorOutput) NodeNames() pulumi.StringArrayOutput
- func (o ClusterBootstrapScriptNodeSelectorOutput) NodeSelectType() pulumi.StringOutput
- func (o ClusterBootstrapScriptNodeSelectorOutput) ToClusterBootstrapScriptNodeSelectorOutput() ClusterBootstrapScriptNodeSelectorOutput
- func (o ClusterBootstrapScriptNodeSelectorOutput) ToClusterBootstrapScriptNodeSelectorOutputWithContext(ctx context.Context) ClusterBootstrapScriptNodeSelectorOutput
- type ClusterBootstrapScriptOutput
- func (ClusterBootstrapScriptOutput) ElementType() reflect.Type
- func (o ClusterBootstrapScriptOutput) ExecutionFailStrategy() pulumi.StringOutput
- func (o ClusterBootstrapScriptOutput) ExecutionMoment() pulumi.StringOutput
- func (o ClusterBootstrapScriptOutput) NodeSelector() ClusterBootstrapScriptNodeSelectorOutput
- func (o ClusterBootstrapScriptOutput) Priority() pulumi.IntPtrOutput
- func (o ClusterBootstrapScriptOutput) ScriptArgs() pulumi.StringOutput
- func (o ClusterBootstrapScriptOutput) ScriptName() pulumi.StringOutput
- func (o ClusterBootstrapScriptOutput) ScriptPath() pulumi.StringOutput
- func (o ClusterBootstrapScriptOutput) ToClusterBootstrapScriptOutput() ClusterBootstrapScriptOutput
- func (o ClusterBootstrapScriptOutput) ToClusterBootstrapScriptOutputWithContext(ctx context.Context) ClusterBootstrapScriptOutput
- type ClusterInput
- type ClusterMap
- type ClusterMapInput
- type ClusterMapOutput
- type ClusterNodeAttribute
- type ClusterNodeAttributeArgs
- type ClusterNodeAttributeArray
- type ClusterNodeAttributeArrayInput
- type ClusterNodeAttributeArrayOutput
- func (ClusterNodeAttributeArrayOutput) ElementType() reflect.Type
- func (o ClusterNodeAttributeArrayOutput) Index(i pulumi.IntInput) ClusterNodeAttributeOutput
- func (o ClusterNodeAttributeArrayOutput) ToClusterNodeAttributeArrayOutput() ClusterNodeAttributeArrayOutput
- func (o ClusterNodeAttributeArrayOutput) ToClusterNodeAttributeArrayOutputWithContext(ctx context.Context) ClusterNodeAttributeArrayOutput
- type ClusterNodeAttributeInput
- type ClusterNodeAttributeOutput
- func (o ClusterNodeAttributeOutput) DataDiskEncrypted() pulumi.BoolPtrOutput
- func (o ClusterNodeAttributeOutput) DataDiskKmsKeyId() pulumi.StringPtrOutput
- func (ClusterNodeAttributeOutput) ElementType() reflect.Type
- func (o ClusterNodeAttributeOutput) KeyPairName() pulumi.StringOutput
- func (o ClusterNodeAttributeOutput) RamRole() pulumi.StringOutput
- func (o ClusterNodeAttributeOutput) SecurityGroupId() pulumi.StringOutput
- func (o ClusterNodeAttributeOutput) ToClusterNodeAttributeOutput() ClusterNodeAttributeOutput
- func (o ClusterNodeAttributeOutput) ToClusterNodeAttributeOutputWithContext(ctx context.Context) ClusterNodeAttributeOutput
- func (o ClusterNodeAttributeOutput) VpcId() pulumi.StringOutput
- func (o ClusterNodeAttributeOutput) ZoneId() pulumi.StringOutput
- type ClusterNodeGroup
- type ClusterNodeGroupArgs
- type ClusterNodeGroupArray
- type ClusterNodeGroupArrayInput
- type ClusterNodeGroupArrayOutput
- func (ClusterNodeGroupArrayOutput) ElementType() reflect.Type
- func (o ClusterNodeGroupArrayOutput) Index(i pulumi.IntInput) ClusterNodeGroupOutput
- func (o ClusterNodeGroupArrayOutput) ToClusterNodeGroupArrayOutput() ClusterNodeGroupArrayOutput
- func (o ClusterNodeGroupArrayOutput) ToClusterNodeGroupArrayOutputWithContext(ctx context.Context) ClusterNodeGroupArrayOutput
- type ClusterNodeGroupCostOptimizedConfig
- type ClusterNodeGroupCostOptimizedConfigArgs
- func (ClusterNodeGroupCostOptimizedConfigArgs) ElementType() reflect.Type
- func (i ClusterNodeGroupCostOptimizedConfigArgs) ToClusterNodeGroupCostOptimizedConfigOutput() ClusterNodeGroupCostOptimizedConfigOutput
- func (i ClusterNodeGroupCostOptimizedConfigArgs) ToClusterNodeGroupCostOptimizedConfigOutputWithContext(ctx context.Context) ClusterNodeGroupCostOptimizedConfigOutput
- func (i ClusterNodeGroupCostOptimizedConfigArgs) ToClusterNodeGroupCostOptimizedConfigPtrOutput() ClusterNodeGroupCostOptimizedConfigPtrOutput
- func (i ClusterNodeGroupCostOptimizedConfigArgs) ToClusterNodeGroupCostOptimizedConfigPtrOutputWithContext(ctx context.Context) ClusterNodeGroupCostOptimizedConfigPtrOutput
- type ClusterNodeGroupCostOptimizedConfigInput
- type ClusterNodeGroupCostOptimizedConfigOutput
- func (ClusterNodeGroupCostOptimizedConfigOutput) ElementType() reflect.Type
- func (o ClusterNodeGroupCostOptimizedConfigOutput) OnDemandBaseCapacity() pulumi.IntOutput
- func (o ClusterNodeGroupCostOptimizedConfigOutput) OnDemandPercentageAboveBaseCapacity() pulumi.IntOutput
- func (o ClusterNodeGroupCostOptimizedConfigOutput) SpotInstancePools() pulumi.IntOutput
- func (o ClusterNodeGroupCostOptimizedConfigOutput) ToClusterNodeGroupCostOptimizedConfigOutput() ClusterNodeGroupCostOptimizedConfigOutput
- func (o ClusterNodeGroupCostOptimizedConfigOutput) ToClusterNodeGroupCostOptimizedConfigOutputWithContext(ctx context.Context) ClusterNodeGroupCostOptimizedConfigOutput
- func (o ClusterNodeGroupCostOptimizedConfigOutput) ToClusterNodeGroupCostOptimizedConfigPtrOutput() ClusterNodeGroupCostOptimizedConfigPtrOutput
- func (o ClusterNodeGroupCostOptimizedConfigOutput) ToClusterNodeGroupCostOptimizedConfigPtrOutputWithContext(ctx context.Context) ClusterNodeGroupCostOptimizedConfigPtrOutput
- type ClusterNodeGroupCostOptimizedConfigPtrInput
- type ClusterNodeGroupCostOptimizedConfigPtrOutput
- func (o ClusterNodeGroupCostOptimizedConfigPtrOutput) Elem() ClusterNodeGroupCostOptimizedConfigOutput
- func (ClusterNodeGroupCostOptimizedConfigPtrOutput) ElementType() reflect.Type
- func (o ClusterNodeGroupCostOptimizedConfigPtrOutput) OnDemandBaseCapacity() pulumi.IntPtrOutput
- func (o ClusterNodeGroupCostOptimizedConfigPtrOutput) OnDemandPercentageAboveBaseCapacity() pulumi.IntPtrOutput
- func (o ClusterNodeGroupCostOptimizedConfigPtrOutput) SpotInstancePools() pulumi.IntPtrOutput
- func (o ClusterNodeGroupCostOptimizedConfigPtrOutput) ToClusterNodeGroupCostOptimizedConfigPtrOutput() ClusterNodeGroupCostOptimizedConfigPtrOutput
- func (o ClusterNodeGroupCostOptimizedConfigPtrOutput) ToClusterNodeGroupCostOptimizedConfigPtrOutputWithContext(ctx context.Context) ClusterNodeGroupCostOptimizedConfigPtrOutput
- type ClusterNodeGroupDataDisk
- type ClusterNodeGroupDataDiskArgs
- func (ClusterNodeGroupDataDiskArgs) ElementType() reflect.Type
- func (i ClusterNodeGroupDataDiskArgs) ToClusterNodeGroupDataDiskOutput() ClusterNodeGroupDataDiskOutput
- func (i ClusterNodeGroupDataDiskArgs) ToClusterNodeGroupDataDiskOutputWithContext(ctx context.Context) ClusterNodeGroupDataDiskOutput
- type ClusterNodeGroupDataDiskArray
- func (ClusterNodeGroupDataDiskArray) ElementType() reflect.Type
- func (i ClusterNodeGroupDataDiskArray) ToClusterNodeGroupDataDiskArrayOutput() ClusterNodeGroupDataDiskArrayOutput
- func (i ClusterNodeGroupDataDiskArray) ToClusterNodeGroupDataDiskArrayOutputWithContext(ctx context.Context) ClusterNodeGroupDataDiskArrayOutput
- type ClusterNodeGroupDataDiskArrayInput
- type ClusterNodeGroupDataDiskArrayOutput
- func (ClusterNodeGroupDataDiskArrayOutput) ElementType() reflect.Type
- func (o ClusterNodeGroupDataDiskArrayOutput) Index(i pulumi.IntInput) ClusterNodeGroupDataDiskOutput
- func (o ClusterNodeGroupDataDiskArrayOutput) ToClusterNodeGroupDataDiskArrayOutput() ClusterNodeGroupDataDiskArrayOutput
- func (o ClusterNodeGroupDataDiskArrayOutput) ToClusterNodeGroupDataDiskArrayOutputWithContext(ctx context.Context) ClusterNodeGroupDataDiskArrayOutput
- type ClusterNodeGroupDataDiskInput
- type ClusterNodeGroupDataDiskOutput
- func (o ClusterNodeGroupDataDiskOutput) Category() pulumi.StringOutput
- func (o ClusterNodeGroupDataDiskOutput) Count() pulumi.IntPtrOutput
- func (ClusterNodeGroupDataDiskOutput) ElementType() reflect.Type
- func (o ClusterNodeGroupDataDiskOutput) PerformanceLevel() pulumi.StringPtrOutput
- func (o ClusterNodeGroupDataDiskOutput) Size() pulumi.IntOutput
- func (o ClusterNodeGroupDataDiskOutput) ToClusterNodeGroupDataDiskOutput() ClusterNodeGroupDataDiskOutput
- func (o ClusterNodeGroupDataDiskOutput) ToClusterNodeGroupDataDiskOutputWithContext(ctx context.Context) ClusterNodeGroupDataDiskOutput
- type ClusterNodeGroupInput
- type ClusterNodeGroupOutput
- func (o ClusterNodeGroupOutput) AdditionalSecurityGroupIds() pulumi.StringArrayOutput
- func (o ClusterNodeGroupOutput) CostOptimizedConfig() ClusterNodeGroupCostOptimizedConfigPtrOutput
- func (o ClusterNodeGroupOutput) DataDisks() ClusterNodeGroupDataDiskArrayOutput
- func (ClusterNodeGroupOutput) ElementType() reflect.Type
- func (o ClusterNodeGroupOutput) GracefulShutdown() pulumi.BoolPtrOutput
- func (o ClusterNodeGroupOutput) InstanceTypes() pulumi.StringArrayOutput
- func (o ClusterNodeGroupOutput) NodeCount() pulumi.IntOutput
- func (o ClusterNodeGroupOutput) NodeGroupName() pulumi.StringOutput
- func (o ClusterNodeGroupOutput) NodeGroupType() pulumi.StringOutput
- func (o ClusterNodeGroupOutput) PaymentType() pulumi.StringPtrOutput
- func (o ClusterNodeGroupOutput) SpotBidPrices() ClusterNodeGroupSpotBidPriceArrayOutput
- func (o ClusterNodeGroupOutput) SpotInstanceRemedy() pulumi.BoolPtrOutput
- func (o ClusterNodeGroupOutput) SubscriptionConfig() ClusterNodeGroupSubscriptionConfigPtrOutput
- func (o ClusterNodeGroupOutput) SystemDisk() ClusterNodeGroupSystemDiskOutput
- func (o ClusterNodeGroupOutput) ToClusterNodeGroupOutput() ClusterNodeGroupOutput
- func (o ClusterNodeGroupOutput) ToClusterNodeGroupOutputWithContext(ctx context.Context) ClusterNodeGroupOutput
- func (o ClusterNodeGroupOutput) VswitchIds() pulumi.StringArrayOutput
- func (o ClusterNodeGroupOutput) WithPublicIp() pulumi.BoolPtrOutput
- type ClusterNodeGroupSpotBidPrice
- type ClusterNodeGroupSpotBidPriceArgs
- func (ClusterNodeGroupSpotBidPriceArgs) ElementType() reflect.Type
- func (i ClusterNodeGroupSpotBidPriceArgs) ToClusterNodeGroupSpotBidPriceOutput() ClusterNodeGroupSpotBidPriceOutput
- func (i ClusterNodeGroupSpotBidPriceArgs) ToClusterNodeGroupSpotBidPriceOutputWithContext(ctx context.Context) ClusterNodeGroupSpotBidPriceOutput
- type ClusterNodeGroupSpotBidPriceArray
- func (ClusterNodeGroupSpotBidPriceArray) ElementType() reflect.Type
- func (i ClusterNodeGroupSpotBidPriceArray) ToClusterNodeGroupSpotBidPriceArrayOutput() ClusterNodeGroupSpotBidPriceArrayOutput
- func (i ClusterNodeGroupSpotBidPriceArray) ToClusterNodeGroupSpotBidPriceArrayOutputWithContext(ctx context.Context) ClusterNodeGroupSpotBidPriceArrayOutput
- type ClusterNodeGroupSpotBidPriceArrayInput
- type ClusterNodeGroupSpotBidPriceArrayOutput
- func (ClusterNodeGroupSpotBidPriceArrayOutput) ElementType() reflect.Type
- func (o ClusterNodeGroupSpotBidPriceArrayOutput) Index(i pulumi.IntInput) ClusterNodeGroupSpotBidPriceOutput
- func (o ClusterNodeGroupSpotBidPriceArrayOutput) ToClusterNodeGroupSpotBidPriceArrayOutput() ClusterNodeGroupSpotBidPriceArrayOutput
- func (o ClusterNodeGroupSpotBidPriceArrayOutput) ToClusterNodeGroupSpotBidPriceArrayOutputWithContext(ctx context.Context) ClusterNodeGroupSpotBidPriceArrayOutput
- type ClusterNodeGroupSpotBidPriceInput
- type ClusterNodeGroupSpotBidPriceOutput
- func (o ClusterNodeGroupSpotBidPriceOutput) BidPrice() pulumi.IntOutput
- func (ClusterNodeGroupSpotBidPriceOutput) ElementType() reflect.Type
- func (o ClusterNodeGroupSpotBidPriceOutput) InstanceType() pulumi.StringOutput
- func (o ClusterNodeGroupSpotBidPriceOutput) ToClusterNodeGroupSpotBidPriceOutput() ClusterNodeGroupSpotBidPriceOutput
- func (o ClusterNodeGroupSpotBidPriceOutput) ToClusterNodeGroupSpotBidPriceOutputWithContext(ctx context.Context) ClusterNodeGroupSpotBidPriceOutput
- type ClusterNodeGroupSubscriptionConfig
- type ClusterNodeGroupSubscriptionConfigArgs
- func (ClusterNodeGroupSubscriptionConfigArgs) ElementType() reflect.Type
- func (i ClusterNodeGroupSubscriptionConfigArgs) ToClusterNodeGroupSubscriptionConfigOutput() ClusterNodeGroupSubscriptionConfigOutput
- func (i ClusterNodeGroupSubscriptionConfigArgs) ToClusterNodeGroupSubscriptionConfigOutputWithContext(ctx context.Context) ClusterNodeGroupSubscriptionConfigOutput
- func (i ClusterNodeGroupSubscriptionConfigArgs) ToClusterNodeGroupSubscriptionConfigPtrOutput() ClusterNodeGroupSubscriptionConfigPtrOutput
- func (i ClusterNodeGroupSubscriptionConfigArgs) ToClusterNodeGroupSubscriptionConfigPtrOutputWithContext(ctx context.Context) ClusterNodeGroupSubscriptionConfigPtrOutput
- type ClusterNodeGroupSubscriptionConfigInput
- type ClusterNodeGroupSubscriptionConfigOutput
- func (o ClusterNodeGroupSubscriptionConfigOutput) AutoRenew() pulumi.BoolPtrOutput
- func (o ClusterNodeGroupSubscriptionConfigOutput) AutoRenewDuration() pulumi.IntPtrOutput
- func (o ClusterNodeGroupSubscriptionConfigOutput) AutoRenewDurationUnit() pulumi.StringPtrOutput
- func (ClusterNodeGroupSubscriptionConfigOutput) ElementType() reflect.Type
- func (o ClusterNodeGroupSubscriptionConfigOutput) PaymentDuration() pulumi.IntOutput
- func (o ClusterNodeGroupSubscriptionConfigOutput) PaymentDurationUnit() pulumi.StringOutput
- func (o ClusterNodeGroupSubscriptionConfigOutput) ToClusterNodeGroupSubscriptionConfigOutput() ClusterNodeGroupSubscriptionConfigOutput
- func (o ClusterNodeGroupSubscriptionConfigOutput) ToClusterNodeGroupSubscriptionConfigOutputWithContext(ctx context.Context) ClusterNodeGroupSubscriptionConfigOutput
- func (o ClusterNodeGroupSubscriptionConfigOutput) ToClusterNodeGroupSubscriptionConfigPtrOutput() ClusterNodeGroupSubscriptionConfigPtrOutput
- func (o ClusterNodeGroupSubscriptionConfigOutput) ToClusterNodeGroupSubscriptionConfigPtrOutputWithContext(ctx context.Context) ClusterNodeGroupSubscriptionConfigPtrOutput
- type ClusterNodeGroupSubscriptionConfigPtrInput
- type ClusterNodeGroupSubscriptionConfigPtrOutput
- func (o ClusterNodeGroupSubscriptionConfigPtrOutput) AutoRenew() pulumi.BoolPtrOutput
- func (o ClusterNodeGroupSubscriptionConfigPtrOutput) AutoRenewDuration() pulumi.IntPtrOutput
- func (o ClusterNodeGroupSubscriptionConfigPtrOutput) AutoRenewDurationUnit() pulumi.StringPtrOutput
- func (o ClusterNodeGroupSubscriptionConfigPtrOutput) Elem() ClusterNodeGroupSubscriptionConfigOutput
- func (ClusterNodeGroupSubscriptionConfigPtrOutput) ElementType() reflect.Type
- func (o ClusterNodeGroupSubscriptionConfigPtrOutput) PaymentDuration() pulumi.IntPtrOutput
- func (o ClusterNodeGroupSubscriptionConfigPtrOutput) PaymentDurationUnit() pulumi.StringPtrOutput
- func (o ClusterNodeGroupSubscriptionConfigPtrOutput) ToClusterNodeGroupSubscriptionConfigPtrOutput() ClusterNodeGroupSubscriptionConfigPtrOutput
- func (o ClusterNodeGroupSubscriptionConfigPtrOutput) ToClusterNodeGroupSubscriptionConfigPtrOutputWithContext(ctx context.Context) ClusterNodeGroupSubscriptionConfigPtrOutput
- type ClusterNodeGroupSystemDisk
- type ClusterNodeGroupSystemDiskArgs
- func (ClusterNodeGroupSystemDiskArgs) ElementType() reflect.Type
- func (i ClusterNodeGroupSystemDiskArgs) ToClusterNodeGroupSystemDiskOutput() ClusterNodeGroupSystemDiskOutput
- func (i ClusterNodeGroupSystemDiskArgs) ToClusterNodeGroupSystemDiskOutputWithContext(ctx context.Context) ClusterNodeGroupSystemDiskOutput
- type ClusterNodeGroupSystemDiskInput
- type ClusterNodeGroupSystemDiskOutput
- func (o ClusterNodeGroupSystemDiskOutput) Category() pulumi.StringOutput
- func (o ClusterNodeGroupSystemDiskOutput) Count() pulumi.IntPtrOutput
- func (ClusterNodeGroupSystemDiskOutput) ElementType() reflect.Type
- func (o ClusterNodeGroupSystemDiskOutput) PerformanceLevel() pulumi.StringPtrOutput
- func (o ClusterNodeGroupSystemDiskOutput) Size() pulumi.IntOutput
- func (o ClusterNodeGroupSystemDiskOutput) ToClusterNodeGroupSystemDiskOutput() ClusterNodeGroupSystemDiskOutput
- func (o ClusterNodeGroupSystemDiskOutput) ToClusterNodeGroupSystemDiskOutputWithContext(ctx context.Context) ClusterNodeGroupSystemDiskOutput
- type ClusterOutput
- func (o ClusterOutput) ApplicationConfigs() ClusterApplicationConfigArrayOutput
- func (o ClusterOutput) Applications() pulumi.StringArrayOutput
- func (o ClusterOutput) BootstrapScripts() ClusterBootstrapScriptArrayOutput
- func (o ClusterOutput) ClusterName() pulumi.StringOutput
- func (o ClusterOutput) ClusterType() pulumi.StringOutput
- func (o ClusterOutput) DeployMode() pulumi.StringOutput
- func (ClusterOutput) ElementType() reflect.Type
- func (o ClusterOutput) NodeAttributes() ClusterNodeAttributeArrayOutput
- func (o ClusterOutput) NodeGroups() ClusterNodeGroupArrayOutput
- func (o ClusterOutput) PaymentType() pulumi.StringOutput
- func (o ClusterOutput) ReleaseVersion() pulumi.StringOutput
- func (o ClusterOutput) ResourceGroupId() pulumi.StringOutput
- func (o ClusterOutput) SecurityMode() pulumi.StringOutput
- func (o ClusterOutput) SubscriptionConfig() ClusterSubscriptionConfigPtrOutput
- func (o ClusterOutput) Tags() pulumi.MapOutput
- func (o ClusterOutput) ToClusterOutput() ClusterOutput
- func (o ClusterOutput) ToClusterOutputWithContext(ctx context.Context) ClusterOutput
- type ClusterState
- type ClusterSubscriptionConfig
- type ClusterSubscriptionConfigArgs
- func (ClusterSubscriptionConfigArgs) ElementType() reflect.Type
- func (i ClusterSubscriptionConfigArgs) ToClusterSubscriptionConfigOutput() ClusterSubscriptionConfigOutput
- func (i ClusterSubscriptionConfigArgs) ToClusterSubscriptionConfigOutputWithContext(ctx context.Context) ClusterSubscriptionConfigOutput
- func (i ClusterSubscriptionConfigArgs) ToClusterSubscriptionConfigPtrOutput() ClusterSubscriptionConfigPtrOutput
- func (i ClusterSubscriptionConfigArgs) ToClusterSubscriptionConfigPtrOutputWithContext(ctx context.Context) ClusterSubscriptionConfigPtrOutput
- type ClusterSubscriptionConfigInput
- type ClusterSubscriptionConfigOutput
- func (o ClusterSubscriptionConfigOutput) AutoRenew() pulumi.BoolPtrOutput
- func (o ClusterSubscriptionConfigOutput) AutoRenewDuration() pulumi.IntPtrOutput
- func (o ClusterSubscriptionConfigOutput) AutoRenewDurationUnit() pulumi.StringPtrOutput
- func (ClusterSubscriptionConfigOutput) ElementType() reflect.Type
- func (o ClusterSubscriptionConfigOutput) PaymentDuration() pulumi.IntOutput
- func (o ClusterSubscriptionConfigOutput) PaymentDurationUnit() pulumi.StringOutput
- func (o ClusterSubscriptionConfigOutput) ToClusterSubscriptionConfigOutput() ClusterSubscriptionConfigOutput
- func (o ClusterSubscriptionConfigOutput) ToClusterSubscriptionConfigOutputWithContext(ctx context.Context) ClusterSubscriptionConfigOutput
- func (o ClusterSubscriptionConfigOutput) ToClusterSubscriptionConfigPtrOutput() ClusterSubscriptionConfigPtrOutput
- func (o ClusterSubscriptionConfigOutput) ToClusterSubscriptionConfigPtrOutputWithContext(ctx context.Context) ClusterSubscriptionConfigPtrOutput
- type ClusterSubscriptionConfigPtrInput
- type ClusterSubscriptionConfigPtrOutput
- func (o ClusterSubscriptionConfigPtrOutput) AutoRenew() pulumi.BoolPtrOutput
- func (o ClusterSubscriptionConfigPtrOutput) AutoRenewDuration() pulumi.IntPtrOutput
- func (o ClusterSubscriptionConfigPtrOutput) AutoRenewDurationUnit() pulumi.StringPtrOutput
- func (o ClusterSubscriptionConfigPtrOutput) Elem() ClusterSubscriptionConfigOutput
- func (ClusterSubscriptionConfigPtrOutput) ElementType() reflect.Type
- func (o ClusterSubscriptionConfigPtrOutput) PaymentDuration() pulumi.IntPtrOutput
- func (o ClusterSubscriptionConfigPtrOutput) PaymentDurationUnit() pulumi.StringPtrOutput
- func (o ClusterSubscriptionConfigPtrOutput) ToClusterSubscriptionConfigPtrOutput() ClusterSubscriptionConfigPtrOutput
- func (o ClusterSubscriptionConfigPtrOutput) ToClusterSubscriptionConfigPtrOutputWithContext(ctx context.Context) ClusterSubscriptionConfigPtrOutput
- type GetClustersArgs
- type GetClustersCluster
- type GetClustersClusterArgs
- type GetClustersClusterArray
- type GetClustersClusterArrayInput
- type GetClustersClusterArrayOutput
- func (GetClustersClusterArrayOutput) ElementType() reflect.Type
- func (o GetClustersClusterArrayOutput) Index(i pulumi.IntInput) GetClustersClusterOutput
- func (o GetClustersClusterArrayOutput) ToGetClustersClusterArrayOutput() GetClustersClusterArrayOutput
- func (o GetClustersClusterArrayOutput) ToGetClustersClusterArrayOutputWithContext(ctx context.Context) GetClustersClusterArrayOutput
- type GetClustersClusterInput
- type GetClustersClusterOutput
- func (o GetClustersClusterOutput) ClusterId() pulumi.StringOutput
- func (o GetClustersClusterOutput) ClusterName() pulumi.StringOutput
- func (o GetClustersClusterOutput) ClusterState() pulumi.StringOutput
- func (o GetClustersClusterOutput) ClusterType() pulumi.StringOutput
- func (o GetClustersClusterOutput) CreateTime() pulumi.StringOutput
- func (GetClustersClusterOutput) ElementType() reflect.Type
- func (o GetClustersClusterOutput) EmrDefaultRole() pulumi.StringOutput
- func (o GetClustersClusterOutput) EndTime() pulumi.StringOutput
- func (o GetClustersClusterOutput) ExpireTime() pulumi.StringOutput
- func (o GetClustersClusterOutput) PaymentType() pulumi.StringOutput
- func (o GetClustersClusterOutput) ReadyTime() pulumi.StringOutput
- func (o GetClustersClusterOutput) ReleaseVersion() pulumi.StringOutput
- func (o GetClustersClusterOutput) ResourceGroupId() pulumi.StringOutput
- func (o GetClustersClusterOutput) StateChangeReason() pulumi.MapOutput
- func (o GetClustersClusterOutput) Tags() GetClustersClusterTagArrayOutput
- func (o GetClustersClusterOutput) ToGetClustersClusterOutput() GetClustersClusterOutput
- func (o GetClustersClusterOutput) ToGetClustersClusterOutputWithContext(ctx context.Context) GetClustersClusterOutput
- type GetClustersClusterTag
- type GetClustersClusterTagArgs
- type GetClustersClusterTagArray
- func (GetClustersClusterTagArray) ElementType() reflect.Type
- func (i GetClustersClusterTagArray) ToGetClustersClusterTagArrayOutput() GetClustersClusterTagArrayOutput
- func (i GetClustersClusterTagArray) ToGetClustersClusterTagArrayOutputWithContext(ctx context.Context) GetClustersClusterTagArrayOutput
- type GetClustersClusterTagArrayInput
- type GetClustersClusterTagArrayOutput
- func (GetClustersClusterTagArrayOutput) ElementType() reflect.Type
- func (o GetClustersClusterTagArrayOutput) Index(i pulumi.IntInput) GetClustersClusterTagOutput
- func (o GetClustersClusterTagArrayOutput) ToGetClustersClusterTagArrayOutput() GetClustersClusterTagArrayOutput
- func (o GetClustersClusterTagArrayOutput) ToGetClustersClusterTagArrayOutputWithContext(ctx context.Context) GetClustersClusterTagArrayOutput
- type GetClustersClusterTagInput
- type GetClustersClusterTagOutput
- func (GetClustersClusterTagOutput) ElementType() reflect.Type
- func (o GetClustersClusterTagOutput) Key() pulumi.StringOutput
- func (o GetClustersClusterTagOutput) ToGetClustersClusterTagOutput() GetClustersClusterTagOutput
- func (o GetClustersClusterTagOutput) ToGetClustersClusterTagOutputWithContext(ctx context.Context) GetClustersClusterTagOutput
- func (o GetClustersClusterTagOutput) Value() pulumi.StringOutput
- type GetClustersOutputArgs
- type GetClustersResult
- type GetClustersResultOutput
- func (o GetClustersResultOutput) ClusterName() pulumi.StringPtrOutput
- func (o GetClustersResultOutput) ClusterStates() pulumi.StringArrayOutput
- func (o GetClustersResultOutput) ClusterTypes() pulumi.StringArrayOutput
- func (o GetClustersResultOutput) Clusters() GetClustersClusterArrayOutput
- func (GetClustersResultOutput) ElementType() reflect.Type
- func (o GetClustersResultOutput) Id() pulumi.StringOutput
- func (o GetClustersResultOutput) Ids() pulumi.StringArrayOutput
- func (o GetClustersResultOutput) MaxResults() pulumi.IntPtrOutput
- func (o GetClustersResultOutput) NameRegex() pulumi.StringPtrOutput
- func (o GetClustersResultOutput) Names() pulumi.StringArrayOutput
- func (o GetClustersResultOutput) NextToken() pulumi.StringPtrOutput
- func (o GetClustersResultOutput) OutputFile() pulumi.StringPtrOutput
- func (o GetClustersResultOutput) PaymentTypes() pulumi.StringArrayOutput
- func (o GetClustersResultOutput) ResourceGroupId() pulumi.StringPtrOutput
- func (o GetClustersResultOutput) Tags() pulumi.MapOutput
- func (o GetClustersResultOutput) ToGetClustersResultOutput() GetClustersResultOutput
- func (o GetClustersResultOutput) ToGetClustersResultOutputWithContext(ctx context.Context) GetClustersResultOutput
- func (o GetClustersResultOutput) TotalCount() pulumi.IntOutput
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) 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) ElementType() reflect.Type
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) ElementType() reflect.Type
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) ElementType() reflect.Type
func (ClusterApplicationConfigArrayOutput) Index ¶
func (o ClusterApplicationConfigArrayOutput) Index(i pulumi.IntInput) ClusterApplicationConfigOutput
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 ¶
func (o ClusterApplicationConfigOutput) ApplicationName() pulumi.StringOutput
The application name of EMR cluster which has installed.
func (ClusterApplicationConfigOutput) ConfigDescription ¶
func (o ClusterApplicationConfigOutput) ConfigDescription() pulumi.StringPtrOutput
The configuration description of application installed.
func (ClusterApplicationConfigOutput) ConfigFileName ¶
func (o ClusterApplicationConfigOutput) ConfigFileName() pulumi.StringOutput
The configuration file name of application installed.
func (ClusterApplicationConfigOutput) ConfigItemKey ¶
func (o ClusterApplicationConfigOutput) ConfigItemKey() pulumi.StringOutput
The configuration item key of application installed.
func (ClusterApplicationConfigOutput) ConfigItemValue ¶
func (o ClusterApplicationConfigOutput) ConfigItemValue() pulumi.StringOutput
The configuration item value of application installed.
func (ClusterApplicationConfigOutput) ConfigScope ¶
func (o ClusterApplicationConfigOutput) ConfigScope() pulumi.StringPtrOutput
The configuration scope of emr cluster. Supported value: CLUSTER or NODEGROUP.
func (ClusterApplicationConfigOutput) ElementType ¶
func (ClusterApplicationConfigOutput) ElementType() reflect.Type
func (ClusterApplicationConfigOutput) NodeGroupId ¶
func (o ClusterApplicationConfigOutput) NodeGroupId() pulumi.StringPtrOutput
The configuration effected which node group id of emr cluster.
func (ClusterApplicationConfigOutput) NodeGroupName ¶
func (o ClusterApplicationConfigOutput) NodeGroupName() pulumi.StringPtrOutput
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 (o ClusterArrayOutput) Index(i pulumi.IntInput) ClusterOutput
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) ElementType() reflect.Type
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) ElementType() reflect.Type
func (ClusterBootstrapScriptArrayOutput) Index ¶
func (o ClusterBootstrapScriptArrayOutput) Index(i pulumi.IntInput) ClusterBootstrapScriptOutput
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) ElementType() reflect.Type
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) ElementType() reflect.Type
func (ClusterBootstrapScriptNodeSelectorOutput) NodeGroupId ¶
func (o ClusterBootstrapScriptNodeSelectorOutput) NodeGroupId() pulumi.StringPtrOutput
The configuration effected which node group id of emr cluster.
func (ClusterBootstrapScriptNodeSelectorOutput) NodeGroupName ¶
func (o ClusterBootstrapScriptNodeSelectorOutput) NodeGroupName() pulumi.StringPtrOutput
The configuration effected which node group name of emr cluster.
func (ClusterBootstrapScriptNodeSelectorOutput) NodeGroupTypes ¶
func (o ClusterBootstrapScriptNodeSelectorOutput) NodeGroupTypes() pulumi.StringArrayOutput
The bootstrap scripts execution target node group types.
func (ClusterBootstrapScriptNodeSelectorOutput) NodeNames ¶
func (o ClusterBootstrapScriptNodeSelectorOutput) NodeNames() pulumi.StringArrayOutput
The bootstrap scripts execution target node names.
func (ClusterBootstrapScriptNodeSelectorOutput) NodeSelectType ¶
func (o ClusterBootstrapScriptNodeSelectorOutput) NodeSelectType() pulumi.StringOutput
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) ElementType() reflect.Type
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 ¶
func (o ClusterBootstrapScriptOutput) NodeSelector() ClusterBootstrapScriptNodeSelectorOutput
The bootstrap scripts execution target. See `nodeSelector` below.
func (ClusterBootstrapScriptOutput) Priority ¶
func (o ClusterBootstrapScriptOutput) Priority() pulumi.IntPtrOutput
The bootstrap scripts priority.
func (ClusterBootstrapScriptOutput) ScriptArgs ¶
func (o ClusterBootstrapScriptOutput) ScriptArgs() pulumi.StringOutput
The bootstrap script args, e.g. "--a=b".
func (ClusterBootstrapScriptOutput) ScriptName ¶
func (o ClusterBootstrapScriptOutput) ScriptName() pulumi.StringOutput
The bootstrap script name.
func (ClusterBootstrapScriptOutput) ScriptPath ¶
func (o ClusterBootstrapScriptOutput) ScriptPath() pulumi.StringOutput
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 (o ClusterMapOutput) MapIndex(k pulumi.StringInput) ClusterOutput
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) ElementType() reflect.Type
func (ClusterNodeAttributeArrayOutput) Index ¶
func (o ClusterNodeAttributeArrayOutput) Index(i pulumi.IntInput) ClusterNodeAttributeOutput
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 ¶
func (o ClusterNodeAttributeOutput) KeyPairName() pulumi.StringOutput
The name of the key pair.
func (ClusterNodeAttributeOutput) RamRole ¶
func (o ClusterNodeAttributeOutput) RamRole() pulumi.StringOutput
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 ¶
func (o ClusterNodeAttributeOutput) VpcId() pulumi.StringOutput
Used to retrieve instances belong to specified VPC.
func (ClusterNodeAttributeOutput) ZoneId ¶
func (o ClusterNodeAttributeOutput) ZoneId() pulumi.StringOutput
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) ElementType() reflect.Type
func (ClusterNodeGroupArrayOutput) Index ¶
func (o ClusterNodeGroupArrayOutput) Index(i pulumi.IntInput) ClusterNodeGroupOutput
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) ElementType() reflect.Type
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) ElementType() reflect.Type
func (ClusterNodeGroupCostOptimizedConfigOutput) OnDemandBaseCapacity ¶
func (o ClusterNodeGroupCostOptimizedConfigOutput) OnDemandBaseCapacity() pulumi.IntOutput
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 ¶
func (o ClusterNodeGroupCostOptimizedConfigOutput) SpotInstancePools() pulumi.IntOutput
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
func ClusterNodeGroupCostOptimizedConfigPtr ¶
func ClusterNodeGroupCostOptimizedConfigPtr(v *ClusterNodeGroupCostOptimizedConfigArgs) ClusterNodeGroupCostOptimizedConfigPtrInput
type ClusterNodeGroupCostOptimizedConfigPtrOutput ¶
type ClusterNodeGroupCostOptimizedConfigPtrOutput struct{ *pulumi.OutputState }
func (ClusterNodeGroupCostOptimizedConfigPtrOutput) ElementType ¶
func (ClusterNodeGroupCostOptimizedConfigPtrOutput) ElementType() reflect.Type
func (ClusterNodeGroupCostOptimizedConfigPtrOutput) OnDemandBaseCapacity ¶
func (o ClusterNodeGroupCostOptimizedConfigPtrOutput) OnDemandBaseCapacity() pulumi.IntPtrOutput
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 ¶
func (o ClusterNodeGroupCostOptimizedConfigPtrOutput) SpotInstancePools() pulumi.IntPtrOutput
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) ElementType() reflect.Type
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) ElementType() reflect.Type
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) ElementType() reflect.Type
func (ClusterNodeGroupDataDiskArrayOutput) Index ¶
func (o ClusterNodeGroupDataDiskArrayOutput) Index(i pulumi.IntInput) ClusterNodeGroupDataDiskOutput
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 ¶
func (o ClusterNodeGroupDataDiskOutput) Category() pulumi.StringOutput
The type of the data disk. Valid values: `cloudEfficiency` and `cloudEssd`.
func (ClusterNodeGroupDataDiskOutput) Count ¶
func (o ClusterNodeGroupDataDiskOutput) Count() pulumi.IntPtrOutput
The count of a data disk.
func (ClusterNodeGroupDataDiskOutput) ElementType ¶
func (ClusterNodeGroupDataDiskOutput) ElementType() reflect.Type
func (ClusterNodeGroupDataDiskOutput) PerformanceLevel ¶
func (o ClusterNodeGroupDataDiskOutput) PerformanceLevel() pulumi.StringPtrOutput
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 ¶
func (o ClusterNodeGroupDataDiskOutput) Size() pulumi.IntOutput
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 ¶
func (o ClusterNodeGroupOutput) CostOptimizedConfig() ClusterNodeGroupCostOptimizedConfigPtrOutput
The detail cost optimized configuration of emr cluster. See `costOptimizedConfig` below.
func (ClusterNodeGroupOutput) DataDisks ¶
func (o ClusterNodeGroupOutput) DataDisks() ClusterNodeGroupDataDiskArrayOutput
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 ¶
func (o ClusterNodeGroupOutput) InstanceTypes() pulumi.StringArrayOutput
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 ¶
func (o ClusterNodeGroupOutput) PaymentType() pulumi.StringPtrOutput
Payment Type for this cluster. Supported value: PayAsYouGo or Subscription.
func (ClusterNodeGroupOutput) SpotBidPrices ¶
func (o ClusterNodeGroupOutput) SpotBidPrices() ClusterNodeGroupSpotBidPriceArrayOutput
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 ¶
func (o ClusterNodeGroupOutput) SubscriptionConfig() ClusterNodeGroupSubscriptionConfigPtrOutput
The detail configuration of subscription payment type. See `subscriptionConfig` below.
func (ClusterNodeGroupOutput) SystemDisk ¶
func (o ClusterNodeGroupOutput) SystemDisk() ClusterNodeGroupSystemDiskOutput
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 ¶
func (o ClusterNodeGroupOutput) VswitchIds() pulumi.StringArrayOutput
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 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) ElementType() reflect.Type
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) ElementType() reflect.Type
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) ElementType() reflect.Type
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 ¶
func (o ClusterNodeGroupSpotBidPriceOutput) BidPrice() pulumi.IntOutput
The spot bid price of a PayAsYouGo instance.
func (ClusterNodeGroupSpotBidPriceOutput) ElementType ¶
func (ClusterNodeGroupSpotBidPriceOutput) ElementType() reflect.Type
func (ClusterNodeGroupSpotBidPriceOutput) InstanceType ¶
func (o ClusterNodeGroupSpotBidPriceOutput) InstanceType() pulumi.StringOutput
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) ElementType() reflect.Type
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 ¶
func (o ClusterNodeGroupSubscriptionConfigOutput) AutoRenew() pulumi.BoolPtrOutput
Auto renew for prepaid, ’true’ or ‘false’ . Default value: false.
func (ClusterNodeGroupSubscriptionConfigOutput) AutoRenewDuration ¶
func (o ClusterNodeGroupSubscriptionConfigOutput) 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 (ClusterNodeGroupSubscriptionConfigOutput) AutoRenewDurationUnit ¶
func (o ClusterNodeGroupSubscriptionConfigOutput) AutoRenewDurationUnit() pulumi.StringPtrOutput
If paymentType is Subscription, this should be specified. Supported value: Month or Year.
func (ClusterNodeGroupSubscriptionConfigOutput) ElementType ¶
func (ClusterNodeGroupSubscriptionConfigOutput) ElementType() reflect.Type
func (ClusterNodeGroupSubscriptionConfigOutput) PaymentDuration ¶
func (o ClusterNodeGroupSubscriptionConfigOutput) 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 (ClusterNodeGroupSubscriptionConfigOutput) PaymentDurationUnit ¶
func (o ClusterNodeGroupSubscriptionConfigOutput) PaymentDurationUnit() pulumi.StringOutput
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
func ClusterNodeGroupSubscriptionConfigPtr ¶
func ClusterNodeGroupSubscriptionConfigPtr(v *ClusterNodeGroupSubscriptionConfigArgs) ClusterNodeGroupSubscriptionConfigPtrInput
type ClusterNodeGroupSubscriptionConfigPtrOutput ¶
type ClusterNodeGroupSubscriptionConfigPtrOutput struct{ *pulumi.OutputState }
func (ClusterNodeGroupSubscriptionConfigPtrOutput) AutoRenew ¶
func (o ClusterNodeGroupSubscriptionConfigPtrOutput) AutoRenew() pulumi.BoolPtrOutput
Auto renew for prepaid, ’true’ or ‘false’ . Default value: false.
func (ClusterNodeGroupSubscriptionConfigPtrOutput) AutoRenewDuration ¶
func (o ClusterNodeGroupSubscriptionConfigPtrOutput) 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 (ClusterNodeGroupSubscriptionConfigPtrOutput) AutoRenewDurationUnit ¶
func (o ClusterNodeGroupSubscriptionConfigPtrOutput) AutoRenewDurationUnit() pulumi.StringPtrOutput
If paymentType is Subscription, this should be specified. Supported value: Month or Year.
func (ClusterNodeGroupSubscriptionConfigPtrOutput) ElementType ¶
func (ClusterNodeGroupSubscriptionConfigPtrOutput) ElementType() reflect.Type
func (ClusterNodeGroupSubscriptionConfigPtrOutput) PaymentDuration ¶
func (o ClusterNodeGroupSubscriptionConfigPtrOutput) PaymentDuration() 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 (ClusterNodeGroupSubscriptionConfigPtrOutput) PaymentDurationUnit ¶
func (o ClusterNodeGroupSubscriptionConfigPtrOutput) PaymentDurationUnit() pulumi.StringPtrOutput
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) ElementType() reflect.Type
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 ¶
func (o ClusterNodeGroupSystemDiskOutput) Category() pulumi.StringOutput
The type of the data disk. Valid values: `cloudEfficiency` and `cloudEssd`.
func (ClusterNodeGroupSystemDiskOutput) Count ¶
func (o ClusterNodeGroupSystemDiskOutput) Count() pulumi.IntPtrOutput
The count of a data disk.
func (ClusterNodeGroupSystemDiskOutput) ElementType ¶
func (ClusterNodeGroupSystemDiskOutput) ElementType() reflect.Type
func (ClusterNodeGroupSystemDiskOutput) PerformanceLevel ¶
func (o ClusterNodeGroupSystemDiskOutput) PerformanceLevel() pulumi.StringPtrOutput
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 ¶
func (o ClusterNodeGroupSystemDiskOutput) Size() pulumi.IntOutput
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 ¶
func (o ClusterOutput) NodeAttributes() ClusterNodeAttributeArrayOutput
The node attributes of ecs instances which the emr-cluster belongs. See `nodeAttributes` below.
func (ClusterOutput) NodeGroups ¶
func (o ClusterOutput) NodeGroups() ClusterNodeGroupArrayOutput
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) ElementType() reflect.Type
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 ¶
func (o ClusterSubscriptionConfigOutput) AutoRenew() pulumi.BoolPtrOutput
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) ElementType() reflect.Type
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
func ClusterSubscriptionConfigPtr ¶
func ClusterSubscriptionConfigPtr(v *ClusterSubscriptionConfigArgs) ClusterSubscriptionConfigPtrInput
type ClusterSubscriptionConfigPtrOutput ¶
type ClusterSubscriptionConfigPtrOutput struct{ *pulumi.OutputState }
func (ClusterSubscriptionConfigPtrOutput) AutoRenew ¶
func (o ClusterSubscriptionConfigPtrOutput) AutoRenew() pulumi.BoolPtrOutput
Auto renew for prepaid, ’true’ or ‘false’ . Default value: false.
func (ClusterSubscriptionConfigPtrOutput) AutoRenewDuration ¶
func (o ClusterSubscriptionConfigPtrOutput) 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 (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 (o ClusterSubscriptionConfigPtrOutput) Elem() ClusterSubscriptionConfigOutput
func (ClusterSubscriptionConfigPtrOutput) ElementType ¶
func (ClusterSubscriptionConfigPtrOutput) ElementType() reflect.Type
func (ClusterSubscriptionConfigPtrOutput) PaymentDuration ¶
func (o ClusterSubscriptionConfigPtrOutput) PaymentDuration() 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 (ClusterSubscriptionConfigPtrOutput) PaymentDurationUnit ¶
func (o ClusterSubscriptionConfigPtrOutput) PaymentDurationUnit() pulumi.StringPtrOutput
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) ElementType() reflect.Type
func (GetClustersClusterArrayOutput) Index ¶
func (o GetClustersClusterArrayOutput) Index(i pulumi.IntInput) GetClustersClusterOutput
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 ¶
func (o GetClustersClusterOutput) ClusterId() pulumi.StringOutput
The first ID of the resource.
func (GetClustersClusterOutput) ClusterName ¶
func (o GetClustersClusterOutput) ClusterName() pulumi.StringOutput
The name of the emr cluster.
func (GetClustersClusterOutput) ClusterState ¶
func (o GetClustersClusterOutput) ClusterState() pulumi.StringOutput
The state of the emr cluster.
func (GetClustersClusterOutput) ClusterType ¶
func (o GetClustersClusterOutput) ClusterType() pulumi.StringOutput
The type of the emr cluster.
func (GetClustersClusterOutput) CreateTime ¶
func (o GetClustersClusterOutput) CreateTime() pulumi.StringOutput
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 ¶
func (o GetClustersClusterOutput) EndTime() pulumi.StringOutput
The end time of the resource.
func (GetClustersClusterOutput) ExpireTime ¶
func (o GetClustersClusterOutput) ExpireTime() pulumi.StringOutput
The expire time of the resource.
func (GetClustersClusterOutput) PaymentType ¶
func (o GetClustersClusterOutput) PaymentType() pulumi.StringOutput
The payment type of the emr cluster.
func (GetClustersClusterOutput) ReadyTime ¶
func (o GetClustersClusterOutput) ReadyTime() pulumi.StringOutput
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 ¶
func (o GetClustersClusterOutput) Tags() GetClustersClusterTagArrayOutput
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 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) ElementType() reflect.Type
func (GetClustersClusterTagArrayOutput) Index ¶
func (o GetClustersClusterTagArrayOutput) Index(i pulumi.IntInput) GetClustersClusterTagOutput
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) ElementType() reflect.Type
func (GetClustersClusterTagOutput) Key ¶
func (o GetClustersClusterTagOutput) Key() pulumi.StringOutput
func (GetClustersClusterTagOutput) ToGetClustersClusterTagOutput ¶
func (o GetClustersClusterTagOutput) ToGetClustersClusterTagOutput() GetClustersClusterTagOutput
func (GetClustersClusterTagOutput) ToGetClustersClusterTagOutputWithContext ¶
func (o GetClustersClusterTagOutput) ToGetClustersClusterTagOutputWithContext(ctx context.Context) GetClustersClusterTagOutput
func (GetClustersClusterTagOutput) Value ¶
func (o GetClustersClusterTagOutput) Value() pulumi.StringOutput
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 GetClustersOutput ¶
func GetClustersOutput(ctx *pulumi.Context, args GetClustersOutputArgs, opts ...pulumi.InvokeOption) GetClustersResultOutput
func (GetClustersResultOutput) ClusterName ¶
func (o GetClustersResultOutput) ClusterName() pulumi.StringPtrOutput
func (GetClustersResultOutput) ClusterStates ¶
func (o GetClustersResultOutput) ClusterStates() pulumi.StringArrayOutput
func (GetClustersResultOutput) ClusterTypes ¶
func (o GetClustersResultOutput) ClusterTypes() pulumi.StringArrayOutput
func (GetClustersResultOutput) Clusters ¶
func (o GetClustersResultOutput) Clusters() GetClustersClusterArrayOutput
func (GetClustersResultOutput) ElementType ¶
func (GetClustersResultOutput) ElementType() reflect.Type
func (GetClustersResultOutput) Id ¶
func (o GetClustersResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetClustersResultOutput) Ids ¶
func (o GetClustersResultOutput) Ids() pulumi.StringArrayOutput
func (GetClustersResultOutput) MaxResults ¶
func (o GetClustersResultOutput) MaxResults() pulumi.IntPtrOutput
func (GetClustersResultOutput) NameRegex ¶
func (o GetClustersResultOutput) NameRegex() pulumi.StringPtrOutput
func (GetClustersResultOutput) Names ¶
func (o GetClustersResultOutput) Names() pulumi.StringArrayOutput
func (GetClustersResultOutput) NextToken ¶
func (o GetClustersResultOutput) NextToken() pulumi.StringPtrOutput
func (GetClustersResultOutput) OutputFile ¶
func (o GetClustersResultOutput) OutputFile() pulumi.StringPtrOutput
func (GetClustersResultOutput) PaymentTypes ¶
func (o GetClustersResultOutput) PaymentTypes() pulumi.StringArrayOutput
func (GetClustersResultOutput) ResourceGroupId ¶
func (o GetClustersResultOutput) ResourceGroupId() pulumi.StringPtrOutput
func (GetClustersResultOutput) Tags ¶
func (o GetClustersResultOutput) Tags() pulumi.MapOutput
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