@pierskarsenbarg/sdm 0.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +202 -0
- package/README.md +56 -0
- package/account.d.ts +73 -0
- package/account.js +60 -0
- package/account.js.map +1 -0
- package/accountAttachment.d.ts +69 -0
- package/accountAttachment.js +66 -0
- package/accountAttachment.js.map +1 -0
- package/accountGrant.d.ts +69 -0
- package/accountGrant.js +66 -0
- package/accountGrant.js.map +1 -0
- package/config/index.d.ts +1 -0
- package/config/index.js +21 -0
- package/config/index.js.map +1 -0
- package/config/vars.d.ts +16 -0
- package/config/vars.js +31 -0
- package/config/vars.js.map +1 -0
- package/getAccount.d.ts +147 -0
- package/getAccount.js +50 -0
- package/getAccount.js.map +1 -0
- package/getAccountAttachment.d.ts +76 -0
- package/getAccountAttachment.js +38 -0
- package/getAccountAttachment.js.map +1 -0
- package/getAccountGrant.d.ts +77 -0
- package/getAccountGrant.js +39 -0
- package/getAccountGrant.js.map +1 -0
- package/getNode.d.ts +123 -0
- package/getNode.js +48 -0
- package/getNode.js.map +1 -0
- package/getRemoteIdentity.d.ts +90 -0
- package/getRemoteIdentity.js +41 -0
- package/getRemoteIdentity.js.map +1 -0
- package/getRemoteIdentityGroup.d.ts +64 -0
- package/getRemoteIdentityGroup.js +37 -0
- package/getRemoteIdentityGroup.js.map +1 -0
- package/getResource.d.ts +107 -0
- package/getResource.js +48 -0
- package/getResource.js.map +1 -0
- package/getRole.d.ts +106 -0
- package/getRole.js +45 -0
- package/getRole.js.map +1 -0
- package/getRoleAttachment.d.ts +79 -0
- package/getRoleAttachment.js +41 -0
- package/getRoleAttachment.js.map +1 -0
- package/getRoleGrant.d.ts +79 -0
- package/getRoleGrant.js +41 -0
- package/getRoleGrant.js.map +1 -0
- package/getSecretStore.d.ts +83 -0
- package/getSecretStore.js +30 -0
- package/getSecretStore.js.map +1 -0
- package/getSshCaPubkey.d.ts +53 -0
- package/getSshCaPubkey.js +35 -0
- package/getSshCaPubkey.js.map +1 -0
- package/index.d.ts +26 -0
- package/index.js +111 -0
- package/index.js.map +1 -0
- package/install-pulumi-plugin.js +26 -0
- package/node.d.ts +70 -0
- package/node.js +60 -0
- package/node.js.map +1 -0
- package/package.json +29 -0
- package/package.json.bak +29 -0
- package/provider.d.ts +55 -0
- package/provider.js +48 -0
- package/provider.js.map +1 -0
- package/remoteIdentity.d.ts +81 -0
- package/remoteIdentity.js +71 -0
- package/remoteIdentity.js.map +1 -0
- package/resource.d.ts +259 -0
- package/resource.js +198 -0
- package/resource.js.map +1 -0
- package/role.d.ts +105 -0
- package/role.js +64 -0
- package/role.js.map +1 -0
- package/roleAttachment.d.ts +69 -0
- package/roleAttachment.js +66 -0
- package/roleAttachment.js.map +1 -0
- package/roleGrant.d.ts +69 -0
- package/roleGrant.js +66 -0
- package/roleGrant.js.map +1 -0
- package/secretStore.d.ts +64 -0
- package/secretStore.js +68 -0
- package/secretStore.js.map +1 -0
- package/types/index.d.ts +3 -0
- package/types/index.js +11 -0
- package/types/index.js.map +1 -0
- package/types/input.d.ts +2690 -0
- package/types/input.js +5 -0
- package/types/input.js.map +1 -0
- package/types/output.d.ts +5596 -0
- package/types/output.js +5 -0
- package/types/output.js.map +1 -0
- package/utilities.d.ts +4 -0
- package/utilities.js +57 -0
- package/utilities.js.map +1 -0
package/node.d.ts
ADDED
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import { input as inputs, output as outputs } from "./types";
|
|
3
|
+
/**
|
|
4
|
+
* ## Import
|
|
5
|
+
*
|
|
6
|
+
* Node can be imported using the id, e.g.,
|
|
7
|
+
*
|
|
8
|
+
* ```sh
|
|
9
|
+
* $ pulumi import sdm:index/node:Node example n-12345678
|
|
10
|
+
* ```
|
|
11
|
+
*/
|
|
12
|
+
export declare class Node extends pulumi.CustomResource {
|
|
13
|
+
/**
|
|
14
|
+
* Get an existing Node resource's state with the given name, ID, and optional extra
|
|
15
|
+
* properties used to qualify the lookup.
|
|
16
|
+
*
|
|
17
|
+
* @param name The _unique_ name of the resulting resource.
|
|
18
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
19
|
+
* @param state Any extra arguments used during the lookup.
|
|
20
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
21
|
+
*/
|
|
22
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: NodeState, opts?: pulumi.CustomResourceOptions): Node;
|
|
23
|
+
/**
|
|
24
|
+
* Returns true if the given object is an instance of Node. This is designed to work even
|
|
25
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
26
|
+
*/
|
|
27
|
+
static isInstance(obj: any): obj is Node;
|
|
28
|
+
/**
|
|
29
|
+
* Gateway represents a StrongDM CLI installation running in gateway mode.
|
|
30
|
+
*/
|
|
31
|
+
readonly gateway: pulumi.Output<outputs.NodeGateway | undefined>;
|
|
32
|
+
/**
|
|
33
|
+
* Relay represents a StrongDM CLI installation running in relay mode.
|
|
34
|
+
*/
|
|
35
|
+
readonly relay: pulumi.Output<outputs.NodeRelay | undefined>;
|
|
36
|
+
/**
|
|
37
|
+
* Create a Node resource with the given unique name, arguments, and options.
|
|
38
|
+
*
|
|
39
|
+
* @param name The _unique_ name of the resource.
|
|
40
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
41
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
42
|
+
*/
|
|
43
|
+
constructor(name: string, args?: NodeArgs, opts?: pulumi.CustomResourceOptions);
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* Input properties used for looking up and filtering Node resources.
|
|
47
|
+
*/
|
|
48
|
+
export interface NodeState {
|
|
49
|
+
/**
|
|
50
|
+
* Gateway represents a StrongDM CLI installation running in gateway mode.
|
|
51
|
+
*/
|
|
52
|
+
gateway?: pulumi.Input<inputs.NodeGateway>;
|
|
53
|
+
/**
|
|
54
|
+
* Relay represents a StrongDM CLI installation running in relay mode.
|
|
55
|
+
*/
|
|
56
|
+
relay?: pulumi.Input<inputs.NodeRelay>;
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* The set of arguments for constructing a Node resource.
|
|
60
|
+
*/
|
|
61
|
+
export interface NodeArgs {
|
|
62
|
+
/**
|
|
63
|
+
* Gateway represents a StrongDM CLI installation running in gateway mode.
|
|
64
|
+
*/
|
|
65
|
+
gateway?: pulumi.Input<inputs.NodeGateway>;
|
|
66
|
+
/**
|
|
67
|
+
* Relay represents a StrongDM CLI installation running in relay mode.
|
|
68
|
+
*/
|
|
69
|
+
relay?: pulumi.Input<inputs.NodeRelay>;
|
|
70
|
+
}
|
package/node.js
ADDED
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.Node = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* ## Import
|
|
10
|
+
*
|
|
11
|
+
* Node can be imported using the id, e.g.,
|
|
12
|
+
*
|
|
13
|
+
* ```sh
|
|
14
|
+
* $ pulumi import sdm:index/node:Node example n-12345678
|
|
15
|
+
* ```
|
|
16
|
+
*/
|
|
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
|
+
/**
|
|
35
|
+
* Get an existing Node resource's state with the given name, ID, and optional extra
|
|
36
|
+
* properties used to qualify the lookup.
|
|
37
|
+
*
|
|
38
|
+
* @param name The _unique_ name of the resulting resource.
|
|
39
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
40
|
+
* @param state Any extra arguments used during the lookup.
|
|
41
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
42
|
+
*/
|
|
43
|
+
static get(name, id, state, opts) {
|
|
44
|
+
return new Node(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* Returns true if the given object is an instance of Node. This is designed to work even
|
|
48
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
49
|
+
*/
|
|
50
|
+
static isInstance(obj) {
|
|
51
|
+
if (obj === undefined || obj === null) {
|
|
52
|
+
return false;
|
|
53
|
+
}
|
|
54
|
+
return obj['__pulumiType'] === Node.__pulumiType;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
exports.Node = Node;
|
|
58
|
+
/** @internal */
|
|
59
|
+
Node.__pulumiType = 'sdm:index/node:Node';
|
|
60
|
+
//# sourceMappingURL=node.js.map
|
package/node.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"node.js","sourceRoot":"","sources":["../node.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;GAQG;AACH,MAAa,IAAK,SAAQ,MAAM,CAAC,cAAc;IA6C3C,YAAY,IAAY,EAAE,WAAkC,EAAE,IAAmC;QAC7F,IA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CAAC;IACrD,CAAC;;AA1BL,oBA4DC;AA9CG,gBAAgB;AACO,iBAAY,GAAG,qBAAqB,CAAC"}
|
package/package.json
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@pierskarsenbarg/sdm",
|
|
3
|
+
"version": "v0.0.6",
|
|
4
|
+
"description": "A Pulumi package for creating and managing sdm cloud resources.",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"pulumi",
|
|
7
|
+
"sdm",
|
|
8
|
+
"category/cloud"
|
|
9
|
+
],
|
|
10
|
+
"homepage": "https://www.pulumi.com",
|
|
11
|
+
"repository": "https://github.com/pierskarsenbarg/pulumi-sdm",
|
|
12
|
+
"license": "Apache-2.0",
|
|
13
|
+
"scripts": {
|
|
14
|
+
"build": "tsc",
|
|
15
|
+
"install": "node scripts/install-pulumi-plugin.js resource sdm v0.0.6"
|
|
16
|
+
},
|
|
17
|
+
"dependencies": {
|
|
18
|
+
"@pulumi/pulumi": "^3.0.0"
|
|
19
|
+
},
|
|
20
|
+
"devDependencies": {
|
|
21
|
+
"@types/mime": "^2.0.0",
|
|
22
|
+
"@types/node": "^10.0.0",
|
|
23
|
+
"typescript": "^4.3.5"
|
|
24
|
+
},
|
|
25
|
+
"pulumi": {
|
|
26
|
+
"resource": true,
|
|
27
|
+
"pluginDownloadURL": "https://github.com/pierskarsenbarg/pulumi-sdm/releases/download/v0.0.6"
|
|
28
|
+
}
|
|
29
|
+
}
|
package/package.json.bak
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@pierskarsenbarg/sdm",
|
|
3
|
+
"version": "${VERSION}",
|
|
4
|
+
"description": "A Pulumi package for creating and managing sdm cloud resources.",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"pulumi",
|
|
7
|
+
"sdm",
|
|
8
|
+
"category/cloud"
|
|
9
|
+
],
|
|
10
|
+
"homepage": "https://www.pulumi.com",
|
|
11
|
+
"repository": "https://github.com/pierskarsenbarg/pulumi-sdm",
|
|
12
|
+
"license": "Apache-2.0",
|
|
13
|
+
"scripts": {
|
|
14
|
+
"build": "tsc",
|
|
15
|
+
"install": "node scripts/install-pulumi-plugin.js resource sdm ${VERSION}"
|
|
16
|
+
},
|
|
17
|
+
"dependencies": {
|
|
18
|
+
"@pulumi/pulumi": "^3.0.0"
|
|
19
|
+
},
|
|
20
|
+
"devDependencies": {
|
|
21
|
+
"@types/mime": "^2.0.0",
|
|
22
|
+
"@types/node": "^10.0.0",
|
|
23
|
+
"typescript": "^4.3.5"
|
|
24
|
+
},
|
|
25
|
+
"pulumi": {
|
|
26
|
+
"resource": true,
|
|
27
|
+
"pluginDownloadURL": "https://github.com/pierskarsenbarg/pulumi-sdm/releases/download/${VERSION}"
|
|
28
|
+
}
|
|
29
|
+
}
|
package/provider.d.ts
ADDED
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* The provider type for the sdm package. By default, resources use package-wide configuration
|
|
4
|
+
* settings, however an explicit `Provider` instance may be created and passed during resource
|
|
5
|
+
* construction to achieve fine-grained programmatic control over provider settings. See the
|
|
6
|
+
* [documentation](https://www.pulumi.com/docs/reference/programming-model/#providers) for more information.
|
|
7
|
+
*/
|
|
8
|
+
export declare class Provider extends pulumi.ProviderResource {
|
|
9
|
+
/**
|
|
10
|
+
* Returns true if the given object is an instance of Provider. This is designed to work even
|
|
11
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
12
|
+
*/
|
|
13
|
+
static isInstance(obj: any): obj is Provider;
|
|
14
|
+
/**
|
|
15
|
+
* A GUID identifying the API key used to authenticate with the StrongDM API.
|
|
16
|
+
*/
|
|
17
|
+
readonly apiAccessKey: pulumi.Output<string | undefined>;
|
|
18
|
+
/**
|
|
19
|
+
* A base64 encoded secret key used to authenticate with the StrongDM API.
|
|
20
|
+
*/
|
|
21
|
+
readonly apiSecretKey: pulumi.Output<string | undefined>;
|
|
22
|
+
/**
|
|
23
|
+
* The host and port of the StrongDM API endpoint.
|
|
24
|
+
*/
|
|
25
|
+
readonly host: pulumi.Output<string | undefined>;
|
|
26
|
+
/**
|
|
27
|
+
* Create a Provider resource with the given unique name, arguments, and options.
|
|
28
|
+
*
|
|
29
|
+
* @param name The _unique_ name of the resource.
|
|
30
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
31
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
32
|
+
*/
|
|
33
|
+
constructor(name: string, args?: ProviderArgs, opts?: pulumi.ResourceOptions);
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* The set of arguments for constructing a Provider resource.
|
|
37
|
+
*/
|
|
38
|
+
export interface ProviderArgs {
|
|
39
|
+
/**
|
|
40
|
+
* A GUID identifying the API key used to authenticate with the StrongDM API.
|
|
41
|
+
*/
|
|
42
|
+
apiAccessKey?: pulumi.Input<string>;
|
|
43
|
+
/**
|
|
44
|
+
* A base64 encoded secret key used to authenticate with the StrongDM API.
|
|
45
|
+
*/
|
|
46
|
+
apiSecretKey?: pulumi.Input<string>;
|
|
47
|
+
/**
|
|
48
|
+
* The host and port of the StrongDM API endpoint.
|
|
49
|
+
*/
|
|
50
|
+
host?: pulumi.Input<string>;
|
|
51
|
+
/**
|
|
52
|
+
* Whether experienced rate limits should cause the client to sleep instead of erroring out
|
|
53
|
+
*/
|
|
54
|
+
retryRateLimitErrors?: pulumi.Input<boolean>;
|
|
55
|
+
}
|
package/provider.js
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.Provider = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* The provider type for the sdm package. By default, resources use package-wide configuration
|
|
10
|
+
* settings, however an explicit `Provider` instance may be created and passed during resource
|
|
11
|
+
* construction to achieve fine-grained programmatic control over provider settings. See the
|
|
12
|
+
* [documentation](https://www.pulumi.com/docs/reference/programming-model/#providers) for more information.
|
|
13
|
+
*/
|
|
14
|
+
class Provider extends pulumi.ProviderResource {
|
|
15
|
+
/**
|
|
16
|
+
* Create a Provider resource with the given unique name, arguments, and options.
|
|
17
|
+
*
|
|
18
|
+
* @param name The _unique_ name of the resource.
|
|
19
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
20
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
21
|
+
*/
|
|
22
|
+
constructor(name, args, opts) {
|
|
23
|
+
let resourceInputs = {};
|
|
24
|
+
opts = opts || {};
|
|
25
|
+
{
|
|
26
|
+
resourceInputs["apiAccessKey"] = args ? args.apiAccessKey : undefined;
|
|
27
|
+
resourceInputs["apiSecretKey"] = args ? args.apiSecretKey : undefined;
|
|
28
|
+
resourceInputs["host"] = args ? args.host : undefined;
|
|
29
|
+
resourceInputs["retryRateLimitErrors"] = pulumi.output(args ? args.retryRateLimitErrors : undefined).apply(JSON.stringify);
|
|
30
|
+
}
|
|
31
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
32
|
+
super(Provider.__pulumiType, name, resourceInputs, opts);
|
|
33
|
+
}
|
|
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
|
+
}
|
|
45
|
+
exports.Provider = Provider;
|
|
46
|
+
/** @internal */
|
|
47
|
+
Provider.__pulumiType = 'sdm';
|
|
48
|
+
//# sourceMappingURL=provider.js.map
|
package/provider.js.map
ADDED
|
@@ -0,0 +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;IA4BjD;;;;;;OAMG;IACH,YAAY,IAAY,EAAE,IAAmB,EAAE,IAA6B;QACxE,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB;YACI,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,sBAAsB,CAAC,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,oBAAoB,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;SAC9H;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,QAAQ,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC7D,CAAC;IA1CD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,QAAQ,CAAC,YAAY,CAAC;IACzD,CAAC;;AAbL,4BA+CC;AA9CG,gBAAgB;AACO,qBAAY,GAAG,KAAK,CAAC"}
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* ## Import
|
|
4
|
+
*
|
|
5
|
+
* RemoteIdentity can be imported using the id, e.g.,
|
|
6
|
+
*
|
|
7
|
+
* ```sh
|
|
8
|
+
* $ pulumi import sdm:index/remoteIdentity:RemoteIdentity example i-12345678
|
|
9
|
+
* ```
|
|
10
|
+
*/
|
|
11
|
+
export declare class RemoteIdentity extends pulumi.CustomResource {
|
|
12
|
+
/**
|
|
13
|
+
* Get an existing RemoteIdentity resource's state with the given name, ID, and optional extra
|
|
14
|
+
* properties used to qualify the lookup.
|
|
15
|
+
*
|
|
16
|
+
* @param name The _unique_ name of the resulting resource.
|
|
17
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
18
|
+
* @param state Any extra arguments used during the lookup.
|
|
19
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
20
|
+
*/
|
|
21
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: RemoteIdentityState, opts?: pulumi.CustomResourceOptions): RemoteIdentity;
|
|
22
|
+
/**
|
|
23
|
+
* Returns true if the given object is an instance of RemoteIdentity. This is designed to work even
|
|
24
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
25
|
+
*/
|
|
26
|
+
static isInstance(obj: any): obj is RemoteIdentity;
|
|
27
|
+
/**
|
|
28
|
+
* The account for this remote identity.
|
|
29
|
+
*/
|
|
30
|
+
readonly accountId: pulumi.Output<string>;
|
|
31
|
+
/**
|
|
32
|
+
* The remote identity group.
|
|
33
|
+
*/
|
|
34
|
+
readonly remoteIdentityGroupId: pulumi.Output<string>;
|
|
35
|
+
/**
|
|
36
|
+
* The username to be used as the remote identity for this account.
|
|
37
|
+
*/
|
|
38
|
+
readonly username: pulumi.Output<string>;
|
|
39
|
+
/**
|
|
40
|
+
* Create a RemoteIdentity resource with the given unique name, arguments, and options.
|
|
41
|
+
*
|
|
42
|
+
* @param name The _unique_ name of the resource.
|
|
43
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
44
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
45
|
+
*/
|
|
46
|
+
constructor(name: string, args: RemoteIdentityArgs, opts?: pulumi.CustomResourceOptions);
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* Input properties used for looking up and filtering RemoteIdentity resources.
|
|
50
|
+
*/
|
|
51
|
+
export interface RemoteIdentityState {
|
|
52
|
+
/**
|
|
53
|
+
* The account for this remote identity.
|
|
54
|
+
*/
|
|
55
|
+
accountId?: pulumi.Input<string>;
|
|
56
|
+
/**
|
|
57
|
+
* The remote identity group.
|
|
58
|
+
*/
|
|
59
|
+
remoteIdentityGroupId?: pulumi.Input<string>;
|
|
60
|
+
/**
|
|
61
|
+
* The username to be used as the remote identity for this account.
|
|
62
|
+
*/
|
|
63
|
+
username?: pulumi.Input<string>;
|
|
64
|
+
}
|
|
65
|
+
/**
|
|
66
|
+
* The set of arguments for constructing a RemoteIdentity resource.
|
|
67
|
+
*/
|
|
68
|
+
export interface RemoteIdentityArgs {
|
|
69
|
+
/**
|
|
70
|
+
* The account for this remote identity.
|
|
71
|
+
*/
|
|
72
|
+
accountId: pulumi.Input<string>;
|
|
73
|
+
/**
|
|
74
|
+
* The remote identity group.
|
|
75
|
+
*/
|
|
76
|
+
remoteIdentityGroupId: pulumi.Input<string>;
|
|
77
|
+
/**
|
|
78
|
+
* The username to be used as the remote identity for this account.
|
|
79
|
+
*/
|
|
80
|
+
username: pulumi.Input<string>;
|
|
81
|
+
}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.RemoteIdentity = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* ## Import
|
|
10
|
+
*
|
|
11
|
+
* RemoteIdentity can be imported using the id, e.g.,
|
|
12
|
+
*
|
|
13
|
+
* ```sh
|
|
14
|
+
* $ pulumi import sdm:index/remoteIdentity:RemoteIdentity example i-12345678
|
|
15
|
+
* ```
|
|
16
|
+
*/
|
|
17
|
+
class RemoteIdentity 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["remoteIdentityGroupId"] = state ? state.remoteIdentityGroupId : undefined;
|
|
25
|
+
resourceInputs["username"] = state ? state.username : undefined;
|
|
26
|
+
}
|
|
27
|
+
else {
|
|
28
|
+
const args = argsOrState;
|
|
29
|
+
if ((!args || args.accountId === undefined) && !opts.urn) {
|
|
30
|
+
throw new Error("Missing required property 'accountId'");
|
|
31
|
+
}
|
|
32
|
+
if ((!args || args.remoteIdentityGroupId === undefined) && !opts.urn) {
|
|
33
|
+
throw new Error("Missing required property 'remoteIdentityGroupId'");
|
|
34
|
+
}
|
|
35
|
+
if ((!args || args.username === undefined) && !opts.urn) {
|
|
36
|
+
throw new Error("Missing required property 'username'");
|
|
37
|
+
}
|
|
38
|
+
resourceInputs["accountId"] = args ? args.accountId : undefined;
|
|
39
|
+
resourceInputs["remoteIdentityGroupId"] = args ? args.remoteIdentityGroupId : undefined;
|
|
40
|
+
resourceInputs["username"] = args ? args.username : undefined;
|
|
41
|
+
}
|
|
42
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
43
|
+
super(RemoteIdentity.__pulumiType, name, resourceInputs, opts);
|
|
44
|
+
}
|
|
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
|
+
}
|
|
68
|
+
exports.RemoteIdentity = RemoteIdentity;
|
|
69
|
+
/** @internal */
|
|
70
|
+
RemoteIdentity.__pulumiType = 'sdm:index/remoteIdentity:RemoteIdentity';
|
|
71
|
+
//# sourceMappingURL=remoteIdentity.js.map
|
|
@@ -0,0 +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;IAiDrD,YAAY,IAA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