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 sdk/datafactory/mgmt-v2018_06_01] [Datafactory] update readme.md and DynamicsSinkWriteBehavior resolve the PR has python sdk break change #4039

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
6 changes: 3 additions & 3 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.2</version>
<relativePath>../../parents/azure-arm-parent/pom.xml</relativePath>
<version>1.1.0</version>
<relativePath>../../../pom.management.xml</relativePath>
</parent>
<artifactId>azure-mgmt-datafactory</artifactId>
<version>1.0.0-beta-4</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 @@ -30,6 +30,22 @@ public class AvroWriteSettings extends FormatWriteSettings {
@JsonProperty(value = "recordNamespace")
private String recordNamespace;

/**
* Limit the written file's row count to be smaller than or equal to the
* specified count. Type: integer (or Expression with resultType integer).
*/
@JsonProperty(value = "maxRowsPerFile")
private Object maxRowsPerFile;

/**
* Specifies the file name pattern
* &lt;fileNamePrefix&gt;_&lt;fileIndex&gt;.&lt;fileExtension&gt; when copy
* from non-file based store without partitionOptions. Type: string (or
* Expression with resultType string).
*/
@JsonProperty(value = "fileNamePrefix")
private Object fileNamePrefix;

/**
* Get top level record name in write result, which is required in AVRO spec.
*
Expand Down Expand Up @@ -70,4 +86,44 @@ public AvroWriteSettings withRecordNamespace(String recordNamespace) {
return this;
}

/**
* Get limit the written file's row count to be smaller than or equal to the specified count. Type: integer (or Expression with resultType integer).
*
* @return the maxRowsPerFile value
*/
public Object maxRowsPerFile() {
return this.maxRowsPerFile;
}

/**
* Set limit the written file's row count to be smaller than or equal to the specified count. Type: integer (or Expression with resultType integer).
*
* @param maxRowsPerFile the maxRowsPerFile value to set
* @return the AvroWriteSettings object itself.
*/
public AvroWriteSettings withMaxRowsPerFile(Object maxRowsPerFile) {
this.maxRowsPerFile = maxRowsPerFile;
return this;
}

/**
* Get specifies the file name pattern &lt;fileNamePrefix&gt;_&lt;fileIndex&gt;.&lt;fileExtension&gt; when copy from non-file based store without partitionOptions. Type: string (or Expression with resultType string).
*
* @return the fileNamePrefix value
*/
public Object fileNamePrefix() {
return this.fileNamePrefix;
}

/**
* Set specifies the file name pattern &lt;fileNamePrefix&gt;_&lt;fileIndex&gt;.&lt;fileExtension&gt; when copy from non-file based store without partitionOptions. Type: string (or Expression with resultType string).
*
* @param fileNamePrefix the fileNamePrefix value to set
* @return the AvroWriteSettings object itself.
*/
public AvroWriteSettings withFileNamePrefix(Object fileNamePrefix) {
this.fileNamePrefix = fileNamePrefix;
return this;
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "type", defaultImpl = CompressionReadSettings.class)
@JsonTypeName("CompressionReadSettings")
@JsonSubTypes({
@JsonSubTypes.Type(name = "TarGZipReadSettings", value = TarGZipReadSettings.class),
@JsonSubTypes.Type(name = "TarReadSettings", value = TarReadSettings.class),
@JsonSubTypes.Type(name = "ZipDeflateReadSettings", value = ZipDeflateReadSettings.class)
})
public class CompressionReadSettings {
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
/**
* 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.Collection;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.microsoft.rest.ExpandableStringEnum;

/**
* Defines values for CopyBehaviorType.
*/
public final class CopyBehaviorType extends ExpandableStringEnum<CopyBehaviorType> {
/** Static value PreserveHierarchy for CopyBehaviorType. */
public static final CopyBehaviorType PRESERVE_HIERARCHY = fromString("PreserveHierarchy");

/** Static value FlattenHierarchy for CopyBehaviorType. */
public static final CopyBehaviorType FLATTEN_HIERARCHY = fromString("FlattenHierarchy");

/** Static value MergeFiles for CopyBehaviorType. */
public static final CopyBehaviorType MERGE_FILES = fromString("MergeFiles");

/**
* Creates or finds a CopyBehaviorType from its string representation.
* @param name a name to look for
* @return the corresponding CopyBehaviorType
*/
@JsonCreator
public static CopyBehaviorType fromString(String name) {
return fromString(name, CopyBehaviorType.class);
}

/**
* @return known CopyBehaviorType values
*/
public static Collection<CopyBehaviorType> values() {
return values(CopyBehaviorType.class);
}
}
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;

/**
* A copy activity translator.
*/
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "type", defaultImpl = CopyTranslator.class)
@JsonTypeName("CopyTranslator")
@JsonSubTypes({
@JsonSubTypes.Type(name = "TabularTranslator", value = TabularTranslator.class)
})
public class CopyTranslator {
/**
* 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 CopyTranslator object itself.
*/
public CopyTranslator withAdditionalProperties(Map<String, Object> additionalProperties) {
this.additionalProperties = additionalProperties;
return this;
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "type", defaultImpl = DatasetCompression.class)
@JsonTypeName("DatasetCompression")
@JsonSubTypes({
@JsonSubTypes.Type(name = "TarGZip", value = DatasetTarGZipCompression.class),
@JsonSubTypes.Type(name = "Tar", value = DatasetTarCompression.class),
@JsonSubTypes.Type(name = "ZipDeflate", value = DatasetZipDeflateCompression.class),
@JsonSubTypes.Type(name = "Deflate", value = DatasetDeflateCompression.class),
@JsonSubTypes.Type(name = "GZip", value = DatasetGZipCompression.class),
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
/**
* 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;

/**
* Columns that define the structure of the dataset.
*/
public class DatasetDataElement {
/**
* Name of the column. Type: string (or Expression with resultType string).
*/
@JsonProperty(value = "name")
private Object name;

/**
* Type of the column. Type: string (or Expression with resultType string).
*/
@JsonProperty(value = "type")
private Object type;

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

/**
* Set name of the column. Type: string (or Expression with resultType string).
*
* @param name the name value to set
* @return the DatasetDataElement object itself.
*/
public DatasetDataElement withName(Object name) {
this.name = name;
return this;
}

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

/**
* Set type of the column. Type: string (or Expression with resultType string).
*
* @param type the type value to set
* @return the DatasetDataElement object itself.
*/
public DatasetDataElement withType(Object type) {
this.type = type;
return this;
}

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

/**
* Columns that define the physical type schema of the dataset.
*/
public class DatasetSchemaDataElement {
/**
* Unmatched properties from the message are deserialized this collection.
*/
@JsonProperty(value = "")
private Map<String, Object> additionalProperties;

/**
* Name of the schema column. Type: string (or Expression with resultType
* string).
*/
@JsonProperty(value = "name")
private Object name;

/**
* Type of the schema column. Type: string (or Expression with resultType
* string).
*/
@JsonProperty(value = "type")
private Object type;

/**
* 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 DatasetSchemaDataElement object itself.
*/
public DatasetSchemaDataElement withAdditionalProperties(Map<String, Object> additionalProperties) {
this.additionalProperties = additionalProperties;
return this;
}

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

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

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

/**
* Set type of the schema column. Type: string (or Expression with resultType string).
*
* @param type the type value to set
* @return the DatasetSchemaDataElement object itself.
*/
public DatasetSchemaDataElement withType(Object type) {
this.type = type;
return this;
}

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
/**
* 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.JsonTypeInfo;
import com.fasterxml.jackson.annotation.JsonTypeName;

/**
* The Tar archive method used on a dataset.
*/
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "type", defaultImpl = DatasetTarCompression.class)
@JsonTypeName("Tar")
public class DatasetTarCompression extends DatasetCompression {
}
Loading