@pulumiverse/scaleway 1.54.0-alpha.1785438508 → 1.54.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/annotations/binding.d.ts +109 -0
- package/annotations/binding.d.ts.map +1 -0
- package/annotations/binding.js +122 -0
- package/annotations/binding.js.map +1 -0
- package/annotations/getBinding.d.ts +114 -0
- package/annotations/getBinding.d.ts.map +1 -0
- package/annotations/getBinding.js +115 -0
- package/annotations/getBinding.js.map +1 -0
- package/annotations/getKey.d.ts +76 -0
- package/annotations/getKey.d.ts.map +1 -0
- package/annotations/getKey.js +81 -0
- package/annotations/getKey.js.map +1 -0
- package/annotations/getValue.d.ts +90 -0
- package/annotations/getValue.d.ts.map +1 -0
- package/annotations/getValue.js +91 -0
- package/annotations/getValue.js.map +1 -0
- package/annotations/index.d.ts +19 -0
- package/annotations/index.d.ts.map +1 -0
- package/annotations/index.js +64 -0
- package/annotations/index.js.map +1 -0
- package/annotations/key.d.ts +100 -0
- package/annotations/key.d.ts.map +1 -0
- package/annotations/key.js +103 -0
- package/annotations/key.js.map +1 -0
- package/annotations/value.d.ts +109 -0
- package/annotations/value.d.ts.map +1 -0
- package/annotations/value.js +109 -0
- package/annotations/value.js.map +1 -0
- package/fileFilesystem.d.ts +11 -13
- package/fileFilesystem.d.ts.map +1 -1
- package/fileFilesystem.js +2 -4
- package/fileFilesystem.js.map +1 -1
- package/getInstancePlacementGroup.d.ts +0 -4
- package/getInstancePlacementGroup.d.ts.map +1 -1
- package/getInstancePlacementGroup.js.map +1 -1
- package/index.d.ts +2 -1
- package/index.d.ts.map +1 -1
- package/index.js +4 -2
- package/index.js.map +1 -1
- package/instance/getPlacementGroup.d.ts +0 -4
- package/instance/getPlacementGroup.d.ts.map +1 -1
- package/instance/getPlacementGroup.js.map +1 -1
- package/instance/placementGroup.d.ts +10 -8
- package/instance/placementGroup.d.ts.map +1 -1
- package/instance/placementGroup.js +0 -2
- package/instance/placementGroup.js.map +1 -1
- package/instancePlacementGroup.d.ts +10 -8
- package/instancePlacementGroup.d.ts.map +1 -1
- package/instancePlacementGroup.js +0 -2
- package/instancePlacementGroup.js.map +1 -1
- package/keyManagerKey.d.ts +2 -0
- package/keyManagerKey.d.ts.map +1 -1
- package/keyManagerKey.js +2 -0
- package/keyManagerKey.js.map +1 -1
- package/keymanager/key.d.ts +2 -0
- package/keymanager/key.d.ts.map +1 -1
- package/keymanager/key.js +2 -0
- package/keymanager/key.js.map +1 -1
- package/package.json +2 -2
- package/types/input.d.ts +2 -2
- package/types/output.d.ts +6 -6
- package/types/output.d.ts.map +1 -1
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Retrieves information about an existing annotation value using its ID.
|
|
4
|
+
*
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as scaleway from "@pulumiverse/scaleway";
|
|
10
|
+
*
|
|
11
|
+
* const environment = new scaleway.annotations.Key("environment", {
|
|
12
|
+
* name: "environment",
|
|
13
|
+
* description: "Deployment environment (production, staging, development)",
|
|
14
|
+
* });
|
|
15
|
+
* const production = new scaleway.annotations.Value("production", {
|
|
16
|
+
* keyId: environment.id,
|
|
17
|
+
* name: "production",
|
|
18
|
+
* description: "Production environment",
|
|
19
|
+
* });
|
|
20
|
+
* const main = scaleway.annotations.getValueOutput({
|
|
21
|
+
* valueId: production.id,
|
|
22
|
+
* });
|
|
23
|
+
* ```
|
|
24
|
+
*/
|
|
25
|
+
export declare function getValue(args: GetValueArgs, opts?: pulumi.InvokeOptions): Promise<GetValueResult>;
|
|
26
|
+
/**
|
|
27
|
+
* A collection of arguments for invoking getValue.
|
|
28
|
+
*/
|
|
29
|
+
export interface GetValueArgs {
|
|
30
|
+
/**
|
|
31
|
+
* The ID of the annotation value to retrieve.
|
|
32
|
+
*/
|
|
33
|
+
valueId: string;
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* A collection of values returned by getValue.
|
|
37
|
+
*/
|
|
38
|
+
export interface GetValueResult {
|
|
39
|
+
/**
|
|
40
|
+
* Description of the annotation value
|
|
41
|
+
*/
|
|
42
|
+
readonly description: string;
|
|
43
|
+
/**
|
|
44
|
+
* The ID of the annotation value
|
|
45
|
+
*/
|
|
46
|
+
readonly id: string;
|
|
47
|
+
/**
|
|
48
|
+
* ID of the key the value is associated to
|
|
49
|
+
*/
|
|
50
|
+
readonly keyId: string;
|
|
51
|
+
/**
|
|
52
|
+
* Name of the annotation value
|
|
53
|
+
*/
|
|
54
|
+
readonly name: string;
|
|
55
|
+
readonly valueId: string;
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* Retrieves information about an existing annotation value using its ID.
|
|
59
|
+
*
|
|
60
|
+
* ## Example Usage
|
|
61
|
+
*
|
|
62
|
+
* ```typescript
|
|
63
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
64
|
+
* import * as scaleway from "@pulumiverse/scaleway";
|
|
65
|
+
*
|
|
66
|
+
* const environment = new scaleway.annotations.Key("environment", {
|
|
67
|
+
* name: "environment",
|
|
68
|
+
* description: "Deployment environment (production, staging, development)",
|
|
69
|
+
* });
|
|
70
|
+
* const production = new scaleway.annotations.Value("production", {
|
|
71
|
+
* keyId: environment.id,
|
|
72
|
+
* name: "production",
|
|
73
|
+
* description: "Production environment",
|
|
74
|
+
* });
|
|
75
|
+
* const main = scaleway.annotations.getValueOutput({
|
|
76
|
+
* valueId: production.id,
|
|
77
|
+
* });
|
|
78
|
+
* ```
|
|
79
|
+
*/
|
|
80
|
+
export declare function getValueOutput(args: GetValueOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetValueResult>;
|
|
81
|
+
/**
|
|
82
|
+
* A collection of arguments for invoking getValue.
|
|
83
|
+
*/
|
|
84
|
+
export interface GetValueOutputArgs {
|
|
85
|
+
/**
|
|
86
|
+
* The ID of the annotation value to retrieve.
|
|
87
|
+
*/
|
|
88
|
+
valueId: pulumi.Input<string>;
|
|
89
|
+
}
|
|
90
|
+
//# sourceMappingURL=getValue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getValue.d.ts","sourceRoot":"","sources":["../../annotations/getValue.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,wBAAgB,QAAQ,CAAC,IAAI,EAAE,YAAY,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,aAAa,GAAG,OAAO,CAAC,cAAc,CAAC,CAKjG;AAED;;GAEG;AACH,MAAM,WAAW,YAAY;IACzB;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;CACnB;AAED;;GAEG;AACH,MAAM,WAAW,cAAc;IAC3B;;OAEG;IACH,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B;;OAEG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB;;OAEG;IACH,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;CAC5B;AACD;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,wBAAgB,cAAc,CAAC,IAAI,EAAE,kBAAkB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,mBAAmB,GAAG,MAAM,CAAC,MAAM,CAAC,cAAc,CAAC,CAKzH;AAED;;GAEG;AACH,MAAM,WAAW,kBAAkB;IAC/B;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CACjC"}
|
|
@@ -0,0 +1,91 @@
|
|
|
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
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
+
if (k2 === undefined) k2 = k;
|
|
6
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
+
}
|
|
10
|
+
Object.defineProperty(o, k2, desc);
|
|
11
|
+
}) : (function(o, m, k, k2) {
|
|
12
|
+
if (k2 === undefined) k2 = k;
|
|
13
|
+
o[k2] = m[k];
|
|
14
|
+
}));
|
|
15
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
16
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
17
|
+
}) : function(o, v) {
|
|
18
|
+
o["default"] = v;
|
|
19
|
+
});
|
|
20
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
21
|
+
if (mod && mod.__esModule) return mod;
|
|
22
|
+
var result = {};
|
|
23
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
24
|
+
__setModuleDefault(result, mod);
|
|
25
|
+
return result;
|
|
26
|
+
};
|
|
27
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
+
exports.getValueOutput = exports.getValue = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("../utilities"));
|
|
31
|
+
/**
|
|
32
|
+
* Retrieves information about an existing annotation value using its ID.
|
|
33
|
+
*
|
|
34
|
+
* ## Example Usage
|
|
35
|
+
*
|
|
36
|
+
* ```typescript
|
|
37
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
38
|
+
* import * as scaleway from "@pulumiverse/scaleway";
|
|
39
|
+
*
|
|
40
|
+
* const environment = new scaleway.annotations.Key("environment", {
|
|
41
|
+
* name: "environment",
|
|
42
|
+
* description: "Deployment environment (production, staging, development)",
|
|
43
|
+
* });
|
|
44
|
+
* const production = new scaleway.annotations.Value("production", {
|
|
45
|
+
* keyId: environment.id,
|
|
46
|
+
* name: "production",
|
|
47
|
+
* description: "Production environment",
|
|
48
|
+
* });
|
|
49
|
+
* const main = scaleway.annotations.getValueOutput({
|
|
50
|
+
* valueId: production.id,
|
|
51
|
+
* });
|
|
52
|
+
* ```
|
|
53
|
+
*/
|
|
54
|
+
function getValue(args, opts) {
|
|
55
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
56
|
+
return pulumi.runtime.invoke("scaleway:annotations/getValue:getValue", {
|
|
57
|
+
"valueId": args.valueId,
|
|
58
|
+
}, opts);
|
|
59
|
+
}
|
|
60
|
+
exports.getValue = getValue;
|
|
61
|
+
/**
|
|
62
|
+
* Retrieves information about an existing annotation value using its ID.
|
|
63
|
+
*
|
|
64
|
+
* ## Example Usage
|
|
65
|
+
*
|
|
66
|
+
* ```typescript
|
|
67
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
68
|
+
* import * as scaleway from "@pulumiverse/scaleway";
|
|
69
|
+
*
|
|
70
|
+
* const environment = new scaleway.annotations.Key("environment", {
|
|
71
|
+
* name: "environment",
|
|
72
|
+
* description: "Deployment environment (production, staging, development)",
|
|
73
|
+
* });
|
|
74
|
+
* const production = new scaleway.annotations.Value("production", {
|
|
75
|
+
* keyId: environment.id,
|
|
76
|
+
* name: "production",
|
|
77
|
+
* description: "Production environment",
|
|
78
|
+
* });
|
|
79
|
+
* const main = scaleway.annotations.getValueOutput({
|
|
80
|
+
* valueId: production.id,
|
|
81
|
+
* });
|
|
82
|
+
* ```
|
|
83
|
+
*/
|
|
84
|
+
function getValueOutput(args, opts) {
|
|
85
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
86
|
+
return pulumi.runtime.invokeOutput("scaleway:annotations/getValue:getValue", {
|
|
87
|
+
"valueId": args.valueId,
|
|
88
|
+
}, opts);
|
|
89
|
+
}
|
|
90
|
+
exports.getValueOutput = getValueOutput;
|
|
91
|
+
//# sourceMappingURL=getValue.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getValue.js","sourceRoot":"","sources":["../../annotations/getValue.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,wDAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,SAAgB,QAAQ,CAAC,IAAkB,EAAE,IAA2B;IACpE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,wCAAwC,EAAE;QACnE,SAAS,EAAE,IAAI,CAAC,OAAO;KAC1B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,4BAKC;AAkCD;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,SAAgB,cAAc,CAAC,IAAwB,EAAE,IAAiC;IACtF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,wCAAwC,EAAE;QACzE,SAAS,EAAE,IAAI,CAAC,OAAO;KAC1B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,wCAKC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export { BindingArgs, BindingState } from "./binding";
|
|
2
|
+
export type Binding = import("./binding").Binding;
|
|
3
|
+
export declare const Binding: typeof import("./binding").Binding;
|
|
4
|
+
export { GetBindingArgs, GetBindingResult, GetBindingOutputArgs } from "./getBinding";
|
|
5
|
+
export declare const getBinding: typeof import("./getBinding").getBinding;
|
|
6
|
+
export declare const getBindingOutput: typeof import("./getBinding").getBindingOutput;
|
|
7
|
+
export { GetKeyArgs, GetKeyResult, GetKeyOutputArgs } from "./getKey";
|
|
8
|
+
export declare const getKey: typeof import("./getKey").getKey;
|
|
9
|
+
export declare const getKeyOutput: typeof import("./getKey").getKeyOutput;
|
|
10
|
+
export { GetValueArgs, GetValueResult, GetValueOutputArgs } from "./getValue";
|
|
11
|
+
export declare const getValue: typeof import("./getValue").getValue;
|
|
12
|
+
export declare const getValueOutput: typeof import("./getValue").getValueOutput;
|
|
13
|
+
export { KeyArgs, KeyState } from "./key";
|
|
14
|
+
export type Key = import("./key").Key;
|
|
15
|
+
export declare const Key: typeof import("./key").Key;
|
|
16
|
+
export { ValueArgs, ValueState } from "./value";
|
|
17
|
+
export type Value = import("./value").Value;
|
|
18
|
+
export declare const Value: typeof import("./value").Value;
|
|
19
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../annotations/index.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AACtD,MAAM,MAAM,OAAO,GAAG,OAAO,WAAW,EAAE,OAAO,CAAC;AAClD,eAAO,MAAM,OAAO,EAAE,cAAc,WAAW,EAAE,OAAqB,CAAC;AAGvE,OAAO,EAAE,cAAc,EAAE,gBAAgB,EAAE,oBAAoB,EAAE,MAAM,cAAc,CAAC;AACtF,eAAO,MAAM,UAAU,EAAE,cAAc,cAAc,EAAE,UAAwB,CAAC;AAChF,eAAO,MAAM,gBAAgB,EAAE,cAAc,cAAc,EAAE,gBAA8B,CAAC;AAG5F,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AACtE,eAAO,MAAM,MAAM,EAAE,cAAc,UAAU,EAAE,MAAoB,CAAC;AACpE,eAAO,MAAM,YAAY,EAAE,cAAc,UAAU,EAAE,YAA0B,CAAC;AAGhF,OAAO,EAAE,YAAY,EAAE,cAAc,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AAC9E,eAAO,MAAM,QAAQ,EAAE,cAAc,YAAY,EAAE,QAAsB,CAAC;AAC1E,eAAO,MAAM,cAAc,EAAE,cAAc,YAAY,EAAE,cAA4B,CAAC;AAGtF,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAC1C,MAAM,MAAM,GAAG,GAAG,OAAO,OAAO,EAAE,GAAG,CAAC;AACtC,eAAO,MAAM,GAAG,EAAE,cAAc,OAAO,EAAE,GAAiB,CAAC;AAG3D,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAChD,MAAM,MAAM,KAAK,GAAG,OAAO,SAAS,EAAE,KAAK,CAAC;AAC5C,eAAO,MAAM,KAAK,EAAE,cAAc,SAAS,EAAE,KAAmB,CAAC"}
|
|
@@ -0,0 +1,64 @@
|
|
|
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
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
+
if (k2 === undefined) k2 = k;
|
|
6
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
+
}
|
|
10
|
+
Object.defineProperty(o, k2, desc);
|
|
11
|
+
}) : (function(o, m, k, k2) {
|
|
12
|
+
if (k2 === undefined) k2 = k;
|
|
13
|
+
o[k2] = m[k];
|
|
14
|
+
}));
|
|
15
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
16
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
17
|
+
}) : function(o, v) {
|
|
18
|
+
o["default"] = v;
|
|
19
|
+
});
|
|
20
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
21
|
+
if (mod && mod.__esModule) return mod;
|
|
22
|
+
var result = {};
|
|
23
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
24
|
+
__setModuleDefault(result, mod);
|
|
25
|
+
return result;
|
|
26
|
+
};
|
|
27
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
+
exports.Value = exports.Key = exports.getValueOutput = exports.getValue = exports.getKeyOutput = exports.getKey = exports.getBindingOutput = exports.getBinding = exports.Binding = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("../utilities"));
|
|
31
|
+
exports.Binding = null;
|
|
32
|
+
utilities.lazyLoad(exports, ["Binding"], () => require("./binding"));
|
|
33
|
+
exports.getBinding = null;
|
|
34
|
+
exports.getBindingOutput = null;
|
|
35
|
+
utilities.lazyLoad(exports, ["getBinding", "getBindingOutput"], () => require("./getBinding"));
|
|
36
|
+
exports.getKey = null;
|
|
37
|
+
exports.getKeyOutput = null;
|
|
38
|
+
utilities.lazyLoad(exports, ["getKey", "getKeyOutput"], () => require("./getKey"));
|
|
39
|
+
exports.getValue = null;
|
|
40
|
+
exports.getValueOutput = null;
|
|
41
|
+
utilities.lazyLoad(exports, ["getValue", "getValueOutput"], () => require("./getValue"));
|
|
42
|
+
exports.Key = null;
|
|
43
|
+
utilities.lazyLoad(exports, ["Key"], () => require("./key"));
|
|
44
|
+
exports.Value = null;
|
|
45
|
+
utilities.lazyLoad(exports, ["Value"], () => require("./value"));
|
|
46
|
+
const _module = {
|
|
47
|
+
version: utilities.getVersion(),
|
|
48
|
+
construct: (name, type, urn) => {
|
|
49
|
+
switch (type) {
|
|
50
|
+
case "scaleway:annotations/binding:Binding":
|
|
51
|
+
return new exports.Binding(name, undefined, { urn });
|
|
52
|
+
case "scaleway:annotations/key:Key":
|
|
53
|
+
return new exports.Key(name, undefined, { urn });
|
|
54
|
+
case "scaleway:annotations/value:Value":
|
|
55
|
+
return new exports.Value(name, undefined, { urn });
|
|
56
|
+
default:
|
|
57
|
+
throw new Error(`unknown resource type ${type}`);
|
|
58
|
+
}
|
|
59
|
+
},
|
|
60
|
+
};
|
|
61
|
+
pulumi.runtime.registerResourceModule("scaleway", "annotations/binding", _module);
|
|
62
|
+
pulumi.runtime.registerResourceModule("scaleway", "annotations/key", _module);
|
|
63
|
+
pulumi.runtime.registerResourceModule("scaleway", "annotations/value", _module);
|
|
64
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../annotations/index.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,wDAA0C;AAK7B,QAAA,OAAO,GAAuC,IAAW,CAAC;AACvE,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,SAAS,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC;AAGxD,QAAA,UAAU,GAA6C,IAAW,CAAC;AACnE,QAAA,gBAAgB,GAAmD,IAAW,CAAC;AAC5F,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,YAAY,EAAC,kBAAkB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,cAAc,CAAC,CAAC,CAAC;AAGjF,QAAA,MAAM,GAAqC,IAAW,CAAC;AACvD,QAAA,YAAY,GAA2C,IAAW,CAAC;AAChF,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAC,cAAc,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC,CAAC;AAGrE,QAAA,QAAQ,GAAyC,IAAW,CAAC;AAC7D,QAAA,cAAc,GAA+C,IAAW,CAAC;AACtF,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,UAAU,EAAC,gBAAgB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,YAAY,CAAC,CAAC,CAAC;AAI3E,QAAA,GAAG,GAA+B,IAAW,CAAC;AAC3D,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,KAAK,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC,CAAC;AAIhD,QAAA,KAAK,GAAmC,IAAW,CAAC;AACjE,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,OAAO,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC,CAAC;AAGjE,MAAM,OAAO,GAAG;IACZ,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE;IAC/B,SAAS,EAAE,CAAC,IAAY,EAAE,IAAY,EAAE,GAAW,EAAmB,EAAE;QACpE,QAAQ,IAAI,EAAE;YACV,KAAK,sCAAsC;gBACvC,OAAO,IAAI,eAAO,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACrD,KAAK,8BAA8B;gBAC/B,OAAO,IAAI,WAAG,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACjD,KAAK,kCAAkC;gBACnC,OAAO,IAAI,aAAK,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACnD;gBACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACxD;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,UAAU,EAAE,qBAAqB,EAAE,OAAO,CAAC,CAAA;AACjF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,UAAU,EAAE,iBAAiB,EAAE,OAAO,CAAC,CAAA;AAC7E,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,UAAU,EAAE,mBAAmB,EAAE,OAAO,CAAC,CAAA"}
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Create an annotation key to define custom metadata labels that can be attached to Scaleway resources. Annotation keys allow you to organize and categorize resources using custom tags with meaningful names and descriptions.
|
|
4
|
+
*
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as scaleway from "@pulumiverse/scaleway";
|
|
10
|
+
*
|
|
11
|
+
* const environment = new scaleway.annotations.Key("environment", {
|
|
12
|
+
* name: "environment",
|
|
13
|
+
* description: "Deployment environment (production, staging, development)",
|
|
14
|
+
* });
|
|
15
|
+
* ```
|
|
16
|
+
*
|
|
17
|
+
* ## Import
|
|
18
|
+
*
|
|
19
|
+
* Annotation keys can be imported using their `keyId` and optionally the `organizationId`. If no `organizationId` is specified, the default provider `organizationId` will be used.
|
|
20
|
+
*
|
|
21
|
+
* ```sh
|
|
22
|
+
* $ pulumi import scaleway:annotations/key:Key main <key_id>
|
|
23
|
+
* ```
|
|
24
|
+
*
|
|
25
|
+
* ```sh
|
|
26
|
+
* $ pulumi import scaleway:annotations/key:Key main <organization_id>/<key_id>
|
|
27
|
+
* ```
|
|
28
|
+
*/
|
|
29
|
+
export declare class Key extends pulumi.CustomResource {
|
|
30
|
+
/**
|
|
31
|
+
* Get an existing Key resource's state with the given name, ID, and optional extra
|
|
32
|
+
* properties used to qualify the lookup.
|
|
33
|
+
*
|
|
34
|
+
* @param name The _unique_ name of the resulting resource.
|
|
35
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
36
|
+
* @param state Any extra arguments used during the lookup.
|
|
37
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
38
|
+
*/
|
|
39
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: KeyState, opts?: pulumi.CustomResourceOptions): Key;
|
|
40
|
+
/**
|
|
41
|
+
* Returns true if the given object is an instance of Key. This is designed to work even
|
|
42
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
43
|
+
*/
|
|
44
|
+
static isInstance(obj: any): obj is Key;
|
|
45
|
+
/**
|
|
46
|
+
* Description of the annotation key.
|
|
47
|
+
*/
|
|
48
|
+
readonly description: pulumi.Output<string | undefined>;
|
|
49
|
+
/**
|
|
50
|
+
* Name of the annotation key.
|
|
51
|
+
*/
|
|
52
|
+
readonly name: pulumi.Output<string>;
|
|
53
|
+
/**
|
|
54
|
+
* `organizationId`) The organization ID to create the key in.
|
|
55
|
+
*/
|
|
56
|
+
readonly organizationId: pulumi.Output<string>;
|
|
57
|
+
/**
|
|
58
|
+
* Create a Key resource with the given unique name, arguments, and options.
|
|
59
|
+
*
|
|
60
|
+
* @param name The _unique_ name of the resource.
|
|
61
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
62
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
63
|
+
*/
|
|
64
|
+
constructor(name: string, args?: KeyArgs, opts?: pulumi.CustomResourceOptions);
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* Input properties used for looking up and filtering Key resources.
|
|
68
|
+
*/
|
|
69
|
+
export interface KeyState {
|
|
70
|
+
/**
|
|
71
|
+
* Description of the annotation key.
|
|
72
|
+
*/
|
|
73
|
+
description?: pulumi.Input<string | undefined>;
|
|
74
|
+
/**
|
|
75
|
+
* Name of the annotation key.
|
|
76
|
+
*/
|
|
77
|
+
name?: pulumi.Input<string | undefined>;
|
|
78
|
+
/**
|
|
79
|
+
* `organizationId`) The organization ID to create the key in.
|
|
80
|
+
*/
|
|
81
|
+
organizationId?: pulumi.Input<string | undefined>;
|
|
82
|
+
}
|
|
83
|
+
/**
|
|
84
|
+
* The set of arguments for constructing a Key resource.
|
|
85
|
+
*/
|
|
86
|
+
export interface KeyArgs {
|
|
87
|
+
/**
|
|
88
|
+
* Description of the annotation key.
|
|
89
|
+
*/
|
|
90
|
+
description?: pulumi.Input<string | undefined>;
|
|
91
|
+
/**
|
|
92
|
+
* Name of the annotation key.
|
|
93
|
+
*/
|
|
94
|
+
name?: pulumi.Input<string | undefined>;
|
|
95
|
+
/**
|
|
96
|
+
* `organizationId`) The organization ID to create the key in.
|
|
97
|
+
*/
|
|
98
|
+
organizationId?: pulumi.Input<string | undefined>;
|
|
99
|
+
}
|
|
100
|
+
//# sourceMappingURL=key.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"key.d.ts","sourceRoot":"","sources":["../../annotations/key.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,qBAAa,GAAI,SAAQ,MAAM,CAAC,cAAc;IAC1C;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,QAAQ,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,GAAG;IAOxH;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,GAAG;IAO9C;;OAEG;IACH,SAAwB,WAAW,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACvE;;OAEG;IACH,SAAwB,IAAI,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IACpD;;OAEG;IACH,SAAwB,cAAc,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IAE9D;;;;;;OAMG;gBACS,IAAI,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,OAAO,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB;CAkBhF;AAED;;GAEG;AACH,MAAM,WAAW,QAAQ;IACrB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC/C;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACxC;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;CACrD;AAED;;GAEG;AACH,MAAM,WAAW,OAAO;IACpB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC/C;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACxC;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;CACrD"}
|
|
@@ -0,0 +1,103 @@
|
|
|
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
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
+
if (k2 === undefined) k2 = k;
|
|
6
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
+
}
|
|
10
|
+
Object.defineProperty(o, k2, desc);
|
|
11
|
+
}) : (function(o, m, k, k2) {
|
|
12
|
+
if (k2 === undefined) k2 = k;
|
|
13
|
+
o[k2] = m[k];
|
|
14
|
+
}));
|
|
15
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
16
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
17
|
+
}) : function(o, v) {
|
|
18
|
+
o["default"] = v;
|
|
19
|
+
});
|
|
20
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
21
|
+
if (mod && mod.__esModule) return mod;
|
|
22
|
+
var result = {};
|
|
23
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
24
|
+
__setModuleDefault(result, mod);
|
|
25
|
+
return result;
|
|
26
|
+
};
|
|
27
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
+
exports.Key = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("../utilities"));
|
|
31
|
+
/**
|
|
32
|
+
* Create an annotation key to define custom metadata labels that can be attached to Scaleway resources. Annotation keys allow you to organize and categorize resources using custom tags with meaningful names and descriptions.
|
|
33
|
+
*
|
|
34
|
+
* ## Example Usage
|
|
35
|
+
*
|
|
36
|
+
* ```typescript
|
|
37
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
38
|
+
* import * as scaleway from "@pulumiverse/scaleway";
|
|
39
|
+
*
|
|
40
|
+
* const environment = new scaleway.annotations.Key("environment", {
|
|
41
|
+
* name: "environment",
|
|
42
|
+
* description: "Deployment environment (production, staging, development)",
|
|
43
|
+
* });
|
|
44
|
+
* ```
|
|
45
|
+
*
|
|
46
|
+
* ## Import
|
|
47
|
+
*
|
|
48
|
+
* Annotation keys can be imported using their `keyId` and optionally the `organizationId`. If no `organizationId` is specified, the default provider `organizationId` will be used.
|
|
49
|
+
*
|
|
50
|
+
* ```sh
|
|
51
|
+
* $ pulumi import scaleway:annotations/key:Key main <key_id>
|
|
52
|
+
* ```
|
|
53
|
+
*
|
|
54
|
+
* ```sh
|
|
55
|
+
* $ pulumi import scaleway:annotations/key:Key main <organization_id>/<key_id>
|
|
56
|
+
* ```
|
|
57
|
+
*/
|
|
58
|
+
class Key extends pulumi.CustomResource {
|
|
59
|
+
/**
|
|
60
|
+
* Get an existing Key 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, id, state, opts) {
|
|
69
|
+
return new Key(name, state, { ...opts, id: id });
|
|
70
|
+
}
|
|
71
|
+
/** @internal */
|
|
72
|
+
static __pulumiType = 'scaleway:annotations/key:Key';
|
|
73
|
+
/**
|
|
74
|
+
* Returns true if the given object is an instance of Key. This is designed to work even
|
|
75
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
76
|
+
*/
|
|
77
|
+
static isInstance(obj) {
|
|
78
|
+
if (obj === undefined || obj === null) {
|
|
79
|
+
return false;
|
|
80
|
+
}
|
|
81
|
+
return obj['__pulumiType'] === Key.__pulumiType;
|
|
82
|
+
}
|
|
83
|
+
constructor(name, argsOrState, opts) {
|
|
84
|
+
let resourceInputs = {};
|
|
85
|
+
opts = opts || {};
|
|
86
|
+
if (opts.id) {
|
|
87
|
+
const state = argsOrState;
|
|
88
|
+
resourceInputs["description"] = state?.description;
|
|
89
|
+
resourceInputs["name"] = state?.name;
|
|
90
|
+
resourceInputs["organizationId"] = state?.organizationId;
|
|
91
|
+
}
|
|
92
|
+
else {
|
|
93
|
+
const args = argsOrState;
|
|
94
|
+
resourceInputs["description"] = args?.description;
|
|
95
|
+
resourceInputs["name"] = args?.name;
|
|
96
|
+
resourceInputs["organizationId"] = args?.organizationId;
|
|
97
|
+
}
|
|
98
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
99
|
+
super(Key.__pulumiType, name, resourceInputs, opts);
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
exports.Key = Key;
|
|
103
|
+
//# sourceMappingURL=key.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"key.js","sourceRoot":"","sources":["../../annotations/key.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,wDAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,MAAa,GAAI,SAAQ,MAAM,CAAC,cAAc;IAC1C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAgB,EAAE,IAAmC;QAC9G,OAAO,IAAI,GAAG,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC1D,CAAC;IAED,gBAAgB;IACT,MAAM,CAAU,YAAY,GAAG,8BAA8B,CAAC;IAErE;;;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,GAAG,CAAC,YAAY,CAAC;IACpD,CAAC;IAuBD,YAAY,IAAY,EAAE,WAAgC,EAAE,IAAmC;QAC3F,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAmC,CAAC;YAClD,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,EAAE,WAAW,CAAC;YACnD,cAAc,CAAC,MAAM,CAAC,GAAG,KAAK,EAAE,IAAI,CAAC;YACrC,cAAc,CAAC,gBAAgB,CAAC,GAAG,KAAK,EAAE,cAAc,CAAC;SAC5D;aAAM;YACH,MAAM,IAAI,GAAG,WAAkC,CAAC;YAChD,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,EAAE,WAAW,CAAC;YAClD,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,gBAAgB,CAAC,GAAG,IAAI,EAAE,cAAc,CAAC;SAC3D;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,GAAG,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACxD,CAAC;;AAjEL,kBAkEC"}
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Create an annotation value to define a specific label instance that can be attached to Scaleway resources. Annotation values are associated with annotation keys and represent concrete tag values (e.g., "production" as a value for an "environment" key).
|
|
4
|
+
*
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as scaleway from "@pulumiverse/scaleway";
|
|
10
|
+
*
|
|
11
|
+
* const environment = new scaleway.annotations.Key("environment", {
|
|
12
|
+
* name: "environment",
|
|
13
|
+
* description: "Deployment environment (production, staging, development)",
|
|
14
|
+
* });
|
|
15
|
+
* const production = new scaleway.annotations.Value("production", {
|
|
16
|
+
* keyId: environment.id,
|
|
17
|
+
* name: "production",
|
|
18
|
+
* description: "Production environment",
|
|
19
|
+
* });
|
|
20
|
+
* ```
|
|
21
|
+
*
|
|
22
|
+
* ## Import
|
|
23
|
+
*
|
|
24
|
+
* Annotation values can be imported using their `id`:
|
|
25
|
+
*
|
|
26
|
+
* ```sh
|
|
27
|
+
* $ pulumi import scaleway:annotations/value:Value main <value_id>
|
|
28
|
+
* ```
|
|
29
|
+
*/
|
|
30
|
+
export declare class Value extends pulumi.CustomResource {
|
|
31
|
+
/**
|
|
32
|
+
* Get an existing Value resource's state with the given name, ID, and optional extra
|
|
33
|
+
* properties used to qualify the lookup.
|
|
34
|
+
*
|
|
35
|
+
* @param name The _unique_ name of the resulting resource.
|
|
36
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
37
|
+
* @param state Any extra arguments used during the lookup.
|
|
38
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
39
|
+
*/
|
|
40
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ValueState, opts?: pulumi.CustomResourceOptions): Value;
|
|
41
|
+
/**
|
|
42
|
+
* Returns true if the given object is an instance of Value. This is designed to work even
|
|
43
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
44
|
+
*/
|
|
45
|
+
static isInstance(obj: any): obj is Value;
|
|
46
|
+
/**
|
|
47
|
+
* Description of the annotation value.
|
|
48
|
+
*/
|
|
49
|
+
readonly description: pulumi.Output<string | undefined>;
|
|
50
|
+
/**
|
|
51
|
+
* ID of the key the value is associated to.
|
|
52
|
+
*/
|
|
53
|
+
readonly keyId: pulumi.Output<string>;
|
|
54
|
+
/**
|
|
55
|
+
* Name of the annotation value.
|
|
56
|
+
*/
|
|
57
|
+
readonly name: pulumi.Output<string>;
|
|
58
|
+
/**
|
|
59
|
+
* The ID of the annotation value.
|
|
60
|
+
*/
|
|
61
|
+
readonly valueId: pulumi.Output<string>;
|
|
62
|
+
/**
|
|
63
|
+
* Create a Value resource with the given unique name, arguments, and options.
|
|
64
|
+
*
|
|
65
|
+
* @param name The _unique_ name of the resource.
|
|
66
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
67
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
68
|
+
*/
|
|
69
|
+
constructor(name: string, args: ValueArgs, opts?: pulumi.CustomResourceOptions);
|
|
70
|
+
}
|
|
71
|
+
/**
|
|
72
|
+
* Input properties used for looking up and filtering Value resources.
|
|
73
|
+
*/
|
|
74
|
+
export interface ValueState {
|
|
75
|
+
/**
|
|
76
|
+
* Description of the annotation value.
|
|
77
|
+
*/
|
|
78
|
+
description?: pulumi.Input<string | undefined>;
|
|
79
|
+
/**
|
|
80
|
+
* ID of the key the value is associated to.
|
|
81
|
+
*/
|
|
82
|
+
keyId?: pulumi.Input<string | undefined>;
|
|
83
|
+
/**
|
|
84
|
+
* Name of the annotation value.
|
|
85
|
+
*/
|
|
86
|
+
name?: pulumi.Input<string | undefined>;
|
|
87
|
+
/**
|
|
88
|
+
* The ID of the annotation value.
|
|
89
|
+
*/
|
|
90
|
+
valueId?: pulumi.Input<string | undefined>;
|
|
91
|
+
}
|
|
92
|
+
/**
|
|
93
|
+
* The set of arguments for constructing a Value resource.
|
|
94
|
+
*/
|
|
95
|
+
export interface ValueArgs {
|
|
96
|
+
/**
|
|
97
|
+
* Description of the annotation value.
|
|
98
|
+
*/
|
|
99
|
+
description?: pulumi.Input<string | undefined>;
|
|
100
|
+
/**
|
|
101
|
+
* ID of the key the value is associated to.
|
|
102
|
+
*/
|
|
103
|
+
keyId: pulumi.Input<string>;
|
|
104
|
+
/**
|
|
105
|
+
* Name of the annotation value.
|
|
106
|
+
*/
|
|
107
|
+
name?: pulumi.Input<string | undefined>;
|
|
108
|
+
}
|
|
109
|
+
//# sourceMappingURL=value.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"value.d.ts","sourceRoot":"","sources":["../../annotations/value.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,qBAAa,KAAM,SAAQ,MAAM,CAAC,cAAc;IAC5C;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,UAAU,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,KAAK;IAO5H;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,KAAK;IAOhD;;OAEG;IACH,SAAwB,WAAW,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACvE;;OAEG;IACH,SAAwB,KAAK,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IACrD;;OAEG;IACH,SAAwB,IAAI,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IACpD;;OAEG;IACH,SAAgC,OAAO,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IAE/D;;;;;;OAMG;gBACS,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB;CAuBjF;AAED;;GAEG;AACH,MAAM,WAAW,UAAU;IACvB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC/C;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACzC;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACxC;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;CAC9C;AAED;;GAEG;AACH,MAAM,WAAW,SAAS;IACtB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC/C;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC5B;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;CAC3C"}
|