Skip to content

Commit 74fe901

Browse files
OAS Update
1 parent d7b3617 commit 74fe901

File tree

2 files changed

+67
-1
lines changed

2 files changed

+67
-1
lines changed

services/iaas/v1alpha1/iaas.json

Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -687,6 +687,14 @@
687687
"CreateImagePayload": {
688688
"description": "Object that represents an Image and its parameters. Used for Creating and returning (get/list).",
689689
"properties": {
690+
"checksum": {
691+
"allOf": [
692+
{
693+
"$ref": "#/components/schemas/ImageChecksum"
694+
}
695+
],
696+
"readOnly": true
697+
},
690698
"config": {
691699
"$ref": "#/components/schemas/ImageConfig"
692700
},
@@ -725,6 +733,14 @@
725733
"example": false,
726734
"type": "boolean"
727735
},
736+
"scope": {
737+
"allOf": [
738+
{
739+
"$ref": "#/components/schemas/ImageScope"
740+
}
741+
],
742+
"readOnly": true
743+
},
728744
"status": {
729745
"allOf": [
730746
{
@@ -1415,6 +1431,14 @@
14151431
"Image": {
14161432
"description": "Object that represents an Image and its parameters. Used for Creating and returning (get/list).",
14171433
"properties": {
1434+
"checksum": {
1435+
"allOf": [
1436+
{
1437+
"$ref": "#/components/schemas/ImageChecksum"
1438+
}
1439+
],
1440+
"readOnly": true
1441+
},
14181442
"config": {
14191443
"$ref": "#/components/schemas/ImageConfig"
14201444
},
@@ -1453,6 +1477,14 @@
14531477
"example": false,
14541478
"type": "boolean"
14551479
},
1480+
"scope": {
1481+
"allOf": [
1482+
{
1483+
"$ref": "#/components/schemas/ImageScope"
1484+
}
1485+
],
1486+
"readOnly": true
1487+
},
14561488
"status": {
14571489
"allOf": [
14581490
{
@@ -1476,6 +1508,35 @@
14761508
],
14771509
"type": "object"
14781510
},
1511+
"ImageChecksum": {
1512+
"description": "Representation of an image checksum.",
1513+
"example": {
1514+
"algorithm": "sha512",
1515+
"digest": "48c4b0c65baac295e206adb6be455896374fb59812e009345b7e2693b706671c455a2ebd8cfa741f4be27deba37defad5c84cfe6f09d592bc03122422ed9349e"
1516+
},
1517+
"properties": {
1518+
"algorithm": {
1519+
"description": "Algorithm for the checksum of the image data.",
1520+
"example": "sha512",
1521+
"type": "string",
1522+
"x-extensible-enum": [
1523+
"md5",
1524+
"sha512"
1525+
]
1526+
},
1527+
"digest": {
1528+
"description": "Hexdigest of the checksum of the image data.",
1529+
"example": "48c4b0c65baac295e206adb6be455896374fb59812e009345b7e2693b706671c455a2ebd8cfa741f4be27deba37defad5c84cfe6f09d592bc03122422ed9349e",
1530+
"pattern": "^[0-9a-f]+$",
1531+
"type": "string"
1532+
}
1533+
},
1534+
"required": [
1535+
"algorithm",
1536+
"digest"
1537+
],
1538+
"type": "object"
1539+
},
14791540
"ImageConfig": {
14801541
"description": "Properties to set hardware and scheduling settings for an Image.",
14811542
"properties": {
@@ -1625,6 +1686,11 @@
16251686
],
16261687
"type": "object"
16271688
},
1689+
"ImageScope": {
1690+
"description": "Scope of an Image.",
1691+
"example": "local",
1692+
"type": "string"
1693+
},
16281694
"ImageStatus": {
16291695
"description": "The status of an image object.",
16301696
"example": "AVAILABLE",

services/iaas/v1beta1/iaas.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5571,7 +5571,7 @@
55715571
"type": "image"
55725572
}
55735573
},
5574-
"keypair": "keypair-517e9448-1cf1-4b36-9f29-6e66d669a6d2",
5574+
"keypairName": "keypair-517e9448-1cf1-4b36-9f29-6e66d669a6d2",
55755575
"labels": {
55765576
"foo": "Foo Value"
55775577
},

0 commit comments

Comments
 (0)