diff --git a/src/DataFactory/DataFactory.Management.Sdk/Generated/DataFactoryManagementClient.cs b/src/DataFactory/DataFactory.Management.Sdk/Generated/DataFactoryManagementClient.cs
index 74474ca44abd..707b6f73d10d 100644
--- a/src/DataFactory/DataFactory.Management.Sdk/Generated/DataFactoryManagementClient.cs
+++ b/src/DataFactory/DataFactory.Management.Sdk/Generated/DataFactoryManagementClient.cs
@@ -86,6 +86,10 @@ public partial class DataFactoryManagementClient : Microsoft.Rest.ServiceClient<
///
public virtual IIntegrationRuntimeNodesOperations IntegrationRuntimeNodes { get; private set; }
///
+ /// Gets the IIntegrationRuntimeOperations
+ ///
+ public virtual IIntegrationRuntimeOperations IntegrationRuntime { get; private set; }
+ ///
/// Gets the ILinkedServicesOperations
///
public virtual ILinkedServicesOperations LinkedServices { get; private set; }
@@ -397,6 +401,7 @@ private void Initialize()
this.IntegrationRuntimes = new IntegrationRuntimesOperations(this);
this.IntegrationRuntimeObjectMetadata = new IntegrationRuntimeObjectMetadataOperations(this);
this.IntegrationRuntimeNodes = new IntegrationRuntimeNodesOperations(this);
+ this.IntegrationRuntime = new IntegrationRuntimeOperations(this);
this.LinkedServices = new LinkedServicesOperations(this);
this.Datasets = new DatasetsOperations(this);
this.Pipelines = new PipelinesOperations(this);
diff --git a/src/DataFactory/DataFactory.Management.Sdk/Generated/IDataFactoryManagementClient.cs b/src/DataFactory/DataFactory.Management.Sdk/Generated/IDataFactoryManagementClient.cs
index 93cd4bb6b0d3..3fd5a5cc035f 100644
--- a/src/DataFactory/DataFactory.Management.Sdk/Generated/IDataFactoryManagementClient.cs
+++ b/src/DataFactory/DataFactory.Management.Sdk/Generated/IDataFactoryManagementClient.cs
@@ -99,6 +99,11 @@ public partial interface IDataFactoryManagementClient : System.IDisposable
///
IIntegrationRuntimeNodesOperations IntegrationRuntimeNodes { get; }
+ ///
+ /// Gets the IIntegrationRuntimeOperations
+ ///
+ IIntegrationRuntimeOperations IntegrationRuntime { get; }
+
///
/// Gets the ILinkedServicesOperations
///
diff --git a/src/DataFactory/DataFactory.Management.Sdk/Generated/IIntegrationRuntimeOperations.cs b/src/DataFactory/DataFactory.Management.Sdk/Generated/IIntegrationRuntimeOperations.cs
new file mode 100644
index 000000000000..e3f23b59dcdb
--- /dev/null
+++ b/src/DataFactory/DataFactory.Management.Sdk/Generated/IIntegrationRuntimeOperations.cs
@@ -0,0 +1,147 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+namespace Microsoft.Azure.Management.DataFactory
+{
+ using Microsoft.Rest.Azure;
+ using Models;
+
+ ///
+ /// IntegrationRuntimeOperations operations.
+ ///
+ public partial interface IIntegrationRuntimeOperations
+ {
+ ///
+ /// Enable interactive authoring of Managed Virtual Network integration
+ /// runtime.
+ ///
+ ///
+ /// Enable interactive authoring of Managed Virtual Network integration
+ /// runtime.
+ ///
+ ///
+ /// The resource group name.
+ ///
+ ///
+ /// The factory name.
+ ///
+ ///
+ /// The integration runtime name.
+ ///
+ ///
+ /// The allowed idle time for interactive authoring.
+ ///
+ ///
+ /// The headers that will be added to request.
+ ///
+ ///
+ /// The cancellation token.
+ ///
+ ///
+ /// Thrown when the operation returned an invalid status code
+ ///
+ ///
+ /// Thrown when unable to deserialize the response
+ ///
+ System.Threading.Tasks.Task> EnableInteractiveQueryWithHttpMessagesAsync(string resourceGroupName, string factoryName, string integrationRuntimeName, int? autoTerminationMinutes = default(int?), System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
+
+ ///
+ /// Disable interactive authoring of Managed Virtual Network integration
+ /// runtime.
+ ///
+ ///
+ /// Disable interactive authoring of Managed Virtual Network integration
+ /// runtime.
+ ///
+ ///
+ /// The resource group name.
+ ///
+ ///
+ /// The factory name.
+ ///
+ ///
+ /// The integration runtime name.
+ ///
+ ///
+ /// The headers that will be added to request.
+ ///
+ ///
+ /// The cancellation token.
+ ///
+ ///
+ /// Thrown when the operation returned an invalid status code
+ ///
+ ///
+ /// Thrown when unable to deserialize the response
+ ///
+ System.Threading.Tasks.Task> DisableInteractiveQueryWithHttpMessagesAsync(string resourceGroupName, string factoryName, string integrationRuntimeName, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
+
+ ///
+ /// Enable interactive authoring of Managed Virtual Network integration
+ /// runtime.
+ ///
+ ///
+ /// Enable interactive authoring of Managed Virtual Network integration
+ /// runtime.
+ ///
+ ///
+ /// The resource group name.
+ ///
+ ///
+ /// The factory name.
+ ///
+ ///
+ /// The integration runtime name.
+ ///
+ ///
+ /// The allowed idle time for interactive authoring.
+ ///
+ ///
+ /// The headers that will be added to request.
+ ///
+ ///
+ /// The cancellation token.
+ ///
+ ///
+ /// Thrown when the operation returned an invalid status code
+ ///
+ ///
+ /// Thrown when unable to deserialize the response
+ ///
+ System.Threading.Tasks.Task> BeginEnableInteractiveQueryWithHttpMessagesAsync(string resourceGroupName, string factoryName, string integrationRuntimeName, int? autoTerminationMinutes = default(int?), System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
+
+ ///
+ /// Disable interactive authoring of Managed Virtual Network integration
+ /// runtime.
+ ///
+ ///
+ /// Disable interactive authoring of Managed Virtual Network integration
+ /// runtime.
+ ///
+ ///
+ /// The resource group name.
+ ///
+ ///
+ /// The factory name.
+ ///
+ ///
+ /// The integration runtime name.
+ ///
+ ///
+ /// The headers that will be added to request.
+ ///
+ ///
+ /// The cancellation token.
+ ///
+ ///
+ /// Thrown when the operation returned an invalid status code
+ ///
+ ///
+ /// Thrown when unable to deserialize the response
+ ///
+ System.Threading.Tasks.Task> BeginDisableInteractiveQueryWithHttpMessagesAsync(string resourceGroupName, string factoryName, string integrationRuntimeName, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
+
+ }
+}
\ No newline at end of file
diff --git a/src/DataFactory/DataFactory.Management.Sdk/Generated/IntegrationRuntimeOperations.cs b/src/DataFactory/DataFactory.Management.Sdk/Generated/IntegrationRuntimeOperations.cs
new file mode 100644
index 000000000000..3755b89533d5
--- /dev/null
+++ b/src/DataFactory/DataFactory.Management.Sdk/Generated/IntegrationRuntimeOperations.cs
@@ -0,0 +1,660 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+namespace Microsoft.Azure.Management.DataFactory
+{
+ using System.Linq;
+ using Microsoft.Rest;
+ using Microsoft.Rest.Azure;
+ using Models;
+
+ ///
+ /// IntegrationRuntimeOperations operations.
+ ///
+ internal partial class IntegrationRuntimeOperations : Microsoft.Rest.IServiceOperations, IIntegrationRuntimeOperations
+ {
+ ///
+ /// Initializes a new instance of the IntegrationRuntimeOperations class.
+ ///
+ ///
+ /// Reference to the service client.
+ ///
+ ///
+ /// Thrown when a required parameter is null
+ ///
+ internal IntegrationRuntimeOperations (DataFactoryManagementClient client)
+ {
+ if (client == null)
+ {
+ throw new System.ArgumentNullException("client");
+ }
+ this.Client = client;
+ }
+
+ ///
+ /// Gets a reference to the DataFactoryManagementClient
+ ///
+ public DataFactoryManagementClient Client { get; private set; }
+
+ ///
+ /// Enable interactive authoring of Managed Virtual Network integration
+ /// runtime.
+ ///
+ ///
+ /// The resource group name.
+ ///
+ ///
+ /// The factory name.
+ ///
+ ///
+ /// The integration runtime name.
+ ///
+ ///
+ /// The allowed idle time for interactive authoring.
+ ///
+ ///
+ /// Headers that will be added to request.
+ ///
+ ///
+ /// The cancellation token.
+ ///
+ public async System.Threading.Tasks.Task> EnableInteractiveQueryWithHttpMessagesAsync(string resourceGroupName, string factoryName, string integrationRuntimeName, int? autoTerminationMinutes = default(int?), System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
+ {
+ // Send Request
+ Microsoft.Rest.Azure.AzureOperationResponse _response = await BeginEnableInteractiveQueryWithHttpMessagesAsync(resourceGroupName, factoryName, integrationRuntimeName, autoTerminationMinutes, customHeaders, cancellationToken).ConfigureAwait(false);
+ return await this.Client.GetPostOrDeleteOperationResultAsync(_response, customHeaders, cancellationToken).ConfigureAwait(false);
+ }
+
+ ///
+ /// Disable interactive authoring of Managed Virtual Network integration
+ /// runtime.
+ ///
+ ///
+ /// The resource group name.
+ ///
+ ///
+ /// The factory name.
+ ///
+ ///
+ /// The integration runtime name.
+ ///
+ ///
+ /// Headers that will be added to request.
+ ///
+ ///
+ /// The cancellation token.
+ ///
+ public async System.Threading.Tasks.Task> DisableInteractiveQueryWithHttpMessagesAsync(string resourceGroupName, string factoryName, string integrationRuntimeName, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
+ {
+ // Send Request
+ Microsoft.Rest.Azure.AzureOperationResponse _response = await BeginDisableInteractiveQueryWithHttpMessagesAsync(resourceGroupName, factoryName, integrationRuntimeName, customHeaders, cancellationToken).ConfigureAwait(false);
+ return await this.Client.GetPostOrDeleteOperationResultAsync(_response, customHeaders, cancellationToken).ConfigureAwait(false);
+ }
+
+ ///
+ /// Enable interactive authoring of Managed Virtual Network integration
+ /// runtime.
+ ///
+ ///
+ /// The resource group name.
+ ///
+ ///
+ /// The factory name.
+ ///
+ ///
+ /// The integration runtime name.
+ ///
+ ///
+ /// The allowed idle time for interactive authoring.
+ ///
+ ///
+ /// Headers that will be added to request.
+ ///
+ ///
+ /// The cancellation token.
+ ///
+ ///
+ /// Thrown when the operation returned an invalid status code
+ ///
+ ///
+ /// Thrown when unable to deserialize the response
+ ///
+ ///
+ /// Thrown when a required parameter is null
+ ///
+ ///
+ /// Thrown when a required parameter is null
+ ///
+ ///
+ /// A response object containing the response body and response headers.
+ ///
+ public async System.Threading.Tasks.Task> BeginEnableInteractiveQueryWithHttpMessagesAsync(string resourceGroupName, string factoryName, string integrationRuntimeName, int? autoTerminationMinutes = default(int?), System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
+ {
+
+
+
+
+ if (this.Client.SubscriptionId == null)
+ {
+ throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
+ }
+
+ if (resourceGroupName == null)
+ {
+ throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "resourceGroupName");
+ }
+ if (resourceGroupName != null)
+ {
+ if (resourceGroupName.Length > 90)
+ {
+ throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MaxLength, "resourceGroupName", 90);
+ }
+ if (resourceGroupName.Length < 1)
+ {
+ throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "resourceGroupName", 1);
+ }
+ if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$"))
+ {
+ throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$");
+ }
+ }
+ if (factoryName == null)
+ {
+ throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "factoryName");
+ }
+ if (factoryName != null)
+ {
+ if (factoryName.Length > 63)
+ {
+ throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MaxLength, "factoryName", 63);
+ }
+ if (factoryName.Length < 3)
+ {
+ throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "factoryName", 3);
+ }
+ if (!System.Text.RegularExpressions.Regex.IsMatch(factoryName, "^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$"))
+ {
+ throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.Pattern, "factoryName", "^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$");
+ }
+ }
+ if (integrationRuntimeName == null)
+ {
+ throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "integrationRuntimeName");
+ }
+ if (integrationRuntimeName != null)
+ {
+ if (integrationRuntimeName.Length > 63)
+ {
+ throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MaxLength, "integrationRuntimeName", 63);
+ }
+ if (integrationRuntimeName.Length < 3)
+ {
+ throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "integrationRuntimeName", 3);
+ }
+ if (!System.Text.RegularExpressions.Regex.IsMatch(integrationRuntimeName, "^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$"))
+ {
+ throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.Pattern, "integrationRuntimeName", "^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$");
+ }
+ }
+ if (this.Client.ApiVersion == null)
+ {
+ throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.ApiVersion");
+ }
+
+ EnableInteractiveQueryRequest enableInteractiveQueryRequest = new EnableInteractiveQueryRequest();
+ if(autoTerminationMinutes != null)
+ {
+ enableInteractiveQueryRequest.AutoTerminationMinutes = autoTerminationMinutes;
+ }
+ // Tracing
+ bool _shouldTrace = Microsoft.Rest.ServiceClientTracing.IsEnabled;
+ string _invocationId = null;
+ if (_shouldTrace)
+ {
+ _invocationId = Microsoft.Rest.ServiceClientTracing.NextInvocationId.ToString();
+ System.Collections.Generic.Dictionary tracingParameters = new System.Collections.Generic.Dictionary();
+ tracingParameters.Add("resourceGroupName", resourceGroupName);
+ tracingParameters.Add("factoryName", factoryName);
+ tracingParameters.Add("integrationRuntimeName", integrationRuntimeName);
+
+ tracingParameters.Add("enableInteractiveQueryRequest", enableInteractiveQueryRequest);
+
+ tracingParameters.Add("cancellationToken", cancellationToken);
+ Microsoft.Rest.ServiceClientTracing.Enter(_invocationId, this, "BeginEnableInteractiveQuery", tracingParameters);
+ }
+ // Construct URL
+
+ var _baseUrl = this.Client.BaseUri.AbsoluteUri;
+ var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/enableInteractiveQuery").ToString();
+ _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(this.Client.SubscriptionId));
+ _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName));
+ _url = _url.Replace("{factoryName}", System.Uri.EscapeDataString(factoryName));
+ _url = _url.Replace("{integrationRuntimeName}", System.Uri.EscapeDataString(integrationRuntimeName));
+
+ System.Collections.Generic.List _queryParameters = new System.Collections.Generic.List();
+ if (this.Client.ApiVersion != null)
+ {
+ _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(this.Client.ApiVersion)));
+ }
+ if (_queryParameters.Count > 0)
+ {
+ _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters);
+ }
+ // Create HTTP transport objects
+ var _httpRequest = new System.Net.Http.HttpRequestMessage();
+ System.Net.Http.HttpResponseMessage _httpResponse = null;
+ _httpRequest.Method = new System.Net.Http.HttpMethod("POST");
+ _httpRequest.RequestUri = new System.Uri(_url);
+ // Set Headers
+ if (this.Client.GenerateClientRequestId != null && this.Client.GenerateClientRequestId.Value)
+ {
+ _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString());
+ }
+ if (this.Client.AcceptLanguage != null)
+ {
+ if (_httpRequest.Headers.Contains("accept-language"))
+ {
+ _httpRequest.Headers.Remove("accept-language");
+ }
+ _httpRequest.Headers.TryAddWithoutValidation("accept-language", this.Client.AcceptLanguage);
+ }
+
+ if (customHeaders != null)
+ {
+ foreach(var _header in customHeaders)
+ {
+ if (_httpRequest.Headers.Contains(_header.Key))
+ {
+ _httpRequest.Headers.Remove(_header.Key);
+ }
+ _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value);
+ }
+ }
+ // Serialize Request
+ string _requestContent = null;
+ if(enableInteractiveQueryRequest != null)
+ {
+ _requestContent = Microsoft.Rest.Serialization.SafeJsonConvert.SerializeObject(enableInteractiveQueryRequest, this.Client.SerializationSettings);
+ _httpRequest.Content = new System.Net.Http.StringContent(_requestContent, System.Text.Encoding.UTF8);
+ _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8");
+ }
+ // Set Credentials
+ if (this.Client.Credentials != null)
+ {
+ cancellationToken.ThrowIfCancellationRequested();
+ await this.Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false);
+ }
+ // Send Request
+ if (_shouldTrace)
+ {
+ Microsoft.Rest.ServiceClientTracing.SendRequest(_invocationId, _httpRequest);
+ }
+ cancellationToken.ThrowIfCancellationRequested();
+ _httpResponse = await this.Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false);
+ if (_shouldTrace)
+ {
+ Microsoft.Rest.ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse);
+ }
+
+ System.Net.HttpStatusCode _statusCode = _httpResponse.StatusCode;
+ cancellationToken.ThrowIfCancellationRequested();
+ string _responseContent = null;
+
+ if ((int)_statusCode != 200 && (int)_statusCode != 202)
+ {
+ var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode));
+ try
+ {
+ _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false);
+ ErrorResponse _errorBody = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, this.Client.DeserializationSettings);
+ if (_errorBody != null)
+ {
+ ex.Body = _errorBody;
+ }
+ }
+ catch (Newtonsoft.Json.JsonException)
+ {
+ // Ignore the exception
+ }
+ ex.Request = new Microsoft.Rest.HttpRequestMessageWrapper(_httpRequest, _requestContent);
+ ex.Response = new Microsoft.Rest.HttpResponseMessageWrapper(_httpResponse, _responseContent);
+ if (_shouldTrace)
+ {
+ Microsoft.Rest.ServiceClientTracing.Error(_invocationId, ex);
+ }
+ _httpRequest.Dispose();
+ if (_httpResponse != null)
+ {
+ _httpResponse.Dispose();
+ }
+ throw ex;
+ }
+ // Create Result
+ var _result = new Microsoft.Rest.Azure.AzureOperationResponse();
+ _result.Request = _httpRequest;
+ _result.Response = _httpResponse;
+
+ if (_httpResponse.Headers.Contains("x-ms-request-id"))
+ {
+ _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault();
+ }
+ // Deserialize Response
+ if ((int)_statusCode == 200)
+ {
+ _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false);
+ try
+ {
+ _result.Body = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, this.Client.DeserializationSettings);
+ }
+ catch (Newtonsoft.Json.JsonException ex)
+ {
+ _httpRequest.Dispose();
+ if (_httpResponse != null)
+ {
+ _httpResponse.Dispose();
+ }
+ throw new Microsoft.Rest.SerializationException("Unable to deserialize the response.", _responseContent, ex);
+ }
+ }
+ try
+ {
+ _result.Headers = _httpResponse.GetHeadersAsJson().ToObject(Newtonsoft.Json.JsonSerializer.Create(this.Client.DeserializationSettings));
+ }
+ catch (Newtonsoft.Json.JsonException ex)
+ {
+ _httpRequest.Dispose();
+ if (_httpResponse != null)
+ {
+ _httpResponse.Dispose();
+ }
+ throw new Microsoft.Rest.SerializationException("Unable to deserialize the headers.", _httpResponse.GetHeadersAsJson().ToString(), ex);
+ }
+ if (_shouldTrace)
+ {
+ Microsoft.Rest.ServiceClientTracing.Exit(_invocationId, _result);
+ }
+ return _result;
+
+
+
+
+
+ }
+ ///
+ /// Disable interactive authoring of Managed Virtual Network integration
+ /// runtime.
+ ///
+ ///
+ /// The resource group name.
+ ///
+ ///
+ /// The factory name.
+ ///
+ ///
+ /// The integration runtime name.
+ ///
+ ///
+ /// Headers that will be added to request.
+ ///
+ ///
+ /// The cancellation token.
+ ///
+ ///
+ /// Thrown when the operation returned an invalid status code
+ ///
+ ///
+ /// Thrown when unable to deserialize the response
+ ///
+ ///
+ /// Thrown when a required parameter is null
+ ///
+ ///
+ /// Thrown when a required parameter is null
+ ///
+ ///
+ /// A response object containing the response body and response headers.
+ ///
+ public async System.Threading.Tasks.Task> BeginDisableInteractiveQueryWithHttpMessagesAsync(string resourceGroupName, string factoryName, string integrationRuntimeName, System.Collections.Generic.Dictionary> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
+ {
+
+
+
+
+ if (this.Client.SubscriptionId == null)
+ {
+ throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
+ }
+
+ if (resourceGroupName == null)
+ {
+ throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "resourceGroupName");
+ }
+ if (resourceGroupName != null)
+ {
+ if (resourceGroupName.Length > 90)
+ {
+ throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MaxLength, "resourceGroupName", 90);
+ }
+ if (resourceGroupName.Length < 1)
+ {
+ throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "resourceGroupName", 1);
+ }
+ if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$"))
+ {
+ throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$");
+ }
+ }
+ if (factoryName == null)
+ {
+ throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "factoryName");
+ }
+ if (factoryName != null)
+ {
+ if (factoryName.Length > 63)
+ {
+ throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MaxLength, "factoryName", 63);
+ }
+ if (factoryName.Length < 3)
+ {
+ throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "factoryName", 3);
+ }
+ if (!System.Text.RegularExpressions.Regex.IsMatch(factoryName, "^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$"))
+ {
+ throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.Pattern, "factoryName", "^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$");
+ }
+ }
+ if (integrationRuntimeName == null)
+ {
+ throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "integrationRuntimeName");
+ }
+ if (integrationRuntimeName != null)
+ {
+ if (integrationRuntimeName.Length > 63)
+ {
+ throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MaxLength, "integrationRuntimeName", 63);
+ }
+ if (integrationRuntimeName.Length < 3)
+ {
+ throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "integrationRuntimeName", 3);
+ }
+ if (!System.Text.RegularExpressions.Regex.IsMatch(integrationRuntimeName, "^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$"))
+ {
+ throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.Pattern, "integrationRuntimeName", "^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$");
+ }
+ }
+ if (this.Client.ApiVersion == null)
+ {
+ throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.ApiVersion");
+ }
+
+ // Tracing
+ bool _shouldTrace = Microsoft.Rest.ServiceClientTracing.IsEnabled;
+ string _invocationId = null;
+ if (_shouldTrace)
+ {
+ _invocationId = Microsoft.Rest.ServiceClientTracing.NextInvocationId.ToString();
+ System.Collections.Generic.Dictionary tracingParameters = new System.Collections.Generic.Dictionary();
+ tracingParameters.Add("resourceGroupName", resourceGroupName);
+ tracingParameters.Add("factoryName", factoryName);
+ tracingParameters.Add("integrationRuntimeName", integrationRuntimeName);
+
+
+ tracingParameters.Add("cancellationToken", cancellationToken);
+ Microsoft.Rest.ServiceClientTracing.Enter(_invocationId, this, "BeginDisableInteractiveQuery", tracingParameters);
+ }
+ // Construct URL
+
+ var _baseUrl = this.Client.BaseUri.AbsoluteUri;
+ var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/disableInteractiveQuery").ToString();
+ _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(this.Client.SubscriptionId));
+ _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName));
+ _url = _url.Replace("{factoryName}", System.Uri.EscapeDataString(factoryName));
+ _url = _url.Replace("{integrationRuntimeName}", System.Uri.EscapeDataString(integrationRuntimeName));
+
+ System.Collections.Generic.List _queryParameters = new System.Collections.Generic.List();
+ if (this.Client.ApiVersion != null)
+ {
+ _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(this.Client.ApiVersion)));
+ }
+ if (_queryParameters.Count > 0)
+ {
+ _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters);
+ }
+ // Create HTTP transport objects
+ var _httpRequest = new System.Net.Http.HttpRequestMessage();
+ System.Net.Http.HttpResponseMessage _httpResponse = null;
+ _httpRequest.Method = new System.Net.Http.HttpMethod("POST");
+ _httpRequest.RequestUri = new System.Uri(_url);
+ // Set Headers
+ if (this.Client.GenerateClientRequestId != null && this.Client.GenerateClientRequestId.Value)
+ {
+ _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString());
+ }
+ if (this.Client.AcceptLanguage != null)
+ {
+ if (_httpRequest.Headers.Contains("accept-language"))
+ {
+ _httpRequest.Headers.Remove("accept-language");
+ }
+ _httpRequest.Headers.TryAddWithoutValidation("accept-language", this.Client.AcceptLanguage);
+ }
+
+ if (customHeaders != null)
+ {
+ foreach(var _header in customHeaders)
+ {
+ if (_httpRequest.Headers.Contains(_header.Key))
+ {
+ _httpRequest.Headers.Remove(_header.Key);
+ }
+ _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value);
+ }
+ }
+ // Serialize Request
+ string _requestContent = null;
+ // Set Credentials
+ if (this.Client.Credentials != null)
+ {
+ cancellationToken.ThrowIfCancellationRequested();
+ await this.Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false);
+ }
+ // Send Request
+ if (_shouldTrace)
+ {
+ Microsoft.Rest.ServiceClientTracing.SendRequest(_invocationId, _httpRequest);
+ }
+ cancellationToken.ThrowIfCancellationRequested();
+ _httpResponse = await this.Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false);
+ if (_shouldTrace)
+ {
+ Microsoft.Rest.ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse);
+ }
+
+ System.Net.HttpStatusCode _statusCode = _httpResponse.StatusCode;
+ cancellationToken.ThrowIfCancellationRequested();
+ string _responseContent = null;
+
+ if ((int)_statusCode != 200 && (int)_statusCode != 202)
+ {
+ var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode));
+ try
+ {
+ _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false);
+ ErrorResponse _errorBody = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, this.Client.DeserializationSettings);
+ if (_errorBody != null)
+ {
+ ex.Body = _errorBody;
+ }
+ }
+ catch (Newtonsoft.Json.JsonException)
+ {
+ // Ignore the exception
+ }
+ ex.Request = new Microsoft.Rest.HttpRequestMessageWrapper(_httpRequest, _requestContent);
+ ex.Response = new Microsoft.Rest.HttpResponseMessageWrapper(_httpResponse, _responseContent);
+ if (_shouldTrace)
+ {
+ Microsoft.Rest.ServiceClientTracing.Error(_invocationId, ex);
+ }
+ _httpRequest.Dispose();
+ if (_httpResponse != null)
+ {
+ _httpResponse.Dispose();
+ }
+ throw ex;
+ }
+ // Create Result
+ var _result = new Microsoft.Rest.Azure.AzureOperationResponse();
+ _result.Request = _httpRequest;
+ _result.Response = _httpResponse;
+
+ if (_httpResponse.Headers.Contains("x-ms-request-id"))
+ {
+ _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault();
+ }
+ // Deserialize Response
+ if ((int)_statusCode == 200)
+ {
+ _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false);
+ try
+ {
+ _result.Body = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, this.Client.DeserializationSettings);
+ }
+ catch (Newtonsoft.Json.JsonException ex)
+ {
+ _httpRequest.Dispose();
+ if (_httpResponse != null)
+ {
+ _httpResponse.Dispose();
+ }
+ throw new Microsoft.Rest.SerializationException("Unable to deserialize the response.", _responseContent, ex);
+ }
+ }
+ try
+ {
+ _result.Headers = _httpResponse.GetHeadersAsJson().ToObject(Newtonsoft.Json.JsonSerializer.Create(this.Client.DeserializationSettings));
+ }
+ catch (Newtonsoft.Json.JsonException ex)
+ {
+ _httpRequest.Dispose();
+ if (_httpResponse != null)
+ {
+ _httpResponse.Dispose();
+ }
+ throw new Microsoft.Rest.SerializationException("Unable to deserialize the headers.", _httpResponse.GetHeadersAsJson().ToString(), ex);
+ }
+ if (_shouldTrace)
+ {
+ Microsoft.Rest.ServiceClientTracing.Exit(_invocationId, _result);
+ }
+ return _result;
+
+
+
+
+
+ }
+ }
+}
\ No newline at end of file
diff --git a/src/DataFactory/DataFactory.Management.Sdk/Generated/IntegrationRuntimeOperationsExtensions.cs b/src/DataFactory/DataFactory.Management.Sdk/Generated/IntegrationRuntimeOperationsExtensions.cs
new file mode 100644
index 000000000000..0edeb5ee0b12
--- /dev/null
+++ b/src/DataFactory/DataFactory.Management.Sdk/Generated/IntegrationRuntimeOperationsExtensions.cs
@@ -0,0 +1,204 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+namespace Microsoft.Azure.Management.DataFactory
+{
+ using Microsoft.Rest.Azure;
+ using Models;
+
+ ///
+ /// Extension methods for IntegrationRuntimeOperations
+ ///
+ public static partial class IntegrationRuntimeOperationsExtensions
+ {
+ ///
+ /// Enable interactive authoring of Managed Virtual Network integration
+ /// runtime.
+ ///
+ ///
+ /// The operations group for this extension method.
+ ///
+ ///
+ /// The resource group name.
+ ///
+ ///
+ /// The factory name.
+ ///
+ ///
+ /// The integration runtime name.
+ ///
+ public static IntegrationRuntimeResource EnableInteractiveQuery(this IIntegrationRuntimeOperations operations, string resourceGroupName, string factoryName, string integrationRuntimeName, int? autoTerminationMinutes = default(int?))
+ {
+ return ((IIntegrationRuntimeOperations)operations).EnableInteractiveQueryAsync(resourceGroupName, factoryName, integrationRuntimeName, autoTerminationMinutes).GetAwaiter().GetResult();
+ }
+
+ ///
+ /// Enable interactive authoring of Managed Virtual Network integration
+ /// runtime.
+ ///
+ ///
+ /// The operations group for this extension method.
+ ///
+ ///
+ /// The resource group name.
+ ///
+ ///
+ /// The factory name.
+ ///
+ ///
+ /// The integration runtime name.
+ ///
+ ///
+ /// The cancellation token.
+ ///
+ public static async System.Threading.Tasks.Task EnableInteractiveQueryAsync(this IIntegrationRuntimeOperations operations, string resourceGroupName, string factoryName, string integrationRuntimeName, int? autoTerminationMinutes = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
+ {
+ using (var _result = await operations.EnableInteractiveQueryWithHttpMessagesAsync(resourceGroupName, factoryName, integrationRuntimeName, autoTerminationMinutes, null, cancellationToken).ConfigureAwait(false))
+ {
+ return _result.Body;
+ }
+ }
+ ///
+ /// Disable interactive authoring of Managed Virtual Network integration
+ /// runtime.
+ ///
+ ///
+ /// The operations group for this extension method.
+ ///
+ ///
+ /// The resource group name.
+ ///
+ ///
+ /// The factory name.
+ ///
+ ///
+ /// The integration runtime name.
+ ///
+ public static IntegrationRuntimeResource DisableInteractiveQuery(this IIntegrationRuntimeOperations operations, string resourceGroupName, string factoryName, string integrationRuntimeName)
+ {
+ return ((IIntegrationRuntimeOperations)operations).DisableInteractiveQueryAsync(resourceGroupName, factoryName, integrationRuntimeName).GetAwaiter().GetResult();
+ }
+
+ ///
+ /// Disable interactive authoring of Managed Virtual Network integration
+ /// runtime.
+ ///
+ ///
+ /// The operations group for this extension method.
+ ///
+ ///
+ /// The resource group name.
+ ///
+ ///
+ /// The factory name.
+ ///
+ ///
+ /// The integration runtime name.
+ ///
+ ///
+ /// The cancellation token.
+ ///
+ public static async System.Threading.Tasks.Task DisableInteractiveQueryAsync(this IIntegrationRuntimeOperations operations, string resourceGroupName, string factoryName, string integrationRuntimeName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
+ {
+ using (var _result = await operations.DisableInteractiveQueryWithHttpMessagesAsync(resourceGroupName, factoryName, integrationRuntimeName, null, cancellationToken).ConfigureAwait(false))
+ {
+ return _result.Body;
+ }
+ }
+ ///
+ /// Enable interactive authoring of Managed Virtual Network integration
+ /// runtime.
+ ///
+ ///
+ /// The operations group for this extension method.
+ ///
+ ///
+ /// The resource group name.
+ ///
+ ///
+ /// The factory name.
+ ///
+ ///
+ /// The integration runtime name.
+ ///
+ public static IntegrationRuntimeResource BeginEnableInteractiveQuery(this IIntegrationRuntimeOperations operations, string resourceGroupName, string factoryName, string integrationRuntimeName, int? autoTerminationMinutes = default(int?))
+ {
+ return ((IIntegrationRuntimeOperations)operations).BeginEnableInteractiveQueryAsync(resourceGroupName, factoryName, integrationRuntimeName, autoTerminationMinutes).GetAwaiter().GetResult();
+ }
+
+ ///
+ /// Enable interactive authoring of Managed Virtual Network integration
+ /// runtime.
+ ///
+ ///
+ /// The operations group for this extension method.
+ ///
+ ///
+ /// The resource group name.
+ ///
+ ///
+ /// The factory name.
+ ///
+ ///
+ /// The integration runtime name.
+ ///
+ ///
+ /// The cancellation token.
+ ///
+ public static async System.Threading.Tasks.Task BeginEnableInteractiveQueryAsync(this IIntegrationRuntimeOperations operations, string resourceGroupName, string factoryName, string integrationRuntimeName, int? autoTerminationMinutes = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
+ {
+ using (var _result = await operations.BeginEnableInteractiveQueryWithHttpMessagesAsync(resourceGroupName, factoryName, integrationRuntimeName, autoTerminationMinutes, null, cancellationToken).ConfigureAwait(false))
+ {
+ return _result.Body;
+ }
+ }
+ ///
+ /// Disable interactive authoring of Managed Virtual Network integration
+ /// runtime.
+ ///
+ ///
+ /// The operations group for this extension method.
+ ///
+ ///
+ /// The resource group name.
+ ///
+ ///
+ /// The factory name.
+ ///
+ ///
+ /// The integration runtime name.
+ ///
+ public static IntegrationRuntimeResource BeginDisableInteractiveQuery(this IIntegrationRuntimeOperations operations, string resourceGroupName, string factoryName, string integrationRuntimeName)
+ {
+ return ((IIntegrationRuntimeOperations)operations).BeginDisableInteractiveQueryAsync(resourceGroupName, factoryName, integrationRuntimeName).GetAwaiter().GetResult();
+ }
+
+ ///
+ /// Disable interactive authoring of Managed Virtual Network integration
+ /// runtime.
+ ///
+ ///
+ /// The operations group for this extension method.
+ ///
+ ///
+ /// The resource group name.
+ ///
+ ///
+ /// The factory name.
+ ///
+ ///
+ /// The integration runtime name.
+ ///
+ ///
+ /// The cancellation token.
+ ///
+ public static async System.Threading.Tasks.Task BeginDisableInteractiveQueryAsync(this IIntegrationRuntimeOperations operations, string resourceGroupName, string factoryName, string integrationRuntimeName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
+ {
+ using (var _result = await operations.BeginDisableInteractiveQueryWithHttpMessagesAsync(resourceGroupName, factoryName, integrationRuntimeName, null, cancellationToken).ConfigureAwait(false))
+ {
+ return _result.Body;
+ }
+ }
+ }
+}
diff --git a/src/DataFactory/DataFactory.Management.Sdk/Generated/Models/EnableInteractiveQueryRequest.cs b/src/DataFactory/DataFactory.Management.Sdk/Generated/Models/EnableInteractiveQueryRequest.cs
new file mode 100644
index 000000000000..3a948540b237
--- /dev/null
+++ b/src/DataFactory/DataFactory.Management.Sdk/Generated/Models/EnableInteractiveQueryRequest.cs
@@ -0,0 +1,48 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+namespace Microsoft.Azure.Management.DataFactory.Models
+{
+ using System.Linq;
+
+ ///
+ /// The enable the interactive authoring information.
+ ///
+ public partial class EnableInteractiveQueryRequest
+ {
+ ///
+ /// Initializes a new instance of the EnableInteractiveQueryRequest class.
+ ///
+ public EnableInteractiveQueryRequest()
+ {
+ CustomInit();
+ }
+
+ ///
+ /// Initializes a new instance of the EnableInteractiveQueryRequest class.
+ ///
+
+ /// The allowed idle time for interactive authoring.
+ ///
+ public EnableInteractiveQueryRequest(int? autoTerminationMinutes = default(int?))
+
+ {
+ this.AutoTerminationMinutes = autoTerminationMinutes;
+ CustomInit();
+ }
+
+ ///
+ /// An initialization method that performs custom operations like setting defaults
+ ///
+ partial void CustomInit();
+
+
+ ///
+ /// Gets or sets the allowed idle time for interactive authoring.
+ ///
+ [Newtonsoft.Json.JsonProperty(PropertyName = "autoTerminationMinutes")]
+ public int? AutoTerminationMinutes {get; set; }
+ }
+}
\ No newline at end of file
diff --git a/src/DataFactory/DataFactory.Management.Sdk/Generated/Models/ErrorAdditionalInfo.cs b/src/DataFactory/DataFactory.Management.Sdk/Generated/Models/ErrorAdditionalInfo.cs
new file mode 100644
index 000000000000..a54fc8374359
--- /dev/null
+++ b/src/DataFactory/DataFactory.Management.Sdk/Generated/Models/ErrorAdditionalInfo.cs
@@ -0,0 +1,58 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+namespace Microsoft.Azure.Management.DataFactory.Models
+{
+ using System.Linq;
+
+ ///
+ /// The resource management error additional info.
+ ///
+ public partial class ErrorAdditionalInfo
+ {
+ ///
+ /// Initializes a new instance of the ErrorAdditionalInfo class.
+ ///
+ public ErrorAdditionalInfo()
+ {
+ CustomInit();
+ }
+
+ ///
+ /// Initializes a new instance of the ErrorAdditionalInfo class.
+ ///
+
+ /// The additional info type.
+ ///
+
+ /// The additional info.
+ ///
+ public ErrorAdditionalInfo(string type = default(string), object info = default(object))
+
+ {
+ this.Type = type;
+ this.Info = info;
+ CustomInit();
+ }
+
+ ///
+ /// An initialization method that performs custom operations like setting defaults
+ ///
+ partial void CustomInit();
+
+
+ ///
+ /// Gets the additional info type.
+ ///
+ [Newtonsoft.Json.JsonProperty(PropertyName = "type")]
+ public string Type {get; private set; }
+
+ ///
+ /// Gets the additional info.
+ ///
+ [Newtonsoft.Json.JsonProperty(PropertyName = "info")]
+ public object Info {get; private set; }
+ }
+}
\ No newline at end of file
diff --git a/src/DataFactory/DataFactory.Management.Sdk/Generated/Models/ErrorDetail.cs b/src/DataFactory/DataFactory.Management.Sdk/Generated/Models/ErrorDetail.cs
new file mode 100644
index 000000000000..506328e9baae
--- /dev/null
+++ b/src/DataFactory/DataFactory.Management.Sdk/Generated/Models/ErrorDetail.cs
@@ -0,0 +1,88 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+namespace Microsoft.Azure.Management.DataFactory.Models
+{
+ using System.Linq;
+
+ ///
+ /// The error detail.
+ ///
+ public partial class ErrorDetail
+ {
+ ///
+ /// Initializes a new instance of the ErrorDetail class.
+ ///
+ public ErrorDetail()
+ {
+ CustomInit();
+ }
+
+ ///
+ /// Initializes a new instance of the ErrorDetail class.
+ ///
+
+ /// The error code.
+ ///
+
+ /// The error message.
+ ///
+
+ /// The error target.
+ ///
+
+ /// The error details.
+ ///
+
+ /// The error additional info.
+ ///
+ public ErrorDetail(string code = default(string), string message = default(string), string target = default(string), System.Collections.Generic.IList details = default(System.Collections.Generic.IList), System.Collections.Generic.IList additionalInfo = default(System.Collections.Generic.IList))
+
+ {
+ this.Code = code;
+ this.Message = message;
+ this.Target = target;
+ this.Details = details;
+ this.AdditionalInfo = additionalInfo;
+ CustomInit();
+ }
+
+ ///
+ /// An initialization method that performs custom operations like setting defaults
+ ///
+ partial void CustomInit();
+
+
+ ///
+ /// Gets the error code.
+ ///
+ [Newtonsoft.Json.JsonProperty(PropertyName = "code")]
+ public string Code {get; private set; }
+
+ ///
+ /// Gets the error message.
+ ///
+ [Newtonsoft.Json.JsonProperty(PropertyName = "message")]
+ public string Message {get; private set; }
+
+ ///
+ /// Gets the error target.
+ ///
+ [Newtonsoft.Json.JsonProperty(PropertyName = "target")]
+ public string Target {get; private set; }
+
+ ///
+ /// Gets the error details.
+ ///
+ [Newtonsoft.Json.JsonProperty(PropertyName = "details")]
+ public System.Collections.Generic.IList Details {get; private set; }
+
+ ///
+ /// Gets the error additional info.
+ ///
+ [Newtonsoft.Json.JsonProperty(PropertyName = "additionalInfo")]
+ public System.Collections.Generic.IList AdditionalInfo {get; private set; }
+ }
+}
\ No newline at end of file
diff --git a/src/DataFactory/DataFactory.Management.Sdk/Generated/Models/ErrorResponse.cs b/src/DataFactory/DataFactory.Management.Sdk/Generated/Models/ErrorResponse.cs
new file mode 100644
index 000000000000..9e4eda6950a5
--- /dev/null
+++ b/src/DataFactory/DataFactory.Management.Sdk/Generated/Models/ErrorResponse.cs
@@ -0,0 +1,55 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+namespace Microsoft.Azure.Management.DataFactory.Models
+{
+ using System.Linq;
+
+ ///
+ /// Common error response for all Azure Resource Manager APIs to return error
+ /// details for failed operations. (This also follows the OData error response
+ /// format.).
+ ///
+ ///
+ /// Common error response for all Azure Resource Manager APIs to return error
+ /// details for failed operations. (This also follows the OData error response
+ /// format.).
+ ///
+ public partial class ErrorResponse
+ {
+ ///
+ /// Initializes a new instance of the ErrorResponse class.
+ ///
+ public ErrorResponse()
+ {
+ CustomInit();
+ }
+
+ ///
+ /// Initializes a new instance of the ErrorResponse class.
+ ///
+
+ /// The error object.
+ ///
+ public ErrorResponse(ErrorDetail error = default(ErrorDetail))
+
+ {
+ this.Error = error;
+ CustomInit();
+ }
+
+ ///
+ /// An initialization method that performs custom operations like setting defaults
+ ///
+ partial void CustomInit();
+
+
+ ///
+ /// Gets or sets the error object.
+ ///
+ [Newtonsoft.Json.JsonProperty(PropertyName = "error")]
+ public ErrorDetail Error {get; set; }
+ }
+}
\ No newline at end of file
diff --git a/src/DataFactory/DataFactory.Management.Sdk/Generated/Models/ErrorResponseException.cs b/src/DataFactory/DataFactory.Management.Sdk/Generated/Models/ErrorResponseException.cs
new file mode 100644
index 000000000000..139b98dbec7e
--- /dev/null
+++ b/src/DataFactory/DataFactory.Management.Sdk/Generated/Models/ErrorResponseException.cs
@@ -0,0 +1,55 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+namespace Microsoft.Azure.Management.DataFactory.Models
+{
+
+ ///
+ /// Exception thrown for an invalid response with ErrorResponse information.
+ ///
+ public partial class ErrorResponseException : Microsoft.Rest.RestException
+ {
+ ///
+ /// Gets information about the associated HTTP request.
+ ///
+ public Microsoft.Rest.HttpRequestMessageWrapper Request { get; set; }
+
+ ///
+ /// Gets information about the associated HTTP response.
+ ///
+ public Microsoft.Rest.HttpResponseMessageWrapper Response { get; set; }
+
+ ///
+ /// Gets or sets the body object.
+ ///
+ public ErrorResponse Body { get; set; }
+
+ ///
+ /// Initializes a new instance of the ErrorResponseException class.
+ ///
+ public ErrorResponseException()
+ {
+ }
+
+ ///
+ /// Initializes a new instance of the ErrorResponse class.
+ ///
+ /// The exception message.
+ public ErrorResponseException(string message)
+ : this(message, null)
+ {
+ }
+
+ ///
+ /// Initializes a new instance of the ErrorResponse class.
+ ///
+ /// The exception message.
+ /// Inner exception.
+ public ErrorResponseException(string message, System.Exception innerException)
+ : base(message, innerException)
+ {
+ }
+ }
+}
\ No newline at end of file
diff --git a/src/DataFactory/DataFactory.Management.Sdk/Generated/Models/HDInsightOnDemandLinkedService.cs b/src/DataFactory/DataFactory.Management.Sdk/Generated/Models/HDInsightOnDemandLinkedService.cs
index ae5178984552..ff860950a8d6 100644
--- a/src/DataFactory/DataFactory.Management.Sdk/Generated/Models/HDInsightOnDemandLinkedService.cs
+++ b/src/DataFactory/DataFactory.Management.Sdk/Generated/Models/HDInsightOnDemandLinkedService.cs
@@ -83,6 +83,10 @@ public HDInsightOnDemandLinkedService()
/// with resultType string).
///
+ /// HDInsight On-demand cluster resource group authentication type.
+ /// Possible values include: 'ServicePrincipalKey',
+ /// 'SystemAssignedManagedIdentity', 'UserAssignedManagedIdentity'
+
/// The prefix of cluster name, postfix will be distinct with timestamp. Type:
/// string (or Expression with resultType string).
///
@@ -178,7 +182,7 @@ public HDInsightOnDemandLinkedService()
/// The credential reference containing authentication information.
///
- public HDInsightOnDemandLinkedService(object clusterSize, object timeToLive, object typePropertiesVersion, LinkedServiceReference linkedServiceName, object hostSubscriptionId, object tenant, object clusterResourceGroup, System.Collections.Generic.IDictionary additionalProperties = default(System.Collections.Generic.IDictionary), string version = default(string), IntegrationRuntimeReference connectVia = default(IntegrationRuntimeReference), string description = default(string), System.Collections.Generic.IDictionary parameters = default(System.Collections.Generic.IDictionary), System.Collections.Generic.IList