-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
codegen onboard datafactory #1321
Conversation
If this PR is for a new extension or change to an existing extension, use the following to try out the changes in this PR:
|
src/datafactory/README.md
Outdated
========================================== | ||
|
||
This package is for the 'datafactory' extension. | ||
i.e. 'az datafactory' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add more description, like https://github.com/Azure/azure-cli-extensions/blob/master/src/storage-preview/README.md
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This has not been fixed yet, the outdated status is outdated just because I changed the eof mark.
datafactory |
examples: | ||
- name: Factories_Get | ||
text: |- | ||
az datafactory factory show --name "exampleFactoryName" --resource-group "exampleResourceGroup" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Recommend to use MyFactoryName
and MyResourceGroup
to follow the example value pattern.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This has not been fixed yet, the outdated status is outdated just because I changed the eof mark.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should've been fixed, please check again. thx
@fengzhou-msft @Juliehzl All the issues should've been resolved, please go ahead and review it. thx. |
KEY_VNET_NIC = 'nic' | ||
|
||
|
||
class VirtualNetworkPreparer(NoTrafficRecordingPreparer, SingleValueReplacer): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove this file if not used.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@changlong-liu Will the current preparer generation logic generate all type of Preparer no matter it's used or not?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
removed.
return client.update(resource_group_name=resource_group_name, | ||
factory_name=factory_name, | ||
tags=tags, | ||
identity=json.loads("{\"type\": \"SystemAssigned\"}")) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would this also work?
identity=json.loads("{\"type\": \"SystemAssigned\"}")) | |
identity={"type": "SystemAssigned"}) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Got your point now.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changed. thx
This checklist is used to make sure that common guidelines for a pull request are followed.
General Guidelines
azdev style <YOUR_EXT>
locally? (pip install azdev
required)python scripts/ci/test_index.py -q
locally?For new extensions: