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] add sharepointonlinelist connector and httpRequestTimeout #2383

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,8 @@
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "type", defaultImpl = CopySource.class)
@JsonTypeName("CopySource")
@JsonSubTypes({
@JsonSubTypes.Type(name = "SharePointOnlineListSource", value = SharePointOnlineListSource.class),
@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
Expand Up @@ -25,6 +25,15 @@ public class DynamicsAXSource extends TabularSource {
@JsonProperty(value = "query")
private Object query;

/**
* The timeout (TimeSpan) to get an HTTP response. It is the timeout to get
* a response, not the timeout to read response data. Default value:
* 00:05:00. Type: string (or Expression with resultType string), pattern:
* ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
*/
@JsonProperty(value = "httpRequestTimeout")
private Object httpRequestTimeout;

/**
* Get a query to retrieve data from source. Type: string (or Expression with resultType string).
*
Expand All @@ -45,4 +54,24 @@ public DynamicsAXSource withQuery(Object query) {
return this;
}

/**
* Get the timeout (TimeSpan) to get an HTTP response. It is the timeout to get a response, not the timeout to read response data. Default value: 00:05:00. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
*
* @return the httpRequestTimeout value
*/
public Object httpRequestTimeout() {
return this.httpRequestTimeout;
}

/**
* Set the timeout (TimeSpan) to get an HTTP response. It is the timeout to get a response, not the timeout to read response data. Default value: 00:05:00. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
*
* @param httpRequestTimeout the httpRequestTimeout value to set
* @return the DynamicsAXSource object itself.
*/
public DynamicsAXSource withHttpRequestTimeout(Object httpRequestTimeout) {
this.httpRequestTimeout = httpRequestTimeout;
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;

/**
* 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 @@ -61,6 +61,12 @@ public class IntegrationRuntimeSsisProperties {
@JsonProperty(value = "expressCustomSetupProperties")
private List<CustomSetupBase> expressCustomSetupProperties;

/**
* Package stores for the SSIS Integration Runtime.
*/
@JsonProperty(value = "packageStores")
private List<PackageStore> packageStores;

/**
* Get unmatched properties from the message are deserialized this collection.
*
Expand Down Expand Up @@ -201,4 +207,24 @@ public IntegrationRuntimeSsisProperties withExpressCustomSetupProperties(List<Cu
return this;
}

/**
* Get package stores for the SSIS Integration Runtime.
*
* @return the packageStores value
*/
public List<PackageStore> packageStores() {
return this.packageStores;
}

/**
* Set package stores for the SSIS Integration Runtime.
*
* @param packageStores the packageStores value to set
* @return the IntegrationRuntimeSsisProperties object itself.
*/
public IntegrationRuntimeSsisProperties withPackageStores(List<PackageStore> packageStores) {
this.packageStores = packageStores;
return this;
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,15 @@ public class ODataSource extends CopySource {
@JsonProperty(value = "query")
private Object query;

/**
* The timeout (TimeSpan) to get an HTTP response. It is the timeout to get
* a response, not the timeout to read response data. Default value:
* 00:05:00. Type: string (or Expression with resultType string), pattern:
* ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
*/
@JsonProperty(value = "httpRequestTimeout")
private Object httpRequestTimeout;

/**
* Specifies the additional columns to be added to source data. Type: array
* of objects (or Expression with resultType array of objects).
Expand Down Expand Up @@ -53,6 +62,26 @@ public ODataSource withQuery(Object query) {
return this;
}

/**
* Get the timeout (TimeSpan) to get an HTTP response. It is the timeout to get a response, not the timeout to read response data. Default value: 00:05:00. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
*
* @return the httpRequestTimeout value
*/
public Object httpRequestTimeout() {
return this.httpRequestTimeout;
}

/**
* Set the timeout (TimeSpan) to get an HTTP response. It is the timeout to get a response, not the timeout to read response data. Default value: 00:05:00. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
*
* @param httpRequestTimeout the httpRequestTimeout value to set
* @return the ODataSource object itself.
*/
public ODataSource withHttpRequestTimeout(Object httpRequestTimeout) {
this.httpRequestTimeout = httpRequestTimeout;
return this;
}

/**
* Get specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects).
*
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;

/**
* Package store for the SSIS integration runtime.
*/
public class PackageStore {
/**
* The name of the package store.
*/
@JsonProperty(value = "name", required = true)
private String name;

/**
* The package store linked service reference.
*/
@JsonProperty(value = "packageStoreLinkedService", required = true)
private EntityReference packageStoreLinkedService;

/**
* Get the name of the package store.
*
* @return the name value
*/
public String name() {
return this.name;
}

/**
* Set the name of the package store.
*
* @param name the name value to set
* @return the PackageStore object itself.
*/
public PackageStore withName(String name) {
this.name = name;
return this;
}

/**
* Get the package store linked service reference.
*
* @return the packageStoreLinkedService value
*/
public EntityReference packageStoreLinkedService() {
return this.packageStoreLinkedService;
}

/**
* Set the package store linked service reference.
*
* @param packageStoreLinkedService the packageStoreLinkedService value to set
* @return the PackageStore object itself.
*/
public PackageStore withPackageStoreLinkedService(EntityReference packageStoreLinkedService) {
this.packageStoreLinkedService = packageStoreLinkedService;
return this;
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public class SSISPackageLocation {

/**
* The type of SSIS package location. Possible values include: 'SSISDB',
* 'File', 'InlinePackage'.
* 'File', 'InlinePackage', 'PackageStore'.
*/
@JsonProperty(value = "type")
private SsisPackageLocationType type;
Expand All @@ -50,6 +50,12 @@ public class SSISPackageLocation {
@JsonProperty(value = "typeProperties.configurationPath")
private Object configurationPath;

/**
* The configuration file access credential.
*/
@JsonProperty(value = "typeProperties.configurationAccessCredential")
private SSISAccessCredential configurationAccessCredential;

/**
* The package name.
*/
Expand Down Expand Up @@ -96,7 +102,7 @@ public SSISPackageLocation withPackagePath(Object packagePath) {
}

/**
* Get the type of SSIS package location. Possible values include: 'SSISDB', 'File', 'InlinePackage'.
* Get the type of SSIS package location. Possible values include: 'SSISDB', 'File', 'InlinePackage', 'PackageStore'.
*
* @return the type value
*/
Expand All @@ -105,7 +111,7 @@ public SsisPackageLocationType type() {
}

/**
* Set the type of SSIS package location. Possible values include: 'SSISDB', 'File', 'InlinePackage'.
* Set the type of SSIS package location. Possible values include: 'SSISDB', 'File', 'InlinePackage', 'PackageStore'.
*
* @param type the type value to set
* @return the SSISPackageLocation object itself.
Expand Down Expand Up @@ -175,6 +181,26 @@ public SSISPackageLocation withConfigurationPath(Object configurationPath) {
return this;
}

/**
* Get the configuration file access credential.
*
* @return the configurationAccessCredential value
*/
public SSISAccessCredential configurationAccessCredential() {
return this.configurationAccessCredential;
}

/**
* Set the configuration file access credential.
*
* @param configurationAccessCredential the configurationAccessCredential value to set
* @return the SSISPackageLocation object itself.
*/
public SSISPackageLocation withConfigurationAccessCredential(SSISAccessCredential configurationAccessCredential) {
this.configurationAccessCredential = configurationAccessCredential;
return this;
}

/**
* Get the package name.
*
Expand Down
Loading