Skip to content

Commit b47a321

Browse files
authored
s360 fixes for Azure DNS (#11591)
* s360 fixes for Azure DNS * Additional property * Property fix * Readonly property * CloudError fix * Examples. cloud error * Avocado fix * read.md * Prettier
1 parent 1c4219a commit b47a321

File tree

113 files changed

+8367
-57
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

113 files changed

+8367
-57
lines changed

specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/dns.json

Lines changed: 15 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1384,6 +1384,12 @@
13841384
"description": "The maximum number of record sets that can be created in this DNS zone. This is a read-only property and any attempt to set this value will be ignored.",
13851385
"readOnly": true
13861386
},
1387+
"maxNumberOfRecordsPerRecordSet": {
1388+
"type": "integer",
1389+
"format": "int64",
1390+
"description": "The maximum number of records per record set that can be created in this DNS zone. This is a read-only property and any attempt to set this value will be ignored.",
1391+
"readOnly": true
1392+
},
13871393
"numberOfRecordSets": {
13881394
"type": "integer",
13891395
"format": "int64",
@@ -1487,40 +1493,40 @@
14871493
},
14881494
"CloudError": {
14891495
"type": "object",
1496+
"x-ms-external": true,
14901497
"properties": {
14911498
"error": {
14921499
"$ref": "#/definitions/CloudErrorBody",
1493-
"description": "The error message body"
1500+
"description": "Cloud error body."
14941501
}
14951502
},
1496-
"x-ms-external": true,
1497-
"description": "An error message"
1503+
"description": "An error response from the service."
14981504
},
14991505
"CloudErrorBody": {
15001506
"type": "object",
1507+
"x-ms-external": true,
15011508
"properties": {
15021509
"code": {
15031510
"type": "string",
1504-
"description": "The error code"
1511+
"description": "An identifier for the error. Codes are invariant and are intended to be consumed programmatically."
15051512
},
15061513
"message": {
15071514
"type": "string",
1508-
"description": "A description of what caused the error"
1515+
"description": "A message describing the error, intended to be suitable for display in a user interface."
15091516
},
15101517
"target": {
15111518
"type": "string",
1512-
"description": "The target resource of the error message"
1519+
"description": "The target of the particular error. For example, the name of the property in error."
15131520
},
15141521
"details": {
15151522
"type": "array",
15161523
"items": {
15171524
"$ref": "#/definitions/CloudErrorBody"
15181525
},
1519-
"description": "Extra error information"
1526+
"description": "A list of additional details about the error."
15201527
}
15211528
},
1522-
"x-ms-external": true,
1523-
"description": "The body of an error message"
1529+
"description": "An error response from the service."
15241530
}
15251531
},
15261532
"parameters": {}

specification/dns/resource-manager/Microsoft.Network/stable/2016-04-01/dns.json

Lines changed: 25 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -892,6 +892,11 @@
892892
"format": "int64",
893893
"description": "The TTL (time-to-live) of the records in the record set."
894894
},
895+
"fqdn": {
896+
"type": "string",
897+
"description": "Fully qualified domain name of the record set.",
898+
"readOnly": true
899+
},
895900
"ARecords": {
896901
"type": "array",
897902
"items": {
@@ -1018,6 +1023,12 @@
10181023
"format": "int64",
10191024
"description": "The maximum number of record sets that can be created in this DNS zone. This is a read-only property and any attempt to set this value will be ignored."
10201025
},
1026+
"maxNumberOfRecordsPerRecordSet": {
1027+
"type": "integer",
1028+
"format": "int64",
1029+
"description": "The maximum number of records per record set that can be created in this DNS zone. This is a read-only property and any attempt to set this value will be ignored.",
1030+
"readOnly": true
1031+
},
10211032
"numberOfRecordSets": {
10221033
"type": "integer",
10231034
"format": "int64",
@@ -1160,33 +1171,40 @@
11601171
},
11611172
"CloudError": {
11621173
"type": "object",
1174+
"x-ms-external": true,
11631175
"properties": {
11641176
"error": {
1165-
"$ref": "#/definitions/CloudErrorBody"
1177+
"$ref": "#/definitions/CloudErrorBody",
1178+
"description": "Cloud error body."
11661179
}
11671180
},
1168-
"x-ms-external": true
1181+
"description": "An error response from the service."
11691182
},
11701183
"CloudErrorBody": {
11711184
"type": "object",
1185+
"x-ms-external": true,
11721186
"properties": {
11731187
"code": {
1174-
"type": "string"
1188+
"type": "string",
1189+
"description": "An identifier for the error. Codes are invariant and are intended to be consumed programmatically."
11751190
},
11761191
"message": {
1177-
"type": "string"
1192+
"type": "string",
1193+
"description": "A message describing the error, intended to be suitable for display in a user interface."
11781194
},
11791195
"target": {
1180-
"type": "string"
1196+
"type": "string",
1197+
"description": "The target of the particular error. For example, the name of the property in error."
11811198
},
11821199
"details": {
11831200
"type": "array",
11841201
"items": {
11851202
"$ref": "#/definitions/CloudErrorBody"
1186-
}
1203+
},
1204+
"description": "A list of additional details about the error."
11871205
}
11881206
},
1189-
"x-ms-external": true
1207+
"description": "An error response from the service."
11901208
}
11911209
},
11921210
"parameters": {}

