@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
package/connectorHostname.d.ts
CHANGED
|
@@ -72,41 +72,41 @@ export interface ConnectorHostnameState {
|
|
|
72
72
|
/**
|
|
73
73
|
* The TLS certificate for this hostname. It should be in PEM format and only be set if the hostname is not managed by Formal.
|
|
74
74
|
*/
|
|
75
|
-
certificate?: pulumi.Input<string>;
|
|
75
|
+
certificate?: pulumi.Input<string | undefined>;
|
|
76
76
|
/**
|
|
77
77
|
* The ID of the Connector this hostname is linked to.
|
|
78
78
|
*/
|
|
79
|
-
connectorId?: pulumi.Input<string>;
|
|
79
|
+
connectorId?: pulumi.Input<string | undefined>;
|
|
80
80
|
/**
|
|
81
81
|
* The DNS record for this hostname.
|
|
82
82
|
*/
|
|
83
|
-
dnsRecord?: pulumi.Input<string>;
|
|
83
|
+
dnsRecord?: pulumi.Input<string | undefined>;
|
|
84
84
|
/**
|
|
85
85
|
* The status of the DNS record for this hostname. Accepted values are `none`, `pending`, `success` and `failed`.
|
|
86
86
|
*/
|
|
87
|
-
dnsRecordStatus?: pulumi.Input<string>;
|
|
87
|
+
dnsRecordStatus?: pulumi.Input<string | undefined>;
|
|
88
88
|
/**
|
|
89
89
|
* The hostname for this Connector hostname.
|
|
90
90
|
*/
|
|
91
|
-
hostname?: pulumi.Input<string>;
|
|
91
|
+
hostname?: pulumi.Input<string | undefined>;
|
|
92
92
|
/**
|
|
93
93
|
* Deprecated: If set to true, Formal will manage the TLS certificate for this hostname.
|
|
94
94
|
*
|
|
95
95
|
* @deprecated This field is deprecated and has no effect. It will be removed in a future release.
|
|
96
96
|
*/
|
|
97
|
-
managedTls?: pulumi.Input<boolean>;
|
|
97
|
+
managedTls?: pulumi.Input<boolean | undefined>;
|
|
98
98
|
/**
|
|
99
99
|
* The TLS private key for this hostname. It should be in PEM format and only be set if the hostname is not managed by Formal.
|
|
100
100
|
*/
|
|
101
|
-
privateKey?: pulumi.Input<string>;
|
|
101
|
+
privateKey?: pulumi.Input<string | undefined>;
|
|
102
102
|
/**
|
|
103
103
|
* If set to true, this connector hostname cannot be deleted.
|
|
104
104
|
*/
|
|
105
|
-
terminationProtection?: pulumi.Input<boolean>;
|
|
105
|
+
terminationProtection?: pulumi.Input<boolean | undefined>;
|
|
106
106
|
/**
|
|
107
107
|
* The status of the TLS certificate for this hostname. Accepted values are `none`, `issuing`, and `issued`.
|
|
108
108
|
*/
|
|
109
|
-
tlsCertificateStatus?: pulumi.Input<string>;
|
|
109
|
+
tlsCertificateStatus?: pulumi.Input<string | undefined>;
|
|
110
110
|
}
|
|
111
111
|
/**
|
|
112
112
|
* The set of arguments for constructing a ConnectorHostname resource.
|
|
@@ -115,7 +115,7 @@ export interface ConnectorHostnameArgs {
|
|
|
115
115
|
/**
|
|
116
116
|
* The TLS certificate for this hostname. It should be in PEM format and only be set if the hostname is not managed by Formal.
|
|
117
117
|
*/
|
|
118
|
-
certificate?: pulumi.Input<string>;
|
|
118
|
+
certificate?: pulumi.Input<string | undefined>;
|
|
119
119
|
/**
|
|
120
120
|
* The ID of the Connector this hostname is linked to.
|
|
121
121
|
*/
|
|
@@ -123,7 +123,7 @@ export interface ConnectorHostnameArgs {
|
|
|
123
123
|
/**
|
|
124
124
|
* The DNS record for this hostname.
|
|
125
125
|
*/
|
|
126
|
-
dnsRecord?: pulumi.Input<string>;
|
|
126
|
+
dnsRecord?: pulumi.Input<string | undefined>;
|
|
127
127
|
/**
|
|
128
128
|
* The hostname for this Connector hostname.
|
|
129
129
|
*/
|
|
@@ -133,13 +133,14 @@ export interface ConnectorHostnameArgs {
|
|
|
133
133
|
*
|
|
134
134
|
* @deprecated This field is deprecated and has no effect. It will be removed in a future release.
|
|
135
135
|
*/
|
|
136
|
-
managedTls?: pulumi.Input<boolean>;
|
|
136
|
+
managedTls?: pulumi.Input<boolean | undefined>;
|
|
137
137
|
/**
|
|
138
138
|
* The TLS private key for this hostname. It should be in PEM format and only be set if the hostname is not managed by Formal.
|
|
139
139
|
*/
|
|
140
|
-
privateKey?: pulumi.Input<string>;
|
|
140
|
+
privateKey?: pulumi.Input<string | undefined>;
|
|
141
141
|
/**
|
|
142
142
|
* If set to true, this connector hostname cannot be deleted.
|
|
143
143
|
*/
|
|
144
|
-
terminationProtection?: pulumi.Input<boolean>;
|
|
144
|
+
terminationProtection?: pulumi.Input<boolean | undefined>;
|
|
145
145
|
}
|
|
146
|
+
//# sourceMappingURL=connectorHostname.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"connectorHostname.d.ts","sourceRoot":"","sources":["../connectorHostname.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC;;GAEG;AACH,qBAAa,iBAAkB,SAAQ,MAAM,CAAC,cAAc;IACxD;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,sBAAsB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,iBAAiB;IAOpJ;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,iBAAiB;IAO5D;;OAEG;IACH,SAAwB,WAAW,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACvE;;OAEG;IACH,SAAwB,WAAW,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IAC3D;;OAEG;IACH,SAAwB,SAAS,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACrE;;OAEG;IACH,SAAgC,eAAe,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IACvE;;OAEG;IACH,SAAwB,QAAQ,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IACxD;;;;OAIG;IACH,SAAwB,UAAU,EAAE,MAAM,CAAC,MAAM,CAAC,OAA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M,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;CAC3D;AAED;;GAEG;AACH,MAAM,WAAW,qBAAqB;IAClC;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC/C;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAClC;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC7C;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC/B;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;IAC/C;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC9C;;OAEG;IACH,qBAAqB,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;CAC7D"}
|
package/connectorHostname.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.ConnectorHostname = 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 Connector Hostname with Formal.
|
|
10
33
|
*/
|
|
@@ -19,8 +42,10 @@ class ConnectorHostname 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 ConnectorHostname(name, state,
|
|
45
|
+
return new ConnectorHostname(name, state, { ...opts, id: id });
|
|
23
46
|
}
|
|
47
|
+
/** @internal */
|
|
48
|
+
static __pulumiType = 'formal:index/connectorHostname:ConnectorHostname';
|
|
24
49
|
/**
|
|
25
50
|
* Returns true if the given object is an instance of ConnectorHostname. This is designed to work even
|
|
26
51
|
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
@@ -36,31 +61,31 @@ class ConnectorHostname extends pulumi.CustomResource {
|
|
|
36
61
|
opts = opts || {};
|
|
37
62
|
if (opts.id) {
|
|
38
63
|
const state = argsOrState;
|
|
39
|
-
resourceInputs["certificate"] = state
|
|
40
|
-
resourceInputs["connectorId"] = state
|
|
41
|
-
resourceInputs["dnsRecord"] = state
|
|
42
|
-
resourceInputs["dnsRecordStatus"] = state
|
|
43
|
-
resourceInputs["hostname"] = state
|
|
44
|
-
resourceInputs["managedTls"] = state
|
|
45
|
-
resourceInputs["privateKey"] = state
|
|
46
|
-
resourceInputs["terminationProtection"] = state
|
|
47
|
-
resourceInputs["tlsCertificateStatus"] = state
|
|
64
|
+
resourceInputs["certificate"] = state?.certificate;
|
|
65
|
+
resourceInputs["connectorId"] = state?.connectorId;
|
|
66
|
+
resourceInputs["dnsRecord"] = state?.dnsRecord;
|
|
67
|
+
resourceInputs["dnsRecordStatus"] = state?.dnsRecordStatus;
|
|
68
|
+
resourceInputs["hostname"] = state?.hostname;
|
|
69
|
+
resourceInputs["managedTls"] = state?.managedTls;
|
|
70
|
+
resourceInputs["privateKey"] = state?.privateKey;
|
|
71
|
+
resourceInputs["terminationProtection"] = state?.terminationProtection;
|
|
72
|
+
resourceInputs["tlsCertificateStatus"] = state?.tlsCertificateStatus;
|
|
48
73
|
}
|
|
49
74
|
else {
|
|
50
75
|
const args = argsOrState;
|
|
51
|
-
if (
|
|
76
|
+
if (args?.connectorId === undefined && !opts.urn) {
|
|
52
77
|
throw new Error("Missing required property 'connectorId'");
|
|
53
78
|
}
|
|
54
|
-
if (
|
|
79
|
+
if (args?.hostname === undefined && !opts.urn) {
|
|
55
80
|
throw new Error("Missing required property 'hostname'");
|
|
56
81
|
}
|
|
57
|
-
resourceInputs["certificate"] =
|
|
58
|
-
resourceInputs["connectorId"] = args
|
|
59
|
-
resourceInputs["dnsRecord"] = args
|
|
60
|
-
resourceInputs["hostname"] = args
|
|
61
|
-
resourceInputs["managedTls"] = args
|
|
62
|
-
resourceInputs["privateKey"] =
|
|
63
|
-
resourceInputs["terminationProtection"] = args
|
|
82
|
+
resourceInputs["certificate"] = args?.certificate ? pulumi.secret(args.certificate) : undefined;
|
|
83
|
+
resourceInputs["connectorId"] = args?.connectorId;
|
|
84
|
+
resourceInputs["dnsRecord"] = args?.dnsRecord;
|
|
85
|
+
resourceInputs["hostname"] = args?.hostname;
|
|
86
|
+
resourceInputs["managedTls"] = args?.managedTls;
|
|
87
|
+
resourceInputs["privateKey"] = args?.privateKey ? pulumi.secret(args.privateKey) : undefined;
|
|
88
|
+
resourceInputs["terminationProtection"] = args?.terminationProtection;
|
|
64
89
|
resourceInputs["dnsRecordStatus"] = undefined /*out*/;
|
|
65
90
|
resourceInputs["tlsCertificateStatus"] = undefined /*out*/;
|
|
66
91
|
}
|
|
@@ -71,6 +96,4 @@ class ConnectorHostname extends pulumi.CustomResource {
|
|
|
71
96
|
}
|
|
72
97
|
}
|
|
73
98
|
exports.ConnectorHostname = ConnectorHostname;
|
|
74
|
-
/** @internal */
|
|
75
|
-
ConnectorHostname.__pulumiType = 'formal:index/connectorHostname:ConnectorHostname';
|
|
76
99
|
//# sourceMappingURL=connectorHostname.js.map
|
package/connectorHostname.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"connectorHostname.js","sourceRoot":"","sources":["../connectorHostname.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF
|
|
1
|
+
{"version":3,"file":"connectorHostname.js","sourceRoot":"","sources":["../connectorHostname.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,uDAAyC;AAEzC;;GAEG;AACH,MAAa,iBAAkB,SAAQ,MAAM,CAAC,cAAc;IACxD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA8B,EAAE,IAAmC;QAC5H,OAAO,IAAI,iBAAiB,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC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AC;;AA/GL,8CAgHC"}
|
package/connectorListener.d.ts
CHANGED
|
@@ -50,19 +50,19 @@ export interface ConnectorListenerState {
|
|
|
50
50
|
/**
|
|
51
51
|
* The ID of the connector this listener is associated with.
|
|
52
52
|
*/
|
|
53
|
-
connectorId?: pulumi.Input<string>;
|
|
53
|
+
connectorId?: pulumi.Input<string | undefined>;
|
|
54
54
|
/**
|
|
55
55
|
* The name of the connector listener.
|
|
56
56
|
*/
|
|
57
|
-
name?: pulumi.Input<string>;
|
|
57
|
+
name?: pulumi.Input<string | undefined>;
|
|
58
58
|
/**
|
|
59
59
|
* The listening port for this connector listener.
|
|
60
60
|
*/
|
|
61
|
-
port?: pulumi.Input<number>;
|
|
61
|
+
port?: pulumi.Input<number | undefined>;
|
|
62
62
|
/**
|
|
63
63
|
* If set to true, this connector listener cannot be deleted.
|
|
64
64
|
*/
|
|
65
|
-
terminationProtection?: pulumi.Input<boolean>;
|
|
65
|
+
terminationProtection?: pulumi.Input<boolean | undefined>;
|
|
66
66
|
}
|
|
67
67
|
/**
|
|
68
68
|
* The set of arguments for constructing a ConnectorListener resource.
|
|
@@ -71,11 +71,11 @@ export interface ConnectorListenerArgs {
|
|
|
71
71
|
/**
|
|
72
72
|
* The ID of the connector this listener is associated with.
|
|
73
73
|
*/
|
|
74
|
-
connectorId?: pulumi.Input<string>;
|
|
74
|
+
connectorId?: pulumi.Input<string | undefined>;
|
|
75
75
|
/**
|
|
76
76
|
* The name of the connector listener.
|
|
77
77
|
*/
|
|
78
|
-
name?: pulumi.Input<string>;
|
|
78
|
+
name?: pulumi.Input<string | undefined>;
|
|
79
79
|
/**
|
|
80
80
|
* The listening port for this connector listener.
|
|
81
81
|
*/
|
|
@@ -83,5 +83,6 @@ export interface ConnectorListenerArgs {
|
|
|
83
83
|
/**
|
|
84
84
|
* If set to true, this connector listener cannot be deleted.
|
|
85
85
|
*/
|
|
86
|
-
terminationProtection?: pulumi.Input<boolean>;
|
|
86
|
+
terminationProtection?: pulumi.Input<boolean | undefined>;
|
|
87
87
|
}
|
|
88
|
+
//# sourceMappingURL=connectorListener.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"connectorListener.d.ts","sourceRoot":"","sources":["../connectorListener.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC;;GAEG;AACH,qBAAa,iBAAkB,SAAQ,MAAM,CAAC,cAAc;IACxD;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,sBAAsB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,iBAAiB;IAOpJ;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,iBAAiB;IAO5D;;OAEG;IACH,SAAwB,WAAW,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACvE;;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;IACH,SAAwB,qBAAqB,EAAE,MAAM,CAAC,MAAM,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;IAElF;;;;;;OAMG;gBACS,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,qBAAqB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB;CAuB7F;AAED;;GAEG;AACH,MAAM,WAAW,sBAAsB;IACnC;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC/C;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACxC;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACxC;;OAEG;IACH,qBAAqB,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;CAC7D;AAED;;GAEG;AACH,MAAM,WAAW,qBAAqB;IAClC;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC/C;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACxC;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC3B;;OAEG;IACH,qBAAqB,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;CAC7D"}
|
package/connectorListener.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.ConnectorListener = 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 Connector Listener with Formal.
|
|
10
33
|
*/
|
|
@@ -19,8 +42,10 @@ class ConnectorListener 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 ConnectorListener(name, state,
|
|
45
|
+
return new ConnectorListener(name, state, { ...opts, id: id });
|
|
23
46
|
}
|
|
47
|
+
/** @internal */
|
|
48
|
+
static __pulumiType = 'formal:index/connectorListener:ConnectorListener';
|
|
24
49
|
/**
|
|
25
50
|
* Returns true if the given object is an instance of ConnectorListener. This is designed to work even
|
|
26
51
|
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
@@ -36,26 +61,24 @@ class ConnectorListener extends pulumi.CustomResource {
|
|
|
36
61
|
opts = opts || {};
|
|
37
62
|
if (opts.id) {
|
|
38
63
|
const state = argsOrState;
|
|
39
|
-
resourceInputs["connectorId"] = state
|
|
40
|
-
resourceInputs["name"] = state
|
|
41
|
-
resourceInputs["port"] = state
|
|
42
|
-
resourceInputs["terminationProtection"] = state
|
|
64
|
+
resourceInputs["connectorId"] = state?.connectorId;
|
|
65
|
+
resourceInputs["name"] = state?.name;
|
|
66
|
+
resourceInputs["port"] = state?.port;
|
|
67
|
+
resourceInputs["terminationProtection"] = state?.terminationProtection;
|
|
43
68
|
}
|
|
44
69
|
else {
|
|
45
70
|
const args = argsOrState;
|
|
46
|
-
if (
|
|
71
|
+
if (args?.port === undefined && !opts.urn) {
|
|
47
72
|
throw new Error("Missing required property 'port'");
|
|
48
73
|
}
|
|
49
|
-
resourceInputs["connectorId"] = args
|
|
50
|
-
resourceInputs["name"] = args
|
|
51
|
-
resourceInputs["port"] = args
|
|
52
|
-
resourceInputs["terminationProtection"] = args
|
|
74
|
+
resourceInputs["connectorId"] = args?.connectorId;
|
|
75
|
+
resourceInputs["name"] = args?.name;
|
|
76
|
+
resourceInputs["port"] = args?.port;
|
|
77
|
+
resourceInputs["terminationProtection"] = args?.terminationProtection;
|
|
53
78
|
}
|
|
54
79
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
55
80
|
super(ConnectorListener.__pulumiType, name, resourceInputs, opts);
|
|
56
81
|
}
|
|
57
82
|
}
|
|
58
83
|
exports.ConnectorListener = ConnectorListener;
|
|
59
|
-
/** @internal */
|
|
60
|
-
ConnectorListener.__pulumiType = 'formal:index/connectorListener:ConnectorListener';
|
|
61
84
|
//# sourceMappingURL=connectorListener.js.map
|
package/connectorListener.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"connectorListener.js","sourceRoot":"","sources":["../connectorListener.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF
|
|
1
|
+
{"version":3,"file":"connectorListener.js","sourceRoot":"","sources":["../connectorListener.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,uDAAyC;AAEzC;;GAEG;AACH,MAAa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,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,uBAAuB,CAAC,GAAG,IAAI,EAAE,qBAAqB,CAAC;SACzE;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,iBAAiB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACtE,CAAC;;AA1EL,8CA2EC"}
|
|
@@ -46,15 +46,15 @@ export interface ConnectorListenerLinkState {
|
|
|
46
46
|
/**
|
|
47
47
|
* The ID of the Connector Listener you want to link to a connector.
|
|
48
48
|
*/
|
|
49
|
-
connectorId?: pulumi.Input<string>;
|
|
49
|
+
connectorId?: pulumi.Input<string | undefined>;
|
|
50
50
|
/**
|
|
51
51
|
* The ID of the Connector Listener you want to link to a connector.
|
|
52
52
|
*/
|
|
53
|
-
connectorListenerId?: pulumi.Input<string>;
|
|
53
|
+
connectorListenerId?: pulumi.Input<string | undefined>;
|
|
54
54
|
/**
|
|
55
55
|
* If set to true, this connector cannot be deleted.
|
|
56
56
|
*/
|
|
57
|
-
terminationProtection?: pulumi.Input<boolean>;
|
|
57
|
+
terminationProtection?: pulumi.Input<boolean | undefined>;
|
|
58
58
|
}
|
|
59
59
|
/**
|
|
60
60
|
* The set of arguments for constructing a ConnectorListenerLink resource.
|
|
@@ -71,5 +71,6 @@ export interface ConnectorListenerLinkArgs {
|
|
|
71
71
|
/**
|
|
72
72
|
* If set to true, this connector cannot be deleted.
|
|
73
73
|
*/
|
|
74
|
-
terminationProtection?: pulumi.Input<boolean>;
|
|
74
|
+
terminationProtection?: pulumi.Input<boolean | undefined>;
|
|
75
75
|
}
|
|
76
|
+
//# sourceMappingURL=connectorListenerLink.d.ts.map
|
|
@@ -0,0 +1 @@
|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G;IACH,WAAW,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAClC;;OAEG;IACH,mBAAmB,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC1C;;OAEG;IACH,qBAAqB,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;CAC7D"}
|
package/connectorListenerLink.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.ConnectorListenerLink = 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 Connector Listener Link with Formal.
|
|
10
33
|
*/
|
|
@@ -19,8 +42,10 @@ class ConnectorListenerLink 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 ConnectorListenerLink(name, state,
|
|
45
|
+
return new ConnectorListenerLink(name, state, { ...opts, id: id });
|
|
23
46
|
}
|
|
47
|
+
/** @internal */
|
|
48
|
+
static __pulumiType = 'formal:index/connectorListenerLink:ConnectorListenerLink';
|
|
24
49
|
/**
|
|
25
50
|
* Returns true if the given object is an instance of ConnectorListenerLink. This is designed to work even
|
|
26
51
|
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
@@ -36,27 +61,25 @@ class ConnectorListenerLink extends pulumi.CustomResource {
|
|
|
36
61
|
opts = opts || {};
|
|
37
62
|
if (opts.id) {
|
|
38
63
|
const state = argsOrState;
|
|
39
|
-
resourceInputs["connectorId"] = state
|
|
40
|
-
resourceInputs["connectorListenerId"] = state
|
|
41
|
-
resourceInputs["terminationProtection"] = state
|
|
64
|
+
resourceInputs["connectorId"] = state?.connectorId;
|
|
65
|
+
resourceInputs["connectorListenerId"] = state?.connectorListenerId;
|
|
66
|
+
resourceInputs["terminationProtection"] = state?.terminationProtection;
|
|
42
67
|
}
|
|
43
68
|
else {
|
|
44
69
|
const args = argsOrState;
|
|
45
|
-
if (
|
|
70
|
+
if (args?.connectorId === undefined && !opts.urn) {
|
|
46
71
|
throw new Error("Missing required property 'connectorId'");
|
|
47
72
|
}
|
|
48
|
-
if (
|
|
73
|
+
if (args?.connectorListenerId === undefined && !opts.urn) {
|
|
49
74
|
throw new Error("Missing required property 'connectorListenerId'");
|
|
50
75
|
}
|
|
51
|
-
resourceInputs["connectorId"] = args
|
|
52
|
-
resourceInputs["connectorListenerId"] = args
|
|
53
|
-
resourceInputs["terminationProtection"] = args
|
|
76
|
+
resourceInputs["connectorId"] = args?.connectorId;
|
|
77
|
+
resourceInputs["connectorListenerId"] = args?.connectorListenerId;
|
|
78
|
+
resourceInputs["terminationProtection"] = args?.terminationProtection;
|
|
54
79
|
}
|
|
55
80
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
56
81
|
super(ConnectorListenerLink.__pulumiType, name, resourceInputs, opts);
|
|
57
82
|
}
|
|
58
83
|
}
|
|
59
84
|
exports.ConnectorListenerLink = ConnectorListenerLink;
|
|
60
|
-
/** @internal */
|
|
61
|
-
ConnectorListenerLink.__pulumiType = 'formal:index/connectorListenerLink:ConnectorListenerLink';
|
|
62
85
|
//# sourceMappingURL=connectorListenerLink.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"connectorListenerLink.js","sourceRoot":"","sources":["../connectorListenerLink.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF
|
|
1
|
+
{"version":3,"file":"connectorListenerLink.js","sourceRoot":"","sources":["../connectorListenerLink.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,uDAAyC;AAEzC;;GAEG;AACH,MAAa,qBAAsB,SAAQ,MAAM,CAAC,cAAc;IAC5D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAkC,EAAE,IAAmC;QAChI,OAAO,IAAI,qBAAqB,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC5E,CAAC;IAED,gBAAg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AAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,qBAAqB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC1E,CAAC;;AAvEL,sDAwEC"}
|
|
@@ -50,19 +50,19 @@ export interface ConnectorListenerRuleState {
|
|
|
50
50
|
/**
|
|
51
51
|
* The ID of the listener this rule is associated with.
|
|
52
52
|
*/
|
|
53
|
-
connectorListenerId?: pulumi.Input<string>;
|
|
53
|
+
connectorListenerId?: pulumi.Input<string | undefined>;
|
|
54
54
|
/**
|
|
55
55
|
* The rule to apply to the listener. It should be either the id of the resource or the name of the technology.
|
|
56
56
|
*/
|
|
57
|
-
rule?: pulumi.Input<string>;
|
|
57
|
+
rule?: pulumi.Input<string | undefined>;
|
|
58
58
|
/**
|
|
59
59
|
* If set to true, this connector listener rule cannot be deleted.
|
|
60
60
|
*/
|
|
61
|
-
terminationProtection?: pulumi.Input<boolean>;
|
|
61
|
+
terminationProtection?: pulumi.Input<boolean | undefined>;
|
|
62
62
|
/**
|
|
63
63
|
* The type of the rule. It can be either `any`, `resource` or `technology`
|
|
64
64
|
*/
|
|
65
|
-
type?: pulumi.Input<string>;
|
|
65
|
+
type?: pulumi.Input<string | undefined>;
|
|
66
66
|
}
|
|
67
67
|
/**
|
|
68
68
|
* The set of arguments for constructing a ConnectorListenerRule resource.
|
|
@@ -79,9 +79,10 @@ export interface ConnectorListenerRuleArgs {
|
|
|
79
79
|
/**
|
|
80
80
|
* If set to true, this connector listener rule cannot be deleted.
|
|
81
81
|
*/
|
|
82
|
-
terminationProtection?: pulumi.Input<boolean>;
|
|
82
|
+
terminationProtection?: pulumi.Input<boolean | undefined>;
|
|
83
83
|
/**
|
|
84
84
|
* The type of the rule. It can be either `any`, `resource` or `technology`
|
|
85
85
|
*/
|
|
86
86
|
type: pulumi.Input<string>;
|
|
87
87
|
}
|
|
88
|
+
//# sourceMappingURL=connectorListenerRule.d.ts.map
|
|
@@ -0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AAC,OAAO,GAAG,SAAS,CAAC,CAAC;IAC1D;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;CAC3C;AAED;;GAEG;AACH,MAAM,WAAW,yBAAyB;IACtC;;OAEG;IACH,mBAAmB,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC1C;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC3B;;OAEG;IACH,qBAAqB,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;IAC1D;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CAC9B"}
|
package/connectorListenerRule.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.ConnectorListenerRule = 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 Connector Listener Rule with Formal.
|
|
10
33
|
*/
|
|
@@ -19,8 +42,10 @@ class ConnectorListenerRule 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 ConnectorListenerRule(name, state,
|
|
45
|
+
return new ConnectorListenerRule(name, state, { ...opts, id: id });
|
|
23
46
|
}
|
|
47
|
+
/** @internal */
|
|
48
|
+
static __pulumiType = 'formal:index/connectorListenerRule:ConnectorListenerRule';
|
|
24
49
|
/**
|
|
25
50
|
* Returns true if the given object is an instance of ConnectorListenerRule. This is designed to work even
|
|
26
51
|
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
@@ -36,32 +61,30 @@ class ConnectorListenerRule extends pulumi.CustomResource {
|
|
|
36
61
|
opts = opts || {};
|
|
37
62
|
if (opts.id) {
|
|
38
63
|
const state = argsOrState;
|
|
39
|
-
resourceInputs["connectorListenerId"] = state
|
|
40
|
-
resourceInputs["rule"] = state
|
|
41
|
-
resourceInputs["terminationProtection"] = state
|
|
42
|
-
resourceInputs["type"] = state
|
|
64
|
+
resourceInputs["connectorListenerId"] = state?.connectorListenerId;
|
|
65
|
+
resourceInputs["rule"] = state?.rule;
|
|
66
|
+
resourceInputs["terminationProtection"] = state?.terminationProtection;
|
|
67
|
+
resourceInputs["type"] = state?.type;
|
|
43
68
|
}
|
|
44
69
|
else {
|
|
45
70
|
const args = argsOrState;
|
|
46
|
-
if (
|
|
71
|
+
if (args?.connectorListenerId === undefined && !opts.urn) {
|
|
47
72
|
throw new Error("Missing required property 'connectorListenerId'");
|
|
48
73
|
}
|
|
49
|
-
if (
|
|
74
|
+
if (args?.rule === undefined && !opts.urn) {
|
|
50
75
|
throw new Error("Missing required property 'rule'");
|
|
51
76
|
}
|
|
52
|
-
if (
|
|
77
|
+
if (args?.type === undefined && !opts.urn) {
|
|
53
78
|
throw new Error("Missing required property 'type'");
|
|
54
79
|
}
|
|
55
|
-
resourceInputs["connectorListenerId"] = args
|
|
56
|
-
resourceInputs["rule"] = args
|
|
57
|
-
resourceInputs["terminationProtection"] = args
|
|
58
|
-
resourceInputs["type"] = args
|
|
80
|
+
resourceInputs["connectorListenerId"] = args?.connectorListenerId;
|
|
81
|
+
resourceInputs["rule"] = args?.rule;
|
|
82
|
+
resourceInputs["terminationProtection"] = args?.terminationProtection;
|
|
83
|
+
resourceInputs["type"] = args?.type;
|
|
59
84
|
}
|
|
60
85
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
61
86
|
super(ConnectorListenerRule.__pulumiType, name, resourceInputs, opts);
|
|
62
87
|
}
|
|
63
88
|
}
|
|
64
89
|
exports.ConnectorListenerRule = ConnectorListenerRule;
|
|
65
|
-
/** @internal */
|
|
66
|
-
ConnectorListenerRule.__pulumiType = 'formal:index/connectorListenerRule:ConnectorListenerRule';
|
|
67
90
|
//# sourceMappingURL=connectorListenerRule.js.map
|