@quantcdn/pulumi-quant 5.4.0 → 5.5.1

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 (129) hide show
  1. package/aiAgent.d.ts +155 -0
  2. package/aiAgent.js +94 -0
  3. package/aiAgent.js.map +1 -0
  4. package/aiGovernance.d.ts +77 -0
  5. package/aiGovernance.js +75 -0
  6. package/aiGovernance.js.map +1 -0
  7. package/aiSkill.d.ts +101 -0
  8. package/aiSkill.js +85 -0
  9. package/aiSkill.js.map +1 -0
  10. package/aiVectorCollection.d.ts +107 -0
  11. package/aiVectorCollection.js +68 -0
  12. package/aiVectorCollection.js.map +1 -0
  13. package/aiVectorDocument.d.ts +73 -0
  14. package/aiVectorDocument.js +70 -0
  15. package/aiVectorDocument.js.map +1 -0
  16. package/application.d.ts +189 -0
  17. package/application.js +85 -0
  18. package/application.js.map +1 -0
  19. package/config/index.d.ts +1 -0
  20. package/config/index.js +21 -0
  21. package/config/index.js.map +1 -0
  22. package/config/vars.d.ts +36 -0
  23. package/config/vars.js +61 -0
  24. package/config/vars.js.map +1 -0
  25. package/{crawler.ts → crawler.d.ts} +45 -139
  26. package/crawler.js +116 -0
  27. package/crawler.js.map +1 -0
  28. package/crawlerSchedule.d.ts +156 -0
  29. package/crawlerSchedule.js +74 -0
  30. package/crawlerSchedule.js.map +1 -0
  31. package/cronJob.d.ts +102 -0
  32. package/cronJob.js +73 -0
  33. package/cronJob.js.map +1 -0
  34. package/{domain.ts → domain.d.ts} +10 -56
  35. package/domain.js +62 -0
  36. package/domain.js.map +1 -0
  37. package/environment.d.ts +313 -0
  38. package/environment.js +110 -0
  39. package/environment.js.map +1 -0
  40. package/getProject.d.ts +34 -0
  41. package/getProject.js +24 -0
  42. package/getProject.js.map +1 -0
  43. package/getProjects.d.ts +14 -0
  44. package/getProjects.js +18 -0
  45. package/getProjects.js.map +1 -0
  46. package/header.d.ts +60 -0
  47. package/header.js +59 -0
  48. package/header.js.map +1 -0
  49. package/index.d.ts +88 -0
  50. package/index.js +158 -0
  51. package/index.js.map +1 -0
  52. package/{kvItem.ts → kvItem.d.ts} +11 -62
  53. package/kvItem.js +67 -0
  54. package/kvItem.js.map +1 -0
  55. package/kvStore.d.ts +75 -0
  56. package/kvStore.js +55 -0
  57. package/kvStore.js.map +1 -0
  58. package/package.json +32 -30
  59. package/project.d.ts +175 -0
  60. package/project.js +73 -0
  61. package/project.js.map +1 -0
  62. package/{provider.ts → provider.d.ts} +12 -51
  63. package/provider.js +63 -0
  64. package/provider.js.map +1 -0
  65. package/{ruleAuth.ts → ruleAuth.d.ts} +31 -128
  66. package/ruleAuth.js +113 -0
  67. package/ruleAuth.js.map +1 -0
  68. package/{ruleBotChallenge.ts → ruleBotChallenge.d.ts} +32 -128
  69. package/ruleBotChallenge.js +112 -0
  70. package/ruleBotChallenge.js.map +1 -0
  71. package/{ruleContentFilter.ts → ruleContentFilter.d.ts} +30 -122
  72. package/ruleContentFilter.js +108 -0
  73. package/ruleContentFilter.js.map +1 -0
  74. package/{ruleCustomResponse.ts → ruleCustomResponse.d.ts} +33 -131
  75. package/ruleCustomResponse.js +114 -0
  76. package/ruleCustomResponse.js.map +1 -0
  77. package/{ruleFunction.ts → ruleFunction.d.ts} +30 -122
  78. package/ruleFunction.js +108 -0
  79. package/ruleFunction.js.map +1 -0
  80. package/{ruleHeaders.ts → ruleHeaders.d.ts} +38 -124
  81. package/ruleHeaders.js +108 -0
  82. package/ruleHeaders.js.map +1 -0
  83. package/{ruleProxy.ts → ruleProxy.d.ts} +62 -196
  84. package/ruleProxy.js +156 -0
  85. package/ruleProxy.js.map +1 -0
  86. package/{ruleRedirect.ts → ruleRedirect.d.ts} +31 -125
  87. package/ruleRedirect.js +110 -0
  88. package/ruleRedirect.js.map +1 -0
  89. package/{ruleServeStatic.ts → ruleServeStatic.d.ts} +30 -122
  90. package/ruleServeStatic.js +108 -0
  91. package/ruleServeStatic.js.map +1 -0
  92. package/{slackBot.ts → slackBot.d.ts} +14 -71
  93. package/slackBot.js +73 -0
  94. package/slackBot.js.map +1 -0
  95. package/types/index.d.ts +3 -0
  96. package/types/index.js +11 -0
  97. package/types/index.js.map +1 -0
  98. package/types/{input.ts → input.d.ts} +6 -78
  99. package/{config/index.ts → types/input.js} +3 -3
  100. package/types/input.js.map +1 -0
  101. package/types/{output.ts → output.d.ts} +6 -81
  102. package/types/output.js +5 -0
  103. package/types/output.js.map +1 -0
  104. package/utilities.d.ts +4 -0
  105. package/{utilities.ts → utilities.js} +23 -28
  106. package/utilities.js.map +1 -0
  107. package/volume.d.ts +130 -0
  108. package/volume.js +74 -0
  109. package/volume.js.map +1 -0
  110. package/.gitattributes +0 -1
  111. package/aiAgent.ts +0 -233
  112. package/aiGovernance.ts +0 -136
  113. package/aiSkill.ts +0 -170
  114. package/aiVectorCollection.ts +0 -159
  115. package/aiVectorDocument.ts +0 -127
  116. package/application.ts +0 -258
  117. package/config/vars.ts +0 -108
  118. package/crawlerSchedule.ts +0 -214
  119. package/cronJob.ts +0 -159
  120. package/environment.ts +0 -407
  121. package/getProject.ts +0 -54
  122. package/getProjects.ts +0 -29
  123. package/header.ts +0 -97
  124. package/index.ts +0 -231
  125. package/kvStore.ts +0 -114
  126. package/project.ts +0 -232
  127. package/tsconfig.json +0 -53
  128. package/types/index.ts +0 -13
  129. package/volume.ts +0 -188
