Volcengine v0.0.27 published on Tuesday, Dec 10, 2024 by Volcengine
volcengine.rds.Instances
Explore with Pulumi AI
(Deprecated! Recommend use volcengine_rds_mysql_*** replace) Use this data source to query detailed information of rds instances
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as volcengine from "@pulumi/volcengine";
const default = volcengine.rds.Instances({
instanceId: "mysql-0fdd3bab2e7c",
});
import pulumi
import pulumi_volcengine as volcengine
default = volcengine.rds.instances(instance_id="mysql-0fdd3bab2e7c")
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/rds"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := rds.Instances(ctx, &rds.InstancesArgs{
InstanceId: pulumi.StringRef("mysql-0fdd3bab2e7c"),
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Volcengine = Pulumi.Volcengine;
return await Deployment.RunAsync(() =>
{
var @default = Volcengine.Rds.Instances.Invoke(new()
{
InstanceId = "mysql-0fdd3bab2e7c",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.volcengine.rds.RdsFunctions;
import com.pulumi.volcengine.rds.inputs.InstancesArgs;
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 = RdsFunctions.Instances(InstancesArgs.builder()
.instanceId("mysql-0fdd3bab2e7c")
.build());
}
}
variables:
default:
fn::invoke:
Function: volcengine:rds:Instances
Arguments:
instanceId: mysql-0fdd3bab2e7c
Using Instances
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 instances(args: InstancesArgs, opts?: InvokeOptions): Promise<InstancesResult>
function instancesOutput(args: InstancesOutputArgs, opts?: InvokeOptions): Output<InstancesResult>
def instances(create_end_time: Optional[str] = None,
create_start_time: Optional[str] = None,
instance_id: Optional[str] = None,
instance_status: Optional[str] = None,
instance_type: Optional[str] = None,
name_regex: Optional[str] = None,
output_file: Optional[str] = None,
region: Optional[str] = None,
zone: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> InstancesResult
def instances_output(create_end_time: Optional[pulumi.Input[str]] = None,
create_start_time: Optional[pulumi.Input[str]] = None,
instance_id: Optional[pulumi.Input[str]] = None,
instance_status: Optional[pulumi.Input[str]] = None,
instance_type: Optional[pulumi.Input[str]] = None,
name_regex: Optional[pulumi.Input[str]] = None,
output_file: Optional[pulumi.Input[str]] = None,
region: Optional[pulumi.Input[str]] = None,
zone: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[InstancesResult]
func Instances(ctx *Context, args *InstancesArgs, opts ...InvokeOption) (*InstancesResult, error)
func InstancesOutput(ctx *Context, args *InstancesOutputArgs, opts ...InvokeOption) InstancesResultOutput
public static class Instances
{
public static Task<InstancesResult> InvokeAsync(InstancesArgs args, InvokeOptions? opts = null)
public static Output<InstancesResult> Invoke(InstancesInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<InstancesResult> instances(InstancesArgs args, InvokeOptions options)
public static Output<InstancesResult> instances(InstancesArgs args, InvokeOptions options)
fn::invoke:
function: volcengine:rds:Instances
arguments:
# arguments dictionary
The following arguments are supported:
- Create
End stringTime - The end time of creating RDS instance.
- Create
Start stringTime - The start time of creating RDS instance.
- Instance
Id string - The id of the RDS instance.
- Instance
Status string - The status of the RDS instance.
- Instance
Type string - The type of the RDS instance.
- Name
Regex string - A Name Regex of RDS instance.
- Output
File string - File name where to save data source results.
- Region string
- The region of the RDS instance.
- Zone string
- The available zone of the RDS instance.
- Create
End stringTime - The end time of creating RDS instance.
- Create
Start stringTime - The start time of creating RDS instance.
- Instance
Id string - The id of the RDS instance.
- Instance
Status string - The status of the RDS instance.
- Instance
Type string - The type of the RDS instance.
- Name
Regex string - A Name Regex of RDS instance.
- Output
File string - File name where to save data source results.
- Region string
- The region of the RDS instance.
- Zone string
- The available zone of the RDS instance.
- create
End StringTime - The end time of creating RDS instance.
- create
Start StringTime - The start time of creating RDS instance.
- instance
Id String - The id of the RDS instance.
- instance
Status String - The status of the RDS instance.
- instance
Type String - The type of the RDS instance.
- name
Regex String - A Name Regex of RDS instance.
- output
File String - File name where to save data source results.
- region String
- The region of the RDS instance.
- zone String
- The available zone of the RDS instance.
- create
End stringTime - The end time of creating RDS instance.
- create
Start stringTime - The start time of creating RDS instance.
- instance
Id string - The id of the RDS instance.
- instance
Status string - The status of the RDS instance.
- instance
Type string - The type of the RDS instance.
- name
Regex string - A Name Regex of RDS instance.
- output
File string - File name where to save data source results.
- region string
- The region of the RDS instance.
- zone string
- The available zone of the RDS instance.
- create_
end_ strtime - The end time of creating RDS instance.
- create_
start_ strtime - The start time of creating RDS instance.
- instance_
id str - The id of the RDS instance.
- instance_
status str - The status of the RDS instance.
- instance_
type str - The type of the RDS instance.
- name_
regex str - A Name Regex of RDS instance.
- output_
file str - File name where to save data source results.
- region str
- The region of the RDS instance.
- zone str
- The available zone of the RDS instance.
- create
End StringTime - The end time of creating RDS instance.
- create
Start StringTime - The start time of creating RDS instance.
- instance
Id String - The id of the RDS instance.
- instance
Status String - The status of the RDS instance.
- instance
Type String - The type of the RDS instance.
- name
Regex String - A Name Regex of RDS instance.
- output
File String - File name where to save data source results.
- region String
- The region of the RDS instance.
- zone String
- The available zone of the RDS instance.
Instances Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Rds
Instances List<InstancesRds Instance> - The collection of RDS instance query.
- Total
Count int - The total count of RDS instance query.
- Create
End stringTime - Create
Start stringTime - Instance
Id string - The ID of the RDS instance.
- Instance
Status string - The status of the RDS instance.
- Instance
Type string - The type of the RDS instance.
- Name
Regex string - Output
File string - Region string
- The region of the RDS instance.
- Zone string
- The available zone of the RDS instance.
- Id string
- The provider-assigned unique ID for this managed resource.
- Rds
Instances []InstancesRds Instance - The collection of RDS instance query.
- Total
Count int - The total count of RDS instance query.
- Create
End stringTime - Create
Start stringTime - Instance
Id string - The ID of the RDS instance.
- Instance
Status string - The status of the RDS instance.
- Instance
Type string - The type of the RDS instance.
- Name
Regex string - Output
File string - Region string
- The region of the RDS instance.
- Zone string
- The available zone of the RDS instance.
- id String
- The provider-assigned unique ID for this managed resource.
- rds
Instances List<InstancesRds Instance> - The collection of RDS instance query.
- total
Count Integer - The total count of RDS instance query.
- create
End StringTime - create
Start StringTime - instance
Id String - The ID of the RDS instance.
- instance
Status String - The status of the RDS instance.
- instance
Type String - The type of the RDS instance.
- name
Regex String - output
File String - region String
- The region of the RDS instance.
- zone String
- The available zone of the RDS instance.
- id string
- The provider-assigned unique ID for this managed resource.
- rds
Instances InstancesRds Instance[] - The collection of RDS instance query.
- total
Count number - The total count of RDS instance query.
- create
End stringTime - create
Start stringTime - instance
Id string - The ID of the RDS instance.
- instance
Status string - The status of the RDS instance.
- instance
Type string - The type of the RDS instance.
- name
Regex string - output
File string - region string
- The region of the RDS instance.
- zone string
- The available zone of the RDS instance.
- id str
- The provider-assigned unique ID for this managed resource.
- rds_
instances Sequence[InstancesRds Instance] - The collection of RDS instance query.
- total_
count int - The total count of RDS instance query.
- create_
end_ strtime - create_
start_ strtime - instance_
id str - The ID of the RDS instance.
- instance_
status str - The status of the RDS instance.
- instance_
type str - The type of the RDS instance.
- name_
regex str - output_
file str - region str
- The region of the RDS instance.
- zone str
- The available zone of the RDS instance.
- id String
- The provider-assigned unique ID for this managed resource.
- rds
Instances List<Property Map> - The collection of RDS instance query.
- total
Count Number - The total count of RDS instance query.
- create
End StringTime - create
Start StringTime - instance
Id String - The ID of the RDS instance.
- instance
Status String - The status of the RDS instance.
- instance
Type String - The type of the RDS instance.
- name
Regex String - output
File String - region String
- The region of the RDS instance.
- zone String
- The available zone of the RDS instance.
Supporting Types
InstancesRdsInstance
- Charge
Status This property is required. string - The charge status of the RDS instance.
- Charge
Type This property is required. string - The charge type of the RDS instance.
- Connection
Info This property is required. InstancesRds Instance Connection Info - The connection info ot the RDS instance.
- Create
Time This property is required. string - The create time of the RDS instance.
- Db
Engine This property is required. string - The engine of the RDS instance.
- Db
Engine Version This property is required. string - The engine version of the RDS instance.
- Id
This property is required. string - The ID of the RDS instance.
- Instance
Id This property is required. string - The id of the RDS instance.
- Instance
Name This property is required. string - The name of the RDS instance.
- Instance
Spec This property is required. InstancesRds Instance Instance Spec - The spec type detail of RDS instance.
- Instance
Status This property is required. string - The status of the RDS instance.
- Instance
Type This property is required. string - The type of the RDS instance.
- Region
This property is required. string - The region of the RDS instance.
- Storage
Space Gb This property is required. int - The total storage GB of the RDS instance.
- Update
Time This property is required. string - The update time of the RDS instance.
- Vpc
Id This property is required. string - The vpc ID of the RDS instance.
- Zone
This property is required. string - The available zone of the RDS instance.
- Read
Only List<string>Instance Ids - The ID list of read only instance.
- Charge
Status This property is required. string - The charge status of the RDS instance.
- Charge
Type This property is required. string - The charge type of the RDS instance.
- Connection
Info This property is required. InstancesRds Instance Connection Info - The connection info ot the RDS instance.
- Create
Time This property is required. string - The create time of the RDS instance.
- Db
Engine This property is required. string - The engine of the RDS instance.
- Db
Engine Version This property is required. string - The engine version of the RDS instance.
- Id
This property is required. string - The ID of the RDS instance.
- Instance
Id This property is required. string - The id of the RDS instance.
- Instance
Name This property is required. string - The name of the RDS instance.
- Instance
Spec This property is required. InstancesRds Instance Instance Spec - The spec type detail of RDS instance.
- Instance
Status This property is required. string - The status of the RDS instance.
- Instance
Type This property is required. string - The type of the RDS instance.
- Region
This property is required. string - The region of the RDS instance.
- Storage
Space Gb This property is required. int - The total storage GB of the RDS instance.
- Update
Time This property is required. string - The update time of the RDS instance.
- Vpc
Id This property is required. string - The vpc ID of the RDS instance.
- Zone
This property is required. string - The available zone of the RDS instance.
- Read
Only []stringInstance Ids - The ID list of read only instance.
- charge
Status This property is required. String - The charge status of the RDS instance.
- charge
Type This property is required. String - The charge type of the RDS instance.
- connection
Info This property is required. InstancesRds Instance Connection Info - The connection info ot the RDS instance.
- create
Time This property is required. String - The create time of the RDS instance.
- db
Engine This property is required. String - The engine of the RDS instance.
- db
Engine Version This property is required. String - The engine version of the RDS instance.
- id
This property is required. String - The ID of the RDS instance.
- instance
Id This property is required. String - The id of the RDS instance.
- instance
Name This property is required. String - The name of the RDS instance.
- instance
Spec This property is required. InstancesRds Instance Instance Spec - The spec type detail of RDS instance.
- instance
Status This property is required. String - The status of the RDS instance.
- instance
Type This property is required. String - The type of the RDS instance.
- region
This property is required. String - The region of the RDS instance.
- storage
Space Gb This property is required. Integer - The total storage GB of the RDS instance.
- update
Time This property is required. String - The update time of the RDS instance.
- vpc
Id This property is required. String - The vpc ID of the RDS instance.
- zone
This property is required. String - The available zone of the RDS instance.
- read
Only List<String>Instance Ids - The ID list of read only instance.
- charge
Status This property is required. string - The charge status of the RDS instance.
- charge
Type This property is required. string - The charge type of the RDS instance.
- connection
Info This property is required. InstancesRds Instance Connection Info - The connection info ot the RDS instance.
- create
Time This property is required. string - The create time of the RDS instance.
- db
Engine This property is required. string - The engine of the RDS instance.
- db
Engine Version This property is required. string - The engine version of the RDS instance.
- id
This property is required. string - The ID of the RDS instance.
- instance
Id This property is required. string - The id of the RDS instance.
- instance
Name This property is required. string - The name of the RDS instance.
- instance
Spec This property is required. InstancesRds Instance Instance Spec - The spec type detail of RDS instance.
- instance
Status This property is required. string - The status of the RDS instance.
- instance
Type This property is required. string - The type of the RDS instance.
- region
This property is required. string - The region of the RDS instance.
- storage
Space Gb This property is required. number - The total storage GB of the RDS instance.
- update
Time This property is required. string - The update time of the RDS instance.
- vpc
Id This property is required. string - The vpc ID of the RDS instance.
- zone
This property is required. string - The available zone of the RDS instance.
- read
Only string[]Instance Ids - The ID list of read only instance.
- charge_
status This property is required. str - The charge status of the RDS instance.
- charge_
type This property is required. str - The charge type of the RDS instance.
- connection_
info This property is required. InstancesRds Instance Connection Info - The connection info ot the RDS instance.
- create_
time This property is required. str - The create time of the RDS instance.
- db_
engine This property is required. str - The engine of the RDS instance.
- db_
engine_ version This property is required. str - The engine version of the RDS instance.
- id
This property is required. str - The ID of the RDS instance.
- instance_
id This property is required. str - The id of the RDS instance.
- instance_
name This property is required. str - The name of the RDS instance.
- instance_
spec This property is required. InstancesRds Instance Instance Spec - The spec type detail of RDS instance.
- instance_
status This property is required. str - The status of the RDS instance.
- instance_
type This property is required. str - The type of the RDS instance.
- region
This property is required. str - The region of the RDS instance.
- storage_
space_ gb This property is required. int - The total storage GB of the RDS instance.
- update_
time This property is required. str - The update time of the RDS instance.
- vpc_
id This property is required. str - The vpc ID of the RDS instance.
- zone
This property is required. str - The available zone of the RDS instance.
- read_
only_ Sequence[str]instance_ ids - The ID list of read only instance.
- charge
Status This property is required. String - The charge status of the RDS instance.
- charge
Type This property is required. String - The charge type of the RDS instance.
- connection
Info This property is required. Property Map - The connection info ot the RDS instance.
- create
Time This property is required. String - The create time of the RDS instance.
- db
Engine This property is required. String - The engine of the RDS instance.
- db
Engine Version This property is required. String - The engine version of the RDS instance.
- id
This property is required. String - The ID of the RDS instance.
- instance
Id This property is required. String - The id of the RDS instance.
- instance
Name This property is required. String - The name of the RDS instance.
- instance
Spec This property is required. Property Map - The spec type detail of RDS instance.
- instance
Status This property is required. String - The status of the RDS instance.
- instance
Type This property is required. String - The type of the RDS instance.
- region
This property is required. String - The region of the RDS instance.
- storage
Space Gb This property is required. Number - The total storage GB of the RDS instance.
- update
Time This property is required. String - The update time of the RDS instance.
- vpc
Id This property is required. String - The vpc ID of the RDS instance.
- zone
This property is required. String - The available zone of the RDS instance.
- read
Only List<String>Instance Ids - The ID list of read only instance.
InstancesRdsInstanceConnectionInfo
- Enable
Read Only This property is required. string - Whether global read-only is enabled.
- Enable
Read Write Splitting This property is required. string - Whether read-write separation is enabled.
- Internal
Domain This property is required. string - The internal domain of the RDS instance.
- Internal
Port This property is required. string - The interval port of the RDS instance.
- Public
Domain This property is required. string - The public domain of the RDS instance.
- Public
Port This property is required. string - The public port of the RDS instance.
- Enable
Read Only This property is required. string - Whether global read-only is enabled.
- Enable
Read Write Splitting This property is required. string - Whether read-write separation is enabled.
- Internal
Domain This property is required. string - The internal domain of the RDS instance.
- Internal
Port This property is required. string - The interval port of the RDS instance.
- Public
Domain This property is required. string - The public domain of the RDS instance.
- Public
Port This property is required. string - The public port of the RDS instance.
- enable
Read Only This property is required. String - Whether global read-only is enabled.
- enable
Read Write Splitting This property is required. String - Whether read-write separation is enabled.
- internal
Domain This property is required. String - The internal domain of the RDS instance.
- internal
Port This property is required. String - The interval port of the RDS instance.
- public
Domain This property is required. String - The public domain of the RDS instance.
- public
Port This property is required. String - The public port of the RDS instance.
- enable
Read Only This property is required. string - Whether global read-only is enabled.
- enable
Read Write Splitting This property is required. string - Whether read-write separation is enabled.
- internal
Domain This property is required. string - The internal domain of the RDS instance.
- internal
Port This property is required. string - The interval port of the RDS instance.
- public
Domain This property is required. string - The public domain of the RDS instance.
- public
Port This property is required. string - The public port of the RDS instance.
- enable_
read_ only This property is required. str - Whether global read-only is enabled.
- enable_
read_ write_ splitting This property is required. str - Whether read-write separation is enabled.
- internal_
domain This property is required. str - The internal domain of the RDS instance.
- internal_
port This property is required. str - The interval port of the RDS instance.
- public_
domain This property is required. str - The public domain of the RDS instance.
- public_
port This property is required. str - The public port of the RDS instance.
- enable
Read Only This property is required. String - Whether global read-only is enabled.
- enable
Read Write Splitting This property is required. String - Whether read-write separation is enabled.
- internal
Domain This property is required. String - The internal domain of the RDS instance.
- internal
Port This property is required. String - The interval port of the RDS instance.
- public
Domain This property is required. String - The public domain of the RDS instance.
- public
Port This property is required. String - The public port of the RDS instance.
InstancesRdsInstanceInstanceSpec
Package Details
- Repository
- volcengine volcengine/pulumi-volcengine
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
volcengine
Terraform Provider.