@pulumiverse/scaleway 1.40.0 → 1.41.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 (98) hide show
  1. package/appleSiliconServer.d.ts +3 -2
  2. package/appleSiliconServer.js +3 -2
  3. package/appleSiliconServer.js.map +1 -1
  4. package/applesilicon/server.d.ts +3 -2
  5. package/applesilicon/server.js +3 -2
  6. package/applesilicon/server.js.map +1 -1
  7. package/audittrail/getEvent.d.ts +106 -32
  8. package/audittrail/getEvent.js +106 -32
  9. package/audittrail/getEvent.js.map +1 -1
  10. package/cockpitAlertManager.d.ts +64 -13
  11. package/cockpitAlertManager.js +41 -6
  12. package/cockpitAlertManager.js.map +1 -1
  13. package/container.d.ts +36 -0
  14. package/container.js +36 -0
  15. package/container.js.map +1 -1
  16. package/containerToken.d.ts +3 -0
  17. package/containerToken.js +3 -0
  18. package/containerToken.js.map +1 -1
  19. package/containers/container.d.ts +36 -0
  20. package/containers/container.js +36 -0
  21. package/containers/container.js.map +1 -1
  22. package/containers/token.d.ts +3 -0
  23. package/containers/token.js +3 -0
  24. package/containers/token.js.map +1 -1
  25. package/databaseInstance.d.ts +2 -0
  26. package/databaseInstance.js +2 -0
  27. package/databaseInstance.js.map +1 -1
  28. package/databases/instance.d.ts +2 -0
  29. package/databases/instance.js +2 -0
  30. package/databases/instance.js.map +1 -1
  31. package/functionToken.d.ts +3 -0
  32. package/functionToken.js +3 -0
  33. package/functionToken.js.map +1 -1
  34. package/functions/token.d.ts +3 -0
  35. package/functions/token.js +3 -0
  36. package/functions/token.js.map +1 -1
  37. package/getK8sVersion.d.ts +10 -12
  38. package/getK8sVersion.js +10 -12
  39. package/getK8sVersion.js.map +1 -1
  40. package/getKubernetesCluster.d.ts +50 -2
  41. package/getKubernetesCluster.js +50 -2
  42. package/getKubernetesCluster.js.map +1 -1
  43. package/getKubernetesNodePool.d.ts +52 -2
  44. package/getKubernetesNodePool.js +52 -2
  45. package/getKubernetesNodePool.js.map +1 -1
  46. package/getSecretVersion.d.ts +2 -0
  47. package/getSecretVersion.js.map +1 -1
  48. package/instance/server.d.ts +1 -1
  49. package/instanceServer.d.ts +1 -1
  50. package/job/definition.d.ts +12 -0
  51. package/job/definition.js +2 -0
  52. package/job/definition.js.map +1 -1
  53. package/jobDefinition.d.ts +12 -0
  54. package/jobDefinition.js +2 -0
  55. package/jobDefinition.js.map +1 -1
  56. package/kubernetes/acl.d.ts +2 -4
  57. package/kubernetes/acl.js +2 -4
  58. package/kubernetes/acl.js.map +1 -1
  59. package/kubernetes/cluster.d.ts +57 -64
  60. package/kubernetes/cluster.js +57 -64
  61. package/kubernetes/cluster.js.map +1 -1
  62. package/kubernetes/getCluster.d.ts +50 -2
  63. package/kubernetes/getCluster.js +50 -2
  64. package/kubernetes/getCluster.js.map +1 -1
  65. package/kubernetes/getPool.d.ts +52 -2
  66. package/kubernetes/getPool.js +52 -2
  67. package/kubernetes/getPool.js.map +1 -1
  68. package/kubernetes/getVersion.d.ts +10 -12
  69. package/kubernetes/getVersion.js +10 -12
  70. package/kubernetes/getVersion.js.map +1 -1
  71. package/kubernetesCluster.d.ts +57 -64
  72. package/kubernetesCluster.js +57 -64
  73. package/kubernetesCluster.js.map +1 -1
  74. package/loadbalancerCertificate.d.ts +10 -0
  75. package/loadbalancerCertificate.js +10 -0
  76. package/loadbalancerCertificate.js.map +1 -1
  77. package/loadbalancers/certificate.d.ts +11 -0
  78. package/loadbalancers/certificate.js +11 -0
  79. package/loadbalancers/certificate.js.map +1 -1
  80. package/observability/alertManager.d.ts +64 -13
  81. package/observability/alertManager.js +41 -6
  82. package/observability/alertManager.js.map +1 -1
  83. package/observability/getPreconfiguredAlert.d.ts +185 -0
  84. package/observability/getPreconfiguredAlert.js +146 -0
  85. package/observability/getPreconfiguredAlert.js.map +1 -0
  86. package/observability/index.d.ts +3 -0
  87. package/observability/index.js +4 -1
  88. package/observability/index.js.map +1 -1
  89. package/package.json +2 -2
  90. package/secretVersion.d.ts +29 -5
  91. package/secretVersion.js +5 -4
  92. package/secretVersion.js.map +1 -1
  93. package/secrets/getVersion.d.ts +2 -0
  94. package/secrets/getVersion.js.map +1 -1
  95. package/secrets/version.d.ts +29 -5
  96. package/secrets/version.js +5 -4
  97. package/secrets/version.js.map +1 -1
  98. package/types/output.d.ts +52 -0
