Volcengine v0.0.38 published on Friday, Oct 31, 2025 by Volcengine
Volcengine v0.0.38 published on Friday, Oct 31, 2025 by Volcengine
Use this data source to query detailed information of rds mysql endpoints
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as volcengine from "@pulumi/volcengine";
const foo = volcengine.rds_mysql.getEndpoints({
instanceId: "mysql-38c3d4f05f6e",
});
import pulumi
import pulumi_volcengine as volcengine
foo = volcengine.rds_mysql.get_endpoints(instance_id="mysql-38c3d4f05f6e")
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/rds_mysql"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := rds_mysql.GetEndpoints(ctx, &rds_mysql.GetEndpointsArgs{
InstanceId: "mysql-38c3d4f05f6e",
}, 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 foo = Volcengine.Rds_mysql.GetEndpoints.Invoke(new()
{
InstanceId = "mysql-38c3d4f05f6e",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.volcengine.rds_mysql.Rds_mysqlFunctions;
import com.pulumi.volcengine.rds_mysql.inputs.GetEndpointsArgs;
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 foo = Rds_mysqlFunctions.getEndpoints(GetEndpointsArgs.builder()
.instanceId("mysql-38c3d4f05f6e")
.build());
}
}
variables:
foo:
fn::invoke:
Function: volcengine:rds_mysql:getEndpoints
Arguments:
instanceId: mysql-38c3d4f05f6e
Using getEndpoints
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 getEndpoints(args: GetEndpointsArgs, opts?: InvokeOptions): Promise<GetEndpointsResult>
function getEndpointsOutput(args: GetEndpointsOutputArgs, opts?: InvokeOptions): Output<GetEndpointsResult>def get_endpoints(instance_id: Optional[str] = None,
output_file: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetEndpointsResult
def get_endpoints_output(instance_id: Optional[pulumi.Input[str]] = None,
output_file: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetEndpointsResult]func GetEndpoints(ctx *Context, args *GetEndpointsArgs, opts ...InvokeOption) (*GetEndpointsResult, error)
func GetEndpointsOutput(ctx *Context, args *GetEndpointsOutputArgs, opts ...InvokeOption) GetEndpointsResultOutput> Note: This function is named GetEndpoints in the Go SDK.
public static class GetEndpoints
{
public static Task<GetEndpointsResult> InvokeAsync(GetEndpointsArgs args, InvokeOptions? opts = null)
public static Output<GetEndpointsResult> Invoke(GetEndpointsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetEndpointsResult> getEndpoints(GetEndpointsArgs args, InvokeOptions options)
public static Output<GetEndpointsResult> getEndpoints(GetEndpointsArgs args, InvokeOptions options)
fn::invoke:
function: volcengine:rds_mysql/getEndpoints:getEndpoints
arguments:
# arguments dictionaryThe following arguments are supported:
- Instance
Id string - The id of the mysql instance.
- Output
File string - File name where to save data source results.
- Instance
Id string - The id of the mysql instance.
- Output
File string - File name where to save data source results.
- instance
Id String - The id of the mysql instance.
- output
File String - File name where to save data source results.
- instance
Id string - The id of the mysql instance.
- output
File string - File name where to save data source results.
- instance_
id str - The id of the mysql instance.
- output_
file str - File name where to save data source results.
- instance
Id String - The id of the mysql instance.
- output
File String - File name where to save data source results.
getEndpoints Result
The following output properties are available:
- Endpoints
List<Get
Endpoints Endpoint> - The collection of query.
- Id string
- The provider-assigned unique ID for this managed resource.
- Instance
Id string - Total
Count int - The total count of query.
- Output
File string
- Endpoints
[]Get
Endpoints Endpoint - The collection of query.
- Id string
- The provider-assigned unique ID for this managed resource.
- Instance
Id string - Total
Count int - The total count of query.
- Output
File string
- endpoints
List<Get
Endpoints Endpoint> - The collection of query.
- id String
- The provider-assigned unique ID for this managed resource.
- instance
Id String - total
Count Integer - The total count of query.
- output
File String
- endpoints
Get
Endpoints Endpoint[] - The collection of query.
- id string
- The provider-assigned unique ID for this managed resource.
- instance
Id string - total
Count number - The total count of query.
- output
File string
- endpoints
Sequence[Get
Endpoints Endpoint] - The collection of query.
- id str
- The provider-assigned unique ID for this managed resource.
- instance_
id str - total_
count int - The total count of query.
- output_
file str
- endpoints List<Property Map>
- The collection of query.
- id String
- The provider-assigned unique ID for this managed resource.
- instance
Id String - total
Count Number - The total count of query.
- output
File String
Supporting Types
GetEndpointsEndpoint
- Addresses
List<Get
Endpoints Endpoint Address> - Address list.
- Auto
Add stringNew Nodes - When the terminal type is read-write terminal or read-only terminal, it supports setting whether new nodes are automatically added.
- Description string
- The description of the mysql endpoint.
- Enable
Read stringOnly - Whether global read-only is enabled, value: Enable: Enable. Disable: Disabled.
- Enable
Read stringWrite Splitting - Whether read-write separation is enabled, value: Enable: Enable. Disable: Disabled.
- Endpoint
Id string - The id of the mysql endpoint.
- Endpoint
Name string - The name of the mysql endpoint.
- Endpoint
Type string - The endpoint type of the mysql endpoint.
- Id string
- The id of the mysql endpoint.
- Read
Only List<GetNode Weights Endpoints Endpoint Read Only Node Weight> - The list of nodes configured by the connection terminal and the corresponding read-only weights.
- Read
Write stringMode - The read write mode.
- Addresses
[]Get
Endpoints Endpoint Address - Address list.
- Auto
Add stringNew Nodes - When the terminal type is read-write terminal or read-only terminal, it supports setting whether new nodes are automatically added.
- Description string
- The description of the mysql endpoint.
- Enable
Read stringOnly - Whether global read-only is enabled, value: Enable: Enable. Disable: Disabled.
- Enable
Read stringWrite Splitting - Whether read-write separation is enabled, value: Enable: Enable. Disable: Disabled.
- Endpoint
Id string - The id of the mysql endpoint.
- Endpoint
Name string - The name of the mysql endpoint.
- Endpoint
Type string - The endpoint type of the mysql endpoint.
- Id string
- The id of the mysql endpoint.
- Read
Only []GetNode Weights Endpoints Endpoint Read Only Node Weight - The list of nodes configured by the connection terminal and the corresponding read-only weights.
- Read
Write stringMode - The read write mode.
- addresses
List<Get
Endpoints Endpoint Address> - Address list.
- auto
Add StringNew Nodes - When the terminal type is read-write terminal or read-only terminal, it supports setting whether new nodes are automatically added.
- description String
- The description of the mysql endpoint.
- enable
Read StringOnly - Whether global read-only is enabled, value: Enable: Enable. Disable: Disabled.
- enable
Read StringWrite Splitting - Whether read-write separation is enabled, value: Enable: Enable. Disable: Disabled.
- endpoint
Id String - The id of the mysql endpoint.
- endpoint
Name String - The name of the mysql endpoint.
- endpoint
Type String - The endpoint type of the mysql endpoint.
- id String
- The id of the mysql endpoint.
- read
Only List<GetNode Weights Endpoints Endpoint Read Only Node Weight> - The list of nodes configured by the connection terminal and the corresponding read-only weights.
- read
Write StringMode - The read write mode.
- addresses
Get
Endpoints Endpoint Address[] - Address list.
- auto
Add stringNew Nodes - When the terminal type is read-write terminal or read-only terminal, it supports setting whether new nodes are automatically added.
- description string
- The description of the mysql endpoint.
- enable
Read stringOnly - Whether global read-only is enabled, value: Enable: Enable. Disable: Disabled.
- enable
Read stringWrite Splitting - Whether read-write separation is enabled, value: Enable: Enable. Disable: Disabled.
- endpoint
Id string - The id of the mysql endpoint.
- endpoint
Name string - The name of the mysql endpoint.
- endpoint
Type string - The endpoint type of the mysql endpoint.
- id string
- The id of the mysql endpoint.
- read
Only GetNode Weights Endpoints Endpoint Read Only Node Weight[] - The list of nodes configured by the connection terminal and the corresponding read-only weights.
- read
Write stringMode - The read write mode.
- addresses
Sequence[Get
Endpoints Endpoint Address] - Address list.
- auto_
add_ strnew_ nodes - When the terminal type is read-write terminal or read-only terminal, it supports setting whether new nodes are automatically added.
- description str
- The description of the mysql endpoint.
- enable_
read_ stronly - Whether global read-only is enabled, value: Enable: Enable. Disable: Disabled.
- enable_
read_ strwrite_ splitting - Whether read-write separation is enabled, value: Enable: Enable. Disable: Disabled.
- endpoint_
id str - The id of the mysql endpoint.
- endpoint_
name str - The name of the mysql endpoint.
- endpoint_
type str - The endpoint type of the mysql endpoint.
- id str
- The id of the mysql endpoint.
- read_
only_ Sequence[Getnode_ weights Endpoints Endpoint Read Only Node Weight] - The list of nodes configured by the connection terminal and the corresponding read-only weights.
- read_
write_ strmode - The read write mode.
- addresses List<Property Map>
- Address list.
- auto
Add StringNew Nodes - When the terminal type is read-write terminal or read-only terminal, it supports setting whether new nodes are automatically added.
- description String
- The description of the mysql endpoint.
- enable
Read StringOnly - Whether global read-only is enabled, value: Enable: Enable. Disable: Disabled.
- enable
Read StringWrite Splitting - Whether read-write separation is enabled, value: Enable: Enable. Disable: Disabled.
- endpoint
Id String - The id of the mysql endpoint.
- endpoint
Name String - The name of the mysql endpoint.
- endpoint
Type String - The endpoint type of the mysql endpoint.
- id String
- The id of the mysql endpoint.
- read
Only List<Property Map>Node Weights - The list of nodes configured by the connection terminal and the corresponding read-only weights.
- read
Write StringMode - The read write mode.
GetEndpointsEndpointAddress
- Dns
Visibility bool - DNS Visibility.
- Domain string
- Connect domain name.
- Eip
Id string - The ID of the EIP, only valid for Public addresses.
- Ip
Address string - The IP Address.
- Network
Type string - Network address type, temporarily Private, Public, PublicService.
- Port string
- The Port.
- Subnet
Id string - Subnet ID, valid only for private addresses.
- Dns
Visibility bool - DNS Visibility.
- Domain string
- Connect domain name.
- Eip
Id string - The ID of the EIP, only valid for Public addresses.
- Ip
Address string - The IP Address.
- Network
Type string - Network address type, temporarily Private, Public, PublicService.
- Port string
- The Port.
- Subnet
Id string - Subnet ID, valid only for private addresses.
- dns
Visibility Boolean - DNS Visibility.
- domain String
- Connect domain name.
- eip
Id String - The ID of the EIP, only valid for Public addresses.
- ip
Address String - The IP Address.
- network
Type String - Network address type, temporarily Private, Public, PublicService.
- port String
- The Port.
- subnet
Id String - Subnet ID, valid only for private addresses.
- dns
Visibility boolean - DNS Visibility.
- domain string
- Connect domain name.
- eip
Id string - The ID of the EIP, only valid for Public addresses.
- ip
Address string - The IP Address.
- network
Type string - Network address type, temporarily Private, Public, PublicService.
- port string
- The Port.
- subnet
Id string - Subnet ID, valid only for private addresses.
- dns_
visibility bool - DNS Visibility.
- domain str
- Connect domain name.
- eip_
id str - The ID of the EIP, only valid for Public addresses.
- ip_
address str - The IP Address.
- network_
type str - Network address type, temporarily Private, Public, PublicService.
- port str
- The Port.
- subnet_
id str - Subnet ID, valid only for private addresses.
- dns
Visibility Boolean - DNS Visibility.
- domain String
- Connect domain name.
- eip
Id String - The ID of the EIP, only valid for Public addresses.
- ip
Address String - The IP Address.
- network
Type String - Network address type, temporarily Private, Public, PublicService.
- port String
- The Port.
- subnet
Id String - Subnet ID, valid only for private addresses.
GetEndpointsEndpointReadOnlyNodeWeight
Package Details
- Repository
- volcengine volcengine/pulumi-volcengine
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
volcengineTerraform Provider.
Volcengine v0.0.38 published on Friday, Oct 31, 2025 by Volcengine
