Skip to content

Fix #1123: Update az network dns zone update#1300

Merged
troydai merged 1 commit into
Azure:masterfrom
troydai:troy-1123
Nov 11, 2016
Merged

Fix #1123: Update az network dns zone update#1300
troydai merged 1 commit into
Azure:masterfrom
troydai:troy-1123

Conversation

@troydai

@troydai troydai commented Nov 11, 2016

Copy link
Copy Markdown
Contributor

The change to resolve #1123

@tjprescott tjprescott left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This PR doesn't work properly with the generic update flow. There's guidance on generic update here:
https://github.com/Azure/azure-cli/blob/master/doc/authoring_command_modules/authoring_commands.md
but don't hesitate to come grab me.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You could probably leave off the talk about '*' since if you omit --if-match you would expect it to match any (or just ignore it entirely).

@tjprescott tjprescott Nov 11, 2016

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

After our discussion, you should use the create_or_update from the SDK as the setter. You don't need a custom setter.

You just need to register an alias:

register_cli_argument('network dns zone update', 'if_none_match', ignore_type)

@troydai troydai merged commit d3d96b0 into Azure:master Nov 11, 2016
@troydai troydai deleted the troy-1123 branch November 11, 2016 20:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants