hbase

package
v2.3.3 Latest Latest
Warning

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

Go to latest
Published: May 1, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GetInstancesArgs

type GetInstancesArgs struct {
	// Instance availability zone.
	AvailabilityZone *string `pulumi:"availabilityZone"`
	// The ids list of HBase instances
	Ids []string `pulumi:"ids"`
	// A regex string to apply to the instance name.
	NameRegex  *string `pulumi:"nameRegex"`
	OutputFile *string `pulumi:"outputFile"`
	// A mapping of tags to assign to the resource.
	Tags map[string]interface{} `pulumi:"tags"`
}

A collection of arguments for invoking getInstances.

type GetInstancesInstance

type GetInstancesInstance struct {
	// the Backup Status of the instance.
	BackupStatus string `pulumi:"backupStatus"`
	// core node disk size, unit:GB.
	CoreDiskSize int `pulumi:"coreDiskSize"`
	// cloud_ssd or cloud_efficiency
	CoreDiskType string `pulumi:"coreDiskType"`
	// hbase.sn1.large, hbase.sn1.large, hbase.n1.2xlarge and so on.
	CoreInstanceType string `pulumi:"coreInstanceType"`
	// same with "coreInstanceQuantity"
	CoreNodeCount int    `pulumi:"coreNodeCount"`
	CreatedTime   string `pulumi:"createdTime"`
	// the switch of delete protection.
	DeletionProtection bool `pulumi:"deletionProtection"`
	// the engine of the instance.
	Engine string `pulumi:"engine"`
	// the engineVersion of the instance.
	EngineVersion string `pulumi:"engineVersion"`
	// the expire time of the instance.
	ExpireTime string `pulumi:"expireTime"`
	// The ID of the HBase instance.
	Id string `pulumi:"id"`
	// hbase.sn1.large, hbase.sn1.large, hbase.n1.2xlarge and so on.
	MasterInstanceType string `pulumi:"masterInstanceType"`
	// the node count of master
	MasterNodeCount int `pulumi:"masterNodeCount"`
	// The name of the HBase instance.
	Name string `pulumi:"name"`
	// Classic network or VPC.
	NetworkType string `pulumi:"networkType"`
	// Billing method. Value options are `PostPaid` for  Pay-As-You-Go and `PrePaid` for yearly or monthly subscription.
	PayType string `pulumi:"payType"`
	// Region ID the instance belongs to.
	RegionId string `pulumi:"regionId"`
	// Status of the instance.
	Status string `pulumi:"status"`
	// A mapping of tags to assign to the resource.
	Tags map[string]interface{} `pulumi:"tags"`
	// VPC ID the instance belongs to.
	VpcId string `pulumi:"vpcId"`
	// VSwitch ID the instance belongs to.
	VswitchId string `pulumi:"vswitchId"`
	// Zone ID the instance belongs to.
	ZoneId string `pulumi:"zoneId"`
}

type GetInstancesInstanceArgs

