@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.
Files changed (62) hide show
  1. package/annotations/binding.d.ts +109 -0
  2. package/annotations/binding.d.ts.map +1 -0
  3. package/annotations/binding.js +122 -0
  4. package/annotations/binding.js.map +1 -0
  5. package/annotations/getBinding.d.ts +114 -0
  6. package/annotations/getBinding.d.ts.map +1 -0
  7. package/annotations/getBinding.js +115 -0
  8. package/annotations/getBinding.js.map +1 -0
  9. package/annotations/getKey.d.ts +76 -0
  10. package/annotations/getKey.d.ts.map +1 -0
  11. package/annotations/getKey.js +81 -0
  12. package/annotations/getKey.js.map +1 -0
  13. package/annotations/getValue.d.ts +90 -0
  14. package/annotations/getValue.d.ts.map +1 -0
  15. package/annotations/getValue.js +91 -0
  16. package/annotations/getValue.js.map +1 -0
  17. package/annotations/index.d.ts +19 -0
  18. package/annotations/index.d.ts.map +1 -0
  19. package/annotations/index.js +64 -0
  20. package/annotations/index.js.map +1 -0
  21. package/annotations/key.d.ts +100 -0
  22. package/annotations/key.d.ts.map +1 -0
  23. package/annotations/key.js +103 -0
  24. package/annotations/key.js.map +1 -0
  25. package/annotations/value.d.ts +109 -0
  26. package/annotations/value.d.ts.map +1 -0
  27. package/annotations/value.js +109 -0
  28. package/annotations/value.js.map +1 -0
  29. package/fileFilesystem.d.ts +11 -13
  30. package/fileFilesystem.d.ts.map +1 -1
  31. package/fileFilesystem.js +2 -4
  32. package/fileFilesystem.js.map +1 -1
  33. package/getInstancePlacementGroup.d.ts +0 -4
  34. package/getInstancePlacementGroup.d.ts.map +1 -1
  35. package/getInstancePlacementGroup.js.map +1 -1
  36. package/index.d.ts +2 -1
  37. package/index.d.ts.map +1 -1
  38. package/index.js +4 -2
  39. package/index.js.map +1 -1
  40. package/instance/getPlacementGroup.d.ts +0 -4
  41. package/instance/getPlacementGroup.d.ts.map +1 -1
  42. package/instance/getPlacementGroup.js.map +1 -1
  43. package/instance/placementGroup.d.ts +10 -8
  44. package/instance/placementGroup.d.ts.map +1 -1
  45. package/instance/placementGroup.js +0 -2
  46. package/instance/placementGroup.js.map +1 -1
  47. package/instancePlacementGroup.d.ts +10 -8
  48. package/instancePlacementGroup.d.ts.map +1 -1
  49. package/instancePlacementGroup.js +0 -2
  50. package/instancePlacementGroup.js.map +1 -1
  51. package/keyManagerKey.d.ts +2 -0
  52. package/keyManagerKey.d.ts.map +1 -1
  53. package/keyManagerKey.js +2 -0
  54. package/keyManagerKey.js.map +1 -1
  55. package/keymanager/key.d.ts +2 -0
  56. package/keymanager/key.d.ts.map +1 -1
  57. package/keymanager/key.js +2 -0
  58. package/keymanager/key.js.map +1 -1
  59. package/package.json +2 -2
  60. package/types/input.d.ts +2 -2
  61. package/types/output.d.ts +6 -6
  62. package/types/output.d.ts.map +1 -1
