Azure / Azure/azure-cli

--ttl option does not work when adding A records to private DNS with latest azure cli.

Open
#33,264 4 comments 0 reactions 2 assignees Assigned to @necusjz View on GitHub
act-quality-productivity-squad Auto-Assign Azure CLI Team customer-reported Documentation Network question Similar-Issue
Dominant language
Python
Stars
4.6k
Forks
3.5k
Avg merge
3d 2h
Merged PRs (30d)
60

Description

### Describe the bug

help for the `az network private-dns record-set`
Image

### Related command

az network private-dns record-set a add-record --resource-group MyResourceGroup --zone-name www.mysite.com --record-set-name MyRecordSet --ipv4-address MyIpv4Address --ttl 600

### Errors

cli is unable to update ttl, while creating a private-dns record set.

Image

### Issue script & Debug output

cli is unable to update ttl, while creating a private-dns record set.

Image

### Expected behavior

According to the documentation:

Image

### Environment Summary

Installed latest azure cli Image

### Additional context

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.