Skip to content

Commit

Permalink
Data Factory: generate 2018 06 (#8630)
Browse files Browse the repository at this point in the history
* Data Factory: generate 2018 06

* feat: update pom

* fix: compile error
  • Loading branch information
ChenTanyi authored Mar 2, 2020
1 parent 8c6cb29 commit b15ef59
Show file tree
Hide file tree
Showing 43 changed files with 1,358 additions and 36 deletions.
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.2.0</version>
<version>1.3.0</version>
<relativePath>../../../pom.management.xml</relativePath>
</parent>
<artifactId>azure-mgmt-datafactory</artifactId>
<version>1.0.0-beta</version>
<version>1.0.0-beta-1</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
@@ -0,0 +1,71 @@
/**
* 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;

/**
* Specify the column name and value of additional columns.
*/
public class AdditionalColumns {
/**
* Additional column name. Type: string (or Expression with resultType
* string).
*/
@JsonProperty(value = "name")
private Object name;

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

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

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

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

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

}
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,14 @@ public class AmazonS3ReadSettings extends StoreReadSettings {
@JsonProperty(value = "prefix")
private Object prefix;

/**
* Point to a text file that lists each file (relative path to the path
* configured in the dataset) that you want to copy. Type: string (or
* Expression with resultType string).
*/
@JsonProperty(value = "fileListPath")
private Object fileListPath;

/**
* Indicates whether to enable partition discovery.
*/
Expand Down Expand Up @@ -146,6 +154,26 @@ public AmazonS3ReadSettings withPrefix(Object prefix) {
return this;
}

/**
* Get point to a text file that lists each file (relative path to the path configured in the dataset) that you want to copy. Type: string (or Expression with resultType string).
*
* @return the fileListPath value
*/
public Object fileListPath() {
return this.fileListPath;
}

/**
* Set point to a text file that lists each file (relative path to the path configured in the dataset) that you want to copy. Type: string (or Expression with resultType string).
*
* @param fileListPath the fileListPath value to set
* @return the AmazonS3ReadSettings object itself.
*/
public AmazonS3ReadSettings withFileListPath(Object fileListPath) {
this.fileListPath = fileListPath;
return this;
}

/**
* Get indicates whether to enable partition discovery.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

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

import java.util.List;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonTypeInfo;
import com.fasterxml.jackson.annotation.JsonTypeName;
Expand All @@ -24,6 +25,13 @@ public class AvroSource extends CopySource {
@JsonProperty(value = "storeSettings")
private StoreReadSettings storeSettings;

/**
* Specifies the additional columns to be added to source data. Type: array
* of objects (or Expression with resultType array of objects).
*/
@JsonProperty(value = "additionalColumns")
private List<AdditionalColumns> additionalColumns;

/**
* Get avro store settings.
*
Expand All @@ -44,4 +52,24 @@ public AvroSource withStoreSettings(StoreReadSettings storeSettings) {
return this;
}

/**
* Get specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects).
*
* @return the additionalColumns value
*/
public List<AdditionalColumns> additionalColumns() {
return this.additionalColumns;
}

/**
* Set specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects).
*
* @param additionalColumns the additionalColumns value to set
* @return the AvroSource object itself.
*/
public AvroSource withAdditionalColumns(List<AdditionalColumns> additionalColumns) {
this.additionalColumns = additionalColumns;
return this;
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,14 @@ public class AzureBlobFSReadSettings extends StoreReadSettings {
@JsonProperty(value = "wildcardFileName")
private Object wildcardFileName;

/**
* Point to a text file that lists each file (relative path to the path
* configured in the dataset) that you want to copy. Type: string (or
* Expression with resultType string).
*/
@JsonProperty(value = "fileListPath")
private Object fileListPath;

/**
* Indicates whether to enable partition discovery.
*/
Expand Down Expand Up @@ -119,6 +127,26 @@ public AzureBlobFSReadSettings withWildcardFileName(Object wildcardFileName) {
return this;
}

/**
* Get point to a text file that lists each file (relative path to the path configured in the dataset) that you want to copy. Type: string (or Expression with resultType string).
*
* @return the fileListPath value
*/
public Object fileListPath() {
return this.fileListPath;
}

/**
* Set point to a text file that lists each file (relative path to the path configured in the dataset) that you want to copy. Type: string (or Expression with resultType string).
*
* @param fileListPath the fileListPath value to set
* @return the AzureBlobFSReadSettings object itself.
*/
public AzureBlobFSReadSettings withFileListPath(Object fileListPath) {
this.fileListPath = fileListPath;
return this;
}

/**
* Get indicates whether to enable partition discovery.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,14 @@ public class AzureBlobStorageReadSettings extends StoreReadSettings {
@JsonProperty(value = "prefix")
private Object prefix;

/**
* Point to a text file that lists each file (relative path to the path
* configured in the dataset) that you want to copy. Type: string (or
* Expression with resultType string).
*/
@JsonProperty(value = "fileListPath")
private Object fileListPath;

/**
* Indicates whether to enable partition discovery.
*/
Expand Down Expand Up @@ -146,6 +154,26 @@ public AzureBlobStorageReadSettings withPrefix(Object prefix) {
return this;
}

/**
* Get point to a text file that lists each file (relative path to the path configured in the dataset) that you want to copy. Type: string (or Expression with resultType string).
*
* @return the fileListPath value
*/
public Object fileListPath() {
return this.fileListPath;
}

/**
* Set point to a text file that lists each file (relative path to the path configured in the dataset) that you want to copy. Type: string (or Expression with resultType string).
*
* @param fileListPath the fileListPath value to set
* @return the AzureBlobStorageReadSettings object itself.
*/
public AzureBlobStorageReadSettings withFileListPath(Object fileListPath) {
this.fileListPath = fileListPath;
return this;
}

/**
* Get indicates whether to enable partition discovery.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

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

import java.util.List;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonTypeInfo;
import com.fasterxml.jackson.annotation.JsonTypeName;
Expand Down Expand Up @@ -39,6 +40,13 @@ public class AzureDataExplorerSource extends CopySource {
@JsonProperty(value = "queryTimeout")
private Object queryTimeout;

/**
* Specifies the additional columns to be added to source data. Type: array
* of objects (or Expression with resultType array of objects).
*/
@JsonProperty(value = "additionalColumns")
private List<AdditionalColumns> additionalColumns;

/**
* Get database query. Should be a Kusto Query Language (KQL) query. Type: string (or Expression with resultType string).
*
Expand Down Expand Up @@ -99,4 +107,24 @@ public AzureDataExplorerSource withQueryTimeout(Object queryTimeout) {
return this;
}

/**
* Get specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects).
*
* @return the additionalColumns value
*/
public List<AdditionalColumns> additionalColumns() {
return this.additionalColumns;
}

/**
* Set specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects).
*
* @param additionalColumns the additionalColumns value to set
* @return the AzureDataExplorerSource object itself.
*/
public AzureDataExplorerSource withAdditionalColumns(List<AdditionalColumns> additionalColumns) {
this.additionalColumns = additionalColumns;
return this;
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,14 @@ public class AzureDataLakeStoreReadSettings extends StoreReadSettings {
@JsonProperty(value = "wildcardFileName")
private Object wildcardFileName;

/**
* Point to a text file that lists each file (relative path to the path
* configured in the dataset) that you want to copy. Type: string (or
* Expression with resultType string).
*/
@JsonProperty(value = "fileListPath")
private Object fileListPath;

/**
* Indicates whether to enable partition discovery.
*/
Expand Down Expand Up @@ -119,6 +127,26 @@ public AzureDataLakeStoreReadSettings withWildcardFileName(Object wildcardFileNa
return this;
}

/**
* Get point to a text file that lists each file (relative path to the path configured in the dataset) that you want to copy. Type: string (or Expression with resultType string).
*
* @return the fileListPath value
*/
public Object fileListPath() {
return this.fileListPath;
}

/**
* Set point to a text file that lists each file (relative path to the path configured in the dataset) that you want to copy. Type: string (or Expression with resultType string).
*
* @param fileListPath the fileListPath value to set
* @return the AzureDataLakeStoreReadSettings object itself.
*/
public AzureDataLakeStoreReadSettings withFileListPath(Object fileListPath) {
this.fileListPath = fileListPath;
return this;
}

/**
* Get indicates whether to enable partition discovery.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

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;

Expand All @@ -17,4 +18,32 @@
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "type", defaultImpl = AzureDataLakeStoreWriteSettings.class)
@JsonTypeName("AzureDataLakeStoreWriteSettings")
public class AzureDataLakeStoreWriteSettings extends StoreWriteSettings {
/**
* Specifies the expiry time of the written files. The time is applied to
* the UTC time zone in the format of "2018-12-01T05:00:00Z". Default value
* is NULL. Type: integer (or Expression with resultType integer).
*/
@JsonProperty(value = "expiryDateTime")
private Object expiryDateTime;

/**
* Get specifies the expiry time of the written files. The time is applied to the UTC time zone in the format of "2018-12-01T05:00:00Z". Default value is NULL. Type: integer (or Expression with resultType integer).
*
* @return the expiryDateTime value
*/
public Object expiryDateTime() {
return this.expiryDateTime;
}

/**
* Set specifies the expiry time of the written files. The time is applied to the UTC time zone in the format of "2018-12-01T05:00:00Z". Default value is NULL. Type: integer (or Expression with resultType integer).
*
* @param expiryDateTime the expiryDateTime value to set
* @return the AzureDataLakeStoreWriteSettings object itself.
*/
public AzureDataLakeStoreWriteSettings withExpiryDateTime(Object expiryDateTime) {
this.expiryDateTime = expiryDateTime;
return this;
}

}
Loading

0 comments on commit b15ef59

Please sign in to comment.