Skip to content

Commit

Permalink
Merge pull request #654 from Jing-song/jins-html-dns
Browse files Browse the repository at this point in the history
{Dns} Fix disallowed html tags
  • Loading branch information
AllyW authored Dec 18, 2024
2 parents 5cafeaa + dbd3e87 commit 6940216
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/dnszones/{}/{}", "version": "2023-07-01-preview", "swagger": "mgmt-plane/dns/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay9kbnNab25lcy97em9uZU5hbWV9L3tyZWNvcmRUeXBlfQ==/V/MjAyMy0wNy0wMS1wcmV2aWV3"}], "commandGroups": [{"name": "network dns record-set", "commands": [{"name": "list-by-type", "version": "2023-07-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/dnszones/{}/{}", "version": "2023-07-01-preview", "swagger": "mgmt-plane/dns/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay9kbnNab25lcy97em9uZU5hbWV9L3tyZWNvcmRUeXBlfQ==/V/MjAyMy0wNy0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.recordType", "options": ["record-type"], "required": true, "help": {"short": "The type of record sets to enumerate."}, "enum": {"items": [{"name": "A", "value": "A"}, {"name": "AAAA", "value": "AAAA"}, {"name": "CAA", "value": "CAA"}, {"name": "CNAME", "value": "CNAME"}, {"name": "DS", "value": "DS"}, {"name": "MX", "value": "MX"}, {"name": "NAPTR", "value": "NAPTR"}, {"name": "NS", "value": "NS"}, {"name": "PTR", "value": "PTR"}, {"name": "SOA", "value": "SOA"}, {"name": "SRV", "value": "SRV"}, {"name": "TLSA", "value": "TLSA"}, {"name": "TXT", "value": "TXT"}]}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.zoneName", "options": ["z", "zone-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of the DNS zone (without a terminating dot)."}}, {"type": "string", "var": "$Query.recordsetnamesuffix", "options": ["recordsetnamesuffix"], "help": {"short": "The suffix label of the record set name that has to be used to filter the record set enumerations. If this parameter is specified, Enumeration will return only records that end with .<recordSetNameSuffix>"}}, {"type": "integer32", "var": "$Query.top", "options": ["top"], "help": {"short": "The maximum number of record sets to return. If not specified, returns up to 100 record sets."}}]}], "operations": [{"operationId": "RecordSets_ListByType", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsZones/{zoneName}/{recordType}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "recordType", "arg": "$Path.recordType", "required": true, "enum": {"items": [{"value": "A"}, {"value": "AAAA"}, {"value": "CAA"}, {"value": "CNAME"}, {"value": "DS"}, {"value": "MX"}, {"value": "NAPTR"}, {"value": "NS"}, {"value": "PTR"}, {"value": "SOA"}, {"value": "SRV"}, {"value": "TLSA"}, {"value": "TXT"}]}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "zoneName", "arg": "$Path.zoneName", "required": true}]}, "query": {"params": [{"type": "string", "name": "$recordsetnamesuffix", "arg": "$Query.recordsetnamesuffix"}, {"type": "integer32", "name": "$top", "arg": "$Query.top"}], "consts": [{"readOnly": true, "const": true, "default": {"value": "2023-07-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "nextLink"}, {"type": "array<object>", "name": "value", "item": {"type": "object", "props": [{"type": "string", "name": "etag"}, {"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/dnsZones/{}/{}/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "array<object>", "name": "AAAARecords", "item": {"type": "object", "props": [{"type": "string", "name": "ipv6Address"}]}}, {"type": "array<object>", "name": "ARecords", "item": {"type": "object", "props": [{"type": "string", "name": "ipv4Address"}]}}, {"type": "object", "name": "CNAMERecord", "props": [{"type": "string", "name": "cname"}]}, {"type": "array<object>", "name": "DSRecords", "item": {"type": "object", "props": [{"type": "integer32", "name": "algorithm"}, {"type": "object", "name": "digest", "props": [{"type": "integer32", "name": "algorithmType"}, {"type": "string", "name": "value"}]}, {"type": "integer32", "name": "keyTag"}]}}, {"type": "array<object>", "name": "MXRecords", "item": {"type": "object", "props": [{"type": "string", "name": "exchange"}, {"type": "integer32", "name": "preference"}]}}, {"type": "array<object>", "name": "NAPTRRecords", "item": {"type": "object", "props": [{"type": "string", "name": "flags"}, {"type": "integer32", "name": "order"}, {"type": "integer32", "name": "preference"}, {"type": "string", "name": "regexp"}, {"type": "string", "name": "replacement"}, {"type": "string", "name": "services"}]}}, {"type": "array<object>", "name": "NSRecords", "item": {"type": "object", "props": [{"type": "string", "name": "nsdname"}]}}, {"type": "array<object>", "name": "PTRRecords", "item": {"type": "object", "props": [{"type": "string", "name": "ptrdname"}]}}, {"type": "object", "name": "SOARecord", "props": [{"type": "string", "name": "email"}, {"type": "integer64", "name": "expireTime"}, {"type": "string", "name": "host"}, {"type": "integer64", "name": "minimumTTL"}, {"type": "integer64", "name": "refreshTime"}, {"type": "integer64", "name": "retryTime"}, {"type": "integer64", "name": "serialNumber"}]}, {"type": "array<object>", "name": "SRVRecords", "item": {"type": "object", "props": [{"type": "integer32", "name": "port"}, {"type": "integer32", "name": "priority"}, {"type": "string", "name": "target"}, {"type": "integer32", "name": "weight"}]}}, {"type": "array<object>", "name": "TLSARecords", "item": {"type": "object", "props": [{"type": "string", "name": "certAssociationData"}, {"type": "integer32", "name": "matchingType"}, {"type": "integer32", "name": "selector"}, {"type": "integer32", "name": "usage"}]}}, {"type": "integer64", "name": "TTL"}, {"type": "array<object>", "name": "TXTRecords", "item": {"type": "object", "props": [{"type": "array<string>", "name": "value", "item": {"type": "string"}}]}}, {"type": "array<object>", "name": "caaRecords", "item": {"type": "object", "props": [{"type": "integer32", "name": "flags"}, {"type": "string", "name": "tag"}, {"type": "string", "name": "value"}]}}, {"readOnly": true, "type": "string", "name": "fqdn"}, {"type": "object", "name": "metadata", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "provisioningState"}, {"type": "object", "name": "targetResource", "props": [{"type": "string", "name": "id"}], "cls": "SubResource_read"}, {"type": "@SubResource_read", "name": "trafficManagementProfile"}], "clientFlatten": true}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "array", "ref": "$Instance.value", "clientFlatten": true, "nextLink": "$Instance.nextLink"}], "confirmation": ""}]}]}
{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/dnszones/{}/{}", "version": "2023-07-01-preview", "swagger": "mgmt-plane/dns/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay9kbnNab25lcy97em9uZU5hbWV9L3tyZWNvcmRUeXBlfQ==/V/MjAyMy0wNy0wMS1wcmV2aWV3"}], "commandGroups": [{"name": "network dns record-set", "commands": [{"name": "list-by-type", "version": "2023-07-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/dnszones/{}/{}", "version": "2023-07-01-preview", "swagger": "mgmt-plane/dns/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay9kbnNab25lcy97em9uZU5hbWV9L3tyZWNvcmRUeXBlfQ==/V/MjAyMy0wNy0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.recordType", "options": ["record-type"], "required": true, "help": {"short": "The type of record sets to enumerate."}, "enum": {"items": [{"name": "A", "value": "A"}, {"name": "AAAA", "value": "AAAA"}, {"name": "CAA", "value": "CAA"}, {"name": "CNAME", "value": "CNAME"}, {"name": "DS", "value": "DS"}, {"name": "MX", "value": "MX"}, {"name": "NAPTR", "value": "NAPTR"}, {"name": "NS", "value": "NS"}, {"name": "PTR", "value": "PTR"}, {"name": "SOA", "value": "SOA"}, {"name": "SRV", "value": "SRV"}, {"name": "TLSA", "value": "TLSA"}, {"name": "TXT", "value": "TXT"}]}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.zoneName", "options": ["z", "zone-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of the DNS zone (without a terminating dot)."}}, {"type": "string", "var": "$Query.recordsetnamesuffix", "options": ["recordsetnamesuffix"], "group": "", "help": {"short": "The suffix label of the record set name that has to be used to filter the record set enumerations. If this parameter is specified, Enumeration will return only records that end with `.<recordSetNameSuffix>`"}}, {"type": "integer32", "var": "$Query.top", "options": ["top"], "help": {"short": "The maximum number of record sets to return. If not specified, returns up to 100 record sets."}}]}], "operations": [{"operationId": "RecordSets_ListByType", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsZones/{zoneName}/{recordType}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "recordType", "arg": "$Path.recordType", "required": true, "enum": {"items": [{"value": "A"}, {"value": "AAAA"}, {"value": "CAA"}, {"value": "CNAME"}, {"value": "DS"}, {"value": "MX"}, {"value": "NAPTR"}, {"value": "NS"}, {"value": "PTR"}, {"value": "SOA"}, {"value": "SRV"}, {"value": "TLSA"}, {"value": "TXT"}]}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "zoneName", "arg": "$Path.zoneName", "required": true}]}, "query": {"params": [{"type": "string", "name": "$recordsetnamesuffix", "arg": "$Query.recordsetnamesuffix"}, {"type": "integer32", "name": "$top", "arg": "$Query.top"}], "consts": [{"readOnly": true, "const": true, "default": {"value": "2023-07-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "nextLink"}, {"type": "array<object>", "name": "value", "item": {"type": "object", "props": [{"type": "string", "name": "etag"}, {"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/dnsZones/{}/{}/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "array<object>", "name": "AAAARecords", "item": {"type": "object", "props": [{"type": "string", "name": "ipv6Address"}]}}, {"type": "array<object>", "name": "ARecords", "item": {"type": "object", "props": [{"type": "string", "name": "ipv4Address"}]}}, {"type": "object", "name": "CNAMERecord", "props": [{"type": "string", "name": "cname"}]}, {"type": "array<object>", "name": "DSRecords", "item": {"type": "object", "props": [{"type": "integer32", "name": "algorithm"}, {"type": "object", "name": "digest", "props": [{"type": "integer32", "name": "algorithmType"}, {"type": "string", "name": "value"}]}, {"type": "integer32", "name": "keyTag"}]}}, {"type": "array<object>", "name": "MXRecords", "item": {"type": "object", "props": [{"type": "string", "name": "exchange"}, {"type": "integer32", "name": "preference"}]}}, {"type": "array<object>", "name": "NAPTRRecords", "item": {"type": "object", "props": [{"type": "string", "name": "flags"}, {"type": "integer32", "name": "order"}, {"type": "integer32", "name": "preference"}, {"type": "string", "name": "regexp"}, {"type": "string", "name": "replacement"}, {"type": "string", "name": "services"}]}}, {"type": "array<object>", "name": "NSRecords", "item": {"type": "object", "props": [{"type": "string", "name": "nsdname"}]}}, {"type": "array<object>", "name": "PTRRecords", "item": {"type": "object", "props": [{"type": "string", "name": "ptrdname"}]}}, {"type": "object", "name": "SOARecord", "props": [{"type": "string", "name": "email"}, {"type": "integer64", "name": "expireTime"}, {"type": "string", "name": "host"}, {"type": "integer64", "name": "minimumTTL"}, {"type": "integer64", "name": "refreshTime"}, {"type": "integer64", "name": "retryTime"}, {"type": "integer64", "name": "serialNumber"}]}, {"type": "array<object>", "name": "SRVRecords", "item": {"type": "object", "props": [{"type": "integer32", "name": "port"}, {"type": "integer32", "name": "priority"}, {"type": "string", "name": "target"}, {"type": "integer32", "name": "weight"}]}}, {"type": "array<object>", "name": "TLSARecords", "item": {"type": "object", "props": [{"type": "string", "name": "certAssociationData"}, {"type": "integer32", "name": "matchingType"}, {"type": "integer32", "name": "selector"}, {"type": "integer32", "name": "usage"}]}}, {"type": "integer64", "name": "TTL"}, {"type": "array<object>", "name": "TXTRecords", "item": {"type": "object", "props": [{"type": "array<string>", "name": "value", "item": {"type": "string"}}]}}, {"type": "array<object>", "name": "caaRecords", "item": {"type": "object", "props": [{"type": "integer32", "name": "flags"}, {"type": "string", "name": "tag"}, {"type": "string", "name": "value"}]}}, {"readOnly": true, "type": "string", "name": "fqdn"}, {"type": "object", "name": "metadata", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "provisioningState"}, {"type": "object", "name": "targetResource", "props": [{"type": "string", "name": "id"}], "cls": "SubResource_read"}, {"type": "@SubResource_read", "name": "trafficManagementProfile"}], "clientFlatten": true}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "array", "ref": "$Instance.value", "clientFlatten": true, "nextLink": "$Instance.nextLink"}], "confirmation": ""}]}]}
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@
<arg type="string" var="$Path.zoneName" options="zone-name z" required="True" group="" idPart="name">
<help short="The name of the DNS zone (without a terminating dot)."/>
</arg>
<arg type="string" var="$Query.recordsetnamesuffix" options="recordsetnamesuffix">
<help short="The suffix label of the record set name that has to be used to filter the record set enumerations. If this parameter is specified, Enumeration will return only records that end with .<recordSetNameSuffix>"/>
<arg type="string" var="$Query.recordsetnamesuffix" options="recordsetnamesuffix" group="">
<help short="The suffix label of the record set name that has to be used to filter the record set enumerations. If this parameter is specified, Enumeration will return only records that end with `.<recordSetNameSuffix>`"/>
</arg>
<arg type="integer32" var="$Query.top" options="top">
<help short="The maximum number of record sets to return. If not specified, returns up to 100 record sets."/>
Expand Down

0 comments on commit 6940216

Please sign in to comment.