Microsoft Azure Private Dns Management Client

The Microsoft Azure Private DNS Management Client is a service that allows users to centrally manage and monitor their private DNS zones within Azure. With this client, users can easily create, update, and delete DNS records for their private zones, ensuring that their applications and services are properly registered and accessible.

OpenAPI Specification

privatednsmanagementclient-openapi-original.yml Raw ↑
swagger: '2.0'
info:
  title: Microsoft Azure PrivateDnsManagementClient
  description: The Private DNS Management Client.
  version: '2020-01-01'
host: management.azure.com
schemes:
  - https
consumes:
  - application/json
produces:
  - application/json
securityDefinitions:
  azure_auth:
    type: oauth2
    authorizationUrl: https://login.microsoftonline.com/common/oauth2/authorize
    flow: implicit
    description: Azure Active Directory OAuth2 Flow
    scopes:
      user_impersonation: impersonate your user account
paths:
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateDnsZones/{privateZoneName}
  : put:
      tags:
        - PrivateZones
      operationId: microsoftAzurePrivatezonesCreateorupdate
      description: >-
        Creates or updates a Private DNS zone. Does not modify Links to virtual
        networks or DNS records within the zone.
      parameters:
        - name: resourceGroupName
          in: path
          required: true
          type: string
          description: The name of the resource group.
        - name: privateZoneName
          in: path
          required: true
          type: string
          description: The name of the Private DNS zone (without a terminating dot).
        - name: parameters
          in: body
          required: true
          schema:
            $ref: '#/definitions/PrivateZone'
          description: Parameters supplied to the CreateOrUpdate operation.
        - name: If-Match
          in: header
          required: false
          type: string
          x-ms-client-name: IfMatch
          description: >-
            The ETag of the Private DNS zone. Omit this value to always
            overwrite the current zone. Specify the last-seen ETag value to
            prevent accidentally overwriting any concurrent changes.
        - name: If-None-Match
          in: header
          required: false
          type: string
          x-ms-client-name: IfNoneMatch
          description: >-
            Set to '*' to allow a new Private DNS zone to be created, but to
            prevent updating an existing zone. Other values will be ignored.
        - $ref: '#/parameters/ApiVersionParameter'
        - $ref: '#/parameters/SubscriptionIdParameter'
      responses:
        '200':
          description: The Private DNS zone has been updated.
          schema:
            $ref: '#/definitions/PrivateZone'
        '201':
          description: The Private DNS zone has been created.
          schema:
            $ref: '#/definitions/PrivateZone'
        '202':
          description: >-
            The Private DNS zone upsert operation has been accepted and will
            complete asynchronously.
        default:
          description: >-
            Default response. It will be deserialized as per the Error
            definition.
          schema:
            $ref: '#/definitions/CloudError'
      x-ms-long-running-operation: true
      x-ms-examples:
        PUT Private DNS Zone:
          $ref: ./examples/PrivateZonePut.json
      summary: >-
        Microsoft Azure Put Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Network Privatednszones Privatezonename
    patch:
      tags:
        - PrivateZones
      operationId: microsoftAzurePrivatezonesUpdate
      description: >-
        Updates a Private DNS zone. Does not modify virtual network links or DNS
        records within the zone.
      parameters:
        - name: resourceGroupName
          in: path
          required: true
          type: string
          description: The name of the resource group.
        - name: privateZoneName
          in: path
          required: true
          type: string
          description: The name of the Private DNS zone (without a terminating dot).
        - name: parameters
          in: body
          required: true
          schema:
            $ref: '#/definitions/PrivateZone'
          description: Parameters supplied to the Update operation.
        - name: If-Match
          in: header
          required: false
          type: string
          x-ms-client-name: IfMatch
          description: >-
            The ETag of the Private DNS zone. Omit this value to always
            overwrite the current zone. Specify the last-seen ETag value to
            prevent accidentally overwriting any concurrent changes.
        - $ref: '#/parameters/ApiVersionParameter'
        - $ref: '#/parameters/SubscriptionIdParameter'
      responses:
        '200':
          description: The Private DNS zone has been updated.
          schema:
            $ref: '#/definitions/PrivateZone'
        '202':
          description: >-
            The Private DNS zone update operation has been accepted and will
            complete asynchronously.
        default:
          description: >-
            Default response. It will be deserialized as per the Error
            definition.
          schema:
            $ref: '#/definitions/CloudError'
      x-ms-long-running-operation: true
      x-ms-examples:
        PATCH Private DNS Zone:
          $ref: ./examples/PrivateZonePatch.json
      summary: >-
        Microsoft Azure Patch Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Network Privatednszones Privatezonename
    delete:
      tags:
        - PrivateZones
      operationId: microsoftAzurePrivatezonesDelete
      description: >-
        Deletes a Private DNS zone. WARNING: All DNS records in the zone will
        also be deleted. This operation cannot be undone. Private DNS zone
        cannot be deleted unless all virtual network links to it are removed.
      parameters:
        - name: resourceGroupName
          in: path
          required: true
          type: string
          description: The name of the resource group.
        - name: privateZoneName
          in: path
          required: true
          type: string
          description: The name of the Private DNS zone (without a terminating dot).
        - name: If-Match
          in: header
          required: false
          type: string
          x-ms-client-name: IfMatch
          description: >-
            The ETag of the Private DNS zone. Omit this value to always delete
            the current zone. Specify the last-seen ETag value to prevent
            accidentally deleting any concurrent changes.
        - $ref: '#/parameters/ApiVersionParameter'
        - $ref: '#/parameters/SubscriptionIdParameter'
      responses:
        '200':
          description: The Private DNS zone has been deleted.
        '202':
          description: >-
            The Private DNS zone delete operation has been accepted and will
            complete asynchronously.
        '204':
          description: The Private DNS zone was not found.
        default:
          description: >-
            Default response. It will be deserialized as per the Error
            definition.
          schema:
            $ref: '#/definitions/CloudError'
      x-ms-long-running-operation: true
      x-ms-examples:
        DELETE Private DNS Zone:
          $ref: ./examples/PrivateZoneDelete.json
      summary: >-
        Microsoft Azure Delete Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Network Privatednszones Privatezonename
    get:
      tags:
        - PrivateZones
      operationId: microsoftAzurePrivatezonesGet
      description: >-
        Gets a Private DNS zone. Retrieves the zone properties, but not the
        virtual networks links or the record sets within the zone.
      parameters:
        - name: resourceGroupName
          in: path
          required: true
          type: string
          description: The name of the resource group.
        - name: privateZoneName
          in: path
          required: true
          type: string
          description: The name of the Private DNS zone (without a terminating dot).
        - $ref: '#/parameters/ApiVersionParameter'
        - $ref: '#/parameters/SubscriptionIdParameter'
      responses:
        '200':
          description: Success.
          schema:
            $ref: '#/definitions/PrivateZone'
        default:
          description: >-
            Default response. It will be deserialized as per the Error
            definition.
          schema:
            $ref: '#/definitions/CloudError'
      x-ms-examples:
        GET Private DNS Zone:
          $ref: ./examples/PrivateZoneGet.json
      summary: >-
        Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Network Privatednszones Privatezonename
  /subscriptions/{subscriptionId}/providers/Microsoft.Network/privateDnsZones:
    get:
      tags:
        - PrivateZones
      operationId: microsoftAzurePrivatezonesList
      description: Lists the Private DNS zones in all resource groups in a subscription.
      parameters:
        - name: $top
          in: query
          required: false
          type: integer
          format: int32
          description: >-
            The maximum number of Private DNS zones to return. If not specified,
            returns up to 100 zones.
        - $ref: '#/parameters/ApiVersionParameter'
        - $ref: '#/parameters/SubscriptionIdParameter'
      responses:
        '200':
          description: Success.
          schema:
            $ref: '#/definitions/PrivateZoneListResult'
        default:
          description: >-
            Default response. It will be deserialized as per the Error
            definition.
          schema:
            $ref: '#/definitions/CloudError'
      x-ms-pageable:
        nextLinkName: nextLink
      x-ms-examples:
        GET Private DNS Zone by Subscription:
          $ref: ./examples/PrivateZoneListInSubscription.json
      summary: >-
        Microsoft Azure Get Subscriptions Subscriptionid Providers Microsoft Network Privatednszones
  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateDnsZones:
    get:
      tags:
        - PrivateZones
      operationId: microsoftAzurePrivatezonesListbyresourcegroup
      description: Lists the Private DNS zones within a resource group.
      parameters:
        - name: resourceGroupName
          in: path
          required: true
          type: string
          description: The name of the resource group.
        - name: $top
          in: query
          required: false
          type: integer
          format: int32
          description: >-
            The maximum number of record sets to return. If not specified,
            returns up to 100 record sets.
        - $ref: '#/parameters/ApiVersionParameter'
        - $ref: '#/parameters/SubscriptionIdParameter'
      responses:
        '200':
          description: Success.
          schema:
            $ref: '#/definitions/PrivateZoneListResult'
        default:
          description: >-
            Default response. It will be deserialized as per the Error
            definition.
          schema:
            $ref: '#/definitions/CloudError'
      x-ms-pageable:
        nextLinkName: nextLink
      x-ms-examples:
        GET Private DNS Zone by Resource Group:
          $ref: ./examples/PrivateZoneListInResourceGroup.json
      summary: >-
        Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Network Privatednszones
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateDnsZones/{privateZoneName}/virtualNetworkLinks/{virtualNetworkLinkName}
  : put:
      tags:
        - VirtualNetworkLinks
      operationId: microsoftAzureVirtualnetworklinksCreateorupdate
      description: >-
        Creates or updates a virtual network link to the specified Private DNS
        zone.
      parameters:
        - name: resourceGroupName
          in: path
          required: true
          type: string
          description: The name of the resource group.
        - name: privateZoneName
          in: path
          required: true
          type: string
          description: The name of the Private DNS zone (without a terminating dot).
        - name: virtualNetworkLinkName
          in: path
          required: true
          type: string
          description: The name of the virtual network link.
        - name: parameters
          in: body
          required: true
          schema:
            $ref: '#/definitions/VirtualNetworkLink'
          description: Parameters supplied to the CreateOrUpdate operation.
        - name: If-Match
          in: header
          required: false
          type: string
          x-ms-client-name: IfMatch
          description: >-
            The ETag of the virtual network link to the Private DNS zone. Omit
            this value to always overwrite the current virtual network link.
            Specify the last-seen ETag value to prevent accidentally overwriting
            any concurrent changes.
        - name: If-None-Match
          in: header
          required: false
          type: string
          x-ms-client-name: IfNoneMatch
          description: >-
            Set to '*' to allow a new virtual network link to the Private DNS
            zone to be created, but to prevent updating an existing link. Other
            values will be ignored.
        - $ref: '#/parameters/ApiVersionParameter'
        - $ref: '#/parameters/SubscriptionIdParameter'
      responses:
        '200':
          description: The virtual network link to the Private DNS zone has been updated.
          schema:
            $ref: '#/definitions/VirtualNetworkLink'
        '201':
          description: The virtual network link to the Private DNS zone has been created.
          schema:
            $ref: '#/definitions/VirtualNetworkLink'
        '202':
          description: >-
            The operation to upsert virtual network link to the Private DNS zone
            has been accepted and will complete asynchronously.
        default:
          description: >-
            Default response. It will be deserialized as per the Error
            definition.
          schema:
            $ref: '#/definitions/CloudError'
      x-ms-long-running-operation: true
      x-ms-examples:
        PUT Private DNS Zone Virtual Network Link:
          $ref: ./examples/VirtualNetworkLinkPut.json
      summary: >-
        Microsoft Azure Put Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Network Privatednszones Privatezonename Virtualnetworklinks Virtualnetworklinkname
    patch:
      tags:
        - VirtualNetworkLinks
      operationId: microsoftAzureVirtualnetworklinksUpdate
      description: Updates a virtual network link to the specified Private DNS zone.
      parameters:
        - name: resourceGroupName
          in: path
          required: true
          type: string
          description: The name of the resource group.
        - name: privateZoneName
          in: path
          required: true
          type: string
          description: The name of the Private DNS zone (without a terminating dot).
        - name: virtualNetworkLinkName
          in: path
          required: true
          type: string
          description: The name of the virtual network link.
        - name: parameters
          in: body
          required: true
          schema:
            $ref: '#/definitions/VirtualNetworkLink'
          description: Parameters supplied to the Update operation.
        - name: If-Match
          in: header
          required: false
          type: string
          x-ms-client-name: IfMatch
          description: >-
            The ETag of the virtual network link to the Private DNS zone. Omit
            this value to always overwrite the current virtual network link.
            Specify the last-seen ETag value to prevent accidentally overwriting
            any concurrent changes.
        - $ref: '#/parameters/ApiVersionParameter'
        - $ref: '#/parameters/SubscriptionIdParameter'
      responses:
        '200':
          description: The virtual network link to the Private DNS zone has been updated.
          schema:
            $ref: '#/definitions/VirtualNetworkLink'
        '202':
          description: >-
            The operation to link virtual network link to Private DNS zone has
            been accepted and will complete asynchronously.
        default:
          description: >-
            Default response. It will be deserialized as per the Error
            definition.
          schema:
            $ref: '#/definitions/CloudError'
      x-ms-long-running-operation: true
      x-ms-examples:
        PATCH Private DNS Zone Virtual Network Link:
          $ref: ./examples/VirtualNetworkLinkPatch.json
      summary: >-
        Microsoft Azure Patch Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Network Privatednszones Privatezonename Virtualnetworklinks Virtualnetworklinkname
    delete:
      tags:
        - VirtualNetworkLinks
      operationId: microsoftAzureVirtualnetworklinksDelete
      description: >-
        Deletes a virtual network link to the specified Private DNS zone.
        WARNING: In case of a registration virtual network, all auto-registered
        DNS records in the zone for the virtual network will also be deleted.
        This operation cannot be undone.
      parameters:
        - name: resourceGroupName
          in: path
          required: true
          type: string
          description: The name of the resource group.
        - name: privateZoneName
          in: path
          required: true
          type: string
          description: The name of the Private DNS zone (without a terminating dot).
        - name: virtualNetworkLinkName
          in: path
          required: true
          type: string
          description: The name of the virtual network link.
        - name: If-Match
          in: header
          required: false
          type: string
          x-ms-client-name: IfMatch
          description: >-
            The ETag of the virtual network link to the Private DNS zone. Omit
            this value to always delete the current zone. Specify the last-seen
            ETag value to prevent accidentally deleting any concurrent changes.
        - $ref: '#/parameters/ApiVersionParameter'
        - $ref: '#/parameters/SubscriptionIdParameter'
      responses:
        '200':
          description: The virtual network link to the Private DNS zone has been deleted.
        '202':
          description: >-
            The operation to delete virtual network link to the Private DNS zone
            has been accepted and will complete asynchronously.
        '204':
          description: The virtual network link to the Private DNS zone was not found.
        default:
          description: >-
            Default response. It will be deserialized as per the Error
            definition.
          schema:
            $ref: '#/definitions/CloudError'
      x-ms-long-running-operation: true
      x-ms-examples:
        DELETE Private DNS Zone Virtual Network Link:
          $ref: ./examples/VirtualNetworkLinkDelete.json
      summary: >-
        Microsoft Azure Delete Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Network Privatednszones Privatezonename Virtualnetworklinks Virtualnetworklinkname
    get:
      tags:
        - VirtualNetworkLinks
      operationId: microsoftAzureVirtualnetworklinksGet
      description: Gets a virtual network link to the specified Private DNS zone.
      parameters:
        - name: resourceGroupName
          in: path
          required: true
          type: string
          description: The name of the resource group.
        - name: privateZoneName
          in: path
          required: true
          type: string
          description: The name of the Private DNS zone (without a terminating dot).
        - name: virtualNetworkLinkName
          in: path
          required: true
          type: string
          description: The name of the virtual network link.
        - $ref: '#/parameters/ApiVersionParameter'
        - $ref: '#/parameters/SubscriptionIdParameter'
      responses:
        '200':
          description: Success.
          schema:
            $ref: '#/definitions/VirtualNetworkLink'
        default:
          description: >-
            Default response. It will be deserialized as per the Error
            definition.
          schema:
            $ref: '#/definitions/CloudError'
      x-ms-examples:
        GET Private DNS Zone Virtual Network Link:
          $ref: ./examples/VirtualNetworkLinkGet.json
      summary: >-
        Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Network Privatednszones Privatezonename Virtualnetworklinks Virtualnetworklinkname
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateDnsZones/{privateZoneName}/virtualNetworkLinks
  : get:
      tags:
        - VirtualNetworkLinks
      operationId: microsoftAzureVirtualnetworklinksList
      description: Lists the virtual network links to the specified Private DNS zone.
      parameters:
        - name: resourceGroupName
          in: path
          required: true
          type: string
          description: The name of the resource group.
        - name: privateZoneName
          in: path
          required: true
          type: string
          description: The name of the Private DNS zone (without a terminating dot).
        - name: $top
          in: query
          required: false
          type: integer
          format: int32
          description: >-
            The maximum number of virtual network links to return. If not
            specified, returns up to 100 virtual network links.
        - $ref: '#/parameters/ApiVersionParameter'
        - $ref: '#/parameters/SubscriptionIdParameter'
      responses:
        '200':
          description: Success.
          schema:
            $ref: '#/definitions/VirtualNetworkLinkListResult'
        default:
          description: >-
            Default response. It will be deserialized as per the Error
            definition.
          schema:
            $ref: '#/definitions/CloudError'
      x-ms-pageable:
        nextLinkName: nextLink
      x-ms-examples:
        Get Private DNS Zone Virtual Network Links:
          $ref: ./examples/VirtualNetworkLinkList.json
      summary: >-
        Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Network Privatednszones Privatezonename Virtualnetworklinks
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateDnsZones/{privateZoneName}/{recordType}/{relativeRecordSetName}
  : put:
      tags:
        - RecordSets
      operationId: microsoftAzureRecordsetsCreateorupdate
      description: Creates or updates a record set within a Private DNS zone.
      parameters:
        - name: resourceGroupName
          in: path
          required: true
          type: string
          description: The name of the resource group.
        - name: privateZoneName
          in: path
          required: true
          type: string
          description: The name of the Private DNS zone (without a terminating dot).
        - 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 Private
            DNS zone is created).
          enum:
            - A
            - AAAA
            - CNAME
            - MX
            - PTR
            - SOA
            - SRV
            - TXT
          x-ms-enum:
            name: RecordType
            modelAsString: false
        - name: relativeRecordSetName
          in: path
          required: true
          type: string
          description: The name of the record set, relative to the name of the zone.
          x-ms-skip-url-encoding: true
        - name: parameters
          in: body
          required: true
          schema:
            $ref: '#/definitions/RecordSet'
          description: Parameters supplied to the CreateOrUpdate operation.
        - name: If-Match
          in: header
          required: false
          type: string
          x-ms-client-name: IfMatch
          description: >-
            The ETag of the record set. Omit this value to always overwrite the
            current record set. Specify the last-seen ETag value to prevent
            accidentally overwriting any concurrent changes.
        - name: If-None-Match
          in: header
          required: false
          type: string
          x-ms-client-name: IfNoneMatch
          description: >-
            Set to '*' to allow a new record set to be created, but to prevent
            updating an existing record set. Other values will be ignored.
        - $ref: '#/parameters/ApiVersionParameter'
        - $ref: '#/parameters/SubscriptionIdParameter'
      responses:
        '200':
          description: The record set has been updated.
          schema:
            $ref: '#/definitions/RecordSet'
        '201':
          description: The record set has been created.
          schema:
            $ref: '#/definitions/RecordSet'
        default:
          description: >-
            Default response. It will be deserialized as per the Error
            definition.
          schema:
            $ref: '#/definitions/CloudError'
      x-ms-examples:
        PUT Private DNS Zone A Record Set:
          $ref: ./examples/RecordSetAPut.json
        PUT Private DNS Zone AAAA Record Set:
          $ref: ./examples/RecordSetAAAAPut.json
        PUT Private DNS Zone CNAME Record Set:
          $ref: ./examples/RecordSetCNAMEPut.json
        PUT Private DNS Zone MX Record Set:
          $ref: ./examples/RecordSetMXPut.json
        PUT Private DNS Zone PTR Record Set:
          $ref: ./examples/RecordSetPTRPut.json
        PUT Private DNS Zone SOA Record Set:
          $ref: ./examples/RecordSetSOAPut.json
        PUT Private DNS Zone SRV Record Set:
          $ref: ./examples/RecordSetSRVPut.json
        PUT Private DNS Zone TXT Record Set:
          $ref: ./examples/RecordSetTXTPut.json
      summary: >-
        Microsoft Azure Put Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Network Privatednszones Privatezonename Recordtype Relativerecordsetname
    patch:
      tags:
        - RecordSets
      operationId: microsoftAzureRecordsetsUpdate
      description: Updates a record set within a Private DNS zone.
      parameters:
        - name: resourceGroupName
          in: path
          required: true
          type: string
          description: The name of the resource group.
        - name: privateZoneName
          in: path
          required: true
          type: string
          description: The name of the Private DNS zone (without a terminating dot).
        - name: recordType
          in: path
          required: true
          type: string
          description: The type of DNS record in this record set.
          enum:
            - A
            - AAAA
            - CNAME
            - MX
            - PTR
            - SOA
            - SRV
            - TXT
          x-ms-enum:
            name: RecordType
            modelAsString: false
        - name: relativeRecordSetName
          in: path
          required: true
          type: string
          description: The name of the record set, relative to the name of the zone.
          x-ms-skip-url-encoding: true
        - name: parameters
          in: body
          required: true
          schema:
            $ref: '#/definitions/RecordSet'
          description: Parameters supplied to the Update operation.
        - name: If-Match
          in: header
          required: false
          type: string
          x-ms-client-name: IfMatch
          description: >-
            The ETag of the record set. Omit this value to always overwrite the
            current record set. Specify the last-seen ETag value to prevent
            accidentally overwriting concurrent changes.
        - $ref: '#/parameters/ApiVersionParameter'
        - $ref: '#/parameters/SubscriptionIdParameter'
      responses:
        '200':
          description: The record set has been updated.
          schema:
            $ref: '#/definitions/RecordSet'
        default:
          description: >-
            Default response. It will be deserialized as per the Error
            definition.
          schema:
            $ref: '#/definitions/CloudError'
      x-ms-examples:
        PATCH Private DNS Zone A Record Set:
          $ref: ./examples/RecordSetAPatch.json
        PATCH Private DNS Zone AAAA Record Set:
          $ref: ./examples/RecordSetAAAAPatch.json
        PATCH Private DNS Zone CNAME Record Set:
          $ref: ./examples/RecordSetCNAMEPatch.json
        PATCH Private DNS Zone MX Record Set:
          $ref: ./examples/RecordSetMXPatch.json
        PATCH Private DNS Zone PTR Record Set:
          $ref: ./examples/RecordSetPTRPatch.json
        PATCH Private DNS Zone SOA Record Set:
          $ref: ./examples/RecordSetSOAPatch.json
        PATCH Private DNS Zone SRV Record Set:
          $ref: ./examples/RecordSetSRVPatch.json
        PATCH Private DNS Zone TXT Record Set:
          $ref: ./examples/RecordSetTXTPatch.json
      summary: >-
        Microsoft Azure Patch Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Network Privatednszones Privatezonename Recordtype Relativerecordsetname
    delete:
      tags:
        - RecordSets
      operationId: microsoftAzureRecordsetsDelete
      description: >-
        Deletes a record set from a Private DNS zone. This operation cannot be
        undone.
      parameters:
        - name: resourceGroupName
          in: path
          required: true
          type: string
          description: The name of the resource group.
        - name: privateZoneName
          in: path
          required: true
          type: string
          description: The name of the Private DNS zone (without a terminating dot).
        - 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 Private DNS zone is
            deleted).
          enum:
            - A
            - AAAA
            - CNAME
            - MX
            - PTR
            - SOA
            - SRV
            - TXT
          x-ms-enum:
            name: RecordType
            modelAsString: false
        - name: relativeRecordSetName
          in: path
          required: true
          type: string
          description: The name of the record set, relative to the name of the zone.
          x-ms-skip-url-encoding: true
        - name: If-Match
          in: header
          required: false
          type: string
          x-ms-client-name: IfMatch
          description: >-
            The ETag of the record set. Omit this value to always delete the
            current record set. Specify the last-seen ETag value to prevent
            accidentally deleting any concurrent changes.
        - $ref: '#/parameters/ApiVersionParameter'
        - $ref: '#/parameters/SubscriptionIdParameter'
      responses:
        '200':
          description: The record set has been deleted.
        '204':
          description: The record set was not found.
        default:
          description: >-
            Default response. It will be deserialized as per the Error
            definition.
          schema:
            $ref: '#/definitions/CloudError'
      x-ms-examples:
        DELETE Private DNS Zone A Record Set:
          $ref: ./examples/RecordSetADelete.json
        DELETE Private DNS Zone AAAA Record Set:
          $ref: ./examples/RecordSetAAAADelete.json
        DELETE Private DNS Zone CNAME Record Set:
          $ref: ./examples/RecordSetCNAMEDelete.json
        DELETE Private DNS Zone MX Record Set:
          $ref: ./examples/RecordSetMXDelete.json
        DELETE Private DNS Zone PTR Record Set:
          $ref: ./examples/RecordSetPTRDelete.json
        DELETE Private DNS Zone SRV Record Set:
          $ref: ./examples/RecordSetSRVDelete.json
        DELETE Private DNS Zone T

# --- truncated at 32 KB (53 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/microsoft-azure/refs/heads/main/openapi/privatednsmanagementclient-openapi-original.yml