type GetInstancesInstanceArgs struct {
	// the Backup Status of the instance.
	BackupStatus pulumi.StringInput `pulumi:"backupStatus"`
	// core node disk size, unit:GB.
	CoreDiskSize pulumi.IntInput `pulumi:"coreDiskSize"`
	// cloud_ssd or cloud_efficiency
	CoreDiskType pulumi.StringInput `pulumi:"coreDiskType"`
	// hbase.sn1.large, hbase.sn1.large, hbase.n1.2xlarge and so on.
	CoreInstanceType pulumi.StringInput `pulumi:"coreInstanceType"`
	// same with "coreInstanceQuantity"
	CoreNodeCount pulumi.IntInput    `pulumi:"coreNodeCount"`
	CreatedTime   pulumi.StringInput `pulumi:"createdTime"`
	// the switch of delete protection.
	DeletionProtection pulumi.BoolInput `pulumi:"deletionProtection"`
	// the engine of the instance.
	Engine pulumi.StringInput `pulumi:"engine"`
	// the engineVersion of the instance.
	EngineVersion pulumi.StringInput `pulumi:"engineVersion"`
	// the expire time of the instance.
	ExpireTime pulumi.StringInput `pulumi:"expireTime"`
	// The ID of the HBase instance.
	Id pulumi.StringInput `pulumi:"id"`
	// hbase.sn1.large, hbase.sn1.large, hbase.n1.2xlarge and so on.
	MasterInstanceType pulumi.StringInput `pulumi:"masterInstanceType"`
	// the node count of master
	MasterNodeCount pulumi.IntInput `pulumi:"masterNodeCount"`
	// The name of the HBase instance.
	Name pulumi.StringInput `pulumi:"name"`
	// Classic network or VPC.
	NetworkType pulumi.StringInput `pulumi:"networkType"`
	// Billing method. Value options are `PostPaid` for  Pay-As-You-Go and `PrePaid` for yearly or monthly subscription.
	PayType pulumi.StringInput `pulumi:"payType"`
	// Region ID the instance belongs to.
	RegionId pulumi.StringInput `pulumi:"regionId"`
	// Status of the instance.
	Status pulumi.StringInput `pulumi:"status"`
	// A mapping of tags to assign to the resource.
	Tags pulumi.MapInput `pulumi:"tags"`
	// VPC ID the instance belongs to.
	VpcId pulumi.StringInput `pulumi:"vpcId"`
	// VSwitch ID the instance belongs to.
	VswitchId pulumi.StringInput `pulumi:"vswitchId"`
	// Zone ID the instance belongs to.
	ZoneId pulumi.StringInput `pulumi:"zoneId"`
}

func (GetInstancesInstanceArgs) ElementType

func (GetInstancesInstanceArgs) ElementType() reflect.Type

func (GetInstancesInstanceArgs) ToGetInstancesInstanceOutput

func (i GetInstancesInstanceArgs) ToGetInstancesInstanceOutput() GetInstancesInstanceOutput

func (GetInstancesInstanceArgs) ToGetInstancesInstanceOutputWithContext

func (i GetInstancesInstanceArgs) ToGetInstancesInstanceOutputWithContext(ctx context.Context) GetInstancesInstanceOutput

type GetInstancesInstanceArray

type GetInstancesInstanceArray []GetInstancesInstanceInput

func (GetInstancesInstanceArray) ElementType

func (GetInstancesInstanceArray) ElementType() reflect.Type

func (GetInstancesInstanceArray) ToGetInstancesInstanceArrayOutput

func (i GetInstancesInstanceArray) ToGetInstancesInstanceArrayOutput() GetInstancesInstanceArrayOutput

func (GetInstancesInstanceArray) ToGetInstancesInstanceArrayOutputWithContext

func (i GetInstancesInstanceArray) ToGetInstancesInstanceArrayOutputWithContext(ctx context.Context) GetInstancesInstanceArrayOutput

type GetInstancesInstanceArrayInput

type GetInstancesInstanceArrayInput interface {
	pulumi.Input

	ToGetInstancesInstanceArrayOutput() GetInstancesInstanceArrayOutput
	ToGetInstancesInstanceArrayOutputWithContext(context.Context) GetInstancesInstanceArrayOutput
}

GetInstancesInstanceArrayInput is an input type that accepts GetInstancesInstanceArray and GetInstancesInstanceArrayOutput values. You can construct a concrete instance of `GetInstancesInstanceArrayInput` via:

GetInstancesInstanceArray{ GetInstancesInstanceArgs{...} }

type GetInstancesInstanceArrayOutput

type GetInstancesInstanceArrayOutput struct{ *pulumi.OutputState }

func (GetInstancesInstanceArrayOutput) ElementType

func (GetInstancesInstanceArrayOutput) Index

func (GetInstancesInstanceArrayOutput) ToGetInstancesInstanceArrayOutput

func (o GetInstancesInstanceArrayOutput) ToGetInstancesInstanceArrayOutput() GetInstancesInstanceArrayOutput

func (GetInstancesInstanceArrayOutput) ToGetInstancesInstanceArrayOutputWithContext

func (o GetInstancesInstanceArrayOutput) ToGetInstancesInstanceArrayOutputWithContext(ctx context.Context) GetInstancesInstanceArrayOutput

type GetInstancesInstanceInput

