alicloud.polardb.Endpoint
Explore with Pulumi AI
Provides a PolarDB endpoint resource to manage endpoint of PolarDB cluster.
NOTE: After v1.80.0 and before v1.121.0, you can only use this resource to manage the custom endpoint. Since v1.121.0, you also can import the primary endpoint and the cluster endpoint, to modify their ssl status and so on.
NOTE: The primary endpoint and the default cluster endpoint can not be created or deleted manually.
Argument Reference
The following arguments are supported:
db_cluster_id
- (Required, ForceNew) The Id of cluster that can run database.endpoint_type
- (Optional, ForceNew) Type of the endpoint. Before v1.121.0, it only can beCustom
. since v1.121.0,Custom
,Cluster
,Primary
are valid, default toCustom
. However when creating a new endpoint, it also only can beCustom
.read_write_mode
- (Optional) Read or write mode. Valid values areReadWrite
,ReadOnly
. When creating a new custom endpoint, default toReadOnly
.nodes
- (Optional) Node id list for endpoint configuration. At least 2 nodes if specified, or if the cluster has more than 3 nodes, read-only endpoint is allowed to mount only one node. Default is all nodes.auto_add_new_nodes
- (Optional) Whether the new node automatically joins the default cluster address. Valid values areEnable
,Disable
. When creating a new custom endpoint, default toDisable
.endpoint_config
- (Optional) The advanced settings of the endpoint of Apsara PolarDB clusters are in JSON format. Including the settings of consistency level, transaction splitting, connection pool, and offload reads from primary node. For more details, see the description of EndpointConfig in the Request parameters table for details.ssl_enabled
- (Optional, Available in v1.121.0+) Specifies how to modify the SSL encryption status. Valid values:Disable
,Enable
,Update
.net_type
- (Optional, Available in v1.121.0+) The network type of the endpoint address.ssl_auto_rotate
- (Available in v1.132.0+) Specifies whether automatic rotation of SSL certificates is enabled. Valid values:Enable
,Disable
.ssl_certificate_url
- (Available in v1.132.0+) Specifies SSL certificate download link.
NOTE: For a PolarDB for MySQL cluster, this parameter is required, and only one connection string in each endpoint can enable the ssl, for other notes, see Configure SSL encryption.
For a PolarDB for PostgreSQL cluster or a PolarDB-O cluster, this parameter is not required, by default, SSL encryption is enabled for all endpoints.db_endpoint_description
- (Optional, Available in v1.201.0+) The name of the endpoint.
Example Usage
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AliCloud = Pulumi.AliCloud;
return await Deployment.RunAsync(() =>
{
var defaultNodeClasses = AliCloud.PolarDB.GetNodeClasses.Invoke(new()
{
DbType = "MySQL",
DbVersion = "8.0",
PayType = "PostPaid",
});
var defaultNetwork = new AliCloud.Vpc.Network("defaultNetwork", new()
{
VpcName = "terraform-example",
CidrBlock = "172.16.0.0/16",
});
var defaultSwitch = new AliCloud.Vpc.Switch("defaultSwitch", new()
{
VpcId = defaultNetwork.Id,
CidrBlock = "172.16.0.0/24",
ZoneId = defaultNodeClasses.Apply(getNodeClassesResult => getNodeClassesResult.Classes[0]?.ZoneId),
VswitchName = "terraform-example",
});
var defaultCluster = new AliCloud.PolarDB.Cluster("defaultCluster", new()
{
DbType = "MySQL",
DbVersion = "8.0",
DbNodeClass = defaultNodeClasses.Apply(getNodeClassesResult => getNodeClassesResult.Classes[0]?.SupportedEngines[0]?.AvailableResources[0]?.DbNodeClass),
PayType = "PostPaid",
VswitchId = defaultSwitch.Id,
Description = "terraform-example",
});
var defaultEndpoint = new AliCloud.PolarDB.Endpoint("defaultEndpoint", new()
{
DbClusterId = defaultCluster.Id,
EndpointType = "Custom",
});
});
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 {
defaultNodeClasses, err := polardb.GetNodeClasses(ctx, &polardb.GetNodeClassesArgs{
DbType: pulumi.StringRef("MySQL"),
DbVersion: pulumi.StringRef("8.0"),
PayType: "PostPaid",
}, nil)
if err != nil {
return err
}
defaultNetwork, err := vpc.NewNetwork(ctx, "defaultNetwork", &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, "defaultSwitch", &vpc.SwitchArgs{
VpcId: defaultNetwork.ID(),
CidrBlock: pulumi.String("172.16.0.0/24"),
ZoneId: *pulumi.String(defaultNodeClasses.Classes[0].ZoneId),
VswitchName: pulumi.String("terraform-example"),
})
if err != nil {
return err
}
defaultCluster, err := polardb.NewCluster(ctx, "defaultCluster", &polardb.ClusterArgs{
DbType: pulumi.String("MySQL"),
DbVersion: pulumi.String("8.0"),
DbNodeClass: *pulumi.String(defaultNodeClasses.Classes[0].SupportedEngines[0].AvailableResources[0].DbNodeClass),
PayType: pulumi.String("PostPaid"),
VswitchId: defaultSwitch.ID(),
Description: pulumi.String("terraform-example"),
})
if err != nil {
return err
}
_, err = polardb.NewEndpoint(ctx, "defaultEndpoint", &polardb.EndpointArgs{
DbClusterId: defaultCluster.ID(),
EndpointType: pulumi.String("Custom"),
})
if err != nil {
return err
}
return nil
})
}
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.Endpoint;
import com.pulumi.alicloud.polardb.EndpointArgs;
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 defaultNodeClasses = PolardbFunctions.getNodeClasses(GetNodeClassesArgs.builder()
.dbType("MySQL")
.dbVersion("8.0")
.payType("PostPaid")
.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(defaultNodeClasses.applyValue(getNodeClassesResult -> getNodeClassesResult.classes()[0].zoneId()))
.vswitchName("terraform-example")
.build());
var defaultCluster = new Cluster("defaultCluster", ClusterArgs.builder()
.dbType("MySQL")
.dbVersion("8.0")
.dbNodeClass(defaultNodeClasses.applyValue(getNodeClassesResult -> getNodeClassesResult.classes()[0].supportedEngines()[0].availableResources()[0].dbNodeClass()))
.payType("PostPaid")
.vswitchId(defaultSwitch.id())
.description("terraform-example")
.build());
var defaultEndpoint = new Endpoint("defaultEndpoint", EndpointArgs.builder()
.dbClusterId(defaultCluster.id())
.endpointType("Custom")
.build());
}
}
import pulumi
import pulumi_alicloud as alicloud
default_node_classes = alicloud.polardb.get_node_classes(db_type="MySQL",
db_version="8.0",
pay_type="PostPaid")
default_network = alicloud.vpc.Network("defaultNetwork",
vpc_name="terraform-example",
cidr_block="172.16.0.0/16")
default_switch = alicloud.vpc.Switch("defaultSwitch",
vpc_id=default_network.id,
cidr_block="172.16.0.0/24",
zone_id=default_node_classes.classes[0].zone_id,
vswitch_name="terraform-example")
default_cluster = alicloud.polardb.Cluster("defaultCluster",
db_type="MySQL",
db_version="8.0",
db_node_class=default_node_classes.classes[0].supported_engines[0].available_resources[0].db_node_class,
pay_type="PostPaid",
vswitch_id=default_switch.id,
description="terraform-example")
default_endpoint = alicloud.polardb.Endpoint("defaultEndpoint",
db_cluster_id=default_cluster.id,
endpoint_type="Custom")
import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";
const defaultNodeClasses = alicloud.polardb.getNodeClasses({
dbType: "MySQL",
dbVersion: "8.0",
payType: "PostPaid",
});
const defaultNetwork = new alicloud.vpc.Network("defaultNetwork", {
vpcName: "terraform-example",
cidrBlock: "172.16.0.0/16",
});
const defaultSwitch = new alicloud.vpc.Switch("defaultSwitch", {
vpcId: defaultNetwork.id,
cidrBlock: "172.16.0.0/24",
zoneId: defaultNodeClasses.then(defaultNodeClasses => defaultNodeClasses.classes?.[0]?.zoneId),
vswitchName: "terraform-example",
});
const defaultCluster = new alicloud.polardb.Cluster("defaultCluster", {
dbType: "MySQL",
dbVersion: "8.0",
dbNodeClass: defaultNodeClasses.then(defaultNodeClasses => defaultNodeClasses.classes?.[0]?.supportedEngines?.[0]?.availableResources?.[0]?.dbNodeClass),
payType: "PostPaid",
vswitchId: defaultSwitch.id,
description: "terraform-example",
});
const defaultEndpoint = new alicloud.polardb.Endpoint("defaultEndpoint", {
dbClusterId: defaultCluster.id,
endpointType: "Custom",
});
resources:
defaultNetwork:
type: alicloud:vpc:Network
properties:
vpcName: terraform-example
cidrBlock: 172.16.0.0/16
defaultSwitch:
type: alicloud:vpc:Switch
properties:
vpcId: ${defaultNetwork.id}
cidrBlock: 172.16.0.0/24
zoneId: ${defaultNodeClasses.classes[0].zoneId}
vswitchName: terraform-example
defaultCluster:
type: alicloud:polardb:Cluster
properties:
dbType: MySQL
dbVersion: '8.0'
dbNodeClass: ${defaultNodeClasses.classes[0].supportedEngines[0].availableResources[0].dbNodeClass}
payType: PostPaid
vswitchId: ${defaultSwitch.id}
description: terraform-example
defaultEndpoint:
type: alicloud:polardb:Endpoint
properties:
dbClusterId: ${defaultCluster.id}
endpointType: Custom
variables:
defaultNodeClasses:
fn::invoke:
Function: alicloud:polardb:getNodeClasses
Arguments:
dbType: MySQL
dbVersion: '8.0'
payType: PostPaid
Create Endpoint Resource
new Endpoint(name: string, args: EndpointArgs, opts?: CustomResourceOptions);
@overload
def Endpoint(resource_name: str,
opts: Optional[ResourceOptions] = None,
auto_add_new_nodes: Optional[str] = None,
db_cluster_id: Optional[str] = None,
db_endpoint_description: Optional[str] = None,
endpoint_config: Optional[Mapping[str, Any]] = None,
endpoint_type: Optional[str] = None,
net_type: Optional[str] = None,
nodes: Optional[Sequence[str]] = None,
read_write_mode: Optional[str] = None,
ssl_auto_rotate: Optional[str] = None,
ssl_enabled: Optional[str] = None)
@overload
def Endpoint(resource_name: str,
args: EndpointArgs,
opts: Optional[ResourceOptions] = None)
func NewEndpoint(ctx *Context, name string, args EndpointArgs, opts ...ResourceOption) (*Endpoint, error)
public Endpoint(string name, EndpointArgs args, CustomResourceOptions? opts = null)
public Endpoint(String name, EndpointArgs args)
public Endpoint(String name, EndpointArgs args, CustomResourceOptions options)
type: alicloud:polardb:Endpoint
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args EndpointArgs
- 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 EndpointArgs
- 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 EndpointArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args EndpointArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args EndpointArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Endpoint 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 Endpoint resource accepts the following input properties:
- Db
Cluster stringId - Auto
Add stringNew Nodes - Db
Endpoint stringDescription - Endpoint
Config Dictionary<string, object> - Endpoint
Type string Type of endpoint.
- Net
Type string - Nodes List<string>
- Read
Write stringMode - Ssl
Auto stringRotate - Ssl
Enabled string
- Db
Cluster stringId - Auto
Add stringNew Nodes - Db
Endpoint stringDescription - Endpoint
Config map[string]interface{} - Endpoint
Type string Type of endpoint.
- Net
Type string - Nodes []string
- Read
Write stringMode - Ssl
Auto stringRotate - Ssl
Enabled string
- db
Cluster StringId - auto
Add StringNew Nodes - db
Endpoint StringDescription - endpoint
Config Map<String,Object> - endpoint
Type String Type of endpoint.
- net
Type String - nodes List<String>
- read
Write StringMode - ssl
Auto StringRotate - ssl
Enabled String
- db
Cluster stringId - auto
Add stringNew Nodes - db
Endpoint stringDescription - endpoint
Config {[key: string]: any} - endpoint
Type string Type of endpoint.
- net
Type string - nodes string[]
- read
Write stringMode - ssl
Auto stringRotate - ssl
Enabled string
- db_
cluster_ strid - auto_
add_ strnew_ nodes - db_
endpoint_ strdescription - endpoint_
config Mapping[str, Any] - endpoint_
type str Type of endpoint.
- net_
type str - nodes Sequence[str]
- read_
write_ strmode - ssl_
auto_ strrotate - ssl_
enabled str
- db
Cluster StringId - auto
Add StringNew Nodes - db
Endpoint StringDescription - endpoint
Config Map<Any> - endpoint
Type String Type of endpoint.
- net
Type String - nodes List<String>
- read
Write StringMode - ssl
Auto StringRotate - ssl
Enabled String
Outputs
All input properties are implicitly available as output properties. Additionally, the Endpoint resource produces the following output properties:
- Db
Endpoint stringId (Available in v1.161.0+) The ID of the cluster endpoint.
- Id string
The provider-assigned unique ID for this managed resource.
- Ssl
Certificate stringUrl - Ssl
Connection stringString (Available in v1.121.0+) The SSL connection string.
- Ssl
Expire stringTime (Available in v1.121.0+) The time when the SSL certificate expires. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.
- Db
Endpoint stringId (Available in v1.161.0+) The ID of the cluster endpoint.
- Id string
The provider-assigned unique ID for this managed resource.
- Ssl
Certificate stringUrl - Ssl
Connection stringString (Available in v1.121.0+) The SSL connection string.
- Ssl
Expire stringTime (Available in v1.121.0+) The time when the SSL certificate expires. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.
- db
Endpoint StringId (Available in v1.161.0+) The ID of the cluster endpoint.
- id String
The provider-assigned unique ID for this managed resource.
- ssl
Certificate StringUrl - ssl
Connection StringString (Available in v1.121.0+) The SSL connection string.
- ssl
Expire StringTime (Available in v1.121.0+) The time when the SSL certificate expires. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.
- db
Endpoint stringId (Available in v1.161.0+) The ID of the cluster endpoint.
- id string
The provider-assigned unique ID for this managed resource.
- ssl
Certificate stringUrl - ssl
Connection stringString (Available in v1.121.0+) The SSL connection string.
- ssl
Expire stringTime (Available in v1.121.0+) The time when the SSL certificate expires. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.
- db_
endpoint_ strid (Available in v1.161.0+) The ID of the cluster endpoint.
- id str
The provider-assigned unique ID for this managed resource.
- ssl_
certificate_ strurl - ssl_
connection_ strstring (Available in v1.121.0+) The SSL connection string.
- ssl_
expire_ strtime (Available in v1.121.0+) The time when the SSL certificate expires. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.
- db
Endpoint StringId (Available in v1.161.0+) The ID of the cluster endpoint.
- id String
The provider-assigned unique ID for this managed resource.
- ssl
Certificate StringUrl - ssl
Connection StringString (Available in v1.121.0+) The SSL connection string.
- ssl
Expire StringTime (Available in v1.121.0+) The time when the SSL certificate expires. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.
Look up Existing Endpoint Resource
Get an existing Endpoint 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?: EndpointState, opts?: CustomResourceOptions): Endpoint
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
auto_add_new_nodes: Optional[str] = None,
db_cluster_id: Optional[str] = None,
db_endpoint_description: Optional[str] = None,
db_endpoint_id: Optional[str] = None,
endpoint_config: Optional[Mapping[str, Any]] = None,
endpoint_type: Optional[str] = None,
net_type: Optional[str] = None,
nodes: Optional[Sequence[str]] = None,
read_write_mode: Optional[str] = None,
ssl_auto_rotate: Optional[str] = None,
ssl_certificate_url: Optional[str] = None,
ssl_connection_string: Optional[str] = None,
ssl_enabled: Optional[str] = None,
ssl_expire_time: Optional[str] = None) -> Endpoint
func GetEndpoint(ctx *Context, name string, id IDInput, state *EndpointState, opts ...ResourceOption) (*Endpoint, error)
public static Endpoint Get(string name, Input<string> id, EndpointState? state, CustomResourceOptions? opts = null)
public static Endpoint get(String name, Output<String> id, EndpointState 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.
- Auto
Add stringNew Nodes - Db
Cluster stringId - Db
Endpoint stringDescription - Db
Endpoint stringId (Available in v1.161.0+) The ID of the cluster endpoint.
- Endpoint
Config Dictionary<string, object> - Endpoint
Type string Type of endpoint.
- Net
Type string - Nodes List<string>
- Read
Write stringMode - Ssl
Auto stringRotate - Ssl
Certificate stringUrl - Ssl
Connection stringString (Available in v1.121.0+) The SSL connection string.
- Ssl
Enabled string - Ssl
Expire stringTime (Available in v1.121.0+) The time when the SSL certificate expires. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.
- Auto
Add stringNew Nodes - Db
Cluster stringId - Db
Endpoint stringDescription - Db
Endpoint stringId (Available in v1.161.0+) The ID of the cluster endpoint.
- Endpoint
Config map[string]interface{} - Endpoint
Type string Type of endpoint.
- Net
Type string - Nodes []string
- Read
Write stringMode - Ssl
Auto stringRotate - Ssl
Certificate stringUrl - Ssl
Connection stringString (Available in v1.121.0+) The SSL connection string.
- Ssl
Enabled string - Ssl
Expire stringTime (Available in v1.121.0+) The time when the SSL certificate expires. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.
- auto
Add StringNew Nodes - db
Cluster StringId - db
Endpoint StringDescription - db
Endpoint StringId (Available in v1.161.0+) The ID of the cluster endpoint.
- endpoint
Config Map<String,Object> - endpoint
Type String Type of endpoint.
- net
Type String - nodes List<String>
- read
Write StringMode - ssl
Auto StringRotate - ssl
Certificate StringUrl - ssl
Connection StringString (Available in v1.121.0+) The SSL connection string.
- ssl
Enabled String - ssl
Expire StringTime (Available in v1.121.0+) The time when the SSL certificate expires. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.
- auto
Add stringNew Nodes - db
Cluster stringId - db
Endpoint stringDescription - db
Endpoint stringId (Available in v1.161.0+) The ID of the cluster endpoint.
- endpoint
Config {[key: string]: any} - endpoint
Type string Type of endpoint.
- net
Type string - nodes string[]
- read
Write stringMode - ssl
Auto stringRotate - ssl
Certificate stringUrl - ssl
Connection stringString (Available in v1.121.0+) The SSL connection string.
- ssl
Enabled string - ssl
Expire stringTime (Available in v1.121.0+) The time when the SSL certificate expires. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.
- auto_
add_ strnew_ nodes - db_
cluster_ strid - db_
endpoint_ strdescription - db_
endpoint_ strid (Available in v1.161.0+) The ID of the cluster endpoint.
- endpoint_
config Mapping[str, Any] - endpoint_
type str Type of endpoint.
- net_
type str - nodes Sequence[str]
- read_
write_ strmode - ssl_
auto_ strrotate - ssl_
certificate_ strurl - ssl_
connection_ strstring (Available in v1.121.0+) The SSL connection string.
- ssl_
enabled str - ssl_
expire_ strtime (Available in v1.121.0+) The time when the SSL certificate expires. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.
- auto
Add StringNew Nodes - db
Cluster StringId - db
Endpoint StringDescription - db
Endpoint StringId (Available in v1.161.0+) The ID of the cluster endpoint.
- endpoint
Config Map<Any> - endpoint
Type String Type of endpoint.
- net
Type String - nodes List<String>
- read
Write StringMode - ssl
Auto StringRotate - ssl
Certificate StringUrl - ssl
Connection StringString (Available in v1.121.0+) The SSL connection string.
- ssl
Enabled String - ssl
Expire StringTime (Available in v1.121.0+) The time when the SSL certificate expires. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.
Import
PolarDB endpoint can be imported using the id, e.g.
$ pulumi import alicloud:polardb/endpoint:Endpoint example pc-abc123456:pe-abc123456
Package Details
- Repository
- Alibaba Cloud pulumi/pulumi-alicloud
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
alicloud
Terraform Provider.