@volcengine/pulumi-volcenginecc 0.0.41 → 0.0.42

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.
Files changed (141) hide show
  1. package/directconnect/bgpPeer.d.ts +189 -0
  2. package/directconnect/bgpPeer.js +104 -0
  3. package/directconnect/bgpPeer.js.map +1 -0
  4. package/directconnect/getBgpPeer.d.ts +88 -0
  5. package/directconnect/getBgpPeer.js +28 -0
  6. package/directconnect/getBgpPeer.js.map +1 -0
  7. package/directconnect/getBgpPeers.d.ts +22 -0
  8. package/directconnect/getBgpPeers.js +24 -0
  9. package/directconnect/getBgpPeers.js.map +1 -0
  10. package/directconnect/index.d.ts +9 -0
  11. package/directconnect/index.js +12 -1
  12. package/directconnect/index.js.map +1 -1
  13. package/dns/getRecord.d.ts +104 -0
  14. package/dns/getRecord.js +28 -0
  15. package/dns/getRecord.js.map +1 -0
  16. package/dns/getRecords.d.ts +22 -0
  17. package/dns/getRecords.js +24 -0
  18. package/dns/getRecords.js.map +1 -0
  19. package/dns/index.d.ts +9 -0
  20. package/dns/index.js +12 -1
  21. package/dns/index.js.map +1 -1
  22. package/dns/record.d.ts +236 -0
  23. package/dns/record.js +121 -0
  24. package/dns/record.js.map +1 -0
  25. package/gtm/getGtm.d.ts +100 -0
  26. package/gtm/getGtm.js +28 -0
  27. package/gtm/getGtm.js.map +1 -0
  28. package/gtm/getGtms.d.ts +22 -0
  29. package/gtm/getGtms.js +24 -0
  30. package/gtm/getGtms.js.map +1 -0
  31. package/gtm/getRouting.d.ts +48 -0
  32. package/gtm/getRouting.js +28 -0
  33. package/gtm/getRouting.js.map +1 -0
  34. package/gtm/getRoutings.d.ts +22 -0
  35. package/gtm/getRoutings.js +24 -0
  36. package/gtm/getRoutings.js.map +1 -0
  37. package/gtm/getRule.d.ts +105 -0
  38. package/gtm/getRule.js +28 -0
  39. package/gtm/getRule.js.map +1 -0
  40. package/gtm/getRules.d.ts +22 -0
  41. package/gtm/getRules.js +24 -0
  42. package/gtm/getRules.js.map +1 -0
  43. package/gtm/gtm.d.ts +228 -0
  44. package/gtm/gtm.js +113 -0
  45. package/gtm/gtm.js.map +1 -0
  46. package/gtm/index.d.ts +27 -0
  47. package/gtm/index.js +34 -1
  48. package/gtm/index.js.map +1 -1
  49. package/gtm/routing.d.ts +89 -0
  50. package/gtm/routing.js +74 -0
  51. package/gtm/routing.js.map +1 -0
  52. package/gtm/rule.d.ts +226 -0
  53. package/gtm/rule.js +99 -0
  54. package/gtm/rule.js.map +1 -0
  55. package/iam/getOauthProvider.d.ts +44 -0
  56. package/iam/getOauthProvider.js +28 -0
  57. package/iam/getOauthProvider.js.map +1 -0
  58. package/iam/getOauthProviders.d.ts +22 -0
  59. package/iam/getOauthProviders.js +24 -0
  60. package/iam/getOauthProviders.js.map +1 -0
  61. package/iam/index.d.ts +9 -0
  62. package/iam/index.js +12 -1
  63. package/iam/index.js.map +1 -1
  64. package/iam/oauthProvider.d.ts +256 -0
  65. package/iam/oauthProvider.js +143 -0
  66. package/iam/oauthProvider.js.map +1 -0
  67. package/kafka/getUser.d.ts +34 -0
  68. package/kafka/getUser.js +28 -0
  69. package/kafka/getUser.js.map +1 -0
  70. package/kafka/getUsers.d.ts +22 -0
  71. package/kafka/getUsers.js +24 -0
  72. package/kafka/getUsers.js.map +1 -0
  73. package/kafka/index.d.ts +9 -0
  74. package/kafka/index.js +12 -1
  75. package/kafka/index.js.map +1 -1
  76. package/kafka/user.d.ts +155 -0
  77. package/kafka/user.js +97 -0
  78. package/kafka/user.js.map +1 -0
  79. package/mongodb/account.d.ts +146 -0
  80. package/mongodb/account.js +82 -0
  81. package/mongodb/account.js.map +1 -0
  82. package/mongodb/getAccount.d.ts +77 -0
  83. package/mongodb/getAccount.js +28 -0
  84. package/mongodb/getAccount.js.map +1 -0
  85. package/mongodb/getAccounts.d.ts +22 -0
  86. package/mongodb/getAccounts.js +24 -0
  87. package/mongodb/getAccounts.js.map +1 -0
  88. package/mongodb/index.d.ts +9 -0
  89. package/mongodb/index.js +12 -1
  90. package/mongodb/index.js.map +1 -1
  91. package/package.json +1 -1
  92. package/rdsmysql/endpointPublicAddress.d.ts +182 -0
  93. package/rdsmysql/endpointPublicAddress.js +104 -0
  94. package/rdsmysql/endpointPublicAddress.js.map +1 -0
  95. package/rdsmysql/getEndpointPublicAddress.d.ts +39 -0
  96. package/rdsmysql/getEndpointPublicAddress.js +28 -0
  97. package/rdsmysql/getEndpointPublicAddress.js.map +1 -0
  98. package/rdsmysql/getEndpointPublicAddresses.d.ts +22 -0
  99. package/rdsmysql/getEndpointPublicAddresses.js +24 -0
  100. package/rdsmysql/getEndpointPublicAddresses.js.map +1 -0
  101. package/rdsmysql/index.d.ts +9 -0
  102. package/rdsmysql/index.js +12 -1
  103. package/rdsmysql/index.js.map +1 -1
  104. package/tos/bucketAccessMonitor.d.ts +74 -0
  105. package/tos/bucketAccessMonitor.js +72 -0
  106. package/tos/bucketAccessMonitor.js.map +1 -0
  107. package/tos/getBucketAccessMonitor.d.ts +44 -0
  108. package/tos/getBucketAccessMonitor.js +28 -0
  109. package/tos/getBucketAccessMonitor.js.map +1 -0
  110. package/tos/getBucketAccessMonitors.d.ts +22 -0
  111. package/tos/getBucketAccessMonitors.js +24 -0
  112. package/tos/getBucketAccessMonitors.js.map +1 -0
  113. package/tos/index.d.ts +9 -0
  114. package/tos/index.js +12 -1
  115. package/tos/index.js.map +1 -1
  116. package/types/input.d.ts +143 -0
  117. package/types/output.d.ts +303 -0
  118. package/vepfs/fileset.d.ts +202 -0
  119. package/vepfs/fileset.js +106 -0
  120. package/vepfs/fileset.js.map +1 -0
  121. package/vepfs/getFileset.d.ts +41 -0
  122. package/vepfs/getFileset.js +28 -0
  123. package/vepfs/getFileset.js.map +1 -0
  124. package/vepfs/getFilesets.d.ts +22 -0
  125. package/vepfs/getFilesets.js +24 -0
  126. package/vepfs/getFilesets.js.map +1 -0
  127. package/vepfs/index.d.ts +9 -0
  128. package/vepfs/index.js +12 -1
  129. package/vepfs/index.js.map +1 -1
  130. package/vmp/getRuleFile.d.ts +37 -0
  131. package/vmp/getRuleFile.js +28 -0
  132. package/vmp/getRuleFile.js.map +1 -0
  133. package/vmp/getRuleFiles.d.ts +22 -0
  134. package/vmp/getRuleFiles.js +24 -0
  135. package/vmp/getRuleFiles.js.map +1 -0
  136. package/vmp/index.d.ts +9 -0
  137. package/vmp/index.js +12 -1
  138. package/vmp/index.js.map +1 -1
  139. package/vmp/ruleFile.d.ts +172 -0
  140. package/vmp/ruleFile.js +104 -0
  141. package/vmp/ruleFile.js.map +1 -0
