Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AutoPR Microsoft.Azure.Management.DataFactory] [DataFactory] Update Databricks linked service swagger related to warm pools #186

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -457,10 +457,14 @@ private void Initialize()
DeserializationSettings.Converters.Add(new PolymorphicDeserializeJsonConverter<DatasetStorageFormat>("type"));
SerializationSettings.Converters.Add(new PolymorphicSerializeJsonConverter<CopySource>("type"));
DeserializationSettings.Converters.Add(new PolymorphicDeserializeJsonConverter<CopySource>("type"));
SerializationSettings.Converters.Add(new PolymorphicSerializeJsonConverter<StoreWriteSettings>("type"));
DeserializationSettings.Converters.Add(new PolymorphicDeserializeJsonConverter<StoreWriteSettings>("type"));
SerializationSettings.Converters.Add(new PolymorphicSerializeJsonConverter<CopySink>("type"));
DeserializationSettings.Converters.Add(new PolymorphicDeserializeJsonConverter<CopySink>("type"));
SerializationSettings.Converters.Add(new PolymorphicSerializeJsonConverter<LinkedIntegrationRuntimeType>("authorizationType"));
DeserializationSettings.Converters.Add(new PolymorphicDeserializeJsonConverter<LinkedIntegrationRuntimeType>("authorizationType"));
SerializationSettings.Converters.Add(new PolymorphicSerializeJsonConverter<CustomSetupBase>("type"));
DeserializationSettings.Converters.Add(new PolymorphicDeserializeJsonConverter<CustomSetupBase>("type"));
SerializationSettings.Converters.Add(new PolymorphicSerializeJsonConverter<SsisObjectMetadata>("type"));
DeserializationSettings.Converters.Add(new PolymorphicDeserializeJsonConverter<SsisObjectMetadata>("type"));
CustomInitialize();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,22 +73,5 @@ public AvroSink()
[JsonProperty(PropertyName = "formatSettings")]
public AvroWriteSettings FormatSettings { get; set; }

