Skip to content
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

Region Availability: Adds Spain Central and Mexico Central Regions For Public Usage. #4279

2 changes: 1 addition & 1 deletion Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<ClientOfficialVersion>3.37.1</ClientOfficialVersion>
<ClientPreviewVersion>3.37.1</ClientPreviewVersion>
<ClientPreviewSuffixVersion>preview</ClientPreviewSuffixVersion>
<DirectVersion>3.31.5</DirectVersion>
<DirectVersion>3.32.0</DirectVersion>
<EncryptionOfficialVersion>2.0.4</EncryptionOfficialVersion>
<EncryptionPreviewVersion>2.1.0</EncryptionPreviewVersion>
<EncryptionPreviewSuffixVersion>preview4</EncryptionPreviewSuffixVersion>
Expand Down
10 changes: 10 additions & 0 deletions Microsoft.Azure.Cosmos/src/Regions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -364,5 +364,15 @@ public static class Regions
/// Name of the Azure Israel Central region in the Azure Cosmos DB service.
/// </summary>
public const string IsraelCentral = "Israel Central";
kundadebdatta marked this conversation as resolved.
Show resolved Hide resolved

/// <summary>
/// Name of the Azure Mexico Central region in the Azure Cosmos DB service.
/// </summary>
public const string MexicoCentral = "Mexico Central";
philipthomas-MSFT marked this conversation as resolved.
Show resolved Hide resolved

/// <summary>
/// Name of the Azure Spain Central region in the Azure Cosmos DB service.
/// </summary>
public const string SpainCentral = "Spain Central";
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -6904,6 +6904,11 @@
"Attributes": [],
"MethodInfo": "System.String MalaysiaSouth;IsInitOnly:False;IsStatic:True;"
},
"System.String MexicoCentral": {
"Type": "Field",
"Attributes": [],
"MethodInfo": "System.String MexicoCentral;IsInitOnly:False;IsStatic:True;"
},
"System.String NorthCentralUS": {
"Type": "Field",
"Attributes": [],
Expand Down Expand Up @@ -6959,6 +6964,11 @@
"Attributes": [],
"MethodInfo": "System.String SouthIndia;IsInitOnly:False;IsStatic:True;"
},
"System.String SpainCentral": {
"Type": "Field",
"Attributes": [],
"MethodInfo": "System.String SpainCentral;IsInitOnly:False;IsStatic:True;"
},
"System.String SwedenCentral": {
"Type": "Field",
"Attributes": [],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,8 @@ public void TestIsValidConsistencyLevelOverwrite_BoundedPromotionsRejected(
Documents.OperationTypeExtensions.IsReadOperation(operationType)
&& operationType != Documents.OperationType.Head
&& operationType != Documents.OperationType.HeadFeed
&& operationType != Documents.OperationType.QueryPlan);
&& operationType != Documents.OperationType.QueryPlan
&& operationType != Documents.OperationType.MetadataCheckAccess);
kundadebdatta marked this conversation as resolved.
Show resolved Hide resolved
}

return perOperationOverride;
Expand Down
Loading