@volcengine/pulumi 0.0.27 → 0.0.29
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/alb/listener.d.ts +80 -22
- package/alb/listener.js +57 -19
- package/alb/listener.js.map +1 -1
- package/clb/clb.d.ts +8 -8
- package/clb/clb.js +0 -3
- package/clb/clb.js.map +1 -1
- package/cloud_firewall/cfwAddressBook.d.ts +128 -0
- package/cloud_firewall/cfwAddressBook.js +93 -0
- package/cloud_firewall/cfwAddressBook.js.map +1 -0
- package/cloud_firewall/cfwAddressBooks.d.ts +122 -0
- package/cloud_firewall/cfwAddressBooks.js +53 -0
- package/cloud_firewall/cfwAddressBooks.js.map +1 -0
- package/cloud_firewall/cfwControlPolicies.d.ts +176 -0
- package/cloud_firewall/cfwControlPolicies.js +56 -0
- package/cloud_firewall/cfwControlPolicies.js.map +1 -0
- package/cloud_firewall/cfwControlPolicy.d.ts +384 -0
- package/cloud_firewall/cfwControlPolicy.js +170 -0
- package/cloud_firewall/cfwControlPolicy.js.map +1 -0
- package/cloud_firewall/cfwControlPolicyPriority.d.ts +135 -0
- package/cloud_firewall/cfwControlPolicyPriority.js +116 -0
- package/cloud_firewall/cfwControlPolicyPriority.js.map +1 -0
- package/cloud_firewall/cfwDnsControlPolicies.d.ts +160 -0
- package/cloud_firewall/cfwDnsControlPolicies.js +80 -0
- package/cloud_firewall/cfwDnsControlPolicies.js.map +1 -0
- package/cloud_firewall/cfwDnsControlPolicy.d.ts +173 -0
- package/cloud_firewall/cfwDnsControlPolicy.js +107 -0
- package/cloud_firewall/cfwDnsControlPolicy.js.map +1 -0
- package/cloud_firewall/cfwNatFirewallControlPolicies.d.ts +200 -0
- package/cloud_firewall/cfwNatFirewallControlPolicies.js +58 -0
- package/cloud_firewall/cfwNatFirewallControlPolicies.js.map +1 -0
- package/cloud_firewall/cfwNatFirewallControlPolicy.d.ts +406 -0
- package/cloud_firewall/cfwNatFirewallControlPolicy.js +179 -0
- package/cloud_firewall/cfwNatFirewallControlPolicy.js.map +1 -0
- package/cloud_firewall/cfwNatFirewallControlPolicyPriority.d.ts +150 -0
- package/cloud_firewall/cfwNatFirewallControlPolicyPriority.js +124 -0
- package/cloud_firewall/cfwNatFirewallControlPolicyPriority.js.map +1 -0
- package/cloud_firewall/cfwVpcFirewallAclRule.d.ts +392 -0
- package/cloud_firewall/cfwVpcFirewallAclRule.js +172 -0
- package/cloud_firewall/cfwVpcFirewallAclRule.js.map +1 -0
- package/cloud_firewall/cfwVpcFirewallAclRulePriority.d.ts +135 -0
- package/cloud_firewall/cfwVpcFirewallAclRulePriority.js +116 -0
- package/cloud_firewall/cfwVpcFirewallAclRulePriority.js.map +1 -0
- package/cloud_firewall/cfwVpcFirewallAclRules.d.ts +182 -0
- package/cloud_firewall/cfwVpcFirewallAclRules.js +62 -0
- package/cloud_firewall/cfwVpcFirewallAclRules.js.map +1 -0
- package/cloud_firewall/index.d.ts +39 -0
- package/cloud_firewall/index.js +72 -0
- package/cloud_firewall/index.js.map +1 -0
- package/cloud_monitor/rule.d.ts +29 -11
- package/cloud_monitor/rule.js +10 -2
- package/cloud_monitor/rule.js.map +1 -1
- package/config/vars.d.ts +4 -0
- package/config/vars.js +6 -0
- package/config/vars.js.map +1 -1
- package/cr/endpoint.d.ts +10 -0
- package/cr/endpoint.js +2 -0
- package/cr/endpoint.js.map +1 -1
- package/cr/endpointAclPolicy.d.ts +116 -0
- package/cr/endpointAclPolicy.js +99 -0
- package/cr/endpointAclPolicy.js.map +1 -0
- package/cr/index.d.ts +3 -0
- package/cr/index.js +6 -1
- package/cr/index.js.map +1 -1
- package/cr/namespace.d.ts +20 -2
- package/cr/namespace.js +10 -2
- package/cr/namespace.js.map +1 -1
- package/cr/registries.d.ts +12 -0
- package/cr/registries.js +1 -0
- package/cr/registries.js.map +1 -1
- package/cr/registry.d.ts +21 -0
- package/cr/registry.js +5 -0
- package/cr/registry.js.map +1 -1
- package/dns/backup.d.ts +83 -0
- package/dns/backup.js +75 -0
- package/dns/backup.js.map +1 -0
- package/dns/backupSchedule.d.ts +90 -0
- package/dns/backupSchedule.js +81 -0
- package/dns/backupSchedule.js.map +1 -0
- package/dns/backups.d.ts +84 -0
- package/dns/backups.js +47 -0
- package/dns/backups.js.map +1 -0
- package/dns/index.d.ts +24 -0
- package/dns/index.js +49 -0
- package/dns/index.js.map +1 -0
- package/dns/record.d.ts +220 -0
- package/dns/record.js +115 -0
- package/dns/record.js.map +1 -0
- package/dns/recordSets.d.ts +122 -0
- package/dns/recordSets.js +58 -0
- package/dns/recordSets.js.map +1 -0
- package/dns/records.d.ts +150 -0
- package/dns/records.js +53 -0
- package/dns/records.js.map +1 -0
- package/dns/zone.d.ts +225 -0
- package/dns/zone.js +113 -0
- package/dns/zone.js.map +1 -0
- package/dns/zones.d.ts +169 -0
- package/dns/zones.js +61 -0
- package/dns/zones.js.map +1 -0
- package/ebs/volume.d.ts +27 -15
- package/ebs/volume.js +2 -0
- package/ebs/volume.js.map +1 -1
- package/ecs/instance.d.ts +30 -9
- package/ecs/instance.js +4 -5
- package/ecs/instance.js.map +1 -1
- package/escloud/instance.d.ts +1 -1
- package/escloud/instance.js +1 -1
- package/escloud/instances.d.ts +2 -2
- package/escloud/instances.js +2 -2
- package/escloud/regions.d.ts +2 -2
- package/escloud/regions.js +2 -2
- package/escloud/zones.d.ts +2 -2
- package/escloud/zones.js +2 -2
- package/escloud_v2/escloudInstanceV2.d.ts +496 -0
- package/escloud_v2/escloudInstanceV2.js +243 -0
- package/escloud_v2/escloudInstanceV2.js.map +1 -0
- package/escloud_v2/escloudInstancesV2.d.ts +53 -0
- package/escloud_v2/escloudInstancesV2.js +28 -0
- package/escloud_v2/escloudInstancesV2.js.map +1 -0
- package/escloud_v2/escloudIpWhiteList.d.ts +188 -0
- package/escloud_v2/escloudIpWhiteList.js +171 -0
- package/escloud_v2/escloudIpWhiteList.js.map +1 -0
- package/escloud_v2/index.d.ts +9 -0
- package/escloud_v2/index.js +30 -0
- package/escloud_v2/index.js.map +1 -0
- package/index.d.ts +6 -1
- package/index.js +11 -1
- package/index.js.map +1 -1
- package/mongodb/account.d.ts +188 -0
- package/mongodb/account.js +142 -0
- package/mongodb/account.js.map +1 -0
- package/mongodb/accounts.d.ts +16 -4
- package/mongodb/accounts.js +1 -0
- package/mongodb/accounts.js.map +1 -1
- package/mongodb/endpoint.d.ts +3 -3
- package/mongodb/index.d.ts +3 -0
- package/mongodb/index.js +6 -1
- package/mongodb/index.js.map +1 -1
- package/mongodb/instance.d.ts +117 -46
- package/mongodb/instance.js +40 -7
- package/mongodb/instance.js.map +1 -1
- package/mongodb/instanceParameter.d.ts +3 -3
- package/mongodb/instances.d.ts +12 -0
- package/mongodb/instances.js +1 -0
- package/mongodb/instances.js.map +1 -1
- package/mongodb/mongoAllowList.d.ts +43 -4
- package/mongodb/mongoAllowList.js +10 -1
- package/mongodb/mongoAllowList.js.map +1 -1
- package/mongodb/mongoAllowLists.d.ts +12 -0
- package/mongodb/mongoAllowLists.js +1 -0
- package/mongodb/mongoAllowLists.js.map +1 -1
- package/nas/mountPoints.d.ts +6 -3
- package/nas/mountPoints.js +1 -1
- package/nas/mountPoints.js.map +1 -1
- package/package.json +1 -1
- package/privatelink/vpcEndpoint.d.ts +20 -0
- package/privatelink/vpcEndpoint.js +4 -0
- package/privatelink/vpcEndpoint.js.map +1 -1
- package/provider.d.ts +8 -0
- package/provider.js +1 -0
- package/provider.js.map +1 -1
- package/rabbitmq/index.d.ts +15 -0
- package/rabbitmq/index.js +38 -0
- package/rabbitmq/index.js.map +1 -0
- package/rabbitmq/instance.d.ts +323 -0
- package/rabbitmq/instance.js +172 -0
- package/rabbitmq/instance.js.map +1 -0
- package/rabbitmq/instancePlugin.d.ts +173 -0
- package/rabbitmq/instancePlugin.js +128 -0
- package/rabbitmq/instancePlugin.js.map +1 -0
- package/rabbitmq/instancePlugins.d.ts +154 -0
- package/rabbitmq/instancePlugins.js +117 -0
- package/rabbitmq/instancePlugins.js.map +1 -0
- package/rabbitmq/instances.d.ts +251 -0
- package/rabbitmq/instances.js +126 -0
- package/rabbitmq/instances.js.map +1 -0
- package/rabbitmq/publicAddress.d.ts +124 -0
- package/rabbitmq/publicAddress.js +121 -0
- package/rabbitmq/publicAddress.js.map +1 -0
- package/rds_mysql/account.d.ts +15 -5
- package/rds_mysql/account.js +15 -5
- package/rds_mysql/account.js.map +1 -1
- package/rds_mysql/allowlist.d.ts +77 -8
- package/rds_mysql/allowlist.js +22 -7
- package/rds_mysql/allowlist.js.map +1 -1
- package/rds_mysql/backup.d.ts +128 -0
- package/rds_mysql/backup.js +85 -0
- package/rds_mysql/backup.js.map +1 -0
- package/rds_mysql/backupPolicy.d.ts +380 -0
- package/rds_mysql/backupPolicy.js +125 -0
- package/rds_mysql/backupPolicy.js.map +1 -0
- package/rds_mysql/backups.d.ts +178 -0
- package/rds_mysql/backups.js +68 -0
- package/rds_mysql/backups.js.map +1 -0
- package/rds_mysql/endpoint.d.ts +254 -0
- package/rds_mysql/endpoint.js +124 -0
- package/rds_mysql/endpoint.js.map +1 -0
- package/rds_mysql/endpointPublicAddress.d.ts +108 -0
- package/rds_mysql/endpointPublicAddress.js +88 -0
- package/rds_mysql/endpointPublicAddress.js.map +1 -0
- package/rds_mysql/endpoints.d.ts +75 -0
- package/rds_mysql/endpoints.js +46 -0
- package/rds_mysql/endpoints.js.map +1 -0
- package/rds_mysql/index.d.ts +33 -0
- package/rds_mysql/index.js +44 -1
- package/rds_mysql/index.js.map +1 -1
- package/rds_mysql/instance.d.ts +107 -5
- package/rds_mysql/instance.js +21 -3
- package/rds_mysql/instance.js.map +1 -1
- package/rds_mysql/instanceSpecs.d.ts +122 -0
- package/rds_mysql/instanceSpecs.js +52 -0
- package/rds_mysql/instanceSpecs.js.map +1 -0
- package/rds_mysql/parameterTemplate.d.ts +132 -0
- package/rds_mysql/parameterTemplate.js +97 -0
- package/rds_mysql/parameterTemplate.js.map +1 -0
- package/rds_mysql/parameterTemplates.d.ts +124 -0
- package/rds_mysql/parameterTemplates.js +52 -0
- package/rds_mysql/parameterTemplates.js.map +1 -0
- package/rds_mysql/regions.d.ts +62 -0
- package/rds_mysql/regions.js +42 -0
- package/rds_mysql/regions.js.map +1 -0
- package/rds_mysql/zones.d.ts +62 -0
- package/rds_mysql/zones.js +42 -0
- package/rds_mysql/zones.js.map +1 -0
- package/redis/instance.d.ts +4 -4
- package/redis/instance.js +4 -4
- package/rocketmq/accessKeys.d.ts +90 -0
- package/rocketmq/accessKeys.js +47 -0
- package/rocketmq/accessKeys.js.map +1 -0
- package/rocketmq/allowLists.d.ts +62 -0
- package/rocketmq/allowLists.js +42 -0
- package/rocketmq/allowLists.js.map +1 -0
- package/rocketmq/groups.d.ts +99 -0
- package/rocketmq/groups.js +48 -0
- package/rocketmq/groups.js.map +1 -0
- package/rocketmq/index.d.ts +36 -0
- package/rocketmq/index.js +67 -0
- package/rocketmq/index.js.map +1 -0
- package/rocketmq/instances.d.ts +193 -0
- package/rocketmq/instances.js +57 -0
- package/rocketmq/instances.js.map +1 -0
- package/rocketmq/rocketMQAccessKey.d.ts +176 -0
- package/rocketmq/rocketMQAccessKey.js +130 -0
- package/rocketmq/rocketMQAccessKey.js.map +1 -0
- package/rocketmq/rocketMQAllowList.d.ts +132 -0
- package/rocketmq/rocketMQAllowList.js +93 -0
- package/rocketmq/rocketMQAllowList.js.map +1 -0
- package/rocketmq/rocketMQAllowListAssociate.d.ts +121 -0
- package/rocketmq/rocketMQAllowListAssociate.js +118 -0
- package/rocketmq/rocketMQAllowListAssociate.js.map +1 -0
- package/rocketmq/rocketMQGroup.d.ts +190 -0
- package/rocketmq/rocketMQGroup.js +129 -0
- package/rocketmq/rocketMQGroup.js.map +1 -0
- package/rocketmq/rocketMQInstance.d.ts +351 -0
- package/rocketmq/rocketMQInstance.js +171 -0
- package/rocketmq/rocketMQInstance.js.map +1 -0
- package/rocketmq/rocketMQPublicAddress.d.ts +133 -0
- package/rocketmq/rocketMQPublicAddress.js +120 -0
- package/rocketmq/rocketMQPublicAddress.js.map +1 -0
- package/rocketmq/rocketMQTopic.d.ts +191 -0
- package/rocketmq/rocketMQTopic.js +140 -0
- package/rocketmq/rocketMQTopic.js.map +1 -0
- package/rocketmq/topics.d.ts +121 -0
- package/rocketmq/topics.js +49 -0
- package/rocketmq/topics.js.map +1 -0
- package/tos/bucket.d.ts +27 -1
- package/tos/bucket.js +7 -1
- package/tos/bucket.js.map +1 -1
- package/tos/bucketInventories.d.ts +156 -0
- package/tos/bucketInventories.js +108 -0
- package/tos/bucketInventories.js.map +1 -0
- package/tos/bucketInventory.d.ts +180 -0
- package/tos/bucketInventory.js +127 -0
- package/tos/bucketInventory.js.map +1 -0
- package/tos/bucketObject.d.ts +11 -3
- package/tos/bucketObject.js +2 -0
- package/tos/bucketObject.js.map +1 -1
- package/tos/bucketRealtimeLog.d.ts +100 -0
- package/tos/bucketRealtimeLog.js +88 -0
- package/tos/bucketRealtimeLog.js.map +1 -0
- package/tos/index.d.ts +9 -0
- package/tos/index.js +14 -1
- package/tos/index.js.map +1 -1
- package/types/input.d.ts +679 -8
- package/types/output.d.ts +8847 -5411
- package/vke/cluster.d.ts +13 -0
- package/vke/cluster.js +3 -0
- package/vke/cluster.js.map +1 -1
- package/vke/clusters.d.ts +12 -0
- package/vke/clusters.js +1 -0
- package/vke/clusters.js.map +1 -1
- package/vke/kubeconfigs.d.ts +9 -0
- package/vke/kubeconfigs.js +1 -0
- package/vke/kubeconfigs.js.map +1 -1
- package/vke/nodePool.d.ts +7 -4
- package/vke/nodePool.js +7 -4
- package/vke/nodePool.js.map +1 -1
- package/vpc/haVip.d.ts +18 -1
- package/vpc/haVip.js +6 -1
- package/vpc/haVip.js.map +1 -1
- package/vpc/haVips.d.ts +13 -0
- package/vpc/haVips.js +1 -0
- package/vpc/haVips.js.map +1 -1
- package/vpc/routeTable.d.ts +28 -5
- package/vpc/routeTable.js +16 -5
- package/vpc/routeTable.js.map +1 -1
- package/vpc/routeTables.d.ts +13 -0
- package/vpc/routeTables.js +1 -0
- package/vpc/routeTables.js.map +1 -1
- package/vpc/vpc.d.ts +2 -2
- package/vpc/vpc.js +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"allowlist.js","sourceRoot":"","sources":["../../rds_mysql/allowlist.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;
|
|
1
|
+
{"version":3,"file":"allowlist.js","sourceRoot":"","sources":["../../rds_mysql/allowlist.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoCG;AACH,MAAa,SAAU,SAAQ,MAAM,CAAC,cAAc;IAChD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAsB,EAAE,IAAmC;QACpH,OAAO,IAAI,SAAS,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAChE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,SAAS,CAAC,YAAY,CAAC;IAC1D,CAAC;IAkDD,YAAY,IAAY,EAAE,WAA4C,EAAE,IAAmC;QACvG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAyC,CAAC;YACxD,cAAc,CAAC,mBAAmB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,iBAAiB,CAAC,CAAC,CAAC,SAAS,CAAC;YAClF,cAAc,CAAC,eAAe,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1E,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,eAAe,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1E,cAAc,CAAC,eAAe,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1E,cAAc,CAAC,YAAY,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,cAAc,CAAC,wBAAwB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,sBAAsB,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5F,cAAc,CAAC,kBAAkB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,gBAAgB,CAAC,CAAC,CAAC,SAAS,CAAC;YAChF,cAAc,CAAC,gBAAgB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,cAAc,CAAC,CAAC,CAAC,SAAS,CAAC;SAC/E;aAAM;YACH,MAAM,IAAI,GAAG,WAAwC,CAAC;YACtD,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,aAAa,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC1D,MAAM,IAAI,KAAK,CAAC,2CAA2C,CAAC,CAAC;aAChE;YACD,cAAc,CAAC,mBAAmB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC,CAAC,SAAS,CAAC;YAChF,cAAc,CAAC,eAAe,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC;YACxE,cAAc,CAAC,eAAe,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC;YACxE,cAAc,CAAC,eAAe,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC;YACxE,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,wBAAwB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,sBAAsB,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1F,cAAc,CAAC,kBAAkB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9E,cAAc,CAAC,gBAAgB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1E,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACrD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,SAAS,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC9D,CAAC;;AA3GL,8BA4GC;AA9FG,gBAAgB;AACO,sBAAY,GAAG,0CAA0C,CAAC"}
|
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../types/input";
|
|
3
|
+
import * as outputs from "../types/output";
|
|
4
|
+
/**
|
|
5
|
+
* Provides a resource to manage rds mysql backup
|
|
6
|
+
* ## Example Usage
|
|
7
|
+
*
|
|
8
|
+
* ```typescript
|
|
9
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
10
|
+
* import * as volcengine from "@volcengine/pulumi";
|
|
11
|
+
*
|
|
12
|
+
* const foo = new volcengine.rds_mysql.Backup("foo", {
|
|
13
|
+
* backupMetas: [{
|
|
14
|
+
* dbName: "order",
|
|
15
|
+
* }],
|
|
16
|
+
* backupMethod: "Logical",
|
|
17
|
+
* instanceId: "mysql-c8c3f45c4b07",
|
|
18
|
+
* });
|
|
19
|
+
* ```
|
|
20
|
+
*
|
|
21
|
+
* ## Import
|
|
22
|
+
*
|
|
23
|
+
* RdsMysqlBackup can be imported using the id, e.g.
|
|
24
|
+
*
|
|
25
|
+
* ```sh
|
|
26
|
+
* $ pulumi import volcengine:rds_mysql/backup:Backup default instanceId:backupId
|
|
27
|
+
* ```
|
|
28
|
+
*/
|
|
29
|
+
export declare class Backup extends pulumi.CustomResource {
|
|
30
|
+
/**
|
|
31
|
+
* Get an existing Backup resource's state with the given name, ID, and optional extra
|
|
32
|
+
* properties used to qualify the lookup.
|
|
33
|
+
*
|
|
34
|
+
* @param name The _unique_ name of the resulting resource.
|
|
35
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
36
|
+
* @param state Any extra arguments used during the lookup.
|
|
37
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
38
|
+
*/
|
|
39
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: BackupState, opts?: pulumi.CustomResourceOptions): Backup;
|
|
40
|
+
/**
|
|
41
|
+
* Returns true if the given object is an instance of Backup. This is designed to work even
|
|
42
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
43
|
+
*/
|
|
44
|
+
static isInstance(obj: any): obj is Backup;
|
|
45
|
+
/**
|
|
46
|
+
* The id of the backup.
|
|
47
|
+
*/
|
|
48
|
+
readonly backupId: pulumi.Output<string>;
|
|
49
|
+
/**
|
|
50
|
+
* When creating a library table backup of logical backup type, it is used to specify the library table information to be backed up.
|
|
51
|
+
* Prerequisite: When the value of BackupMethod is Logical, and the BackupType field is not passed.
|
|
52
|
+
* Mutual exclusion situation: When the value of the BackupType field is DumpAll, this field is not effective.
|
|
53
|
+
* Quantity limit: When creating a specified library table backup, the upper limit of the number of libraries is 5000, and the upper limit of the number of tables in each library is 5000.
|
|
54
|
+
*/
|
|
55
|
+
readonly backupMetas: pulumi.Output<outputs.rds_mysql.BackupBackupMeta[] | undefined>;
|
|
56
|
+
/**
|
|
57
|
+
* Backup method. Value range: Full, full backup under physical backup type. Default value. DumpAll: full database backup under logical backup type. Prerequisite: If you need to create a full database backup of logical backup type, that is, when the value of BackupType is DumpAll, the backup type should be set to logical backup, that is, the value of BackupMethod should be Logical. If you need to create a database table backup of logical backup type, you do not need to pass in this field. You only need to specify the database and table to be backed up in the BackupMeta field.
|
|
58
|
+
*/
|
|
59
|
+
readonly backupMethod: pulumi.Output<string>;
|
|
60
|
+
/**
|
|
61
|
+
* Backup type. Currently, only full backup is supported. The value is Full.
|
|
62
|
+
*/
|
|
63
|
+
readonly backupType: pulumi.Output<string>;
|
|
64
|
+
/**
|
|
65
|
+
* The id of the instance.
|
|
66
|
+
*/
|
|
67
|
+
readonly instanceId: pulumi.Output<string>;
|
|
68
|
+
/**
|
|
69
|
+
* Create a Backup resource with the given unique name, arguments, and options.
|
|
70
|
+
*
|
|
71
|
+
* @param name The _unique_ name of the resource.
|
|
72
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
73
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
74
|
+
*/
|
|
75
|
+
constructor(name: string, args: BackupArgs, opts?: pulumi.CustomResourceOptions);
|
|
76
|
+
}
|
|
77
|
+
/**
|
|
78
|
+
* Input properties used for looking up and filtering Backup resources.
|
|
79
|
+
*/
|
|
80
|
+
export interface BackupState {
|
|
81
|
+
/**
|
|
82
|
+
* The id of the backup.
|
|
83
|
+
*/
|
|
84
|
+
backupId?: pulumi.Input<string>;
|
|
85
|
+
/**
|
|
86
|
+
* When creating a library table backup of logical backup type, it is used to specify the library table information to be backed up.
|
|
87
|
+
* Prerequisite: When the value of BackupMethod is Logical, and the BackupType field is not passed.
|
|
88
|
+
* Mutual exclusion situation: When the value of the BackupType field is DumpAll, this field is not effective.
|
|
89
|
+
* Quantity limit: When creating a specified library table backup, the upper limit of the number of libraries is 5000, and the upper limit of the number of tables in each library is 5000.
|
|
90
|
+
*/
|
|
91
|
+
backupMetas?: pulumi.Input<pulumi.Input<inputs.rds_mysql.BackupBackupMeta>[]>;
|
|
92
|
+
/**
|
|
93
|
+
* Backup method. Value range: Full, full backup under physical backup type. Default value. DumpAll: full database backup under logical backup type. Prerequisite: If you need to create a full database backup of logical backup type, that is, when the value of BackupType is DumpAll, the backup type should be set to logical backup, that is, the value of BackupMethod should be Logical. If you need to create a database table backup of logical backup type, you do not need to pass in this field. You only need to specify the database and table to be backed up in the BackupMeta field.
|
|
94
|
+
*/
|
|
95
|
+
backupMethod?: pulumi.Input<string>;
|
|
96
|
+
/**
|
|
97
|
+
* Backup type. Currently, only full backup is supported. The value is Full.
|
|
98
|
+
*/
|
|
99
|
+
backupType?: pulumi.Input<string>;
|
|
100
|
+
/**
|
|
101
|
+
* The id of the instance.
|
|
102
|
+
*/
|
|
103
|
+
instanceId?: pulumi.Input<string>;
|
|
104
|
+
}
|
|
105
|
+
/**
|
|
106
|
+
* The set of arguments for constructing a Backup resource.
|
|
107
|
+
*/
|
|
108
|
+
export interface BackupArgs {
|
|
109
|
+
/**
|
|
110
|
+
* When creating a library table backup of logical backup type, it is used to specify the library table information to be backed up.
|
|
111
|
+
* Prerequisite: When the value of BackupMethod is Logical, and the BackupType field is not passed.
|
|
112
|
+
* Mutual exclusion situation: When the value of the BackupType field is DumpAll, this field is not effective.
|
|
113
|
+
* Quantity limit: When creating a specified library table backup, the upper limit of the number of libraries is 5000, and the upper limit of the number of tables in each library is 5000.
|
|
114
|
+
*/
|
|
115
|
+
backupMetas?: pulumi.Input<pulumi.Input<inputs.rds_mysql.BackupBackupMeta>[]>;
|
|
116
|
+
/**
|
|
117
|
+
* Backup method. Value range: Full, full backup under physical backup type. Default value. DumpAll: full database backup under logical backup type. Prerequisite: If you need to create a full database backup of logical backup type, that is, when the value of BackupType is DumpAll, the backup type should be set to logical backup, that is, the value of BackupMethod should be Logical. If you need to create a database table backup of logical backup type, you do not need to pass in this field. You only need to specify the database and table to be backed up in the BackupMeta field.
|
|
118
|
+
*/
|
|
119
|
+
backupMethod?: pulumi.Input<string>;
|
|
120
|
+
/**
|
|
121
|
+
* Backup type. Currently, only full backup is supported. The value is Full.
|
|
122
|
+
*/
|
|
123
|
+
backupType?: pulumi.Input<string>;
|
|
124
|
+
/**
|
|
125
|
+
* The id of the instance.
|
|
126
|
+
*/
|
|
127
|
+
instanceId: pulumi.Input<string>;
|
|
128
|
+
}
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.Backup = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Provides a resource to manage rds mysql backup
|
|
10
|
+
* ## Example Usage
|
|
11
|
+
*
|
|
12
|
+
* ```typescript
|
|
13
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
14
|
+
* import * as volcengine from "@volcengine/pulumi";
|
|
15
|
+
*
|
|
16
|
+
* const foo = new volcengine.rds_mysql.Backup("foo", {
|
|
17
|
+
* backupMetas: [{
|
|
18
|
+
* dbName: "order",
|
|
19
|
+
* }],
|
|
20
|
+
* backupMethod: "Logical",
|
|
21
|
+
* instanceId: "mysql-c8c3f45c4b07",
|
|
22
|
+
* });
|
|
23
|
+
* ```
|
|
24
|
+
*
|
|
25
|
+
* ## Import
|
|
26
|
+
*
|
|
27
|
+
* RdsMysqlBackup can be imported using the id, e.g.
|
|
28
|
+
*
|
|
29
|
+
* ```sh
|
|
30
|
+
* $ pulumi import volcengine:rds_mysql/backup:Backup default instanceId:backupId
|
|
31
|
+
* ```
|
|
32
|
+
*/
|
|
33
|
+
class Backup extends pulumi.CustomResource {
|
|
34
|
+
/**
|
|
35
|
+
* Get an existing Backup resource's state with the given name, ID, and optional extra
|
|
36
|
+
* properties used to qualify the lookup.
|
|
37
|
+
*
|
|
38
|
+
* @param name The _unique_ name of the resulting resource.
|
|
39
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
40
|
+
* @param state Any extra arguments used during the lookup.
|
|
41
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
42
|
+
*/
|
|
43
|
+
static get(name, id, state, opts) {
|
|
44
|
+
return new Backup(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* Returns true if the given object is an instance of Backup. This is designed to work even
|
|
48
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
49
|
+
*/
|
|
50
|
+
static isInstance(obj) {
|
|
51
|
+
if (obj === undefined || obj === null) {
|
|
52
|
+
return false;
|
|
53
|
+
}
|
|
54
|
+
return obj['__pulumiType'] === Backup.__pulumiType;
|
|
55
|
+
}
|
|
56
|
+
constructor(name, argsOrState, opts) {
|
|
57
|
+
let resourceInputs = {};
|
|
58
|
+
opts = opts || {};
|
|
59
|
+
if (opts.id) {
|
|
60
|
+
const state = argsOrState;
|
|
61
|
+
resourceInputs["backupId"] = state ? state.backupId : undefined;
|
|
62
|
+
resourceInputs["backupMetas"] = state ? state.backupMetas : undefined;
|
|
63
|
+
resourceInputs["backupMethod"] = state ? state.backupMethod : undefined;
|
|
64
|
+
resourceInputs["backupType"] = state ? state.backupType : undefined;
|
|
65
|
+
resourceInputs["instanceId"] = state ? state.instanceId : undefined;
|
|
66
|
+
}
|
|
67
|
+
else {
|
|
68
|
+
const args = argsOrState;
|
|
69
|
+
if ((!args || args.instanceId === undefined) && !opts.urn) {
|
|
70
|
+
throw new Error("Missing required property 'instanceId'");
|
|
71
|
+
}
|
|
72
|
+
resourceInputs["backupMetas"] = args ? args.backupMetas : undefined;
|
|
73
|
+
resourceInputs["backupMethod"] = args ? args.backupMethod : undefined;
|
|
74
|
+
resourceInputs["backupType"] = args ? args.backupType : undefined;
|
|
75
|
+
resourceInputs["instanceId"] = args ? args.instanceId : undefined;
|
|
76
|
+
resourceInputs["backupId"] = undefined /*out*/;
|
|
77
|
+
}
|
|
78
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
79
|
+
super(Backup.__pulumiType, name, resourceInputs, opts);
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
exports.Backup = Backup;
|
|
83
|
+
/** @internal */
|
|
84
|
+
Backup.__pulumiType = 'volcengine:rds_mysql/backup:Backup';
|
|
85
|
+
//# sourceMappingURL=backup.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"backup.js","sourceRoot":"","sources":["../../rds_mysql/backup.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,MAAa,MAAO,SAAQ,MAAM,CAAC,cAAc;IAC7C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAmB,EAAE,IAAmC;QACjH,OAAO,IAAI,MAAM,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC7D,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,MAAM,CAAC,YAAY,CAAC;IACvD,CAAC;IAkCD,YAAY,IAAY,EAAE,WAAsC,EAAE,IAAmC;QACjG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAsC,CAAC;YACrD,cAAc,CAAC,UAAU,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,cAAc,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;YACxE,cAAc,CAAC,YAAY,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,cAAc,CAAC,YAAY,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;SACvE;aAAM;YACH,MAAM,IAAI,GAAG,WAAqC,CAAC;YACnD,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,UAAU,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACvD,MAAM,IAAI,KAAK,CAAC,wCAAwC,CAAC,CAAC;aAC7D;YACD,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAClD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,MAAM,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC3D,CAAC;;AAnFL,wBAoFC;AAtEG,gBAAgB;AACO,mBAAY,GAAG,oCAAoC,CAAC"}
|
|
@@ -0,0 +1,380 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Provides a resource to manage rds mysql backup policy
|
|
4
|
+
* ## Example Usage
|
|
5
|
+
*
|
|
6
|
+
* ```typescript
|
|
7
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
8
|
+
* import * as volcengine from "@volcengine/pulumi";
|
|
9
|
+
*
|
|
10
|
+
* const foo = new volcengine.rds_mysql.BackupPolicy("foo", {
|
|
11
|
+
* binlogFileCountsEnable: true,
|
|
12
|
+
* binlogSpaceLimitEnable: true,
|
|
13
|
+
* dataFullBackupPeriods: [
|
|
14
|
+
* "Monday",
|
|
15
|
+
* "Sunday",
|
|
16
|
+
* ],
|
|
17
|
+
* instanceId: "mysql-c8c3f45c4b07",
|
|
18
|
+
* lockDdlTime: 80,
|
|
19
|
+
* });
|
|
20
|
+
* ```
|
|
21
|
+
*
|
|
22
|
+
* ## Import
|
|
23
|
+
*
|
|
24
|
+
* RdsMysqlBackupPolicy can be imported using the id, e.g.
|
|
25
|
+
*
|
|
26
|
+
* ```sh
|
|
27
|
+
* $ pulumi import volcengine:rds_mysql/backupPolicy:BackupPolicy default instanceId:backupPolicy
|
|
28
|
+
* ```
|
|
29
|
+
* Warning:The resource cannot be deleted, and the destroy operation will not perform any actions.
|
|
30
|
+
*/
|
|
31
|
+
export declare class BackupPolicy extends pulumi.CustomResource {
|
|
32
|
+
/**
|
|
33
|
+
* Get an existing BackupPolicy resource's state with the given name, ID, and optional extra
|
|
34
|
+
* properties used to qualify the lookup.
|
|
35
|
+
*
|
|
36
|
+
* @param name The _unique_ name of the resulting resource.
|
|
37
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
38
|
+
* @param state Any extra arguments used during the lookup.
|
|
39
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
40
|
+
*/
|
|
41
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: BackupPolicyState, opts?: pulumi.CustomResourceOptions): BackupPolicy;
|
|
42
|
+
/**
|
|
43
|
+
* Returns true if the given object is an instance of BackupPolicy. This is designed to work even
|
|
44
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
45
|
+
*/
|
|
46
|
+
static isInstance(obj: any): obj is BackupPolicy;
|
|
47
|
+
/**
|
|
48
|
+
* Whether to retain all log backups before releasing an instance. Values:
|
|
49
|
+
* true: Yes.
|
|
50
|
+
* false: No. Description: BinlogBackupAllRetention is ineffective when the value of RetentionPolicySynced is true.
|
|
51
|
+
*/
|
|
52
|
+
readonly binlogBackupAllRetention: pulumi.Output<boolean>;
|
|
53
|
+
/**
|
|
54
|
+
* Whether to enable log backup function. Values:
|
|
55
|
+
* true: Yes.
|
|
56
|
+
* false: No.
|
|
57
|
+
*/
|
|
58
|
+
readonly binlogBackupEnabled: pulumi.Output<boolean>;
|
|
59
|
+
/**
|
|
60
|
+
* Is encryption enabled for log backups? Values:
|
|
61
|
+
* true: Yes.
|
|
62
|
+
* false: No.
|
|
63
|
+
*/
|
|
64
|
+
readonly binlogBackupEncryptionEnabled: pulumi.Output<boolean>;
|
|
65
|
+
/**
|
|
66
|
+
* Whether to enable the upper limit of local Binlog retention. Values: true: Enabled. false: Disabled. Description:When modifying the log backup policy, this parameter needs to be passed in.
|
|
67
|
+
*/
|
|
68
|
+
readonly binlogFileCountsEnable: pulumi.Output<boolean>;
|
|
69
|
+
/**
|
|
70
|
+
* Number of local Binlog retained, ranging from 6 to 1000, in units of pieces. Automatically delete local logs that exceed the retained number. Explanation: When modifying the log backup policy, this parameter needs to be passed in.
|
|
71
|
+
*/
|
|
72
|
+
readonly binlogLimitCount: pulumi.Output<number>;
|
|
73
|
+
/**
|
|
74
|
+
* Local Binlog retention duration, with a value ranging from 0 to 168, in hours. Local logs exceeding the retention duration will be automatically deleted. When set to 0, local logs will not be automatically deleted. Note: When modifying the log backup policy, this parameter needs to be passed.
|
|
75
|
+
*/
|
|
76
|
+
readonly binlogLocalRetentionHour: pulumi.Output<number>;
|
|
77
|
+
/**
|
|
78
|
+
* Whether to enable automatic cleanup of Binlog when space is too large. When the total storage space occupancy rate of the instance exceeds 80% or the remaining space is less than 5GB, the system will automatically start cleaning up the earliest local Binlog until the total space occupancy rate is lower than 80% and the remaining space is greater than 5GB. true: Enabled. false: Disabled. Description: This parameter needs to be passed in when modifying the log backup policy.
|
|
79
|
+
*/
|
|
80
|
+
readonly binlogSpaceLimitEnable: pulumi.Output<boolean>;
|
|
81
|
+
/**
|
|
82
|
+
* Maximum storage space usage rate can be set to 20% - 50%. After exceeding this limit, the earliest Binlog file will be automatically deleted until the space usage rate is lower than this ratio. Local Binlog space usage rate = Local Binlog size / Total available (purchased) instance space size. When modifying the log backup policy, this parameter needs to be passed in. Explanation: When modifying the log backup policy, this parameter needs to be passed in.
|
|
83
|
+
*/
|
|
84
|
+
readonly binlogStoragePercentage: pulumi.Output<number>;
|
|
85
|
+
/**
|
|
86
|
+
* Whether to retain all data backups before releasing the instance. Values:
|
|
87
|
+
* true: Yes.
|
|
88
|
+
* false: No.
|
|
89
|
+
*/
|
|
90
|
+
readonly dataBackupAllRetention: pulumi.Output<boolean>;
|
|
91
|
+
/**
|
|
92
|
+
* Whether to enable encryption for data backup. Values:
|
|
93
|
+
* true: Yes.
|
|
94
|
+
* false: No.
|
|
95
|
+
*/
|
|
96
|
+
readonly dataBackupEncryptionEnabled: pulumi.Output<boolean>;
|
|
97
|
+
/**
|
|
98
|
+
* Data backup retention days, value range: 7 to 365 days. Default retention is 7 days.
|
|
99
|
+
*/
|
|
100
|
+
readonly dataBackupRetentionDay: pulumi.Output<number>;
|
|
101
|
+
/**
|
|
102
|
+
* Full backup period. It is recommended to select at least 2 days for full backup every week. Multiple values are separated by English commas (,). Values: Monday. Tuesday. Wednesday. Thursday. Friday. Saturday. Sunday. When modifying the data backup policy, this parameter needs to be passed in.
|
|
103
|
+
*/
|
|
104
|
+
readonly dataFullBackupPeriods: pulumi.Output<string[] | undefined>;
|
|
105
|
+
/**
|
|
106
|
+
* The start point (UTC time) of the time window for starting the full backup task. The time window length is 1 hour. Explanation: Both DataFullBackupStartUTCHour and DataFullBackupTime can be used to indicate the full backup time period of an instance. DataFullBackupStartUTCHour has higher priority. If both fields are returned at the same time, DataFullBackupStartUTCHour shall prevail.
|
|
107
|
+
*/
|
|
108
|
+
readonly dataFullBackupStartUtcHour: pulumi.Output<number>;
|
|
109
|
+
/**
|
|
110
|
+
* Time window for executing backup tasks is one hour. Format: HH:mmZ-HH:mmZ (UTC time). Explanation: This parameter needs to be passed in when modifying the data backup policy.
|
|
111
|
+
*/
|
|
112
|
+
readonly dataFullBackupTime: pulumi.Output<string>;
|
|
113
|
+
/**
|
|
114
|
+
* Incremental backup period. Multiple values are separated by commas (,). Values: Monday. Tuesday. Wednesday. Thursday. Friday. Saturday. Sunday.Description: The incremental backup period cannot conflict with the full backup. When modifying the data backup policy, this parameter needs to be passed in.
|
|
115
|
+
*/
|
|
116
|
+
readonly dataIncrBackupPeriods: pulumi.Output<string[] | undefined>;
|
|
117
|
+
/**
|
|
118
|
+
* Backup retention days when an instance is released. Currently, only a value of 7 is supported.
|
|
119
|
+
*/
|
|
120
|
+
readonly dataKeepDaysAfterReleased: pulumi.Output<number>;
|
|
121
|
+
/**
|
|
122
|
+
* Policy for retaining a backup of an instance after it is released. The values are: Last: Keep the last backup. Default value. All: Keep all backups of the instance.
|
|
123
|
+
*/
|
|
124
|
+
readonly dataKeepPolicyAfterReleased: pulumi.Output<string>;
|
|
125
|
+
/**
|
|
126
|
+
* Whether to enable high-frequency backup function. Values:
|
|
127
|
+
* true: Yes.
|
|
128
|
+
* false: No.
|
|
129
|
+
*/
|
|
130
|
+
readonly hourlyIncrBackupEnable: pulumi.Output<boolean>;
|
|
131
|
+
/**
|
|
132
|
+
* Frequency of performing high-frequency incremental backups. Values: 2: Perform an incremental backup every 2 hours. 4: Perform an incremental backup every 4 hours. 6: Perform an incremental backup every 6 hours. 12: Perform an incremental backup every 12 hours. Description: This parameter takes effect only when HourlyIncrBackupEnable is set to true.
|
|
133
|
+
*/
|
|
134
|
+
readonly incrBackupHourPeriod: pulumi.Output<number>;
|
|
135
|
+
/**
|
|
136
|
+
* The ID of the RDS instance.
|
|
137
|
+
*/
|
|
138
|
+
readonly instanceId: pulumi.Output<string>;
|
|
139
|
+
/**
|
|
140
|
+
* Maximum waiting time for DDL. The default value is 30. The minimum value is 10. The maximum value is 1440. The unit is minutes. Description: Only instances of MySQL 8.0 version support this setting.
|
|
141
|
+
*/
|
|
142
|
+
readonly lockDdlTime: pulumi.Output<number>;
|
|
143
|
+
/**
|
|
144
|
+
* Binlog backup retention period. The value range is 7 to 365, in days. Explanation: When modifying the log backup policy, this parameter needs to be passed in.
|
|
145
|
+
*/
|
|
146
|
+
readonly logBackupRetentionDay: pulumi.Output<number>;
|
|
147
|
+
/**
|
|
148
|
+
* Is the retention policy for log backups the same as that for data backups?
|
|
149
|
+
* Explanation: When the value is true, LogBackupRetentionDay and BinlogBackupAllRetention are ignored.
|
|
150
|
+
*/
|
|
151
|
+
readonly retentionPolicySynced: pulumi.Output<boolean>;
|
|
152
|
+
/**
|
|
153
|
+
* Create a BackupPolicy resource with the given unique name, arguments, and options.
|
|
154
|
+
*
|
|
155
|
+
* @param name The _unique_ name of the resource.
|
|
156
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
157
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
158
|
+
*/
|
|
159
|
+
constructor(name: string, args: BackupPolicyArgs, opts?: pulumi.CustomResourceOptions);
|
|
160
|
+
}
|
|
161
|
+
/**
|
|
162
|
+
* Input properties used for looking up and filtering BackupPolicy resources.
|
|
163
|
+
*/
|
|
164
|
+
export interface BackupPolicyState {
|
|
165
|
+
/**
|
|
166
|
+
* Whether to retain all log backups before releasing an instance. Values:
|
|
167
|
+
* true: Yes.
|
|
168
|
+
* false: No. Description: BinlogBackupAllRetention is ineffective when the value of RetentionPolicySynced is true.
|
|
169
|
+
*/
|
|
170
|
+
binlogBackupAllRetention?: pulumi.Input<boolean>;
|
|
171
|
+
/**
|
|
172
|
+
* Whether to enable log backup function. Values:
|
|
173
|
+
* true: Yes.
|
|
174
|
+
* false: No.
|
|
175
|
+
*/
|
|
176
|
+
binlogBackupEnabled?: pulumi.Input<boolean>;
|
|
177
|
+
/**
|
|
178
|
+
* Is encryption enabled for log backups? Values:
|
|
179
|
+
* true: Yes.
|
|
180
|
+
* false: No.
|
|
181
|
+
*/
|
|
182
|
+
binlogBackupEncryptionEnabled?: pulumi.Input<boolean>;
|
|
183
|
+
/**
|
|
184
|
+
* Whether to enable the upper limit of local Binlog retention. Values: true: Enabled. false: Disabled. Description:When modifying the log backup policy, this parameter needs to be passed in.
|
|
185
|
+
*/
|
|
186
|
+
binlogFileCountsEnable?: pulumi.Input<boolean>;
|
|
187
|
+
/**
|
|
188
|
+
* Number of local Binlog retained, ranging from 6 to 1000, in units of pieces. Automatically delete local logs that exceed the retained number. Explanation: When modifying the log backup policy, this parameter needs to be passed in.
|
|
189
|
+
*/
|
|
190
|
+
binlogLimitCount?: pulumi.Input<number>;
|
|
191
|
+
/**
|
|
192
|
+
* Local Binlog retention duration, with a value ranging from 0 to 168, in hours. Local logs exceeding the retention duration will be automatically deleted. When set to 0, local logs will not be automatically deleted. Note: When modifying the log backup policy, this parameter needs to be passed.
|
|
193
|
+
*/
|
|
194
|
+
binlogLocalRetentionHour?: pulumi.Input<number>;
|
|
195
|
+
/**
|
|
196
|
+
* Whether to enable automatic cleanup of Binlog when space is too large. When the total storage space occupancy rate of the instance exceeds 80% or the remaining space is less than 5GB, the system will automatically start cleaning up the earliest local Binlog until the total space occupancy rate is lower than 80% and the remaining space is greater than 5GB. true: Enabled. false: Disabled. Description: This parameter needs to be passed in when modifying the log backup policy.
|
|
197
|
+
*/
|
|
198
|
+
binlogSpaceLimitEnable?: pulumi.Input<boolean>;
|
|
199
|
+
/**
|
|
200
|
+
* Maximum storage space usage rate can be set to 20% - 50%. After exceeding this limit, the earliest Binlog file will be automatically deleted until the space usage rate is lower than this ratio. Local Binlog space usage rate = Local Binlog size / Total available (purchased) instance space size. When modifying the log backup policy, this parameter needs to be passed in. Explanation: When modifying the log backup policy, this parameter needs to be passed in.
|
|
201
|
+
*/
|
|
202
|
+
binlogStoragePercentage?: pulumi.Input<number>;
|
|
203
|
+
/**
|
|
204
|
+
* Whether to retain all data backups before releasing the instance. Values:
|
|
205
|
+
* true: Yes.
|
|
206
|
+
* false: No.
|
|
207
|
+
*/
|
|
208
|
+
dataBackupAllRetention?: pulumi.Input<boolean>;
|
|
209
|
+
/**
|
|
210
|
+
* Whether to enable encryption for data backup. Values:
|
|
211
|
+
* true: Yes.
|
|
212
|
+
* false: No.
|
|
213
|
+
*/
|
|
214
|
+
dataBackupEncryptionEnabled?: pulumi.Input<boolean>;
|
|
215
|
+
/**
|
|
216
|
+
* Data backup retention days, value range: 7 to 365 days. Default retention is 7 days.
|
|
217
|
+
*/
|
|
218
|
+
dataBackupRetentionDay?: pulumi.Input<number>;
|
|
219
|
+
/**
|
|
220
|
+
* Full backup period. It is recommended to select at least 2 days for full backup every week. Multiple values are separated by English commas (,). Values: Monday. Tuesday. Wednesday. Thursday. Friday. Saturday. Sunday. When modifying the data backup policy, this parameter needs to be passed in.
|
|
221
|
+
*/
|
|
222
|
+
dataFullBackupPeriods?: pulumi.Input<pulumi.Input<string>[]>;
|
|
223
|
+
/**
|
|
224
|
+
* The start point (UTC time) of the time window for starting the full backup task. The time window length is 1 hour. Explanation: Both DataFullBackupStartUTCHour and DataFullBackupTime can be used to indicate the full backup time period of an instance. DataFullBackupStartUTCHour has higher priority. If both fields are returned at the same time, DataFullBackupStartUTCHour shall prevail.
|
|
225
|
+
*/
|
|
226
|
+
dataFullBackupStartUtcHour?: pulumi.Input<number>;
|
|
227
|
+
/**
|
|
228
|
+
* Time window for executing backup tasks is one hour. Format: HH:mmZ-HH:mmZ (UTC time). Explanation: This parameter needs to be passed in when modifying the data backup policy.
|
|
229
|
+
*/
|
|
230
|
+
dataFullBackupTime?: pulumi.Input<string>;
|
|
231
|
+
/**
|
|
232
|
+
* Incremental backup period. Multiple values are separated by commas (,). Values: Monday. Tuesday. Wednesday. Thursday. Friday. Saturday. Sunday.Description: The incremental backup period cannot conflict with the full backup. When modifying the data backup policy, this parameter needs to be passed in.
|
|
233
|
+
*/
|
|
234
|
+
dataIncrBackupPeriods?: pulumi.Input<pulumi.Input<string>[]>;
|
|
235
|
+
/**
|
|
236
|
+
* Backup retention days when an instance is released. Currently, only a value of 7 is supported.
|
|
237
|
+
*/
|
|
238
|
+
dataKeepDaysAfterReleased?: pulumi.Input<number>;
|
|
239
|
+
/**
|
|
240
|
+
* Policy for retaining a backup of an instance after it is released. The values are: Last: Keep the last backup. Default value. All: Keep all backups of the instance.
|
|
241
|
+
*/
|
|
242
|
+
dataKeepPolicyAfterReleased?: pulumi.Input<string>;
|
|
243
|
+
/**
|
|
244
|
+
* Whether to enable high-frequency backup function. Values:
|
|
245
|
+
* true: Yes.
|
|
246
|
+
* false: No.
|
|
247
|
+
*/
|
|
248
|
+
hourlyIncrBackupEnable?: pulumi.Input<boolean>;
|
|
249
|
+
/**
|
|
250
|
+
* Frequency of performing high-frequency incremental backups. Values: 2: Perform an incremental backup every 2 hours. 4: Perform an incremental backup every 4 hours. 6: Perform an incremental backup every 6 hours. 12: Perform an incremental backup every 12 hours. Description: This parameter takes effect only when HourlyIncrBackupEnable is set to true.
|
|
251
|
+
*/
|
|
252
|
+
incrBackupHourPeriod?: pulumi.Input<number>;
|
|
253
|
+
/**
|
|
254
|
+
* The ID of the RDS instance.
|
|
255
|
+
*/
|
|
256
|
+
instanceId?: pulumi.Input<string>;
|
|
257
|
+
/**
|
|
258
|
+
* Maximum waiting time for DDL. The default value is 30. The minimum value is 10. The maximum value is 1440. The unit is minutes. Description: Only instances of MySQL 8.0 version support this setting.
|
|
259
|
+
*/
|
|
260
|
+
lockDdlTime?: pulumi.Input<number>;
|
|
261
|
+
/**
|
|
262
|
+
* Binlog backup retention period. The value range is 7 to 365, in days. Explanation: When modifying the log backup policy, this parameter needs to be passed in.
|
|
263
|
+
*/
|
|
264
|
+
logBackupRetentionDay?: pulumi.Input<number>;
|
|
265
|
+
/**
|
|
266
|
+
* Is the retention policy for log backups the same as that for data backups?
|
|
267
|
+
* Explanation: When the value is true, LogBackupRetentionDay and BinlogBackupAllRetention are ignored.
|
|
268
|
+
*/
|
|
269
|
+
retentionPolicySynced?: pulumi.Input<boolean>;
|
|
270
|
+
}
|
|
271
|
+
/**
|
|
272
|
+
* The set of arguments for constructing a BackupPolicy resource.
|
|
273
|
+
*/
|
|
274
|
+
export interface BackupPolicyArgs {
|
|
275
|
+
/**
|
|
276
|
+
* Whether to retain all log backups before releasing an instance. Values:
|
|
277
|
+
* true: Yes.
|
|
278
|
+
* false: No. Description: BinlogBackupAllRetention is ineffective when the value of RetentionPolicySynced is true.
|
|
279
|
+
*/
|
|
280
|
+
binlogBackupAllRetention?: pulumi.Input<boolean>;
|
|
281
|
+
/**
|
|
282
|
+
* Whether to enable log backup function. Values:
|
|
283
|
+
* true: Yes.
|
|
284
|
+
* false: No.
|
|
285
|
+
*/
|
|
286
|
+
binlogBackupEnabled?: pulumi.Input<boolean>;
|
|
287
|
+
/**
|
|
288
|
+
* Is encryption enabled for log backups? Values:
|
|
289
|
+
* true: Yes.
|
|
290
|
+
* false: No.
|
|
291
|
+
*/
|
|
292
|
+
binlogBackupEncryptionEnabled?: pulumi.Input<boolean>;
|
|
293
|
+
/**
|
|
294
|
+
* Whether to enable the upper limit of local Binlog retention. Values: true: Enabled. false: Disabled. Description:When modifying the log backup policy, this parameter needs to be passed in.
|
|
295
|
+
*/
|
|
296
|
+
binlogFileCountsEnable?: pulumi.Input<boolean>;
|
|
297
|
+
/**
|
|
298
|
+
* Number of local Binlog retained, ranging from 6 to 1000, in units of pieces. Automatically delete local logs that exceed the retained number. Explanation: When modifying the log backup policy, this parameter needs to be passed in.
|
|
299
|
+
*/
|
|
300
|
+
binlogLimitCount?: pulumi.Input<number>;
|
|
301
|
+
/**
|
|
302
|
+
* Local Binlog retention duration, with a value ranging from 0 to 168, in hours. Local logs exceeding the retention duration will be automatically deleted. When set to 0, local logs will not be automatically deleted. Note: When modifying the log backup policy, this parameter needs to be passed.
|
|
303
|
+
*/
|
|
304
|
+
binlogLocalRetentionHour?: pulumi.Input<number>;
|
|
305
|
+
/**
|
|
306
|
+
* Whether to enable automatic cleanup of Binlog when space is too large. When the total storage space occupancy rate of the instance exceeds 80% or the remaining space is less than 5GB, the system will automatically start cleaning up the earliest local Binlog until the total space occupancy rate is lower than 80% and the remaining space is greater than 5GB. true: Enabled. false: Disabled. Description: This parameter needs to be passed in when modifying the log backup policy.
|
|
307
|
+
*/
|
|
308
|
+
binlogSpaceLimitEnable?: pulumi.Input<boolean>;
|
|
309
|
+
/**
|
|
310
|
+
* Maximum storage space usage rate can be set to 20% - 50%. After exceeding this limit, the earliest Binlog file will be automatically deleted until the space usage rate is lower than this ratio. Local Binlog space usage rate = Local Binlog size / Total available (purchased) instance space size. When modifying the log backup policy, this parameter needs to be passed in. Explanation: When modifying the log backup policy, this parameter needs to be passed in.
|
|
311
|
+
*/
|
|
312
|
+
binlogStoragePercentage?: pulumi.Input<number>;
|
|
313
|
+
/**
|
|
314
|
+
* Whether to retain all data backups before releasing the instance. Values:
|
|
315
|
+
* true: Yes.
|
|
316
|
+
* false: No.
|
|
317
|
+
*/
|
|
318
|
+
dataBackupAllRetention?: pulumi.Input<boolean>;
|
|
319
|
+
/**
|
|
320
|
+
* Whether to enable encryption for data backup. Values:
|
|
321
|
+
* true: Yes.
|
|
322
|
+
* false: No.
|
|
323
|
+
*/
|
|
324
|
+
dataBackupEncryptionEnabled?: pulumi.Input<boolean>;
|
|
325
|
+
/**
|
|
326
|
+
* Data backup retention days, value range: 7 to 365 days. Default retention is 7 days.
|
|
327
|
+
*/
|
|
328
|
+
dataBackupRetentionDay?: pulumi.Input<number>;
|
|
329
|
+
/**
|
|
330
|
+
* Full backup period. It is recommended to select at least 2 days for full backup every week. Multiple values are separated by English commas (,). Values: Monday. Tuesday. Wednesday. Thursday. Friday. Saturday. Sunday. When modifying the data backup policy, this parameter needs to be passed in.
|
|
331
|
+
*/
|
|
332
|
+
dataFullBackupPeriods?: pulumi.Input<pulumi.Input<string>[]>;
|
|
333
|
+
/**
|
|
334
|
+
* The start point (UTC time) of the time window for starting the full backup task. The time window length is 1 hour. Explanation: Both DataFullBackupStartUTCHour and DataFullBackupTime can be used to indicate the full backup time period of an instance. DataFullBackupStartUTCHour has higher priority. If both fields are returned at the same time, DataFullBackupStartUTCHour shall prevail.
|
|
335
|
+
*/
|
|
336
|
+
dataFullBackupStartUtcHour?: pulumi.Input<number>;
|
|
337
|
+
/**
|
|
338
|
+
* Time window for executing backup tasks is one hour. Format: HH:mmZ-HH:mmZ (UTC time). Explanation: This parameter needs to be passed in when modifying the data backup policy.
|
|
339
|
+
*/
|
|
340
|
+
dataFullBackupTime?: pulumi.Input<string>;
|
|
341
|
+
/**
|
|
342
|
+
* Incremental backup period. Multiple values are separated by commas (,). Values: Monday. Tuesday. Wednesday. Thursday. Friday. Saturday. Sunday.Description: The incremental backup period cannot conflict with the full backup. When modifying the data backup policy, this parameter needs to be passed in.
|
|
343
|
+
*/
|
|
344
|
+
dataIncrBackupPeriods?: pulumi.Input<pulumi.Input<string>[]>;
|
|
345
|
+
/**
|
|
346
|
+
* Backup retention days when an instance is released. Currently, only a value of 7 is supported.
|
|
347
|
+
*/
|
|
348
|
+
dataKeepDaysAfterReleased?: pulumi.Input<number>;
|
|
349
|
+
/**
|
|
350
|
+
* Policy for retaining a backup of an instance after it is released. The values are: Last: Keep the last backup. Default value. All: Keep all backups of the instance.
|
|
351
|
+
*/
|
|
352
|
+
dataKeepPolicyAfterReleased?: pulumi.Input<string>;
|
|
353
|
+
/**
|
|
354
|
+
* Whether to enable high-frequency backup function. Values:
|
|
355
|
+
* true: Yes.
|
|
356
|
+
* false: No.
|
|
357
|
+
*/
|
|
358
|
+
hourlyIncrBackupEnable?: pulumi.Input<boolean>;
|
|
359
|
+
/**
|
|
360
|
+
* Frequency of performing high-frequency incremental backups. Values: 2: Perform an incremental backup every 2 hours. 4: Perform an incremental backup every 4 hours. 6: Perform an incremental backup every 6 hours. 12: Perform an incremental backup every 12 hours. Description: This parameter takes effect only when HourlyIncrBackupEnable is set to true.
|
|
361
|
+
*/
|
|
362
|
+
incrBackupHourPeriod?: pulumi.Input<number>;
|
|
363
|
+
/**
|
|
364
|
+
* The ID of the RDS instance.
|
|
365
|
+
*/
|
|
366
|
+
instanceId: pulumi.Input<string>;
|
|
367
|
+
/**
|
|
368
|
+
* Maximum waiting time for DDL. The default value is 30. The minimum value is 10. The maximum value is 1440. The unit is minutes. Description: Only instances of MySQL 8.0 version support this setting.
|
|
369
|
+
*/
|
|
370
|
+
lockDdlTime?: pulumi.Input<number>;
|
|
371
|
+
/**
|
|
372
|
+
* Binlog backup retention period. The value range is 7 to 365, in days. Explanation: When modifying the log backup policy, this parameter needs to be passed in.
|
|
373
|
+
*/
|
|
374
|
+
logBackupRetentionDay?: pulumi.Input<number>;
|
|
375
|
+
/**
|
|
376
|
+
* Is the retention policy for log backups the same as that for data backups?
|
|
377
|
+
* Explanation: When the value is true, LogBackupRetentionDay and BinlogBackupAllRetention are ignored.
|
|
378
|
+
*/
|
|
379
|
+
retentionPolicySynced?: pulumi.Input<boolean>;
|
|
380
|
+
}
|