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]: Add CMK Properties #4160

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
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
@@ -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;

/**
* Azure Databricks Delta Lake dataset.
*/
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "type", defaultImpl = AzureDatabricksDeltaLakeDataset.class)
@JsonTypeName("AzureDatabricksDeltaLakeDataset")
@JsonFlatten
public class AzureDatabricksDeltaLakeDataset extends DatasetInner {
/**
* The name of delta table. Type: string (or Expression with resultType
* string).
*/
@JsonProperty(value = "typeProperties.table")
private Object table;

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

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

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

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

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

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

/**
* Azure Databricks Delta Lake export command settings.
*/
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "type", defaultImpl = AzureDatabricksDeltaLakeExportCommand.class)
@JsonTypeName("AzureDatabricksDeltaLakeExportCommand")
public class AzureDatabricksDeltaLakeExportCommand extends ExportSettings {
/**
* Specify the date format for the csv in Azure Databricks Delta Lake Copy.
* Type: string (or Expression with resultType string).
*/
@JsonProperty(value = "dateFormat")
private Object dateFormat;

/**
* Specify the timestamp format for the csv in Azure Databricks Delta Lake
* Copy. Type: string (or Expression with resultType string).
*/
@JsonProperty(value = "timestampFormat")
private Object timestampFormat;

/**
* Get specify the date format for the csv in Azure Databricks Delta Lake Copy. Type: string (or Expression with resultType string).
*
* @return the dateFormat value
*/
public Object dateFormat() {
return this.dateFormat;
}

/**
* Set specify the date format for the csv in Azure Databricks Delta Lake Copy. Type: string (or Expression with resultType string).
*
* @param dateFormat the dateFormat value to set
* @return the AzureDatabricksDeltaLakeExportCommand object itself.
*/
public AzureDatabricksDeltaLakeExportCommand withDateFormat(Object dateFormat) {
this.dateFormat = dateFormat;
return this;
}

/**
* Get specify the timestamp format for the csv in Azure Databricks Delta Lake Copy. Type: string (or Expression with resultType string).
*
* @return the timestampFormat value
*/
public Object timestampFormat() {
return this.timestampFormat;
}

/**
* Set specify the timestamp format for the csv in Azure Databricks Delta Lake Copy. Type: string (or Expression with resultType string).
*
* @param timestampFormat the timestampFormat value to set
* @return the AzureDatabricksDeltaLakeExportCommand object itself.
*/
public AzureDatabricksDeltaLakeExportCommand withTimestampFormat(Object timestampFormat) {
this.timestampFormat = timestampFormat;
return this;
}

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

/**
* Azure Databricks Delta Lake import command settings.
*/
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "type", defaultImpl = AzureDatabricksDeltaLakeImportCommand.class)
@JsonTypeName("AzureDatabricksDeltaLakeImportCommand")
public class AzureDatabricksDeltaLakeImportCommand extends ImportSettings {
/**
* Specify the date format for csv in Azure Databricks Delta Lake Copy.
* Type: string (or Expression with resultType string).
*/
@JsonProperty(value = "dateFormat")
private Object dateFormat;

/**
* Specify the timestamp format for csv in Azure Databricks Delta Lake
* Copy. Type: string (or Expression with resultType string).
*/
@JsonProperty(value = "timestampFormat")
private Object timestampFormat;

/**
* Get specify the date format for csv in Azure Databricks Delta Lake Copy. Type: string (or Expression with resultType string).
*
* @return the dateFormat value
*/
public Object dateFormat() {
return this.dateFormat;
}

/**
* Set specify the date format for csv in Azure Databricks Delta Lake Copy. Type: string (or Expression with resultType string).
*
* @param dateFormat the dateFormat value to set
* @return the AzureDatabricksDeltaLakeImportCommand object itself.
*/
public AzureDatabricksDeltaLakeImportCommand withDateFormat(Object dateFormat) {
this.dateFormat = dateFormat;
return this;
}

/**
* Get specify the timestamp format for csv in Azure Databricks Delta Lake Copy. Type: string (or Expression with resultType string).
*
* @return the timestampFormat value
*/
public Object timestampFormat() {
return this.timestampFormat;
}

/**
* Set specify the timestamp format for csv in Azure Databricks Delta Lake Copy. Type: string (or Expression with resultType string).
*
* @param timestampFormat the timestampFormat value to set
* @return the AzureDatabricksDeltaLakeImportCommand object itself.
*/
public AzureDatabricksDeltaLakeImportCommand withTimestampFormat(Object timestampFormat) {
this.timestampFormat = timestampFormat;
return this;
}

}
Loading