@pulumiverse/scaleway 1.17.0 → 1.18.0-alpha.1730280133

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 (106) hide show
  1. package/accountProject.d.ts +8 -8
  2. package/accountProject.js +1 -1
  3. package/accountSshKey.d.ts +4 -2
  4. package/accountSshKey.js +4 -2
  5. package/accountSshKey.js.map +1 -1
  6. package/container.d.ts +65 -71
  7. package/container.js +17 -17
  8. package/container.js.map +1 -1
  9. package/containerCron.d.ts +19 -35
  10. package/containerCron.js +5 -12
  11. package/containerCron.js.map +1 -1
  12. package/containerDomain.d.ts +14 -11
  13. package/containerDomain.js +6 -3
  14. package/containerDomain.js.map +1 -1
  15. package/containerNamespace.d.ts +19 -19
  16. package/containerNamespace.js +5 -5
  17. package/containerToken.d.ts +16 -17
  18. package/containerToken.js +4 -5
  19. package/containerToken.js.map +1 -1
  20. package/containerTrigger.d.ts +20 -19
  21. package/containerTrigger.js +5 -4
  22. package/containerTrigger.js.map +1 -1
  23. package/function.d.ts +50 -73
  24. package/function.js +1 -24
  25. package/function.js.map +1 -1
  26. package/functionCron.d.ts +19 -27
  27. package/functionCron.js +5 -7
  28. package/functionCron.js.map +1 -1
  29. package/functionDomain.d.ts +25 -21
  30. package/functionDomain.js +5 -4
  31. package/functionDomain.js.map +1 -1
  32. package/functionNamespace.d.ts +22 -22
  33. package/functionNamespace.js +5 -5
  34. package/functionToken.d.ts +16 -17
  35. package/functionToken.js +4 -5
  36. package/functionToken.js.map +1 -1
  37. package/functionTrigger.d.ts +20 -19
  38. package/functionTrigger.js +5 -4
  39. package/functionTrigger.js.map +1 -1
  40. package/getAccountProject.d.ts +14 -8
  41. package/getAccountProject.js +6 -2
  42. package/getAccountProject.js.map +1 -1
  43. package/getAccountSshKey.d.ts +14 -10
  44. package/getAccountSshKey.js +6 -2
  45. package/getAccountSshKey.js.map +1 -1
  46. package/getAvailabilityZones.d.ts +17 -9
  47. package/getAvailabilityZones.js +14 -6
  48. package/getAvailabilityZones.js.map +1 -1
  49. package/getContainer.d.ts +50 -42
  50. package/getContainer.js +40 -10
  51. package/getContainer.js.map +1 -1
  52. package/getContainerNamespace.d.ts +26 -16
  53. package/getContainerNamespace.js +18 -4
  54. package/getContainerNamespace.js.map +1 -1
  55. package/getFunction.d.ts +20 -12
  56. package/getFunction.js +10 -2
  57. package/getFunction.js.map +1 -1
  58. package/getFunctionNamespace.d.ts +14 -14
  59. package/getFunctionNamespace.js +6 -2
  60. package/getFunctionNamespace.js.map +1 -1
  61. package/getObjectBucket.d.ts +22 -10
  62. package/getObjectBucket.js +20 -8
  63. package/getObjectBucket.js.map +1 -1
  64. package/getObjectBucketPolicy.d.ts +15 -9
  65. package/getObjectBucketPolicy.js +12 -6
  66. package/getObjectBucketPolicy.js.map +1 -1
  67. package/getTemDomain.d.ts +1 -0
  68. package/getTemDomain.js.map +1 -1
  69. package/index.d.ts +3 -0
  70. package/index.js +6 -1
  71. package/index.js.map +1 -1
  72. package/instanceServer.d.ts +17 -0
  73. package/instanceServer.js +17 -0
  74. package/instanceServer.js.map +1 -1
  75. package/objectBucket.d.ts +30 -39
  76. package/objectBucket.js +7 -4
  77. package/objectBucket.js.map +1 -1
  78. package/objectBucketAcl.d.ts +10 -8
  79. package/objectBucketAcl.js +7 -5
  80. package/objectBucketAcl.js.map +1 -1
  81. package/objectBucketLockConfiguration.d.ts +10 -9
  82. package/objectBucketLockConfiguration.js +7 -6
  83. package/objectBucketLockConfiguration.js.map +1 -1
  84. package/objectBucketPolicy.d.ts +5 -4
  85. package/objectBucketPolicy.js +5 -4
  86. package/objectBucketPolicy.js.map +1 -1
  87. package/objectBucketWebsiteConfiguration.d.ts +11 -10
  88. package/objectBucketWebsiteConfiguration.js +5 -4
  89. package/objectBucketWebsiteConfiguration.js.map +1 -1
  90. package/objectItem.d.ts +34 -27
  91. package/objectItem.js +4 -3
  92. package/objectItem.js.map +1 -1
  93. package/package.json +2 -2
  94. package/sdbDatabase.d.ts +12 -10
  95. package/sdbDatabase.js +4 -2
  96. package/sdbDatabase.js.map +1 -1
  97. package/temDomain.d.ts +27 -0
  98. package/temDomain.js +17 -0
  99. package/temDomain.js.map +1 -1
  100. package/types/input.d.ts +42 -36
  101. package/types/output.d.ts +47 -37
  102. package/vpcPrivateNetwork.d.ts +1 -1
  103. package/vpcPrivateNetwork.js +1 -1
  104. package/vpcRoute.d.ts +187 -0
  105. package/vpcRoute.js +119 -0
  106. package/vpcRoute.js.map +1 -0
