Skip to content

Commit

Permalink
Swagger correctness: Fix readonly properties & add additional cluster…
Browse files Browse the repository at this point in the history
… witness properties (#18573)
  • Loading branch information
bsomeshekar authored Apr 11, 2022
1 parent 58566da commit d48ca7e
Show file tree
Hide file tree
Showing 3 changed files with 84 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4900,6 +4900,7 @@
"AzureModularDataCentre"
],
"type": "string",
"readOnly": true,
"x-ms-enum": {
"name": "DataBoxEdgeDeviceKind",
"modelAsString": true
Expand Down Expand Up @@ -5026,6 +5027,45 @@
"$ref": "#/definitions/Secret"
},
"readOnly": true
},
"clusterWitnessType": {
"description": "Cluster Witness Type",
"enum": [
"None",
"Cloud",
"FileShare"
],
"type": "string",
"readOnly": true,
"x-ms-enum": {
"name": "ClusterWitnessType",
"modelAsString": true
}
},
"fileShareWitnessLocation": {
"description": "The witness location of file share.",
"type": "string",
"readOnly": true
},
"fileShareWitnessUsername": {
"description": "The username of file share.",
"type": "string",
"readOnly": true
},
"cloudWitnessStorageAccountName": {
"description": "The Cloud Witness Storage account name.",
"type": "string",
"readOnly": true
},
"cloudWitnessContainerName": {
"description": "The Container for cloud witness in the storage account.",
"type": "string",
"readOnly": true
},
"cloudWitnessStorageEndpoint": {
"description": "The Azure service endpoint of the cloud witness storage account.",
"type": "string",
"readOnly": true
}
}
},
Expand Down Expand Up @@ -5091,6 +5131,7 @@
"Maintenance"
],
"type": "string",
"readOnly": true,
"x-ms-enum": {
"name": "DataBoxEdgeDeviceStatus",
"modelAsString": true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4901,6 +4901,7 @@
"AzureModularDataCentre"
],
"type": "string",
"readOnly": true,
"x-ms-enum": {
"name": "DataBoxEdgeDeviceKind",
"modelAsString": true
Expand Down Expand Up @@ -5027,6 +5028,45 @@
"$ref": "#/definitions/Secret"
},
"readOnly": true
},
"clusterWitnessType": {
"description": "Cluster Witness Type",
"enum": [
"None",
"Cloud",
"FileShare"
],
"type": "string",
"readOnly": true,
"x-ms-enum": {
"name": "ClusterWitnessType",
"modelAsString": true
}
},
"fileShareWitnessLocation": {
"description": "The witness location of file share.",
"type": "string",
"readOnly": true
},
"fileShareWitnessUsername": {
"description": "The username of file share.",
"type": "string",
"readOnly": true
},
"cloudWitnessStorageAccountName": {
"description": "The Cloud Witness Storage account name.",
"type": "string",
"readOnly": true
},
"cloudWitnessContainerName": {
"description": "The Container for cloud witness in the storage account.",
"type": "string",
"readOnly": true
},
"cloudWitnessStorageEndpoint": {
"description": "The Azure service endpoint of the cloud witness storage account.",
"type": "string",
"readOnly": true
}
}
},
Expand Down Expand Up @@ -5092,6 +5132,7 @@
"Maintenance"
],
"type": "string",
"readOnly": true,
"x-ms-enum": {
"name": "DataBoxEdgeDeviceStatus",
"modelAsString": true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5148,6 +5148,7 @@
"AzureModularDataCentre"
],
"type": "string",
"readOnly": true,
"x-ms-enum": {
"name": "DataBoxEdgeDeviceKind",
"modelAsString": true
Expand Down Expand Up @@ -5386,6 +5387,7 @@
"Maintenance"
],
"type": "string",
"readOnly": true,
"x-ms-enum": {
"name": "DataBoxEdgeDeviceStatus",
"modelAsString": true
Expand Down

0 comments on commit d48ca7e

Please sign in to comment.