@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,117 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Creates and manages Scaleway Data Warehouse databases 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 mainDatabase = new scaleway.datawarehouse.Database("main", {
|
|
24
|
+
* deploymentId: main.id,
|
|
25
|
+
* name: "my_database",
|
|
26
|
+
* });
|
|
27
|
+
* ```
|
|
28
|
+
*
|
|
29
|
+
* ## Import
|
|
30
|
+
*
|
|
31
|
+
* Data Warehouse databases can be imported using the `{region}/{deployment_id}/{name}`, e.g.
|
|
32
|
+
*
|
|
33
|
+
* bash
|
|
34
|
+
*
|
|
35
|
+
* ```sh
|
|
36
|
+
* $ pulumi import scaleway:datawarehouse/database:Database main fr-par/11111111-1111-1111-1111-111111111111/my_database
|
|
37
|
+
* ```
|
|
38
|
+
*/
|
|
39
|
+
export declare class Database extends pulumi.CustomResource {
|
|
40
|
+
/**
|
|
41
|
+
* Get an existing Database resource's state with the given name, ID, and optional extra
|
|
42
|
+
* properties used to qualify the lookup.
|
|
43
|
+
*
|
|
44
|
+
* @param name The _unique_ name of the resulting resource.
|
|
45
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
46
|
+
* @param state Any extra arguments used during the lookup.
|
|
47
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
48
|
+
*/
|
|
49
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: DatabaseState, opts?: pulumi.CustomResourceOptions): Database;
|
|
50
|
+
/**
|
|
51
|
+
* Returns true if the given object is an instance of Database. This is designed to work even
|
|
52
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
53
|
+
*/
|
|
54
|
+
static isInstance(obj: any): obj is Database;
|
|
55
|
+
/**
|
|
56
|
+
* ID of the Data Warehouse deployment to which this database belongs.
|
|
57
|
+
*/
|
|
58
|
+
readonly deploymentId: pulumi.Output<string>;
|
|
59
|
+
/**
|
|
60
|
+
* Name of the database.
|
|
61
|
+
*/
|
|
62
|
+
readonly name: pulumi.Output<string>;
|
|
63
|
+
/**
|
|
64
|
+
* `region`) The region in which the database should be created.
|
|
65
|
+
*/
|
|
66
|
+
readonly region: pulumi.Output<string | undefined>;
|
|
67
|
+
/**
|
|
68
|
+
* Size of the database in GB.
|
|
69
|
+
*/
|
|
70
|
+
readonly size: pulumi.Output<number>;
|
|
71
|
+
/**
|
|
72
|
+
* Create a Database resource with the given unique name, arguments, and options.
|
|
73
|
+
*
|
|
74
|
+
* @param name The _unique_ name of the resource.
|
|
75
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
76
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
77
|
+
*/
|
|
78
|
+
constructor(name: string, args: DatabaseArgs, opts?: pulumi.CustomResourceOptions);
|
|
79
|
+
}
|
|
80
|
+
/**
|
|
81
|
+
* Input properties used for looking up and filtering Database resources.
|
|
82
|
+
*/
|
|
83
|
+
export interface DatabaseState {
|
|
84
|
+
/**
|
|
85
|
+
* ID of the Data Warehouse deployment to which this database belongs.
|
|
86
|
+
*/
|
|
87
|
+
deploymentId?: pulumi.Input<string>;
|
|
88
|
+
/**
|
|
89
|
+
* Name of the database.
|
|
90
|
+
*/
|
|
91
|
+
name?: pulumi.Input<string>;
|
|
92
|
+
/**
|
|
93
|
+
* `region`) The region in which the database should be created.
|
|
94
|
+
*/
|
|
95
|
+
region?: pulumi.Input<string>;
|
|
96
|
+
/**
|
|
97
|
+
* Size of the database in GB.
|
|
98
|
+
*/
|
|
99
|
+
size?: pulumi.Input<number>;
|
|
100
|
+
}
|
|
101
|
+
/**
|
|
102
|
+
* The set of arguments for constructing a Database resource.
|
|
103
|
+
*/
|
|
104
|
+
export interface DatabaseArgs {
|
|
105
|
+
/**
|
|
106
|
+
* ID of the Data Warehouse deployment to which this database belongs.
|
|
107
|
+
*/
|
|
108
|
+
deploymentId: pulumi.Input<string>;
|
|
109
|
+
/**
|
|
110
|
+
* Name of the database.
|
|
111
|
+
*/
|
|
112
|
+
name?: pulumi.Input<string>;
|
|
113
|
+
/**
|
|
114
|
+
* `region`) The region in which the database should be created.
|
|
115
|
+
*/
|
|
116
|
+
region?: pulumi.Input<string>;
|
|
117
|
+
}
|
|
@@ -0,0 +1,95 @@
|
|
|
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.Database = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Creates and manages Scaleway Data Warehouse databases 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 mainDatabase = new scaleway.datawarehouse.Database("main", {
|
|
30
|
+
* deploymentId: main.id,
|
|
31
|
+
* name: "my_database",
|
|
32
|
+
* });
|
|
33
|
+
* ```
|
|
34
|
+
*
|
|
35
|
+
* ## Import
|
|
36
|
+
*
|
|
37
|
+
* Data Warehouse databases can be imported using the `{region}/{deployment_id}/{name}`, e.g.
|
|
38
|
+
*
|
|
39
|
+
* bash
|
|
40
|
+
*
|
|
41
|
+
* ```sh
|
|
42
|
+
* $ pulumi import scaleway:datawarehouse/database:Database main fr-par/11111111-1111-1111-1111-111111111111/my_database
|
|
43
|
+
* ```
|
|
44
|
+
*/
|
|
45
|
+
class Database extends pulumi.CustomResource {
|
|
46
|
+
/**
|
|
47
|
+
* Get an existing Database resource's state with the given name, ID, and optional extra
|
|
48
|
+
* properties used to qualify the lookup.
|
|
49
|
+
*
|
|
50
|
+
* @param name The _unique_ name of the resulting resource.
|
|
51
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
52
|
+
* @param state Any extra arguments used during the lookup.
|
|
53
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
54
|
+
*/
|
|
55
|
+
static get(name, id, state, opts) {
|
|
56
|
+
return new Database(name, state, { ...opts, id: id });
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* Returns true if the given object is an instance of Database. This is designed to work even
|
|
60
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
61
|
+
*/
|
|
62
|
+
static isInstance(obj) {
|
|
63
|
+
if (obj === undefined || obj === null) {
|
|
64
|
+
return false;
|
|
65
|
+
}
|
|
66
|
+
return obj['__pulumiType'] === Database.__pulumiType;
|
|
67
|
+
}
|
|
68
|
+
constructor(name, argsOrState, opts) {
|
|
69
|
+
let resourceInputs = {};
|
|
70
|
+
opts = opts || {};
|
|
71
|
+
if (opts.id) {
|
|
72
|
+
const state = argsOrState;
|
|
73
|
+
resourceInputs["deploymentId"] = state?.deploymentId;
|
|
74
|
+
resourceInputs["name"] = state?.name;
|
|
75
|
+
resourceInputs["region"] = state?.region;
|
|
76
|
+
resourceInputs["size"] = state?.size;
|
|
77
|
+
}
|
|
78
|
+
else {
|
|
79
|
+
const args = argsOrState;
|
|
80
|
+
if (args?.deploymentId === undefined && !opts.urn) {
|
|
81
|
+
throw new Error("Missing required property 'deploymentId'");
|
|
82
|
+
}
|
|
83
|
+
resourceInputs["deploymentId"] = args?.deploymentId;
|
|
84
|
+
resourceInputs["name"] = args?.name;
|
|
85
|
+
resourceInputs["region"] = args?.region;
|
|
86
|
+
resourceInputs["size"] = undefined /*out*/;
|
|
87
|
+
}
|
|
88
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
89
|
+
super(Database.__pulumiType, name, resourceInputs, opts);
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
exports.Database = Database;
|
|
93
|
+
/** @internal */
|
|
94
|
+
Database.__pulumiType = 'scaleway:datawarehouse/database:Database';
|
|
95
|
+
//# sourceMappingURL=database.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"database.js","sourceRoot":"","sources":["../../datawarehouse/database.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoCG;AACH,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,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,EAAE,MAAM,CAAC;YACxC,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC9C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,QAAQ,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC7D,CAAC;;AA1EL,4BA2EC;AA7DG,gBAAgB;AACO,qBAAY,GAAG,0CAA0C,CAAC"}
|
|
@@ -0,0 +1,256 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../types/input";
|
|
3
|
+
import * as outputs from "../types/output";
|
|
4
|
+
/**
|
|
5
|
+
* Creates and manages Scaleway Data Warehouse deployments.
|
|
6
|
+
* For more information refer to the [product documentation](https://www.scaleway.com/en/docs/data-warehouse/).
|
|
7
|
+
*
|
|
8
|
+
* ## Example Usage
|
|
9
|
+
*
|
|
10
|
+
* ### Basic
|
|
11
|
+
*
|
|
12
|
+
* ```typescript
|
|
13
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
14
|
+
* import * as scaleway from "@pulumiverse/scaleway";
|
|
15
|
+
*
|
|
16
|
+
* const main = new scaleway.datawarehouse.Deployment("main", {
|
|
17
|
+
* name: "my-datawarehouse",
|
|
18
|
+
* version: "v25",
|
|
19
|
+
* replicaCount: 1,
|
|
20
|
+
* cpuMin: 2,
|
|
21
|
+
* cpuMax: 4,
|
|
22
|
+
* ramPerCpu: 4,
|
|
23
|
+
* password: "thiZ_is_v&ry_s3cret",
|
|
24
|
+
* });
|
|
25
|
+
* ```
|
|
26
|
+
*
|
|
27
|
+
* ### With Tags
|
|
28
|
+
*
|
|
29
|
+
* ```typescript
|
|
30
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
31
|
+
* import * as scaleway from "@pulumiverse/scaleway";
|
|
32
|
+
*
|
|
33
|
+
* const main = new scaleway.datawarehouse.Deployment("main", {
|
|
34
|
+
* name: "my-datawarehouse",
|
|
35
|
+
* version: "v25",
|
|
36
|
+
* replicaCount: 1,
|
|
37
|
+
* cpuMin: 2,
|
|
38
|
+
* cpuMax: 4,
|
|
39
|
+
* ramPerCpu: 4,
|
|
40
|
+
* password: "thiZ_is_v&ry_s3cret",
|
|
41
|
+
* tags: [
|
|
42
|
+
* "production",
|
|
43
|
+
* "analytics",
|
|
44
|
+
* ],
|
|
45
|
+
* });
|
|
46
|
+
* ```
|
|
47
|
+
*
|
|
48
|
+
* ## Import
|
|
49
|
+
*
|
|
50
|
+
* Data Warehouse deployments can be imported using the `{region}/{id}`, e.g.
|
|
51
|
+
*
|
|
52
|
+
* bash
|
|
53
|
+
*
|
|
54
|
+
* ```sh
|
|
55
|
+
* $ pulumi import scaleway:datawarehouse/deployment:Deployment main fr-par/11111111-1111-1111-1111-111111111111
|
|
56
|
+
* ```
|
|
57
|
+
*/
|
|
58
|
+
export declare class Deployment extends pulumi.CustomResource {
|
|
59
|
+
/**
|
|
60
|
+
* Get an existing Deployment resource's state with the given name, ID, and optional extra
|
|
61
|
+
* properties used to qualify the lookup.
|
|
62
|
+
*
|
|
63
|
+
* @param name The _unique_ name of the resulting resource.
|
|
64
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
65
|
+
* @param state Any extra arguments used during the lookup.
|
|
66
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
67
|
+
*/
|
|
68
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: DeploymentState, opts?: pulumi.CustomResourceOptions): Deployment;
|
|
69
|
+
/**
|
|
70
|
+
* Returns true if the given object is an instance of Deployment. This is designed to work even
|
|
71
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
72
|
+
*/
|
|
73
|
+
static isInstance(obj: any): obj is Deployment;
|
|
74
|
+
/**
|
|
75
|
+
* Maximum CPU count. Must be greater than or equal to `cpuMin`.
|
|
76
|
+
*/
|
|
77
|
+
readonly cpuMax: pulumi.Output<number>;
|
|
78
|
+
/**
|
|
79
|
+
* Minimum CPU count. Must be less than or equal to `cpuMax`.
|
|
80
|
+
*/
|
|
81
|
+
readonly cpuMin: pulumi.Output<number>;
|
|
82
|
+
/**
|
|
83
|
+
* Date and time of deployment creation (RFC 3339 format).
|
|
84
|
+
*/
|
|
85
|
+
readonly createdAt: pulumi.Output<string>;
|
|
86
|
+
/**
|
|
87
|
+
* Name of the Data Warehouse deployment.
|
|
88
|
+
*/
|
|
89
|
+
readonly name: pulumi.Output<string>;
|
|
90
|
+
/**
|
|
91
|
+
* Password for the first user of the deployment. If not specified, a random password will be generated. Note: password is only used during deployment creation.
|
|
92
|
+
*/
|
|
93
|
+
readonly password: pulumi.Output<string | undefined>;
|
|
94
|
+
/**
|
|
95
|
+
* `projectId`) The ID of the project the deployment is associated with.
|
|
96
|
+
*
|
|
97
|
+
* > **Important:** Private endpoints are not yet supported by the API. A public endpoint is always created automatically.
|
|
98
|
+
*
|
|
99
|
+
* > **Note:** During the private beta phase, modifying `cpuMin`, `cpuMax`, and `replicaCount` has no effect until the feature is launched in general availability.
|
|
100
|
+
*/
|
|
101
|
+
readonly projectId: pulumi.Output<string>;
|
|
102
|
+
/**
|
|
103
|
+
* Public endpoint information (always created automatically).
|
|
104
|
+
*/
|
|
105
|
+
readonly publicNetworks: pulumi.Output<outputs.datawarehouse.DeploymentPublicNetwork[]>;
|
|
106
|
+
/**
|
|
107
|
+
* RAM per CPU in GB.
|
|
108
|
+
*/
|
|
109
|
+
readonly ramPerCpu: pulumi.Output<number>;
|
|
110
|
+
/**
|
|
111
|
+
* `region`) The region in which the deployment should be created.
|
|
112
|
+
*/
|
|
113
|
+
readonly region: pulumi.Output<string | undefined>;
|
|
114
|
+
/**
|
|
115
|
+
* Number of replicas.
|
|
116
|
+
*/
|
|
117
|
+
readonly replicaCount: pulumi.Output<number>;
|
|
118
|
+
/**
|
|
119
|
+
* The status of the deployment (e.g., "ready", "provisioning").
|
|
120
|
+
*/
|
|
121
|
+
readonly status: pulumi.Output<string>;
|
|
122
|
+
/**
|
|
123
|
+
* List of tags to apply to the deployment.
|
|
124
|
+
*/
|
|
125
|
+
readonly tags: pulumi.Output<string[] | undefined>;
|
|
126
|
+
/**
|
|
127
|
+
* Date and time of deployment last update (RFC 3339 format).
|
|
128
|
+
*/
|
|
129
|
+
readonly updatedAt: pulumi.Output<string>;
|
|
130
|
+
/**
|
|
131
|
+
* ClickHouse version to use (e.g., "v25"). Changing this forces recreation of the deployment.
|
|
132
|
+
*/
|
|
133
|
+
readonly version: pulumi.Output<string>;
|
|
134
|
+
/**
|
|
135
|
+
* Create a Deployment resource with the given unique name, arguments, and options.
|
|
136
|
+
*
|
|
137
|
+
* @param name The _unique_ name of the resource.
|
|
138
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
139
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
140
|
+
*/
|
|
141
|
+
constructor(name: string, args: DeploymentArgs, opts?: pulumi.CustomResourceOptions);
|
|
142
|
+
}
|
|
143
|
+
/**
|
|
144
|
+
* Input properties used for looking up and filtering Deployment resources.
|
|
145
|
+
*/
|
|
146
|
+
export interface DeploymentState {
|
|
147
|
+
/**
|
|
148
|
+
* Maximum CPU count. Must be greater than or equal to `cpuMin`.
|
|
149
|
+
*/
|
|
150
|
+
cpuMax?: pulumi.Input<number>;
|
|
151
|
+
/**
|
|
152
|
+
* Minimum CPU count. Must be less than or equal to `cpuMax`.
|
|
153
|
+
*/
|
|
154
|
+
cpuMin?: pulumi.Input<number>;
|
|
155
|
+
/**
|
|
156
|
+
* Date and time of deployment creation (RFC 3339 format).
|
|
157
|
+
*/
|
|
158
|
+
createdAt?: pulumi.Input<string>;
|
|
159
|
+
/**
|
|
160
|
+
* Name of the Data Warehouse deployment.
|
|
161
|
+
*/
|
|
162
|
+
name?: pulumi.Input<string>;
|
|
163
|
+
/**
|
|
164
|
+
* Password for the first user of the deployment. If not specified, a random password will be generated. Note: password is only used during deployment creation.
|
|
165
|
+
*/
|
|
166
|
+
password?: pulumi.Input<string>;
|
|
167
|
+
/**
|
|
168
|
+
* `projectId`) The ID of the project the deployment is associated with.
|
|
169
|
+
*
|
|
170
|
+
* > **Important:** Private endpoints are not yet supported by the API. A public endpoint is always created automatically.
|
|
171
|
+
*
|
|
172
|
+
* > **Note:** During the private beta phase, modifying `cpuMin`, `cpuMax`, and `replicaCount` has no effect until the feature is launched in general availability.
|
|
173
|
+
*/
|
|
174
|
+
projectId?: pulumi.Input<string>;
|
|
175
|
+
/**
|
|
176
|
+
* Public endpoint information (always created automatically).
|
|
177
|
+
*/
|
|
178
|
+
publicNetworks?: pulumi.Input<pulumi.Input<inputs.datawarehouse.DeploymentPublicNetwork>[]>;
|
|
179
|
+
/**
|
|
180
|
+
* RAM per CPU in GB.
|
|
181
|
+
*/
|
|
182
|
+
ramPerCpu?: pulumi.Input<number>;
|
|
183
|
+
/**
|
|
184
|
+
* `region`) The region in which the deployment should be created.
|
|
185
|
+
*/
|
|
186
|
+
region?: pulumi.Input<string>;
|
|
187
|
+
/**
|
|
188
|
+
* Number of replicas.
|
|
189
|
+
*/
|
|
190
|
+
replicaCount?: pulumi.Input<number>;
|
|
191
|
+
/**
|
|
192
|
+
* The status of the deployment (e.g., "ready", "provisioning").
|
|
193
|
+
*/
|
|
194
|
+
status?: pulumi.Input<string>;
|
|
195
|
+
/**
|
|
196
|
+
* List of tags to apply to the deployment.
|
|
197
|
+
*/
|
|
198
|
+
tags?: pulumi.Input<pulumi.Input<string>[]>;
|
|
199
|
+
/**
|
|
200
|
+
* Date and time of deployment last update (RFC 3339 format).
|
|
201
|
+
*/
|
|
202
|
+
updatedAt?: pulumi.Input<string>;
|
|
203
|
+
/**
|
|
204
|
+
* ClickHouse version to use (e.g., "v25"). Changing this forces recreation of the deployment.
|
|
205
|
+
*/
|
|
206
|
+
version?: pulumi.Input<string>;
|
|
207
|
+
}
|
|
208
|
+
/**
|
|
209
|
+
* The set of arguments for constructing a Deployment resource.
|
|
210
|
+
*/
|
|
211
|
+
export interface DeploymentArgs {
|
|
212
|
+
/**
|
|
213
|
+
* Maximum CPU count. Must be greater than or equal to `cpuMin`.
|
|
214
|
+
*/
|
|
215
|
+
cpuMax: pulumi.Input<number>;
|
|
216
|
+
/**
|
|
217
|
+
* Minimum CPU count. Must be less than or equal to `cpuMax`.
|
|
218
|
+
*/
|
|
219
|
+
cpuMin: pulumi.Input<number>;
|
|
220
|
+
/**
|
|
221
|
+
* Name of the Data Warehouse deployment.
|
|
222
|
+
*/
|
|
223
|
+
name?: pulumi.Input<string>;
|
|
224
|
+
/**
|
|
225
|
+
* Password for the first user of the deployment. If not specified, a random password will be generated. Note: password is only used during deployment creation.
|
|
226
|
+
*/
|
|
227
|
+
password?: pulumi.Input<string>;
|
|
228
|
+
/**
|
|
229
|
+
* `projectId`) The ID of the project the deployment is associated with.
|
|
230
|
+
*
|
|
231
|
+
* > **Important:** Private endpoints are not yet supported by the API. A public endpoint is always created automatically.
|
|
232
|
+
*
|
|
233
|
+
* > **Note:** During the private beta phase, modifying `cpuMin`, `cpuMax`, and `replicaCount` has no effect until the feature is launched in general availability.
|
|
234
|
+
*/
|
|
235
|
+
projectId?: pulumi.Input<string>;
|
|
236
|
+
/**
|
|
237
|
+
* RAM per CPU in GB.
|
|
238
|
+
*/
|
|
239
|
+
ramPerCpu: pulumi.Input<number>;
|
|
240
|
+
/**
|
|
241
|
+
* `region`) The region in which the deployment should be created.
|
|
242
|
+
*/
|
|
243
|
+
region?: pulumi.Input<string>;
|
|
244
|
+
/**
|
|
245
|
+
* Number of replicas.
|
|
246
|
+
*/
|
|
247
|
+
replicaCount: pulumi.Input<number>;
|
|
248
|
+
/**
|
|
249
|
+
* List of tags to apply to the deployment.
|
|
250
|
+
*/
|
|
251
|
+
tags?: pulumi.Input<pulumi.Input<string>[]>;
|
|
252
|
+
/**
|
|
253
|
+
* ClickHouse version to use (e.g., "v25"). Changing this forces recreation of the deployment.
|
|
254
|
+
*/
|
|
255
|
+
version: pulumi.Input<string>;
|
|
256
|
+
}
|
|
@@ -0,0 +1,146 @@
|
|
|
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.Deployment = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Creates and manages Scaleway Data Warehouse deployments.
|
|
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
|
+
* ```
|
|
30
|
+
*
|
|
31
|
+
* ### With Tags
|
|
32
|
+
*
|
|
33
|
+
* ```typescript
|
|
34
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
35
|
+
* import * as scaleway from "@pulumiverse/scaleway";
|
|
36
|
+
*
|
|
37
|
+
* const main = new scaleway.datawarehouse.Deployment("main", {
|
|
38
|
+
* name: "my-datawarehouse",
|
|
39
|
+
* version: "v25",
|
|
40
|
+
* replicaCount: 1,
|
|
41
|
+
* cpuMin: 2,
|
|
42
|
+
* cpuMax: 4,
|
|
43
|
+
* ramPerCpu: 4,
|
|
44
|
+
* password: "thiZ_is_v&ry_s3cret",
|
|
45
|
+
* tags: [
|
|
46
|
+
* "production",
|
|
47
|
+
* "analytics",
|
|
48
|
+
* ],
|
|
49
|
+
* });
|
|
50
|
+
* ```
|
|
51
|
+
*
|
|
52
|
+
* ## Import
|
|
53
|
+
*
|
|
54
|
+
* Data Warehouse deployments can be imported using the `{region}/{id}`, e.g.
|
|
55
|
+
*
|
|
56
|
+
* bash
|
|
57
|
+
*
|
|
58
|
+
* ```sh
|
|
59
|
+
* $ pulumi import scaleway:datawarehouse/deployment:Deployment main fr-par/11111111-1111-1111-1111-111111111111
|
|
60
|
+
* ```
|
|
61
|
+
*/
|
|
62
|
+
class Deployment extends pulumi.CustomResource {
|
|
63
|
+
/**
|
|
64
|
+
* Get an existing Deployment resource's state with the given name, ID, and optional extra
|
|
65
|
+
* properties used to qualify the lookup.
|
|
66
|
+
*
|
|
67
|
+
* @param name The _unique_ name of the resulting resource.
|
|
68
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
69
|
+
* @param state Any extra arguments used during the lookup.
|
|
70
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
71
|
+
*/
|
|
72
|
+
static get(name, id, state, opts) {
|
|
73
|
+
return new Deployment(name, state, { ...opts, id: id });
|
|
74
|
+
}
|
|
75
|
+
/**
|
|
76
|
+
* Returns true if the given object is an instance of Deployment. This is designed to work even
|
|
77
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
78
|
+
*/
|
|
79
|
+
static isInstance(obj) {
|
|
80
|
+
if (obj === undefined || obj === null) {
|
|
81
|
+
return false;
|
|
82
|
+
}
|
|
83
|
+
return obj['__pulumiType'] === Deployment.__pulumiType;
|
|
84
|
+
}
|
|
85
|
+
constructor(name, argsOrState, opts) {
|
|
86
|
+
let resourceInputs = {};
|
|
87
|
+
opts = opts || {};
|
|
88
|
+
if (opts.id) {
|
|
89
|
+
const state = argsOrState;
|
|
90
|
+
resourceInputs["cpuMax"] = state?.cpuMax;
|
|
91
|
+
resourceInputs["cpuMin"] = state?.cpuMin;
|
|
92
|
+
resourceInputs["createdAt"] = state?.createdAt;
|
|
93
|
+
resourceInputs["name"] = state?.name;
|
|
94
|
+
resourceInputs["password"] = state?.password;
|
|
95
|
+
resourceInputs["projectId"] = state?.projectId;
|
|
96
|
+
resourceInputs["publicNetworks"] = state?.publicNetworks;
|
|
97
|
+
resourceInputs["ramPerCpu"] = state?.ramPerCpu;
|
|
98
|
+
resourceInputs["region"] = state?.region;
|
|
99
|
+
resourceInputs["replicaCount"] = state?.replicaCount;
|
|
100
|
+
resourceInputs["status"] = state?.status;
|
|
101
|
+
resourceInputs["tags"] = state?.tags;
|
|
102
|
+
resourceInputs["updatedAt"] = state?.updatedAt;
|
|
103
|
+
resourceInputs["version"] = state?.version;
|
|
104
|
+
}
|
|
105
|
+
else {
|
|
106
|
+
const args = argsOrState;
|
|
107
|
+
if (args?.cpuMax === undefined && !opts.urn) {
|
|
108
|
+
throw new Error("Missing required property 'cpuMax'");
|
|
109
|
+
}
|
|
110
|
+
if (args?.cpuMin === undefined && !opts.urn) {
|
|
111
|
+
throw new Error("Missing required property 'cpuMin'");
|
|
112
|
+
}
|
|
113
|
+
if (args?.ramPerCpu === undefined && !opts.urn) {
|
|
114
|
+
throw new Error("Missing required property 'ramPerCpu'");
|
|
115
|
+
}
|
|
116
|
+
if (args?.replicaCount === undefined && !opts.urn) {
|
|
117
|
+
throw new Error("Missing required property 'replicaCount'");
|
|
118
|
+
}
|
|
119
|
+
if (args?.version === undefined && !opts.urn) {
|
|
120
|
+
throw new Error("Missing required property 'version'");
|
|
121
|
+
}
|
|
122
|
+
resourceInputs["cpuMax"] = args?.cpuMax;
|
|
123
|
+
resourceInputs["cpuMin"] = args?.cpuMin;
|
|
124
|
+
resourceInputs["name"] = args?.name;
|
|
125
|
+
resourceInputs["password"] = args?.password ? pulumi.secret(args.password) : undefined;
|
|
126
|
+
resourceInputs["projectId"] = args?.projectId;
|
|
127
|
+
resourceInputs["ramPerCpu"] = args?.ramPerCpu;
|
|
128
|
+
resourceInputs["region"] = args?.region;
|
|
129
|
+
resourceInputs["replicaCount"] = args?.replicaCount;
|
|
130
|
+
resourceInputs["tags"] = args?.tags;
|
|
131
|
+
resourceInputs["version"] = args?.version;
|
|
132
|
+
resourceInputs["createdAt"] = undefined /*out*/;
|
|
133
|
+
resourceInputs["publicNetworks"] = undefined /*out*/;
|
|
134
|
+
resourceInputs["status"] = undefined /*out*/;
|
|
135
|
+
resourceInputs["updatedAt"] = undefined /*out*/;
|
|
136
|
+
}
|
|
137
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
138
|
+
const secretOpts = { additionalSecretOutputs: ["password"] };
|
|
139
|
+
opts = pulumi.mergeOptions(opts, secretOpts);
|
|
140
|
+
super(Deployment.__pulumiType, name, resourceInputs, opts);
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
exports.Deployment = Deployment;
|
|
144
|
+
/** @internal */
|
|
145
|
+
Deployment.__pulumiType = 'scaleway:datawarehouse/deployment:Deployment';
|
|
146
|
+
//# sourceMappingURL=deployment.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"deployment.js","sourceRoot":"","sources":["../../datawarehouse/deployment.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqDG;AACH,MAAa,UAAW,SAAQ,MAAM,CAAC,cAAc;IACjD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAuB,EAAE,IAAmC;QACrH,OAAO,IAAI,UAAU,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IA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cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,EAAE,SAAS,CAAC;YAC9C,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,EAAE,MAAM,CAAC;YACxC,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,EAAE,YAAY,CAAC;YACpD,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,OAAO,CAAC;YAC1C,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,gBAAgB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACrD,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,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,UAAU,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC/D,CAAC;;AAxJL,gCAyJC;AA3IG,gBAAgB;AACO,uBAAY,GAAG,8CAA8C,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export { DatabaseArgs, DatabaseState } from "./database";
|
|
2
|
+
export type Database = import("./database").Database;
|
|
3
|
+
export declare const Database: typeof import("./database").Database;
|
|
4
|
+
export { DeploymentArgs, DeploymentState } from "./deployment";
|
|
5
|
+
export type Deployment = import("./deployment").Deployment;
|
|
6
|
+
export declare const Deployment: typeof import("./deployment").Deployment;
|
|
7
|
+
export { UserArgs, UserState } from "./user";
|
|
8
|
+
export type User = import("./user").User;
|
|
9
|
+
export declare const User: typeof import("./user").User;
|
|
@@ -0,0 +1,32 @@
|
|
|
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 = exports.Deployment = exports.Database = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
exports.Database = null;
|
|
9
|
+
utilities.lazyLoad(exports, ["Database"], () => require("./database"));
|
|
10
|
+
exports.Deployment = null;
|
|
11
|
+
utilities.lazyLoad(exports, ["Deployment"], () => require("./deployment"));
|
|
12
|
+
exports.User = null;
|
|
13
|
+
utilities.lazyLoad(exports, ["User"], () => require("./user"));
|
|
14
|
+
const _module = {
|
|
15
|
+
version: utilities.getVersion(),
|
|
16
|
+
construct: (name, type, urn) => {
|
|
17
|
+
switch (type) {
|
|
18
|
+
case "scaleway:datawarehouse/database:Database":
|
|
19
|
+
return new exports.Database(name, undefined, { urn });
|
|
20
|
+
case "scaleway:datawarehouse/deployment:Deployment":
|
|
21
|
+
return new exports.Deployment(name, undefined, { urn });
|
|
22
|
+
case "scaleway:datawarehouse/user:User":
|
|
23
|
+
return new exports.User(name, undefined, { urn });
|
|
24
|
+
default:
|
|
25
|
+
throw new Error(`unknown resource type ${type}`);
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
};
|
|
29
|
+
pulumi.runtime.registerResourceModule("scaleway", "datawarehouse/database", _module);
|
|
30
|
+
pulumi.runtime.registerResourceModule("scaleway", "datawarehouse/deployment", _module);
|
|
31
|
+
pulumi.runtime.registerResourceModule("scaleway", "datawarehouse/user", _module);
|
|
32
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sour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