diff --git a/sdk/peering/Microsoft.Azure.Management.Peering/src/Generated/IPeeringLocationsOperations.cs b/sdk/peering/Microsoft.Azure.Management.Peering/src/Generated/IPeeringLocationsOperations.cs
index d1af6abb9917..f1b9bea662d1 100644
--- a/sdk/peering/Microsoft.Azure.Management.Peering/src/Generated/IPeeringLocationsOperations.cs
+++ b/sdk/peering/Microsoft.Azure.Management.Peering/src/Generated/IPeeringLocationsOperations.cs
@@ -33,7 +33,7 @@ public partial interface IPeeringLocationsOperations
///
///
/// The type of direct peering. Possible values include: 'Edge',
- /// 'Transit', 'Cdn', 'Internal', 'Ix', 'IxRs'
+ /// 'Transit', 'Cdn', 'Internal', 'Ix', 'IxRs', 'Voice'
///
///
/// The headers that will be added to request.
diff --git a/sdk/peering/Microsoft.Azure.Management.Peering/src/Generated/Models/DirectPeeringFacility.cs b/sdk/peering/Microsoft.Azure.Management.Peering/src/Generated/Models/DirectPeeringFacility.cs
index f374f44e0224..a61283986b89 100644
--- a/sdk/peering/Microsoft.Azure.Management.Peering/src/Generated/Models/DirectPeeringFacility.cs
+++ b/sdk/peering/Microsoft.Azure.Management.Peering/src/Generated/Models/DirectPeeringFacility.cs
@@ -33,7 +33,7 @@ public DirectPeeringFacility()
/// facility.
/// The type of the direct peering.
/// Possible values include: 'Edge', 'Transit', 'Cdn', 'Internal',
- /// 'Ix', 'IxRs'
+ /// 'Ix', 'IxRs', 'Voice'
/// The PeeringDB.com ID of the
/// facility.
/// The PeeringDB.com URL of the
@@ -60,7 +60,8 @@ public DirectPeeringFacility()
///
/// Gets or sets the type of the direct peering. Possible values
- /// include: 'Edge', 'Transit', 'Cdn', 'Internal', 'Ix', 'IxRs'
+ /// include: 'Edge', 'Transit', 'Cdn', 'Internal', 'Ix', 'IxRs',
+ /// 'Voice'
///
[JsonProperty(PropertyName = "directPeeringType")]
public string DirectPeeringType { get; set; }
diff --git a/sdk/peering/Microsoft.Azure.Management.Peering/src/Generated/Models/DirectPeeringType.cs b/sdk/peering/Microsoft.Azure.Management.Peering/src/Generated/Models/DirectPeeringType.cs
index c211fd8dcf81..a26f4516bb1d 100644
--- a/sdk/peering/Microsoft.Azure.Management.Peering/src/Generated/Models/DirectPeeringType.cs
+++ b/sdk/peering/Microsoft.Azure.Management.Peering/src/Generated/Models/DirectPeeringType.cs
@@ -22,5 +22,6 @@ public static class DirectPeeringType
public const string Internal = "Internal";
public const string Ix = "Ix";
public const string IxRs = "IxRs";
+ public const string Voice = "Voice";
}
}
diff --git a/sdk/peering/Microsoft.Azure.Management.Peering/src/Generated/Models/PeeringPropertiesDirect.cs b/sdk/peering/Microsoft.Azure.Management.Peering/src/Generated/Models/PeeringPropertiesDirect.cs
index 2bce9bddae0c..98e914419d37 100644
--- a/sdk/peering/Microsoft.Azure.Management.Peering/src/Generated/Models/PeeringPropertiesDirect.cs
+++ b/sdk/peering/Microsoft.Azure.Management.Peering/src/Generated/Models/PeeringPropertiesDirect.cs
@@ -38,7 +38,7 @@ public PeeringPropertiesDirect()
/// The reference of the peer ASN.
/// The type of direct peering.
/// Possible values include: 'Edge', 'Transit', 'Cdn', 'Internal',
- /// 'Ix', 'IxRs'
+ /// 'Ix', 'IxRs', 'Voice'
public PeeringPropertiesDirect(IList connections = default(IList), bool? useForPeeringService = default(bool?), SubResource peerAsn = default(SubResource), string directPeeringType = default(string))
{
Connections = connections;
@@ -75,7 +75,7 @@ public PeeringPropertiesDirect()
///
/// Gets or sets the type of direct peering. Possible values include:
- /// 'Edge', 'Transit', 'Cdn', 'Internal', 'Ix', 'IxRs'
+ /// 'Edge', 'Transit', 'Cdn', 'Internal', 'Ix', 'IxRs', 'Voice'
///
[JsonProperty(PropertyName = "directPeeringType")]
public string DirectPeeringType { get; set; }
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/PeeringLocationsOperations.cs b/sdk/peering/Microsoft.Azure.Management.Peering/src/Generated/PeeringLocationsOperations.cs
index e3da8c9c1266..3ed912c8db53 100644
--- a/sdk/peering/Microsoft.Azure.Management.Peering/src/Generated/PeeringLocationsOperations.cs
+++ b/sdk/peering/Microsoft.Azure.Management.Peering/src/Generated/PeeringLocationsOperations.cs
@@ -59,7 +59,7 @@ internal PeeringLocationsOperations(PeeringManagementClient client)
///
///
/// The type of direct peering. Possible values include: 'Edge', 'Transit',
- /// 'Cdn', 'Internal', 'Ix', 'IxRs'
+ /// 'Cdn', 'Internal', 'Ix', 'IxRs', 'Voice'
///
///
/// Headers that will be added to request.
diff --git a/sdk/peering/Microsoft.Azure.Management.Peering/src/Generated/PeeringLocationsOperationsExtensions.cs b/sdk/peering/Microsoft.Azure.Management.Peering/src/Generated/PeeringLocationsOperationsExtensions.cs
index 8788fb6e9b6b..53db23cfabcf 100644
--- a/sdk/peering/Microsoft.Azure.Management.Peering/src/Generated/PeeringLocationsOperationsExtensions.cs
+++ b/sdk/peering/Microsoft.Azure.Management.Peering/src/Generated/PeeringLocationsOperationsExtensions.cs
@@ -33,7 +33,7 @@ public static partial class PeeringLocationsOperationsExtensions
///
///
/// The type of direct peering. Possible values include: 'Edge', 'Transit',
- /// 'Cdn', 'Internal', 'Ix', 'IxRs'
+ /// 'Cdn', 'Internal', 'Ix', 'IxRs', 'Voice'
///
public static IPage List(this IPeeringLocationsOperations operations, string kind, string directPeeringType = default(string))
{
@@ -52,7 +52,7 @@ public static partial class PeeringLocationsOperationsExtensions
///
///
/// The type of direct peering. Possible values include: 'Edge', 'Transit',
- /// 'Cdn', 'Internal', 'Ix', 'IxRs'
+ /// 'Cdn', 'Internal', 'Ix', 'IxRs', 'Voice'
///
///
/// The cancellation token.
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();
}
}