@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
@@ -1,20 +1,13 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
2
  /**
3
- * Creates and manages Scaleway Container Triggers. For the moment, the feature is limited to CRON Schedule (time-based).
3
+ * The `scaleway.ContainerCron` resource allows you to create and manage CRON triggers for Scaleway [Serverless Containers](https://www.scaleway.com/en/docs/serverless/containers/).
4
4
  *
5
- * For more information consult
6
- * the [documentation](https://www.scaleway.com/en/docs/serverless/containers/)
7
- * .
8
- *
9
- * For more details about the limitation
10
- * check [containers-limitations](https://www.scaleway.com/en/docs/compute/containers/reference-content/containers-limitations/)
11
- * .
12
- *
13
- * You can check also
14
- * our [containers cron api documentation](https://www.scaleway.com/en/developers/api/serverless-containers/#crons-942bf4).
5
+ * Refer to the Containers CRON 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.
15
6
  *
16
7
  * ## Example Usage
17
8
  *
9
+ * The following command allows you to add a CRON trigger to a Serverless Container.
10
+ *
18
11
  * ```typescript
19
12
  * import * as pulumi from "@pulumi/pulumi";
20
13
  * import * as scaleway from "@pulumiverse/scaleway";
@@ -43,7 +36,7 @@ import * as pulumi from "@pulumi/pulumi";
43
36
  *
44
37
  * ## Import
45
38
  *
46
- * Container Cron can be imported using the `{region}/{id}`, e.g.
39
+ * Container Cron can be imported using `{region}/{id}`, as shown below:
47
40
  *
48
41
  * bash
49
42
  *
@@ -69,30 +62,27 @@ export declare class ContainerCron extends pulumi.CustomResource {
69
62
  static isInstance(obj: any): obj is ContainerCron;
70
63
  /**
71
64
  * The key-value mapping to define arguments that will be passed to your container’s event object
72
- * during
73
65
  */
74
66
  readonly args: pulumi.Output<string>;
75
67
  /**
76
- * The container ID to link with your cron.
68
+ * The unique identifier of the container to link to your CRON trigger.
77
69
  */
78
70
  readonly containerId: pulumi.Output<string>;
79
71
  /**
80
- * The name of the container cron. If not provided, the name is generated.
81
- * during
72
+ * The name of the container CRON trigger. If not provided, a random name is generated.
82
73
  */
83
74
  readonly name: pulumi.Output<string>;
84
75
  /**
85
76
  * (Defaults to provider `region`) The region
86
- * in where the job was created.
77
+ * in which the CRON trigger is created.
87
78
  */
88
79
  readonly region: pulumi.Output<string>;
89
80
  /**
90
- * Cron format string, e.g. @hourly, as schedule time of its jobs to be created and
91
- * executed.
81
+ * CRON format string (refer to the [CRON schedule reference](https://www.scaleway.com/en/docs/serverless/containers/reference-content/cron-schedules/) for more information).
92
82
  */
93
83
  readonly schedule: pulumi.Output<string>;
94
84
  /**
95
- * The cron status.
85
+ * The CRON status.
96
86
  */
97
87
  readonly status: pulumi.Output<string>;
98
88
  /**
@@ -110,30 +100,27 @@ export declare class ContainerCron extends pulumi.CustomResource {
110
100
  export interface ContainerCronState {
111
101
  /**
112
102
  * The key-value mapping to define arguments that will be passed to your container’s event object
113
- * during
114
103
  */
115
104
  args?: pulumi.Input<string>;
116
105
  /**
117
- * The container ID to link with your cron.
106
+ * The unique identifier of the container to link to your CRON trigger.
118
107
  */
119
108
  containerId?: pulumi.Input<string>;
120
109
  /**
121
- * The name of the container cron. If not provided, the name is generated.
122
- * during
110
+ * The name of the container CRON trigger. If not provided, a random name is generated.
123
111
  */
124
112
  name?: pulumi.Input<string>;
125
113
  /**
126
114
  * (Defaults to provider `region`) The region
127
- * in where the job was created.
115
+ * in which the CRON trigger is created.
128
116
  */
129
117
  region?: pulumi.Input<string>;
130
118
  /**
131
- * Cron format string, e.g. @hourly, as schedule time of its jobs to be created and
132
- * executed.
119
+ * CRON format string (refer to the [CRON schedule reference](https://www.scaleway.com/en/docs/serverless/containers/reference-content/cron-schedules/) for more information).
133
120
  */
