@quantcdn/pulumi-quant 5.5.0 → 5.5.2

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/header.ts DELETED
@@ -1,97 +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 Header extends pulumi.CustomResource {
8
- /**
9
- * Get an existing Header 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?: HeaderState, opts?: pulumi.CustomResourceOptions): Header {
18
- return new Header(name, <any>state, { ...opts, id: id });
19
- }
20
-
21
- /** @internal */
22
- public static readonly __pulumiType = 'quant:index:Header';
23
-
24
- /**
25
- * Returns true if the given object is an instance of Header. 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 Header {
29
- if (obj === undefined || obj === null) {
30
- return false;
31
- }
32
- return obj['__pulumiType'] === Header.__pulumiType;
33
- }
34
-
35
- /**
36
- * HTTP headers to be set for the project
37
- */
38
- declare public readonly headers: pulumi.Output<{[key: string]: string}>;
39
- declare public readonly organization: pulumi.Output<string>;
40
- declare public readonly project: pulumi.Output<string>;
41
-
42
- /**
43
- * Create a Header resource with the given unique name, arguments, and options.
44
- *
45
- * @param name The _unique_ name of the resource.
46
- * @param args The arguments to use to populate this resource's properties.
47
- * @param opts A bag of options that control this resource's behavior.
48
- */
49
- constructor(name: string, args: HeaderArgs, opts?: pulumi.CustomResourceOptions)
50
- constructor(name: string, argsOrState?: HeaderArgs | HeaderState, opts?: pulumi.CustomResourceOptions) {
51
- let resourceInputs: pulumi.Inputs = {};
52
- opts = opts || {};
53
- if (opts.id) {
54
- const state = argsOrState as HeaderState | undefined;
55
- resourceInputs["headers"] = state?.headers;
56
- resourceInputs["organization"] = state?.organization;
57
- resourceInputs["project"] = state?.project;
58
- } else {
59
- const args = argsOrState as HeaderArgs | undefined;
60
- if (args?.headers === undefined && !opts.urn) {
61
- throw new Error("Missing required property 'headers'");
62
- }
63
- if (args?.project === undefined && !opts.urn) {
64
- throw new Error("Missing required property 'project'");
65
- }
66
- resourceInputs["headers"] = args?.headers;
67
- resourceInputs["organization"] = args?.organization;
68
- resourceInputs["project"] = args?.project;
69
- }
70
- opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
71
- super(Header.__pulumiType, name, resourceInputs, opts);
72
- }
73
- }
74
-
75
- /**
76
- * Input properties used for looking up and filtering Header resources.
77
- */
78
- export interface HeaderState {
79
- /**
80
- * HTTP headers to be set for the project
81
- */
82
- headers?: pulumi.Input<{[key: string]: pulumi.Input<string>}>;
83
- organization?: pulumi.Input<string>;
84
- project?: pulumi.Input<string>;
85
- }
86
-
87
- /**
88
- * The set of arguments for constructing a Header resource.
89
- */
90
- export interface HeaderArgs {
91
- /**
92
- * HTTP headers to be set for the project
93
- */
94
- headers: pulumi.Input<{[key: string]: pulumi.Input<string>}>;
95
- organization?: pulumi.Input<string>;
96
- project: pulumi.Input<string>;
97
- }
package/index.ts DELETED
@@ -1,231 +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 members:
8
- export { AiAgentArgs, AiAgentState } from "./aiAgent";
9
- export type AiAgent = import("./aiAgent").AiAgent;
10
- export const AiAgent: typeof import("./aiAgent").AiAgent = null as any;
11
- utilities.lazyLoad(exports, ["AiAgent"], () => require("./aiAgent"));
12
-
13
- export { AiGovernanceArgs, AiGovernanceState } from "./aiGovernance";
14
- export type AiGovernance = import("./aiGovernance").AiGovernance;
15
- export const AiGovernance: typeof import("./aiGovernance").AiGovernance = null as any;
16
- utilities.lazyLoad(exports, ["AiGovernance"], () => require("./aiGovernance"));
17
-
18
- export { AiSkillArgs, AiSkillState } from "./aiSkill";
19
- export type AiSkill = import("./aiSkill").AiSkill;
20
- export const AiSkill: typeof import("./aiSkill").AiSkill = null as any;
21
- utilities.lazyLoad(exports, ["AiSkill"], () => require("./aiSkill"));
22
-
23
- export { AiVectorCollectionArgs, AiVectorCollectionState } from "./aiVectorCollection";
24
- export type AiVectorCollection = import("./aiVectorCollection").AiVectorCollection;
25
- export const AiVectorCollection: typeof import("./aiVectorCollection").AiVectorCollection = null as any;
26
- utilities.lazyLoad(exports, ["AiVectorCollection"], () => require("./aiVectorCollection"));
27
-
28
- export { AiVectorDocumentArgs, AiVectorDocumentState } from "./aiVectorDocument";
29
- export type AiVectorDocument = import("./aiVectorDocument").AiVectorDocument;
30
- export const AiVectorDocument: typeof import("./aiVectorDocument").AiVectorDocument = null as any;
31
- utilities.lazyLoad(exports, ["AiVectorDocument"], () => require("./aiVectorDocument"));
32
-
33
- export { ApplicationArgs, ApplicationState } from "./application";
34
- export type Application = import("./application").Application;
35
- export const Application: typeof import("./application").Application = null as any;
36
- utilities.lazyLoad(exports, ["Application"], () => require("./application"));
37
-
38
- export { CrawlerArgs, CrawlerState } from "./crawler";
39
- export type Crawler = import("./crawler").Crawler;
40
- export const Crawler: typeof import("./crawler").Crawler = null as any;
41
- utilities.lazyLoad(exports, ["Crawler"], () => require("./crawler"));
42
-
43
- export { CrawlerScheduleArgs, CrawlerScheduleState } from "./crawlerSchedule";
44
- export type CrawlerSchedule = import("./crawlerSchedule").CrawlerSchedule;
45
- export const CrawlerSchedule: typeof import("./crawlerSchedule").CrawlerSchedule = null as any;
46
- utilities.lazyLoad(exports, ["CrawlerSchedule"], () => require("./crawlerSchedule"));
47
-
48
- export { CronJobArgs, CronJobState } from "./cronJob";
49
- export type CronJob = import("./cronJob").CronJob;
50
- export const CronJob: typeof import("./cronJob").CronJob = null as any;
51
- utilities.lazyLoad(exports, ["CronJob"], () => require("./cronJob"));
52
-
53
- export { DomainArgs, DomainState } from "./domain";
54
- export type Domain = import("./domain").Domain;
55
- export const Domain: typeof import("./domain").Domain = null as any;
56
- utilities.lazyLoad(exports, ["Domain"], () => require("./domain"));
57
-
58
- export { EnvironmentArgs, EnvironmentState } from "./environment";
59
- export type Environment = import("./environment").Environment;
60
- export const Environment: typeof import("./environment").Environment = null as any;
61
- utilities.lazyLoad(exports, ["Environment"], () => require("./environment"));
62
-
63
- export { GetProjectArgs, GetProjectResult, GetProjectOutputArgs } from "./getProject";
64
- export const getProject: typeof import("./getProject").getProject = null as any;
65
- export const getProjectOutput: typeof import("./getProject").getProjectOutput = null as any;
66
- utilities.lazyLoad(exports, ["getProject","getProjectOutput"], () => require("./getProject"));
67
-
68
- export { GetProjectsResult } from "./getProjects";
69
- export const getProjects: typeof import("./getProjects").getProjects = null as any;
70
- export const getProjectsOutput: typeof import("./getProjects").getProjectsOutput = null as any;
71
- utilities.lazyLoad(exports, ["getProjects","getProjectsOutput"], () => require("./getProjects"));
72
-
73
- export { HeaderArgs, HeaderState } from "./header";
74
- export type Header = import("./header").Header;
75
- export const Header: typeof import("./header").Header = null as any;
76
- utilities.lazyLoad(exports, ["Header"], () => require("./header"));
77
-
78
- export { KvItemArgs, KvItemState } from "./kvItem";
79
- export type KvItem = import("./kvItem").KvItem;
80
- export const KvItem: typeof import("./kvItem").KvItem = null as any;
81
- utilities.lazyLoad(exports, ["KvItem"], () => require("./kvItem"));
82
-
83
- export { KvStoreArgs, KvStoreState } from "./kvStore";
84
- export type KvStore = import("./kvStore").KvStore;
85
- export const KvStore: typeof import("./kvStore").KvStore = null as any;
86
- utilities.lazyLoad(exports, ["KvStore"], () => require("./kvStore"));
87
-
88
- export { ProjectArgs, ProjectState } from "./project";
89
- export type Project = import("./project").Project;
90
- export const Project: typeof import("./project").Project = null as any;
91
- utilities.lazyLoad(exports, ["Project"], () => require("./project"));
92
-
93
- export * from "./provider";
94
- import { Provider } from "./provider";
95
-
96
- export { RuleAuthArgs, RuleAuthState } from "./ruleAuth";
97
- export type RuleAuth = import("./ruleAuth").RuleAuth;
98
- export const RuleAuth: typeof import("./ruleAuth").RuleAuth = null as any;
99
- utilities.lazyLoad(exports, ["RuleAuth"], () => require("./ruleAuth"));
100
-
101
- export { RuleBotChallengeArgs, RuleBotChallengeState } from "./ruleBotChallenge";
102
- export type RuleBotChallenge = import("./ruleBotChallenge").RuleBotChallenge;
103
- export const RuleBotChallenge: typeof import("./ruleBotChallenge").RuleBotChallenge = null as any;
104
- utilities.lazyLoad(exports, ["RuleBotChallenge"], () => require("./ruleBotChallenge"));
105
-
106
- export { RuleContentFilterArgs, RuleContentFilterState } from "./ruleContentFilter";
107
- export type RuleContentFilter = import("./ruleContentFilter").RuleContentFilter;
108
- export const RuleContentFilter: typeof import("./ruleContentFilter").RuleContentFilter = null as any;
109
- utilities.lazyLoad(exports, ["RuleContentFilter"], () => require("./ruleContentFilter"));
110
-
111
- export { RuleCustomResponseArgs, RuleCustomResponseState } from "./ruleCustomResponse";
112
- export type RuleCustomResponse = import("./ruleCustomResponse").RuleCustomResponse;
113
- export const RuleCustomResponse: typeof import("./ruleCustomResponse").RuleCustomResponse = null as any;
114
- utilities.lazyLoad(exports, ["RuleCustomResponse"], () => require("./ruleCustomResponse"));
115
-
116
- export { RuleFunctionArgs, RuleFunctionState } from "./ruleFunction";
117
- export type RuleFunction = import("./ruleFunction").RuleFunction;
118
- export const RuleFunction: typeof import("./ruleFunction").RuleFunction = null as any;
119
- utilities.lazyLoad(exports, ["RuleFunction"], () => require("./ruleFunction"));
120
-
121
- export { RuleHeadersArgs, RuleHeadersState } from "./ruleHeaders";
122
- export type RuleHeaders = import("./ruleHeaders").RuleHeaders;
123
- export const RuleHeaders: typeof import("./ruleHeaders").RuleHeaders = null as any;
124
- utilities.lazyLoad(exports, ["RuleHeaders"], () => require("./ruleHeaders"));
125
-
126
- export { RuleProxyArgs, RuleProxyState } from "./ruleProxy";
127
- export type RuleProxy = import("./ruleProxy").RuleProxy;
128
- export const RuleProxy: typeof import("./ruleProxy").RuleProxy = null as any;
129
- utilities.lazyLoad(exports, ["RuleProxy"], () => require("./ruleProxy"));
130
-
131
- export { RuleRedirectArgs, RuleRedirectState } from "./ruleRedirect";
132
- export type RuleRedirect = import("./ruleRedirect").RuleRedirect;
133
- export const RuleRedirect: typeof import("./ruleRedirect").RuleRedirect = null as any;
134
- utilities.lazyLoad(exports, ["RuleRedirect"], () => require("./ruleRedirect"));
135
-
136
- export { RuleServeStaticArgs, RuleServeStaticState } from "./ruleServeStatic";
137
- export type RuleServeStatic = import("./ruleServeStatic").RuleServeStatic;
138
- export const RuleServeStatic: typeof import("./ruleServeStatic").RuleServeStatic = null as any;
139
- utilities.lazyLoad(exports, ["RuleServeStatic"], () => require("./ruleServeStatic"));
140
-
141
- export { SlackBotArgs, SlackBotState } from "./slackBot";
142
- export type SlackBot = import("./slackBot").SlackBot;
143
- export const SlackBot: typeof import("./slackBot").SlackBot = null as any;
144
- utilities.lazyLoad(exports, ["SlackBot"], () => require("./slackBot"));
145
-
146
- export { VolumeArgs, VolumeState } from "./volume";
147
- export type Volume = import("./volume").Volume;
148
- export const Volume: typeof import("./volume").Volume = null as any;
149
- utilities.lazyLoad(exports, ["Volume"], () => require("./volume"));
150
-
151
-
152
- // Export sub-modules:
153
- import * as config from "./config";
154
- import * as types from "./types";
155
-
156
- export {
157
- config,
158
- types,
159
- };
160
-
161
- const _module = {
162
- version: utilities.getVersion(),
163
- construct: (name: string, type: string, urn: string): pulumi.Resource => {
164
- switch (type) {
165
- case "quant:index:AiAgent":
166
- return new AiAgent(name, <any>undefined, { urn })
167
- case "quant:index:AiGovernance":
168
- return new AiGovernance(name, <any>undefined, { urn })
169
- case "quant:index:AiSkill":
170
- return new AiSkill(name, <any>undefined, { urn })
171
- case "quant:index:AiVectorCollection":
172
- return new AiVectorCollection(name, <any>undefined, { urn })
173
- case "quant:index:AiVectorDocument":
174
- return new AiVectorDocument(name, <any>undefined, { urn })
175
- case "quant:index:Application":
176
- return new Application(name, <any>undefined, { urn })
177
- case "quant:index:Crawler":
178
- return new Crawler(name, <any>undefined, { urn })
179
- case "quant:index:CrawlerSchedule":
180
- return new CrawlerSchedule(name, <any>undefined, { urn })
181
- case "quant:index:CronJob":
182
- return new CronJob(name, <any>undefined, { urn })
183
- case "quant:index:Domain":
184
- return new Domain(name, <any>undefined, { urn })
185
- case "quant:index:Environment":
186
- return new Environment(name, <any>undefined, { urn })
187
- case "quant:index:Header":
188
- return new Header(name, <any>undefined, { urn })
189
- case "quant:index:KvItem":
190
- return new KvItem(name, <any>undefined, { urn })
191
- case "quant:index:KvStore":
192
- return new KvStore(name, <any>undefined, { urn })
193
- case "quant:index:Project":
194
- return new Project(name, <any>undefined, { urn })
195
- case "quant:index:RuleAuth":
196
- return new RuleAuth(name, <any>undefined, { urn })
197
- case "quant:index:RuleBotChallenge":
198
- return new RuleBotChallenge(name, <any>undefined, { urn })
199
- case "quant:index:RuleContentFilter":
200
- return new RuleContentFilter(name, <any>undefined, { urn })
201
- case "quant:index:RuleCustomResponse":
202
- return new RuleCustomResponse(name, <any>undefined, { urn })
203
- case "quant:index:RuleFunction":
204
- return new RuleFunction(name, <any>undefined, { urn })
205
- case "quant:index:RuleHeaders":
206
- return new RuleHeaders(name, <any>undefined, { urn })
207
- case "quant:index:RuleProxy":
208
- return new RuleProxy(name, <any>undefined, { urn })
209
- case "quant:index:RuleRedirect":
210
- return new RuleRedirect(name, <any>undefined, { urn })
211
- case "quant:index:RuleServeStatic":
212
- return new RuleServeStatic(name, <any>undefined, { urn })
213
- case "quant:index:SlackBot":
214
- return new SlackBot(name, <any>undefined, { urn })
215
- case "quant:index:Volume":
216
- return new Volume(name, <any>undefined, { urn })
217
- default:
218
- throw new Error(`unknown resource type ${type}`);
219
- }
220
- },
221
- };
222
- pulumi.runtime.registerResourceModule("quant", "index", _module)
223
- pulumi.runtime.registerResourcePackage("quant", {
224
- version: utilities.getVersion(),
225
- constructProvider: (name: string, type: string, urn: string): pulumi.ProviderResource => {
226
- if (type !== "pulumi:providers:quant") {
227
- throw new Error(`unknown provider type ${type}`);
228
- }
229
- return new Provider(name, <any>undefined, { urn });
230
- },
231
- });
package/kvStore.ts DELETED
@@ -1,114 +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 KvStore extends pulumi.CustomResource {
8
- /**
9
- * Get an existing KvStore 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?: KvStoreState, opts?: pulumi.CustomResourceOptions): KvStore {
18
- return new KvStore(name, <any>state, { ...opts, id: id });
19
- }
20
-
21
- /** @internal */
22
- public static readonly __pulumiType = 'quant:index:KvStore';
23
-
24
- /**
25
- * Returns true if the given object is an instance of KvStore. 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 KvStore {
29
- if (obj === undefined || obj === null) {
30
- return false;
31
- }
32
- return obj['__pulumiType'] === KvStore.__pulumiType;
33
- }
34
-
35
- /**
36
- * Store name
37
- */
38
- declare public readonly name: pulumi.Output<string>;
39
- /**
40
- * Organization identifier
41
- */
42
- declare public readonly organization: pulumi.Output<string>;
43
- /**
44
- * Project identifier
45
- */
46
- declare public readonly project: pulumi.Output<string>;
47
- declare public readonly storeId: pulumi.Output<string>;
48
-
49
- /**
50
- * Create a KvStore resource with the given unique name, arguments, and options.
51
- *
52
- * @param name The _unique_ name of the resource.
53
- * @param args The arguments to use to populate this resource's properties.
54
- * @param opts A bag of options that control this resource's behavior.
55
- */
56
- constructor(name: string, args?: KvStoreArgs, opts?: pulumi.CustomResourceOptions)
57
- constructor(name: string, argsOrState?: KvStoreArgs | KvStoreState, opts?: pulumi.CustomResourceOptions) {
58
- let resourceInputs: pulumi.Inputs = {};
59
- opts = opts || {};
60
- if (opts.id) {
61
- const state = argsOrState as KvStoreState | undefined;
62
- resourceInputs["name"] = state?.name;
63
- resourceInputs["organization"] = state?.organization;
64
- resourceInputs["project"] = state?.project;
65
- resourceInputs["storeId"] = state?.storeId;
66
- } else {
67
- const args = argsOrState as KvStoreArgs | undefined;
68
- resourceInputs["name"] = args?.name;
69
- resourceInputs["organization"] = args?.organization;
70
- resourceInputs["project"] = args?.project;
71
- resourceInputs["storeId"] = args?.storeId;
72
- }
73
- opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
74
- super(KvStore.__pulumiType, name, resourceInputs, opts);
75
- }
76
- }
77
-
78
- /**
79
- * Input properties used for looking up and filtering KvStore resources.
80
- */
81
- export interface KvStoreState {
82
- /**
83
- * Store name
84
- */
85
- name?: pulumi.Input<string>;
86
- /**
87
- * Organization identifier
88
- */
89
- organization?: pulumi.Input<string>;
90
- /**
91
- * Project identifier
92
- */
93
- project?: pulumi.Input<string>;
94
- storeId?: pulumi.Input<string>;
95
- }
96
-
97
- /**
98
- * The set of arguments for constructing a KvStore resource.
99
- */
100
- export interface KvStoreArgs {
101
- /**
102
- * Store name
103
- */
104
- name?: pulumi.Input<string>;
105
- /**
106
- * Organization identifier
107
- */
108
- organization?: pulumi.Input<string>;
109
- /**
110
- * Project identifier
111
- */
112
- project?: pulumi.Input<string>;
113
- storeId?: pulumi.Input<string>;
114
- }
package/project.ts DELETED
@@ -1,232 +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 Project extends pulumi.CustomResource {
8
- /**
9
- * Get an existing Project 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?: ProjectState, opts?: pulumi.CustomResourceOptions): Project {
18
- return new Project(name, <any>state, { ...opts, id: id });
19
- }
20
-
21
- /** @internal */
22
- public static readonly __pulumiType = 'quant:index:Project';
23
-
24
- /**
25
- * Returns true if the given object is an instance of Project. 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 Project {
29
- if (obj === undefined || obj === null) {
30
- return false;
31
- }
32
- return obj['__pulumiType'] === Project.__pulumiType;
33
- }
34
-
35
- /**
36
- * Allow query parameters
37
- */
38
- declare public readonly allowQueryParams: pulumi.Output<boolean>;
39
- /**
40
- * Basic auth password
41
- */
42
- declare public readonly basicAuthPassword: pulumi.Output<string>;
43
- /**
44
- * Apply basic auth to preview domain only
45
- */
46
- declare public readonly basicAuthPreviewOnly: pulumi.Output<boolean>;
47
- /**
48
- * Basic auth username
49
- */
50
- declare public readonly basicAuthUsername: pulumi.Output<string>;
51
- /**
52
- * Disable revisions
53
- */
54
- declare public readonly disableRevisions: pulumi.Output<boolean>;
55
- /**
56
- * Project machine name
57
- */
58
- declare public readonly machineName: pulumi.Output<string>;
59
- /**
60
- * Project 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 region
73
- */
74
- declare public readonly region: pulumi.Output<string>;
75
- /**
76
- * Project UUID
77
- */
78
- declare public /*out*/ readonly uuid: pulumi.Output<string>;
79
- declare public readonly withToken: pulumi.Output<boolean>;
80
- /**
81
- * Write token for API access
82
- */
83
- declare public /*out*/ readonly writeToken: pulumi.Output<string>;
84
-
85
- /**
86
- * Create a Project resource with the given unique name, arguments, and options.
87
- *
88
- * @param name The _unique_ name of the resource.
89
- * @param args The arguments to use to populate this resource's properties.
90
- * @param opts A bag of options that control this resource's behavior.
91
- */
92
- constructor(name: string, args?: ProjectArgs, opts?: pulumi.CustomResourceOptions)
93
- constructor(name: string, argsOrState?: ProjectArgs | ProjectState, opts?: pulumi.CustomResourceOptions) {
94
- let resourceInputs: pulumi.Inputs = {};
95
- opts = opts || {};
96
- if (opts.id) {
97
- const state = argsOrState as ProjectState | undefined;
98
- resourceInputs["allowQueryParams"] = state?.allowQueryParams;
99
- resourceInputs["basicAuthPassword"] = state?.basicAuthPassword;
100
- resourceInputs["basicAuthPreviewOnly"] = state?.basicAuthPreviewOnly;
101
- resourceInputs["basicAuthUsername"] = state?.basicAuthUsername;
102
- resourceInputs["disableRevisions"] = state?.disableRevisions;
103
- resourceInputs["machineName"] = state?.machineName;
104
- resourceInputs["name"] = state?.name;
105
- resourceInputs["organization"] = state?.organization;
106
- resourceInputs["project"] = state?.project;
107
- resourceInputs["region"] = state?.region;
108
- resourceInputs["uuid"] = state?.uuid;
109
- resourceInputs["withToken"] = state?.withToken;
110
- resourceInputs["writeToken"] = state?.writeToken;
111
- } else {
112
- const args = argsOrState as ProjectArgs | undefined;
113
- resourceInputs["allowQueryParams"] = args?.allowQueryParams;
114
- resourceInputs["basicAuthPassword"] = args?.basicAuthPassword;
115
- resourceInputs["basicAuthPreviewOnly"] = args?.basicAuthPreviewOnly;
116
- resourceInputs["basicAuthUsername"] = args?.basicAuthUsername;
117
- resourceInputs["disableRevisions"] = args?.disableRevisions;
118
- resourceInputs["machineName"] = args?.machineName;
119
- resourceInputs["name"] = args?.name;
120
- resourceInputs["organization"] = args?.organization;
121
- resourceInputs["project"] = args?.project;
122
- resourceInputs["region"] = args?.region;
123
- resourceInputs["withToken"] = args?.withToken;
124
- resourceInputs["uuid"] = undefined /*out*/;
125
- resourceInputs["writeToken"] = undefined /*out*/;
126
- }
127
- opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
128
- super(Project.__pulumiType, name, resourceInputs, opts);
129
- }
130
- }
131
-
132
- /**
133
- * Input properties used for looking up and filtering Project resources.
134
- */
135
- export interface ProjectState {
136
- /**
137
- * Allow query parameters
138
- */
139
- allowQueryParams?: pulumi.Input<boolean>;
140
- /**
141
- * Basic auth password
142
- */
143
- basicAuthPassword?: pulumi.Input<string>;
144
- /**
145
- * Apply basic auth to preview domain only
146
- */
147
- basicAuthPreviewOnly?: pulumi.Input<boolean>;
148
- /**
149
- * Basic auth username
150
- */
151
- basicAuthUsername?: pulumi.Input<string>;
152
- /**
153
- * Disable revisions
154
- */
155
- disableRevisions?: pulumi.Input<boolean>;
156
- /**
157
- * Project machine name
158
- */
159
- machineName?: pulumi.Input<string>;
160
- /**
161
- * Project 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 region
174
- */
175
- region?: pulumi.Input<string>;
176
- /**
177
- * Project UUID
178
- */
179
- uuid?: pulumi.Input<string>;
180
- withToken?: pulumi.Input<boolean>;
181
- /**
182
- * Write token for API access
183
- */
184
- writeToken?: pulumi.Input<string>;
185
- }
186
-
187
- /**
188
- * The set of arguments for constructing a Project resource.
189
- */
190
- export interface ProjectArgs {
191
- /**
192
- * Allow query parameters
193
- */
194
- allowQueryParams?: pulumi.Input<boolean>;
195
- /**
196
- * Basic auth password
197
- */
198
- basicAuthPassword?: pulumi.Input<string>;
199
- /**
200
- * Apply basic auth to preview domain only
201
- */
202
- basicAuthPreviewOnly?: pulumi.Input<boolean>;
203
- /**
204
- * Basic auth username
205
- */
206
- basicAuthUsername?: pulumi.Input<string>;
207
- /**
208
- * Disable revisions
209
- */
210
- disableRevisions?: pulumi.Input<boolean>;
211
- /**
212
- * Project machine name
213
- */
214
- machineName?: pulumi.Input<string>;
215
- /**
216
- * Project name
217
- */
218
- name?: pulumi.Input<string>;
219
- /**
220
- * Organization identifier
221
- */
222
- organization?: pulumi.Input<string>;
223
- /**
224
- * Project identifier
225
- */
226
- project?: pulumi.Input<string>;
227
- /**
228
- * Project region
229
- */
230
- region?: pulumi.Input<string>;
231
- withToken?: pulumi.Input<boolean>;
232
- }