Alibaba Cloud v3.90.0 published on Tuesday, Dec 2, 2025 by Pulumi
Alibaba Cloud v3.90.0 published on Tuesday, Dec 2, 2025 by Pulumi
This data source provides availability instance_types for HBase that can be accessed by an Alibaba Cloud account within the region configured in the provider.
NOTE: Available since v1.106.0.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";
const _default = alicloud.hbase.getInstanceTypes({
chargeType: "Postpaid",
regionId: "cn-shanghai",
zoneId: "cn-shanghai-g",
engine: "hbaseue",
version: "2.0",
instanceType: "hbase.sn2.large",
diskType: "cloud_ssd",
});
const hbase = new alicloud.hbase.Instance("hbase", {coreInstanceType: _default.then(_default => _default.types?.[0]?.id)});
import pulumi
import pulumi_alicloud as alicloud
default = alicloud.hbase.get_instance_types(charge_type="Postpaid",
region_id="cn-shanghai",
zone_id="cn-shanghai-g",
engine="hbaseue",
version="2.0",
instance_type="hbase.sn2.large",
disk_type="cloud_ssd")
hbase = alicloud.hbase.Instance("hbase", core_instance_type=default.types[0].id)
package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/hbase"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_default, err := hbase.GetInstanceTypes(ctx, &hbase.GetInstanceTypesArgs{
ChargeType: pulumi.StringRef("Postpaid"),
RegionId: pulumi.StringRef("cn-shanghai"),
ZoneId: pulumi.StringRef("cn-shanghai-g"),
Engine: pulumi.StringRef("hbaseue"),
Version: pulumi.StringRef("2.0"),
InstanceType: pulumi.StringRef("hbase.sn2.large"),
DiskType: pulumi.StringRef("cloud_ssd"),
}, nil)
if err != nil {
return err
}
_, err = hbase.NewInstance(ctx, "hbase", &hbase.InstanceArgs{
CoreInstanceType: pulumi.Any(_default.Types[0].Id),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AliCloud = Pulumi.AliCloud;
return await Deployment.RunAsync(() =>
{
var @default = AliCloud.Hbase.GetInstanceTypes.Invoke(new()
{
ChargeType = "Postpaid",
RegionId = "cn-shanghai",
ZoneId = "cn-shanghai-g",
Engine = "hbaseue",
Version = "2.0",
InstanceType = "hbase.sn2.large",
DiskType = "cloud_ssd",
});
var hbase = new AliCloud.Hbase.Instance("hbase", new()
{
CoreInstanceType = @default.Apply(@default => @default.Apply(getInstanceTypesResult => getInstanceTypesResult.Types[0]?.Id)),
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.hbase.HbaseFunctions;
import com.pulumi.alicloud.hbase.inputs.GetInstanceTypesArgs;
import com.pulumi.alicloud.hbase.Instance;
import com.pulumi.alicloud.hbase.InstanceArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var default = HbaseFunctions.getInstanceTypes(GetInstanceTypesArgs.builder()
.chargeType("Postpaid")
.regionId("cn-shanghai")
.zoneId("cn-shanghai-g")
.engine("hbaseue")
.version("2.0")
.instanceType("hbase.sn2.large")
.diskType("cloud_ssd")
.build());
var hbase = new Instance("hbase", InstanceArgs.builder()
.coreInstanceType(default_.types()[0].id())
.build());
}
}
resources:
hbase:
type: alicloud:hbase:Instance
properties:
coreInstanceType: ${default.types[0].id}
variables:
default:
fn::invoke:
function: alicloud:hbase:getInstanceTypes
arguments:
chargeType: Postpaid
regionId: cn-shanghai
zoneId: cn-shanghai-g
engine: hbaseue
version: '2.0'
instanceType: hbase.sn2.large
diskType: cloud_ssd
Using getInstanceTypes
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getInstanceTypes(args: GetInstanceTypesArgs, opts?: InvokeOptions): Promise<GetInstanceTypesResult>
function getInstanceTypesOutput(args: GetInstanceTypesOutputArgs, opts?: InvokeOptions): Output<GetInstanceTypesResult>def get_instance_types(charge_type: Optional[str] = None,
disk_type: Optional[str] = None,
engine: Optional[str] = None,
instance_type: Optional[str] = None,
output_file: Optional[str] = None,
region_id: Optional[str] = None,
version: Optional[str] = None,
zone_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetInstanceTypesResult
def get_instance_types_output(charge_type: Optional[pulumi.Input[str]] = None,
disk_type: Optional[pulumi.Input[str]] = None,
engine: Optional[pulumi.Input[str]] = None,
instance_type: Optional[pulumi.Input[str]] = None,
output_file: Optional[pulumi.Input[str]] = None,
region_id: Optional[pulumi.Input[str]] = None,
version: Optional[pulumi.Input[str]] = None,
zone_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetInstanceTypesResult]func GetInstanceTypes(ctx *Context, args *GetInstanceTypesArgs, opts ...InvokeOption) (*GetInstanceTypesResult, error)
func GetInstanceTypesOutput(ctx *Context, args *GetInstanceTypesOutputArgs, opts ...InvokeOption) GetInstanceTypesResultOutput> Note: This function is named GetInstanceTypes in the Go SDK.
public static class GetInstanceTypes
{
public static Task<GetInstanceTypesResult> InvokeAsync(GetInstanceTypesArgs args, InvokeOptions? opts = null)
public static Output<GetInstanceTypesResult> Invoke(GetInstanceTypesInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetInstanceTypesResult> getInstanceTypes(GetInstanceTypesArgs args, InvokeOptions options)
public static Output<GetInstanceTypesResult> getInstanceTypes(GetInstanceTypesArgs args, InvokeOptions options)
fn::invoke:
function: alicloud:hbase/getInstanceTypes:getInstanceTypes
arguments:
# arguments dictionaryThe following arguments are supported:
- Charge
Type string - The charge type of create hbase cluster instance,
PrePaidorPostPaid. - Disk
Type string - The disk type,
cloud_ssd,cloud_essd_pl1,cloud_efficiency,local_hdd_pro,local_ssd_pro. - Engine string
- The engine name,
singlehbase,hbase,hbaseue,bds. - Instance
Type string - The hbase instance type of create hbase cluster instance.
- Output
File string - File name where to save data source results (after running
pulumi preview). - Region
Id string - The dest region id, default client region.
- Version string
- The engine version, singlehbase/hbase=1.1/2.0, bds=1.0.
- Zone
Id string - The zone id, belong to regionId.
- Charge
Type string - The charge type of create hbase cluster instance,
PrePaidorPostPaid. - Disk
Type string - The disk type,
cloud_ssd,cloud_essd_pl1,cloud_efficiency,local_hdd_pro,local_ssd_pro. - Engine string
- The engine name,
singlehbase,hbase,hbaseue,bds. - Instance
Type string - The hbase instance type of create hbase cluster instance.
- Output
File string - File name where to save data source results (after running
pulumi preview). - Region
Id string - The dest region id, default client region.
- Version string
- The engine version, singlehbase/hbase=1.1/2.0, bds=1.0.
- Zone
Id string - The zone id, belong to regionId.
- charge
Type String - The charge type of create hbase cluster instance,
PrePaidorPostPaid. - disk
Type String - The disk type,
cloud_ssd,cloud_essd_pl1,cloud_efficiency,local_hdd_pro,local_ssd_pro. - engine String
- The engine name,
singlehbase,hbase,hbaseue,bds. - instance
Type String - The hbase instance type of create hbase cluster instance.
- output
File String - File name where to save data source results (after running
pulumi preview). - region
Id String - The dest region id, default client region.
- version String
- The engine version, singlehbase/hbase=1.1/2.0, bds=1.0.
- zone
Id String - The zone id, belong to regionId.
- charge
Type string - The charge type of create hbase cluster instance,
PrePaidorPostPaid. - disk
Type string - The disk type,
cloud_ssd,cloud_essd_pl1,cloud_efficiency,local_hdd_pro,local_ssd_pro. - engine string
- The engine name,
singlehbase,hbase,hbaseue,bds. - instance
Type string - The hbase instance type of create hbase cluster instance.
- output
File string - File name where to save data source results (after running
pulumi preview). - region
Id string - The dest region id, default client region.
- version string
- The engine version, singlehbase/hbase=1.1/2.0, bds=1.0.
- zone
Id string - The zone id, belong to regionId.
- charge_
type str - The charge type of create hbase cluster instance,
PrePaidorPostPaid. - disk_
type str - The disk type,
cloud_ssd,cloud_essd_pl1,cloud_efficiency,local_hdd_pro,local_ssd_pro. - engine str
- The engine name,
singlehbase,hbase,hbaseue,bds. - instance_
type str - The hbase instance type of create hbase cluster instance.
- output_
file str - File name where to save data source results (after running
pulumi preview). - region_
id str - The dest region id, default client region.
- version str
- The engine version, singlehbase/hbase=1.1/2.0, bds=1.0.
- zone_
id str - The zone id, belong to regionId.
- charge
Type String - The charge type of create hbase cluster instance,
PrePaidorPostPaid. - disk
Type String - The disk type,
cloud_ssd,cloud_essd_pl1,cloud_efficiency,local_hdd_pro,local_ssd_pro. - engine String
- The engine name,
singlehbase,hbase,hbaseue,bds. - instance
Type String - The hbase instance type of create hbase cluster instance.
- output
File String - File name where to save data source results (after running
pulumi preview). - region
Id String - The dest region id, default client region.
- version String
- The engine version, singlehbase/hbase=1.1/2.0, bds=1.0.
- zone
Id String - The zone id, belong to regionId.
getInstanceTypes Result
The following output properties are available:
- Core
Instance List<Pulumi.Types Ali Cloud. Hbase. Outputs. Get Instance Types Core Instance Type> - (Available in 1.115.0+) A list of core instance types. Each element contains the following attributes:
- Id string
- The provider-assigned unique ID for this managed resource.
- Ids List<string>
- A list of instance types type IDs.
- Master
Instance List<Pulumi.Types Ali Cloud. Hbase. Outputs. Get Instance Types Master Instance Type> - (Available in 1.115.0+) A list of master instance types. Each element contains the following attributes:
- Types
List<Pulumi.
Ali Cloud. Hbase. Outputs. Get Instance Types Type> - (Deprecated) A list of instance types. Each element contains the following attributes:
- Charge
Type string - Disk
Type string - Engine string
- Name of the engine.
- Instance
Type string - Name of the instance type.
- Output
File string - Region
Id string - Version string
- The version of the engine.
- Zone
Id string
- Core
Instance []GetTypes Instance Types Core Instance Type - (Available in 1.115.0+) A list of core instance types. Each element contains the following attributes:
- Id string
- The provider-assigned unique ID for this managed resource.
- Ids []string
- A list of instance types type IDs.
- Master
Instance []GetTypes Instance Types Master Instance Type - (Available in 1.115.0+) A list of master instance types. Each element contains the following attributes:
- Types
[]Get
Instance Types Type - (Deprecated) A list of instance types. Each element contains the following attributes:
- Charge
Type string - Disk
Type string - Engine string
- Name of the engine.
- Instance
Type string - Name of the instance type.
- Output
File string - Region
Id string - Version string
- The version of the engine.
- Zone
Id string
- core
Instance List<GetTypes Instance Types Core Instance Type> - (Available in 1.115.0+) A list of core instance types. Each element contains the following attributes:
- id String
- The provider-assigned unique ID for this managed resource.
- ids List<String>
- A list of instance types type IDs.
- master
Instance List<GetTypes Instance Types Master Instance Type> - (Available in 1.115.0+) A list of master instance types. Each element contains the following attributes:
- types
List<Get
Instance Types Type> - (Deprecated) A list of instance types. Each element contains the following attributes:
- charge
Type String - disk
Type String - engine String
- Name of the engine.
- instance
Type String - Name of the instance type.
- output
File String - region
Id String - version String
- The version of the engine.
- zone
Id String
- core
Instance GetTypes Instance Types Core Instance Type[] - (Available in 1.115.0+) A list of core instance types. Each element contains the following attributes:
- id string
- The provider-assigned unique ID for this managed resource.
- ids string[]
- A list of instance types type IDs.
- master
Instance GetTypes Instance Types Master Instance Type[] - (Available in 1.115.0+) A list of master instance types. Each element contains the following attributes:
- types
Get
Instance Types Type[] - (Deprecated) A list of instance types. Each element contains the following attributes:
- charge
Type string - disk
Type string - engine string
- Name of the engine.
- instance
Type string - Name of the instance type.
- output
File string - region
Id string - version string
- The version of the engine.
- zone
Id string
- core_
instance_ Sequence[Gettypes Instance Types Core Instance Type] - (Available in 1.115.0+) A list of core instance types. Each element contains the following attributes:
- id str
- The provider-assigned unique ID for this managed resource.
- ids Sequence[str]
- A list of instance types type IDs.
- master_
instance_ Sequence[Gettypes Instance Types Master Instance Type] - (Available in 1.115.0+) A list of master instance types. Each element contains the following attributes:
- types
Sequence[Get
Instance Types Type] - (Deprecated) A list of instance types. Each element contains the following attributes:
- charge_
type str - disk_
type str - engine str
- Name of the engine.
- instance_
type str - Name of the instance type.
- output_
file str - region_
id str - version str
- The version of the engine.
- zone_
id str
- core
Instance List<Property Map>Types - (Available in 1.115.0+) A list of core instance types. Each element contains the following attributes:
- id String
- The provider-assigned unique ID for this managed resource.
- ids List<String>
- A list of instance types type IDs.
- master
Instance List<Property Map>Types - (Available in 1.115.0+) A list of master instance types. Each element contains the following attributes:
- types List<Property Map>
- (Deprecated) A list of instance types. Each element contains the following attributes:
- charge
Type String - disk
Type String - engine String
- Name of the engine.
- instance
Type String - Name of the instance type.
- output
File String - region
Id String - version String
- The version of the engine.
- zone
Id String
Supporting Types
GetInstanceTypesCoreInstanceType
- Category string
- Name of the category, single or cluster.
- Cpu
Size int - Cpu size of the instance type.
- Engine string
- The engine name,
singlehbase,hbase,hbaseue,bds. - Instance
Type string - The hbase instance type of create hbase cluster instance.
- Max
Core intCount - Max count of the core instance nodes.
- Mem
Size int - Mem size of the instance type.
- Storage
Type string - Name of the storage type.
- Version string
- The engine version, singlehbase/hbase=1.1/2.0, bds=1.0.
- Zone string
- Name of zone id.
- Category string
- Name of the category, single or cluster.
- Cpu
Size int - Cpu size of the instance type.
- Engine string
- The engine name,
singlehbase,hbase,hbaseue,bds. - Instance
Type string - The hbase instance type of create hbase cluster instance.
- Max
Core intCount - Max count of the core instance nodes.
- Mem
Size int - Mem size of the instance type.
- Storage
Type string - Name of the storage type.
- Version string
- The engine version, singlehbase/hbase=1.1/2.0, bds=1.0.
- Zone string
- Name of zone id.
- category String
- Name of the category, single or cluster.
- cpu
Size Integer - Cpu size of the instance type.
- engine String
- The engine name,
singlehbase,hbase,hbaseue,bds. - instance
Type String - The hbase instance type of create hbase cluster instance.
- max
Core IntegerCount - Max count of the core instance nodes.
- mem
Size Integer - Mem size of the instance type.
- storage
Type String - Name of the storage type.
- version String
- The engine version, singlehbase/hbase=1.1/2.0, bds=1.0.
- zone String
- Name of zone id.
- category string
- Name of the category, single or cluster.
- cpu
Size number - Cpu size of the instance type.
- engine string
- The engine name,
singlehbase,hbase,hbaseue,bds. - instance
Type string - The hbase instance type of create hbase cluster instance.
- max
Core numberCount - Max count of the core instance nodes.
- mem
Size number - Mem size of the instance type.
- storage
Type string - Name of the storage type.
- version string
- The engine version, singlehbase/hbase=1.1/2.0, bds=1.0.
- zone string
- Name of zone id.
- category str
- Name of the category, single or cluster.
- cpu_
size int - Cpu size of the instance type.
- engine str
- The engine name,
singlehbase,hbase,hbaseue,bds. - instance_
type str - The hbase instance type of create hbase cluster instance.
- max_
core_ intcount - Max count of the core instance nodes.
- mem_
size int - Mem size of the instance type.
- storage_
type str - Name of the storage type.
- version str
- The engine version, singlehbase/hbase=1.1/2.0, bds=1.0.
- zone str
- Name of zone id.
- category String
- Name of the category, single or cluster.
- cpu
Size Number - Cpu size of the instance type.
- engine String
- The engine name,
singlehbase,hbase,hbaseue,bds. - instance
Type String - The hbase instance type of create hbase cluster instance.
- max
Core NumberCount - Max count of the core instance nodes.
- mem
Size Number - Mem size of the instance type.
- storage
Type String - Name of the storage type.
- version String
- The engine version, singlehbase/hbase=1.1/2.0, bds=1.0.
- zone String
- Name of zone id.
GetInstanceTypesMasterInstanceType
- Cpu
Size int - Cpu size of the instance type.
- Instance
Type string - The hbase instance type of create hbase cluster instance.
- Mem
Size int - Mem size of the instance type.
- Cpu
Size int - Cpu size of the instance type.
- Instance
Type string - The hbase instance type of create hbase cluster instance.
- Mem
Size int - Mem size of the instance type.
- cpu
Size Integer - Cpu size of the instance type.
- instance
Type String - The hbase instance type of create hbase cluster instance.
- mem
Size Integer - Mem size of the instance type.
- cpu
Size number - Cpu size of the instance type.
- instance
Type string - The hbase instance type of create hbase cluster instance.
- mem
Size number - Mem size of the instance type.
- cpu_
size int - Cpu size of the instance type.
- instance_
type str - The hbase instance type of create hbase cluster instance.
- mem_
size int - Mem size of the instance type.
- cpu
Size Number - Cpu size of the instance type.
- instance
Type String - The hbase instance type of create hbase cluster instance.
- mem
Size Number - Mem size of the instance type.
GetInstanceTypesType
Package Details
- Repository
- Alibaba Cloud pulumi/pulumi-alicloud
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
alicloudTerraform Provider.
Alibaba Cloud v3.90.0 published on Tuesday, Dec 2, 2025 by Pulumi
