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

[AutoPR databoxedge] Swagger correctness: Fix readonly properties & add additional cluster witness properties #6160

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
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
37 changes: 0 additions & 37 deletions schemas/2021-06-01-preview/Microsoft.DataBoxEdge.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,23 +28,6 @@
],
"description": "Msi identity details of the resource"
},
"kind": {
"oneOf": [
{
"type": "string",
"enum": [
"AzureDataBoxGateway",
"AzureStackEdge",
"AzureStackHub",
"AzureModularDataCentre"
]
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "The kind of the device."
},
"location": {
"type": "string",
"description": "The location of the device. This is a supported and registered Azure geographical region (for example, West US, East US, or Southeast Asia). The geographical region of a device cannot be changed once it is created, but if an identical geographical region is specified on update, the request will succeed."
Expand Down Expand Up @@ -1261,26 +1244,6 @@
"DataBoxEdgeDeviceProperties": {
"type": "object",
"properties": {
"dataBoxEdgeDeviceStatus": {
"oneOf": [
{
"type": "string",
"enum": [
"ReadyToSetup",
"Online",
"Offline",
"NeedsAttention",
"Disconnected",
"PartiallyDisconnected",
"Maintenance"
]
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "The status of the Data Box Edge/Gateway device."
},
"dataResidency": {
"oneOf": [
{
Expand Down
37 changes: 0 additions & 37 deletions schemas/2021-06-01/Microsoft.DataBoxEdge.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,23 +28,6 @@
],
"description": "Msi identity details of the resource"
},
"kind": {
"oneOf": [
{
"type": "string",
"enum": [
"AzureDataBoxGateway",
"AzureStackEdge",
"AzureStackHub",
"AzureModularDataCentre"
]
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "The kind of the device."
},
"location": {
"type": "string",
"description": "The location of the device. This is a supported and registered Azure geographical region (for example, West US, East US, or Southeast Asia). The geographical region of a device cannot be changed once it is created, but if an identical geographical region is specified on update, the request will succeed."
Expand Down Expand Up @@ -1261,26 +1244,6 @@
"DataBoxEdgeDeviceProperties": {
"type": "object",
"properties": {
"dataBoxEdgeDeviceStatus": {
"oneOf": [
{
"type": "string",
"enum": [
"ReadyToSetup",
"Online",
"Offline",
"NeedsAttention",
"Disconnected",
"PartiallyDisconnected",
"Maintenance"
]
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "The status of the Data Box Edge/Gateway device."
},
"dataResidency": {
"oneOf": [
{
Expand Down
37 changes: 0 additions & 37 deletions schemas/2022-03-01/Microsoft.DataBoxEdge.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,23 +28,6 @@
],
"description": "Msi identity details of the resource"
},
"kind": {
"oneOf": [
{
"type": "string",
"enum": [
"AzureDataBoxGateway",
"AzureStackEdge",
"AzureStackHub",
"AzureModularDataCentre"
]
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "The kind of the device."
},
"location": {
"type": "string",
"description": "The location of the device. This is a supported and registered Azure geographical region (for example, West US, East US, or Southeast Asia). The geographical region of a device cannot be changed once it is created, but if an identical geographical region is specified on update, the request will succeed."
Expand Down Expand Up @@ -1107,26 +1090,6 @@
"DataBoxEdgeDeviceProperties": {
"type": "object",
"properties": {
"dataBoxEdgeDeviceStatus": {
"oneOf": [
{
"type": "string",
"enum": [
"ReadyToSetup",
"Online",
"Offline",
"NeedsAttention",
"Disconnected",
"PartiallyDisconnected",
"Maintenance"
]
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "The status of the Data Box Edge/Gateway device."
},
"dataResidency": {
"oneOf": [
{
Expand Down