@pierskarsenbarg/sdm 1.2.0 → 1.4.0

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.
Files changed (55) hide show
  1. package/account.d.ts +28 -0
  2. package/account.js +28 -0
  3. package/account.js.map +1 -1
  4. package/accountAttachment.d.ts +14 -0
  5. package/accountAttachment.js +14 -0
  6. package/accountAttachment.js.map +1 -1
  7. package/getPeeringGroup.d.ts +59 -0
  8. package/getPeeringGroup.js +29 -0
  9. package/getPeeringGroup.js.map +1 -0
  10. package/getPeeringGroupNode.d.ts +69 -0
  11. package/getPeeringGroupNode.js +28 -0
  12. package/getPeeringGroupNode.js.map +1 -0
  13. package/getPeeringGroupPeer.d.ts +69 -0
  14. package/getPeeringGroupPeer.js +28 -0
  15. package/getPeeringGroupPeer.js.map +1 -0
  16. package/getPeeringGroupResource.d.ts +69 -0
  17. package/getPeeringGroupResource.js +28 -0
  18. package/getPeeringGroupResource.js.map +1 -0
  19. package/getResource.d.ts +27 -0
  20. package/getResource.js.map +1 -1
  21. package/index.d.ts +24 -0
  22. package/index.js +33 -1
  23. package/index.js.map +1 -1
  24. package/node.d.ts +29 -0
  25. package/node.js +29 -0
  26. package/node.js.map +1 -1
  27. package/package.json +2 -2
  28. package/peeringGroup.d.ts +61 -0
  29. package/peeringGroup.js +62 -0
  30. package/peeringGroup.js.map +1 -0
  31. package/peeringGroupNode.d.ts +72 -0
  32. package/peeringGroupNode.js +63 -0
  33. package/peeringGroupNode.js.map +1 -0
  34. package/peeringGroupPeer.d.ts +72 -0
  35. package/peeringGroupPeer.js +63 -0
  36. package/peeringGroupPeer.js.map +1 -0
  37. package/peeringGroupResource.d.ts +72 -0
  38. package/peeringGroupResource.js +63 -0
  39. package/peeringGroupResource.js.map +1 -0
  40. package/provider.js +1 -1
  41. package/provider.js.map +1 -1
  42. package/remoteIdentity.d.ts +3 -0
  43. package/remoteIdentity.js +3 -0
  44. package/remoteIdentity.js.map +1 -1
  45. package/resource.d.ts +15 -0
  46. package/resource.js +2 -0
  47. package/resource.js.map +1 -1
  48. package/role.d.ts +32 -0
  49. package/role.js +32 -0
  50. package/role.js.map +1 -1
  51. package/secretStore.d.ts +4 -0
  52. package/secretStore.js +4 -0
  53. package/secretStore.js.map +1 -1
  54. package/types/input.d.ts +1792 -86
  55. package/types/output.d.ts +3642 -175
