@formalco/pulumi 1.0.0-alpha.1754615478
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/LICENSE +373 -0
- package/README.md +59 -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 +2 -0
- package/config/vars.js +19 -0
- package/config/vars.js.map +1 -0
- package/connector.d.ts +83 -0
- package/connector.js +60 -0
- package/connector.js.map +1 -0
- package/connectorConfiguration.d.ts +75 -0
- package/connectorConfiguration.js +59 -0
- package/connectorConfiguration.js.map +1 -0
- package/connectorHostname.d.ts +121 -0
- package/connectorHostname.js +70 -0
- package/connectorHostname.js.map +1 -0
- package/connectorListener.d.ts +75 -0
- package/connectorListener.js +59 -0
- package/connectorListener.js.map +1 -0
- package/connectorListenerLink.d.ts +75 -0
- package/connectorListenerLink.js +62 -0
- package/connectorListenerLink.js.map +1 -0
- package/connectorListenerRule.d.ts +87 -0
- package/connectorListenerRule.js +67 -0
- package/connectorListenerRule.js.map +1 -0
- package/dataDiscovery.d.ts +107 -0
- package/dataDiscovery.js +74 -0
- package/dataDiscovery.js.map +1 -0
- package/dataDomain.d.ts +117 -0
- package/dataDomain.js +73 -0
- package/dataDomain.js.map +1 -0
- package/dataLabel.d.ts +75 -0
- package/dataLabel.js +62 -0
- package/dataLabel.js.map +1 -0
- package/encryptionKey.d.ts +103 -0
- package/encryptionKey.js +74 -0
- package/encryptionKey.js.map +1 -0
- package/getGroup.d.ts +48 -0
- package/getGroup.js +28 -0
- package/getGroup.js.map +1 -0
- package/getResource.d.ts +68 -0
- package/getResource.js +28 -0
- package/getResource.js.map +1 -0
- package/group.d.ts +75 -0
- package/group.js +59 -0
- package/group.js.map +1 -0
- package/groupUserLink.d.ts +75 -0
- package/groupUserLink.js +62 -0
- package/groupUserLink.js.map +1 -0
- package/index.d.ts +118 -0
- package/index.js +233 -0
- package/index.js.map +1 -0
- package/integrationBi.d.ts +77 -0
- package/integrationBi.js +59 -0
- package/integrationBi.js.map +1 -0
- package/integrationCloud.d.ts +183 -0
- package/integrationCloud.js +83 -0
- package/integrationCloud.js.map +1 -0
- package/integrationDataCatalog.d.ts +89 -0
- package/integrationDataCatalog.js +64 -0
- package/integrationDataCatalog.js.map +1 -0
- package/integrationLog.d.ts +89 -0
- package/integrationLog.js +58 -0
- package/integrationLog.js.map +1 -0
- package/integrationMdm.d.ts +65 -0
- package/integrationMdm.js +54 -0
- package/integrationMdm.js.map +1 -0
- package/integrationMfa.d.ts +77 -0
- package/integrationMfa.js +56 -0
- package/integrationMfa.js.map +1 -0
- package/inventoryObjectDataLabelLink.d.ts +87 -0
- package/inventoryObjectDataLabelLink.js +70 -0
- package/inventoryObjectDataLabelLink.js.map +1 -0
- package/logConfiguration.d.ts +129 -0
- package/logConfiguration.js +78 -0
- package/logConfiguration.js.map +1 -0
- package/nativeUser.d.ts +99 -0
- package/nativeUser.js +71 -0
- package/nativeUser.js.map +1 -0
- package/nativeUserLink.d.ts +95 -0
- package/nativeUserLink.js +69 -0
- package/nativeUserLink.js.map +1 -0
- package/package.json +29 -0
- package/permission.d.ts +99 -0
- package/permission.js +69 -0
- package/permission.js.map +1 -0
- package/policy.d.ts +139 -0
- package/policy.js +83 -0
- package/policy.js.map +1 -0
- package/policyDataLoader.d.ts +151 -0
- package/policyDataLoader.js +88 -0
- package/policyDataLoader.js.map +1 -0
- package/provider.d.ts +44 -0
- package/provider.js +54 -0
- package/provider.js.map +1 -0
- package/resource.d.ts +149 -0
- package/resource.js +77 -0
- package/resource.js.map +1 -0
- package/resourceClassifierConfiguration.d.ts +79 -0
- package/resourceClassifierConfiguration.js +64 -0
- package/resourceClassifierConfiguration.js.map +1 -0
- package/resourceHealthCheck.d.ts +75 -0
- package/resourceHealthCheck.js +62 -0
- package/resourceHealthCheck.js.map +1 -0
- package/resourceHostname.d.ts +87 -0
- package/resourceHostname.js +64 -0
- package/resourceHostname.js.map +1 -0
- package/resourceTlsConfiguration.d.ts +87 -0
- package/resourceTlsConfiguration.js +64 -0
- package/resourceTlsConfiguration.js.map +1 -0
- package/satellite.d.ts +91 -0
- package/satellite.js +62 -0
- package/satellite.js.map +1 -0
- package/sidecar.d.ts +123 -0
- package/sidecar.js +74 -0
- package/sidecar.js.map +1 -0
- package/sidecarResourceLink.d.ts +87 -0
- package/sidecarResourceLink.js +67 -0
- package/sidecarResourceLink.js.map +1 -0
- package/space.d.ts +83 -0
- package/space.js +58 -0
- package/space.js.map +1 -0
- package/tracker.d.ts +103 -0
- package/tracker.js +68 -0
- package/tracker.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.d.ts +196 -0
- package/types/input.js +5 -0
- package/types/input.js.map +1 -0
- package/types/output.d.ts +195 -0
- package/types/output.js +5 -0
- package/types/output.js.map +1 -0
- package/user.d.ts +151 -0
- package/user.js +75 -0
- package/user.js.map +1 -0
- package/utilities.d.ts +4 -0
- package/utilities.js +102 -0
- package/utilities.js.map +1 -0
package/resource.d.ts
ADDED
|
@@ -0,0 +1,149 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Registering a Resource with Formal.
|
|
4
|
+
*/
|
|
5
|
+
export declare class Resource extends pulumi.CustomResource {
|
|
6
|
+
/**
|
|
7
|
+
* Get an existing Resource resource's state with the given name, ID, and optional extra
|
|
8
|
+
* properties used to qualify the lookup.
|
|
9
|
+
*
|
|
10
|
+
* @param name The _unique_ name of the resulting resource.
|
|
11
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
12
|
+
* @param state Any extra arguments used during the lookup.
|
|
13
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
14
|
+
*/
|
|
15
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ResourceState, opts?: pulumi.CustomResourceOptions): Resource;
|
|
16
|
+
/**
|
|
17
|
+
* Returns true if the given object is an instance of Resource. This is designed to work even
|
|
18
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
19
|
+
*/
|
|
20
|
+
static isInstance(obj: any): obj is Resource;
|
|
21
|
+
/**
|
|
22
|
+
* Creation time of the Resource.
|
|
23
|
+
*/
|
|
24
|
+
readonly createdAt: pulumi.Output<number>;
|
|
25
|
+
/**
|
|
26
|
+
* Environment for the Resource, options: DEV, TEST, QA, UAT, EI, PRE, STG, NON_PROD, PROD, CORP.
|
|
27
|
+
*
|
|
28
|
+
* @deprecated This field is deprecated and will be removed in a future release.
|
|
29
|
+
*/
|
|
30
|
+
readonly environment: pulumi.Output<string | undefined>;
|
|
31
|
+
/**
|
|
32
|
+
* Hostname of the Resource.
|
|
33
|
+
*/
|
|
34
|
+
readonly hostname: pulumi.Output<string>;
|
|
35
|
+
/**
|
|
36
|
+
* Friendly name for the Resource.
|
|
37
|
+
*/
|
|
38
|
+
readonly name: pulumi.Output<string>;
|
|
39
|
+
/**
|
|
40
|
+
* The port your Resource is listening on.
|
|
41
|
+
*/
|
|
42
|
+
readonly port: pulumi.Output<number>;
|
|
43
|
+
/**
|
|
44
|
+
* The ID of the Space to create the Resource in.
|
|
45
|
+
*/
|
|
46
|
+
readonly spaceId: pulumi.Output<string | undefined>;
|
|
47
|
+
/**
|
|
48
|
+
* Technology of the Resource: supported values are `snowflake`, `postgres`, `redshift`, `mysql`, `mariadb`, `s3`, `dynamodb`, `mongodb`, `documentdb`, `http`, `clickhouse`, `redis` and `ssh`.
|
|
49
|
+
*/
|
|
50
|
+
readonly technology: pulumi.Output<string>;
|
|
51
|
+
/**
|
|
52
|
+
* For SSH resources, if the backend connection is SSM, supported values are `aws-ec2`, and `aws-ecs`
|
|
53
|
+
*/
|
|
54
|
+
readonly technologyProvider: pulumi.Output<string | undefined>;
|
|
55
|
+
/**
|
|
56
|
+
* If set to true, the Resource cannot be deleted.
|
|
57
|
+
*/
|
|
58
|
+
readonly terminationProtection: pulumi.Output<boolean | undefined>;
|
|
59
|
+
/**
|
|
60
|
+
* Create a Resource resource with the given unique name, arguments, and options.
|
|
61
|
+
*
|
|
62
|
+
* @param name The _unique_ name of the resource.
|
|
63
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
64
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
65
|
+
*/
|
|
66
|
+
constructor(name: string, args: ResourceArgs, opts?: pulumi.CustomResourceOptions);
|
|
67
|
+
}
|
|
68
|
+
/**
|
|
69
|
+
* Input properties used for looking up and filtering Resource resources.
|
|
70
|
+
*/
|
|
71
|
+
export interface ResourceState {
|
|
72
|
+
/**
|
|
73
|
+
* Creation time of the Resource.
|
|
74
|
+
*/
|
|
75
|
+
createdAt?: pulumi.Input<number>;
|
|
76
|
+
/**
|
|
77
|
+
* Environment for the Resource, options: DEV, TEST, QA, UAT, EI, PRE, STG, NON_PROD, PROD, CORP.
|
|
78
|
+
*
|
|
79
|
+
* @deprecated This field is deprecated and will be removed in a future release.
|
|
80
|
+
*/
|
|
81
|
+
environment?: pulumi.Input<string>;
|
|
82
|
+
/**
|
|
83
|
+
* Hostname of the Resource.
|
|
84
|
+
*/
|
|
85
|
+
hostname?: pulumi.Input<string>;
|
|
86
|
+
/**
|
|
87
|
+
* Friendly name for the Resource.
|
|
88
|
+
*/
|
|
89
|
+
name?: pulumi.Input<string>;
|
|
90
|
+
/**
|
|
91
|
+
* The port your Resource is listening on.
|
|
92
|
+
*/
|
|
93
|
+
port?: pulumi.Input<number>;
|
|
94
|
+
/**
|
|
95
|
+
* The ID of the Space to create the Resource in.
|
|
96
|
+
*/
|
|
97
|
+
spaceId?: pulumi.Input<string>;
|
|
98
|
+
/**
|
|
99
|
+
* Technology of the Resource: supported values are `snowflake`, `postgres`, `redshift`, `mysql`, `mariadb`, `s3`, `dynamodb`, `mongodb`, `documentdb`, `http`, `clickhouse`, `redis` and `ssh`.
|
|
100
|
+
*/
|
|
101
|
+
technology?: pulumi.Input<string>;
|
|
102
|
+
/**
|
|
103
|
+
* For SSH resources, if the backend connection is SSM, supported values are `aws-ec2`, and `aws-ecs`
|
|
104
|
+
*/
|
|
105
|
+
technologyProvider?: pulumi.Input<string>;
|
|
106
|
+
/**
|
|
107
|
+
* If set to true, the Resource cannot be deleted.
|
|
108
|
+
*/
|
|
109
|
+
terminationProtection?: pulumi.Input<boolean>;
|
|
110
|
+
}
|
|
111
|
+
/**
|
|
112
|
+
* The set of arguments for constructing a Resource resource.
|
|
113
|
+
*/
|
|
114
|
+
export interface ResourceArgs {
|
|
115
|
+
/**
|
|
116
|
+
* Environment for the Resource, options: DEV, TEST, QA, UAT, EI, PRE, STG, NON_PROD, PROD, CORP.
|
|
117
|
+
*
|
|
118
|
+
* @deprecated This field is deprecated and will be removed in a future release.
|
|
119
|
+
*/
|
|
120
|
+
environment?: pulumi.Input<string>;
|
|
121
|
+
/**
|
|
122
|
+
* Hostname of the Resource.
|
|
123
|
+
*/
|
|
124
|
+
hostname: pulumi.Input<string>;
|
|
125
|
+
/**
|
|
126
|
+
* Friendly name for the Resource.
|
|
127
|
+
*/
|
|
128
|
+
name?: pulumi.Input<string>;
|
|
129
|
+
/**
|
|
130
|
+
* The port your Resource is listening on.
|
|
131
|
+
*/
|
|
132
|
+
port: pulumi.Input<number>;
|
|
133
|
+
/**
|
|
134
|
+
* The ID of the Space to create the Resource in.
|
|
135
|
+
*/
|
|
136
|
+
spaceId?: pulumi.Input<string>;
|
|
137
|
+
/**
|
|
138
|
+
* Technology of the Resource: supported values are `snowflake`, `postgres`, `redshift`, `mysql`, `mariadb`, `s3`, `dynamodb`, `mongodb`, `documentdb`, `http`, `clickhouse`, `redis` and `ssh`.
|
|
139
|
+
*/
|
|
140
|
+
technology: pulumi.Input<string>;
|
|
141
|
+
/**
|
|
142
|
+
* For SSH resources, if the backend connection is SSM, supported values are `aws-ec2`, and `aws-ecs`
|
|
143
|
+
*/
|
|
144
|
+
technologyProvider?: pulumi.Input<string>;
|
|
145
|
+
/**
|
|
146
|
+
* If set to true, the Resource cannot be deleted.
|
|
147
|
+
*/
|
|
148
|
+
terminationProtection?: pulumi.Input<boolean>;
|
|
149
|
+
}
|
package/resource.js
ADDED
|
@@ -0,0 +1,77 @@
|
|
|
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.Resource = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Registering a Resource with Formal.
|
|
10
|
+
*/
|
|
11
|
+
class Resource extends pulumi.CustomResource {
|
|
12
|
+
/**
|
|
13
|
+
* Get an existing Resource resource's state with the given name, ID, and optional extra
|
|
14
|
+
* properties used to qualify the lookup.
|
|
15
|
+
*
|
|
16
|
+
* @param name The _unique_ name of the resulting resource.
|
|
17
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
18
|
+
* @param state Any extra arguments used during the lookup.
|
|
19
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
20
|
+
*/
|
|
21
|
+
static get(name, id, state, opts) {
|
|
22
|
+
return new Resource(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Returns true if the given object is an instance of Resource. This is designed to work even
|
|
26
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
27
|
+
*/
|
|
28
|
+
static isInstance(obj) {
|
|
29
|
+
if (obj === undefined || obj === null) {
|
|
30
|
+
return false;
|
|
31
|
+
}
|
|
32
|
+
return obj['__pulumiType'] === Resource.__pulumiType;
|
|
33
|
+
}
|
|
34
|
+
constructor(name, argsOrState, opts) {
|
|
35
|
+
let resourceInputs = {};
|
|
36
|
+
opts = opts || {};
|
|
37
|
+
if (opts.id) {
|
|
38
|
+
const state = argsOrState;
|
|
39
|
+
resourceInputs["createdAt"] = state ? state.createdAt : undefined;
|
|
40
|
+
resourceInputs["environment"] = state ? state.environment : undefined;
|
|
41
|
+
resourceInputs["hostname"] = state ? state.hostname : undefined;
|
|
42
|
+
resourceInputs["name"] = state ? state.name : undefined;
|
|
43
|
+
resourceInputs["port"] = state ? state.port : undefined;
|
|
44
|
+
resourceInputs["spaceId"] = state ? state.spaceId : undefined;
|
|
45
|
+
resourceInputs["technology"] = state ? state.technology : undefined;
|
|
46
|
+
resourceInputs["technologyProvider"] = state ? state.technologyProvider : undefined;
|
|
47
|
+
resourceInputs["terminationProtection"] = state ? state.terminationProtection : undefined;
|
|
48
|
+
}
|
|
49
|
+
else {
|
|
50
|
+
const args = argsOrState;
|
|
51
|
+
if ((!args || args.hostname === undefined) && !opts.urn) {
|
|
52
|
+
throw new Error("Missing required property 'hostname'");
|
|
53
|
+
}
|
|
54
|
+
if ((!args || args.port === undefined) && !opts.urn) {
|
|
55
|
+
throw new Error("Missing required property 'port'");
|
|
56
|
+
}
|
|
57
|
+
if ((!args || args.technology === undefined) && !opts.urn) {
|
|
58
|
+
throw new Error("Missing required property 'technology'");
|
|
59
|
+
}
|
|
60
|
+
resourceInputs["environment"] = args ? args.environment : undefined;
|
|
61
|
+
resourceInputs["hostname"] = args ? args.hostname : undefined;
|
|
62
|
+
resourceInputs["name"] = args ? args.name : undefined;
|
|
63
|
+
resourceInputs["port"] = args ? args.port : undefined;
|
|
64
|
+
resourceInputs["spaceId"] = args ? args.spaceId : undefined;
|
|
65
|
+
resourceInputs["technology"] = args ? args.technology : undefined;
|
|
66
|
+
resourceInputs["technologyProvider"] = args ? args.technologyProvider : undefined;
|
|
67
|
+
resourceInputs["terminationProtection"] = args ? args.terminationProtection : undefined;
|
|
68
|
+
resourceInputs["createdAt"] = undefined /*out*/;
|
|
69
|
+
}
|
|
70
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
71
|
+
super(Resource.__pulumiType, name, resourceInputs, opts);
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
exports.Resource = Resource;
|
|
75
|
+
/** @internal */
|
|
76
|
+
Resource.__pulumiType = 'formal:index/resource:Resource';
|
|
77
|
+
//# sourceMappingURL=resource.js.map
|
package/resource.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"resource.js","sourceRoot":"","sources":["../resource.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;GAEG;AACH,MAAa,QAAS,SAAQ,MAAM,CAAC,cAAc;IAC/C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAqB,EAAE,IAAmC;QACnH,OAAO,IAAI,QAAQ,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC/D,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,QAAQ,CAAC,YAAY,CAAC;IACzD,CAAC;IAiDD,YAAY,IAAY,EAAE,WAA0C,EAAE,IAAmC;QACrG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAwC,CAAC;YACvD,cAAc,CAAC,WAAW,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,UAAU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ACO,qBAAY,GAAG,gCAAgC,CAAC"}
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* A Resource Classifier Configuration is a configuration for a resource classifier.
|
|
4
|
+
*/
|
|
5
|
+
export declare class ResourceClassifierConfiguration extends pulumi.CustomResource {
|
|
6
|
+
/**
|
|
7
|
+
* Get an existing ResourceClassifierConfiguration resource's state with the given name, ID, and optional extra
|
|
8
|
+
* properties used to qualify the lookup.
|
|
9
|
+
*
|
|
10
|
+
* @param name The _unique_ name of the resulting resource.
|
|
11
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
12
|
+
* @param state Any extra arguments used during the lookup.
|
|
13
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
14
|
+
*/
|
|
15
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ResourceClassifierConfigurationState, opts?: pulumi.CustomResourceOptions): ResourceClassifierConfiguration;
|
|
16
|
+
/**
|
|
17
|
+
* Returns true if the given object is an instance of ResourceClassifierConfiguration. This is designed to work even
|
|
18
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
19
|
+
*/
|
|
20
|
+
static isInstance(obj: any): obj is ResourceClassifierConfiguration;
|
|
21
|
+
/**
|
|
22
|
+
* The timestamp of the Resource Classifier Preference creation.
|
|
23
|
+
*/
|
|
24
|
+
readonly createdAt: pulumi.Output<number>;
|
|
25
|
+
/**
|
|
26
|
+
* The preference. Supported values are `nlp`, `llm`, `both`, and `none`.
|
|
27
|
+
*/
|
|
28
|
+
readonly preference: pulumi.Output<string>;
|
|
29
|
+
/**
|
|
30
|
+
* The ID of the Resource.
|
|
31
|
+
*/
|
|
32
|
+
readonly resourceId: pulumi.Output<string>;
|
|
33
|
+
/**
|
|
34
|
+
* The timestamp of the Resource Classifier Preference update.
|
|
35
|
+
*/
|
|
36
|
+
readonly updatedAt: pulumi.Output<number>;
|
|
37
|
+
/**
|
|
38
|
+
* Create a ResourceClassifierConfiguration resource with the given unique name, arguments, and options.
|
|
39
|
+
*
|
|
40
|
+
* @param name The _unique_ name of the resource.
|
|
41
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
42
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
43
|
+
*/
|
|
44
|
+
constructor(name: string, args: ResourceClassifierConfigurationArgs, opts?: pulumi.CustomResourceOptions);
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* Input properties used for looking up and filtering ResourceClassifierConfiguration resources.
|
|
48
|
+
*/
|
|
49
|
+
export interface ResourceClassifierConfigurationState {
|
|
50
|
+
/**
|
|
51
|
+
* The timestamp of the Resource Classifier Preference creation.
|
|
52
|
+
*/
|
|
53
|
+
createdAt?: pulumi.Input<number>;
|
|
54
|
+
/**
|
|
55
|
+
* The preference. Supported values are `nlp`, `llm`, `both`, and `none`.
|
|
56
|
+
*/
|
|
57
|
+
preference?: pulumi.Input<string>;
|
|
58
|
+
/**
|
|
59
|
+
* The ID of the Resource.
|
|
60
|
+
*/
|
|
61
|
+
resourceId?: pulumi.Input<string>;
|
|
62
|
+
/**
|
|
63
|
+
* The timestamp of the Resource Classifier Preference update.
|
|
64
|
+
*/
|
|
65
|
+
updatedAt?: pulumi.Input<number>;
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* The set of arguments for constructing a ResourceClassifierConfiguration resource.
|
|
69
|
+
*/
|
|
70
|
+
export interface ResourceClassifierConfigurationArgs {
|
|
71
|
+
/**
|
|
72
|
+
* The preference. Supported values are `nlp`, `llm`, `both`, and `none`.
|
|
73
|
+
*/
|
|
74
|
+
preference: pulumi.Input<string>;
|
|
75
|
+
/**
|
|
76
|
+
* The ID of the Resource.
|
|
77
|
+
*/
|
|
78
|
+
resourceId: pulumi.Input<string>;
|
|
79
|
+
}
|
|
@@ -0,0 +1,64 @@
|
|
|
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.ResourceClassifierConfiguration = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* A Resource Classifier Configuration is a configuration for a resource classifier.
|
|
10
|
+
*/
|
|
11
|
+
class ResourceClassifierConfiguration extends pulumi.CustomResource {
|
|
12
|
+
/**
|
|
13
|
+
* Get an existing ResourceClassifierConfiguration resource's state with the given name, ID, and optional extra
|
|
14
|
+
* properties used to qualify the lookup.
|
|
15
|
+
*
|
|
16
|
+
* @param name The _unique_ name of the resulting resource.
|
|
17
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
18
|
+
* @param state Any extra arguments used during the lookup.
|
|
19
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
20
|
+
*/
|
|
21
|
+
static get(name, id, state, opts) {
|
|
22
|
+
return new ResourceClassifierConfiguration(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Returns true if the given object is an instance of ResourceClassifierConfiguration. This is designed to work even
|
|
26
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
27
|
+
*/
|
|
28
|
+
static isInstance(obj) {
|
|
29
|
+
if (obj === undefined || obj === null) {
|
|
30
|
+
return false;
|
|
31
|
+
}
|
|
32
|
+
return obj['__pulumiType'] === ResourceClassifierConfiguration.__pulumiType;
|
|
33
|
+
}
|
|
34
|
+
constructor(name, argsOrState, opts) {
|
|
35
|
+
let resourceInputs = {};
|
|
36
|
+
opts = opts || {};
|
|
37
|
+
if (opts.id) {
|
|
38
|
+
const state = argsOrState;
|
|
39
|
+
resourceInputs["createdAt"] = state ? state.createdAt : undefined;
|
|
40
|
+
resourceInputs["preference"] = state ? state.preference : undefined;
|
|
41
|
+
resourceInputs["resourceId"] = state ? state.resourceId : undefined;
|
|
42
|
+
resourceInputs["updatedAt"] = state ? state.updatedAt : undefined;
|
|
43
|
+
}
|
|
44
|
+
else {
|
|
45
|
+
const args = argsOrState;
|
|
46
|
+
if ((!args || args.preference === undefined) && !opts.urn) {
|
|
47
|
+
throw new Error("Missing required property 'preference'");
|
|
48
|
+
}
|
|
49
|
+
if ((!args || args.resourceId === undefined) && !opts.urn) {
|
|
50
|
+
throw new Error("Missing required property 'resourceId'");
|
|
51
|
+
}
|
|
52
|
+
resourceInputs["preference"] = args ? args.preference : undefined;
|
|
53
|
+
resourceInputs["resourceId"] = args ? args.resourceId : undefined;
|
|
54
|
+
resourceInputs["createdAt"] = undefined /*out*/;
|
|
55
|
+
resourceInputs["updatedAt"] = undefined /*out*/;
|
|
56
|
+
}
|
|
57
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
58
|
+
super(ResourceClassifierConfiguration.__pulumiType, name, resourceInputs, opts);
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
exports.ResourceClassifierConfiguration = ResourceClassifierConfiguration;
|
|
62
|
+
/** @internal */
|
|
63
|
+
ResourceClassifierConfiguration.__pulumiType = 'formal:index/resourceClassifierConfiguration:ResourceClassifierConfiguration';
|
|
64
|
+
//# sourceMappingURL=resourceClassifierConfiguration.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"resourceClassifierConfiguration.js","sourceRoot":"","sources":["../resourceClassifierConfiguration.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;GAEG;AACH,MAAa,+BAAgC,SAAQ,MAAM,CAAC,cAAc;IACtE;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA4C,EAAE,IAAmC;QAC1I,OAAO,IAAI,+BAA+B,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAA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AM,IAAI,KAAK,CAAC,wCAAwC,CAAC,CAAC;aAC7D;YACD,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACnD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,+BAA+B,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACpF,CAAC;;AA7EL,0EA8EC;AAhEG,gBAAgB;AACO,4CAAY,GAAG,8EAA8E,CAAC"}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Creating a Health Check in Formal.
|
|
4
|
+
*/
|
|
5
|
+
export declare class ResourceHealthCheck extends pulumi.CustomResource {
|
|
6
|
+
/**
|
|
7
|
+
* Get an existing ResourceHealthCheck resource's state with the given name, ID, and optional extra
|
|
8
|
+
* properties used to qualify the lookup.
|
|
9
|
+
*
|
|
10
|
+
* @param name The _unique_ name of the resulting resource.
|
|
11
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
12
|
+
* @param state Any extra arguments used during the lookup.
|
|
13
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
14
|
+
*/
|
|
15
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ResourceHealthCheckState, opts?: pulumi.CustomResourceOptions): ResourceHealthCheck;
|
|
16
|
+
/**
|
|
17
|
+
* Returns true if the given object is an instance of ResourceHealthCheck. This is designed to work even
|
|
18
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
19
|
+
*/
|
|
20
|
+
static isInstance(obj: any): obj is ResourceHealthCheck;
|
|
21
|
+
/**
|
|
22
|
+
* Database associated with the health check.
|
|
23
|
+
*/
|
|
24
|
+
readonly databaseName: pulumi.Output<string>;
|
|
25
|
+
/**
|
|
26
|
+
* Resource ID linked to the following health check.
|
|
27
|
+
*/
|
|
28
|
+
readonly resourceId: pulumi.Output<string>;
|
|
29
|
+
/**
|
|
30
|
+
* If set to true, this Resource Health Check cannot be deleted.
|
|
31
|
+
*/
|
|
32
|
+
readonly terminationProtection: pulumi.Output<boolean | undefined>;
|
|
33
|
+
/**
|
|
34
|
+
* Create a ResourceHealthCheck resource with the given unique name, arguments, and options.
|
|
35
|
+
*
|
|
36
|
+
* @param name The _unique_ name of the resource.
|
|
37
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
38
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
39
|
+
*/
|
|
40
|
+
constructor(name: string, args: ResourceHealthCheckArgs, opts?: pulumi.CustomResourceOptions);
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* Input properties used for looking up and filtering ResourceHealthCheck resources.
|
|
44
|
+
*/
|
|
45
|
+
export interface ResourceHealthCheckState {
|
|
46
|
+
/**
|
|
47
|
+
* Database associated with the health check.
|
|
48
|
+
*/
|
|
49
|
+
databaseName?: pulumi.Input<string>;
|
|
50
|
+
/**
|
|
51
|
+
* Resource ID linked to the following health check.
|
|
52
|
+
*/
|
|
53
|
+
resourceId?: pulumi.Input<string>;
|
|
54
|
+
/**
|
|
55
|
+
* If set to true, this Resource Health Check cannot be deleted.
|
|
56
|
+
*/
|
|
57
|
+
terminationProtection?: pulumi.Input<boolean>;
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* The set of arguments for constructing a ResourceHealthCheck resource.
|
|
61
|
+
*/
|
|
62
|
+
export interface ResourceHealthCheckArgs {
|
|
63
|
+
/**
|
|
64
|
+
* Database associated with the health check.
|
|
65
|
+
*/
|
|
66
|
+
databaseName: pulumi.Input<string>;
|
|
67
|
+
/**
|
|
68
|
+
* Resource ID linked to the following health check.
|
|
69
|
+
*/
|
|
70
|
+
resourceId: pulumi.Input<string>;
|
|
71
|
+
/**
|
|
72
|
+
* If set to true, this Resource Health Check cannot be deleted.
|
|
73
|
+
*/
|
|
74
|
+
terminationProtection?: pulumi.Input<boolean>;
|
|
75
|
+
}
|
|
@@ -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.ResourceHealthCheck = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Creating a Health Check in Formal.
|
|
10
|
+
*/
|
|
11
|
+
class ResourceHealthCheck extends pulumi.CustomResource {
|
|
12
|
+
/**
|
|
13
|
+
* Get an existing ResourceHealthCheck resource's state with the given name, ID, and optional extra
|
|
14
|
+
* properties used to qualify the lookup.
|
|
15
|
+
*
|
|
16
|
+
* @param name The _unique_ name of the resulting resource.
|
|
17
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
18
|
+
* @param state Any extra arguments used during the lookup.
|
|
19
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
20
|
+
*/
|
|
21
|
+
static get(name, id, state, opts) {
|
|
22
|
+
return new ResourceHealthCheck(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Returns true if the given object is an instance of ResourceHealthCheck. This is designed to work even
|
|
26
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
27
|
+
*/
|
|
28
|
+
static isInstance(obj) {
|
|
29
|
+
if (obj === undefined || obj === null) {
|
|
30
|
+
return false;
|
|
31
|
+
}
|
|
32
|
+
return obj['__pulumiType'] === ResourceHealthCheck.__pulumiType;
|
|
33
|
+
}
|
|
34
|
+
constructor(name, argsOrState, opts) {
|
|
35
|
+
let resourceInputs = {};
|
|
36
|
+
opts = opts || {};
|
|
37
|
+
if (opts.id) {
|
|
38
|
+
const state = argsOrState;
|
|
39
|
+
resourceInputs["databaseName"] = state ? state.databaseName : undefined;
|
|
40
|
+
resourceInputs["resourceId"] = state ? state.resourceId : undefined;
|
|
41
|
+
resourceInputs["terminationProtection"] = state ? state.terminationProtection : undefined;
|
|
42
|
+
}
|
|
43
|
+
else {
|
|
44
|
+
const args = argsOrState;
|
|
45
|
+
if ((!args || args.databaseName === undefined) && !opts.urn) {
|
|
46
|
+
throw new Error("Missing required property 'databaseName'");
|
|
47
|
+
}
|
|
48
|
+
if ((!args || args.resourceId === undefined) && !opts.urn) {
|
|
49
|
+
throw new Error("Missing required property 'resourceId'");
|
|
50
|
+
}
|
|
51
|
+
resourceInputs["databaseName"] = args ? args.databaseName : undefined;
|
|
52
|
+
resourceInputs["resourceId"] = args ? args.resourceId : undefined;
|
|
53
|
+
resourceInputs["terminationProtection"] = args ? args.terminationProtection : undefined;
|
|
54
|
+
}
|
|
55
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
56
|
+
super(ResourceHealthCheck.__pulumiType, name, resourceInputs, opts);
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
exports.ResourceHealthCheck = ResourceHealthCheck;
|
|
60
|
+
/** @internal */
|
|
61
|
+
ResourceHealthCheck.__pulumiType = 'formal:index/resourceHealthCheck:ResourceHealthCheck';
|
|
62
|
+
//# sourceMappingURL=resourceHealthCheck.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"resourceHealthCheck.js","sourceRoot":"","sources":["../resourceHealthCheck.ts"],"names":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AC,GAAG,EAAE;gBACzD,MAAM,IAAI,KAAK,CAAC,0CAA0C,CAAC,CAAC;aAC/D;YACD,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,UAAU,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACvD,MAAM,IAAI,KAAK,CAAC,wCAAwC,CAAC,CAAC;aAC7D;YACD,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,uBAAuB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,qBAAqB,CAAC,CAAC,CAAC,SAAS,CAAC;SAC3F;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,mBAAmB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACxE,CAAC;;AAvEL,kDAwEC;AA1DG,gBAAgB;AACO,gCAAY,GAAG,sDAAsD,CAAC"}
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Registering a Resource Hostname with Formal.
|
|
4
|
+
*/
|
|
5
|
+
export declare class ResourceHostname extends pulumi.CustomResource {
|
|
6
|
+
/**
|
|
7
|
+
* Get an existing ResourceHostname resource's state with the given name, ID, and optional extra
|
|
8
|
+
* properties used to qualify the lookup.
|
|
9
|
+
*
|
|
10
|
+
* @param name The _unique_ name of the resulting resource.
|
|
11
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
12
|
+
* @param state Any extra arguments used during the lookup.
|
|
13
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
14
|
+
*/
|
|
15
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ResourceHostnameState, opts?: pulumi.CustomResourceOptions): ResourceHostname;
|
|
16
|
+
/**
|
|
17
|
+
* Returns true if the given object is an instance of ResourceHostname. This is designed to work even
|
|
18
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
19
|
+
*/
|
|
20
|
+
static isInstance(obj: any): obj is ResourceHostname;
|
|
21
|
+
/**
|
|
22
|
+
* The hostname for this Resource hostname.
|
|
23
|
+
*/
|
|
24
|
+
readonly hostname: pulumi.Output<string>;
|
|
25
|
+
/**
|
|
26
|
+
* The name of this Resource Hostname.
|
|
27
|
+
*/
|
|
28
|
+
readonly name: pulumi.Output<string>;
|
|
29
|
+
/**
|
|
30
|
+
* The ID of the Resource this hostname is linked to.
|
|
31
|
+
*/
|
|
32
|
+
readonly resourceId: pulumi.Output<string>;
|
|
33
|
+
/**
|
|
34
|
+
* If set to true, this resource hostname cannot be deleted.
|
|
35
|
+
*/
|
|
36
|
+
readonly terminationProtection: pulumi.Output<boolean | undefined>;
|
|
37
|
+
/**
|
|
38
|
+
* Create a ResourceHostname resource with the given unique name, arguments, and options.
|
|
39
|
+
*
|
|
40
|
+
* @param name The _unique_ name of the resource.
|
|
41
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
42
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
43
|
+
*/
|
|
44
|
+
constructor(name: string, args: ResourceHostnameArgs, opts?: pulumi.CustomResourceOptions);
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* Input properties used for looking up and filtering ResourceHostname resources.
|
|
48
|
+
*/
|
|
49
|
+
export interface ResourceHostnameState {
|
|
50
|
+
/**
|
|
51
|
+
* The hostname for this Resource hostname.
|
|
52
|
+
*/
|
|
53
|
+
hostname?: pulumi.Input<string>;
|
|
54
|
+
/**
|
|
55
|
+
* The name of this Resource Hostname.
|
|
56
|
+
*/
|
|
57
|
+
name?: pulumi.Input<string>;
|
|
58
|
+
/**
|
|
59
|
+
* The ID of the Resource this hostname is linked to.
|
|
60
|
+
*/
|
|
61
|
+
resourceId?: pulumi.Input<string>;
|
|
62
|
+
/**
|
|
63
|
+
* If set to true, this resource hostname cannot be deleted.
|
|
64
|
+
*/
|
|
65
|
+
terminationProtection?: pulumi.Input<boolean>;
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* The set of arguments for constructing a ResourceHostname resource.
|
|
69
|
+
*/
|
|
70
|
+
export interface ResourceHostnameArgs {
|
|
71
|
+
/**
|
|
72
|
+
* The hostname for this Resource hostname.
|
|
73
|
+
*/
|
|
74
|
+
hostname: pulumi.Input<string>;
|
|
75
|
+
/**
|
|
76
|
+
* The name of this Resource Hostname.
|
|
77
|
+
*/
|
|
78
|
+
name?: pulumi.Input<string>;
|
|
79
|
+
/**
|
|
80
|
+
* The ID of the Resource this hostname is linked to.
|
|
81
|
+
*/
|
|
82
|
+
resourceId: pulumi.Input<string>;
|
|
83
|
+
/**
|
|
84
|
+
* If set to true, this resource hostname cannot be deleted.
|
|
85
|
+
*/
|
|
86
|
+
terminationProtection?: pulumi.Input<boolean>;
|
|
87
|
+
}
|