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
4 changes: 2 additions & 2 deletions sdk/datafactory/mgmt-v2018_06_01/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@
<parent>
<groupId>com.microsoft.azure</groupId>
<artifactId>azure-arm-parent</artifactId>
<version>1.3.0</version>
<version>1.1.0</version>
<relativePath>../../../pom.management.xml</relativePath>
</parent>
<artifactId>azure-mgmt-datafactory</artifactId>
<version>1.0.0-beta-1</version>
<version>1.0.0-beta</version>
<packaging>jar</packaging>
<name>Microsoft Azure SDK for DataFactory Management</name>
<description>This package contains Microsoft DataFactory Management SDK.</description>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
@JsonSubTypes.Type(name = "AzureBlobFSSink", value = AzureBlobFSSink.class),
@JsonSubTypes.Type(name = "AzureDataLakeStoreSink", value = AzureDataLakeStoreSink.class),
@JsonSubTypes.Type(name = "OracleSink", value = OracleSink.class),
@JsonSubTypes.Type(name = "SnowflakeSink", value = SnowflakeSink.class),
@JsonSubTypes.Type(name = "SqlDWSink", value = SqlDWSink.class),
@JsonSubTypes.Type(name = "SqlMISink", value = SqlMISink.class),
@JsonSubTypes.Type(name = "AzureSqlSink", value = AzureSqlSink.class),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "type", defaultImpl = CopySource.class)
@JsonTypeName("CopySource")
@JsonSubTypes({
@JsonSubTypes.Type(name = "SnowflakeSource", value = SnowflakeSource.class),
@JsonSubTypes.Type(name = "HttpSource", value = HttpSource.class),
@JsonSubTypes.Type(name = "AzureBlobFSSource", value = AzureBlobFSSource.class),
@JsonSubTypes.Type(name = "AzureDataLakeStoreSource", value = AzureDataLakeStoreSource.class),
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
/**
* 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.
*/

package com.microsoft.azure.management.datafactory.v2018_06_01;

import java.util.Map;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonTypeInfo;
import com.fasterxml.jackson.annotation.JsonTypeName;
import com.fasterxml.jackson.annotation.JsonSubTypes;

/**
* Export command settings.
*/
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "type", defaultImpl = ExportSettings.class)
@JsonTypeName("ExportSettings")
@JsonSubTypes({
@JsonSubTypes.Type(name = "SnowflakeExportCopyCommand", value = SnowflakeExportCopyCommand.class)
})
public class ExportSettings {
/**
* Unmatched properties from the message are deserialized this collection.
*/
@JsonProperty(value = "")
private Map<String, Object> additionalProperties;

/**
* Get unmatched properties from the message are deserialized this collection.
*
* @return the additionalProperties value
*/
public Map<String, Object> additionalProperties() {
return this.additionalProperties;
}

/**
* Set unmatched properties from the message are deserialized this collection.
*
* @param additionalProperties the additionalProperties value to set
* @return the ExportSettings object itself.
*/
public ExportSettings withAdditionalProperties(Map<String, Object> additionalProperties) {
this.additionalProperties = additionalProperties;
return this;
}

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

package com.microsoft.azure.management.datafactory.v2018_06_01;

import java.util.Map;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonTypeInfo;
import com.fasterxml.jackson.annotation.JsonTypeName;
import com.fasterxml.jackson.annotation.JsonSubTypes;

/**
* Import command settings.
*/
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "type", defaultImpl = ImportSettings.class)
@JsonTypeName("ImportSettings")
@JsonSubTypes({
@JsonSubTypes.Type(name = "SnowflakeImportCopyCommand", value = SnowflakeImportCopyCommand.class)
})
public class ImportSettings {
/**
* Unmatched properties from the message are deserialized this collection.
*/
@JsonProperty(value = "")
private Map<String, Object> additionalProperties;

/**
* Get unmatched properties from the message are deserialized this collection.
*
* @return the additionalProperties value
*/
public Map<String, Object> additionalProperties() {
return this.additionalProperties;
}

/**
* Set unmatched properties from the message are deserialized this collection.
*
* @param additionalProperties the additionalProperties value to set
* @return the ImportSettings object itself.
*/
public ImportSettings withAdditionalProperties(Map<String, Object> additionalProperties) {
this.additionalProperties = additionalProperties;
return this;
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public class SapHanaLinkedService extends LinkedServiceInner {
* Host name of the SAP HANA server. Type: string (or Expression with
* resultType string).
*/
@JsonProperty(value = "typeProperties.server", required = true)
@JsonProperty(value = "typeProperties.server")
private Object server;

/**
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
/**
* 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.
*/

package com.microsoft.azure.management.datafactory.v2018_06_01;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonTypeInfo;
import com.fasterxml.jackson.annotation.JsonTypeName;
import com.microsoft.rest.serializer.JsonFlatten;
import com.microsoft.azure.management.datafactory.v2018_06_01.implementation.DatasetInner;

/**
* The snowflake dataset.
*/
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "type", defaultImpl = SnowflakeDataset.class)
@JsonTypeName("SnowflakeTable")
@JsonFlatten
public class SnowflakeDataset extends DatasetInner {
/**
* The schema name of the Snowflake database. Type: string (or Expression
* with resultType string).
*/
@JsonProperty(value = "typeProperties.schema")
private Object snowflakeDatasetSchema;

/**
* The table name of the Snowflake database. Type: string (or Expression
* with resultType string).
*/
@JsonProperty(value = "typeProperties.table")
private Object table;

/**
* Get the schema name of the Snowflake database. Type: string (or Expression with resultType string).
*
* @return the snowflakeDatasetSchema value
*/
public Object snowflakeDatasetSchema() {
return this.snowflakeDatasetSchema;
}

/**
* Set the schema name of the Snowflake database. Type: string (or Expression with resultType string).
*
* @param snowflakeDatasetSchema the snowflakeDatasetSchema value to set
* @return the SnowflakeDataset object itself.
*/
public SnowflakeDataset withSnowflakeDatasetSchema(Object snowflakeDatasetSchema) {
this.snowflakeDatasetSchema = snowflakeDatasetSchema;
return this;
}

/**
* Get the table name of the Snowflake database. Type: string (or Expression with resultType string).
*
* @return the table value
*/
public Object table() {
return this.table;
}

/**
* Set the table name of the Snowflake database. Type: string (or Expression with resultType string).
*
* @param table the table value to set
* @return the SnowflakeDataset object itself.
*/
public SnowflakeDataset withTable(Object table) {
this.table = table;
return this;
}

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

package com.microsoft.azure.management.datafactory.v2018_06_01;

import java.util.Map;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonTypeInfo;
import com.fasterxml.jackson.annotation.JsonTypeName;

/**
* Snowflake export command settings.
*/
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "type", defaultImpl = SnowflakeExportCopyCommand.class)
@JsonTypeName("SnowflakeExportCopyCommand")
public class SnowflakeExportCopyCommand extends ExportSettings {
/**
* 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'" }.
*/
@JsonProperty(value = "additionalCopyOptions")
private Map<String, Object> additionalCopyOptions;

/**
* 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'" }.
*/
@JsonProperty(value = "additionalFormatOptions")
private Map<String, Object> additionalFormatOptions;

/**
* Get 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'" }.
*
* @return the additionalCopyOptions value
*/
public Map<String, Object> additionalCopyOptions() {
return this.additionalCopyOptions;
}

/**
* Set 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 additionalCopyOptions the additionalCopyOptions value to set
* @return the SnowflakeExportCopyCommand object itself.
*/
public SnowflakeExportCopyCommand withAdditionalCopyOptions(Map<String, Object> additionalCopyOptions) {
this.additionalCopyOptions = additionalCopyOptions;
return this;
}

/**
* Get 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'" }.
*
* @return the additionalFormatOptions value
*/
public Map<String, Object> additionalFormatOptions() {
return this.additionalFormatOptions;
}

/**
* Set 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 additionalFormatOptions the additionalFormatOptions value to set
* @return the SnowflakeExportCopyCommand object itself.
*/
public SnowflakeExportCopyCommand withAdditionalFormatOptions(Map<String, Object> additionalFormatOptions) {
this.additionalFormatOptions = additionalFormatOptions;
return this;
}

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

package com.microsoft.azure.management.datafactory.v2018_06_01;

import java.util.Map;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonTypeInfo;
import com.fasterxml.jackson.annotation.JsonTypeName;

/**
* Snowflake import command settings.
*/
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "type", defaultImpl = SnowflakeImportCopyCommand.class)
@JsonTypeName("SnowflakeImportCopyCommand")
public class SnowflakeImportCopyCommand extends ImportSettings {
/**
* 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'" }.
*/
@JsonProperty(value = "additionalCopyOptions")
private Map<String, Object> additionalCopyOptions;

/**
* 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'" }.
*/
@JsonProperty(value = "additionalFormatOptions")
private Map<String, Object> additionalFormatOptions;

/**
* Get 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'" }.
*
* @return the additionalCopyOptions value
*/
public Map<String, Object> additionalCopyOptions() {
return this.additionalCopyOptions;
}

/**
* Set 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 additionalCopyOptions the additionalCopyOptions value to set
* @return the SnowflakeImportCopyCommand object itself.
*/
public SnowflakeImportCopyCommand withAdditionalCopyOptions(Map<String, Object> additionalCopyOptions) {
this.additionalCopyOptions = additionalCopyOptions;
return this;
}

/**
* Get 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'" }.
*
* @return the additionalFormatOptions value
*/
public Map<String, Object> additionalFormatOptions() {
return this.additionalFormatOptions;
}

/**
* Set 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 additionalFormatOptions the additionalFormatOptions value to set
* @return the SnowflakeImportCopyCommand object itself.
*/
public SnowflakeImportCopyCommand withAdditionalFormatOptions(Map<String, Object> additionalFormatOptions) {
this.additionalFormatOptions = additionalFormatOptions;
return this;
}

}
Loading