GetInstances
The alicloud.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+
Example Usage
using Pulumi;
using AliCloud = Pulumi.AliCloud;
class MyStack : Stack
{
public MyStack()
{
var hbase = Output.Create(AliCloud.Hbase.GetInstances.InvokeAsync(new AliCloud.Hbase.GetInstancesArgs
{
AvailabilityZone = "cn-shenzhen-b",
NameRegex = "tf_testAccHBase",
}));
}
}
Coming soon!
import pulumi
import pulumi_alicloud as alicloud
hbase = alicloud.hbase.get_instances(availability_zone="cn-shenzhen-b",
name_regex="tf_testAccHBase")import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";
const hbase = pulumi.output(alicloud.hbase.getInstances({
availabilityZone: "cn-shenzhen-b",
nameRegex: "tf_testAccHBase",
}, { async: true }));Using GetInstances
function getInstances(args: GetInstancesArgs, opts?: InvokeOptions): Promise<GetInstancesResult>function get_instances(availability_zone=None, ids=None, name_regex=None, output_file=None, tags=None, opts=None)func GetInstances(ctx *Context, args *GetInstancesArgs, opts ...InvokeOption) (*GetInstancesResult, error)public static class GetInstances {
public static Task<GetInstancesResult> InvokeAsync(GetInstancesArgs args, InvokeOptions? opts = null)
}The following arguments are supported:
- Availability
Zone string Instance availability zone.
- Ids List<string>
The ids list of HBase instances
- Name
Regex string A regex string to apply to the instance name.
- Output
File string - Dictionary<string, object>
A mapping of tags to assign to the resource.
- Availability
Zone string Instance availability zone.
- Ids []string
The ids list of HBase instances
- Name
Regex string A regex string to apply to the instance name.
- Output
File string - map[string]interface{}
A mapping of tags to assign to the resource.
- availability
Zone string Instance availability zone.
- ids string[]
The ids list of HBase instances
- name
Regex string A regex string to apply to the instance name.
- output
File string - {[key: string]: any}
A mapping of tags to assign to the resource.
- availability_
zone str Instance availability zone.
- ids List[str]
The ids list of HBase instances
- name_
regex str A regex string to apply to the instance name.
- output_
file str - Dict[str, Any]
A mapping of tags to assign to the resource.
GetInstances Result
The following output properties are available:
- Id string
The provider-assigned unique ID for this managed resource.
- Ids List<string>
The ids list of HBase instances
- Instances
List<Pulumi.
Ali Cloud. Hbase. Outputs. Get Instances Instance> A list of HBase instances. Its every element contains the following attributes:
- Names List<string>
The names list of HBase instances
- Availability
Zone string - Name
Regex string - Output
File string - Dictionary<string, object>
A mapping of tags to assign to the resource.
- Id string
The provider-assigned unique ID for this managed resource.
- Ids []string
The ids list of HBase instances
- Instances
[]Get
Instances Instance A list of HBase instances. Its every element contains the following attributes:
- Names []string
The names list of HBase instances
- Availability
Zone string - Name
Regex string - Output
File string - map[string]interface{}
A mapping of tags to assign to the resource.
- id string
The provider-assigned unique ID for this managed resource.
- ids string[]
The ids list of HBase instances
- instances
Get
Instances Instance[] A list of HBase instances. Its every element contains the following attributes:
- names string[]
The names list of HBase instances
- availability
Zone string - name
Regex string - output
File string - {[key: string]: any}
A mapping of tags to assign to the resource.
- id str
The provider-assigned unique ID for this managed resource.
- ids List[str]
The ids list of HBase instances
- instances
List[Get
Instances Instance] A list of HBase instances. Its every element contains the following attributes:
- names List[str]
The names list of HBase instances
- availability_
zone str - name_
regex str - output_
file str - Dict[str, Any]
A mapping of tags to assign to the resource.
Supporting Types
GetInstancesInstance
See the output API doc for this type.
See the output API doc for this type.
See the output API doc for this type.
- Backup
Status string the Backup Status of the instance.
- Core
Disk intSize core node disk size, unit:GB.
- Core
Disk stringType cloud_ssd or cloud_efficiency
- Core
Instance stringType hbase.sn1.large, hbase.sn1.large, hbase.n1.2xlarge and so on.
- Core
Node intCount same with “core_instance_quantity”
- Created
Time string - Deletion
Protection bool the switch of delete protection.
- Engine string
the engine of the instance.
- Engine
Version string the engine_version of the instance.
- Expire
Time string the expire time of the instance.
- Id string
The ID of the HBase instance.
- Master
Instance stringType hbase.sn1.large, hbase.sn1.large, hbase.n1.2xlarge and so on.
- Master
Node intCount the node count of master
- Name string
The name of the HBase instance.
- Network
Type string Classic network or VPC.
- Pay
Type string Billing method. Value options are
PostPaidfor Pay-As-You-Go andPrePaidfor yearly or monthly subscription.- Region
Id string Region ID the instance belongs to.
- Status string
Status of the instance.
- Vpc
Id string VPC ID the instance belongs to.
- Vswitch
Id string VSwitch ID the instance belongs to.
- Zone
Id string Zone ID the instance belongs to.
- Dictionary<string, object>
A mapping of tags to assign to the resource.
- Backup
Status string the Backup Status of the instance.
- Core
Disk intSize core node disk size, unit:GB.
- Core
Disk stringType cloud_ssd or cloud_efficiency
- Core
Instance stringType hbase.sn1.large, hbase.sn1.large, hbase.n1.2xlarge and so on.
- Core
Node intCount same with “core_instance_quantity”
- Created
Time string - Deletion
Protection bool the switch of delete protection.
- Engine string
the engine of the instance.
- Engine
Version string the engine_version of the instance.
- Expire
Time string the expire time of the instance.
- Id string
The ID of the HBase instance.
- Master
Instance stringType hbase.sn1.large, hbase.sn1.large, hbase.n1.2xlarge and so on.
- Master
Node intCount the node count of master
- Name string
The name of the HBase instance.
- Network
Type string Classic network or VPC.
- Pay
Type string Billing method. Value options are
PostPaidfor Pay-As-You-Go andPrePaidfor yearly or monthly subscription.- Region
Id string Region ID the instance belongs to.
- Status string
Status of the instance.
- Vpc
Id string VPC ID the instance belongs to.
- Vswitch
Id string VSwitch ID the instance belongs to.
- Zone
Id string Zone ID the instance belongs to.
- map[string]interface{}
A mapping of tags to assign to the resource.
- backup
Status string the Backup Status of the instance.
- core
Disk numberSize core node disk size, unit:GB.
- core
Disk stringType cloud_ssd or cloud_efficiency
- core
Instance stringType hbase.sn1.large, hbase.sn1.large, hbase.n1.2xlarge and so on.
- core
Node numberCount same with “core_instance_quantity”
- created
Time string - deletion
Protection boolean the switch of delete protection.
- engine string
the engine of the instance.
- engine
Version string the engine_version of the instance.
- expire
Time string the expire time of the instance.
- id string
The ID of the HBase instance.
- master
Instance stringType hbase.sn1.large, hbase.sn1.large, hbase.n1.2xlarge and so on.
- master
Node numberCount the node count of master
- name string
The name of the HBase instance.
- network
Type string Classic network or VPC.
- pay
Type string Billing method. Value options are
PostPaidfor Pay-As-You-Go andPrePaidfor yearly or monthly subscription.- region
Id string Region ID the instance belongs to.
- status string
Status of the instance.
- vpc
Id string VPC ID the instance belongs to.
- vswitch
Id string VSwitch ID the instance belongs to.
- zone
Id string Zone ID the instance belongs to.
- {[key: string]: any}
A mapping of tags to assign to the resource.
- backup
Status str the Backup Status of the instance.
- core
Node floatCount same with “core_instance_quantity”
- core_
disk_ floatsize core node disk size, unit:GB.
- core_
disk_ strtype cloud_ssd or cloud_efficiency
- core_
instance_ strtype hbase.sn1.large, hbase.sn1.large, hbase.n1.2xlarge and so on.
- created
Time str - deletion_
protection bool the switch of delete protection.
- engine str
the engine of the instance.
- engine_
version str the engine_version of the instance.
- expire_
time str the expire time of the instance.
- id str
The ID of the HBase instance.
- master
Node floatCount the node count of master
- master_
instance_ strtype hbase.sn1.large, hbase.sn1.large, hbase.n1.2xlarge and so on.
- name str
The name of the HBase instance.
- network_
type str Classic network or VPC.
- pay_
type str Billing method. Value options are
PostPaidfor Pay-As-You-Go andPrePaidfor yearly or monthly subscription.- region
Id str Region ID the instance belongs to.
- status str
Status of the instance.
- vpc_
id str VPC ID the instance belongs to.
- vswitch_
id str VSwitch ID the instance belongs to.
- zone_
id str Zone ID the instance belongs to.
- Dict[str, Any]
A mapping of tags to assign to the resource.
Package Details
- Repository
- https://github.com/pulumi/pulumi-alicloud
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
alicloudTerraform Provider.