alicloud.polardb.EndpointAddress
Explore with Pulumi AI
Provides a PolarDB endpoint address resource to allocate an Internet endpoint address string for PolarDB instance.
NOTE: Available since v1.68.0. Each PolarDB instance will allocate a intranet connection string automatically and its prefix is Cluster ID. To avoid unnecessary conflict, please specified a internet connection prefix before applying the resource.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";
const default = alicloud.polardb.getNodeClasses({
dbType: "MySQL",
dbVersion: "8.0",
payType: "PostPaid",
category: "Normal",
});
const defaultNetwork = new alicloud.vpc.Network("default", {
vpcName: "terraform-example",
cidrBlock: "172.16.0.0/16",
});
const defaultSwitch = new alicloud.vpc.Switch("default", {
vpcId: defaultNetwork.id,
cidrBlock: "172.16.0.0/24",
zoneId: _default.then(_default => _default.classes?.[0]?.zoneId),
vswitchName: "terraform-example",
});
const defaultCluster = new alicloud.polardb.Cluster("default", {
dbType: "MySQL",
dbVersion: "8.0",
dbNodeClass: _default.then(_default => _default.classes?.[0]?.supportedEngines?.[0]?.availableResources?.[0]?.dbNodeClass),
payType: "PostPaid",
vswitchId: defaultSwitch.id,
description: "terraform-example",
});
const defaultGetEndpoints = alicloud.polardb.getEndpointsOutput({
dbClusterId: defaultCluster.id,
});
const defaultEndpointAddress = new alicloud.polardb.EndpointAddress("default", {
dbClusterId: defaultCluster.id,
dbEndpointId: defaultGetEndpoints.apply(defaultGetEndpoints => defaultGetEndpoints.endpoints?.[0]?.dbEndpointId),
connectionPrefix: "polardbexample",
netType: "Public",
});
import pulumi
import pulumi_alicloud as alicloud
default = alicloud.polardb.get_node_classes(db_type="MySQL",
db_version="8.0",
pay_type="PostPaid",
category="Normal")
default_network = alicloud.vpc.Network("default",
vpc_name="terraform-example",
cidr_block="172.16.0.0/16")
default_switch = alicloud.vpc.Switch("default",
vpc_id=default_network.id,
cidr_block="172.16.0.0/24",
zone_id=default.classes[0].zone_id,
vswitch_name="terraform-example")
default_cluster = alicloud.polardb.Cluster("default",
db_type="MySQL",
db_version="8.0",
db_node_class=default.classes[0].supported_engines[0].available_resources[0].db_node_class,
pay_type="PostPaid",
vswitch_id=default_switch.id,
description="terraform-example")
default_get_endpoints = alicloud.polardb.get_endpoints_output(db_cluster_id=default_cluster.id)
default_endpoint_address = alicloud.polardb.EndpointAddress("default",
db_cluster_id=default_cluster.id,
db_endpoint_id=default_get_endpoints.endpoints[0].db_endpoint_id,
connection_prefix="polardbexample",
net_type="Public")
package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/polardb"
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/vpc"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_default, err := polardb.GetNodeClasses(ctx, &polardb.GetNodeClassesArgs{
DbType: pulumi.StringRef("MySQL"),
DbVersion: pulumi.StringRef("8.0"),
PayType: "PostPaid",
Category: pulumi.StringRef("Normal"),
}, nil)
if err != nil {
return err
}
defaultNetwork, err := vpc.NewNetwork(ctx, "default", &vpc.NetworkArgs{
VpcName: pulumi.String("terraform-example"),
CidrBlock: pulumi.String("172.16.0.0/16"),
})
if err != nil {
return err
}
defaultSwitch, err := vpc.NewSwitch(ctx, "default", &vpc.SwitchArgs{
VpcId: defaultNetwork.ID(),
CidrBlock: pulumi.String("172.16.0.0/24"),
ZoneId: pulumi.String(_default.Classes[0].ZoneId),
VswitchName: pulumi.String("terraform-example"),
})
if err != nil {
return err
}
defaultCluster, err := polardb.NewCluster(ctx, "default", &polardb.ClusterArgs{
DbType: pulumi.String("MySQL"),
DbVersion: pulumi.String("8.0"),
DbNodeClass: pulumi.String(_default.Classes[0].SupportedEngines[0].AvailableResources[0].DbNodeClass),
PayType: pulumi.String("PostPaid"),
VswitchId: defaultSwitch.ID(),
Description: pulumi.String("terraform-example"),
})
if err != nil {
return err
}
defaultGetEndpoints := polardb.GetEndpointsOutput(ctx, polardb.GetEndpointsOutputArgs{
DbClusterId: defaultCluster.ID(),
}, nil)
_, err = polardb.NewEndpointAddress(ctx, "default", &polardb.EndpointAddressArgs{
DbClusterId: defaultCluster.ID(),
DbEndpointId: pulumi.String(defaultGetEndpoints.ApplyT(func(defaultGetEndpoints polardb.GetEndpointsResult) (*string, error) {
return &defaultGetEndpoints.Endpoints[0].DbEndpointId, nil
}).(pulumi.StringPtrOutput)),
ConnectionPrefix: pulumi.String("polardbexample"),
NetType: pulumi.String("Public"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AliCloud = Pulumi.AliCloud;
return await Deployment.RunAsync(() =>
{
var @default = AliCloud.PolarDB.GetNodeClasses.Invoke(new()
{
DbType = "MySQL",
DbVersion = "8.0",
PayType = "PostPaid",
Category = "Normal",
});
var defaultNetwork = new AliCloud.Vpc.Network("default", new()
{
VpcName = "terraform-example",
CidrBlock = "172.16.0.0/16",
});
var defaultSwitch = new AliCloud.Vpc.Switch("default", new()
{
VpcId = defaultNetwork.Id,
CidrBlock = "172.16.0.0/24",
ZoneId = @default.Apply(@default => @default.Apply(getNodeClassesResult => getNodeClassesResult.Classes[0]?.ZoneId)),
VswitchName = "terraform-example",
});
var defaultCluster = new AliCloud.PolarDB.Cluster("default", new()
{
DbType = "MySQL",
DbVersion = "8.0",
DbNodeClass = @default.Apply(@default => @default.Apply(getNodeClassesResult => getNodeClassesResult.Classes[0]?.SupportedEngines[0]?.AvailableResources[0]?.DbNodeClass)),
PayType = "PostPaid",
VswitchId = defaultSwitch.Id,
Description = "terraform-example",
});
var defaultGetEndpoints = AliCloud.PolarDB.GetEndpoints.Invoke(new()
{
DbClusterId = defaultCluster.Id,
});
var defaultEndpointAddress = new AliCloud.PolarDB.EndpointAddress("default", new()
{
DbClusterId = defaultCluster.Id,
DbEndpointId = defaultGetEndpoints.Apply(getEndpointsResult => getEndpointsResult.Endpoints[0]?.DbEndpointId),
ConnectionPrefix = "polardbexample",
NetType = "Public",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.polardb.PolardbFunctions;
import com.pulumi.alicloud.polardb.inputs.GetNodeClassesArgs;
import com.pulumi.alicloud.vpc.Network;
import com.pulumi.alicloud.vpc.NetworkArgs;
import com.pulumi.alicloud.vpc.Switch;
import com.pulumi.alicloud.vpc.SwitchArgs;
import com.pulumi.alicloud.polardb.Cluster;
import com.pulumi.alicloud.polardb.ClusterArgs;
import com.pulumi.alicloud.polardb.inputs.GetEndpointsArgs;
import com.pulumi.alicloud.polardb.EndpointAddress;
import com.pulumi.alicloud.polardb.EndpointAddressArgs;
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 = PolardbFunctions.getNodeClasses(GetNodeClassesArgs.builder()
.dbType("MySQL")
.dbVersion("8.0")
.payType("PostPaid")
.category("Normal")
.build());
var defaultNetwork = new Network("defaultNetwork", NetworkArgs.builder()
.vpcName("terraform-example")
.cidrBlock("172.16.0.0/16")
.build());
var defaultSwitch = new Switch("defaultSwitch", SwitchArgs.builder()
.vpcId(defaultNetwork.id())
.cidrBlock("172.16.0.0/24")
.zoneId(default_.classes()[0].zoneId())
.vswitchName("terraform-example")
.build());
var defaultCluster = new Cluster("defaultCluster", ClusterArgs.builder()
.dbType("MySQL")
.dbVersion("8.0")
.dbNodeClass(default_.classes()[0].supportedEngines()[0].availableResources()[0].dbNodeClass())
.payType("PostPaid")
.vswitchId(defaultSwitch.id())
.description("terraform-example")
.build());
final var defaultGetEndpoints = PolardbFunctions.getEndpoints(GetEndpointsArgs.builder()
.dbClusterId(defaultCluster.id())
.build());
var defaultEndpointAddress = new EndpointAddress("defaultEndpointAddress", EndpointAddressArgs.builder()
.dbClusterId(defaultCluster.id())
.dbEndpointId(defaultGetEndpoints.applyValue(getEndpointsResult -> getEndpointsResult).applyValue(defaultGetEndpoints -> defaultGetEndpoints.applyValue(getEndpointsResult -> getEndpointsResult.endpoints()[0].dbEndpointId())))
.connectionPrefix("polardbexample")
.netType("Public")
.build());
}
}
resources:
defaultNetwork:
type: alicloud:vpc:Network
name: default
properties:
vpcName: terraform-example
cidrBlock: 172.16.0.0/16
defaultSwitch:
type: alicloud:vpc:Switch
name: default
properties:
vpcId: ${defaultNetwork.id}
cidrBlock: 172.16.0.0/24
zoneId: ${default.classes[0].zoneId}
vswitchName: terraform-example
defaultCluster:
type: alicloud:polardb:Cluster
name: default
properties:
dbType: MySQL
dbVersion: '8.0'
dbNodeClass: ${default.classes[0].supportedEngines[0].availableResources[0].dbNodeClass}
payType: PostPaid
vswitchId: ${defaultSwitch.id}
description: terraform-example
defaultEndpointAddress:
type: alicloud:polardb:EndpointAddress
name: default
properties:
dbClusterId: ${defaultCluster.id}
dbEndpointId: ${defaultGetEndpoints.endpoints[0].dbEndpointId}
connectionPrefix: polardbexample
netType: Public
variables:
default:
fn::invoke:
Function: alicloud:polardb:getNodeClasses
Arguments:
dbType: MySQL
dbVersion: '8.0'
payType: PostPaid
category: Normal
defaultGetEndpoints:
fn::invoke:
Function: alicloud:polardb:getEndpoints
Arguments:
dbClusterId: ${defaultCluster.id}
Create EndpointAddress Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new EndpointAddress(name: string, args: EndpointAddressArgs, opts?: CustomResourceOptions);
@overload
def EndpointAddress(resource_name: str,
args: EndpointAddressArgs,
opts: Optional[ResourceOptions] = None)
@overload
def EndpointAddress(resource_name: str,
opts: Optional[ResourceOptions] = None,
db_cluster_id: Optional[str] = None,
db_endpoint_id: Optional[str] = None,
connection_prefix: Optional[str] = None,
net_type: Optional[str] = None,
port: Optional[str] = None)
func NewEndpointAddress(ctx *Context, name string, args EndpointAddressArgs, opts ...ResourceOption) (*EndpointAddress, error)
public EndpointAddress(string name, EndpointAddressArgs args, CustomResourceOptions? opts = null)
public EndpointAddress(String name, EndpointAddressArgs args)
public EndpointAddress(String name, EndpointAddressArgs args, CustomResourceOptions options)
type: alicloud:polardb:EndpointAddress
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 EndpointAddressArgs
- 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 EndpointAddressArgs
- 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 EndpointAddressArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args EndpointAddressArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args EndpointAddressArgs
- 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 endpointAddressResource = new AliCloud.PolarDB.EndpointAddress("endpointAddressResource", new()
{
DbClusterId = "string",
DbEndpointId = "string",
ConnectionPrefix = "string",
NetType = "string",
Port = "string",
});
example, err := polardb.NewEndpointAddress(ctx, "endpointAddressResource", &polardb.EndpointAddressArgs{
DbClusterId: pulumi.String("string"),
DbEndpointId: pulumi.String("string"),
ConnectionPrefix: pulumi.String("string"),
NetType: pulumi.String("string"),
Port: pulumi.String("string"),
})
var endpointAddressResource = new EndpointAddress("endpointAddressResource", EndpointAddressArgs.builder()
.dbClusterId("string")
.dbEndpointId("string")
.connectionPrefix("string")
.netType("string")
.port("string")
.build());
endpoint_address_resource = alicloud.polardb.EndpointAddress("endpointAddressResource",
db_cluster_id="string",
db_endpoint_id="string",
connection_prefix="string",
net_type="string",
port="string")
const endpointAddressResource = new alicloud.polardb.EndpointAddress("endpointAddressResource", {
dbClusterId: "string",
dbEndpointId: "string",
connectionPrefix: "string",
netType: "string",
port: "string",
});
type: alicloud:polardb:EndpointAddress
properties:
connectionPrefix: string
dbClusterId: string
dbEndpointId: string
netType: string
port: string
EndpointAddress Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The EndpointAddress resource accepts the following input properties:
- Db
Cluster stringId - The Id of cluster that can run database.
- Db
Endpoint stringId - The Id of endpoint that can run database.
- Connection
Prefix string - Prefix of the specified endpoint. The prefix must be 6 to 30 characters in length, and can contain lowercase letters, digits, and hyphens (-), must start with a letter and end with a digit or letter.
- Net
Type string - Internet connection net type. Valid value:
Public
. Default toPublic
. Currently supported onlyPublic
. - Port string
- Port of the specified endpoint. Valid values: 3000 to 5999.
- Db
Cluster stringId - The Id of cluster that can run database.
- Db
Endpoint stringId - The Id of endpoint that can run database.
- Connection
Prefix string - Prefix of the specified endpoint. The prefix must be 6 to 30 characters in length, and can contain lowercase letters, digits, and hyphens (-), must start with a letter and end with a digit or letter.
- Net
Type string - Internet connection net type. Valid value:
Public
. Default toPublic
. Currently supported onlyPublic
. - Port string
- Port of the specified endpoint. Valid values: 3000 to 5999.
- db
Cluster StringId - The Id of cluster that can run database.
- db
Endpoint StringId - The Id of endpoint that can run database.
- connection
Prefix String - Prefix of the specified endpoint. The prefix must be 6 to 30 characters in length, and can contain lowercase letters, digits, and hyphens (-), must start with a letter and end with a digit or letter.
- net
Type String - Internet connection net type. Valid value:
Public
. Default toPublic
. Currently supported onlyPublic
. - port String
- Port of the specified endpoint. Valid values: 3000 to 5999.
- db
Cluster stringId - The Id of cluster that can run database.
- db
Endpoint stringId - The Id of endpoint that can run database.
- connection
Prefix string - Prefix of the specified endpoint. The prefix must be 6 to 30 characters in length, and can contain lowercase letters, digits, and hyphens (-), must start with a letter and end with a digit or letter.
- net
Type string - Internet connection net type. Valid value:
Public
. Default toPublic
. Currently supported onlyPublic
. - port string
- Port of the specified endpoint. Valid values: 3000 to 5999.
- db_
cluster_ strid - The Id of cluster that can run database.
- db_
endpoint_ strid - The Id of endpoint that can run database.
- connection_
prefix str - Prefix of the specified endpoint. The prefix must be 6 to 30 characters in length, and can contain lowercase letters, digits, and hyphens (-), must start with a letter and end with a digit or letter.
- net_
type str - Internet connection net type. Valid value:
Public
. Default toPublic
. Currently supported onlyPublic
. - port str
- Port of the specified endpoint. Valid values: 3000 to 5999.
- db
Cluster StringId - The Id of cluster that can run database.
- db
Endpoint StringId - The Id of endpoint that can run database.
- connection
Prefix String - Prefix of the specified endpoint. The prefix must be 6 to 30 characters in length, and can contain lowercase letters, digits, and hyphens (-), must start with a letter and end with a digit or letter.
- net
Type String - Internet connection net type. Valid value:
Public
. Default toPublic
. Currently supported onlyPublic
. - port String
- Port of the specified endpoint. Valid values: 3000 to 5999.
Outputs
All input properties are implicitly available as output properties. Additionally, the EndpointAddress resource produces the following output properties:
- Connection
String string - Connection cluster or endpoint string.
- Id string
- The provider-assigned unique ID for this managed resource.
- Ip
Address string - The ip address of connection string.
- Connection
String string - Connection cluster or endpoint string.
- Id string
- The provider-assigned unique ID for this managed resource.
- Ip
Address string - The ip address of connection string.
- connection
String String - Connection cluster or endpoint string.
- id String
- The provider-assigned unique ID for this managed resource.
- ip
Address String - The ip address of connection string.
- connection
String string - Connection cluster or endpoint string.
- id string
- The provider-assigned unique ID for this managed resource.
- ip
Address string - The ip address of connection string.
- connection_
string str - Connection cluster or endpoint string.
- id str
- The provider-assigned unique ID for this managed resource.
- ip_
address str - The ip address of connection string.
- connection
String String - Connection cluster or endpoint string.
- id String
- The provider-assigned unique ID for this managed resource.
- ip
Address String - The ip address of connection string.
Look up Existing EndpointAddress Resource
Get an existing EndpointAddress 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?: EndpointAddressState, opts?: CustomResourceOptions): EndpointAddress
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
connection_prefix: Optional[str] = None,
connection_string: Optional[str] = None,
db_cluster_id: Optional[str] = None,
db_endpoint_id: Optional[str] = None,
ip_address: Optional[str] = None,
net_type: Optional[str] = None,
port: Optional[str] = None) -> EndpointAddress
func GetEndpointAddress(ctx *Context, name string, id IDInput, state *EndpointAddressState, opts ...ResourceOption) (*EndpointAddress, error)
public static EndpointAddress Get(string name, Input<string> id, EndpointAddressState? state, CustomResourceOptions? opts = null)
public static EndpointAddress get(String name, Output<String> id, EndpointAddressState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- 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.
- Connection
Prefix string - Prefix of the specified endpoint. The prefix must be 6 to 30 characters in length, and can contain lowercase letters, digits, and hyphens (-), must start with a letter and end with a digit or letter.
- Connection
String string - Connection cluster or endpoint string.
- Db
Cluster stringId - The Id of cluster that can run database.
- Db
Endpoint stringId - The Id of endpoint that can run database.
- Ip
Address string - The ip address of connection string.
- Net
Type string - Internet connection net type. Valid value:
Public
. Default toPublic
. Currently supported onlyPublic
. - Port string
- Port of the specified endpoint. Valid values: 3000 to 5999.
- Connection
Prefix string - Prefix of the specified endpoint. The prefix must be 6 to 30 characters in length, and can contain lowercase letters, digits, and hyphens (-), must start with a letter and end with a digit or letter.
- Connection
String string - Connection cluster or endpoint string.
- Db
Cluster stringId - The Id of cluster that can run database.
- Db
Endpoint stringId - The Id of endpoint that can run database.
- Ip
Address string - The ip address of connection string.
- Net
Type string - Internet connection net type. Valid value:
Public
. Default toPublic
. Currently supported onlyPublic
. - Port string
- Port of the specified endpoint. Valid values: 3000 to 5999.
- connection
Prefix String - Prefix of the specified endpoint. The prefix must be 6 to 30 characters in length, and can contain lowercase letters, digits, and hyphens (-), must start with a letter and end with a digit or letter.
- connection
String String - Connection cluster or endpoint string.
- db
Cluster StringId - The Id of cluster that can run database.
- db
Endpoint StringId - The Id of endpoint that can run database.
- ip
Address String - The ip address of connection string.
- net
Type String - Internet connection net type. Valid value:
Public
. Default toPublic
. Currently supported onlyPublic
. - port String
- Port of the specified endpoint. Valid values: 3000 to 5999.
- connection
Prefix string - Prefix of the specified endpoint. The prefix must be 6 to 30 characters in length, and can contain lowercase letters, digits, and hyphens (-), must start with a letter and end with a digit or letter.
- connection
String string - Connection cluster or endpoint string.
- db
Cluster stringId - The Id of cluster that can run database.
- db
Endpoint stringId - The Id of endpoint that can run database.
- ip
Address string - The ip address of connection string.
- net
Type string - Internet connection net type. Valid value:
Public
. Default toPublic
. Currently supported onlyPublic
. - port string
- Port of the specified endpoint. Valid values: 3000 to 5999.
- connection_
prefix str - Prefix of the specified endpoint. The prefix must be 6 to 30 characters in length, and can contain lowercase letters, digits, and hyphens (-), must start with a letter and end with a digit or letter.
- connection_
string str - Connection cluster or endpoint string.
- db_
cluster_ strid - The Id of cluster that can run database.
- db_
endpoint_ strid - The Id of endpoint that can run database.
- ip_
address str - The ip address of connection string.
- net_
type str - Internet connection net type. Valid value:
Public
. Default toPublic
. Currently supported onlyPublic
. - port str
- Port of the specified endpoint. Valid values: 3000 to 5999.
- connection
Prefix String - Prefix of the specified endpoint. The prefix must be 6 to 30 characters in length, and can contain lowercase letters, digits, and hyphens (-), must start with a letter and end with a digit or letter.
- connection
String String - Connection cluster or endpoint string.
- db
Cluster StringId - The Id of cluster that can run database.
- db
Endpoint StringId - The Id of endpoint that can run database.
- ip
Address String - The ip address of connection string.
- net
Type String - Internet connection net type. Valid value:
Public
. Default toPublic
. Currently supported onlyPublic
. - port String
- Port of the specified endpoint. Valid values: 3000 to 5999.
Import
PolarDB endpoint address can be imported using the id, e.g.
$ pulumi import alicloud:polardb/endpointAddress:EndpointAddress example pc-abc123456:pe-abc123456
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Alibaba Cloud pulumi/pulumi-alicloud
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
alicloud
Terraform Provider.