type GetInstancesInstanceInput interface {
	pulumi.Input

	ToGetInstancesInstanceOutput() GetInstancesInstanceOutput
	ToGetInstancesInstanceOutputWithContext(context.Context) GetInstancesInstanceOutput
}

GetInstancesInstanceInput is an input type that accepts GetInstancesInstanceArgs and GetInstancesInstanceOutput values. You can construct a concrete instance of `GetInstancesInstanceInput` via:

GetInstancesInstanceArgs{...}

type GetInstancesInstanceOutput

type GetInstancesInstanceOutput struct{ *pulumi.OutputState }

func (GetInstancesInstanceOutput) BackupStatus

the Backup Status of the instance.

func (GetInstancesInstanceOutput) CoreDiskSize

func (o GetInstancesInstanceOutput) CoreDiskSize() pulumi.IntOutput

core node disk size, unit:GB.

func (GetInstancesInstanceOutput) CoreDiskType

cloud_ssd or cloud_efficiency

func (GetInstancesInstanceOutput) CoreInstanceType

func (o GetInstancesInstanceOutput) CoreInstanceType() pulumi.StringOutput

hbase.sn1.large, hbase.sn1.large, hbase.n1.2xlarge and so on.

func (GetInstancesInstanceOutput) CoreNodeCount

func (o GetInstancesInstanceOutput) CoreNodeCount() pulumi.IntOutput

same with "coreInstanceQuantity"

func (GetInstancesInstanceOutput) CreatedTime

func (GetInstancesInstanceOutput) DeletionProtection

func (o GetInstancesInstanceOutput) DeletionProtection() pulumi.BoolOutput

the switch of delete protection.

func (GetInstancesInstanceOutput) ElementType

func (GetInstancesInstanceOutput) ElementType() reflect.Type

func (GetInstancesInstanceOutput) Engine

the engine of the instance.

func (GetInstancesInstanceOutput) EngineVersion

the engineVersion of the instance.

func (GetInstancesInstanceOutput) ExpireTime

the expire time of the instance.

func (GetInstancesInstanceOutput) Id

The ID of the HBase instance.

func (GetInstancesInstanceOutput) MasterInstanceType

func (o GetInstancesInstanceOutput) MasterInstanceType() pulumi.StringOutput

hbase.sn1.large, hbase.sn1.large, hbase.n1.2xlarge and so on.

func (GetInstancesInstanceOutput) MasterNodeCount

func (o GetInstancesInstanceOutput) MasterNodeCount() pulumi.IntOutput

the node count of master

func (GetInstancesInstanceOutput) Name

The name of the HBase instance.

func (GetInstancesInstanceOutput) NetworkType

Classic network or VPC.

func (GetInstancesInstanceOutput) PayType

Billing method. Value options are `PostPaid` for Pay-As-You-Go and `PrePaid` for yearly or monthly subscription.

func (GetInstancesInstanceOutput) RegionId

Region ID the instance belongs to.

func (GetInstancesInstanceOutput) Status

Status of the instance.

func (GetInstancesInstanceOutput) Tags

A mapping of tags to assign to the resource.

func (GetInstancesInstanceOutput) ToGetInstancesInstanceOutput

func (o GetInstancesInstanceOutput) ToGetInstancesInstanceOutput() GetInstancesInstanceOutput

func (GetInstancesInstanceOutput) ToGetInstancesInstanceOutputWithContext

func (o GetInstancesInstanceOutput) ToGetInstancesInstanceOutputWithContext(ctx context.Context) GetInstancesInstanceOutput

func (GetInstancesInstanceOutput) VpcId

VPC ID the instance belongs to.

func (GetInstancesInstanceOutput) VswitchId

VSwitch ID the instance belongs to.

func (GetInstancesInstanceOutput) ZoneId

Zone ID the instance belongs to.

type GetInstancesResult

