@pulumiverse/scaleway 1.37.0-alpha.1762338413 → 1.37.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/datawarehouse/database.d.ts +117 -0
- package/datawarehouse/database.js +95 -0
- package/datawarehouse/database.js.map +1 -0
- package/datawarehouse/deployment.d.ts +256 -0
- package/datawarehouse/deployment.js +146 -0
- package/datawarehouse/deployment.js.map +1 -0
- package/datawarehouse/index.d.ts +9 -0
- package/datawarehouse/index.js +32 -0
- package/datawarehouse/index.js.map +1 -0
- package/datawarehouse/user.d.ts +157 -0
- package/datawarehouse/user.js +126 -0
- package/datawarehouse/user.js.map +1 -0
- package/domain/record.d.ts +2 -2
- package/domain/record.js +2 -2
- package/domainRecord.d.ts +2 -2
- package/domainRecord.js +2 -2
- package/getInstanceIp.d.ts +18 -2
- package/getInstanceIp.js +4 -0
- package/getInstanceIp.js.map +1 -1
- package/index.d.ts +2 -1
- package/index.js +4 -2
- package/index.js.map +1 -1
- package/instance/getIp.d.ts +18 -2
- package/instance/getIp.js +4 -0
- package/instance/getIp.js.map +1 -1
- package/iot/device.d.ts +23 -0
- package/iot/device.js +23 -0
- package/iot/device.js.map +1 -1
- package/iot/hub.d.ts +5 -5
- package/iotDevice.d.ts +23 -0
- package/iotDevice.js +23 -0
- package/iotDevice.js.map +1 -1
- package/iotHub.d.ts +5 -5
- package/ipam/ip.d.ts +3 -3
- package/ipamIp.d.ts +3 -3
- package/kubernetes/cluster.d.ts +2 -2
- package/kubernetes/cluster.js +2 -2
- package/kubernetes/pool.d.ts +3 -3
- package/kubernetesCluster.d.ts +2 -2
- package/kubernetesCluster.js +2 -2
- package/kubernetesNodePool.d.ts +3 -3
- package/mongoDbInstance.d.ts +6 -6
- package/mongodb/instance.d.ts +6 -6
- package/network/gatewayNetwork.d.ts +3 -3
- package/object/get.d.ts +116 -0
- package/object/get.js +78 -0
- package/object/get.js.map +1 -0
- package/object/index.d.ts +3 -0
- package/object/index.js +4 -1
- package/object/index.js.map +1 -1
- package/package.json +2 -2
- package/types/input.d.ts +30 -4
- package/types/output.d.ts +30 -4
- package/vpcGatewayNetwork.d.ts +3 -3
|
@@ -0,0 +1,157 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Creates and manages Scaleway Data Warehouse users within a deployment.
|
|
4
|
+
* For more information refer to the [product documentation](https://www.scaleway.com/en/docs/data-warehouse/).
|
|
5
|
+
*
|
|
6
|
+
* ## Example Usage
|
|
7
|
+
*
|
|
8
|
+
* ### Basic
|
|
9
|
+
*
|
|
10
|
+
* ```typescript
|
|
11
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
12
|
+
* import * as scaleway from "@pulumiverse/scaleway";
|
|
13
|
+
*
|
|
14
|
+
* const main = new scaleway.datawarehouse.Deployment("main", {
|
|
15
|
+
* name: "my-datawarehouse",
|
|
16
|
+
* version: "v25",
|
|
17
|
+
* replicaCount: 1,
|
|
18
|
+
* cpuMin: 2,
|
|
19
|
+
* cpuMax: 4,
|
|
20
|
+
* ramPerCpu: 4,
|
|
21
|
+
* password: "thiZ_is_v&ry_s3cret",
|
|
22
|
+
* });
|
|
23
|
+
* const mainUser = new scaleway.datawarehouse.User("main", {
|
|
24
|
+
* deploymentId: main.id,
|
|
25
|
+
* name: "my_user",
|
|
26
|
+
* password: "user_password_123",
|
|
27
|
+
* });
|
|
28
|
+
* ```
|
|
29
|
+
*
|
|
30
|
+
* ### Admin User
|
|
31
|
+
*
|
|
32
|
+
* ```typescript
|
|
33
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
34
|
+
* import * as scaleway from "@pulumiverse/scaleway";
|
|
35
|
+
*
|
|
36
|
+
* const main = new scaleway.datawarehouse.Deployment("main", {
|
|
37
|
+
* name: "my-datawarehouse",
|
|
38
|
+
* version: "v25",
|
|
39
|
+
* replicaCount: 1,
|
|
40
|
+
* cpuMin: 2,
|
|
41
|
+
* cpuMax: 4,
|
|
42
|
+
* ramPerCpu: 4,
|
|
43
|
+
* password: "thiZ_is_v&ry_s3cret",
|
|
44
|
+
* });
|
|
45
|
+
* const admin = new scaleway.datawarehouse.User("admin", {
|
|
46
|
+
* deploymentId: main.id,
|
|
47
|
+
* name: "admin_user",
|
|
48
|
+
* password: "admin_password_456",
|
|
49
|
+
* isAdmin: true,
|
|
50
|
+
* });
|
|
51
|
+
* ```
|
|
52
|
+
*
|
|
53
|
+
* ## Import
|
|
54
|
+
*
|
|
55
|
+
* Data Warehouse users can be imported using the `{region}/{deployment_id}/{name}`, e.g.
|
|
56
|
+
*
|
|
57
|
+
* bash
|
|
58
|
+
*
|
|
59
|
+
* ```sh
|
|
60
|
+
* $ pulumi import scaleway:datawarehouse/user:User main fr-par/11111111-1111-1111-1111-111111111111/my_user
|
|
61
|
+
* ```
|
|
62
|
+
*/
|
|
63
|
+
export declare class User extends pulumi.CustomResource {
|
|
64
|
+
/**
|
|
65
|
+
* Get an existing User resource's state with the given name, ID, and optional extra
|
|
66
|
+
* properties used to qualify the lookup.
|
|
67
|
+
*
|
|
68
|
+
* @param name The _unique_ name of the resulting resource.
|
|
69
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
70
|
+
* @param state Any extra arguments used during the lookup.
|
|
71
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
72
|
+
*/
|
|
73
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: UserState, opts?: pulumi.CustomResourceOptions): User;
|
|
74
|
+
/**
|
|
75
|
+
* Returns true if the given object is an instance of User. This is designed to work even
|
|
76
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
77
|
+
*/
|
|
78
|
+
static isInstance(obj: any): obj is User;
|
|
79
|
+
/**
|
|
80
|
+
* ID of the Data Warehouse deployment to which this user belongs.
|
|
81
|
+
*/
|
|
82
|
+
readonly deploymentId: pulumi.Output<string>;
|
|
83
|
+
/**
|
|
84
|
+
* Whether the user has administrator privileges. Defaults to `false`.
|
|
85
|
+
*/
|
|
86
|
+
readonly isAdmin: pulumi.Output<boolean | undefined>;
|
|
87
|
+
/**
|
|
88
|
+
* Name of the ClickHouse user.
|
|
89
|
+
*/
|
|
90
|
+
readonly name: pulumi.Output<string>;
|
|
91
|
+
/**
|
|
92
|
+
* Password for the ClickHouse user.
|
|
93
|
+
*/
|
|
94
|
+
readonly password: pulumi.Output<string>;
|
|
95
|
+
/**
|
|
96
|
+
* `region`) The region in which the user should be created.
|
|
97
|
+
*/
|
|
98
|
+
readonly region: pulumi.Output<string | undefined>;
|
|
99
|
+
/**
|
|
100
|
+
* Create a User resource with the given unique name, arguments, and options.
|
|
101
|
+
*
|
|
102
|
+
* @param name The _unique_ name of the resource.
|
|
103
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
104
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
105
|
+
*/
|
|
106
|
+
constructor(name: string, args: UserArgs, opts?: pulumi.CustomResourceOptions);
|
|
107
|
+
}
|
|
108
|
+
/**
|
|
109
|
+
* Input properties used for looking up and filtering User resources.
|
|
110
|
+
*/
|
|
111
|
+
export interface UserState {
|
|
112
|
+
/**
|
|
113
|
+
* ID of the Data Warehouse deployment to which this user belongs.
|
|
114
|
+
*/
|
|
115
|
+
deploymentId?: pulumi.Input<string>;
|
|
116
|
+
/**
|
|
117
|
+
* Whether the user has administrator privileges. Defaults to `false`.
|
|
118
|
+
*/
|
|
119
|
+
isAdmin?: pulumi.Input<boolean>;
|
|
120
|
+
/**
|
|
121
|
+
* Name of the ClickHouse user.
|
|
122
|
+
*/
|
|
123
|
+
name?: pulumi.Input<string>;
|
|
124
|
+
/**
|
|
125
|
+
* Password for the ClickHouse user.
|
|
126
|
+
*/
|
|
127
|
+
password?: pulumi.Input<string>;
|
|
128
|
+
/**
|
|
129
|
+
* `region`) The region in which the user should be created.
|
|
130
|
+
*/
|
|
131
|
+
region?: pulumi.Input<string>;
|
|
132
|
+
}
|
|
133
|
+
/**
|
|
134
|
+
* The set of arguments for constructing a User resource.
|
|
135
|
+
*/
|
|
136
|
+
export interface UserArgs {
|
|
137
|
+
/**
|
|
138
|
+
* ID of the Data Warehouse deployment to which this user belongs.
|
|
139
|
+
*/
|
|
140
|
+
deploymentId: pulumi.Input<string>;
|
|
141
|
+
/**
|
|
142
|
+
* Whether the user has administrator privileges. Defaults to `false`.
|
|
143
|
+
*/
|
|
144
|
+
isAdmin?: pulumi.Input<boolean>;
|
|
145
|
+
/**
|
|
146
|
+
* Name of the ClickHouse user.
|
|
147
|
+
*/
|
|
148
|
+
name?: pulumi.Input<string>;
|
|
149
|
+
/**
|
|
150
|
+
* Password for the ClickHouse user.
|
|
151
|
+
*/
|
|
152
|
+
password: pulumi.Input<string>;
|
|
153
|
+
/**
|
|
154
|
+
* `region`) The region in which the user should be created.
|
|
155
|
+
*/
|
|
156
|
+
region?: pulumi.Input<string>;
|
|
157
|
+
}
|
|
@@ -0,0 +1,126 @@
|
|
|
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.User = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Creates and manages Scaleway Data Warehouse users within a deployment.
|
|
10
|
+
* For more information refer to the [product documentation](https://www.scaleway.com/en/docs/data-warehouse/).
|
|
11
|
+
*
|
|
12
|
+
* ## Example Usage
|
|
13
|
+
*
|
|
14
|
+
* ### Basic
|
|
15
|
+
*
|
|
16
|
+
* ```typescript
|
|
17
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
18
|
+
* import * as scaleway from "@pulumiverse/scaleway";
|
|
19
|
+
*
|
|
20
|
+
* const main = new scaleway.datawarehouse.Deployment("main", {
|
|
21
|
+
* name: "my-datawarehouse",
|
|
22
|
+
* version: "v25",
|
|
23
|
+
* replicaCount: 1,
|
|
24
|
+
* cpuMin: 2,
|
|
25
|
+
* cpuMax: 4,
|
|
26
|
+
* ramPerCpu: 4,
|
|
27
|
+
* password: "thiZ_is_v&ry_s3cret",
|
|
28
|
+
* });
|
|
29
|
+
* const mainUser = new scaleway.datawarehouse.User("main", {
|
|
30
|
+
* deploymentId: main.id,
|
|
31
|
+
* name: "my_user",
|
|
32
|
+
* password: "user_password_123",
|
|
33
|
+
* });
|
|
34
|
+
* ```
|
|
35
|
+
*
|
|
36
|
+
* ### Admin User
|
|
37
|
+
*
|
|
38
|
+
* ```typescript
|
|
39
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
40
|
+
* import * as scaleway from "@pulumiverse/scaleway";
|
|
41
|
+
*
|
|
42
|
+
* const main = new scaleway.datawarehouse.Deployment("main", {
|
|
43
|
+
* name: "my-datawarehouse",
|
|
44
|
+
* version: "v25",
|
|
45
|
+
* replicaCount: 1,
|
|
46
|
+
* cpuMin: 2,
|
|
47
|
+
* cpuMax: 4,
|
|
48
|
+
* ramPerCpu: 4,
|
|
49
|
+
* password: "thiZ_is_v&ry_s3cret",
|
|
50
|
+
* });
|
|
51
|
+
* const admin = new scaleway.datawarehouse.User("admin", {
|
|
52
|
+
* deploymentId: main.id,
|
|
53
|
+
* name: "admin_user",
|
|
54
|
+
* password: "admin_password_456",
|
|
55
|
+
* isAdmin: true,
|
|
56
|
+
* });
|
|
57
|
+
* ```
|
|
58
|
+
*
|
|
59
|
+
* ## Import
|
|
60
|
+
*
|
|
61
|
+
* Data Warehouse users can be imported using the `{region}/{deployment_id}/{name}`, e.g.
|
|
62
|
+
*
|
|
63
|
+
* bash
|
|
64
|
+
*
|
|
65
|
+
* ```sh
|
|
66
|
+
* $ pulumi import scaleway:datawarehouse/user:User main fr-par/11111111-1111-1111-1111-111111111111/my_user
|
|
67
|
+
* ```
|
|
68
|
+
*/
|
|
69
|
+
class User extends pulumi.CustomResource {
|
|
70
|
+
/**
|
|
71
|
+
* Get an existing User resource's state with the given name, ID, and optional extra
|
|
72
|
+
* properties used to qualify the lookup.
|
|
73
|
+
*
|
|
74
|
+
* @param name The _unique_ name of the resulting resource.
|
|
75
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
76
|
+
* @param state Any extra arguments used during the lookup.
|
|
77
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
78
|
+
*/
|
|
79
|
+
static get(name, id, state, opts) {
|
|
80
|
+
return new User(name, state, { ...opts, id: id });
|
|
81
|
+
}
|
|
82
|
+
/**
|
|
83
|
+
* Returns true if the given object is an instance of User. This is designed to work even
|
|
84
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
85
|
+
*/
|
|
86
|
+
static isInstance(obj) {
|
|
87
|
+
if (obj === undefined || obj === null) {
|
|
88
|
+
return false;
|
|
89
|
+
}
|
|
90
|
+
return obj['__pulumiType'] === User.__pulumiType;
|
|
91
|
+
}
|
|
92
|
+
constructor(name, argsOrState, opts) {
|
|
93
|
+
let resourceInputs = {};
|
|
94
|
+
opts = opts || {};
|
|
95
|
+
if (opts.id) {
|
|
96
|
+
const state = argsOrState;
|
|
97
|
+
resourceInputs["deploymentId"] = state?.deploymentId;
|
|
98
|
+
resourceInputs["isAdmin"] = state?.isAdmin;
|
|
99
|
+
resourceInputs["name"] = state?.name;
|
|
100
|
+
resourceInputs["password"] = state?.password;
|
|
101
|
+
resourceInputs["region"] = state?.region;
|
|
102
|
+
}
|
|
103
|
+
else {
|
|
104
|
+
const args = argsOrState;
|
|
105
|
+
if (args?.deploymentId === undefined && !opts.urn) {
|
|
106
|
+
throw new Error("Missing required property 'deploymentId'");
|
|
107
|
+
}
|
|
108
|
+
if (args?.password === undefined && !opts.urn) {
|
|
109
|
+
throw new Error("Missing required property 'password'");
|
|
110
|
+
}
|
|
111
|
+
resourceInputs["deploymentId"] = args?.deploymentId;
|
|
112
|
+
resourceInputs["isAdmin"] = args?.isAdmin;
|
|
113
|
+
resourceInputs["name"] = args?.name;
|
|
114
|
+
resourceInputs["password"] = args?.password ? pulumi.secret(args.password) : undefined;
|
|
115
|
+
resourceInputs["region"] = args?.region;
|
|
116
|
+
}
|
|
117
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
118
|
+
const secretOpts = { additionalSecretOutputs: ["password"] };
|
|
119
|
+
opts = pulumi.mergeOptions(opts, secretOpts);
|
|
120
|
+
super(User.__pulumiType, name, resourceInputs, opts);
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
exports.User = User;
|
|
124
|
+
/** @internal */
|
|
125
|
+
User.__pulumiType = 'scaleway:datawarehouse/user:User';
|
|
126
|
+
//# sourceMappingURL=user.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"user.js","sourceRoot":"","sources":["../../datawarehouse/user.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4DG;AACH,MAAa,IAAK,SAAQ,MAAM,CAAC,cAAc;IAC3C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAiB,EAAE,IAAmC;QAC/G,OAAO,IAAI,IAAI,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC3D,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,IAAI,CAAC,YAAY,CAAC;IACrD,CAAC;IA+BD,YAAY,IAAY,EAAE,WAAkC,EAAE,IAAmC;QAC7F,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAoC,CAAC;YACnD,cAAc,CAAC,cAAc,CAAC,GAAG,KAAK,EAAE,YAAY,CAAC;YACrD,cAAc,CAAC,SAAS,CAAC,GAAG,KAAK,EAAE,OAAO,CAAC;YAC3C,cAAc,CAAC,MAAM,CAAC,GAAG,KAAK,EAAE,IAAI,CAAC;YACrC,cAAc,CAAC,UAAU,CAAC,GAAG,KAAK,EAAE,QAAQ,CAAC;YAC7C,cAAc,CAAC,QAAQ,CAAC,GAAG,KAAK,EAAE,MAAM,CAAC;SAC5C;aAAM;YACH,MAAM,IAAI,GAAG,WAAmC,CAAC;YACjD,IAAI,IAAI,EAAE,YAAY,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC/C,MAAM,IAAI,KAAK,CAAC,0CAA0C,CAAC,CAAC;aAC/D;YACD,IAAI,IAAI,EAAE,QAAQ,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC3C,MAAM,IAAI,KAAK,CAAC,sCAAsC,CAAC,CAAC;aAC3D;YACD,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,EAAE,YAAY,CAAC;YACpD,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,OAAO,CAAC;YAC1C,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,EAAE,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;YACvF,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,EAAE,MAAM,CAAC;SAC3C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,UAAU,GAAG,EAAE,uBAAuB,EAAE,CAAC,UAAU,CAAC,EAAE,CAAC;QAC7D,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,IAAI,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACzD,CAAC;;AArFL,oBAsFC;AAxEG,gBAAgB;AACO,iBAAY,GAAG,kCAAkC,CAAC"}
|
package/domain/record.d.ts
CHANGED
|
@@ -10,7 +10,7 @@ import * as outputs from "../types/output";
|
|
|
10
10
|
*
|
|
11
11
|
* ### Create basic DNS records
|
|
12
12
|
*
|
|
13
|
-
* The
|
|
13
|
+
* The following commands allow you to:
|
|
14
14
|
*
|
|
15
15
|
* - 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`
|
|
16
16
|
*
|
|
@@ -54,7 +54,7 @@ import * as outputs from "../types/output";
|
|
|
54
54
|
*
|
|
55
55
|
* ### Create dynamic records
|
|
56
56
|
*
|
|
57
|
-
* The
|
|
57
|
+
* The following commands allow you to:
|
|
58
58
|
*
|
|
59
59
|
* - 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)
|
|
60
60
|
*
|
package/domain/record.js
CHANGED
|
@@ -14,7 +14,7 @@ const utilities = require("../utilities");
|
|
|
14
14
|
*
|
|
15
15
|
* ### Create basic DNS records
|
|
16
16
|
*
|
|
17
|
-
* The
|
|
17
|
+
* The following commands allow you to:
|
|
18
18
|
*
|
|
19
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
20
|
*
|
|
@@ -58,7 +58,7 @@ const utilities = require("../utilities");
|
|
|
58
58
|
*
|
|
59
59
|
* ### Create dynamic records
|
|
60
60
|
*
|
|
61
|
-
* The
|
|
61
|
+
* The following commands allow you to:
|
|
62
62
|
*
|
|
63
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
64
|
*
|
package/domainRecord.d.ts
CHANGED
|
@@ -10,7 +10,7 @@ import * as outputs from "./types/output";
|
|
|
10
10
|
*
|
|
11
11
|
* ### Create basic DNS records
|
|
12
12
|
*
|
|
13
|
-
* The
|
|
13
|
+
* The following commands allow you to:
|
|
14
14
|
*
|
|
15
15
|
* - 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`
|
|
16
16
|
*
|
|
@@ -54,7 +54,7 @@ import * as outputs from "./types/output";
|
|
|
54
54
|
*
|
|
55
55
|
* ### Create dynamic records
|
|
56
56
|
*
|
|
57
|
-
* The
|
|
57
|
+
* The following commands allow you to:
|
|
58
58
|
*
|
|
59
59
|
* - 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)
|
|
60
60
|
*
|
package/domainRecord.js
CHANGED
|
@@ -14,7 +14,7 @@ const utilities = require("./utilities");
|
|
|
14
14
|
*
|
|
15
15
|
* ### Create basic DNS records
|
|
16
16
|
*
|
|
17
|
-
* The
|
|
17
|
+
* The following commands allow you to:
|
|
18
18
|
*
|
|
19
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
20
|
*
|
|
@@ -58,7 +58,7 @@ const utilities = require("./utilities");
|
|
|
58
58
|
*
|
|
59
59
|
* ### Create dynamic records
|
|
60
60
|
*
|
|
61
|
-
* The
|
|
61
|
+
* The following commands allow you to:
|
|
62
62
|
*
|
|
63
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
64
|
*
|
package/getInstanceIp.d.ts
CHANGED
|
@@ -18,6 +18,14 @@ export interface GetInstanceIpArgs {
|
|
|
18
18
|
* Only one of `address` and `id` should be specified.
|
|
19
19
|
*/
|
|
20
20
|
id?: string;
|
|
21
|
+
/**
|
|
22
|
+
* `projectId`) The ID of the project the IP is associated with.
|
|
23
|
+
*/
|
|
24
|
+
projectId?: string;
|
|
25
|
+
/**
|
|
26
|
+
* `zone`) The zone in which the IP should be reserved.
|
|
27
|
+
*/
|
|
28
|
+
zone?: string;
|
|
21
29
|
}
|
|
22
30
|
/**
|
|
23
31
|
* A collection of values returned by getInstanceIp.
|
|
@@ -39,7 +47,7 @@ export interface GetInstanceIpResult {
|
|
|
39
47
|
* The IP Prefix.
|
|
40
48
|
*/
|
|
41
49
|
readonly prefix: string;
|
|
42
|
-
readonly projectId
|
|
50
|
+
readonly projectId?: string;
|
|
43
51
|
/**
|
|
44
52
|
* The reverse dns attached to this IP
|
|
45
53
|
*/
|
|
@@ -50,7 +58,7 @@ export interface GetInstanceIpResult {
|
|
|
50
58
|
* The type of the IP
|
|
51
59
|
*/
|
|
52
60
|
readonly type: string;
|
|
53
|
-
readonly zone
|
|
61
|
+
readonly zone?: string;
|
|
54
62
|
}
|
|
55
63
|
/**
|
|
56
64
|
* Gets information about an instance IP.
|
|
@@ -71,4 +79,12 @@ export interface GetInstanceIpOutputArgs {
|
|
|
71
79
|
* Only one of `address` and `id` should be specified.
|
|
72
80
|
*/
|
|
73
81
|
id?: pulumi.Input<string>;
|
|
82
|
+
/**
|
|
83
|
+
* `projectId`) The ID of the project the IP is associated with.
|
|
84
|
+
*/
|
|
85
|
+
projectId?: pulumi.Input<string>;
|
|
86
|
+
/**
|
|
87
|
+
* `zone`) The zone in which the IP should be reserved.
|
|
88
|
+
*/
|
|
89
|
+
zone?: pulumi.Input<string>;
|
|
74
90
|
}
|
package/getInstanceIp.js
CHANGED
|
@@ -16,6 +16,8 @@ function getInstanceIp(args, opts) {
|
|
|
16
16
|
return pulumi.runtime.invoke("scaleway:index/getInstanceIp:getInstanceIp", {
|
|
17
17
|
"address": args.address,
|
|
18
18
|
"id": args.id,
|
|
19
|
+
"projectId": args.projectId,
|
|
20
|
+
"zone": args.zone,
|
|
19
21
|
}, opts);
|
|
20
22
|
}
|
|
21
23
|
exports.getInstanceIp = getInstanceIp;
|
|
@@ -30,6 +32,8 @@ function getInstanceIpOutput(args, opts) {
|
|
|
30
32
|
return pulumi.runtime.invokeOutput("scaleway:index/getInstanceIp:getInstanceIp", {
|
|
31
33
|
"address": args.address,
|
|
32
34
|
"id": args.id,
|
|
35
|
+
"projectId": args.projectId,
|
|
36
|
+
"zone": args.zone,
|
|
33
37
|
}, opts);
|
|
34
38
|
}
|
|
35
39
|
exports.getInstanceIpOutput = getInstanceIpOutput;
|
package/getInstanceIp.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getInstanceIp.js","sourceRoot":"","sources":["../getInstanceIp.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;GAEG;AACH,2HAA2H;AAC3H,SAAgB,aAAa,CAAC,IAAwB,EAAE,IAA2B;IAC/E,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,uIAAuI,CAAC,CAAA;IACxJ,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,4CAA4C,EAAE;QACvE,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,IAAI,EAAE,IAAI,CAAC,EAAE;
|
|
1
|
+
{"version":3,"file":"getInstanceIp.js","sourceRoot":"","sources":["../getInstanceIp.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;GAEG;AACH,2HAA2H;AAC3H,SAAgB,aAAa,CAAC,IAAwB,EAAE,IAA2B;IAC/E,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,uIAAuI,CAAC,CAAA;IACxJ,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,4CAA4C,EAAE;QACvE,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAVD,sCAUC;AA2DD;;GAEG;AACH,2HAA2H;AAC3H,SAAgB,mBAAmB,CAAC,IAA8B,EAAE,IAAiC;IACjG,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,uIAAuI,CAAC,CAAA;IACxJ,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,4CAA4C,EAAE;QAC7E,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAVD,kDAUC"}
|
package/index.d.ts
CHANGED
|
@@ -613,6 +613,7 @@ import * as block from "./block";
|
|
|
613
613
|
import * as config from "./config";
|
|
614
614
|
import * as containers from "./containers";
|
|
615
615
|
import * as databases from "./databases";
|
|
616
|
+
import * as datawarehouse from "./datawarehouse";
|
|
616
617
|
import * as domain from "./domain";
|
|
617
618
|
import * as elasticmetal from "./elasticmetal";
|
|
618
619
|
import * as functions from "./functions";
|
|
@@ -635,4 +636,4 @@ import * as registry from "./registry";
|
|
|
635
636
|
import * as secrets from "./secrets";
|
|
636
637
|
import * as tem from "./tem";
|
|
637
638
|
import * as types from "./types";
|
|
638
|
-
export { account, applesilicon, autoscaling, billing, block, config, containers, databases, domain, elasticmetal, functions, hosting, iam, inference, instance, iot, ipam, job, kubernetes, loadbalancers, mnq, mongodb, network, object, observability, redis, registry, secrets, tem, types, };
|
|
639
|
+
export { account, applesilicon, autoscaling, billing, block, config, containers, databases, datawarehouse, domain, elasticmetal, functions, hosting, iam, inference, instance, iot, ipam, job, kubernetes, loadbalancers, mnq, mongodb, network, object, observability, redis, registry, secrets, tem, types, };
|
package/index.js
CHANGED
|
@@ -21,8 +21,8 @@ exports.getIamApiKeyOutput = exports.getIamApiKey = exports.getFunctionNamespace
|
|
|
21
21
|
exports.getLbFrontendsOutput = exports.getLbFrontends = exports.getLbFrontendOutput = exports.getLbFrontend = exports.getLbBackendsOutput = exports.getLbBackends = exports.getLbBackendOutput = exports.getLbBackend = exports.getLbAclsOutput = exports.getLbAcls = exports.getKubernetesNodePoolOutput = exports.getKubernetesNodePool = exports.getKubernetesClusterOutput = exports.getKubernetesCluster = exports.getK8sVersionOutput = exports.getK8sVersion = exports.getIpamIpsOutput = exports.getIpamIps = exports.getIpamIpOutput = exports.getIpamIp = exports.getIotHubOutput = exports.getIotHub = exports.getIotDeviceOutput = exports.getIotDevice = exports.getInstanceVolumeOutput = exports.getInstanceVolume = exports.getInstanceSnapshotOutput = exports.getInstanceSnapshot = exports.getInstanceServersOutput = exports.getInstanceServers = exports.getInstanceServerOutput = exports.getInstanceServer = exports.getInstanceSecurityGroupOutput = exports.getInstanceSecurityGroup = exports.getInstancePrivateNicOutput = exports.getInstancePrivateNic = exports.getInstancePlacementGroupOutput = exports.getInstancePlacementGroup = exports.getInstanceIpOutput = exports.getInstanceIp = exports.getInstanceImageOutput = exports.getInstanceImage = exports.getIamUserOutput = exports.getIamUser = exports.getIamSshKeyOutput = exports.getIamSshKey = exports.getIamGroupOutput = exports.getIamGroup = exports.getIamApplicationOutput = exports.getIamApplication = void 0;
|
|
22
22
|
exports.getVpcPublicGatewayDhcpOutput = exports.getVpcPublicGatewayDhcp = exports.getVpcPublicGatewayOutput = exports.getVpcPublicGateway = exports.getVpcPrivateNetworkOutput = exports.getVpcPrivateNetwork = exports.getVpcGatewayNetworkOutput = exports.getVpcGatewayNetwork = exports.getVpcOutput = exports.getVpc = exports.getTemDomainOutput = exports.getTemDomain = exports.getSecretVersionOutput = exports.getSecretVersion = exports.getSecretOutput = exports.getSecret = exports.getRegistryNamespaceOutput = exports.getRegistryNamespace = exports.getRegistryImageTagOutput = exports.getRegistryImageTag = exports.getRegistryImageOutput = exports.getRegistryImage = exports.getRedisClusterOutput = exports.getRedisCluster = exports.getObjectBucketPolicyOutput = exports.getObjectBucketPolicy = exports.getObjectBucketOutput = exports.getObjectBucket = exports.getMongoDbInstanceOutput = exports.getMongoDbInstance = exports.getMnqSqsOutput = exports.getMnqSqs = exports.getMnqSnsOutput = exports.getMnqSns = exports.getMarketplaceImageOutput = exports.getMarketplaceImage = exports.getLoadbalancerIpOutput = exports.getLoadbalancerIp = exports.getLoadbalancerCertificateOutput = exports.getLoadbalancerCertificate = exports.getLoadbalancerOutput = exports.getLoadbalancer = exports.getLbsOutput = exports.getLbs = exports.getLbRoutesOutput = exports.getLbRoutes = exports.getLbRouteOutput = exports.getLbRoute = exports.getLbIpsOutput = exports.getLbIps = void 0;
|
|
23
23
|
exports.LoadbalancerRoute = exports.LoadbalancerIp = exports.LoadbalancerFrontend = exports.LoadbalancerCertificate = exports.LoadbalancerBackend = exports.LoadbalancerAcl = exports.Loadbalancer = exports.KubernetesNodePool = exports.KubernetesCluster = exports.KeyManagerKey = exports.JobDefinition = exports.IpamIpReverseDns = exports.IpamIp = exports.IotRoute = exports.IotNetwork = exports.IotHub = exports.IotDevice = exports.InstanceVolume = exports.InstanceUserData = exports.InstanceSnapshot = exports.InstanceServer = exports.InstanceSecurityGroupRules = exports.InstanceSecurityGroup = exports.InstancePrivateNic = exports.InstancePlacementGroup = exports.InstanceIpReverseDns = exports.InstanceIp = exports.InstanceImage = exports.InferenceDeployment = exports.IamUser = exports.IamSshKey = exports.IamPolicy = exports.IamGroupMembership = exports.IamGroup = exports.IamApplication = exports.IamApiKey = exports.getWebhostingOutput = exports.getWebhosting = exports.getWebHostOfferOutput = exports.getWebHostOffer = exports.getVpcsOutput = exports.getVpcs = exports.getVpcRoutesOutput = exports.getVpcRoutes = exports.getVpcPublicPatRuleOutput = exports.getVpcPublicPatRule = exports.getVpcPublicGatewayIpOutput = exports.getVpcPublicGatewayIp = exports.getVpcPublicGatewayDhcpReservationOutput = exports.getVpcPublicGatewayDhcpReservation = void 0;
|
|
24
|
-
exports.
|
|
25
|
-
exports.types = exports.tem = exports.secrets = exports.registry = exports.redis = exports.observability = exports.object = exports.network = exports.mongodb = exports.mnq = exports.loadbalancers = exports.kubernetes = exports.job = exports.ipam = exports.iot = exports.instance = exports.inference = void 0;
|
|
24
|
+
exports.hosting = exports.functions = exports.elasticmetal = exports.domain = exports.datawarehouse = exports.databases = exports.containers = exports.config = exports.block = exports.billing = exports.autoscaling = exports.applesilicon = exports.account = exports.Webhosting = exports.VpcRoute = exports.VpcPublicGatewayPatRule = exports.VpcPublicGatewayIpReverseDns = exports.VpcPublicGatewayIp = exports.VpcPublicGatewayDhcpReservation = exports.VpcPublicGatewayDhcp = exports.VpcPublicGateway = exports.VpcPrivateNetwork = exports.VpcGatewayNetwork = exports.Vpc = exports.TemWebhook = exports.TemDomainValidation = exports.TemDomain = exports.SecretVersion = exports.Secret = exports.SdbDatabase = exports.RegistryNamespace = exports.RedisCluster = exports.RdbSnapshot = exports.ObjectItem = exports.ObjectBucketWebsiteConfiguration = exports.ObjectBucketPolicy = exports.ObjectBucketLockConfiguration = exports.ObjectBucketAcl = exports.ObjectBucket = exports.MongoDbSnapshot = exports.MongoDbInstance = exports.MnqSqsQueue = exports.MnqSqsCredentials = exports.MnqSqs = exports.MnqSnsTopicSubscription = exports.MnqSnsTopic = exports.MnqSnsCredentials = exports.MnqSns = exports.MnqNatsCredentials = exports.MnqNatsAccount = void 0;
|
|
25
|
+
exports.types = exports.tem = exports.secrets = exports.registry = exports.redis = exports.observability = exports.object = exports.network = exports.mongodb = exports.mnq = exports.loadbalancers = exports.kubernetes = exports.job = exports.ipam = exports.iot = exports.instance = exports.inference = exports.iam = void 0;
|
|
26
26
|
const pulumi = require("@pulumi/pulumi");
|
|
27
27
|
const utilities = require("./utilities");
|
|
28
28
|
exports.AccountProject = null;
|
|
@@ -533,6 +533,8 @@ const containers = require("./containers");
|
|
|
533
533
|
exports.containers = containers;
|
|
534
534
|
const databases = require("./databases");
|
|
535
535
|
exports.databases = databases;
|
|
536
|
+
const datawarehouse = require("./datawarehouse");
|
|
537
|
+
exports.datawarehouse = datawarehouse;
|
|
536
538
|
const domain = require("./domain");
|
|
537
539
|
exports.domain = domain;
|
|
538
540
|
const elasticmetal = require("./elasticmetal");
|