package/application.ts DELETED
@@ -1,258 +0,0 @@
1
- // *** WARNING: this file was generated by pulumi-language-nodejs. ***
2
- // *** Do not edit by hand unless you're certain you know what you are doing! ***
3
-
4
- import * as pulumi from "@pulumi/pulumi";
5
- import * as inputs from "./types/input";
6
- import * as outputs from "./types/output";
7
- import * as utilities from "./utilities";
8
-
9
- export class Application extends pulumi.CustomResource {
10
- /**
11
- * Get an existing Application resource's state with the given name, ID, and optional extra
12
- * properties used to qualify the lookup.
13
- *
14
- * @param name The _unique_ name of the resulting resource.
15
- * @param id The _unique_ provider ID of the resource to lookup.
16
- * @param state Any extra arguments used during the lookup.
17
- * @param opts Optional settings to control the behavior of the CustomResource.
18
- */
19
- public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ApplicationState, opts?: pulumi.CustomResourceOptions): Application {
20
- return new Application(name, <any>state, { ...opts, id: id });
21
- }
22
-
23
- /** @internal */
24
- public static readonly __pulumiType = 'quant:index:Application';
25
-
26
- /**
27
- * Returns true if the given object is an instance of Application. This is designed to work even
28
- * when multiple copies of the Pulumi SDK have been loaded into the same process.
29
- */
30
- public static isInstance(obj: any): obj is Application {
31
- if (obj === undefined || obj === null) {
32
- return false;
33
- }
34
- return obj['__pulumiType'] === Application.__pulumiType;
35
- }
36
-
37
- /**
38
- * Application name
39
- */
40
- declare public readonly appName: pulumi.Output<string>;
41
- /**
42
- * The application ID
43
- */
44
- declare public readonly application: pulumi.Output<string>;
45
- declare public readonly composeDefinition: pulumi.Output<outputs.ApplicationComposeDefinition>;
46
- /**
47
- * List of container names
48
- */
49
- declare public /*out*/ readonly containerNames: pulumi.Output<string[]>;
50
- /**
51
- * Optional database configuration
52
- */
53
- declare public readonly database: pulumi.Output<outputs.ApplicationDatabase>;
54
- /**
55
- * Deployment history
56
- */
57
- declare public /*out*/ readonly deploymentInformations: pulumi.Output<outputs.ApplicationDeploymentInformation[]>;
58
- /**
59
- * Desired task count
60
- */
61
- declare public /*out*/ readonly desiredCount: pulumi.Output<number>;
62
- /**
63
- * List of environment names (read-only)
64
- */
65
- declare public /*out*/ readonly environmentNames: pulumi.Output<string[]>;
66
- /**
67
- * Optional. Initial environment variables for the production environment.
68
- */
69
- declare public readonly environments: pulumi.Output<outputs.ApplicationEnvironment[]>;
70
- /**
71
- * Optional filesystem configuration
72
- */
73
- declare public readonly filesystem: pulumi.Output<outputs.ApplicationFilesystem>;
74
- /**
75
- * Image reference information
76
- */
77
- declare public /*out*/ readonly imageReference: pulumi.Output<outputs.ApplicationImageReference>;
78
- /**
79
- * Maximum task count for auto-scaling
80
- */
81
- declare public readonly maxCapacity: pulumi.Output<number>;
82
- /**
83
- * Minimum task count for auto-scaling
84
- */
85
- declare public readonly minCapacity: pulumi.Output<number>;
86
- /**
87
- * Organisation machine name
88
- */
89
- declare public /*out*/ readonly organisation: pulumi.Output<string>;
90
- /**
91
- * Currently running task count
92
- */
93
- declare public /*out*/ readonly runningCount: pulumi.Output<number>;
94
- /**
95
- * Application status
96
- */
97
- declare public /*out*/ readonly status: pulumi.Output<string>;
98
-
99
- /**
100
- * Create a Application resource with the given unique name, arguments, and options.
101
- *
102
- * @param name The _unique_ name of the resource.
103
- * @param args The arguments to use to populate this resource's properties.
104
- * @param opts A bag of options that control this resource's behavior.
105
- */
106
- constructor(name: string, args: ApplicationArgs, opts?: pulumi.CustomResourceOptions)
107
- constructor(name: string, argsOrState?: ApplicationArgs | ApplicationState, opts?: pulumi.CustomResourceOptions) {
108
- let resourceInputs: pulumi.Inputs = {};
109
- opts = opts || {};
110
- if (opts.id) {
111
- const state = argsOrState as ApplicationState | undefined;
112
- resourceInputs["appName"] = state?.appName;
113
- resourceInputs["application"] = state?.application;
114
- resourceInputs["composeDefinition"] = state?.composeDefinition;
115
- resourceInputs["containerNames"] = state?.containerNames;
116
- resourceInputs["database"] = state?.database;
117
- resourceInputs["deploymentInformations"] = state?.deploymentInformations;
118
- resourceInputs["desiredCount"] = state?.desiredCount;
119
- resourceInputs["environmentNames"] = state?.environmentNames;
120
- resourceInputs["environments"] = state?.environments;
121
- resourceInputs["filesystem"] = state?.filesystem;
122
- resourceInputs["imageReference"] = state?.imageReference;
123
- resourceInputs["maxCapacity"] = state?.maxCapacity;
124
- resourceInputs["minCapacity"] = state?.minCapacity;
125
- resourceInputs["organisation"] = state?.organisation;
126
- resourceInputs["runningCount"] = state?.runningCount;
127
- resourceInputs["status"] = state?.status;
128
- } else {
129
- const args = argsOrState as ApplicationArgs | undefined;
130
- if (args?.appName === undefined && !opts.urn) {
131
- throw new Error("Missing required property 'appName'");
132
- }
133
- if (args?.composeDefinition === undefined && !opts.urn) {
134
- throw new Error("Missing required property 'composeDefinition'");
135
- }
136
- resourceInputs["appName"] = args?.appName;
137
- resourceInputs["application"] = args?.application;
138
- resourceInputs["composeDefinition"] = args?.composeDefinition;
139
- resourceInputs["database"] = args?.database;
140
- resourceInputs["environments"] = args?.environments;
141
- resourceInputs["filesystem"] = args?.filesystem;
142
- resourceInputs["maxCapacity"] = args?.maxCapacity;
143
- resourceInputs["minCapacity"] = args?.minCapacity;
144
- resourceInputs["containerNames"] = undefined /*out*/;
145
- resourceInputs["deploymentInformations"] = undefined /*out*/;
146
- resourceInputs["desiredCount"] = undefined /*out*/;
147
- resourceInputs["environmentNames"] = undefined /*out*/;
148
- resourceInputs["imageReference"] = undefined /*out*/;
149
- resourceInputs["organisation"] = undefined /*out*/;
150
- resourceInputs["runningCount"] = undefined /*out*/;
151
- resourceInputs["status"] = undefined /*out*/;
152
- }
153
- opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
154
- super(Application.__pulumiType, name, resourceInputs, opts);
155
- }
156
- }
157
-
158
- /**
159
- * Input properties used for looking up and filtering Application resources.
160
- */
161
- export interface ApplicationState {
162
- /**
163
- * Application name
164
- */
165
- appName?: pulumi.Input<string>;
166
- /**
167
- * The application ID
168
- */
169
- application?: pulumi.Input<string>;
170
- composeDefinition?: pulumi.Input<inputs.ApplicationComposeDefinition>;
171
- /**
172
- * List of container names
173
- */
174
- containerNames?: pulumi.Input<pulumi.Input<string>[]>;
175
- /**
176
- * Optional database configuration
177
- */
178
- database?: pulumi.Input<inputs.ApplicationDatabase>;
179
- /**
180
- * Deployment history
181
- */
182
- deploymentInformations?: pulumi.Input<pulumi.Input<inputs.ApplicationDeploymentInformation>[]>;
183
- /**
184
- * Desired task count
185
- */
186
- desiredCount?: pulumi.Input<number>;
187
- /**
188
- * List of environment names (read-only)
189
- */
190
- environmentNames?: pulumi.Input<pulumi.Input<string>[]>;
191
- /**
192
- * Optional. Initial environment variables for the production environment.
193
- */
194
- environments?: pulumi.Input<pulumi.Input<inputs.ApplicationEnvironment>[]>;
195
- /**
196
- * Optional filesystem configuration
197
- */
198
- filesystem?: pulumi.Input<inputs.ApplicationFilesystem>;
199
- /**
200
- * Image reference information
201
- */
202
- imageReference?: pulumi.Input<inputs.ApplicationImageReference>;
203
- /**
204
- * Maximum task count for auto-scaling
205
- */
206
- maxCapacity?: pulumi.Input<number>;
207
- /**
208
- * Minimum task count for auto-scaling
209
- */
210
- minCapacity?: pulumi.Input<number>;
211
- /**
212
- * Organisation machine name
213
- */
214
- organisation?: pulumi.Input<string>;
215
- /**
216
- * Currently running task count
217
- */
218
- runningCount?: pulumi.Input<number>;
219
- /**
220
- * Application status
221
- */
222
- status?: pulumi.Input<string>;
223
- }
224
-
225
- /**
226
- * The set of arguments for constructing a Application resource.
227
- */
228
- export interface ApplicationArgs {
229
- /**
230
- * Application name
231
- */
232
- appName: pulumi.Input<string>;
233
- /**
234
- * The application ID
235
- */
236
- application?: pulumi.Input<string>;
237
- composeDefinition: pulumi.Input<inputs.ApplicationComposeDefinition>;
238
- /**
239
- * Optional database configuration
240
- */
241
- database?: pulumi.Input<inputs.ApplicationDatabase>;
242
- /**
243
- * Optional. Initial environment variables for the production environment.
244
- */
245
- environments?: pulumi.Input<pulumi.Input<inputs.ApplicationEnvironment>[]>;
246
- /**
247
- * Optional filesystem configuration
248
- */
249
- filesystem?: pulumi.Input<inputs.ApplicationFilesystem>;
250
- /**
251
- * Maximum task count for auto-scaling
252
- */
253
- maxCapacity?: pulumi.Input<number>;
254
- /**
255
- * Minimum task count for auto-scaling
256
- */
257
- minCapacity?: pulumi.Input<number>;
258
- }
package/config/vars.ts DELETED
@@ -1,108 +0,0 @@
1
- // *** WARNING: this file was generated by pulumi-language-nodejs. ***
2
- // *** Do not edit by hand unless you're certain you know what you are doing! ***
3
-
4
- import * as pulumi from "@pulumi/pulumi";
5
- import * as utilities from "../utilities";
6
-
7
- declare var exports: any;
8
- const __config = new pulumi.Config("quant");
9
-
10
- /**
11
- * Base delay in milliseconds for exponential backoff. Defaults to 500
12
- */
13
- export declare const baseDelayMs: number | undefined;
14
- Object.defineProperty(exports, "baseDelayMs", {
15
- get() {
16
- return __config.getObject<number>("baseDelayMs");
17
- },
18
- enumerable: true,
19
- });
20
-
21
- /**
22
- * The base URL for the QuantCDN API. Can also be set via QUANTCDN_BASE_URL environment variable.
23
- */
24
- export declare const baseUrl: string | undefined;
25
- Object.defineProperty(exports, "baseUrl", {
26
- get() {
27
- return __config.get("baseUrl");
28
- },
29
- enumerable: true,
30
- });
31
-
32
- /**
33
- * The QuantCDN API Bearer token used to authenticate requests. Can also be set via QUANTCDN_API_TOKEN environment variable.
34
- */
35
- export declare const bearer: string | undefined;
36
- Object.defineProperty(exports, "bearer", {
37
- get() {
38
- return __config.get("bearer");
39
- },
40
- enumerable: true,
41
- });
42
-
43
- /**
44
- * Whether to add random jitter to retry delays to avoid thundering herd. Defaults to true
45
- */
46
- export declare const enableJitter: boolean | undefined;
47
- Object.defineProperty(exports, "enableJitter", {
48
- get() {
49
- return __config.getObject<boolean>("enableJitter");
50
- },
51
- enumerable: true,
52
- });
53
-
54
- /**
55
- * Maximum delay in milliseconds for exponential backoff. Defaults to 30000 (30 seconds)
56
- */
57
- export declare const maxDelayMs: number | undefined;
58
- Object.defineProperty(exports, "maxDelayMs", {
59
- get() {
60
- return __config.getObject<number>("maxDelayMs");
61
- },
62
- enumerable: true,
63
- });
64
-
65
- /**
66
- * Maximum number of retry attempts for failed requests. Defaults to 3
67
- */
68
- export declare const maxRetries: number | undefined;
69
- Object.defineProperty(exports, "maxRetries", {
70
- get() {
71
- return __config.getObject<number>("maxRetries");
72
- },
73
- enumerable: true,
74
- });
75
-
76
- /**
77
- * The QuantCDN organization machine name. Can also be set via QUANTCDN_ORGANIZATION environment variable.
78
- */
79
- export declare const organization: string | undefined;
80
- Object.defineProperty(exports, "organization", {
81
- get() {
82
- return __config.get("organization");
83
- },
84
- enumerable: true,
85
- });
86
-
87
- /**
88
- * Maximum number of requests per second to send to the API. Defaults to 10.0
89
- */
90
- export declare const requestsPerSecond: number | undefined;
91
- Object.defineProperty(exports, "requestsPerSecond", {
92
- get() {
93
- return __config.getObject<number>("requestsPerSecond");
94
- },
95
- enumerable: true,
96
- });
97
-
98
- /**
99
- * HTTP client timeout in seconds for API requests. Defaults to 120 seconds to handle slow operations and potential deadlocks. Can also be set via QUANTCDN_TIMEOUT_SECONDS environment variable.
100
- */
101
- export declare const timeoutSeconds: number | undefined;
102
- Object.defineProperty(exports, "timeoutSeconds", {
103
- get() {
104
- return __config.getObject<number>("timeoutSeconds");
105
- },
106
- enumerable: true,
107
- });
108
-
@@ -1,214 +0,0 @@
1
- // *** WARNING: this file was generated by pulumi-language-nodejs. ***
2
- // *** Do not edit by hand unless you're certain you know what you are doing! ***
3
-
4
- import * as pulumi from "@pulumi/pulumi";
5
- import * as utilities from "./utilities";
6
-
7
- export class CrawlerSchedule extends pulumi.CustomResource {
8
- /**
9
- * Get an existing CrawlerSchedule resource's state with the given name, ID, and optional extra
10
- * properties used to qualify the lookup.
11
- *
12
- * @param name The _unique_ name of the resulting resource.
13
- * @param id The _unique_ provider ID of the resource to lookup.
14
- * @param state Any extra arguments used during the lookup.
15
- * @param opts Optional settings to control the behavior of the CustomResource.
16
- */
17
- public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: CrawlerScheduleState, opts?: pulumi.CustomResourceOptions): CrawlerSchedule {
18
- return new CrawlerSchedule(name, <any>state, { ...opts, id: id });
19
- }
20
-
21
- /** @internal */
22
- public static readonly __pulumiType = 'quant:index:CrawlerSchedule';
23
-
24
- /**
25
- * Returns true if the given object is an instance of CrawlerSchedule. This is designed to work even
26
- * when multiple copies of the Pulumi SDK have been loaded into the same process.
27
- */
28
- public static isInstance(obj: any): obj is CrawlerSchedule {
29
- if (obj === undefined || obj === null) {
30
- return false;
31
- }
32
- return obj['__pulumiType'] === CrawlerSchedule.__pulumiType;
33
- }
34
-
35
- /**
36
- * Crawler identifier
37
- */
38
- declare public readonly crawler: pulumi.Output<string>;
39
- /**
40
- * Crawler config ID
41
- */
42
- declare public /*out*/ readonly crawlerConfigId: pulumi.Output<number>;
43
- /**
44
- * Last run ID
45
- */
46
- declare public /*out*/ readonly crawlerLastRunId: pulumi.Output<number>;
47
- /**
48
- * Crawler schedule identifier
49
- */
50
- declare public readonly crawlerSchedule: pulumi.Output<string>;
51
- /**
52
- * Crawler UUID
53
- */
54
- declare public /*out*/ readonly crawlerUuid: pulumi.Output<string>;
55
- /**
56
- * Creation timestamp
57
- */
58
- declare public /*out*/ readonly createdAt: pulumi.Output<string>;
59
- /**
60
- * Schedule name. If not provided, defaults to 'Schedule {crawler_name}'.
61
- */
62
- declare public readonly name: pulumi.Output<string>;
63
- /**
64
- * Organization identifier
65
- */
66
- declare public readonly organization: pulumi.Output<string>;
67
- /**
68
- * Project identifier
69
- */
70
- declare public readonly project: pulumi.Output<string>;
71
- /**
72
- * Project ID
73
- */
74
- declare public /*out*/ readonly projectId: pulumi.Output<number>;
75
- /**
76
- * Standard Unix cron expression with 5 space-separated fields: minute, hour, day-of-month, month, day-of-week. Example: 0 2 * * * for daily at 2 AM.
77
- */
78
- declare public readonly scheduleCronString: pulumi.Output<string>;
79
- /**
80
- * Last update timestamp
81
- */
82
- declare public /*out*/ readonly updatedAt: pulumi.Output<string>;
83
-
84
- /**
85
- * Create a CrawlerSchedule resource with the given unique name, arguments, and options.
86
- *
87
- * @param name The _unique_ name of the resource.
88
- * @param args The arguments to use to populate this resource's properties.
89
- * @param opts A bag of options that control this resource's behavior.
90
- */
91
- constructor(name: string, args: CrawlerScheduleArgs, opts?: pulumi.CustomResourceOptions)
92
- constructor(name: string, argsOrState?: CrawlerScheduleArgs | CrawlerScheduleState, opts?: pulumi.CustomResourceOptions) {
93
- let resourceInputs: pulumi.Inputs = {};
94
- opts = opts || {};
95
- if (opts.id) {
96
- const state = argsOrState as CrawlerScheduleState | undefined;
97
- resourceInputs["crawler"] = state?.crawler;
98
- resourceInputs["crawlerConfigId"] = state?.crawlerConfigId;
99
- resourceInputs["crawlerLastRunId"] = state?.crawlerLastRunId;
100
- resourceInputs["crawlerSchedule"] = state?.crawlerSchedule;
101
- resourceInputs["crawlerUuid"] = state?.crawlerUuid;
102
- resourceInputs["createdAt"] = state?.createdAt;
103
- resourceInputs["name"] = state?.name;
104
- resourceInputs["organization"] = state?.organization;
105
- resourceInputs["project"] = state?.project;
106
- resourceInputs["projectId"] = state?.projectId;
107
- resourceInputs["scheduleCronString"] = state?.scheduleCronString;
108
- resourceInputs["updatedAt"] = state?.updatedAt;
109
- } else {
110
- const args = argsOrState as CrawlerScheduleArgs | undefined;
111
- if (args?.scheduleCronString === undefined && !opts.urn) {
112
- throw new Error("Missing required property 'scheduleCronString'");
113
- }
114
- resourceInputs["crawler"] = args?.crawler;
115
- resourceInputs["crawlerSchedule"] = args?.crawlerSchedule;
116
- resourceInputs["name"] = args?.name;
117
- resourceInputs["organization"] = args?.organization;
118
- resourceInputs["project"] = args?.project;
119
- resourceInputs["scheduleCronString"] = args?.scheduleCronString;
120
- resourceInputs["crawlerConfigId"] = undefined /*out*/;
121
- resourceInputs["crawlerLastRunId"] = undefined /*out*/;
122
- resourceInputs["crawlerUuid"] = undefined /*out*/;
123
- resourceInputs["createdAt"] = undefined /*out*/;
124
- resourceInputs["projectId"] = undefined /*out*/;
125
- resourceInputs["updatedAt"] = undefined /*out*/;
126
- }
127
- opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
128
- super(CrawlerSchedule.__pulumiType, name, resourceInputs, opts);
129
- }
130
- }
131
-
132
- /**
133
- * Input properties used for looking up and filtering CrawlerSchedule resources.
134
- */
135
- export interface CrawlerScheduleState {
136
- /**
137
- * Crawler identifier
138
- */
139
- crawler?: pulumi.Input<string>;
140
- /**
141
- * Crawler config ID
142
- */
143
- crawlerConfigId?: pulumi.Input<number>;
144
- /**
145
- * Last run ID
146
- */
147
- crawlerLastRunId?: pulumi.Input<number>;
148
- /**
149
- * Crawler schedule identifier
150
- */
151
- crawlerSchedule?: pulumi.Input<string>;
152
- /**
153
- * Crawler UUID
154
- */
155
- crawlerUuid?: pulumi.Input<string>;
156
- /**
157
- * Creation timestamp
158
- */
159
- createdAt?: pulumi.Input<string>;
160
- /**
161
- * Schedule name. If not provided, defaults to 'Schedule {crawler_name}'.
162
- */
163
- name?: pulumi.Input<string>;
164
- /**
165
- * Organization identifier
166
- */
167
- organization?: pulumi.Input<string>;
168
- /**
169
- * Project identifier
170
- */
171
- project?: pulumi.Input<string>;
172
- /**
173
- * Project ID
174
- */
175
- projectId?: pulumi.Input<number>;
176
- /**
177
- * Standard Unix cron expression with 5 space-separated fields: minute, hour, day-of-month, month, day-of-week. Example: 0 2 * * * for daily at 2 AM.
178
- */
179
- scheduleCronString?: pulumi.Input<string>;
180
- /**
181
- * Last update timestamp
182
- */
183
- updatedAt?: pulumi.Input<string>;
184
- }
185
-
186
- /**
187
- * The set of arguments for constructing a CrawlerSchedule resource.
188
- */
189
- export interface CrawlerScheduleArgs {
190
- /**
191
- * Crawler identifier
192
- */
193
- crawler?: pulumi.Input<string>;
194
- /**
195
- * Crawler schedule identifier
196
- */
197
- crawlerSchedule?: pulumi.Input<string>;
198
- /**
199
- * Schedule name. If not provided, defaults to 'Schedule {crawler_name}'.
200
- */
201
- name?: pulumi.Input<string>;
202
- /**
203
- * Organization identifier
204
- */
205
- organization?: pulumi.Input<string>;
206
- /**
207
- * Project identifier
208
- */
209
- project?: pulumi.Input<string>;
210
- /**
211
- * Standard Unix cron expression with 5 space-separated fields: minute, hour, day-of-month, month, day-of-week. Example: 0 2 * * * for daily at 2 AM.
212
- */
213
- scheduleCronString: pulumi.Input<string>;
214
- }