emr

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PkgVersion added in v0.0.5

func PkgVersion() (semver.Version, error)

PkgVersion uses reflection to determine the version of the current package. If a version cannot be determined, v1 will be assumed. The second return value is always nil.

Types

type Cluster

type Cluster struct {
	pulumi.CustomResourceState

	// Display strategy of EMR instance.
	DisplayStrategy pulumi.StringOutput `pulumi:"displayStrategy"`
	// Access the external file system.
	ExtendFsField pulumi.StringPtrOutput `pulumi:"extendFsField"`
	// Created EMR instance id.
	InstanceId pulumi.StringOutput `pulumi:"instanceId"`
	// Name of the instance, which can contain 6 to 36 English letters, Chinese characters, digits, dashes(-), or underscores(_).
	InstanceName pulumi.StringOutput `pulumi:"instanceName"`
	// Instance login settings.
	LoginSettings pulumi.MapOutput `pulumi:"loginSettings"`
	// Whether to enable the cluster Master node public network. Value range:
	// - NEED_MASTER_WAN: Indicates that the cluster Master node public network is enabled.
	// - NOT_NEED_MASTER_WAN: Indicates that it is not turned on.
	//   By default, the cluster Master node internet is enabled.
	NeedMasterWan pulumi.StringPtrOutput `pulumi:"needMasterWan"`
	// The pay mode of instance. 0 is pay on an annual basis, 1 is pay on a measure basis.
	PayMode pulumi.IntOutput `pulumi:"payMode"`
	// The location of the instance.
	Placement pulumi.MapOutput `pulumi:"placement"`
	// The product id of EMR instance.
	ProductId pulumi.IntOutput `pulumi:"productId"`
	// Resource specification of EMR instance.
	ResourceSpec ClusterResourceSpecPtrOutput `pulumi:"resourceSpec"`
	// The ID of the security group to which the instance belongs, in the form of sg-xxxxxxxx.
	SgId pulumi.StringPtrOutput `pulumi:"sgId"`
	// The softwares of a EMR instance.
	Softwares pulumi.StringArrayOutput `pulumi:"softwares"`
	// The flag whether the instance support high availability.(0=>not support, 1=>support).
	SupportHa pulumi.IntOutput `pulumi:"supportHa"`
	// The length of time the instance was purchased. Use with TimeUnit.When TimeUnit is s, the parameter can only be filled in at 3600, representing a metered instance.
	// When TimeUnit is m, the number filled in by this parameter indicates the length of purchase of the monthly instance of the package year, such as 1 for one month of purchase.
	TimeSpan pulumi.IntOutput `pulumi:"timeSpan"`
	// The unit of time in which the instance was purchased. When PayMode is 0, TimeUnit can only take values of s(second). When PayMode is 1, TimeUnit can only take the value m(month).
	TimeUnit pulumi.StringOutput `pulumi:"timeUnit"`
	// The private net config of EMR instance.
	VpcSettings pulumi.MapOutput `pulumi:"vpcSettings"`
}