@@ -2,11 +2,11 @@ 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 Kubernetes clusters. For more information, see the [API documentation](https://www.scaleway.com/en/developers/api/kubernetes/).
5
+ * The `scaleway.kubernetes.Cluster` resource allows you to create and manage Scaleway Kubernetes clusters.
6
6
  *
7
- * ## Example Usage
7
+ * Refer to the Kubernetes [documentation](https://www.scaleway.com/en/docs/compute/kubernetes/) and [API documentation](https://www.scaleway.com/en/developers/api/kubernetes/) for more information.
8
8
  *
9
- * ### Basic
9
+ * ## Example Usage
10
10
  *
11
11
  * ```typescript
12
12
  * import * as pulumi from "@pulumi/pulumi";
@@ -28,32 +28,6 @@ import * as outputs from "../types/output";
28
28
  * });
29
29
  * ```
30
30
  *
31
- * ### Multicloud
32
- *
33
- * ```typescript
34
- * import * as pulumi from "@pulumi/pulumi";
35
- * import * as scaleway from "@pulumiverse/scaleway";
36
- *
37
- * const cluster = new scaleway.kubernetes.Cluster("cluster", {
38
- * name: "tf-cluster",
39
- * type: "multicloud",
40
- * version: "1.32.3",
41
- * cni: "kilo",
42
- * deleteAdditionalResources: false,
43
- * });
44
- * const pool = new scaleway.kubernetes.Pool("pool", {
45
- * clusterId: cluster.id,
46
- * name: "tf-pool",
47
- * nodeType: "external",
48
- * size: 0,
49
- * minSize: 0,
50
- * });
51
- * ```
52
- *
53
- * For a detailed example of how to add or run Elastic Metal servers instead of Instances on your cluster, please refer to this guide.
54
- *
55
- * ### With additional configuration
56
- *
57
31
  * ```typescript
58
32
  * import * as pulumi from "@pulumi/pulumi";
59
33
  * import * as scaleway from "@pulumiverse/scaleway";
@@ -89,47 +63,13 @@ import * as outputs from "../types/output";
89
63
  * });
90
64
  * ```
91
65
  *
92
- * ### With the kubernetes provider
93
- *
94
- * ```typescript
95
- * import * as pulumi from "@pulumi/pulumi";
96
- * import * as _null from "@pulumi/null";
97
- * import * as scaleway from "@pulumiverse/scaleway";
98
- *
99
- * const pn = new scaleway.network.PrivateNetwork("pn", {});
100
- * const cluster = new scaleway.kubernetes.Cluster("cluster", {
101
- * name: "tf-cluster",
102
- * version: "1.29.1",
103
- * cni: "cilium",
104
- * privateNetworkId: pn.id,
105
- * deleteAdditionalResources: false,
106
- * });
107
- * const pool = new scaleway.kubernetes.Pool("pool", {
108
- * clusterId: cluster.id,
109
- * name: "tf-pool",
110
- * nodeType: "DEV1-M",
111
- * size: 1,
112
- * });
113
- * const kubeconfig = new _null.Resource("kubeconfig", {triggers: {
114
- * host: cluster.kubeconfigs.apply(kubeconfigs => kubeconfigs[0].host),
115
- * token: cluster.kubeconfigs.apply(kubeconfigs => kubeconfigs[0].token),
116
- * clusterCaCertificate: cluster.kubeconfigs.apply(kubeconfigs => kubeconfigs[0].clusterCaCertificate),
117
- * }}, {
118
- * dependsOn: [pool],
119
- * });
120
- * ```
121
- *
122
- * The `nullResource` is needed because when the cluster is created, its status is `poolRequired`, but the kubeconfig can already be downloaded.
123
- * It leads the `kubernetes` provider to start creating its objects, but the DNS entry for the Kubernetes master is not yet ready, that's why it's needed to wait for at least a pool.
124
- *
125
- * ### With the Helm provider
126
- *
127
66
  * ```typescript
128
67
  * import * as pulumi from "@pulumi/pulumi";
129
68
  * import * as _null from "@pulumi/null";
130
69
  * import * as helm from "@pulumi/helm";
131
70
  * import * as scaleway from "@pulumiverse/scaleway";
132
71
  *
72
+ * // Example with an Helm provider
133
73
  * const pn = new scaleway.network.PrivateNetwork("pn", {});
134
74
  * const cluster = new scaleway.kubernetes.Cluster("cluster", {
135
75
  * name: "tf-cluster",
@@ -185,6 +125,59 @@ import * as outputs from "../types/output";
185
125
  * });
186
126
  * ```
187
127
  *
128
+ * ```typescript
129
+ * import * as pulumi from "@pulumi/pulumi";
130
+ * import * as _null from "@pulumi/null";
131
+ * import * as scaleway from "@pulumiverse/scaleway";
132
+ *
133
+ * // Example with the kubernetes provider
134
+ * const pn = new scaleway.network.PrivateNetwork("pn", {});
135
+ * const cluster = new scaleway.kubernetes.Cluster("cluster", {
136
+ * name: "tf-cluster",
137
+ * version: "1.29.1",
138
+ * cni: "cilium",
139
+ * privateNetworkId: pn.id,
140
+ * deleteAdditionalResources: false,
141
+ * });
142
+ * const pool = new scaleway.kubernetes.Pool("pool", {
143
+ * clusterId: cluster.id,
144
+ * name: "tf-pool",
145
+ * nodeType: "DEV1-M",
146
+ * size: 1,
147
+ * });
148
+ * // The `null_resource` is needed because when the cluster is created, its status is `pool_required`, but the kubeconfig can already be downloaded.
149
+ * // It leads the `kubernetes` provider to start creating its objects, but the DNS entry for the Kubernetes master is not yet ready, that's why it's needed to wait for at least a pool.
150
+ * const kubeconfig = new _null.Resource("kubeconfig", {triggers: {
151
+ * host: cluster.kubeconfigs.apply(kubeconfigs => kubeconfigs[0].host),
152
+ * token: cluster.kubeconfigs.apply(kubeconfigs => kubeconfigs[0].token),
153
+ * clusterCaCertificate: cluster.kubeconfigs.apply(kubeconfigs => kubeconfigs[0].clusterCaCertificate),
154
+ * }}, {
155
+ * dependsOn: [pool],
156
+ * });
157
+ * ```
158
+ *
159
+ * ```typescript
160
+ * import * as pulumi from "@pulumi/pulumi";
161
+ * import * as scaleway from "@pulumiverse/scaleway";
162
+ *
163
+ * // Multicloud Kubernetes Cluster Example
164
+ * // For a detailed example of how to add or run Elastic Metal servers instead of Instances on your cluster, please refer to [this guide](../guides/multicloud_cluster_with_baremetal_servers.md).
165
+ * const cluster = new scaleway.kubernetes.Cluster("cluster", {
166
+ * name: "tf-cluster",
167
+ * type: "multicloud",
168
+ * version: "1.32.3",
169
+ * cni: "kilo",
170
+ * deleteAdditionalResources: false,
171
+ * });
172
+ * const pool = new scaleway.kubernetes.Pool("pool", {
173
+ * clusterId: cluster.id,
174
+ * name: "tf-pool",
175
+ * nodeType: "external",
176
+ * size: 0,
177
+ * minSize: 0,
178
+ * });
179
+ * ```
180
+ *
188
181
  * ## Deprecation of defaultPool
189
182
  *
190
183
  * `defaultPool` is deprecated in favour the `scaleway.kubernetes.Pool` resource. Here is a migration example.
@@ -6,11 +6,11 @@ exports.Cluster = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("../utilities");
8
8
  /**
9
- * Creates and manages Scaleway Kubernetes clusters. For more information, see the [API documentation](https://www.scaleway.com/en/developers/api/kubernetes/).
9
+ * The `scaleway.kubernetes.Cluster` resource allows you to create and manage Scaleway Kubernetes clusters.
10
10
  *
11
- * ## Example Usage
11
+ * Refer to the Kubernetes [documentation](https://www.scaleway.com/en/docs/compute/kubernetes/) and [API documentation](https://www.scaleway.com/en/developers/api/kubernetes/) for more information.
12
12
  *
13
- * ### Basic
13
+ * ## Example Usage
14
14
  *
15
15
  * ```typescript
16
16
  * import * as pulumi from "@pulumi/pulumi";
@@ -32,32 +32,6 @@ const utilities = require("../utilities");
32
32
  * });
33
33
  * ```
34
34
  *
35
- * ### Multicloud
36
- *
37
- * ```typescript
38
- * import * as pulumi from "@pulumi/pulumi";
39
- * import * as scaleway from "@pulumiverse/scaleway";
40
- *
41
- * const cluster = new scaleway.kubernetes.Cluster("cluster", {
42
- * name: "tf-cluster",
43
- * type: "multicloud",
44
- * version: "1.32.3",
45
- * cni: "kilo",
46
- * deleteAdditionalResources: false,
47
- * });
48
- * const pool = new scaleway.kubernetes.Pool("pool", {
49
- * clusterId: cluster.id,
50
- * name: "tf-pool",
51
- * nodeType: "external",
52
- * size: 0,
53
- * minSize: 0,
54
- * });
55
- * ```
56
- *
57
- * For a detailed example of how to add or run Elastic Metal servers instead of Instances on your cluster, please refer to this guide.
58
- *
59
- * ### With additional configuration
60
- *
61
35
  * ```typescript
62
36
  * import * as pulumi from "@pulumi/pulumi";
63
37
  * import * as scaleway from "@pulumiverse/scaleway";
@@ -93,47 +67,13 @@ const utilities = require("../utilities");
93
67
  * });
94
68
  * ```
95
69
  *
96
- * ### With the kubernetes provider
97
- *
98
- * ```typescript
99
- * import * as pulumi from "@pulumi/pulumi";
100
- * import * as _null from "@pulumi/null";
101
- * import * as scaleway from "@pulumiverse/scaleway";
102
- *
103
- * const pn = new scaleway.network.PrivateNetwork("pn", {});
104
- * const cluster = new scaleway.kubernetes.Cluster("cluster", {
105
- * name: "tf-cluster",
106
- * version: "1.29.1",
107
- * cni: "cilium",
108
- * privateNetworkId: pn.id,
109
- * deleteAdditionalResources: false,
110
- * });
111
- * const pool = new scaleway.kubernetes.Pool("pool", {
112
- * clusterId: cluster.id,
113
- * name: "tf-pool",
114
- * nodeType: "DEV1-M",
115
- * size: 1,
116
- * });
117
- * const kubeconfig = new _null.Resource("kubeconfig", {triggers: {
118
- * host: cluster.kubeconfigs.apply(kubeconfigs => kubeconfigs[0].host),
119
- * token: cluster.kubeconfigs.apply(kubeconfigs => kubeconfigs[0].token),
120
- * clusterCaCertificate: cluster.kubeconfigs.apply(kubeconfigs => kubeconfigs[0].clusterCaCertificate),
121
- * }}, {
122
- * dependsOn: [pool],
123
- * });
124
- * ```
125
- *
126
- * The `nullResource` is needed because when the cluster is created, its status is `poolRequired`, but the kubeconfig can already be downloaded.
127
- * It leads the `kubernetes` provider to start creating its objects, but the DNS entry for the Kubernetes master is not yet ready, that's why it's needed to wait for at least a pool.
128
- *
129
- * ### With the Helm provider
130
- *
131
70
  * ```typescript
132
71
  * import * as pulumi from "@pulumi/pulumi";
133
72
  * import * as _null from "@pulumi/null";
134
73
  * import * as helm from "@pulumi/helm";
135
74
  * import * as scaleway from "@pulumiverse/scaleway";
136
75
  *
76
+ * // Example with an Helm provider
137
77
  * const pn = new scaleway.network.PrivateNetwork("pn", {});
138
78
  * const cluster = new scaleway.kubernetes.Cluster("cluster", {
139
79
  * name: "tf-cluster",
@@ -189,6 +129,59 @@ const utilities = require("../utilities");
189
129
  * });
190
130
  * ```
191
131
  *
132
+ * ```typescript
133
+ * import * as pulumi from "@pulumi/pulumi";
134
+ * import * as _null from "@pulumi/null";
135
+ * import * as scaleway from "@pulumiverse/scaleway";
136
+ *
137
+ * // Example with the kubernetes provider
138
+ * const pn = new scaleway.network.PrivateNetwork("pn", {});
139
+ * const cluster = new scaleway.kubernetes.Cluster("cluster", {
140
+ * name: "tf-cluster",
141
+ * version: "1.29.1",
142
+ * cni: "cilium",
143
+ * privateNetworkId: pn.id,
144
+ * deleteAdditionalResources: false,
145
+ * });
146
+ * const pool = new scaleway.kubernetes.Pool("pool", {
147
+ * clusterId: cluster.id,
148
+ * name: "tf-pool",
149
+ * nodeType: "DEV1-M",
150
+ * size: 1,
151
+ * });
152
+ * // The `null_resource` is needed because when the cluster is created, its status is `pool_required`, but the kubeconfig can already be downloaded.
153
+ * // It leads the `kubernetes` provider to start creating its objects, but the DNS entry for the Kubernetes master is not yet ready, that's why it's needed to wait for at least a pool.
154
+ * const kubeconfig = new _null.Resource("kubeconfig", {triggers: {
155
+ * host: cluster.kubeconfigs.apply(kubeconfigs => kubeconfigs[0].host),
156
+ * token: cluster.kubeconfigs.apply(kubeconfigs => kubeconfigs[0].token),
157
+ * clusterCaCertificate: cluster.kubeconfigs.apply(kubeconfigs => kubeconfigs[0].clusterCaCertificate),
158
+ * }}, {
159
+ * dependsOn: [pool],
160
+ * });
161
+ * ```
162
+ *
163
+ * ```typescript
164
+ * import * as pulumi from "@pulumi/pulumi";
165
+ * import * as scaleway from "@pulumiverse/scaleway";
166
+ *
167
+ * // Multicloud Kubernetes Cluster Example
168
+ * // For a detailed example of how to add or run Elastic Metal servers instead of Instances on your cluster, please refer to [this guide](../guides/multicloud_cluster_with_baremetal_servers.md).
169
+ * const cluster = new scaleway.kubernetes.Cluster("cluster", {
170
+ * name: "tf-cluster",
171
+ * type: "multicloud",
172
+ * version: "1.32.3",
173
+ * cni: "kilo",
174
+ * deleteAdditionalResources: false,
175
+ * });
176
+ * const pool = new scaleway.kubernetes.Pool("pool", {
177
+ * clusterId: cluster.id,
178
+ * name: "tf-pool",
179
+ * nodeType: "external",
180
+ * size: 0,
181
+ * minSize: 0,
182
+ * });
183
+ * ```
184
+ *
192
185
  * ## Deprecation of defaultPool
193
186
  *
194
187
  * `defaultPool` is deprecated in favour the `scaleway.kubernetes.Pool` resource. Here is a migration example.
@@ -1 +1 @@
1
- {"version":3,"file":"cluster.js","sourceRoot":"","sources":["../../kubernetes/cluster.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6OG;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;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,OAAO,CAAC,YAAY,CAAC;IACxD,CAAC;IA8ID,YAAY,IAAY,EA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Y,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,OAAO,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC5D,CAAC;;AArPL,0BAsPC;AAxOG,gBAAgB;AACO,oBAAY,GAAG,qCAAqC,CAAC"}
@@ -1,7 +1,31 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
2
  import * as outputs from "../types/output";
3
3
  /**
4
- * Gets information about a Kubernetes Cluster.
4
+ * The `scaleway.kubernetes.Cluster` data source is used to retrieve information about a Kubernetes Cluster.
5
+ *
6
+ * Refer to the Kubernetes [documentation](https://www.scaleway.com/en/docs/compute/kubernetes/) and [API documentation](https://www.scaleway.com/en/developers/api/kubernetes/) for more information.
7
+ *
8
+ * ## Example Usage
9
+ *
10
+ * ```typescript
11
+ * import * as pulumi from "@pulumi/pulumi";
12
+ * import * as scaleway from "@pulumiverse/scaleway";
13
+ *
14
+ * // Get info by cluster id
15
+ * const myKey = scaleway.kubernetes.getCluster({
16
+ * clusterId: "11111111-1111-1111-1111-111111111111",
17
+ * });
18
+ * ```
19
+ *
20
+ * ```typescript
21
+ * import * as pulumi from "@pulumi/pulumi";
22
+ * import * as scaleway from "@pulumiverse/scaleway";
23
+ *
24
+ * // Get info by cluster name
25
+ * const myKey = scaleway.kubernetes.getCluster({
26
+ * name: "my-cluster-name",
27
+ * });
28
+ * ```
5
29
  */
6
30
  export declare function getCluster(args?: GetClusterArgs, opts?: pulumi.InvokeOptions): Promise<GetClusterResult>;
7
31
  /**
@@ -116,7 +140,31 @@ export interface GetClusterResult {
116
140
  readonly wildcardDns: string;
117
141
  }
118
142
  /**
119
- * Gets information about a Kubernetes Cluster.
143
+ * The `scaleway.kubernetes.Cluster` data source is used to retrieve information about a Kubernetes Cluster.
144
+ *
145
+ * Refer to the Kubernetes [documentation](https://www.scaleway.com/en/docs/compute/kubernetes/) and [API documentation](https://www.scaleway.com/en/developers/api/kubernetes/) for more information.
146
+ *
147
+ * ## Example Usage
148
+ *
149
+ * ```typescript
150
+ * import * as pulumi from "@pulumi/pulumi";
151
+ * import * as scaleway from "@pulumiverse/scaleway";
152
+ *
153
+ * // Get info by cluster id
154
+ * const myKey = scaleway.kubernetes.getCluster({
155
+ * clusterId: "11111111-1111-1111-1111-111111111111",
156
+ * });
157
+ * ```
158
+ *
159
+ * ```typescript
160
+ * import * as pulumi from "@pulumi/pulumi";
161
+ * import * as scaleway from "@pulumiverse/scaleway";
162
+ *
163
+ * // Get info by cluster name
164
+ * const myKey = scaleway.kubernetes.getCluster({
165
+ * name: "my-cluster-name",
166
+ * });
167
+ * ```
120
168
  */
121
169
  export declare function getClusterOutput(args?: GetClusterOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetClusterResult>;
122
170
  /**
@@ -6,7 +6,31 @@ exports.getClusterOutput = exports.getCluster = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("../utilities");
8
8
  /**
9
- * Gets information about a Kubernetes Cluster.
9
+ * The `scaleway.kubernetes.Cluster` data source is used to retrieve information about a Kubernetes Cluster.
10
+ *
11
+ * Refer to the Kubernetes [documentation](https://www.scaleway.com/en/docs/compute/kubernetes/) and [API documentation](https://www.scaleway.com/en/developers/api/kubernetes/) for more information.
12
+ *
13
+ * ## Example Usage
14
+ *
15
+ * ```typescript
16
+ * import * as pulumi from "@pulumi/pulumi";
17
+ * import * as scaleway from "@pulumiverse/scaleway";
18
+ *
19
+ * // Get info by cluster id
20
+ * const myKey = scaleway.kubernetes.getCluster({
21
+ * clusterId: "11111111-1111-1111-1111-111111111111",
22
+ * });
23
+ * ```
24
+ *
25
+ * ```typescript
26
+ * import * as pulumi from "@pulumi/pulumi";
27
+ * import * as scaleway from "@pulumiverse/scaleway";
28
+ *
29
+ * // Get info by cluster name
30
+ * const myKey = scaleway.kubernetes.getCluster({
31
+ * name: "my-cluster-name",
32
+ * });
33
+ * ```
10
34
  */
11
35
  function getCluster(args, opts) {
12
36
  args = args || {};
@@ -20,7 +44,31 @@ function getCluster(args, opts) {
20
44
  }
21
45
  exports.getCluster = getCluster;
22
46
  /**
23
- * Gets information about a Kubernetes Cluster.
47
+ * The `scaleway.kubernetes.Cluster` data source is used to retrieve information about a Kubernetes Cluster.
48
+ *
49
+ * Refer to the Kubernetes [documentation](https://www.scaleway.com/en/docs/compute/kubernetes/) and [API documentation](https://www.scaleway.com/en/developers/api/kubernetes/) for more information.
50
+ *
51
+ * ## Example Usage
52
+ *
53
+ * ```typescript
54
+ * import * as pulumi from "@pulumi/pulumi";
55
+ * import * as scaleway from "@pulumiverse/scaleway";
56
+ *
57
+ * // Get info by cluster id
58
+ * const myKey = scaleway.kubernetes.getCluster({
59
+ * clusterId: "11111111-1111-1111-1111-111111111111",
60
+ * });
61
+ * ```
62
+ *
63
+ * ```typescript
64
+ * import * as pulumi from "@pulumi/pulumi";
65
+ * import * as scaleway from "@pulumiverse/scaleway";
66
+ *
67
+ * // Get info by cluster name
68
+ * const myKey = scaleway.kubernetes.getCluster({
69
+ * name: "my-cluster-name",
70
+ * });
71
+ * ```
24
72
  */
25
73
  function getClusterOutput(args, opts) {
26
74
  args = args || {};
@@ -1 +1 @@
1
- {"version":3,"file":"getCluster.js","sourceRoot":"","sources":["../../kubernetes/getCluster.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,UAAU,CAAC,IAAqB,EAAE,IAA2B;IACzE,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,2CAA2C,EAAE;QACtE,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB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AAkHD;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,SAAgB,gBAAgB,CAAC,IAA2B,EAAE,IAAiC;IAC3F,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,2CAA2C,EAAE;QAC5E,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AATD,4CASC"}
@@ -1,7 +1,32 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
2
  import * as outputs from "../types/output";
3
3
  /**
4
- * Gets information about a Kubernetes Cluster's Pool.
4
+ * The `scaleway.kubernetes.Pool` data source is used to retrieve information about a Kubernetes Cluster's Pool.
5
+ *
6
+ * Refer to the Kubernetes [documentation](https://www.scaleway.com/en/docs/compute/kubernetes/) and [API documentation](https://www.scaleway.com/en/developers/api/kubernetes/) for more information.
7
+ *
8
+ * ## Example Usage
9
+ *
10
+ * ```typescript
11
+ * import * as pulumi from "@pulumi/pulumi";
12
+ * import * as scaleway from "@pulumiverse/scaleway";
13
+ *
14
+ * // Get info by pool id
15
+ * const myKey = scaleway.kubernetes.getPool({
16
+ * poolId: "11111111-1111-1111-1111-111111111111",
17
+ * });
18
+ * ```
19
+ *
20
+ * ```typescript
21
+ * import * as pulumi from "@pulumi/pulumi";
22
+ * import * as scaleway from "@pulumiverse/scaleway";
23
+ *
24
+ * // Get info by pool name (need cluster_id)
25
+ * const myKey = scaleway.kubernetes.getPool({
26
+ * name: "my-pool-name",
27
+ * clusterId: "11111111-1111-1111-1111-111111111111",
28
+ * });
29
+ * ```
5
30
  */
6
31
  export declare function getPool(args?: GetPoolArgs, opts?: pulumi.InvokeOptions): Promise<GetPoolResult>;
7
32
  /**
@@ -113,7 +138,32 @@ export interface GetPoolResult {
113
138
  readonly zone: string;
114
139
  }
115
140
  /**
116
- * Gets information about a Kubernetes Cluster's Pool.
141
+ * The `scaleway.kubernetes.Pool` data source is used to retrieve information about a Kubernetes Cluster's Pool.
142
+ *
143
+ * Refer to the Kubernetes [documentation](https://www.scaleway.com/en/docs/compute/kubernetes/) and [API documentation](https://www.scaleway.com/en/developers/api/kubernetes/) for more information.
144
+ *
145
+ * ## Example Usage
146
+ *
147
+ * ```typescript
148
+ * import * as pulumi from "@pulumi/pulumi";
149
+ * import * as scaleway from "@pulumiverse/scaleway";
150
+ *
151
+ * // Get info by pool id
152
+ * const myKey = scaleway.kubernetes.getPool({
153
+ * poolId: "11111111-1111-1111-1111-111111111111",
154
+ * });
155
+ * ```
156
+ *
157
+ * ```typescript
158
+ * import * as pulumi from "@pulumi/pulumi";
159
+ * import * as scaleway from "@pulumiverse/scaleway";
160
+ *
161
+ * // Get info by pool name (need cluster_id)
162
+ * const myKey = scaleway.kubernetes.getPool({
163
+ * name: "my-pool-name",
164
+ * clusterId: "11111111-1111-1111-1111-111111111111",
165
+ * });
166
+ * ```
117
167
  */
118
168
  export declare function getPoolOutput(args?: GetPoolOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetPoolResult>;
119
169
  /**
@@ -6,7 +6,32 @@ exports.getPoolOutput = exports.getPool = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("../utilities");
8
8
  /**
9
- * Gets information about a Kubernetes Cluster's Pool.
9
+ * The `scaleway.kubernetes.Pool` data source is used to retrieve information about a Kubernetes Cluster's Pool.
10
+ *
11
+ * Refer to the Kubernetes [documentation](https://www.scaleway.com/en/docs/compute/kubernetes/) and [API documentation](https://www.scaleway.com/en/developers/api/kubernetes/) for more information.
12
+ *
13
+ * ## Example Usage
14
+ *
15
+ * ```typescript
16
+ * import * as pulumi from "@pulumi/pulumi";
17
+ * import * as scaleway from "@pulumiverse/scaleway";
18
+ *
19
+ * // Get info by pool id
20
+ * const myKey = scaleway.kubernetes.getPool({
21
+ * poolId: "11111111-1111-1111-1111-111111111111",
22
+ * });
23
+ * ```
24
+ *
25
+ * ```typescript
26
+ * import * as pulumi from "@pulumi/pulumi";
27
+ * import * as scaleway from "@pulumiverse/scaleway";
28
+ *
29
+ * // Get info by pool name (need cluster_id)
30
+ * const myKey = scaleway.kubernetes.getPool({
31
+ * name: "my-pool-name",
32
+ * clusterId: "11111111-1111-1111-1111-111111111111",
33
+ * });
34
+ * ```
10
35
  */
11
36
  function getPool(args, opts) {
12
37
  args = args || {};
@@ -21,7 +46,32 @@ function getPool(args, opts) {
21
46
  }
22
47
  exports.getPool = getPool;
23
48
  /**
24
- * Gets information about a Kubernetes Cluster's Pool.
49
+ * The `scaleway.kubernetes.Pool` data source is used to retrieve information about a Kubernetes Cluster's Pool.
50
+ *
51
+ * Refer to the Kubernetes [documentation](https://www.scaleway.com/en/docs/compute/kubernetes/) and [API documentation](https://www.scaleway.com/en/developers/api/kubernetes/) for more information.
52
+ *
53
+ * ## Example Usage
54
+ *
55
+ * ```typescript
56
+ * import * as pulumi from "@pulumi/pulumi";
57
+ * import * as scaleway from "@pulumiverse/scaleway";
58
+ *
59
+ * // Get info by pool id
60
+ * const myKey = scaleway.kubernetes.getPool({
61
+ * poolId: "11111111-1111-1111-1111-111111111111",
62
+ * });
63
+ * ```
64
+ *
65
+ * ```typescript
66
+ * import * as pulumi from "@pulumi/pulumi";
67
+ * import * as scaleway from "@pulumiverse/scaleway";
68
+ *
69
+ * // Get info by pool name (need cluster_id)
70
+ * const myKey = scaleway.kubernetes.getPool({
71
+ * name: "my-pool-name",
72
+ * clusterId: "11111111-1111-1111-1111-111111111111",
73
+ * });
74
+ * ```
25
75
  */
26
76
  function getPoolOutput(args, opts) {
27
77
  args = args || {};
@@ -1 +1 @@
1
- {"version":3,"file":"getPool.js","sourceRoot":"","sources":["../../kubernetes/getPool.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,OAAO,CAAC,IAAkB,EAAE,IAA2B;IACnE,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,qCAAqC,EAAE;QAChE,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAVD,0BAUC;AA6GD;;GAEG;AACH,SAAgB,aAAa,CAAC,IAAwB,EAAE,IAAiC;IACrF,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,qCAAqC,EAAE;QACtE,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAVD,sCAUC"}
1
+ {"version":3,"file":"getPool.js","sourceRoot":"","sources":["../../kubernetes/getPool.ts"],"names":[],"mappings":";AAAA,sEAAsE;A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