Skip to content

Commit

Permalink
[Serial-Console] Fix pair mapping region for eastus to westus (#6231)
Browse files Browse the repository at this point in the history
* Retrieve the correct resource group based on the storage account location.

* Fix pylint style warnings

* Fix version number and update README file

* Update live test results

* Added the eastus to westus pair region mapping for issue #106

* Add history info and bump version to 0.1.6

* Upload new test results from live run

* Upload new test results from live run

* Upload new test results from live run

* Add new test results

* Updated live tests after updating azure-cli

---------

Co-authored-by: Richard Hoover <rhoover@microsoft.com>
Co-authored-by: rhoover <rhkodiak@DESKTOP-XVFR7ID>
  • Loading branch information
3 people authored Jun 1, 2023
1 parent be238c3 commit eacae60
Show file tree
Hide file tree
Showing 6 changed files with 3,183 additions and 1,998 deletions.
4 changes: 4 additions & 0 deletions src/serial-console/HISTORY.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
Release History
===============

0.1.6
++++++
* Fix pair region mapping for eastus to westus

0.1.5
++++++
* Fix resource group for custom storage account
Expand Down
2 changes: 2 additions & 0 deletions src/serial-console/azext_serialconsole/_arm_endpoints.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ class ArmEndpoints: # pylint: disable=too-few-public-methods
'centralus': 'westcentralus',
'centraluseuap': 'eastus2euap',
'eastasia': 'southeastasia',
'eastus': 'westus',
'eastus2': 'westus2', # pairing eastus2 + westus2 ensure that INT works as expected
'eastus2euap': 'centraluseuap',
'francecentral': 'francesouth',
Expand All @@ -41,6 +42,7 @@ class ArmEndpoints: # pylint: disable=too-few-public-methods
'ukwest': 'uksouth',
'westcentralus': 'centralus',
'westeurope': 'northeurope',
'westus': 'eastus',
'westus2': 'eastus2',
'usgovarizona': 'usgoveast', # usgoveast == usgovvirginia
'usgovvirginia': 'usgovsw', # usgovsw == usgovarizona
Expand Down
Loading

0 comments on commit eacae60

Please sign in to comment.