You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Generate iaas v0.28.0
- **Docs:** Improved descriptions of properties in structs with their possible values
- **Feature:** Add `Agent` field to `CreateImagePayload`, `UpdateImagePayload` and `Image` model
- **Feature:** Add `Encrypted` and `EncryptionsParameters` fields to `CreateVolumePayload` model
---------
Co-authored-by: Marcel Jacek <[email protected]>
Copy file name to clipboardExpand all lines: services/iaas/src/stackit/iaas/models/backup.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -40,7 +40,7 @@ class Backup(BaseModel):
40
40
)
41
41
labels: Optional[Dict[str, Any]] =Field(
42
42
default=None,
43
-
description="Object that represents the labels of an object. Regex for keys: `^[a-z]((-|_|[a-z0-9])){0,62}$`. Regex for values: `^(-|_|[a-z0-9]){0,63}$`.",
43
+
description="Object that represents the labels of an object. Regex for keys: `^[a-z]((-|_|[a-z0-9])){0,62}$`. Regex for values: `^(-|_|[a-z0-9]){0,63}$`. Providing a `null` value for a key will remove that key.",
Copy file name to clipboardExpand all lines: services/iaas/src/stackit/iaas/models/create_backup_payload.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -32,7 +32,7 @@ class CreateBackupPayload(BaseModel):
32
32
33
33
labels: Optional[Dict[str, Any]] =Field(
34
34
default=None,
35
-
description="Object that represents the labels of an object. Regex for keys: `^[a-z]((-|_|[a-z0-9])){0,62}$`. Regex for values: `^(-|_|[a-z0-9]){0,63}$`.",
35
+
description="Object that represents the labels of an object. Regex for keys: `^[a-z]((-|_|[a-z0-9])){0,62}$`. Regex for values: `^(-|_|[a-z0-9]){0,63}$`. Providing a `null` value for a key will remove that key.",
@@ -40,6 +41,7 @@ class CreateImagePayload(BaseModel):
40
41
Object that represents an Image and its parameters. Used for Creating and returning (get/list).
41
42
"""# noqa: E501
42
43
44
+
agent: Optional[ImageAgent] =None
43
45
checksum: Optional[ImageChecksum] =None
44
46
config: Optional[ImageConfig] =None
45
47
created_at: Optional[datetime] =Field(
@@ -53,7 +55,7 @@ class CreateImagePayload(BaseModel):
53
55
)
54
56
labels: Optional[Dict[str, Any]] =Field(
55
57
default=None,
56
-
description="Object that represents the labels of an object. Regex for keys: `^[a-z]((-|_|[a-z0-9])){0,62}$`. Regex for values: `^(-|_|[a-z0-9]){0,63}$`.",
58
+
description="Object that represents the labels of an object. Regex for keys: `^[a-z]((-|_|[a-z0-9])){0,62}$`. Regex for values: `^(-|_|[a-z0-9]){0,63}$`. Providing a `null` value for a key will remove that key.",
57
59
)
58
60
min_disk_size: Optional[StrictInt] =Field(default=None, description="Size in Gigabyte.", alias="minDiskSize")
59
61
min_ram: Optional[StrictInt] =Field(default=None, description="Size in Megabyte.", alias="minRam")
@@ -63,7 +65,9 @@ class CreateImagePayload(BaseModel):
Copy file name to clipboardExpand all lines: services/iaas/src/stackit/iaas/models/create_key_pair_payload.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -37,7 +37,7 @@ class CreateKeyPairPayload(BaseModel):
37
37
)
38
38
labels: Optional[Dict[str, Any]] =Field(
39
39
default=None,
40
-
description="Object that represents the labels of an object. Regex for keys: `^[a-z]((-|_|[a-z0-9])){0,62}$`. Regex for values: `^(-|_|[a-z0-9]){0,63}$`.",
40
+
description="Object that represents the labels of an object. Regex for keys: `^[a-z]((-|_|[a-z0-9])){0,62}$`. Regex for values: `^(-|_|[a-z0-9]){0,63}$`. Providing a `null` value for a key will remove that key.",
0 commit comments