@pulumiverse/scaleway 1.18.0 → 1.19.0-alpha.1730362099
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/cockpitAlertManager.d.ts +27 -0
- package/cockpitAlertManager.js +27 -0
- package/cockpitAlertManager.js.map +1 -1
- package/getInstancePrivateNic.d.ts +1 -0
- package/getInstancePrivateNic.js.map +1 -1
- package/getRegistryImageTag.d.ts +93 -0
- package/getRegistryImageTag.js +36 -0
- package/getRegistryImageTag.js.map +1 -0
- package/index.d.ts +3 -27
- package/index.js +9 -45
- package/index.js.map +1 -1
- package/instancePrivateNic.d.ts +44 -1
- package/instancePrivateNic.js +34 -1
- package/instancePrivateNic.js.map +1 -1
- package/package.json +2 -2
- package/types/input.d.ts +0 -88
- package/types/output.d.ts +0 -88
- package/documentdbDatabase.d.ts +0 -149
- package/documentdbDatabase.js +0 -99
- package/documentdbDatabase.js.map +0 -1
- package/documentdbInstance.d.ts +0 -249
- package/documentdbInstance.js +0 -115
- package/documentdbInstance.js.map +0 -1
- package/documentdbPrivateNetworkEndpoint.d.ts +0 -130
- package/documentdbPrivateNetworkEndpoint.js +0 -97
- package/documentdbPrivateNetworkEndpoint.js.map +0 -1
- package/documentdbPrivilege.d.ts +0 -131
- package/documentdbPrivilege.js +0 -104
- package/documentdbPrivilege.js.map +0 -1
- package/documentdbReadReplica.d.ts +0 -146
- package/documentdbReadReplica.js +0 -109
- package/documentdbReadReplica.js.map +0 -1
- package/documentdbUser.d.ts +0 -150
- package/documentdbUser.js +0 -107
- package/documentdbUser.js.map +0 -1
- package/getDocumentdbDatabase.d.ts +0 -88
- package/getDocumentdbDatabase.js +0 -58
- package/getDocumentdbDatabase.js.map +0 -1
- package/getDocumentdbInstance.d.ts +0 -77
- package/getDocumentdbInstance.js +0 -36
- package/getDocumentdbInstance.js.map +0 -1
- package/getDocumentdbLoadBalancerEndpoint.d.ts +0 -80
- package/getDocumentdbLoadBalancerEndpoint.js +0 -36
- package/getDocumentdbLoadBalancerEndpoint.js.map +0 -1
package/documentdbReadReplica.js
DELETED
|
@@ -1,109 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
-
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
exports.DocumentdbReadReplica = void 0;
|
|
6
|
-
const pulumi = require("@pulumi/pulumi");
|
|
7
|
-
const utilities = require("./utilities");
|
|
8
|
-
/**
|
|
9
|
-
* Creates and manages Scaleway DocumentDB Database read replicas.
|
|
10
|
-
*
|
|
11
|
-
* ## Example Usage
|
|
12
|
-
*
|
|
13
|
-
* ### Basic
|
|
14
|
-
*
|
|
15
|
-
* ```typescript
|
|
16
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
17
|
-
* import * as scaleway from "@pulumiverse/scaleway";
|
|
18
|
-
*
|
|
19
|
-
* const replica = new scaleway.DocumentdbReadReplica("replica", {
|
|
20
|
-
* instanceId: "11111111-1111-1111-1111-111111111111",
|
|
21
|
-
* directAccess: {},
|
|
22
|
-
* });
|
|
23
|
-
* ```
|
|
24
|
-
*
|
|
25
|
-
* ### Private network
|
|
26
|
-
*
|
|
27
|
-
* ```typescript
|
|
28
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
29
|
-
* import * as scaleway from "@pulumiverse/scaleway";
|
|
30
|
-
*
|
|
31
|
-
* const pn = new scaleway.VpcPrivateNetwork("pn", {});
|
|
32
|
-
* const instance = new scaleway.DocumentdbInstance("instance", {
|
|
33
|
-
* name: "document_db-read-replica-basic",
|
|
34
|
-
* nodeType: "docdb-play2-pico",
|
|
35
|
-
* engine: "FerretDB-1",
|
|
36
|
-
* userName: "my_initial_user",
|
|
37
|
-
* password: "thiZ_is_v&ry_s3cret",
|
|
38
|
-
* volumeSizeInGb: 20,
|
|
39
|
-
* });
|
|
40
|
-
* const replica = new scaleway.DocumentdbReadReplica("replica", {
|
|
41
|
-
* instanceId: instance.id,
|
|
42
|
-
* privateNetwork: {
|
|
43
|
-
* privateNetworkId: pn.id,
|
|
44
|
-
* serviceIp: "192.168.1.254/24",
|
|
45
|
-
* },
|
|
46
|
-
* });
|
|
47
|
-
* ```
|
|
48
|
-
*
|
|
49
|
-
* ## Import
|
|
50
|
-
*
|
|
51
|
-
* Database Read replica can be imported using the `{region}/{id}`, e.g.
|
|
52
|
-
*
|
|
53
|
-
* bash
|
|
54
|
-
*
|
|
55
|
-
* ```sh
|
|
56
|
-
* $ pulumi import scaleway:index/documentdbReadReplica:DocumentdbReadReplica rr fr-par/11111111-1111-1111-1111-111111111111
|
|
57
|
-
* ```
|
|
58
|
-
*/
|
|
59
|
-
class DocumentdbReadReplica extends pulumi.CustomResource {
|
|
60
|
-
/**
|
|
61
|
-
* Get an existing DocumentdbReadReplica resource's state with the given name, ID, and optional extra
|
|
62
|
-
* properties used to qualify the lookup.
|
|
63
|
-
*
|
|
64
|
-
* @param name The _unique_ name of the resulting resource.
|
|
65
|
-
* @param id The _unique_ provider ID of the resource to lookup.
|
|
66
|
-
* @param state Any extra arguments used during the lookup.
|
|
67
|
-
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
68
|
-
*/
|
|
69
|
-
static get(name, id, state, opts) {
|
|
70
|
-
return new DocumentdbReadReplica(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
71
|
-
}
|
|
72
|
-
/**
|
|
73
|
-
* Returns true if the given object is an instance of DocumentdbReadReplica. This is designed to work even
|
|
74
|
-
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
75
|
-
*/
|
|
76
|
-
static isInstance(obj) {
|
|
77
|
-
if (obj === undefined || obj === null) {
|
|
78
|
-
return false;
|
|
79
|
-
}
|
|
80
|
-
return obj['__pulumiType'] === DocumentdbReadReplica.__pulumiType;
|
|
81
|
-
}
|
|
82
|
-
constructor(name, argsOrState, opts) {
|
|
83
|
-
let resourceInputs = {};
|
|
84
|
-
opts = opts || {};
|
|
85
|
-
if (opts.id) {
|
|
86
|
-
const state = argsOrState;
|
|
87
|
-
resourceInputs["directAccess"] = state ? state.directAccess : undefined;
|
|
88
|
-
resourceInputs["instanceId"] = state ? state.instanceId : undefined;
|
|
89
|
-
resourceInputs["privateNetwork"] = state ? state.privateNetwork : undefined;
|
|
90
|
-
resourceInputs["region"] = state ? state.region : undefined;
|
|
91
|
-
}
|
|
92
|
-
else {
|
|
93
|
-
const args = argsOrState;
|
|
94
|
-
if ((!args || args.instanceId === undefined) && !opts.urn) {
|
|
95
|
-
throw new Error("Missing required property 'instanceId'");
|
|
96
|
-
}
|
|
97
|
-
resourceInputs["directAccess"] = args ? args.directAccess : undefined;
|
|
98
|
-
resourceInputs["instanceId"] = args ? args.instanceId : undefined;
|
|
99
|
-
resourceInputs["privateNetwork"] = args ? args.privateNetwork : undefined;
|
|
100
|
-
resourceInputs["region"] = args ? args.region : undefined;
|
|
101
|
-
}
|
|
102
|
-
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
103
|
-
super(DocumentdbReadReplica.__pulumiType, name, resourceInputs, opts);
|
|
104
|
-
}
|
|
105
|
-
}
|
|
106
|
-
exports.DocumentdbReadReplica = DocumentdbReadReplica;
|
|
107
|
-
/** @internal */
|
|
108
|
-
DocumentdbReadReplica.__pulumiType = 'scaleway:index/documentdbReadReplica:DocumentdbReadReplica';
|
|
109
|
-
//# sourceMappingURL=documentdbReadReplica.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"documentdbReadReplica.js","sourceRoot":"","sources":["../documentdbReadReplica.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkDG;AACH,MAAa,qBAAsB,SAAQ,MAAM,CAAC,cAAc;I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AAM,IAAI,KAAK,CAAC,wCAAwC,CAAC,CAAC;aAC7D;YACD,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,gBAAgB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1E,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;SAC7D;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,qBAAqB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC1E,CAAC;;AA7EL,sDA8EC;AAhEG,gBAAgB;AACO,kCAAY,GAAG,4DAA4D,CAAC"}
|
package/documentdbUser.d.ts
DELETED
|
@@ -1,150 +0,0 @@
|
|
|
1
|
-
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
-
/**
|
|
3
|
-
* Creates and manages Scaleway Database DocumentDB Users.
|
|
4
|
-
*
|
|
5
|
-
* ## Example Usage
|
|
6
|
-
*
|
|
7
|
-
* ### Basic
|
|
8
|
-
*
|
|
9
|
-
* ```typescript
|
|
10
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
-
* import * as random from "@pulumi/random";
|
|
12
|
-
* import * as scaleway from "@pulumiverse/scaleway";
|
|
13
|
-
*
|
|
14
|
-
* const instance = new scaleway.DocumentdbInstance("instance", {
|
|
15
|
-
* name: "test-document_db-basic",
|
|
16
|
-
* nodeType: "docdb-play2-pico",
|
|
17
|
-
* engine: "FerretDB-1",
|
|
18
|
-
* userName: "my_initial_user",
|
|
19
|
-
* password: "thiZ_is_v&ry_s3cret",
|
|
20
|
-
* volumeSizeInGb: 20,
|
|
21
|
-
* });
|
|
22
|
-
* const dbPassword = new random.RandomPassword("db_password", {
|
|
23
|
-
* length: 16,
|
|
24
|
-
* special: true,
|
|
25
|
-
* });
|
|
26
|
-
* const dbAdmin = new scaleway.DocumentdbUser("db_admin", {
|
|
27
|
-
* instanceId: instance.id,
|
|
28
|
-
* name: "devtools",
|
|
29
|
-
* password: dbPassword.result,
|
|
30
|
-
* isAdmin: true,
|
|
31
|
-
* });
|
|
32
|
-
* ```
|
|
33
|
-
*
|
|
34
|
-
* ## Import
|
|
35
|
-
*
|
|
36
|
-
* Database User can be imported using `{region}/{instance_id}/{user_name}`, e.g.
|
|
37
|
-
*
|
|
38
|
-
* bash
|
|
39
|
-
*
|
|
40
|
-
* ```sh
|
|
41
|
-
* $ pulumi import scaleway:index/documentdbUser:DocumentdbUser admin fr-par/11111111-1111-1111-1111-111111111111/admin
|
|
42
|
-
* ```
|
|
43
|
-
*/
|
|
44
|
-
export declare class DocumentdbUser extends pulumi.CustomResource {
|
|
45
|
-
/**
|
|
46
|
-
* Get an existing DocumentdbUser resource's state with the given name, ID, and optional extra
|
|
47
|
-
* properties used to qualify the lookup.
|
|
48
|
-
*
|
|
49
|
-
* @param name The _unique_ name of the resulting resource.
|
|
50
|
-
* @param id The _unique_ provider ID of the resource to lookup.
|
|
51
|
-
* @param state Any extra arguments used during the lookup.
|
|
52
|
-
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
53
|
-
*/
|
|
54
|
-
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: DocumentdbUserState, opts?: pulumi.CustomResourceOptions): DocumentdbUser;
|
|
55
|
-
/**
|
|
56
|
-
* Returns true if the given object is an instance of DocumentdbUser. This is designed to work even
|
|
57
|
-
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
58
|
-
*/
|
|
59
|
-
static isInstance(obj: any): obj is DocumentdbUser;
|
|
60
|
-
/**
|
|
61
|
-
* UUID of the documentDB instance.
|
|
62
|
-
*
|
|
63
|
-
* > **Important:** Updates to `instanceId` will recreate the Database User.
|
|
64
|
-
*/
|
|
65
|
-
readonly instanceId: pulumi.Output<string>;
|
|
66
|
-
/**
|
|
67
|
-
* Grant admin permissions to the Database User.
|
|
68
|
-
*/
|
|
69
|
-
readonly isAdmin: pulumi.Output<boolean | undefined>;
|
|
70
|
-
/**
|
|
71
|
-
* Database Username.
|
|
72
|
-
*
|
|
73
|
-
* > **Important:** Updates to `name` will recreate the Database User.
|
|
74
|
-
*/
|
|
75
|
-
readonly name: pulumi.Output<string>;
|
|
76
|
-
/**
|
|
77
|
-
* Database User password.
|
|
78
|
-
*/
|
|
79
|
-
readonly password: pulumi.Output<string>;
|
|
80
|
-
/**
|
|
81
|
-
* The Scaleway region this resource resides in.
|
|
82
|
-
*/
|
|
83
|
-
readonly region: pulumi.Output<string>;
|
|
84
|
-
/**
|
|
85
|
-
* Create a DocumentdbUser resource with the given unique name, arguments, and options.
|
|
86
|
-
*
|
|
87
|
-
* @param name The _unique_ name of the resource.
|
|
88
|
-
* @param args The arguments to use to populate this resource's properties.
|
|
89
|
-
* @param opts A bag of options that control this resource's behavior.
|
|
90
|
-
*/
|
|
91
|
-
constructor(name: string, args: DocumentdbUserArgs, opts?: pulumi.CustomResourceOptions);
|
|
92
|
-
}
|
|
93
|
-
/**
|
|
94
|
-
* Input properties used for looking up and filtering DocumentdbUser resources.
|
|
95
|
-
*/
|
|
96
|
-
export interface DocumentdbUserState {
|
|
97
|
-
/**
|
|
98
|
-
* UUID of the documentDB instance.
|
|
99
|
-
*
|
|
100
|
-
* > **Important:** Updates to `instanceId` will recreate the Database User.
|
|
101
|
-
*/
|
|
102
|
-
instanceId?: pulumi.Input<string>;
|
|
103
|
-
/**
|
|
104
|
-
* Grant admin permissions to the Database User.
|
|
105
|
-
*/
|
|
106
|
-
isAdmin?: pulumi.Input<boolean>;
|
|
107
|
-
/**
|
|
108
|
-
* Database Username.
|
|
109
|
-
*
|
|
110
|
-
* > **Important:** Updates to `name` will recreate the Database User.
|
|
111
|
-
*/
|
|
112
|
-
name?: pulumi.Input<string>;
|
|
113
|
-
/**
|
|
114
|
-
* Database User password.
|
|
115
|
-
*/
|
|
116
|
-
password?: pulumi.Input<string>;
|
|
117
|
-
/**
|
|
118
|
-
* The Scaleway region this resource resides in.
|
|
119
|
-
*/
|
|
120
|
-
region?: pulumi.Input<string>;
|
|
121
|
-
}
|
|
122
|
-
/**
|
|
123
|
-
* The set of arguments for constructing a DocumentdbUser resource.
|
|
124
|
-
*/
|
|
125
|
-
export interface DocumentdbUserArgs {
|
|
126
|
-
/**
|
|
127
|
-
* UUID of the documentDB instance.
|
|
128
|
-
*
|
|
129
|
-
* > **Important:** Updates to `instanceId` will recreate the Database User.
|
|
130
|
-
*/
|
|
131
|
-
instanceId: pulumi.Input<string>;
|
|
132
|
-
/**
|
|
133
|
-
* Grant admin permissions to the Database User.
|
|
134
|
-
*/
|
|
135
|
-
isAdmin?: pulumi.Input<boolean>;
|
|
136
|
-
/**
|
|
137
|
-
* Database Username.
|
|
138
|
-
*
|
|
139
|
-
* > **Important:** Updates to `name` will recreate the Database User.
|
|
140
|
-
*/
|
|
141
|
-
name?: pulumi.Input<string>;
|
|
142
|
-
/**
|
|
143
|
-
* Database User password.
|
|
144
|
-
*/
|
|
145
|
-
password: pulumi.Input<string>;
|
|
146
|
-
/**
|
|
147
|
-
* The Scaleway region this resource resides in.
|
|
148
|
-
*/
|
|
149
|
-
region?: pulumi.Input<string>;
|
|
150
|
-
}
|
package/documentdbUser.js
DELETED
|
@@ -1,107 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
-
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
exports.DocumentdbUser = void 0;
|
|
6
|
-
const pulumi = require("@pulumi/pulumi");
|
|
7
|
-
const utilities = require("./utilities");
|
|
8
|
-
/**
|
|
9
|
-
* Creates and manages Scaleway Database DocumentDB Users.
|
|
10
|
-
*
|
|
11
|
-
* ## Example Usage
|
|
12
|
-
*
|
|
13
|
-
* ### Basic
|
|
14
|
-
*
|
|
15
|
-
* ```typescript
|
|
16
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
17
|
-
* import * as random from "@pulumi/random";
|
|
18
|
-
* import * as scaleway from "@pulumiverse/scaleway";
|
|
19
|
-
*
|
|
20
|
-
* const instance = new scaleway.DocumentdbInstance("instance", {
|
|
21
|
-
* name: "test-document_db-basic",
|
|
22
|
-
* nodeType: "docdb-play2-pico",
|
|
23
|
-
* engine: "FerretDB-1",
|
|
24
|
-
* userName: "my_initial_user",
|
|
25
|
-
* password: "thiZ_is_v&ry_s3cret",
|
|
26
|
-
* volumeSizeInGb: 20,
|
|
27
|
-
* });
|
|
28
|
-
* const dbPassword = new random.RandomPassword("db_password", {
|
|
29
|
-
* length: 16,
|
|
30
|
-
* special: true,
|
|
31
|
-
* });
|
|
32
|
-
* const dbAdmin = new scaleway.DocumentdbUser("db_admin", {
|
|
33
|
-
* instanceId: instance.id,
|
|
34
|
-
* name: "devtools",
|
|
35
|
-
* password: dbPassword.result,
|
|
36
|
-
* isAdmin: true,
|
|
37
|
-
* });
|
|
38
|
-
* ```
|
|
39
|
-
*
|
|
40
|
-
* ## Import
|
|
41
|
-
*
|
|
42
|
-
* Database User can be imported using `{region}/{instance_id}/{user_name}`, e.g.
|
|
43
|
-
*
|
|
44
|
-
* bash
|
|
45
|
-
*
|
|
46
|
-
* ```sh
|
|
47
|
-
* $ pulumi import scaleway:index/documentdbUser:DocumentdbUser admin fr-par/11111111-1111-1111-1111-111111111111/admin
|
|
48
|
-
* ```
|
|
49
|
-
*/
|
|
50
|
-
class DocumentdbUser extends pulumi.CustomResource {
|
|
51
|
-
/**
|
|
52
|
-
* Get an existing DocumentdbUser resource's state with the given name, ID, and optional extra
|
|
53
|
-
* properties used to qualify the lookup.
|
|
54
|
-
*
|
|
55
|
-
* @param name The _unique_ name of the resulting resource.
|
|
56
|
-
* @param id The _unique_ provider ID of the resource to lookup.
|
|
57
|
-
* @param state Any extra arguments used during the lookup.
|
|
58
|
-
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
59
|
-
*/
|
|
60
|
-
static get(name, id, state, opts) {
|
|
61
|
-
return new DocumentdbUser(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
62
|
-
}
|
|
63
|
-
/**
|
|
64
|
-
* Returns true if the given object is an instance of DocumentdbUser. This is designed to work even
|
|
65
|
-
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
66
|
-
*/
|
|
67
|
-
static isInstance(obj) {
|
|
68
|
-
if (obj === undefined || obj === null) {
|
|
69
|
-
return false;
|
|
70
|
-
}
|
|
71
|
-
return obj['__pulumiType'] === DocumentdbUser.__pulumiType;
|
|
72
|
-
}
|
|
73
|
-
constructor(name, argsOrState, opts) {
|
|
74
|
-
let resourceInputs = {};
|
|
75
|
-
opts = opts || {};
|
|
76
|
-
if (opts.id) {
|
|
77
|
-
const state = argsOrState;
|
|
78
|
-
resourceInputs["instanceId"] = state ? state.instanceId : undefined;
|
|
79
|
-
resourceInputs["isAdmin"] = state ? state.isAdmin : undefined;
|
|
80
|
-
resourceInputs["name"] = state ? state.name : undefined;
|
|
81
|
-
resourceInputs["password"] = state ? state.password : undefined;
|
|
82
|
-
resourceInputs["region"] = state ? state.region : undefined;
|
|
83
|
-
}
|
|
84
|
-
else {
|
|
85
|
-
const args = argsOrState;
|
|
86
|
-
if ((!args || args.instanceId === undefined) && !opts.urn) {
|
|
87
|
-
throw new Error("Missing required property 'instanceId'");
|
|
88
|
-
}
|
|
89
|
-
if ((!args || args.password === undefined) && !opts.urn) {
|
|
90
|
-
throw new Error("Missing required property 'password'");
|
|
91
|
-
}
|
|
92
|
-
resourceInputs["instanceId"] = args ? args.instanceId : undefined;
|
|
93
|
-
resourceInputs["isAdmin"] = args ? args.isAdmin : undefined;
|
|
94
|
-
resourceInputs["name"] = args ? args.name : undefined;
|
|
95
|
-
resourceInputs["password"] = (args === null || args === void 0 ? void 0 : args.password) ? pulumi.secret(args.password) : undefined;
|
|
96
|
-
resourceInputs["region"] = args ? args.region : undefined;
|
|
97
|
-
}
|
|
98
|
-
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
99
|
-
const secretOpts = { additionalSecretOutputs: ["password"] };
|
|
100
|
-
opts = pulumi.mergeOptions(opts, secretOpts);
|
|
101
|
-
super(DocumentdbUser.__pulumiType, name, resourceInputs, opts);
|
|
102
|
-
}
|
|
103
|
-
}
|
|
104
|
-
exports.DocumentdbUser = DocumentdbUser;
|
|
105
|
-
/** @internal */
|
|
106
|
-
DocumentdbUser.__pulumiType = 'scaleway:index/documentdbUser:DocumentdbUser';
|
|
107
|
-
//# sourceMappingURL=documentdbUser.js.map
|
package/documentdbUser.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"documentdbUser.js","sourceRoot":"","sources":["../documentdbUser.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyCG;AACH,MAAa,cAAe,SAAQ,MAAM,CAAC,cAAc;IACrD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA2B,EAAE,IAAmC;QACzH,OAAO,IAAI,cAAc,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACrE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,K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|
-
*
|
|
7
|
-
* ```typescript
|
|
8
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
-
* import * as scaleway from "@pulumi/scaleway";
|
|
10
|
-
*
|
|
11
|
-
* // Get the database foobar hosted on instance id 11111111-1111-1111-1111-111111111111
|
|
12
|
-
* const main = scaleway.getDocumentdbDatabase({
|
|
13
|
-
* instanceId: "11111111-1111-1111-1111-111111111111",
|
|
14
|
-
* name: "foobar",
|
|
15
|
-
* });
|
|
16
|
-
* ```
|
|
17
|
-
*/
|
|
18
|
-
export declare function getDocumentdbDatabase(args: GetDocumentdbDatabaseArgs, opts?: pulumi.InvokeOptions): Promise<GetDocumentdbDatabaseResult>;
|
|
19
|
-
/**
|
|
20
|
-
* A collection of arguments for invoking getDocumentdbDatabase.
|
|
21
|
-
*/
|
|
22
|
-
export interface GetDocumentdbDatabaseArgs {
|
|
23
|
-
/**
|
|
24
|
-
* The DocumentDB instance ID.
|
|
25
|
-
*/
|
|
26
|
-
instanceId: string;
|
|
27
|
-
/**
|
|
28
|
-
* The name of the DocumentDB instance.
|
|
29
|
-
*/
|
|
30
|
-
name?: string;
|
|
31
|
-
region?: string;
|
|
32
|
-
}
|
|
33
|
-
/**
|
|
34
|
-
* A collection of values returned by getDocumentdbDatabase.
|
|
35
|
-
*/
|
|
36
|
-
export interface GetDocumentdbDatabaseResult {
|
|
37
|
-
/**
|
|
38
|
-
* The provider-assigned unique ID for this managed resource.
|
|
39
|
-
*/
|
|
40
|
-
readonly id: string;
|
|
41
|
-
readonly instanceId: string;
|
|
42
|
-
/**
|
|
43
|
-
* Whether the database is managed or not.
|
|
44
|
-
*/
|
|
45
|
-
readonly managed: boolean;
|
|
46
|
-
readonly name?: string;
|
|
47
|
-
/**
|
|
48
|
-
* The name of the owner of the database.
|
|
49
|
-
*/
|
|
50
|
-
readonly owner: string;
|
|
51
|
-
readonly projectId: string;
|
|
52
|
-
readonly region?: string;
|
|
53
|
-
/**
|
|
54
|
-
* Size of the database (in bytes).
|
|
55
|
-
*/
|
|
56
|
-
readonly size: string;
|
|
57
|
-
}
|
|
58
|
-
/**
|
|
59
|
-
* Gets information about DocumentDB database.
|
|
60
|
-
*
|
|
61
|
-
* ## Example Usage
|
|
62
|
-
*
|
|
63
|
-
* ```typescript
|
|
64
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
65
|
-
* import * as scaleway from "@pulumi/scaleway";
|
|
66
|
-
*
|
|
67
|
-
* // Get the database foobar hosted on instance id 11111111-1111-1111-1111-111111111111
|
|
68
|
-
* const main = scaleway.getDocumentdbDatabase({
|
|
69
|
-
* instanceId: "11111111-1111-1111-1111-111111111111",
|
|
70
|
-
* name: "foobar",
|
|
71
|
-
* });
|
|
72
|
-
* ```
|
|
73
|
-
*/
|
|
74
|
-
export declare function getDocumentdbDatabaseOutput(args: GetDocumentdbDatabaseOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetDocumentdbDatabaseResult>;
|
|
75
|
-
/**
|
|
76
|
-
* A collection of arguments for invoking getDocumentdbDatabase.
|
|
77
|
-
*/
|
|
78
|
-
export interface GetDocumentdbDatabaseOutputArgs {
|
|
79
|
-
/**
|
|
80
|
-
* The DocumentDB instance ID.
|
|
81
|
-
*/
|
|
82
|
-
instanceId: pulumi.Input<string>;
|
|
83
|
-
/**
|
|
84
|
-
* The name of the DocumentDB instance.
|
|
85
|
-
*/
|
|
86
|
-
name?: pulumi.Input<string>;
|
|
87
|
-
region?: pulumi.Input<string>;
|
|
88
|
-
}
|
package/getDocumentdbDatabase.js
DELETED
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
-
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
exports.getDocumentdbDatabaseOutput = exports.getDocumentdbDatabase = void 0;
|
|
6
|
-
const pulumi = require("@pulumi/pulumi");
|
|
7
|
-
const utilities = require("./utilities");
|
|
8
|
-
/**
|
|
9
|
-
* Gets information about DocumentDB database.
|
|
10
|
-
*
|
|
11
|
-
* ## Example Usage
|
|
12
|
-
*
|
|
13
|
-
* ```typescript
|
|
14
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
-
* import * as scaleway from "@pulumi/scaleway";
|
|
16
|
-
*
|
|
17
|
-
* // Get the database foobar hosted on instance id 11111111-1111-1111-1111-111111111111
|
|
18
|
-
* const main = scaleway.getDocumentdbDatabase({
|
|
19
|
-
* instanceId: "11111111-1111-1111-1111-111111111111",
|
|
20
|
-
* name: "foobar",
|
|
21
|
-
* });
|
|
22
|
-
* ```
|
|
23
|
-
*/
|
|
24
|
-
function getDocumentdbDatabase(args, opts) {
|
|
25
|
-
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
26
|
-
return pulumi.runtime.invoke("scaleway:index/getDocumentdbDatabase:getDocumentdbDatabase", {
|
|
27
|
-
"instanceId": args.instanceId,
|
|
28
|
-
"name": args.name,
|
|
29
|
-
"region": args.region,
|
|
30
|
-
}, opts);
|
|
31
|
-
}
|
|
32
|
-
exports.getDocumentdbDatabase = getDocumentdbDatabase;
|
|
33
|
-
/**
|
|
34
|
-
* Gets information about DocumentDB database.
|
|
35
|
-
*
|
|
36
|
-
* ## Example Usage
|
|
37
|
-
*
|
|
38
|
-
* ```typescript
|
|
39
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
40
|
-
* import * as scaleway from "@pulumi/scaleway";
|
|
41
|
-
*
|
|
42
|
-
* // Get the database foobar hosted on instance id 11111111-1111-1111-1111-111111111111
|
|
43
|
-
* const main = scaleway.getDocumentdbDatabase({
|
|
44
|
-
* instanceId: "11111111-1111-1111-1111-111111111111",
|
|
45
|
-
* name: "foobar",
|
|
46
|
-
* });
|
|
47
|
-
* ```
|
|
48
|
-
*/
|
|
49
|
-
function getDocumentdbDatabaseOutput(args, opts) {
|
|
50
|
-
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
51
|
-
return pulumi.runtime.invokeOutput("scaleway:index/getDocumentdbDatabase:getDocumentdbDatabase", {
|
|
52
|
-
"instanceId": args.instanceId,
|
|
53
|
-
"name": args.name,
|
|
54
|
-
"region": args.region,
|
|
55
|
-
}, opts);
|
|
56
|
-
}
|
|
57
|
-
exports.getDocumentdbDatabaseOutput = getDocumentdbDatabaseOutput;
|
|
58
|
-
//# sourceMappingURL=getDocumentdbDatabase.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"getDocumentdbDatabase.js","sourceRoot":"","sources":["../getDocumentdbDatabase.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,qBAAqB,CAAC,IAA+B,EAAE,IAA2B;IAC9F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,4DAA4D,EAAE;QACvF,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,sDAOC;AA0CD;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,2BAA2B,CAAC,IAAqC,EAAE,IAA2B;IAC1G,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,4DAA4D,EAAE;QAC7F,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,kEAOC"}
|
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
-
/**
|
|
3
|
-
* Gets information about an DocumentDB instance.
|
|
4
|
-
*/
|
|
5
|
-
export declare function getDocumentdbInstance(args?: GetDocumentdbInstanceArgs, opts?: pulumi.InvokeOptions): Promise<GetDocumentdbInstanceResult>;
|
|
6
|
-
/**
|
|
7
|
-
* A collection of arguments for invoking getDocumentdbInstance.
|
|
8
|
-
*/
|
|
9
|
-
export interface GetDocumentdbInstanceArgs {
|
|
10
|
-
/**
|
|
11
|
-
* The DocumentDB instance ID.
|
|
12
|
-
* Only one of `name` and `instanceId` should be specified.
|
|
13
|
-
*/
|
|
14
|
-
instanceId?: string;
|
|
15
|
-
/**
|
|
16
|
-
* The name of the DocumentDB instance.
|
|
17
|
-
* Only one of `name` and `instanceId` should be specified.
|
|
18
|
-
*/
|
|
19
|
-
name?: string;
|
|
20
|
-
/**
|
|
21
|
-
* The ID of the project the DocumentDB instance is associated with.
|
|
22
|
-
*/
|
|
23
|
-
projectId?: string;
|
|
24
|
-
/**
|
|
25
|
-
* `region`) The region in which the DocumentDB instance exists.
|
|
26
|
-
*/
|
|
27
|
-
region?: string;
|
|
28
|
-
}
|
|
29
|
-
/**
|
|
30
|
-
* A collection of values returned by getDocumentdbInstance.
|
|
31
|
-
*/
|
|
32
|
-
export interface GetDocumentdbInstanceResult {
|
|
33
|
-
readonly engine: string;
|
|
34
|
-
/**
|
|
35
|
-
* The provider-assigned unique ID for this managed resource.
|
|
36
|
-
*/
|
|
37
|
-
readonly id: string;
|
|
38
|
-
readonly instanceId?: string;
|
|
39
|
-
readonly isHaCluster: boolean;
|
|
40
|
-
readonly name?: string;
|
|
41
|
-
readonly nodeType: string;
|
|
42
|
-
readonly password: string;
|
|
43
|
-
readonly projectId?: string;
|
|
44
|
-
readonly region?: string;
|
|
45
|
-
readonly tags: string[];
|
|
46
|
-
readonly telemetryEnabled: boolean;
|
|
47
|
-
readonly userName: string;
|
|
48
|
-
readonly volumeSizeInGb: number;
|
|
49
|
-
readonly volumeType: string;
|
|
50
|
-
}
|
|
51
|
-
/**
|
|
52
|
-
* Gets information about an DocumentDB instance.
|
|
53
|
-
*/
|
|
54
|
-
export declare function getDocumentdbInstanceOutput(args?: GetDocumentdbInstanceOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetDocumentdbInstanceResult>;
|
|
55
|
-
/**
|
|
56
|
-
* A collection of arguments for invoking getDocumentdbInstance.
|
|
57
|
-
*/
|
|
58
|
-
export interface GetDocumentdbInstanceOutputArgs {
|
|
59
|
-
/**
|
|
60
|
-
* The DocumentDB instance ID.
|
|
61
|
-
* Only one of `name` and `instanceId` should be specified.
|
|
62
|
-
*/
|
|
63
|
-
instanceId?: pulumi.Input<string>;
|
|
64
|
-
/**
|
|
65
|
-
* The name of the DocumentDB instance.
|
|
66
|
-
* Only one of `name` and `instanceId` should be specified.
|
|
67
|
-
*/
|
|
68
|
-
name?: pulumi.Input<string>;
|
|
69
|
-
/**
|
|
70
|
-
* The ID of the project the DocumentDB instance is associated with.
|
|
71
|
-
*/
|
|
72
|
-
projectId?: pulumi.Input<string>;
|
|
73
|
-
/**
|
|
74
|
-
* `region`) The region in which the DocumentDB instance exists.
|
|
75
|
-
*/
|
|
76
|
-
region?: pulumi.Input<string>;
|
|
77
|
-
}
|
package/getDocumentdbInstance.js
DELETED
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
-
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
exports.getDocumentdbInstanceOutput = exports.getDocumentdbInstance = void 0;
|
|
6
|
-
const pulumi = require("@pulumi/pulumi");
|
|
7
|
-
const utilities = require("./utilities");
|
|
8
|
-
/**
|
|
9
|
-
* Gets information about an DocumentDB instance.
|
|
10
|
-
*/
|
|
11
|
-
function getDocumentdbInstance(args, opts) {
|
|
12
|
-
args = args || {};
|
|
13
|
-
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
14
|
-
return pulumi.runtime.invoke("scaleway:index/getDocumentdbInstance:getDocumentdbInstance", {
|
|
15
|
-
"instanceId": args.instanceId,
|
|
16
|
-
"name": args.name,
|
|
17
|
-
"projectId": args.projectId,
|
|
18
|
-
"region": args.region,
|
|
19
|
-
}, opts);
|
|
20
|
-
}
|
|
21
|
-
exports.getDocumentdbInstance = getDocumentdbInstance;
|
|
22
|
-
/**
|
|
23
|
-
* Gets information about an DocumentDB instance.
|
|
24
|
-
*/
|
|
25
|
-
function getDocumentdbInstanceOutput(args, opts) {
|
|
26
|
-
args = args || {};
|
|
27
|
-
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
28
|
-
return pulumi.runtime.invokeOutput("scaleway:index/getDocumentdbInstance:getDocumentdbInstance", {
|
|
29
|
-
"instanceId": args.instanceId,
|
|
30
|
-
"name": args.name,
|
|
31
|
-
"projectId": args.projectId,
|
|
32
|
-
"region": args.region,
|
|
33
|
-
}, opts);
|
|
34
|
-
}
|
|
35
|
-
exports.getDocumentdbInstanceOutput = getDocumentdbInstanceOutput;
|
|
36
|
-
//# sourceMappingURL=getDocumentdbInstance.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"getDocumentdbInstance.js","sourceRoot":"","sources":["../getDocumentdbInstance.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;GAEG;AACH,SAAgB,qBAAqB,CAAC,IAAgC,EAAE,IAA2B;IAC/F,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,4DAA4D,EAAE;QACvF,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AATD,sDASC;AAgDD;;GAEG;AACH,SAAgB,2BAA2B,CAAC,IAAsC,EAAE,IAA2B;IAC3G,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,4DAA4D,EAAE;QAC7F,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AATD,kEASC"}
|