Add Tenant Health Details (#780)

* Add Tenant Health Details

Signed-off-by: Daniel Valdivia <18384552+dvaldivia@users.noreply.github.com>

* Colors

Signed-off-by: Daniel Valdivia <18384552+dvaldivia@users.noreply.github.com>
This commit is contained in:
Daniel Valdivia
2021-06-02 16:26:08 -07:00
committed by GitHub
parent 8ca6401ac0
commit f18360416b
10 changed files with 318 additions and 7 deletions

View File

@@ -6699,6 +6699,9 @@ func init() {
"$ref": "#/definitions/pool"
}
},
"status": {
"$ref": "#/definitions/tenantStatus"
},
"subnet_license": {
"$ref": "#/definitions/license"
},
@@ -6720,6 +6723,9 @@ func init() {
"deletion_date": {
"type": "string"
},
"health_status": {
"type": "string"
},
"instance_count": {
"type": "integer"
},
@@ -6777,6 +6783,30 @@ func init() {
}
}
},
"tenantStatus": {
"type": "object",
"properties": {
"drives_healing": {
"type": "integer",
"format": "int32"
},
"drives_offline": {
"type": "integer",
"format": "int32"
},
"drives_online": {
"type": "integer",
"format": "int32"
},
"health_status": {
"type": "string"
},
"write_quorum": {
"type": "integer",
"format": "int32"
}
}
},
"tenantUsage": {
"type": "object",
"properties": {
@@ -14398,6 +14428,9 @@ func init() {
"$ref": "#/definitions/pool"
}
},
"status": {
"$ref": "#/definitions/tenantStatus"
},
"subnet_license": {
"$ref": "#/definitions/license"
},
@@ -14419,6 +14452,9 @@ func init() {
"deletion_date": {
"type": "string"
},
"health_status": {
"type": "string"
},
"instance_count": {
"type": "integer"
},
@@ -14476,6 +14512,30 @@ func init() {
}
}
},
"tenantStatus": {
"type": "object",
"properties": {
"drives_healing": {
"type": "integer",
"format": "int32"
},
"drives_offline": {
"type": "integer",
"format": "int32"
},
"drives_online": {
"type": "integer",
"format": "int32"
},
"health_status": {
"type": "string"
},
"write_quorum": {
"type": "integer",
"format": "int32"
}
}
},
"tenantUsage": {
"type": "object",
"properties": {