diff --git a/eng/mgmt/mgmtmetadata/eventhub_resource-manager.txt b/eng/mgmt/mgmtmetadata/eventhub_resource-manager.txt
index f13a2de5b0d9..13c2c5c31cfe 100644
--- a/eng/mgmt/mgmtmetadata/eventhub_resource-manager.txt
+++ b/eng/mgmt/mgmtmetadata/eventhub_resource-manager.txt
@@ -4,11 +4,11 @@ Commencing code generation
Generating CSharp code
Executing AutoRest command
cmd.exe /c autorest.cmd https://github.com/Azure/azure-rest-api-specs/blob/master/specification/eventhub/resource-manager/readme.md --csharp --version=v2 --reflect-api-versions --csharp-sdks-folder=D:\AutoRestSDK\EH\azure-sdk-for-net\sdk
-2020-05-11 09:31:53 UTC
+2020-06-05 16:52:27 UTC
Azure-rest-api-specs repository information
GitHub fork: Azure
Branch: master
-Commit: f93a02743ad250d914677b70712f15b2c953f1f5
+Commit: 09ac2b33d780dbf2f74de2083012f62aaa33c451
AutoRest information
Requested version: v2
Bootstrapper version: autorest@1.9.1
diff --git a/sdk/eventhub/Microsoft.Azure.Management.EventHub/src/Generated/ClustersOperations.cs b/sdk/eventhub/Microsoft.Azure.Management.EventHub/src/Generated/ClustersOperations.cs
index 709fcd1c5e87..30988d1dfe11 100644
--- a/sdk/eventhub/Microsoft.Azure.Management.EventHub/src/Generated/ClustersOperations.cs
+++ b/sdk/eventhub/Microsoft.Azure.Management.EventHub/src/Generated/ClustersOperations.cs
@@ -75,7 +75,7 @@ internal ClustersOperations(EventHubManagementClient client)
///
/// A response object containing the response body and response headers.
///
- public async Task> ListAvailableClustersWithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken))
+ public async Task> ListAvailableClusterRegionWithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken))
{
if (Client.SubscriptionId == null)
{
@@ -91,7 +91,7 @@ internal ClustersOperations(EventHubManagementClient client)
Dictionary tracingParameters = new Dictionary();
tracingParameters.Add("apiVersion", apiVersion);
tracingParameters.Add("cancellationToken", cancellationToken);
- ServiceClientTracing.Enter(_invocationId, this, "ListAvailableClusters", tracingParameters);
+ ServiceClientTracing.Enter(_invocationId, this, "ListAvailableClusterRegion", tracingParameters);
}
// Construct URL
var _baseUrl = Client.BaseUri.AbsoluteUri;
@@ -633,16 +633,19 @@ internal ClustersOperations(EventHubManagementClient client)
///
/// The name of the Event Hubs Cluster.
///
+ ///
+ /// Parameters for creating a eventhub cluster resource.
+ ///
///
/// The headers that will be added to request.
///
///
/// The cancellation token.
///
- public async Task> PutWithHttpMessagesAsync(string resourceGroupName, string clusterName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken))
+ public async Task> CreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string clusterName, Cluster parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken))
{
// Send Request
- AzureOperationResponse _response = await BeginPutWithHttpMessagesAsync(resourceGroupName, clusterName, customHeaders, cancellationToken).ConfigureAwait(false);
+ AzureOperationResponse _response = await BeginCreateOrUpdateWithHttpMessagesAsync(resourceGroupName, clusterName, parameters, customHeaders, cancellationToken).ConfigureAwait(false);
return await Client.GetPutOrPatchOperationResultAsync(_response, customHeaders, cancellationToken).ConfigureAwait(false);
}
@@ -665,10 +668,10 @@ internal ClustersOperations(EventHubManagementClient client)
///
/// The cancellation token.
///
- public async Task> PatchWithHttpMessagesAsync(string resourceGroupName, string clusterName, Cluster parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken))
+ public async Task> UpdateWithHttpMessagesAsync(string resourceGroupName, string clusterName, Cluster parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken))
{
// Send Request
- AzureOperationResponse _response = await BeginPatchWithHttpMessagesAsync(resourceGroupName, clusterName, parameters, customHeaders, cancellationToken).ConfigureAwait(false);
+ AzureOperationResponse _response = await BeginUpdateWithHttpMessagesAsync(resourceGroupName, clusterName, parameters, customHeaders, cancellationToken).ConfigureAwait(false);
return await Client.GetPutOrPatchOperationResultAsync(_response, customHeaders, cancellationToken).ConfigureAwait(false);
}
@@ -914,6 +917,9 @@ internal ClustersOperations(EventHubManagementClient client)
///
/// The name of the Event Hubs Cluster.
///
+ ///
+ /// Parameters for creating a eventhub cluster resource.
+ ///
///
/// Headers that will be added to request.
///
@@ -935,7 +941,7 @@ internal ClustersOperations(EventHubManagementClient client)
///
/// A response object containing the response body and response headers.
///
- public async Task> BeginPutWithHttpMessagesAsync(string resourceGroupName, string clusterName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken))
+ public async Task> BeginCreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string clusterName, Cluster parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken))
{
if (Client.SubscriptionId == null)
{
@@ -971,6 +977,14 @@ internal ClustersOperations(EventHubManagementClient client)
throw new ValidationException(ValidationRules.MinLength, "clusterName", 6);
}
}
+ if (parameters == null)
+ {
+ throw new ValidationException(ValidationRules.CannotBeNull, "parameters");
+ }
+ if (parameters != null)
+ {
+ parameters.Validate();
+ }
string apiVersion = "2018-01-01-preview";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
@@ -981,9 +995,10 @@ internal ClustersOperations(EventHubManagementClient client)
Dictionary tracingParameters = new Dictionary();
tracingParameters.Add("resourceGroupName", resourceGroupName);
tracingParameters.Add("clusterName", clusterName);
+ tracingParameters.Add("parameters", parameters);
tracingParameters.Add("apiVersion", apiVersion);
tracingParameters.Add("cancellationToken", cancellationToken);
- ServiceClientTracing.Enter(_invocationId, this, "BeginPut", tracingParameters);
+ ServiceClientTracing.Enter(_invocationId, this, "BeginCreateOrUpdate", tracingParameters);
}
// Construct URL
var _baseUrl = Client.BaseUri.AbsoluteUri;
@@ -1034,6 +1049,12 @@ internal ClustersOperations(EventHubManagementClient client)
// Serialize Request
string _requestContent = null;
+ if(parameters != null)
+ {
+ _requestContent = Rest.Serialization.SafeJsonConvert.SerializeObject(parameters, Client.SerializationSettings);
+ _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8);
+ _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8");
+ }
// Set Credentials
if (Client.Credentials != null)
{
@@ -1168,7 +1189,7 @@ internal ClustersOperations(EventHubManagementClient client)
///
/// A response object containing the response body and response headers.
///
- public async Task> BeginPatchWithHttpMessagesAsync(string resourceGroupName, string clusterName, Cluster parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken))
+ public async Task> BeginUpdateWithHttpMessagesAsync(string resourceGroupName, string clusterName, Cluster parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken))
{
if (Client.SubscriptionId == null)
{
@@ -1221,7 +1242,7 @@ internal ClustersOperations(EventHubManagementClient client)
tracingParameters.Add("apiVersion", apiVersion);
tracingParameters.Add("parameters", parameters);
tracingParameters.Add("cancellationToken", cancellationToken);
- ServiceClientTracing.Enter(_invocationId, this, "BeginPatch", tracingParameters);
+ ServiceClientTracing.Enter(_invocationId, this, "BeginUpdate", tracingParameters);
}
// Construct URL
var _baseUrl = Client.BaseUri.AbsoluteUri;
diff --git a/sdk/eventhub/Microsoft.Azure.Management.EventHub/src/Generated/ClustersOperationsExtensions.cs b/sdk/eventhub/Microsoft.Azure.Management.EventHub/src/Generated/ClustersOperationsExtensions.cs
index ddc108f49629..35d930bc69b0 100644
--- a/sdk/eventhub/Microsoft.Azure.Management.EventHub/src/Generated/ClustersOperationsExtensions.cs
+++ b/sdk/eventhub/Microsoft.Azure.Management.EventHub/src/Generated/ClustersOperationsExtensions.cs
@@ -28,9 +28,9 @@ public static partial class ClustersOperationsExtensions
///
/// The operations group for this extension method.
///
- public static AvailableClustersList ListAvailableClusters(this IClustersOperations operations)
+ public static AvailableClustersList ListAvailableClusterRegion(this IClustersOperations operations)
{
- return operations.ListAvailableClustersAsync().GetAwaiter().GetResult();
+ return operations.ListAvailableClusterRegionAsync().GetAwaiter().GetResult();
}
///
@@ -43,9 +43,9 @@ public static AvailableClustersList ListAvailableClusters(this IClustersOperatio
///
/// The cancellation token.
///
- public static async Task ListAvailableClustersAsync(this IClustersOperations operations, CancellationToken cancellationToken = default(CancellationToken))
+ public static async Task ListAvailableClusterRegionAsync(this IClustersOperations operations, CancellationToken cancellationToken = default(CancellationToken))
{
- using (var _result = await operations.ListAvailableClustersWithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false))
+ using (var _result = await operations.ListAvailableClusterRegionWithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false))
{
return _result.Body;
}
@@ -137,9 +137,12 @@ public static Cluster Get(this IClustersOperations operations, string resourceGr
///
/// The name of the Event Hubs Cluster.
///
- public static Cluster Put(this IClustersOperations operations, string resourceGroupName, string clusterName)
+ ///
+ /// Parameters for creating a eventhub cluster resource.
+ ///
+ public static Cluster CreateOrUpdate(this IClustersOperations operations, string resourceGroupName, string clusterName, Cluster parameters)
{
- return operations.PutAsync(resourceGroupName, clusterName).GetAwaiter().GetResult();
+ return operations.CreateOrUpdateAsync(resourceGroupName, clusterName, parameters).GetAwaiter().GetResult();
}
///
@@ -154,12 +157,15 @@ public static Cluster Put(this IClustersOperations operations, string resourceGr
///
/// The name of the Event Hubs Cluster.
///
+ ///
+ /// Parameters for creating a eventhub cluster resource.
+ ///
///
/// The cancellation token.
///
- public static async Task PutAsync(this IClustersOperations operations, string resourceGroupName, string clusterName, CancellationToken cancellationToken = default(CancellationToken))
+ public static async Task CreateOrUpdateAsync(this IClustersOperations operations, string resourceGroupName, string clusterName, Cluster parameters, CancellationToken cancellationToken = default(CancellationToken))
{
- using (var _result = await operations.PutWithHttpMessagesAsync(resourceGroupName, clusterName, null, cancellationToken).ConfigureAwait(false))
+ using (var _result = await operations.CreateOrUpdateWithHttpMessagesAsync(resourceGroupName, clusterName, parameters, null, cancellationToken).ConfigureAwait(false))
{
return _result.Body;
}
@@ -181,9 +187,9 @@ public static Cluster Put(this IClustersOperations operations, string resourceGr
///
/// The properties of the Event Hubs Cluster which should be updated.
///
- public static Cluster Patch(this IClustersOperations operations, string resourceGroupName, string clusterName, Cluster parameters)
+ public static Cluster Update(this IClustersOperations operations, string resourceGroupName, string clusterName, Cluster parameters)
{
- return operations.PatchAsync(resourceGroupName, clusterName, parameters).GetAwaiter().GetResult();
+ return operations.UpdateAsync(resourceGroupName, clusterName, parameters).GetAwaiter().GetResult();
}
///
@@ -205,9 +211,9 @@ public static Cluster Patch(this IClustersOperations operations, string resource
///
/// The cancellation token.
///
- public static async Task PatchAsync(this IClustersOperations operations, string resourceGroupName, string clusterName, Cluster parameters, CancellationToken cancellationToken = default(CancellationToken))
+ public static async Task UpdateAsync(this IClustersOperations operations, string resourceGroupName, string clusterName, Cluster parameters, CancellationToken cancellationToken = default(CancellationToken))
{
- using (var _result = await operations.PatchWithHttpMessagesAsync(resourceGroupName, clusterName, parameters, null, cancellationToken).ConfigureAwait(false))
+ using (var _result = await operations.UpdateWithHttpMessagesAsync(resourceGroupName, clusterName, parameters, null, cancellationToken).ConfigureAwait(false))
{
return _result.Body;
}
@@ -302,9 +308,12 @@ public static EHNamespaceIdListResult ListNamespaces(this IClustersOperations op
///
/// The name of the Event Hubs Cluster.
///
- public static Cluster BeginPut(this IClustersOperations operations, string resourceGroupName, string clusterName)
+ ///
+ /// Parameters for creating a eventhub cluster resource.
+ ///
+ public static Cluster BeginCreateOrUpdate(this IClustersOperations operations, string resourceGroupName, string clusterName, Cluster parameters)
{
- return operations.BeginPutAsync(resourceGroupName, clusterName).GetAwaiter().GetResult();
+ return operations.BeginCreateOrUpdateAsync(resourceGroupName, clusterName, parameters).GetAwaiter().GetResult();
}
///
@@ -319,12 +328,15 @@ public static Cluster BeginPut(this IClustersOperations operations, string resou
///
/// The name of the Event Hubs Cluster.
///
+ ///
+ /// Parameters for creating a eventhub cluster resource.
+ ///
///
/// The cancellation token.
///
- public static async Task BeginPutAsync(this IClustersOperations operations, string resourceGroupName, string clusterName, CancellationToken cancellationToken = default(CancellationToken))
+ public static async Task BeginCreateOrUpdateAsync(this IClustersOperations operations, string resourceGroupName, string clusterName, Cluster parameters, CancellationToken cancellationToken = default(CancellationToken))
{
- using (var _result = await operations.BeginPutWithHttpMessagesAsync(resourceGroupName, clusterName, null, cancellationToken).ConfigureAwait(false))
+ using (var _result = await operations.BeginCreateOrUpdateWithHttpMessagesAsync(resourceGroupName, clusterName, parameters, null, cancellationToken).ConfigureAwait(false))
{
return _result.Body;
}
@@ -346,9 +358,9 @@ public static Cluster BeginPut(this IClustersOperations operations, string resou
///
/// The properties of the Event Hubs Cluster which should be updated.
///
- public static Cluster BeginPatch(this IClustersOperations operations, string resourceGroupName, string clusterName, Cluster parameters)
+ public static Cluster BeginUpdate(this IClustersOperations operations, string resourceGroupName, string clusterName, Cluster parameters)
{
- return operations.BeginPatchAsync(resourceGroupName, clusterName, parameters).GetAwaiter().GetResult();
+ return operations.BeginUpdateAsync(resourceGroupName, clusterName, parameters).GetAwaiter().GetResult();
}
///
@@ -370,9 +382,9 @@ public static Cluster BeginPatch(this IClustersOperations operations, string res
///
/// The cancellation token.
///
- public static async Task BeginPatchAsync(this IClustersOperations operations, string resourceGroupName, string clusterName, Cluster parameters, CancellationToken cancellationToken = default(CancellationToken))
+ public static async Task BeginUpdateAsync(this IClustersOperations operations, string resourceGroupName, string clusterName, Cluster parameters, CancellationToken cancellationToken = default(CancellationToken))
{
- using (var _result = await operations.BeginPatchWithHttpMessagesAsync(resourceGroupName, clusterName, parameters, null, cancellationToken).ConfigureAwait(false))
+ using (var _result = await operations.BeginUpdateWithHttpMessagesAsync(resourceGroupName, clusterName, parameters, null, cancellationToken).ConfigureAwait(false))
{
return _result.Body;
}
diff --git a/sdk/eventhub/Microsoft.Azure.Management.EventHub/src/Generated/IClustersOperations.cs b/sdk/eventhub/Microsoft.Azure.Management.EventHub/src/Generated/IClustersOperations.cs
index 1f72cac29c80..79b52208069f 100644
--- a/sdk/eventhub/Microsoft.Azure.Management.EventHub/src/Generated/IClustersOperations.cs
+++ b/sdk/eventhub/Microsoft.Azure.Management.EventHub/src/Generated/IClustersOperations.cs
@@ -42,7 +42,7 @@ public partial interface IClustersOperations
///
/// Thrown when a required parameter is null
///
- Task> ListAvailableClustersWithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
+ Task> ListAvailableClusterRegionWithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
/// Lists the available Event Hubs Clusters within an ARM resource
/// group
@@ -100,6 +100,9 @@ public partial interface IClustersOperations
///
/// The name of the Event Hubs Cluster.
///
+ ///
+ /// Parameters for creating a eventhub cluster resource.
+ ///
///
/// The headers that will be added to request.
///
@@ -115,7 +118,7 @@ public partial interface IClustersOperations
///
/// Thrown when a required parameter is null
///
- Task> PutWithHttpMessagesAsync(string resourceGroupName, string clusterName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
+ Task> CreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string clusterName, Cluster parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
/// Modifies mutable properties on the Event Hubs Cluster. This
/// operation is idempotent.
@@ -144,7 +147,7 @@ public partial interface IClustersOperations
///
/// Thrown when a required parameter is null
///
- Task> PatchWithHttpMessagesAsync(string resourceGroupName, string clusterName, Cluster parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
+ Task> UpdateWithHttpMessagesAsync(string resourceGroupName, string clusterName, Cluster parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
/// Deletes an existing Event Hubs Cluster. This operation is
/// idempotent.
@@ -203,6 +206,9 @@ public partial interface IClustersOperations
///
/// The name of the Event Hubs Cluster.
///
+ ///
+ /// Parameters for creating a eventhub cluster resource.
+ ///
///
/// The headers that will be added to request.
///
@@ -218,7 +224,7 @@ public partial interface IClustersOperations
///
/// Thrown when a required parameter is null
///
- Task> BeginPutWithHttpMessagesAsync(string resourceGroupName, string clusterName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
+ Task> BeginCreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string clusterName, Cluster parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
/// Modifies mutable properties on the Event Hubs Cluster. This
/// operation is idempotent.
@@ -247,7 +253,7 @@ public partial interface IClustersOperations
///
/// Thrown when a required parameter is null
///
- Task> BeginPatchWithHttpMessagesAsync(string resourceGroupName, string clusterName, Cluster parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
+ Task> BeginUpdateWithHttpMessagesAsync(string resourceGroupName, string clusterName, Cluster parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
/// Deletes an existing Event Hubs Cluster. This operation is
/// idempotent.
diff --git a/sdk/eventhub/Microsoft.Azure.Management.EventHub/src/Generated/Models/Cluster.cs b/sdk/eventhub/Microsoft.Azure.Management.EventHub/src/Generated/Models/Cluster.cs
index ee2568e70eab..4d207caabfde 100644
--- a/sdk/eventhub/Microsoft.Azure.Management.EventHub/src/Generated/Models/Cluster.cs
+++ b/sdk/eventhub/Microsoft.Azure.Management.EventHub/src/Generated/Models/Cluster.cs
@@ -40,19 +40,19 @@ public Cluster()
/// Resource location.
/// Resource tags.
/// Properties of the cluster SKU.
- /// The UTC time when the Event Hubs Cluster was
- /// created.
- /// The UTC time when the Event Hubs Cluster was
- /// last updated.
+ /// The UTC time when the Event Hubs Cluster
+ /// was created.
+ /// The UTC time when the Event Hubs Cluster
+ /// was last updated.
/// The metric ID of the cluster resource.
/// Provided by the service and not modifiable by the user.
/// Status of the Cluster resource
- public Cluster(string id = default(string), string name = default(string), string type = default(string), string location = default(string), IDictionary tags = default(IDictionary), ClusterSku sku = default(ClusterSku), string created = default(string), string updated = default(string), string metricId = default(string), string status = default(string))
+ public Cluster(string id = default(string), string name = default(string), string type = default(string), string location = default(string), IDictionary tags = default(IDictionary), ClusterSku sku = default(ClusterSku), string createdAt = default(string), string updatedAt = default(string), string metricId = default(string), string status = default(string))
: base(id, name, type, location, tags)
{
Sku = sku;
- Created = created;
- Updated = updated;
+ CreatedAt = createdAt;
+ UpdatedAt = updatedAt;
MetricId = metricId;
Status = status;
CustomInit();
@@ -72,14 +72,14 @@ public Cluster()
///
/// Gets the UTC time when the Event Hubs Cluster was created.
///
- [JsonProperty(PropertyName = "properties.created")]
- public string Created { get; private set; }
+ [JsonProperty(PropertyName = "properties.createdAt")]
+ public string CreatedAt { get; private set; }
///
/// Gets the UTC time when the Event Hubs Cluster was last updated.
///
- [JsonProperty(PropertyName = "properties.updated")]
- public string Updated { get; private set; }
+ [JsonProperty(PropertyName = "properties.updatedAt")]
+ public string UpdatedAt { get; private set; }
///
/// Gets the metric ID of the cluster resource. Provided by the service
diff --git a/sdk/eventhub/Microsoft.Azure.Management.EventHub/src/Generated/SdkInfo_EventHubManagementClient.cs b/sdk/eventhub/Microsoft.Azure.Management.EventHub/src/Generated/SdkInfo_EventHubManagementClient.cs
index c3783cbc0d85..dfbe2dfcf32b 100644
--- a/sdk/eventhub/Microsoft.Azure.Management.EventHub/src/Generated/SdkInfo_EventHubManagementClient.cs
+++ b/sdk/eventhub/Microsoft.Azure.Management.EventHub/src/Generated/SdkInfo_EventHubManagementClient.cs
@@ -37,7 +37,7 @@ public static IEnumerable> ApiInfo_EventHubManagem
public static readonly String AutoRestCmdExecuted = "cmd.exe /c autorest.cmd https://github.com/Azure/azure-rest-api-specs/blob/master/specification/eventhub/resource-manager/readme.md --csharp --version=v2 --reflect-api-versions --csharp-sdks-folder=D:\\AutoRestSDK\\EH\\azure-sdk-for-net\\sdk";
public static readonly String GithubForkName = "Azure";
public static readonly String GithubBranchName = "master";
- public static readonly String GithubCommidId = "f93a02743ad250d914677b70712f15b2c953f1f5";
+ public static readonly String GithubCommidId = "09ac2b33d780dbf2f74de2083012f62aaa33c451";
public static readonly String CodeGenerationErrors = "";
public static readonly String GithubRepoName = "azure-rest-api-specs";
// END: Code Generation Metadata Section
diff --git a/sdk/eventhub/Microsoft.Azure.Management.EventHub/src/Microsoft.Azure.Management.EventHub.csproj b/sdk/eventhub/Microsoft.Azure.Management.EventHub/src/Microsoft.Azure.Management.EventHub.csproj
index 29e21eef074d..1407a712178f 100644
--- a/sdk/eventhub/Microsoft.Azure.Management.EventHub/src/Microsoft.Azure.Management.EventHub.csproj
+++ b/sdk/eventhub/Microsoft.Azure.Management.EventHub/src/Microsoft.Azure.Management.EventHub.csproj
@@ -6,14 +6,13 @@
Microsoft.Azure.Management.EventHub
Provides developers with a library to create and manage all Azure Event Hubs resources. Note: This client library is for EventHub under Azure Resource Manager.
- 2.6.0
+ 2.7.0
Microsoft.Azure.Management.EventHub
Microsoft Azure EventHubs Management;Event Hubs;Event Hubs management;
$(SdkTargetFx)
diff --git a/sdk/eventhub/Microsoft.Azure.Management.EventHub/src/Properties/AssemblyInfo.cs b/sdk/eventhub/Microsoft.Azure.Management.EventHub/src/Properties/AssemblyInfo.cs
index a2c4e3e00366..64bba1947ca6 100644
--- a/sdk/eventhub/Microsoft.Azure.Management.EventHub/src/Properties/AssemblyInfo.cs
+++ b/sdk/eventhub/Microsoft.Azure.Management.EventHub/src/Properties/AssemblyInfo.cs
@@ -8,7 +8,7 @@
[assembly: AssemblyDescription("Provides developers with a library to create and manage all Azure Event Hubs resources.")]
[assembly: AssemblyVersion("2.0.0.0")]
-[assembly: AssemblyFileVersion("2.6.0.0")]
+[assembly: AssemblyFileVersion("2.7.0.0")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Microsoft")]