azure-ts-dynamicresource example fails to enable https
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 2.6k
- Forks
- 894
- Avg merge
- 12h 19m
- Merged PRs (30d)
- 39
Description
Following the example I get an error if I try to enable https for the custom domain.
error: The resource format is invalid.
Creating the custom domain works, without https enabled. As soon I try to enable it either on create, or as a change I get the resource format error.
If I use az cdn custom-domain enable-https from the Azure CLI directly on an available custom domain it works with the same same parameter given to cdnClient.customDomains.enableCustomHttps
I guess it's related to https://github.com/Azure/azure-sdk-for-js in general and maybe somehow to this from the CLI. But maybe somebody in here has another idea.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the linked Azure TypeScript dynamicresource example and the call to cdnClient.customDomains.enableCustomHttps. Compare its parameters with the working az cdn custom-domain enable-https command and the reported Azure SDK or CLI references. Done means the example enables HTTPS for the custom domain without the resource format error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure, typescript
- Domain
- cloud
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100