Alibaba Cloud v3.57.1 published on Wednesday, Jun 26, 2024 by Pulumi
alicloud.rds.getInstanceEngines
Explore with Pulumi AI
This data source provides the RDS instance engines resource available info of Alibaba Cloud.
NOTE: Available in v1.46.0+
Example Usage
data "alicloud_db_instance_engines" "resources" {
instance_charge_type = "PostPaid"
engine = "MySQL"
engine_version = "5.6"
output_file = "./engines.txt"
}
output "first_db_category" {
value = "${data.alicloud_db_instance_engines.resources.instance_engines.0.category}"
}
Using getInstanceEngines
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 getInstanceEngines(args: GetInstanceEnginesArgs, opts?: InvokeOptions): Promise<GetInstanceEnginesResult>
function getInstanceEnginesOutput(args: GetInstanceEnginesOutputArgs, opts?: InvokeOptions): Output<GetInstanceEnginesResult>
def get_instance_engines(category: 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,
zone_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetInstanceEnginesResult
def get_instance_engines_output(category: 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,
zone_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetInstanceEnginesResult]
func GetInstanceEngines(ctx *Context, args *GetInstanceEnginesArgs, opts ...InvokeOption) (*GetInstanceEnginesResult, error)
func GetInstanceEnginesOutput(ctx *Context, args *GetInstanceEnginesOutputArgs, opts ...InvokeOption) GetInstanceEnginesResultOutput
> Note: This function is named GetInstanceEngines
in the Go SDK.
public static class GetInstanceEngines
{
public static Task<GetInstanceEnginesResult> InvokeAsync(GetInstanceEnginesArgs args, InvokeOptions? opts = null)
public static Output<GetInstanceEnginesResult> Invoke(GetInstanceEnginesInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetInstanceEnginesResult> getInstanceEngines(GetInstanceEnginesArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: alicloud:rds/getInstanceEngines:getInstanceEngines
arguments:
# arguments dictionary
The following arguments are supported:
- Category string
- DB Instance category. the value like [
Basic
,HighAvailability
,Finance
,AlwaysOn
], detail info. - 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
. 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
). - Zone
Id string - The Zone to launch the DB instance.
- Category string
- DB Instance category. the value like [
Basic
,HighAvailability
,Finance
,AlwaysOn
], detail info. - 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
. 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
). - Zone
Id string - The Zone to launch the DB instance.
- category String
- DB Instance category. the value like [
Basic
,HighAvailability
,Finance
,AlwaysOn
], detail info. - 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
. 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
). - zone
Id String - The Zone to launch the DB instance.
- category string
- DB Instance category. the value like [
Basic
,HighAvailability
,Finance
,AlwaysOn
], detail info. - 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
. 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
). - zone
Id string - The Zone to launch the DB instance.
- category str
- DB Instance category. the value like [
Basic
,HighAvailability
,Finance
,AlwaysOn
], detail info. - 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
. 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
). - zone_
id str - The Zone to launch the DB instance.
- category String
- DB Instance category. the value like [
Basic
,HighAvailability
,Finance
,AlwaysOn
], detail info. - 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
. 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
). - zone
Id String - The Zone to launch the DB instance.
getInstanceEngines Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Ids List<string>
- A list of engines.
- Instance
Engines List<Pulumi.Ali Cloud. Rds. Outputs. Get Instance Engines Instance Engine> - A list of Rds available resource. Each element contains the following attributes:
- Category string
- DB Instance category.
- Db
Instance stringStorage Type - Engine string
- Database type.
- Engine
Version string - DB Instance version.
- Instance
Charge stringType - Multi
Zone bool - Output
File string - Zone
Id string
- Id string
- The provider-assigned unique ID for this managed resource.
- Ids []string
- A list of engines.
- Instance
Engines []GetInstance Engines Instance Engine - A list of Rds available resource. Each element contains the following attributes:
- Category string
- DB Instance category.
- Db
Instance stringStorage Type - Engine string
- Database type.
- Engine
Version string - DB Instance version.
- Instance
Charge stringType - Multi
Zone bool - Output
File string - Zone
Id string
- id String
- The provider-assigned unique ID for this managed resource.
- ids List<String>
- A list of engines.
- instance
Engines List<GetInstance Engines Instance Engine> - A list of Rds available resource. Each element contains the following attributes:
- category String
- DB Instance category.
- db
Instance StringStorage Type - engine String
- Database type.
- engine
Version String - DB Instance version.
- instance
Charge StringType - multi
Zone Boolean - output
File String - zone
Id String
- id string
- The provider-assigned unique ID for this managed resource.
- ids string[]
- A list of engines.
- instance
Engines GetInstance Engines Instance Engine[] - A list of Rds available resource. Each element contains the following attributes:
- category string
- DB Instance category.
- db
Instance stringStorage Type - engine string
- Database type.
- engine
Version string - DB Instance version.
- instance
Charge stringType - multi
Zone boolean - output
File string - zone
Id string
- id str
- The provider-assigned unique ID for this managed resource.
- ids Sequence[str]
- A list of engines.
- instance_
engines Sequence[GetInstance Engines Instance Engine] - A list of Rds available resource. Each element contains the following attributes:
- category str
- DB Instance category.
- db_
instance_ strstorage_ type - engine str
- Database type.
- engine_
version str - DB Instance version.
- instance_
charge_ strtype - multi_
zone bool - output_
file str - zone_
id str
- id String
- The provider-assigned unique ID for this managed resource.
- ids List<String>
- A list of engines.
- instance
Engines List<Property Map> - A list of Rds available resource. Each element contains the following attributes:
- category String
- DB Instance category.
- db
Instance StringStorage Type - engine String
- Database type.
- engine
Version String - DB Instance version.
- instance
Charge StringType - multi
Zone Boolean - output
File String - zone
Id String
Supporting Types
GetInstanceEnginesInstanceEngine
- Category string
- DB Instance category. the value like [
Basic
,HighAvailability
,Finance
,AlwaysOn
], detail info. - 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
. - Zone
Ids List<Pulumi.Ali Cloud. Rds. Inputs. Get Instance Engines Instance Engine Zone Id> - A list of Zone to launch the DB instance.
- Category string
- DB Instance category. the value like [
Basic
,HighAvailability
,Finance
,AlwaysOn
], detail info. - 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
. - Zone
Ids []GetInstance Engines Instance Engine Zone Id - A list of Zone to launch the DB instance.
- category String
- DB Instance category. the value like [
Basic
,HighAvailability
,Finance
,AlwaysOn
], detail info. - 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
. - zone
Ids List<GetInstance Engines Instance Engine Zone Id> - A list of Zone to launch the DB instance.
- category string
- DB Instance category. the value like [
Basic
,HighAvailability
,Finance
,AlwaysOn
], detail info. - 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
. - zone
Ids GetInstance Engines Instance Engine Zone Id[] - A list of Zone to launch the DB instance.
- category str
- DB Instance category. the value like [
Basic
,HighAvailability
,Finance
,AlwaysOn
], detail info. - 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
. - zone_
ids Sequence[GetInstance Engines Instance Engine Zone Id] - A list of Zone to launch the DB instance.
- category String
- DB Instance category. the value like [
Basic
,HighAvailability
,Finance
,AlwaysOn
], detail info. - 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
. - zone
Ids List<Property Map> - A list of Zone to launch the DB instance.
GetInstanceEnginesInstanceEngineZoneId
- 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.