@volcengine/pulumi-volcenginecc 0.0.47 → 0.0.49

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 (164) hide show
  1. package/apig/upstream.d.ts +12 -0
  2. package/apig/upstream.d.ts.map +1 -1
  3. package/apig/upstream.js +8 -1
  4. package/apig/upstream.js.map +1 -1
  5. package/ecs/getKeypair.d.ts +4 -0
  6. package/ecs/getKeypair.d.ts.map +1 -1
  7. package/ecs/getKeypair.js.map +1 -1
  8. package/ecs/keypair.d.ts +8 -0
  9. package/ecs/keypair.d.ts.map +1 -1
  10. package/ecs/keypair.js +2 -0
  11. package/ecs/keypair.js.map +1 -1
  12. package/escloud/getIpAllowList.d.ts +33 -0
  13. package/escloud/getIpAllowList.d.ts.map +1 -0
  14. package/escloud/getIpAllowList.js +51 -0
  15. package/escloud/getIpAllowList.js.map +1 -0
  16. package/escloud/getIpAllowLists.d.ts +23 -0
  17. package/escloud/getIpAllowLists.d.ts.map +1 -0
  18. package/escloud/getIpAllowLists.js +47 -0
  19. package/escloud/getIpAllowLists.js.map +1 -0
  20. package/escloud/index.d.ts +9 -0
  21. package/escloud/index.d.ts.map +1 -1
  22. package/escloud/index.js +12 -1
  23. package/escloud/index.js.map +1 -1
  24. package/escloud/ipAllowList.d.ts +146 -0
  25. package/escloud/ipAllowList.d.ts.map +1 -0
  26. package/escloud/ipAllowList.js +131 -0
  27. package/escloud/ipAllowList.js.map +1 -0
  28. package/id/getOauth2CredentialProvider.d.ts +74 -0
  29. package/id/getOauth2CredentialProvider.d.ts.map +1 -0
  30. package/id/getOauth2CredentialProvider.js +51 -0
  31. package/id/getOauth2CredentialProvider.js.map +1 -0
  32. package/id/getOauth2CredentialProviders.d.ts +23 -0
  33. package/id/getOauth2CredentialProviders.d.ts.map +1 -0
  34. package/id/getOauth2CredentialProviders.js +47 -0
  35. package/id/getOauth2CredentialProviders.js.map +1 -0
  36. package/id/index.d.ts +9 -0
  37. package/id/index.d.ts.map +1 -1
  38. package/id/index.js +12 -1
  39. package/id/index.js.map +1 -1
  40. package/id/oauth2CredentialProvider.d.ts +191 -0
  41. package/id/oauth2CredentialProvider.d.ts.map +1 -0
  42. package/id/oauth2CredentialProvider.js +157 -0
  43. package/id/oauth2CredentialProvider.js.map +1 -0
  44. package/kms/getSecret.d.ts +29 -0
  45. package/kms/getSecret.d.ts.map +1 -1
  46. package/kms/getSecret.js.map +1 -1
  47. package/kms/secret.d.ts +80 -0
  48. package/kms/secret.d.ts.map +1 -1
  49. package/kms/secret.js +14 -0
  50. package/kms/secret.js.map +1 -1
  51. package/package.json +1 -1
  52. package/tls/alarmContentTemplateType.d.ts +263 -0
  53. package/tls/alarmContentTemplateType.d.ts.map +1 -0
  54. package/tls/alarmContentTemplateType.js +183 -0
  55. package/tls/alarmContentTemplateType.js.map +1 -0
  56. package/tls/downloadTask.d.ts +295 -0
  57. package/tls/downloadTask.d.ts.map +1 -0
  58. package/tls/downloadTask.js +170 -0
  59. package/tls/downloadTask.js.map +1 -0
  60. package/tls/getAlarmContentTemplateType.d.ts +90 -0
  61. package/tls/getAlarmContentTemplateType.d.ts.map +1 -0
  62. package/tls/getAlarmContentTemplateType.js +51 -0
  63. package/tls/getAlarmContentTemplateType.js.map +1 -0
  64. package/tls/getAlarmContentTemplateTypes.d.ts +23 -0
  65. package/tls/getAlarmContentTemplateTypes.d.ts.map +1 -0
  66. package/tls/getAlarmContentTemplateTypes.js +47 -0
  67. package/tls/getAlarmContentTemplateTypes.js.map +1 -0
  68. package/tls/getDownloadTask.d.ts +118 -0
  69. package/tls/getDownloadTask.d.ts.map +1 -0
  70. package/tls/getDownloadTask.js +51 -0
  71. package/tls/getDownloadTask.js.map +1 -0
  72. package/tls/getDownloadTasks.d.ts +23 -0
  73. package/tls/getDownloadTasks.d.ts.map +1 -0
  74. package/tls/getDownloadTasks.js +47 -0
  75. package/tls/getDownloadTasks.js.map +1 -0
  76. package/tls/getRuleBoundHostGroup.d.ts +50 -0
  77. package/tls/getRuleBoundHostGroup.d.ts.map +1 -0
  78. package/tls/getRuleBoundHostGroup.js +51 -0
  79. package/tls/getRuleBoundHostGroup.js.map +1 -0
  80. package/tls/getRuleBoundHostGroups.d.ts +23 -0
  81. package/tls/getRuleBoundHostGroups.d.ts.map +1 -0
  82. package/tls/getRuleBoundHostGroups.js +47 -0
  83. package/tls/getRuleBoundHostGroups.js.map +1 -0
  84. package/tls/getTopic.d.ts +12 -0
  85. package/tls/getTopic.d.ts.map +1 -1
  86. package/tls/getTopic.js.map +1 -1
  87. package/tls/index.d.ts +27 -0
  88. package/tls/index.d.ts.map +1 -1
  89. package/tls/index.js +35 -2
  90. package/tls/index.js.map +1 -1
  91. package/tls/ruleBoundHostGroup.d.ts +92 -0
  92. package/tls/ruleBoundHostGroup.d.ts.map +1 -0
  93. package/tls/ruleBoundHostGroup.js +103 -0
  94. package/tls/ruleBoundHostGroup.js.map +1 -0
  95. package/tls/topic.d.ts +36 -0
  96. package/tls/topic.d.ts.map +1 -1
  97. package/tls/topic.js +8 -0
  98. package/tls/topic.js.map +1 -1
  99. package/tos/bucket.d.ts +1 -1
  100. package/tos/bucket.js +1 -1
  101. package/tos/bucketReplication.d.ts +117 -0
  102. package/tos/bucketReplication.d.ts.map +1 -0
  103. package/tos/bucketReplication.js +124 -0
  104. package/tos/bucketReplication.js.map +1 -0
  105. package/tos/getBucketReplication.d.ts +50 -0
  106. package/tos/getBucketReplication.d.ts.map +1 -0
  107. package/tos/getBucketReplication.js +51 -0
  108. package/tos/getBucketReplication.js.map +1 -0
  109. package/tos/getBucketReplications.d.ts +23 -0
  110. package/tos/getBucketReplications.d.ts.map +1 -0
  111. package/tos/getBucketReplications.js +47 -0
  112. package/tos/getBucketReplications.js.map +1 -0
  113. package/tos/getObject.d.ts +118 -0
  114. package/tos/getObject.d.ts.map +1 -0
  115. package/tos/getObject.js +51 -0
  116. package/tos/getObject.js.map +1 -0
  117. package/tos/getObjects.d.ts +23 -0
  118. package/tos/getObjects.d.ts.map +1 -0
  119. package/tos/getObjects.js +47 -0
  120. package/tos/getObjects.js.map +1 -0
  121. package/tos/index.d.ts +18 -0
  122. package/tos/index.d.ts.map +1 -1
  123. package/tos/index.js +24 -1
  124. package/tos/index.js.map +1 -1
  125. package/tos/tosObject.d.ts +294 -0
  126. package/tos/tosObject.d.ts.map +1 -0
  127. package/tos/tosObject.js +168 -0
  128. package/tos/tosObject.js.map +1 -0
  129. package/types/input.d.ts +880 -14
  130. package/types/input.d.ts.map +1 -1
  131. package/types/output.d.ts +1987 -254
  132. package/types/output.d.ts.map +1 -1
  133. package/veenedge/getVeen.d.ts +206 -0
  134. package/veenedge/getVeen.d.ts.map +1 -0
  135. package/veenedge/getVeen.js +51 -0
  136. package/veenedge/getVeen.js.map +1 -0
  137. package/veenedge/getVeens.d.ts +23 -0
  138. package/veenedge/getVeens.d.ts.map +1 -0
  139. package/veenedge/getVeens.js +47 -0
  140. package/veenedge/getVeens.js.map +1 -0
  141. package/veenedge/index.d.ts +9 -0
  142. package/veenedge/index.d.ts.map +1 -1
  143. package/veenedge/index.js +12 -1
  144. package/veenedge/index.js.map +1 -1
  145. package/veenedge/veen.d.ts +475 -0
  146. package/veenedge/veen.d.ts.map +1 -0
  147. package/veenedge/veen.js +211 -0
  148. package/veenedge/veen.js.map +1 -0
  149. package/vmp/getIntegrationTask.d.ts +90 -0
  150. package/vmp/getIntegrationTask.d.ts.map +1 -0
  151. package/vmp/getIntegrationTask.js +51 -0
  152. package/vmp/getIntegrationTask.js.map +1 -0
  153. package/vmp/getIntegrationTasks.d.ts +23 -0
  154. package/vmp/getIntegrationTasks.d.ts.map +1 -0
  155. package/vmp/getIntegrationTasks.js +47 -0
  156. package/vmp/getIntegrationTasks.js.map +1 -0
  157. package/vmp/index.d.ts +9 -0
  158. package/vmp/index.d.ts.map +1 -1
  159. package/vmp/index.js +12 -1
  160. package/vmp/index.js.map +1 -1
  161. package/vmp/integrationTask.d.ts +229 -0
  162. package/vmp/integrationTask.d.ts.map +1 -0
  163. package/vmp/integrationTask.js +148 -0
  164. package/vmp/integrationTask.js.map +1 -0