@@ -2,8 +2,9 @@ import * as pulumi from "@pulumi/pulumi";
2
2
  import * as inputs from "./types/input";
3
3
  import * as outputs from "./types/output";
4
4
  /**
5
- * Creates and manages Scaleway Container Triggers.
6
- * For more information see [the documentation](https://www.scaleway.com/en/developers/api/serverless-containers/#path-triggers).
5
+ * The `scaleway.ContainerTrigger` resource allows you to create and manage triggers for Scaleway [Serverless Containers](https://www.scaleway.com/en/docs/serverless/containers/).
6
+ *
7
+ * Refer to the Containers triggers [documentation](https://www.scaleway.com/en/docs/serverless/containers/how-to/add-trigger-to-a-container/) and [API documentation](https://www.scaleway.com/en/developers/api/serverless-containers/#path-triggers-list-all-triggers) for more information.
7
8
  *
8
9
  * ## Example Usage
9
10
  *
@@ -24,7 +25,7 @@ import * as outputs from "./types/output";
24
25
  * });
25
26
  * ```
26
27
  *
27
- * ### Nats
28
+ * ### NATS
28
29
  *
29
30
  * ```typescript
30
31
  * import * as pulumi from "@pulumi/pulumi";
@@ -43,7 +44,7 @@ import * as outputs from "./types/output";
43
44
  *
44
45
  * ## Import
45
46
  *
46
- * Container Triggers can be imported using the `{region}/{id}`, e.g.
47
+ * Container Triggers can be imported using `{region}/{id}`, as shown below:
47
48
  *
48
49
  * bash
49
50
  *
@@ -68,7 +69,7 @@ export declare class ContainerTrigger extends pulumi.CustomResource {
68
69
  */
69
70
  static isInstance(obj: any): obj is ContainerTrigger;
70
71
  /**
71
- * The ID of the container to create a trigger for
72
+ * The unique identifier of the container to create a trigger for.
72
73
  */
73
74
  readonly containerId: pulumi.Output<string>;
74
75
  /**
@@ -76,19 +77,19 @@ export declare class ContainerTrigger extends pulumi.CustomResource {
76
77
  */
77
78
  readonly description: pulumi.Output<string | undefined>;
78
79
  /**
79
- * The unique name of the trigger. Default to a generated name.
80
+ * The unique name of the trigger. If not provided, a random name is generated.
80
81
  */
81
82
  readonly name: pulumi.Output<string>;
82
83
  /**
83
- * The configuration for the Scaleway's Nats used by the trigger
84
+ * The configuration for the Scaleway NATS account used by the trigger
84
85
  */
85
86
  readonly nats: pulumi.Output<outputs.ContainerTriggerNats | undefined>;
86
87
  /**
87
- * `region`). The region in which the namespace should be created.
88
+ * `region`). The region in which the namespace is created.
88
89
  */
