@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/package.json CHANGED
@@ -1,31 +1,33 @@
1
1
  {
2
- "name": "@quantcdn/pulumi-quant",
3
- "version": "5.4.0",
4
- "description": "A Pulumi package for managing QuantCDN resources.",
5
- "keywords": [
6
- "pulumi",
7
- "quant",
8
- "quantcdn",
9
- "cdn",
10
- "category/cloud"
11
- ],
12
- "homepage": "https://www.quantcdn.io",
13
- "repository": "https://github.com/quantcdn/terraform-provider-quant",
14
- "license": "Apache-2.0",
15
- "scripts": {
16
- "build": "tsc"
17
- },
18
- "dependencies": {
19
- "@pulumi/pulumi": "^3.0.0"
20
- },
21
- "devDependencies": {
22
- "@types/node": "^10.0.0",
23
- "typescript": "^4.3.5"
24
- },
25
- "pulumi": {
26
- "resource": true,
27
- "name": "quant",
28
- "version": "5.4.0",
29
- "server": "github://api.github.com/quantcdn/terraform-provider-quant"
30
- }
31
- }
2
+ "name": "@quantcdn/pulumi-quant",
3
+ "version": "5.5.1",
4
+ "description": "A Pulumi package for managing QuantCDN resources.",
5
+ "keywords": [
6
+ "pulumi",
7
+ "quant",
8
+ "quantcdn",
9
+ "cdn",
10
+ "category/cloud"
11
+ ],
12
+ "homepage": "https://www.quantcdn.io",
13
+ "repository": "https://github.com/quantcdn/terraform-provider-quant",
14
+ "license": "Apache-2.0",
15
+ "scripts": {
16
+ "build": "tsc"
17
+ },
18
+ "dependencies": {
19
+ "@pulumi/pulumi": "^3.0.0"
20
+ },
21
+ "devDependencies": {
22
+ "@types/node": "^10.0.0",
23
+ "typescript": "^4.3.5"
24
+ },
25
+ "pulumi": {
26
+ "resource": true,
27
+ "name": "quant",
28
+ "version": "5.5.1",
29
+ "server": "github://api.github.com/quantcdn/terraform-provider-quant"
30
+ },
31
+ "main": "index.js",
32
+ "types": "index.d.ts"
33
+ }
package/project.d.ts ADDED
@@ -0,0 +1,175 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ export declare class Project extends pulumi.CustomResource {
3
+ /**
4
+ * Get an existing Project 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?: ProjectState, opts?: pulumi.CustomResourceOptions): Project;
13
+ /**
14
+ * Returns true if the given object is an instance of Project. 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 Project;
18
+ /**
19
+ * Allow query parameters
20
+ */
21
+ readonly allowQueryParams: pulumi.Output<boolean>;
22
+ /**
23
+ * Basic auth password
24
+ */
25
+ readonly basicAuthPassword: pulumi.Output<string>;
26
+ /**
27
+ * Apply basic auth to preview domain only
28
+ */
29
+ readonly basicAuthPreviewOnly: pulumi.Output<boolean>;
30
+ /**
31
+ * Basic auth username
32
+ */
33
+ readonly basicAuthUsername: pulumi.Output<string>;
34
+ /**
35
+ * Disable revisions
36
+ */
37
+ readonly disableRevisions: pulumi.Output<boolean>;
38
+ /**
39
+ * Project machine name
40
+ */
41
+ readonly machineName: pulumi.Output<string>;
42
+ /**
43
+ * Project 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 region
56
+ */
57
+ readonly region: pulumi.Output<string>;
58
+ /**
59
+ * Project UUID
60
+ */
61
+ readonly uuid: pulumi.Output<string>;
62
+ readonly withToken: pulumi.Output<boolean>;
63
+ /**
64
+ * Write token for API access
65
+ */
66
+ readonly writeToken: pulumi.Output<string>;
67
+ /**
68
+ * Create a Project resource with the given unique name, arguments, and options.
69
+ *
70
+ * @param name The _unique_ name of the resource.
71
+ * @param args The arguments to use to populate this resource's properties.
72
+ * @param opts A bag of options that control this resource's behavior.
73
+ */
74
+ constructor(name: string, args?: ProjectArgs, opts?: pulumi.CustomResourceOptions);
75
+ }
76
+ /**
77
+ * Input properties used for looking up and filtering Project resources.
78
+ */
79
+ export interface ProjectState {
80
+ /**
81
+ * Allow query parameters
82
+ */
83
+ allowQueryParams?: pulumi.Input<boolean>;
84
+ /**
85
+ * Basic auth password
86
+ */
87
+ basicAuthPassword?: pulumi.Input<string>;
88
+ /**
89
+ * Apply basic auth to preview domain only
90
+ */
91
+ basicAuthPreviewOnly?: pulumi.Input<boolean>;
92
+ /**
93
+ * Basic auth username
94
+ */
95
+ basicAuthUsername?: pulumi.Input<string>;
96
+ /**
97
+ * Disable revisions
98
+ */
99
+ disableRevisions?: pulumi.Input<boolean>;
100
+ /**
101
+ * Project machine name
102
+ */
103
+ machineName?: pulumi.Input<string>;
104
+ /**
105
+ * Project name
106
+ */
107
+ name?: pulumi.Input<string>;
108
+ /**
109
+ * Organization identifier
110
+ */
111
+ organization?: pulumi.Input<string>;
112
+ /**
113
+ * Project identifier
114
+ */
115
+ project?: pulumi.Input<string>;
116
+ /**
117
+ * Project region
118
+ */
119
+ region?: pulumi.Input<string>;
120
+ /**
121
+ * Project UUID
122
+ */
123
+ uuid?: pulumi.Input<string>;
124
+ withToken?: pulumi.Input<boolean>;
125
+ /**
126
+ * Write token for API access
127
+ */
128
+ writeToken?: pulumi.Input<string>;
129
+ }
130
+ /**
131
+ * The set of arguments for constructing a Project resource.
132
+ */
133
+ export interface ProjectArgs {
134
+ /**
135
+ * Allow query parameters
136
+ */
137
+ allowQueryParams?: pulumi.Input<boolean>;
138
+ /**
139
+ * Basic auth password
140
+ */
141
+ basicAuthPassword?: pulumi.Input<string>;
142
+ /**
143
+ * Apply basic auth to preview domain only
144
+ */
145
+ basicAuthPreviewOnly?: pulumi.Input<boolean>;
146
+ /**
147
+ * Basic auth username
148
+ */
149
+ basicAuthUsername?: pulumi.Input<string>;
150
+ /**
151
+ * Disable revisions
152
+ */
153
+ disableRevisions?: pulumi.Input<boolean>;
154
+ /**
155
+ * Project machine name
156
+ */
157
+ machineName?: pulumi.Input<string>;
158
+ /**
159
+ * Project name
160
+ */
161
+ name?: pulumi.Input<string>;
162
+ /**
163
+ * Organization identifier
164
+ */
165
+ organization?: pulumi.Input<string>;
166
+ /**
167
+ * Project identifier
168
+ */
169
+ project?: pulumi.Input<string>;
170
+ /**
171
+ * Project region
172
+ */
173
+ region?: pulumi.Input<string>;
174
+ withToken?: pulumi.Input<boolean>;
175
+ }
package/project.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.Project = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ class Project extends pulumi.CustomResource {
9
+ /**
10
+ * Get an existing Project 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 Project(name, state, { ...opts, id: id });
20
+ }
21
+ /**
22
+ * Returns true if the given object is an instance of Project. 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'] === Project.__pulumiType;
30
+ }
31
+ constructor(name, argsOrState, opts) {
32
+ let resourceInputs = {};
33
+ opts = opts || {};
34
+ if (opts.id) {
35
+ const state = argsOrState;
36
+ resourceInputs["allowQueryParams"] = state?.allowQueryParams;
37
+ resourceInputs["basicAuthPassword"] = state?.basicAuthPassword;
38
+ resourceInputs["basicAuthPreviewOnly"] = state?.basicAuthPreviewOnly;
39
+ resourceInputs["basicAuthUsername"] = state?.basicAuthUsername;
40
+ resourceInputs["disableRevisions"] = state?.disableRevisions;
41
+ resourceInputs["machineName"] = state?.machineName;
42
+ resourceInputs["name"] = state?.name;
43
+ resourceInputs["organization"] = state?.organization;
44
+ resourceInputs["project"] = state?.project;
45
+ resourceInputs["region"] = state?.region;
46
+ resourceInputs["uuid"] = state?.uuid;
47
+ resourceInputs["withToken"] = state?.withToken;
48
+ resourceInputs["writeToken"] = state?.writeToken;
49
+ }
50
+ else {
51
+ const args = argsOrState;
52
+ resourceInputs["allowQueryParams"] = args?.allowQueryParams;
53
+ resourceInputs["basicAuthPassword"] = args?.basicAuthPassword;
54
+ resourceInputs["basicAuthPreviewOnly"] = args?.basicAuthPreviewOnly;
55
+ resourceInputs["basicAuthUsername"] = args?.basicAuthUsername;
56
+ resourceInputs["disableRevisions"] = args?.disableRevisions;
57
+ resourceInputs["machineName"] = args?.machineName;
58
+ resourceInputs["name"] = args?.name;
59
+ resourceInputs["organization"] = args?.organization;
60
+ resourceInputs["project"] = args?.project;
61
+ resourceInputs["region"] = args?.region;
62
+ resourceInputs["withToken"] = args?.withToken;
63
+ resourceInputs["uuid"] = undefined /*out*/;
64
+ resourceInputs["writeToken"] = undefined /*out*/;
65
+ }
66
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
67
+ super(Project.__pulumiType, name, resourceInputs, opts);
68
+ }
69
+ }
70
+ exports.Project = Project;
71
+ /** @internal */
72
+ Project.__pulumiType = 'quant:index:Project';
73
+ //# sourceMappingURL=project.js.map
package/project.js.map ADDED
@@ -0,0 +1 @@
1
+ {"version":3,"file":"project.js","sourceRoot":"","sources":["../project.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;IA4DD,YAA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oBAAoB,CAAC;YACpE,cAAc,CAAC,mBAAmB,CAAC,GAAG,IAAI,EAAE,iBAAiB,CAAC;YAC9D,cAAc,CAAC,kBAAkB,CAAC,GAAG,IAAI,EAAE,gBAAgB,CAAC;YAC5D,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,EAAE,WAAW,CAAC;YAClD,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,EAAE,YAAY,CAAC;YACpD,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,OAAO,CAAC;YAC1C,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,EAAE,MAAM,CAAC;YACxC,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,EAAE,SAAS,CAAC;YAC9C,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3C,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACpD;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;;AA1HL,0BA2HC;AA7GG,gBAAgB;AACO,oBAAY,GAAG,qBAAqB,CAAC"}
@@ -1,43 +1,28 @@
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
- import * as utilities from "./utilities";
6
-
7
2
  /**
8
3
  * The provider type for the quant package. By default, resources use package-wide configuration
9
4
  * settings, however an explicit `Provider` instance may be created and passed during resource
10
5
  * construction to achieve fine-grained programmatic control over provider settings. See the
11
6
  * [documentation](https://www.pulumi.com/docs/reference/programming-model/#providers) for more information.
12
7
  */
13
- export class Provider extends pulumi.ProviderResource {
14
- /** @internal */
15
- public static readonly __pulumiType = 'quant';
16
-
8
+ export declare class Provider extends pulumi.ProviderResource {
17
9
  /**
18
10
  * Returns true if the given object is an instance of Provider. This is designed to work even
19
11
  * when multiple copies of the Pulumi SDK have been loaded into the same process.
20
12
  */
21
- public static isInstance(obj: any): obj is Provider {
22
- if (obj === undefined || obj === null) {
23
- return false;
24
- }
25
- return obj['__pulumiType'] === "pulumi:providers:" + Provider.__pulumiType;
26
- }
27
-
13
+ static isInstance(obj: any): obj is Provider;
28
14
  /**
29
15
  * The base URL for the QuantCDN API. Can also be set via QUANTCDN_BASE_URL environment variable.
30
16
  */
31
- declare public readonly baseUrl: pulumi.Output<string | undefined>;
17
+ readonly baseUrl: pulumi.Output<string | undefined>;
32
18
  /**
33
19
  * The QuantCDN API Bearer token used to authenticate requests. Can also be set via QUANTCDN_API_TOKEN environment variable.
34
20
  */
35
- declare public readonly bearer: pulumi.Output<string | undefined>;
21
+ readonly bearer: pulumi.Output<string | undefined>;
36
22
  /**
37
23
  * The QuantCDN organization machine name. Can also be set via QUANTCDN_ORGANIZATION environment variable.
38
24
  */
39
- declare public readonly organization: pulumi.Output<string | undefined>;
40
-
25
+ readonly organization: pulumi.Output<string | undefined>;
41
26
  /**
42
27
  * Create a Provider resource with the given unique name, arguments, and options.
43
28
  *
@@ -45,36 +30,12 @@ export class Provider extends pulumi.ProviderResource {
45
30
  * @param args The arguments to use to populate this resource's properties.
46
31
  * @param opts A bag of options that control this resource's behavior.
47
32
  */
48
- constructor(name: string, args?: ProviderArgs, opts?: pulumi.ResourceOptions) {
49
- let resourceInputs: pulumi.Inputs = {};
50
- opts = opts || {};
51
- {
52
- resourceInputs["baseDelayMs"] = pulumi.output(args?.baseDelayMs).apply(JSON.stringify);
53
- resourceInputs["baseUrl"] = args?.baseUrl;
54
- resourceInputs["bearer"] = args?.bearer ? pulumi.secret(args.bearer) : undefined;
55
- resourceInputs["enableJitter"] = pulumi.output(args?.enableJitter).apply(JSON.stringify);
56
- resourceInputs["maxDelayMs"] = pulumi.output(args?.maxDelayMs).apply(JSON.stringify);
57
- resourceInputs["maxRetries"] = pulumi.output(args?.maxRetries).apply(JSON.stringify);
58
- resourceInputs["organization"] = args?.organization;
59
- resourceInputs["requestsPerSecond"] = pulumi.output(args?.requestsPerSecond).apply(JSON.stringify);
60
- resourceInputs["timeoutSeconds"] = pulumi.output(args?.timeoutSeconds).apply(JSON.stringify);
61
- }
62
- opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
63
- const secretOpts = { additionalSecretOutputs: ["bearer"] };
64
- opts = pulumi.mergeOptions(opts, secretOpts);
65
- super(Provider.__pulumiType, name, resourceInputs, opts);
66
- }
67
-
33
+ constructor(name: string, args?: ProviderArgs, opts?: pulumi.ResourceOptions);
68
34
  /**
69
35
  * This function returns a Terraform config object with terraform-namecased keys,to be used with the Terraform Module Provider.
70
36
  */
71
- terraformConfig(): pulumi.Output<Provider.TerraformConfigResult> {
72
- return pulumi.runtime.call("pulumi:providers:quant/terraformConfig", {
73
- "__self__": this,
74
- }, this);
75
- }
37
+ terraformConfig(): pulumi.Output<Provider.TerraformConfigResult>;
76
38
  }
77
-
78
39
  /**
79
40
  * The set of arguments for constructing a Provider resource.
80
41
  */
@@ -116,13 +77,13 @@ export interface ProviderArgs {
116
77
  */
117
78
  timeoutSeconds?: pulumi.Input<number>;
118
79
  }
119
-
120
- export namespace Provider {
80
+ export declare namespace Provider {
121
81
  /**
122
82
  * The results of the Provider.terraformConfig method.
123
83
  */
124
- export interface TerraformConfigResult {
125
- readonly result: {[key: string]: any};
84
+ interface TerraformConfigResult {
85
+ readonly result: {
86
+ [key: string]: any;
87
+ };
126
88
  }
127
-
128
89
  }
package/provider.js ADDED
@@ -0,0 +1,63 @@
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.Provider = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * The provider type for the quant package. By default, resources use package-wide configuration
10
+ * settings, however an explicit `Provider` instance may be created and passed during resource
11
+ * construction to achieve fine-grained programmatic control over provider settings. See the
12
+ * [documentation](https://www.pulumi.com/docs/reference/programming-model/#providers) for more information.
13
+ */
14
+ class Provider extends pulumi.ProviderResource {
15
+ /**
16
+ * Returns true if the given object is an instance of Provider. This is designed to work even
17
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
18
+ */
19
+ static isInstance(obj) {
20
+ if (obj === undefined || obj === null) {
21
+ return false;
22
+ }
23
+ return obj['__pulumiType'] === "pulumi:providers:" + Provider.__pulumiType;
24
+ }
25
+ /**
26
+ * Create a Provider resource with the given unique name, arguments, and options.
27
+ *
28
+ * @param name The _unique_ name of the resource.
29
+ * @param args The arguments to use to populate this resource's properties.
30
+ * @param opts A bag of options that control this resource's behavior.
31
+ */
32
+ constructor(name, args, opts) {
33
+ let resourceInputs = {};
34
+ opts = opts || {};
35
+ {
36
+ resourceInputs["baseDelayMs"] = pulumi.output(args?.baseDelayMs).apply(JSON.stringify);
37
+ resourceInputs["baseUrl"] = args?.baseUrl;
38
+ resourceInputs["bearer"] = args?.bearer ? pulumi.secret(args.bearer) : undefined;
39
+ resourceInputs["enableJitter"] = pulumi.output(args?.enableJitter).apply(JSON.stringify);
40
+ resourceInputs["maxDelayMs"] = pulumi.output(args?.maxDelayMs).apply(JSON.stringify);
41
+ resourceInputs["maxRetries"] = pulumi.output(args?.maxRetries).apply(JSON.stringify);
42
+ resourceInputs["organization"] = args?.organization;
43
+ resourceInputs["requestsPerSecond"] = pulumi.output(args?.requestsPerSecond).apply(JSON.stringify);
44
+ resourceInputs["timeoutSeconds"] = pulumi.output(args?.timeoutSeconds).apply(JSON.stringify);
45
+ }
46
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
47
+ const secretOpts = { additionalSecretOutputs: ["bearer"] };
48
+ opts = pulumi.mergeOptions(opts, secretOpts);
49
+ super(Provider.__pulumiType, name, resourceInputs, opts);
50
+ }
51
+ /**
52
+ * This function returns a Terraform config object with terraform-namecased keys,to be used with the Terraform Module Provider.
53
+ */
54
+ terraformConfig() {
55
+ return pulumi.runtime.call("pulumi:providers:quant/terraformConfig", {
56
+ "__self__": this,
57
+ }, this);
58
+ }
59
+ }
60
+ exports.Provider = Provider;
61
+ /** @internal */
62
+ Provider.__pulumiType = 'quant';
63
+ //# sourceMappingURL=provider.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"provider.js","sourceRoot":"","sources":["../provider.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;GAKG;AACH,MAAa,QAAS,SAAQ,MAAM,CAAC,gBAAgB;IAIjD;;;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,mBAAmB,GAAG,QAAQ,CAAC,YAAY,CAAC;IAC/E,CAAC;IAeD;;;;;;OAMG;IACH,YAAY,IAAY,EAAE,IAAmB,EAAE,IAA6B;QACxE,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB;YACI,cAAc,CAAC,aAAa,CAAC,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,WAAW,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;YACvF,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,OAAO,CAAC;YAC1C,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,EAAE,MAAM,CAAC,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,IAAI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