134
121
  schedule?: pulumi.Input<string>;
135
122
  /**
136
- * The cron status.
123
+ * The CRON status.
137
124
  */
138
125
  status?: pulumi.Input<string>;
139
126
  }
@@ -143,26 +130,23 @@ export interface ContainerCronState {
143
130
  export interface ContainerCronArgs {
144
131
  /**
145
132
  * The key-value mapping to define arguments that will be passed to your container’s event object
146
- * during
147
133
  */
148
134
  args: pulumi.Input<string>;
149
135
  /**
150
- * The container ID to link with your cron.
136
+ * The unique identifier of the container to link to your CRON trigger.
151
137
  */
152
138
  containerId: pulumi.Input<string>;
153
139
  /**
154
- * The name of the container cron. If not provided, the name is generated.
155
- * during
140
+ * The name of the container CRON trigger. If not provided, a random name is generated.
156
141
  */
157
142
  name?: pulumi.Input<string>;
158
143
  /**
159
144
  * (Defaults to provider `region`) The region
160
- * in where the job was created.
145
+ * in which the CRON trigger is created.
161
146
  */
162
147
  region?: pulumi.Input<string>;
163
148
  /**
164
- * Cron format string, e.g. @hourly, as schedule time of its jobs to be created and
165
- * executed.
149
+ * CRON format string (refer to the [CRON schedule reference](https://www.scaleway.com/en/docs/serverless/containers/reference-content/cron-schedules/) for more information).
166
150
  */
167
151
  schedule: pulumi.Input<string>;
168
152
  }
package/containerCron.js CHANGED
@@ -6,21 +6,14 @@ exports.ContainerCron = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
8
  /**
9
- * Creates and manages Scaleway Container Triggers. For the moment, the feature is limited to CRON Schedule (time-based).
9
+ * The `scaleway.ContainerCron` resource allows you to create and manage CRON triggers for Scaleway [Serverless Containers](https://www.scaleway.com/en/docs/serverless/containers/).
10
10
  *
11
- * For more information consult
12
- * the [documentation](https://www.scaleway.com/en/docs/serverless/containers/)
13
- * .
14
- *
15
- * For more details about the limitation
16
- * check [containers-limitations](https://www.scaleway.com/en/docs/compute/containers/reference-content/containers-limitations/)
17
- * .
18
- *
19
- * You can check also
20
- * our [containers cron api documentation](https://www.scaleway.com/en/developers/api/serverless-containers/#crons-942bf4).
11
+ * Refer to the Containers CRON 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.
21
12
  *
22
13
  * ## Example Usage
23
14
  *
15
+ * The following command allows you to add a CRON trigger to a Serverless Container.
16
+ *
24
17
  * ```typescript
25
18
  * import * as pulumi from "@pulumi/pulumi";
26
19
  * import * as scaleway from "@pulumiverse/scaleway";
@@ -49,7 +42,7 @@ const utilities = require("./utilities");
49
42
  *
50
43
  * ## Import
51
44
  *
52
- * Container Cron can be imported using the `{region}/{id}`, e.g.
45
+ * Container Cron can be imported using `{region}/{id}`, as shown below:
53
46
  *
54
47
  * bash
55
48
  *
@@ -1 +1 @@
1
- {"version":3,"file":"containerCron.js","sourceRoot":"","sources":["../containerCron.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmDG;AACH,MAAa,aAAc,SAAQ,MAAM,CAAC,cAAc;IACpD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA0B,EAAE,IAAmC;QACxH,OAAO,IAAI,aAAa,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACpE,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,CA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AC9D,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAChD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,aAAa,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAClE,CAAC;;AA7FL,sCA8FC;AAhFG,gBAAgB;AACO,0BAAY,GAAG,4CAA4C,CAAC"}
@@ -1,10 +1,13 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
2
  /**
3
- * Creates and manages Scaleway Container domain name bindings.
4
- * You can check our [containers guide](https://www.scaleway.com/en/docs/compute/containers/how-to/add-a-custom-domain-to-a-container/) for further information.
3
+ * The `scaleway.ContainerDomain` resource allows you to create and manage domain name bindings for Scaleway [Serverless Containers](https://www.scaleway.com/en/docs/serverless/containers/).
4
+ *
5
+ * Refer to the Containers domain [documentation](https://www.scaleway.com/en/docs/compute/containers/how-to/add-a-custom-domain-to-a-container/) and the [API documentation](https://www.scaleway.com/en/developers/api/serverless-containers/#path-domains-list-all-domain-name-bindings) for more information.
5
6
  *
6
7
  * ## Example Usage
7
8
  *
9
+ * The commands below shows how to bind a custom domain name to a container.
10
+ *
8
11
  * ### Simple
9
12
  *
10
13
  * ```typescript
@@ -58,7 +61,7 @@ import * as pulumi from "@pulumi/pulumi";
58
61
  *
59
62
  * ## Import
60
63
  *
61
- * Container domain binding can be imported using the `{region}/{id}`, e.g.
64
+ * Container domain binding can be imported using `{region}/{id}`, as shown below:
62
65
  *
63
66
  * bash
64
67
  *
@@ -83,7 +86,7 @@ export declare class ContainerDomain extends pulumi.CustomResource {
83
86
  */
84
87
  static isInstance(obj: any): obj is ContainerDomain;
85
88
  /**
86
- * The ID of the container.
89
+ * The unique identifier of the container.
87
90
  */
88
91
  readonly containerId: pulumi.Output<string>;
89
92
  /**
@@ -91,11 +94,11 @@ export declare class ContainerDomain extends pulumi.CustomResource {
91
94
  */
92
95
  readonly hostname: pulumi.Output<string>;
93
96
  /**
94
- * `region`) The region in which the container exists
97
+ * `region`) The region in which the container exists.
95
98
  */
96
99
  readonly region: pulumi.Output<string>;
97
100
  /**
98
- * The URL used to query the container
101
+ * The URL used to query the container.
99
102
  */
100
103
  readonly url: pulumi.Output<string>;
101
104
  /**
@@ -112,7 +115,7 @@ export declare class ContainerDomain extends pulumi.CustomResource {
112
115
  */
113
116
  export interface ContainerDomainState {
114
117
  /**
115
- * The ID of the container.
118
+ * The unique identifier of the container.
116
119
  */
117
120
  containerId?: pulumi.Input<string>;
118
121
  /**
@@ -120,11 +123,11 @@ export interface ContainerDomainState {
120
123
  */
121
124
  hostname?: pulumi.Input<string>;
122
125
  /**
123
- * `region`) The region in which the container exists
126
+ * `region`) The region in which the container exists.
124
127
  */
125
128
  region?: pulumi.Input<string>;
126
129
  /**
127
- * The URL used to query the container
130
+ * The URL used to query the container.
128
131
  */
129
132
  url?: pulumi.Input<string>;
130
133
  }
@@ -133,7 +136,7 @@ export interface ContainerDomainState {
133
136
  */
134
137
  export interface ContainerDomainArgs {
135
138
  /**
136
- * The ID of the container.
139
+ * The unique identifier of the container.
137
140
  */
138
141
  containerId: pulumi.Input<string>;
139
142
  /**
@@ -141,7 +144,7 @@ export interface ContainerDomainArgs {
141
144
  */
142
145
  hostname: pulumi.Input<string>;
143
146
  /**
144
- * `region`) The region in which the container exists
147
+ * `region`) The region in which the container exists.
145
148
  */
146
149
  region?: pulumi.Input<string>;
147
150
  }
@@ -6,11 +6,14 @@ exports.ContainerDomain = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
8
  /**
9
- * Creates and manages Scaleway Container domain name bindings.
10
- * You can check our [containers guide](https://www.scaleway.com/en/docs/compute/containers/how-to/add-a-custom-domain-to-a-container/) for further information.
9
+ * The `scaleway.ContainerDomain` resource allows you to create and manage domain name bindings for Scaleway [Serverless Containers](https://www.scaleway.com/en/docs/serverless/containers/).
10
+ *
11
+ * Refer to the Containers domain [documentation](https://www.scaleway.com/en/docs/compute/containers/how-to/add-a-custom-domain-to-a-container/) and the [API documentation](https://www.scaleway.com/en/developers/api/serverless-containers/#path-domains-list-all-domain-name-bindings) for more information.
11
12
  *
12
13
  * ## Example Usage
13
14
  *
15
+ * The commands below shows how to bind a custom domain name to a container.
16
+ *
14
17
  * ### Simple
15
18
  *
16
19
  * ```typescript
@@ -64,7 +67,7 @@ const utilities = require("./utilities");
64
67
  *
65
68
  * ## Import
66
69
  *
67
- * Container domain binding can be imported using the `{region}/{id}`, e.g.
70
+ * Container domain binding can be imported using `{region}/{id}`, as shown below:
68
71
  *
69
72
  * bash
70
73
  *
@@ -1 +1 @@
1
- {"version":3,"file":"containerDomain.js","sourceRoot":"","sources":["../containerDomain.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkEG;AACH,MAAa,eAAgB,SAAQ,MAAM,CAAC,cAAc;IACtD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA4B,EAAE,IAAmC;QAC1H,OAAO,IAAI,eAAe,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACtE,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,eAAe,CAAC,YAAY,CAAC;IAChE,CAAC;IA2BD,YAAY,IAAY,EAAE,WAAwD,EAAE,IAAmC;QACnH,IAAI,cAAc,GAAkB,EAAE,CA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7C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,eAAe,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACpE,CAAC;;AA7EL,0CA8EC;AAhEG,gBAAgB;AACO,4BAAY,GAAG,gDAAgD,CAAC"}
@@ -1,11 +1,11 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
2
  /**
3
- * Creates and manages Scaleway Serverless Container Namespace.
4
- * For more information see [the documentation](https://www.scaleway.com/en/developers/api/serverless-containers/#namespaces-cdce79).
3
+ * The `scaleway.ContainerNamespace` resource allows you to
4
+ * for Scaleway [Serverless Containers](https://www.scaleway.com/en/docs/serverless/containers/).
5
5
  *
6
- * ## Example Usage
6
+ * Refer to the Containers namespace [documentation](https://www.scaleway.com/en/docs/serverless/containers/how-to/create-a-containers-namespace/) and [API documentation](https://www.scaleway.com/en/developers/api/serverless-containers/#path-namespaces-list-all-your-namespaces) for more information.
7
7
  *
8
- * ### Basic
8
+ * ## Example Usage
9
9
  *
10
10
  * ```typescript
11
11
  * import * as pulumi from "@pulumi/pulumi";
@@ -19,7 +19,7 @@ import * as pulumi from "@pulumi/pulumi";
19
19
  *
20
20
  * ## Import
21
21
  *
22
- * Namespaces can be imported using the `{region}/{id}`, e.g.
22
+ * Containers namespaces can be imported using `{region}/{id}`, as shown below:
23
23
  *
24
24
  * bash
25
25
  *
@@ -60,21 +60,21 @@ export declare class ContainerNamespace extends pulumi.CustomResource {
60
60
  [key: string]: string;
61
61
  } | undefined>;
62
62
  /**
63
- * The unique name of the container namespace.
63
+ * The unique name of the Containers namespace.
64
64
  *
65
- * > **Important** Updates to `name` will recreate the namespace.
65
+ * > **Important** Updates to the `name` argument will recreate the namespace.
66
66
  */
67
67
  readonly name: pulumi.Output<string>;
68
68
  /**
69
- * The organization ID the namespace is associated with.
69
+ * The Organization ID with which the namespace is associated.
70
70
  */
71
71
  readonly organizationId: pulumi.Output<string>;
72
72
  /**
73
- * `projectId`) The ID of the project the namespace is associated with.
73
+ * `projectId`) The unique identifier of the project that contains the namespace.
74
74
  */
75
75
  readonly projectId: pulumi.Output<string>;
76
76
  /**
77
- * `region`). The region in which the namespace should be created.
77
+ * `region`). The region in which the namespace is created.
78
78
  */
79
79
  readonly region: pulumi.Output<string>;
80
80
  /**
@@ -121,21 +121,21 @@ export interface ContainerNamespaceState {
121
121
  [key: string]: pulumi.Input<string>;
122
122
  }>;
123
123
  /**
124
- * The unique name of the container namespace.
124
+ * The unique name of the Containers namespace.
125
125
  *
126
- * > **Important** Updates to `name` will recreate the namespace.
126
+ * > **Important** Updates to the `name` argument will recreate the namespace.
127
127
  */
128
128
  name?: pulumi.Input<string>;
129
129
  /**
130
- * The organization ID the namespace is associated with.
130
+ * The Organization ID with which the namespace is associated.
131
131
  */
132
132
  organizationId?: pulumi.Input<string>;
133
133
  /**
134
- * `projectId`) The ID of the project the namespace is associated with.
134
+ * `projectId`) The unique identifier of the project that contains the namespace.
135
135
  */
136
136
  projectId?: pulumi.Input<string>;
137
137
  /**
138
- * `region`). The region in which the namespace should be created.
138
+ * `region`). The region in which the namespace is created.
139
139
  */
140
140
  region?: pulumi.Input<string>;
141
141
  /**
@@ -174,17 +174,17 @@ export interface ContainerNamespaceArgs {
174
174
  [key: string]: pulumi.Input<string>;
175
175
  }>;
176
176
  /**
177
- * The unique name of the container namespace.
177
+ * The unique name of the Containers namespace.
178
178
  *
179
- * > **Important** Updates to `name` will recreate the namespace.
179
+ * > **Important** Updates to the `name` argument will recreate the namespace.
180
180
  */
181
181
  name?: pulumi.Input<string>;
182
182
  /**
183
- * `projectId`) The ID of the project the namespace is associated with.
183
+ * `projectId`) The unique identifier of the project that contains the namespace.
184
184
  */
185
185
  projectId?: pulumi.Input<string>;
186
186
  /**
187
- * `region`). The region in which the namespace should be created.
187
+ * `region`). The region in which the namespace is created.
188
188
  */
189
189
  region?: pulumi.Input<string>;
190
190
  /**
@@ -6,12 +6,12 @@ exports.ContainerNamespace = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
8
  /**
9
- * Creates and manages Scaleway Serverless Container Namespace.
10
- * For more information see [the documentation](https://www.scaleway.com/en/developers/api/serverless-containers/#namespaces-cdce79).
9
+ * The `scaleway.ContainerNamespace` resource allows you to
10
+ * for Scaleway [Serverless Containers](https://www.scaleway.com/en/docs/serverless/containers/).
11
11
  *
12
- * ## Example Usage
12
+ * Refer to the Containers namespace [documentation](https://www.scaleway.com/en/docs/serverless/containers/how-to/create-a-containers-namespace/) and [API documentation](https://www.scaleway.com/en/developers/api/serverless-containers/#path-namespaces-list-all-your-namespaces) for more information.
13
13
  *
14
- * ### Basic
14
+ * ## Example Usage
15
15
  *
16
16
  * ```typescript
17
17
  * import * as pulumi from "@pulumi/pulumi";
@@ -25,7 +25,7 @@ const utilities = require("./utilities");
25
25
  *
26
26
  * ## Import
27
27
  *
28
- * Namespaces can be imported using the `{region}/{id}`, e.g.
28
+ * Containers namespaces can be imported using `{region}/{id}`, as shown below:
29
29
  *
30
30
  * bash
31
31
  *
@@ -1,11 +1,10 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
2
  /**
3
- * Creates and manages Scaleway Container Token.
4
- * For more information see [the documentation](https://www.scaleway.com/en/developers/api/serverless-containers/#tokens-26b085).
3
+ * The `scaleway.ContainerToken` resource allows you to create and manage authentication tokens for Scaleway [Serverless Containers](https://www.scaleway.com/en/docs/serverless/containers/).
5
4
  *
6
- * ## Example Usage
5
+ * Refer to the Containers tokens [documentation](https://www.scaleway.com/en/docs/serverless/containers/how-to/create-auth-token-from-console/) and [API documentation](https://www.scaleway.com/en/developers/api/serverless-containers/#path-tokens-list-all-tokens) for more information.
7
6
  *
8
- * ### Basic
7
+ * ## Example Usage
9
8
  *
10
9
  * ```typescript
11
10
  * import * as pulumi from "@pulumi/pulumi";
@@ -24,7 +23,7 @@ import * as pulumi from "@pulumi/pulumi";
24
23
  *
25
24
  * ## Import
26
25
  *
27
- * Tokens can be imported using the `{region}/{id}`, e.g.
26
+ * Tokens can be imported using `{region}/{id}`, as shown below:
28
27
  *
29
28
  * bash
30
29
  *
@@ -49,7 +48,7 @@ export declare class ContainerToken extends pulumi.CustomResource {
49
48
  */
50
49
  static isInstance(obj: any): obj is ContainerToken;
51
50
  /**
52
- * The ID of the container.
51
+ * The unique identifier of the container.
53
52
  *
54
53
  * > Only one of `namespaceId` or `containerId` must be set.
55
54
  */
@@ -63,13 +62,13 @@ export declare class ContainerToken extends pulumi.CustomResource {
63
62
  */
64
63
  readonly expiresAt: pulumi.Output<string | undefined>;
65
64
  /**
66
- * The ID of the container namespace.
65
+ * The unique identifier of the Containers namespace.
67
66
  */
68
67
  readonly namespaceId: pulumi.Output<string | undefined>;
69
68
  /**
70
- * `region`). The region in which the namespace should be created.
69
+ * `region`). The region in which the namespace is created.
71
70
  *
72
- * > **Important** Updates to any fields will recreate the token.
71
+ * > **Important** Updating any of the arguments above will recreate the token.
73
72
  */
74
73
  readonly region: pulumi.Output<string>;
75
74
  /**
@@ -90,7 +89,7 @@ export declare class ContainerToken extends pulumi.CustomResource {
90
89
  */
91
90
  export interface ContainerTokenState {
92
91
  /**
93
- * The ID of the container.
92
+ * The unique identifier of the container.
94
93
  *
95
94
  * > Only one of `namespaceId` or `containerId` must be set.
96
95
  */
@@ -104,13 +103,13 @@ export interface ContainerTokenState {
104
103
  */
105
104
  expiresAt?: pulumi.Input<string>;
106
105
  /**
107
- * The ID of the container namespace.
106
+ * The unique identifier of the Containers namespace.
108
107
  */
109
108
  namespaceId?: pulumi.Input<string>;
110
109
  /**
111
- * `region`). The region in which the namespace should be created.
110
+ * `region`). The region in which the namespace is created.
112
111
  *
113
- * > **Important** Updates to any fields will recreate the token.
112
+ * > **Important** Updating any of the arguments above will recreate the token.
114
113
  */
115
114
  region?: pulumi.Input<string>;
116
115
  /**
@@ -123,7 +122,7 @@ export interface ContainerTokenState {
123
122
  */
124
123
  export interface ContainerTokenArgs {
125
124
  /**
126
- * The ID of the container.
125
+ * The unique identifier of the container.
127
126
  *
128
127
  * > Only one of `namespaceId` or `containerId` must be set.
129
128
  */
@@ -137,13 +136,13 @@ export interface ContainerTokenArgs {
137
136
  */
138
137
  expiresAt?: pulumi.Input<string>;
139
138
  /**
140
- * The ID of the container namespace.
139
+ * The unique identifier of the Containers namespace.
141
140
  */
142
141
  namespaceId?: pulumi.Input<string>;
143
142
  /**
144
- * `region`). The region in which the namespace should be created.
143
+ * `region`). The region in which the namespace is created.
145
144
  *
146
- * > **Important** Updates to any fields will recreate the token.
145
+ * > **Important** Updating any of the arguments above will recreate the token.
147
146
  */
148
147
  region?: pulumi.Input<string>;
149
148
  }
package/containerToken.js CHANGED
@@ -6,12 +6,11 @@ exports.ContainerToken = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
8
  /**
9
- * Creates and manages Scaleway Container Token.
10
- * For more information see [the documentation](https://www.scaleway.com/en/developers/api/serverless-containers/#tokens-26b085).
9
+ * The `scaleway.ContainerToken` resource allows you to create and manage authentication tokens for Scaleway [Serverless Containers](https://www.scaleway.com/en/docs/serverless/containers/).
11
10
  *
12
- * ## Example Usage
11
+ * Refer to the Containers tokens [documentation](https://www.scaleway.com/en/docs/serverless/containers/how-to/create-auth-token-from-console/) and [API documentation](https://www.scaleway.com/en/developers/api/serverless-containers/#path-tokens-list-all-tokens) for more information.
13
12
  *
14
- * ### Basic
13
+ * ## Example Usage
15
14
  *
16
15
  * ```typescript
17
16
  * import * as pulumi from "@pulumi/pulumi";
@@ -30,7 +29,7 @@ const utilities = require("./utilities");
30
29
  *
31
30
  * ## Import
32
31
  *
33
- * Tokens can be imported using the `{region}/{id}`, e.g.
32
+ * Tokens can be imported using `{region}/{id}`, as shown below:
34
33
  *
35
34
  * bash
36
35
  *
@@ -1 +1 @@
1
- {"version":3,"file":"containerToken.js","sourceRoot":"","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