@@ -0,0 +1,28 @@
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.getRecordOutput = exports.getRecord = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Data Source schema for Volcengine::DNS::Record
10
+ */
11
+ function getRecord(args, opts) {
12
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
13
+ return pulumi.runtime.invoke("volcenginecc:dns/getRecord:getRecord", {
14
+ "id": args.id,
15
+ }, opts);
16
+ }
17
+ exports.getRecord = getRecord;
18
+ /**
19
+ * Data Source schema for Volcengine::DNS::Record
20
+ */
21
+ function getRecordOutput(args, opts) {
22
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
23
+ return pulumi.runtime.invokeOutput("volcenginecc:dns/getRecord:getRecord", {
24
+ "id": args.id,
25
+ }, opts);
26
+ }
27
+ exports.getRecordOutput = getRecordOutput;
28
+ //# sourceMappingURL=getRecord.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getRecord.js","sourceRoot":"","sources":["../../dns/getRecord.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,SAAS,CAAC,IAAmB,EAAE,IAA2B;IACtE,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,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,8BAKC;AAyFD;;GAEG;AACH,SAAgB,eAAe,CAAC,IAAyB,EAAE,IAAiC;IACxF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,sCAAsC,EAAE;QACvE,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,0CAKC"}
@@ -0,0 +1,22 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Plural Data Source schema for Volcengine::DNS::Record
4
+ */
5
+ export declare function getRecords(opts?: pulumi.InvokeOptions): Promise<GetRecordsResult>;
6
+ /**
7
+ * A collection of values returned by getRecords.
8
+ */
9
+ export interface GetRecordsResult {
10
+ /**
11
+ * Uniquely identifies the data source.
12
+ */
13
+ readonly id: string;
14
+ /**
15
+ * Set of Resource Identifiers.
16
+ */
17
+ readonly ids: string[];
18
+ }
19
+ /**
20
+ * Plural Data Source schema for Volcengine::DNS::Record
21
+ */
22
+ export declare function getRecordsOutput(opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetRecordsResult>;
@@ -0,0 +1,24 @@
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.getRecordsOutput = exports.getRecords = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Plural Data Source schema for Volcengine::DNS::Record
10
+ */
11
+ function getRecords(opts) {
12
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
13
+ return pulumi.runtime.invoke("volcenginecc:dns/getRecords:getRecords", {}, opts);
14
+ }
15
+ exports.getRecords = getRecords;
16
+ /**
17
+ * Plural Data Source schema for Volcengine::DNS::Record
18
+ */
19
+ function getRecordsOutput(opts) {
20
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
21
+ return pulumi.runtime.invokeOutput("volcenginecc:dns/getRecords:getRecords", {}, opts);
22
+ }
23
+ exports.getRecordsOutput = getRecordsOutput;
24
+ //# sourceMappingURL=getRecords.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getRecords.js","sourceRoot":"","sources":["../../dns/getRecords.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,UAAU,CAAC,IAA2B;IAClD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,wCAAwC,EAAE,EACtE,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,gCAIC;AAeD;;GAEG;AACH,SAAgB,gBAAgB,CAAC,IAAiC;IAC9D,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,wCAAwC,EAAE,EAC5E,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,4CAIC"}
package/dns/index.d.ts CHANGED
@@ -1,9 +1,18 @@
1
+ export { GetRecordArgs, GetRecordResult, GetRecordOutputArgs } from "./getRecord";
2
+ export declare const getRecord: typeof import("./getRecord").getRecord;
3
+ export declare const getRecordOutput: typeof import("./getRecord").getRecordOutput;
4
+ export { GetRecordsResult } from "./getRecords";
5
+ export declare const getRecords: typeof import("./getRecords").getRecords;
6
+ export declare const getRecordsOutput: typeof import("./getRecords").getRecordsOutput;
1
7
  export { GetZoneArgs, GetZoneResult, GetZoneOutputArgs } from "./getZone";
2
8
  export declare const getZone: typeof import("./getZone").getZone;
3
9
  export declare const getZoneOutput: typeof import("./getZone").getZoneOutput;
4
10
  export { GetZonesResult } from "./getZones";
5
11
  export declare const getZones: typeof import("./getZones").getZones;
6
12
  export declare const getZonesOutput: typeof import("./getZones").getZonesOutput;
13
+ export { RecordArgs, RecordState } from "./record";
14
+ export type Record = import("./record").Record;
15
+ export declare const Record: typeof import("./record").Record;
7
16
  export { ZoneArgs, ZoneState } from "./zone";
8
17
  export type Zone = import("./zone").Zone;
9
18
  export declare const Zone: typeof import("./zone").Zone;
package/dns/index.js CHANGED
@@ -2,21 +2,31 @@
2
2
  // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
3
  // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
  Object.defineProperty(exports, "__esModule", { value: true });
5
- exports.Zone = exports.getZonesOutput = exports.getZones = exports.getZoneOutput = exports.getZone = void 0;
5
+ exports.Zone = exports.Record = exports.getZonesOutput = exports.getZones = exports.getZoneOutput = exports.getZone = exports.getRecordsOutput = exports.getRecords = exports.getRecordOutput = exports.getRecord = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("../utilities");
8
+ exports.getRecord = null;
9
+ exports.getRecordOutput = null;
10
+ utilities.lazyLoad(exports, ["getRecord", "getRecordOutput"], () => require("./getRecord"));
11
+ exports.getRecords = null;
12
+ exports.getRecordsOutput = null;
13
+ utilities.lazyLoad(exports, ["getRecords", "getRecordsOutput"], () => require("./getRecords"));
8
14
  exports.getZone = null;
9
15
  exports.getZoneOutput = null;
10
16
  utilities.lazyLoad(exports, ["getZone", "getZoneOutput"], () => require("./getZone"));
11
17
  exports.getZones = null;
12
18
  exports.getZonesOutput = null;
13
19
  utilities.lazyLoad(exports, ["getZones", "getZonesOutput"], () => require("./getZones"));
20
+ exports.Record = null;
21
+ utilities.lazyLoad(exports, ["Record"], () => require("./record"));
14
22
  exports.Zone = null;
15
23
  utilities.lazyLoad(exports, ["Zone"], () => require("./zone"));
16
24
  const _module = {
17
25
  version: utilities.getVersion(),
18
26
  construct: (name, type, urn) => {
19
27
  switch (type) {
28
+ case "volcenginecc:dns/record:Record":
29
+ return new exports.Record(name, undefined, { urn });
20
30
  case "volcenginecc:dns/zone:Zone":
21
31
  return new exports.Zone(name, undefined, { urn });
22
32
  default:
@@ -24,5 +34,6 @@ const _module = {
24
34
  }
25
35
  },
26
36
  };
37
+ pulumi.runtime.registerResourceModule("volcenginecc", "dns/record", _module);
27
38
  pulumi.runtime.registerResourceModule("volcenginecc", "dns/zone", _module);
28
39
  //# sourceMappingURL=index.js.map
package/dns/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../dns/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAI7B,QAAA,OAAO,GAAuC,IAAW,CAAC;AAC1D,QAAA,aAAa,GAA6C,IAAW,CAAC;AACnF,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,SAAS,EAAC,eAAe,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC;AAGxE,QAAA,QAAQ,GAAyC,IAAW,CAAC;AAC7D,QAAA,cAAc,GAA+C,IAAW,CAAC;AACtF,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,UAAU,EAAC,gBA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M,CAAC,OAAO,CAAC,sBAAsB,CAAC,cAAc,EAAE,YAAY,EAAE,OAAO,CAAC,CAAA;AAC5E,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,cAAc,EAAE,UAAU,EAAE,OAAO,CAAC,CAAA"}
@@ -0,0 +1,236 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * DNS record resource, used to create, query, update, delete, and list a single DNS record under a specified domain name.
4
+ *
5
+ * ## Example Usage
6
+ *
7
+ * ```typescript
8
+ * import * as pulumi from "@pulumi/pulumi";
9
+ * import * as volcenginecc from "@volcengine/pulumi-volcenginecc";
10
+ *
11
+ * const dNSRecordDemo = new volcenginecc.dns.Record("DNSRecordDemo", {
12
+ * zid: "xxxxxx",
13
+ * host: "test",
14
+ * type: "CNAME",
15
+ * value: "test1.example1.com",
16
+ * line: "default",
17
+ * remark: "test",
18
+ * ttl: 601,
19
+ * weight: 2,
20
+ * enable: false,
21
+ * });
22
+ * ```
23
+ *
24
+ * ## Import
25
+ *
26
+ * ```sh
27
+ * $ pulumi import volcenginecc:dns/record:Record example "zid|record_id"
28
+ * ```
29
+ */
30
+ export declare class Record extends pulumi.CustomResource {
31
+ /**
32
+ * Get an existing Record resource's state with the given name, ID, and optional extra
33
+ * properties used to qualify the lookup.
34
+ *
35
+ * @param name The _unique_ name of the resulting resource.
36
+ * @param id The _unique_ provider ID of the resource to lookup.
37
+ * @param state Any extra arguments used during the lookup.
38
+ * @param opts Optional settings to control the behavior of the CustomResource.
39
+ */
40
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: RecordState, opts?: pulumi.CustomResourceOptions): Record;
41
+ /**
42
+ * Returns true if the given object is an instance of Record. This is designed to work even
43
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
44
+ */
45
+ static isInstance(obj: any): obj is Record;
46
+ /**
47
+ * Creation time of the DNS record.
48
+ */
49
+ readonly createdAt: pulumi.Output<string>;
50
+ /**
51
+ * Whether the DNS record is enabled; if disabled, the record is inactive.
52
+ */
53
+ readonly enable: pulumi.Output<boolean>;
54
+ /**
55
+ * Host name included in the DNS record, using FQDN (Fully Qualified Domain Name) format; this field is deprecated.
56
+ */
57
+ readonly fqdn: pulumi.Output<string>;
58
+ /**
59
+ * Host record, the prefix of the subdomain; `@` represents the root domain itself.
60
+ */
61
+ readonly host: pulumi.Output<string>;
62
+ /**
63
+ * Line code corresponding to the DNS record, such as `default`.
64
+ */
65
+ readonly line: pulumi.Output<string>;
66
+ /**
67
+ * List of account IDs that recently operated on this DNS record.
68
+ */
69
+ readonly operators: pulumi.Output<string[]>;
70
+ /**
71
+ * Host name included in the DNS record, using PQDN (Partially Qualified Domain Name) format.
72
+ */
73
+ readonly pqdn: pulumi.Output<string>;
74
+ /**
75
+ * Unique ID of the DNS record.
76
+ */
77
+ readonly recordId: pulumi.Output<string>;
78
+ /**
79
+ * ID of the record set containing the DNS record; returned only for A, AAAA, and CNAME types.
80
+ */
81
+ readonly recordSetId: pulumi.Output<string>;
82
+ /**
83
+ * Remarks for the DNS record, supports UTF-8 encoding and up to 16 characters.
84
+ */
85
+ readonly remark: pulumi.Output<string>;
86
+ /**
87
+ * Tag information for the DNS record; if it contains `GTMLock`, the record is associated with a GTM instance.
88
+ */
89
+ readonly tags: pulumi.Output<string[]>;
90
+ /**
91
+ * Expiration time of the DNS record, in seconds.
92
+ */
93
+ readonly ttl: pulumi.Output<number>;
94
+ /**
95
+ * Record type, such as `A`, `AAAA`, `CNAME`, `NS`, `MX`, `SRV`, `TXT`.
96
+ */
97
+ readonly type: pulumi.Output<string>;
98
+ /**
99
+ * Last updated time of the DNS record.
100
+ */
101
+ readonly updatedAt: pulumi.Output<string>;
102
+ /**
103
+ * Record value of the DNS record.
104
+ */
105
+ readonly value: pulumi.Output<string>;
106
+ /**
107
+ * Weight of the DNS record, effective only when load balancing is enabled for the record set.
108
+ */
109
+ readonly weight: pulumi.Output<number>;
110
+ /**
111
+ * Domain name ID, can be obtained via interfaces such as `ListZones`.
112
+ */
113
+ readonly zid: pulumi.Output<string>;
114
+ /**
115
+ * Create a Record resource with the given unique name, arguments, and options.
116
+ *
117
+ * @param name The _unique_ name of the resource.
118
+ * @param args The arguments to use to populate this resource's properties.
119
+ * @param opts A bag of options that control this resource's behavior.
120
+ */
121
+ constructor(name: string, args: RecordArgs, opts?: pulumi.CustomResourceOptions);
122
+ }
123
+ /**
124
+ * Input properties used for looking up and filtering Record resources.
125
+ */
126
+ export interface RecordState {
127
+ /**
128
+ * Creation time of the DNS record.
129
+ */
130
+ createdAt?: pulumi.Input<string>;
131
+ /**
132
+ * Whether the DNS record is enabled; if disabled, the record is inactive.
133
+ */
134
+ enable?: pulumi.Input<boolean>;
135
+ /**
136
+ * Host name included in the DNS record, using FQDN (Fully Qualified Domain Name) format; this field is deprecated.
137
+ */
138
+ fqdn?: pulumi.Input<string>;
139
+ /**
140
+ * Host record, the prefix of the subdomain; `@` represents the root domain itself.
141
+ */
142
+ host?: pulumi.Input<string>;
143
+ /**
144
+ * Line code corresponding to the DNS record, such as `default`.
145
+ */
146
+ line?: pulumi.Input<string>;
147
+ /**
148
+ * List of account IDs that recently operated on this DNS record.
149
+ */
150
+ operators?: pulumi.Input<pulumi.Input<string>[]>;
151
+ /**
152
+ * Host name included in the DNS record, using PQDN (Partially Qualified Domain Name) format.
153
+ */
154
+ pqdn?: pulumi.Input<string>;
155
+ /**
156
+ * Unique ID of the DNS record.
157
+ */
158
+ recordId?: pulumi.Input<string>;
159
+ /**
160
+ * ID of the record set containing the DNS record; returned only for A, AAAA, and CNAME types.
161
+ */
162
+ recordSetId?: pulumi.Input<string>;
163
+ /**
164
+ * Remarks for the DNS record, supports UTF-8 encoding and up to 16 characters.
165
+ */
166
+ remark?: pulumi.Input<string>;
167
+ /**
168
+ * Tag information for the DNS record; if it contains `GTMLock`, the record is associated with a GTM instance.
169
+ */
170
+ tags?: pulumi.Input<pulumi.Input<string>[]>;
171
+ /**
172
+ * Expiration time of the DNS record, in seconds.
173
+ */
174
+ ttl?: pulumi.Input<number>;
175
+ /**
176
+ * Record type, such as `A`, `AAAA`, `CNAME`, `NS`, `MX`, `SRV`, `TXT`.
177
+ */
178
+ type?: pulumi.Input<string>;
179
+ /**
180
+ * Last updated time of the DNS record.
181
+ */
182
+ updatedAt?: pulumi.Input<string>;
183
+ /**
184
+ * Record value of the DNS record.
185
+ */
186
+ value?: pulumi.Input<string>;
187
+ /**
188
+ * Weight of the DNS record, effective only when load balancing is enabled for the record set.
189
+ */
190
+ weight?: pulumi.Input<number>;
191
+ /**
192
+ * Domain name ID, can be obtained via interfaces such as `ListZones`.
193
+ */
194
+ zid?: pulumi.Input<string>;
195
+ }
196
+ /**
197
+ * The set of arguments for constructing a Record resource.
198
+ */
199
+ export interface RecordArgs {
200
+ /**
201
+ * Whether the DNS record is enabled; if disabled, the record is inactive.
202
+ */
203
+ enable?: pulumi.Input<boolean>;
204
+ /**
205
+ * Host record, the prefix of the subdomain; `@` represents the root domain itself.
206
+ */
207
+ host: pulumi.Input<string>;
208
+ /**
209
+ * Line code corresponding to the DNS record, such as `default`.
210
+ */
211
+ line?: pulumi.Input<string>;
212
+ /**
213
+ * Remarks for the DNS record, supports UTF-8 encoding and up to 16 characters.
214
+ */
215
+ remark?: pulumi.Input<string>;
216
+ /**
217
+ * Expiration time of the DNS record, in seconds.
218
+ */
219
+ ttl?: pulumi.Input<number>;
220
+ /**
221
+ * Record type, such as `A`, `AAAA`, `CNAME`, `NS`, `MX`, `SRV`, `TXT`.
222
+ */
223
+ type: pulumi.Input<string>;
224
+ /**
225
+ * Record value of the DNS record.
226
+ */
227
+ value: pulumi.Input<string>;
228
+ /**
229
+ * Weight of the DNS record, effective only when load balancing is enabled for the record set.
230
+ */
231
+ weight?: pulumi.Input<number>;
232
+ /**
233
+ * Domain name ID, can be obtained via interfaces such as `ListZones`.
234
+ */
235
+ zid: pulumi.Input<string>;
236
+ }
package/dns/record.js ADDED
@@ -0,0 +1,121 @@
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
+ * DNS record resource, used to create, query, update, delete, and list a single DNS record under a specified domain name.
10
+ *
11
+ * ## Example Usage
12
+ *
13
+ * ```typescript
14
+ * import * as pulumi from "@pulumi/pulumi";
15
+ * import * as volcenginecc from "@volcengine/pulumi-volcenginecc";
16
+ *
17
+ * const dNSRecordDemo = new volcenginecc.dns.Record("DNSRecordDemo", {
18
+ * zid: "xxxxxx",
19
+ * host: "test",
20
+ * type: "CNAME",
21
+ * value: "test1.example1.com",
22
+ * line: "default",
23
+ * remark: "test",
24
+ * ttl: 601,
25
+ * weight: 2,
26
+ * enable: false,
27
+ * });
28
+ * ```
29
+ *
30
+ * ## Import
31
+ *
32
+ * ```sh
33
+ * $ pulumi import volcenginecc:dns/record:Record example "zid|record_id"
34
+ * ```
35
+ */
36
+ class Record extends pulumi.CustomResource {
37
+ /**
38
+ * Get an existing Record resource's state with the given name, ID, and optional extra
39
+ * properties used to qualify the lookup.
40
+ *
41
+ * @param name The _unique_ name of the resulting resource.
42
+ * @param id The _unique_ provider ID of the resource to lookup.
43
+ * @param state Any extra arguments used during the lookup.
44
+ * @param opts Optional settings to control the behavior of the CustomResource.
45
+ */
46
+ static get(name, id, state, opts) {
47
+ return new Record(name, state, Object.assign(Object.assign({}, opts), { id: id }));
48
+ }
49
+ /**
50
+ * Returns true if the given object is an instance of Record. This is designed to work even
51
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
52
+ */
53
+ static isInstance(obj) {
54
+ if (obj === undefined || obj === null) {
55
+ return false;
56
+ }
57
+ return obj['__pulumiType'] === Record.__pulumiType;
58
+ }
59
+ constructor(name, argsOrState, opts) {
60
+ let resourceInputs = {};
61
+ opts = opts || {};
62
+ if (opts.id) {
63
+ const state = argsOrState;
64
+ resourceInputs["createdAt"] = state ? state.createdAt : undefined;
65
+ resourceInputs["enable"] = state ? state.enable : undefined;
66
+ resourceInputs["fqdn"] = state ? state.fqdn : undefined;
67
+ resourceInputs["host"] = state ? state.host : undefined;
68
+ resourceInputs["line"] = state ? state.line : undefined;
69
+ resourceInputs["operators"] = state ? state.operators : undefined;
70
+ resourceInputs["pqdn"] = state ? state.pqdn : undefined;
71
+ resourceInputs["recordId"] = state ? state.recordId : undefined;
72
+ resourceInputs["recordSetId"] = state ? state.recordSetId : undefined;
73
+ resourceInputs["remark"] = state ? state.remark : undefined;
74
+ resourceInputs["tags"] = state ? state.tags : undefined;
75
+ resourceInputs["ttl"] = state ? state.ttl : undefined;
76
+ resourceInputs["type"] = state ? state.type : undefined;
77
+ resourceInputs["updatedAt"] = state ? state.updatedAt : undefined;
78
+ resourceInputs["value"] = state ? state.value : undefined;
79
+ resourceInputs["weight"] = state ? state.weight : undefined;
80
+ resourceInputs["zid"] = state ? state.zid : undefined;
81
+ }
82
+ else {
83
+ const args = argsOrState;
84
+ if ((!args || args.host === undefined) && !opts.urn) {
85
+ throw new Error("Missing required property 'host'");
86
+ }
87
+ if ((!args || args.type === undefined) && !opts.urn) {
88
+ throw new Error("Missing required property 'type'");
89
+ }
90
+ if ((!args || args.value === undefined) && !opts.urn) {
91
+ throw new Error("Missing required property 'value'");
92
+ }
93
+ if ((!args || args.zid === undefined) && !opts.urn) {
94
+ throw new Error("Missing required property 'zid'");
95
+ }
96
+ resourceInputs["enable"] = args ? args.enable : undefined;
97
+ resourceInputs["host"] = args ? args.host : undefined;
98
+ resourceInputs["line"] = args ? args.line : undefined;
99
+ resourceInputs["remark"] = args ? args.remark : undefined;
100
+ resourceInputs["ttl"] = args ? args.ttl : undefined;
101
+ resourceInputs["type"] = args ? args.type : undefined;
102
+ resourceInputs["value"] = args ? args.value : undefined;
103
+ resourceInputs["weight"] = args ? args.weight : undefined;
104
+ resourceInputs["zid"] = args ? args.zid : undefined;
105
+ resourceInputs["createdAt"] = undefined /*out*/;
106
+ resourceInputs["fqdn"] = undefined /*out*/;
107
+ resourceInputs["operators"] = undefined /*out*/;
108
+ resourceInputs["pqdn"] = undefined /*out*/;
109
+ resourceInputs["recordId"] = undefined /*out*/;
110
+ resourceInputs["recordSetId"] = undefined /*out*/;
111
+ resourceInputs["tags"] = undefined /*out*/;
112
+ resourceInputs["updatedAt"] = undefined /*out*/;
113
+ }
114
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
115
+ super(Record.__pulumiType, name, resourceInputs, opts);
116
+ }
117
+ }
118
+ exports.Record = Record;
119
+ /** @internal */
120
+ Record.__pulumiType = 'volcenginecc:dns/record:Record';
121
+ //# 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;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;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;IA+ED,YAAY,IAAY,EAAE,WAAsC,EAAE,IAAmC;QACjG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,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YAChD,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3C,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3C,cAAc,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC/C,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAClD,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3C,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACnD;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;;AAjKL,wBAkKC;AApJG,gBAAgB;AACO,mBAAY,GAAG,gCAAgC,CAAC"}
@@ -0,0 +1,100 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Data Source schema for Volcengine::GTM::GTM
4
+ */
5
+ export declare function getGtm(args: GetGtmArgs, opts?: pulumi.InvokeOptions): Promise<GetGtmResult>;
6
+ /**
7
+ * A collection of arguments for invoking getGtm.
8
+ */
9
+ export interface GetGtmArgs {
10
+ /**
11
+ * Uniquely identifies the resource.
12
+ */
13
+ id: string;
14
+ }
15
+ /**
16
+ * A collection of values returned by getGtm.
17
+ */
18
+ export interface GetGtmResult {
19
+ /**
20
+ * Access method for the GTM instance. `cname` means a scheduling domain name is generated and you configure CNAME at your DNS provider; `domain` means Cloud DNS directly resolves the business domain name to the target address
21
+ */
22
+ readonly accessMode: string;
23
+ /**
24
+ * Alarm rule ID associated with the GTM instance
25
+ */
26
+ readonly alarmId: string;
27
+ /**
28
+ * Scheduling domain name of the GTM instance
29
+ */
30
+ readonly cname: string;
31
+ /**
32
+ * Creation time of the GTM instance. Accurate to milliseconds, formatted according to ISO 8601 standard
33
+ */
34
+ readonly createTime: string;
35
+ /**
36
+ * Domain name of the GTM instance, such as `www.example.com`
37
+ */
38
+ readonly domain: string;
39
+ /**
40
+ * UUID of the GTM instance
41
+ */
42
+ readonly gtmId: string;
43
+ /**
44
+ * Uniquely identifies the resource.
45
+ */
46
+ readonly id: string;
47
+ /**
48
+ * Account that last operated the GTM instance
49
+ */
50
+ readonly lastOperator: string;
51
+ /**
52
+ * Account that created the GTM instance
53
+ */
54
+ readonly owner: string;
55
+ /**
56
+ * Routing policy type. `geo` indicates basic routing policy, `perf` indicates intelligent routing policy
57
+ */
58
+ readonly policyType: string;
59
+ /**
60
+ * Project name to which the GTM instance belongs
61
+ */
62
+ readonly projectName: string;
63
+ /**
64
+ * Remark information for the GTM instance
65
+ */
66
+ readonly remark: string;
67
+ /**
68
+ * Feature version of the GTM instance. `ultimate` indicates flagship edition, `standard` indicates standard edition
69
+ */
70
+ readonly specName: string;
71
+ /**
72
+ * Current lifecycle status of the GTM instance, such as `init`: indicates the GTM instance has been successfully created but not yet configured. `configuringAddress`: indicates basic rule configuration is complete but target address configuration is not yet finished. `editing`: indicates both basic configuration and target address are completed but the instance is not yet enabled. `running`: indicates the instance is officially enabled
73
+ */
74
+ readonly state: string;
75
+ /**
76
+ * Expiration time of the DNS record, in seconds
77
+ */
78
+ readonly ttl: number;
79
+ /**
80
+ * Most recent modification time of the GTM instance. Accurate to milliseconds, formatted according to ISO 8601 standard
81
+ */
82
+ readonly updateTime: string;
83
+ /**
84
+ * This parameter has no practical significance and can be ignored
85
+ */
86
+ readonly zoneType: string;
87
+ }
88
+ /**
89
+ * Data Source schema for Volcengine::GTM::GTM
90
+ */
91
+ export declare function getGtmOutput(args: GetGtmOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetGtmResult>;
92
+ /**
93
+ * A collection of arguments for invoking getGtm.
94
+ */
95
+ export interface GetGtmOutputArgs {
96
+ /**
97
+ * Uniquely identifies the resource.
98
+ */
99
+ id: pulumi.Input<string>;
100
+ }
package/gtm/getGtm.js ADDED
@@ -0,0 +1,28 @@
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.getGtmOutput = exports.getGtm = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Data Source schema for Volcengine::GTM::GTM
10
+ */
11
+ function getGtm(args, opts) {
12
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
13
+ return pulumi.runtime.invoke("volcenginecc:gtm/getGtm:getGtm", {
14
+ "id": args.id,
15
+ }, opts);
16
+ }
17
+ exports.getGtm = getGtm;
18
+ /**
19
+ * Data Source schema for Volcengine::GTM::GTM
20
+ */
21
+ function getGtmOutput(args, opts) {
22
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
23
+ return pulumi.runtime.invokeOutput("volcenginecc:gtm/getGtm:getGtm", {
24
+ "id": args.id,
25
+ }, opts);
26
+ }
27
+ exports.getGtmOutput = getGtmOutput;
28
+ //# sourceMappingURL=getGtm.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getGtm.js","sourceRoot":"","sources":["../../gtm/getGtm.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,MAAM,CAAC,IAAgB,EAAE,IAA2B;IAChE,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,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,wBAKC;AAqFD;;GAEG;AACH,SAAgB,YAAY,CAAC,IAAsB,EAAE,IAAiC;IAClF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,gCAAgC,EAAE;QACjE,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,oCAKC"}