@@ -0,0 +1,229 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "../types/input";
3
+ import * as outputs from "../types/output";
4
+ /**
5
+ * VMP Integration Task Resource for Managing Monitoring Data Integration Tasks
6
+ *
7
+ * ## Example Usage
8
+ *
9
+ * ```typescript
10
+ * import * as pulumi from "@pulumi/pulumi";
11
+ * import * as volcenginecc from "@volcengine/pulumi-volcenginecc";
12
+ *
13
+ * const example = new volcenginecc.vmp.IntegrationTask("Example", {
14
+ * name: "tf_test_1001",
15
+ * workspaceId: "f2e31ff4-01e2-4cef-8da5-4bxxxxxx",
16
+ * type: "ECS",
17
+ * environment: "Managed",
18
+ * createParams: JSON.stringify({
19
+ * VPCId: "vpc-25oeebv0e4g06pyvxxxxxx",
20
+ * SubnetIds: ["subnet-2ouq84mwautc06oqj0xxxxxx"],
21
+ * SecurityGroupIds: ["sg-25oeevlbio746pyvxxxxxx"],
22
+ * EnableSubnetFilter: true,
23
+ * ScrapeConfig: `global:
24
+ * scrape_interval: 15s
25
+ * scrape_timeout: 10s
26
+ * scrape_configs:
27
+ * - job_name: ecs
28
+ * scheme: http
29
+ * metrics_path: /metrics
30
+ * volc_sd_configs:
31
+ * - port: 9091`,
32
+ * }),
33
+ * enabled: false,
34
+ * tags: [{
35
+ * key: "env",
36
+ * value: "test",
37
+ * }],
38
+ * });
39
+ * ```
40
+ *
41
+ * ## Import
42
+ *
43
+ * ```sh
44
+ * $ pulumi import volcenginecc:vmp/integrationTask:IntegrationTask example "integration_task_id"
45
+ * ```
46
+ */
47
+ export declare class IntegrationTask extends pulumi.CustomResource {
48
+ /**
49
+ * Get an existing IntegrationTask resource's state with the given name, ID, and optional extra
50
+ * properties used to qualify the lookup.
51
+ *
52
+ * @param name The _unique_ name of the resulting resource.
53
+ * @param id The _unique_ provider ID of the resource to lookup.
54
+ * @param state Any extra arguments used during the lookup.
55
+ * @param opts Optional settings to control the behavior of the CustomResource.
56
+ */
57
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: IntegrationTaskState, opts?: pulumi.CustomResourceOptions): IntegrationTask;
58
+ /**
59
+ * Returns true if the given object is an instance of IntegrationTask. This is designed to work even
60
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
61
+ */
62
+ static isInstance(obj: any): obj is IntegrationTask;
63
+ /**
64
+ * Integration Task Parameters in JSON Format (provided during creation/update)
65
+ */
66
+ readonly createParams: pulumi.Output<string>;
67
+ /**
68
+ * Enable Switch for Integration Task. True means enabled, false means disabled
69
+ */
70
+ readonly enabled: pulumi.Output<boolean>;
71
+ /**
72
+ * Integration Task Environment
73
+ */
74
+ readonly environment: pulumi.Output<string>;
75
+ /**
76
+ * Integration Task Unique Identifier
77
+ */
78
+ readonly integrationTaskId: pulumi.Output<string>;
79
+ /**
80
+ * Integration Task Name
81
+ */
82
+ readonly name: pulumi.Output<string>;
83
+ /**
84
+ * Project Name to Which Integration Task Belongs
85
+ */
86
+ readonly projectName: pulumi.Output<string>;
87
+ /**
88
+ * Integration Task Parameters in JSON Format (read-only, returned data)
89
+ */
90
+ readonly readParams: pulumi.Output<string>;
91
+ /**
92
+ * Actual Running Status of Integration Task (read-only). Values: Creating, Updating, Active, Disabled, Error, Deleting
93
+ */
94
+ readonly status: pulumi.Output<string>;
95
+ /**
96
+ * Integration Task Subtype
97
+ */
98
+ readonly subType: pulumi.Output<string>;
99
+ /**
100
+ * Integration Task Tag List
101
+ * Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
102
+ */
103
+ readonly tags: pulumi.Output<outputs.vmp.IntegrationTaskTag[]>;
104
+ /**
105
+ * Integration Task Type
106
+ */
107
+ readonly type: pulumi.Output<string>;
108
+ /**
109
+ * VKE Cluster ID Associated with Integration Task
110
+ */
111
+ readonly vkeClusterId: pulumi.Output<string>;
112
+ /**
113
+ * Workspace ID Associated with Integration Task
114
+ */
115
+ readonly workspaceId: pulumi.Output<string>;
116
+ /**
117
+ * Create a IntegrationTask resource with the given unique name, arguments, and options.
118
+ *
119
+ * @param name The _unique_ name of the resource.
120
+ * @param args The arguments to use to populate this resource's properties.
121
+ * @param opts A bag of options that control this resource's behavior.
122
+ */
123
+ constructor(name: string, args: IntegrationTaskArgs, opts?: pulumi.CustomResourceOptions);
124
+ }
125
+ /**
126
+ * Input properties used for looking up and filtering IntegrationTask resources.
127
+ */
128
+ export interface IntegrationTaskState {
129
+ /**
130
+ * Integration Task Parameters in JSON Format (provided during creation/update)
131
+ */
132
+ createParams?: pulumi.Input<string | undefined>;
133
+ /**
134
+ * Enable Switch for Integration Task. True means enabled, false means disabled
135
+ */
136
+ enabled?: pulumi.Input<boolean | undefined>;
137
+ /**
138
+ * Integration Task Environment
139
+ */
140
+ environment?: pulumi.Input<string | undefined>;
141
+ /**
142
+ * Integration Task Unique Identifier
143
+ */
144
+ integrationTaskId?: pulumi.Input<string | undefined>;
145
+ /**
146
+ * Integration Task Name
147
+ */
148
+ name?: pulumi.Input<string | undefined>;
149
+ /**
150
+ * Project Name to Which Integration Task Belongs
151
+ */
152
+ projectName?: pulumi.Input<string | undefined>;
153
+ /**
154
+ * Integration Task Parameters in JSON Format (read-only, returned data)
155
+ */
156
+ readParams?: pulumi.Input<string | undefined>;
157
+ /**
158
+ * Actual Running Status of Integration Task (read-only). Values: Creating, Updating, Active, Disabled, Error, Deleting
159
+ */
160
+ status?: pulumi.Input<string | undefined>;
161
+ /**
162
+ * Integration Task Subtype
163
+ */
164
+ subType?: pulumi.Input<string | undefined>;
165
+ /**
166
+ * Integration Task Tag List
167
+ * Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
168
+ */
169
+ tags?: pulumi.Input<pulumi.Input<inputs.vmp.IntegrationTaskTag>[] | undefined>;
170
+ /**
171
+ * Integration Task Type
172
+ */
173
+ type?: pulumi.Input<string | undefined>;
174
+ /**
175
+ * VKE Cluster ID Associated with Integration Task
176
+ */
177
+ vkeClusterId?: pulumi.Input<string | undefined>;
178
+ /**
179
+ * Workspace ID Associated with Integration Task
180
+ */
181
+ workspaceId?: pulumi.Input<string | undefined>;
182
+ }
183
+ /**
184
+ * The set of arguments for constructing a IntegrationTask resource.
185
+ */
186
+ export interface IntegrationTaskArgs {
187
+ /**
188
+ * Integration Task Parameters in JSON Format (provided during creation/update)
189
+ */
190
+ createParams: pulumi.Input<string>;
191
+ /**
192
+ * Enable Switch for Integration Task. True means enabled, false means disabled
193
+ */
194
+ enabled?: pulumi.Input<boolean | undefined>;
195
+ /**
196
+ * Integration Task Environment
197
+ */
198
+ environment?: pulumi.Input<string | undefined>;
199
+ /**
200
+ * Integration Task Name
201
+ */
202
+ name: pulumi.Input<string>;
203
+ /**
204
+ * Project Name to Which Integration Task Belongs
205
+ */
206
+ projectName?: pulumi.Input<string | undefined>;
207
+ /**
208
+ * Integration Task Subtype
209
+ */
210
+ subType?: pulumi.Input<string | undefined>;
211
+ /**
212
+ * Integration Task Tag List
213
+ * Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
214
+ */
215
+ tags?: pulumi.Input<pulumi.Input<inputs.vmp.IntegrationTaskTag>[] | undefined>;
216
+ /**
217
+ * Integration Task Type
218
+ */
219
+ type: pulumi.Input<string>;
220
+ /**
221
+ * VKE Cluster ID Associated with Integration Task
222
+ */
223
+ vkeClusterId?: pulumi.Input<string | undefined>;
224
+ /**
225
+ * Workspace ID Associated with Integration Task
226
+ */
227
+ workspaceId?: pulumi.Input<string | undefined>;
228
+ }
229
+ //# sourceMappingURL=integrationTask.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"integrationTask.d.ts","s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AC,MAAM,CAAC,GAAG,CAAC,kBAAkB,CAAC,EAAE,GAAG,SAAS,CAAC,CAAC;IAC/E;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC3B;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAChD;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;CAClD"}
@@ -0,0 +1,148 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by pulumi-language-nodejs. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
5
+ if (k2 === undefined) k2 = k;
6
+ var desc = Object.getOwnPropertyDescriptor(m, k);
7
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
8
+ desc = { enumerable: true, get: function() { return m[k]; } };
9
+ }
10
+ Object.defineProperty(o, k2, desc);
11
+ }) : (function(o, m, k, k2) {
12
+ if (k2 === undefined) k2 = k;
13
+ o[k2] = m[k];
14
+ }));
15
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
16
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
17
+ }) : function(o, v) {
18
+ o["default"] = v;
19
+ });
20
+ var __importStar = (this && this.__importStar) || function (mod) {
21
+ if (mod && mod.__esModule) return mod;
22
+ var result = {};
23
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
24
+ __setModuleDefault(result, mod);
25
+ return result;
26
+ };
27
+ Object.defineProperty(exports, "__esModule", { value: true });
28
+ exports.IntegrationTask = void 0;
29
+ const pulumi = __importStar(require("@pulumi/pulumi"));
30
+ const utilities = __importStar(require("../utilities"));
31
+ /**
32
+ * VMP Integration Task Resource for Managing Monitoring Data Integration Tasks
33
+ *
34
+ * ## Example Usage
35
+ *
36
+ * ```typescript
37
+ * import * as pulumi from "@pulumi/pulumi";
38
+ * import * as volcenginecc from "@volcengine/pulumi-volcenginecc";
39
+ *
40
+ * const example = new volcenginecc.vmp.IntegrationTask("Example", {
41
+ * name: "tf_test_1001",
42
+ * workspaceId: "f2e31ff4-01e2-4cef-8da5-4bxxxxxx",
43
+ * type: "ECS",
44
+ * environment: "Managed",
45
+ * createParams: JSON.stringify({
46
+ * VPCId: "vpc-25oeebv0e4g06pyvxxxxxx",
47
+ * SubnetIds: ["subnet-2ouq84mwautc06oqj0xxxxxx"],
48
+ * SecurityGroupIds: ["sg-25oeevlbio746pyvxxxxxx"],
49
+ * EnableSubnetFilter: true,
50
+ * ScrapeConfig: `global:
51
+ * scrape_interval: 15s
52
+ * scrape_timeout: 10s
53
+ * scrape_configs:
54
+ * - job_name: ecs
55
+ * scheme: http
56
+ * metrics_path: /metrics
57
+ * volc_sd_configs:
58
+ * - port: 9091`,
59
+ * }),
60
+ * enabled: false,
61
+ * tags: [{
62
+ * key: "env",
63
+ * value: "test",
64
+ * }],
65
+ * });
66
+ * ```
67
+ *
68
+ * ## Import
69
+ *
70
+ * ```sh
71
+ * $ pulumi import volcenginecc:vmp/integrationTask:IntegrationTask example "integration_task_id"
72
+ * ```
73
+ */
74
+ class IntegrationTask extends pulumi.CustomResource {
75
+ /**
76
+ * Get an existing IntegrationTask resource's state with the given name, ID, and optional extra
77
+ * properties used to qualify the lookup.
78
+ *
79
+ * @param name The _unique_ name of the resulting resource.
80
+ * @param id The _unique_ provider ID of the resource to lookup.
81
+ * @param state Any extra arguments used during the lookup.
82
+ * @param opts Optional settings to control the behavior of the CustomResource.
83
+ */
84
+ static get(name, id, state, opts) {
85
+ return new IntegrationTask(name, state, { ...opts, id: id });
86
+ }
87
+ /** @internal */
88
+ static __pulumiType = 'volcenginecc:vmp/integrationTask:IntegrationTask';
89
+ /**
90
+ * Returns true if the given object is an instance of IntegrationTask. This is designed to work even
91
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
92
+ */
93
+ static isInstance(obj) {
94
+ if (obj === undefined || obj === null) {
95
+ return false;
96
+ }
97
+ return obj['__pulumiType'] === IntegrationTask.__pulumiType;
98
+ }
99
+ constructor(name, argsOrState, opts) {
100
+ let resourceInputs = {};
101
+ opts = opts || {};
102
+ if (opts.id) {
103
+ const state = argsOrState;
104
+ resourceInputs["createParams"] = state?.createParams;
105
+ resourceInputs["enabled"] = state?.enabled;
106
+ resourceInputs["environment"] = state?.environment;
107
+ resourceInputs["integrationTaskId"] = state?.integrationTaskId;
108
+ resourceInputs["name"] = state?.name;
109
+ resourceInputs["projectName"] = state?.projectName;
110
+ resourceInputs["readParams"] = state?.readParams;
111
+ resourceInputs["status"] = state?.status;
112
+ resourceInputs["subType"] = state?.subType;
113
+ resourceInputs["tags"] = state?.tags;
114
+ resourceInputs["type"] = state?.type;
115
+ resourceInputs["vkeClusterId"] = state?.vkeClusterId;
116
+ resourceInputs["workspaceId"] = state?.workspaceId;
117
+ }
118
+ else {
119
+ const args = argsOrState;
120
+ if (args?.createParams === undefined && !opts.urn) {
121
+ throw new Error("Missing required property 'createParams'");
122
+ }
123
+ if (args?.name === undefined && !opts.urn) {
124
+ throw new Error("Missing required property 'name'");
125
+ }
126
+ if (args?.type === undefined && !opts.urn) {
127
+ throw new Error("Missing required property 'type'");
128
+ }
129
+ resourceInputs["createParams"] = args?.createParams;
130
+ resourceInputs["enabled"] = args?.enabled;
131
+ resourceInputs["environment"] = args?.environment;
132
+ resourceInputs["name"] = args?.name;
133
+ resourceInputs["projectName"] = args?.projectName;
134
+ resourceInputs["subType"] = args?.subType;
135
+ resourceInputs["tags"] = args?.tags;
136
+ resourceInputs["type"] = args?.type;
137
+ resourceInputs["vkeClusterId"] = args?.vkeClusterId;
138
+ resourceInputs["workspaceId"] = args?.workspaceId;
139
+ resourceInputs["integrationTaskId"] = undefined /*out*/;
140
+ resourceInputs["readParams"] = undefined /*out*/;
141
+ resourceInputs["status"] = undefined /*out*/;
142
+ }
143
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
144
+ super(IntegrationTask.__pulumiType, name, resourceInputs, opts);
145
+ }
146
+ }
147
+ exports.IntegrationTask = IntegrationTask;
148
+ //# sourceMappingURL=integrationTask.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"integrationTask.js","sourceRoot":"","sources":["../../vmp/integrationTask.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,wDAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0CG;AACH,MAAa,eAAgB,SAAQ,MAAM,CAAC,cAAc;IACtD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA4B,EAAE,IAAmC;QAC1H,OAAO,IAAI,eAAe,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACtE,CAAC;IAED,gBAAgB;IACT,MAAM,CAAU,YAAY,GAAG,kDAAkD,CAAC;IAEzF;;;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,eAAe,CAAC,YAAY,CAAC;IAChE,CAAC;IAgED,YAAY,IAAY,EAAE,WAAwD,EAAE,IAAmC;QACnH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA+C,CAAC;YAC9D,cAAc,CAAC,cAAc,CAAC,GA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