Viewing docs for Volcengine v0.0.47
published on Friday, Mar 13, 2026 by Volcengine
published on Friday, Mar 13, 2026 by Volcengine
Viewing docs for Volcengine v0.0.47
published on Friday, Mar 13, 2026 by Volcengine
published on Friday, Mar 13, 2026 by Volcengine
Deprecated: volcengine.rds_mysql.Endpoints has been deprecated in favor of volcengine.rds_mysql.getEndpoints
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 Endpoints
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 endpoints(args: EndpointsArgs, opts?: InvokeOptions): Promise<EndpointsResult>
function endpointsOutput(args: EndpointsOutputArgs, opts?: InvokeOptions): Output<EndpointsResult>def endpoints(instance_id: Optional[str] = None,
output_file: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> EndpointsResult
def endpoints_output(instance_id: Optional[pulumi.Input[str]] = None,
output_file: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[EndpointsResult]func Endpoints(ctx *Context, args *EndpointsArgs, opts ...InvokeOption) (*EndpointsResult, error)
func EndpointsOutput(ctx *Context, args *EndpointsOutputArgs, opts ...InvokeOption) EndpointsResultOutputpublic static class Endpoints
{
public static Task<EndpointsResult> InvokeAsync(EndpointsArgs args, InvokeOptions? opts = null)
public static Output<EndpointsResult> Invoke(EndpointsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<EndpointsResult> endpoints(EndpointsArgs args, InvokeOptions options)
public static Output<EndpointsResult> endpoints(EndpointsArgs args, InvokeOptions options)
fn::invoke:
function: volcengine:rds_mysql:Endpoints
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.
Endpoints Result
The following output properties are available:
- Endpoints
List<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
[]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<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
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[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
EndpointsEndpoint
- Addresses
List<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<EndpointsNode Weights 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
[]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 []EndpointsNode Weights 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<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<EndpointsNode Weights 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
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 EndpointsNode Weights 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[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[Endpointsnode_ weights 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.
EndpointsEndpointAddress
- 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.
EndpointsEndpointReadOnlyNodeWeight
Package Details
- Repository
- volcengine volcengine/pulumi-volcengine
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
volcengineTerraform Provider.
Viewing docs for Volcengine v0.0.47
published on Friday, Mar 13, 2026 by Volcengine
published on Friday, Mar 13, 2026 by Volcengine