89
90
  readonly region: pulumi.Output<string>;
90
91
  /**
91
- * The configuration of the Scaleway's SQS used by the trigger
92
+ * The configuration of the Scaleway SQS queue used by the trigger
92
93
  */
93
94
  readonly sqs: pulumi.Output<outputs.ContainerTriggerSqs | undefined>;
94
95
  /**
@@ -105,7 +106,7 @@ export declare class ContainerTrigger extends pulumi.CustomResource {
105
106
  */
106
107
  export interface ContainerTriggerState {
107
108
  /**
108
- * The ID of the container to create a trigger for
109
+ * The unique identifier of the container to create a trigger for.
109
110
  */
110
111
  containerId?: pulumi.Input<string>;
111
112
  /**
@@ -113,19 +114,19 @@ export interface ContainerTriggerState {
113
114
  */
114
115
  description?: pulumi.Input<string>;
115
116
  /**
116
- * The unique name of the trigger. Default to a generated name.
117
+ * The unique name of the trigger. If not provided, a random name is generated.
117
118
  */
118
119
  name?: pulumi.Input<string>;
119
120
  /**
120
- * The configuration for the Scaleway's Nats used by the trigger
121
+ * The configuration for the Scaleway NATS account used by the trigger
121
122
  */
122
123
  nats?: pulumi.Input<inputs.ContainerTriggerNats>;
123
124
  /**
124
- * `region`). The region in which the namespace should be created.
125
+ * `region`). The region in which the namespace is created.
125
126
  */
126
127
  region?: pulumi.Input<string>;
127
128
  /**
128
- * The configuration of the Scaleway's SQS used by the trigger
129
+ * The configuration of the Scaleway SQS queue used by the trigger
129
130
  */
130
131
  sqs?: pulumi.Input<inputs.ContainerTriggerSqs>;
131
132
  }
