Skip to content

Commit

Permalink
Add RecordTypeParameter to remove duplicate configs
Browse files Browse the repository at this point in the history
  • Loading branch information
Vatsalya Chauhan committed Apr 26, 2023
1 parent ea56588 commit f97bd65
Showing 1 changed file with 33 additions and 105 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -365,27 +365,8 @@
"$ref": "#/parameters/ApiVersionParameter"
},
{
"name": "recordType",
"in": "path",
"required": true,
"type": "string",
"description": "The type of DNS record in this record set.",
"enum": [
"A",
"AAAA",
"CAA",
"CNAME",
"MX",
"NS",
"PTR",
"SOA",
"SRV",
"TXT"
],
"x-ms-enum": {
"name": "RecordType",
"modelAsString": false
}
"$ref": "#/parameters/RecordTypeParameter",
"description": "The type of DNS record in this record set."
},
{
"name": "parameters",
Expand Down Expand Up @@ -475,27 +456,8 @@
"$ref": "#/parameters/ApiVersionParameter"
},
{
"name": "recordType",
"in": "path",
"required": true,
"type": "string",
"description": "The type of DNS record in this record set. Record sets of type SOA can be updated but not created (they are created when the DNS zone is created).",
"enum": [
"A",
"AAAA",
"CAA",
"CNAME",
"MX",
"NS",
"PTR",
"SOA",
"SRV",
"TXT"
],
"x-ms-enum": {
"name": "RecordType",
"modelAsString": false
}
"$ref": "#/parameters/RecordTypeParameter",
"description": "The type of DNS record in this record set. Record sets of type SOA can be updated but not created (they are created when the DNS zone is created)."
},
{
"name": "parameters",
Expand Down Expand Up @@ -602,27 +564,8 @@
"$ref": "#/parameters/ApiVersionParameter"
},
{
"name": "recordType",
"in": "path",
"required": true,
"type": "string",
"description": "The type of DNS record in this record set. Record sets of type SOA cannot be deleted (they are deleted when the DNS zone is deleted).",
"enum": [
"A",
"AAAA",
"CAA",
"CNAME",
"MX",
"NS",
"PTR",
"SOA",
"SRV",
"TXT"
],
"x-ms-enum": {
"name": "RecordType",
"modelAsString": false
}
"$ref": "#/parameters/RecordTypeParameter",
"description": "The type of DNS record in this record set. Record sets of type SOA cannot be deleted (they are deleted when the DNS zone is deleted)."
},
{
"name": "If-Match",
Expand Down Expand Up @@ -700,27 +643,8 @@
"$ref": "#/parameters/ApiVersionParameter"
},
{
"name": "recordType",
"in": "path",
"required": true,
"type": "string",
"description": "The type of DNS record in this record set.",
"enum": [
"A",
"AAAA",
"CAA",
"CNAME",
"MX",
"NS",
"PTR",
"SOA",
"SRV",
"TXT"
],
"x-ms-enum": {
"name": "RecordType",
"modelAsString": false
}
"$ref": "#/parameters/RecordTypeParameter",
"description": "The type of DNS record in this record set."
}
],
"responses": {
Expand Down Expand Up @@ -792,27 +716,8 @@
"$ref": "#/parameters/ApiVersionParameter"
},
{
"name": "recordType",
"in": "path",
"required": true,
"type": "string",
"description": "The type of record sets to enumerate.",
"enum": [
"A",
"AAAA",
"CAA",
"CNAME",
"MX",
"NS",
"PTR",
"SOA",
"SRV",
"TXT"
],
"x-ms-enum": {
"name": "RecordType",
"modelAsString": false
}
"$ref": "#/parameters/RecordTypeParameter",
"description": "The type of record sets to enumerate."
},
{
"name": "$top",
Expand Down Expand Up @@ -2081,6 +1986,29 @@
"description": "The name of the record set, relative to the name of the zone.",
"x-ms-skip-url-encoding": true
},
"RecordTypeParameter": {
"name": "recordType",
"in": "path",
"required": true,
"type": "string",
"description": "The type of DNS record.",
"enum": [
"A",
"AAAA",
"CAA",
"CNAME",
"MX",
"NS",
"PTR",
"SOA",
"SRV",
"TXT"
],
"x-ms-enum": {
"name": "RecordType",
"modelAsString": false
}
},
"ApiVersionParameter": {
"name": "api-version",
"in": "query",
Expand Down

0 comments on commit f97bd65

Please sign in to comment.