|
6293 | 6293 | "type": "string", |
6294 | 6294 | "description": "Set default storage encryption strategy for all nodes in the cluster.\n" |
6295 | 6295 | }, |
| 6296 | + "upgradeStrategyType": { |
| 6297 | + "type": "string", |
| 6298 | + "description": "The upgrade strategy to use when changing the cluster `version`. If not set, `manual` strategy will be used by default.\nWhen using `manual` strategy, you must replace the existing node-groups to update them.\n" |
| 6299 | + }, |
6296 | 6300 | "version": { |
6297 | 6301 | "type": "string", |
6298 | | - "description": "Kubernetes version ID, e.g. `1.31`. You can list available version IDs with `upctl kubernetes versions`.\n" |
| 6302 | + "description": "Kubernetes version ID, e.g. `1.31`. You can list available version IDs with `upctl kubernetes versions`. Note that when\nchanging the cluster version, `upgrade_strategy` will be taken into account.\n" |
6299 | 6303 | }, |
6300 | 6304 | "zone": { |
6301 | 6305 | "type": "string", |
|
6350 | 6354 | "type": "string", |
6351 | 6355 | "description": "Set default storage encryption strategy for all nodes in the cluster.\n" |
6352 | 6356 | }, |
| 6357 | + "upgradeStrategyType": { |
| 6358 | + "type": "string", |
| 6359 | + "description": "The upgrade strategy to use when changing the cluster `version`. If not set, `manual` strategy will be used by default.\nWhen using `manual` strategy, you must replace the existing node-groups to update them.\n" |
| 6360 | + }, |
6353 | 6361 | "version": { |
6354 | 6362 | "type": "string", |
6355 | | - "description": "Kubernetes version ID, e.g. `1.31`. You can list available version IDs with `upctl kubernetes versions`.\n" |
| 6363 | + "description": "Kubernetes version ID, e.g. `1.31`. You can list available version IDs with `upctl kubernetes versions`. Note that when\nchanging the cluster version, `upgrade_strategy` will be taken into account.\n" |
6356 | 6364 | }, |
6357 | 6365 | "zone": { |
6358 | 6366 | "type": "string", |
|
6416 | 6424 | "type": "string", |
6417 | 6425 | "description": "Set default storage encryption strategy for all nodes in the cluster.\n" |
6418 | 6426 | }, |
| 6427 | + "upgradeStrategyType": { |
| 6428 | + "type": "string", |
| 6429 | + "description": "The upgrade strategy to use when changing the cluster `version`. If not set, `manual` strategy will be used by default.\nWhen using `manual` strategy, you must replace the existing node-groups to update them.\n" |
| 6430 | + }, |
6419 | 6431 | "version": { |
6420 | 6432 | "type": "string", |
6421 | | - "description": "Kubernetes version ID, e.g. `1.31`. You can list available version IDs with `upctl kubernetes versions`.\n" |
| 6433 | + "description": "Kubernetes version ID, e.g. `1.31`. You can list available version IDs with `upctl kubernetes versions`. Note that when\nchanging the cluster version, `upgrade_strategy` will be taken into account.\n" |
6422 | 6434 | }, |
6423 | 6435 | "zone": { |
6424 | 6436 | "type": "string", |
@@ -11313,6 +11325,142 @@ |
11313 | 11325 | "type": "object" |
11314 | 11326 | } |
11315 | 11327 | }, |
| 11328 | + "upcloud:index/storageBackup:StorageBackup": { |
| 11329 | + "description": "Manages an on-demand storage backup.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as upcloud from \"@upcloud/pulumi-upcloud\";\n\nconst backup1 = new upcloud.StorageBackup(\"backup_1\", {\n title: \"backup\",\n sourceStorage: \"01185ec5-1b0b-4cbc-a968-eb920ac7572d\",\n});\n```\n```python\nimport pulumi\nimport pulumi_upcloud as upcloud\n\nbackup1 = upcloud.StorageBackup(\"backup_1\",\n title=\"backup\",\n source_storage=\"01185ec5-1b0b-4cbc-a968-eb920ac7572d\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing UpCloud = UpCloud.Pulumi.UpCloud;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var backup1 = new UpCloud.StorageBackup(\"backup_1\", new()\n {\n Title = \"backup\",\n SourceStorage = \"01185ec5-1b0b-4cbc-a968-eb920ac7572d\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/UpCloudLtd/pulumi-upcloud/sdk/go/upcloud\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := upcloud.NewStorageBackup(ctx, \"backup_1\", \u0026upcloud.StorageBackupArgs{\n\t\t\tTitle: pulumi.String(\"backup\"),\n\t\t\tSourceStorage: pulumi.String(\"01185ec5-1b0b-4cbc-a968-eb920ac7572d\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.upcloud.StorageBackup;\nimport com.pulumi.upcloud.StorageBackupArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var backup1 = new StorageBackup(\"backup1\", StorageBackupArgs.builder()\n .title(\"backup\")\n .sourceStorage(\"01185ec5-1b0b-4cbc-a968-eb920ac7572d\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n backup1:\n type: upcloud:StorageBackup\n name: backup_1\n properties:\n title: backup\n sourceStorage: 01185ec5-1b0b-4cbc-a968-eb920ac7572d\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", |
| 11330 | + "properties": { |
| 11331 | + "createdAt": { |
| 11332 | + "type": "string", |
| 11333 | + "description": "Timestamp of the backup creation.\n" |
| 11334 | + }, |
| 11335 | + "encrypt": { |
| 11336 | + "type": "boolean", |
| 11337 | + "description": "Sets if the storage is encrypted at rest.\n" |
| 11338 | + }, |
| 11339 | + "labels": { |
| 11340 | + "type": "object", |
| 11341 | + "additionalProperties": { |
| 11342 | + "type": "string" |
| 11343 | + }, |
| 11344 | + "description": "User defined key-value pairs to classify the storage.\n" |
| 11345 | + }, |
| 11346 | + "size": { |
| 11347 | + "type": "integer", |
| 11348 | + "description": "The size of the storage in gigabytes.\n" |
| 11349 | + }, |
| 11350 | + "sourceStorage": { |
| 11351 | + "type": "string", |
| 11352 | + "description": "The UUID of the storage to back up.\n" |
| 11353 | + }, |
| 11354 | + "systemLabels": { |
| 11355 | + "type": "object", |
| 11356 | + "additionalProperties": { |
| 11357 | + "type": "string" |
| 11358 | + }, |
| 11359 | + "description": "System defined key-value pairs to classify the storage. The keys of system defined labels are prefixed with underscore\nand can not be modified by the user.\n" |
| 11360 | + }, |
| 11361 | + "tier": { |
| 11362 | + "type": "string", |
| 11363 | + "description": "The tier of the storage.\n" |
| 11364 | + }, |
| 11365 | + "title": { |
| 11366 | + "type": "string", |
| 11367 | + "description": "Title of the backup.\n" |
| 11368 | + }, |
| 11369 | + "type": { |
| 11370 | + "type": "string", |
| 11371 | + "description": "The type of the storage.\n" |
| 11372 | + }, |
| 11373 | + "zone": { |
| 11374 | + "type": "string", |
| 11375 | + "description": "The zone the storage is in, e.g. `de-fra1`.\n" |
| 11376 | + } |
| 11377 | + }, |
| 11378 | + "required": [ |
| 11379 | + "createdAt", |
| 11380 | + "encrypt", |
| 11381 | + "labels", |
| 11382 | + "size", |
| 11383 | + "sourceStorage", |
| 11384 | + "systemLabels", |
| 11385 | + "tier", |
| 11386 | + "title", |
| 11387 | + "type", |
| 11388 | + "zone" |
| 11389 | + ], |
| 11390 | + "inputProperties": { |
| 11391 | + "labels": { |
| 11392 | + "type": "object", |
| 11393 | + "additionalProperties": { |
| 11394 | + "type": "string" |
| 11395 | + }, |
| 11396 | + "description": "User defined key-value pairs to classify the storage.\n" |
| 11397 | + }, |
| 11398 | + "sourceStorage": { |
| 11399 | + "type": "string", |
| 11400 | + "description": "The UUID of the storage to back up.\n" |
| 11401 | + }, |
| 11402 | + "title": { |
| 11403 | + "type": "string", |
| 11404 | + "description": "Title of the backup.\n" |
| 11405 | + } |
| 11406 | + }, |
| 11407 | + "requiredInputs": [ |
| 11408 | + "sourceStorage", |
| 11409 | + "title" |
| 11410 | + ], |
| 11411 | + "stateInputs": { |
| 11412 | + "description": "Input properties used for looking up and filtering StorageBackup resources.\n", |
| 11413 | + "properties": { |
| 11414 | + "createdAt": { |
| 11415 | + "type": "string", |
| 11416 | + "description": "Timestamp of the backup creation.\n" |
| 11417 | + }, |
| 11418 | + "encrypt": { |
| 11419 | + "type": "boolean", |
| 11420 | + "description": "Sets if the storage is encrypted at rest.\n" |
| 11421 | + }, |
| 11422 | + "labels": { |
| 11423 | + "type": "object", |
| 11424 | + "additionalProperties": { |
| 11425 | + "type": "string" |
| 11426 | + }, |
| 11427 | + "description": "User defined key-value pairs to classify the storage.\n" |
| 11428 | + }, |
| 11429 | + "size": { |
| 11430 | + "type": "integer", |
| 11431 | + "description": "The size of the storage in gigabytes.\n" |
| 11432 | + }, |
| 11433 | + "sourceStorage": { |
| 11434 | + "type": "string", |
| 11435 | + "description": "The UUID of the storage to back up.\n" |
| 11436 | + }, |
| 11437 | + "systemLabels": { |
| 11438 | + "type": "object", |
| 11439 | + "additionalProperties": { |
| 11440 | + "type": "string" |
| 11441 | + }, |
| 11442 | + "description": "System defined key-value pairs to classify the storage. The keys of system defined labels are prefixed with underscore\nand can not be modified by the user.\n" |
| 11443 | + }, |
| 11444 | + "tier": { |
| 11445 | + "type": "string", |
| 11446 | + "description": "The tier of the storage.\n" |
| 11447 | + }, |
| 11448 | + "title": { |
| 11449 | + "type": "string", |
| 11450 | + "description": "Title of the backup.\n" |
| 11451 | + }, |
| 11452 | + "type": { |
| 11453 | + "type": "string", |
| 11454 | + "description": "The type of the storage.\n" |
| 11455 | + }, |
| 11456 | + "zone": { |
| 11457 | + "type": "string", |
| 11458 | + "description": "The zone the storage is in, e.g. `de-fra1`.\n" |
| 11459 | + } |
| 11460 | + }, |
| 11461 | + "type": "object" |
| 11462 | + } |
| 11463 | + }, |
11316 | 11464 | "upcloud:index/storageTemplate:StorageTemplate": { |
11317 | 11465 | "description": "Manages UpCloud storage templates. The storage templates are stored in the system as storages with `template` type.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as upcloud from \"@upcloud/pulumi-upcloud\";\n\nconst template = new upcloud.StorageTemplate(\"template\", {\n sourceStorage: \"e0328f8a-9944-406b-99c3-656dcc03e671\",\n title: \"custom-storage-template\",\n labels: {\n os: \"linux\",\n usage: \"example\",\n },\n});\n```\n```python\nimport pulumi\nimport pulumi_upcloud as upcloud\n\ntemplate = upcloud.StorageTemplate(\"template\",\n source_storage=\"e0328f8a-9944-406b-99c3-656dcc03e671\",\n title=\"custom-storage-template\",\n labels={\n \"os\": \"linux\",\n \"usage\": \"example\",\n })\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing UpCloud = UpCloud.Pulumi.UpCloud;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var template = new UpCloud.StorageTemplate(\"template\", new()\n {\n SourceStorage = \"e0328f8a-9944-406b-99c3-656dcc03e671\",\n Title = \"custom-storage-template\",\n Labels = \n {\n { \"os\", \"linux\" },\n { \"usage\", \"example\" },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/UpCloudLtd/pulumi-upcloud/sdk/go/upcloud\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := upcloud.NewStorageTemplate(ctx, \"template\", \u0026upcloud.StorageTemplateArgs{\n\t\t\tSourceStorage: pulumi.String(\"e0328f8a-9944-406b-99c3-656dcc03e671\"),\n\t\t\tTitle: pulumi.String(\"custom-storage-template\"),\n\t\t\tLabels: pulumi.StringMap{\n\t\t\t\t\"os\": pulumi.String(\"linux\"),\n\t\t\t\t\"usage\": pulumi.String(\"example\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.upcloud.StorageTemplate;\nimport com.pulumi.upcloud.StorageTemplateArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var template = new StorageTemplate(\"template\", StorageTemplateArgs.builder()\n .sourceStorage(\"e0328f8a-9944-406b-99c3-656dcc03e671\")\n .title(\"custom-storage-template\")\n .labels(Map.ofEntries(\n Map.entry(\"os\", \"linux\"),\n Map.entry(\"usage\", \"example\")\n ))\n .build());\n\n }\n}\n```\n```yaml\nresources:\n template:\n type: upcloud:StorageTemplate\n properties:\n sourceStorage: e0328f8a-9944-406b-99c3-656dcc03e671\n title: custom-storage-template\n labels:\n os: linux\n usage: example\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", |
11318 | 11466 | "properties": { |
|
0 commit comments