Skip to content
Closed
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 @@ -465,12 +465,16 @@ private void Initialize()
DeserializationSettings.Converters.Add(new PolymorphicDeserializeJsonConverter<DatasetLocation>("type"));
SerializationSettings.Converters.Add(new PolymorphicSerializeJsonConverter<DependencyReference>("type"));
DeserializationSettings.Converters.Add(new PolymorphicDeserializeJsonConverter<DependencyReference>("type"));
SerializationSettings.Converters.Add(new PolymorphicSerializeJsonConverter<ExportSettings>("type"));
DeserializationSettings.Converters.Add(new PolymorphicDeserializeJsonConverter<ExportSettings>("type"));
SerializationSettings.Converters.Add(new PolymorphicSerializeJsonConverter<StoreReadSettings>("type"));
DeserializationSettings.Converters.Add(new PolymorphicDeserializeJsonConverter<StoreReadSettings>("type"));
SerializationSettings.Converters.Add(new PolymorphicSerializeJsonConverter<FormatReadSettings>("type"));
DeserializationSettings.Converters.Add(new PolymorphicDeserializeJsonConverter<FormatReadSettings>("type"));
SerializationSettings.Converters.Add(new PolymorphicSerializeJsonConverter<CopySource>("type"));
DeserializationSettings.Converters.Add(new PolymorphicDeserializeJsonConverter<CopySource>("type"));
SerializationSettings.Converters.Add(new PolymorphicSerializeJsonConverter<ImportSettings>("type"));
DeserializationSettings.Converters.Add(new PolymorphicDeserializeJsonConverter<ImportSettings>("type"));
SerializationSettings.Converters.Add(new PolymorphicSerializeJsonConverter<StoreWriteSettings>("type"));
DeserializationSettings.Converters.Add(new PolymorphicDeserializeJsonConverter<StoreWriteSettings>("type"));
SerializationSettings.Converters.Add(new PolymorphicSerializeJsonConverter<FormatWriteSettings>("type"));
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
// <auto-generated>
// 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.
// </auto-generated>

