Skip to content

Commit f37b039

Browse files
bsomeshekarFredericHeem
authored andcommitted
Swagger correctness: Fix readonly properties & add additional cluster witness properties (Azure#18573)
1 parent 2d78592 commit f37b039

File tree

3 files changed

+84
-0
lines changed

3 files changed

+84
-0
lines changed

specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/preview/2021-06-01-preview/databoxedge.json

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4900,6 +4900,7 @@
49004900
"AzureModularDataCentre"
49014901
],
49024902
"type": "string",
4903+
"readOnly": true,
49034904
"x-ms-enum": {
49044905
"name": "DataBoxEdgeDeviceKind",
49054906
"modelAsString": true
@@ -5026,6 +5027,45 @@
50265027
"$ref": "#/definitions/Secret"
50275028
},
50285029
"readOnly": true
5030+
},
5031+
"clusterWitnessType": {
5032+
"description": "Cluster Witness Type",
5033+
"enum": [
5034+
"None",
5035+
"Cloud",
5036+
"FileShare"
5037+
],
5038+
"type": "string",
5039+
"readOnly": true,
5040+
"x-ms-enum": {
5041+
"name": "ClusterWitnessType",
5042+
"modelAsString": true
5043+
}
5044+
},
5045+
"fileShareWitnessLocation": {
5046+
"description": "The witness location of file share.",
5047+
"type": "string",
5048+
"readOnly": true
5049+
},
5050+
"fileShareWitnessUsername": {
5051+
"description": "The username of file share.",
5052+
"type": "string",
5053+
"readOnly": true
5054+
},
5055+
"cloudWitnessStorageAccountName": {
5056+
"description": "The Cloud Witness Storage account name.",
5057+
"type": "string",
5058+
"readOnly": true
5059+
},
5060+
"cloudWitnessContainerName": {
5061+
"description": "The Container for cloud witness in the storage account.",
5062+
"type": "string",
5063+
"readOnly": true
5064+
},
5065+
"cloudWitnessStorageEndpoint": {
5066+
"description": "The Azure service endpoint of the cloud witness storage account.",
5067+
"type": "string",
5068+
"readOnly": true
50295069
}
50305070
}
50315071
},
@@ -5091,6 +5131,7 @@
50915131
"Maintenance"
50925132
],
50935133
"type": "string",
5134+
"readOnly": true,
50945135
"x-ms-enum": {
50955136
"name": "DataBoxEdgeDeviceStatus",
50965137
"modelAsString": true

specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2021-06-01/databoxedge.json

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4901,6 +4901,7 @@
49014901
"AzureModularDataCentre"
49024902
],
49034903
"type": "string",
4904+
"readOnly": true,
49044905
"x-ms-enum": {
49054906
"name": "DataBoxEdgeDeviceKind",
49064907
"modelAsString": true
@@ -5027,6 +5028,45 @@
50275028
"$ref": "#/definitions/Secret"
50285029
},
50295030
"readOnly": true
5031+
},
5032+
"clusterWitnessType": {
5033+
"description": "Cluster Witness Type",
5034+
"enum": [
5035+
"None",
5036+
"Cloud",
5037+
"FileShare"
5038+
],
5039+
"type": "string",
5040+
"readOnly": true,
5041+
"x-ms-enum": {
5042+
"name": "ClusterWitnessType",
5043+
"modelAsString": true
5044+
}
5045+
},
5046+
"fileShareWitnessLocation": {
5047+
"description": "The witness location of file share.",
5048+
"type": "string",
5049+
"readOnly": true
5050+
},
5051+
"fileShareWitnessUsername": {
5052+
"description": "The username of file share.",
5053+
"type": "string",
5054+
"readOnly": true
5055+
},
5056+
"cloudWitnessStorageAccountName": {
5057+
"description": "The Cloud Witness Storage account name.",
5058+
"type": "string",
5059+
"readOnly": true
5060+
},
5061+
"cloudWitnessContainerName": {
5062+
"description": "The Container for cloud witness in the storage account.",
5063+
"type": "string",
5064+
"readOnly": true
5065+
},
5066+
"cloudWitnessStorageEndpoint": {
5067+
"description": "The Azure service endpoint of the cloud witness storage account.",
5068+
"type": "string",
5069+
"readOnly": true
50305070
}
50315071
}
50325072
},
@@ -5092,6 +5132,7 @@
50925132
"Maintenance"
50935133
],
50945134
"type": "string",
5135+
"readOnly": true,
50955136
"x-ms-enum": {
50965137
"name": "DataBoxEdgeDeviceStatus",
50975138
"modelAsString": true

specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/databoxedge.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5148,6 +5148,7 @@
51485148
"AzureModularDataCentre"
51495149
],
51505150
"type": "string",
5151+
"readOnly": true,
51515152
"x-ms-enum": {
51525153
"name": "DataBoxEdgeDeviceKind",
51535154
"modelAsString": true
@@ -5386,6 +5387,7 @@
53865387
"Maintenance"
53875388
],
53885389
"type": "string",
5390+
"readOnly": true,
53895391
"x-ms-enum": {
53905392
"name": "DataBoxEdgeDeviceStatus",
53915393
"modelAsString": true

0 commit comments

Comments
 (0)