@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/record.js
ADDED
|
@@ -0,0 +1,115 @@
|
|
|
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.Record = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Provides a resource to manage dns record
|
|
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.Record("foo", {
|
|
17
|
+
* host: "a.com",
|
|
18
|
+
* type: "A",
|
|
19
|
+
* value: "1.1.1.2",
|
|
20
|
+
* zid: 58846,
|
|
21
|
+
* });
|
|
22
|
+
* ```
|
|
23
|
+
*
|
|
24
|
+
* ## Import
|
|
25
|
+
*
|
|
26
|
+
* DnsRecord can be imported using the id, e.g.
|
|
27
|
+
*
|
|
28
|
+
* ```sh
|
|
29
|
+
* $ pulumi import volcengine:dns/record:Record default ZID:recordId
|
|
30
|
+
* ```
|
|
31
|
+
*/
|
|
32
|
+
class Record extends pulumi.CustomResource {
|
|
33
|
+
/**
|
|
34
|
+
* Get an existing Record resource's state with the given name, ID, and optional extra
|
|
35
|
+
* properties used to qualify the lookup.
|
|
36
|
+
*
|
|
37
|
+
* @param name The _unique_ name of the resulting resource.
|
|
38
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
39
|
+
* @param state Any extra arguments used during the lookup.
|
|
40
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
41
|
+
*/
|
|
42
|
+
static get(name, id, state, opts) {
|
|
43
|
+
return new Record(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* Returns true if the given object is an instance of Record. This is designed to work even
|
|
47
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
48
|
+
*/
|
|
49
|
+
static isInstance(obj) {
|
|
50
|
+
if (obj === undefined || obj === null) {
|
|
51
|
+
return false;
|
|
52
|
+
}
|
|
53
|
+
return obj['__pulumiType'] === Record.__pulumiType;
|
|
54
|
+
}
|
|
55
|
+
constructor(name, argsOrState, opts) {
|
|
56
|
+
let resourceInputs = {};
|
|
57
|
+
opts = opts || {};
|
|
58
|
+
if (opts.id) {
|
|
59
|
+
const state = argsOrState;
|
|
60
|
+
resourceInputs["createdAt"] = state ? state.createdAt : undefined;
|
|
61
|
+
resourceInputs["enable"] = state ? state.enable : undefined;
|
|
62
|
+
resourceInputs["host"] = state ? state.host : undefined;
|
|
63
|
+
resourceInputs["line"] = state ? state.line : undefined;
|
|
64
|
+
resourceInputs["operators"] = state ? state.operators : undefined;
|
|
65
|
+
resourceInputs["pqdn"] = state ? state.pqdn : undefined;
|
|
66
|
+
resourceInputs["recordId"] = state ? state.recordId : undefined;
|
|
67
|
+
resourceInputs["recordSetId"] = state ? state.recordSetId : undefined;
|
|
68
|
+
resourceInputs["remark"] = state ? state.remark : undefined;
|
|
69
|
+
resourceInputs["tags"] = state ? state.tags : undefined;
|
|
70
|
+
resourceInputs["ttl"] = state ? state.ttl : undefined;
|
|
71
|
+
resourceInputs["type"] = state ? state.type : undefined;
|
|
72
|
+
resourceInputs["updatedAt"] = state ? state.updatedAt : undefined;
|
|
73
|
+
resourceInputs["value"] = state ? state.value : undefined;
|
|
74
|
+
resourceInputs["weight"] = state ? state.weight : undefined;
|
|
75
|
+
resourceInputs["zid"] = state ? state.zid : undefined;
|
|
76
|
+
}
|
|
77
|
+
else {
|
|
78
|
+
const args = argsOrState;
|
|
79
|
+
if ((!args || args.host === undefined) && !opts.urn) {
|
|
80
|
+
throw new Error("Missing required property 'host'");
|
|
81
|
+
}
|
|
82
|
+
if ((!args || args.type === undefined) && !opts.urn) {
|
|
83
|
+
throw new Error("Missing required property 'type'");
|
|
84
|
+
}
|
|
85
|
+
if ((!args || args.value === undefined) && !opts.urn) {
|
|
86
|
+
throw new Error("Missing required property 'value'");
|
|
87
|
+
}
|
|
88
|
+
if ((!args || args.zid === undefined) && !opts.urn) {
|
|
89
|
+
throw new Error("Missing required property 'zid'");
|
|
90
|
+
}
|
|
91
|
+
resourceInputs["host"] = args ? args.host : undefined;
|
|
92
|
+
resourceInputs["line"] = args ? args.line : undefined;
|
|
93
|
+
resourceInputs["remark"] = args ? args.remark : undefined;
|
|
94
|
+
resourceInputs["ttl"] = args ? args.ttl : undefined;
|
|
95
|
+
resourceInputs["type"] = args ? args.type : undefined;
|
|
96
|
+
resourceInputs["value"] = args ? args.value : undefined;
|
|
97
|
+
resourceInputs["weight"] = args ? args.weight : undefined;
|
|
98
|
+
resourceInputs["zid"] = args ? args.zid : undefined;
|
|
99
|
+
resourceInputs["createdAt"] = undefined /*out*/;
|
|
100
|
+
resourceInputs["enable"] = undefined /*out*/;
|
|
101
|
+
resourceInputs["operators"] = undefined /*out*/;
|
|
102
|
+
resourceInputs["pqdn"] = undefined /*out*/;
|
|
103
|
+
resourceInputs["recordId"] = undefined /*out*/;
|
|
104
|
+
resourceInputs["recordSetId"] = undefined /*out*/;
|
|
105
|
+
resourceInputs["tags"] = undefined /*out*/;
|
|
106
|
+
resourceInputs["updatedAt"] = undefined /*out*/;
|
|
107
|
+
}
|
|
108
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
109
|
+
super(Record.__pulumiType, name, resourceInputs, opts);
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
exports.Record = Record;
|
|
113
|
+
/** @internal */
|
|
114
|
+
Record.__pulumiType = 'volcengine:dns/record:Record';
|
|
115
|
+
//# sourceMappingURL=record.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"record.js","sourceRoot":"","sources":["../../dns/record.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;GAuBG;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;IA2ED,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,WAAW,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,QAAQ,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,cAAc,CAAC,MAAM,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAA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L,wBA4JC;AA9IG,gBAAgB;AACO,mBAAY,GAAG,8BAA8B,CAAC"}
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "../types/output";
|
|
3
|
+
/**
|
|
4
|
+
* Use this data source to query detailed information of dns record sets
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as volcengine from "@pulumi/volcengine";
|
|
10
|
+
*
|
|
11
|
+
* const fooZones = volcengine.dns.Zones({
|
|
12
|
+
* key: "xxx",
|
|
13
|
+
* searchMode: "xx",
|
|
14
|
+
* });
|
|
15
|
+
* const fooRecordSets = fooZones.then(fooZones => volcengine.dns.RecordSets({
|
|
16
|
+
* zid: fooZones.zones?.[0]?.zid,
|
|
17
|
+
* }));
|
|
18
|
+
* ```
|
|
19
|
+
*/
|
|
20
|
+
export declare function recordSets(args: RecordSetsArgs, opts?: pulumi.InvokeOptions): Promise<RecordSetsResult>;
|
|
21
|
+
/**
|
|
22
|
+
* A collection of arguments for invoking RecordSets.
|
|
23
|
+
*/
|
|
24
|
+
export interface RecordSetsArgs {
|
|
25
|
+
/**
|
|
26
|
+
* The domain prefix of the record set.
|
|
27
|
+
*/
|
|
28
|
+
host?: string;
|
|
29
|
+
/**
|
|
30
|
+
* A Name Regex of Resource.
|
|
31
|
+
*/
|
|
32
|
+
nameRegex?: string;
|
|
33
|
+
/**
|
|
34
|
+
* File name where to save data source results.
|
|
35
|
+
*/
|
|
36
|
+
outputFile?: string;
|
|
37
|
+
/**
|
|
38
|
+
* The record set ID.
|
|
39
|
+
*/
|
|
40
|
+
recordSetId?: string;
|
|
41
|
+
/**
|
|
42
|
+
* The matching mode for Host.
|
|
43
|
+
*/
|
|
44
|
+
searchMode?: string;
|
|
45
|
+
/**
|
|
46
|
+
* The domain ID.
|
|
47
|
+
*/
|
|
48
|
+
zid: number;
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* A collection of values returned by RecordSets.
|
|
52
|
+
*/
|
|
53
|
+
export interface RecordSetsResult {
|
|
54
|
+
/**
|
|
55
|
+
* The host record contained in the DNS record set.
|
|
56
|
+
*/
|
|
57
|
+
readonly host?: string;
|
|
58
|
+
/**
|
|
59
|
+
* The provider-assigned unique ID for this managed resource.
|
|
60
|
+
*/
|
|
61
|
+
readonly id: string;
|
|
62
|
+
readonly nameRegex?: string;
|
|
63
|
+
readonly outputFile?: string;
|
|
64
|
+
readonly recordSetId?: string;
|
|
65
|
+
/**
|
|
66
|
+
* The collection of query.
|
|
67
|
+
*/
|
|
68
|
+
readonly recordSets: outputs.dns.RecordSetsRecordSet[];
|
|
69
|
+
readonly searchMode?: string;
|
|
70
|
+
/**
|
|
71
|
+
* The total count of query.
|
|
72
|
+
*/
|
|
73
|
+
readonly totalCount: number;
|
|
74
|
+
readonly zid: number;
|
|
75
|
+
}
|
|
76
|
+
/**
|
|
77
|
+
* Use this data source to query detailed information of dns record sets
|
|
78
|
+
* ## Example Usage
|
|
79
|
+
*
|
|
80
|
+
* ```typescript
|
|
81
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
82
|
+
* import * as volcengine from "@pulumi/volcengine";
|
|
83
|
+
*
|
|
84
|
+
* const fooZones = volcengine.dns.Zones({
|
|
85
|
+
* key: "xxx",
|
|
86
|
+
* searchMode: "xx",
|
|
87
|
+
* });
|
|
88
|
+
* const fooRecordSets = fooZones.then(fooZones => volcengine.dns.RecordSets({
|
|
89
|
+
* zid: fooZones.zones?.[0]?.zid,
|
|
90
|
+
* }));
|
|
91
|
+
* ```
|
|
92
|
+
*/
|
|
93
|
+
export declare function recordSetsOutput(args: RecordSetsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<RecordSetsResult>;
|
|
94
|
+
/**
|
|
95
|
+
* A collection of arguments for invoking RecordSets.
|
|
96
|
+
*/
|
|
97
|
+
export interface RecordSetsOutputArgs {
|
|
98
|
+
/**
|
|
99
|
+
* The domain prefix of the record set.
|
|
100
|
+
*/
|
|
101
|
+
host?: pulumi.Input<string>;
|
|
102
|
+
/**
|
|
103
|
+
* A Name Regex of Resource.
|
|
104
|
+
*/
|
|
105
|
+
nameRegex?: pulumi.Input<string>;
|
|
106
|
+
/**
|
|
107
|
+
* File name where to save data source results.
|
|
108
|
+
*/
|
|
109
|
+
outputFile?: pulumi.Input<string>;
|
|
110
|
+
/**
|
|
111
|
+
* The record set ID.
|
|
112
|
+
*/
|
|
113
|
+
recordSetId?: pulumi.Input<string>;
|
|
114
|
+
/**
|
|
115
|
+
* The matching mode for Host.
|
|
116
|
+
*/
|
|
117
|
+
searchMode?: pulumi.Input<string>;
|
|
118
|
+
/**
|
|
119
|
+
* The domain ID.
|
|
120
|
+
*/
|
|
121
|
+
zid: pulumi.Input<number>;
|
|
122
|
+
}
|
|
@@ -0,0 +1,58 @@
|
|
|
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.recordSetsOutput = exports.recordSets = 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 record sets
|
|
10
|
+
* ## Example Usage
|
|
11
|
+
*
|
|
12
|
+
* ```typescript
|
|
13
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
14
|
+
* import * as volcengine from "@pulumi/volcengine";
|
|
15
|
+
*
|
|
16
|
+
* const fooZones = volcengine.dns.Zones({
|
|
17
|
+
* key: "xxx",
|
|
18
|
+
* searchMode: "xx",
|
|
19
|
+
* });
|
|
20
|
+
* const fooRecordSets = fooZones.then(fooZones => volcengine.dns.RecordSets({
|
|
21
|
+
* zid: fooZones.zones?.[0]?.zid,
|
|
22
|
+
* }));
|
|
23
|
+
* ```
|
|
24
|
+
*/
|
|
25
|
+
function recordSets(args, opts) {
|
|
26
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
27
|
+
return pulumi.runtime.invoke("volcengine:dns/recordSets:RecordSets", {
|
|
28
|
+
"host": args.host,
|
|
29
|
+
"nameRegex": args.nameRegex,
|
|
30
|
+
"outputFile": args.outputFile,
|
|
31
|
+
"recordSetId": args.recordSetId,
|
|
32
|
+
"searchMode": args.searchMode,
|
|
33
|
+
"zid": args.zid,
|
|
34
|
+
}, opts);
|
|
35
|
+
}
|
|
36
|
+
exports.recordSets = recordSets;
|
|
37
|
+
/**
|
|
38
|
+
* Use this data source to query detailed information of dns record sets
|
|
39
|
+
* ## Example Usage
|
|
40
|
+
*
|
|
41
|
+
* ```typescript
|
|
42
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
43
|
+
* import * as volcengine from "@pulumi/volcengine";
|
|
44
|
+
*
|
|
45
|
+
* const fooZones = volcengine.dns.Zones({
|
|
46
|
+
* key: "xxx",
|
|
47
|
+
* searchMode: "xx",
|
|
48
|
+
* });
|
|
49
|
+
* const fooRecordSets = fooZones.then(fooZones => volcengine.dns.RecordSets({
|
|
50
|
+
* zid: fooZones.zones?.[0]?.zid,
|
|
51
|
+
* }));
|
|
52
|
+
* ```
|
|
53
|
+
*/
|
|
54
|
+
function recordSetsOutput(args, opts) {
|
|
55
|
+
return pulumi.output(args).apply((a) => recordSets(a, opts));
|
|
56
|
+
}
|
|
57
|
+
exports.recordSetsOutput = recordSetsOutput;
|
|
58
|
+
//# sourceMappingURL=recordSets.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"recordSets.js","sourceRoot":"","sources":["../../dns/recordSets.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;GAgBG;AACH,SAAgB,UAAU,CAAC,IAAoB,EAAE,IAA2B;IAExE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,sCAAsC,EAAE;QACjE,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,KAAK,EAAE,IAAI,CAAC,GAAG;KAClB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,gCAWC;AA0DD;;;;;;;;;;;;;;;;GAgBG;AACH,SAAgB,gBAAgB,CAAC,IAA0B,EAAE,IAA2B;IACpF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,UAAU,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACrE,CAAC;AAFD,4CAEC"}
|
package/dns/records.d.ts
ADDED
|
@@ -0,0 +1,150 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "../types/output";
|
|
3
|
+
/**
|
|
4
|
+
* Use this data source to query detailed information of dns records
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as volcengine from "@pulumi/volcengine";
|
|
10
|
+
*
|
|
11
|
+
* const foo = volcengine.dns.Records({
|
|
12
|
+
* zid: 58857,
|
|
13
|
+
* });
|
|
14
|
+
* ```
|
|
15
|
+
*/
|
|
16
|
+
export declare function records(args: RecordsArgs, opts?: pulumi.InvokeOptions): Promise<RecordsResult>;
|
|
17
|
+
/**
|
|
18
|
+
* A collection of arguments for invoking Records.
|
|
19
|
+
*/
|
|
20
|
+
export interface RecordsArgs {
|
|
21
|
+
/**
|
|
22
|
+
* Domain prefix of the DNS record.
|
|
23
|
+
*/
|
|
24
|
+
host?: string;
|
|
25
|
+
/**
|
|
26
|
+
* Line of the DNS record.
|
|
27
|
+
*/
|
|
28
|
+
line?: string;
|
|
29
|
+
/**
|
|
30
|
+
* A Name Regex of Resource.
|
|
31
|
+
*/
|
|
32
|
+
nameRegex?: string;
|
|
33
|
+
/**
|
|
34
|
+
* File name where to save data source results.
|
|
35
|
+
*/
|
|
36
|
+
outputFile?: string;
|
|
37
|
+
/**
|
|
38
|
+
* The matching mode for the Host parameter.
|
|
39
|
+
*/
|
|
40
|
+
searchMode?: string;
|
|
41
|
+
/**
|
|
42
|
+
* The Method to sort the returned list of DNS records.
|
|
43
|
+
*/
|
|
44
|
+
searchOrder?: string;
|
|
45
|
+
/**
|
|
46
|
+
* Type of the DNS record.
|
|
47
|
+
*/
|
|
48
|
+
type?: string;
|
|
49
|
+
/**
|
|
50
|
+
* Value of the DNS record.
|
|
51
|
+
*/
|
|
52
|
+
value?: string;
|
|
53
|
+
/**
|
|
54
|
+
* The ID of the domain.
|
|
55
|
+
*/
|
|
56
|
+
zid: number;
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* A collection of values returned by Records.
|
|
60
|
+
*/
|
|
61
|
+
export interface RecordsResult {
|
|
62
|
+
/**
|
|
63
|
+
* The host record included in the DNS record.
|
|
64
|
+
*/
|
|
65
|
+
readonly host?: string;
|
|
66
|
+
/**
|
|
67
|
+
* The provider-assigned unique ID for this managed resource.
|
|
68
|
+
*/
|
|
69
|
+
readonly id: string;
|
|
70
|
+
/**
|
|
71
|
+
* The line code corresponding to the DNS record.
|
|
72
|
+
*/
|
|
73
|
+
readonly line?: string;
|
|
74
|
+
readonly nameRegex?: string;
|
|
75
|
+
readonly outputFile?: string;
|
|
76
|
+
/**
|
|
77
|
+
* The collection of query.
|
|
78
|
+
*/
|
|
79
|
+
readonly records: outputs.dns.RecordsRecord[];
|
|
80
|
+
readonly searchMode?: string;
|
|
81
|
+
readonly searchOrder?: string;
|
|
82
|
+
/**
|
|
83
|
+
* The total count of query.
|
|
84
|
+
*/
|
|
85
|
+
readonly totalCount: number;
|
|
86
|
+
/**
|
|
87
|
+
* The type of the DNS record.
|
|
88
|
+
*/
|
|
89
|
+
readonly type?: string;
|
|
90
|
+
/**
|
|
91
|
+
* The record value contained in the DNS record.
|
|
92
|
+
*/
|
|
93
|
+
readonly value?: string;
|
|
94
|
+
readonly zid: number;
|
|
95
|
+
}
|
|
96
|
+
/**
|
|
97
|
+
* Use this data source to query detailed information of dns records
|
|
98
|
+
* ## Example Usage
|
|
99
|
+
*
|
|
100
|
+
* ```typescript
|
|
101
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
102
|
+
* import * as volcengine from "@pulumi/volcengine";
|
|
103
|
+
*
|
|
104
|
+
* const foo = volcengine.dns.Records({
|
|
105
|
+
* zid: 58857,
|
|
106
|
+
* });
|
|
107
|
+
* ```
|
|
108
|
+
*/
|
|
109
|
+
export declare function recordsOutput(args: RecordsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<RecordsResult>;
|
|
110
|
+
/**
|
|
111
|
+
* A collection of arguments for invoking Records.
|
|
112
|
+
*/
|
|
113
|
+
export interface RecordsOutputArgs {
|
|
114
|
+
/**
|
|
115
|
+
* Domain prefix of the DNS record.
|
|
116
|
+
*/
|
|
117
|
+
host?: pulumi.Input<string>;
|
|
118
|
+
/**
|
|
119
|
+
* Line of the DNS record.
|
|
120
|
+
*/
|
|
121
|
+
line?: pulumi.Input<string>;
|
|
122
|
+
/**
|
|
123
|
+
* A Name Regex of Resource.
|
|
124
|
+
*/
|
|
125
|
+
nameRegex?: pulumi.Input<string>;
|
|
126
|
+
/**
|
|
127
|
+
* File name where to save data source results.
|
|
128
|
+
*/
|
|
129
|
+
outputFile?: pulumi.Input<string>;
|
|
130
|
+
/**
|
|
131
|
+
* The matching mode for the Host parameter.
|
|
132
|
+
*/
|
|
133
|
+
searchMode?: pulumi.Input<string>;
|
|
134
|
+
/**
|
|
135
|
+
* The Method to sort the returned list of DNS records.
|
|
136
|
+
*/
|
|
137
|
+
searchOrder?: pulumi.Input<string>;
|
|
138
|
+
/**
|
|
139
|
+
* Type of the DNS record.
|
|
140
|
+
*/
|
|
141
|
+
type?: pulumi.Input<string>;
|
|
142
|
+
/**
|
|
143
|
+
* Value of the DNS record.
|
|
144
|
+
*/
|
|
145
|
+
value?: pulumi.Input<string>;
|
|
146
|
+
/**
|
|
147
|
+
* The ID of the domain.
|
|
148
|
+
*/
|
|
149
|
+
zid: pulumi.Input<number>;
|
|
150
|
+
}
|
package/dns/records.js
ADDED
|
@@ -0,0 +1,53 @@
|
|
|
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.recordsOutput = exports.records = 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 records
|
|
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.Records({
|
|
17
|
+
* zid: 58857,
|
|
18
|
+
* });
|
|
19
|
+
* ```
|
|
20
|
+
*/
|
|
21
|
+
function records(args, opts) {
|
|
22
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
23
|
+
return pulumi.runtime.invoke("volcengine:dns/records:Records", {
|
|
24
|
+
"host": args.host,
|
|
25
|
+
"line": args.line,
|
|
26
|
+
"nameRegex": args.nameRegex,
|
|
27
|
+
"outputFile": args.outputFile,
|
|
28
|
+
"searchMode": args.searchMode,
|
|
29
|
+
"searchOrder": args.searchOrder,
|
|
30
|
+
"type": args.type,
|
|
31
|
+
"value": args.value,
|
|
32
|
+
"zid": args.zid,
|
|
33
|
+
}, opts);
|
|
34
|
+
}
|
|
35
|
+
exports.records = records;
|
|
36
|
+
/**
|
|
37
|
+
* Use this data source to query detailed information of dns records
|
|
38
|
+
* ## Example Usage
|
|
39
|
+
*
|
|
40
|
+
* ```typescript
|
|
41
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
42
|
+
* import * as volcengine from "@pulumi/volcengine";
|
|
43
|
+
*
|
|
44
|
+
* const foo = volcengine.dns.Records({
|
|
45
|
+
* zid: 58857,
|
|
46
|
+
* });
|
|
47
|
+
* ```
|
|
48
|
+
*/
|
|
49
|
+
function recordsOutput(args, opts) {
|
|
50
|
+
return pulumi.output(args).apply((a) => records(a, opts));
|
|
51
|
+
}
|
|
52
|
+
exports.recordsOutput = recordsOutput;
|
|
53
|
+
//# sourceMappingURL=records.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"records.js","sourceRoot":"","sources":["../../dns/records.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;GAYG;AACH,SAAgB,OAAO,CAAC,IAAiB,EAAE,IAA2B;IAElE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,gCAAgC,EAAE;QAC3D,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,KAAK,EAAE,IAAI,CAAC,GAAG;KAClB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAdD,0BAcC;AAkFD;;;;;;;;;;;;GAYG;AACH,SAAgB,aAAa,CAAC,IAAuB,EAAE,IAA2B;IAC9E,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,OAAO,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAClE,CAAC;AAFD,sCAEC"}
|