Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Swagger correctness: Fix readonly properties & add additional cluster witness properties #18573

Merged
merged 1 commit into from
Apr 11, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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