-
Notifications
You must be signed in to change notification settings - Fork 206
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add PrivateDNSZone resource #2086
Conversation
This error:
usually means that the Swagger submodule is out of date. (Some background: after we consume the JSON schema from ARM, we need to then also consume the Swagger definitions for the same versions to pick up information that's not available through the JSON schema.) We recently updated the Swagger submodule reference, so you may need to pick that up for the import to work. Two things to check. Firstly, make sure you've based your branch from our latest Let us know if this works for you. |
6dc3bab
to
c56bd1d
Compare
Rebase on main branch did not help in my case:( For now I've add all types from network 2018-09-01 with PrivateDNSZone and dependencies types.
And now receiving another error:
|
Signed-off-by: vaspahomov <[email protected]>
c56bd1d
to
df3a880
Compare
First off I think one issue is casing (and I will fully admit this is completely obtuse/hard to get right): In your config you should use: Doing that got me to here:
I looked at the actual JSON schema for
Looking at the Swagger for private DNS Zones looks more correct to me. I think there is a newer version of the @Porges has a PR out (#2084) where he is working on moving to just Swagger as the source of truth, which would allow us to use the newer REST API version for PrivateDNSZones and in theory should fix the errors we're getting in generation. The Swagger looks correct to me while the JSON schema looks wrong. I think that PR is still a ways out from merging though (@Porges can comment), but likely you'll need to wait until then before we can generate this resource. |
The work on switching to Swagger as the sole source of truth is taking longer than expected; we expect it to land in for |
With PR #2430 now merged, we will have support for Closing this PR. Many thanks for your input, and apologies for the delay. |
Signed-off-by: vaspahomov [email protected]
What this PR does / why we need it:
I want to add PrivateDNSZone resource and their PrivateDNSZone/VirtualNetworkLink dependency.
This can help us to create PostgreSQL connected with private network without az cli or others.
Special notes for your reviewer:
I've found that
'*api201*'
versions of network are excluded. I think we need explicitly add PrivateDnsZones and VirtualNetworkLinks (but I can not find right resource name) resources.After this manipulations I'm receiving:
I've tried to add this in status section, but it did not help:
Can you tell me what I'm doing wrong?
How does this PR make you feel:
If applicable: