@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,22 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Plural Data Source schema for Volcengine::GTM::GTM
4
+ */
5
+ export declare function getGtms(opts?: pulumi.InvokeOptions): Promise<GetGtmsResult>;
6
+ /**
7
+ * A collection of values returned by getGtms.
8
+ */
9
+ export interface GetGtmsResult {
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::GTM::GTM
21
+ */
22
+ export declare function getGtmsOutput(opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetGtmsResult>;
package/gtm/getGtms.js ADDED
@@ -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.getGtmsOutput = exports.getGtms = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Plural Data Source schema for Volcengine::GTM::GTM
10
+ */
11
+ function getGtms(opts) {
12
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
13
+ return pulumi.runtime.invoke("volcenginecc:gtm/getGtms:getGtms", {}, opts);
14
+ }
15
+ exports.getGtms = getGtms;
16
+ /**
17
+ * Plural Data Source schema for Volcengine::GTM::GTM
18
+ */
19
+ function getGtmsOutput(opts) {
20
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
21
+ return pulumi.runtime.invokeOutput("volcenginecc:gtm/getGtms:getGtms", {}, opts);
22
+ }
23
+ exports.getGtmsOutput = getGtmsOutput;
24
+ //# sourceMappingURL=getGtms.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getGtms.js","sourceRoot":"","sources":["../../gtm/getGtms.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,OAAO,CAAC,IAA2B;IAC/C,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,kCAAkC,EAAE,EAChE,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,0BAIC;AAeD;;GAEG;AACH,SAAgB,aAAa,CAAC,IAAiC;IAC3D,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,kCAAkC,EAAE,EACtE,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,sCAIC"}
@@ -0,0 +1,48 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Data Source schema for Volcengine::GTM::Routing
4
+ */
5
+ export declare function getRouting(args: GetRoutingArgs, opts?: pulumi.InvokeOptions): Promise<GetRoutingResult>;
6
+ /**
7
+ * A collection of arguments for invoking getRouting.
8
+ */
9
+ export interface GetRoutingArgs {
10
+ /**
11
+ * Uniquely identifies the resource.
12
+ */
13
+ id: string;
14
+ }
15
+ /**
16
+ * A collection of values returned by getRouting.
17
+ */
18
+ export interface GetRoutingResult {
19
+ /**
20
+ * UUID of the GTM instance. You can obtain GtmId via the ListGtms API.
21
+ */
22
+ readonly gtmId: string;
23
+ /**
24
+ * Uniquely identifies the resource.
25
+ */
26
+ readonly id: string;
27
+ /**
28
+ * Start/stop GTM instance. true: Start GTM instance. false: Stop GTM instance.
29
+ */
30
+ readonly routingEnabled: boolean;
31
+ /**
32
+ * Indicates the current lifecycle state of the GTM instance. Value description: init: The GTM instance has been successfully created but not yet configured. configuring_address: Basic rule configuration for GTM is complete, but target address configuration is not yet finished. editing: Both basic configuration and target address have been completed, but the instance is not yet enabled. running: The instance is officially enabled.
33
+ */
34
+ readonly routingStatus: string;
35
+ }
36
+ /**
37
+ * Data Source schema for Volcengine::GTM::Routing
38
+ */
39
+ export declare function getRoutingOutput(args: GetRoutingOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetRoutingResult>;
40
+ /**
41
+ * A collection of arguments for invoking getRouting.
42
+ */
43
+ export interface GetRoutingOutputArgs {
44
+ /**
45
+ * Uniquely identifies the resource.
46
+ */
47
+ id: pulumi.Input<string>;
48
+ }
@@ -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.getRoutingOutput = exports.getRouting = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Data Source schema for Volcengine::GTM::Routing
10
+ */
11
+ function getRouting(args, opts) {
12
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
13
+ return pulumi.runtime.invoke("volcenginecc:gtm/getRouting:getRouting", {
14
+ "id": args.id,
15
+ }, opts);
16
+ }
17
+ exports.getRouting = getRouting;
18
+ /**
19
+ * Data Source schema for Volcengine::GTM::Routing
20
+ */
21
+ function getRoutingOutput(args, opts) {
22
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
23
+ return pulumi.runtime.invokeOutput("volcenginecc:gtm/getRouting:getRouting", {
24
+ "id": args.id,
25
+ }, opts);
26
+ }
27
+ exports.getRoutingOutput = getRoutingOutput;
28
+ //# sourceMappingURL=getRouting.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getRouting.js","sourceRoot":"","sources":["../../gtm/getRouting.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,UAAU,CAAC,IAAoB,EAAE,IAA2B;IACxE,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;QACnE,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,gCAKC;AAiCD;;GAEG;AACH,SAAgB,gBAAgB,CAAC,IAA0B,EAAE,IAAiC;IAC1F,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;QACzE,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,4CAKC"}
@@ -0,0 +1,22 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Plural Data Source schema for Volcengine::GTM::Routing
4
+ */
5
+ export declare function getRoutings(opts?: pulumi.InvokeOptions): Promise<GetRoutingsResult>;
6
+ /**
7
+ * A collection of values returned by getRoutings.
8
+ */
9
+ export interface GetRoutingsResult {
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::GTM::Routing
21
+ */
22
+ export declare function getRoutingsOutput(opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetRoutingsResult>;
@@ -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.getRoutingsOutput = exports.getRoutings = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Plural Data Source schema for Volcengine::GTM::Routing
10
+ */
11
+ function getRoutings(opts) {
12
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
13
+ return pulumi.runtime.invoke("volcenginecc:gtm/getRoutings:getRoutings", {}, opts);
14
+ }
15
+ exports.getRoutings = getRoutings;
16
+ /**
17
+ * Plural Data Source schema for Volcengine::GTM::Routing
18
+ */
19
+ function getRoutingsOutput(opts) {
20
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
21
+ return pulumi.runtime.invokeOutput("volcenginecc:gtm/getRoutings:getRoutings", {}, opts);
22
+ }
23
+ exports.getRoutingsOutput = getRoutingsOutput;
24
+ //# sourceMappingURL=getRoutings.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getRoutings.js","sourceRoot":"","sources":["../../gtm/getRoutings.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,WAAW,CAAC,IAA2B;IACnD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,0CAA0C,EAAE,EACxE,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,kCAIC;AAeD;;GAEG;AACH,SAAgB,iBAAiB,CAAC,IAAiC;IAC/D,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,0CAA0C,EAAE,EAC9E,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,8CAIC"}
@@ -0,0 +1,105 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as outputs from "../types/output";
3
+ /**
4
+ * Data Source schema for Volcengine::GTM::Rule
5
+ */
6
+ export declare function getRule(args: GetRuleArgs, opts?: pulumi.InvokeOptions): Promise<GetRuleResult>;
7
+ /**
8
+ * A collection of arguments for invoking getRule.
9
+ */
10
+ export interface GetRuleArgs {
11
+ /**
12
+ * Uniquely identifies the resource.
13
+ */
14
+ id: string;
15
+ }
16
+ /**
17
+ * A collection of values returned by getRule.
18
+ */
19
+ export interface GetRuleResult {
20
+ /**
21
+ * Route rule creation time.
22
+ */
23
+ readonly createTime: string;
24
+ /**
25
+ * Whether this route rule is disabled. true: The route rule is disabled. false: The route rule is enabled.
26
+ */
27
+ readonly disable: boolean;
28
+ /**
29
+ * Index of the effective address pool set.
30
+ */
31
+ readonly effectivePoolSetIndex: number;
32
+ /**
33
+ * UUID of the GTM instance.
34
+ */
35
+ readonly gtmId: string;
36
+ /**
37
+ * Uniquely identifies the resource.
38
+ */
39
+ readonly id: string;
40
+ /**
41
+ * Route rule applicable lines.
42
+ */
43
+ readonly line: string;
44
+ /**
45
+ * Route rule name.
46
+ */
47
+ readonly name: string;
48
+ /**
49
+ * The policy type corresponding to the routing rule. geo: basic routing. perf: intelligent routing.
50
+ */
51
+ readonly policyType: string;
52
+ /**
53
+ * Address pool set effective mode. auto: Automatically sets the effective address pool set. The highest-priority available address pool becomes effective automatically. If all address pools are unavailable, the highest-priority address pool becomes effective. manual: Manually sets the effective address pool set. In this mode, you need to set the index of the effective address pool set in the EffectivePoolSetIndex parameter.
54
+ */
55
+ readonly poolSetMode: string;
56
+ /**
57
+ * Address pool collection list.
58
+ */
59
+ readonly poolSets: outputs.gtm.GetRulePoolSet[];
60
+ /**
61
+ * Health check parameters for the route rule.
62
+ */
63
+ readonly probe: outputs.gtm.GetRuleProbe;
64
+ /**
65
+ * Health check mode.
66
+ */
67
+ readonly probeMode: string;
68
+ /**
69
+ * Route rule remarks.
70
+ */
71
+ readonly remark: string;
72
+ /**
73
+ * Routing rule ID.
74
+ */
75
+ readonly ruleId: string;
76
+ /**
77
+ * Route rule update time.
78
+ */
79
+ readonly updateTime: string;
80
+ /**
81
+ * Whether to inherit instance-level health check nodes.
82
+ */
83
+ readonly usePolicyProbeNodes: boolean;
84
+ /**
85
+ * Whether to use route rule-level probe configuration.
86
+ */
87
+ readonly useRuleProbeConfig: boolean;
88
+ /**
89
+ * Routing rule weight.
90
+ */
91
+ readonly weight: number;
92
+ }
93
+ /**
94
+ * Data Source schema for Volcengine::GTM::Rule
95
+ */
96
+ export declare function getRuleOutput(args: GetRuleOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetRuleResult>;
97
+ /**
98
+ * A collection of arguments for invoking getRule.
99
+ */
100
+ export interface GetRuleOutputArgs {
101
+ /**
102
+ * Uniquely identifies the resource.
103
+ */
104
+ id: pulumi.Input<string>;
105
+ }
package/gtm/getRule.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.getRuleOutput = exports.getRule = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Data Source schema for Volcengine::GTM::Rule
10
+ */
11
+ function getRule(args, opts) {
12
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
13
+ return pulumi.runtime.invoke("volcenginecc:gtm/getRule:getRule", {
14
+ "id": args.id,
15
+ }, opts);
16
+ }
17
+ exports.getRule = getRule;
18
+ /**
19
+ * Data Source schema for Volcengine::GTM::Rule
20
+ */
21
+ function getRuleOutput(args, opts) {
22
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
23
+ return pulumi.runtime.invokeOutput("volcenginecc:gtm/getRule:getRule", {
24
+ "id": args.id,
25
+ }, opts);
26
+ }
27
+ exports.getRuleOutput = getRuleOutput;
28
+ //# sourceMappingURL=getRule.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getRule.js","sourceRoot":"","sources":["../../gtm/getRule.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,OAAO,CAAC,IAAiB,EAAE,IAA2B;IAClE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,kCAAkC,EAAE;QAC7D,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,0BAKC;AAyFD;;GAEG;AACH,SAAgB,aAAa,CAAC,IAAuB,EAAE,IAAiC;IACpF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,kCAAkC,EAAE;QACnE,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,sCAKC"}
@@ -0,0 +1,22 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Plural Data Source schema for Volcengine::GTM::Rule
4
+ */
5
+ export declare function getRules(opts?: pulumi.InvokeOptions): Promise<GetRulesResult>;
6
+ /**
7
+ * A collection of values returned by getRules.
8
+ */
9
+ export interface GetRulesResult {
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::GTM::Rule
21
+ */
22
+ export declare function getRulesOutput(opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetRulesResult>;
@@ -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.getRulesOutput = exports.getRules = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Plural Data Source schema for Volcengine::GTM::Rule
10
+ */
11
+ function getRules(opts) {
12
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
13
+ return pulumi.runtime.invoke("volcenginecc:gtm/getRules:getRules", {}, opts);
14
+ }
15
+ exports.getRules = getRules;
16
+ /**
17
+ * Plural Data Source schema for Volcengine::GTM::Rule
18
+ */
19
+ function getRulesOutput(opts) {
20
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
21
+ return pulumi.runtime.invokeOutput("volcenginecc:gtm/getRules:getRules", {}, opts);
22
+ }
23
+ exports.getRulesOutput = getRulesOutput;
24
+ //# sourceMappingURL=getRules.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getRules.js","sourceRoot":"","sources":["../../gtm/getRules.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,QAAQ,CAAC,IAA2B;IAChD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,oCAAoC,EAAE,EAClE,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,4BAIC;AAeD;;GAEG;AACH,SAAgB,cAAc,CAAC,IAAiC;IAC5D,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,oCAAoC,EAAE,EACxE,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,wCAIC"}
package/gtm/gtm.d.ts ADDED
@@ -0,0 +1,228 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * The GTM instance is the core resource in Cloud Scheduling GTM for hosting scheduling domain names, routing policies, and health check configurations. After creating a GTM instance, you can use it to configure global traffic scheduling, failover, and health check capabilities for your business 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 gTMGTMDemo = new volcenginecc.gtm.Gtm("GTMGTMDemo", {
12
+ * domain: "www.example4.com",
13
+ * accessMode: "cname",
14
+ * cname: "gtm-cname.example4.com.bdns-gtm-pressure.com",
15
+ * projectName: "default",
16
+ * remark: "gtm test",
17
+ * specName: "ultimate",
18
+ * ttl: 600,
19
+ * policyType: "perf",
20
+ * alarmId: "71xxxx26d79-2b08-4033-b025-71xxxx26d79",
21
+ * });
22
+ * ```
23
+ *
24
+ * ## Import
25
+ *
26
+ * ```sh
27
+ * $ pulumi import volcenginecc:gtm/gtm:Gtm example "gtm_id"
28
+ * ```
29
+ */
30
+ export declare class Gtm extends pulumi.CustomResource {
31
+ /**
32
+ * Get an existing Gtm 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?: GtmState, opts?: pulumi.CustomResourceOptions): Gtm;
41
+ /**
42
+ * Returns true if the given object is an instance of Gtm. 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 Gtm;
46
+ /**
47
+ * 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
48
+ */
49
+ readonly accessMode: pulumi.Output<string>;
50
+ /**
51
+ * Alarm rule ID associated with the GTM instance
52
+ */
53
+ readonly alarmId: pulumi.Output<string>;
54
+ /**
55
+ * Scheduling domain name of the GTM instance
56
+ */
57
+ readonly cname: pulumi.Output<string>;
58
+ /**
59
+ * Creation time of the GTM instance. Accurate to milliseconds, formatted according to ISO 8601 standard
60
+ */
61
+ readonly createTime: pulumi.Output<string>;
62
+ /**
63
+ * Domain name of the GTM instance, such as `www.example.com`
64
+ */
65
+ readonly domain: pulumi.Output<string>;
66
+ /**
67
+ * UUID of the GTM instance
68
+ */
69
+ readonly gtmId: pulumi.Output<string>;
70
+ /**
71
+ * Account that last operated the GTM instance
72
+ */
73
+ readonly lastOperator: pulumi.Output<string>;
74
+ /**
75
+ * Account that created the GTM instance
76
+ */
77
+ readonly owner: pulumi.Output<string>;
78
+ /**
79
+ * Routing policy type. `geo` indicates basic routing policy, `perf` indicates intelligent routing policy
80
+ */
81
+ readonly policyType: pulumi.Output<string>;
82
+ /**
83
+ * Project name to which the GTM instance belongs
84
+ */
85
+ readonly projectName: pulumi.Output<string>;
86
+ /**
87
+ * Remark information for the GTM instance
88
+ */
89
+ readonly remark: pulumi.Output<string>;
90
+ /**
91
+ * Feature version of the GTM instance. `ultimate` indicates flagship edition, `standard` indicates standard edition
92
+ */
93
+ readonly specName: pulumi.Output<string>;
94
+ /**
95
+ * 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
96
+ */
97
+ readonly state: pulumi.Output<string>;
98
+ /**
99
+ * Expiration time of the DNS record, in seconds
100
+ */
101
+ readonly ttl: pulumi.Output<number>;
102
+ /**
103
+ * Most recent modification time of the GTM instance. Accurate to milliseconds, formatted according to ISO 8601 standard
104
+ */
105
+ readonly updateTime: pulumi.Output<string>;
106
+ /**
107
+ * This parameter has no practical significance and can be ignored
108
+ */
109
+ readonly zoneType: pulumi.Output<string>;
110
+ /**
111
+ * Create a Gtm resource with the given unique name, arguments, and options.
112
+ *
113
+ * @param name The _unique_ name of the resource.
114
+ * @param args The arguments to use to populate this resource's properties.
115
+ * @param opts A bag of options that control this resource's behavior.
116
+ */
117
+ constructor(name: string, args: GtmArgs, opts?: pulumi.CustomResourceOptions);
118
+ }
119
+ /**
120
+ * Input properties used for looking up and filtering Gtm resources.
121
+ */
122
+ export interface GtmState {
123
+ /**
124
+ * 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
125
+ */
126
+ accessMode?: pulumi.Input<string>;
127
+ /**
128
+ * Alarm rule ID associated with the GTM instance
129
+ */
130
+ alarmId?: pulumi.Input<string>;
131
+ /**
132
+ * Scheduling domain name of the GTM instance
133
+ */
134
+ cname?: pulumi.Input<string>;
135
+ /**
136
+ * Creation time of the GTM instance. Accurate to milliseconds, formatted according to ISO 8601 standard
137
+ */
138
+ createTime?: pulumi.Input<string>;
139
+ /**
140
+ * Domain name of the GTM instance, such as `www.example.com`
141
+ */
142
+ domain?: pulumi.Input<string>;
143
+ /**
144
+ * UUID of the GTM instance
145
+ */
146
+ gtmId?: pulumi.Input<string>;
147
+ /**
148
+ * Account that last operated the GTM instance
149
+ */
150
+ lastOperator?: pulumi.Input<string>;
151
+ /**
152
+ * Account that created the GTM instance
153
+ */
154
+ owner?: pulumi.Input<string>;
155
+ /**
156
+ * Routing policy type. `geo` indicates basic routing policy, `perf` indicates intelligent routing policy
157
+ */
158
+ policyType?: pulumi.Input<string>;
159
+ /**
160
+ * Project name to which the GTM instance belongs
161
+ */
162
+ projectName?: pulumi.Input<string>;
163
+ /**
164
+ * Remark information for the GTM instance
165
+ */
166
+ remark?: pulumi.Input<string>;
167
+ /**
168
+ * Feature version of the GTM instance. `ultimate` indicates flagship edition, `standard` indicates standard edition
169
+ */
170
+ specName?: pulumi.Input<string>;
171
+ /**
172
+ * 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
173
+ */
174
+ state?: pulumi.Input<string>;
175
+ /**
176
+ * Expiration time of the DNS record, in seconds
177
+ */
178
+ ttl?: pulumi.Input<number>;
179
+ /**
180
+ * Most recent modification time of the GTM instance. Accurate to milliseconds, formatted according to ISO 8601 standard
181
+ */
182
+ updateTime?: pulumi.Input<string>;
183
+ /**
184
+ * This parameter has no practical significance and can be ignored
185
+ */
186
+ zoneType?: pulumi.Input<string>;
187
+ }
188
+ /**
189
+ * The set of arguments for constructing a Gtm resource.
190
+ */
191
+ export interface GtmArgs {
192
+ /**
193
+ * 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
194
+ */
195
+ accessMode: pulumi.Input<string>;
196
+ /**
197
+ * Alarm rule ID associated with the GTM instance
198
+ */
199
+ alarmId?: pulumi.Input<string>;
200
+ /**
201
+ * Scheduling domain name of the GTM instance
202
+ */
203
+ cname?: pulumi.Input<string>;
204
+ /**
205
+ * Domain name of the GTM instance, such as `www.example.com`
206
+ */
207
+ domain: pulumi.Input<string>;
208
+ /**
209
+ * Routing policy type. `geo` indicates basic routing policy, `perf` indicates intelligent routing policy
210
+ */
211
+ policyType?: pulumi.Input<string>;
212
+ /**
213
+ * Project name to which the GTM instance belongs
214
+ */
215
+ projectName?: pulumi.Input<string>;
216
+ /**
217
+ * Remark information for the GTM instance
218
+ */
219
+ remark?: pulumi.Input<string>;
220
+ /**
221
+ * Feature version of the GTM instance. `ultimate` indicates flagship edition, `standard` indicates standard edition
222
+ */
223
+ specName?: pulumi.Input<string>;
224
+ /**
225
+ * Expiration time of the DNS record, in seconds
226
+ */
227
+ ttl?: pulumi.Input<number>;
228
+ }