@pierskarsenbarg/sdm 1.3.0 → 1.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.
@@ -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":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;GAYG;AACH,MAAa,YAAa,SAAQ,MAAM,CAAC,cAAc;IACnD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAyB,EAAE,IAAmC;QACvH,OAAO,IAAI,YAAY,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACnE,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,YAAY,CAAC,YAAY,CAAC;IAC7D,CAAC;IAeD,YAAY,IAAY,EAAE,WAAkD,EAAE,IAAmC;QAC7G,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA4C,CAAC;YAC3D,cAAc,CAAC,MAAM,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;SAC3D;aAAM;YACH,MAAM,IAAI,GAAG,WAA2C,CAAC;YACzD,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;SACzD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,YAAY,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACjE,CAAC;;AArDL,oCAsDC;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,g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AI,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,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pulumi/pulumi";
2
+ /**
3
+ * PeeringGroupResource represents the attachment between a PeeringGroup and a Resource.
4
+ * This resource can be imported using the import command.
5
+ *
6
+ * ## Import
7
+ *
8
+ * PeeringGroupResource can be imported using the id, e.g.,
9
+ *
10
+ * ```sh
11
+ * $ pulumi import sdm:index/peeringGroupResource:PeeringGroupResource example gr-12345678
12
+ * ```
13
+ */
14
+ export declare class PeeringGroupResource extends pulumi.CustomResource {
15
+ /**
16
+ * Get an existing PeeringGroupResource 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?: PeeringGroupResourceState, opts?: pulumi.CustomResourceOptions): PeeringGroupResource;
25
+ /**
26
+ * Returns true if the given object is an instance of PeeringGroupResource. 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 PeeringGroupResource;
30
+ /**
31
+ * Peering Group ID to which the resource will be attached to.
32
+ */
33
+ readonly groupId: pulumi.Output<string>;
34
+ /**
35
+ * Resource ID to be attached.
36
+ */
37
+ readonly resourceId: pulumi.Output<string>;
38
+ /**
39
+ * Create a PeeringGroupResource 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?: PeeringGroupResourceArgs, opts?: pulumi.CustomResourceOptions);
46
+ }
47
+ /**
48
+ * Input properties used for looking up and filtering PeeringGroupResource resources.
49
+ */
50
+ export interface PeeringGroupResourceState {
51
+ /**
52
+ * Peering Group ID to which the resource will be attached to.
53
+ */
54
+ groupId?: pulumi.Input<string>;
55
+ /**
56
+ * Resource ID to be attached.
57
+ */
58
+ resourceId?: pulumi.Input<string>;
59
+ }
60
+ /**
61
+ * The set of arguments for constructing a PeeringGroupResource resource.
62
+ */
63
+ export interface PeeringGroupResourceArgs {
64
+ /**
65
+ * Peering Group ID to which the resource will be attached to.
66
+ */
67
+ groupId?: pulumi.Input<string>;
68
+ /**
69
+ * Resource ID to be attached.
70
+ */
71
+ resourceId?: 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.PeeringGroupResource = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * PeeringGroupResource represents the attachment between a PeeringGroup and a Resource.
10
+ * This resource can be imported using the import command.
11
+ *
12
+ * ## Import
13
+ *
14
+ * PeeringGroupResource can be imported using the id, e.g.,
15
+ *
16
+ * ```sh
17
+ * $ pulumi import sdm:index/peeringGroupResource:PeeringGroupResource example gr-12345678
18
+ * ```
19
+ */
20
+ class PeeringGroupResource extends pulumi.CustomResource {
21
+ /**
22
+ * Get an existing PeeringGroupResource 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 PeeringGroupResource(name, state, Object.assign(Object.assign({}, opts), { id: id }));
32
+ }
33
+ /**
34
+ * Returns true if the given object is an instance of PeeringGroupResource. 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'] === PeeringGroupResource.__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["resourceId"] = state ? state.resourceId : undefined;
50
+ }
51
+ else {
52
+ const args = argsOrState;
53
+ resourceInputs["groupId"] = args ? args.groupId : undefined;
54
+ resourceInputs["resourceId"] = args ? args.resourceId : undefined;
55
+ }
56
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
57
+ super(PeeringGroupResource.__pulumiType, name, resourceInputs, opts);
58
+ }
59
+ }
60
+ exports.PeeringGroupResource = PeeringGroupResource;
61
+ /** @internal */
62
+ PeeringGroupResource.__pulumiType = 'sdm:index/peeringGroupResource:PeeringGroupResource';
63
+ //# sourceMappingURL=peeringGroupResource.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"peeringGroupResource.js","sourceRoot":"","sources":["../peeringGroupResource.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;GAWG;AACH,MAAa,oBAAqB,SAAQ,MAAM,CAAC,cAAc;IAC3D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAiC,EAAE,IAAmC;QAC/H,OAAO,IAAI,oBAAoB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC3E,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,oBAAoB,CAAC,YAAY,CAAC;IACrE,CAAC;IAmBD,YAAY,IAAY,EAAE,WAAkE,EAAE,IAAmC;QAC7H,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAoD,CAAC;YACnE,cAAc,CAAC,SAAS,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,YAAY,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;SACvE;aAAM;YACH,MAAM,IAAI,GAAG,WAAmD,CAAC;YACjE,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;SACrE;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,oBAAoB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACzE,CAAC;;AA3DL,oDA4DC;AA9CG,gBAAgB;AACO,iCAAY,GAAG,qDAAqD,CAAC"}
package/types/input.d.ts CHANGED
@@ -58,10 +58,6 @@ export interface NodeGateway {
58
58
  * The hostname/port tuple which the gateway daemon will bind to. If not provided on create, set to "0.0.0.0:listen_address_port".
59
59
  */
60
60
  bindAddress?: pulumi.Input<string>;
61
- /**
62
- * ConnectsTo can be used to restrict the peering between relays and gateways.
63
- */
64
- connectsTo?: pulumi.Input<string>;
65
61
  /**
66
62
  * Device is a read only device name uploaded by the gateway process when it comes online.
67
63
  */
@@ -103,10 +99,6 @@ export interface NodeGatewayMaintenanceWindow {
103
99
  requireIdleness: pulumi.Input<boolean>;
104
100
  }
105
101
  export interface NodeRelay {
106
- /**
107
- * ConnectsTo can be used to restrict the peering between relays and gateways.
108
- */
109
- connectsTo?: pulumi.Input<string>;
110
102
  /**
111
103
  * Device is a read only device name uploaded by the gateway process when it comes online.
112
104
  */
@@ -2180,6 +2172,10 @@ export interface ResourceGoogleGke {
2180
2172
  * Unique human-readable name of the Resource.
2181
2173
  */
2182
2174
  name: pulumi.Input<string>;
2175
+ /**
2176
+ * The local port used by clients to connect to this resource.
2177
+ */
2178
+ portOverride?: pulumi.Input<number>;
2183
2179
  /**
2184
2180
  * The ID of the remote identity group to use for remote identity connections.
2185
2181
  */
@@ -2232,6 +2228,10 @@ export interface ResourceGoogleGkeUserImpersonation {
2232
2228
  * Unique human-readable name of the Resource.
2233
2229
  */
2234
2230
  name: pulumi.Input<string>;
2231
+ /**
2232
+ * The local port used by clients to connect to this resource.
2233
+ */
2234
+ portOverride?: pulumi.Input<number>;
2235
2235
  /**
2236
2236
  * ID of the secret store containing credentials for this resource, if any.
2237
2237
  */
package/types/output.d.ts CHANGED
@@ -139,10 +139,6 @@ export interface GetNodeNodeGateway {
139
139
  * The hostname/port tuple which the gateway daemon will bind to. If not provided on create, set to "0.0.0.0:listen_address_port".
140
140
  */
141
141
  bindAddress?: string;
142
- /**
143
- * ConnectsTo can be used to restrict the peering between relays and gateways.
144
- */
145
- connectsTo?: string;
146
142
  /**
147
143
  * Device is a read only device name uploaded by the gateway process when it comes online.
148
144
  */
@@ -187,10 +183,6 @@ export interface GetNodeNodeGatewayMaintenanceWindow {
187
183
  requireIdleness: boolean;
188
184
  }
189
185
  export interface GetNodeNodeRelay {
190
- /**
191
- * ConnectsTo can be used to restrict the peering between relays and gateways.
192
- */
193
- connectsTo?: string;
194
186
  /**
195
187
  * Device is a read only device name uploaded by the gateway process when it comes online.
196
188
  */
@@ -230,6 +222,58 @@ export interface GetNodeNodeRelayMaintenanceWindow {
230
222
  cronSchedule: string;
231
223
  requireIdleness: boolean;
232
224
  }
225
+ export interface GetPeeringGroupNodePeeringGroupNode {
226
+ /**
227
+ * Peering Group ID to which the node will be attached to.
228
+ */
229
+ groupId?: string;
230
+ /**
231
+ * Unique identifier of the Attachment.
232
+ */
233
+ id?: string;
234
+ /**
235
+ * Node ID to be attached.
236
+ */
237
+ nodeId?: string;
238
+ }
239
+ export interface GetPeeringGroupPeerPeeringGroupPeer {
240
+ /**
241
+ * Group ID from which the link will originate.
242
+ */
243
+ groupId?: string;
244
+ /**
245
+ * Unique identifier of the Attachment.
246
+ */
247
+ id?: string;
248
+ /**
249
+ * Peering Group ID to which Group ID will link.
250
+ */
251
+ peersWithGroupId?: string;
252
+ }
253
+ export interface GetPeeringGroupPeeringGroup {
254
+ /**
255
+ * Unique identifier of the PeeringGroup.
256
+ */
257
+ id?: string;
258
+ /**
259
+ * Unique human-readable name of the PeeringGroup.
260
+ */
261
+ name?: string;
262
+ }
263
+ export interface GetPeeringGroupResourcePeeringGroupResource {
264
+ /**
265
+ * Peering Group ID to which the resource will be attached to.
266
+ */
267
+ groupId?: string;
268
+ /**
269
+ * Unique identifier of the Attachment.
270
+ */
271
+ id?: string;
272
+ /**
273
+ * Resource ID to be attached.
274
+ */
275
+ resourceId?: string;
276
+ }
233
277
  export interface GetRemoteIdentityGroupRemoteIdentityGroup {
234
278
  /**
235
279
  * Unique identifier of the RemoteIdentityGroup.
@@ -2526,6 +2570,10 @@ export interface GetResourceResourceGoogleGke {
2526
2570
  * Unique human-readable name of the Resource.
2527
2571
  */
2528
2572
  name?: string;
2573
+ /**
2574
+ * The local port used by clients to connect to this resource.
2575
+ */
2576
+ portOverride?: number;
2529
2577
  /**
2530
2578
  * The ID of the remote identity group to use for remote identity connections.
2531
2579
  */
@@ -2582,6 +2630,10 @@ export interface GetResourceResourceGoogleGkeUserImpersonation {
2582
2630
  * Unique human-readable name of the Resource.
2583
2631
  */
2584
2632
  name?: string;
2633
+ /**
2634
+ * The local port used by clients to connect to this resource.
2635
+ */
2636
+ portOverride?: number;
2585
2637
  /**
2586
2638
  * ID of the secret store containing credentials for this resource, if any.
2587
2639
  */
@@ -5446,10 +5498,6 @@ export interface NodeGateway {
5446
5498
  * The hostname/port tuple which the gateway daemon will bind to. If not provided on create, set to "0.0.0.0:listen_address_port".
5447
5499
  */
5448
5500
  bindAddress: string;
5449
- /**
5450
- * ConnectsTo can be used to restrict the peering between relays and gateways.
5451
- */
5452
- connectsTo?: string;
5453
5501
  /**
5454
5502
  * Device is a read only device name uploaded by the gateway process when it comes online.
5455
5503
  */
@@ -5491,10 +5539,6 @@ export interface NodeGatewayMaintenanceWindow {
5491
5539
  requireIdleness: boolean;
5492
5540
  }
5493
5541
  export interface NodeRelay {
5494
- /**
5495
- * ConnectsTo can be used to restrict the peering between relays and gateways.
5496
- */
5497
- connectsTo?: string;
5498
5542
  /**
5499
5543
  * Device is a read only device name uploaded by the gateway process when it comes online.
5500
5544
  */
@@ -7568,6 +7612,10 @@ export interface ResourceGoogleGke {
7568
7612
  * Unique human-readable name of the Resource.
7569
7613
  */
7570
7614
  name: string;
7615
+ /**
7616
+ * The local port used by clients to connect to this resource.
7617
+ */
7618
+ portOverride: number;
7571
7619
  /**
7572
7620
  * The ID of the remote identity group to use for remote identity connections.
7573
7621
  */
@@ -7620,6 +7668,10 @@ export interface ResourceGoogleGkeUserImpersonation {
7620
7668
  * Unique human-readable name of the Resource.
7621
7669
  */
7622
7670
  name: string;
7671
+ /**
7672
+ * The local port used by clients to connect to this resource.
7673
+ */
7674
+ portOverride: number;
7623
7675
  /**
7624
7676
  * ID of the secret store containing credentials for this resource, if any.
7625
7677
  */