diff --git a/sdk/peering/Microsoft.Azure.Management.Peering/src/Generated/Models/PeeringService.cs b/sdk/peering/Microsoft.Azure.Management.Peering/src/Generated/Models/PeeringService.cs
index d5ced2386f6c..d695efb70b35 100644
--- a/sdk/peering/Microsoft.Azure.Management.Peering/src/Generated/Models/PeeringService.cs
+++ b/sdk/peering/Microsoft.Azure.Management.Peering/src/Generated/Models/PeeringService.cs
@@ -40,21 +40,29 @@ public PeeringService()
/// The type of the resource.
/// The SKU that defines the type of the peering
/// service.
- /// The PeeringServiceLocation of
- /// the Customer.
- /// The MAPS Provider
- /// Name.
+ /// The location (state/province)
+ /// of the customer.
+ /// The name of the service
+ /// provider.
/// The provisioning state of the
/// resource. Possible values include: 'Succeeded', 'Updating',
/// 'Deleting', 'Failed'
+ /// The primary peering
+ /// (Microsoft/service provider) location to be used for customer
+ /// traffic.
+ /// The backup peering
+ /// (Microsoft/service provider) location to be used for customer
+ /// traffic.
/// The resource tags.
- public PeeringService(string location, string name = default(string), string id = default(string), string type = default(string), PeeringServiceSku sku = default(PeeringServiceSku), string peeringServiceLocation = default(string), string peeringServiceProvider = default(string), string provisioningState = default(string), IDictionary tags = default(IDictionary))
+ public PeeringService(string location, string name = default(string), string id = default(string), string type = default(string), PeeringServiceSku sku = default(PeeringServiceSku), string peeringServiceLocation = default(string), string peeringServiceProvider = default(string), string provisioningState = default(string), string providerPrimaryPeeringLocation = default(string), string providerBackupPeeringLocation = default(string), IDictionary tags = default(IDictionary))
: base(name, id, type)
{
Sku = sku;
PeeringServiceLocation = peeringServiceLocation;
PeeringServiceProvider = peeringServiceProvider;
ProvisioningState = provisioningState;
+ ProviderPrimaryPeeringLocation = providerPrimaryPeeringLocation;
+ ProviderBackupPeeringLocation = providerBackupPeeringLocation;
Location = location;
Tags = tags;
CustomInit();
@@ -72,13 +80,13 @@ public PeeringService()
public PeeringServiceSku Sku { get; set; }
///
- /// Gets or sets the PeeringServiceLocation of the Customer.
+ /// Gets or sets the location (state/province) of the customer.
///
[JsonProperty(PropertyName = "properties.peeringServiceLocation")]
public string PeeringServiceLocation { get; set; }
///
- /// Gets or sets the MAPS Provider Name.
+ /// Gets or sets the name of the service provider.
///
[JsonProperty(PropertyName = "properties.peeringServiceProvider")]
public string PeeringServiceProvider { get; set; }
@@ -90,6 +98,20 @@ public PeeringService()
[JsonProperty(PropertyName = "properties.provisioningState")]
public string ProvisioningState { get; private set; }
+ ///
+ /// Gets or sets the primary peering (Microsoft/service provider)
+ /// location to be used for customer traffic.
+ ///
+ [JsonProperty(PropertyName = "properties.providerPrimaryPeeringLocation")]
+ public string ProviderPrimaryPeeringLocation { get; set; }
+
+ ///
+ /// Gets or sets the backup peering (Microsoft/service provider)
+ /// location to be used for customer traffic.
+ ///
+ [JsonProperty(PropertyName = "properties.providerBackupPeeringLocation")]
+ public string ProviderBackupPeeringLocation { get; set; }
+
///
/// Gets or sets the location of the resource.
///
diff --git a/sdk/peering/Microsoft.Azure.Management.Peering/src/Generated/Models/PeeringServiceProvider.cs b/sdk/peering/Microsoft.Azure.Management.Peering/src/Generated/Models/PeeringServiceProvider.cs
index 1cbca93ee403..4e169230e32c 100644
--- a/sdk/peering/Microsoft.Azure.Management.Peering/src/Generated/Models/PeeringServiceProvider.cs
+++ b/sdk/peering/Microsoft.Azure.Management.Peering/src/Generated/Models/PeeringServiceProvider.cs
@@ -13,6 +13,8 @@ namespace Microsoft.Azure.Management.Peering.Models
using Microsoft.Rest;
using Microsoft.Rest.Serialization;
using Newtonsoft.Json;
+ using System.Collections;
+ using System.Collections.Generic;
using System.Linq;
///
@@ -37,10 +39,13 @@ public PeeringServiceProvider()
/// The type of the resource.
/// The name of the service
/// provider.
- public PeeringServiceProvider(string name = default(string), string id = default(string), string type = default(string), string serviceProviderName = default(string))
+ /// The list of locations at which the
+ /// service provider peers with Microsoft.
+ public PeeringServiceProvider(string name = default(string), string id = default(string), string type = default(string), string serviceProviderName = default(string), IList peeringLocations = default(IList))
: base(name, id, type)
{
ServiceProviderName = serviceProviderName;
+ PeeringLocations = peeringLocations;
CustomInit();
}
@@ -55,5 +60,12 @@ public PeeringServiceProvider()
[JsonProperty(PropertyName = "properties.serviceProviderName")]
public string ServiceProviderName { get; set; }
+ ///
+ /// Gets or sets the list of locations at which the service provider
+ /// peers with Microsoft.
+ ///
+ [JsonProperty(PropertyName = "properties.peeringLocations")]
+ public IList PeeringLocations { get; set; }
+
}
}
diff --git a/sdk/peering/Microsoft.Azure.Management.Peering/src/Generated/PeeringManagementClient.cs b/sdk/peering/Microsoft.Azure.Management.Peering/src/Generated/PeeringManagementClient.cs
index a2754a94f659..6dc01ec157fd 100644
--- a/sdk/peering/Microsoft.Azure.Management.Peering/src/Generated/PeeringManagementClient.cs
+++ b/sdk/peering/Microsoft.Azure.Management.Peering/src/Generated/PeeringManagementClient.cs
@@ -402,7 +402,7 @@ private void Initialize()
PeeringServiceProviders = new PeeringServiceProvidersOperations(this);
PeeringServices = new PeeringServicesOperations(this);
BaseUri = new System.Uri("https://management.azure.com");
- ApiVersion = "2020-10-01";
+ ApiVersion = "2021-01-01";
AcceptLanguage = "en-US";
LongRunningOperationRetryTimeout = 30;
GenerateClientRequestId = true;
diff --git a/sdk/peering/Microsoft.Azure.Management.Peering/src/Generated/SdkInfo_PeeringManagementClient.cs b/sdk/peering/Microsoft.Azure.Management.Peering/src/Generated/SdkInfo_PeeringManagementClient.cs
index c6b718d92fc6..444641d5d10c 100644
--- a/sdk/peering/Microsoft.Azure.Management.Peering/src/Generated/SdkInfo_PeeringManagementClient.cs
+++ b/sdk/peering/Microsoft.Azure.Management.Peering/src/Generated/SdkInfo_PeeringManagementClient.cs
@@ -19,21 +19,21 @@ public static IEnumerable> ApiInfo_PeeringManageme
{
return new Tuple[]
{
- new Tuple("Peering", "CdnPeeringPrefixes", "2020-10-01"),
- new Tuple("Peering", "CheckServiceProviderAvailability", "2020-10-01"),
- new Tuple("Peering", "LegacyPeerings", "2020-10-01"),
- new Tuple("Peering", "Operations", "2020-10-01"),
- new Tuple("Peering", "PeerAsns", "2020-10-01"),
- new Tuple("Peering", "PeeringLocations", "2020-10-01"),
- new Tuple("Peering", "PeeringServiceCountries", "2020-10-01"),
- new Tuple("Peering", "PeeringServiceLocations", "2020-10-01"),
- new Tuple("Peering", "PeeringServiceProviders", "2020-10-01"),
- new Tuple("Peering", "PeeringServices", "2020-10-01"),
- new Tuple("Peering", "Peerings", "2020-10-01"),
- new Tuple("Peering", "Prefixes", "2020-10-01"),
- new Tuple("Peering", "ReceivedRoutes", "2020-10-01"),
- new Tuple("Peering", "RegisteredAsns", "2020-10-01"),
- new Tuple("Peering", "RegisteredPrefixes", "2020-10-01"),
+ new Tuple("Peering", "CdnPeeringPrefixes", "2021-01-01"),
+ new Tuple("Peering", "CheckServiceProviderAvailability", "2021-01-01"),
+ new Tuple("Peering", "LegacyPeerings", "2021-01-01"),
+ new Tuple("Peering", "Operations", "2021-01-01"),
+ new Tuple("Peering", "PeerAsns", "2021-01-01"),
+ new Tuple("Peering", "PeeringLocations", "2021-01-01"),
+ new Tuple("Peering", "PeeringServiceCountries", "2021-01-01"),
+ new Tuple("Peering", "PeeringServiceLocations", "2021-01-01"),
+ new Tuple("Peering", "PeeringServiceProviders", "2021-01-01"),
+ new Tuple("Peering", "PeeringServices", "2021-01-01"),
+ new Tuple("Peering", "Peerings", "2021-01-01"),
+ new Tuple("Peering", "Prefixes", "2021-01-01"),
+ new Tuple("Peering", "ReceivedRoutes", "2021-01-01"),
+ new Tuple("Peering", "RegisteredAsns", "2021-01-01"),
+ new Tuple("Peering", "RegisteredPrefixes", "2021-01-01"),
}.AsEnumerable();
}
}