@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
package/dns/zone.d.ts
ADDED
|
@@ -0,0 +1,225 @@
|
|
|
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 dns zone
|
|
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.dns.Zone("foo", {
|
|
13
|
+
* projectName: "xxx",
|
|
14
|
+
* remark: "xxx",
|
|
15
|
+
* tags: [{
|
|
16
|
+
* key: "xx",
|
|
17
|
+
* value: "xx",
|
|
18
|
+
* }],
|
|
19
|
+
* zoneName: "xxxx.com",
|
|
20
|
+
* });
|
|
21
|
+
* ```
|
|
22
|
+
*
|
|
23
|
+
* ## Import
|
|
24
|
+
*
|
|
25
|
+
* Zone can be imported using the id, e.g.
|
|
26
|
+
*
|
|
27
|
+
* ```sh
|
|
28
|
+
* $ pulumi import volcengine:dns/zone:Zone default resource_id
|
|
29
|
+
* ```
|
|
30
|
+
*/
|
|
31
|
+
export declare class Zone extends pulumi.CustomResource {
|
|
32
|
+
/**
|
|
33
|
+
* Get an existing Zone 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?: ZoneState, opts?: pulumi.CustomResourceOptions): Zone;
|
|
42
|
+
/**
|
|
43
|
+
* Returns true if the given object is an instance of Zone. 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 Zone;
|
|
47
|
+
/**
|
|
48
|
+
* The list of DNS servers allocated to the domain by BytePlus DNS.
|
|
49
|
+
*/
|
|
50
|
+
readonly allocateDnsServerLists: pulumi.Output<string[]>;
|
|
51
|
+
/**
|
|
52
|
+
* Whether automatic domain renewal is enabled.
|
|
53
|
+
*/
|
|
54
|
+
readonly autoRenew: pulumi.Output<boolean>;
|
|
55
|
+
/**
|
|
56
|
+
* The version of DNS DDoS protection service.
|
|
57
|
+
*/
|
|
58
|
+
readonly dnsSecurity: pulumi.Output<string>;
|
|
59
|
+
/**
|
|
60
|
+
* The expiration time of the domain.
|
|
61
|
+
*/
|
|
62
|
+
readonly expiredTime: pulumi.Output<number>;
|
|
63
|
+
/**
|
|
64
|
+
* The ID of the instance. For free edition, the value of this field is null.
|
|
65
|
+
*/
|
|
66
|
+
readonly instanceNo: pulumi.Output<string>;
|
|
67
|
+
/**
|
|
68
|
+
* Indicates whether the configuration of NS servers is correct. If the configuration is correct, the status of the domain in BytePlus DNS is Active.
|
|
69
|
+
*/
|
|
70
|
+
readonly isNsCorrect: pulumi.Output<boolean>;
|
|
71
|
+
/**
|
|
72
|
+
* Whether the domain is a subdomain.
|
|
73
|
+
*/
|
|
74
|
+
readonly isSubDomain: pulumi.Output<boolean>;
|
|
75
|
+
/**
|
|
76
|
+
* The project to which the domain name belongs. The default value is default.
|
|
77
|
+
*/
|
|
78
|
+
readonly projectName: pulumi.Output<string>;
|
|
79
|
+
/**
|
|
80
|
+
* The list of DNS servers actually used by the domain.
|
|
81
|
+
*/
|
|
82
|
+
readonly realDnsServerLists: pulumi.Output<string[]>;
|
|
83
|
+
/**
|
|
84
|
+
* The total number of DNS records under the domain.
|
|
85
|
+
*/
|
|
86
|
+
readonly recordCount: pulumi.Output<number>;
|
|
87
|
+
/**
|
|
88
|
+
* The remark for the domain.
|
|
89
|
+
*/
|
|
90
|
+
readonly remark: pulumi.Output<string | undefined>;
|
|
91
|
+
/**
|
|
92
|
+
* The status of the domain.
|
|
93
|
+
*/
|
|
94
|
+
readonly stage: pulumi.Output<number>;
|
|
95
|
+
/**
|
|
96
|
+
* The domain prefix of the subdomain. If the domain is not a subdomain, this parameter is null.
|
|
97
|
+
*/
|
|
98
|
+
readonly subDomainHost: pulumi.Output<string>;
|
|
99
|
+
/**
|
|
100
|
+
* Tags.
|
|
101
|
+
*/
|
|
102
|
+
readonly tags: pulumi.Output<outputs.dns.ZoneTag[] | undefined>;
|
|
103
|
+
/**
|
|
104
|
+
* The edition of the domain.
|
|
105
|
+
*/
|
|
106
|
+
readonly tradeCode: pulumi.Output<string>;
|
|
107
|
+
/**
|
|
108
|
+
* The update time of the domain.
|
|
109
|
+
*/
|
|
110
|
+
readonly updatedAt: pulumi.Output<string>;
|
|
111
|
+
/**
|
|
112
|
+
* The ID of the domain.
|
|
113
|
+
*/
|
|
114
|
+
readonly zid: pulumi.Output<number>;
|
|
115
|
+
/**
|
|
116
|
+
* The domain to be created. The domain must be a second-level domain and cannot be a wildcard domain.
|
|
117
|
+
*/
|
|
118
|
+
readonly zoneName: pulumi.Output<string>;
|
|
119
|
+
/**
|
|
120
|
+
* Create a Zone resource with the given unique name, arguments, and options.
|
|
121
|
+
*
|
|
122
|
+
* @param name The _unique_ name of the resource.
|
|
123
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
124
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
125
|
+
*/
|
|
126
|
+
constructor(name: string, args: ZoneArgs, opts?: pulumi.CustomResourceOptions);
|
|
127
|
+
}
|
|
128
|
+
/**
|
|
129
|
+
* Input properties used for looking up and filtering Zone resources.
|
|
130
|
+
*/
|
|
131
|
+
export interface ZoneState {
|
|
132
|
+
/**
|
|
133
|
+
* The list of DNS servers allocated to the domain by BytePlus DNS.
|
|
134
|
+
*/
|
|
135
|
+
allocateDnsServerLists?: pulumi.Input<pulumi.Input<string>[]>;
|
|
136
|
+
/**
|
|
137
|
+
* Whether automatic domain renewal is enabled.
|
|
138
|
+
*/
|
|
139
|
+
autoRenew?: pulumi.Input<boolean>;
|
|
140
|
+
/**
|
|
141
|
+
* The version of DNS DDoS protection service.
|
|
142
|
+
*/
|
|
143
|
+
dnsSecurity?: pulumi.Input<string>;
|
|
144
|
+
/**
|
|
145
|
+
* The expiration time of the domain.
|
|
146
|
+
*/
|
|
147
|
+
expiredTime?: pulumi.Input<number>;
|
|
148
|
+
/**
|
|
149
|
+
* The ID of the instance. For free edition, the value of this field is null.
|
|
150
|
+
*/
|
|
151
|
+
instanceNo?: pulumi.Input<string>;
|
|
152
|
+
/**
|
|
153
|
+
* Indicates whether the configuration of NS servers is correct. If the configuration is correct, the status of the domain in BytePlus DNS is Active.
|
|
154
|
+
*/
|
|
155
|
+
isNsCorrect?: pulumi.Input<boolean>;
|
|
156
|
+
/**
|
|
157
|
+
* Whether the domain is a subdomain.
|
|
158
|
+
*/
|
|
159
|
+
isSubDomain?: pulumi.Input<boolean>;
|
|
160
|
+
/**
|
|
161
|
+
* The project to which the domain name belongs. The default value is default.
|
|
162
|
+
*/
|
|
163
|
+
projectName?: pulumi.Input<string>;
|
|
164
|
+
/**
|
|
165
|
+
* The list of DNS servers actually used by the domain.
|
|
166
|
+
*/
|
|
167
|
+
realDnsServerLists?: pulumi.Input<pulumi.Input<string>[]>;
|
|
168
|
+
/**
|
|
169
|
+
* The total number of DNS records under the domain.
|
|
170
|
+
*/
|
|
171
|
+
recordCount?: pulumi.Input<number>;
|
|
172
|
+
/**
|
|
173
|
+
* The remark for the domain.
|
|
174
|
+
*/
|
|
175
|
+
remark?: pulumi.Input<string>;
|
|
176
|
+
/**
|
|
177
|
+
* The status of the domain.
|
|
178
|
+
*/
|
|
179
|
+
stage?: pulumi.Input<number>;
|
|
180
|
+
/**
|
|
181
|
+
* The domain prefix of the subdomain. If the domain is not a subdomain, this parameter is null.
|
|
182
|
+
*/
|
|
183
|
+
subDomainHost?: pulumi.Input<string>;
|
|
184
|
+
/**
|
|
185
|
+
* Tags.
|
|
186
|
+
*/
|
|
187
|
+
tags?: pulumi.Input<pulumi.Input<inputs.dns.ZoneTag>[]>;
|
|
188
|
+
/**
|
|
189
|
+
* The edition of the domain.
|
|
190
|
+
*/
|
|
191
|
+
tradeCode?: pulumi.Input<string>;
|
|
192
|
+
/**
|
|
193
|
+
* The update time of the domain.
|
|
194
|
+
*/
|
|
195
|
+
updatedAt?: pulumi.Input<string>;
|
|
196
|
+
/**
|
|
197
|
+
* The ID of the domain.
|
|
198
|
+
*/
|
|
199
|
+
zid?: pulumi.Input<number>;
|
|
200
|
+
/**
|
|
201
|
+
* The domain to be created. The domain must be a second-level domain and cannot be a wildcard domain.
|
|
202
|
+
*/
|
|
203
|
+
zoneName?: pulumi.Input<string>;
|
|
204
|
+
}
|
|
205
|
+
/**
|
|
206
|
+
* The set of arguments for constructing a Zone resource.
|
|
207
|
+
*/
|
|
208
|
+
export interface ZoneArgs {
|
|
209
|
+
/**
|
|
210
|
+
* The project to which the domain name belongs. The default value is default.
|
|
211
|
+
*/
|
|
212
|
+
projectName?: pulumi.Input<string>;
|
|
213
|
+
/**
|
|
214
|
+
* The remark for the domain.
|
|
215
|
+
*/
|
|
216
|
+
remark?: pulumi.Input<string>;
|
|
217
|
+
/**
|
|
218
|
+
* Tags.
|
|
219
|
+
*/
|
|
220
|
+
tags?: pulumi.Input<pulumi.Input<inputs.dns.ZoneTag>[]>;
|
|
221
|
+
/**
|
|
222
|
+
* The domain to be created. The domain must be a second-level domain and cannot be a wildcard domain.
|
|
223
|
+
*/
|
|
224
|
+
zoneName: pulumi.Input<string>;
|
|
225
|
+
}
|
package/dns/zone.js
ADDED
|
@@ -0,0 +1,113 @@
|
|
|
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.Zone = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Provides a resource to manage dns zone
|
|
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.dns.Zone("foo", {
|
|
17
|
+
* projectName: "xxx",
|
|
18
|
+
* remark: "xxx",
|
|
19
|
+
* tags: [{
|
|
20
|
+
* key: "xx",
|
|
21
|
+
* value: "xx",
|
|
22
|
+
* }],
|
|
23
|
+
* zoneName: "xxxx.com",
|
|
24
|
+
* });
|
|
25
|
+
* ```
|
|
26
|
+
*
|
|
27
|
+
* ## Import
|
|
28
|
+
*
|
|
29
|
+
* Zone can be imported using the id, e.g.
|
|
30
|
+
*
|
|
31
|
+
* ```sh
|
|
32
|
+
* $ pulumi import volcengine:dns/zone:Zone default resource_id
|
|
33
|
+
* ```
|
|
34
|
+
*/
|
|
35
|
+
class Zone extends pulumi.CustomResource {
|
|
36
|
+
/**
|
|
37
|
+
* Get an existing Zone resource's state with the given name, ID, and optional extra
|
|
38
|
+
* properties used to qualify the lookup.
|
|
39
|
+
*
|
|
40
|
+
* @param name The _unique_ name of the resulting resource.
|
|
41
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
42
|
+
* @param state Any extra arguments used during the lookup.
|
|
43
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
44
|
+
*/
|
|
45
|
+
static get(name, id, state, opts) {
|
|
46
|
+
return new Zone(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* Returns true if the given object is an instance of Zone. This is designed to work even
|
|
50
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
51
|
+
*/
|
|
52
|
+
static isInstance(obj) {
|
|
53
|
+
if (obj === undefined || obj === null) {
|
|
54
|
+
return false;
|
|
55
|
+
}
|
|
56
|
+
return obj['__pulumiType'] === Zone.__pulumiType;
|
|
57
|
+
}
|
|
58
|
+
constructor(name, argsOrState, opts) {
|
|
59
|
+
let resourceInputs = {};
|
|
60
|
+
opts = opts || {};
|
|
61
|
+
if (opts.id) {
|
|
62
|
+
const state = argsOrState;
|
|
63
|
+
resourceInputs["allocateDnsServerLists"] = state ? state.allocateDnsServerLists : undefined;
|
|
64
|
+
resourceInputs["autoRenew"] = state ? state.autoRenew : undefined;
|
|
65
|
+
resourceInputs["dnsSecurity"] = state ? state.dnsSecurity : undefined;
|
|
66
|
+
resourceInputs["expiredTime"] = state ? state.expiredTime : undefined;
|
|
67
|
+
resourceInputs["instanceNo"] = state ? state.instanceNo : undefined;
|
|
68
|
+
resourceInputs["isNsCorrect"] = state ? state.isNsCorrect : undefined;
|
|
69
|
+
resourceInputs["isSubDomain"] = state ? state.isSubDomain : undefined;
|
|
70
|
+
resourceInputs["projectName"] = state ? state.projectName : undefined;
|
|
71
|
+
resourceInputs["realDnsServerLists"] = state ? state.realDnsServerLists : undefined;
|
|
72
|
+
resourceInputs["recordCount"] = state ? state.recordCount : undefined;
|
|
73
|
+
resourceInputs["remark"] = state ? state.remark : undefined;
|
|
74
|
+
resourceInputs["stage"] = state ? state.stage : undefined;
|
|
75
|
+
resourceInputs["subDomainHost"] = state ? state.subDomainHost : undefined;
|
|
76
|
+
resourceInputs["tags"] = state ? state.tags : undefined;
|
|
77
|
+
resourceInputs["tradeCode"] = state ? state.tradeCode : undefined;
|
|
78
|
+
resourceInputs["updatedAt"] = state ? state.updatedAt : undefined;
|
|
79
|
+
resourceInputs["zid"] = state ? state.zid : undefined;
|
|
80
|
+
resourceInputs["zoneName"] = state ? state.zoneName : undefined;
|
|
81
|
+
}
|
|
82
|
+
else {
|
|
83
|
+
const args = argsOrState;
|
|
84
|
+
if ((!args || args.zoneName === undefined) && !opts.urn) {
|
|
85
|
+
throw new Error("Missing required property 'zoneName'");
|
|
86
|
+
}
|
|
87
|
+
resourceInputs["projectName"] = args ? args.projectName : undefined;
|
|
88
|
+
resourceInputs["remark"] = args ? args.remark : undefined;
|
|
89
|
+
resourceInputs["tags"] = args ? args.tags : undefined;
|
|
90
|
+
resourceInputs["zoneName"] = args ? args.zoneName : undefined;
|
|
91
|
+
resourceInputs["allocateDnsServerLists"] = undefined /*out*/;
|
|
92
|
+
resourceInputs["autoRenew"] = undefined /*out*/;
|
|
93
|
+
resourceInputs["dnsSecurity"] = undefined /*out*/;
|
|
94
|
+
resourceInputs["expiredTime"] = undefined /*out*/;
|
|
95
|
+
resourceInputs["instanceNo"] = undefined /*out*/;
|
|
96
|
+
resourceInputs["isNsCorrect"] = undefined /*out*/;
|
|
97
|
+
resourceInputs["isSubDomain"] = undefined /*out*/;
|
|
98
|
+
resourceInputs["realDnsServerLists"] = undefined /*out*/;
|
|
99
|
+
resourceInputs["recordCount"] = undefined /*out*/;
|
|
100
|
+
resourceInputs["stage"] = undefined /*out*/;
|
|
101
|
+
resourceInputs["subDomainHost"] = undefined /*out*/;
|
|
102
|
+
resourceInputs["tradeCode"] = undefined /*out*/;
|
|
103
|
+
resourceInputs["updatedAt"] = undefined /*out*/;
|
|
104
|
+
resourceInputs["zid"] = undefined /*out*/;
|
|
105
|
+
}
|
|
106
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
107
|
+
super(Zone.__pulumiType, name, resourceInputs, opts);
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
exports.Zone = Zone;
|
|
111
|
+
/** @internal */
|
|
112
|
+
Zone.__pulumiType = 'volcengine:dns/zone:Zone';
|
|
113
|
+
//# sourceMappingURL=zone.js.map
|
package/d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cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAClD,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACjD,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAClD,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAClD,cAAc,CAAC,oBAAoB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACzD,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAClD,cAAc,CAAC,OAAO,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC5C,cAAc,CAAC,eAAe,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACpD,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,KAAK,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC7C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,IAAI,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACzD,CAAC;;AA9JL,oBA+JC;AAjJG,gBAAgB;AACO,iBAAY,GAAG,0BAA0B,CAAC"}
|
package/dns/zones.d.ts
ADDED
|
@@ -0,0 +1,169 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../types/input";
|
|
3
|
+
import * as outputs from "../types/output";
|
|
4
|
+
/**
|
|
5
|
+
* Use this data source to query detailed information of dns zones
|
|
6
|
+
* ## Example Usage
|
|
7
|
+
*
|
|
8
|
+
* ```typescript
|
|
9
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
10
|
+
* import * as volcengine from "@pulumi/volcengine";
|
|
11
|
+
*
|
|
12
|
+
* const foo = volcengine.dns.Zones({
|
|
13
|
+
* tags: [{
|
|
14
|
+
* key: "xx",
|
|
15
|
+
* values: ["xx"],
|
|
16
|
+
* }],
|
|
17
|
+
* });
|
|
18
|
+
* ```
|
|
19
|
+
*/
|
|
20
|
+
export declare function zones(args?: ZonesArgs, opts?: pulumi.InvokeOptions): Promise<ZonesResult>;
|
|
21
|
+
/**
|
|
22
|
+
* A collection of arguments for invoking Zones.
|
|
23
|
+
*/
|
|
24
|
+
export interface ZonesArgs {
|
|
25
|
+
/**
|
|
26
|
+
* The keyword included in domains.
|
|
27
|
+
*/
|
|
28
|
+
key?: string;
|
|
29
|
+
/**
|
|
30
|
+
* A Name Regex of Resource.
|
|
31
|
+
*/
|
|
32
|
+
nameRegex?: string;
|
|
33
|
+
/**
|
|
34
|
+
* The key for sorting the results.
|
|
35
|
+
*/
|
|
36
|
+
orderKey?: string;
|
|
37
|
+
/**
|
|
38
|
+
* File name where to save data source results.
|
|
39
|
+
*/
|
|
40
|
+
outputFile?: string;
|
|
41
|
+
/**
|
|
42
|
+
* The ProjectName of the domain.
|
|
43
|
+
*/
|
|
44
|
+
projectName?: string;
|
|
45
|
+
/**
|
|
46
|
+
* The matching mode for the Key parameter.
|
|
47
|
+
*/
|
|
48
|
+
searchMode?: string;
|
|
49
|
+
/**
|
|
50
|
+
* The sorting order of the results.
|
|
51
|
+
*/
|
|
52
|
+
searchOrder?: string;
|
|
53
|
+
/**
|
|
54
|
+
* The status of the domain.
|
|
55
|
+
*/
|
|
56
|
+
stage?: string;
|
|
57
|
+
/**
|
|
58
|
+
* Tags.
|
|
59
|
+
*/
|
|
60
|
+
tags?: inputs.dns.ZonesTag[];
|
|
61
|
+
/**
|
|
62
|
+
* The edition of the domain.
|
|
63
|
+
*/
|
|
64
|
+
tradeCode?: string;
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* A collection of values returned by Zones.
|
|
68
|
+
*/
|
|
69
|
+
export interface ZonesResult {
|
|
70
|
+
/**
|
|
71
|
+
* The provider-assigned unique ID for this managed resource.
|
|
72
|
+
*/
|
|
73
|
+
readonly id: string;
|
|
74
|
+
/**
|
|
75
|
+
* The Key of Tags.
|
|
76
|
+
*/
|
|
77
|
+
readonly key?: string;
|
|
78
|
+
readonly nameRegex?: string;
|
|
79
|
+
readonly orderKey?: string;
|
|
80
|
+
readonly outputFile?: string;
|
|
81
|
+
/**
|
|
82
|
+
* The ProjectName of the domain.
|
|
83
|
+
*/
|
|
84
|
+
readonly projectName?: string;
|
|
85
|
+
readonly searchMode?: string;
|
|
86
|
+
readonly searchOrder?: string;
|
|
87
|
+
/**
|
|
88
|
+
* The status of the domain.
|
|
89
|
+
*/
|
|
90
|
+
readonly stage?: string;
|
|
91
|
+
/**
|
|
92
|
+
* Tags.
|
|
93
|
+
*/
|
|
94
|
+
readonly tags?: outputs.dns.ZonesTag[];
|
|
95
|
+
/**
|
|
96
|
+
* The total count of query.
|
|
97
|
+
*/
|
|
98
|
+
readonly totalCount: number;
|
|
99
|
+
/**
|
|
100
|
+
* The edition of the domain.
|
|
101
|
+
*/
|
|
102
|
+
readonly tradeCode?: string;
|
|
103
|
+
/**
|
|
104
|
+
* The collection of query.
|
|
105
|
+
*/
|
|
106
|
+
readonly zones: outputs.dns.ZonesZone[];
|
|
107
|
+
}
|
|
108
|
+
/**
|
|
109
|
+
* Use this data source to query detailed information of dns zones
|
|
110
|
+
* ## Example Usage
|
|
111
|
+
*
|
|
112
|
+
* ```typescript
|
|
113
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
114
|
+
* import * as volcengine from "@pulumi/volcengine";
|
|
115
|
+
*
|
|
116
|
+
* const foo = volcengine.dns.Zones({
|
|
117
|
+
* tags: [{
|
|
118
|
+
* key: "xx",
|
|
119
|
+
* values: ["xx"],
|
|
120
|
+
* }],
|
|
121
|
+
* });
|
|
122
|
+
* ```
|
|
123
|
+
*/
|
|
124
|
+
export declare function zonesOutput(args?: ZonesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<ZonesResult>;
|
|
125
|
+
/**
|
|
126
|
+
* A collection of arguments for invoking Zones.
|
|
127
|
+
*/
|
|
128
|
+
export interface ZonesOutputArgs {
|
|
129
|
+
/**
|
|
130
|
+
* The keyword included in domains.
|
|
131
|
+
*/
|
|
132
|
+
key?: pulumi.Input<string>;
|
|
133
|
+
/**
|
|
134
|
+
* A Name Regex of Resource.
|
|
135
|
+
*/
|
|
136
|
+
nameRegex?: pulumi.Input<string>;
|
|
137
|
+
/**
|
|
138
|
+
* The key for sorting the results.
|
|
139
|
+
*/
|
|
140
|
+
orderKey?: pulumi.Input<string>;
|
|
141
|
+
/**
|
|
142
|
+
* File name where to save data source results.
|
|
143
|
+
*/
|
|
144
|
+
outputFile?: pulumi.Input<string>;
|
|
145
|
+
/**
|
|
146
|
+
* The ProjectName of the domain.
|
|
147
|
+
*/
|
|
148
|
+
projectName?: pulumi.Input<string>;
|
|
149
|
+
/**
|
|
150
|
+
* The matching mode for the Key parameter.
|
|
151
|
+
*/
|
|
152
|
+
searchMode?: pulumi.Input<string>;
|
|
153
|
+
/**
|
|
154
|
+
* The sorting order of the results.
|
|
155
|
+
*/
|
|
156
|
+
searchOrder?: pulumi.Input<string>;
|
|
157
|
+
/**
|
|
158
|
+
* The status of the domain.
|
|
159
|
+
*/
|
|
160
|
+
stage?: pulumi.Input<string>;
|
|
161
|
+
/**
|
|
162
|
+
* Tags.
|
|
163
|
+
*/
|
|
164
|
+
tags?: pulumi.Input<pulumi.Input<inputs.dns.ZonesTagArgs>[]>;
|
|
165
|
+
/**
|
|
166
|
+
* The edition of the domain.
|
|
167
|
+
*/
|
|
168
|
+
tradeCode?: pulumi.Input<string>;
|
|
169
|
+
}
|
package/dns/zones.js
ADDED
|
@@ -0,0 +1,61 @@
|
|
|
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.zonesOutput = exports.zones = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Use this data source to query detailed information of dns zones
|
|
10
|
+
* ## Example Usage
|
|
11
|
+
*
|
|
12
|
+
* ```typescript
|
|
13
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
14
|
+
* import * as volcengine from "@pulumi/volcengine";
|
|
15
|
+
*
|
|
16
|
+
* const foo = volcengine.dns.Zones({
|
|
17
|
+
* tags: [{
|
|
18
|
+
* key: "xx",
|
|
19
|
+
* values: ["xx"],
|
|
20
|
+
* }],
|
|
21
|
+
* });
|
|
22
|
+
* ```
|
|
23
|
+
*/
|
|
24
|
+
function zones(args, opts) {
|
|
25
|
+
args = args || {};
|
|
26
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
27
|
+
return pulumi.runtime.invoke("volcengine:dns/zones:Zones", {
|
|
28
|
+
"key": args.key,
|
|
29
|
+
"nameRegex": args.nameRegex,
|
|
30
|
+
"orderKey": args.orderKey,
|
|
31
|
+
"outputFile": args.outputFile,
|
|
32
|
+
"projectName": args.projectName,
|
|
33
|
+
"searchMode": args.searchMode,
|
|
34
|
+
"searchOrder": args.searchOrder,
|
|
35
|
+
"stage": args.stage,
|
|
36
|
+
"tags": args.tags,
|
|
37
|
+
"tradeCode": args.tradeCode,
|
|
38
|
+
}, opts);
|
|
39
|
+
}
|
|
40
|
+
exports.zones = zones;
|
|
41
|
+
/**
|
|
42
|
+
* Use this data source to query detailed information of dns zones
|
|
43
|
+
* ## Example Usage
|
|
44
|
+
*
|
|
45
|
+
* ```typescript
|
|
46
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
47
|
+
* import * as volcengine from "@pulumi/volcengine";
|
|
48
|
+
*
|
|
49
|
+
* const foo = volcengine.dns.Zones({
|
|
50
|
+
* tags: [{
|
|
51
|
+
* key: "xx",
|
|
52
|
+
* values: ["xx"],
|
|
53
|
+
* }],
|
|
54
|
+
* });
|
|
55
|
+
* ```
|
|
56
|
+
*/
|
|
57
|
+
function zonesOutput(args, opts) {
|
|
58
|
+
return pulumi.output(args).apply((a) => zones(a, opts));
|
|
59
|
+
}
|
|
60
|
+
exports.zonesOutput = zonesOutput;
|
|
61
|
+
//# sourceMappingURL=zones.js.map
|
package/dns/zones.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"zones.js","sourceRoot":"","sources":["../../dns/zones.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,KAAK,CAAC,IAAgB,EAAE,IAA2B;IAC/D,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAElB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,4BAA4B,EAAE;QACvD,KAAK,EAAE,IAAI,CAAC,GAAG;QACf,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAhBD,sBAgBC;AA0FD;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,WAAW,CAAC,IAAsB,EAAE,IAA2B;IAC3E,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,KAAK,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAChE,CAAC;AAFD,kCAEC"}
|
package/ebs/volume.d.ts
CHANGED
|
@@ -129,10 +129,9 @@ export declare class Volume extends pulumi.CustomResource {
|
|
|
129
129
|
*/
|
|
130
130
|
readonly extraPerformanceTypeId: pulumi.Output<string | undefined>;
|
|
131
131
|
/**
|
|
132
|
-
* The ID of the instance to which the created volume is automatically attached.
|
|
133
|
-
*
|
|
134
|
-
*
|
|
135
|
-
* terraform state file and management.
|
|
132
|
+
* The ID of the instance to which the created volume is automatically attached. When use this field to attach ecs
|
|
133
|
+
* instance, the attached volume cannot be deleted by terraform, please use `terraform state rm
|
|
134
|
+
* volcengine_volume.resource_name` command to remove it from terraform state file and management.
|
|
136
135
|
*/
|
|
137
136
|
readonly instanceId: pulumi.Output<string>;
|
|
138
137
|
/**
|
|
@@ -147,6 +146,11 @@ export declare class Volume extends pulumi.CustomResource {
|
|
|
147
146
|
* The size of Volume.
|
|
148
147
|
*/
|
|
149
148
|
readonly size: pulumi.Output<number>;
|
|
149
|
+
/**
|
|
150
|
+
* The id of the snapshot. When creating a volume using snapshots, this field is required.
|
|
151
|
+
* When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignoreChanges ignore changes in fields.
|
|
152
|
+
*/
|
|
153
|
+
readonly snapshotId: pulumi.Output<string | undefined>;
|
|
150
154
|
/**
|
|
151
155
|
* Status of Volume.
|
|
152
156
|
*/
|
|
@@ -160,7 +164,7 @@ export declare class Volume extends pulumi.CustomResource {
|
|
|
160
164
|
*/
|
|
161
165
|
readonly tradeStatus: pulumi.Output<number>;
|
|
162
166
|
/**
|
|
163
|
-
* The charge type of the Volume, the value is `PostPaid` or `PrePaid`. The `PrePaid` volume cannot be detached.
|
|
167
|
+
* The charge type of the Volume, the value is `PostPaid` or `PrePaid`. The `PrePaid` volume cannot be detached.
|
|
164
168
|
*/
|
|
165
169
|
readonly volumeChargeType: pulumi.Output<string | undefined>;
|
|
166
170
|
/**
|
|
@@ -213,10 +217,9 @@ export interface VolumeState {
|
|
|
213
217
|
*/
|
|
214
218
|
extraPerformanceTypeId?: pulumi.Input<string>;
|
|
215
219
|
/**
|
|
216
|
-
* The ID of the instance to which the created volume is automatically attached.
|
|
217
|
-
*
|
|
218
|
-
*
|
|
219
|
-
* terraform state file and management.
|
|
220
|
+
* The ID of the instance to which the created volume is automatically attached. When use this field to attach ecs
|
|
221
|
+
* instance, the attached volume cannot be deleted by terraform, please use `terraform state rm
|
|
222
|
+
* volcengine_volume.resource_name` command to remove it from terraform state file and management.
|
|
220
223
|
*/
|
|
221
224
|
instanceId?: pulumi.Input<string>;
|
|
222
225
|
/**
|
|
@@ -231,6 +234,11 @@ export interface VolumeState {
|
|
|
231
234
|
* The size of Volume.
|
|
232
235
|
*/
|
|
233
236
|
size?: pulumi.Input<number>;
|
|
237
|
+
/**
|
|
238
|
+
* The id of the snapshot. When creating a volume using snapshots, this field is required.
|
|
239
|
+
* When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignoreChanges ignore changes in fields.
|
|
240
|
+
*/
|
|
241
|
+
snapshotId?: pulumi.Input<string>;
|
|
234
242
|
/**
|
|
235
243
|
* Status of Volume.
|
|
236
244
|
*/
|
|
@@ -244,7 +252,7 @@ export interface VolumeState {
|
|
|
244
252
|
*/
|
|
245
253
|
tradeStatus?: pulumi.Input<number>;
|
|
246
254
|
/**
|
|
247
|
-
* The charge type of the Volume, the value is `PostPaid` or `PrePaid`. The `PrePaid` volume cannot be detached.
|
|
255
|
+
* The charge type of the Volume, the value is `PostPaid` or `PrePaid`. The `PrePaid` volume cannot be detached.
|
|
248
256
|
*/
|
|
249
257
|
volumeChargeType?: pulumi.Input<string>;
|
|
250
258
|
/**
|
|
@@ -285,10 +293,9 @@ export interface VolumeArgs {
|
|
|
285
293
|
*/
|
|
286
294
|
extraPerformanceTypeId?: pulumi.Input<string>;
|
|
287
295
|
/**
|
|
288
|
-
* The ID of the instance to which the created volume is automatically attached.
|
|
289
|
-
*
|
|
290
|
-
*
|
|
291
|
-
* terraform state file and management.
|
|
296
|
+
* The ID of the instance to which the created volume is automatically attached. When use this field to attach ecs
|
|
297
|
+
* instance, the attached volume cannot be deleted by terraform, please use `terraform state rm
|
|
298
|
+
* volcengine_volume.resource_name` command to remove it from terraform state file and management.
|
|
292
299
|
*/
|
|
293
300
|
instanceId?: pulumi.Input<string>;
|
|
294
301
|
/**
|
|
@@ -303,12 +310,17 @@ export interface VolumeArgs {
|
|
|
303
310
|
* The size of Volume.
|
|
304
311
|
*/
|
|
305
312
|
size: pulumi.Input<number>;
|
|
313
|
+
/**
|
|
314
|
+
* The id of the snapshot. When creating a volume using snapshots, this field is required.
|
|
315
|
+
* When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignoreChanges ignore changes in fields.
|
|
316
|
+
*/
|
|
317
|
+
snapshotId?: pulumi.Input<string>;
|
|
306
318
|
/**
|
|
307
319
|
* Tags.
|
|
308
320
|
*/
|
|
309
321
|
tags?: pulumi.Input<pulumi.Input<inputs.ebs.VolumeTag>[]>;
|
|
310
322
|
/**
|
|
311
|
-
* The charge type of the Volume, the value is `PostPaid` or `PrePaid`. The `PrePaid` volume cannot be detached.
|
|
323
|
+
* The charge type of the Volume, the value is `PostPaid` or `PrePaid`. The `PrePaid` volume cannot be detached.
|
|
312
324
|
*/
|
|
313
325
|
volumeChargeType?: pulumi.Input<string>;
|
|
314
326
|
/**
|