Skip to content

Commit fbd7d28

Browse files
Region Availability: Adds missing regions from Direct 3.42.4 (#5786)
## Description Adds 3 regions introduced in Direct SDK 3.42.3/3.42.4 that were missing from `Cosmos.Regions` and the API contract baseline: - `SoutheastAsia3` → `Southeast Asia 3` - `SaudiArabiaEast` → `Saudi Arabia East` - `WestCentralUSFRE` → `West Central US FRE` These were added to `LocationNames` in the Direct package bump (#5779) but the corresponding `Regions.cs` entries and contract baseline were not updated, causing `MappedRegionsTest` to fail. ## Type of change - [x] Bug fix (non-breaking change which fixes an issue) ## Does this introduce a breaking change? No. Additive-only: 3 new public `const string` fields. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 2507de6 commit fbd7d28

2 files changed

Lines changed: 30 additions & 0 deletions

File tree

Microsoft.Azure.Cosmos/src/Regions.cs

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,11 @@ public static class Regions
7575
/// </summary>
7676
public const string SoutheastAsia = "Southeast Asia";
7777

78+
/// <summary>
79+
/// Name of the Azure Southeast Asia 3 region in the Azure Cosmos DB service.
80+
/// </summary>
81+
public const string SoutheastAsia3 = "Southeast Asia 3";
82+
7883
/// <summary>
7984
/// Name of the Azure Japan East region in the Azure Cosmos DB service.
8085
/// </summary>
@@ -489,5 +494,15 @@ public static class Regions
489494
/// Name of the Azure Singapore North region in the Azure Cosmos DB service.
490495
/// </summary>
491496
public const string SingaporeNorth = "Singapore North";
497+
498+
/// <summary>
499+
/// Name of the Azure Saudi Arabia East region in the Azure Cosmos DB service.
500+
/// </summary>
501+
public const string SaudiArabiaEast = "Saudi Arabia East";
502+
503+
/// <summary>
504+
/// Name of the Azure West Central US FRE region in the Azure Cosmos DB service.
505+
/// </summary>
506+
public const string WestCentralUSFRE = "West Central US FRE";
492507
}
493508
}

Microsoft.Azure.Cosmos/tests/Microsoft.Azure.Cosmos.Tests/Contracts/DotNetSDKAPI.net6.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8193,6 +8193,11 @@
81938193
"Attributes": [],
81948194
"MethodInfo": "System.String QatarCentral;IsInitOnly:False;IsStatic:True;"
81958195
},
8196+
"System.String SaudiArabiaEast": {
8197+
"Type": "Field",
8198+
"Attributes": [],
8199+
"MethodInfo": "System.String SaudiArabiaEast;IsInitOnly:False;IsStatic:True;"
8200+
},
81968201
"System.String SingaporeCentral": {
81978202
"Type": "Field",
81988203
"Attributes": [],
@@ -8228,6 +8233,11 @@
82288233
"Attributes": [],
82298234
"MethodInfo": "System.String SoutheastAsia;IsInitOnly:False;IsStatic:True;"
82308235
},
8236+
"System.String SoutheastAsia3": {
8237+
"Type": "Field",
8238+
"Attributes": [],
8239+
"MethodInfo": "System.String SoutheastAsia3;IsInitOnly:False;IsStatic:True;"
8240+
},
82318241
"System.String SoutheastUS": {
82328242
"Type": "Field",
82338243
"Attributes": [],
@@ -8363,6 +8373,11 @@
83638373
"Attributes": [],
83648374
"MethodInfo": "System.String WestCentralUS;IsInitOnly:False;IsStatic:True;"
83658375
},
8376+
"System.String WestCentralUSFRE": {
8377+
"Type": "Field",
8378+
"Attributes": [],
8379+
"MethodInfo": "System.String WestCentralUSFRE;IsInitOnly:False;IsStatic:True;"
8380+
},
83668381
"System.String WestEurope": {
83678382
"Type": "Field",
83688383
"Attributes": [],

0 commit comments

Comments
 (0)