alicloud.rds.getInstanceClasses
Explore with Pulumi AI
This data source provides the RDS instance classes resource available info of Alibaba Cloud.
NOTE: Available in v1.46.0+
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";
const resources = alicloud.rds.getInstanceClasses({
instanceChargeType: "PostPaid",
engine: "MySQL",
engineVersion: "5.6",
outputFile: "./classes.txt",
});
export const firstDbInstanceClass = resources.then(resources => resources.instanceClasses?.[0]?.instanceClass);
import pulumi
import pulumi_alicloud as alicloud
resources = alicloud.rds.get_instance_classes(instance_charge_type="PostPaid",
engine="MySQL",
engine_version="5.6",
output_file="./classes.txt")
pulumi.export("firstDbInstanceClass", resources.instance_classes[0].instance_class)
package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/rds"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
resources, err := rds.GetInstanceClasses(ctx, &rds.GetInstanceClassesArgs{
InstanceChargeType: pulumi.StringRef("PostPaid"),
Engine: pulumi.StringRef("MySQL"),
EngineVersion: pulumi.StringRef("5.6"),
OutputFile: pulumi.StringRef("./classes.txt"),
}, nil)
if err != nil {
return err
}
ctx.Export("firstDbInstanceClass", resources.InstanceClasses[0].InstanceClass)
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AliCloud = Pulumi.AliCloud;
return await Deployment.RunAsync(() =>
{
var resources = AliCloud.Rds.GetInstanceClasses.Invoke(new()
{
InstanceChargeType = "PostPaid",
Engine = "MySQL",
EngineVersion = "5.6",
OutputFile = "./classes.txt",
});
return new Dictionary<string, object?>
{
["firstDbInstanceClass"] = resources.Apply(getInstanceClassesResult => getInstanceClassesResult.InstanceClasses[0]?.InstanceClass),
};
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.rds.RdsFunctions;
import com.pulumi.alicloud.rds.inputs.GetInstanceClassesArgs;
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 resources = RdsFunctions.getInstanceClasses(GetInstanceClassesArgs.builder()
.instanceChargeType("PostPaid")
.engine("MySQL")
.engineVersion("5.6")
.outputFile("./classes.txt")
.build());
ctx.export("firstDbInstanceClass", resources.applyValue(getInstanceClassesResult -> getInstanceClassesResult.instanceClasses()[0].instanceClass()));
}
}
variables:
resources:
fn::invoke:
Function: alicloud:rds:getInstanceClasses
Arguments:
instanceChargeType: PostPaid
engine: MySQL
engineVersion: '5.6'
outputFile: ./classes.txt
outputs:
firstDbInstanceClass: ${resources.instanceClasses[0].instanceClass}
Using getInstanceClasses
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 getInstanceClasses(args: GetInstanceClassesArgs, opts?: InvokeOptions): Promise<GetInstanceClassesResult>
function getInstanceClassesOutput(args: GetInstanceClassesOutputArgs, opts?: InvokeOptions): Output<GetInstanceClassesResult>
def get_instance_classes(category: Optional[str] = None,
commodity_code: Optional[str] = None,
db_instance_class: Optional[str] = None,
db_instance_id: Optional[str] = None,
db_instance_storage_type: Optional[str] = None,
engine: Optional[str] = None,
engine_version: Optional[str] = None,
instance_charge_type: Optional[str] = None,
multi_zone: Optional[bool] = None,
output_file: Optional[str] = None,
sorted_by: Optional[str] = None,
storage_type: Optional[str] = None,
zone_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetInstanceClassesResult
def get_instance_classes_output(category: Optional[pulumi.Input[str]] = None,
commodity_code: Optional[pulumi.Input[str]] = None,
db_instance_class: Optional[pulumi.Input[str]] = None,
db_instance_id: Optional[pulumi.Input[str]] = None,
db_instance_storage_type: Optional[pulumi.Input[str]] = None,
engine: Optional[pulumi.Input[str]] = None,
engine_version: Optional[pulumi.Input[str]] = None,
instance_charge_type: Optional[pulumi.Input[str]] = None,
multi_zone: Optional[pulumi.Input[bool]] = None,
output_file: Optional[pulumi.Input[str]] = None,
sorted_by: Optional[pulumi.Input[str]] = None,
storage_type: Optional[pulumi.Input[str]] = None,
zone_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetInstanceClassesResult]
func GetInstanceClasses(ctx *Context, args *GetInstanceClassesArgs, opts ...InvokeOption) (*GetInstanceClassesResult, error)
func GetInstanceClassesOutput(ctx *Context, args *GetInstanceClassesOutputArgs, opts ...InvokeOption) GetInstanceClassesResultOutput
> Note: This function is named GetInstanceClasses
in the Go SDK.
public static class GetInstanceClasses
{
public static Task<GetInstanceClassesResult> InvokeAsync(GetInstanceClassesArgs args, InvokeOptions? opts = null)
public static Output<GetInstanceClassesResult> Invoke(GetInstanceClassesInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetInstanceClassesResult> getInstanceClasses(GetInstanceClassesArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: alicloud:rds/getInstanceClasses:getInstanceClasses
arguments:
# arguments dictionary
The following arguments are supported:
- Category string
- DB Instance category. the value like [
Basic
,HighAvailability
,Finance
,AlwaysOn
,serverless_basic
,serverless_standard
,serverless_ha
,cluster
], detail info. - Commodity
Code string The commodity code of the instance. Valid values:
- bards: The instance is a pay-as-you-go primary instance. This value is available on the China site (aliyun.com).
- rds: The instance is a subscription primary instance. This value is available on the China site (aliyun.com).
- rords: The instance is a pay-as-you-go read-only instance. This value is available on the China site (aliyun.com).
- rds_rordspre_public_cn: The instance is a subscription read-only instance. This value is available on the China site (aliyun.com).
- bards_intl: The instance is a pay-as-you-go primary instance. This value is available on the International site (alibabacloud.com).
- rds_intl: The instance is a subscription primary instance. This value is available on the International site (alibabacloud.com).
- rords_intl: The instance is a pay-as-you-go read-only instance. This value is available on the International site (alibabacloud.com).
- rds_rordspre_public_intl: The instance is a subscription read-only instance. This value is available on the International site (alibabacloud.com).
- rds_serverless_public_cn: The instance is a subscription serverless instance. This value is available on the China site (aliyun.com).
- rds_serverless_public_intl: The instance is a subscription serverless instance. This value is available on the International site (alibabacloud.com).
NOTE: The field
db_instance_id
will be ignored whencommodity_code
is not a read-only type.- Db
Instance stringClass - The DB instance class type by the user.
- Db
Instance stringId The ID of the instance.
NOTE: The field
db_instance_id
will be ignored whencommodity_code
is not a read-only type.- Db
Instance stringStorage Type - The DB instance storage space required by the user. Valid values: "cloud_ssd", "local_ssd", "cloud_essd", "cloud_essd2", "cloud_essd3".
- Engine string
- Database type. Valid values:"MySQL", "SQLServer", "PostgreSQL", "MariaDB". If not set, it will match all of engines.
- Engine
Version string - Database version required by the user. Value options can refer to the latest docs detail info
EngineVersion
. - Instance
Charge stringType - Filter the results by charge type. Valid values:
PrePaid
andPostPaid
andServerless
. Default toPostPaid
. - Multi
Zone bool - Whether to show multi available zone. Default false to not show multi availability zone.
- Output
File string - File name where to save data source results (after running
pulumi up
). - Sorted
By string - Storage
Type string - It has been deprecated from version 1.134.0+ and using
db_instance_storage_type
instead. - Zone
Id string - The Zone to launch the DB instance.
- Category string
- DB Instance category. the value like [
Basic
,HighAvailability
,Finance
,AlwaysOn
,serverless_basic
,serverless_standard
,serverless_ha
,cluster
], detail info. - Commodity
Code string The commodity code of the instance. Valid values:
- bards: The instance is a pay-as-you-go primary instance. This value is available on the China site (aliyun.com).
- rds: The instance is a subscription primary instance. This value is available on the China site (aliyun.com).
- rords: The instance is a pay-as-you-go read-only instance. This value is available on the China site (aliyun.com).
- rds_rordspre_public_cn: The instance is a subscription read-only instance. This value is available on the China site (aliyun.com).
- bards_intl: The instance is a pay-as-you-go primary instance. This value is available on the International site (alibabacloud.com).
- rds_intl: The instance is a subscription primary instance. This value is available on the International site (alibabacloud.com).
- rords_intl: The instance is a pay-as-you-go read-only instance. This value is available on the International site (alibabacloud.com).
- rds_rordspre_public_intl: The instance is a subscription read-only instance. This value is available on the International site (alibabacloud.com).
- rds_serverless_public_cn: The instance is a subscription serverless instance. This value is available on the China site (aliyun.com).
- rds_serverless_public_intl: The instance is a subscription serverless instance. This value is available on the International site (alibabacloud.com).
NOTE: The field
db_instance_id
will be ignored whencommodity_code
is not a read-only type.- Db
Instance stringClass - The DB instance class type by the user.
- Db
Instance stringId The ID of the instance.
NOTE: The field
db_instance_id
will be ignored whencommodity_code
is not a read-only type.- Db
Instance stringStorage Type - The DB instance storage space required by the user. Valid values: "cloud_ssd", "local_ssd", "cloud_essd", "cloud_essd2", "cloud_essd3".
- Engine string
- Database type. Valid values:"MySQL", "SQLServer", "PostgreSQL", "MariaDB". If not set, it will match all of engines.
- Engine
Version string - Database version required by the user. Value options can refer to the latest docs detail info
EngineVersion
. - Instance
Charge stringType - Filter the results by charge type. Valid values:
PrePaid
andPostPaid
andServerless
. Default toPostPaid
. - Multi
Zone bool - Whether to show multi available zone. Default false to not show multi availability zone.
- Output
File string - File name where to save data source results (after running
pulumi up
). - Sorted
By string - Storage
Type string - It has been deprecated from version 1.134.0+ and using
db_instance_storage_type
instead. - Zone
Id string - The Zone to launch the DB instance.
- category String
- DB Instance category. the value like [
Basic
,HighAvailability
,Finance
,AlwaysOn
,serverless_basic
,serverless_standard
,serverless_ha
,cluster
], detail info. - commodity
Code String The commodity code of the instance. Valid values:
- bards: The instance is a pay-as-you-go primary instance. This value is available on the China site (aliyun.com).
- rds: The instance is a subscription primary instance. This value is available on the China site (aliyun.com).
- rords: The instance is a pay-as-you-go read-only instance. This value is available on the China site (aliyun.com).
- rds_rordspre_public_cn: The instance is a subscription read-only instance. This value is available on the China site (aliyun.com).
- bards_intl: The instance is a pay-as-you-go primary instance. This value is available on the International site (alibabacloud.com).
- rds_intl: The instance is a subscription primary instance. This value is available on the International site (alibabacloud.com).
- rords_intl: The instance is a pay-as-you-go read-only instance. This value is available on the International site (alibabacloud.com).
- rds_rordspre_public_intl: The instance is a subscription read-only instance. This value is available on the International site (alibabacloud.com).
- rds_serverless_public_cn: The instance is a subscription serverless instance. This value is available on the China site (aliyun.com).
- rds_serverless_public_intl: The instance is a subscription serverless instance. This value is available on the International site (alibabacloud.com).
NOTE: The field
db_instance_id
will be ignored whencommodity_code
is not a read-only type.- db
Instance StringClass - The DB instance class type by the user.
- db
Instance StringId The ID of the instance.
NOTE: The field
db_instance_id
will be ignored whencommodity_code
is not a read-only type.- db
Instance StringStorage Type - The DB instance storage space required by the user. Valid values: "cloud_ssd", "local_ssd", "cloud_essd", "cloud_essd2", "cloud_essd3".
- engine String
- Database type. Valid values:"MySQL", "SQLServer", "PostgreSQL", "MariaDB". If not set, it will match all of engines.
- engine
Version String - Database version required by the user. Value options can refer to the latest docs detail info
EngineVersion
. - instance
Charge StringType - Filter the results by charge type. Valid values:
PrePaid
andPostPaid
andServerless
. Default toPostPaid
. - multi
Zone Boolean - Whether to show multi available zone. Default false to not show multi availability zone.
- output
File String - File name where to save data source results (after running
pulumi up
). - sorted
By String - storage
Type String - It has been deprecated from version 1.134.0+ and using
db_instance_storage_type
instead. - zone
Id String - The Zone to launch the DB instance.
- category string
- DB Instance category. the value like [
Basic
,HighAvailability
,Finance
,AlwaysOn
,serverless_basic
,serverless_standard
,serverless_ha
,cluster
], detail info. - commodity
Code string The commodity code of the instance. Valid values:
- bards: The instance is a pay-as-you-go primary instance. This value is available on the China site (aliyun.com).
- rds: The instance is a subscription primary instance. This value is available on the China site (aliyun.com).
- rords: The instance is a pay-as-you-go read-only instance. This value is available on the China site (aliyun.com).
- rds_rordspre_public_cn: The instance is a subscription read-only instance. This value is available on the China site (aliyun.com).
- bards_intl: The instance is a pay-as-you-go primary instance. This value is available on the International site (alibabacloud.com).
- rds_intl: The instance is a subscription primary instance. This value is available on the International site (alibabacloud.com).
- rords_intl: The instance is a pay-as-you-go read-only instance. This value is available on the International site (alibabacloud.com).
- rds_rordspre_public_intl: The instance is a subscription read-only instance. This value is available on the International site (alibabacloud.com).
- rds_serverless_public_cn: The instance is a subscription serverless instance. This value is available on the China site (aliyun.com).
- rds_serverless_public_intl: The instance is a subscription serverless instance. This value is available on the International site (alibabacloud.com).
NOTE: The field
db_instance_id
will be ignored whencommodity_code
is not a read-only type.- db
Instance stringClass - The DB instance class type by the user.
- db
Instance stringId The ID of the instance.
NOTE: The field
db_instance_id
will be ignored whencommodity_code
is not a read-only type.- db
Instance stringStorage Type - The DB instance storage space required by the user. Valid values: "cloud_ssd", "local_ssd", "cloud_essd", "cloud_essd2", "cloud_essd3".
- engine string
- Database type. Valid values:"MySQL", "SQLServer", "PostgreSQL", "MariaDB". If not set, it will match all of engines.
- engine
Version string - Database version required by the user. Value options can refer to the latest docs detail info
EngineVersion
. - instance
Charge stringType - Filter the results by charge type. Valid values:
PrePaid
andPostPaid
andServerless
. Default toPostPaid
. - multi
Zone boolean - Whether to show multi available zone. Default false to not show multi availability zone.
- output
File string - File name where to save data source results (after running
pulumi up
). - sorted
By string - storage
Type string - It has been deprecated from version 1.134.0+ and using
db_instance_storage_type
instead. - zone
Id string - The Zone to launch the DB instance.
- category str
- DB Instance category. the value like [
Basic
,HighAvailability
,Finance
,AlwaysOn
,serverless_basic
,serverless_standard
,serverless_ha
,cluster
], detail info. - commodity_
code str The commodity code of the instance. Valid values:
- bards: The instance is a pay-as-you-go primary instance. This value is available on the China site (aliyun.com).
- rds: The instance is a subscription primary instance. This value is available on the China site (aliyun.com).
- rords: The instance is a pay-as-you-go read-only instance. This value is available on the China site (aliyun.com).
- rds_rordspre_public_cn: The instance is a subscription read-only instance. This value is available on the China site (aliyun.com).
- bards_intl: The instance is a pay-as-you-go primary instance. This value is available on the International site (alibabacloud.com).
- rds_intl: The instance is a subscription primary instance. This value is available on the International site (alibabacloud.com).
- rords_intl: The instance is a pay-as-you-go read-only instance. This value is available on the International site (alibabacloud.com).
- rds_rordspre_public_intl: The instance is a subscription read-only instance. This value is available on the International site (alibabacloud.com).
- rds_serverless_public_cn: The instance is a subscription serverless instance. This value is available on the China site (aliyun.com).
- rds_serverless_public_intl: The instance is a subscription serverless instance. This value is available on the International site (alibabacloud.com).
NOTE: The field
db_instance_id
will be ignored whencommodity_code
is not a read-only type.- db_
instance_ strclass - The DB instance class type by the user.
- db_
instance_ strid The ID of the instance.
NOTE: The field
db_instance_id
will be ignored whencommodity_code
is not a read-only type.- db_
instance_ strstorage_ type - The DB instance storage space required by the user. Valid values: "cloud_ssd", "local_ssd", "cloud_essd", "cloud_essd2", "cloud_essd3".
- engine str
- Database type. Valid values:"MySQL", "SQLServer", "PostgreSQL", "MariaDB". If not set, it will match all of engines.
- engine_
version str - Database version required by the user. Value options can refer to the latest docs detail info
EngineVersion
. - instance_
charge_ strtype - Filter the results by charge type. Valid values:
PrePaid
andPostPaid
andServerless
. Default toPostPaid
. - multi_
zone bool - Whether to show multi available zone. Default false to not show multi availability zone.
- output_
file str - File name where to save data source results (after running
pulumi up
). - sorted_
by str - storage_
type str - It has been deprecated from version 1.134.0+ and using
db_instance_storage_type
instead. - zone_
id str - The Zone to launch the DB instance.
- category String
- DB Instance category. the value like [
Basic
,HighAvailability
,Finance
,AlwaysOn
,serverless_basic
,serverless_standard
,serverless_ha
,cluster
], detail info. - commodity
Code String The commodity code of the instance. Valid values:
- bards: The instance is a pay-as-you-go primary instance. This value is available on the China site (aliyun.com).
- rds: The instance is a subscription primary instance. This value is available on the China site (aliyun.com).
- rords: The instance is a pay-as-you-go read-only instance. This value is available on the China site (aliyun.com).
- rds_rordspre_public_cn: The instance is a subscription read-only instance. This value is available on the China site (aliyun.com).
- bards_intl: The instance is a pay-as-you-go primary instance. This value is available on the International site (alibabacloud.com).
- rds_intl: The instance is a subscription primary instance. This value is available on the International site (alibabacloud.com).
- rords_intl: The instance is a pay-as-you-go read-only instance. This value is available on the International site (alibabacloud.com).
- rds_rordspre_public_intl: The instance is a subscription read-only instance. This value is available on the International site (alibabacloud.com).
- rds_serverless_public_cn: The instance is a subscription serverless instance. This value is available on the China site (aliyun.com).
- rds_serverless_public_intl: The instance is a subscription serverless instance. This value is available on the International site (alibabacloud.com).
NOTE: The field
db_instance_id
will be ignored whencommodity_code
is not a read-only type.- db
Instance StringClass - The DB instance class type by the user.
- db
Instance StringId The ID of the instance.
NOTE: The field
db_instance_id
will be ignored whencommodity_code
is not a read-only type.- db
Instance StringStorage Type - The DB instance storage space required by the user. Valid values: "cloud_ssd", "local_ssd", "cloud_essd", "cloud_essd2", "cloud_essd3".
- engine String
- Database type. Valid values:"MySQL", "SQLServer", "PostgreSQL", "MariaDB". If not set, it will match all of engines.
- engine
Version String - Database version required by the user. Value options can refer to the latest docs detail info
EngineVersion
. - instance
Charge StringType - Filter the results by charge type. Valid values:
PrePaid
andPostPaid
andServerless
. Default toPostPaid
. - multi
Zone Boolean - Whether to show multi available zone. Default false to not show multi availability zone.
- output
File String - File name where to save data source results (after running
pulumi up
). - sorted
By String - storage
Type String - It has been deprecated from version 1.134.0+ and using
db_instance_storage_type
instead. - zone
Id String - The Zone to launch the DB instance.
getInstanceClasses Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Ids List<string>
- (Available in 1.60.0+) A list of Rds instance class codes.
- Instance
Classes List<Pulumi.Ali Cloud. Rds. Outputs. Get Instance Classes Instance Class> - A list of Rds available resource. Each element contains the following attributes:
- Category string
- Commodity
Code string - Db
Instance stringClass - Db
Instance stringId - Db
Instance stringStorage Type - Engine string
- Engine
Version string - Instance
Charge stringType - Multi
Zone bool - Output
File string - Sorted
By string - Storage
Type string - Zone
Id string
- Id string
- The provider-assigned unique ID for this managed resource.
- Ids []string
- (Available in 1.60.0+) A list of Rds instance class codes.
- Instance
Classes []GetInstance Classes Instance Class - A list of Rds available resource. Each element contains the following attributes:
- Category string
- Commodity
Code string - Db
Instance stringClass - Db
Instance stringId - Db
Instance stringStorage Type - Engine string
- Engine
Version string - Instance
Charge stringType - Multi
Zone bool - Output
File string - Sorted
By string - Storage
Type string - Zone
Id string
- id String
- The provider-assigned unique ID for this managed resource.
- ids List<String>
- (Available in 1.60.0+) A list of Rds instance class codes.
- instance
Classes List<GetInstance Classes Instance Class> - A list of Rds available resource. Each element contains the following attributes:
- category String
- commodity
Code String - db
Instance StringClass - db
Instance StringId - db
Instance StringStorage Type - engine String
- engine
Version String - instance
Charge StringType - multi
Zone Boolean - output
File String - sorted
By String - storage
Type String - zone
Id String
- id string
- The provider-assigned unique ID for this managed resource.
- ids string[]
- (Available in 1.60.0+) A list of Rds instance class codes.
- instance
Classes GetInstance Classes Instance Class[] - A list of Rds available resource. Each element contains the following attributes:
- category string
- commodity
Code string - db
Instance stringClass - db
Instance stringId - db
Instance stringStorage Type - engine string
- engine
Version string - instance
Charge stringType - multi
Zone boolean - output
File string - sorted
By string - storage
Type string - zone
Id string
- id str
- The provider-assigned unique ID for this managed resource.
- ids Sequence[str]
- (Available in 1.60.0+) A list of Rds instance class codes.
- instance_
classes Sequence[GetInstance Classes Instance Class] - A list of Rds available resource. Each element contains the following attributes:
- category str
- commodity_
code str - db_
instance_ strclass - db_
instance_ strid - db_
instance_ strstorage_ type - engine str
- engine_
version str - instance_
charge_ strtype - multi_
zone bool - output_
file str - sorted_
by str - storage_
type str - zone_
id str
- id String
- The provider-assigned unique ID for this managed resource.
- ids List<String>
- (Available in 1.60.0+) A list of Rds instance class codes.
- instance
Classes List<Property Map> - A list of Rds available resource. Each element contains the following attributes:
- category String
- commodity
Code String - db
Instance StringClass - db
Instance StringId - db
Instance StringStorage Type - engine String
- engine
Version String - instance
Charge StringType - multi
Zone Boolean - output
File String - sorted
By String - storage
Type String - zone
Id String
Supporting Types
GetInstanceClassesInstanceClass
- Instance
Class string - DB Instance available class.
- Price string
- Storage
Range Pulumi.Ali Cloud. Rds. Inputs. Get Instance Classes Instance Class Storage Range - DB Instance available storage range.
- Zone
Ids List<Pulumi.Ali Cloud. Rds. Inputs. Get Instance Classes Instance Class Zone Id> - A list of Zone to launch the DB instance.
- Instance
Class string - DB Instance available class.
- Price string
- Storage
Range GetInstance Classes Instance Class Storage Range - DB Instance available storage range.
- Zone
Ids []GetInstance Classes Instance Class Zone Id - A list of Zone to launch the DB instance.
- instance
Class String - DB Instance available class.
- price String
- storage
Range GetInstance Classes Instance Class Storage Range - DB Instance available storage range.
- zone
Ids List<GetInstance Classes Instance Class Zone Id> - A list of Zone to launch the DB instance.
- instance
Class string - DB Instance available class.
- price string
- storage
Range GetInstance Classes Instance Class Storage Range - DB Instance available storage range.
- zone
Ids GetInstance Classes Instance Class Zone Id[] - A list of Zone to launch the DB instance.
- instance_
class str - DB Instance available class.
- price str
- storage_
range GetInstance Classes Instance Class Storage Range - DB Instance available storage range.
- zone_
ids Sequence[GetInstance Classes Instance Class Zone Id] - A list of Zone to launch the DB instance.
- instance
Class String - DB Instance available class.
- price String
- storage
Range Property Map - DB Instance available storage range.
- zone
Ids List<Property Map> - A list of Zone to launch the DB instance.
GetInstanceClassesInstanceClassStorageRange
GetInstanceClassesInstanceClassZoneId
- Id string
- The Zone to launch the DB instance
- Sub
Zone List<string>Ids - A list of sub zone ids which in the id - e.g If
id
iscn-beijing-MAZ5(a,b)
,sub_zone_ids
will be["cn-beijing-a", "cn-beijing-b"]
.
- Id string
- The Zone to launch the DB instance
- Sub
Zone []stringIds - A list of sub zone ids which in the id - e.g If
id
iscn-beijing-MAZ5(a,b)
,sub_zone_ids
will be["cn-beijing-a", "cn-beijing-b"]
.
- id String
- The Zone to launch the DB instance
- sub
Zone List<String>Ids - A list of sub zone ids which in the id - e.g If
id
iscn-beijing-MAZ5(a,b)
,sub_zone_ids
will be["cn-beijing-a", "cn-beijing-b"]
.
- id string
- The Zone to launch the DB instance
- sub
Zone string[]Ids - A list of sub zone ids which in the id - e.g If
id
iscn-beijing-MAZ5(a,b)
,sub_zone_ids
will be["cn-beijing-a", "cn-beijing-b"]
.
- id str
- The Zone to launch the DB instance
- sub_
zone_ Sequence[str]ids - A list of sub zone ids which in the id - e.g If
id
iscn-beijing-MAZ5(a,b)
,sub_zone_ids
will be["cn-beijing-a", "cn-beijing-b"]
.
- id String
- The Zone to launch the DB instance
- sub
Zone List<String>Ids - A list of sub zone ids which in the id - e.g If
id
iscn-beijing-MAZ5(a,b)
,sub_zone_ids
will be["cn-beijing-a", "cn-beijing-b"]
.
Package Details
- Repository
- Alibaba Cloud pulumi/pulumi-alicloud
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
alicloud
Terraform Provider.