namespace Microsoft.Azure.Management.DataFactory.Models
{
using Newtonsoft.Json;
using System.Collections;
using System.Collections.Generic;
using System.Linq;

/// <summary>
/// Export command settings.
/// </summary>
public partial class ExportSettings
{
/// <summary>
/// Initializes a new instance of the ExportSettings class.
/// </summary>
public ExportSettings()
{
CustomInit();
}

/// <summary>
/// Initializes a new instance of the ExportSettings class.
/// </summary>
/// <param name="additionalProperties">Unmatched properties from the
/// message are deserialized this collection</param>
public ExportSettings(IDictionary<string, object> additionalProperties = default(IDictionary<string, object>))
{
AdditionalProperties = additionalProperties;
CustomInit();
}

/// <summary>
/// An initialization method that performs custom operations like setting defaults
/// </summary>
partial void CustomInit();

/// <summary>
/// Gets or sets unmatched properties from the message are deserialized
/// this collection
/// </summary>
[JsonExtensionData]
public IDictionary<string, object> AdditionalProperties { get; set; }

}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
// <auto-generated>
// 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.
// </auto-generated>

namespace Microsoft.Azure.Management.DataFactory.Models
{
using Newtonsoft.Json;
using System.Collections;
using System.Collections.Generic;
using System.Linq;

/// <summary>
/// Import command settings.
/// </summary>
public partial class ImportSettings
{
/// <summary>
/// Initializes a new instance of the ImportSettings class.
/// </summary>
public ImportSettings()
{
CustomInit();
}

/// <summary>
/// Initializes a new instance of the ImportSettings class.
/// </summary>
/// <param name="additionalProperties">Unmatched properties from the
/// message are deserialized this collection</param>
public ImportSettings(IDictionary<string, object> additionalProperties = default(IDictionary<string, object>))
{
AdditionalProperties = additionalProperties;
CustomInit();
}

/// <summary>
/// An initialization method that performs custom operations like setting defaults
/// </summary>
partial void CustomInit();

/// <summary>
/// Gets or sets unmatched properties from the message are deserialized
/// this collection
/// </summary>
[JsonExtensionData]
public IDictionary<string, object> AdditionalProperties { get; set; }

}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,97 @@
// <auto-generated>
// 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.
// </auto-generated>

namespace Microsoft.Azure.Management.DataFactory.Models
{
using Microsoft.Rest;
using Microsoft.Rest.Serialization;
using Newtonsoft.Json;
using System.Collections;
using System.Collections.Generic;
using System.Linq;

/// <summary>
/// The snowflake dataset.
/// </summary>
[Newtonsoft.Json.JsonObject("SnowflakeTable")]
[Rest.Serialization.JsonTransformation]
public partial class SnowflakeDataset : Dataset
{
/// <summary>
/// Initializes a new instance of the SnowflakeDataset class.
/// </summary>
public SnowflakeDataset()
{
LinkedServiceName = new LinkedServiceReference();
CustomInit();
}

/// <summary>
/// Initializes a new instance of the SnowflakeDataset class.
/// </summary>
/// <param name="linkedServiceName">Linked service reference.</param>
/// <param name="additionalProperties">Unmatched properties from the
/// message are deserialized this collection</param>
/// <param name="description">Dataset description.</param>
/// <param name="structure">Columns that define the structure of the
/// dataset. Type: array (or Expression with resultType array),
/// itemType: DatasetDataElement.</param>
/// <param name="schema">Columns that define the physical type schema
/// of the dataset. Type: array (or Expression with resultType array),
/// itemType: DatasetSchemaDataElement.</param>
/// <param name="parameters">Parameters for dataset.</param>
/// <param name="annotations">List of tags that can be used for
/// describing the Dataset.</param>
/// <param name="folder">The folder that this Dataset is in. If not
/// specified, Dataset will appear at the root level.</param>
/// <param name="snowflakeDatasetSchema">The schema name of the
/// Snowflake database. Type: string (or Expression with resultType
/// string).</param>
/// <param name="table">The table name of the Snowflake database. Type:
/// string (or Expression with resultType string).</param>
public SnowflakeDataset(LinkedServiceReference linkedServiceName, IDictionary<string, object> additionalProperties = default(IDictionary<string, object>), string description = default(string), object structure = default(object), object schema = default(object), IDictionary<string, ParameterSpecification> parameters = default(IDictionary<string, ParameterSpecification>), IList<object> annotations = default(IList<object>), DatasetFolder folder = default(DatasetFolder), object snowflakeDatasetSchema = default(object), object table = default(object))
: base(linkedServiceName, additionalProperties, description, structure, schema, parameters, annotations, folder)
{
SnowflakeDatasetSchema = snowflakeDatasetSchema;
Table = table;
CustomInit();
}

/// <summary>
/// An initialization method that performs custom operations like setting defaults
/// </summary>
partial void CustomInit();

/// <summary>
/// Gets or sets the schema name of the Snowflake database. Type:
/// string (or Expression with resultType string).
/// </summary>
[JsonProperty(PropertyName = "typeProperties.schema")]
public object SnowflakeDatasetSchema { get; set; }

/// <summary>
/// Gets or sets the table name of the Snowflake database. Type: string
/// (or Expression with resultType string).
/// </summary>
[JsonProperty(PropertyName = "typeProperties.table")]
public object Table { get; set; }

/// <summary>
/// Validate the object.
/// </summary>
/// <exception cref="ValidationException">
/// Thrown if validation fails
/// </exception>
public override void Validate()
{
base.Validate();
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
// <auto-generated>
// 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.
// </auto-generated>

namespace Microsoft.Azure.Management.DataFactory.Models
{
using Newtonsoft.Json;
using System.Collections;
using System.Collections.Generic;
using System.Linq;

/// <summary>
/// Snowflake export command settings.
/// </summary>
public partial class SnowflakeExportCopyCommand : ExportSettings
{
/// <summary>
/// Initializes a new instance of the SnowflakeExportCopyCommand class.
/// </summary>
public SnowflakeExportCopyCommand()
{
CustomInit();
}

/// <summary>
/// Initializes a new instance of the SnowflakeExportCopyCommand class.
/// </summary>
/// <param name="additionalProperties">Unmatched properties from the
/// message are deserialized this collection</param>
/// <param name="additionalCopyOptions">Additional copy options
/// directly passed to snowflake Copy Command. Type: key value pairs
/// (value should be string type) (or Expression with resultType
/// object). Example: "additionalCopyOptions": { "DATE_FORMAT":
/// "MM/DD/YYYY", "TIME_FORMAT": "'HH24:MI:SS.FF'" }</param>
/// <param name="additionalFormatOptions">Additional format options
/// directly passed to snowflake Copy Command. Type: key value pairs
/// (value should be string type) (or Expression with resultType
/// object). Example: "additionalFormatOptions": { "OVERWRITE": "TRUE",
/// "MAX_FILE_SIZE": "'FALSE'" }</param>
public SnowflakeExportCopyCommand(IDictionary<string, object> additionalProperties = default(IDictionary<string, object>), IDictionary<string, object> additionalCopyOptions = default(IDictionary<string, object>), IDictionary<string, object> additionalFormatOptions = default(IDictionary<string, object>))
: base(additionalProperties)
{
AdditionalCopyOptions = additionalCopyOptions;
AdditionalFormatOptions = additionalFormatOptions;
CustomInit();
}

/// <summary>
/// An initialization method that performs custom operations like setting defaults
/// </summary>
partial void CustomInit();

/// <summary>
/// Gets or sets additional copy options directly passed to snowflake
/// Copy Command. Type: key value pairs (value should be string type)
/// (or Expression with resultType object). Example:
/// "additionalCopyOptions": { "DATE_FORMAT": "MM/DD/YYYY",
/// "TIME_FORMAT": "'HH24:MI:SS.FF'" }
/// </summary>
[JsonProperty(PropertyName = "additionalCopyOptions")]
public IDictionary<string, object> AdditionalCopyOptions { get; set; }

/// <summary>
/// Gets or sets additional format options directly passed to snowflake
/// Copy Command. Type: key value pairs (value should be string type)
/// (or Expression with resultType object). Example:
/// "additionalFormatOptions": { "OVERWRITE": "TRUE", "MAX_FILE_SIZE":
/// "'FALSE'" }
/// </summary>
[JsonProperty(PropertyName = "additionalFormatOptions")]
public IDictionary<string, object> AdditionalFormatOptions { get; set; }

}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
// <auto-generated>
// 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.
// </auto-generated>

namespace Microsoft.Azure.Management.DataFactory.Models
{
using Newtonsoft.Json;
using System.Collections;
using System.Collections.Generic;
using System.Linq;

/// <summary>
/// Snowflake import command settings.
/// </summary>
public partial class SnowflakeImportCopyCommand : ImportSettings
{
/// <summary>
/// Initializes a new instance of the SnowflakeImportCopyCommand class.
/// </summary>
public SnowflakeImportCopyCommand()
{
CustomInit();
}

/// <summary>
/// Initializes a new instance of the SnowflakeImportCopyCommand class.
/// </summary>
/// <param name="additionalProperties">Unmatched properties from the
/// message are deserialized this collection</param>
/// <param name="additionalCopyOptions">Additional copy options
/// directly passed to snowflake Copy Command. Type: key value pairs
/// (value should be string type) (or Expression with resultType
/// object). Example: "additionalCopyOptions": { "DATE_FORMAT":
/// "MM/DD/YYYY", "TIME_FORMAT": "'HH24:MI:SS.FF'" }</param>
/// <param name="additionalFormatOptions">Additional format options
/// directly passed to snowflake Copy Command. Type: key value pairs
/// (value should be string type) (or Expression with resultType
/// object). Example: "additionalFormatOptions": { "FORCE": "TRUE",
/// "LOAD_UNCERTAIN_FILES": "'FALSE'" }</param>
public SnowflakeImportCopyCommand(IDictionary<string, object> additionalProperties = default(IDictionary<string, object>), IDictionary<string, object> additionalCopyOptions = default(IDictionary<string, object>), IDictionary<string, object> additionalFormatOptions = default(IDictionary<string, object>))
: base(additionalProperties)
{
AdditionalCopyOptions = additionalCopyOptions;
AdditionalFormatOptions = additionalFormatOptions;
CustomInit();
}

/// <summary>
/// An initialization method that performs custom operations like setting defaults
/// </summary>
partial void CustomInit();

/// <summary>
/// Gets or sets additional copy options directly passed to snowflake
/// Copy Command. Type: key value pairs (value should be string type)
/// (or Expression with resultType object). Example:
/// "additionalCopyOptions": { "DATE_FORMAT": "MM/DD/YYYY",
/// "TIME_FORMAT": "'HH24:MI:SS.FF'" }
/// </summary>
[JsonProperty(PropertyName = "additionalCopyOptions")]
public IDictionary<string, object> AdditionalCopyOptions { get; set; }

/// <summary>
/// Gets or sets additional format options directly passed to snowflake
/// Copy Command. Type: key value pairs (value should be string type)
/// (or Expression with resultType object). Example:
/// "additionalFormatOptions": { "FORCE": "TRUE",
/// "LOAD_UNCERTAIN_FILES": "'FALSE'" }
/// </summary>
[JsonProperty(PropertyName = "additionalFormatOptions")]
public IDictionary<string, object> AdditionalFormatOptions { get; set; }

}
}
Loading