Azure / azure-powershell

Microsoft Azure PowerShell
Other
4.23k stars 3.84k forks source link

Azure Public and Private DNS Zone Import and Export #15390

Open vijaytdh opened 3 years ago

vijaytdh commented 3 years ago

Description of the new feature

Add equivalent PowerShell cmdlets as the Azure CLI that allow you to:

The Azure CLI functionality is described here https://docs.microsoft.com/en-us/azure/dns/dns-import-export and the command reference is here: https://docs.microsoft.com/en-us/cli/azure/network/dns/zone?view=azure-cli-latest

At present there is no feature that allows you to backup DNS zones to protect against accidental deletion. While we could use resource locks, the problem with resource locks is that it prevents legitimate operations (e.g. you want to delete an individual record). While we can use the Azure CLI, we ideally want an automated solution that we can run from Azure Automation but you cannot currently run Azure CLI in Azure Automation. For this reason it would be great if equivalent PowerShell cmdlets were added.

ghost commented 3 years ago

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @dnssuppgithub.

Issue Details
## Description of the new feature Add equivalent PowerShell cmdlets as the Azure CLI that allow you to: * Export public and private DNS Zones to a bind compatible format * Import public and private DNZ Zones from the export The Azure CLI functionality is described here https://docs.microsoft.com/en-us/azure/dns/dns-import-export and the command reference is here: https://docs.microsoft.com/en-us/cli/azure/network/dns/zone?view=azure-cli-latest At present there is no feature that allows you to backup DNS zones to protect against accidental deletion. While we could use resource locks, the problem with resource locks is that it prevents legitimate operations (e.g. you want to delete an individual record). While we can use the Azure CLI, we ideally want an automated solution that we can run from Azure Automation but you cannot currently run Azure CLI in Azure Automation. For this reason it would be great if equivalent PowerShell cmdlets were added.
Author: vijaytdh
Assignees: -
Labels: `Network - DNS`, `Service Attention`, `customer-reported`, `feature-request`, `question`
Milestone: -