@pulumiverse/scaleway 1.16.0 → 1.17.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.
- package/blockSnapshot.d.ts +17 -12
- package/blockSnapshot.js +8 -3
- package/blockSnapshot.js.map +1 -1
- package/blockVolume.d.ts +22 -19
- package/blockVolume.js +7 -4
- package/blockVolume.js.map +1 -1
- package/cockpit.d.ts +23 -11
- package/cockpit.js +1 -1
- package/cockpit.js.map +1 -1
- package/cockpitAlertManager.d.ts +19 -17
- package/cockpitAlertManager.js +5 -3
- package/cockpitAlertManager.js.map +1 -1
- package/cockpitGrafanaUser.d.ts +18 -14
- package/cockpitGrafanaUser.js +7 -3
- package/cockpitGrafanaUser.js.map +1 -1
- package/cockpitSource.d.ts +35 -23
- package/cockpitSource.js +9 -3
- package/cockpitSource.js.map +1 -1
- package/cockpitToken.d.ts +21 -12
- package/cockpitToken.js +12 -3
- package/cockpitToken.js.map +1 -1
- package/databaseInstance.d.ts +8 -4
- package/databaseInstance.js.map +1 -1
- package/domainRecord.d.ts +42 -21
- package/domainRecord.js +30 -9
- package/domainRecord.js.map +1 -1
- package/domainZone.d.ts +22 -37
- package/domainZone.js +1 -16
- package/domainZone.js.map +1 -1
- package/getBlockSnapshot.d.ts +16 -12
- package/getBlockSnapshot.js +6 -2
- package/getBlockSnapshot.js.map +1 -1
- package/getBlockVolume.d.ts +10 -8
- package/getBlockVolume.js +4 -2
- package/getBlockVolume.js.map +1 -1
- package/getCockpit.d.ts +33 -18
- package/getCockpit.js +28 -14
- package/getCockpit.js.map +1 -1
- package/getCockpitPlan.d.ts +18 -6
- package/getCockpitPlan.js +16 -4
- package/getCockpitPlan.js.map +1 -1
- package/getDomainRecord.d.ts +40 -34
- package/getDomainRecord.js +22 -8
- package/getDomainRecord.js.map +1 -1
- package/getDomainZone.d.ts +10 -42
- package/getDomainZone.js +0 -32
- package/getDomainZone.js.map +1 -1
- package/getMnqSns.d.ts +82 -0
- package/getMnqSns.js +64 -0
- package/getMnqSns.js.map +1 -0
- package/getSecret.d.ts +46 -28
- package/getSecret.js +28 -12
- package/getSecret.js.map +1 -1
- package/getSecretVersion.d.ts +60 -39
- package/getSecretVersion.js +46 -16
- package/getSecretVersion.js.map +1 -1
- package/iamPolicy.d.ts +24 -0
- package/iamPolicy.js +24 -0
- package/iamPolicy.js.map +1 -1
- package/index.d.ts +6 -0
- package/index.js +11 -3
- package/index.js.map +1 -1
- package/instanceServer.d.ts +35 -2
- package/instanceServer.js.map +1 -1
- package/loadbalancerFrontend.d.ts +2 -2
- package/package.json +2 -2
- package/secret.d.ts +47 -30
- package/secret.js +7 -22
- package/secret.js.map +1 -1
- package/secretVersion.d.ts +28 -25
- package/secretVersion.js +11 -5
- package/secretVersion.js.map +1 -1
- package/temDomain.d.ts +6 -2
- package/temDomain.js.map +1 -1
- package/temWebhook.d.ts +229 -0
- package/temWebhook.js +171 -0
- package/temWebhook.js.map +1 -0
- package/types/input.d.ts +44 -20
- package/types/output.d.ts +68 -28
package/domainRecord.js
CHANGED
|
@@ -6,12 +6,19 @@ exports.DomainRecord = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
-
*
|
|
10
|
-
*
|
|
9
|
+
* The `scaleway.DomainRecord` resource allows you to create and manage DNS records for Scaleway domains.
|
|
10
|
+
*
|
|
11
|
+
* Refer to the Domains and DNS [product documentation](https://www.scaleway.com/en/docs/network/domains-and-dns/) and [API documentation](https://www.scaleway.com/en/developers/api/domains-and-dns/) for more information.
|
|
11
12
|
*
|
|
12
13
|
* ## Example Usage
|
|
13
14
|
*
|
|
14
|
-
* ###
|
|
15
|
+
* ### Create basic DNS records
|
|
16
|
+
*
|
|
17
|
+
* The folllowing commands allow you to:
|
|
18
|
+
*
|
|
19
|
+
* - create an A record for the `www.domain.tld` domain, pointing to `1.2.3.4` and another one pointing to `1.2.3.5`
|
|
20
|
+
*
|
|
21
|
+
* - create an MX record with the `mx.online.net.` mail server and a priority of 10, and another one with the `mx-cache.online.net.` mail server and a priority of 20
|
|
15
22
|
*
|
|
16
23
|
* ```typescript
|
|
17
24
|
* import * as pulumi from "@pulumi/pulumi";
|
|
@@ -49,7 +56,17 @@ const utilities = require("./utilities");
|
|
|
49
56
|
* });
|
|
50
57
|
* ```
|
|
51
58
|
*
|
|
52
|
-
* ###
|
|
59
|
+
* ### Create dynamic records
|
|
60
|
+
*
|
|
61
|
+
* The folllowing commands allow you to:
|
|
62
|
+
*
|
|
63
|
+
* - create a Geo IP record for `images.domain.tld` that points to different IPs based on the user's location: `1.2.3.5` for users in France (EU), and `4.3.2.1` for users in North America (NA)
|
|
64
|
+
*
|
|
65
|
+
* - create an HTTP service record for `app.domain.tld` that checks the health of specified IPs and responds based on their status.
|
|
66
|
+
*
|
|
67
|
+
* - create view-based records for `db.domain.tld` that resolve differently based on the client's subnet.
|
|
68
|
+
*
|
|
69
|
+
* - create a weighted record for `web.domain.tld` that directs traffic to different IPs based on their weights.
|
|
53
70
|
*
|
|
54
71
|
* ```typescript
|
|
55
72
|
* import * as pulumi from "@pulumi/pulumi";
|
|
@@ -128,7 +145,12 @@ const utilities = require("./utilities");
|
|
|
128
145
|
* });
|
|
129
146
|
* ```
|
|
130
147
|
*
|
|
131
|
-
* ### Create an
|
|
148
|
+
* ### Create an Instance and add records with the new Instance IP
|
|
149
|
+
*
|
|
150
|
+
* The following commands allow you to:
|
|
151
|
+
*
|
|
152
|
+
* - create a Scaleway Instance
|
|
153
|
+
* - assign The Instance's IP address to various DNS records for a specified DNS zone
|
|
132
154
|
*
|
|
133
155
|
* ```typescript
|
|
134
156
|
* import * as pulumi from "@pulumi/pulumi";
|
|
@@ -178,14 +200,13 @@ const utilities = require("./utilities");
|
|
|
178
200
|
*
|
|
179
201
|
* ## Multiple records
|
|
180
202
|
*
|
|
181
|
-
* Some record types can have multiple
|
|
182
|
-
* You can duplicate a resource `scaleway.DomainRecord` with the same `name`, the records will be added.
|
|
203
|
+
* Some record types can have multiple data with the same name (e.g., `A`, `AAAA`, `MX`, `NS`, etc.). You can duplicate a `scaleway.DomainRecord` resource with the same `name`, and the records will be added.
|
|
183
204
|
*
|
|
184
|
-
*
|
|
205
|
+
* Note however, that some records (e.g., CNAME, multiple dynamic records of different types) must be unique.
|
|
185
206
|
*
|
|
186
207
|
* ## Import
|
|
187
208
|
*
|
|
188
|
-
*
|
|
209
|
+
* This section explains how to import a record using the `{dns_zone}/{id}` format.
|
|
189
210
|
*
|
|
190
211
|
* bash
|
|
191
212
|
*
|
package/domainRecord.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"domainRecord.js","sourceRoot":"","sources":["../domainRecord.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"domainRecord.js","sourceRoot":"","sources":["../domainRecord.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgNG;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,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,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3C,cAAc,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAClD;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;;AA5IL,oCA6IC;AA/HG,gBAAgB;AACO,yBAAY,GAAG,0CAA0C,CAAC"}
|
package/domainZone.d.ts
CHANGED
|
@@ -1,23 +1,8 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
|
-
* Creates and manages Scaleway Domain zone.\
|
|
4
|
-
* For more information, see [the documentation](https://www.scaleway.com/en/docs/network/domains-and-dns/how-to/configure-dns-zones/).
|
|
5
|
-
*
|
|
6
|
-
* ## Example Usage
|
|
7
|
-
*
|
|
8
|
-
* ```typescript
|
|
9
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
10
|
-
* import * as scaleway from "@pulumiverse/scaleway";
|
|
11
|
-
*
|
|
12
|
-
* const test = new scaleway.DomainZone("test", {
|
|
13
|
-
* domain: "scaleway-terraform.com",
|
|
14
|
-
* subdomain: "test",
|
|
15
|
-
* });
|
|
16
|
-
* ```
|
|
17
|
-
*
|
|
18
3
|
* ## Import
|
|
19
4
|
*
|
|
20
|
-
*
|
|
5
|
+
* This section explains how to import a zone using the `{subdomain}.{domain}` format.
|
|
21
6
|
*
|
|
22
7
|
* bash
|
|
23
8
|
*
|
|
@@ -42,39 +27,39 @@ export declare class DomainZone extends pulumi.CustomResource {
|
|
|
42
27
|
*/
|
|
43
28
|
static isInstance(obj: any): obj is DomainZone;
|
|
44
29
|
/**
|
|
45
|
-
* The domain where the DNS zone will be created.
|
|
30
|
+
* The main domain where the DNS zone will be created.
|
|
46
31
|
*/
|
|
47
32
|
readonly domain: pulumi.Output<string>;
|
|
48
33
|
/**
|
|
49
|
-
* Message
|
|
34
|
+
* Message.
|
|
50
35
|
*/
|
|
51
36
|
readonly message: pulumi.Output<string>;
|
|
52
37
|
/**
|
|
53
|
-
*
|
|
38
|
+
* The list of same servers for the zone.
|
|
54
39
|
*/
|
|
55
40
|
readonly ns: pulumi.Output<string[]>;
|
|
56
41
|
/**
|
|
57
|
-
*
|
|
42
|
+
* The default list of same servers for the zone.
|
|
58
43
|
*/
|
|
59
44
|
readonly nsDefaults: pulumi.Output<string[]>;
|
|
60
45
|
/**
|
|
61
|
-
*
|
|
46
|
+
* The master list of same servers for the zone.
|
|
62
47
|
*/
|
|
63
48
|
readonly nsMasters: pulumi.Output<string[]>;
|
|
64
49
|
/**
|
|
65
|
-
* `projectId`) The ID of the
|
|
50
|
+
* `projectId`) The ID of the Project associated with the domain.
|
|
66
51
|
*/
|
|
67
52
|
readonly projectId: pulumi.Output<string>;
|
|
68
53
|
/**
|
|
69
|
-
* The domain zone
|
|
54
|
+
* The status of the domain zone.
|
|
70
55
|
*/
|
|
71
56
|
readonly status: pulumi.Output<string>;
|
|
72
57
|
/**
|
|
73
|
-
* The subdomain(zone name) to create
|
|
58
|
+
* The name of the subdomain (zone name) to create within the domain.
|
|
74
59
|
*/
|
|
75
60
|
readonly subdomain: pulumi.Output<string>;
|
|
76
61
|
/**
|
|
77
|
-
* The date and time
|
|
62
|
+
* The date and time at which the DNS zone was last updated.
|
|
78
63
|
*/
|
|
79
64
|
readonly updatedAt: pulumi.Output<string>;
|
|
80
65
|
/**
|
|
@@ -91,39 +76,39 @@ export declare class DomainZone extends pulumi.CustomResource {
|
|
|
91
76
|
*/
|
|
92
77
|
export interface DomainZoneState {
|
|
93
78
|
/**
|
|
94
|
-
* The domain where the DNS zone will be created.
|
|
79
|
+
* The main domain where the DNS zone will be created.
|
|
95
80
|
*/
|
|
96
81
|
domain?: pulumi.Input<string>;
|
|
97
82
|
/**
|
|
98
|
-
* Message
|
|
83
|
+
* Message.
|
|
99
84
|
*/
|
|
100
85
|
message?: pulumi.Input<string>;
|
|
101
86
|
/**
|
|
102
|
-
*
|
|
87
|
+
* The list of same servers for the zone.
|
|
103
88
|
*/
|
|
104
89
|
ns?: pulumi.Input<pulumi.Input<string>[]>;
|
|
105
90
|
/**
|
|
106
|
-
*
|
|
91
|
+
* The default list of same servers for the zone.
|
|
107
92
|
*/
|
|
108
93
|
nsDefaults?: pulumi.Input<pulumi.Input<string>[]>;
|
|
109
94
|
/**
|
|
110
|
-
*
|
|
95
|
+
* The master list of same servers for the zone.
|
|
111
96
|
*/
|
|
112
97
|
nsMasters?: pulumi.Input<pulumi.Input<string>[]>;
|
|
113
98
|
/**
|
|
114
|
-
* `projectId`) The ID of the
|
|
99
|
+
* `projectId`) The ID of the Project associated with the domain.
|
|
115
100
|
*/
|
|
116
101
|
projectId?: pulumi.Input<string>;
|
|
117
102
|
/**
|
|
118
|
-
* The domain zone
|
|
103
|
+
* The status of the domain zone.
|
|
119
104
|
*/
|
|
120
105
|
status?: pulumi.Input<string>;
|
|
121
106
|
/**
|
|
122
|
-
* The subdomain(zone name) to create
|
|
107
|
+
* The name of the subdomain (zone name) to create within the domain.
|
|
123
108
|
*/
|
|
124
109
|
subdomain?: pulumi.Input<string>;
|
|
125
110
|
/**
|
|
126
|
-
* The date and time
|
|
111
|
+
* The date and time at which the DNS zone was last updated.
|
|
127
112
|
*/
|
|
128
113
|
updatedAt?: pulumi.Input<string>;
|
|
129
114
|
}
|
|
@@ -132,15 +117,15 @@ export interface DomainZoneState {
|
|
|
132
117
|
*/
|
|
133
118
|
export interface DomainZoneArgs {
|
|
134
119
|
/**
|
|
135
|
-
* The domain where the DNS zone will be created.
|
|
120
|
+
* The main domain where the DNS zone will be created.
|
|
136
121
|
*/
|
|
137
122
|
domain: pulumi.Input<string>;
|
|
138
123
|
/**
|
|
139
|
-
* `projectId`) The ID of the
|
|
124
|
+
* `projectId`) The ID of the Project associated with the domain.
|
|
140
125
|
*/
|
|
141
126
|
projectId?: pulumi.Input<string>;
|
|
142
127
|
/**
|
|
143
|
-
* The subdomain(zone name) to create
|
|
128
|
+
* The name of the subdomain (zone name) to create within the domain.
|
|
144
129
|
*/
|
|
145
130
|
subdomain: pulumi.Input<string>;
|
|
146
131
|
}
|
package/domainZone.js
CHANGED
|
@@ -6,24 +6,9 @@ exports.DomainZone = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
-
* Creates and manages Scaleway Domain zone.\
|
|
10
|
-
* For more information, see [the documentation](https://www.scaleway.com/en/docs/network/domains-and-dns/how-to/configure-dns-zones/).
|
|
11
|
-
*
|
|
12
|
-
* ## Example Usage
|
|
13
|
-
*
|
|
14
|
-
* ```typescript
|
|
15
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
16
|
-
* import * as scaleway from "@pulumiverse/scaleway";
|
|
17
|
-
*
|
|
18
|
-
* const test = new scaleway.DomainZone("test", {
|
|
19
|
-
* domain: "scaleway-terraform.com",
|
|
20
|
-
* subdomain: "test",
|
|
21
|
-
* });
|
|
22
|
-
* ```
|
|
23
|
-
*
|
|
24
9
|
* ## Import
|
|
25
10
|
*
|
|
26
|
-
*
|
|
11
|
+
* This section explains how to import a zone using the `{subdomain}.{domain}` format.
|
|
27
12
|
*
|
|
28
13
|
* bash
|
|
29
14
|
*
|
package/domainZone.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"domainZone.js","sourceRoot":"","sources":["../domainZone.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"domainZone.js","sourceRoot":"","sources":["../domainZone.ts"],"names":[],"mappings":";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C,GAAG,SAAS,CAAC,OAAO,CAAC;YAC9C,cAAc,CAAC,IAAI,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACzC,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACjD,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC7C,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACnD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,UAAU,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC/D,CAAC;;AA3GL,gCA4GC;AA9FG,gBAAgB;AACO,uBAAY,GAAG,sCAAsC,CAAC"}
|
package/getBlockSnapshot.d.ts
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* The `scaleway.BlockSnapshot` data source is used to retrieve information about a Block Storage volume snapshot.
|
|
4
|
+
*
|
|
5
|
+
* Refer to the Block Storage [product documentation](https://www.scaleway.com/en/docs/storage/block/) and [API documentation](https://www.scaleway.com/en/developers/api/block/) for more information.
|
|
4
6
|
*/
|
|
5
7
|
export declare function getBlockSnapshot(args?: GetBlockSnapshotArgs, opts?: pulumi.InvokeOptions): Promise<GetBlockSnapshotResult>;
|
|
6
8
|
/**
|
|
@@ -8,23 +10,23 @@ export declare function getBlockSnapshot(args?: GetBlockSnapshotArgs, opts?: pul
|
|
|
8
10
|
*/
|
|
9
11
|
export interface GetBlockSnapshotArgs {
|
|
10
12
|
/**
|
|
11
|
-
* The name of the snapshot. Only one of
|
|
13
|
+
* The name of the snapshot. Only one of name or snapshotId should be specified.
|
|
12
14
|
*/
|
|
13
15
|
name?: string;
|
|
14
16
|
/**
|
|
15
|
-
* The
|
|
17
|
+
* The unique identifier of the Project to which the snapshot is associated.
|
|
16
18
|
*/
|
|
17
19
|
projectId?: string;
|
|
18
20
|
/**
|
|
19
|
-
* The
|
|
21
|
+
* The unique identifier of the snapshot. Only one of `name` and `snapshotId` should be specified.
|
|
20
22
|
*/
|
|
21
23
|
snapshotId?: string;
|
|
22
24
|
/**
|
|
23
|
-
* The
|
|
25
|
+
* The unique identifier of the volume from which the snapshot was created.
|
|
24
26
|
*/
|
|
25
27
|
volumeId?: string;
|
|
26
28
|
/**
|
|
27
|
-
*
|
|
29
|
+
* ) The zone in which the snapshot exists.
|
|
28
30
|
*/
|
|
29
31
|
zone?: string;
|
|
30
32
|
}
|
|
@@ -44,7 +46,9 @@ export interface GetBlockSnapshotResult {
|
|
|
44
46
|
readonly zone?: string;
|
|
45
47
|
}
|
|
46
48
|
/**
|
|
47
|
-
*
|
|
49
|
+
* The `scaleway.BlockSnapshot` data source is used to retrieve information about a Block Storage volume snapshot.
|
|
50
|
+
*
|
|
51
|
+
* Refer to the Block Storage [product documentation](https://www.scaleway.com/en/docs/storage/block/) and [API documentation](https://www.scaleway.com/en/developers/api/block/) for more information.
|
|
48
52
|
*/
|
|
49
53
|
export declare function getBlockSnapshotOutput(args?: GetBlockSnapshotOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetBlockSnapshotResult>;
|
|
50
54
|
/**
|
|
@@ -52,23 +56,23 @@ export declare function getBlockSnapshotOutput(args?: GetBlockSnapshotOutputArgs
|
|
|
52
56
|
*/
|
|
53
57
|
export interface GetBlockSnapshotOutputArgs {
|
|
54
58
|
/**
|
|
55
|
-
* The name of the snapshot. Only one of
|
|
59
|
+
* The name of the snapshot. Only one of name or snapshotId should be specified.
|
|
56
60
|
*/
|
|
57
61
|
name?: pulumi.Input<string>;
|
|
58
62
|
/**
|
|
59
|
-
* The
|
|
63
|
+
* The unique identifier of the Project to which the snapshot is associated.
|
|
60
64
|
*/
|
|
61
65
|
projectId?: pulumi.Input<string>;
|
|
62
66
|
/**
|
|
63
|
-
* The
|
|
67
|
+
* The unique identifier of the snapshot. Only one of `name` and `snapshotId` should be specified.
|
|
64
68
|
*/
|
|
65
69
|
snapshotId?: pulumi.Input<string>;
|
|
66
70
|
/**
|
|
67
|
-
* The
|
|
71
|
+
* The unique identifier of the volume from which the snapshot was created.
|
|
68
72
|
*/
|
|
69
73
|
volumeId?: pulumi.Input<string>;
|
|
70
74
|
/**
|
|
71
|
-
*
|
|
75
|
+
* ) The zone in which the snapshot exists.
|
|
72
76
|
*/
|
|
73
77
|
zone?: pulumi.Input<string>;
|
|
74
78
|
}
|
package/getBlockSnapshot.js
CHANGED
|
@@ -6,7 +6,9 @@ exports.getBlockSnapshotOutput = exports.getBlockSnapshot = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
-
*
|
|
9
|
+
* The `scaleway.BlockSnapshot` data source is used to retrieve information about a Block Storage volume snapshot.
|
|
10
|
+
*
|
|
11
|
+
* Refer to the Block Storage [product documentation](https://www.scaleway.com/en/docs/storage/block/) and [API documentation](https://www.scaleway.com/en/developers/api/block/) for more information.
|
|
10
12
|
*/
|
|
11
13
|
function getBlockSnapshot(args, opts) {
|
|
12
14
|
args = args || {};
|
|
@@ -21,7 +23,9 @@ function getBlockSnapshot(args, opts) {
|
|
|
21
23
|
}
|
|
22
24
|
exports.getBlockSnapshot = getBlockSnapshot;
|
|
23
25
|
/**
|
|
24
|
-
*
|
|
26
|
+
* The `scaleway.BlockSnapshot` data source is used to retrieve information about a Block Storage volume snapshot.
|
|
27
|
+
*
|
|
28
|
+
* Refer to the Block Storage [product documentation](https://www.scaleway.com/en/docs/storage/block/) and [API documentation](https://www.scaleway.com/en/developers/api/block/) for more information.
|
|
25
29
|
*/
|
|
26
30
|
function getBlockSnapshotOutput(args, opts) {
|
|
27
31
|
args = args || {};
|
package/getBlockSnapshot.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getBlockSnapshot.js","sourceRoot":"","sources":["../getBlockSnapshot.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getBlockSnapshot.js","sourceRoot":"","sources":["../getBlockSnapshot.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;GAIG;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,kDAAkD,EAAE;QAC7E,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAVD,4CAUC;AA2CD;;;;GAIG;AACH,SAAgB,sBAAsB,CAAC,IAAiC,EAAE,IAA2B;IACjG,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,kDAAkD,EAAE;QACnF,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAVD,wDAUC"}
|
package/getBlockVolume.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* The `scaleway.BlockVolume` data source is used to retrieve information about a Block Storage volume.
|
|
4
|
+
* Refer to the Block Storage [product documentation](https://www.scaleway.com/en/docs/storage/block/) and [API documentation](https://www.scaleway.com/en/developers/api/block/) for more information.
|
|
4
5
|
*/
|
|
5
6
|
export declare function getBlockVolume(args?: GetBlockVolumeArgs, opts?: pulumi.InvokeOptions): Promise<GetBlockVolumeResult>;
|
|
6
7
|
/**
|
|
@@ -12,15 +13,15 @@ export interface GetBlockVolumeArgs {
|
|
|
12
13
|
*/
|
|
13
14
|
name?: string;
|
|
14
15
|
/**
|
|
15
|
-
* The
|
|
16
|
+
* The unique identifier of the Project to which the volume is associated.
|
|
16
17
|
*/
|
|
17
18
|
projectId?: string;
|
|
18
19
|
/**
|
|
19
|
-
* The
|
|
20
|
+
* The unique identifier of the volume. Only one of `name` and `volumeId` should be specified.
|
|
20
21
|
*/
|
|
21
22
|
volumeId?: string;
|
|
22
23
|
/**
|
|
23
|
-
*
|
|
24
|
+
* ). The zone in which the volume exists.
|
|
24
25
|
*/
|
|
25
26
|
zone?: string;
|
|
26
27
|
}
|
|
@@ -42,7 +43,8 @@ export interface GetBlockVolumeResult {
|
|
|
42
43
|
readonly zone?: string;
|
|
43
44
|
}
|
|
44
45
|
/**
|
|
45
|
-
*
|
|
46
|
+
* The `scaleway.BlockVolume` data source is used to retrieve information about a Block Storage volume.
|
|
47
|
+
* Refer to the Block Storage [product documentation](https://www.scaleway.com/en/docs/storage/block/) and [API documentation](https://www.scaleway.com/en/developers/api/block/) for more information.
|
|
46
48
|
*/
|
|
47
49
|
export declare function getBlockVolumeOutput(args?: GetBlockVolumeOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetBlockVolumeResult>;
|
|
48
50
|
/**
|
|
@@ -54,15 +56,15 @@ export interface GetBlockVolumeOutputArgs {
|
|
|
54
56
|
*/
|
|
55
57
|
name?: pulumi.Input<string>;
|
|
56
58
|
/**
|
|
57
|
-
* The
|
|
59
|
+
* The unique identifier of the Project to which the volume is associated.
|
|
58
60
|
*/
|
|
59
61
|
projectId?: pulumi.Input<string>;
|
|
60
62
|
/**
|
|
61
|
-
* The
|
|
63
|
+
* The unique identifier of the volume. Only one of `name` and `volumeId` should be specified.
|
|
62
64
|
*/
|
|
63
65
|
volumeId?: pulumi.Input<string>;
|
|
64
66
|
/**
|
|
65
|
-
*
|
|
67
|
+
* ). The zone in which the volume exists.
|
|
66
68
|
*/
|
|
67
69
|
zone?: pulumi.Input<string>;
|
|
68
70
|
}
|
package/getBlockVolume.js
CHANGED
|
@@ -6,7 +6,8 @@ exports.getBlockVolumeOutput = exports.getBlockVolume = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
-
*
|
|
9
|
+
* The `scaleway.BlockVolume` data source is used to retrieve information about a Block Storage volume.
|
|
10
|
+
* Refer to the Block Storage [product documentation](https://www.scaleway.com/en/docs/storage/block/) and [API documentation](https://www.scaleway.com/en/developers/api/block/) for more information.
|
|
10
11
|
*/
|
|
11
12
|
function getBlockVolume(args, opts) {
|
|
12
13
|
args = args || {};
|
|
@@ -20,7 +21,8 @@ function getBlockVolume(args, opts) {
|
|
|
20
21
|
}
|
|
21
22
|
exports.getBlockVolume = getBlockVolume;
|
|
22
23
|
/**
|
|
23
|
-
*
|
|
24
|
+
* The `scaleway.BlockVolume` data source is used to retrieve information about a Block Storage volume.
|
|
25
|
+
* Refer to the Block Storage [product documentation](https://www.scaleway.com/en/docs/storage/block/) and [API documentation](https://www.scaleway.com/en/developers/api/block/) for more information.
|
|
24
26
|
*/
|
|
25
27
|
function getBlockVolumeOutput(args, opts) {
|
|
26
28
|
args = args || {};
|
package/getBlockVolume.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getBlockVolume.js","sourceRoot":"","sources":["../getBlockVolume.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getBlockVolume.js","sourceRoot":"","sources":["../getBlockVolume.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;GAGG;AACH,SAAgB,cAAc,CAAC,IAAyB,EAAE,IAA2B;IACjF,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,8CAA8C,EAAE;QACzE,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AATD,wCASC;AAyCD;;;GAGG;AACH,SAAgB,oBAAoB,CAAC,IAA+B,EAAE,IAA2B;IAC7F,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,8CAA8C,EAAE;QAC/E,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AATD,oDASC"}
|
package/getCockpit.d.ts
CHANGED
|
@@ -1,21 +1,28 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
import * as outputs from "./types/output";
|
|
3
3
|
/**
|
|
4
|
+
* > **Important:** The data source `scaleway.Cockpit` has been deprecated and will no longer be supported. Instead, use resource `scaleway.Cockpit`.
|
|
5
|
+
*
|
|
4
6
|
* > **Note:**
|
|
5
|
-
* As of April 2024, Cockpit has introduced regionalization to offer more flexibility and resilience.
|
|
6
|
-
* If you have customized dashboards
|
|
7
|
+
* As of April 2024, Cockpit has introduced [regionalization](https://www.scaleway.com/en/docs/observability/cockpit/concepts/#region) to offer more flexibility and resilience.
|
|
8
|
+
* If you have created customized dashboards with data for your Scaleway resources before April 2024, you will need to update your queries in Grafana, with the new regionalized data sources.
|
|
9
|
+
*
|
|
10
|
+
* The `scaleway.Cockpit` data source is used to retrieve information about a Scaleway Cockpit associated with a given Project. This can be the default Project or a specific Project identified by its ID.
|
|
11
|
+
*
|
|
12
|
+
* Refer to Cockpit's [product documentation](https://www.scaleway.com/en/docs/observability/cockpit/concepts/) and [API documentation](https://www.scaleway.com/en/developers/api/cockpit/regional-api) for more information.
|
|
7
13
|
*
|
|
8
|
-
*
|
|
14
|
+
* ## Retrieve a Cockpit
|
|
9
15
|
*
|
|
10
|
-
*
|
|
16
|
+
* The following commands allow you to:
|
|
11
17
|
*
|
|
12
|
-
*
|
|
18
|
+
* - get information on the Cockpit associated with your Scaleway default Project
|
|
19
|
+
* - get information on the Cockpit associated with a specific Scaleway Project
|
|
13
20
|
*
|
|
14
21
|
* ```typescript
|
|
15
22
|
* import * as pulumi from "@pulumi/pulumi";
|
|
16
23
|
* import * as scaleway from "@pulumi/scaleway";
|
|
17
24
|
*
|
|
18
|
-
* // Get default
|
|
25
|
+
* // Get the default Project's Cockpit
|
|
19
26
|
* const main = scaleway.getCockpit({});
|
|
20
27
|
* ```
|
|
21
28
|
*
|
|
@@ -23,7 +30,7 @@ import * as outputs from "./types/output";
|
|
|
23
30
|
* import * as pulumi from "@pulumi/pulumi";
|
|
24
31
|
* import * as scaleway from "@pulumi/scaleway";
|
|
25
32
|
*
|
|
26
|
-
* // Get a specific
|
|
33
|
+
* // Get a specific Project's Cockpit
|
|
27
34
|
* const main = scaleway.getCockpit({
|
|
28
35
|
* projectId: "11111111-1111-1111-1111-111111111111",
|
|
29
36
|
* });
|
|
@@ -35,7 +42,7 @@ export declare function getCockpit(args?: GetCockpitArgs, opts?: pulumi.InvokeOp
|
|
|
35
42
|
*/
|
|
36
43
|
export interface GetCockpitArgs {
|
|
37
44
|
/**
|
|
38
|
-
*
|
|
45
|
+
* Specifies the ID of the Scaleway Project that the Cockpit is associated with. If not specified, it defaults to the Project ID specified in the provider configuration.
|
|
39
46
|
*/
|
|
40
47
|
projectId?: string;
|
|
41
48
|
}
|
|
@@ -44,36 +51,44 @@ export interface GetCockpitArgs {
|
|
|
44
51
|
*/
|
|
45
52
|
export interface GetCockpitResult {
|
|
46
53
|
/**
|
|
47
|
-
*
|
|
54
|
+
* (Deprecated) A list of [endpoints](https://www.scaleway.com/en/docs/observability/cockpit/concepts/#endpoints) related to Cockpit, each with specific URLs:
|
|
48
55
|
*/
|
|
49
56
|
readonly endpoints: outputs.GetCockpitEndpoint[];
|
|
50
57
|
/**
|
|
51
58
|
* The provider-assigned unique ID for this managed resource.
|
|
52
59
|
*/
|
|
53
60
|
readonly id: string;
|
|
61
|
+
readonly plan: string;
|
|
54
62
|
/**
|
|
55
|
-
*
|
|
63
|
+
* (Deprecated) ID of the current pricing plan
|
|
56
64
|
*/
|
|
57
65
|
readonly planId: string;
|
|
58
66
|
readonly projectId?: string;
|
|
59
67
|
readonly pushUrls: outputs.GetCockpitPushUrl[];
|
|
60
68
|
}
|
|
61
69
|
/**
|
|
70
|
+
* > **Important:** The data source `scaleway.Cockpit` has been deprecated and will no longer be supported. Instead, use resource `scaleway.Cockpit`.
|
|
71
|
+
*
|
|
62
72
|
* > **Note:**
|
|
63
|
-
* As of April 2024, Cockpit has introduced regionalization to offer more flexibility and resilience.
|
|
64
|
-
* If you have customized dashboards
|
|
73
|
+
* As of April 2024, Cockpit has introduced [regionalization](https://www.scaleway.com/en/docs/observability/cockpit/concepts/#region) to offer more flexibility and resilience.
|
|
74
|
+
* If you have created customized dashboards with data for your Scaleway resources before April 2024, you will need to update your queries in Grafana, with the new regionalized data sources.
|
|
75
|
+
*
|
|
76
|
+
* The `scaleway.Cockpit` data source is used to retrieve information about a Scaleway Cockpit associated with a given Project. This can be the default Project or a specific Project identified by its ID.
|
|
77
|
+
*
|
|
78
|
+
* Refer to Cockpit's [product documentation](https://www.scaleway.com/en/docs/observability/cockpit/concepts/) and [API documentation](https://www.scaleway.com/en/developers/api/cockpit/regional-api) for more information.
|
|
65
79
|
*
|
|
66
|
-
*
|
|
80
|
+
* ## Retrieve a Cockpit
|
|
67
81
|
*
|
|
68
|
-
*
|
|
82
|
+
* The following commands allow you to:
|
|
69
83
|
*
|
|
70
|
-
*
|
|
84
|
+
* - get information on the Cockpit associated with your Scaleway default Project
|
|
85
|
+
* - get information on the Cockpit associated with a specific Scaleway Project
|
|
71
86
|
*
|
|
72
87
|
* ```typescript
|
|
73
88
|
* import * as pulumi from "@pulumi/pulumi";
|
|
74
89
|
* import * as scaleway from "@pulumi/scaleway";
|
|
75
90
|
*
|
|
76
|
-
* // Get default
|
|
91
|
+
* // Get the default Project's Cockpit
|
|
77
92
|
* const main = scaleway.getCockpit({});
|
|
78
93
|
* ```
|
|
79
94
|
*
|
|
@@ -81,7 +96,7 @@ export interface GetCockpitResult {
|
|
|
81
96
|
* import * as pulumi from "@pulumi/pulumi";
|
|
82
97
|
* import * as scaleway from "@pulumi/scaleway";
|
|
83
98
|
*
|
|
84
|
-
* // Get a specific
|
|
99
|
+
* // Get a specific Project's Cockpit
|
|
85
100
|
* const main = scaleway.getCockpit({
|
|
86
101
|
* projectId: "11111111-1111-1111-1111-111111111111",
|
|
87
102
|
* });
|
|
@@ -93,7 +108,7 @@ export declare function getCockpitOutput(args?: GetCockpitOutputArgs, opts?: pul
|
|
|
93
108
|
*/
|
|
94
109
|
export interface GetCockpitOutputArgs {
|
|
95
110
|
/**
|
|
96
|
-
*
|
|
111
|
+
* Specifies the ID of the Scaleway Project that the Cockpit is associated with. If not specified, it defaults to the Project ID specified in the provider configuration.
|
|
97
112
|
*/
|
|
98
113
|
projectId?: pulumi.Input<string>;
|
|
99
114
|
}
|