/// <summary>
/// Validate the object.
/// </summary>
/// <exception cref="Rest.ValidationException">
/// Thrown if validation fails
/// </exception>
public virtual void Validate()
{
if (StoreSettings != null)
{
StoreSettings.Validate();
}
if (FormatSettings != null)
{
FormatSettings.Validate();
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@

namespace Microsoft.Azure.Management.DataFactory.Models
{
using Newtonsoft.Json;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
Expand All @@ -30,17 +31,20 @@ public AzureBlobFSWriteSettings()
/// <summary>
/// Initializes a new instance of the AzureBlobFSWriteSettings class.
/// </summary>
/// <param name="type">The write setting type.</param>
/// <param name="additionalProperties">Unmatched properties from the
/// message are deserialized this collection</param>
/// <param name="maxConcurrentConnections">The maximum concurrent
/// connection count for the source data store. Type: integer (or
/// Expression with resultType integer).</param>
/// <param name="copyBehavior">The type of copy behavior for copy
/// sink.</param>
public AzureBlobFSWriteSettings(string type, IDictionary<string, object> additionalProperties = default(IDictionary<string, object>), object maxConcurrentConnections = default(object), object copyBehavior = default(object))
: base(type, additionalProperties, maxConcurrentConnections, copyBehavior)
/// <param name="blockSizeInMB">Indicates the block size(MB) when
/// writing data to blob. Type: integer (or Expression with resultType
/// integer).</param>
public AzureBlobFSWriteSettings(IDictionary<string, object> additionalProperties = default(IDictionary<string, object>), object maxConcurrentConnections = default(object), object copyBehavior = default(object), object blockSizeInMB = default(object))
: base(additionalProperties, maxConcurrentConnections, copyBehavior)
{
BlockSizeInMB = blockSizeInMB;
CustomInit();
}

Expand All @@ -50,14 +54,11 @@ public AzureBlobFSWriteSettings()
partial void CustomInit();

/// <summary>
/// Validate the object.
/// Gets or sets indicates the block size(MB) when writing data to
/// blob. Type: integer (or Expression with resultType integer).
/// </summary>
/// <exception cref="Rest.ValidationException">
/// Thrown if validation fails
/// </exception>
public override void Validate()
{
base.Validate();
}
[JsonProperty(PropertyName = "blockSizeInMB")]
public object BlockSizeInMB { get; set; }

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@

namespace Microsoft.Azure.Management.DataFactory.Models
{
using Newtonsoft.Json;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
Expand All @@ -32,17 +33,20 @@ public AzureBlobStorageWriteSettings()
/// Initializes a new instance of the AzureBlobStorageWriteSettings
/// class.
/// </summary>
/// <param name="type">The write setting type.</param>
/// <param name="additionalProperties">Unmatched properties from the
/// message are deserialized this collection</param>
/// <param name="maxConcurrentConnections">The maximum concurrent
/// connection count for the source data store. Type: integer (or
/// Expression with resultType integer).</param>
/// <param name="copyBehavior">The type of copy behavior for copy
/// sink.</param>
public AzureBlobStorageWriteSettings(string type, IDictionary<string, object> additionalProperties = default(IDictionary<string, object>), object maxConcurrentConnections = default(object), object copyBehavior = default(object))
: base(type, additionalProperties, maxConcurrentConnections, copyBehavior)
/// <param name="blockSizeInMB">Indicates the block size(MB) when
/// writing data to blob. Type: integer (or Expression with resultType
/// integer).</param>
public AzureBlobStorageWriteSettings(IDictionary<string, object> additionalProperties = default(IDictionary<string, object>), object maxConcurrentConnections = default(object), object copyBehavior = default(object), object blockSizeInMB = default(object))
: base(additionalProperties, maxConcurrentConnections, copyBehavior)
{
BlockSizeInMB = blockSizeInMB;
CustomInit();
}

Expand All @@ -52,14 +56,11 @@ public AzureBlobStorageWriteSettings()
partial void CustomInit();

/// <summary>
/// Validate the object.
/// Gets or sets indicates the block size(MB) when writing data to
/// blob. Type: integer (or Expression with resultType integer).
/// </summary>
/// <exception cref="Rest.ValidationException">
/// Thrown if validation fails
/// </exception>
public override void Validate()
{
base.Validate();
}
[JsonProperty(PropertyName = "blockSizeInMB")]
public object BlockSizeInMB { get; set; }

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -32,16 +32,15 @@ public AzureDataLakeStoreWriteSettings()
/// Initializes a new instance of the AzureDataLakeStoreWriteSettings
/// class.
/// </summary>
/// <param name="type">The write setting type.</param>
/// <param name="additionalProperties">Unmatched properties from the
/// message are deserialized this collection</param>
/// <param name="maxConcurrentConnections">The maximum concurrent
/// connection count for the source data store. Type: integer (or
/// Expression with resultType integer).</param>
/// <param name="copyBehavior">The type of copy behavior for copy
/// sink.</param>
public AzureDataLakeStoreWriteSettings(string type, IDictionary<string, object> additionalProperties = default(IDictionary<string, object>), object maxConcurrentConnections = default(object), object copyBehavior = default(object))
: base(type, additionalProperties, maxConcurrentConnections, copyBehavior)
public AzureDataLakeStoreWriteSettings(IDictionary<string, object> additionalProperties = default(IDictionary<string, object>), object maxConcurrentConnections = default(object), object copyBehavior = default(object))
: base(additionalProperties, maxConcurrentConnections, copyBehavior)
{
CustomInit();
}
Expand All @@ -51,15 +50,5 @@ public AzureDataLakeStoreWriteSettings()
/// </summary>
partial void CustomInit();

/// <summary>
/// Validate the object.
/// </summary>
/// <exception cref="Rest.ValidationException">
/// Thrown if validation fails
/// </exception>
public override void Validate()
{
base.Validate();
}
}
}
Loading