Skip to content

Commit

Permalink
s360 fixes for Azure DNS (#11591)
Browse files Browse the repository at this point in the history
* s360 fixes for Azure DNS

* Additional property

* Property fix

* Readonly property

* CloudError fix

* Examples. cloud error

* Avocado fix

* read.md

* Prettier
  • Loading branch information
vladrai authored Nov 18, 2020
1 parent 1c4219a commit b47a321
Show file tree
Hide file tree
Showing 113 changed files with 8,367 additions and 57 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1384,6 +1384,12 @@
"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.",
"readOnly": true
},
"maxNumberOfRecordsPerRecordSet": {
"type": "integer",
"format": "int64",
"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.",
"readOnly": true
},
"numberOfRecordSets": {
"type": "integer",
"format": "int64",
Expand Down Expand Up @@ -1487,40 +1493,40 @@
},
"CloudError": {
"type": "object",
"x-ms-external": true,
"properties": {
"error": {
"$ref": "#/definitions/CloudErrorBody",
"description": "The error message body"
"description": "Cloud error body."
}
},
"x-ms-external": true,
"description": "An error message"
"description": "An error response from the service."
},
"CloudErrorBody": {
"type": "object",
"x-ms-external": true,
"properties": {
"code": {
"type": "string",
"description": "The error code"
"description": "An identifier for the error. Codes are invariant and are intended to be consumed programmatically."
},
"message": {
"type": "string",
"description": "A description of what caused the error"
"description": "A message describing the error, intended to be suitable for display in a user interface."
},
"target": {
"type": "string",
"description": "The target resource of the error message"
"description": "The target of the particular error. For example, the name of the property in error."
},
"details": {
"type": "array",
"items": {
"$ref": "#/definitions/CloudErrorBody"
},
"description": "Extra error information"
"description": "A list of additional details about the error."
}
},
"x-ms-external": true,
"description": "The body of an error message"
"description": "An error response from the service."
}
},
"parameters": {}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -892,6 +892,11 @@
"format": "int64",
"description": "The TTL (time-to-live) of the records in the record set."
},
"fqdn": {
"type": "string",
"description": "Fully qualified domain name of the record set.",
"readOnly": true
},
"ARecords": {
"type": "array",
"items": {
Expand Down Expand Up @@ -1018,6 +1023,12 @@
"format": "int64",
"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."
},
"maxNumberOfRecordsPerRecordSet": {
"type": "integer",
"format": "int64",
"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.",
"readOnly": true
},
"numberOfRecordSets": {
"type": "integer",
"format": "int64",
Expand Down Expand Up @@ -1160,33 +1171,40 @@
},
"CloudError": {
"type": "object",
"x-ms-external": true,
"properties": {
"error": {
"$ref": "#/definitions/CloudErrorBody"
"$ref": "#/definitions/CloudErrorBody",
"description": "Cloud error body."
}
},
"x-ms-external": true
"description": "An error response from the service."
},
"CloudErrorBody": {
"type": "object",
"x-ms-external": true,
"properties": {
"code": {
"type": "string"
"type": "string",
"description": "An identifier for the error. Codes are invariant and are intended to be consumed programmatically."
},
"message": {
"type": "string"
"type": "string",
"description": "A message describing the error, intended to be suitable for display in a user interface."
},
"target": {
"type": "string"
"type": "string",
"description": "The target of the particular error. For example, the name of the property in error."
},
"details": {
"type": "array",
"items": {
"$ref": "#/definitions/CloudErrorBody"
}
},
"description": "A list of additional details about the error."
}
},
"x-ms-external": true
"description": "An error response from the service."
}
},
"parameters": {}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1123,6 +1123,12 @@
"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.",
"readOnly": true
},
"maxNumberOfRecordsPerRecordSet": {
"type": "integer",
"format": "int64",
"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.",
"readOnly": true
},
"numberOfRecordSets": {
"type": "integer",
"format": "int64",
Expand Down Expand Up @@ -1188,40 +1194,40 @@
},
"CloudError": {
"type": "object",
"x-ms-external": true,
"properties": {
"error": {
"$ref": "#/definitions/CloudErrorBody",
"description": "The error message body"
"description": "Cloud error body."
}
},
"x-ms-external": true,
"description": "An error message"
"description": "An error response from the service."
},
"CloudErrorBody": {
"type": "object",
"x-ms-external": true,
"properties": {
"code": {
"type": "string",
"description": "The error code"
"description": "An identifier for the error. Codes are invariant and are intended to be consumed programmatically."
},
"message": {
"type": "string",
"description": "A description of what caused the error"
"description": "A message describing the error, intended to be suitable for display in a user interface."
},
"target": {
"type": "string",
"description": "The target resource of the error message"
"description": "The target of the particular error. For example, the name of the property in error."
},
"details": {
"type": "array",
"items": {
"$ref": "#/definitions/CloudErrorBody"
},
"description": "Extra error information"
"description": "A list of additional details about the error."
}
},
"x-ms-external": true,
"description": "The body of an error message"
"description": "An error response from the service."
}
},
"parameters": {}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1381,6 +1381,12 @@
"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.",
"readOnly": true
},
"maxNumberOfRecordsPerRecordSet": {
"type": "integer",
"format": "int64",
"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.",
"readOnly": true
},
"numberOfRecordSets": {
"type": "integer",
"format": "int64",
Expand Down Expand Up @@ -1458,40 +1464,40 @@
},
"CloudError": {
"type": "object",
"x-ms-external": true,
"properties": {
"error": {
"$ref": "#/definitions/CloudErrorBody",
"description": "The error message body"
"description": "Cloud error body."
}
},
"x-ms-external": true,
"description": "An error message"
"description": "An error response from the service."
},
"CloudErrorBody": {
"type": "object",
"x-ms-external": true,
"properties": {
"code": {
"type": "string",
"description": "The error code"
"description": "An identifier for the error. Codes are invariant and are intended to be consumed programmatically."
},
"message": {
"type": "string",
"description": "A description of what caused the error"
"description": "A message describing the error, intended to be suitable for display in a user interface."
},
"target": {
"type": "string",
"description": "The target resource of the error message"
"description": "The target of the particular error. For example, the name of the property in error."
},
"details": {
"type": "array",
"items": {
"$ref": "#/definitions/CloudErrorBody"
},
"description": "Extra error information"
"description": "A list of additional details about the error."
}
},
"x-ms-external": true,
"description": "The body of an error message"
"description": "An error response from the service."
}
},
"parameters": {}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1483,6 +1483,12 @@
"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.",
"readOnly": true
},
"maxNumberOfRecordsPerRecordSet": {
"type": "integer",
"format": "int64",
"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.",
"readOnly": true
},
"numberOfRecordSets": {
"type": "integer",
"format": "int64",
Expand Down Expand Up @@ -1685,40 +1691,40 @@
},
"CloudError": {
"type": "object",
"x-ms-external": true,
"properties": {
"error": {
"$ref": "#/definitions/CloudErrorBody",
"description": "The error message body"
"description": "Cloud error body."
}
},
"x-ms-external": true,
"description": "An error message"
"description": "An error response from the service."
},
"CloudErrorBody": {
"type": "object",
"x-ms-external": true,
"properties": {
"code": {
"type": "string",
"description": "The error code"
"description": "An identifier for the error. Codes are invariant and are intended to be consumed programmatically."
},
"message": {
"type": "string",
"description": "A description of what caused the error"
"description": "A message describing the error, intended to be suitable for display in a user interface."
},
"target": {
"type": "string",
"description": "The target resource of the error message"
"description": "The target of the particular error. For example, the name of the property in error."
},
"details": {
"type": "array",
"items": {
"$ref": "#/definitions/CloudErrorBody"
},
"description": "Extra error information"
"description": "A list of additional details about the error."
}
},
"x-ms-external": true,
"description": "The body of an error message"
"description": "An error response from the service."
}
},
"parameters": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,13 @@
"api-version": "2018-05-01",
"subscriptionId": "subid",
"parameters": {
"targetResources": [
{
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/trafficManagerProfiles/testpp2"
}
]
"properties": {
"targetResources": [
{
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/trafficManagerProfiles/testpp2"
}
]
}
}
},
"responses": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1864,40 +1864,40 @@
},
"CloudError": {
"type": "object",
"x-ms-external": true,
"properties": {
"error": {
"$ref": "#/definitions/CloudErrorBody",
"description": "The error message body"
"description": "Cloud error body."
}
},
"x-ms-external": true,
"description": "An error message"
"description": "An error response from the service."
},
"CloudErrorBody": {
"type": "object",
"x-ms-external": true,
"properties": {
"code": {
"type": "string",
"description": "The error code"
"description": "An identifier for the error. Codes are invariant and are intended to be consumed programmatically."
},
"message": {
"type": "string",
"description": "A description of what caused the error"
"description": "A message describing the error, intended to be suitable for display in a user interface."
},
"target": {
"type": "string",
"description": "The target resource of the error message"
"description": "The target of the particular error. For example, the name of the property in error."
},
"details": {
"type": "array",
"items": {
"$ref": "#/definitions/CloudErrorBody"
},
"description": "Extra error information"
"description": "A list of additional details about the error."
}
},
"x-ms-external": true,
"description": "The body of an error message"
"description": "An error response from the service."
}
},
"parameters": {
Expand Down
Loading

0 comments on commit b47a321

Please sign in to comment.