@formalco/pulumi 1.1.0 → 1.2.0-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/config/index.d.ts +1 -0
- package/config/index.d.ts.map +1 -0
- package/config/vars.d.ts +1 -0
- package/config/vars.d.ts.map +1 -0
- package/config/vars.js +24 -1
- package/config/vars.js.map +1 -1
- package/connector.d.ts +8 -7
- package/connector.d.ts.map +1 -0
- package/connector.js +35 -12
- package/connector.js.map +1 -1
- package/connectorAiProvider.d.ts +138 -0
- package/connectorAiProvider.d.ts.map +1 -0
- package/connectorAiProvider.js +92 -0
- package/connectorAiProvider.js.map +1 -0
- package/connectorConfiguration.d.ts +11 -10
- package/connectorConfiguration.d.ts.map +1 -0
- package/connectorConfiguration.js +39 -16
- package/connectorConfiguration.js.map +1 -1
- package/connectorHostname.d.ts +15 -14
- package/connectorHostname.d.ts.map +1 -0
- package/connectorHostname.js +46 -23
- package/connectorHostname.js.map +1 -1
- package/connectorListener.d.ts +8 -7
- package/connectorListener.d.ts.map +1 -0
- package/connectorListener.js +37 -14
- package/connectorListener.js.map +1 -1
- package/connectorListenerLink.d.ts +5 -4
- package/connectorListenerLink.d.ts.map +1 -0
- package/connectorListenerLink.js +36 -13
- package/connectorListenerLink.js.map +1 -1
- package/connectorListenerRule.d.ts +6 -5
- package/connectorListenerRule.d.ts.map +1 -0
- package/connectorListenerRule.js +39 -16
- package/connectorListenerRule.js.map +1 -1
- package/connectorSatelliteLink.d.ts +6 -5
- package/connectorSatelliteLink.d.ts.map +1 -0
- package/connectorSatelliteLink.js +39 -16
- package/connectorSatelliteLink.js.map +1 -1
- package/dataDiscovery.d.ts +8 -7
- package/dataDiscovery.d.ts.map +1 -0
- package/dataDiscovery.js +43 -20
- package/dataDiscovery.js.map +1 -1
- package/dataLabel.d.ts +5 -4
- package/dataLabel.d.ts.map +1 -0
- package/dataLabel.js +36 -13
- package/dataLabel.js.map +1 -1
- package/encryptionKey.d.ts +23 -10
- package/encryptionKey.d.ts.map +1 -0
- package/encryptionKey.js +43 -18
- package/encryptionKey.js.map +1 -1
- package/form.d.ts +94 -0
- package/form.d.ts.map +1 -0
- package/form.js +86 -0
- package/form.js.map +1 -0
- package/getConnector.d.ts +3 -2
- package/getConnector.d.ts.map +1 -0
- package/getConnector.js +25 -2
- package/getConnector.js.map +1 -1
- package/getGroup.d.ts +3 -2
- package/getGroup.d.ts.map +1 -0
- package/getGroup.js +25 -2
- package/getGroup.js.map +1 -1
- package/getResource.d.ts +3 -2
- package/getResource.d.ts.map +1 -0
- package/getResource.js +25 -2
- package/getResource.js.map +1 -1
- package/getSpace.d.ts +3 -2
- package/getSpace.d.ts.map +1 -0
- package/getSpace.js +25 -2
- package/getSpace.js.map +1 -1
- package/group.d.ts +6 -5
- package/group.d.ts.map +1 -0
- package/group.js +35 -12
- package/group.js.map +1 -1
- package/groupUserLink.d.ts +5 -4
- package/groupUserLink.d.ts.map +1 -0
- package/groupUserLink.js +36 -13
- package/groupUserLink.js.map +1 -1
- package/index.d.ts +16 -6
- package/index.d.ts.map +1 -0
- package/index.js +43 -15
- package/index.js.map +1 -1
- package/integrationBi.d.ts +6 -5
- package/integrationBi.d.ts.map +1 -0
- package/integrationBi.js +35 -12
- package/integrationBi.js.map +1 -1
- package/integrationCloud.d.ts +21 -20
- package/integrationCloud.d.ts.map +1 -0
- package/integrationCloud.js +50 -27
- package/integrationCloud.js.map +1 -1
- package/integrationLog.d.ts +9 -8
- package/integrationLog.d.ts.map +1 -0
- package/integrationLog.js +36 -13
- package/integrationLog.js.map +1 -1
- package/integrationMdm.d.ts +5 -4
- package/integrationMdm.d.ts.map +1 -0
- package/integrationMdm.js +32 -9
- package/integrationMdm.js.map +1 -1
- package/inventoryObject.d.ts +100 -0
- package/inventoryObject.d.ts.map +1 -0
- package/inventoryObject.js +92 -0
- package/inventoryObject.js.map +1 -0
- package/inventoryObjectDataLabelLink.d.ts +5 -4
- package/inventoryObjectDataLabelLink.d.ts.map +1 -0
- package/inventoryObjectDataLabelLink.js +40 -17
- package/inventoryObjectDataLabelLink.js.map +1 -1
- package/logConfiguration.d.ts +14 -13
- package/logConfiguration.d.ts.map +1 -0
- package/logConfiguration.js +47 -24
- package/logConfiguration.js.map +1 -1
- package/nativeUser.d.ts +35 -10
- package/nativeUser.d.ts.map +1 -0
- package/nativeUser.js +45 -20
- package/nativeUser.js.map +1 -1
- package/nativeUserLink.d.ts +7 -6
- package/nativeUserLink.d.ts.map +1 -0
- package/nativeUserLink.js +40 -17
- package/nativeUserLink.js.map +1 -1
- package/networkRule.d.ts +116 -0
- package/networkRule.d.ts.map +1 -0
- package/networkRule.js +90 -0
- package/networkRule.js.map +1 -0
- package/package.json +4 -4
- package/permission.d.ts +8 -7
- package/permission.d.ts.map +1 -0
- package/permission.js +41 -18
- package/permission.js.map +1 -1
- package/policy.d.ts +10 -33
- package/policy.d.ts.map +1 -0
- package/policy.js +43 -30
- package/policy.js.map +1 -1
- package/policyDataLoader.d.ts +13 -12
- package/policyDataLoader.d.ts.map +1 -0
- package/policyDataLoader.js +52 -29
- package/policyDataLoader.js.map +1 -1
- package/provider.d.ts +3 -2
- package/provider.d.ts.map +1 -0
- package/provider.js +29 -6
- package/provider.js.map +1 -1
- package/resource.d.ts +19 -18
- package/resource.d.ts.map +1 -0
- package/resource.js +52 -29
- package/resource.js.map +1 -1
- package/resourceClassifierConfiguration.d.ts +9 -8
- package/resourceClassifierConfiguration.d.ts.map +1 -0
- package/resourceClassifierConfiguration.js +44 -21
- package/resourceClassifierConfiguration.js.map +1 -1
- package/resourceDialConfiguration.d.ts +76 -0
- package/resourceDialConfiguration.d.ts.map +1 -0
- package/resourceDialConfiguration.js +85 -0
- package/resourceDialConfiguration.js.map +1 -0
- package/resourceHealthCheck.d.ts +5 -4
- package/resourceHealthCheck.d.ts.map +1 -0
- package/resourceHealthCheck.js +36 -13
- package/resourceHealthCheck.js.map +1 -1
- package/resourceHostname.d.ts +7 -6
- package/resourceHostname.d.ts.map +1 -0
- package/resourceHostname.js +38 -15
- package/resourceHostname.js.map +1 -1
- package/resourceTlsConfiguration.d.ts +7 -6
- package/resourceTlsConfiguration.d.ts.map +1 -0
- package/resourceTlsConfiguration.js +38 -15
- package/resourceTlsConfiguration.js.map +1 -1
- package/satellite.d.ts +10 -9
- package/satellite.d.ts.map +1 -0
- package/satellite.js +39 -16
- package/satellite.js.map +1 -1
- package/satelliteHostname.d.ts +7 -6
- package/satelliteHostname.d.ts.map +1 -0
- package/satelliteHostname.js +38 -15
- package/satelliteHostname.js.map +1 -1
- package/satelliteLink.d.ts +5 -4
- package/satelliteLink.d.ts.map +1 -0
- package/satelliteLink.js +36 -13
- package/satelliteLink.js.map +1 -1
- package/sidecar.d.ts +12 -11
- package/sidecar.d.ts.map +1 -0
- package/sidecar.js +43 -20
- package/sidecar.js.map +1 -1
- package/sidecarResourceLink.d.ts +6 -5
- package/sidecarResourceLink.d.ts.map +1 -0
- package/sidecarResourceLink.js +39 -16
- package/sidecarResourceLink.js.map +1 -1
- package/space.d.ts +8 -7
- package/space.d.ts.map +1 -0
- package/space.js +35 -12
- package/space.js.map +1 -1
- package/types/index.d.ts +1 -0
- package/types/index.d.ts.map +1 -0
- package/types/index.js +25 -2
- package/types/index.js.map +1 -1
- package/types/input.d.ts +168 -39
- package/types/input.d.ts.map +1 -0
- package/types/output.d.ts +146 -17
- package/types/output.d.ts.map +1 -0
- package/user.d.ts +18 -17
- package/user.d.ts.map +1 -0
- package/user.js +47 -24
- package/user.js.map +1 -1
- package/utilities.d.ts +1 -0
- package/utilities.d.ts.map +1 -0
- package/utilities.js +41 -29
- package/utilities.js.map +1 -1
- package/workflow.d.ts +6 -5
- package/workflow.d.ts.map +1 -0
- package/workflow.js +35 -12
- package/workflow.js.map +1 -1
- package/dataDomain.d.ts +0 -117
- package/dataDomain.js +0 -73
- package/dataDomain.js.map +0 -1
- package/integrationDataCatalog.d.ts +0 -89
- package/integrationDataCatalog.js +0 -64
- package/integrationDataCatalog.js.map +0 -1
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Registering an inventory object (db, schema, table, column) with Formal. Useful for seeding the inventory in test fixtures so that connectors load it at startup instead of relying on inline discovery.
|
|
4
|
+
*/
|
|
5
|
+
export declare class InventoryObject extends pulumi.CustomResource {
|
|
6
|
+
/**
|
|
7
|
+
* Get an existing InventoryObject 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?: InventoryObjectState, opts?: pulumi.CustomResourceOptions): InventoryObject;
|
|
16
|
+
/**
|
|
17
|
+
* Returns true if the given object is an instance of InventoryObject. 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 InventoryObject;
|
|
21
|
+
/**
|
|
22
|
+
* Column data type (e.g. `varchar`). Required when `type` is `column`, ignored otherwise.
|
|
23
|
+
*/
|
|
24
|
+
readonly dataType: pulumi.Output<string | undefined>;
|
|
25
|
+
/**
|
|
26
|
+
* Last segment of the path (e.g. `email`).
|
|
27
|
+
*/
|
|
28
|
+
readonly name: pulumi.Output<string>;
|
|
29
|
+
/**
|
|
30
|
+
* Hierarchical path of the object (e.g. `mydb.public.users.email`).
|
|
31
|
+
*/
|
|
32
|
+
readonly path: pulumi.Output<string>;
|
|
33
|
+
/**
|
|
34
|
+
* Resource (datastore) ID this object belongs to.
|
|
35
|
+
*/
|
|
36
|
+
readonly resourceId: pulumi.Output<string>;
|
|
37
|
+
/**
|
|
38
|
+
* Object type. One of `db`, `schema`, `table`, `column`.
|
|
39
|
+
*/
|
|
40
|
+
readonly type: pulumi.Output<string>;
|
|
41
|
+
/**
|
|
42
|
+
* Create a InventoryObject resource with the given unique name, arguments, and options.
|
|
43
|
+
*
|
|
44
|
+
* @param name The _unique_ name of the resource.
|
|
45
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
46
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
47
|
+
*/
|
|
48
|
+
constructor(name: string, args: InventoryObjectArgs, opts?: pulumi.CustomResourceOptions);
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* Input properties used for looking up and filtering InventoryObject resources.
|
|
52
|
+
*/
|
|
53
|
+
export interface InventoryObjectState {
|
|
54
|
+
/**
|
|
55
|
+
* Column data type (e.g. `varchar`). Required when `type` is `column`, ignored otherwise.
|
|
56
|
+
*/
|
|
57
|
+
dataType?: pulumi.Input<string | undefined>;
|
|
58
|
+
/**
|
|
59
|
+
* Last segment of the path (e.g. `email`).
|
|
60
|
+
*/
|
|
61
|
+
name?: pulumi.Input<string | undefined>;
|
|
62
|
+
/**
|
|
63
|
+
* Hierarchical path of the object (e.g. `mydb.public.users.email`).
|
|
64
|
+
*/
|
|
65
|
+
path?: pulumi.Input<string | undefined>;
|
|
66
|
+
/**
|
|
67
|
+
* Resource (datastore) ID this object belongs to.
|
|
68
|
+
*/
|
|
69
|
+
resourceId?: pulumi.Input<string | undefined>;
|
|
70
|
+
/**
|
|
71
|
+
* Object type. One of `db`, `schema`, `table`, `column`.
|
|
72
|
+
*/
|
|
73
|
+
type?: pulumi.Input<string | undefined>;
|
|
74
|
+
}
|
|
75
|
+
/**
|
|
76
|
+
* The set of arguments for constructing a InventoryObject resource.
|
|
77
|
+
*/
|
|
78
|
+
export interface InventoryObjectArgs {
|
|
79
|
+
/**
|
|
80
|
+
* Column data type (e.g. `varchar`). Required when `type` is `column`, ignored otherwise.
|
|
81
|
+
*/
|
|
82
|
+
dataType?: pulumi.Input<string | undefined>;
|
|
83
|
+
/**
|
|
84
|
+
* Last segment of the path (e.g. `email`).
|
|
85
|
+
*/
|
|
86
|
+
name?: pulumi.Input<string | undefined>;
|
|
87
|
+
/**
|
|
88
|
+
* Hierarchical path of the object (e.g. `mydb.public.users.email`).
|
|
89
|
+
*/
|
|
90
|
+
path: pulumi.Input<string>;
|
|
91
|
+
/**
|
|
92
|
+
* Resource (datastore) ID this object belongs to.
|
|
93
|
+
*/
|
|
94
|
+
resourceId: pulumi.Input<string>;
|
|
95
|
+
/**
|
|
96
|
+
* Object type. One of `db`, `schema`, `table`, `column`.
|
|
97
|
+
*/
|
|
98
|
+
type: pulumi.Input<string>;
|
|
99
|
+
}
|
|
100
|
+
//# sourceMappingURL=inventoryObject.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"inventoryObject.d.ts","sourceRoot":"","sources":["../inventoryObject.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC;;GAEG;AACH,qBAAa,eAAgB,SAAQ,MAAM,CAAC,cAAc;IACtD;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,oBAAoB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,eAAe;IAOhJ;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,eAAe;IAO1D;;OAEG;IACH,SAAwB,QAAQ,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACpE;;OAEG;IACH,SAAwB,IAAI,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IACpD;;OAEG;IACH,SAAwB,IAAI,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IACpD;;OAEG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+1,92 @@
|
|
|
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
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
+
if (k2 === undefined) k2 = k;
|
|
6
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
+
}
|
|
10
|
+
Object.defineProperty(o, k2, desc);
|
|
11
|
+
}) : (function(o, m, k, k2) {
|
|
12
|
+
if (k2 === undefined) k2 = k;
|
|
13
|
+
o[k2] = m[k];
|
|
14
|
+
}));
|
|
15
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
16
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
17
|
+
}) : function(o, v) {
|
|
18
|
+
o["default"] = v;
|
|
19
|
+
});
|
|
20
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
21
|
+
if (mod && mod.__esModule) return mod;
|
|
22
|
+
var result = {};
|
|
23
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
24
|
+
__setModuleDefault(result, mod);
|
|
25
|
+
return result;
|
|
26
|
+
};
|
|
27
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
+
exports.InventoryObject = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("./utilities"));
|
|
31
|
+
/**
|
|
32
|
+
* Registering an inventory object (db, schema, table, column) with Formal. Useful for seeding the inventory in test fixtures so that connectors load it at startup instead of relying on inline discovery.
|
|
33
|
+
*/
|
|
34
|
+
class InventoryObject extends pulumi.CustomResource {
|
|
35
|
+
/**
|
|
36
|
+
* Get an existing InventoryObject resource's state with the given name, ID, and optional extra
|
|
37
|
+
* properties used to qualify the lookup.
|
|
38
|
+
*
|
|
39
|
+
* @param name The _unique_ name of the resulting resource.
|
|
40
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
41
|
+
* @param state Any extra arguments used during the lookup.
|
|
42
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
43
|
+
*/
|
|
44
|
+
static get(name, id, state, opts) {
|
|
45
|
+
return new InventoryObject(name, state, { ...opts, id: id });
|
|
46
|
+
}
|
|
47
|
+
/** @internal */
|
|
48
|
+
static __pulumiType = 'formal:index/inventoryObject:InventoryObject';
|
|
49
|
+
/**
|
|
50
|
+
* Returns true if the given object is an instance of InventoryObject. This is designed to work even
|
|
51
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
52
|
+
*/
|
|
53
|
+
static isInstance(obj) {
|
|
54
|
+
if (obj === undefined || obj === null) {
|
|
55
|
+
return false;
|
|
56
|
+
}
|
|
57
|
+
return obj['__pulumiType'] === InventoryObject.__pulumiType;
|
|
58
|
+
}
|
|
59
|
+
constructor(name, argsOrState, opts) {
|
|
60
|
+
let resourceInputs = {};
|
|
61
|
+
opts = opts || {};
|
|
62
|
+
if (opts.id) {
|
|
63
|
+
const state = argsOrState;
|
|
64
|
+
resourceInputs["dataType"] = state?.dataType;
|
|
65
|
+
resourceInputs["name"] = state?.name;
|
|
66
|
+
resourceInputs["path"] = state?.path;
|
|
67
|
+
resourceInputs["resourceId"] = state?.resourceId;
|
|
68
|
+
resourceInputs["type"] = state?.type;
|
|
69
|
+
}
|
|
70
|
+
else {
|
|
71
|
+
const args = argsOrState;
|
|
72
|
+
if (args?.path === undefined && !opts.urn) {
|
|
73
|
+
throw new Error("Missing required property 'path'");
|
|
74
|
+
}
|
|
75
|
+
if (args?.resourceId === undefined && !opts.urn) {
|
|
76
|
+
throw new Error("Missing required property 'resourceId'");
|
|
77
|
+
}
|
|
78
|
+
if (args?.type === undefined && !opts.urn) {
|
|
79
|
+
throw new Error("Missing required property 'type'");
|
|
80
|
+
}
|
|
81
|
+
resourceInputs["dataType"] = args?.dataType;
|
|
82
|
+
resourceInputs["name"] = args?.name;
|
|
83
|
+
resourceInputs["path"] = args?.path;
|
|
84
|
+
resourceInputs["resourceId"] = args?.resourceId;
|
|
85
|
+
resourceInputs["type"] = args?.type;
|
|
86
|
+
}
|
|
87
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
88
|
+
super(InventoryObject.__pulumiType, name, resourceInputs, opts);
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
exports.InventoryObject = InventoryObject;
|
|
92
|
+
//# sourceMappingURL=inventoryObject.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"inventoryObject.js","sourceRoot":"","sources":["../inventoryObject.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,uDAAyC;AAEzC;;GAEG;AACH,MAAa,eAAgB,SAAQ,MAAM,CAAC,cAAc;IACtD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA4B,EAAE,IAAmC;QAC1H,OAAO,IAAI,eAAe,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACtE,CAAC;IAED,gBAAgB;IACT,MAAM,CAAU,YAAY,GAAG,8CAA8C,CAAC;IAErF;;;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,eAAe,CAAC,YAAY,CAAC;IAChE,CAAC;IA+BD,YAAY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AAE,IAAI,CAAC;SACvC;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,eAAe,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACpE,CAAC;;AAtFL,0CAuFC"}
|
|
@@ -50,19 +50,19 @@ export interface InventoryObjectDataLabelLinkState {
|
|
|
50
50
|
/**
|
|
51
51
|
* Data label to link to the inventory object.
|
|
52
52
|
*/
|
|
53
|
-
dataLabel?: pulumi.Input<string>;
|
|
53
|
+
dataLabel?: pulumi.Input<string | undefined>;
|
|
54
54
|
/**
|
|
55
55
|
* Whether the inventory object is locked.
|
|
56
56
|
*/
|
|
57
|
-
locked?: pulumi.Input<boolean>;
|
|
57
|
+
locked?: pulumi.Input<boolean | undefined>;
|
|
58
58
|
/**
|
|
59
59
|
* Path of the inventory object.
|
|
60
60
|
*/
|
|
61
|
-
path?: pulumi.Input<string>;
|
|
61
|
+
path?: pulumi.Input<string | undefined>;
|
|
62
62
|
/**
|
|
63
63
|
* Resource ID to which the inventory object belongs.
|
|
64
64
|
*/
|
|
65
|
-
resourceId?: pulumi.Input<string>;
|
|
65
|
+
resourceId?: pulumi.Input<string | undefined>;
|
|
66
66
|
}
|
|
67
67
|
/**
|
|
68
68
|
* The set of arguments for constructing a InventoryObjectDataLabelLink resource.
|
|
@@ -85,3 +85,4 @@ export interface InventoryObjectDataLabelLinkArgs {
|
|
|
85
85
|
*/
|
|
86
86
|
resourceId: pulumi.Input<string>;
|
|
87
87
|
}
|
|
88
|
+
//# sourceMappingURL=inventoryObjectDataLabelLink.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"inventoryObjectDataLabelLink.d.ts","sourceRoot":"","sources":["../inventoryObjectDataLabelLink.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC;;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7C;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAChC;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;IAC9B;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC3B;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CACpC"}
|
|
@@ -1,10 +1,33 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
+
if (k2 === undefined) k2 = k;
|
|
6
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
+
}
|
|
10
|
+
Object.defineProperty(o, k2, desc);
|
|
11
|
+
}) : (function(o, m, k, k2) {
|
|
12
|
+
if (k2 === undefined) k2 = k;
|
|
13
|
+
o[k2] = m[k];
|
|
14
|
+
}));
|
|
15
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
16
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
17
|
+
}) : function(o, v) {
|
|
18
|
+
o["default"] = v;
|
|
19
|
+
});
|
|
20
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
21
|
+
if (mod && mod.__esModule) return mod;
|
|
22
|
+
var result = {};
|
|
23
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
24
|
+
__setModuleDefault(result, mod);
|
|
25
|
+
return result;
|
|
26
|
+
};
|
|
4
27
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
28
|
exports.InventoryObjectDataLabelLink = void 0;
|
|
6
|
-
const pulumi = require("@pulumi/pulumi");
|
|
7
|
-
const utilities = require("./utilities");
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("./utilities"));
|
|
8
31
|
/**
|
|
9
32
|
* Registering a Data Label with Formal.
|
|
10
33
|
*/
|
|
@@ -19,8 +42,10 @@ class InventoryObjectDataLabelLink extends pulumi.CustomResource {
|
|
|
19
42
|
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
20
43
|
*/
|
|
21
44
|
static get(name, id, state, opts) {
|
|
22
|
-
return new InventoryObjectDataLabelLink(name, state,
|
|
45
|
+
return new InventoryObjectDataLabelLink(name, state, { ...opts, id: id });
|
|
23
46
|
}
|
|
47
|
+
/** @internal */
|
|
48
|
+
static __pulumiType = 'formal:index/inventoryObjectDataLabelLink:InventoryObjectDataLabelLink';
|
|
24
49
|
/**
|
|
25
50
|
* Returns true if the given object is an instance of InventoryObjectDataLabelLink. This is designed to work even
|
|
26
51
|
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
@@ -36,35 +61,33 @@ class InventoryObjectDataLabelLink extends pulumi.CustomResource {
|
|
|
36
61
|
opts = opts || {};
|
|
37
62
|
if (opts.id) {
|
|
38
63
|
const state = argsOrState;
|
|
39
|
-
resourceInputs["dataLabel"] = state
|
|
40
|
-
resourceInputs["locked"] = state
|
|
41
|
-
resourceInputs["path"] = state
|
|
42
|
-
resourceInputs["resourceId"] = state
|
|
64
|
+
resourceInputs["dataLabel"] = state?.dataLabel;
|
|
65
|
+
resourceInputs["locked"] = state?.locked;
|
|
66
|
+
resourceInputs["path"] = state?.path;
|
|
67
|
+
resourceInputs["resourceId"] = state?.resourceId;
|
|
43
68
|
}
|
|
44
69
|
else {
|
|
45
70
|
const args = argsOrState;
|
|
46
|
-
if (
|
|
71
|
+
if (args?.dataLabel === undefined && !opts.urn) {
|
|
47
72
|
throw new Error("Missing required property 'dataLabel'");
|
|
48
73
|
}
|
|
49
|
-
if (
|
|
74
|
+
if (args?.locked === undefined && !opts.urn) {
|
|
50
75
|
throw new Error("Missing required property 'locked'");
|
|
51
76
|
}
|
|
52
|
-
if (
|
|
77
|
+
if (args?.path === undefined && !opts.urn) {
|
|
53
78
|
throw new Error("Missing required property 'path'");
|
|
54
79
|
}
|
|
55
|
-
if (
|
|
80
|
+
if (args?.resourceId === undefined && !opts.urn) {
|
|
56
81
|
throw new Error("Missing required property 'resourceId'");
|
|
57
82
|
}
|
|
58
|
-
resourceInputs["dataLabel"] = args
|
|
59
|
-
resourceInputs["locked"] = args
|
|
60
|
-
resourceInputs["path"] = args
|
|
61
|
-
resourceInputs["resourceId"] = args
|
|
83
|
+
resourceInputs["dataLabel"] = args?.dataLabel;
|
|
84
|
+
resourceInputs["locked"] = args?.locked;
|
|
85
|
+
resourceInputs["path"] = args?.path;
|
|
86
|
+
resourceInputs["resourceId"] = args?.resourceId;
|
|
62
87
|
}
|
|
63
88
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
64
89
|
super(InventoryObjectDataLabelLink.__pulumiType, name, resourceInputs, opts);
|
|
65
90
|
}
|
|
66
91
|
}
|
|
67
92
|
exports.InventoryObjectDataLabelLink = InventoryObjectDataLabelLink;
|
|
68
|
-
/** @internal */
|
|
69
|
-
InventoryObjectDataLabelLink.__pulumiType = 'formal:index/inventoryObjectDataLabelLink:InventoryObjectDataLabelLink';
|
|
70
93
|
//# sourceMappingURL=inventoryObjectDataLabelLink.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"inventoryObjectDataLabelLink.js","sourceRoot":"","sources":["../inventoryObjectDataLabelLink.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF
|
|
1
|
+
{"version":3,"file":"inventoryObjectDataLabelLink.js","sourceRoot":"","sources":["../inventoryObjectData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C,GAAG,EAAE;gBAC5C,MAAM,IAAI,KAAK,CAAC,uCAAuC,CAAC,CAAC;aAC5D;YACD,IAAI,IAAI,EAAE,MAAM,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACzC,MAAM,IAAI,KAAK,CAAC,oCAAoC,CAAC,CAAC;aACzD;YACD,IAAI,IAAI,EAAE,IAAI,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACvC,MAAM,IAAI,KAAK,CAAC,kCAAkC,CAAC,CAAC;aACvD;YACD,IAAI,IAAI,EAAE,UAAU,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC7C,MAAM,IAAI,KAAK,CAAC,wCAAwC,CAAC,CAAC;aAC7D;YACD,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,EAAE,SAAS,CAAC;YAC9C,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,EAAE,MAAM,CAAC;YACxC,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,EAAE,UAAU,CAAC;SACnD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,4BAA4B,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACjF,CAAC;;AAnFL,oEAoFC"}
|
package/logConfiguration.d.ts
CHANGED
|
@@ -72,39 +72,39 @@ export interface LogConfigurationState {
|
|
|
72
72
|
/**
|
|
73
73
|
* When the log configuration was created.
|
|
74
74
|
*/
|
|
75
|
-
createdAt?: pulumi.Input<string>;
|
|
75
|
+
createdAt?: pulumi.Input<string | undefined>;
|
|
76
76
|
/**
|
|
77
77
|
* The ID of the encryption key to use for this log configuration.
|
|
78
78
|
*/
|
|
79
|
-
encryptionKeyId?: pulumi.Input<string>;
|
|
79
|
+
encryptionKeyId?: pulumi.Input<string | undefined>;
|
|
80
80
|
/**
|
|
81
81
|
* The name of this log configuration.
|
|
82
82
|
*/
|
|
83
|
-
name?: pulumi.Input<string>;
|
|
83
|
+
name?: pulumi.Input<string | undefined>;
|
|
84
84
|
/**
|
|
85
85
|
* Request logging configuration.
|
|
86
86
|
*/
|
|
87
|
-
request?: pulumi.Input<inputs.LogConfigurationRequest>;
|
|
87
|
+
request?: pulumi.Input<inputs.LogConfigurationRequest | undefined>;
|
|
88
88
|
/**
|
|
89
89
|
* Response logging configuration.
|
|
90
90
|
*/
|
|
91
|
-
response?: pulumi.Input<inputs.LogConfigurationResponse>;
|
|
91
|
+
response?: pulumi.Input<inputs.LogConfigurationResponse | undefined>;
|
|
92
92
|
/**
|
|
93
93
|
* The scope configuration for this log configuration.
|
|
94
94
|
*/
|
|
95
|
-
scope?: pulumi.Input<inputs.LogConfigurationScope>;
|
|
95
|
+
scope?: pulumi.Input<inputs.LogConfigurationScope | undefined>;
|
|
96
96
|
/**
|
|
97
97
|
* Session logging configuration.
|
|
98
98
|
*/
|
|
99
|
-
session?: pulumi.Input<inputs.LogConfigurationSession>;
|
|
99
|
+
session?: pulumi.Input<inputs.LogConfigurationSession | undefined>;
|
|
100
100
|
/**
|
|
101
101
|
* Stream logging configuration.
|
|
102
102
|
*/
|
|
103
|
-
stream?: pulumi.Input<inputs.LogConfigurationStream>;
|
|
103
|
+
stream?: pulumi.Input<inputs.LogConfigurationStream | undefined>;
|
|
104
104
|
/**
|
|
105
105
|
* Last update time.
|
|
106
106
|
*/
|
|
107
|
-
updatedAt?: pulumi.Input<string>;
|
|
107
|
+
updatedAt?: pulumi.Input<string | undefined>;
|
|
108
108
|
}
|
|
109
109
|
/**
|
|
110
110
|
* The set of arguments for constructing a LogConfiguration resource.
|
|
@@ -113,11 +113,11 @@ export interface LogConfigurationArgs {
|
|
|
113
113
|
/**
|
|
114
114
|
* The ID of the encryption key to use for this log configuration.
|
|
115
115
|
*/
|
|
116
|
-
encryptionKeyId?: pulumi.Input<string>;
|
|
116
|
+
encryptionKeyId?: pulumi.Input<string | undefined>;
|
|
117
117
|
/**
|
|
118
118
|
* The name of this log configuration.
|
|
119
119
|
*/
|
|
120
|
-
name?: pulumi.Input<string>;
|
|
120
|
+
name?: pulumi.Input<string | undefined>;
|
|
121
121
|
/**
|
|
122
122
|
* Request logging configuration.
|
|
123
123
|
*/
|
|
@@ -133,9 +133,10 @@ export interface LogConfigurationArgs {
|
|
|
133
133
|
/**
|
|
134
134
|
* Session logging configuration.
|
|
135
135
|
*/
|
|
136
|
-
session?: pulumi.Input<inputs.LogConfigurationSession>;
|
|
136
|
+
session?: pulumi.Input<inputs.LogConfigurationSession | undefined>;
|
|
137
137
|
/**
|
|
138
138
|
* Stream logging configuration.
|
|
139
139
|
*/
|
|
140
|
-
stream?: pulumi.Input<inputs.LogConfigurationStream>;
|
|
140
|
+
stream?: pulumi.Input<inputs.LogConfigurationStream | undefined>;
|
|
141
141
|
}
|
|
142
|
+
//# sourceMappingURL=logConfiguration.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"logConfiguration.d.ts","sourceRoot":"","sources":["../logConfiguration.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAG1C;;GAEG;AACH,qBAAa,gBAAiB,SAAQ,MAAM,CAAC,cAAc;IACvD;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,qBAAqB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,gBAAgB;IAOlJ;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAA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uBAAuB,GAAG,SAAS,CAAC,CAAC;IACnE;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,sBAAsB,GAAG,SAAS,CAAC,CAAC;CACpE"}
|
package/logConfiguration.js
CHANGED
|
@@ -1,10 +1,33 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
+
if (k2 === undefined) k2 = k;
|
|
6
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
+
}
|
|
10
|
+
Object.defineProperty(o, k2, desc);
|
|
11
|
+
}) : (function(o, m, k, k2) {
|
|
12
|
+
if (k2 === undefined) k2 = k;
|
|
13
|
+
o[k2] = m[k];
|
|
14
|
+
}));
|
|
15
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
16
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
17
|
+
}) : function(o, v) {
|
|
18
|
+
o["default"] = v;
|
|
19
|
+
});
|
|
20
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
21
|
+
if (mod && mod.__esModule) return mod;
|
|
22
|
+
var result = {};
|
|
23
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
24
|
+
__setModuleDefault(result, mod);
|
|
25
|
+
return result;
|
|
26
|
+
};
|
|
4
27
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
28
|
exports.LogConfiguration = void 0;
|
|
6
|
-
const pulumi = require("@pulumi/pulumi");
|
|
7
|
-
const utilities = require("./utilities");
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("./utilities"));
|
|
8
31
|
/**
|
|
9
32
|
* Managing Log Configuration with Formal.
|
|
10
33
|
*/
|
|
@@ -19,8 +42,10 @@ class LogConfiguration extends pulumi.CustomResource {
|
|
|
19
42
|
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
20
43
|
*/
|
|
21
44
|
static get(name, id, state, opts) {
|
|
22
|
-
return new LogConfiguration(name, state,
|
|
45
|
+
return new LogConfiguration(name, state, { ...opts, id: id });
|
|
23
46
|
}
|
|
47
|
+
/** @internal */
|
|
48
|
+
static __pulumiType = 'formal:index/logConfiguration:LogConfiguration';
|
|
24
49
|
/**
|
|
25
50
|
* Returns true if the given object is an instance of LogConfiguration. This is designed to work even
|
|
26
51
|
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
@@ -36,34 +61,34 @@ class LogConfiguration extends pulumi.CustomResource {
|
|
|
36
61
|
opts = opts || {};
|
|
37
62
|
if (opts.id) {
|
|
38
63
|
const state = argsOrState;
|
|
39
|
-
resourceInputs["createdAt"] = state
|
|
40
|
-
resourceInputs["encryptionKeyId"] = state
|
|
41
|
-
resourceInputs["name"] = state
|
|
42
|
-
resourceInputs["request"] = state
|
|
43
|
-
resourceInputs["response"] = state
|
|
44
|
-
resourceInputs["scope"] = state
|
|
45
|
-
resourceInputs["session"] = state
|
|
46
|
-
resourceInputs["stream"] = state
|
|
47
|
-
resourceInputs["updatedAt"] = state
|
|
64
|
+
resourceInputs["createdAt"] = state?.createdAt;
|
|
65
|
+
resourceInputs["encryptionKeyId"] = state?.encryptionKeyId;
|
|
66
|
+
resourceInputs["name"] = state?.name;
|
|
67
|
+
resourceInputs["request"] = state?.request;
|
|
68
|
+
resourceInputs["response"] = state?.response;
|
|
69
|
+
resourceInputs["scope"] = state?.scope;
|
|
70
|
+
resourceInputs["session"] = state?.session;
|
|
71
|
+
resourceInputs["stream"] = state?.stream;
|
|
72
|
+
resourceInputs["updatedAt"] = state?.updatedAt;
|
|
48
73
|
}
|
|
49
74
|
else {
|
|
50
75
|
const args = argsOrState;
|
|
51
|
-
if (
|
|
76
|
+
if (args?.request === undefined && !opts.urn) {
|
|
52
77
|
throw new Error("Missing required property 'request'");
|
|
53
78
|
}
|
|
54
|
-
if (
|
|
79
|
+
if (args?.response === undefined && !opts.urn) {
|
|
55
80
|
throw new Error("Missing required property 'response'");
|
|
56
81
|
}
|
|
57
|
-
if (
|
|
82
|
+
if (args?.scope === undefined && !opts.urn) {
|
|
58
83
|
throw new Error("Missing required property 'scope'");
|
|
59
84
|
}
|
|
60
|
-
resourceInputs["encryptionKeyId"] = args
|
|
61
|
-
resourceInputs["name"] = args
|
|
62
|
-
resourceInputs["request"] = args
|
|
63
|
-
resourceInputs["response"] = args
|
|
64
|
-
resourceInputs["scope"] = args
|
|
65
|
-
resourceInputs["session"] = args
|
|
66
|
-
resourceInputs["stream"] = args
|
|
85
|
+
resourceInputs["encryptionKeyId"] = args?.encryptionKeyId;
|
|
86
|
+
resourceInputs["name"] = args?.name;
|
|
87
|
+
resourceInputs["request"] = args?.request;
|
|
88
|
+
resourceInputs["response"] = args?.response;
|
|
89
|
+
resourceInputs["scope"] = args?.scope;
|
|
90
|
+
resourceInputs["session"] = args?.session;
|
|
91
|
+
resourceInputs["stream"] = args?.stream;
|
|
67
92
|
resourceInputs["createdAt"] = undefined /*out*/;
|
|
68
93
|
resourceInputs["updatedAt"] = undefined /*out*/;
|
|
69
94
|
}
|
|
@@ -72,6 +97,4 @@ class LogConfiguration extends pulumi.CustomResource {
|
|
|
72
97
|
}
|
|
73
98
|
}
|
|
74
99
|
exports.LogConfiguration = LogConfiguration;
|
|
75
|
-
/** @internal */
|
|
76
|
-
LogConfiguration.__pulumiType = 'formal:index/logConfiguration:LogConfiguration';
|
|
77
100
|
//# sourceMappingURL=logConfiguration.js.map
|
package/logConfiguration.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"logConfiguration.js","sourceRoot":"","sources":["../logConfiguration.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF
|
|
1
|
+
{"version":3,"file":"logConfiguration.js","sourceRoot":"","sources":["../logConfiguration.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC;;GAEG;AACH,MAAa,gBAAiB,SAAQ,MAAM,CAAC,cAAc;IACvD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA6B,EAAE,IAAmC;QAC3H,OAAO,IAAI,gBAAgB,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACvE,CAAC;IAED,gBAAgB;IACT,MAAM,CAAU,YAAY,GAAG,gDAAgD,CAAC;IAEvF;;;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,gBAAgB,CAAC,YAAY,CAAC;IACjE,CAAC;IA+CD,YAAY,IAAY,EAAE,WAA0D,EAAE,IAAmC;QACrH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAgD,CAAC;YAC/D,cAAc,CAAC,WAAW,CAAC,GAAG,KAAK,EAAE,SAAS,CAAC;YAC/C,cAAc,CAAC,iBAAiB,CAAC,GAAG,KAAK,EAAE,eAAe,CAAC;YAC3D,cAAc,CAAC,MAAM,CAAC,GAAG,KAAK,EAAE,IAAI,CAAC;YACrC,cAAc,C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