@@ -0,0 +1,109 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Creates and manages Scaleway Annotations Bindings.
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 = new scaleway.keymanager.Key("main", {
21
+ * name: "example-key",
22
+ * region: "fr-par",
23
+ * usage: "symmetric_encryption",
24
+ * algorithm: "aes_256_gcm",
25
+ * description: "Example key for binding",
26
+ * unprotected: true,
27
+ * });
28
+ * const mainBinding = new scaleway.annotations.Binding("main", {
29
+ * srn: main.srn,
30
+ * valueId: production.id,
31
+ * });
32
+ * ```
33
+ *
34
+ * ## Import
35
+ *
36
+ * Annotation bindings can be imported using their `id`:
37
+ *
38
+ * ```sh
39
+ * $ pulumi import scaleway:annotations/binding:Binding main <binding_id>
40
+ * ```
41
+ */
42
+ export declare class Binding extends pulumi.CustomResource {
43
+ /**
44
+ * Get an existing Binding resource's state with the given name, ID, and optional extra
45
+ * properties used to qualify the lookup.
46
+ *
47
+ * @param name The _unique_ name of the resulting resource.
48
+ * @param id The _unique_ provider ID of the resource to lookup.
49
+ * @param state Any extra arguments used during the lookup.
50
+ * @param opts Optional settings to control the behavior of the CustomResource.
51
+ */
52
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: BindingState, opts?: pulumi.CustomResourceOptions): Binding;
53
+ /**
54
+ * Returns true if the given object is an instance of Binding. This is designed to work even
55
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
56
+ */
57
+ static isInstance(obj: any): obj is Binding;
58
+ /**
59
+ * ID of the key associated to the binding.
60
+ */
61
+ readonly keyId: pulumi.Output<string>;
62
+ /**
63
+ * Scaleway Resource Number to associate. Changing this forces a new resource to be created.
64
+ */
65
+ readonly srn: pulumi.Output<string>;
66
+ /**
67
+ * ID of the value to associate. Changing this forces a new resource to be created.
68
+ */
69
+ readonly valueId: pulumi.Output<string>;
70
+ /**
71
+ * Create a Binding resource with the given unique name, arguments, and options.
72
+ *
73
+ * @param name The _unique_ name of the resource.
74
+ * @param args The arguments to use to populate this resource's properties.
75
+ * @param opts A bag of options that control this resource's behavior.
76
+ */
77
+ constructor(name: string, args: BindingArgs, opts?: pulumi.CustomResourceOptions);
78
+ }
79
+ /**
80
+ * Input properties used for looking up and filtering Binding resources.
81
+ */
82
+ export interface BindingState {
83
+ /**
84
+ * ID of the key associated to the binding.
85
+ */
86
+ keyId?: pulumi.Input<string | undefined>;
87
+ /**
88
+ * Scaleway Resource Number to associate. Changing this forces a new resource to be created.
89
+ */
90
+ srn?: pulumi.Input<string | undefined>;
91
+ /**
92
+ * ID of the value to associate. Changing this forces a new resource to be created.
93
+ */
94
+ valueId?: pulumi.Input<string | undefined>;
95
+ }
96
+ /**
97
+ * The set of arguments for constructing a Binding resource.
98
+ */
99
+ export interface BindingArgs {
100
+ /**
101
+ * Scaleway Resource Number to associate. Changing this forces a new resource to be created.
102
+ */
103
+ srn: pulumi.Input<string>;
104
+ /**
105
+ * ID of the value to associate. Changing this forces a new resource to be created.
106
+ */
107
+ valueId: pulumi.Input<string>;
108
+ }
109
+ //# sourceMappingURL=binding.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"binding.d.ts","sourceRoot":"","sources":["../../annotations/binding.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuCG;AACH,qBAAa,OAAQ,SAAQ,MAAM,CAAC,cAAc;IAC9C;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,YAAY,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,OAAO;IAOhI;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,OAAO;IAOlD;;OAEG;IACH,SAAgC,KAAK,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IAC7D;;OAEG;IACH,SAAwB,GAAG,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IACnD;;OAEG;IACH,SAAwB,OAAO,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IAEvD;;;;;;OAMG;gBACS,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,WAAW,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB;CAwBnF;AAED;;GAEG;AACH,MAAM,WAAW,YAAY;IACzB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACzC;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACvC;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;CAC9C;AAED;;GAEG;AACH,MAAM,WAAW,WAAW;IACxB;;OAEG;IACH,GAAG,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC1B;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CACjC"}
@@ -0,0 +1,122 @@
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.Binding = void 0;
29
+ const pulumi = __importStar(require("@pulumi/pulumi"));
30
+ const utilities = __importStar(require("../utilities"));
31
+ /**
32
+ * Creates and manages Scaleway Annotations Bindings.
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 = new scaleway.keymanager.Key("main", {
50
+ * name: "example-key",
51
+ * region: "fr-par",
52
+ * usage: "symmetric_encryption",
53
+ * algorithm: "aes_256_gcm",
54
+ * description: "Example key for binding",
55
+ * unprotected: true,
56
+ * });
57
+ * const mainBinding = new scaleway.annotations.Binding("main", {
58
+ * srn: main.srn,
59
+ * valueId: production.id,
60
+ * });
61
+ * ```
62
+ *
63
+ * ## Import
64
+ *
65
+ * Annotation bindings can be imported using their `id`:
66
+ *
67
+ * ```sh
68
+ * $ pulumi import scaleway:annotations/binding:Binding main <binding_id>
69
+ * ```
70
+ */
71
+ class Binding extends pulumi.CustomResource {
72
+ /**
73
+ * Get an existing Binding resource's state with the given name, ID, and optional extra
74
+ * properties used to qualify the lookup.
75
+ *
76
+ * @param name The _unique_ name of the resulting resource.
77
+ * @param id The _unique_ provider ID of the resource to lookup.
78
+ * @param state Any extra arguments used during the lookup.
79
+ * @param opts Optional settings to control the behavior of the CustomResource.
80
+ */
81
+ static get(name, id, state, opts) {
82
+ return new Binding(name, state, { ...opts, id: id });
83
+ }
84
+ /** @internal */
85
+ static __pulumiType = 'scaleway:annotations/binding:Binding';
86
+ /**
87
+ * Returns true if the given object is an instance of Binding. This is designed to work even
88
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
89
+ */
90
+ static isInstance(obj) {
91
+ if (obj === undefined || obj === null) {
92
+ return false;
93
+ }
94
+ return obj['__pulumiType'] === Binding.__pulumiType;
95
+ }
96
+ constructor(name, argsOrState, opts) {
97
+ let resourceInputs = {};
98
+ opts = opts || {};
99
+ if (opts.id) {
100
+ const state = argsOrState;
101
+ resourceInputs["keyId"] = state?.keyId;
102
+ resourceInputs["srn"] = state?.srn;
103
+ resourceInputs["valueId"] = state?.valueId;
104
+ }
105
+ else {
106
+ const args = argsOrState;
107
+ if (args?.srn === undefined && !opts.urn) {
108
+ throw new Error("Missing required property 'srn'");
109
+ }
110
+ if (args?.valueId === undefined && !opts.urn) {
111
+ throw new Error("Missing required property 'valueId'");
112
+ }
113
+ resourceInputs["srn"] = args?.srn;
114
+ resourceInputs["valueId"] = args?.valueId;
115
+ resourceInputs["keyId"] = undefined /*out*/;
116
+ }
117
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
118
+ super(Binding.__pulumiType, name, resourceInputs, opts);
119
+ }
120
+ }
121
+ exports.Binding = Binding;
122
+ //# sourceMappingURL=binding.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"binding.js","sourceRoot":"","sources":["../../annotations/binding.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,wDAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuCG;AACH,MAAa,OAAQ,SAAQ,MAAM,CAAC,cAAc;IAC9C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAoB,EAAE,IAAmC;QAClH,OAAO,IAAI,OAAO,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC9D,CAAC;IAED,gBAAgB;IACT,MAAM,CAAU,YAAY,GAAG,sCAAsC,CAAC;IAE7E;;;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,OAAO,CAAC,YAAY,CAAC;IACxD,CAAC;IAuBD,YAAY,IAAY,EAAE,WAAwC,EAAE,IAAmC;QACnG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAuC,CAAC;YACtD,cAAc,CAAC,OAAO,CAAC,GAAG,KAAK,EAAE,KAAK,CAAC;YACvC,cAAc,CAAC,KAAK,CAAC,GAAG,KAAK,EAAE,GAAG,CAAC;YACnC,cAAc,CAAC,SAAS,CAAC,GAAG,KAAK,EAAE,OAAO,CAAC;SAC9C;aAAM;YACH,MAAM,IAAI,GAAG,WAAsC,CAAC;YACpD,IAAI,IAAI,EAAE,GAAG,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACtC,MAAM,IAAI,KAAK,CAAC,iCAAiC,CAAC,CAAC;aACtD;YACD,IAAI,IAAI,EAAE,OAAO,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC1C,MAAM,IAAI,KAAK,CAAC,qCAAqC,CAAC,CAAC;aAC1D;YACD,cAAc,CAAC,KAAK,CAAC,GAAG,IAAI,EAAE,GAAG,CAAC;YAClC,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,OAAO,CAAC;YAC1C,cAAc,CAAC,OAAO,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC/C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,OAAO,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC5D,CAAC;;AAvEL,0BAwEC"}
@@ -0,0 +1,114 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Use this data source to retrieve information about an annotation binding.
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 mainKey = new scaleway.keymanager.Key("main", {
21
+ * name: "example-key",
22
+ * region: "fr-par",
23
+ * usage: "symmetric_encryption",
24
+ * algorithm: "aes_256_gcm",
25
+ * description: "Example key for binding",
26
+ * unprotected: true,
27
+ * });
28
+ * const mainBinding = new scaleway.annotations.Binding("main", {
29
+ * srn: mainKey.srn,
30
+ * valueId: production.id,
31
+ * });
32
+ * const main = scaleway.annotations.getBindingOutput({
33
+ * bindingId: mainBinding.id,
34
+ * });
35
+ * ```
36
+ */
37
+ export declare function getBinding(args: GetBindingArgs, opts?: pulumi.InvokeOptions): Promise<GetBindingResult>;
38
+ /**
39
+ * A collection of arguments for invoking getBinding.
40
+ */
41
+ export interface GetBindingArgs {
42
+ /**
43
+ * The ID of the annotation binding to retrieve.
44
+ */
45
+ bindingId: string;
46
+ }
47
+ /**
48
+ * A collection of values returned by getBinding.
49
+ */
50
+ export interface GetBindingResult {
51
+ readonly bindingId: string;
52
+ /**
53
+ * The ID of the annotation binding
54
+ */
55
+ readonly id: string;
56
+ /**
57
+ * ID of the key associated to the binding
58
+ */
59
+ readonly keyId: string;
60
+ /**
61
+ * Scaleway Resource Number associated to the binding
62
+ */
63
+ readonly srn: string;
64
+ /**
65
+ * ID of the value associated to the binding
66
+ */
67
+ readonly valueId: string;
68
+ }
69
+ /**
70
+ * Use this data source to retrieve information about an annotation binding.
71
+ *
72
+ * ## Example Usage
73
+ *
74
+ * ```typescript
75
+ * import * as pulumi from "@pulumi/pulumi";
76
+ * import * as scaleway from "@pulumiverse/scaleway";
77
+ *
78
+ * const environment = new scaleway.annotations.Key("environment", {
79
+ * name: "environment",
80
+ * description: "Deployment environment (production, staging, development)",
81
+ * });
82
+ * const production = new scaleway.annotations.Value("production", {
83
+ * keyId: environment.id,
84
+ * name: "production",
85
+ * description: "Production environment",
86
+ * });
87
+ * const mainKey = new scaleway.keymanager.Key("main", {
88
+ * name: "example-key",
89
+ * region: "fr-par",
90
+ * usage: "symmetric_encryption",
91
+ * algorithm: "aes_256_gcm",
92
+ * description: "Example key for binding",
93
+ * unprotected: true,
94
+ * });
95
+ * const mainBinding = new scaleway.annotations.Binding("main", {
96
+ * srn: mainKey.srn,
97
+ * valueId: production.id,
98
+ * });
99
+ * const main = scaleway.annotations.getBindingOutput({
100
+ * bindingId: mainBinding.id,
101
+ * });
102
+ * ```
103
+ */
104
+ export declare function getBindingOutput(args: GetBindingOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetBindingResult>;
105
+ /**
106
+ * A collection of arguments for invoking getBinding.
107
+ */
108
+ export interface GetBindingOutputArgs {
109
+ /**
110
+ * The ID of the annotation binding to retrieve.
111
+ */
112
+ bindingId: pulumi.Input<string>;
113
+ }
114
+ //# sourceMappingURL=getBinding.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getBinding.d.ts","sourceRoot":"","sources":["../../annotations/getBinding.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AACH,wBAAgB,UAAU,CAAC,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,aAAa,GAAG,OAAO,CAAC,gBAAgB,CAAC,CAKvG;AAED;;GAEG;AACH,MAAM,WAAW,cAAc;IAC3B;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;CACrB;AAED;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC7B,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B;;OAEG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB;;OAEG;IACH,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;CAC5B;AACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AACH,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,oBAAoB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,mBAAmB,GAAG,MAAM,CAAC,MAAM,CAAC,gBAAgB,CAAC,CAK/H;AAED;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACjC;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CACnC"}
@@ -0,0 +1,115 @@
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.getBindingOutput = exports.getBinding = void 0;
29
+ const pulumi = __importStar(require("@pulumi/pulumi"));
30
+ const utilities = __importStar(require("../utilities"));
31
+ /**
32
+ * Use this data source to retrieve information about an annotation binding.
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 mainKey = new scaleway.keymanager.Key("main", {
50
+ * name: "example-key",
51
+ * region: "fr-par",
52
+ * usage: "symmetric_encryption",
53
+ * algorithm: "aes_256_gcm",
54
+ * description: "Example key for binding",
55
+ * unprotected: true,
56
+ * });
57
+ * const mainBinding = new scaleway.annotations.Binding("main", {
58
+ * srn: mainKey.srn,
59
+ * valueId: production.id,
60
+ * });
61
+ * const main = scaleway.annotations.getBindingOutput({
62
+ * bindingId: mainBinding.id,
63
+ * });
64
+ * ```
65
+ */
66
+ function getBinding(args, opts) {
67
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
68
+ return pulumi.runtime.invoke("scaleway:annotations/getBinding:getBinding", {
69
+ "bindingId": args.bindingId,
70
+ }, opts);
71
+ }
72
+ exports.getBinding = getBinding;
73
+ /**
74
+ * Use this data source to retrieve information about an annotation binding.
75
+ *
76
+ * ## Example Usage
77
+ *
78
+ * ```typescript
79
+ * import * as pulumi from "@pulumi/pulumi";
80
+ * import * as scaleway from "@pulumiverse/scaleway";
81
+ *
82
+ * const environment = new scaleway.annotations.Key("environment", {
83
+ * name: "environment",
84
+ * description: "Deployment environment (production, staging, development)",
85
+ * });
86
+ * const production = new scaleway.annotations.Value("production", {
87
+ * keyId: environment.id,
88
+ * name: "production",
89
+ * description: "Production environment",
90
+ * });
91
+ * const mainKey = new scaleway.keymanager.Key("main", {
92
+ * name: "example-key",
93
+ * region: "fr-par",
94
+ * usage: "symmetric_encryption",
95
+ * algorithm: "aes_256_gcm",
96
+ * description: "Example key for binding",
97
+ * unprotected: true,
98
+ * });
99
+ * const mainBinding = new scaleway.annotations.Binding("main", {
100
+ * srn: mainKey.srn,
101
+ * valueId: production.id,
102
+ * });
103
+ * const main = scaleway.annotations.getBindingOutput({
104
+ * bindingId: mainBinding.id,
105
+ * });
106
+ * ```
107
+ */
108
+ function getBindingOutput(args, opts) {
109
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
110
+ return pulumi.runtime.invokeOutput("scaleway:annotations/getBinding:getBinding", {
111
+ "bindingId": args.bindingId,
112
+ }, opts);
113
+ }
114
+ exports.getBindingOutput = getBindingOutput;
115
+ //# sourceMappingURL=getBinding.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getBinding.js","sourceRoot":"","sources":["../../annotations/getBinding.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,wDAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AACH,SAAgB,UAAU,CAAC,IAAoB,EAAE,IAA2B;IACxE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,4CAA4C,EAAE;QACvE,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,gCAKC;AAkCD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AACH,SAAgB,gBAAgB,CAAC,IAA0B,EAAE,IAAiC;IAC1F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,4CAA4C,EAAE;QAC7E,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,4CAKC"}
@@ -0,0 +1,76 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Retrieves information about an existing annotation key 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 main = scaleway.annotations.getKeyOutput({
16
+ * keyId: environment.id,
17
+ * });
18
+ * ```
19
+ */
20
+ export declare function getKey(args: GetKeyArgs, opts?: pulumi.InvokeOptions): Promise<GetKeyResult>;
21
+ /**
22
+ * A collection of arguments for invoking getKey.
23
+ */
24
+ export interface GetKeyArgs {
25
+ /**
26
+ * The ID of the annotation key to retrieve.
27
+ */
28
+ keyId: string;
29
+ }
30
+ /**
31
+ * A collection of values returned by getKey.
32
+ */
33
+ export interface GetKeyResult {
34
+ /**
35
+ * Description of the annotation key
36
+ */
37
+ readonly description: string;
38
+ /**
39
+ * The ID of the annotation key
40
+ */
41
+ readonly id: string;
42
+ readonly keyId: string;
43
+ /**
44
+ * Name of the annotation key
45
+ */
46
+ readonly name: string;
47
+ }
48
+ /**
49
+ * Retrieves information about an existing annotation key using its ID.
50
+ *
51
+ * ## Example Usage
52
+ *
53
+ * ```typescript
54
+ * import * as pulumi from "@pulumi/pulumi";
55
+ * import * as scaleway from "@pulumiverse/scaleway";
56
+ *
57
+ * const environment = new scaleway.annotations.Key("environment", {
58
+ * name: "environment",
59
+ * description: "Deployment environment (production, staging, development)",
60
+ * });
61
+ * const main = scaleway.annotations.getKeyOutput({
62
+ * keyId: environment.id,
63
+ * });
64
+ * ```
65
+ */
66
+ export declare function getKeyOutput(args: GetKeyOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetKeyResult>;
67
+ /**
68
+ * A collection of arguments for invoking getKey.
69
+ */
70
+ export interface GetKeyOutputArgs {
71
+ /**
72
+ * The ID of the annotation key to retrieve.
73
+ */
74
+ keyId: pulumi.Input<string>;
75
+ }
76
+ //# sourceMappingURL=getKey.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getKey.d.ts","sourceRoot":"","sources":["../../annotations/getKey.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAAgB,MAAM,CAAC,IAAI,EAAE,UAAU,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,aAAa,GAAG,OAAO,CAAC,YAAY,CAAC,CAK3F;AAED;;GAEG;AACH,MAAM,WAAW,UAAU;IACvB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;CACjB;AAED;;GAEG;AACH,MAAM,WAAW,YAAY;IACzB;;OAEG;IACH,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B;;OAEG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB;;OAEG;IACH,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;CACzB;AACD;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAAgB,YAAY,CAAC,IAAI,EAAE,gBAAgB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,mBAAmB,GAAG,MAAM,CAAC,MAAM,CAAC,YAAY,CAAC,CAKnH;AAED;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC7B;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CAC/B"}
@@ -0,0 +1,81 @@
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.getKeyOutput = exports.getKey = void 0;
29
+ const pulumi = __importStar(require("@pulumi/pulumi"));
30
+ const utilities = __importStar(require("../utilities"));
31
+ /**
32
+ * Retrieves information about an existing annotation key 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 main = scaleway.annotations.getKeyOutput({
45
+ * keyId: environment.id,
46
+ * });
47
+ * ```
48
+ */
49
+ function getKey(args, opts) {
50
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
51
+ return pulumi.runtime.invoke("scaleway:annotations/getKey:getKey", {
52
+ "keyId": args.keyId,
53
+ }, opts);
54
+ }
55
+ exports.getKey = getKey;
56
+ /**
57
+ * Retrieves information about an existing annotation key using its ID.
58
+ *
59
+ * ## Example Usage
60
+ *
61
+ * ```typescript
62
+ * import * as pulumi from "@pulumi/pulumi";
63
+ * import * as scaleway from "@pulumiverse/scaleway";
64
+ *
65
+ * const environment = new scaleway.annotations.Key("environment", {
66
+ * name: "environment",
67
+ * description: "Deployment environment (production, staging, development)",
68
+ * });
69
+ * const main = scaleway.annotations.getKeyOutput({
70
+ * keyId: environment.id,
71
+ * });
72
+ * ```
73
+ */
74
+ function getKeyOutput(args, opts) {
75
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
76
+ return pulumi.runtime.invokeOutput("scaleway:annotations/getKey:getKey", {
77
+ "keyId": args.keyId,
78
+ }, opts);
79
+ }
80
+ exports.getKeyOutput = getKeyOutput;
81
+ //# sourceMappingURL=getKey.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getKey.js","sourceRoot":"","sources":["../../annotations/getKey.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,wDAA0C;AAE1C;;;;;;;;;;;;;;;;;GAiBG;AACH,SAAgB,MAAM,CAAC,IAAgB,EAAE,IAA2B;IAChE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,oCAAoC,EAAE;QAC/D,OAAO,EAAE,IAAI,CAAC,KAAK;KACtB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,wBAKC;AA8BD;;;;;;;;;;;;;;;;;GAiBG;AACH,SAAgB,YAAY,CAAC,IAAsB,EAAE,IAAiC;IAClF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,oCAAoC,EAAE;QACrE,OAAO,EAAE,IAAI,CAAC,KAAK;KACtB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,oCAKC"}