Skip to content

[DNS] Issues with 'az network dns zone delete' #1125

Description

Issues with 'az network dns zone delete':

  • 1. Description text must give much stronger warning. "Deletes a DNS zone from a resource group. All DNS records within the zone will also be deleted. WARNING: This operation cannot be undone."
  • 2. Given the potential impact of a mistake, this command ideally should include a confirmation prompt (plus --force parameter to suppress the prompt). (Issue Force and confirm behavior for the cli #1355)
  • 3. As with 'az network dns zone create' the CLI should not care about the presence or otherwise of terminating dots on the zone name. Replace with "The name of the DNS zone, for example 'contoso.com'." If the user provides a terminating dot, then just silently drop it before calling the service. (PR [Network] DNS Fixes Round 2 #1592)
  • 4. Supporting If-None-Match makes no sense for a delete operation. Remove. (should be removed from the Swagger spec and SDK if it doesn't apply)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    JRSNetworkaz network vnet/lb/nic/dns/etc...

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions