@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.
- package/aiAgent.d.ts +155 -0
- package/aiAgent.js +94 -0
- package/aiAgent.js.map +1 -0
- package/aiGovernance.d.ts +77 -0
- package/aiGovernance.js +75 -0
- package/aiGovernance.js.map +1 -0
- package/aiSkill.d.ts +101 -0
- package/aiSkill.js +85 -0
- package/aiSkill.js.map +1 -0
- package/aiVectorCollection.d.ts +107 -0
- package/aiVectorCollection.js +68 -0
- package/aiVectorCollection.js.map +1 -0
- package/aiVectorDocument.d.ts +73 -0
- package/aiVectorDocument.js +70 -0
- package/aiVectorDocument.js.map +1 -0
- package/application.d.ts +189 -0
- package/application.js +85 -0
- package/application.js.map +1 -0
- package/config/index.d.ts +1 -0
- package/config/index.js +21 -0
- package/config/index.js.map +1 -0
- package/config/vars.d.ts +36 -0
- package/config/vars.js +61 -0
- package/config/vars.js.map +1 -0
- package/{crawler.ts → crawler.d.ts} +45 -139
- package/crawler.js +116 -0
- package/crawler.js.map +1 -0
- package/crawlerSchedule.d.ts +156 -0
- package/crawlerSchedule.js +74 -0
- package/crawlerSchedule.js.map +1 -0
- package/cronJob.d.ts +102 -0
- package/cronJob.js +73 -0
- package/cronJob.js.map +1 -0
- package/{domain.ts → domain.d.ts} +10 -56
- package/domain.js +62 -0
- package/domain.js.map +1 -0
- package/environment.d.ts +313 -0
- package/environment.js +110 -0
- package/environment.js.map +1 -0
- package/getProject.d.ts +34 -0
- package/getProject.js +24 -0
- package/getProject.js.map +1 -0
- package/getProjects.d.ts +14 -0
- package/getProjects.js +18 -0
- package/getProjects.js.map +1 -0
- package/header.d.ts +60 -0
- package/header.js +59 -0
- package/header.js.map +1 -0
- package/index.d.ts +88 -0
- package/index.js +158 -0
- package/index.js.map +1 -0
- package/{kvItem.ts → kvItem.d.ts} +11 -62
- package/kvItem.js +67 -0
- package/kvItem.js.map +1 -0
- package/kvStore.d.ts +75 -0
- package/kvStore.js +55 -0
- package/kvStore.js.map +1 -0
- package/package.json +32 -30
- package/project.d.ts +175 -0
- package/project.js +73 -0
- package/project.js.map +1 -0
- package/{provider.ts → provider.d.ts} +12 -51
- package/provider.js +63 -0
- package/provider.js.map +1 -0
- package/{ruleAuth.ts → ruleAuth.d.ts} +31 -128
- package/ruleAuth.js +113 -0
- package/ruleAuth.js.map +1 -0
- package/{ruleBotChallenge.ts → ruleBotChallenge.d.ts} +32 -128
- package/ruleBotChallenge.js +112 -0
- package/ruleBotChallenge.js.map +1 -0
- package/{ruleContentFilter.ts → ruleContentFilter.d.ts} +30 -122
- package/ruleContentFilter.js +108 -0
- package/ruleContentFilter.js.map +1 -0
- package/{ruleCustomResponse.ts → ruleCustomResponse.d.ts} +33 -131
- package/ruleCustomResponse.js +114 -0
- package/ruleCustomResponse.js.map +1 -0
- package/{ruleFunction.ts → ruleFunction.d.ts} +30 -122
- package/ruleFunction.js +108 -0
- package/ruleFunction.js.map +1 -0
- package/{ruleHeaders.ts → ruleHeaders.d.ts} +38 -124
- package/ruleHeaders.js +108 -0
- package/ruleHeaders.js.map +1 -0
- package/{ruleProxy.ts → ruleProxy.d.ts} +62 -196
- package/ruleProxy.js +156 -0
- package/ruleProxy.js.map +1 -0
- package/{ruleRedirect.ts → ruleRedirect.d.ts} +31 -125
- package/ruleRedirect.js +110 -0
- package/ruleRedirect.js.map +1 -0
- package/{ruleServeStatic.ts → ruleServeStatic.d.ts} +30 -122
- package/ruleServeStatic.js +108 -0
- package/ruleServeStatic.js.map +1 -0
- package/{slackBot.ts → slackBot.d.ts} +14 -71
- package/slackBot.js +73 -0
- package/slackBot.js.map +1 -0
- package/types/index.d.ts +3 -0
- package/types/index.js +11 -0
- package/types/index.js.map +1 -0
- package/types/{input.ts → input.d.ts} +6 -78
- package/{config/index.ts → types/input.js} +3 -3
- package/types/input.js.map +1 -0
- package/types/{output.ts → output.d.ts} +6 -81
- package/types/output.js +5 -0
- package/types/output.js.map +1 -0
- package/utilities.d.ts +4 -0
- package/{utilities.ts → utilities.js} +23 -28
- package/utilities.js.map +1 -0
- package/volume.d.ts +130 -0
- package/volume.js +74 -0
- package/volume.js.map +1 -0
- package/.gitattributes +0 -1
- package/aiAgent.ts +0 -233
- package/aiGovernance.ts +0 -136
- package/aiSkill.ts +0 -170
- package/aiVectorCollection.ts +0 -159
- package/aiVectorDocument.ts +0 -127
- package/application.ts +0 -258
- package/config/vars.ts +0 -108
- package/crawlerSchedule.ts +0 -214
- package/cronJob.ts +0 -159
- package/environment.ts +0 -407
- package/getProject.ts +0 -54
- package/getProjects.ts +0 -29
- package/header.ts +0 -97
- package/index.ts +0 -231
- package/kvStore.ts +0 -114
- package/project.ts +0 -232
- package/tsconfig.json +0 -53
- package/types/index.ts +0 -13
- package/volume.ts +0 -188
|
@@ -0,0 +1,156 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
export declare class CrawlerSchedule extends pulumi.CustomResource {
|
|
3
|
+
/**
|
|
4
|
+
* Get an existing CrawlerSchedule resource's state with the given name, ID, and optional extra
|
|
5
|
+
* properties used to qualify the lookup.
|
|
6
|
+
*
|
|
7
|
+
* @param name The _unique_ name of the resulting resource.
|
|
8
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
9
|
+
* @param state Any extra arguments used during the lookup.
|
|
10
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
11
|
+
*/
|
|
12
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: CrawlerScheduleState, opts?: pulumi.CustomResourceOptions): CrawlerSchedule;
|
|
13
|
+
/**
|
|
14
|
+
* Returns true if the given object is an instance of CrawlerSchedule. This is designed to work even
|
|
15
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
16
|
+
*/
|
|
17
|
+
static isInstance(obj: any): obj is CrawlerSchedule;
|
|
18
|
+
/**
|
|
19
|
+
* Crawler identifier
|
|
20
|
+
*/
|
|
21
|
+
readonly crawler: pulumi.Output<string>;
|
|
22
|
+
/**
|
|
23
|
+
* Crawler config ID
|
|
24
|
+
*/
|
|
25
|
+
readonly crawlerConfigId: pulumi.Output<number>;
|
|
26
|
+
/**
|
|
27
|
+
* Last run ID
|
|
28
|
+
*/
|
|
29
|
+
readonly crawlerLastRunId: pulumi.Output<number>;
|
|
30
|
+
/**
|
|
31
|
+
* Crawler schedule identifier
|
|
32
|
+
*/
|
|
33
|
+
readonly crawlerSchedule: pulumi.Output<string>;
|
|
34
|
+
/**
|
|
35
|
+
* Crawler UUID
|
|
36
|
+
*/
|
|
37
|
+
readonly crawlerUuid: pulumi.Output<string>;
|
|
38
|
+
/**
|
|
39
|
+
* Creation timestamp
|
|
40
|
+
*/
|
|
41
|
+
readonly createdAt: pulumi.Output<string>;
|
|
42
|
+
/**
|
|
43
|
+
* Schedule name. If not provided, defaults to 'Schedule {crawler_name}'.
|
|
44
|
+
*/
|
|
45
|
+
readonly name: pulumi.Output<string>;
|
|
46
|
+
/**
|
|
47
|
+
* Organization identifier
|
|
48
|
+
*/
|
|
49
|
+
readonly organization: pulumi.Output<string>;
|
|
50
|
+
/**
|
|
51
|
+
* Project identifier
|
|
52
|
+
*/
|
|
53
|
+
readonly project: pulumi.Output<string>;
|
|
54
|
+
/**
|
|
55
|
+
* Project ID
|
|
56
|
+
*/
|
|
57
|
+
readonly projectId: pulumi.Output<number>;
|
|
58
|
+
/**
|
|
59
|
+
* 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.
|
|
60
|
+
*/
|
|
61
|
+
readonly scheduleCronString: pulumi.Output<string>;
|
|
62
|
+
/**
|
|
63
|
+
* Last update timestamp
|
|
64
|
+
*/
|
|
65
|
+
readonly updatedAt: pulumi.Output<string>;
|
|
66
|
+
/**
|
|
67
|
+
* Create a CrawlerSchedule resource with the given unique name, arguments, and options.
|
|
68
|
+
*
|
|
69
|
+
* @param name The _unique_ name of the resource.
|
|
70
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
71
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
72
|
+
*/
|
|
73
|
+
constructor(name: string, args: CrawlerScheduleArgs, opts?: pulumi.CustomResourceOptions);
|
|
74
|
+
}
|
|
75
|
+
/**
|
|
76
|
+
* Input properties used for looking up and filtering CrawlerSchedule resources.
|
|
77
|
+
*/
|
|
78
|
+
export interface CrawlerScheduleState {
|
|
79
|
+
/**
|
|
80
|
+
* Crawler identifier
|
|
81
|
+
*/
|
|
82
|
+
crawler?: pulumi.Input<string>;
|
|
83
|
+
/**
|
|
84
|
+
* Crawler config ID
|
|
85
|
+
*/
|
|
86
|
+
crawlerConfigId?: pulumi.Input<number>;
|
|
87
|
+
/**
|
|
88
|
+
* Last run ID
|
|
89
|
+
*/
|
|
90
|
+
crawlerLastRunId?: pulumi.Input<number>;
|
|
91
|
+
/**
|
|
92
|
+
* Crawler schedule identifier
|
|
93
|
+
*/
|
|
94
|
+
crawlerSchedule?: pulumi.Input<string>;
|
|
95
|
+
/**
|
|
96
|
+
* Crawler UUID
|
|
97
|
+
*/
|
|
98
|
+
crawlerUuid?: pulumi.Input<string>;
|
|
99
|
+
/**
|
|
100
|
+
* Creation timestamp
|
|
101
|
+
*/
|
|
102
|
+
createdAt?: pulumi.Input<string>;
|
|
103
|
+
/**
|
|
104
|
+
* Schedule name. If not provided, defaults to 'Schedule {crawler_name}'.
|
|
105
|
+
*/
|
|
106
|
+
name?: pulumi.Input<string>;
|
|
107
|
+
/**
|
|
108
|
+
* Organization identifier
|
|
109
|
+
*/
|
|
110
|
+
organization?: pulumi.Input<string>;
|
|
111
|
+
/**
|
|
112
|
+
* Project identifier
|
|
113
|
+
*/
|
|
114
|
+
project?: pulumi.Input<string>;
|
|
115
|
+
/**
|
|
116
|
+
* Project ID
|
|
117
|
+
*/
|
|
118
|
+
projectId?: pulumi.Input<number>;
|
|
119
|
+
/**
|
|
120
|
+
* 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.
|
|
121
|
+
*/
|
|
122
|
+
scheduleCronString?: pulumi.Input<string>;
|
|
123
|
+
/**
|
|
124
|
+
* Last update timestamp
|
|
125
|
+
*/
|
|
126
|
+
updatedAt?: pulumi.Input<string>;
|
|
127
|
+
}
|
|
128
|
+
/**
|
|
129
|
+
* The set of arguments for constructing a CrawlerSchedule resource.
|
|
130
|
+
*/
|
|
131
|
+
export interface CrawlerScheduleArgs {
|
|
132
|
+
/**
|
|
133
|
+
* Crawler identifier
|
|
134
|
+
*/
|
|
135
|
+
crawler?: pulumi.Input<string>;
|
|
136
|
+
/**
|
|
137
|
+
* Crawler schedule identifier
|
|
138
|
+
*/
|
|
139
|
+
crawlerSchedule?: pulumi.Input<string>;
|
|
140
|
+
/**
|
|
141
|
+
* Schedule name. If not provided, defaults to 'Schedule {crawler_name}'.
|
|
142
|
+
*/
|
|
143
|
+
name?: pulumi.Input<string>;
|
|
144
|
+
/**
|
|
145
|
+
* Organization identifier
|
|
146
|
+
*/
|
|
147
|
+
organization?: pulumi.Input<string>;
|
|
148
|
+
/**
|
|
149
|
+
* Project identifier
|
|
150
|
+
*/
|
|
151
|
+
project?: pulumi.Input<string>;
|
|
152
|
+
/**
|
|
153
|
+
* 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.
|
|
154
|
+
*/
|
|
155
|
+
scheduleCronString: pulumi.Input<string>;
|
|
156
|
+
}
|
|
@@ -0,0 +1,74 @@
|
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.CrawlerSchedule = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
class CrawlerSchedule extends pulumi.CustomResource {
|
|
9
|
+
/**
|
|
10
|
+
* Get an existing CrawlerSchedule resource's state with the given name, ID, and optional extra
|
|
11
|
+
* properties used to qualify the lookup.
|
|
12
|
+
*
|
|
13
|
+
* @param name The _unique_ name of the resulting resource.
|
|
14
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
15
|
+
* @param state Any extra arguments used during the lookup.
|
|
16
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
17
|
+
*/
|
|
18
|
+
static get(name, id, state, opts) {
|
|
19
|
+
return new CrawlerSchedule(name, state, { ...opts, id: id });
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Returns true if the given object is an instance of CrawlerSchedule. This is designed to work even
|
|
23
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
24
|
+
*/
|
|
25
|
+
static isInstance(obj) {
|
|
26
|
+
if (obj === undefined || obj === null) {
|
|
27
|
+
return false;
|
|
28
|
+
}
|
|
29
|
+
return obj['__pulumiType'] === CrawlerSchedule.__pulumiType;
|
|
30
|
+
}
|
|
31
|
+
constructor(name, argsOrState, opts) {
|
|
32
|
+
let resourceInputs = {};
|
|
33
|
+
opts = opts || {};
|
|
34
|
+
if (opts.id) {
|
|
35
|
+
const state = argsOrState;
|
|
36
|
+
resourceInputs["crawler"] = state?.crawler;
|
|
37
|
+
resourceInputs["crawlerConfigId"] = state?.crawlerConfigId;
|
|
38
|
+
resourceInputs["crawlerLastRunId"] = state?.crawlerLastRunId;
|
|
39
|
+
resourceInputs["crawlerSchedule"] = state?.crawlerSchedule;
|
|
40
|
+
resourceInputs["crawlerUuid"] = state?.crawlerUuid;
|
|
41
|
+
resourceInputs["createdAt"] = state?.createdAt;
|
|
42
|
+
resourceInputs["name"] = state?.name;
|
|
43
|
+
resourceInputs["organization"] = state?.organization;
|
|
44
|
+
resourceInputs["project"] = state?.project;
|
|
45
|
+
resourceInputs["projectId"] = state?.projectId;
|
|
46
|
+
resourceInputs["scheduleCronString"] = state?.scheduleCronString;
|
|
47
|
+
resourceInputs["updatedAt"] = state?.updatedAt;
|
|
48
|
+
}
|
|
49
|
+
else {
|
|
50
|
+
const args = argsOrState;
|
|
51
|
+
if (args?.scheduleCronString === undefined && !opts.urn) {
|
|
52
|
+
throw new Error("Missing required property 'scheduleCronString'");
|
|
53
|
+
}
|
|
54
|
+
resourceInputs["crawler"] = args?.crawler;
|
|
55
|
+
resourceInputs["crawlerSchedule"] = args?.crawlerSchedule;
|
|
56
|
+
resourceInputs["name"] = args?.name;
|
|
57
|
+
resourceInputs["organization"] = args?.organization;
|
|
58
|
+
resourceInputs["project"] = args?.project;
|
|
59
|
+
resourceInputs["scheduleCronString"] = args?.scheduleCronString;
|
|
60
|
+
resourceInputs["crawlerConfigId"] = undefined /*out*/;
|
|
61
|
+
resourceInputs["crawlerLastRunId"] = undefined /*out*/;
|
|
62
|
+
resourceInputs["crawlerUuid"] = undefined /*out*/;
|
|
63
|
+
resourceInputs["createdAt"] = undefined /*out*/;
|
|
64
|
+
resourceInputs["projectId"] = undefined /*out*/;
|
|
65
|
+
resourceInputs["updatedAt"] = undefined /*out*/;
|
|
66
|
+
}
|
|
67
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
68
|
+
super(CrawlerSchedule.__pulumiType, name, resourceInputs, opts);
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
exports.CrawlerSchedule = CrawlerSchedule;
|
|
72
|
+
/** @internal */
|
|
73
|
+
CrawlerSchedule.__pulumiType = 'quant:index:CrawlerSchedule';
|
|
74
|
+
//# sourceMappingURL=crawlerSchedule.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"crawlerSchedule.js","sourceRoot":"","sources":["../crawlerSchedule.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,MAAa,eAAgB,SAAQ,MAAM,C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,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACpE,CAAC;;AA1HL,0CA2HC;AA7GG,gBAAgB;AACO,4BAAY,GAAG,6BAA6B,CAAC"}
|
package/cronJob.d.ts
ADDED
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
export declare class CronJob extends pulumi.CustomResource {
|
|
3
|
+
/**
|
|
4
|
+
* Get an existing CronJob resource's state with the given name, ID, and optional extra
|
|
5
|
+
* properties used to qualify the lookup.
|
|
6
|
+
*
|
|
7
|
+
* @param name The _unique_ name of the resulting resource.
|
|
8
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
9
|
+
* @param state Any extra arguments used during the lookup.
|
|
10
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
11
|
+
*/
|
|
12
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: CronJobState, opts?: pulumi.CustomResourceOptions): CronJob;
|
|
13
|
+
/**
|
|
14
|
+
* Returns true if the given object is an instance of CronJob. This is designed to work even
|
|
15
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
16
|
+
*/
|
|
17
|
+
static isInstance(obj: any): obj is CronJob;
|
|
18
|
+
/**
|
|
19
|
+
* The application ID
|
|
20
|
+
*/
|
|
21
|
+
readonly application: pulumi.Output<string>;
|
|
22
|
+
readonly commands: pulumi.Output<string[]>;
|
|
23
|
+
/**
|
|
24
|
+
* The cron job ID
|
|
25
|
+
*/
|
|
26
|
+
readonly cron: pulumi.Output<string>;
|
|
27
|
+
readonly description: pulumi.Output<string>;
|
|
28
|
+
/**
|
|
29
|
+
* The environment ID
|
|
30
|
+
*/
|
|
31
|
+
readonly environment: pulumi.Output<string>;
|
|
32
|
+
readonly isEnabled: pulumi.Output<boolean>;
|
|
33
|
+
readonly name: pulumi.Output<string>;
|
|
34
|
+
/**
|
|
35
|
+
* The organisation ID
|
|
36
|
+
*/
|
|
37
|
+
readonly organisation: pulumi.Output<string>;
|
|
38
|
+
readonly scheduleExpression: pulumi.Output<string>;
|
|
39
|
+
readonly targetContainerName: pulumi.Output<string>;
|
|
40
|
+
/**
|
|
41
|
+
* Create a CronJob resource with the given unique name, arguments, and options.
|
|
42
|
+
*
|
|
43
|
+
* @param name The _unique_ name of the resource.
|
|
44
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
45
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
46
|
+
*/
|
|
47
|
+
constructor(name: string, args: CronJobArgs, opts?: pulumi.CustomResourceOptions);
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Input properties used for looking up and filtering CronJob resources.
|
|
51
|
+
*/
|
|
52
|
+
export interface CronJobState {
|
|
53
|
+
/**
|
|
54
|
+
* The application ID
|
|
55
|
+
*/
|
|
56
|
+
application?: pulumi.Input<string>;
|
|
57
|
+
commands?: pulumi.Input<pulumi.Input<string>[]>;
|
|
58
|
+
/**
|
|
59
|
+
* The cron job ID
|
|
60
|
+
*/
|
|
61
|
+
cron?: pulumi.Input<string>;
|
|
62
|
+
description?: pulumi.Input<string>;
|
|
63
|
+
/**
|
|
64
|
+
* The environment ID
|
|
65
|
+
*/
|
|
66
|
+
environment?: pulumi.Input<string>;
|
|
67
|
+
isEnabled?: pulumi.Input<boolean>;
|
|
68
|
+
name?: pulumi.Input<string>;
|
|
69
|
+
/**
|
|
70
|
+
* The organisation ID
|
|
71
|
+
*/
|
|
72
|
+
organisation?: pulumi.Input<string>;
|
|
73
|
+
scheduleExpression?: pulumi.Input<string>;
|
|
74
|
+
targetContainerName?: pulumi.Input<string>;
|
|
75
|
+
}
|
|
76
|
+
/**
|
|
77
|
+
* The set of arguments for constructing a CronJob resource.
|
|
78
|
+
*/
|
|
79
|
+
export interface CronJobArgs {
|
|
80
|
+
/**
|
|
81
|
+
* The application ID
|
|
82
|
+
*/
|
|
83
|
+
application?: pulumi.Input<string>;
|
|
84
|
+
commands: pulumi.Input<pulumi.Input<string>[]>;
|
|
85
|
+
/**
|
|
86
|
+
* The cron job ID
|
|
87
|
+
*/
|
|
88
|
+
cron?: pulumi.Input<string>;
|
|
89
|
+
description?: pulumi.Input<string>;
|
|
90
|
+
/**
|
|
91
|
+
* The environment ID
|
|
92
|
+
*/
|
|
93
|
+
environment?: pulumi.Input<string>;
|
|
94
|
+
isEnabled?: pulumi.Input<boolean>;
|
|
95
|
+
name?: pulumi.Input<string>;
|
|
96
|
+
/**
|
|
97
|
+
* The organisation ID
|
|
98
|
+
*/
|
|
99
|
+
organisation?: pulumi.Input<string>;
|
|
100
|
+
scheduleExpression: pulumi.Input<string>;
|
|
101
|
+
targetContainerName?: pulumi.Input<string>;
|
|
102
|
+
}
|
package/cronJob.js
ADDED
|
@@ -0,0 +1,73 @@
|
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.CronJob = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
class CronJob extends pulumi.CustomResource {
|
|
9
|
+
/**
|
|
10
|
+
* Get an existing CronJob resource's state with the given name, ID, and optional extra
|
|
11
|
+
* properties used to qualify the lookup.
|
|
12
|
+
*
|
|
13
|
+
* @param name The _unique_ name of the resulting resource.
|
|
14
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
15
|
+
* @param state Any extra arguments used during the lookup.
|
|
16
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
17
|
+
*/
|
|
18
|
+
static get(name, id, state, opts) {
|
|
19
|
+
return new CronJob(name, state, { ...opts, id: id });
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Returns true if the given object is an instance of CronJob. This is designed to work even
|
|
23
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
24
|
+
*/
|
|
25
|
+
static isInstance(obj) {
|
|
26
|
+
if (obj === undefined || obj === null) {
|
|
27
|
+
return false;
|
|
28
|
+
}
|
|
29
|
+
return obj['__pulumiType'] === CronJob.__pulumiType;
|
|
30
|
+
}
|
|
31
|
+
constructor(name, argsOrState, opts) {
|
|
32
|
+
let resourceInputs = {};
|
|
33
|
+
opts = opts || {};
|
|
34
|
+
if (opts.id) {
|
|
35
|
+
const state = argsOrState;
|
|
36
|
+
resourceInputs["application"] = state?.application;
|
|
37
|
+
resourceInputs["commands"] = state?.commands;
|
|
38
|
+
resourceInputs["cron"] = state?.cron;
|
|
39
|
+
resourceInputs["description"] = state?.description;
|
|
40
|
+
resourceInputs["environment"] = state?.environment;
|
|
41
|
+
resourceInputs["isEnabled"] = state?.isEnabled;
|
|
42
|
+
resourceInputs["name"] = state?.name;
|
|
43
|
+
resourceInputs["organisation"] = state?.organisation;
|
|
44
|
+
resourceInputs["scheduleExpression"] = state?.scheduleExpression;
|
|
45
|
+
resourceInputs["targetContainerName"] = state?.targetContainerName;
|
|
46
|
+
}
|
|
47
|
+
else {
|
|
48
|
+
const args = argsOrState;
|
|
49
|
+
if (args?.commands === undefined && !opts.urn) {
|
|
50
|
+
throw new Error("Missing required property 'commands'");
|
|
51
|
+
}
|
|
52
|
+
if (args?.scheduleExpression === undefined && !opts.urn) {
|
|
53
|
+
throw new Error("Missing required property 'scheduleExpression'");
|
|
54
|
+
}
|
|
55
|
+
resourceInputs["application"] = args?.application;
|
|
56
|
+
resourceInputs["commands"] = args?.commands;
|
|
57
|
+
resourceInputs["cron"] = args?.cron;
|
|
58
|
+
resourceInputs["description"] = args?.description;
|
|
59
|
+
resourceInputs["environment"] = args?.environment;
|
|
60
|
+
resourceInputs["isEnabled"] = args?.isEnabled;
|
|
61
|
+
resourceInputs["name"] = args?.name;
|
|
62
|
+
resourceInputs["organisation"] = args?.organisation;
|
|
63
|
+
resourceInputs["scheduleExpression"] = args?.scheduleExpression;
|
|
64
|
+
resourceInputs["targetContainerName"] = args?.targetContainerName;
|
|
65
|
+
}
|
|
66
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
67
|
+
super(CronJob.__pulumiType, name, resourceInputs, opts);
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
exports.CronJob = CronJob;
|
|
71
|
+
/** @internal */
|
|
72
|
+
CronJob.__pulumiType = 'quant:index:CronJob';
|
|
73
|
+
//# sourceMappingURL=cronJob.js.map
|
package/cronJob.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cronJob.js","sourceRoot":"","sources":["../cronJob.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,MAAa,OAAQ,SAAQ,MAAM,CAAC,cAAc;IAC9C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAoB,EAAE,IAAmC;QAClH,OAAO,IAAI,OAAO,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC9D,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,OAAO,CAAC,YAAY,CAAC;IACxD,CAAC;IAiCD,YAAY,IAAY,EAAE,WAAwC,EAAE,IAAmC;QACnG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAuC,CAAC;YACtD,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,EAAE,WAAW,CAAC;YACnD,cAAc,CA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C,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,EAAE,YAAY,CAAC;YACpD,cAAc,CAAC,oBAAoB,CAAC,GAAG,IAAI,EAAE,kBAAkB,CAAC;YAChE,cAAc,CAAC,qBAAqB,CAAC,GAAG,IAAI,EAAE,mBAAmB,CAAC;SACrE;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,OAAO,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC5D,CAAC;;AA/FL,0BAgGC;AAlFG,gBAAgB;AACO,oBAAY,GAAG,qBAAqB,CAAC"}
|
|
@@ -1,12 +1,7 @@
|
|
|
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
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
5
2
|
import * as inputs from "./types/input";
|
|
6
3
|
import * as outputs from "./types/output";
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
export class Domain extends pulumi.CustomResource {
|
|
4
|
+
export declare class Domain extends pulumi.CustomResource {
|
|
10
5
|
/**
|
|
11
6
|
* Get an existing Domain resource's state with the given name, ID, and optional extra
|
|
12
7
|
* properties used to qualify the lookup.
|
|
@@ -16,49 +11,36 @@ export class Domain extends pulumi.CustomResource {
|
|
|
16
11
|
* @param state Any extra arguments used during the lookup.
|
|
17
12
|
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
18
13
|
*/
|
|
19
|
-
|
|
20
|
-
return new Domain(name, <any>state, { ...opts, id: id });
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
/** @internal */
|
|
24
|
-
public static readonly __pulumiType = 'quant:index:Domain';
|
|
25
|
-
|
|
14
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: DomainState, opts?: pulumi.CustomResourceOptions): Domain;
|
|
26
15
|
/**
|
|
27
16
|
* Returns true if the given object is an instance of Domain. This is designed to work even
|
|
28
17
|
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
29
18
|
*/
|
|
30
|
-
|
|
31
|
-
if (obj === undefined || obj === null) {
|
|
32
|
-
return false;
|
|
33
|
-
}
|
|
34
|
-
return obj['__pulumiType'] === Domain.__pulumiType;
|
|
35
|
-
}
|
|
36
|
-
|
|
19
|
+
static isInstance(obj: any): obj is Domain;
|
|
37
20
|
/**
|
|
38
21
|
* DNS engagement status. 1 indicates DNS is properly configured and engaged, 0 indicates DNS configuration is pending or incomplete.
|
|
39
22
|
*/
|
|
40
|
-
|
|
23
|
+
readonly dnsEngaged: pulumi.Output<number>;
|
|
41
24
|
/**
|
|
42
25
|
* DNS records required to route traffic to the CDN. These records differ based on domain type (apex vs subdomain). Present when the CDN is configured and ready to receive traffic.
|
|
43
26
|
*/
|
|
44
|
-
|
|
27
|
+
readonly dnsGoLiveRecords: pulumi.Output<outputs.DomainDnsGoLiveRecord[]>;
|
|
45
28
|
/**
|
|
46
29
|
* DNS validation records required for SSL certificate validation. Present for domains pending certificate validation. Each record contains the CNAME information needed to validate domain ownership.
|
|
47
30
|
*/
|
|
48
|
-
|
|
31
|
+
readonly dnsValidationRecords: pulumi.Output<outputs.DomainDnsValidationRecord[]>;
|
|
49
32
|
/**
|
|
50
33
|
* Domain name
|
|
51
34
|
*/
|
|
52
|
-
|
|
35
|
+
readonly domain: pulumi.Output<string>;
|
|
53
36
|
/**
|
|
54
37
|
* Organization identifier
|
|
55
38
|
*/
|
|
56
|
-
|
|
39
|
+
readonly organization: pulumi.Output<string>;
|
|
57
40
|
/**
|
|
58
41
|
* Project identifier
|
|
59
42
|
*/
|
|
60
|
-
|
|
61
|
-
|
|
43
|
+
readonly project: pulumi.Output<string>;
|
|
62
44
|
/**
|
|
63
45
|
* Create a Domain resource with the given unique name, arguments, and options.
|
|
64
46
|
*
|
|
@@ -66,35 +48,8 @@ export class Domain extends pulumi.CustomResource {
|
|
|
66
48
|
* @param args The arguments to use to populate this resource's properties.
|
|
67
49
|
* @param opts A bag of options that control this resource's behavior.
|
|
68
50
|
*/
|
|
69
|
-
constructor(name: string, args: DomainArgs, opts?: pulumi.CustomResourceOptions)
|
|
70
|
-
constructor(name: string, argsOrState?: DomainArgs | DomainState, opts?: pulumi.CustomResourceOptions) {
|
|
71
|
-
let resourceInputs: pulumi.Inputs = {};
|
|
72
|
-
opts = opts || {};
|
|
73
|
-
if (opts.id) {
|
|
74
|
-
const state = argsOrState as DomainState | undefined;
|
|
75
|
-
resourceInputs["dnsEngaged"] = state?.dnsEngaged;
|
|
76
|
-
resourceInputs["dnsGoLiveRecords"] = state?.dnsGoLiveRecords;
|
|
77
|
-
resourceInputs["dnsValidationRecords"] = state?.dnsValidationRecords;
|
|
78
|
-
resourceInputs["domain"] = state?.domain;
|
|
79
|
-
resourceInputs["organization"] = state?.organization;
|
|
80
|
-
resourceInputs["project"] = state?.project;
|
|
81
|
-
} else {
|
|
82
|
-
const args = argsOrState as DomainArgs | undefined;
|
|
83
|
-
if (args?.domain === undefined && !opts.urn) {
|
|
84
|
-
throw new Error("Missing required property 'domain'");
|
|
85
|
-
}
|
|
86
|
-
resourceInputs["domain"] = args?.domain;
|
|
87
|
-
resourceInputs["organization"] = args?.organization;
|
|
88
|
-
resourceInputs["project"] = args?.project;
|
|
89
|
-
resourceInputs["dnsEngaged"] = undefined /*out*/;
|
|
90
|
-
resourceInputs["dnsGoLiveRecords"] = undefined /*out*/;
|
|
91
|
-
resourceInputs["dnsValidationRecords"] = undefined /*out*/;
|
|
92
|
-
}
|
|
93
|
-
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
94
|
-
super(Domain.__pulumiType, name, resourceInputs, opts);
|
|
95
|
-
}
|
|
51
|
+
constructor(name: string, args: DomainArgs, opts?: pulumi.CustomResourceOptions);
|
|
96
52
|
}
|
|
97
|
-
|
|
98
53
|
/**
|
|
99
54
|
* Input properties used for looking up and filtering Domain resources.
|
|
100
55
|
*/
|
|
@@ -124,7 +79,6 @@ export interface DomainState {
|
|
|
124
79
|
*/
|
|
125
80
|
project?: pulumi.Input<string>;
|
|
126
81
|
}
|
|
127
|
-
|
|
128
82
|
/**
|
|
129
83
|
* The set of arguments for constructing a Domain resource.
|
|
130
84
|
*/
|
package/domain.js
ADDED
|
@@ -0,0 +1,62 @@
|
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.Domain = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
class Domain extends pulumi.CustomResource {
|
|
9
|
+
/**
|
|
10
|
+
* Get an existing Domain resource's state with the given name, ID, and optional extra
|
|
11
|
+
* properties used to qualify the lookup.
|
|
12
|
+
*
|
|
13
|
+
* @param name The _unique_ name of the resulting resource.
|
|
14
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
15
|
+
* @param state Any extra arguments used during the lookup.
|
|
16
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
17
|
+
*/
|
|
18
|
+
static get(name, id, state, opts) {
|
|
19
|
+
return new Domain(name, state, { ...opts, id: id });
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Returns true if the given object is an instance of Domain. This is designed to work even
|
|
23
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
24
|
+
*/
|
|
25
|
+
static isInstance(obj) {
|
|
26
|
+
if (obj === undefined || obj === null) {
|
|
27
|
+
return false;
|
|
28
|
+
}
|
|
29
|
+
return obj['__pulumiType'] === Domain.__pulumiType;
|
|
30
|
+
}
|
|
31
|
+
constructor(name, argsOrState, opts) {
|
|
32
|
+
let resourceInputs = {};
|
|
33
|
+
opts = opts || {};
|
|
34
|
+
if (opts.id) {
|
|
35
|
+
const state = argsOrState;
|
|
36
|
+
resourceInputs["dnsEngaged"] = state?.dnsEngaged;
|
|
37
|
+
resourceInputs["dnsGoLiveRecords"] = state?.dnsGoLiveRecords;
|
|
38
|
+
resourceInputs["dnsValidationRecords"] = state?.dnsValidationRecords;
|
|
39
|
+
resourceInputs["domain"] = state?.domain;
|
|
40
|
+
resourceInputs["organization"] = state?.organization;
|
|
41
|
+
resourceInputs["project"] = state?.project;
|
|
42
|
+
}
|
|
43
|
+
else {
|
|
44
|
+
const args = argsOrState;
|
|
45
|
+
if (args?.domain === undefined && !opts.urn) {
|
|
46
|
+
throw new Error("Missing required property 'domain'");
|
|
47
|
+
}
|
|
48
|
+
resourceInputs["domain"] = args?.domain;
|
|
49
|
+
resourceInputs["organization"] = args?.organization;
|
|
50
|
+
resourceInputs["project"] = args?.project;
|
|
51
|
+
resourceInputs["dnsEngaged"] = undefined /*out*/;
|
|
52
|
+
resourceInputs["dnsGoLiveRecords"] = undefined /*out*/;
|
|
53
|
+
resourceInputs["dnsValidationRecords"] = undefined /*out*/;
|
|
54
|
+
}
|
|
55
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
56
|
+
super(Domain.__pulumiType, name, resourceInputs, opts);
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
exports.Domain = Domain;
|
|
60
|
+
/** @internal */
|
|
61
|
+
Domain.__pulumiType = 'quant:index:Domain';
|
|
62
|
+
//# sourceMappingURL=domain.js.map
|
package/domain.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"domain.js","sourceRoot":"","sources":["../domain.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC,MAAa,MAAO,SAAQ,MAAM,CAAC,cAAc;IA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