-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Azure CLI Extension - Azure Arc Multicloud Connector #7954
Conversation
Validation for Breaking Change Starting...
Thanks for your contribution! |
Hi @alexmahonic, |
Thank you for your contribution! We will review the pull request and get back to you soon. |
CodeGen Tools Feedback CollectionThank you for using our CodeGen tool. We value your feedback, and we would like to know how we can improve our product. Please take a few minutes to fill our codegen survey |
|
a45c7cd
to
93fbd2e
Compare
@microsoft-github-policy-service agree company="Microsoft" |
93fbd2e
to
5145b47
Compare
...oud-connector/azext_multicloud_connector/aaz/latest/arc_multicloud/_generate_aws_template.py
Outdated
Show resolved
Hide resolved
a4e1022
to
7b859c9
Compare
[Release] Update index.json for extension [ multicloud-connector ] : https://dev.azure.com/azclitools/release/_build/results?buildId=190376&view=results |
Release History | ||
=============== | ||
|
||
1.0.0b1 |
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.
I'm guessing 1.0.0.b1 is a beta version.
For GA, we should get rid of the beta version.
=============== | ||
|
||
1.0.0b1 | ||
++++++ |
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.
az arc-multicloud generate-aws-template
command,
-
output is of no use for customer consumption. It's not a valid aws cloudformation template.
From the response body, remove the "body:" json element to make it valid aws cloudformation template.
-
Register the required RPs (Microsoft.AwsConnector, Microsoft.HybridConnectivity, Microsoft.HybridCompute). This is a global comment for all the CLI commands.
-
Write the aws cloudformation template to a file named
aws-cft-<customer-inputted-connector-name>
and output the file on to the console. Ex - If the connector name is264617844946
then the filename should beaws-cft-264617844946.json
-
Add a new parameter
--output-directory
, used for writing the aws cloudformation template. -
remove the
--solution-types
parameter to avoid unnecessary confusion to customers. Help message doesn't show what should be provided in the--solution-types
parameter. This was added mainly for the portal onboard flow. For CLI, we can assume that it's not supported scenario.
Also, the help is not useful.
-
The examples should be more meaningful rather than some random strings,
|
||
1.0.0b1 | ||
++++++ | ||
* Initial release. |
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.
test-permission
command,
- The output
{}
doesn't make sense.
- It's NOT working.
- It's unclear what does
--ids
represent. Is it the connector Id or something else. Please treat this as a global comment as it's there in all the commands.
- It's unclear what
--no-wait
does. I don't see any difference of behavior with "0 or 1". Looks like the CLI command is not executing as I don't see the response{}
@@ -0,0 +1,8 @@ | |||
.. :changelog: | |||
|
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.
Global comments applicable to all the CLI commands
-
Register the required RPs (Microsoft.AwsConnector, Microsoft.HybridConnectivity, Microsoft.HybridCompute).
-
Examples in the help message have some random characters. Please it to some meaningful names.
-
The error is printed twice. This is annoying if the error message is spanned across multiple lines,
- The "--ids" argument have a generic text, it's unclear what it represents.
- The help should be very clear and should also point to our public documentation page that capture various options.
|
||
1.0.0b1 | ||
++++++ | ||
* Initial release. |
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.
az arc-multicloud public-cloud-connector list
command
-
Command says
list connector resources by subscriptionId
but there is no argument to provide the subscriptionId. Interestingly there is an argument forresourcegroup
. This seems odd.
-
-o table
prints weird resource group names likeclitest.rgy7xqoupodpyivrat6cuddih5wgnzd5rey6tir2xophpvkqckipflrawo2wred7tvs
, looks like a formatting issue. can we suppress the global options?
|
||
1.0.0b1 | ||
++++++ | ||
* Initial release. |
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.
az arc-multicloud public-cloud-connector update
command,
- Exception rather than an error message. It would be hard for customers to understand stdout exception message, (ObjectMissingRequiredProperty) Missing required property: awsCloudProfile. Paths in payload: '$.properties.awsCloudProfile'
This checklist is used to make sure that common guidelines for a pull request are followed.
Related command
General Guidelines
azdev style <YOUR_EXT>
locally? (pip install azdev
required)python scripts/ci/test_index.py -q
locally? (pip install wheel==0.30.0
required)For new extensions:
About Extension Publish
There is a pipeline to automatically build, upload and publish extension wheels.
Once your pull request is merged into main branch, a new pull request will be created to update
src/index.json
automatically.You only need to update the version information in file setup.py and historical information in file HISTORY.rst in your PR but do not modify
src/index.json
.