@pulumiverse/scaleway 1.47.0-alpha.1776176584 → 1.47.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 (45) hide show
  1. package/getRedisCluster.d.ts +1 -0
  2. package/getRedisCluster.js.map +1 -1
  3. package/interlink/getLink.d.ts +201 -0
  4. package/interlink/getLink.js +88 -0
  5. package/interlink/getLink.js.map +1 -0
  6. package/interlink/getRoutingPolicy.d.ts +148 -0
  7. package/interlink/getRoutingPolicy.js +88 -0
  8. package/interlink/getRoutingPolicy.js.map +1 -0
  9. package/interlink/index.d.ts +12 -0
  10. package/interlink/index.js +27 -1
  11. package/interlink/index.js.map +1 -1
  12. package/interlink/link.d.ts +305 -0
  13. package/interlink/link.js +136 -0
  14. package/interlink/link.js.map +1 -0
  15. package/interlink/routingPolicy.d.ts +201 -0
  16. package/interlink/routingPolicy.js +124 -0
  17. package/interlink/routingPolicy.js.map +1 -0
  18. package/kubernetes/pool.d.ts +7 -30
  19. package/kubernetes/pool.js +0 -29
  20. package/kubernetes/pool.js.map +1 -1
  21. package/kubernetesNodePool.d.ts +7 -30
  22. package/kubernetesNodePool.js +0 -29
  23. package/kubernetesNodePool.js.map +1 -1
  24. package/network/connector.d.ts +2 -6
  25. package/network/connector.js +1 -1
  26. package/network/connector.js.map +1 -1
  27. package/network/getRoute.d.ts +1 -0
  28. package/network/getRoute.js.map +1 -1
  29. package/network/route.d.ts +37 -0
  30. package/network/route.js +27 -0
  31. package/network/route.js.map +1 -1
  32. package/package.json +2 -2
  33. package/redis/cluster.d.ts +8 -0
  34. package/redis/cluster.js +3 -1
  35. package/redis/cluster.js.map +1 -1
  36. package/redis/getCluster.d.ts +1 -0
  37. package/redis/getCluster.js.map +1 -1
  38. package/redisCluster.d.ts +8 -0
  39. package/redisCluster.js +3 -1
  40. package/redisCluster.js.map +1 -1
  41. package/types/input.d.ts +28 -0
  42. package/types/output.d.ts +56 -0
  43. package/vpcRoute.d.ts +37 -0
  44. package/vpcRoute.js +27 -0
  45. package/vpcRoute.js.map +1 -1
@@ -47,6 +47,7 @@ export interface GetRedisClusterResult {
47
47
  * The number of nodes in the Redis Cluster.
48
48
  */
49
49
  readonly clusterSize: number;
50
+ readonly connectionString: string;
50
51
  /**
51
52
  * The date and time of creation of the Redis Cluster.
52
53
  */
@@ -1 +1 @@
1
- {"version":3,"file":"getRedisCluster.js","sourceRoot":"","sources":["../getRedisCluster.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;GAIG;AACH,sIAAsI;AACtI,SAAgB,eAAe,CAAC,IAA0B,EAAE,IAA2B;IACnF,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,oJAAoJ,CAAC,CAAA;IACrK,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,gDAAgD,EAAE;QAC3E,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAVD,0CAUC;AAkGD;;;;GAIG;AACH,sIAAsI;AACtI,SAAgB,qBAAqB,CAAC,IAAgC,EAAE,IAAiC;IACrG,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,oJAAoJ,CAAC,CAAA;IACrK,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OA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,CAAC,OAAO,CAAC,YAAY,CAAC,gDAAgD,EAAE;QACjF,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAVD,sDAUC"}
@@ -0,0 +1,201 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as outputs from "../types/output";
3
+ /**
4
+ * Gets information about an Interlink Link.
5
+ *
6
+ * A link is a logical Interlink session created within a PoP, representing the connection between your infrastructure and Scaleway.
7
+ *
8
+ * For more information, see [the Interlink documentation](https://www.scaleway.com/en/docs/network/interlink/) and [API documentation](https://www.scaleway.com/en/developers/api/interlink/).
9
+ *
10
+ * ## Example Usage
11
+ *
12
+ * ```typescript
13
+ * import * as pulumi from "@pulumi/pulumi";
14
+ * import * as scaleway from "@pulumiverse/scaleway";
15
+ *
16
+ * // Get link info by ID
17
+ * const myLink = scaleway.interlink.getLink({
18
+ * linkId: "11111111-1111-1111-1111-111111111111",
19
+ * });
20
+ * ```
21
+ *
22
+ * ```typescript
23
+ * import * as pulumi from "@pulumi/pulumi";
24
+ * import * as scaleway from "@pulumiverse/scaleway";
25
+ *
26
+ * // Get link info by name
27
+ * const myLink = scaleway.interlink.getLink({
28
+ * name: "my-link",
29
+ * });
30
+ * ```
31
+ */
32
+ export declare function getLink(args?: GetLinkArgs, opts?: pulumi.InvokeOptions): Promise<GetLinkResult>;
33
+ /**
34
+ * A collection of arguments for invoking getLink.
35
+ */
36
+ export interface GetLinkArgs {
37
+ /**
38
+ * Unique identifier of the link. Conflicts with `name`.
39
+ *
40
+ * > **Note** You must specify at least one: `name` and/or `linkId`.
41
+ */
42
+ linkId?: string;
43
+ /**
44
+ * Name of the link. Conflicts with `linkId`.
45
+ */
46
+ name?: string;
47
+ /**
48
+ * Project ID.
49
+ */
50
+ projectId?: string;
51
+ /**
52
+ * `region`) The region in which the link exists.
53
+ */
54
+ region?: string;
55
+ }
56
+ /**
57
+ * A collection of values returned by getLink.
58
+ */
59
+ export interface GetLinkResult {
60
+ /**
61
+ * Rate limited bandwidth of the link.
62
+ */
63
+ readonly bandwidthMbps: number;
64
+ /**
65
+ * Status of the link's BGP IPv4 session.
66
+ */
67
+ readonly bgpV4Status: string;
68
+ /**
69
+ * Status of the link's BGP IPv6 session.
70
+ */
71
+ readonly bgpV6Status: string;
72
+ /**
73
+ * Dedicated physical connection supporting the link.
74
+ */
75
+ readonly connectionId: string;
76
+ /**
77
+ * Creation date of the link.
78
+ */
79
+ readonly createdAt: string;
80
+ /**
81
+ * Defines whether route propagation is enabled or not.
82
+ */
83
+ readonly enableRoutePropagation: boolean;
84
+ /**
85
+ * The provider-assigned unique ID for this managed resource.
86
+ */
87
+ readonly id: string;
88
+ readonly linkId?: string;
89
+ readonly name?: string;
90
+ /**
91
+ * Organization ID.
92
+ */
93
+ readonly organizationId: string;
94
+ /**
95
+ * Used to identify a link from a user or partner's point of view.
96
+ */
97
+ readonly pairingKey: string;
98
+ /**
99
+ * ID of the partner facilitating the link.
100
+ */
101
+ readonly partnerId: string;
102
+ /**
103
+ * For self-hosted links, the peer AS Number to establish BGP session.
104
+ */
105
+ readonly peerAsn: number;
106
+ /**
107
+ * BGP configuration on peer's side (on-premises or other hosting provider).
108
+ */
109
+ readonly peerBgpConfigs: outputs.interlink.GetLinkPeerBgpConfig[];
110
+ /**
111
+ * ID of the PoP where the link's corresponding connection is located.
112
+ */
113
+ readonly popId: string;
114
+ readonly projectId?: string;
115
+ readonly region?: string;
116
+ /**
117
+ * ID of the routing policy IPv4 attached to the link.
118
+ */
119
+ readonly routingPolicyV4Id: string;
120
+ /**
121
+ * ID of the routing policy IPv6 attached to the link.
122
+ */
123
+ readonly routingPolicyV6Id: string;
124
+ /**
125
+ * BGP configuration on Scaleway's side.
126
+ */
127
+ readonly scwBgpConfigs: outputs.interlink.GetLinkScwBgpConfig[];
128
+ /**
129
+ * Status of the link.
130
+ */
131
+ readonly status: string;
132
+ /**
133
+ * List of tags associated with the link.
134
+ */
135
+ readonly tags: string[];
136
+ /**
137
+ * Last modification date of the link.
138
+ */
139
+ readonly updatedAt: string;
140
+ /**
141
+ * VLAN of the link.
142
+ */
143
+ readonly vlan: number;
144
+ /**
145
+ * ID of the Scaleway VPC attached to the link.
146
+ */
147
+ readonly vpcId: string;
148
+ }
149
+ /**
150
+ * Gets information about an Interlink Link.
151
+ *
152
+ * A link is a logical Interlink session created within a PoP, representing the connection between your infrastructure and Scaleway.
153
+ *
154
+ * For more information, see [the Interlink documentation](https://www.scaleway.com/en/docs/network/interlink/) and [API documentation](https://www.scaleway.com/en/developers/api/interlink/).
155
+ *
156
+ * ## Example Usage
157
+ *
158
+ * ```typescript
159
+ * import * as pulumi from "@pulumi/pulumi";
160
+ * import * as scaleway from "@pulumiverse/scaleway";
161
+ *
162
+ * // Get link info by ID
163
+ * const myLink = scaleway.interlink.getLink({
164
+ * linkId: "11111111-1111-1111-1111-111111111111",
165
+ * });
166
+ * ```
167
+ *
168
+ * ```typescript
169
+ * import * as pulumi from "@pulumi/pulumi";
170
+ * import * as scaleway from "@pulumiverse/scaleway";
171
+ *
172
+ * // Get link info by name
173
+ * const myLink = scaleway.interlink.getLink({
174
+ * name: "my-link",
175
+ * });
176
+ * ```
177
+ */
178
+ export declare function getLinkOutput(args?: GetLinkOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetLinkResult>;
179
+ /**
180
+ * A collection of arguments for invoking getLink.
181
+ */
182
+ export interface GetLinkOutputArgs {
183
+ /**
184
+ * Unique identifier of the link. Conflicts with `name`.
185
+ *
186
+ * > **Note** You must specify at least one: `name` and/or `linkId`.
187
+ */
188
+ linkId?: pulumi.Input<string>;
189
+ /**
190
+ * Name of the link. Conflicts with `linkId`.
191
+ */
192
+ name?: pulumi.Input<string>;
193
+ /**
194
+ * Project ID.
195
+ */
196
+ projectId?: pulumi.Input<string>;
197
+ /**
198
+ * `region`) The region in which the link exists.
199
+ */
200
+ region?: pulumi.Input<string>;
201
+ }
@@ -0,0 +1,88 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by pulumi-language-nodejs. ***
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.getLinkOutput = exports.getLink = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Gets information about an Interlink Link.
10
+ *
11
+ * A link is a logical Interlink session created within a PoP, representing the connection between your infrastructure and Scaleway.
12
+ *
13
+ * For more information, see [the Interlink documentation](https://www.scaleway.com/en/docs/network/interlink/) and [API documentation](https://www.scaleway.com/en/developers/api/interlink/).
14
+ *
15
+ * ## Example Usage
16
+ *
17
+ * ```typescript
18
+ * import * as pulumi from "@pulumi/pulumi";
19
+ * import * as scaleway from "@pulumiverse/scaleway";
20
+ *
21
+ * // Get link info by ID
22
+ * const myLink = scaleway.interlink.getLink({
23
+ * linkId: "11111111-1111-1111-1111-111111111111",
24
+ * });
25
+ * ```
26
+ *
27
+ * ```typescript
28
+ * import * as pulumi from "@pulumi/pulumi";
29
+ * import * as scaleway from "@pulumiverse/scaleway";
30
+ *
31
+ * // Get link info by name
32
+ * const myLink = scaleway.interlink.getLink({
33
+ * name: "my-link",
34
+ * });
35
+ * ```
36
+ */
37
+ function getLink(args, opts) {
38
+ args = args || {};
39
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
40
+ return pulumi.runtime.invoke("scaleway:interlink/getLink:getLink", {
41
+ "linkId": args.linkId,
42
+ "name": args.name,
43
+ "projectId": args.projectId,
44
+ "region": args.region,
45
+ }, opts);
46
+ }
47
+ exports.getLink = getLink;
48
+ /**
49
+ * Gets information about an Interlink Link.
50
+ *
51
+ * A link is a logical Interlink session created within a PoP, representing the connection between your infrastructure and Scaleway.
52
+ *
53
+ * For more information, see [the Interlink documentation](https://www.scaleway.com/en/docs/network/interlink/) and [API documentation](https://www.scaleway.com/en/developers/api/interlink/).
54
+ *
55
+ * ## Example Usage
56
+ *
57
+ * ```typescript
58
+ * import * as pulumi from "@pulumi/pulumi";
59
+ * import * as scaleway from "@pulumiverse/scaleway";
60
+ *
61
+ * // Get link info by ID
62
+ * const myLink = scaleway.interlink.getLink({
63
+ * linkId: "11111111-1111-1111-1111-111111111111",
64
+ * });
65
+ * ```
66
+ *
67
+ * ```typescript
68
+ * import * as pulumi from "@pulumi/pulumi";
69
+ * import * as scaleway from "@pulumiverse/scaleway";
70
+ *
71
+ * // Get link info by name
72
+ * const myLink = scaleway.interlink.getLink({
73
+ * name: "my-link",
74
+ * });
75
+ * ```
76
+ */
77
+ function getLinkOutput(args, opts) {
78
+ args = args || {};
79
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
80
+ return pulumi.runtime.invokeOutput("scaleway:interlink/getLink:getLink", {
81
+ "linkId": args.linkId,
82
+ "name": args.name,
83
+ "projectId": args.projectId,
84
+ "region": args.region,
85
+ }, opts);
86
+ }
87
+ exports.getLinkOutput = getLinkOutput;
88
+ //# sourceMappingURL=getLink.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getLink.js","sourceRoot":"","sources":["../../interlink/getLink.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,SAAgB,OAAO,CAAC,IAAkB,EAAE,IAA2B;IACnE,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,oCAAoC,EAAE;QAC/D,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AATD,0BASC;AAuHD;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,SAAgB,aAAa,CAAC,IAAwB,EAAE,IAAiC;IACrF,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,oCAAoC,EAAE;QACrE,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AATD,sCASC"}
@@ -0,0 +1,148 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Gets information about an Interlink Routing Policy.
4
+ *
5
+ * A routing policy defines IP prefix filters that control which routes are accepted from and advertised to a peer via BGP on an Interlink connection.
6
+ *
7
+ * For more information, see [the Interlink documentation](https://www.scaleway.com/en/docs/network/interlink/) and [API documentation](https://www.scaleway.com/en/developers/api/interlink/).
8
+ *
9
+ * ## Example Usage
10
+ *
11
+ * ```typescript
12
+ * import * as pulumi from "@pulumi/pulumi";
13
+ * import * as scaleway from "@pulumiverse/scaleway";
14
+ *
15
+ * // Get routing policy info by ID
16
+ * const myPolicy = scaleway.interlink.getRoutingPolicy({
17
+ * routingPolicyId: "11111111-1111-1111-1111-111111111111",
18
+ * });
19
+ * ```
20
+ *
21
+ * ```typescript
22
+ * import * as pulumi from "@pulumi/pulumi";
23
+ * import * as scaleway from "@pulumiverse/scaleway";
24
+ *
25
+ * // Get routing policy info by name
26
+ * const myPolicy = scaleway.interlink.getRoutingPolicy({
27
+ * name: "my-routing-policy",
28
+ * });
29
+ * ```
30
+ */
31
+ export declare function getRoutingPolicy(args?: GetRoutingPolicyArgs, opts?: pulumi.InvokeOptions): Promise<GetRoutingPolicyResult>;
32
+ /**
33
+ * A collection of arguments for invoking getRoutingPolicy.
34
+ */
35
+ export interface GetRoutingPolicyArgs {
36
+ /**
37
+ * The name of the routing policy. Conflicts with `routingPolicyId`.
38
+ */
39
+ name?: string;
40
+ /**
41
+ * The ID of the project the routing policy is associated with.
42
+ */
43
+ projectId?: string;
44
+ /**
45
+ * `region`) The region in which the routing policy exists.
46
+ */
47
+ region?: string;
48
+ /**
49
+ * The ID of the routing policy. Conflicts with `name`.
50
+ *
51
+ * > **Note** You must specify at least one: `name` and/or `routingPolicyId`.
52
+ */
53
+ routingPolicyId?: string;
54
+ }
55
+ /**
56
+ * A collection of values returned by getRoutingPolicy.
57
+ */
58
+ export interface GetRoutingPolicyResult {
59
+ /**
60
+ * The date and time of creation of the routing policy.
61
+ */
62
+ readonly createdAt: string;
63
+ /**
64
+ * The provider-assigned unique ID for this managed resource.
65
+ */
66
+ readonly id: string;
67
+ /**
68
+ * Whether the routing policy uses IPv6 prefixes.
69
+ */
70
+ readonly isIpv6: boolean;
71
+ readonly name?: string;
72
+ /**
73
+ * The Organization ID the routing policy is associated with.
74
+ */
75
+ readonly organizationId: string;
76
+ /**
77
+ * List of IP prefixes accepted from the peer.
78
+ */
79
+ readonly prefixFilterIns: string[];
80
+ /**
81
+ * List of IP prefixes advertised to the peer.
82
+ */
83
+ readonly prefixFilterOuts: string[];
84
+ readonly projectId?: string;
85
+ readonly region?: string;
86
+ readonly routingPolicyId?: string;
87
+ /**
88
+ * The tags associated with the routing policy.
89
+ */
90
+ readonly tags: string[];
91
+ /**
92
+ * The date and time of the last update of the routing policy.
93
+ */
94
+ readonly updatedAt: string;
95
+ }
96
+ /**
97
+ * Gets information about an Interlink Routing Policy.
98
+ *
99
+ * A routing policy defines IP prefix filters that control which routes are accepted from and advertised to a peer via BGP on an Interlink connection.
100
+ *
101
+ * For more information, see [the Interlink documentation](https://www.scaleway.com/en/docs/network/interlink/) and [API documentation](https://www.scaleway.com/en/developers/api/interlink/).
102
+ *
103
+ * ## Example Usage
104
+ *
105
+ * ```typescript
106
+ * import * as pulumi from "@pulumi/pulumi";
107
+ * import * as scaleway from "@pulumiverse/scaleway";
108
+ *
109
+ * // Get routing policy info by ID
110
+ * const myPolicy = scaleway.interlink.getRoutingPolicy({
111
+ * routingPolicyId: "11111111-1111-1111-1111-111111111111",
112
+ * });
113
+ * ```
114
+ *
115
+ * ```typescript
116
+ * import * as pulumi from "@pulumi/pulumi";
117
+ * import * as scaleway from "@pulumiverse/scaleway";
118
+ *
119
+ * // Get routing policy info by name
120
+ * const myPolicy = scaleway.interlink.getRoutingPolicy({
121
+ * name: "my-routing-policy",
122
+ * });
123
+ * ```
124
+ */
125
+ export declare function getRoutingPolicyOutput(args?: GetRoutingPolicyOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetRoutingPolicyResult>;
126
+ /**
127
+ * A collection of arguments for invoking getRoutingPolicy.
128
+ */
129
+ export interface GetRoutingPolicyOutputArgs {
130
+ /**
131
+ * The name of the routing policy. Conflicts with `routingPolicyId`.
132
+ */
133
+ name?: pulumi.Input<string>;
134
+ /**
135
+ * The ID of the project the routing policy is associated with.
136
+ */
137
+ projectId?: pulumi.Input<string>;
138
+ /**
139
+ * `region`) The region in which the routing policy exists.
140
+ */
141
+ region?: pulumi.Input<string>;
142
+ /**
143
+ * The ID of the routing policy. Conflicts with `name`.
144
+ *
145
+ * > **Note** You must specify at least one: `name` and/or `routingPolicyId`.
146
+ */
147
+ routingPolicyId?: pulumi.Input<string>;
148
+ }
@@ -0,0 +1,88 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by pulumi-language-nodejs. ***
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.getRoutingPolicyOutput = exports.getRoutingPolicy = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Gets information about an Interlink Routing Policy.
10
+ *
11
+ * A routing policy defines IP prefix filters that control which routes are accepted from and advertised to a peer via BGP on an Interlink connection.
12
+ *
13
+ * For more information, see [the Interlink documentation](https://www.scaleway.com/en/docs/network/interlink/) and [API documentation](https://www.scaleway.com/en/developers/api/interlink/).
14
+ *
15
+ * ## Example Usage
16
+ *
17
+ * ```typescript
18
+ * import * as pulumi from "@pulumi/pulumi";
19
+ * import * as scaleway from "@pulumiverse/scaleway";
20
+ *
21
+ * // Get routing policy info by ID
22
+ * const myPolicy = scaleway.interlink.getRoutingPolicy({
23
+ * routingPolicyId: "11111111-1111-1111-1111-111111111111",
24
+ * });
25
+ * ```
26
+ *
27
+ * ```typescript
28
+ * import * as pulumi from "@pulumi/pulumi";
29
+ * import * as scaleway from "@pulumiverse/scaleway";
30
+ *
31
+ * // Get routing policy info by name
32
+ * const myPolicy = scaleway.interlink.getRoutingPolicy({
33
+ * name: "my-routing-policy",
34
+ * });
35
+ * ```
36
+ */
37
+ function getRoutingPolicy(args, opts) {
38
+ args = args || {};
39
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
40
+ return pulumi.runtime.invoke("scaleway:interlink/getRoutingPolicy:getRoutingPolicy", {
41
+ "name": args.name,
42
+ "projectId": args.projectId,
43
+ "region": args.region,
44
+ "routingPolicyId": args.routingPolicyId,
45
+ }, opts);
46
+ }
47
+ exports.getRoutingPolicy = getRoutingPolicy;
48
+ /**
49
+ * Gets information about an Interlink Routing Policy.
50
+ *
51
+ * A routing policy defines IP prefix filters that control which routes are accepted from and advertised to a peer via BGP on an Interlink connection.
52
+ *
53
+ * For more information, see [the Interlink documentation](https://www.scaleway.com/en/docs/network/interlink/) and [API documentation](https://www.scaleway.com/en/developers/api/interlink/).
54
+ *
55
+ * ## Example Usage
56
+ *
57
+ * ```typescript
58
+ * import * as pulumi from "@pulumi/pulumi";
59
+ * import * as scaleway from "@pulumiverse/scaleway";
60
+ *
61
+ * // Get routing policy info by ID
62
+ * const myPolicy = scaleway.interlink.getRoutingPolicy({
63
+ * routingPolicyId: "11111111-1111-1111-1111-111111111111",
64
+ * });
65
+ * ```
66
+ *
67
+ * ```typescript
68
+ * import * as pulumi from "@pulumi/pulumi";
69
+ * import * as scaleway from "@pulumiverse/scaleway";
70
+ *
71
+ * // Get routing policy info by name
72
+ * const myPolicy = scaleway.interlink.getRoutingPolicy({
73
+ * name: "my-routing-policy",
74
+ * });
75
+ * ```
76
+ */
77
+ function getRoutingPolicyOutput(args, opts) {
78
+ args = args || {};
79
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
80
+ return pulumi.runtime.invokeOutput("scaleway:interlink/getRoutingPolicy:getRoutingPolicy", {
81
+ "name": args.name,
82
+ "projectId": args.projectId,
83
+ "region": args.region,
84
+ "routingPolicyId": args.routingPolicyId,
85
+ }, opts);
86
+ }
87
+ exports.getRoutingPolicyOutput = getRoutingPolicyOutput;
88
+ //# sourceMappingURL=getRoutingPolicy.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getRoutingPolicy.js","sourceRoot":"","sources":["../../interlink/getRoutingPolicy.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,SAAgB,gBAAgB,CAAC,IAA2B,EAAE,IAA2B;IACrF,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,sDAAsD,EAAE;QACjF,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,iBAAiB,EAAE,IAAI,CAAC,eAAe;KAC1C,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AATD,4CASC;AAmED;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,SAAgB,sBAAsB,CAAC,IAAiC,EAAE,IAAiC;IACvG,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,sDAAsD,EAAE;QACvF,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,iBAAiB,EAAE,IAAI,CAAC,eAAe;KAC1C,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AATD,wDASC"}
@@ -1,3 +1,6 @@
1
+ export { GetLinkArgs, GetLinkResult, GetLinkOutputArgs } from "./getLink";
2
+ export declare const getLink: typeof import("./getLink").getLink;
3
+ export declare const getLinkOutput: typeof import("./getLink").getLinkOutput;
1
4
  export { GetPartnerArgs, GetPartnerResult, GetPartnerOutputArgs } from "./getPartner";
2
5
  export declare const getPartner: typeof import("./getPartner").getPartner;
3
6
  export declare const getPartnerOutput: typeof import("./getPartner").getPartnerOutput;
@@ -10,3 +13,12 @@ export declare const getPopOutput: typeof import("./getPop").getPopOutput;
10
13
  export { GetPopsArgs, GetPopsResult, GetPopsOutputArgs } from "./getPops";
11
14
  export declare const getPops: typeof import("./getPops").getPops;
12
15
  export declare const getPopsOutput: typeof import("./getPops").getPopsOutput;
16
+ export { GetRoutingPolicyArgs, GetRoutingPolicyResult, GetRoutingPolicyOutputArgs } from "./getRoutingPolicy";
17
+ export declare const getRoutingPolicy: typeof import("./getRoutingPolicy").getRoutingPolicy;
18
+ export declare const getRoutingPolicyOutput: typeof import("./getRoutingPolicy").getRoutingPolicyOutput;
19
+ export { LinkArgs, LinkState } from "./link";
20
+ export type Link = import("./link").Link;
21
+ export declare const Link: typeof import("./link").Link;
22
+ export { RoutingPolicyArgs, RoutingPolicyState } from "./routingPolicy";
23
+ export type RoutingPolicy = import("./routingPolicy").RoutingPolicy;
24
+ export declare const RoutingPolicy: typeof import("./routingPolicy").RoutingPolicy;
@@ -2,8 +2,12 @@
2
2
  // *** WARNING: this file was generated by pulumi-language-nodejs. ***
3
3
  // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
  Object.defineProperty(exports, "__esModule", { value: true });
5
- exports.getPopsOutput = exports.getPops = exports.getPopOutput = exports.getPop = exports.getPartnersOutput = exports.getPartners = exports.getPartnerOutput = exports.getPartner = void 0;
5
+ exports.RoutingPolicy = exports.Link = exports.getRoutingPolicyOutput = exports.getRoutingPolicy = exports.getPopsOutput = exports.getPops = exports.getPopOutput = exports.getPop = exports.getPartnersOutput = exports.getPartners = exports.getPartnerOutput = exports.getPartner = exports.getLinkOutput = exports.getLink = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
6
7
  const utilities = require("../utilities");
8
+ exports.getLink = null;
9
+ exports.getLinkOutput = null;
10
+ utilities.lazyLoad(exports, ["getLink", "getLinkOutput"], () => require("./getLink"));
7
11
  exports.getPartner = null;
8
12
  exports.getPartnerOutput = null;
9
13
  utilities.lazyLoad(exports, ["getPartner", "getPartnerOutput"], () => require("./getPartner"));
@@ -16,4 +20,26 @@ utilities.lazyLoad(exports, ["getPop", "getPopOutput"], () => require("./getPop"
16
20
  exports.getPops = null;
17
21
  exports.getPopsOutput = null;
18
22
  utilities.lazyLoad(exports, ["getPops", "getPopsOutput"], () => require("./getPops"));
23
+ exports.getRoutingPolicy = null;
24
+ exports.getRoutingPolicyOutput = null;
25
+ utilities.lazyLoad(exports, ["getRoutingPolicy", "getRoutingPolicyOutput"], () => require("./getRoutingPolicy"));
26
+ exports.Link = null;
27
+ utilities.lazyLoad(exports, ["Link"], () => require("./link"));
28
+ exports.RoutingPolicy = null;
29
+ utilities.lazyLoad(exports, ["RoutingPolicy"], () => require("./routingPolicy"));
30
+ const _module = {
31
+ version: utilities.getVersion(),
32
+ construct: (name, type, urn) => {
33
+ switch (type) {
34
+ case "scaleway:interlink/link:Link":
35
+ return new exports.Link(name, undefined, { urn });
36
+ case "scaleway:interlink/routingPolicy:RoutingPolicy":
37
+ return new exports.RoutingPolicy(name, undefined, { urn });
38
+ default:
39
+ throw new Error(`unknown resource type ${type}`);
40
+ }
41
+ },
42
+ };
43
+ pulumi.runtime.registerResourceModule("scaleway", "interlink/link", _module);
44
+ pulumi.runtime.registerResourceModule("scaleway", "interlink/routingPolicy", _module);
19
45
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../interlink/index.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,0CAA0C;AAI7B,QAAA,UAAU,GAA6C,IAAW,CAAC;AACnE,QAAA,gBAAgB,GAAmD,IAAW,CAAC;AAC5F,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,YAAY,EAAC,kBAAkB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,cAAc,CAAC,CAAC,CAAC;AAGjF,QAAA,WAAW,GAA+C,IAAW,CAAC;AACtE,QAAA,iBAAiB,GAAqD,IAAW,CAAC;AAC/F,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,aAAa,EAAC,mBAAmB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,eAAe,CAAC,CAAC,CAAC;AAGpF,QAAA,MAAM,GAAqC,IAAW,CAAC;AACvD,QAAA,YAAY,GAA2C,IAAW,CAAC;AAChF,SAAS,CAAC,QAA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