package/index.d.ts CHANGED
@@ -13,6 +13,18 @@ export declare const getAccountAttachmentOutput: typeof import("./getAccountAtta
13
13
  export { GetNodeArgs, GetNodeResult, GetNodeOutputArgs } from "./getNode";
14
14
  export declare const getNode: typeof import("./getNode").getNode;
15
15
  export declare const getNodeOutput: typeof import("./getNode").getNodeOutput;
16
+ export { GetPeeringGroupArgs, GetPeeringGroupResult, GetPeeringGroupOutputArgs } from "./getPeeringGroup";
17
+ export declare const getPeeringGroup: typeof import("./getPeeringGroup").getPeeringGroup;
18
+ export declare const getPeeringGroupOutput: typeof import("./getPeeringGroup").getPeeringGroupOutput;
19
+ export { GetPeeringGroupNodeArgs, GetPeeringGroupNodeResult, GetPeeringGroupNodeOutputArgs } from "./getPeeringGroupNode";
20
+ export declare const getPeeringGroupNode: typeof import("./getPeeringGroupNode").getPeeringGroupNode;
21
+ export declare const getPeeringGroupNodeOutput: typeof import("./getPeeringGroupNode").getPeeringGroupNodeOutput;
22
+ export { GetPeeringGroupPeerArgs, GetPeeringGroupPeerResult, GetPeeringGroupPeerOutputArgs } from "./getPeeringGroupPeer";
23
+ export declare const getPeeringGroupPeer: typeof import("./getPeeringGroupPeer").getPeeringGroupPeer;
24
+ export declare const getPeeringGroupPeerOutput: typeof import("./getPeeringGroupPeer").getPeeringGroupPeerOutput;
25
+ export { GetPeeringGroupResourceArgs, GetPeeringGroupResourceResult, GetPeeringGroupResourceOutputArgs } from "./getPeeringGroupResource";
26
+ export declare const getPeeringGroupResource: typeof import("./getPeeringGroupResource").getPeeringGroupResource;
27
+ export declare const getPeeringGroupResourceOutput: typeof import("./getPeeringGroupResource").getPeeringGroupResourceOutput;
16
28
  export { GetRemoteIdentityArgs, GetRemoteIdentityResult, GetRemoteIdentityOutputArgs } from "./getRemoteIdentity";
17
29
  export declare const getRemoteIdentity: typeof import("./getRemoteIdentity").getRemoteIdentity;
18
30
  export declare const getRemoteIdentityOutput: typeof import("./getRemoteIdentity").getRemoteIdentityOutput;
@@ -34,6 +46,18 @@ export declare const getSshCaPubkeyOutput: typeof import("./getSshCaPubkey").get
34
46
  export { NodeArgs, NodeState } from "./node";
35
47
  export type Node = import("./node").Node;
36
48
  export declare const Node: typeof import("./node").Node;
49
+ export { PeeringGroupArgs, PeeringGroupState } from "./peeringGroup";
50
+ export type PeeringGroup = import("./peeringGroup").PeeringGroup;
51
+ export declare const PeeringGroup: typeof import("./peeringGroup").PeeringGroup;
52
+ export { PeeringGroupNodeArgs, PeeringGroupNodeState } from "./peeringGroupNode";
53
+ export type PeeringGroupNode = import("./peeringGroupNode").PeeringGroupNode;
54
+ export declare const PeeringGroupNode: typeof import("./peeringGroupNode").PeeringGroupNode;
55
+ export { PeeringGroupPeerArgs, PeeringGroupPeerState } from "./peeringGroupPeer";
56
+ export type PeeringGroupPeer = import("./peeringGroupPeer").PeeringGroupPeer;
57
+ export declare const PeeringGroupPeer: typeof import("./peeringGroupPeer").PeeringGroupPeer;
58
+ export { PeeringGroupResourceArgs, PeeringGroupResourceState } from "./peeringGroupResource";
59
+ export type PeeringGroupResource = import("./peeringGroupResource").PeeringGroupResource;
60
+ export declare const PeeringGroupResource: typeof import("./peeringGroupResource").PeeringGroupResource;
37
61
  export { ProviderArgs } from "./provider";
38
62
  export type Provider = import("./provider").Provider;
39
63
  export declare const Provider: typeof import("./provider").Provider;
package/index.js CHANGED
@@ -2,7 +2,7 @@
2
2
  // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
3
  // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
  Object.defineProperty(exports, "__esModule", { value: true });
5
- exports.types = exports.config = exports.SecretStore = exports.Role = exports.Resource = exports.RemoteIdentity = exports.Provider = exports.Node = exports.getSshCaPubkeyOutput = exports.getSshCaPubkey = exports.getSecretStoreOutput = exports.getSecretStore = exports.getRoleOutput = exports.getRole = exports.getResourceOutput = exports.getResource = exports.getRemoteIdentityGroupOutput = exports.getRemoteIdentityGroup = exports.getRemoteIdentityOutput = exports.getRemoteIdentity = exports.getNodeOutput = exports.getNode = exports.getAccountAttachmentOutput = exports.getAccountAttachment = exports.getAccountOutput = exports.getAccount = exports.AccountAttachment = exports.Account = void 0;
5
+ exports.types = exports.config = exports.SecretStore = exports.Role = exports.Resource = exports.RemoteIdentity = exports.Provider = exports.PeeringGroupResource = exports.PeeringGroupPeer = exports.PeeringGroupNode = exports.PeeringGroup = exports.Node = exports.getSshCaPubkeyOutput = exports.getSshCaPubkey = exports.getSecretStoreOutput = exports.getSecretStore = exports.getRoleOutput = exports.getRole = exports.getResourceOutput = exports.getResource = exports.getRemoteIdentityGroupOutput = exports.getRemoteIdentityGroup = exports.getRemoteIdentityOutput = exports.getRemoteIdentity = exports.getPeeringGroupResourceOutput = exports.getPeeringGroupResource = exports.getPeeringGroupPeerOutput = exports.getPeeringGroupPeer = exports.getPeeringGroupNodeOutput = exports.getPeeringGroupNode = exports.getPeeringGroupOutput = exports.getPeeringGroup = exports.getNodeOutput = exports.getNode = exports.getAccountAttachmentOutput = exports.getAccountAttachment = exports.getAccountOutput = exports.getAccount = exports.AccountAttachment = exports.Account = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
8
  exports.Account = null;
@@ -18,6 +18,18 @@ utilities.lazyLoad(exports, ["getAccountAttachment", "getAccountAttachmentOutput
18
18
  exports.getNode = null;
19
19
  exports.getNodeOutput = null;
20
20
  utilities.lazyLoad(exports, ["getNode", "getNodeOutput"], () => require("./getNode"));
21
+ exports.getPeeringGroup = null;
22
+ exports.getPeeringGroupOutput = null;
23
+ utilities.lazyLoad(exports, ["getPeeringGroup", "getPeeringGroupOutput"], () => require("./getPeeringGroup"));
24
+ exports.getPeeringGroupNode = null;
25
+ exports.getPeeringGroupNodeOutput = null;
26
+ utilities.lazyLoad(exports, ["getPeeringGroupNode", "getPeeringGroupNodeOutput"], () => require("./getPeeringGroupNode"));
27
+ exports.getPeeringGroupPeer = null;
28
+ exports.getPeeringGroupPeerOutput = null;
29
+ utilities.lazyLoad(exports, ["getPeeringGroupPeer", "getPeeringGroupPeerOutput"], () => require("./getPeeringGroupPeer"));
30
+ exports.getPeeringGroupResource = null;
31
+ exports.getPeeringGroupResourceOutput = null;
32
+ utilities.lazyLoad(exports, ["getPeeringGroupResource", "getPeeringGroupResourceOutput"], () => require("./getPeeringGroupResource"));
21
33
  exports.getRemoteIdentity = null;
22
34
  exports.getRemoteIdentityOutput = null;
23
35
  utilities.lazyLoad(exports, ["getRemoteIdentity", "getRemoteIdentityOutput"], () => require("./getRemoteIdentity"));
@@ -38,6 +50,14 @@ exports.getSshCaPubkeyOutput = null;
38
50
  utilities.lazyLoad(exports, ["getSshCaPubkey", "getSshCaPubkeyOutput"], () => require("./getSshCaPubkey"));
39
51
  exports.Node = null;
40
52
  utilities.lazyLoad(exports, ["Node"], () => require("./node"));
53
+ exports.PeeringGroup = null;
54
+ utilities.lazyLoad(exports, ["PeeringGroup"], () => require("./peeringGroup"));
55
+ exports.PeeringGroupNode = null;
56
+ utilities.lazyLoad(exports, ["PeeringGroupNode"], () => require("./peeringGroupNode"));
57
+ exports.PeeringGroupPeer = null;
58
+ utilities.lazyLoad(exports, ["PeeringGroupPeer"], () => require("./peeringGroupPeer"));
59
+ exports.PeeringGroupResource = null;
60
+ utilities.lazyLoad(exports, ["PeeringGroupResource"], () => require("./peeringGroupResource"));
41
61
  exports.Provider = null;
42
62
  utilities.lazyLoad(exports, ["Provider"], () => require("./provider"));
43
63
  exports.RemoteIdentity = null;
@@ -63,6 +83,14 @@ const _module = {
63
83
  return new exports.AccountAttachment(name, undefined, { urn });
64
84
  case "sdm:index/node:Node":
65
85
  return new exports.Node(name, undefined, { urn });
86
+ case "sdm:index/peeringGroup:PeeringGroup":
87
+ return new exports.PeeringGroup(name, undefined, { urn });
88
+ case "sdm:index/peeringGroupNode:PeeringGroupNode":
89
+ return new exports.PeeringGroupNode(name, undefined, { urn });
90
+ case "sdm:index/peeringGroupPeer:PeeringGroupPeer":
91
+ return new exports.PeeringGroupPeer(name, undefined, { urn });
92
+ case "sdm:index/peeringGroupResource:PeeringGroupResource":
93
+ return new exports.PeeringGroupResource(name, undefined, { urn });
66
94
  case "sdm:index/remoteIdentity:RemoteIdentity":
67
95
  return new exports.RemoteIdentity(name, undefined, { urn });
68
96
  case "sdm:index/resource:Resource":
@@ -79,6 +107,10 @@ const _module = {
79
107
  pulumi.runtime.registerResourceModule("sdm", "index/account", _module);
80
108
  pulumi.runtime.registerResourceModule("sdm", "index/accountAttachment", _module);
81
109
  pulumi.runtime.registerResourceModule("sdm", "index/node", _module);
110
+ pulumi.runtime.registerResourceModule("sdm", "index/peeringGroup", _module);
111
+ pulumi.runtime.registerResourceModule("sdm", "index/peeringGroupNode", _module);
112
+ pulumi.runtime.registerResourceModule("sdm", "index/peeringGroupPeer", _module);
113
+ pulumi.runtime.registerResourceModule("sdm", "index/peeringGroupResource", _module);
82
114
  pulumi.runtime.registerResourceModule("sdm", "index/remoteIdentity", _module);
83
115
  pulumi.runtime.registerResourceModule("sdm", "index/resource", _module);
84
116
  pulumi.runtime.registerResourceModule("sdm", "index/role", _module);
package/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAK5B,QAAA,OAAO,GAAuC,IAAW,CAAC;AACvE,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,SAAS,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC;AAIxD,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,sBAAsB,EAAE,OAAO,CAAC,CAAA;AAC7E,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,gBAAgB,EAAE,OAAO,CAAC,CAAA;AACvE,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,YAAY,EAAE,OAAO,CAAC,CAAA;AACnE,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,mBAAmB,EAAE,OAAO,CAAC,CAAA;AAC1E,MAAM,CAAC,OAAO,CAAC,uBAAuB,CAAC,KAAK,EAAE;IAC1C,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE;IAC/B,iBAAiB,EAAE,CAAC,IAAY,EAAE,IAAY,EAAE,GAAW,EAA2B,EAAE;QACpF,IAAI,IAAI,KAAK,sBAAsB,EAAE;YACjC,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACpD;QACD,OAAO,IAAI,gBAAQ,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAC;IACvD,CAAC;CACJ,CAAC,CAAC"}
package/node.d.ts CHANGED
@@ -2,6 +2,35 @@ import * as pulumi from "@pulumi/pulumi";
2
2
  import * as inputs from "./types/input";
3
3
  import * as outputs from "./types/output";
4
4
  /**
5
+ * Nodes make up the strongDM network, and allow your users to connect securely to your resources.
6
+ * There are two types of nodes:
7
+ * 1. **Relay:** creates connectivity to your datasources, while maintaining the egress-only nature of your firewall
8
+ * 2. **Gateways:** a relay that also listens for connections from strongDM clients
9
+ * ## Example Usage
10
+ *
11
+ * ```typescript
12
+ * import * as pulumi from "@pulumi/pulumi";
13
+ * import * as sdm from "@pierskarsenbarg/sdm";
14
+ *
15
+ * const gateway = new sdm.Node("gateway", {gateway: {
16
+ * bindAddress: "0.0.0.0:21222",
17
+ * listenAddress: "165.23.40.1:21222",
18
+ * name: "test-gateway",
19
+ * tags: {
20
+ * env: "dev",
21
+ * region: "us-west",
22
+ * },
23
+ * }});
24
+ * const relay = new sdm.Node("relay", {relay: {
25
+ * name: "test-relay",
26
+ * tags: {
27
+ * env: "dev",
28
+ * region: "us-west",
29
+ * },
30
+ * }});
31
+ * ```
32
+ * This resource can be imported using the import command.
33
+ *
5
34
  * ## Import
6
35
  *
7
36
  * Node can be imported using the id, e.g.,
package/node.js CHANGED
@@ -6,6 +6,35 @@ exports.Node = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
8
  /**
9
+ * Nodes make up the strongDM network, and allow your users to connect securely to your resources.
10
+ * There are two types of nodes:
11
+ * 1. **Relay:** creates connectivity to your datasources, while maintaining the egress-only nature of your firewall
12
+ * 2. **Gateways:** a relay that also listens for connections from strongDM clients
13
+ * ## Example Usage
14
+ *
15
+ * ```typescript
16
+ * import * as pulumi from "@pulumi/pulumi";
17
+ * import * as sdm from "@pierskarsenbarg/sdm";
18
+ *
19
+ * const gateway = new sdm.Node("gateway", {gateway: {
20
+ * bindAddress: "0.0.0.0:21222",
21
+ * listenAddress: "165.23.40.1:21222",
22
+ * name: "test-gateway",
23
+ * tags: {
24
+ * env: "dev",
25
+ * region: "us-west",
26
+ * },
27
+ * }});
28
+ * const relay = new sdm.Node("relay", {relay: {
29
+ * name: "test-relay",
30
+ * tags: {
31
+ * env: "dev",
32
+ * region: "us-west",
33
+ * },
34
+ * }});
35
+ * ```
36
+ * This resource can be imported using the import command.
37
+ *
9
38
  * ## Import
10
39
  *
11
40
  * Node can be imported using the id, e.g.,
package/node.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"node.js","sourceRoot":"","sources":["../node.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;GAQG;AACH,MAAa,IAAK,SAAQ,MAAM,CAAC,cAAc;IAC3C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,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,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": "v1.2.0",
3
+ "version": "v1.4.0",
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 v1.2.0"
15
+ "install": "node scripts/install-pulumi-plugin.js resource sdm v1.4.0"
16
16
  },
17
17
  "dependencies": {
18
18
  "@pulumi/pulumi": "^3.0.0"
@@ -0,0 +1,61 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * PeeringGroups are the building blocks used for explicit network topology making.
4
+ * They may be linked to other peering groups. Sets of PeeringGroupResource and PeeringGroupNode can be attached to a peering group.
5
+ * This resource can be imported using the import command.
6
+ *
7
+ * ## Import
8
+ *
9
+ * PeeringGroup can be imported using the id, e.g.,
10
+ *
11
+ * ```sh
12
+ * $ pulumi import sdm:index/peeringGroup:PeeringGroup example g-12345678
13
+ * ```
14
+ */
15
+ export declare class PeeringGroup extends pulumi.CustomResource {
16
+ /**
17
+ * Get an existing PeeringGroup resource's state with the given name, ID, and optional extra
18
+ * properties used to qualify the lookup.
19
+ *
20
+ * @param name The _unique_ name of the resulting resource.
21
+ * @param id The _unique_ provider ID of the resource to lookup.
22
+ * @param state Any extra arguments used during the lookup.
23
+ * @param opts Optional settings to control the behavior of the CustomResource.
24
+ */
25
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: PeeringGroupState, opts?: pulumi.CustomResourceOptions): PeeringGroup;
26
+ /**
27
+ * Returns true if the given object is an instance of PeeringGroup. This is designed to work even
28
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
29
+ */
30
+ static isInstance(obj: any): obj is PeeringGroup;
31
+ /**
32
+ * Unique human-readable name of the PeeringGroup.
33
+ */
34
+ readonly name: pulumi.Output<string>;
35
+ /**
36
+ * Create a PeeringGroup resource with the given unique name, arguments, and options.
37
+ *
38
+ * @param name The _unique_ name of the resource.
39
+ * @param args The arguments to use to populate this resource's properties.
40
+ * @param opts A bag of options that control this resource's behavior.
41
+ */
42
+ constructor(name: string, args?: PeeringGroupArgs, opts?: pulumi.CustomResourceOptions);
43
+ }
44
+ /**
45
+ * Input properties used for looking up and filtering PeeringGroup resources.
46
+ */
47
+ export interface PeeringGroupState {
48
+ /**
49
+ * Unique human-readable name of the PeeringGroup.
50
+ */
51
+ name?: pulumi.Input<string>;
52
+ }
53
+ /**
54
+ * The set of arguments for constructing a PeeringGroup resource.
55
+ */
56
+ export interface PeeringGroupArgs {
57
+ /**
58
+ * Unique human-readable name of the PeeringGroup.
59
+ */
60
+ name?: pulumi.Input<string>;
61
+ }
@@ -0,0 +1,62 @@
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.PeeringGroup = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * PeeringGroups are the building blocks used for explicit network topology making.
10
+ * They may be linked to other peering groups. Sets of PeeringGroupResource and PeeringGroupNode can be attached to a peering group.
11
+ * This resource can be imported using the import command.
12
+ *
13
+ * ## Import
14
+ *
15
+ * PeeringGroup can be imported using the id, e.g.,
16
+ *
17
+ * ```sh
18
+ * $ pulumi import sdm:index/peeringGroup:PeeringGroup example g-12345678
19
+ * ```
20
+ */
21
+ class PeeringGroup extends pulumi.CustomResource {
22
+ /**
23
+ * Get an existing PeeringGroup resource's state with the given name, ID, and optional extra
24
+ * properties used to qualify the lookup.
25
+ *
26
+ * @param name The _unique_ name of the resulting resource.
27
+ * @param id The _unique_ provider ID of the resource to lookup.
28
+ * @param state Any extra arguments used during the lookup.
29
+ * @param opts Optional settings to control the behavior of the CustomResource.
30
+ */
31
+ static get(name, id, state, opts) {
32
+ return new PeeringGroup(name, state, Object.assign(Object.assign({}, opts), { id: id }));
33
+ }
34
+ /**
35
+ * Returns true if the given object is an instance of PeeringGroup. 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'] === PeeringGroup.__pulumiType;
43
+ }
44
+ constructor(name, argsOrState, opts) {
45
+ let resourceInputs = {};
46
+ opts = opts || {};
47
+ if (opts.id) {
48
+ const state = argsOrState;
49
+ resourceInputs["name"] = state ? state.name : undefined;
50
+ }
51
+ else {
52
+ const args = argsOrState;
53
+ resourceInputs["name"] = args ? args.name : undefined;
54
+ }
55
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
56
+ super(PeeringGroup.__pulumiType, name, resourceInputs, opts);
57
+ }
58
+ }
59
+ exports.PeeringGroup = PeeringGroup;
60
+ /** @internal */
61
+ PeeringGroup.__pulumiType = 'sdm:index/peeringGroup:PeeringGroup';
62
+ //# sourceMappingURL=peeringGroup.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"peeringGroup.js","sourceRoot":"","sources":["../peeringGroup.ts"],"names":[],"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C;AAxCG,gBAAgB;AACO,yBAAY,GAAG,qCAAqC,CAAC"}
@@ -0,0 +1,72 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * PeeringGroupNode represents the attachment between a PeeringGroup and a Node.
4
+ * This resource can be imported using the import command.
5
+ *
6
+ * ## Import
7
+ *
8
+ * PeeringGroupNode can be imported using the id, e.g.,
9
+ *
10
+ * ```sh
11
+ * $ pulumi import sdm:index/peeringGroupNode:PeeringGroupNode example gn-12345678
12
+ * ```
13
+ */
14
+ export declare class PeeringGroupNode extends pulumi.CustomResource {
15
+ /**
16
+ * Get an existing PeeringGroupNode resource's state with the given name, ID, and optional extra
17
+ * properties used to qualify the lookup.
18
+ *
19
+ * @param name The _unique_ name of the resulting resource.
20
+ * @param id The _unique_ provider ID of the resource to lookup.
21
+ * @param state Any extra arguments used during the lookup.
22
+ * @param opts Optional settings to control the behavior of the CustomResource.
23
+ */
24
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: PeeringGroupNodeState, opts?: pulumi.CustomResourceOptions): PeeringGroupNode;
25
+ /**
26
+ * Returns true if the given object is an instance of PeeringGroupNode. This is designed to work even
27
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
28
+ */
29
+ static isInstance(obj: any): obj is PeeringGroupNode;
30
+ /**
31
+ * Peering Group ID to which the node will be attached to.
32
+ */
33
+ readonly groupId: pulumi.Output<string>;
34
+ /**
35
+ * Node ID to be attached.
36
+ */
37
+ readonly nodeId: pulumi.Output<string>;
38
+ /**
39
+ * Create a PeeringGroupNode resource with the given unique name, arguments, and options.
40
+ *
41
+ * @param name The _unique_ name of the resource.
42
+ * @param args The arguments to use to populate this resource's properties.
43
+ * @param opts A bag of options that control this resource's behavior.
44
+ */
45
+ constructor(name: string, args?: PeeringGroupNodeArgs, opts?: pulumi.CustomResourceOptions);
46
+ }
47
+ /**
48
+ * Input properties used for looking up and filtering PeeringGroupNode resources.
49
+ */
50
+ export interface PeeringGroupNodeState {
51
+ /**
52
+ * Peering Group ID to which the node will be attached to.
53
+ */
54
+ groupId?: pulumi.Input<string>;
55
+ /**
56
+ * Node ID to be attached.
57
+ */
58
+ nodeId?: pulumi.Input<string>;
59
+ }
60
+ /**
61
+ * The set of arguments for constructing a PeeringGroupNode resource.
62
+ */
63
+ export interface PeeringGroupNodeArgs {
64
+ /**
65
+ * Peering Group ID to which the node will be attached to.
66
+ */
67
+ groupId?: pulumi.Input<string>;
68
+ /**
69
+ * Node ID to be attached.
70
+ */
71
+ nodeId?: pulumi.Input<string>;
72
+ }
@@ -0,0 +1,63 @@
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.PeeringGroupNode = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * PeeringGroupNode represents the attachment between a PeeringGroup and a Node.
10
+ * This resource can be imported using the import command.
11
+ *
12
+ * ## Import
13
+ *
14
+ * PeeringGroupNode can be imported using the id, e.g.,
15
+ *
16
+ * ```sh
17
+ * $ pulumi import sdm:index/peeringGroupNode:PeeringGroupNode example gn-12345678
18
+ * ```
19
+ */
20
+ class PeeringGroupNode extends pulumi.CustomResource {
21
+ /**
22
+ * Get an existing PeeringGroupNode resource's state with the given name, ID, and optional extra
23
+ * properties used to qualify the lookup.
24
+ *
25
+ * @param name The _unique_ name of the resulting resource.
26
+ * @param id The _unique_ provider ID of the resource to lookup.
27
+ * @param state Any extra arguments used during the lookup.
28
+ * @param opts Optional settings to control the behavior of the CustomResource.
29
+ */
30
+ static get(name, id, state, opts) {
31
+ return new PeeringGroupNode(name, state, Object.assign(Object.assign({}, opts), { id: id }));
32
+ }
33
+ /**
34
+ * Returns true if the given object is an instance of PeeringGroupNode. This is designed to work even
35
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
36
+ */
37
+ static isInstance(obj) {
38
+ if (obj === undefined || obj === null) {
39
+ return false;
40
+ }
41
+ return obj['__pulumiType'] === PeeringGroupNode.__pulumiType;
42
+ }
43
+ constructor(name, argsOrState, opts) {
44
+ let resourceInputs = {};
45
+ opts = opts || {};
46
+ if (opts.id) {
47
+ const state = argsOrState;
48
+ resourceInputs["groupId"] = state ? state.groupId : undefined;
49
+ resourceInputs["nodeId"] = state ? state.nodeId : undefined;
50
+ }
51
+ else {
52
+ const args = argsOrState;
53
+ resourceInputs["groupId"] = args ? args.groupId : undefined;
54
+ resourceInputs["nodeId"] = args ? args.nodeId : undefined;
55
+ }
56
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
57
+ super(PeeringGroupNode.__pulumiType, name, resourceInputs, opts);
58
+ }
59
+ }
60
+ exports.PeeringGroupNode = PeeringGroupNode;
61
+ /** @internal */
62
+ PeeringGroupNode.__pulumiType = 'sdm:index/peeringGroupNode:PeeringGroupNode';
63
+ //# sourceMappingURL=peeringGroupNode.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"peeringGroupNode.js","sourceRoot":"","sources":["../peeringGroupNode.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;GAWG;AACH,MAAa,gBAAiB,SAAQ,MAAM,CAAC,cAAc;IACvD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA6B,EAAE,IAAmC;QAC3H,OAAO,IAAI,gBAAgB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACvE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,gBAAgB,CAAC,YAAY,CAAC;IACjE,CAAC;IAmBD,YAAY,IAAY,EAAE,WAA0D,EAAE,IAAmC;QACrH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAgD,CAAC;YAC/D,cAAc,CAAC,SAAS,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,QAAQ,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;SAC/D;aAAM;YACH,MAAM,IAAI,GAAG,WAA+C,CAAC;YAC7D,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,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,gBAAgB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACrE,CAAC;;AA3DL,4CA4DC;AA9CG,gBAAgB;AACO,6BAAY,GAAG,6CAA6C,CAAC"}
@@ -0,0 +1,72 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * PeeringGroupPeer represents the link between two PeeringGroups
4
+ * This resource can be imported using the import command.
5
+ *
6
+ * ## Import
7
+ *
8
+ * PeeringGroupPeer can be imported using the id, e.g.,
9
+ *
10
+ * ```sh
11
+ * $ pulumi import sdm:index/peeringGroupPeer:PeeringGroupPeer example gp-12345678
12
+ * ```
13
+ */
14
+ export declare class PeeringGroupPeer extends pulumi.CustomResource {
15
+ /**
16
+ * Get an existing PeeringGroupPeer resource's state with the given name, ID, and optional extra
17
+ * properties used to qualify the lookup.
18
+ *
19
+ * @param name The _unique_ name of the resulting resource.
20
+ * @param id The _unique_ provider ID of the resource to lookup.
21
+ * @param state Any extra arguments used during the lookup.
22
+ * @param opts Optional settings to control the behavior of the CustomResource.
23
+ */
24
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: PeeringGroupPeerState, opts?: pulumi.CustomResourceOptions): PeeringGroupPeer;
25
+ /**
26
+ * Returns true if the given object is an instance of PeeringGroupPeer. This is designed to work even
27
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
28
+ */
29
+ static isInstance(obj: any): obj is PeeringGroupPeer;
30
+ /**
31
+ * Group ID from which the link will originate.
32
+ */
33
+ readonly groupId: pulumi.Output<string>;
34
+ /**
35
+ * Peering Group ID to which Group ID will link.
36
+ */
37
+ readonly peersWithGroupId: pulumi.Output<string>;
38
+ /**
39
+ * Create a PeeringGroupPeer resource with the given unique name, arguments, and options.
40
+ *
41
+ * @param name The _unique_ name of the resource.
42
+ * @param args The arguments to use to populate this resource's properties.
43
+ * @param opts A bag of options that control this resource's behavior.
44
+ */
45
+ constructor(name: string, args?: PeeringGroupPeerArgs, opts?: pulumi.CustomResourceOptions);
46
+ }
47
+ /**
48
+ * Input properties used for looking up and filtering PeeringGroupPeer resources.
49
+ */
50
+ export interface PeeringGroupPeerState {
51
+ /**
52
+ * Group ID from which the link will originate.
53
+ */
54
+ groupId?: pulumi.Input<string>;
55
+ /**
56
+ * Peering Group ID to which Group ID will link.
57
+ */
58
+ peersWithGroupId?: pulumi.Input<string>;
59
+ }
60
+ /**
61
+ * The set of arguments for constructing a PeeringGroupPeer resource.
62
+ */
63
+ export interface PeeringGroupPeerArgs {
64
+ /**
65
+ * Group ID from which the link will originate.
66
+ */
67
+ groupId?: pulumi.Input<string>;
68
+ /**
69
+ * Peering Group ID to which Group ID will link.
70
+ */
71
+ peersWithGroupId?: pulumi.Input<string>;
72
+ }
@@ -0,0 +1,63 @@
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.PeeringGroupPeer = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * PeeringGroupPeer represents the link between two PeeringGroups
10
+ * This resource can be imported using the import command.
11
+ *
12
+ * ## Import
13
+ *
14
+ * PeeringGroupPeer can be imported using the id, e.g.,
15
+ *
16
+ * ```sh
17
+ * $ pulumi import sdm:index/peeringGroupPeer:PeeringGroupPeer example gp-12345678
18
+ * ```
19
+ */
20
+ class PeeringGroupPeer extends pulumi.CustomResource {
21
+ /**
22
+ * Get an existing PeeringGroupPeer resource's state with the given name, ID, and optional extra
23
+ * properties used to qualify the lookup.
24
+ *
25
+ * @param name The _unique_ name of the resulting resource.
26
+ * @param id The _unique_ provider ID of the resource to lookup.
27
+ * @param state Any extra arguments used during the lookup.
28
+ * @param opts Optional settings to control the behavior of the CustomResource.
29
+ */
30
+ static get(name, id, state, opts) {
31
+ return new PeeringGroupPeer(name, state, Object.assign(Object.assign({}, opts), { id: id }));
32
+ }
33
+ /**
34
+ * Returns true if the given object is an instance of PeeringGroupPeer. This is designed to work even
35
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
36
+ */
37
+ static isInstance(obj) {
38
+ if (obj === undefined || obj === null) {
39
+ return false;
40
+ }
41
+ return obj['__pulumiType'] === PeeringGroupPeer.__pulumiType;
42
+ }
43
+ constructor(name, argsOrState, opts) {
44
+ let resourceInputs = {};
45
+ opts = opts || {};
46
+ if (opts.id) {
47
+ const state = argsOrState;
48
+ resourceInputs["groupId"] = state ? state.groupId : undefined;
49
+ resourceInputs["peersWithGroupId"] = state ? state.peersWithGroupId : undefined;
50
+ }
51
+ else {
52
+ const args = argsOrState;
53
+ resourceInputs["groupId"] = args ? args.groupId : undefined;
54
+ resourceInputs["peersWithGroupId"] = args ? args.peersWithGroupId : undefined;
55
+ }
56
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
57
+ super(PeeringGroupPeer.__pulumiType, name, resourceInputs, opts);
58
+ }
59
+ }
60
+ exports.PeeringGroupPeer = PeeringGroupPeer;
61
+ /** @internal */
62
+ PeeringGroupPeer.__pulumiType = 'sdm:index/peeringGroupPeer:PeeringGroupPeer';
63
+ //# sourceMappingURL=peeringGroupPeer.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"peeringGroupPeer.js","sourceRoot":"","sources":["../peeringGroupPeer.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;GAWG;AACH,MAAa,gBAAiB,SAAQ,MAAM,CAAC,cAAc;IACvD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA6B,EAAE,IAAmC;QAC3H,OAAO,IAAI,gBAAgB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACvE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,gBAAgB,CAAC,YAAY,CAAC;IACjE,CAAC;IAmBD,YAAY,IAAY,EAAE,WAA0D,EAAE,IAAmC;QACrH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,K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