Skip to content

Conversation

@jonathanhe-msft
Copy link
Contributor

@jonathanhe-msft jonathanhe-msft commented Sep 28, 2022

  • Update to AVS 2022-05-01 API
  • Add az vmware cluster list-zones
  • Add --affinity-strength and --azure-hybrid-benefit-type parameter to az vmware placement-policy vm-host create
  • Add --affinity-strength and --azure-hybrid-benefit-type parameter to az vmware placement-policy vm-host update
  • Add --express-route-id parameter to az vmware authorization create
  • Add vmware addon arc command group
  • Add az vmware location check-trial-availability
  • Add az vmware location check-quota-availability
  • Deprecate az vmware location checktrialavailability
  • Deprecate az vmware location checkquotaavailability
  • [BREAKING CHANGE] az vmware private-cloud add-availability-zone has been removed. Availability zone cannot be modified after private cloud creation
  • [BREAKING CHANGE] az vmware private-cloud delete-availability-zone has been removed. Availability zone cannot be modified after private cloud creation.

This checklist is used to make sure that common guidelines for a pull request are followed.

Related command

General Guidelines

  • Have you run azdev style <YOUR_EXT> locally? (pip install azdev required)
  • Have you run python scripts/ci/test_index.py -q locally?

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.
The precondition is to put your code inside this repository and upgrade the version in the pull request but do not modify src/index.json.

@ghost ghost added the Auto-Assign Auto assign by bot label Sep 28, 2022
@ghost ghost requested review from kairu-ms and necusjz September 28, 2022 14:34
@ghost ghost assigned kairu-ms Sep 28, 2022
@ghost ghost added this to the Sep 2022 (2022-10-12) - For Ignite milestone Sep 28, 2022
@ghost ghost requested review from wangzelin007, yonzhan and zhoxing-ms September 28, 2022 14:34
@ghost ghost assigned zhoxing-ms Sep 28, 2022
@ghost ghost added the Compute label Sep 28, 2022
@yonzhan
Copy link
Collaborator

yonzhan commented Sep 28, 2022

vmware

@jonathanhe-msft jonathanhe-msft changed the title Jonathanhe/api update CLI SDK Update to 2022-05-01 API Sep 28, 2022
@wangzelin007
Copy link
Member

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

Copy link
Member

@cataggar cataggar left a comment

Choose a reason for hiding this comment

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

With Azure/azure-rest-api-specs#20873 finally merged, please use the published spec.

@jonathanhe-msft
Copy link
Contributor Author

With Azure/azure-rest-api-specs#20873 finally merged, please use the published spec.

Regenerated client using latest published in azure-rest-api-specs

@jonathanhe-msft jonathanhe-msft marked this pull request as ready for review October 24, 2022 17:16
@cataggar cataggar removed the Auto-Assign Auto assign by bot label Oct 27, 2022
@cataggar cataggar added AVS and removed Compute labels Oct 27, 2022
@cataggar
Copy link
Member

@jonathanhe-msft, linter is failing with:

-  FAIL - HIGH severity: unrecognized_help_entry_rule
    Help-Entry: `vmware workload-network list` - Not a recognized command or command-group
    Help-Entry: `vmware workload-network show` - Not a recognized command or command-group

Looks like you need to remove that help for the removed commands.

@kairu-ms kairu-ms removed their assignment Oct 31, 2022
@jonathanhe-msft
Copy link
Contributor Author

@zhoxing-ms can I get a review on this please? thank you!

@jonathanhe-msft
Copy link
Contributor Author

@zhoxing-ms this is ready for final review and to be merged. Thanks!

Comment on lines +6 to +12
- Add `az vmware cluster list-zones`
- Add `--affinity-strength` and `--azure-hybrid-benefit-type` parameters to `az vmware placement-policy vm-host create`
- Add `--affinity-strength` and `--azure-hybrid-benefit-type` parameters to `az vmware placement-policy vm-host update`
- Add `--express-route-id` parameter to `az vmware authorization create`
- Add `vmware addon arc` command group
- Add `az vmware location check-trial-availability`
- Add `az vmware location check-quota-availability`
Copy link
Contributor

Choose a reason for hiding this comment

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

Could you please add some description for these new commands and new parameters?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

There's a separate help.py file that contains help for each of these commands and parameters. I'd also like to keep the HISTORY.md file minimal for readability.

@zhoxing-ms zhoxing-ms merged commit 83ba1e9 into Azure:main Dec 8, 2022
@azclibot
Copy link
Collaborator

azclibot commented Dec 8, 2022

[Release] Update index.json for extension [ vmware ] : https://dev.azure.com/azclitools/internal/_build/results?buildId=19884&view=results

Comment on lines -1 to -12
# coding=utf-8
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for
# license information.
#
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
# --------------------------------------------------------------------------

__path__ = __import__('pkgutil').extend_path(__path__, __name__)
Copy link
Contributor

@zhoxing-ms zhoxing-ms Dec 8, 2022

Choose a reason for hiding this comment

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

Please do not remove this file, it will cause a CI problem in main CLI pipeline pipeline link

File "/opt/az/azcliextensions/vmware/azext_vmware/custom.py", line 8, in
from azext_vmware.vendored_sdks.avs_client import AVSClient
ModuleNotFoundError: No module named 'azext_vmware.vendored_sdks'

@jonathanhe-msft Could you please add this file back as soon as possible to unblock our CI?

Copy link
Member

@cataggar cataggar Dec 9, 2022

Choose a reason for hiding this comment

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

It was restored in #5619 and published as 5.0.1.

@jonathanhe-msft jonathanhe-msft deleted the jonathanhe/api-update branch August 18, 2023 16:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants