@pierskarsenbarg/sdm 0.2.0 → 0.4.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/account.js +16 -16
- package/account.js.map +1 -1
- package/accountAttachment.js +22 -22
- package/accountAttachment.js.map +1 -1
- package/getAccount.d.ts +12 -0
- package/getAccount.js +1 -0
- package/getAccount.js.map +1 -1
- package/getRole.d.ts +4 -0
- package/getRole.js.map +1 -1
- package/getSecretStore.d.ts +1 -1
- package/getSecretStore.js +1 -1
- package/node.js +16 -16
- package/node.js.map +1 -1
- package/package.json +3 -3
- package/package.json.bak +1 -1
- package/provider.js +10 -10
- package/provider.js.map +1 -1
- package/remoteIdentity.js +22 -22
- package/remoteIdentity.js.map +1 -1
- package/resource.d.ts +30 -9
- package/resource.js +30 -22
- package/resource.js.map +1 -1
- package/role.d.ts +8 -0
- package/role.js +20 -18
- package/role.js.map +1 -1
- package/scripts/install-pulumi-plugin.js +1 -1
- package/secretStore.d.ts +3 -18
- package/secretStore.js +24 -22
- package/secretStore.js.map +1 -1
- package/types/input.d.ts +497 -4
- package/types/output.d.ts +1003 -10
- package/utilities.js +1 -1
- package/utilities.js.map +1 -1
package/account.js
CHANGED
|
@@ -15,22 +15,6 @@ const utilities = require("./utilities");
|
|
|
15
15
|
* ```
|
|
16
16
|
*/
|
|
17
17
|
class Account extends pulumi.CustomResource {
|
|
18
|
-
constructor(name, argsOrState, opts) {
|
|
19
|
-
let resourceInputs = {};
|
|
20
|
-
opts = opts || {};
|
|
21
|
-
if (opts.id) {
|
|
22
|
-
const state = argsOrState;
|
|
23
|
-
resourceInputs["service"] = state ? state.service : undefined;
|
|
24
|
-
resourceInputs["user"] = state ? state.user : undefined;
|
|
25
|
-
}
|
|
26
|
-
else {
|
|
27
|
-
const args = argsOrState;
|
|
28
|
-
resourceInputs["service"] = args ? args.service : undefined;
|
|
29
|
-
resourceInputs["user"] = args ? args.user : undefined;
|
|
30
|
-
}
|
|
31
|
-
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
32
|
-
super(Account.__pulumiType, name, resourceInputs, opts);
|
|
33
|
-
}
|
|
34
18
|
/**
|
|
35
19
|
* Get an existing Account resource's state with the given name, ID, and optional extra
|
|
36
20
|
* properties used to qualify the lookup.
|
|
@@ -53,6 +37,22 @@ class Account extends pulumi.CustomResource {
|
|
|
53
37
|
}
|
|
54
38
|
return obj['__pulumiType'] === Account.__pulumiType;
|
|
55
39
|
}
|
|
40
|
+
constructor(name, argsOrState, opts) {
|
|
41
|
+
let resourceInputs = {};
|
|
42
|
+
opts = opts || {};
|
|
43
|
+
if (opts.id) {
|
|
44
|
+
const state = argsOrState;
|
|
45
|
+
resourceInputs["service"] = state ? state.service : undefined;
|
|
46
|
+
resourceInputs["user"] = state ? state.user : undefined;
|
|
47
|
+
}
|
|
48
|
+
else {
|
|
49
|
+
const args = argsOrState;
|
|
50
|
+
resourceInputs["service"] = args ? args.service : undefined;
|
|
51
|
+
resourceInputs["user"] = args ? args.user : undefined;
|
|
52
|
+
}
|
|
53
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
54
|
+
super(Account.__pulumiType, name, resourceInputs, opts);
|
|
55
|
+
}
|
|
56
56
|
}
|
|
57
57
|
exports.Account = Account;
|
|
58
58
|
/** @internal */
|
package/account.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"account.js","sourceRoot":"","sources":["../account.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;GAQG;AACH,MAAa,OAAQ,SAAQ,MAAM,CAAC,cAAc;
|
|
1
|
+
{"version":3,"file":"account.js","sourceRoot":"","sources":["../account.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;GAQG;AACH,MAAa,OAAQ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;QACnE,KAAK,CAAC,OAAO,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC5D,CAAC;;AA5DL,0BA6DC;AA/CG,gBAAgB;AACO,oBAAY,GAAG,2BAA2B,CAAC"}
|
package/accountAttachment.js
CHANGED
|
@@ -15,28 +15,6 @@ const utilities = require("./utilities");
|
|
|
15
15
|
* ```
|
|
16
16
|
*/
|
|
17
17
|
class AccountAttachment extends pulumi.CustomResource {
|
|
18
|
-
constructor(name, argsOrState, opts) {
|
|
19
|
-
let resourceInputs = {};
|
|
20
|
-
opts = opts || {};
|
|
21
|
-
if (opts.id) {
|
|
22
|
-
const state = argsOrState;
|
|
23
|
-
resourceInputs["accountId"] = state ? state.accountId : undefined;
|
|
24
|
-
resourceInputs["roleId"] = state ? state.roleId : undefined;
|
|
25
|
-
}
|
|
26
|
-
else {
|
|
27
|
-
const args = argsOrState;
|
|
28
|
-
if ((!args || args.accountId === undefined) && !opts.urn) {
|
|
29
|
-
throw new Error("Missing required property 'accountId'");
|
|
30
|
-
}
|
|
31
|
-
if ((!args || args.roleId === undefined) && !opts.urn) {
|
|
32
|
-
throw new Error("Missing required property 'roleId'");
|
|
33
|
-
}
|
|
34
|
-
resourceInputs["accountId"] = args ? args.accountId : undefined;
|
|
35
|
-
resourceInputs["roleId"] = args ? args.roleId : undefined;
|
|
36
|
-
}
|
|
37
|
-
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
38
|
-
super(AccountAttachment.__pulumiType, name, resourceInputs, opts);
|
|
39
|
-
}
|
|
40
18
|
/**
|
|
41
19
|
* Get an existing AccountAttachment resource's state with the given name, ID, and optional extra
|
|
42
20
|
* properties used to qualify the lookup.
|
|
@@ -59,6 +37,28 @@ class AccountAttachment extends pulumi.CustomResource {
|
|
|
59
37
|
}
|
|
60
38
|
return obj['__pulumiType'] === AccountAttachment.__pulumiType;
|
|
61
39
|
}
|
|
40
|
+
constructor(name, argsOrState, opts) {
|
|
41
|
+
let resourceInputs = {};
|
|
42
|
+
opts = opts || {};
|
|
43
|
+
if (opts.id) {
|
|
44
|
+
const state = argsOrState;
|
|
45
|
+
resourceInputs["accountId"] = state ? state.accountId : undefined;
|
|
46
|
+
resourceInputs["roleId"] = state ? state.roleId : undefined;
|
|
47
|
+
}
|
|
48
|
+
else {
|
|
49
|
+
const args = argsOrState;
|
|
50
|
+
if ((!args || args.accountId === undefined) && !opts.urn) {
|
|
51
|
+
throw new Error("Missing required property 'accountId'");
|
|
52
|
+
}
|
|
53
|
+
if ((!args || args.roleId === undefined) && !opts.urn) {
|
|
54
|
+
throw new Error("Missing required property 'roleId'");
|
|
55
|
+
}
|
|
56
|
+
resourceInputs["accountId"] = args ? args.accountId : undefined;
|
|
57
|
+
resourceInputs["roleId"] = args ? args.roleId : undefined;
|
|
58
|
+
}
|
|
59
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
60
|
+
super(AccountAttachment.__pulumiType, name, resourceInputs, opts);
|
|
61
|
+
}
|
|
62
62
|
}
|
|
63
63
|
exports.AccountAttachment = AccountAttachment;
|
|
64
64
|
/** @internal */
|
package/accountAttachment.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"accountAttachment.js","sourceRoot":"","sources":["../accountAttachment.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;GAQG;AACH,MAAa,iBAAkB,SAAQ,MAAM,CAAC,cAAc;
|
|
1
|
+
{"version":3,"file":"accountAttachment.js","sourceRoot":"","sources":["../accountAttachment.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;GAQG;AACH,MAAa,iBAAkB,SAAQ,MAAM,CAAC,cAAc;IACxD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,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AAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;SAC7D;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;;AAjEL,8CAkEC;AApDG,gBAAgB;AACO,8BAAY,GAAG,+CAA+C,CAAC"}
|
package/getAccount.d.ts
CHANGED
|
@@ -29,6 +29,10 @@ export interface GetAccountArgs {
|
|
|
29
29
|
* The User's email address. Must be unique.
|
|
30
30
|
*/
|
|
31
31
|
email?: string;
|
|
32
|
+
/**
|
|
33
|
+
* External ID is an alternative unique ID this user is represented by within an external service.
|
|
34
|
+
*/
|
|
35
|
+
externalId?: string;
|
|
32
36
|
/**
|
|
33
37
|
* The User's first name.
|
|
34
38
|
*/
|
|
@@ -73,6 +77,10 @@ export interface GetAccountResult {
|
|
|
73
77
|
* The User's email address. Must be unique.
|
|
74
78
|
*/
|
|
75
79
|
readonly email?: string;
|
|
80
|
+
/**
|
|
81
|
+
* External ID is an alternative unique ID this user is represented by within an external service.
|
|
82
|
+
*/
|
|
83
|
+
readonly externalId?: string;
|
|
76
84
|
/**
|
|
77
85
|
* The User's first name.
|
|
78
86
|
*/
|
|
@@ -114,6 +122,10 @@ export interface GetAccountOutputArgs {
|
|
|
114
122
|
* The User's email address. Must be unique.
|
|
115
123
|
*/
|
|
116
124
|
email?: pulumi.Input<string>;
|
|
125
|
+
/**
|
|
126
|
+
* External ID is an alternative unique ID this user is represented by within an external service.
|
|
127
|
+
*/
|
|
128
|
+
externalId?: pulumi.Input<string>;
|
|
117
129
|
/**
|
|
118
130
|
* The User's first name.
|
|
119
131
|
*/
|
package/getAccount.js
CHANGED
|
@@ -33,6 +33,7 @@ function getAccount(args, opts) {
|
|
|
33
33
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
34
34
|
return pulumi.runtime.invoke("sdm:index/getAccount:getAccount", {
|
|
35
35
|
"email": args.email,
|
|
36
|
+
"externalId": args.externalId,
|
|
36
37
|
"firstName": args.firstName,
|
|
37
38
|
"id": args.id,
|
|
38
39
|
"lastName": args.lastName,
|
package/getAccount.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getAccount.js","sourceRoot":"","sources":["../getAccount.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;GAmBG;AACH,SAAgB,UAAU,CAAC,IAAqB,EAAE,IAA2B;IACzE,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;IACnE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,iCAAiC,EAAE;QAC5D,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;
|
|
1
|
+
{"version":3,"file":"getAccount.js","sourceRoot":"","sources":["../getAccount.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;GAmBG;AACH,SAAgB,UAAU,CAAC,IAAqB,EAAE,IAA2B;IACzE,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;IACnE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,iCAAiC,EAAE;QAC5D,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAlBD,gCAkBC;AA4FD,SAAgB,gBAAgB,CAAC,IAA2B,EAAE,IAA2B;IACrF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,UAAU,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC9D,CAAC;AAFD,4CAEC"}
|
package/getRole.d.ts
CHANGED
|
@@ -51,6 +51,10 @@ export interface GetRoleResult {
|
|
|
51
51
|
* a list of strings of ids of data sources that match the given arguments.
|
|
52
52
|
*/
|
|
53
53
|
readonly ids: string[];
|
|
54
|
+
/**
|
|
55
|
+
* Managed By is a read only field for what service manages this role, e.g. StrongDM, Okta, Azure.
|
|
56
|
+
*/
|
|
57
|
+
readonly managedBy: string;
|
|
54
58
|
/**
|
|
55
59
|
* Unique human-readable name of the Role.
|
|
56
60
|
*/
|
package/getRole.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getRole.js","sourceRoot":"","sources":["../getRole.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;GAkBG;AACH,SAAgB,OAAO,CAAC,IAAkB,EAAE,IAA2B;IACnE,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;IACnE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,2BAA2B,EAAE;QACtD,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAZD,0BAYC;
|
|
1
|
+
{"version":3,"file":"getRole.js","sourceRoot":"","sources":["../getRole.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;GAkBG;AACH,SAAgB,OAAO,CAAC,IAAkB,EAAE,IAA2B;IACnE,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;IACnE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,2BAA2B,EAAE;QACtD,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAZD,0BAYC;AAkDD,SAAgB,aAAa,CAAC,IAAwB,EAAE,IAA2B;IAC/E,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,OAAO,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC3D,CAAC;AAFD,sCAEC"}
|
package/getSecretStore.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
2
2
|
import { output as outputs } from "./types";
|
|
3
3
|
/**
|
|
4
4
|
* A SecretStore is a server where resource secrets (passwords, keys) are stored.
|
|
5
|
-
* Coming soon support for HashiCorp Vault and AWS Secret Store.
|
|
5
|
+
* Coming soon support for HashiCorp Vault and AWS Secret Store.
|
|
6
6
|
*/
|
|
7
7
|
export declare function getSecretStore(args?: GetSecretStoreArgs, opts?: pulumi.InvokeOptions): Promise<GetSecretStoreResult>;
|
|
8
8
|
/**
|
package/getSecretStore.js
CHANGED
|
@@ -7,7 +7,7 @@ const pulumi = require("@pulumi/pulumi");
|
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
9
|
* A SecretStore is a server where resource secrets (passwords, keys) are stored.
|
|
10
|
-
* Coming soon support for HashiCorp Vault and AWS Secret Store.
|
|
10
|
+
* Coming soon support for HashiCorp Vault and AWS Secret Store.
|
|
11
11
|
*/
|
|
12
12
|
function getSecretStore(args, opts) {
|
|
13
13
|
args = args || {};
|
package/node.js
CHANGED
|
@@ -15,22 +15,6 @@ const utilities = require("./utilities");
|
|
|
15
15
|
* ```
|
|
16
16
|
*/
|
|
17
17
|
class Node extends pulumi.CustomResource {
|
|
18
|
-
constructor(name, argsOrState, opts) {
|
|
19
|
-
let resourceInputs = {};
|
|
20
|
-
opts = opts || {};
|
|
21
|
-
if (opts.id) {
|
|
22
|
-
const state = argsOrState;
|
|
23
|
-
resourceInputs["gateway"] = state ? state.gateway : undefined;
|
|
24
|
-
resourceInputs["relay"] = state ? state.relay : undefined;
|
|
25
|
-
}
|
|
26
|
-
else {
|
|
27
|
-
const args = argsOrState;
|
|
28
|
-
resourceInputs["gateway"] = args ? args.gateway : undefined;
|
|
29
|
-
resourceInputs["relay"] = args ? args.relay : undefined;
|
|
30
|
-
}
|
|
31
|
-
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
32
|
-
super(Node.__pulumiType, name, resourceInputs, opts);
|
|
33
|
-
}
|
|
34
18
|
/**
|
|
35
19
|
* Get an existing Node resource's state with the given name, ID, and optional extra
|
|
36
20
|
* properties used to qualify the lookup.
|
|
@@ -53,6 +37,22 @@ class Node extends pulumi.CustomResource {
|
|
|
53
37
|
}
|
|
54
38
|
return obj['__pulumiType'] === Node.__pulumiType;
|
|
55
39
|
}
|
|
40
|
+
constructor(name, argsOrState, opts) {
|
|
41
|
+
let resourceInputs = {};
|
|
42
|
+
opts = opts || {};
|
|
43
|
+
if (opts.id) {
|
|
44
|
+
const state = argsOrState;
|
|
45
|
+
resourceInputs["gateway"] = state ? state.gateway : undefined;
|
|
46
|
+
resourceInputs["relay"] = state ? state.relay : undefined;
|
|
47
|
+
}
|
|
48
|
+
else {
|
|
49
|
+
const args = argsOrState;
|
|
50
|
+
resourceInputs["gateway"] = args ? args.gateway : undefined;
|
|
51
|
+
resourceInputs["relay"] = args ? args.relay : undefined;
|
|
52
|
+
}
|
|
53
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
54
|
+
super(Node.__pulumiType, name, resourceInputs, opts);
|
|
55
|
+
}
|
|
56
56
|
}
|
|
57
57
|
exports.Node = Node;
|
|
58
58
|
/** @internal */
|
package/node.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":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AAI,GAAG,WAAmC,CAAC;YACjD,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;SAC3D;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,IAAI,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACzD,CAAC;;AA3DL,oBA4DC;AA9CG,gBAAgB;AACO,iBAAY,GAAG,qBAAqB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pierskarsenbarg/sdm",
|
|
3
|
-
"version": "v0.
|
|
3
|
+
"version": "v0.4.1",
|
|
4
4
|
"description": "A Pulumi package for creating and managing StrongDM cloud resources.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pulumi",
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"license": "Apache-2.0",
|
|
13
13
|
"scripts": {
|
|
14
14
|
"build": "tsc",
|
|
15
|
-
"install": "node scripts/install-pulumi-plugin.js resource sdm v0.
|
|
15
|
+
"install": "node scripts/install-pulumi-plugin.js resource sdm v0.4.1"
|
|
16
16
|
},
|
|
17
17
|
"dependencies": {
|
|
18
18
|
"@pulumi/pulumi": "^3.0.0"
|
|
@@ -25,6 +25,6 @@
|
|
|
25
25
|
"pulumi": {
|
|
26
26
|
"resource": true,
|
|
27
27
|
"name": "sdm",
|
|
28
|
-
"server": "
|
|
28
|
+
"server": "github://api.github.com/pierskarsenbarg/pulumi-sdm"
|
|
29
29
|
}
|
|
30
30
|
}
|
package/package.json.bak
CHANGED
package/provider.js
CHANGED
|
@@ -12,6 +12,16 @@ const utilities = require("./utilities");
|
|
|
12
12
|
* [documentation](https://www.pulumi.com/docs/reference/programming-model/#providers) for more information.
|
|
13
13
|
*/
|
|
14
14
|
class Provider extends pulumi.ProviderResource {
|
|
15
|
+
/**
|
|
16
|
+
* Returns true if the given object is an instance of Provider. This is designed to work even
|
|
17
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
18
|
+
*/
|
|
19
|
+
static isInstance(obj) {
|
|
20
|
+
if (obj === undefined || obj === null) {
|
|
21
|
+
return false;
|
|
22
|
+
}
|
|
23
|
+
return obj['__pulumiType'] === Provider.__pulumiType;
|
|
24
|
+
}
|
|
15
25
|
/**
|
|
16
26
|
* Create a Provider resource with the given unique name, arguments, and options.
|
|
17
27
|
*
|
|
@@ -31,16 +41,6 @@ class Provider extends pulumi.ProviderResource {
|
|
|
31
41
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
32
42
|
super(Provider.__pulumiType, name, resourceInputs, opts);
|
|
33
43
|
}
|
|
34
|
-
/**
|
|
35
|
-
* Returns true if the given object is an instance of Provider. This is designed to work even
|
|
36
|
-
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
37
|
-
*/
|
|
38
|
-
static isInstance(obj) {
|
|
39
|
-
if (obj === undefined || obj === null) {
|
|
40
|
-
return false;
|
|
41
|
-
}
|
|
42
|
-
return obj['__pulumiType'] === Provider.__pulumiType;
|
|
43
|
-
}
|
|
44
44
|
}
|
|
45
45
|
exports.Provider = Provider;
|
|
46
46
|
/** @internal */
|
package/provider.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"provider.js","sourceRoot":"","sources":["../provider.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;GAKG;AACH,MAAa,QAAS,SAAQ,MAAM,CAAC,gBAAgB;
|
|
1
|
+
{"version":3,"file":"provider.js","s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AC;;AA9CL,4BA+CC;AA9CG,gBAAgB;AACO,qBAAY,GAAG,KAAK,CAAC"}
|
package/remoteIdentity.js
CHANGED
|
@@ -15,6 +15,28 @@ const utilities = require("./utilities");
|
|
|
15
15
|
* ```
|
|
16
16
|
*/
|
|
17
17
|
class RemoteIdentity extends pulumi.CustomResource {
|
|
18
|
+
/**
|
|
19
|
+
* Get an existing RemoteIdentity resource's state with the given name, ID, and optional extra
|
|
20
|
+
* properties used to qualify the lookup.
|
|
21
|
+
*
|
|
22
|
+
* @param name The _unique_ name of the resulting resource.
|
|
23
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
24
|
+
* @param state Any extra arguments used during the lookup.
|
|
25
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
26
|
+
*/
|
|
27
|
+
static get(name, id, state, opts) {
|
|
28
|
+
return new RemoteIdentity(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Returns true if the given object is an instance of RemoteIdentity. This is designed to work even
|
|
32
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
33
|
+
*/
|
|
34
|
+
static isInstance(obj) {
|
|
35
|
+
if (obj === undefined || obj === null) {
|
|
36
|
+
return false;
|
|
37
|
+
}
|
|
38
|
+
return obj['__pulumiType'] === RemoteIdentity.__pulumiType;
|
|
39
|
+
}
|
|
18
40
|
constructor(name, argsOrState, opts) {
|
|
19
41
|
let resourceInputs = {};
|
|
20
42
|
opts = opts || {};
|
|
@@ -42,28 +64,6 @@ class RemoteIdentity extends pulumi.CustomResource {
|
|
|
42
64
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
43
65
|
super(RemoteIdentity.__pulumiType, name, resourceInputs, opts);
|
|
44
66
|
}
|
|
45
|
-
/**
|
|
46
|
-
* Get an existing RemoteIdentity resource's state with the given name, ID, and optional extra
|
|
47
|
-
* properties used to qualify the lookup.
|
|
48
|
-
*
|
|
49
|
-
* @param name The _unique_ name of the resulting resource.
|
|
50
|
-
* @param id The _unique_ provider ID of the resource to lookup.
|
|
51
|
-
* @param state Any extra arguments used during the lookup.
|
|
52
|
-
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
53
|
-
*/
|
|
54
|
-
static get(name, id, state, opts) {
|
|
55
|
-
return new RemoteIdentity(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
56
|
-
}
|
|
57
|
-
/**
|
|
58
|
-
* Returns true if the given object is an instance of RemoteIdentity. This is designed to work even
|
|
59
|
-
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
60
|
-
*/
|
|
61
|
-
static isInstance(obj) {
|
|
62
|
-
if (obj === undefined || obj === null) {
|
|
63
|
-
return false;
|
|
64
|
-
}
|
|
65
|
-
return obj['__pulumiType'] === RemoteIdentity.__pulumiType;
|
|
66
|
-
}
|
|
67
67
|
}
|
|
68
68
|
exports.RemoteIdentity = RemoteIdentity;
|
|
69
69
|
/** @internal */
|
package/remoteIdentity.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"remoteIdentity.js","sourceRoot":"","sources":["../remoteIdentity.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;GAQG;AACH,MAAa,cAAe,SAAQ,MAAM,CAAC,cAAc;
|
|
1
|
+
{"version":3,"file":"remoteIdentity.js","sourceRoot":"","sources":["../remoteIdentity.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;GAQG;AACH,MAAa,cAAe,SAAQ,MAAM,CAAC,cAAc;IACrD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA2B,EAAE,IAAmC;QACzH,OAAO,IAAI,cAAc,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KA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,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACrD,MAAM,IAAI,KAAK,CAAC,sCAAsC,CAAC,CAAC;aAC3D;YACD,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,uBAAuB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,qBAAqB,CAAC,CAAC,CAAC,SAAS,CAAC;YACxF,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;SACjE;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,cAAc,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACnE,CAAC;;AA1EL,wCA2EC;AA7DG,gBAAgB;AACO,2BAAY,GAAG,yCAAyC,CAAC"}
|
package/resource.d.ts
CHANGED
|
@@ -31,6 +31,8 @@ export declare class Resource extends pulumi.CustomResource {
|
|
|
31
31
|
readonly aksServiceAccountUserImpersonation: pulumi.Output<outputs.ResourceAksServiceAccountUserImpersonation | undefined>;
|
|
32
32
|
readonly aksUserImpersonation: pulumi.Output<outputs.ResourceAksUserImpersonation | undefined>;
|
|
33
33
|
readonly amazonEks: pulumi.Output<outputs.ResourceAmazonEks | undefined>;
|
|
34
|
+
readonly amazonEksInstanceProfile: pulumi.Output<outputs.ResourceAmazonEksInstanceProfile | undefined>;
|
|
35
|
+
readonly amazonEksInstanceProfileUserImpersonation: pulumi.Output<outputs.ResourceAmazonEksInstanceProfileUserImpersonation | undefined>;
|
|
34
36
|
readonly amazonEksUserImpersonation: pulumi.Output<outputs.ResourceAmazonEksUserImpersonation | undefined>;
|
|
35
37
|
readonly amazonEs: pulumi.Output<outputs.ResourceAmazonEs | undefined>;
|
|
36
38
|
readonly amazonmqAmqp091: pulumi.Output<outputs.ResourceAmazonmqAmqp091 | undefined>;
|
|
@@ -49,6 +51,10 @@ export declare class Resource extends pulumi.CustomResource {
|
|
|
49
51
|
readonly awsConsoleStaticKeyPair: pulumi.Output<outputs.ResourceAwsConsoleStaticKeyPair | undefined>;
|
|
50
52
|
readonly azure: pulumi.Output<outputs.ResourceAzure | undefined>;
|
|
51
53
|
readonly azureCertificate: pulumi.Output<outputs.ResourceAzureCertificate | undefined>;
|
|
54
|
+
/**
|
|
55
|
+
* AzureMysql is currently unstable, and its API may change, or it may be removed, without a major version bump.
|
|
56
|
+
*/
|
|
57
|
+
readonly azureMysql: pulumi.Output<outputs.ResourceAzureMysql | undefined>;
|
|
52
58
|
readonly azurePostgres: pulumi.Output<outputs.ResourceAzurePostgres | undefined>;
|
|
53
59
|
readonly bigQuery: pulumi.Output<outputs.ResourceBigQuery | undefined>;
|
|
54
60
|
readonly cassandra: pulumi.Output<outputs.ResourceCassandra | undefined>;
|
|
@@ -100,9 +106,6 @@ export declare class Resource extends pulumi.CustomResource {
|
|
|
100
106
|
readonly mysql: pulumi.Output<outputs.ResourceMysql | undefined>;
|
|
101
107
|
readonly neptune: pulumi.Output<outputs.ResourceNeptune | undefined>;
|
|
102
108
|
readonly neptuneIam: pulumi.Output<outputs.ResourceNeptuneIam | undefined>;
|
|
103
|
-
/**
|
|
104
|
-
* Oracle is currently unstable, and its API may change, or it may be removed, without a major version bump.
|
|
105
|
-
*/
|
|
106
109
|
readonly oracle: pulumi.Output<outputs.ResourceOracle | undefined>;
|
|
107
110
|
readonly postgres: pulumi.Output<outputs.ResourcePostgres | undefined>;
|
|
108
111
|
readonly presto: pulumi.Output<outputs.ResourcePresto | undefined>;
|
|
@@ -113,6 +116,10 @@ export declare class Resource extends pulumi.CustomResource {
|
|
|
113
116
|
readonly redshift: pulumi.Output<outputs.ResourceRedshift | undefined>;
|
|
114
117
|
readonly singleStore: pulumi.Output<outputs.ResourceSingleStore | undefined>;
|
|
115
118
|
readonly snowflake: pulumi.Output<outputs.ResourceSnowflake | undefined>;
|
|
119
|
+
/**
|
|
120
|
+
* Snowsight is currently unstable, and its API may change, or it may be removed, without a major version bump.
|
|
121
|
+
*/
|
|
122
|
+
readonly snowsight: pulumi.Output<outputs.ResourceSnowsight | undefined>;
|
|
116
123
|
readonly sqlServer: pulumi.Output<outputs.ResourceSqlServer | undefined>;
|
|
117
124
|
readonly ssh: pulumi.Output<outputs.ResourceSsh | undefined>;
|
|
118
125
|
readonly sshCert: pulumi.Output<outputs.ResourceSshCert | undefined>;
|
|
@@ -139,6 +146,8 @@ export interface ResourceState {
|
|
|
139
146
|
aksServiceAccountUserImpersonation?: pulumi.Input<inputs.ResourceAksServiceAccountUserImpersonation>;
|
|
140
147
|
aksUserImpersonation?: pulumi.Input<inputs.ResourceAksUserImpersonation>;
|
|
141
148
|
amazonEks?: pulumi.Input<inputs.ResourceAmazonEks>;
|
|
149
|
+
amazonEksInstanceProfile?: pulumi.Input<inputs.ResourceAmazonEksInstanceProfile>;
|
|
150
|
+
amazonEksInstanceProfileUserImpersonation?: pulumi.Input<inputs.ResourceAmazonEksInstanceProfileUserImpersonation>;
|
|
142
151
|
amazonEksUserImpersonation?: pulumi.Input<inputs.ResourceAmazonEksUserImpersonation>;
|
|
143
152
|
amazonEs?: pulumi.Input<inputs.ResourceAmazonEs>;
|
|
144
153
|
amazonmqAmqp091?: pulumi.Input<inputs.ResourceAmazonmqAmqp091>;
|
|
@@ -157,6 +166,10 @@ export interface ResourceState {
|
|
|
157
166
|
awsConsoleStaticKeyPair?: pulumi.Input<inputs.ResourceAwsConsoleStaticKeyPair>;
|
|
158
167
|
azure?: pulumi.Input<inputs.ResourceAzure>;
|
|
159
168
|
azureCertificate?: pulumi.Input<inputs.ResourceAzureCertificate>;
|
|
169
|
+
/**
|
|
170
|
+
* AzureMysql is currently unstable, and its API may change, or it may be removed, without a major version bump.
|
|
171
|
+
*/
|
|
172
|
+
azureMysql?: pulumi.Input<inputs.ResourceAzureMysql>;
|
|
160
173
|
azurePostgres?: pulumi.Input<inputs.ResourceAzurePostgres>;
|
|
161
174
|
bigQuery?: pulumi.Input<inputs.ResourceBigQuery>;
|
|
162
175
|
cassandra?: pulumi.Input<inputs.ResourceCassandra>;
|
|
@@ -208,9 +221,6 @@ export interface ResourceState {
|
|
|
208
221
|
mysql?: pulumi.Input<inputs.ResourceMysql>;
|
|
209
222
|
neptune?: pulumi.Input<inputs.ResourceNeptune>;
|
|
210
223
|
neptuneIam?: pulumi.Input<inputs.ResourceNeptuneIam>;
|
|
211
|
-
/**
|
|
212
|
-
* Oracle is currently unstable, and its API may change, or it may be removed, without a major version bump.
|
|
213
|
-
*/
|
|
214
224
|
oracle?: pulumi.Input<inputs.ResourceOracle>;
|
|
215
225
|
postgres?: pulumi.Input<inputs.ResourcePostgres>;
|
|
216
226
|
presto?: pulumi.Input<inputs.ResourcePresto>;
|
|
@@ -221,6 +231,10 @@ export interface ResourceState {
|
|
|
221
231
|
redshift?: pulumi.Input<inputs.ResourceRedshift>;
|
|
222
232
|
singleStore?: pulumi.Input<inputs.ResourceSingleStore>;
|
|
223
233
|
snowflake?: pulumi.Input<inputs.ResourceSnowflake>;
|
|
234
|
+
/**
|
|
235
|
+
* Snowsight is currently unstable, and its API may change, or it may be removed, without a major version bump.
|
|
236
|
+
*/
|
|
237
|
+
snowsight?: pulumi.Input<inputs.ResourceSnowsight>;
|
|
224
238
|
sqlServer?: pulumi.Input<inputs.ResourceSqlServer>;
|
|
225
239
|
ssh?: pulumi.Input<inputs.ResourceSsh>;
|
|
226
240
|
sshCert?: pulumi.Input<inputs.ResourceSshCert>;
|
|
@@ -239,6 +253,8 @@ export interface ResourceArgs {
|
|
|
239
253
|
aksServiceAccountUserImpersonation?: pulumi.Input<inputs.ResourceAksServiceAccountUserImpersonation>;
|
|
240
254
|
aksUserImpersonation?: pulumi.Input<inputs.ResourceAksUserImpersonation>;
|
|
241
255
|
amazonEks?: pulumi.Input<inputs.ResourceAmazonEks>;
|
|
256
|
+
amazonEksInstanceProfile?: pulumi.Input<inputs.ResourceAmazonEksInstanceProfile>;
|
|
257
|
+
amazonEksInstanceProfileUserImpersonation?: pulumi.Input<inputs.ResourceAmazonEksInstanceProfileUserImpersonation>;
|
|
242
258
|
amazonEksUserImpersonation?: pulumi.Input<inputs.ResourceAmazonEksUserImpersonation>;
|
|
243
259
|
amazonEs?: pulumi.Input<inputs.ResourceAmazonEs>;
|
|
244
260
|
amazonmqAmqp091?: pulumi.Input<inputs.ResourceAmazonmqAmqp091>;
|
|
@@ -257,6 +273,10 @@ export interface ResourceArgs {
|
|
|
257
273
|
awsConsoleStaticKeyPair?: pulumi.Input<inputs.ResourceAwsConsoleStaticKeyPair>;
|
|
258
274
|
azure?: pulumi.Input<inputs.ResourceAzure>;
|
|
259
275
|
azureCertificate?: pulumi.Input<inputs.ResourceAzureCertificate>;
|
|
276
|
+
/**
|
|
277
|
+
* AzureMysql is currently unstable, and its API may change, or it may be removed, without a major version bump.
|
|
278
|
+
*/
|
|
279
|
+
azureMysql?: pulumi.Input<inputs.ResourceAzureMysql>;
|
|
260
280
|
azurePostgres?: pulumi.Input<inputs.ResourceAzurePostgres>;
|
|
261
281
|
bigQuery?: pulumi.Input<inputs.ResourceBigQuery>;
|
|
262
282
|
cassandra?: pulumi.Input<inputs.ResourceCassandra>;
|
|
@@ -308,9 +328,6 @@ export interface ResourceArgs {
|
|
|
308
328
|
mysql?: pulumi.Input<inputs.ResourceMysql>;
|
|
309
329
|
neptune?: pulumi.Input<inputs.ResourceNeptune>;
|
|
310
330
|
neptuneIam?: pulumi.Input<inputs.ResourceNeptuneIam>;
|
|
311
|
-
/**
|
|
312
|
-
* Oracle is currently unstable, and its API may change, or it may be removed, without a major version bump.
|
|
313
|
-
*/
|
|
314
331
|
oracle?: pulumi.Input<inputs.ResourceOracle>;
|
|
315
332
|
postgres?: pulumi.Input<inputs.ResourcePostgres>;
|
|
316
333
|
presto?: pulumi.Input<inputs.ResourcePresto>;
|
|
@@ -321,6 +338,10 @@ export interface ResourceArgs {
|
|
|
321
338
|
redshift?: pulumi.Input<inputs.ResourceRedshift>;
|
|
322
339
|
singleStore?: pulumi.Input<inputs.ResourceSingleStore>;
|
|
323
340
|
snowflake?: pulumi.Input<inputs.ResourceSnowflake>;
|
|
341
|
+
/**
|
|
342
|
+
* Snowsight is currently unstable, and its API may change, or it may be removed, without a major version bump.
|
|
343
|
+
*/
|
|
344
|
+
snowsight?: pulumi.Input<inputs.ResourceSnowsight>;
|
|
324
345
|
sqlServer?: pulumi.Input<inputs.ResourceSqlServer>;
|
|
325
346
|
ssh?: pulumi.Input<inputs.ResourceSsh>;
|
|
326
347
|
sshCert?: pulumi.Input<inputs.ResourceSshCert>;
|
package/resource.js
CHANGED
|
@@ -15,6 +15,28 @@ const utilities = require("./utilities");
|
|
|
15
15
|
* ```
|
|
16
16
|
*/
|
|
17
17
|
class Resource extends pulumi.CustomResource {
|
|
18
|
+
/**
|
|
19
|
+
* Get an existing Resource resource's state with the given name, ID, and optional extra
|
|
20
|
+
* properties used to qualify the lookup.
|
|
21
|
+
*
|
|
22
|
+
* @param name The _unique_ name of the resulting resource.
|
|
23
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
24
|
+
* @param state Any extra arguments used during the lookup.
|
|
25
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
26
|
+
*/
|
|
27
|
+
static get(name, id, state, opts) {
|
|
28
|
+
return new Resource(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Returns true if the given object is an instance of Resource. This is designed to work even
|
|
32
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
33
|
+
*/
|
|
34
|
+
static isInstance(obj) {
|
|
35
|
+
if (obj === undefined || obj === null) {
|
|
36
|
+
return false;
|
|
37
|
+
}
|
|
38
|
+
return obj['__pulumiType'] === Resource.__pulumiType;
|
|
39
|
+
}
|
|
18
40
|
constructor(name, argsOrState, opts) {
|
|
19
41
|
let resourceInputs = {};
|
|
20
42
|
opts = opts || {};
|
|
@@ -26,6 +48,8 @@ class Resource extends pulumi.CustomResource {
|
|
|
26
48
|
resourceInputs["aksServiceAccountUserImpersonation"] = state ? state.aksServiceAccountUserImpersonation : undefined;
|
|
27
49
|
resourceInputs["aksUserImpersonation"] = state ? state.aksUserImpersonation : undefined;
|
|
28
50
|
resourceInputs["amazonEks"] = state ? state.amazonEks : undefined;
|
|
51
|
+
resourceInputs["amazonEksInstanceProfile"] = state ? state.amazonEksInstanceProfile : undefined;
|
|
52
|
+
resourceInputs["amazonEksInstanceProfileUserImpersonation"] = state ? state.amazonEksInstanceProfileUserImpersonation : undefined;
|
|
29
53
|
resourceInputs["amazonEksUserImpersonation"] = state ? state.amazonEksUserImpersonation : undefined;
|
|
30
54
|
resourceInputs["amazonEs"] = state ? state.amazonEs : undefined;
|
|
31
55
|
resourceInputs["amazonmqAmqp091"] = state ? state.amazonmqAmqp091 : undefined;
|
|
@@ -37,6 +61,7 @@ class Resource extends pulumi.CustomResource {
|
|
|
37
61
|
resourceInputs["awsConsoleStaticKeyPair"] = state ? state.awsConsoleStaticKeyPair : undefined;
|
|
38
62
|
resourceInputs["azure"] = state ? state.azure : undefined;
|
|
39
63
|
resourceInputs["azureCertificate"] = state ? state.azureCertificate : undefined;
|
|
64
|
+
resourceInputs["azureMysql"] = state ? state.azureMysql : undefined;
|
|
40
65
|
resourceInputs["azurePostgres"] = state ? state.azurePostgres : undefined;
|
|
41
66
|
resourceInputs["bigQuery"] = state ? state.bigQuery : undefined;
|
|
42
67
|
resourceInputs["cassandra"] = state ? state.cassandra : undefined;
|
|
@@ -86,6 +111,7 @@ class Resource extends pulumi.CustomResource {
|
|
|
86
111
|
resourceInputs["redshift"] = state ? state.redshift : undefined;
|
|
87
112
|
resourceInputs["singleStore"] = state ? state.singleStore : undefined;
|
|
88
113
|
resourceInputs["snowflake"] = state ? state.snowflake : undefined;
|
|
114
|
+
resourceInputs["snowsight"] = state ? state.snowsight : undefined;
|
|
89
115
|
resourceInputs["sqlServer"] = state ? state.sqlServer : undefined;
|
|
90
116
|
resourceInputs["ssh"] = state ? state.ssh : undefined;
|
|
91
117
|
resourceInputs["sshCert"] = state ? state.sshCert : undefined;
|
|
@@ -102,6 +128,8 @@ class Resource extends pulumi.CustomResource {
|
|
|
102
128
|
resourceInputs["aksServiceAccountUserImpersonation"] = args ? args.aksServiceAccountUserImpersonation : undefined;
|
|
103
129
|
resourceInputs["aksUserImpersonation"] = args ? args.aksUserImpersonation : undefined;
|
|
104
130
|
resourceInputs["amazonEks"] = args ? args.amazonEks : undefined;
|
|
131
|
+
resourceInputs["amazonEksInstanceProfile"] = args ? args.amazonEksInstanceProfile : undefined;
|
|
132
|
+
resourceInputs["amazonEksInstanceProfileUserImpersonation"] = args ? args.amazonEksInstanceProfileUserImpersonation : undefined;
|
|
105
133
|
resourceInputs["amazonEksUserImpersonation"] = args ? args.amazonEksUserImpersonation : undefined;
|
|
106
134
|
resourceInputs["amazonEs"] = args ? args.amazonEs : undefined;
|
|
107
135
|
resourceInputs["amazonmqAmqp091"] = args ? args.amazonmqAmqp091 : undefined;
|
|
@@ -113,6 +141,7 @@ class Resource extends pulumi.CustomResource {
|
|
|
113
141
|
resourceInputs["awsConsoleStaticKeyPair"] = args ? args.awsConsoleStaticKeyPair : undefined;
|
|
114
142
|
resourceInputs["azure"] = args ? args.azure : undefined;
|
|
115
143
|
resourceInputs["azureCertificate"] = args ? args.azureCertificate : undefined;
|
|
144
|
+
resourceInputs["azureMysql"] = args ? args.azureMysql : undefined;
|
|
116
145
|
resourceInputs["azurePostgres"] = args ? args.azurePostgres : undefined;
|
|
117
146
|
resourceInputs["bigQuery"] = args ? args.bigQuery : undefined;
|
|
118
147
|
resourceInputs["cassandra"] = args ? args.cassandra : undefined;
|
|
@@ -162,6 +191,7 @@ class Resource extends pulumi.CustomResource {
|
|
|
162
191
|
resourceInputs["redshift"] = args ? args.redshift : undefined;
|
|
163
192
|
resourceInputs["singleStore"] = args ? args.singleStore : undefined;
|
|
164
193
|
resourceInputs["snowflake"] = args ? args.snowflake : undefined;
|
|
194
|
+
resourceInputs["snowsight"] = args ? args.snowsight : undefined;
|
|
165
195
|
resourceInputs["sqlServer"] = args ? args.sqlServer : undefined;
|
|
166
196
|
resourceInputs["ssh"] = args ? args.ssh : undefined;
|
|
167
197
|
resourceInputs["sshCert"] = args ? args.sshCert : undefined;
|
|
@@ -173,28 +203,6 @@ class Resource extends pulumi.CustomResource {
|
|
|
173
203
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
174
204
|
super(Resource.__pulumiType, name, resourceInputs, opts);
|
|
175
205
|
}
|
|
176
|
-
/**
|
|
177
|
-
* Get an existing Resource resource's state with the given name, ID, and optional extra
|
|
178
|
-
* properties used to qualify the lookup.
|
|
179
|
-
*
|
|
180
|
-
* @param name The _unique_ name of the resulting resource.
|
|
181
|
-
* @param id The _unique_ provider ID of the resource to lookup.
|
|
182
|
-
* @param state Any extra arguments used during the lookup.
|
|
183
|
-
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
184
|
-
*/
|
|
185
|
-
static get(name, id, state, opts) {
|
|
186
|
-
return new Resource(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
187
|
-
}
|
|
188
|
-
/**
|
|
189
|
-
* Returns true if the given object is an instance of Resource. This is designed to work even
|
|
190
|
-
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
191
|
-
*/
|
|
192
|
-
static isInstance(obj) {
|
|
193
|
-
if (obj === undefined || obj === null) {
|
|
194
|
-
return false;
|
|
195
|
-
}
|
|
196
|
-
return obj['__pulumiType'] === Resource.__pulumiType;
|
|
197
|
-
}
|
|
198
206
|
}
|
|
199
207
|
exports.Resource = Resource;
|
|
200
208
|
/** @internal */
|