specification/dns/resource-manager/Microsoft.Network/stable/2017-09-01/dns.json

Lines changed: 15 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1123,6 +1123,12 @@
11231123
"description": "The maximum number of record sets that can be created in this DNS zone. This is a read-only property and any attempt to set this value will be ignored.",
11241124
"readOnly": true
11251125
},
1126+
"maxNumberOfRecordsPerRecordSet": {
1127+
"type": "integer",
1128+
"format": "int64",
1129+
"description": "The maximum number of records per record set that can be created in this DNS zone. This is a read-only property and any attempt to set this value will be ignored.",
1130+
"readOnly": true
1131+
},
11261132
"numberOfRecordSets": {
11271133
"type": "integer",
11281134
"format": "int64",
@@ -1188,40 +1194,40 @@
11881194
},
11891195
"CloudError": {
11901196
"type": "object",
1197+
"x-ms-external": true,
11911198
"properties": {
11921199
"error": {
11931200
"$ref": "#/definitions/CloudErrorBody",
1194-
"description": "The error message body"
1201+
"description": "Cloud error body."
11951202
}
11961203
},
1197-
"x-ms-external": true,
1198-
"description": "An error message"
1204+
"description": "An error response from the service."
11991205
},
12001206
"CloudErrorBody": {
12011207
"type": "object",
1208+
"x-ms-external": true,
12021209
"properties": {
12031210
"code": {
12041211
"type": "string",
1205-
"description": "The error code"
1212+
"description": "An identifier for the error. Codes are invariant and are intended to be consumed programmatically."
12061213
},
12071214
"message": {
12081215
"type": "string",
1209-
"description": "A description of what caused the error"
1216+
"description": "A message describing the error, intended to be suitable for display in a user interface."
12101217
},
12111218
"target": {
12121219
"type": "string",
1213-
"description": "The target resource of the error message"
1220+
"description": "The target of the particular error. For example, the name of the property in error."
12141221
},
12151222
"details": {
12161223
"type": "array",
12171224
"items": {
12181225
"$ref": "#/definitions/CloudErrorBody"
12191226
},
1220-
"description": "Extra error information"
1227+
"description": "A list of additional details about the error."
12211228
}
12221229
},
1223-
"x-ms-external": true,
1224-
"description": "The body of an error message"
1230+
"description": "An error response from the service."
12251231
}
12261232
},
12271233
"parameters": {}

specification/dns/resource-manager/Microsoft.Network/stable/2017-10-01/dns.json

Lines changed: 15 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1381,6 +1381,12 @@
13811381
"description": "The maximum number of record sets that can be created in this DNS zone. This is a read-only property and any attempt to set this value will be ignored.",
13821382
"readOnly": true
13831383
},
1384+
"maxNumberOfRecordsPerRecordSet": {
1385+
"type": "integer",
1386+
"format": "int64",
1387+
"description": "The maximum number of records per record set that can be created in this DNS zone. This is a read-only property and any attempt to set this value will be ignored.",
1388+
"readOnly": true
1389+
},
13841390
"numberOfRecordSets": {
13851391
"type": "integer",
13861392
"format": "int64",
@@ -1458,40 +1464,40 @@
14581464
},
14591465
"CloudError": {
14601466
"type": "object",
1467+
"x-ms-external": true,
14611468
"properties": {
14621469
"error": {
14631470
"$ref": "#/definitions/CloudErrorBody",
1464-
"description": "The error message body"
1471+
"description": "Cloud error body."
14651472
}
14661473
},
1467-
"x-ms-external": true,
1468-
"description": "An error message"
1474+
"description": "An error response from the service."
14691475
},
14701476
"CloudErrorBody": {
14711477
"type": "object",
1478+
"x-ms-external": true,
14721479
"properties": {
14731480
"code": {
14741481
"type": "string",
1475-
"description": "The error code"
1482+
"description": "An identifier for the error. Codes are invariant and are intended to be consumed programmatically."
14761483
},
14771484
"message": {
14781485
"type": "string",
1479-
"description": "A description of what caused the error"
1486+
"description": "A message describing the error, intended to be suitable for display in a user interface."
14801487
},
14811488
"target": {
14821489
"type": "string",
1483-
"description": "The target resource of the error message"
1490+
"description": "The target of the particular error. For example, the name of the property in error."
14841491
},
14851492
"details": {
14861493
"type": "array",
14871494
"items": {
14881495
"$ref": "#/definitions/CloudErrorBody"
14891496
},
1490-
"description": "Extra error information"
1497+
"description": "A list of additional details about the error."
14911498
}
14921499
},
1493-
"x-ms-external": true,
1494-
"description": "The body of an error message"
1500+
"description": "An error response from the service."
14951501
}
14961502
},
14971503
"parameters": {}

specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/dns.json

Lines changed: 15 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1483,6 +1483,12 @@
14831483
"description": "The maximum number of record sets that can be created in this DNS zone. This is a read-only property and any attempt to set this value will be ignored.",
14841484
"readOnly": true
14851485
},
1486+
"maxNumberOfRecordsPerRecordSet": {
1487+
"type": "integer",
1488+
"format": "int64",
1489+
"description": "The maximum number of records per record set that can be created in this DNS zone. This is a read-only property and any attempt to set this value will be ignored.",
1490+
"readOnly": true
1491+
},
14861492
"numberOfRecordSets": {
14871493
"type": "integer",
14881494
"format": "int64",
@@ -1685,40 +1691,40 @@
16851691
},
16861692
"CloudError": {
16871693
"type": "object",
1694+
"x-ms-external": true,
16881695
"properties": {
16891696
"error": {
16901697
"$ref": "#/definitions/CloudErrorBody",
1691-
"description": "The error message body"
1698+
"description": "Cloud error body."
16921699
}
16931700
},
1694-
"x-ms-external": true,
1695-
"description": "An error message"
1701+
"description": "An error response from the service."
16961702
},
16971703
"CloudErrorBody": {
16981704
"type": "object",
1705+
"x-ms-external": true,
16991706
"properties": {
17001707
"code": {
17011708
"type": "string",
1702-
"description": "The error code"
1709+
"description": "An identifier for the error. Codes are invariant and are intended to be consumed programmatically."
17031710
},
17041711
"message": {
17051712
"type": "string",
1706-
"description": "A description of what caused the error"
1713+
"description": "A message describing the error, intended to be suitable for display in a user interface."
17071714
},
17081715
"target": {
17091716
"type": "string",
1710-
"description": "The target resource of the error message"
1717+
"description": "The target of the particular error. For example, the name of the property in error."
17111718
},
17121719
"details": {
17131720
"type": "array",
17141721
"items": {
17151722
"$ref": "#/definitions/CloudErrorBody"
17161723
},
1717-
"description": "Extra error information"
1724+
"description": "A list of additional details about the error."
17181725
}
17191726
},
1720-
"x-ms-external": true,
1721-
"description": "The body of an error message"
1727+
"description": "An error response from the service."
17221728
}
17231729
},
17241730
"parameters": {

specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples/GetDnsResourceReference.json

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,13 @@
33
"api-version": "2018-05-01",
44
"subscriptionId": "subid",
55
"parameters": {
6-
"targetResources": [
7-
{
8-
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/trafficManagerProfiles/testpp2"
9-
}
10-
]
6+
"properties": {
7+
"targetResources": [
8+
{
9+
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/trafficManagerProfiles/testpp2"
10+
}
11+
]
12+
}
1113
}
1214
},
1315
"responses": {

specification/privatedns/resource-manager/Microsoft.Network/stable/2018-09-01/privatedns.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1864,40 +1864,40 @@
18641864
},
18651865
"CloudError": {
18661866
"type": "object",
1867+
"x-ms-external": true,
18671868
"properties": {
18681869
"error": {
18691870
"$ref": "#/definitions/CloudErrorBody",
1870-
"description": "The error message body"
1871+
"description": "Cloud error body."
18711872
}
18721873
},
1873-
"x-ms-external": true,
1874-
"description": "An error message"
1874+
"description": "An error response from the service."
18751875
},
18761876
"CloudErrorBody": {
18771877
"type": "object",
1878+
"x-ms-external": true,
18781879
"properties": {
18791880
"code": {
18801881
"type": "string",
1881-
"description": "The error code"
1882+
"description": "An identifier for the error. Codes are invariant and are intended to be consumed programmatically."
18821883
},
18831884
"message": {
18841885
"type": "string",
1885-
"description": "A description of what caused the error"
1886+
"description": "A message describing the error, intended to be suitable for display in a user interface."
18861887
},
18871888
"target": {
18881889
"type": "string",
1889-
"description": "The target resource of the error message"
1890+
"description": "The target of the particular error. For example, the name of the property in error."
18901891
},
18911892
"details": {
18921893
"type": "array",
18931894
"items": {
18941895
"$ref": "#/definitions/CloudErrorBody"
18951896
},
1896-
"description": "Extra error information"
1897+
"description": "A list of additional details about the error."
18971898
}
18981899
},
1899-
"x-ms-external": true,
1900-
"description": "The body of an error message"
1900+
"description": "An error response from the service."
19011901
}
19021902
},
19031903
"parameters": {

0 commit comments

Comments
 (0)