Provide a resource to create a emr cluster.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-tencentcloud/sdk/go/tencentcloud/Emr"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Emr"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Emr.NewCluster(ctx, "emrrrr", &Emr.ClusterArgs{
			ProductId:       pulumi.Int(4),
			DisplayStrategy: pulumi.String("clusterList"),
			VpcSettings: pulumi.AnyMap{
				"vpc_id":    pulumi.Any("vpc-fuwly8x5"),
				"subnet_id": pulumi.Any("subnet-d830wfso"),
			},
			Softwares: pulumi.StringArray{
				pulumi.String("hadoop-2.8.4"),
				pulumi.String("zookeeper-3.4.9"),
			},
			SupportHa:    pulumi.Int(0),
			InstanceName: pulumi.String("emr-test"),
			ResourceSpec: &emr.ClusterResourceSpecArgs{
				MasterResourceSpec: &emr.ClusterResourceSpecMasterResourceSpecArgs{
					MemSize:     pulumi.Int(8192),
					Cpu:         pulumi.Int(4),
					DiskSize:    pulumi.Int(100),
					DiskType:    pulumi.String("CLOUD_PREMIUM"),
					Spec:        pulumi.String("CVM.S2"),
					StorageType: pulumi.Int(5),
				},
				CoreResourceSpec: &emr.ClusterResourceSpecCoreResourceSpecArgs{
					MemSize:     pulumi.Int(8192),
					Cpu:         pulumi.Int(4),
					DiskSize:    pulumi.Int(100),
					DiskType:    pulumi.String("CLOUD_PREMIUM"),
					Spec:        pulumi.String("CVM.S2"),
					StorageType: pulumi.Int(5),
				},
				MasterCount: pulumi.Int(1),
				CoreCount:   pulumi.Int(2),
			},
			LoginSettings: pulumi.AnyMap{
				"password": pulumi.Any("Tencent@cloud123"),
			},
			TimeSpan: pulumi.Int(1),
			TimeUnit: pulumi.String("m"),
			PayMode:  pulumi.Int(1),
			Placement: pulumi.AnyMap{
				"zone":       pulumi.Any("ap-guangzhou-3"),
				"project_id": pulumi.Any(0),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

func GetCluster

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

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

func NewCluster

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

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

func (*Cluster) ElementType

func (*Cluster) ElementType() reflect.Type

func (*Cluster) ToClusterOutput

func (i *Cluster) ToClusterOutput() ClusterOutput

func (*Cluster) ToClusterOutputWithContext

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

type ClusterArgs

type ClusterArgs struct {
	// Display strategy of EMR instance.
	DisplayStrategy pulumi.StringInput
	// Access the external file system.
	ExtendFsField pulumi.StringPtrInput
	// Name of the instance, which can contain 6 to 36 English letters, Chinese characters, digits, dashes(-), or underscores(_).
	InstanceName pulumi.StringInput
	// Instance login settings.
	LoginSettings pulumi.MapInput
	// Whether to enable the cluster Master node public network. Value range:
	// - NEED_MASTER_WAN: Indicates that the cluster Master node public network is enabled.
	// - NOT_NEED_MASTER_WAN: Indicates that it is not turned on.
	//   By default, the cluster Master node internet is enabled.
	NeedMasterWan pulumi.StringPtrInput
	// The pay mode of instance. 0 is pay on an annual basis, 1 is pay on a measure basis.
	PayMode pulumi.IntInput
	// The location of the instance.
	Placement pulumi.MapInput
	// The product id of EMR instance.
	ProductId pulumi.IntInput
	// Resource specification of EMR instance.
	ResourceSpec ClusterResourceSpecPtrInput
	// The ID of the security group to which the instance belongs, in the form of sg-xxxxxxxx.
	SgId pulumi.StringPtrInput
	// The softwares of a EMR instance.
	Softwares pulumi.StringArrayInput
	// The flag whether the instance support high availability.(0=>not support, 1=>support).
	SupportHa pulumi.IntInput
	// The length of time the instance was purchased. Use with TimeUnit.When TimeUnit is s, the parameter can only be filled in at 3600, representing a metered instance.
	// When TimeUnit is m, the number filled in by this parameter indicates the length of purchase of the monthly instance of the package year, such as 1 for one month of purchase.
	TimeSpan pulumi.IntInput
	// The unit of time in which the instance was purchased. When PayMode is 0, TimeUnit can only take values of s(second). When PayMode is 1, TimeUnit can only take the value m(month).
	TimeUnit pulumi.StringInput
	// The private net config of EMR instance.
	VpcSettings pulumi.MapInput
}

The set of arguments for constructing a Cluster resource.

func (ClusterArgs) ElementType

func (ClusterArgs) ElementType() reflect.Type

type ClusterArray

type ClusterArray []ClusterInput

func (ClusterArray) ElementType

func (ClusterArray) ElementType() reflect.Type

func (ClusterArray) ToClusterArrayOutput

func (i ClusterArray) ToClusterArrayOutput() ClusterArrayOutput

func (ClusterArray) ToClusterArrayOutputWithContext

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

type ClusterArrayInput

type ClusterArrayInput interface {
	pulumi.Input

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

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

ClusterArray{ ClusterArgs{...} }

type ClusterArrayOutput

type ClusterArrayOutput struct{ *pulumi.OutputState }

func (ClusterArrayOutput) ElementType

func (ClusterArrayOutput) ElementType() reflect.Type

func (ClusterArrayOutput) Index

func (ClusterArrayOutput) ToClusterArrayOutput

func (o ClusterArrayOutput) ToClusterArrayOutput() ClusterArrayOutput

func (ClusterArrayOutput) ToClusterArrayOutputWithContext

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

type ClusterInput

type ClusterInput interface {
	pulumi.Input

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

type ClusterMap

type ClusterMap map[string]ClusterInput

func (ClusterMap) ElementType

func (ClusterMap) ElementType() reflect.Type

func (ClusterMap) ToClusterMapOutput

func (i ClusterMap) ToClusterMapOutput() ClusterMapOutput

func (ClusterMap) ToClusterMapOutputWithContext

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

type ClusterMapInput

type ClusterMapInput interface {
	pulumi.Input

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

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

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

type ClusterMapOutput

type ClusterMapOutput struct{ *pulumi.OutputState }

func (ClusterMapOutput) ElementType

func (ClusterMapOutput) ElementType() reflect.Type

func (ClusterMapOutput) MapIndex

func (ClusterMapOutput) ToClusterMapOutput

func (o ClusterMapOutput) ToClusterMapOutput() ClusterMapOutput

func (ClusterMapOutput) ToClusterMapOutputWithContext

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

type ClusterOutput

type ClusterOutput struct{ *pulumi.OutputState }

func (ClusterOutput) DisplayStrategy

func (o ClusterOutput) DisplayStrategy() pulumi.StringOutput

Display strategy of EMR instance.

func (ClusterOutput) ElementType

func (ClusterOutput) ElementType() reflect.Type

func (ClusterOutput) ExtendFsField

func (o ClusterOutput) ExtendFsField() pulumi.StringPtrOutput

Access the external file system.

func (ClusterOutput) InstanceId

func (o ClusterOutput) InstanceId() pulumi.StringOutput

Created EMR instance id.

func (ClusterOutput) InstanceName

func (o ClusterOutput) InstanceName() pulumi.StringOutput

Name of the instance, which can contain 6 to 36 English letters, Chinese characters, digits, dashes(-), or underscores(_).

func (ClusterOutput) LoginSettings

func (o ClusterOutput) LoginSettings() pulumi.MapOutput

Instance login settings.

func (ClusterOutput) NeedMasterWan

func (o ClusterOutput) NeedMasterWan() pulumi.StringPtrOutput

Whether to enable the cluster Master node public network. Value range:

  • NEED_MASTER_WAN: Indicates that the cluster Master node public network is enabled.
  • NOT_NEED_MASTER_WAN: Indicates that it is not turned on. By default, the cluster Master node internet is enabled.

func (ClusterOutput) PayMode

func (o ClusterOutput) PayMode() pulumi.IntOutput

The pay mode of instance. 0 is pay on an annual basis, 1 is pay on a measure basis.

func (ClusterOutput) Placement

func (o ClusterOutput) Placement() pulumi.MapOutput

The location of the instance.

func (ClusterOutput) ProductId

func (o ClusterOutput) ProductId() pulumi.IntOutput

The product id of EMR instance.

func (ClusterOutput) ResourceSpec

Resource specification of EMR instance.

func (ClusterOutput) SgId

The ID of the security group to which the instance belongs, in the form of sg-xxxxxxxx.

func (ClusterOutput) Softwares

func (o ClusterOutput) Softwares() pulumi.StringArrayOutput

The softwares of a EMR instance.

func (ClusterOutput) SupportHa

func (o ClusterOutput) SupportHa() pulumi.IntOutput

The flag whether the instance support high availability.(0=>not support, 1=>support).

func (ClusterOutput) TimeSpan

func (o ClusterOutput) TimeSpan() pulumi.IntOutput

The length of time the instance was purchased. Use with TimeUnit.When TimeUnit is s, the parameter can only be filled in at 3600, representing a metered instance. When TimeUnit is m, the number filled in by this parameter indicates the length of purchase of the monthly instance of the package year, such as 1 for one month of purchase.

func (ClusterOutput) TimeUnit

func (o ClusterOutput) TimeUnit() pulumi.StringOutput

The unit of time in which the instance was purchased. When PayMode is 0, TimeUnit can only take values of s(second). When PayMode is 1, TimeUnit can only take the value m(month).

func (ClusterOutput) ToClusterOutput

func (o ClusterOutput) ToClusterOutput() ClusterOutput

func (ClusterOutput) ToClusterOutputWithContext

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

func (ClusterOutput) VpcSettings

func (o ClusterOutput) VpcSettings() pulumi.MapOutput

The private net config of EMR instance.

type ClusterResourceSpec

type ClusterResourceSpec struct {
	// The number of common node.
	CommonCount        *int                                   `pulumi:"commonCount"`
	CommonResourceSpec *ClusterResourceSpecCommonResourceSpec `pulumi:"commonResourceSpec"`
	// The number of core node.
	CoreCount        *int                                 `pulumi:"coreCount"`
	CoreResourceSpec *ClusterResourceSpecCoreResourceSpec `pulumi:"coreResourceSpec"`
	// The number of master node.
	MasterCount        *int                                   `pulumi:"masterCount"`
	MasterResourceSpec *ClusterResourceSpecMasterResourceSpec `pulumi:"masterResourceSpec"`
	// The number of core node.
	TaskCount        *int                                 `pulumi:"taskCount"`
	TaskResourceSpec *ClusterResourceSpecTaskResourceSpec `pulumi:"taskResourceSpec"`
}

type ClusterResourceSpecArgs

type ClusterResourceSpecArgs struct {
	// The number of common node.
	CommonCount        pulumi.IntPtrInput                            `pulumi:"commonCount"`
	CommonResourceSpec ClusterResourceSpecCommonResourceSpecPtrInput `pulumi:"commonResourceSpec"`
	// The number of core node.
	CoreCount        pulumi.IntPtrInput                          `pulumi:"coreCount"`
	CoreResourceSpec ClusterResourceSpecCoreResourceSpecPtrInput `pulumi:"coreResourceSpec"`
	// The number of master node.
	MasterCount        pulumi.IntPtrInput                            `pulumi:"masterCount"`
	MasterResourceSpec ClusterResourceSpecMasterResourceSpecPtrInput `pulumi:"masterResourceSpec"`
	// The number of core node.
	TaskCount        pulumi.IntPtrInput                          `pulumi:"taskCount"`
	TaskResourceSpec ClusterResourceSpecTaskResourceSpecPtrInput `pulumi:"taskResourceSpec"`
}

func (ClusterResourceSpecArgs) ElementType

func (ClusterResourceSpecArgs) ElementType() reflect.Type

func (ClusterResourceSpecArgs) ToClusterResourceSpecOutput

func (i ClusterResourceSpecArgs) ToClusterResourceSpecOutput() ClusterResourceSpecOutput

func (ClusterResourceSpecArgs) ToClusterResourceSpecOutputWithContext

func (i ClusterResourceSpecArgs) ToClusterResourceSpecOutputWithContext(ctx context.Context) ClusterResourceSpecOutput

func (ClusterResourceSpecArgs) ToClusterResourceSpecPtrOutput

func (i ClusterResourceSpecArgs) ToClusterResourceSpecPtrOutput() ClusterResourceSpecPtrOutput

func (ClusterResourceSpecArgs) ToClusterResourceSpecPtrOutputWithContext

func (i ClusterResourceSpecArgs) ToClusterResourceSpecPtrOutputWithContext(ctx context.Context) ClusterResourceSpecPtrOutput

type ClusterResourceSpecCommonResourceSpec

type ClusterResourceSpecCommonResourceSpec struct {
	Cpu         *int    `pulumi:"cpu"`
	DiskSize    *int    `pulumi:"diskSize"`
	DiskType    *string `pulumi:"diskType"`
	MemSize     *int    `pulumi:"memSize"`
	RootSize    *int    `pulumi:"rootSize"`
	Spec        *string `pulumi:"spec"`
	StorageType *int    `pulumi:"storageType"`
}

type ClusterResourceSpecCommonResourceSpecArgs

type ClusterResourceSpecCommonResourceSpecArgs struct {
	Cpu         pulumi.IntPtrInput    `pulumi:"cpu"`
	DiskSize    pulumi.IntPtrInput    `pulumi:"diskSize"`
	DiskType    pulumi.StringPtrInput `pulumi:"diskType"`
	MemSize     pulumi.IntPtrInput    `pulumi:"memSize"`
	RootSize    pulumi.IntPtrInput    `pulumi:"rootSize"`
	Spec        pulumi.StringPtrInput `pulumi:"spec"`
	StorageType pulumi.IntPtrInput    `pulumi:"storageType"`
}

func (ClusterResourceSpecCommonResourceSpecArgs) ElementType

func (ClusterResourceSpecCommonResourceSpecArgs) ToClusterResourceSpecCommonResourceSpecOutput

func (i ClusterResourceSpecCommonResourceSpecArgs) ToClusterResourceSpecCommonResourceSpecOutput() ClusterResourceSpecCommonResourceSpecOutput

func (ClusterResourceSpecCommonResourceSpecArgs) ToClusterResourceSpecCommonResourceSpecOutputWithContext

func (i ClusterResourceSpecCommonResourceSpecArgs) ToClusterResourceSpecCommonResourceSpecOutputWithContext(ctx context.Context) ClusterResourceSpecCommonResourceSpecOutput

func (ClusterResourceSpecCommonResourceSpecArgs) ToClusterResourceSpecCommonResourceSpecPtrOutput

func (i ClusterResourceSpecCommonResourceSpecArgs) ToClusterResourceSpecCommonResourceSpecPtrOutput() ClusterResourceSpecCommonResourceSpecPtrOutput

func (ClusterResourceSpecCommonResourceSpecArgs) ToClusterResourceSpecCommonResourceSpecPtrOutputWithContext

func (i ClusterResourceSpecCommonResourceSpecArgs) ToClusterResourceSpecCommonResourceSpecPtrOutputWithContext(ctx context.Context) ClusterResourceSpecCommonResourceSpecPtrOutput

type ClusterResourceSpecCommonResourceSpecInput

type ClusterResourceSpecCommonResourceSpecInput interface {
	pulumi.Input

	ToClusterResourceSpecCommonResourceSpecOutput() ClusterResourceSpecCommonResourceSpecOutput
	ToClusterResourceSpecCommonResourceSpecOutputWithContext(context.Context) ClusterResourceSpecCommonResourceSpecOutput
}

ClusterResourceSpecCommonResourceSpecInput is an input type that accepts ClusterResourceSpecCommonResourceSpecArgs and ClusterResourceSpecCommonResourceSpecOutput values. You can construct a concrete instance of `ClusterResourceSpecCommonResourceSpecInput` via:

ClusterResourceSpecCommonResourceSpecArgs{...}

type ClusterResourceSpecCommonResourceSpecOutput

type ClusterResourceSpecCommonResourceSpecOutput struct{ *pulumi.OutputState }

func (ClusterResourceSpecCommonResourceSpecOutput) Cpu

func (ClusterResourceSpecCommonResourceSpecOutput) DiskSize

func (ClusterResourceSpecCommonResourceSpecOutput) DiskType

func (ClusterResourceSpecCommonResourceSpecOutput) ElementType

func (ClusterResourceSpecCommonResourceSpecOutput) MemSize

func (ClusterResourceSpecCommonResourceSpecOutput) RootSize

func (ClusterResourceSpecCommonResourceSpecOutput) Spec

func (ClusterResourceSpecCommonResourceSpecOutput) StorageType

func (ClusterResourceSpecCommonResourceSpecOutput) ToClusterResourceSpecCommonResourceSpecOutput

func (o ClusterResourceSpecCommonResourceSpecOutput) ToClusterResourceSpecCommonResourceSpecOutput() ClusterResourceSpecCommonResourceSpecOutput

func (ClusterResourceSpecCommonResourceSpecOutput) ToClusterResourceSpecCommonResourceSpecOutputWithContext

func (o ClusterResourceSpecCommonResourceSpecOutput) ToClusterResourceSpecCommonResourceSpecOutputWithContext(ctx context.Context) ClusterResourceSpecCommonResourceSpecOutput

func (ClusterResourceSpecCommonResourceSpecOutput) ToClusterResourceSpecCommonResourceSpecPtrOutput

func (o ClusterResourceSpecCommonResourceSpecOutput) ToClusterResourceSpecCommonResourceSpecPtrOutput() ClusterResourceSpecCommonResourceSpecPtrOutput

func (ClusterResourceSpecCommonResourceSpecOutput) ToClusterResourceSpecCommonResourceSpecPtrOutputWithContext

func (o ClusterResourceSpecCommonResourceSpecOutput) ToClusterResourceSpecCommonResourceSpecPtrOutputWithContext(ctx context.Context) ClusterResourceSpecCommonResourceSpecPtrOutput

type ClusterResourceSpecCommonResourceSpecPtrInput

type ClusterResourceSpecCommonResourceSpecPtrInput interface {
	pulumi.Input

	ToClusterResourceSpecCommonResourceSpecPtrOutput() ClusterResourceSpecCommonResourceSpecPtrOutput
	ToClusterResourceSpecCommonResourceSpecPtrOutputWithContext(context.Context) ClusterResourceSpecCommonResourceSpecPtrOutput
}

ClusterResourceSpecCommonResourceSpecPtrInput is an input type that accepts ClusterResourceSpecCommonResourceSpecArgs, ClusterResourceSpecCommonResourceSpecPtr and ClusterResourceSpecCommonResourceSpecPtrOutput values. You can construct a concrete instance of `ClusterResourceSpecCommonResourceSpecPtrInput` via:

        ClusterResourceSpecCommonResourceSpecArgs{...}

or:

        nil

type ClusterResourceSpecCommonResourceSpecPtrOutput

type ClusterResourceSpecCommonResourceSpecPtrOutput struct{ *pulumi.OutputState }

func (ClusterResourceSpecCommonResourceSpecPtrOutput) Cpu

func (ClusterResourceSpecCommonResourceSpecPtrOutput) DiskSize

func (ClusterResourceSpecCommonResourceSpecPtrOutput) DiskType

func (ClusterResourceSpecCommonResourceSpecPtrOutput) Elem

func (ClusterResourceSpecCommonResourceSpecPtrOutput) ElementType

func (ClusterResourceSpecCommonResourceSpecPtrOutput) MemSize

func (ClusterResourceSpecCommonResourceSpecPtrOutput) RootSize

func (ClusterResourceSpecCommonResourceSpecPtrOutput) Spec

func (ClusterResourceSpecCommonResourceSpecPtrOutput) StorageType

func (ClusterResourceSpecCommonResourceSpecPtrOutput) ToClusterResourceSpecCommonResourceSpecPtrOutput

func (o ClusterResourceSpecCommonResourceSpecPtrOutput) ToClusterResourceSpecCommonResourceSpecPtrOutput() ClusterResourceSpecCommonResourceSpecPtrOutput

func (ClusterResourceSpecCommonResourceSpecPtrOutput) ToClusterResourceSpecCommonResourceSpecPtrOutputWithContext

func (o ClusterResourceSpecCommonResourceSpecPtrOutput) ToClusterResourceSpecCommonResourceSpecPtrOutputWithContext(ctx context.Context) ClusterResourceSpecCommonResourceSpecPtrOutput

type ClusterResourceSpecCoreResourceSpec

type ClusterResourceSpecCoreResourceSpec struct {
	Cpu         *int    `pulumi:"cpu"`
	DiskSize    *int    `pulumi:"diskSize"`
	DiskType    *string `pulumi:"diskType"`
	MemSize     *int    `pulumi:"memSize"`
	RootSize    *int    `pulumi:"rootSize"`
	Spec        *string `pulumi:"spec"`
	StorageType *int    `pulumi:"storageType"`
}

type ClusterResourceSpecCoreResourceSpecArgs

type ClusterResourceSpecCoreResourceSpecArgs struct {
	Cpu         pulumi.IntPtrInput    `pulumi:"cpu"`
	DiskSize    pulumi.IntPtrInput    `pulumi:"diskSize"`
	DiskType    pulumi.StringPtrInput `pulumi:"diskType"`
	MemSize     pulumi.IntPtrInput    `pulumi:"memSize"`
	RootSize    pulumi.IntPtrInput    `pulumi:"rootSize"`
	Spec        pulumi.StringPtrInput `pulumi:"spec"`
	StorageType pulumi.IntPtrInput    `pulumi:"storageType"`
}

func (ClusterResourceSpecCoreResourceSpecArgs) ElementType

func (ClusterResourceSpecCoreResourceSpecArgs) ToClusterResourceSpecCoreResourceSpecOutput

func (i ClusterResourceSpecCoreResourceSpecArgs) ToClusterResourceSpecCoreResourceSpecOutput() ClusterResourceSpecCoreResourceSpecOutput

func (ClusterResourceSpecCoreResourceSpecArgs) ToClusterResourceSpecCoreResourceSpecOutputWithContext

func (i ClusterResourceSpecCoreResourceSpecArgs) ToClusterResourceSpecCoreResourceSpecOutputWithContext(ctx context.Context) ClusterResourceSpecCoreResourceSpecOutput

func (ClusterResourceSpecCoreResourceSpecArgs) ToClusterResourceSpecCoreResourceSpecPtrOutput

func (i ClusterResourceSpecCoreResourceSpecArgs) ToClusterResourceSpecCoreResourceSpecPtrOutput() ClusterResourceSpecCoreResourceSpecPtrOutput

func (ClusterResourceSpecCoreResourceSpecArgs) ToClusterResourceSpecCoreResourceSpecPtrOutputWithContext

func (i ClusterResourceSpecCoreResourceSpecArgs) ToClusterResourceSpecCoreResourceSpecPtrOutputWithContext(ctx context.Context) ClusterResourceSpecCoreResourceSpecPtrOutput

type ClusterResourceSpecCoreResourceSpecInput

type ClusterResourceSpecCoreResourceSpecInput interface {
	pulumi.Input

	ToClusterResourceSpecCoreResourceSpecOutput() ClusterResourceSpecCoreResourceSpecOutput
	ToClusterResourceSpecCoreResourceSpecOutputWithContext(context.Context) ClusterResourceSpecCoreResourceSpecOutput
}

ClusterResourceSpecCoreResourceSpecInput is an input type that accepts ClusterResourceSpecCoreResourceSpecArgs and ClusterResourceSpecCoreResourceSpecOutput values. You can construct a concrete instance of `ClusterResourceSpecCoreResourceSpecInput` via:

ClusterResourceSpecCoreResourceSpecArgs{...}

type ClusterResourceSpecCoreResourceSpecOutput

type ClusterResourceSpecCoreResourceSpecOutput struct{ *pulumi.OutputState }

func (ClusterResourceSpecCoreResourceSpecOutput) Cpu

func (ClusterResourceSpecCoreResourceSpecOutput) DiskSize

func (ClusterResourceSpecCoreResourceSpecOutput) DiskType

func (ClusterResourceSpecCoreResourceSpecOutput) ElementType

func (ClusterResourceSpecCoreResourceSpecOutput) MemSize

func (ClusterResourceSpecCoreResourceSpecOutput) RootSize

func (ClusterResourceSpecCoreResourceSpecOutput) Spec

func (ClusterResourceSpecCoreResourceSpecOutput) StorageType

func (ClusterResourceSpecCoreResourceSpecOutput) ToClusterResourceSpecCoreResourceSpecOutput

func (o ClusterResourceSpecCoreResourceSpecOutput) ToClusterResourceSpecCoreResourceSpecOutput() ClusterResourceSpecCoreResourceSpecOutput

func (ClusterResourceSpecCoreResourceSpecOutput) ToClusterResourceSpecCoreResourceSpecOutputWithContext

func (o ClusterResourceSpecCoreResourceSpecOutput) ToClusterResourceSpecCoreResourceSpecOutputWithContext(ctx context.Context) ClusterResourceSpecCoreResourceSpecOutput

func (ClusterResourceSpecCoreResourceSpecOutput) ToClusterResourceSpecCoreResourceSpecPtrOutput

func (o ClusterResourceSpecCoreResourceSpecOutput) ToClusterResourceSpecCoreResourceSpecPtrOutput() ClusterResourceSpecCoreResourceSpecPtrOutput

func (ClusterResourceSpecCoreResourceSpecOutput) ToClusterResourceSpecCoreResourceSpecPtrOutputWithContext

func (o ClusterResourceSpecCoreResourceSpecOutput) ToClusterResourceSpecCoreResourceSpecPtrOutputWithContext(ctx context.Context) ClusterResourceSpecCoreResourceSpecPtrOutput

type ClusterResourceSpecCoreResourceSpecPtrInput

type ClusterResourceSpecCoreResourceSpecPtrInput interface {
	pulumi.Input

	ToClusterResourceSpecCoreResourceSpecPtrOutput() ClusterResourceSpecCoreResourceSpecPtrOutput
	ToClusterResourceSpecCoreResourceSpecPtrOutputWithContext(context.Context) ClusterResourceSpecCoreResourceSpecPtrOutput
}

ClusterResourceSpecCoreResourceSpecPtrInput is an input type that accepts ClusterResourceSpecCoreResourceSpecArgs, ClusterResourceSpecCoreResourceSpecPtr and ClusterResourceSpecCoreResourceSpecPtrOutput values. You can construct a concrete instance of `ClusterResourceSpecCoreResourceSpecPtrInput` via:

        ClusterResourceSpecCoreResourceSpecArgs{...}

or:

        nil

type ClusterResourceSpecCoreResourceSpecPtrOutput

type ClusterResourceSpecCoreResourceSpecPtrOutput struct{ *pulumi.OutputState }

func (ClusterResourceSpecCoreResourceSpecPtrOutput) Cpu

func (ClusterResourceSpecCoreResourceSpecPtrOutput) DiskSize

func (ClusterResourceSpecCoreResourceSpecPtrOutput) DiskType

func (ClusterResourceSpecCoreResourceSpecPtrOutput) Elem

func (ClusterResourceSpecCoreResourceSpecPtrOutput) ElementType

func (ClusterResourceSpecCoreResourceSpecPtrOutput) MemSize

func (ClusterResourceSpecCoreResourceSpecPtrOutput) RootSize

func (ClusterResourceSpecCoreResourceSpecPtrOutput) Spec

func (ClusterResourceSpecCoreResourceSpecPtrOutput) StorageType

func (ClusterResourceSpecCoreResourceSpecPtrOutput) ToClusterResourceSpecCoreResourceSpecPtrOutput

func (o ClusterResourceSpecCoreResourceSpecPtrOutput) ToClusterResourceSpecCoreResourceSpecPtrOutput() ClusterResourceSpecCoreResourceSpecPtrOutput

func (ClusterResourceSpecCoreResourceSpecPtrOutput) ToClusterResourceSpecCoreResourceSpecPtrOutputWithContext

func (o ClusterResourceSpecCoreResourceSpecPtrOutput) ToClusterResourceSpecCoreResourceSpecPtrOutputWithContext(ctx context.Context) ClusterResourceSpecCoreResourceSpecPtrOutput

type ClusterResourceSpecInput

type ClusterResourceSpecInput interface {
	pulumi.Input

	ToClusterResourceSpecOutput() ClusterResourceSpecOutput
	ToClusterResourceSpecOutputWithContext(context.Context) ClusterResourceSpecOutput
}

ClusterResourceSpecInput is an input type that accepts ClusterResourceSpecArgs and ClusterResourceSpecOutput values. You can construct a concrete instance of `ClusterResourceSpecInput` via:

ClusterResourceSpecArgs{...}

type ClusterResourceSpecMasterResourceSpec

type ClusterResourceSpecMasterResourceSpec struct {
	Cpu         *int    `pulumi:"cpu"`
	DiskSize    *int    `pulumi:"diskSize"`
	DiskType    *string `pulumi:"diskType"`
	MemSize     *int    `pulumi:"memSize"`
	RootSize    *int    `pulumi:"rootSize"`
	Spec        *string `pulumi:"spec"`
	StorageType *int    `pulumi:"storageType"`
}

type ClusterResourceSpecMasterResourceSpecArgs

type ClusterResourceSpecMasterResourceSpecArgs struct {
	Cpu         pulumi.IntPtrInput    `pulumi:"cpu"`
	DiskSize    pulumi.IntPtrInput    `pulumi:"diskSize"`
	DiskType    pulumi.StringPtrInput `pulumi:"diskType"`
	MemSize     pulumi.IntPtrInput    `pulumi:"memSize"`
	RootSize    pulumi.IntPtrInput    `pulumi:"rootSize"`
	Spec        pulumi.StringPtrInput `pulumi:"spec"`
	StorageType pulumi.IntPtrInput    `pulumi:"storageType"`
}

func (ClusterResourceSpecMasterResourceSpecArgs) ElementType

func (ClusterResourceSpecMasterResourceSpecArgs) ToClusterResourceSpecMasterResourceSpecOutput

func (i ClusterResourceSpecMasterResourceSpecArgs) ToClusterResourceSpecMasterResourceSpecOutput() ClusterResourceSpecMasterResourceSpecOutput

func (ClusterResourceSpecMasterResourceSpecArgs) ToClusterResourceSpecMasterResourceSpecOutputWithContext

func (i ClusterResourceSpecMasterResourceSpecArgs) ToClusterResourceSpecMasterResourceSpecOutputWithContext(ctx context.Context) ClusterResourceSpecMasterResourceSpecOutput

func (ClusterResourceSpecMasterResourceSpecArgs) ToClusterResourceSpecMasterResourceSpecPtrOutput

func (i ClusterResourceSpecMasterResourceSpecArgs) ToClusterResourceSpecMasterResourceSpecPtrOutput() ClusterResourceSpecMasterResourceSpecPtrOutput

func (ClusterResourceSpecMasterResourceSpecArgs) ToClusterResourceSpecMasterResourceSpecPtrOutputWithContext

func (i ClusterResourceSpecMasterResourceSpecArgs) ToClusterResourceSpecMasterResourceSpecPtrOutputWithContext(ctx context.Context) ClusterResourceSpecMasterResourceSpecPtrOutput

type ClusterResourceSpecMasterResourceSpecInput

type ClusterResourceSpecMasterResourceSpecInput interface {
	pulumi.Input

	ToClusterResourceSpecMasterResourceSpecOutput() ClusterResourceSpecMasterResourceSpecOutput
	ToClusterResourceSpecMasterResourceSpecOutputWithContext(context.Context) ClusterResourceSpecMasterResourceSpecOutput
}

ClusterResourceSpecMasterResourceSpecInput is an input type that accepts ClusterResourceSpecMasterResourceSpecArgs and ClusterResourceSpecMasterResourceSpecOutput values. You can construct a concrete instance of `ClusterResourceSpecMasterResourceSpecInput` via:

ClusterResourceSpecMasterResourceSpecArgs{...}

type ClusterResourceSpecMasterResourceSpecOutput

type ClusterResourceSpecMasterResourceSpecOutput struct{ *pulumi.OutputState }

func (ClusterResourceSpecMasterResourceSpecOutput) Cpu

func (ClusterResourceSpecMasterResourceSpecOutput) DiskSize

func (ClusterResourceSpecMasterResourceSpecOutput) DiskType

func (ClusterResourceSpecMasterResourceSpecOutput) ElementType

func (ClusterResourceSpecMasterResourceSpecOutput) MemSize

func (ClusterResourceSpecMasterResourceSpecOutput) RootSize

func (ClusterResourceSpecMasterResourceSpecOutput) Spec

func (ClusterResourceSpecMasterResourceSpecOutput) StorageType

func (ClusterResourceSpecMasterResourceSpecOutput) ToClusterResourceSpecMasterResourceSpecOutput

func (o ClusterResourceSpecMasterResourceSpecOutput) ToClusterResourceSpecMasterResourceSpecOutput() ClusterResourceSpecMasterResourceSpecOutput

func (ClusterResourceSpecMasterResourceSpecOutput) ToClusterResourceSpecMasterResourceSpecOutputWithContext

func (o ClusterResourceSpecMasterResourceSpecOutput) ToClusterResourceSpecMasterResourceSpecOutputWithContext(ctx context.Context) ClusterResourceSpecMasterResourceSpecOutput

func (ClusterResourceSpecMasterResourceSpecOutput) ToClusterResourceSpecMasterResourceSpecPtrOutput

func (o ClusterResourceSpecMasterResourceSpecOutput) ToClusterResourceSpecMasterResourceSpecPtrOutput() ClusterResourceSpecMasterResourceSpecPtrOutput

func (ClusterResourceSpecMasterResourceSpecOutput) ToClusterResourceSpecMasterResourceSpecPtrOutputWithContext

func (o ClusterResourceSpecMasterResourceSpecOutput) ToClusterResourceSpecMasterResourceSpecPtrOutputWithContext(ctx context.Context) ClusterResourceSpecMasterResourceSpecPtrOutput

type ClusterResourceSpecMasterResourceSpecPtrInput

type ClusterResourceSpecMasterResourceSpecPtrInput interface {
	pulumi.Input

	ToClusterResourceSpecMasterResourceSpecPtrOutput() ClusterResourceSpecMasterResourceSpecPtrOutput
	ToClusterResourceSpecMasterResourceSpecPtrOutputWithContext(context.Context) ClusterResourceSpecMasterResourceSpecPtrOutput
}

ClusterResourceSpecMasterResourceSpecPtrInput is an input type that accepts ClusterResourceSpecMasterResourceSpecArgs, ClusterResourceSpecMasterResourceSpecPtr and ClusterResourceSpecMasterResourceSpecPtrOutput values. You can construct a concrete instance of `ClusterResourceSpecMasterResourceSpecPtrInput` via:

        ClusterResourceSpecMasterResourceSpecArgs{...}

or:

        nil

type ClusterResourceSpecMasterResourceSpecPtrOutput

type ClusterResourceSpecMasterResourceSpecPtrOutput struct{ *pulumi.OutputState }

func (ClusterResourceSpecMasterResourceSpecPtrOutput) Cpu

func (ClusterResourceSpecMasterResourceSpecPtrOutput) DiskSize

func (ClusterResourceSpecMasterResourceSpecPtrOutput) DiskType

func (ClusterResourceSpecMasterResourceSpecPtrOutput) Elem

func (ClusterResourceSpecMasterResourceSpecPtrOutput) ElementType

func (ClusterResourceSpecMasterResourceSpecPtrOutput) MemSize

func (ClusterResourceSpecMasterResourceSpecPtrOutput) RootSize

func (ClusterResourceSpecMasterResourceSpecPtrOutput) Spec

func (ClusterResourceSpecMasterResourceSpecPtrOutput) StorageType

func (ClusterResourceSpecMasterResourceSpecPtrOutput) ToClusterResourceSpecMasterResourceSpecPtrOutput

func (o ClusterResourceSpecMasterResourceSpecPtrOutput) ToClusterResourceSpecMasterResourceSpecPtrOutput() ClusterResourceSpecMasterResourceSpecPtrOutput

func (ClusterResourceSpecMasterResourceSpecPtrOutput) ToClusterResourceSpecMasterResourceSpecPtrOutputWithContext

func (o ClusterResourceSpecMasterResourceSpecPtrOutput) ToClusterResourceSpecMasterResourceSpecPtrOutputWithContext(ctx context.Context) ClusterResourceSpecMasterResourceSpecPtrOutput

type ClusterResourceSpecOutput

type ClusterResourceSpecOutput struct{ *pulumi.OutputState }

func (ClusterResourceSpecOutput) CommonCount

The number of common node.

func (ClusterResourceSpecOutput) CommonResourceSpec

func (ClusterResourceSpecOutput) CoreCount

The number of core node.

func (ClusterResourceSpecOutput) CoreResourceSpec

func (ClusterResourceSpecOutput) ElementType

func (ClusterResourceSpecOutput) ElementType() reflect.Type

func (ClusterResourceSpecOutput) MasterCount

The number of master node.

func (ClusterResourceSpecOutput) MasterResourceSpec

func (ClusterResourceSpecOutput) TaskCount

The number of core node.

func (ClusterResourceSpecOutput) TaskResourceSpec

func (ClusterResourceSpecOutput) ToClusterResourceSpecOutput

func (o ClusterResourceSpecOutput) ToClusterResourceSpecOutput() ClusterResourceSpecOutput

func (ClusterResourceSpecOutput) ToClusterResourceSpecOutputWithContext

func (o ClusterResourceSpecOutput) ToClusterResourceSpecOutputWithContext(ctx context.Context) ClusterResourceSpecOutput

func (ClusterResourceSpecOutput) ToClusterResourceSpecPtrOutput

func (o ClusterResourceSpecOutput) ToClusterResourceSpecPtrOutput() ClusterResourceSpecPtrOutput

func (ClusterResourceSpecOutput) ToClusterResourceSpecPtrOutputWithContext

func (o ClusterResourceSpecOutput) ToClusterResourceSpecPtrOutputWithContext(ctx context.Context) ClusterResourceSpecPtrOutput

type ClusterResourceSpecPtrInput

type ClusterResourceSpecPtrInput interface {
	pulumi.Input

	ToClusterResourceSpecPtrOutput() ClusterResourceSpecPtrOutput
	ToClusterResourceSpecPtrOutputWithContext(context.Context) ClusterResourceSpecPtrOutput
}

ClusterResourceSpecPtrInput is an input type that accepts ClusterResourceSpecArgs, ClusterResourceSpecPtr and ClusterResourceSpecPtrOutput values. You can construct a concrete instance of `ClusterResourceSpecPtrInput` via:

        ClusterResourceSpecArgs{...}

or:

        nil

type ClusterResourceSpecPtrOutput

type ClusterResourceSpecPtrOutput struct{ *pulumi.OutputState }

func (ClusterResourceSpecPtrOutput) CommonCount

The number of common node.

func (ClusterResourceSpecPtrOutput) CommonResourceSpec

func (ClusterResourceSpecPtrOutput) CoreCount

The number of core node.

func (ClusterResourceSpecPtrOutput) CoreResourceSpec

func (ClusterResourceSpecPtrOutput) Elem

func (ClusterResourceSpecPtrOutput) ElementType

func (ClusterResourceSpecPtrOutput) MasterCount

The number of master node.

func (ClusterResourceSpecPtrOutput) MasterResourceSpec

func (ClusterResourceSpecPtrOutput) TaskCount

The number of core node.

func (ClusterResourceSpecPtrOutput) TaskResourceSpec

func (ClusterResourceSpecPtrOutput) ToClusterResourceSpecPtrOutput

func (o ClusterResourceSpecPtrOutput) ToClusterResourceSpecPtrOutput() ClusterResourceSpecPtrOutput

func (ClusterResourceSpecPtrOutput) ToClusterResourceSpecPtrOutputWithContext

func (o ClusterResourceSpecPtrOutput) ToClusterResourceSpecPtrOutputWithContext(ctx context.Context) ClusterResourceSpecPtrOutput

type ClusterResourceSpecTaskResourceSpec

type ClusterResourceSpecTaskResourceSpec struct {
	Cpu         *int    `pulumi:"cpu"`
	DiskSize    *int    `pulumi:"diskSize"`
	DiskType    *string `pulumi:"diskType"`
	MemSize     *int    `pulumi:"memSize"`
	RootSize    *int    `pulumi:"rootSize"`
	Spec        *string `pulumi:"spec"`
	StorageType *int    `pulumi:"storageType"`
}

type ClusterResourceSpecTaskResourceSpecArgs

type ClusterResourceSpecTaskResourceSpecArgs struct {
	Cpu         pulumi.IntPtrInput    `pulumi:"cpu"`
	DiskSize    pulumi.IntPtrInput    `pulumi:"diskSize"`
	DiskType    pulumi.StringPtrInput `pulumi:"diskType"`
	MemSize     pulumi.IntPtrInput    `pulumi:"memSize"`
	RootSize    pulumi.IntPtrInput    `pulumi:"rootSize"`
	Spec        pulumi.StringPtrInput `pulumi:"spec"`
	StorageType pulumi.IntPtrInput    `pulumi:"storageType"`
}

func (ClusterResourceSpecTaskResourceSpecArgs) ElementType

func (ClusterResourceSpecTaskResourceSpecArgs) ToClusterResourceSpecTaskResourceSpecOutput

func (i ClusterResourceSpecTaskResourceSpecArgs) ToClusterResourceSpecTaskResourceSpecOutput() ClusterResourceSpecTaskResourceSpecOutput

func (ClusterResourceSpecTaskResourceSpecArgs) ToClusterResourceSpecTaskResourceSpecOutputWithContext

func (i ClusterResourceSpecTaskResourceSpecArgs) ToClusterResourceSpecTaskResourceSpecOutputWithContext(ctx context.Context) ClusterResourceSpecTaskResourceSpecOutput

func (ClusterResourceSpecTaskResourceSpecArgs) ToClusterResourceSpecTaskResourceSpecPtrOutput

func (i ClusterResourceSpecTaskResourceSpecArgs) ToClusterResourceSpecTaskResourceSpecPtrOutput() ClusterResourceSpecTaskResourceSpecPtrOutput

func (ClusterResourceSpecTaskResourceSpecArgs) ToClusterResourceSpecTaskResourceSpecPtrOutputWithContext

func (i ClusterResourceSpecTaskResourceSpecArgs) ToClusterResourceSpecTaskResourceSpecPtrOutputWithContext(ctx context.Context) ClusterResourceSpecTaskResourceSpecPtrOutput

type ClusterResourceSpecTaskResourceSpecInput

type ClusterResourceSpecTaskResourceSpecInput interface {
	pulumi.Input

	ToClusterResourceSpecTaskResourceSpecOutput() ClusterResourceSpecTaskResourceSpecOutput
	ToClusterResourceSpecTaskResourceSpecOutputWithContext(context.Context) ClusterResourceSpecTaskResourceSpecOutput
}

ClusterResourceSpecTaskResourceSpecInput is an input type that accepts ClusterResourceSpecTaskResourceSpecArgs and ClusterResourceSpecTaskResourceSpecOutput values. You can construct a concrete instance of `ClusterResourceSpecTaskResourceSpecInput` via:

ClusterResourceSpecTaskResourceSpecArgs{...}

type ClusterResourceSpecTaskResourceSpecOutput

type ClusterResourceSpecTaskResourceSpecOutput struct{ *pulumi.OutputState }

func (ClusterResourceSpecTaskResourceSpecOutput) Cpu

func (ClusterResourceSpecTaskResourceSpecOutput) DiskSize

func (ClusterResourceSpecTaskResourceSpecOutput) DiskType

func (ClusterResourceSpecTaskResourceSpecOutput) ElementType

func (ClusterResourceSpecTaskResourceSpecOutput) MemSize

func (ClusterResourceSpecTaskResourceSpecOutput) RootSize

func (ClusterResourceSpecTaskResourceSpecOutput) Spec

func (ClusterResourceSpecTaskResourceSpecOutput) StorageType

func (ClusterResourceSpecTaskResourceSpecOutput) ToClusterResourceSpecTaskResourceSpecOutput

func (o ClusterResourceSpecTaskResourceSpecOutput) ToClusterResourceSpecTaskResourceSpecOutput() ClusterResourceSpecTaskResourceSpecOutput

func (ClusterResourceSpecTaskResourceSpecOutput) ToClusterResourceSpecTaskResourceSpecOutputWithContext

func (o ClusterResourceSpecTaskResourceSpecOutput) ToClusterResourceSpecTaskResourceSpecOutputWithContext(ctx context.Context) ClusterResourceSpecTaskResourceSpecOutput

func (ClusterResourceSpecTaskResourceSpecOutput) ToClusterResourceSpecTaskResourceSpecPtrOutput

func (o ClusterResourceSpecTaskResourceSpecOutput) ToClusterResourceSpecTaskResourceSpecPtrOutput() ClusterResourceSpecTaskResourceSpecPtrOutput

func (ClusterResourceSpecTaskResourceSpecOutput) ToClusterResourceSpecTaskResourceSpecPtrOutputWithContext

func (o ClusterResourceSpecTaskResourceSpecOutput) ToClusterResourceSpecTaskResourceSpecPtrOutputWithContext(ctx context.Context) ClusterResourceSpecTaskResourceSpecPtrOutput

type ClusterResourceSpecTaskResourceSpecPtrInput

type ClusterResourceSpecTaskResourceSpecPtrInput interface {
	pulumi.Input

	ToClusterResourceSpecTaskResourceSpecPtrOutput() ClusterResourceSpecTaskResourceSpecPtrOutput
	ToClusterResourceSpecTaskResourceSpecPtrOutputWithContext(context.Context) ClusterResourceSpecTaskResourceSpecPtrOutput
}

ClusterResourceSpecTaskResourceSpecPtrInput is an input type that accepts ClusterResourceSpecTaskResourceSpecArgs, ClusterResourceSpecTaskResourceSpecPtr and ClusterResourceSpecTaskResourceSpecPtrOutput values. You can construct a concrete instance of `ClusterResourceSpecTaskResourceSpecPtrInput` via:

        ClusterResourceSpecTaskResourceSpecArgs{...}

or:

        nil

type ClusterResourceSpecTaskResourceSpecPtrOutput

type ClusterResourceSpecTaskResourceSpecPtrOutput struct{ *pulumi.OutputState }

func (ClusterResourceSpecTaskResourceSpecPtrOutput) Cpu

func (ClusterResourceSpecTaskResourceSpecPtrOutput) DiskSize

func (ClusterResourceSpecTaskResourceSpecPtrOutput) DiskType

func (ClusterResourceSpecTaskResourceSpecPtrOutput) Elem

func (ClusterResourceSpecTaskResourceSpecPtrOutput) ElementType

func (ClusterResourceSpecTaskResourceSpecPtrOutput) MemSize

func (ClusterResourceSpecTaskResourceSpecPtrOutput) RootSize

func (ClusterResourceSpecTaskResourceSpecPtrOutput) Spec

func (ClusterResourceSpecTaskResourceSpecPtrOutput) StorageType

func (ClusterResourceSpecTaskResourceSpecPtrOutput) ToClusterResourceSpecTaskResourceSpecPtrOutput

func (o ClusterResourceSpecTaskResourceSpecPtrOutput) ToClusterResourceSpecTaskResourceSpecPtrOutput() ClusterResourceSpecTaskResourceSpecPtrOutput

func (ClusterResourceSpecTaskResourceSpecPtrOutput) ToClusterResourceSpecTaskResourceSpecPtrOutputWithContext

func (o ClusterResourceSpecTaskResourceSpecPtrOutput) ToClusterResourceSpecTaskResourceSpecPtrOutputWithContext(ctx context.Context) ClusterResourceSpecTaskResourceSpecPtrOutput

type ClusterState

type ClusterState struct {
	// Display strategy of EMR instance.
	DisplayStrategy pulumi.StringPtrInput
	// Access the external file system.
	ExtendFsField pulumi.StringPtrInput
	// Created EMR instance id.
	InstanceId pulumi.StringPtrInput
	// Name of the instance, which can contain 6 to 36 English letters, Chinese characters, digits, dashes(-), or underscores(_).
	InstanceName pulumi.StringPtrInput
	// Instance login settings.
	LoginSettings pulumi.MapInput
	// Whether to enable the cluster Master node public network. Value range:
	// - NEED_MASTER_WAN: Indicates that the cluster Master node public network is enabled.
	// - NOT_NEED_MASTER_WAN: Indicates that it is not turned on.
	//   By default, the cluster Master node internet is enabled.
	NeedMasterWan pulumi.StringPtrInput
	// The pay mode of instance. 0 is pay on an annual basis, 1 is pay on a measure basis.
	PayMode pulumi.IntPtrInput
	// The location of the instance.
	Placement pulumi.MapInput
	// The product id of EMR instance.
	ProductId pulumi.IntPtrInput
	// Resource specification of EMR instance.
	ResourceSpec ClusterResourceSpecPtrInput
	// The ID of the security group to which the instance belongs, in the form of sg-xxxxxxxx.
	SgId pulumi.StringPtrInput
	// The softwares of a EMR instance.
	Softwares pulumi.StringArrayInput
	// The flag whether the instance support high availability.(0=>not support, 1=>support).
	SupportHa pulumi.IntPtrInput
	// The length of time the instance was purchased. Use with TimeUnit.When TimeUnit is s, the parameter can only be filled in at 3600, representing a metered instance.
	// When TimeUnit is m, the number filled in by this parameter indicates the length of purchase of the monthly instance of the package year, such as 1 for one month of purchase.
	TimeSpan pulumi.IntPtrInput
	// The unit of time in which the instance was purchased. When PayMode is 0, TimeUnit can only take values of s(second). When PayMode is 1, TimeUnit can only take the value m(month).
	TimeUnit pulumi.StringPtrInput
	// The private net config of EMR instance.
	VpcSettings pulumi.MapInput
}

func (ClusterState) ElementType

func (ClusterState) ElementType() reflect.Type

type GetInstanceArgs

type GetInstanceArgs struct {
	// Display strategy(e.g.:clusterList, monitorManage).
	DisplayStrategy string `pulumi:"displayStrategy"`
	// fetch all instances with same prefix(e.g.:emr-xxxxxx).
	InstanceIds []string `pulumi:"instanceIds"`
	// Fetch all instances which owner same project. Default 0 meaning use default project id.
	ProjectId *int `pulumi:"projectId"`
	// Used to save results.
	ResultOutputFile *string `pulumi:"resultOutputFile"`
}

A collection of arguments for invoking getInstance.

type GetInstanceCluster

type GetInstanceCluster struct {
	// Add time of instance.
	AddTime string `pulumi:"addTime"`
	// Charge type of instance.
	ChargeType int `pulumi:"chargeType"`
	// Cluster id of instance.
	ClusterId string `pulumi:"clusterId"`
	// Cluster name of instance.
	ClusterName string `pulumi:"clusterName"`
	// Title of instance.
	Ftitle string `pulumi:"ftitle"`
	// Id of instance.
	Id int `pulumi:"id"`
	// Master ip of instance.
	MasterIp string `pulumi:"masterIp"`
	// Fetch all instances which owner same project. Default 0 meaning use default project id.
	ProjectId int `pulumi:"projectId"`
	// Region id of instance.
	RegionId int `pulumi:"regionId"`
	// Status of instance.
	Status int `pulumi:"status"`
	// Zone of instance.
	Zone string `pulumi:"zone"`
	// Zone id of instance.
	ZoneId int `pulumi:"zoneId"`
}

type GetInstanceClusterArgs

type GetInstanceClusterArgs struct {
	// Add time of instance.
	AddTime pulumi.StringInput `pulumi:"addTime"`
	// Charge type of instance.
	ChargeType pulumi.IntInput `pulumi:"chargeType"`
	// Cluster id of instance.
	ClusterId pulumi.StringInput `pulumi:"clusterId"`
	// Cluster name of instance.
	ClusterName pulumi.StringInput `pulumi:"clusterName"`
	// Title of instance.
	Ftitle pulumi.StringInput `pulumi:"ftitle"`
	// Id of instance.
	Id pulumi.IntInput `pulumi:"id"`
	// Master ip of instance.
	MasterIp pulumi.StringInput `pulumi:"masterIp"`
	// Fetch all instances which owner same project. Default 0 meaning use default project id.
	ProjectId pulumi.IntInput `pulumi:"projectId"`
	// Region id of instance.
	RegionId pulumi.IntInput `pulumi:"regionId"`
	// Status of instance.
	Status pulumi.IntInput `pulumi:"status"`
	// Zone of instance.
	Zone pulumi.StringInput `pulumi:"zone"`
	// Zone id of instance.
	ZoneId pulumi.IntInput `pulumi:"zoneId"`
}

func (GetInstanceClusterArgs) ElementType

func (GetInstanceClusterArgs) ElementType() reflect.Type

func (GetInstanceClusterArgs) ToGetInstanceClusterOutput

func (i GetInstanceClusterArgs) ToGetInstanceClusterOutput() GetInstanceClusterOutput

func (GetInstanceClusterArgs) ToGetInstanceClusterOutputWithContext

func (i GetInstanceClusterArgs) ToGetInstanceClusterOutputWithContext(ctx context.Context) GetInstanceClusterOutput

type GetInstanceClusterArray

type GetInstanceClusterArray []GetInstanceClusterInput

func (GetInstanceClusterArray) ElementType

func (GetInstanceClusterArray) ElementType() reflect.Type

func (GetInstanceClusterArray) ToGetInstanceClusterArrayOutput

func (i GetInstanceClusterArray) ToGetInstanceClusterArrayOutput() GetInstanceClusterArrayOutput

func (GetInstanceClusterArray) ToGetInstanceClusterArrayOutputWithContext

func (i GetInstanceClusterArray) ToGetInstanceClusterArrayOutputWithContext(ctx context.Context) GetInstanceClusterArrayOutput

type GetInstanceClusterArrayInput

type GetInstanceClusterArrayInput interface {
	pulumi.Input

	ToGetInstanceClusterArrayOutput() GetInstanceClusterArrayOutput
	ToGetInstanceClusterArrayOutputWithContext(context.Context) GetInstanceClusterArrayOutput
}

GetInstanceClusterArrayInput is an input type that accepts GetInstanceClusterArray and GetInstanceClusterArrayOutput values. You can construct a concrete instance of `GetInstanceClusterArrayInput` via:

GetInstanceClusterArray{ GetInstanceClusterArgs{...} }

type GetInstanceClusterArrayOutput

type GetInstanceClusterArrayOutput struct{ *pulumi.OutputState }

func (GetInstanceClusterArrayOutput) ElementType

func (GetInstanceClusterArrayOutput) Index

func (GetInstanceClusterArrayOutput) ToGetInstanceClusterArrayOutput

func (o GetInstanceClusterArrayOutput) ToGetInstanceClusterArrayOutput() GetInstanceClusterArrayOutput

func (GetInstanceClusterArrayOutput) ToGetInstanceClusterArrayOutputWithContext

func (o GetInstanceClusterArrayOutput) ToGetInstanceClusterArrayOutputWithContext(ctx context.Context) GetInstanceClusterArrayOutput

type GetInstanceClusterInput

type GetInstanceClusterInput interface {
	pulumi.Input

	ToGetInstanceClusterOutput() GetInstanceClusterOutput
	ToGetInstanceClusterOutputWithContext(context.Context) GetInstanceClusterOutput
}

GetInstanceClusterInput is an input type that accepts GetInstanceClusterArgs and GetInstanceClusterOutput values. You can construct a concrete instance of `GetInstanceClusterInput` via:

GetInstanceClusterArgs{...}

type GetInstanceClusterOutput

type GetInstanceClusterOutput struct{ *pulumi.OutputState }

func (GetInstanceClusterOutput) AddTime

Add time of instance.

func (GetInstanceClusterOutput) ChargeType

func (o GetInstanceClusterOutput) ChargeType() pulumi.IntOutput

Charge type of instance.

func (GetInstanceClusterOutput) ClusterId

Cluster id of instance.

func (GetInstanceClusterOutput) ClusterName

Cluster name of instance.

func (GetInstanceClusterOutput) ElementType

func (GetInstanceClusterOutput) ElementType() reflect.Type

func (GetInstanceClusterOutput) Ftitle

Title of instance.

func (GetInstanceClusterOutput) Id

Id of instance.

func (GetInstanceClusterOutput) MasterIp

Master ip of instance.

func (GetInstanceClusterOutput) ProjectId

Fetch all instances which owner same project. Default 0 meaning use default project id.

func (GetInstanceClusterOutput) RegionId

Region id of instance.

func (GetInstanceClusterOutput) Status

Status of instance.

func (GetInstanceClusterOutput) ToGetInstanceClusterOutput

func (o GetInstanceClusterOutput) ToGetInstanceClusterOutput() GetInstanceClusterOutput

func (GetInstanceClusterOutput) ToGetInstanceClusterOutputWithContext

func (o GetInstanceClusterOutput) ToGetInstanceClusterOutputWithContext(ctx context.Context) GetInstanceClusterOutput

func (GetInstanceClusterOutput) Zone

Zone of instance.

func (GetInstanceClusterOutput) ZoneId

Zone id of instance.

type GetInstanceOutputArgs

type GetInstanceOutputArgs struct {
	// Display strategy(e.g.:clusterList, monitorManage).
	DisplayStrategy pulumi.StringInput `pulumi:"displayStrategy"`
	// fetch all instances with same prefix(e.g.:emr-xxxxxx).
	InstanceIds pulumi.StringArrayInput `pulumi:"instanceIds"`
	// Fetch all instances which owner same project. Default 0 meaning use default project id.
	ProjectId pulumi.IntPtrInput `pulumi:"projectId"`
	// Used to save results.
	ResultOutputFile pulumi.StringPtrInput `pulumi:"resultOutputFile"`
}

A collection of arguments for invoking getInstance.

func (GetInstanceOutputArgs) ElementType

func (GetInstanceOutputArgs) ElementType() reflect.Type

type GetInstanceResult

type GetInstanceResult struct {
	// A list of clusters will be exported and its every element contains the following attributes:
	Clusters        []GetInstanceCluster `pulumi:"clusters"`
	DisplayStrategy string               `pulumi:"displayStrategy"`
	// The provider-assigned unique ID for this managed resource.
	Id          string   `pulumi:"id"`
	InstanceIds []string `pulumi:"instanceIds"`
	// Project id of instance.
	ProjectId        *int    `pulumi:"projectId"`
	ResultOutputFile *string `pulumi:"resultOutputFile"`
}

A collection of values returned by getInstance.

func GetInstance

func GetInstance(ctx *pulumi.Context, args *GetInstanceArgs, opts ...pulumi.InvokeOption) (*GetInstanceResult, error)

Provides an available EMR for the user.

The EMR data source fetch proper EMR from user's EMR pool.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-tencentcloud/sdk/go/tencentcloud/Emr"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Emr"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Emr.GetInstance(ctx, &emr.GetInstanceArgs{
			DisplayStrategy: "clusterList",
			InstanceIds: []string{
				"emr-rnzqrleq",
			},
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetInstanceResultOutput

type GetInstanceResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getInstance.

func (GetInstanceResultOutput) Clusters

A list of clusters will be exported and its every element contains the following attributes:

func (GetInstanceResultOutput) DisplayStrategy

func (o GetInstanceResultOutput) DisplayStrategy() pulumi.StringOutput

func (GetInstanceResultOutput) ElementType

func (GetInstanceResultOutput) ElementType() reflect.Type

func (GetInstanceResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetInstanceResultOutput) InstanceIds

func (GetInstanceResultOutput) ProjectId

Project id of instance.

func (GetInstanceResultOutput) ResultOutputFile

func (o GetInstanceResultOutput) ResultOutputFile() pulumi.StringPtrOutput

func (GetInstanceResultOutput) ToGetInstanceResultOutput

func (o GetInstanceResultOutput) ToGetInstanceResultOutput() GetInstanceResultOutput

func (GetInstanceResultOutput) ToGetInstanceResultOutputWithContext

func (o GetInstanceResultOutput) ToGetInstanceResultOutputWithContext(ctx context.Context) GetInstanceResultOutput

type GetNodesArgs

type GetNodesArgs struct {
	// Resource type: Support all/host/pod, default is all.
	HardwareResourceType *string `pulumi:"hardwareResourceType"`
	// Cluster instance ID, the instance ID is as follows: emr-xxxxxxxx.
	InstanceId string `pulumi:"instanceId"`
	// The number returned per page, the default value is 100, and the maximum value is 100.
	Limit *int `pulumi:"limit"`
	// Node ID, the value is:
	// - all: Means to get all type nodes, except cdb information.
	// - master: Indicates that the master node information is obtained.
	// - core: Indicates that the core node information is obtained.
	// - task: indicates obtaining task node information.
	// - common: means to get common node information.
	// - router: Indicates obtaining router node information.
	// - db: Indicates that the cdb information for the normal state is obtained.
	// - recyle: Indicates that the node information in the Recycle Bin isolation, including the cdb information, is obtained.
	// - renew: Indicates that all node information to be renewed, including cddb information, is obtained, and the auto-renewal node will not be returned.
	NodeFlag string `pulumi:"nodeFlag"`
	// Page number, with a default value of 0, represents the first page.
	Offset *int `pulumi:"offset"`
	// Used to save results.
	ResultOutputFile *string `pulumi:"resultOutputFile"`
}

A collection of arguments for invoking getNodes.

type GetNodesNode

type GetNodesNode struct {
	// User APPID.
	AppId int `pulumi:"appId"`
	// Application time.
	ApplyTime string `pulumi:"applyTime"`
	// Whether it is an autoscaling node, 0 is a normal node, and 1 is an autoscaling node.
	AutoFlag int `pulumi:"autoFlag"`
	// Database IP.
	CdbIp string `pulumi:"cdbIp"`
	// Database information.
	CdbNodeInfos []GetNodesNodeCdbNodeInfo `pulumi:"cdbNodeInfos"`
	// Database port.
	CdbPort int `pulumi:"cdbPort"`
	// The type of payment.
	ChargeType int `pulumi:"chargeType"`
	// Number of node cores.
	CpuNum int `pulumi:"cpuNum"`
	// Whether this node is destroyable, 1 can be destroyed, 0 is not destroyable.
	Destroyable int `pulumi:"destroyable"`
	// Device identity.
	DeviceClass string `pulumi:"deviceClass"`
	// Hard disk size.
	DiskSize string `pulumi:"diskSize"`
	// Floating specification value json string.
	DynamicPodSpec string `pulumi:"dynamicPodSpec"`
	// Node resource ID.
	EmrResourceId string `pulumi:"emrResourceId"`
	// Expiration time.
	ExpireTime string `pulumi:"expireTime"`
	// Node type. 0: common node; 1: master node; 2: core node; 3: task node.
	Flag int `pulumi:"flag"`
	// Release time.
	FreeTime string `pulumi:"freeTime"`
	// Resource type: Support all/host/pod, default is all.
	HardwareResourceType string `pulumi:"hardwareResourceType"`
	// Hard disk capacity.
	HwDiskSize int `pulumi:"hwDiskSize"`
	// Hard disk capacity description.
	HwDiskSizeDesc string `pulumi:"hwDiskSizeDesc"`
	// Memory capacity.
	HwMemSize int `pulumi:"hwMemSize"`
	// Memory capacity description.
	HwMemSizeDesc string `pulumi:"hwMemSizeDesc"`
	// Intranet IP.
	Ip string `pulumi:"ip"`
	// Renewal logo.
	IsAutoRenew int `pulumi:"isAutoRenew"`
	// Floating specifications, 1 yes, 0 no.
	IsDynamicSpec int `pulumi:"isDynamicSpec"`
	// Multi-cloud disk.
	McMultiDisks []GetNodesNodeMcMultiDisk `pulumi:"mcMultiDisks"`
	// Node memory description.
	MemDesc string `pulumi:"memDesc"`
	// Node memory.
	MemSize int `pulumi:"memSize"`
	// Supports variations.
	Mutable int `pulumi:"mutable"`
	// Node description.
	NameTag string `pulumi:"nameTag"`
	// Machine instance ID.
	OrderNo string `pulumi:"orderNo"`
	// The node is located in the region.
	RegionId int `pulumi:"regionId"`
	// The size of the system disk.
	RootSize int `pulumi:"rootSize"`
	// Serial number.
	SerialNo string `pulumi:"serialNo"`
	// Node deployment service.
	Services string `pulumi:"services"`
	// Node specifications.
	Spec string `pulumi:"spec"`
	// Disk type.
	StorageType int `pulumi:"storageType"`
	// Whether to support change billing type 1 Yes and 0 No.
	SupportModifyPayMode int `pulumi:"supportModifyPayMode"`
	// The label of the node binding.
	Tags []GetNodesNodeTag `pulumi:"tags"`
	// The master node is bound to the Internet IP address.
	WanIp string `pulumi:"wanIp"`
	// Zone where the node is located.
	ZoneId int `pulumi:"zoneId"`
}

type GetNodesNodeArgs

type GetNodesNodeArgs struct {
	// User APPID.
	AppId pulumi.IntInput `pulumi:"appId"`
	// Application time.
	ApplyTime pulumi.StringInput `pulumi:"applyTime"`
	// Whether it is an autoscaling node, 0 is a normal node, and 1 is an autoscaling node.
	AutoFlag pulumi.IntInput `pulumi:"autoFlag"`
	// Database IP.
	CdbIp pulumi.StringInput `pulumi:"cdbIp"`
	// Database information.
	CdbNodeInfos GetNodesNodeCdbNodeInfoArrayInput `pulumi:"cdbNodeInfos"`
	// Database port.
	CdbPort pulumi.IntInput `pulumi:"cdbPort"`
	// The type of payment.
	ChargeType pulumi.IntInput `pulumi:"chargeType"`
	// Number of node cores.
	CpuNum pulumi.IntInput `pulumi:"cpuNum"`
	// Whether this node is destroyable, 1 can be destroyed, 0 is not destroyable.
	Destroyable pulumi.IntInput `pulumi:"destroyable"`
	// Device identity.
	DeviceClass pulumi.StringInput `pulumi:"deviceClass"`
	// Hard disk size.
	DiskSize pulumi.StringInput `pulumi:"diskSize"`
	// Floating specification value json string.
	DynamicPodSpec pulumi.StringInput `pulumi:"dynamicPodSpec"`
	// Node resource ID.
	EmrResourceId pulumi.StringInput `pulumi:"emrResourceId"`
	// Expiration time.
	ExpireTime pulumi.StringInput `pulumi:"expireTime"`
	// Node type. 0: common node; 1: master node; 2: core node; 3: task node.
	Flag pulumi.IntInput `pulumi:"flag"`
	// Release time.
	FreeTime pulumi.StringInput `pulumi:"freeTime"`
	// Resource type: Support all/host/pod, default is all.
	HardwareResourceType pulumi.StringInput `pulumi:"hardwareResourceType"`
	// Hard disk capacity.
	HwDiskSize pulumi.IntInput `pulumi:"hwDiskSize"`
	// Hard disk capacity description.
	HwDiskSizeDesc pulumi.StringInput `pulumi:"hwDiskSizeDesc"`
	// Memory capacity.
	HwMemSize pulumi.IntInput `pulumi:"hwMemSize"`
	// Memory capacity description.
	HwMemSizeDesc pulumi.StringInput `pulumi:"hwMemSizeDesc"`
	// Intranet IP.
	Ip pulumi.StringInput `pulumi:"ip"`
	// Renewal logo.
	IsAutoRenew pulumi.IntInput `pulumi:"isAutoRenew"`
	// Floating specifications, 1 yes, 0 no.
	IsDynamicSpec pulumi.IntInput `pulumi:"isDynamicSpec"`
	// Multi-cloud disk.
	McMultiDisks GetNodesNodeMcMultiDiskArrayInput `pulumi:"mcMultiDisks"`
	// Node memory description.
	MemDesc pulumi.StringInput `pulumi:"memDesc"`
	// Node memory.
	MemSize pulumi.IntInput `pulumi:"memSize"`
	// Supports variations.
	Mutable pulumi.IntInput `pulumi:"mutable"`
	// Node description.
	NameTag pulumi.StringInput `pulumi:"nameTag"`
	// Machine instance ID.
	OrderNo pulumi.StringInput `pulumi:"orderNo"`
	// The node is located in the region.
	RegionId pulumi.IntInput `pulumi:"regionId"`
	// The size of the system disk.
	RootSize pulumi.IntInput `pulumi:"rootSize"`
	// Serial number.
	SerialNo pulumi.StringInput `pulumi:"serialNo"`
	// Node deployment service.
	Services pulumi.StringInput `pulumi:"services"`
	// Node specifications.
	Spec pulumi.StringInput `pulumi:"spec"`
	// Disk type.
	StorageType pulumi.IntInput `pulumi:"storageType"`
	// Whether to support change billing type 1 Yes and 0 No.
	SupportModifyPayMode pulumi.IntInput `pulumi:"supportModifyPayMode"`
	// The label of the node binding.
	Tags GetNodesNodeTagArrayInput `pulumi:"tags"`
	// The master node is bound to the Internet IP address.
	WanIp pulumi.StringInput `pulumi:"wanIp"`
	// Zone where the node is located.
	ZoneId pulumi.IntInput `pulumi:"zoneId"`
}

func (GetNodesNodeArgs) ElementType

func (GetNodesNodeArgs) ElementType() reflect.Type

func (GetNodesNodeArgs) ToGetNodesNodeOutput

func (i GetNodesNodeArgs) ToGetNodesNodeOutput() GetNodesNodeOutput

func (GetNodesNodeArgs) ToGetNodesNodeOutputWithContext

func (i GetNodesNodeArgs) ToGetNodesNodeOutputWithContext(ctx context.Context) GetNodesNodeOutput

type GetNodesNodeArray

type GetNodesNodeArray []GetNodesNodeInput

func (GetNodesNodeArray) ElementType

func (GetNodesNodeArray) ElementType() reflect.Type

func (GetNodesNodeArray) ToGetNodesNodeArrayOutput

func (i GetNodesNodeArray) ToGetNodesNodeArrayOutput() GetNodesNodeArrayOutput

func (GetNodesNodeArray) ToGetNodesNodeArrayOutputWithContext

func (i GetNodesNodeArray) ToGetNodesNodeArrayOutputWithContext(ctx context.Context) GetNodesNodeArrayOutput

type GetNodesNodeArrayInput

type GetNodesNodeArrayInput interface {
	pulumi.Input

	ToGetNodesNodeArrayOutput() GetNodesNodeArrayOutput
	ToGetNodesNodeArrayOutputWithContext(context.Context) GetNodesNodeArrayOutput
}

GetNodesNodeArrayInput is an input type that accepts GetNodesNodeArray and GetNodesNodeArrayOutput values. You can construct a concrete instance of `GetNodesNodeArrayInput` via:

GetNodesNodeArray{ GetNodesNodeArgs{...} }

type GetNodesNodeArrayOutput

type GetNodesNodeArrayOutput struct{ *pulumi.OutputState }

func (GetNodesNodeArrayOutput) ElementType

func (GetNodesNodeArrayOutput) ElementType() reflect.Type

func (GetNodesNodeArrayOutput) Index

func (GetNodesNodeArrayOutput) ToGetNodesNodeArrayOutput

func (o GetNodesNodeArrayOutput) ToGetNodesNodeArrayOutput() GetNodesNodeArrayOutput

func (GetNodesNodeArrayOutput) ToGetNodesNodeArrayOutputWithContext

func (o GetNodesNodeArrayOutput) ToGetNodesNodeArrayOutputWithContext(ctx context.Context) GetNodesNodeArrayOutput

type GetNodesNodeCdbNodeInfo

type GetNodesNodeCdbNodeInfo struct {
	// Application time.
	ApplyTime string `pulumi:"applyTime"`
	// Expired id.
	ExpireFlag bool `pulumi:"expireFlag"`
	// Expiration time.
	ExpireTime string `pulumi:"expireTime"`
	// DB instance.
	InstanceName string `pulumi:"instanceName"`
	// Intranet IP.
	Ip string `pulumi:"ip"`
	// Renewal logo.
	IsAutoRenew int `pulumi:"isAutoRenew"`
	// Node memory.
	MemSize int `pulumi:"memSize"`
	// The type of payment.
	PayType int `pulumi:"payType"`
	// Database port.
	Port int `pulumi:"port"`
	// The node is located in the region.
	RegionId int `pulumi:"regionId"`
	// Serial number.
	SerialNo string `pulumi:"serialNo"`
	// The service identity.
	Service string `pulumi:"service"`
	// Database status.
	Status int `pulumi:"status"`
	// The size of the cloud disk.
	Volume int `pulumi:"volume"`
	// Zone where the node is located.
	ZoneId int `pulumi:"zoneId"`
}

type GetNodesNodeCdbNodeInfoArgs

type GetNodesNodeCdbNodeInfoArgs struct {
	// Application time.
	ApplyTime pulumi.StringInput `pulumi:"applyTime"`
	// Expired id.
	ExpireFlag pulumi.BoolInput `pulumi:"expireFlag"`
	// Expiration time.
	ExpireTime pulumi.StringInput `pulumi:"expireTime"`
	// DB instance.
	InstanceName pulumi.StringInput `pulumi:"instanceName"`
	// Intranet IP.
	Ip pulumi.StringInput `pulumi:"ip"`
	// Renewal logo.
	IsAutoRenew pulumi.IntInput `pulumi:"isAutoRenew"`
	// Node memory.
	MemSize pulumi.IntInput `pulumi:"memSize"`
	// The type of payment.
	PayType pulumi.IntInput `pulumi:"payType"`
	// Database port.
	Port pulumi.IntInput `pulumi:"port"`
	// The node is located in the region.
	RegionId pulumi.IntInput `pulumi:"regionId"`
	// Serial number.
	SerialNo pulumi.StringInput `pulumi:"serialNo"`
	// The service identity.
	Service pulumi.StringInput `pulumi:"service"`
	// Database status.
	Status pulumi.IntInput `pulumi:"status"`
	// The size of the cloud disk.
	Volume pulumi.IntInput `pulumi:"volume"`
	// Zone where the node is located.
	ZoneId pulumi.IntInput `pulumi:"zoneId"`
}

func (GetNodesNodeCdbNodeInfoArgs) ElementType

func (GetNodesNodeCdbNodeInfoArgs) ToGetNodesNodeCdbNodeInfoOutput

func (i GetNodesNodeCdbNodeInfoArgs) ToGetNodesNodeCdbNodeInfoOutput() GetNodesNodeCdbNodeInfoOutput

func (GetNodesNodeCdbNodeInfoArgs) ToGetNodesNodeCdbNodeInfoOutputWithContext

func (i GetNodesNodeCdbNodeInfoArgs) ToGetNodesNodeCdbNodeInfoOutputWithContext(ctx context.Context) GetNodesNodeCdbNodeInfoOutput

type GetNodesNodeCdbNodeInfoArray

type GetNodesNodeCdbNodeInfoArray []GetNodesNodeCdbNodeInfoInput

func (GetNodesNodeCdbNodeInfoArray) ElementType

func (GetNodesNodeCdbNodeInfoArray) ToGetNodesNodeCdbNodeInfoArrayOutput

func (i GetNodesNodeCdbNodeInfoArray) ToGetNodesNodeCdbNodeInfoArrayOutput() GetNodesNodeCdbNodeInfoArrayOutput

func (GetNodesNodeCdbNodeInfoArray) ToGetNodesNodeCdbNodeInfoArrayOutputWithContext

func (i GetNodesNodeCdbNodeInfoArray) ToGetNodesNodeCdbNodeInfoArrayOutputWithContext(ctx context.Context) GetNodesNodeCdbNodeInfoArrayOutput

type GetNodesNodeCdbNodeInfoArrayInput

type GetNodesNodeCdbNodeInfoArrayInput interface {
	pulumi.Input

	ToGetNodesNodeCdbNodeInfoArrayOutput() GetNodesNodeCdbNodeInfoArrayOutput
	ToGetNodesNodeCdbNodeInfoArrayOutputWithContext(context.Context) GetNodesNodeCdbNodeInfoArrayOutput
}

GetNodesNodeCdbNodeInfoArrayInput is an input type that accepts GetNodesNodeCdbNodeInfoArray and GetNodesNodeCdbNodeInfoArrayOutput values. You can construct a concrete instance of `GetNodesNodeCdbNodeInfoArrayInput` via:

GetNodesNodeCdbNodeInfoArray{ GetNodesNodeCdbNodeInfoArgs{...} }

type GetNodesNodeCdbNodeInfoArrayOutput

type GetNodesNodeCdbNodeInfoArrayOutput struct{ *pulumi.OutputState }

func (GetNodesNodeCdbNodeInfoArrayOutput) ElementType

func (GetNodesNodeCdbNodeInfoArrayOutput) Index

func (GetNodesNodeCdbNodeInfoArrayOutput) ToGetNodesNodeCdbNodeInfoArrayOutput

func (o GetNodesNodeCdbNodeInfoArrayOutput) ToGetNodesNodeCdbNodeInfoArrayOutput() GetNodesNodeCdbNodeInfoArrayOutput

func (GetNodesNodeCdbNodeInfoArrayOutput) ToGetNodesNodeCdbNodeInfoArrayOutputWithContext

func (o GetNodesNodeCdbNodeInfoArrayOutput) ToGetNodesNodeCdbNodeInfoArrayOutputWithContext(ctx context.Context) GetNodesNodeCdbNodeInfoArrayOutput

type GetNodesNodeCdbNodeInfoInput

type GetNodesNodeCdbNodeInfoInput interface {
	pulumi.Input

	ToGetNodesNodeCdbNodeInfoOutput() GetNodesNodeCdbNodeInfoOutput
	ToGetNodesNodeCdbNodeInfoOutputWithContext(context.Context) GetNodesNodeCdbNodeInfoOutput
}

GetNodesNodeCdbNodeInfoInput is an input type that accepts GetNodesNodeCdbNodeInfoArgs and GetNodesNodeCdbNodeInfoOutput values. You can construct a concrete instance of `GetNodesNodeCdbNodeInfoInput` via:

GetNodesNodeCdbNodeInfoArgs{...}

type GetNodesNodeCdbNodeInfoOutput

type GetNodesNodeCdbNodeInfoOutput struct{ *pulumi.OutputState }

func (GetNodesNodeCdbNodeInfoOutput) ApplyTime

Application time.

func (GetNodesNodeCdbNodeInfoOutput) ElementType

func (GetNodesNodeCdbNodeInfoOutput) ExpireFlag

Expired id.

func (GetNodesNodeCdbNodeInfoOutput) ExpireTime

Expiration time.

func (GetNodesNodeCdbNodeInfoOutput) InstanceName

DB instance.

func (GetNodesNodeCdbNodeInfoOutput) Ip

Intranet IP.

func (GetNodesNodeCdbNodeInfoOutput) IsAutoRenew

Renewal logo.

func (GetNodesNodeCdbNodeInfoOutput) MemSize

Node memory.

func (GetNodesNodeCdbNodeInfoOutput) PayType

The type of payment.

func (GetNodesNodeCdbNodeInfoOutput) Port

Database port.

func (GetNodesNodeCdbNodeInfoOutput) RegionId

The node is located in the region.

func (GetNodesNodeCdbNodeInfoOutput) SerialNo

Serial number.

func (GetNodesNodeCdbNodeInfoOutput) Service

The service identity.

func (GetNodesNodeCdbNodeInfoOutput) Status

Database status.

func (GetNodesNodeCdbNodeInfoOutput) ToGetNodesNodeCdbNodeInfoOutput

func (o GetNodesNodeCdbNodeInfoOutput) ToGetNodesNodeCdbNodeInfoOutput() GetNodesNodeCdbNodeInfoOutput

func (GetNodesNodeCdbNodeInfoOutput) ToGetNodesNodeCdbNodeInfoOutputWithContext

func (o GetNodesNodeCdbNodeInfoOutput) ToGetNodesNodeCdbNodeInfoOutputWithContext(ctx context.Context) GetNodesNodeCdbNodeInfoOutput

func (GetNodesNodeCdbNodeInfoOutput) Volume

The size of the cloud disk.

func (GetNodesNodeCdbNodeInfoOutput) ZoneId

Zone where the node is located.

type GetNodesNodeInput

type GetNodesNodeInput interface {
	pulumi.Input

	ToGetNodesNodeOutput() GetNodesNodeOutput
	ToGetNodesNodeOutputWithContext(context.Context) GetNodesNodeOutput
}

GetNodesNodeInput is an input type that accepts GetNodesNodeArgs and GetNodesNodeOutput values. You can construct a concrete instance of `GetNodesNodeInput` via:

GetNodesNodeArgs{...}

type GetNodesNodeMcMultiDisk

type GetNodesNodeMcMultiDisk struct {
	// The number of cloud disks of this type.
	Count int `pulumi:"count"`
	// Disk type.
	Type int `pulumi:"type"`
	// The size of the cloud disk.
	Volume int `pulumi:"volume"`
}

type GetNodesNodeMcMultiDiskArgs

type GetNodesNodeMcMultiDiskArgs struct {
	// The number of cloud disks of this type.
	Count pulumi.IntInput `pulumi:"count"`
	// Disk type.
	Type pulumi.IntInput `pulumi:"type"`
	// The size of the cloud disk.
	Volume pulumi.IntInput `pulumi:"volume"`
}

func (GetNodesNodeMcMultiDiskArgs) ElementType

func (GetNodesNodeMcMultiDiskArgs) ToGetNodesNodeMcMultiDiskOutput

func (i GetNodesNodeMcMultiDiskArgs) ToGetNodesNodeMcMultiDiskOutput() GetNodesNodeMcMultiDiskOutput

func (GetNodesNodeMcMultiDiskArgs) ToGetNodesNodeMcMultiDiskOutputWithContext

func (i GetNodesNodeMcMultiDiskArgs) ToGetNodesNodeMcMultiDiskOutputWithContext(ctx context.Context) GetNodesNodeMcMultiDiskOutput

type GetNodesNodeMcMultiDiskArray

type GetNodesNodeMcMultiDiskArray []GetNodesNodeMcMultiDiskInput

func (GetNodesNodeMcMultiDiskArray) ElementType

func (GetNodesNodeMcMultiDiskArray) ToGetNodesNodeMcMultiDiskArrayOutput

func (i GetNodesNodeMcMultiDiskArray) ToGetNodesNodeMcMultiDiskArrayOutput() GetNodesNodeMcMultiDiskArrayOutput

func (GetNodesNodeMcMultiDiskArray) ToGetNodesNodeMcMultiDiskArrayOutputWithContext

func (i GetNodesNodeMcMultiDiskArray) ToGetNodesNodeMcMultiDiskArrayOutputWithContext(ctx context.Context) GetNodesNodeMcMultiDiskArrayOutput

type GetNodesNodeMcMultiDiskArrayInput

type GetNodesNodeMcMultiDiskArrayInput interface {
	pulumi.Input

	ToGetNodesNodeMcMultiDiskArrayOutput() GetNodesNodeMcMultiDiskArrayOutput
	ToGetNodesNodeMcMultiDiskArrayOutputWithContext(context.Context) GetNodesNodeMcMultiDiskArrayOutput
}

GetNodesNodeMcMultiDiskArrayInput is an input type that accepts GetNodesNodeMcMultiDiskArray and GetNodesNodeMcMultiDiskArrayOutput values. You can construct a concrete instance of `GetNodesNodeMcMultiDiskArrayInput` via:

GetNodesNodeMcMultiDiskArray{ GetNodesNodeMcMultiDiskArgs{...} }

type GetNodesNodeMcMultiDiskArrayOutput

type GetNodesNodeMcMultiDiskArrayOutput struct{ *pulumi.OutputState }

func (GetNodesNodeMcMultiDiskArrayOutput) ElementType

func (GetNodesNodeMcMultiDiskArrayOutput) Index

func (GetNodesNodeMcMultiDiskArrayOutput) ToGetNodesNodeMcMultiDiskArrayOutput

func (o GetNodesNodeMcMultiDiskArrayOutput) ToGetNodesNodeMcMultiDiskArrayOutput() GetNodesNodeMcMultiDiskArrayOutput

func (GetNodesNodeMcMultiDiskArrayOutput) ToGetNodesNodeMcMultiDiskArrayOutputWithContext

func (o GetNodesNodeMcMultiDiskArrayOutput) ToGetNodesNodeMcMultiDiskArrayOutputWithContext(ctx context.Context) GetNodesNodeMcMultiDiskArrayOutput

type GetNodesNodeMcMultiDiskInput

type GetNodesNodeMcMultiDiskInput interface {
	pulumi.Input

	ToGetNodesNodeMcMultiDiskOutput() GetNodesNodeMcMultiDiskOutput
	ToGetNodesNodeMcMultiDiskOutputWithContext(context.Context) GetNodesNodeMcMultiDiskOutput
}

GetNodesNodeMcMultiDiskInput is an input type that accepts GetNodesNodeMcMultiDiskArgs and GetNodesNodeMcMultiDiskOutput values. You can construct a concrete instance of `GetNodesNodeMcMultiDiskInput` via:

GetNodesNodeMcMultiDiskArgs{...}

type GetNodesNodeMcMultiDiskOutput

type GetNodesNodeMcMultiDiskOutput struct{ *pulumi.OutputState }

func (GetNodesNodeMcMultiDiskOutput) Count

The number of cloud disks of this type.

func (GetNodesNodeMcMultiDiskOutput) ElementType

func (GetNodesNodeMcMultiDiskOutput) ToGetNodesNodeMcMultiDiskOutput

func (o GetNodesNodeMcMultiDiskOutput) ToGetNodesNodeMcMultiDiskOutput() GetNodesNodeMcMultiDiskOutput

func (GetNodesNodeMcMultiDiskOutput) ToGetNodesNodeMcMultiDiskOutputWithContext

func (o GetNodesNodeMcMultiDiskOutput) ToGetNodesNodeMcMultiDiskOutputWithContext(ctx context.Context) GetNodesNodeMcMultiDiskOutput

func (GetNodesNodeMcMultiDiskOutput) Type

Disk type.

func (GetNodesNodeMcMultiDiskOutput) Volume

The size of the cloud disk.

type GetNodesNodeOutput

type GetNodesNodeOutput struct{ *pulumi.OutputState }

func (GetNodesNodeOutput) AppId

User APPID.

func (GetNodesNodeOutput) ApplyTime

func (o GetNodesNodeOutput) ApplyTime() pulumi.StringOutput

Application time.

func (GetNodesNodeOutput) AutoFlag

func (o GetNodesNodeOutput) AutoFlag() pulumi.IntOutput

Whether it is an autoscaling node, 0 is a normal node, and 1 is an autoscaling node.

func (GetNodesNodeOutput) CdbIp

Database IP.

func (GetNodesNodeOutput) CdbNodeInfos

Database information.

func (GetNodesNodeOutput) CdbPort

func (o GetNodesNodeOutput) CdbPort() pulumi.IntOutput

Database port.

func (GetNodesNodeOutput) ChargeType

func (o GetNodesNodeOutput) ChargeType() pulumi.IntOutput

The type of payment.

func (GetNodesNodeOutput) CpuNum

func (o GetNodesNodeOutput) CpuNum() pulumi.IntOutput

Number of node cores.

func (GetNodesNodeOutput) Destroyable

func (o GetNodesNodeOutput) Destroyable() pulumi.IntOutput

Whether this node is destroyable, 1 can be destroyed, 0 is not destroyable.

func (GetNodesNodeOutput) DeviceClass

func (o GetNodesNodeOutput) DeviceClass() pulumi.StringOutput

Device identity.

func (GetNodesNodeOutput) DiskSize

func (o GetNodesNodeOutput) DiskSize() pulumi.StringOutput

Hard disk size.

func (GetNodesNodeOutput) DynamicPodSpec

func (o GetNodesNodeOutput) DynamicPodSpec() pulumi.StringOutput

Floating specification value json string.

func (GetNodesNodeOutput) ElementType

func (GetNodesNodeOutput) ElementType() reflect.Type

func (GetNodesNodeOutput) EmrResourceId

func (o GetNodesNodeOutput) EmrResourceId() pulumi.StringOutput

Node resource ID.

func (GetNodesNodeOutput) ExpireTime

func (o GetNodesNodeOutput) ExpireTime() pulumi.StringOutput

Expiration time.

func (GetNodesNodeOutput) Flag

Node type. 0: common node; 1: master node; 2: core node; 3: task node.

func (GetNodesNodeOutput) FreeTime

func (o GetNodesNodeOutput) FreeTime() pulumi.StringOutput

Release time.

func (GetNodesNodeOutput) HardwareResourceType

func (o GetNodesNodeOutput) HardwareResourceType() pulumi.StringOutput

Resource type: Support all/host/pod, default is all.

func (GetNodesNodeOutput) HwDiskSize

func (o GetNodesNodeOutput) HwDiskSize() pulumi.IntOutput

Hard disk capacity.

func (GetNodesNodeOutput) HwDiskSizeDesc

func (o GetNodesNodeOutput) HwDiskSizeDesc() pulumi.StringOutput

Hard disk capacity description.

func (GetNodesNodeOutput) HwMemSize

func (o GetNodesNodeOutput) HwMemSize() pulumi.IntOutput

Memory capacity.

func (GetNodesNodeOutput) HwMemSizeDesc

func (o GetNodesNodeOutput) HwMemSizeDesc() pulumi.StringOutput

Memory capacity description.

func (GetNodesNodeOutput) Ip

Intranet IP.

func (GetNodesNodeOutput) IsAutoRenew

func (o GetNodesNodeOutput) IsAutoRenew() pulumi.IntOutput

Renewal logo.

func (GetNodesNodeOutput) IsDynamicSpec

func (o GetNodesNodeOutput) IsDynamicSpec() pulumi.IntOutput

Floating specifications, 1 yes, 0 no.

func (GetNodesNodeOutput) McMultiDisks

Multi-cloud disk.

func (GetNodesNodeOutput) MemDesc

Node memory description.

func (GetNodesNodeOutput) MemSize

func (o GetNodesNodeOutput) MemSize() pulumi.IntOutput

Node memory.

func (GetNodesNodeOutput) Mutable

func (o GetNodesNodeOutput) Mutable() pulumi.IntOutput

Supports variations.

func (GetNodesNodeOutput) NameTag

Node description.

func (GetNodesNodeOutput) OrderNo

Machine instance ID.

func (GetNodesNodeOutput) RegionId

func (o GetNodesNodeOutput) RegionId() pulumi.IntOutput

The node is located in the region.

func (GetNodesNodeOutput) RootSize

func (o GetNodesNodeOutput) RootSize() pulumi.IntOutput

The size of the system disk.

func (GetNodesNodeOutput) SerialNo

func (o GetNodesNodeOutput) SerialNo() pulumi.StringOutput

Serial number.

func (GetNodesNodeOutput) Services

func (o GetNodesNodeOutput) Services() pulumi.StringOutput

Node deployment service.

func (GetNodesNodeOutput) Spec

Node specifications.

func (GetNodesNodeOutput) StorageType

func (o GetNodesNodeOutput) StorageType() pulumi.IntOutput

Disk type.

func (GetNodesNodeOutput) SupportModifyPayMode

func (o GetNodesNodeOutput) SupportModifyPayMode() pulumi.IntOutput

Whether to support change billing type 1 Yes and 0 No.

func (GetNodesNodeOutput) Tags

The label of the node binding.

func (GetNodesNodeOutput) ToGetNodesNodeOutput

func (o GetNodesNodeOutput) ToGetNodesNodeOutput() GetNodesNodeOutput

func (GetNodesNodeOutput) ToGetNodesNodeOutputWithContext

func (o GetNodesNodeOutput) ToGetNodesNodeOutputWithContext(ctx context.Context) GetNodesNodeOutput

func (GetNodesNodeOutput) WanIp

The master node is bound to the Internet IP address.

func (GetNodesNodeOutput) ZoneId

func (o GetNodesNodeOutput) ZoneId() pulumi.IntOutput

Zone where the node is located.

type GetNodesNodeTag

type GetNodesNodeTag struct {
	// Tag key.
	TagKey string `pulumi:"tagKey"`
	// Tag value.
	TagValue string `pulumi:"tagValue"`
}

type GetNodesNodeTagArgs

type GetNodesNodeTagArgs struct {
	// Tag key.
	TagKey pulumi.StringInput `pulumi:"tagKey"`
	// Tag value.
	TagValue pulumi.StringInput `pulumi:"tagValue"`
}

func (GetNodesNodeTagArgs) ElementType

func (GetNodesNodeTagArgs) ElementType() reflect.Type

func (GetNodesNodeTagArgs) ToGetNodesNodeTagOutput

func (i GetNodesNodeTagArgs) ToGetNodesNodeTagOutput() GetNodesNodeTagOutput

func (GetNodesNodeTagArgs) ToGetNodesNodeTagOutputWithContext

func (i GetNodesNodeTagArgs) ToGetNodesNodeTagOutputWithContext(ctx context.Context) GetNodesNodeTagOutput

type GetNodesNodeTagArray

type GetNodesNodeTagArray []GetNodesNodeTagInput

func (GetNodesNodeTagArray) ElementType

func (GetNodesNodeTagArray) ElementType() reflect.Type

func (GetNodesNodeTagArray) ToGetNodesNodeTagArrayOutput

func (i GetNodesNodeTagArray) ToGetNodesNodeTagArrayOutput() GetNodesNodeTagArrayOutput

func (GetNodesNodeTagArray) ToGetNodesNodeTagArrayOutputWithContext

func (i GetNodesNodeTagArray) ToGetNodesNodeTagArrayOutputWithContext(ctx context.Context) GetNodesNodeTagArrayOutput

type GetNodesNodeTagArrayInput

type GetNodesNodeTagArrayInput interface {
	pulumi.Input

	ToGetNodesNodeTagArrayOutput() GetNodesNodeTagArrayOutput
	ToGetNodesNodeTagArrayOutputWithContext(context.Context) GetNodesNodeTagArrayOutput
}

GetNodesNodeTagArrayInput is an input type that accepts GetNodesNodeTagArray and GetNodesNodeTagArrayOutput values. You can construct a concrete instance of `GetNodesNodeTagArrayInput` via:

GetNodesNodeTagArray{ GetNodesNodeTagArgs{...} }

type GetNodesNodeTagArrayOutput

type GetNodesNodeTagArrayOutput struct{ *pulumi.OutputState }

func (GetNodesNodeTagArrayOutput) ElementType

func (GetNodesNodeTagArrayOutput) ElementType() reflect.Type

func (GetNodesNodeTagArrayOutput) Index

func (GetNodesNodeTagArrayOutput) ToGetNodesNodeTagArrayOutput

func (o GetNodesNodeTagArrayOutput) ToGetNodesNodeTagArrayOutput() GetNodesNodeTagArrayOutput

func (GetNodesNodeTagArrayOutput) ToGetNodesNodeTagArrayOutputWithContext

func (o GetNodesNodeTagArrayOutput) ToGetNodesNodeTagArrayOutputWithContext(ctx context.Context) GetNodesNodeTagArrayOutput

type GetNodesNodeTagInput

type GetNodesNodeTagInput interface {
	pulumi.Input

	ToGetNodesNodeTagOutput() GetNodesNodeTagOutput
	ToGetNodesNodeTagOutputWithContext(context.Context) GetNodesNodeTagOutput
}

GetNodesNodeTagInput is an input type that accepts GetNodesNodeTagArgs and GetNodesNodeTagOutput values. You can construct a concrete instance of `GetNodesNodeTagInput` via:

GetNodesNodeTagArgs{...}

type GetNodesNodeTagOutput

type GetNodesNodeTagOutput struct{ *pulumi.OutputState }

func (GetNodesNodeTagOutput) ElementType

func (GetNodesNodeTagOutput) ElementType() reflect.Type

func (GetNodesNodeTagOutput) TagKey

Tag key.

func (GetNodesNodeTagOutput) TagValue

Tag value.

func (GetNodesNodeTagOutput) ToGetNodesNodeTagOutput

func (o GetNodesNodeTagOutput) ToGetNodesNodeTagOutput() GetNodesNodeTagOutput

func (GetNodesNodeTagOutput) ToGetNodesNodeTagOutputWithContext

func (o GetNodesNodeTagOutput) ToGetNodesNodeTagOutputWithContext(ctx context.Context) GetNodesNodeTagOutput

type GetNodesOutputArgs

type GetNodesOutputArgs struct {
	// Resource type: Support all/host/pod, default is all.
	HardwareResourceType pulumi.StringPtrInput `pulumi:"hardwareResourceType"`
	// Cluster instance ID, the instance ID is as follows: emr-xxxxxxxx.
	InstanceId pulumi.StringInput `pulumi:"instanceId"`
	// The number returned per page, the default value is 100, and the maximum value is 100.
	Limit pulumi.IntPtrInput `pulumi:"limit"`
	// Node ID, the value is:
	// - all: Means to get all type nodes, except cdb information.
	// - master: Indicates that the master node information is obtained.
	// - core: Indicates that the core node information is obtained.
	// - task: indicates obtaining task node information.
	// - common: means to get common node information.
	// - router: Indicates obtaining router node information.
	// - db: Indicates that the cdb information for the normal state is obtained.
	// - recyle: Indicates that the node information in the Recycle Bin isolation, including the cdb information, is obtained.
	// - renew: Indicates that all node information to be renewed, including cddb information, is obtained, and the auto-renewal node will not be returned.
	NodeFlag pulumi.StringInput `pulumi:"nodeFlag"`
	// Page number, with a default value of 0, represents the first page.
	Offset pulumi.IntPtrInput `pulumi:"offset"`
	// Used to save results.
	ResultOutputFile pulumi.StringPtrInput `pulumi:"resultOutputFile"`
}

A collection of arguments for invoking getNodes.

func (GetNodesOutputArgs) ElementType

func (GetNodesOutputArgs) ElementType() reflect.Type

type GetNodesResult

type GetNodesResult struct {
	// Resource type, host/pod.
	HardwareResourceType *string `pulumi:"hardwareResourceType"`
	// The provider-assigned unique ID for this managed resource.
	Id         string `pulumi:"id"`
	InstanceId string `pulumi:"instanceId"`
	Limit      *int   `pulumi:"limit"`
	NodeFlag   string `pulumi:"nodeFlag"`
	// List of node details.
	Nodes            []GetNodesNode `pulumi:"nodes"`
	Offset           *int           `pulumi:"offset"`
	ResultOutputFile *string        `pulumi:"resultOutputFile"`
}

A collection of values returned by getNodes.

func GetNodes

func GetNodes(ctx *pulumi.Context, args *GetNodesArgs, opts ...pulumi.InvokeOption) (*GetNodesResult, error)

Provides an available EMR for the user.

The EMR data source obtain the hardware node information by using the emr cluster ID.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-tencentcloud/sdk/go/tencentcloud/Emr"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Emr"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Emr.GetNodes(ctx, &emr.GetNodesArgs{
			InstanceId: "emr-rnzqrleq",
			NodeFlag:   "master",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetNodesResultOutput

type GetNodesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getNodes.

func (GetNodesResultOutput) ElementType

func (GetNodesResultOutput) ElementType() reflect.Type

func (GetNodesResultOutput) HardwareResourceType

func (o GetNodesResultOutput) HardwareResourceType() pulumi.StringPtrOutput

Resource type, host/pod.

func (GetNodesResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetNodesResultOutput) InstanceId

func (o GetNodesResultOutput) InstanceId() pulumi.StringOutput

func (GetNodesResultOutput) Limit

func (GetNodesResultOutput) NodeFlag

func (GetNodesResultOutput) Nodes

List of node details.

func (GetNodesResultOutput) Offset

func (GetNodesResultOutput) ResultOutputFile

func (o GetNodesResultOutput) ResultOutputFile() pulumi.StringPtrOutput

func (GetNodesResultOutput) ToGetNodesResultOutput

func (o GetNodesResultOutput) ToGetNodesResultOutput() GetNodesResultOutput

func (GetNodesResultOutput) ToGetNodesResultOutputWithContext

func (o GetNodesResultOutput) ToGetNodesResultOutputWithContext(ctx context.Context) GetNodesResultOutput

Jump to

Keyboard shortcuts

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