@@ -134,7 +135,7 @@ export interface ContainerTriggerState {
134
135
  */
135
136
  export interface ContainerTriggerArgs {
136
137
  /**
137
- * The ID of the container to create a trigger for
138
+ * The unique identifier of the container to create a trigger for.
138
139
  */
139
140
  containerId: pulumi.Input<string>;
140
141
  /**
@@ -142,19 +143,19 @@ export interface ContainerTriggerArgs {
142
143
  */
143
144
  description?: pulumi.Input<string>;
144
145
  /**
145
- * The unique name of the trigger. Default to a generated name.
146
+ * The unique name of the trigger. If not provided, a random name is generated.
146
147
  */
147
148
  name?: pulumi.Input<string>;
148
149
  /**
149
- * The configuration for the Scaleway's Nats used by the trigger
150
+ * The configuration for the Scaleway NATS account used by the trigger
150
151
  */
151
152
  nats?: pulumi.Input<inputs.ContainerTriggerNats>;
152
153
  /**
153
- * `region`). The region in which the namespace should be created.
154
+ * `region`). The region in which the namespace is created.
154
155
  */
155
156
  region?: pulumi.Input<string>;
156
157
  /**
157
- * The configuration of the Scaleway's SQS used by the trigger
158
+ * The configuration of the Scaleway SQS queue used by the trigger
158
159
  */
159
160
  sqs?: pulumi.Input<inputs.ContainerTriggerSqs>;
160
161
  }
@@ -6,8 +6,9 @@ exports.ContainerTrigger = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
8
  /**
9
- * Creates and manages Scaleway Container Triggers.
10
- * For more information see [the documentation](https://www.scaleway.com/en/developers/api/serverless-containers/#path-triggers).
9
+ * The `scaleway.ContainerTrigger` resource allows you to create and manage triggers for Scaleway [Serverless Containers](https://www.scaleway.com/en/docs/serverless/containers/).
10
+ *
11
+ * Refer to the Containers triggers [documentation](https://www.scaleway.com/en/docs/serverless/containers/how-to/add-trigger-to-a-container/) and [API documentation](https://www.scaleway.com/en/developers/api/serverless-containers/#path-triggers-list-all-triggers) for more information.
11
12
  *
12
13
  * ## Example Usage
13
14
  *
@@ -28,7 +29,7 @@ const utilities = require("./utilities");
28
29
  * });
29
30
  * ```
30
31
  *
31
- * ### Nats
32
+ * ### NATS
32
33
  *
33
34
  * ```typescript
34
35
  * import * as pulumi from "@pulumi/pulumi";
@@ -47,7 +48,7 @@ const utilities = require("./utilities");
47
48
  *
48
49
  * ## Import
49
50
  *
50
- * Container Triggers can be imported using the `{region}/{id}`, e.g.
51
+ * Container Triggers can be imported using `{region}/{id}`, as shown below:
51
52
  *
52
53
  * bash
53
54
  *
@@ -1 +1 @@
1
- {"version":3,"file":"containerTrigger.js","sourceRoot":"","sources":["../containerTrigger.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiDG;AACH,MAAa,gBAAiB,SAAQ,MAAM,CAAC,cAAc;IACvD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA6B,EAAE,IAAmC;QAC3H,OAAO,IAAI,gBAAgB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACvE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,gBAAgB,CAAC,YAAY,CAAC;IACjE,CAAC;IAmCD,YAAY,IAAY,EAAE,WAA0D,EAAE,IAAmC;QACrH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAgD,CAAC;YAC/D,cAAc,CAAC,aAAa,C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,CAAC,CAAC,SAAS,CAAC;YACpE,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,cAAc,CAAC,KAAK,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,SAAS,CAAC;SACvD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,gBAAgB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACrE,CAAC;;AAtFL,4CAuFC;AAzEG,gBAAgB;AACO,6BAAY,GAAG,kDAAkD,CAAC"}
package/function.d.ts CHANGED
@@ -1,31 +1,8 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
2
  /**
3
- * Creates and manages Scaleway Functions.
4
- * For more information see [the documentation](https://www.scaleway.com/en/developers/api/serverless-functions).
5
- *
6
- * ## Example Usage
7
- *
8
- * ### Basic
9
- *
10
- * ```typescript
11
- * import * as pulumi from "@pulumi/pulumi";
12
- * import * as scaleway from "@pulumiverse/scaleway";
13
- *
14
- * const main = new scaleway.FunctionNamespace("main", {
15
- * name: "main-function-namespace",
16
- * description: "Main function namespace",
17
- * });
18
- * const mainFunction = new scaleway.Function("main", {
19
- * namespaceId: main.id,
20
- * runtime: "go118",
21
- * handler: "Handle",
22
- * privacy: "private",
23
- * });
24
- * ```
25
- *
26
3
  * ## Import
27
4
  *
28
- * Functions can be imported using the `{region}/{id}`, e.g.
5
+ * Functions can be imported using, `{region}/{id}`, as shown below:
29
6
  *
30
7
  * bash
31
8
  *
@@ -50,7 +27,7 @@ export declare class Function extends pulumi.CustomResource {
50
27
  */
51
28
  static isInstance(obj: any): obj is Function;
52
29
  /**
53
- * The CPU limit in mCPU for your function. More infos on resources [here](https://www.scaleway.com/en/developers/api/serverless-functions/#functions)
30
+ * The CPU limit in mVCPU for your function.
54
31
  */
55
32
  readonly cpuLimit: pulumi.Output<number>;
56
33
  readonly deploy: pulumi.Output<boolean | undefined>;
@@ -59,17 +36,17 @@ export declare class Function extends pulumi.CustomResource {
59
36
  */
60
37
  readonly description: pulumi.Output<string | undefined>;
61
38
  /**
62
- * The native domain name of the function
39
+ * The native domain name of the function.
63
40
  */
64
41
  readonly domainName: pulumi.Output<string>;
65
42
  /**
66
- * The environment variables of the function.
43
+ * The [environment variables](https://www.scaleway.com/en/docs/compute/functions/concepts/#environment-variables) of the function.
67
44
  */
68
45
  readonly environmentVariables: pulumi.Output<{
69
46
  [key: string]: string;
70
47
  } | undefined>;
71
48
  /**
72
- * Handler of the function. Depends on the runtime ([function guide](https://www.scaleway.com/en/developers/api/serverless-functions/#create-a-function))
49
+ * Handler of the function, depends on the runtime. Refer to the [dedicated documentation](https://www.scaleway.com/en/developers/api/serverless-functions/#path-functions-create-a-new-function) for the list of supported runtimes.
73
50
  */
74
51
  readonly handler: pulumi.Output<string>;
75
52
  /**
@@ -77,25 +54,25 @@ export declare class Function extends pulumi.CustomResource {
77
54
  */
78
55
  readonly httpOption: pulumi.Output<string | undefined>;
79
56
  /**
80
- * Maximum replicas for your function (defaults to 20), our system will scale your functions automatically based on incoming workload, but will never scale the number of replicas above the configured max_scale.
57
+ * The maximum number of instances this function can scale to. Default to 20. Your function will scale automatically based on the incoming workload, but will never exceed the configured `maxScale` value.
81
58
  */
82
59
  readonly maxScale: pulumi.Output<number | undefined>;
83
60
  /**
84
- * Memory limit in MB for your function, defaults to 128MB
61
+ * The memory resources in MB to allocate to each function. Defaults to 256 MB.
85
62
  */
86
63
  readonly memoryLimit: pulumi.Output<number | undefined>;
87
64
  /**
88
- * Minimum replicas for your function, defaults to 0, Note that a function is billed when it gets executed, and using a minScale greater than 0 will cause your function container to run constantly.
65
+ * The minimum number of function instances running continuously. Defaults to 0. Functions are billed when executed, and using a `minScale` greater than 0 will cause your function to run constantly.
89
66
  */
90
67
  readonly minScale: pulumi.Output<number | undefined>;
91
68
  /**
92
- * The unique name of the function.
93
- *
94
- * > **Important** Updates to `name` will recreate the function.
69
+ * The unique name of the function name.
95
70
  */
96
71
  readonly name: pulumi.Output<string>;
97
72
  /**
98
- * The function namespace ID of the function.
73
+ * The Functions namespace ID of the function.
74
+ *
75
+ * > **Important** Updating the `name` argument will recreate the function.
99
76
  */
100
77
  readonly namespaceId: pulumi.Output<string>;
101
78
  /**
@@ -103,11 +80,11 @@ export declare class Function extends pulumi.CustomResource {
103
80
  */
104
81
  readonly organizationId: pulumi.Output<string>;
105
82
  /**
106
- * Privacy of the function. Can be either `private` or `public`. Read more on [authentication](https://www.scaleway.com/en/developers/api/serverless-functions/#authentication)
83
+ * The privacy type defines the way to authenticate to your function. Please check our dedicated [section](https://www.scaleway.com/en/developers/api/serverless-functions/#protocol-9dd4c8).
107
84
  */
108
85
  readonly privacy: pulumi.Output<string>;
109
86
  /**
110
- * `projectId`) The ID of the project the namespace is associated with.
87
+ * `projectId`) The ID of the project the functions namespace is associated with.
111
88
  */
112
89
  readonly projectId: pulumi.Output<string>;
113
90
  /**
@@ -115,7 +92,7 @@ export declare class Function extends pulumi.CustomResource {
115
92
  */
116
93
  readonly region: pulumi.Output<string>;
117
94
  /**
118
- * Runtime of the function. Runtimes can be fetched using [specific route](https://www.scaleway.com/en/developers/api/serverless-functions/#get-f7de6a
95
+ * Runtime of the function. Runtimes can be fetched using [specific route](https://www.scaleway.com/en/developers/api/serverless-functions/#path-functions-get-a-function)
119
96
  */
120
97
  readonly runtime: pulumi.Output<string>;
121
98
  /**
@@ -123,17 +100,17 @@ export declare class Function extends pulumi.CustomResource {
123
100
  */
124
101
  readonly sandbox: pulumi.Output<string>;
125
102
  /**
126
- * The [secret environment](https://www.scaleway.com/en/docs/compute/functions/concepts/#secrets) variables of the function.
103
+ * The [secret environment variables](https://www.scaleway.com/en/docs/compute/functions/concepts/#secrets) of the function.
127
104
  */
128
105
  readonly secretEnvironmentVariables: pulumi.Output<{
129
106
  [key: string]: string;
130
107
  } | undefined>;
131
108
  /**
132
- * Holds the max duration (in seconds) the function is allowed for responding to a request
109
+ * The maximum amount of time your function can spend processing a request before being stopped. Defaults to 300s.
133
110
  */
134
111
  readonly timeout: pulumi.Output<number>;
135
112
  /**
136
- * Location of the zip file to upload containing your function sources
113
+ * Path to the zip file containing your function sources to upload.
137
114
  */
138
115
  readonly zipFile: pulumi.Output<string | undefined>;
139
116
  /**
@@ -154,7 +131,7 @@ export declare class Function extends pulumi.CustomResource {
154
131
  */
155
132
  export interface FunctionState {
156
133
  /**
157
- * The CPU limit in mCPU for your function. More infos on resources [here](https://www.scaleway.com/en/developers/api/serverless-functions/#functions)
134
+ * The CPU limit in mVCPU for your function.
158
135
  */
159
136
  cpuLimit?: pulumi.Input<number>;
160
137
  deploy?: pulumi.Input<boolean>;
@@ -163,17 +140,17 @@ export interface FunctionState {
163
140
  */
164
141
  description?: pulumi.Input<string>;
165
142
  /**
166
- * The native domain name of the function
143
+ * The native domain name of the function.
167
144
  */
168
145
  domainName?: pulumi.Input<string>;
169
146
  /**
170
- * The environment variables of the function.
147
+ * The [environment variables](https://www.scaleway.com/en/docs/compute/functions/concepts/#environment-variables) of the function.
171
148
  */
172
149
  environmentVariables?: pulumi.Input<{
173
150
  [key: string]: pulumi.Input<string>;
174
151
  }>;
175
152
  /**
176
- * Handler of the function. Depends on the runtime ([function guide](https://www.scaleway.com/en/developers/api/serverless-functions/#create-a-function))
153
+ * Handler of the function, depends on the runtime. Refer to the [dedicated documentation](https://www.scaleway.com/en/developers/api/serverless-functions/#path-functions-create-a-new-function) for the list of supported runtimes.
177
154
  */
178
155
  handler?: pulumi.Input<string>;
179
156
  /**
@@ -181,25 +158,25 @@ export interface FunctionState {
181
158
  */
182
159
  httpOption?: pulumi.Input<string>;
183
160
  /**
184
- * Maximum replicas for your function (defaults to 20), our system will scale your functions automatically based on incoming workload, but will never scale the number of replicas above the configured max_scale.
161
+ * The maximum number of instances this function can scale to. Default to 20. Your function will scale automatically based on the incoming workload, but will never exceed the configured `maxScale` value.
185
162
  */
186
163
  maxScale?: pulumi.Input<number>;
187
164
  /**
188
- * Memory limit in MB for your function, defaults to 128MB
165
+ * The memory resources in MB to allocate to each function. Defaults to 256 MB.
189
166
  */
190
167
  memoryLimit?: pulumi.Input<number>;
191
168
  /**
192
- * Minimum replicas for your function, defaults to 0, Note that a function is billed when it gets executed, and using a minScale greater than 0 will cause your function container to run constantly.
169
+ * The minimum number of function instances running continuously. Defaults to 0. Functions are billed when executed, and using a `minScale` greater than 0 will cause your function to run constantly.
193
170
  */
194
171
  minScale?: pulumi.Input<number>;
195
172
  /**
196
- * The unique name of the function.
197
- *
198
- * > **Important** Updates to `name` will recreate the function.
173
+ * The unique name of the function name.
199
174
  */
200
175
  name?: pulumi.Input<string>;
201
176
  /**
202
- * The function namespace ID of the function.
177
+ * The Functions namespace ID of the function.
178
+ *
179
+ * > **Important** Updating the `name` argument will recreate the function.
203
180
  */
204
181
  namespaceId?: pulumi.Input<string>;
205
182
  /**
@@ -207,11 +184,11 @@ export interface FunctionState {
207
184
  */
208
185
  organizationId?: pulumi.Input<string>;
209
186
  /**
210
- * Privacy of the function. Can be either `private` or `public`. Read more on [authentication](https://www.scaleway.com/en/developers/api/serverless-functions/#authentication)
187
+ * The privacy type defines the way to authenticate to your function. Please check our dedicated [section](https://www.scaleway.com/en/developers/api/serverless-functions/#protocol-9dd4c8).
211
188
  */
212
189
  privacy?: pulumi.Input<string>;
213
190
  /**
214
- * `projectId`) The ID of the project the namespace is associated with.
191
+ * `projectId`) The ID of the project the functions namespace is associated with.
215
192
  */
216
193
  projectId?: pulumi.Input<string>;
217
194
  /**
@@ -219,7 +196,7 @@ export interface FunctionState {
219
196
  */
220
197
  region?: pulumi.Input<string>;
221
198
  /**
222
- * Runtime of the function. Runtimes can be fetched using [specific route](https://www.scaleway.com/en/developers/api/serverless-functions/#get-f7de6a
199
+ * Runtime of the function. Runtimes can be fetched using [specific route](https://www.scaleway.com/en/developers/api/serverless-functions/#path-functions-get-a-function)
223
200
  */
224
201
  runtime?: pulumi.Input<string>;
225
202
  /**
@@ -227,17 +204,17 @@ export interface FunctionState {
227
204
  */
228
205
  sandbox?: pulumi.Input<string>;
229
206
  /**
230
- * The [secret environment](https://www.scaleway.com/en/docs/compute/functions/concepts/#secrets) variables of the function.
207
+ * The [secret environment variables](https://www.scaleway.com/en/docs/compute/functions/concepts/#secrets) of the function.
231
208
  */
232
209
  secretEnvironmentVariables?: pulumi.Input<{
233
210
  [key: string]: pulumi.Input<string>;
234
211
  }>;
235
212
  /**
236
- * Holds the max duration (in seconds) the function is allowed for responding to a request
213
+ * The maximum amount of time your function can spend processing a request before being stopped. Defaults to 300s.
237
214
  */
238
215
  timeout?: pulumi.Input<number>;
239
216
  /**
240
- * Location of the zip file to upload containing your function sources
217
+ * Path to the zip file containing your function sources to upload.
241
218
  */
242
219
  zipFile?: pulumi.Input<string>;
243
220
  /**
@@ -255,13 +232,13 @@ export interface FunctionArgs {
255
232
  */
256
233
  description?: pulumi.Input<string>;
257
234
  /**
258
- * The environment variables of the function.
235
+ * The [environment variables](https://www.scaleway.com/en/docs/compute/functions/concepts/#environment-variables) of the function.
259
236
  */
260
237
  environmentVariables?: pulumi.Input<{
261
238
  [key: string]: pulumi.Input<string>;
262
239
  }>;
263
240
  /**
264
- * Handler of the function. Depends on the runtime ([function guide](https://www.scaleway.com/en/developers/api/serverless-functions/#create-a-function))
241
+ * Handler of the function, depends on the runtime. Refer to the [dedicated documentation](https://www.scaleway.com/en/developers/api/serverless-functions/#path-functions-create-a-new-function) for the list of supported runtimes.
265
242
  */
266
243
  handler: pulumi.Input<string>;
267
244
  /**
@@ -269,33 +246,33 @@ export interface FunctionArgs {
269
246
  */
270
247
  httpOption?: pulumi.Input<string>;
271
248
  /**
272
- * Maximum replicas for your function (defaults to 20), our system will scale your functions automatically based on incoming workload, but will never scale the number of replicas above the configured max_scale.
249
+ * The maximum number of instances this function can scale to. Default to 20. Your function will scale automatically based on the incoming workload, but will never exceed the configured `maxScale` value.
273
250
  */
274
251
  maxScale?: pulumi.Input<number>;
275
252
  /**
276
- * Memory limit in MB for your function, defaults to 128MB
253
+ * The memory resources in MB to allocate to each function. Defaults to 256 MB.
277
254
  */
278
255
  memoryLimit?: pulumi.Input<number>;
279
256
  /**
280
- * Minimum replicas for your function, defaults to 0, Note that a function is billed when it gets executed, and using a minScale greater than 0 will cause your function container to run constantly.
257
+ * The minimum number of function instances running continuously. Defaults to 0. Functions are billed when executed, and using a `minScale` greater than 0 will cause your function to run constantly.
281
258
  */
282
259
  minScale?: pulumi.Input<number>;
283
260
  /**
284
- * The unique name of the function.
285
- *
286
- * > **Important** Updates to `name` will recreate the function.
261
+ * The unique name of the function name.
287
262
  */
288
263
  name?: pulumi.Input<string>;
289
264
  /**
290
- * The function namespace ID of the function.
265
+ * The Functions namespace ID of the function.
266
+ *
267
+ * > **Important** Updating the `name` argument will recreate the function.
291
268
  */
292
269
  namespaceId: pulumi.Input<string>;
293
270
  /**
294
- * Privacy of the function. Can be either `private` or `public`. Read more on [authentication](https://www.scaleway.com/en/developers/api/serverless-functions/#authentication)
271
+ * The privacy type defines the way to authenticate to your function. Please check our dedicated [section](https://www.scaleway.com/en/developers/api/serverless-functions/#protocol-9dd4c8).
295
272
  */
296
273
  privacy: pulumi.Input<string>;
297
274
  /**
298
- * `projectId`) The ID of the project the namespace is associated with.
275
+ * `projectId`) The ID of the project the functions namespace is associated with.
299
276
  */
300
277
  projectId?: pulumi.Input<string>;
301
278
  /**
@@ -303,7 +280,7 @@ export interface FunctionArgs {
303
280
  */
304
281
  region?: pulumi.Input<string>;
305
282
  /**
306
- * Runtime of the function. Runtimes can be fetched using [specific route](https://www.scaleway.com/en/developers/api/serverless-functions/#get-f7de6a
283
+ * Runtime of the function. Runtimes can be fetched using [specific route](https://www.scaleway.com/en/developers/api/serverless-functions/#path-functions-get-a-function)
307
284
  */
308
285
  runtime: pulumi.Input<string>;
309
286
  /**
@@ -311,17 +288,17 @@ export interface FunctionArgs {
311
288
  */
312
289
  sandbox?: pulumi.Input<string>;
313
290
  /**
314
- * The [secret environment](https://www.scaleway.com/en/docs/compute/functions/concepts/#secrets) variables of the function.
291
+ * The [secret environment variables](https://www.scaleway.com/en/docs/compute/functions/concepts/#secrets) of the function.
315
292
  */
316
293
  secretEnvironmentVariables?: pulumi.Input<{
317
294
  [key: string]: pulumi.Input<string>;
318
295
  }>;
319
296
  /**
320
- * Holds the max duration (in seconds) the function is allowed for responding to a request
297
+ * The maximum amount of time your function can spend processing a request before being stopped. Defaults to 300s.
321
298
  */
322
299
  timeout?: pulumi.Input<number>;
323
300
  /**
324
- * Location of the zip file to upload containing your function sources
301
+ * Path to the zip file containing your function sources to upload.
325
302
  */
326
303
  zipFile?: pulumi.Input<string>;
327
304
  /**
package/function.js CHANGED
@@ -6,32 +6,9 @@ exports.Function = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
8
  /**
9
- * Creates and manages Scaleway Functions.
10
- * For more information see [the documentation](https://www.scaleway.com/en/developers/api/serverless-functions).
11
- *
12
- * ## Example Usage
13
- *
14
- * ### Basic
15
- *
16
- * ```typescript
17
- * import * as pulumi from "@pulumi/pulumi";
18
- * import * as scaleway from "@pulumiverse/scaleway";
19
- *
20
- * const main = new scaleway.FunctionNamespace("main", {
21
- * name: "main-function-namespace",
22
- * description: "Main function namespace",
23
- * });
24
- * const mainFunction = new scaleway.Function("main", {
25
- * namespaceId: main.id,
26
- * runtime: "go118",
27
- * handler: "Handle",
28
- * privacy: "private",
29
- * });
30
- * ```
31
- *
32
9
  * ## Import
33
10
  *
34
- * Functions can be imported using the `{region}/{id}`, e.g.
11
+ * Functions can be imported using, `{region}/{id}`, as shown below:
35
12
  *
36
13
  * bash
37
14
  *
package/function.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"function.js","sourceRoot":"","sources":["../function.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH,MAAa,QAAS,SAAQ,MAAM,CAAC,cAAc;IAC/C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAqB,EAAE,IAAmC;QACnH,OAAO,IAAI,QAAQ,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC/D,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,QAAQ,CAAC,YAAY,CAAC;IACzD,CAAC;IAkGD,YAAY,IAAY,EAAE,WAA0C,EAAE,IAAmC;QACrG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAwC,CAAC;YACvD,cAAc,CAAC,UAAU,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,QAAQ,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YA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