volcengine.vedb_mysql.EndpointPublicAddress
Explore with Pulumi AI
Provides a resource to manage vedb mysql endpoint public address
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as volcengine from "@pulumi/volcengine";
import * as volcengine from "@volcengine/pulumi";
const fooZones = volcengine.ecs.Zones({});
const fooVpc = new volcengine.vpc.Vpc("fooVpc", {
vpcName: "acc-test-vpc",
cidrBlock: "172.16.0.0/16",
});
const fooSubnet = new volcengine.vpc.Subnet("fooSubnet", {
subnetName: "acc-test-subnet",
cidrBlock: "172.16.0.0/24",
zoneId: fooZones.then(fooZones => fooZones.zones?.[2]?.id),
vpcId: fooVpc.id,
});
const fooInstance = new volcengine.vedb_mysql.Instance("fooInstance", {
chargeType: "PostPaid",
storageChargeType: "PostPaid",
dbEngineVersion: "MySQL_8_0",
dbMinorVersion: "3.0",
nodeNumber: 2,
nodeSpec: "vedb.mysql.x4.large",
subnetId: fooSubnet.id,
instanceName: "tf-test",
projectName: "default",
tags: [
{
key: "tftest",
value: "tftest",
},
{
key: "tftest2",
value: "tftest2",
},
],
});
const fooInstances = volcengine.vedb_mysql.InstancesOutput({
instanceId: fooInstance.id,
});
const fooEndpoint = new volcengine.vedb_mysql.Endpoint("fooEndpoint", {
endpointType: "Custom",
instanceId: fooInstance.id,
nodeIds: [
fooInstances.apply(fooInstances => fooInstances.instances?.[0]?.nodes?.[0]?.nodeId),
fooInstances.apply(fooInstances => fooInstances.instances?.[0]?.nodes?.[1]?.nodeId),
],
readWriteMode: "ReadWrite",
endpointName: "tf-test",
description: "tf test",
masterAcceptReadRequests: true,
distributedTransaction: true,
consistLevel: "Session",
consistTimeout: 100000,
consistTimeoutAction: "ReadMaster",
});
const fooAddress = new volcengine.eip.Address("fooAddress", {
billingType: "PostPaidByBandwidth",
bandwidth: 1,
isp: "ChinaUnicom",
description: "acc-test",
projectName: "default",
});
const fooEndpointPublicAddress = new volcengine.vedb_mysql.EndpointPublicAddress("fooEndpointPublicAddress", {
eipId: fooAddress.id,
endpointId: fooEndpoint.endpointId,
instanceId: fooInstance.id,
});
import pulumi
import pulumi_volcengine as volcengine
foo_zones = volcengine.ecs.zones()
foo_vpc = volcengine.vpc.Vpc("fooVpc",
vpc_name="acc-test-vpc",
cidr_block="172.16.0.0/16")
foo_subnet = volcengine.vpc.Subnet("fooSubnet",
subnet_name="acc-test-subnet",
cidr_block="172.16.0.0/24",
zone_id=foo_zones.zones[2].id,
vpc_id=foo_vpc.id)
foo_instance = volcengine.vedb_mysql.Instance("fooInstance",
charge_type="PostPaid",
storage_charge_type="PostPaid",
db_engine_version="MySQL_8_0",
db_minor_version="3.0",
node_number=2,
node_spec="vedb.mysql.x4.large",
subnet_id=foo_subnet.id,
instance_name="tf-test",
project_name="default",
tags=[
volcengine.vedb_mysql.InstanceTagArgs(
key="tftest",
value="tftest",
),
volcengine.vedb_mysql.InstanceTagArgs(
key="tftest2",
value="tftest2",
),
])
foo_instances = volcengine.vedb_mysql.instances_output(instance_id=foo_instance.id)
foo_endpoint = volcengine.vedb_mysql.Endpoint("fooEndpoint",
endpoint_type="Custom",
instance_id=foo_instance.id,
node_ids=[
foo_instances.instances[0].nodes[0].node_id,
foo_instances.instances[0].nodes[1].node_id,
],
read_write_mode="ReadWrite",
endpoint_name="tf-test",
description="tf test",
master_accept_read_requests=True,
distributed_transaction=True,
consist_level="Session",
consist_timeout=100000,
consist_timeout_action="ReadMaster")
foo_address = volcengine.eip.Address("fooAddress",
billing_type="PostPaidByBandwidth",
bandwidth=1,
isp="ChinaUnicom",
description="acc-test",
project_name="default")
foo_endpoint_public_address = volcengine.vedb_mysql.EndpointPublicAddress("fooEndpointPublicAddress",
eip_id=foo_address.id,
endpoint_id=foo_endpoint.endpoint_id,
instance_id=foo_instance.id)
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/ecs"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/eip"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/vedb_mysql"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/vpc"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
fooZones, err := ecs.Zones(ctx, nil, nil)
if err != nil {
return err
}
fooVpc, err := vpc.NewVpc(ctx, "fooVpc", &vpc.VpcArgs{
VpcName: pulumi.String("acc-test-vpc"),
CidrBlock: pulumi.String("172.16.0.0/16"),
})
if err != nil {
return err
}
fooSubnet, err := vpc.NewSubnet(ctx, "fooSubnet", &vpc.SubnetArgs{
SubnetName: pulumi.String("acc-test-subnet"),
CidrBlock: pulumi.String("172.16.0.0/24"),
ZoneId: pulumi.String(fooZones.Zones[2].Id),
VpcId: fooVpc.ID(),
})
if err != nil {
return err
}
fooInstance, err := vedb_mysql.NewInstance(ctx, "fooInstance", &vedb_mysql.InstanceArgs{
ChargeType: pulumi.String("PostPaid"),
StorageChargeType: pulumi.String("PostPaid"),
DbEngineVersion: pulumi.String("MySQL_8_0"),
DbMinorVersion: pulumi.String("3.0"),
NodeNumber: pulumi.Int(2),
NodeSpec: pulumi.String("vedb.mysql.x4.large"),
SubnetId: fooSubnet.ID(),
InstanceName: pulumi.String("tf-test"),
ProjectName: pulumi.String("default"),
Tags: vedb_mysql.InstanceTagArray{
&vedb_mysql.InstanceTagArgs{
Key: pulumi.String("tftest"),
Value: pulumi.String("tftest"),
},
&vedb_mysql.InstanceTagArgs{
Key: pulumi.String("tftest2"),
Value: pulumi.String("tftest2"),
},
},
})
if err != nil {
return err
}
fooInstances := vedb_mysql.InstancesOutput(ctx, vedb_mysql.InstancesOutputArgs{
InstanceId: fooInstance.ID(),
}, nil)
fooEndpoint, err := vedb_mysql.NewEndpoint(ctx, "fooEndpoint", &vedb_mysql.EndpointArgs{
EndpointType: pulumi.String("Custom"),
InstanceId: fooInstance.ID(),
NodeIds: pulumi.StringArray{
fooInstances.ApplyT(func(fooInstances vedb_mysql.InstancesResult) (*string, error) {
return &fooInstances.Instances[0].Nodes[0].NodeId, nil
}).(pulumi.StringPtrOutput),
fooInstances.ApplyT(func(fooInstances vedb_mysql.InstancesResult) (*string, error) {
return &fooInstances.Instances[0].Nodes[1].NodeId, nil
}).(pulumi.StringPtrOutput),
},
ReadWriteMode: pulumi.String("ReadWrite"),
EndpointName: pulumi.String("tf-test"),
Description: pulumi.String("tf test"),
MasterAcceptReadRequests: pulumi.Bool(true),
DistributedTransaction: pulumi.Bool(true),
ConsistLevel: pulumi.String("Session"),
ConsistTimeout: pulumi.Int(100000),
ConsistTimeoutAction: pulumi.String("ReadMaster"),
})
if err != nil {
return err
}
fooAddress, err := eip.NewAddress(ctx, "fooAddress", &eip.AddressArgs{
BillingType: pulumi.String("PostPaidByBandwidth"),
Bandwidth: pulumi.Int(1),
Isp: pulumi.String("ChinaUnicom"),
Description: pulumi.String("acc-test"),
ProjectName: pulumi.String("default"),
})
if err != nil {
return err
}
_, err = vedb_mysql.NewEndpointPublicAddress(ctx, "fooEndpointPublicAddress", &vedb_mysql.EndpointPublicAddressArgs{
EipId: fooAddress.ID(),
EndpointId: fooEndpoint.EndpointId,
InstanceId: fooInstance.ID(),
})
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 fooZones = Volcengine.Ecs.Zones.Invoke();
var fooVpc = new Volcengine.Vpc.Vpc("fooVpc", new()
{
VpcName = "acc-test-vpc",
CidrBlock = "172.16.0.0/16",
});
var fooSubnet = new Volcengine.Vpc.Subnet("fooSubnet", new()
{
SubnetName = "acc-test-subnet",
CidrBlock = "172.16.0.0/24",
ZoneId = fooZones.Apply(zonesResult => zonesResult.Zones[2]?.Id),
VpcId = fooVpc.Id,
});
var fooInstance = new Volcengine.Vedb_mysql.Instance("fooInstance", new()
{
ChargeType = "PostPaid",
StorageChargeType = "PostPaid",
DbEngineVersion = "MySQL_8_0",
DbMinorVersion = "3.0",
NodeNumber = 2,
NodeSpec = "vedb.mysql.x4.large",
SubnetId = fooSubnet.Id,
InstanceName = "tf-test",
ProjectName = "default",
Tags = new[]
{
new Volcengine.Vedb_mysql.Inputs.InstanceTagArgs
{
Key = "tftest",
Value = "tftest",
},
new Volcengine.Vedb_mysql.Inputs.InstanceTagArgs
{
Key = "tftest2",
Value = "tftest2",
},
},
});
var fooInstances = Volcengine.Vedb_mysql.Instances.Invoke(new()
{
InstanceId = fooInstance.Id,
});
var fooEndpoint = new Volcengine.Vedb_mysql.Endpoint("fooEndpoint", new()
{
EndpointType = "Custom",
InstanceId = fooInstance.Id,
NodeIds = new[]
{
fooInstances.Apply(instancesResult => instancesResult.Instances[0]?.Nodes[0]?.NodeId),
fooInstances.Apply(instancesResult => instancesResult.Instances[0]?.Nodes[1]?.NodeId),
},
ReadWriteMode = "ReadWrite",
EndpointName = "tf-test",
Description = "tf test",
MasterAcceptReadRequests = true,
DistributedTransaction = true,
ConsistLevel = "Session",
ConsistTimeout = 100000,
ConsistTimeoutAction = "ReadMaster",
});
var fooAddress = new Volcengine.Eip.Address("fooAddress", new()
{
BillingType = "PostPaidByBandwidth",
Bandwidth = 1,
Isp = "ChinaUnicom",
Description = "acc-test",
ProjectName = "default",
});
var fooEndpointPublicAddress = new Volcengine.Vedb_mysql.EndpointPublicAddress("fooEndpointPublicAddress", new()
{
EipId = fooAddress.Id,
EndpointId = fooEndpoint.EndpointId,
InstanceId = fooInstance.Id,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.volcengine.ecs.EcsFunctions;
import com.pulumi.volcengine.ecs.inputs.ZonesArgs;
import com.pulumi.volcengine.vpc.Vpc;
import com.pulumi.volcengine.vpc.VpcArgs;
import com.pulumi.volcengine.vpc.Subnet;
import com.pulumi.volcengine.vpc.SubnetArgs;
import com.pulumi.volcengine.vedb_mysql.Instance;
import com.pulumi.volcengine.vedb_mysql.InstanceArgs;
import com.pulumi.volcengine.vedb_mysql.inputs.InstanceTagArgs;
import com.pulumi.volcengine.vedb_mysql.Vedb_mysqlFunctions;
import com.pulumi.volcengine.vedb_mysql.inputs.InstancesArgs;
import com.pulumi.volcengine.vedb_mysql.Endpoint;
import com.pulumi.volcengine.vedb_mysql.EndpointArgs;
import com.pulumi.volcengine.eip.Address;
import com.pulumi.volcengine.eip.AddressArgs;
import com.pulumi.volcengine.vedb_mysql.EndpointPublicAddress;
import com.pulumi.volcengine.vedb_mysql.EndpointPublicAddressArgs;
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 fooZones = EcsFunctions.Zones();
var fooVpc = new Vpc("fooVpc", VpcArgs.builder()
.vpcName("acc-test-vpc")
.cidrBlock("172.16.0.0/16")
.build());
var fooSubnet = new Subnet("fooSubnet", SubnetArgs.builder()
.subnetName("acc-test-subnet")
.cidrBlock("172.16.0.0/24")
.zoneId(fooZones.applyValue(zonesResult -> zonesResult.zones()[2].id()))
.vpcId(fooVpc.id())
.build());
var fooInstance = new Instance("fooInstance", InstanceArgs.builder()
.chargeType("PostPaid")
.storageChargeType("PostPaid")
.dbEngineVersion("MySQL_8_0")
.dbMinorVersion("3.0")
.nodeNumber(2)
.nodeSpec("vedb.mysql.x4.large")
.subnetId(fooSubnet.id())
.instanceName("tf-test")
.projectName("default")
.tags(
InstanceTagArgs.builder()
.key("tftest")
.value("tftest")
.build(),
InstanceTagArgs.builder()
.key("tftest2")
.value("tftest2")
.build())
.build());
final var fooInstances = Vedb_mysqlFunctions.Instances(InstancesArgs.builder()
.instanceId(fooInstance.id())
.build());
var fooEndpoint = new Endpoint("fooEndpoint", EndpointArgs.builder()
.endpointType("Custom")
.instanceId(fooInstance.id())
.nodeIds(
fooInstances.applyValue(instancesResult -> instancesResult).applyValue(fooInstances -> fooInstances.applyValue(instancesResult -> instancesResult.instances()[0].nodes()[0].nodeId())),
fooInstances.applyValue(instancesResult -> instancesResult).applyValue(fooInstances -> fooInstances.applyValue(instancesResult -> instancesResult.instances()[0].nodes()[1].nodeId())))
.readWriteMode("ReadWrite")
.endpointName("tf-test")
.description("tf test")
.masterAcceptReadRequests(true)
.distributedTransaction(true)
.consistLevel("Session")
.consistTimeout(100000)
.consistTimeoutAction("ReadMaster")
.build());
var fooAddress = new Address("fooAddress", AddressArgs.builder()
.billingType("PostPaidByBandwidth")
.bandwidth(1)
.isp("ChinaUnicom")
.description("acc-test")
.projectName("default")
.build());
var fooEndpointPublicAddress = new EndpointPublicAddress("fooEndpointPublicAddress", EndpointPublicAddressArgs.builder()
.eipId(fooAddress.id())
.endpointId(fooEndpoint.endpointId())
.instanceId(fooInstance.id())
.build());
}
}
resources:
fooVpc:
type: volcengine:vpc:Vpc
properties:
vpcName: acc-test-vpc
cidrBlock: 172.16.0.0/16
fooSubnet:
type: volcengine:vpc:Subnet
properties:
subnetName: acc-test-subnet
cidrBlock: 172.16.0.0/24
zoneId: ${fooZones.zones[2].id}
vpcId: ${fooVpc.id}
fooInstance:
type: volcengine:vedb_mysql:Instance
properties:
chargeType: PostPaid
storageChargeType: PostPaid
dbEngineVersion: MySQL_8_0
dbMinorVersion: '3.0'
nodeNumber: 2
nodeSpec: vedb.mysql.x4.large
subnetId: ${fooSubnet.id}
instanceName: tf-test
projectName: default
tags:
- key: tftest
value: tftest
- key: tftest2
value: tftest2
fooEndpoint:
type: volcengine:vedb_mysql:Endpoint
properties:
endpointType: Custom
instanceId: ${fooInstance.id}
nodeIds:
- ${fooInstances.instances[0].nodes[0].nodeId}
- ${fooInstances.instances[0].nodes[1].nodeId}
readWriteMode: ReadWrite
endpointName: tf-test
description: tf test
masterAcceptReadRequests: true
distributedTransaction: true
consistLevel: Session
consistTimeout: 100000
consistTimeoutAction: ReadMaster
fooAddress:
type: volcengine:eip:Address
properties:
billingType: PostPaidByBandwidth
bandwidth: 1
isp: ChinaUnicom
description: acc-test
projectName: default
fooEndpointPublicAddress:
type: volcengine:vedb_mysql:EndpointPublicAddress
properties:
eipId: ${fooAddress.id}
endpointId: ${fooEndpoint.endpointId}
instanceId: ${fooInstance.id}
variables:
fooZones:
fn::invoke:
Function: volcengine:ecs:Zones
Arguments: {}
fooInstances:
fn::invoke:
Function: volcengine:vedb_mysql:Instances
Arguments:
instanceId: ${fooInstance.id}
Create EndpointPublicAddress Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new EndpointPublicAddress(name: string, args: EndpointPublicAddressArgs, opts?: CustomResourceOptions);
@overload
def EndpointPublicAddress(resource_name: str,
args: EndpointPublicAddressArgs,
opts: Optional[ResourceOptions] = None)
@overload
def EndpointPublicAddress(resource_name: str,
opts: Optional[ResourceOptions] = None,
eip_id: Optional[str] = None,
endpoint_id: Optional[str] = None,
instance_id: Optional[str] = None)
func NewEndpointPublicAddress(ctx *Context, name string, args EndpointPublicAddressArgs, opts ...ResourceOption) (*EndpointPublicAddress, error)
public EndpointPublicAddress(string name, EndpointPublicAddressArgs args, CustomResourceOptions? opts = null)
public EndpointPublicAddress(String name, EndpointPublicAddressArgs args)
public EndpointPublicAddress(String name, EndpointPublicAddressArgs args, CustomResourceOptions options)
type: volcengine:vedb_mysql:EndpointPublicAddress
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args EndpointPublicAddressArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args EndpointPublicAddressArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args EndpointPublicAddressArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args EndpointPublicAddressArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args EndpointPublicAddressArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var endpointPublicAddressResource = new Volcengine.Vedb_mysql.EndpointPublicAddress("endpointPublicAddressResource", new()
{
EipId = "string",
EndpointId = "string",
InstanceId = "string",
});
example, err := vedb_mysql.NewEndpointPublicAddress(ctx, "endpointPublicAddressResource", &vedb_mysql.EndpointPublicAddressArgs{
EipId: pulumi.String("string"),
EndpointId: pulumi.String("string"),
InstanceId: pulumi.String("string"),
})
var endpointPublicAddressResource = new EndpointPublicAddress("endpointPublicAddressResource", EndpointPublicAddressArgs.builder()
.eipId("string")
.endpointId("string")
.instanceId("string")
.build());
endpoint_public_address_resource = volcengine.vedb_mysql.EndpointPublicAddress("endpointPublicAddressResource",
eip_id="string",
endpoint_id="string",
instance_id="string")
const endpointPublicAddressResource = new volcengine.vedb_mysql.EndpointPublicAddress("endpointPublicAddressResource", {
eipId: "string",
endpointId: "string",
instanceId: "string",
});
type: volcengine:vedb_mysql:EndpointPublicAddress
properties:
eipId: string
endpointId: string
instanceId: string
EndpointPublicAddress Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The EndpointPublicAddress resource accepts the following input properties:
- Eip
Id string - EIP ID that needs to be bound to the instance.
- Endpoint
Id string - The endpoint id.
- Instance
Id string - The instance id.
- Eip
Id string - EIP ID that needs to be bound to the instance.
- Endpoint
Id string - The endpoint id.
- Instance
Id string - The instance id.
- eip
Id String - EIP ID that needs to be bound to the instance.
- endpoint
Id String - The endpoint id.
- instance
Id String - The instance id.
- eip
Id string - EIP ID that needs to be bound to the instance.
- endpoint
Id string - The endpoint id.
- instance
Id string - The instance id.
- eip_
id str - EIP ID that needs to be bound to the instance.
- endpoint_
id str - The endpoint id.
- instance_
id str - The instance id.
- eip
Id String - EIP ID that needs to be bound to the instance.
- endpoint
Id String - The endpoint id.
- instance
Id String - The instance id.
Outputs
All input properties are implicitly available as output properties. Additionally, the EndpointPublicAddress resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing EndpointPublicAddress Resource
Get an existing EndpointPublicAddress resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: EndpointPublicAddressState, opts?: CustomResourceOptions): EndpointPublicAddress
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
eip_id: Optional[str] = None,
endpoint_id: Optional[str] = None,
instance_id: Optional[str] = None) -> EndpointPublicAddress
func GetEndpointPublicAddress(ctx *Context, name string, id IDInput, state *EndpointPublicAddressState, opts ...ResourceOption) (*EndpointPublicAddress, error)
public static EndpointPublicAddress Get(string name, Input<string> id, EndpointPublicAddressState? state, CustomResourceOptions? opts = null)
public static EndpointPublicAddress get(String name, Output<String> id, EndpointPublicAddressState state, CustomResourceOptions options)
resources: _: type: volcengine:vedb_mysql:EndpointPublicAddress get: id: ${id}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Eip
Id string - EIP ID that needs to be bound to the instance.
- Endpoint
Id string - The endpoint id.
- Instance
Id string - The instance id.
- Eip
Id string - EIP ID that needs to be bound to the instance.
- Endpoint
Id string - The endpoint id.
- Instance
Id string - The instance id.
- eip
Id String - EIP ID that needs to be bound to the instance.
- endpoint
Id String - The endpoint id.
- instance
Id String - The instance id.
- eip
Id string - EIP ID that needs to be bound to the instance.
- endpoint
Id string - The endpoint id.
- instance
Id string - The instance id.
- eip_
id str - EIP ID that needs to be bound to the instance.
- endpoint_
id str - The endpoint id.
- instance_
id str - The instance id.
- eip
Id String - EIP ID that needs to be bound to the instance.
- endpoint
Id String - The endpoint id.
- instance
Id String - The instance id.
Import
VedbMysqlEndpointPublicAddress can be imported using the instance id, endpoint id and the eip id, e.g.
$ pulumi import volcengine:vedb_mysql/endpointPublicAddress:EndpointPublicAddress default vedbm-iqnh3a7z****:vedbm-2pf2xk5v****-Custom-50yv:eip-xxxx
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- volcengine volcengine/pulumi-volcengine
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
volcengine
Terraform Provider.