Skip to content

Commit

Permalink
storage container changes (Azure#6614)
Browse files Browse the repository at this point in the history
* storage container changes

* added availableSizeGB and containerSizeGB properties

* changed data type of containersize and availablesize

* converted gb to mb

* made availableSizeMB and containerSizeMB fields readonly

Co-authored-by: Vishal Kadam <vishalkadam@microsoft.com>
  • Loading branch information
vishal-kadam and Vishal Kadam authored Apr 6, 2022
1 parent eb6f174 commit bc5131b
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@
"properties": {
"path": {
"type": "string",
"description": "location of the image the gallery image should be created from"
"description": "Path of the storage container on the disk"
},
"provisioningState": {
"type": "string"
Expand All @@ -305,6 +305,18 @@
"type": "string",
"description": "name of the object to be used in moc"
},
"availableSizeMB": {
"type": "integer",
"format": "int64",
"readOnly": true,
"description": "Amount of space available on the disk in MB"
},
"containerSizeMB": {
"type": "integer",
"format": "int64",
"readOnly": true,
"description": "Total size of the disk in MB"
},
"status": {
"type": "object",
"description": "MOCStorageContainerStatus defines the observed state of MOCStorageContainer"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -317,6 +317,10 @@
"provisioningState": {
"type": "string"
},
"containerId": {
"type": "string",
"description": "Storage ContainerID of the storage container to be used for VHD"
},
"resourceName": {
"type": "string",
"description": "name of the object to be used in moc"
Expand Down

0 comments on commit bc5131b

Please sign in to comment.