Skip to content

Commit 0505f79

Browse files
authored
Add missing locations to AzureLocation struct (Azure#47862)
* Add missing locations to AzureLocation struct
1 parent e84945a commit 0505f79

File tree

7 files changed

+22
-0
lines changed

7 files changed

+22
-0
lines changed

sdk/core/Azure.Core/CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44

55
### Features Added
66

7+
- Added `MexicoCentral` and `SpainCentral` locations to `AzureLocation` struct. ([#47862](https://github.com/Azure/azure-sdk-for-net/pull/47862))
8+
79
### Breaking Changes
810

911
### Bugs Fixed

sdk/core/Azure.Core/api/Azure.Core.net461.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -346,6 +346,7 @@ public partial struct AccessToken
346346
public static Azure.Core.AzureLocation JapanWest { get { throw null; } }
347347
public static Azure.Core.AzureLocation KoreaCentral { get { throw null; } }
348348
public static Azure.Core.AzureLocation KoreaSouth { get { throw null; } }
349+
public static Azure.Core.AzureLocation MexicoCentral { get { throw null; } }
349350
public string Name { get { throw null; } }
350351
public static Azure.Core.AzureLocation NorthCentralUS { get { throw null; } }
351352
public static Azure.Core.AzureLocation NorthEurope { get { throw null; } }
@@ -358,6 +359,7 @@ public partial struct AccessToken
358359
public static Azure.Core.AzureLocation SouthCentralUS { get { throw null; } }
359360
public static Azure.Core.AzureLocation SoutheastAsia { get { throw null; } }
360361
public static Azure.Core.AzureLocation SouthIndia { get { throw null; } }
362+
public static Azure.Core.AzureLocation SpainCentral { get { throw null; } }
361363
public static Azure.Core.AzureLocation SwedenCentral { get { throw null; } }
362364
public static Azure.Core.AzureLocation SwedenSouth { get { throw null; } }
363365
public static Azure.Core.AzureLocation SwitzerlandNorth { get { throw null; } }

sdk/core/Azure.Core/api/Azure.Core.net472.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -346,6 +346,7 @@ public partial struct AccessToken
346346
public static Azure.Core.AzureLocation JapanWest { get { throw null; } }
347347
public static Azure.Core.AzureLocation KoreaCentral { get { throw null; } }
348348
public static Azure.Core.AzureLocation KoreaSouth { get { throw null; } }
349+
public static Azure.Core.AzureLocation MexicoCentral { get { throw null; } }
349350
public string Name { get { throw null; } }
350351
public static Azure.Core.AzureLocation NorthCentralUS { get { throw null; } }
351352
public static Azure.Core.AzureLocation NorthEurope { get { throw null; } }
@@ -358,6 +359,7 @@ public partial struct AccessToken
358359
public static Azure.Core.AzureLocation SouthCentralUS { get { throw null; } }
359360
public static Azure.Core.AzureLocation SoutheastAsia { get { throw null; } }
360361
public static Azure.Core.AzureLocation SouthIndia { get { throw null; } }
362+
public static Azure.Core.AzureLocation SpainCentral { get { throw null; } }
361363
public static Azure.Core.AzureLocation SwedenCentral { get { throw null; } }
362364
public static Azure.Core.AzureLocation SwedenSouth { get { throw null; } }
363365
public static Azure.Core.AzureLocation SwitzerlandNorth { get { throw null; } }

sdk/core/Azure.Core/api/Azure.Core.net6.0.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -351,6 +351,7 @@ public partial struct AccessToken
351351
public static Azure.Core.AzureLocation JapanWest { get { throw null; } }
352352
public static Azure.Core.AzureLocation KoreaCentral { get { throw null; } }
353353
public static Azure.Core.AzureLocation KoreaSouth { get { throw null; } }
354+
public static Azure.Core.AzureLocation MexicoCentral { get { throw null; } }
354355
public string Name { get { throw null; } }
355356
public static Azure.Core.AzureLocation NorthCentralUS { get { throw null; } }
356357
public static Azure.Core.AzureLocation NorthEurope { get { throw null; } }
@@ -363,6 +364,7 @@ public partial struct AccessToken
363364
public static Azure.Core.AzureLocation SouthCentralUS { get { throw null; } }
364365
public static Azure.Core.AzureLocation SoutheastAsia { get { throw null; } }
365366
public static Azure.Core.AzureLocation SouthIndia { get { throw null; } }
367+
public static Azure.Core.AzureLocation SpainCentral { get { throw null; } }
366368
public static Azure.Core.AzureLocation SwedenCentral { get { throw null; } }
367369
public static Azure.Core.AzureLocation SwedenSouth { get { throw null; } }
368370
public static Azure.Core.AzureLocation SwitzerlandNorth { get { throw null; } }

sdk/core/Azure.Core/api/Azure.Core.net8.0.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -358,6 +358,7 @@ public partial struct AccessToken
358358
public static Azure.Core.AzureLocation JapanWest { get { throw null; } }
359359
public static Azure.Core.AzureLocation KoreaCentral { get { throw null; } }
360360
public static Azure.Core.AzureLocation KoreaSouth { get { throw null; } }
361+
public static Azure.Core.AzureLocation MexicoCentral { get { throw null; } }
361362
public string Name { get { throw null; } }
362363
public static Azure.Core.AzureLocation NorthCentralUS { get { throw null; } }
363364
public static Azure.Core.AzureLocation NorthEurope { get { throw null; } }
@@ -370,6 +371,7 @@ public partial struct AccessToken
370371
public static Azure.Core.AzureLocation SouthCentralUS { get { throw null; } }
371372
public static Azure.Core.AzureLocation SoutheastAsia { get { throw null; } }
372373
public static Azure.Core.AzureLocation SouthIndia { get { throw null; } }
374+
public static Azure.Core.AzureLocation SpainCentral { get { throw null; } }
373375
public static Azure.Core.AzureLocation SwedenCentral { get { throw null; } }
374376
public static Azure.Core.AzureLocation SwedenSouth { get { throw null; } }
375377
public static Azure.Core.AzureLocation SwitzerlandNorth { get { throw null; } }

sdk/core/Azure.Core/api/Azure.Core.netstandard2.0.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -346,6 +346,7 @@ public partial struct AccessToken
346346
public static Azure.Core.AzureLocation JapanWest { get { throw null; } }
347347
public static Azure.Core.AzureLocation KoreaCentral { get { throw null; } }
348348
public static Azure.Core.AzureLocation KoreaSouth { get { throw null; } }
349+
public static Azure.Core.AzureLocation MexicoCentral { get { throw null; } }
349350
public string Name { get { throw null; } }
350351
public static Azure.Core.AzureLocation NorthCentralUS { get { throw null; } }
351352
public static Azure.Core.AzureLocation NorthEurope { get { throw null; } }
@@ -358,6 +359,7 @@ public partial struct AccessToken
358359
public static Azure.Core.AzureLocation SouthCentralUS { get { throw null; } }
359360
public static Azure.Core.AzureLocation SoutheastAsia { get { throw null; } }
360361
public static Azure.Core.AzureLocation SouthIndia { get { throw null; } }
362+
public static Azure.Core.AzureLocation SpainCentral { get { throw null; } }
361363
public static Azure.Core.AzureLocation SwedenCentral { get { throw null; } }
362364
public static Azure.Core.AzureLocation SwedenSouth { get { throw null; } }
363365
public static Azure.Core.AzureLocation SwitzerlandNorth { get { throw null; } }

sdk/core/Azure.Core/src/AzureLocation.cs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -329,6 +329,16 @@ namespace Azure.Core
329329
/// </summary>
330330
public static AzureLocation PolandCentral { get; } = CreateStaticReference("polandcentral", "Poland Central");
331331

332+
/// <summary>
333+
/// Public cloud location for Mexico Central.
334+
/// </summary>
335+
public static AzureLocation MexicoCentral { get; } = CreateStaticReference("mexicocentral", "Mexico Central");
336+
337+
/// <summary>
338+
/// Public cloud location for Spain Central.
339+
/// </summary>
340+
public static AzureLocation SpainCentral { get; } = CreateStaticReference("spaincentral", "Spain Central");
341+
332342
#endregion
333343

334344
/// <summary> Initializes a new instance of Location. </summary>

0 commit comments

Comments
 (0)