type GetInstancesResult struct {
	AvailabilityZone *string `pulumi:"availabilityZone"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The ids list of HBase instances
	Ids []string `pulumi:"ids"`
	// A list of HBase instances. Its every element contains the following attributes:
	Instances []GetInstancesInstance `pulumi:"instances"`
	NameRegex *string                `pulumi:"nameRegex"`
	// The names list of HBase instances
	Names      []string `pulumi:"names"`
	OutputFile *string  `pulumi:"outputFile"`
	// A mapping of tags to assign to the resource.
	Tags map[string]interface{} `pulumi:"tags"`
}

A collection of values returned by getInstances.

func GetInstances

func GetInstances(ctx *pulumi.Context, args *GetInstancesArgs, opts ...pulumi.InvokeOption) (*GetInstancesResult, error)

The `hbase.getInstances` data source provides a collection of HBase instances available in Alicloud account. Filters support regular expression for the instance name, ids or availability_zone.

> **NOTE:** Available in 1.67.0+

type GetZonesArgs

type GetZonesArgs struct {
	// Indicate whether the zones can be used in a multi AZ configuration. Default to `false`. Multi AZ is usually used to launch HBase instances.
	Multi      *bool   `pulumi:"multi"`
	OutputFile *string `pulumi:"outputFile"`
}

A collection of arguments for invoking getZones.

type GetZonesResult

type GetZonesResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// A list of zone IDs.
	Ids        []string `pulumi:"ids"`
	Multi      *bool    `pulumi:"multi"`
	OutputFile *string  `pulumi:"outputFile"`
	// A list of availability zones. Each element contains the following attributes:
	Zones []GetZonesZone `pulumi:"zones"`
}

A collection of values returned by getZones.

func GetZones

func GetZones(ctx *pulumi.Context, args *GetZonesArgs, opts ...pulumi.InvokeOption) (*GetZonesResult, error)

This data source provides availability zones for HBase that can be accessed by an Alibaba Cloud account within the region configured in the provider.

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

type GetZonesZone

type GetZonesZone struct {
	// ID of the zone.
	Id string `pulumi:"id"`
	// A list of zone ids in which the multi zone.
	MultiZoneIds []string `pulumi:"multiZoneIds"`
}

type GetZonesZoneArgs

type GetZonesZoneArgs struct {
	// ID of the zone.
	Id pulumi.StringInput `pulumi:"id"`
	// A list of zone ids in which the multi zone.
	MultiZoneIds pulumi.StringArrayInput `pulumi:"multiZoneIds"`
}

func (GetZonesZoneArgs) ElementType

func (GetZonesZoneArgs) ElementType() reflect.Type

func (GetZonesZoneArgs) ToGetZonesZoneOutput

func (i GetZonesZoneArgs) ToGetZonesZoneOutput() GetZonesZoneOutput

func (GetZonesZoneArgs) ToGetZonesZoneOutputWithContext

func (i GetZonesZoneArgs) ToGetZonesZoneOutputWithContext(ctx context.Context) GetZonesZoneOutput

type GetZonesZoneArray

type GetZonesZoneArray []GetZonesZoneInput

func (GetZonesZoneArray) ElementType

func (GetZonesZoneArray) ElementType() reflect.Type

func (GetZonesZoneArray) ToGetZonesZoneArrayOutput

func (i GetZonesZoneArray) ToGetZonesZoneArrayOutput() GetZonesZoneArrayOutput

func (GetZonesZoneArray) ToGetZonesZoneArrayOutputWithContext

func (i GetZonesZoneArray) ToGetZonesZoneArrayOutputWithContext(ctx context.Context) GetZonesZoneArrayOutput

type GetZonesZoneArrayInput

type GetZonesZoneArrayInput interface {
	pulumi.Input

	ToGetZonesZoneArrayOutput() GetZonesZoneArrayOutput
	ToGetZonesZoneArrayOutputWithContext(context.Context) GetZonesZoneArrayOutput
}

GetZonesZoneArrayInput is an input type that accepts GetZonesZoneArray and GetZonesZoneArrayOutput values. You can construct a concrete instance of `GetZonesZoneArrayInput` via:

GetZonesZoneArray{ GetZonesZoneArgs{...} }

type GetZonesZoneArrayOutput

type GetZonesZoneArrayOutput struct{ *pulumi.OutputState }

func (GetZonesZoneArrayOutput) ElementType

func (GetZonesZoneArrayOutput) ElementType() reflect.Type

func (GetZonesZoneArrayOutput) Index

func (GetZonesZoneArrayOutput) ToGetZonesZoneArrayOutput

func (o GetZonesZoneArrayOutput) ToGetZonesZoneArrayOutput() GetZonesZoneArrayOutput

func (GetZonesZoneArrayOutput) ToGetZonesZoneArrayOutputWithContext

func (o GetZonesZoneArrayOutput) ToGetZonesZoneArrayOutputWithContext(ctx context.Context) GetZonesZoneArrayOutput

type GetZonesZoneInput

type GetZonesZoneInput interface {
	pulumi.Input

	ToGetZonesZoneOutput() GetZonesZoneOutput
	ToGetZonesZoneOutputWithContext(context.Context) GetZonesZoneOutput
}

GetZonesZoneInput is an input type that accepts GetZonesZoneArgs and GetZonesZoneOutput values. You can construct a concrete instance of `GetZonesZoneInput` via:

GetZonesZoneArgs{...}

type GetZonesZoneOutput

type GetZonesZoneOutput struct{ *pulumi.OutputState }

func (GetZonesZoneOutput) ElementType

func (GetZonesZoneOutput) ElementType() reflect.Type

func (GetZonesZoneOutput) Id

ID of the zone.

func (GetZonesZoneOutput) MultiZoneIds

func (o GetZonesZoneOutput) MultiZoneIds() pulumi.StringArrayOutput

A list of zone ids in which the multi zone.

func (GetZonesZoneOutput) ToGetZonesZoneOutput

func (o GetZonesZoneOutput) ToGetZonesZoneOutput() GetZonesZoneOutput

func (GetZonesZoneOutput) ToGetZonesZoneOutputWithContext

func (o GetZonesZoneOutput) ToGetZonesZoneOutputWithContext(ctx context.Context) GetZonesZoneOutput

type Instance

type Instance struct {
	pulumi.CustomResourceState

	// `true`, `false`, System default to `false`, valid when payType = PrePaid.
	AutoRenew pulumi.BoolOutput `pulumi:"autoRenew"`
	// 0 or 0+. 0 means isColdStorage = false. 0+ means isColdStorage = true
	ColdStorageSize pulumi.IntOutput `pulumi:"coldStorageSize"`
	// User-defined HBase instance one core node's storage space.Unit: GB. Value range:
	// - Custom storage space; value range: [400, 8000]
	// - 40-GB increments.
	CoreDiskSize pulumi.IntPtrOutput `pulumi:"coreDiskSize"`
	// Valid values are `cloudSsd`, `cloudEfficiency`, `localHddPro`, `localSsdPro`. localDisk size is fixed.
	CoreDiskType pulumi.StringOutput `pulumi:"coreDiskType"`
	// default=2. if coreInstanceQuantity > 1,this is cluster's instance.  if coreInstanceQuantity = 1,this is a single instance.
	CoreInstanceQuantity pulumi.IntPtrOutput `pulumi:"coreInstanceQuantity"`
	CoreInstanceType     pulumi.StringOutput `pulumi:"coreInstanceType"`
	// the switch of delete protection. true: delete protect, false: no delete protect. you must set false when you want to delete cluster.
	DeletionProtection pulumi.BoolPtrOutput `pulumi:"deletionProtection"`
	// 1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 24, 36, 60, valid when payType = PrePaid. unit: month.
	Duration pulumi.IntOutput       `pulumi:"duration"`
	Engine   pulumi.StringPtrOutput `pulumi:"engine"`
	// hbase major version. hbase:1.1/2.0, hbaseue:2.0, bds:1.0, unsupport other engine temporarily. Value options can refer to the latest docs [CreateInstance](https://help.aliyun.com/document_detail/144607.html).
	// * `masterInstanceType`、`coreInstanceType` - (Required, ForceNew) Instance specification. see [Instance specifications](https://help.aliyun.com/document_detail/53532.html). or you can call describeInstanceType api.
	EngineVersion pulumi.StringOutput `pulumi:"engineVersion"`
	// The end time of the operation and maintenance time period of the instance, in the format of HH:mmZ (UTC time).
	MaintainEndTime pulumi.StringOutput `pulumi:"maintainEndTime"`
	// The start time of the operation and maintenance time period of the instance, in the format of HH:mmZ (UTC time).
	MaintainStartTime  pulumi.StringOutput `pulumi:"maintainStartTime"`
	MasterInstanceType pulumi.StringOutput `pulumi:"masterInstanceType"`
	// HBase instance name. Length must be 2-128 characters long. Only Chinese characters, English letters, numbers, period (.), underline (_), or dash (-) are permitted.
	Name pulumi.StringOutput `pulumi:"name"`
	// Valid values are `PrePaid`, `PostPaid`,System default to `PostPaid`.
	PayType pulumi.StringPtrOutput `pulumi:"payType"`
	// A mapping of tags to assign to the resource.
	Tags pulumi.MapOutput `pulumi:"tags"`
	// if vswitchId is not empty, that mean netType = vpc and has a same region. if vswitchId is empty, net_type_classic
	VswitchId pulumi.StringPtrOutput `pulumi:"vswitchId"`
	// The Zone to launch the HBase instance. if vswitchId is not empty, this zoneId can be "" or consistent.
	ZoneId pulumi.StringOutput `pulumi:"zoneId"`
}

Provides a HBase instance resource supports replica set instances only. the HBase provides stable, reliable, and automatic scalable database services. It offers a full range of database solutions, such as disaster recovery, backup, recovery, monitoring, and alarms. You can see detail product introduction [here](https://help.aliyun.com/product/49055.html)

> **NOTE:** Available in 1.67.0+

> **NOTE:** The following regions don't support create Classic network HBase instance. [`cn-hangzhou`,`cn-shanghai`,`cn-qingdao`,`cn-beijing`,`cn-shenzhen`,`ap-southeast-1a`,.....] the official website mark more regions. or you can call [DescribeRegions](https://help.aliyun.com/document_detail/144489.html)

> **NOTE:** Create HBase instance or change instance type and storage would cost 15 minutes. Please make full preparation

func GetInstance

func GetInstance(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *InstanceState, opts ...pulumi.ResourceOption) (*Instance, error)

GetInstance gets an existing Instance 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 NewInstance

func NewInstance(ctx *pulumi.Context,
	name string, args *InstanceArgs, opts ...pulumi.ResourceOption) (*Instance, error)

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

type InstanceArgs

type InstanceArgs struct {
	// `true`, `false`, System default to `false`, valid when payType = PrePaid.
	AutoRenew pulumi.BoolPtrInput
	// 0 or 0+. 0 means isColdStorage = false. 0+ means isColdStorage = true
	ColdStorageSize pulumi.IntPtrInput
	// User-defined HBase instance one core node's storage space.Unit: GB. Value range:
	// - Custom storage space; value range: [400, 8000]
	// - 40-GB increments.
	CoreDiskSize pulumi.IntPtrInput
	// Valid values are `cloudSsd`, `cloudEfficiency`, `localHddPro`, `localSsdPro`. localDisk size is fixed.
	CoreDiskType pulumi.StringInput
	// default=2. if coreInstanceQuantity > 1,this is cluster's instance.  if coreInstanceQuantity = 1,this is a single instance.
	CoreInstanceQuantity pulumi.IntPtrInput
	CoreInstanceType     pulumi.StringInput
	// the switch of delete protection. true: delete protect, false: no delete protect. you must set false when you want to delete cluster.
	DeletionProtection pulumi.BoolPtrInput
	// 1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 24, 36, 60, valid when payType = PrePaid. unit: month.
	Duration pulumi.IntPtrInput
	Engine   pulumi.StringPtrInput
	// hbase major version. hbase:1.1/2.0, hbaseue:2.0, bds:1.0, unsupport other engine temporarily. Value options can refer to the latest docs [CreateInstance](https://help.aliyun.com/document_detail/144607.html).
	// * `masterInstanceType`、`coreInstanceType` - (Required, ForceNew) Instance specification. see [Instance specifications](https://help.aliyun.com/document_detail/53532.html). or you can call describeInstanceType api.
	EngineVersion pulumi.StringInput
	// The end time of the operation and maintenance time period of the instance, in the format of HH:mmZ (UTC time).
	MaintainEndTime pulumi.StringPtrInput
	// The start time of the operation and maintenance time period of the instance, in the format of HH:mmZ (UTC time).
	MaintainStartTime  pulumi.StringPtrInput
	MasterInstanceType pulumi.StringInput
	// HBase instance name. Length must be 2-128 characters long. Only Chinese characters, English letters, numbers, period (.), underline (_), or dash (-) are permitted.
	Name pulumi.StringPtrInput
	// Valid values are `PrePaid`, `PostPaid`,System default to `PostPaid`.
	PayType pulumi.StringPtrInput
	// A mapping of tags to assign to the resource.
	Tags pulumi.MapInput
	// if vswitchId is not empty, that mean netType = vpc and has a same region. if vswitchId is empty, net_type_classic
	VswitchId pulumi.StringPtrInput
	// The Zone to launch the HBase instance. if vswitchId is not empty, this zoneId can be "" or consistent.
	ZoneId pulumi.StringPtrInput
}

The set of arguments for constructing a Instance resource.

func (InstanceArgs) ElementType

func (InstanceArgs) ElementType() reflect.Type

type InstanceState

type InstanceState struct {
	// `true`, `false`, System default to `false`, valid when payType = PrePaid.
	AutoRenew pulumi.BoolPtrInput
	// 0 or 0+. 0 means isColdStorage = false. 0+ means isColdStorage = true
	ColdStorageSize pulumi.IntPtrInput
	// User-defined HBase instance one core node's storage space.Unit: GB. Value range:
	// - Custom storage space; value range: [400, 8000]
	// - 40-GB increments.
	CoreDiskSize pulumi.IntPtrInput
	// Valid values are `cloudSsd`, `cloudEfficiency`, `localHddPro`, `localSsdPro`. localDisk size is fixed.
	CoreDiskType pulumi.StringPtrInput
	// default=2. if coreInstanceQuantity > 1,this is cluster's instance.  if coreInstanceQuantity = 1,this is a single instance.
	CoreInstanceQuantity pulumi.IntPtrInput
	CoreInstanceType     pulumi.StringPtrInput
	// the switch of delete protection. true: delete protect, false: no delete protect. you must set false when you want to delete cluster.
	DeletionProtection pulumi.BoolPtrInput
	// 1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 24, 36, 60, valid when payType = PrePaid. unit: month.
	Duration pulumi.IntPtrInput
	Engine   pulumi.StringPtrInput
	// hbase major version. hbase:1.1/2.0, hbaseue:2.0, bds:1.0, unsupport other engine temporarily. Value options can refer to the latest docs [CreateInstance](https://help.aliyun.com/document_detail/144607.html).
	// * `masterInstanceType`、`coreInstanceType` - (Required, ForceNew) Instance specification. see [Instance specifications](https://help.aliyun.com/document_detail/53532.html). or you can call describeInstanceType api.
	EngineVersion pulumi.StringPtrInput
	// The end time of the operation and maintenance time period of the instance, in the format of HH:mmZ (UTC time).
	MaintainEndTime pulumi.StringPtrInput
	// The start time of the operation and maintenance time period of the instance, in the format of HH:mmZ (UTC time).
	MaintainStartTime  pulumi.StringPtrInput
	MasterInstanceType pulumi.StringPtrInput
	// HBase instance name. Length must be 2-128 characters long. Only Chinese characters, English letters, numbers, period (.), underline (_), or dash (-) are permitted.
	Name pulumi.StringPtrInput
	// Valid values are `PrePaid`, `PostPaid`,System default to `PostPaid`.
	PayType pulumi.StringPtrInput
	// A mapping of tags to assign to the resource.
	Tags pulumi.MapInput
	// if vswitchId is not empty, that mean netType = vpc and has a same region. if vswitchId is empty, net_type_classic
	VswitchId pulumi.StringPtrInput
	// The Zone to launch the HBase instance. if vswitchId is not empty, this zoneId can be "" or consistent.
	ZoneId pulumi.StringPtrInput
}

func (InstanceState) ElementType

func (InstanceState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

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