Module adb
This page documents the language specification for the alicloud package. If you're looking for help working with the inputs, outputs, or functions of alicloud resources in a Pulumi program, please see the resource documentation for examples and API reference.
This provider is a derived work of the Terraform Provider distributed under MPL 2.0. If you encounter a bug or missing feature, first check the
pulumi/pulumi-alicloudrepo; however, if that doesn’t turn up anything, please consult the sourceterraform-providers/terraform-provider-alicloudrepo.
Resources
Functions
Others
- AccountArgs
- AccountState
- BackupPolicyArgs
- BackupPolicyState
- ClusterArgs
- ClusterState
- ConnectionArgs
- ConnectionState
- GetClustersArgs
- GetClustersResult
- GetZonesArgs
- GetZonesResult
Resources
Resource Account
class Account extends CustomResourceProvides a ADB account resource and used to manage databases.
NOTE: Available in v1.71.0+.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";
const config = new pulumi.Config();
const creation = config.get("creation") || "ADB";
const name = config.get("name") || "adbaccountmysql";
const defaultZones = pulumi.output(alicloud.getZones({
availableResourceCreation: creation,
}, { async: true }));
const defaultNetwork = new alicloud.vpc.Network("default", {
cidrBlock: "172.16.0.0/16",
});
const defaultSwitch = new alicloud.vpc.Switch("default", {
availabilityZone: defaultZones.zones[0].id,
cidrBlock: "172.16.0.0/24",
vpcId: defaultNetwork.id,
});
const cluster = new alicloud.adb.Cluster("cluster", {
dbClusterCategory: "Cluster",
dbClusterVersion: "3.0",
dbNodeClass: "C8",
dbNodeCount: 2,
dbNodeStorage: 200,
description: name,
payType: "PostPaid",
vswitchId: defaultSwitch.id,
});
const account = new alicloud.adb.Account("account", {
accountDescription: name,
accountName: "tftestnormal",
accountPassword: "Test12345",
dbClusterId: cluster.id,
});constructor
new Account(name: string, args: AccountArgs, opts?: pulumi.CustomResourceOptions)Create a Account resource with the given unique name, arguments, and options.
nameThe unique name of the resource.argsThe arguments to use to populate this resource's properties.optsA bag of options that control this resource's behavior.
method get
public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: AccountState, opts?: pulumi.CustomResourceOptions): AccountGet an existing Account resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
method getProvider
getProvider(moduleMember: string): ProviderResource | undefinedmethod isInstance
public static isInstance(obj: any): obj is AccountReturns true if the given object is an instance of Account. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.
property accountDescription
public accountDescription: pulumi.Output<string | undefined>;Account description. It cannot begin with https://. It must start with a Chinese character or English letter. It can include Chinese and English characters, underlines (_), hyphens (-), and numbers. The length may be 2-256 characters.
property accountName
public accountName: pulumi.Output<string>;Operation account requiring a uniqueness check. It may consist of lower case letters, numbers, and underlines, and must start with a letter and have no more than 16 characters.
property accountPassword
public accountPassword: pulumi.Output<string | undefined>;Operation password. It may consist of letters, digits, or underlines, with a length of 6 to 32 characters. You have to specify one of accountPassword and kmsEncryptedPassword fields.
property dbClusterId
public dbClusterId: pulumi.Output<string>;The Id of cluster in which account belongs.
property id
id: Output<ID>;id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.
property kmsEncryptedPassword
public kmsEncryptedPassword: pulumi.Output<string | undefined>;An KMS encrypts password used to a db account. If the accountPassword is filled in, this field will be ignored.
property kmsEncryptionContext
public kmsEncryptionContext: pulumi.Output<{[key: string]: any} | undefined>;An KMS encryption context used to decrypt kmsEncryptedPassword before creating or updating a db account with kmsEncryptedPassword. See Encryption Context. It is valid when kmsEncryptedPassword is set.
property urn
urn: Output<URN>;urn is the stable logical URN used to distinctly address a resource, both before and after deployments.
Resource BackupPolicy
class BackupPolicy extends CustomResourceconstructor
new BackupPolicy(name: string, args: BackupPolicyArgs, opts?: pulumi.CustomResourceOptions)Create a BackupPolicy resource with the given unique name, arguments, and options.
nameThe unique name of the resource.argsThe arguments to use to populate this resource's properties.optsA bag of options that control this resource's behavior.
method get
public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: BackupPolicyState, opts?: pulumi.CustomResourceOptions): BackupPolicyGet an existing BackupPolicy resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
method getProvider
getProvider(moduleMember: string): ProviderResource | undefinedmethod isInstance
public static isInstance(obj: any): obj is BackupPolicyReturns true if the given object is an instance of BackupPolicy. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.
property backupRetentionPeriod
public backupRetentionPeriod: pulumi.Output<string>;Cluster backup retention days, Fixed for 7 days, not modified.
property dbClusterId
public dbClusterId: pulumi.Output<string>;The Id of cluster that can run database.
property id
id: Output<ID>;id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.
property preferredBackupPeriods
public preferredBackupPeriods: pulumi.Output<string[]>;ADB Cluster backup period. Valid values: [Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday].
property preferredBackupTime
public preferredBackupTime: pulumi.Output<string>;ADB Cluster backup time, in the format of HH:mmZ- HH:mmZ. Time setting interval is one hour. China time is 8 hours behind it.
property urn
urn: Output<URN>;urn is the stable logical URN used to distinctly address a resource, both before and after deployments.
Resource Cluster
class Cluster extends CustomResourceProvides a ADB cluster resource. A ADB cluster is an isolated database environment in the cloud. A ADB cluster can contain multiple user-created databases.
NOTE: Available in v1.71.0+.
Example Usage
Create a ADB MySQL cluster
import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";
const config = new pulumi.Config();
const name = config.get("name") || "adbClusterconfig";
const creation = config.get("creation") || "ADB";
const defaultZones = pulumi.output(alicloud.getZones({
availableResourceCreation: creation,
}, { async: true }));
const defaultNetwork = new alicloud.vpc.Network("default", {
cidrBlock: "172.16.0.0/16",
});
const defaultSwitch = new alicloud.vpc.Switch("default", {
availabilityZone: defaultZones.zones[0].id,
cidrBlock: "172.16.0.0/24",
vpcId: defaultNetwork.id,
});
const defaultCluster = new alicloud.adb.Cluster("default", {
dbClusterCategory: "Cluster",
dbClusterVersion: "3.0",
dbNodeClass: "C8",
dbNodeCount: 2,
dbNodeStorage: 200,
description: name,
payType: "PostPaid",
vswitchId: defaultSwitch.id,
});constructor
new Cluster(name: string, args: ClusterArgs, opts?: pulumi.CustomResourceOptions)Create a Cluster resource with the given unique name, arguments, and options.
nameThe unique name of the resource.argsThe arguments to use to populate this resource's properties.optsA bag of options that control this resource's behavior.
method get
public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ClusterState, opts?: pulumi.CustomResourceOptions): ClusterGet an existing Cluster resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
method getProvider
getProvider(moduleMember: string): ProviderResource | undefinedmethod isInstance
public static isInstance(obj: any): obj is ClusterReturns true if the given object is an instance of Cluster. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.
property autoRenewPeriod
public autoRenewPeriod: pulumi.Output<number | undefined>;Auto-renewal period of an cluster, in the unit of the month. It is valid when payType is PrePaid. Valid value:1, 2, 3, 6, 12, 24, 36, Default to 1.
property dbClusterCategory
public dbClusterCategory: pulumi.Output<string>;Cluster category. Value options: Basic, Cluster.
property dbClusterVersion
public dbClusterVersion: pulumi.Output<string | undefined>;Cluster version. Value options: 3.0, Default to 3.0.
property dbNodeClass
public dbNodeClass: pulumi.Output<string>;The dbNodeClass of cluster node.
property dbNodeCount
public dbNodeCount: pulumi.Output<number>;The dbNodeCount of cluster node.
property dbNodeStorage
public dbNodeStorage: pulumi.Output<number>;The dbNodeStorage of cluster node.
property description
public description: pulumi.Output<string | undefined>;The description of cluster.
property id
id: Output<ID>;id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.
property maintainTime
public maintainTime: pulumi.Output<string>;Maintainable time period format of the instance: HH:MMZ-HH:MMZ (UTC time)
property payType
public payType: pulumi.Output<string | undefined>;Valid values are PrePaid, PostPaid, Default to PostPaid. Currently, the resource can not supports change pay type.
property period
public period: pulumi.Output<number | undefined>;The duration that you will buy DB cluster (in month). It is valid when payType is PrePaid. Valid values: [1~9], 12, 24, 36. Default to 1.
property renewalStatus
public renewalStatus: pulumi.Output<string | undefined>;Valid values are AutoRenewal, Normal, NotRenewal, Default to NotRenewal.
property securityIps
public securityIps: pulumi.Output<string[]>;List of IP addresses allowed to access all databases of an cluster. The list contains up to 1,000 IP addresses, separated by commas. Supported formats include 0.0.0.0/0, 10.23.12.24 (IP), and 10.23.12.24/24 (Classless Inter-Domain Routing (CIDR) mode. /24 represents the length of the prefix in an IP address. The range of the prefix length is [1,32]).
property tags
public tags: pulumi.Output<{[key: string]: any} | undefined>;A mapping of tags to assign to the resource. - Key: It can be up to 64 characters in length. It cannot begin with “aliyun”, “acs:“, “http://“, or “https://“. It cannot be a null string. - Value: It can be up to 128 characters in length. It cannot begin with “aliyun”, “acs:“, “http://“, or “https://“. It can be a null string.
property urn
urn: Output<URN>;urn is the stable logical URN used to distinctly address a resource, both before and after deployments.
property vswitchId
public vswitchId: pulumi.Output<string>;The virtual switch ID to launch DB instances in one VPC.
property zoneId
public zoneId: pulumi.Output<string>;The Zone to launch the DB cluster.
Resource Connection
class Connection extends CustomResourceProvides an ADB connection resource to allocate an Internet connection string for ADB cluster.
NOTE: Each ADB instance will allocate a intranet connnection string automatically and its prifix is ADB instance ID. To avoid unnecessary conflict, please specified a internet connection prefix before applying the resource.
NOTE: Available in v1.81.0+.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";
const config = new pulumi.Config();
const creation = config.get("creation") || "ADB";
const name = config.get("name") || "adbaccountmysql";
const defaultZones = pulumi.output(alicloud.getZones({
availableResourceCreation: creation,
}, { async: true }));
const defaultNetwork = new alicloud.vpc.Network("default", {
cidrBlock: "172.16.0.0/16",
});
const defaultSwitch = new alicloud.vpc.Switch("default", {
availabilityZone: defaultZones.zones[0].id,
cidrBlock: "172.16.0.0/24",
vpcId: defaultNetwork.id,
});
const cluster = new alicloud.adb.Cluster("cluster", {
dbClusterCategory: "Cluster",
dbClusterVersion: "3.0",
dbNodeClass: "C8",
dbNodeCount: 2,
dbNodeStorage: 200,
description: name,
payType: "PostPaid",
vswitchId: defaultSwitch.id,
});
const connection = new alicloud.adb.Connection("connection", {
connectionPrefix: "testabc",
dbClusterId: cluster.id,
});constructor
new Connection(name: string, args: ConnectionArgs, opts?: pulumi.CustomResourceOptions)Create a Connection resource with the given unique name, arguments, and options.
nameThe unique name of the resource.argsThe arguments to use to populate this resource's properties.optsA bag of options that control this resource's behavior.
method get
public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ConnectionState, opts?: pulumi.CustomResourceOptions): ConnectionGet an existing Connection resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
method getProvider
getProvider(moduleMember: string): ProviderResource | undefinedmethod isInstance
public static isInstance(obj: any): obj is ConnectionReturns true if the given object is an instance of Connection. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.
property connectionPrefix
public connectionPrefix: pulumi.Output<string>;Prefix of an Internet connection string. It must be checked for uniqueness. It may consist of lowercase letters, numbers, and underlines, and must start with a letter and have no more than 30 characters. Default to
property connectionString
public connectionString: pulumi.Output<string>;Connection cluster string.
property dbClusterId
public dbClusterId: pulumi.Output<string>;The Id of cluster that can run database.
property id
id: Output<ID>;id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.
property ipAddress
public ipAddress: pulumi.Output<string>;The ip address of connection string.
property port
public port: pulumi.Output<string>;Connection cluster port.
property urn
urn: Output<URN>;urn is the stable logical URN used to distinctly address a resource, both before and after deployments.
Functions
Function getClusters
getClusters(args?: GetClustersArgs, opts?: pulumi.InvokeOptions): Promise<GetClustersResult>The alicloud.adb.getClusters data source provides a collection of ADB clusters available in Alibaba Cloud account.
Filters support regular expression for the cluster description, searches by tags, and other filters which are listed below.
NOTE: Available in v1.71.0+.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";
const adbClustersDs = pulumi.output(alicloud.adb.getClusters({
descriptionRegex: "am-\\w+",
status: "Running",
}, { async: true }));
export const firstAdbClusterId = adbClustersDs.clusters[0].id;Function getZones
getZones(args?: GetZonesArgs, opts?: pulumi.InvokeOptions): Promise<GetZonesResult>This data source provides availability zones for ADB that can be accessed by an Alibaba Cloud account within the region configured in the provider.
NOTE: Available in v1.73.0+.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";
// Declare the data source
const zonesIds = pulumi.output(alicloud.adb.getZones({ async: true }));Others
interface AccountArgs
interface AccountArgsThe set of arguments for constructing a Account resource.
property accountDescription
accountDescription?: pulumi.Input<string>;Account description. It cannot begin with https://. It must start with a Chinese character or English letter. It can include Chinese and English characters, underlines (_), hyphens (-), and numbers. The length may be 2-256 characters.
property accountName
accountName: pulumi.Input<string>;Operation account requiring a uniqueness check. It may consist of lower case letters, numbers, and underlines, and must start with a letter and have no more than 16 characters.
property accountPassword
accountPassword?: pulumi.Input<string>;Operation password. It may consist of letters, digits, or underlines, with a length of 6 to 32 characters. You have to specify one of accountPassword and kmsEncryptedPassword fields.
property dbClusterId
dbClusterId: pulumi.Input<string>;The Id of cluster in which account belongs.
property kmsEncryptedPassword
kmsEncryptedPassword?: pulumi.Input<string>;An KMS encrypts password used to a db account. If the accountPassword is filled in, this field will be ignored.
property kmsEncryptionContext
kmsEncryptionContext?: pulumi.Input<{[key: string]: any}>;An KMS encryption context used to decrypt kmsEncryptedPassword before creating or updating a db account with kmsEncryptedPassword. See Encryption Context. It is valid when kmsEncryptedPassword is set.
interface AccountState
interface AccountStateInput properties used for looking up and filtering Account resources.
property accountDescription
accountDescription?: pulumi.Input<string>;Account description. It cannot begin with https://. It must start with a Chinese character or English letter. It can include Chinese and English characters, underlines (_), hyphens (-), and numbers. The length may be 2-256 characters.
property accountName
accountName?: pulumi.Input<string>;Operation account requiring a uniqueness check. It may consist of lower case letters, numbers, and underlines, and must start with a letter and have no more than 16 characters.
property accountPassword
accountPassword?: pulumi.Input<string>;Operation password. It may consist of letters, digits, or underlines, with a length of 6 to 32 characters. You have to specify one of accountPassword and kmsEncryptedPassword fields.
property dbClusterId
dbClusterId?: pulumi.Input<string>;The Id of cluster in which account belongs.
property kmsEncryptedPassword
kmsEncryptedPassword?: pulumi.Input<string>;An KMS encrypts password used to a db account. If the accountPassword is filled in, this field will be ignored.
property kmsEncryptionContext
kmsEncryptionContext?: pulumi.Input<{[key: string]: any}>;An KMS encryption context used to decrypt kmsEncryptedPassword before creating or updating a db account with kmsEncryptedPassword. See Encryption Context. It is valid when kmsEncryptedPassword is set.
interface BackupPolicyArgs
interface BackupPolicyArgsThe set of arguments for constructing a BackupPolicy resource.
property dbClusterId
dbClusterId: pulumi.Input<string>;The Id of cluster that can run database.
property preferredBackupPeriods
preferredBackupPeriods: pulumi.Input<pulumi.Input<string>[]>;ADB Cluster backup period. Valid values: [Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday].
property preferredBackupTime
preferredBackupTime: pulumi.Input<string>;ADB Cluster backup time, in the format of HH:mmZ- HH:mmZ. Time setting interval is one hour. China time is 8 hours behind it.
interface BackupPolicyState
interface BackupPolicyStateInput properties used for looking up and filtering BackupPolicy resources.
property backupRetentionPeriod
backupRetentionPeriod?: pulumi.Input<string>;Cluster backup retention days, Fixed for 7 days, not modified.
property dbClusterId
dbClusterId?: pulumi.Input<string>;The Id of cluster that can run database.
property preferredBackupPeriods
preferredBackupPeriods?: pulumi.Input<pulumi.Input<string>[]>;ADB Cluster backup period. Valid values: [Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday].
property preferredBackupTime
preferredBackupTime?: pulumi.Input<string>;ADB Cluster backup time, in the format of HH:mmZ- HH:mmZ. Time setting interval is one hour. China time is 8 hours behind it.
interface ClusterArgs
interface ClusterArgsThe set of arguments for constructing a Cluster resource.
property autoRenewPeriod
autoRenewPeriod?: pulumi.Input<number>;Auto-renewal period of an cluster, in the unit of the month. It is valid when payType is PrePaid. Valid value:1, 2, 3, 6, 12, 24, 36, Default to 1.
property dbClusterCategory
dbClusterCategory: pulumi.Input<string>;Cluster category. Value options: Basic, Cluster.
property dbClusterVersion
dbClusterVersion?: pulumi.Input<string>;Cluster version. Value options: 3.0, Default to 3.0.
property dbNodeClass
dbNodeClass: pulumi.Input<string>;The dbNodeClass of cluster node.
property dbNodeCount
dbNodeCount: pulumi.Input<number>;The dbNodeCount of cluster node.
property dbNodeStorage
dbNodeStorage: pulumi.Input<number>;The dbNodeStorage of cluster node.
property description
description?: pulumi.Input<string>;The description of cluster.
property maintainTime
maintainTime?: pulumi.Input<string>;Maintainable time period format of the instance: HH:MMZ-HH:MMZ (UTC time)
property payType
payType?: pulumi.Input<string>;Valid values are PrePaid, PostPaid, Default to PostPaid. Currently, the resource can not supports change pay type.
property period
period?: pulumi.Input<number>;The duration that you will buy DB cluster (in month). It is valid when payType is PrePaid. Valid values: [1~9], 12, 24, 36. Default to 1.
property renewalStatus
renewalStatus?: pulumi.Input<string>;Valid values are AutoRenewal, Normal, NotRenewal, Default to NotRenewal.
property securityIps
securityIps?: pulumi.Input<pulumi.Input<string>[]>;List of IP addresses allowed to access all databases of an cluster. The list contains up to 1,000 IP addresses, separated by commas. Supported formats include 0.0.0.0/0, 10.23.12.24 (IP), and 10.23.12.24/24 (Classless Inter-Domain Routing (CIDR) mode. /24 represents the length of the prefix in an IP address. The range of the prefix length is [1,32]).
property tags
tags?: pulumi.Input<{[key: string]: any}>;A mapping of tags to assign to the resource. - Key: It can be up to 64 characters in length. It cannot begin with “aliyun”, “acs:“, “http://“, or “https://“. It cannot be a null string. - Value: It can be up to 128 characters in length. It cannot begin with “aliyun”, “acs:“, “http://“, or “https://“. It can be a null string.
property vswitchId
vswitchId: pulumi.Input<string>;The virtual switch ID to launch DB instances in one VPC.
property zoneId
zoneId?: pulumi.Input<string>;The Zone to launch the DB cluster.
interface ClusterState
interface ClusterStateInput properties used for looking up and filtering Cluster resources.
property autoRenewPeriod
autoRenewPeriod?: pulumi.Input<number>;Auto-renewal period of an cluster, in the unit of the month. It is valid when payType is PrePaid. Valid value:1, 2, 3, 6, 12, 24, 36, Default to 1.
property dbClusterCategory
dbClusterCategory?: pulumi.Input<string>;Cluster category. Value options: Basic, Cluster.
property dbClusterVersion
dbClusterVersion?: pulumi.Input<string>;Cluster version. Value options: 3.0, Default to 3.0.
property dbNodeClass
dbNodeClass?: pulumi.Input<string>;The dbNodeClass of cluster node.
property dbNodeCount
dbNodeCount?: pulumi.Input<number>;The dbNodeCount of cluster node.
property dbNodeStorage
dbNodeStorage?: pulumi.Input<number>;The dbNodeStorage of cluster node.
property description
description?: pulumi.Input<string>;The description of cluster.
property maintainTime
maintainTime?: pulumi.Input<string>;Maintainable time period format of the instance: HH:MMZ-HH:MMZ (UTC time)
property payType
payType?: pulumi.Input<string>;Valid values are PrePaid, PostPaid, Default to PostPaid. Currently, the resource can not supports change pay type.
property period
period?: pulumi.Input<number>;The duration that you will buy DB cluster (in month). It is valid when payType is PrePaid. Valid values: [1~9], 12, 24, 36. Default to 1.
property renewalStatus
renewalStatus?: pulumi.Input<string>;Valid values are AutoRenewal, Normal, NotRenewal, Default to NotRenewal.
property securityIps
securityIps?: pulumi.Input<pulumi.Input<string>[]>;List of IP addresses allowed to access all databases of an cluster. The list contains up to 1,000 IP addresses, separated by commas. Supported formats include 0.0.0.0/0, 10.23.12.24 (IP), and 10.23.12.24/24 (Classless Inter-Domain Routing (CIDR) mode. /24 represents the length of the prefix in an IP address. The range of the prefix length is [1,32]).
property tags
tags?: pulumi.Input<{[key: string]: any}>;A mapping of tags to assign to the resource. - Key: It can be up to 64 characters in length. It cannot begin with “aliyun”, “acs:“, “http://“, or “https://“. It cannot be a null string. - Value: It can be up to 128 characters in length. It cannot begin with “aliyun”, “acs:“, “http://“, or “https://“. It can be a null string.
property vswitchId
vswitchId?: pulumi.Input<string>;The virtual switch ID to launch DB instances in one VPC.
property zoneId
zoneId?: pulumi.Input<string>;The Zone to launch the DB cluster.
interface ConnectionArgs
interface ConnectionArgsThe set of arguments for constructing a Connection resource.
property connectionPrefix
connectionPrefix?: pulumi.Input<string>;Prefix of an Internet connection string. It must be checked for uniqueness. It may consist of lowercase letters, numbers, and underlines, and must start with a letter and have no more than 30 characters. Default to
property dbClusterId
dbClusterId: pulumi.Input<string>;The Id of cluster that can run database.
interface ConnectionState
interface ConnectionStateInput properties used for looking up and filtering Connection resources.
property connectionPrefix
connectionPrefix?: pulumi.Input<string>;Prefix of an Internet connection string. It must be checked for uniqueness. It may consist of lowercase letters, numbers, and underlines, and must start with a letter and have no more than 30 characters. Default to
property connectionString
connectionString?: pulumi.Input<string>;Connection cluster string.
property dbClusterId
dbClusterId?: pulumi.Input<string>;The Id of cluster that can run database.
property ipAddress
ipAddress?: pulumi.Input<string>;The ip address of connection string.
property port
port?: pulumi.Input<string>;Connection cluster port.
interface GetClustersArgs
interface GetClustersArgsA collection of arguments for invoking getClusters.
property descriptionRegex
descriptionRegex?: undefined | string;A regex string to filter results by cluster description.
property ids
ids?: string[];A list of ADB cluster IDs.
property outputFile
outputFile?: undefined | string;property tags
tags?: undefined | {[key: string]: any};A mapping of tags to assign to the resource. - Key: It can be up to 64 characters in length. It cannot begin with “aliyun”, “acs:“, “http://“, or “https://“. It cannot be a null string. - Value: It can be up to 128 characters in length. It cannot begin with “aliyun”, “acs:“, “http://“, or “https://“. It can be a null string.
interface GetClustersResult
interface GetClustersResultA collection of values returned by getClusters.
property clusters
clusters: GetClustersCluster[];A list of ADB clusters. Each element contains the following attributes:
property descriptionRegex
descriptionRegex?: undefined | string;property descriptions
descriptions: string[];A list of ADB cluster descriptions.
property id
id: string;The provider-assigned unique ID for this managed resource.
property ids
ids: string[];A list of ADB cluster IDs.
property outputFile
outputFile?: undefined | string;property tags
tags?: undefined | {[key: string]: any};interface GetZonesArgs
interface GetZonesArgsA collection of arguments for invoking getZones.
property multi
multi?: undefined | false | true;Indicate whether the zones can be used in a multi AZ configuration. Default to false. Multi AZ is usually used to launch ADB instances.
property outputFile
outputFile?: undefined | string;interface GetZonesResult
interface GetZonesResultA collection of values returned by getZones.
property id
id: string;The provider-assigned unique ID for this managed resource.
property ids
ids: string[];A list of zone IDs.
property multi
multi?: undefined | false | true;property outputFile
outputFile?: undefined | string;property zones
zones: GetZonesZone[];A list of availability zones. Each element contains the following attributes: