diff --git a/datafactory/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/AzureMariaDBLinkedService.java b/datafactory/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/AzureMariaDBLinkedService.java new file mode 100644 index 0000000000000..bdb5d211d44c7 --- /dev/null +++ b/datafactory/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/AzureMariaDBLinkedService.java @@ -0,0 +1,105 @@ +/** + * 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.LinkedServiceInner; + +/** + * Azure Database for MariaDB linked service. + */ +@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "type") +@JsonTypeName("AzureMariaDB") +@JsonFlatten +public class AzureMariaDBLinkedService extends LinkedServiceInner { + /** + * An ODBC connection string. Type: string, SecureString or + * AzureKeyVaultSecretReference. + */ + @JsonProperty(value = "typeProperties.connectionString") + private Object connectionString; + + /** + * The Azure key vault secret reference of password in connection string. + */ + @JsonProperty(value = "typeProperties.pwd") + private AzureKeyVaultSecretReference pwd; + + /** + * The encrypted credential used for authentication. Credentials are + * encrypted using the integration runtime credential manager. Type: string + * (or Expression with resultType string). + */ + @JsonProperty(value = "typeProperties.encryptedCredential") + private Object encryptedCredential; + + /** + * Get an ODBC connection string. Type: string, SecureString or AzureKeyVaultSecretReference. + * + * @return the connectionString value + */ + public Object connectionString() { + return this.connectionString; + } + + /** + * Set an ODBC connection string. Type: string, SecureString or AzureKeyVaultSecretReference. + * + * @param connectionString the connectionString value to set + * @return the AzureMariaDBLinkedService object itself. + */ + public AzureMariaDBLinkedService withConnectionString(Object connectionString) { + this.connectionString = connectionString; + return this; + } + + /** + * Get the Azure key vault secret reference of password in connection string. + * + * @return the pwd value + */ + public AzureKeyVaultSecretReference pwd() { + return this.pwd; + } + + /** + * Set the Azure key vault secret reference of password in connection string. + * + * @param pwd the pwd value to set + * @return the AzureMariaDBLinkedService object itself. + */ + public AzureMariaDBLinkedService withPwd(AzureKeyVaultSecretReference pwd) { + this.pwd = pwd; + return this; + } + + /** + * Get the encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). + * + * @return the encryptedCredential value + */ + public Object encryptedCredential() { + return this.encryptedCredential; + } + + /** + * Set the encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). + * + * @param encryptedCredential the encryptedCredential value to set + * @return the AzureMariaDBLinkedService object itself. + */ + public AzureMariaDBLinkedService withEncryptedCredential(Object encryptedCredential) { + this.encryptedCredential = encryptedCredential; + return this; + } + +} diff --git a/datafactory/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/AzureMariaDBSource.java b/datafactory/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/AzureMariaDBSource.java new file mode 100644 index 0000000000000..adca418020bb0 --- /dev/null +++ b/datafactory/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/AzureMariaDBSource.java @@ -0,0 +1,48 @@ +/** + * 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; + +/** + * A copy activity Azure MariaDB source. + */ +@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "type") +@JsonTypeName("AzureMariaDBSource") +public class AzureMariaDBSource extends CopySource { + /** + * A query to retrieve data from source. Type: string (or Expression with + * resultType string). + */ + @JsonProperty(value = "query") + private Object query; + + /** + * Get a query to retrieve data from source. Type: string (or Expression with resultType string). + * + * @return the query value + */ + public Object query() { + return this.query; + } + + /** + * Set a query to retrieve data from source. Type: string (or Expression with resultType string). + * + * @param query the query value to set + * @return the AzureMariaDBSource object itself. + */ + public AzureMariaDBSource withQuery(Object query) { + this.query = query; + return this; + } + +} diff --git a/datafactory/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/AzureMariaDBTableDataset.java b/datafactory/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/AzureMariaDBTableDataset.java new file mode 100644 index 0000000000000..03ac79d83c8a2 --- /dev/null +++ b/datafactory/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/AzureMariaDBTableDataset.java @@ -0,0 +1,50 @@ +/** + * 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 Database for MariaDB dataset. + */ +@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "type") +@JsonTypeName("AzureMariaDBTable") +@JsonFlatten +public class AzureMariaDBTableDataset extends DatasetInner { + /** + * The table name. Type: string (or Expression with resultType string). + */ + @JsonProperty(value = "typeProperties.tableName") + private Object tableName; + + /** + * Get the table name. Type: string (or Expression with resultType string). + * + * @return the tableName value + */ + public Object tableName() { + return this.tableName; + } + + /** + * Set the table name. Type: string (or Expression with resultType string). + * + * @param tableName the tableName value to set + * @return the AzureMariaDBTableDataset object itself. + */ + public AzureMariaDBTableDataset withTableName(Object tableName) { + this.tableName = tableName; + return this; + } + +} diff --git a/datafactory/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/CopySource.java b/datafactory/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/CopySource.java index 91f4083bfac44..e410118fcea6a 100644 --- a/datafactory/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/CopySource.java +++ b/datafactory/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/CopySource.java @@ -39,6 +39,7 @@ @JsonSubTypes.Type(name = "PhoenixSource", value = PhoenixSource.class), @JsonSubTypes.Type(name = "PaypalSource", value = PaypalSource.class), @JsonSubTypes.Type(name = "MarketoSource", value = MarketoSource.class), + @JsonSubTypes.Type(name = "AzureMariaDBSource", value = AzureMariaDBSource.class), @JsonSubTypes.Type(name = "MariaDBSource", value = MariaDBSource.class), @JsonSubTypes.Type(name = "MagentoSource", value = MagentoSource.class), @JsonSubTypes.Type(name = "JiraSource", value = JiraSource.class), diff --git a/datafactory/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/Office365Source.java b/datafactory/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/Office365Source.java index 7c1babfed200d..3f15d7fb5424b 100644 --- a/datafactory/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/Office365Source.java +++ b/datafactory/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/Office365Source.java @@ -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; @@ -17,4 +18,139 @@ @JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "type") @JsonTypeName("Office365Source") public class Office365Source extends CopySource { + /** + * The groups containing all the users. Type: array of strings (or + * Expression with resultType array of strings). + */ + @JsonProperty(value = "allowedGroups") + private Object allowedGroups; + + /** + * The user scope uri. Type: string (or Expression with resultType string). + */ + @JsonProperty(value = "userScopeFilterUri") + private Object userScopeFilterUri; + + /** + * The Column to apply the <paramref name="StartTime"/> and + * <paramref name="EndTime"/>. Type: string (or Expression with + * resultType string). + */ + @JsonProperty(value = "dateFilterColumn") + private Object dateFilterColumn; + + /** + * Start time of the requested range for this dataset. Type: string (or + * Expression with resultType string). + */ + @JsonProperty(value = "startTime") + private Object startTime; + + /** + * End time of the requested range for thsi dataset. Type: string (or + * Expression with resultType string). + */ + @JsonProperty(value = "endTime") + private Object endTime; + + /** + * Get the groups containing all the users. Type: array of strings (or Expression with resultType array of strings). + * + * @return the allowedGroups value + */ + public Object allowedGroups() { + return this.allowedGroups; + } + + /** + * Set the groups containing all the users. Type: array of strings (or Expression with resultType array of strings). + * + * @param allowedGroups the allowedGroups value to set + * @return the Office365Source object itself. + */ + public Office365Source withAllowedGroups(Object allowedGroups) { + this.allowedGroups = allowedGroups; + return this; + } + + /** + * Get the user scope uri. Type: string (or Expression with resultType string). + * + * @return the userScopeFilterUri value + */ + public Object userScopeFilterUri() { + return this.userScopeFilterUri; + } + + /** + * Set the user scope uri. Type: string (or Expression with resultType string). + * + * @param userScopeFilterUri the userScopeFilterUri value to set + * @return the Office365Source object itself. + */ + public Office365Source withUserScopeFilterUri(Object userScopeFilterUri) { + this.userScopeFilterUri = userScopeFilterUri; + return this; + } + + /** + * Get the Column to apply the <paramref name="StartTime"/> and <paramref name="EndTime"/>. Type: string (or Expression with resultType string). + * + * @return the dateFilterColumn value + */ + public Object dateFilterColumn() { + return this.dateFilterColumn; + } + + /** + * Set the Column to apply the <paramref name="StartTime"/> and <paramref name="EndTime"/>. Type: string (or Expression with resultType string). + * + * @param dateFilterColumn the dateFilterColumn value to set + * @return the Office365Source object itself. + */ + public Office365Source withDateFilterColumn(Object dateFilterColumn) { + this.dateFilterColumn = dateFilterColumn; + return this; + } + + /** + * Get start time of the requested range for this dataset. Type: string (or Expression with resultType string). + * + * @return the startTime value + */ + public Object startTime() { + return this.startTime; + } + + /** + * Set start time of the requested range for this dataset. Type: string (or Expression with resultType string). + * + * @param startTime the startTime value to set + * @return the Office365Source object itself. + */ + public Office365Source withStartTime(Object startTime) { + this.startTime = startTime; + return this; + } + + /** + * Get end time of the requested range for thsi dataset. Type: string (or Expression with resultType string). + * + * @return the endTime value + */ + public Object endTime() { + return this.endTime; + } + + /** + * Set end time of the requested range for thsi dataset. Type: string (or Expression with resultType string). + * + * @param endTime the endTime value to set + * @return the Office365Source object itself. + */ + public Office365Source withEndTime(Object endTime) { + this.endTime = endTime; + return this; + } + } diff --git a/datafactory/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/RestSource.java b/datafactory/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/RestSource.java index dd2d0cf303dca..670ad210007ae 100644 --- a/datafactory/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/RestSource.java +++ b/datafactory/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/RestSource.java @@ -18,6 +18,34 @@ @JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "type") @JsonTypeName("RestSource") public class RestSource extends CopySource { + /** + * The HTTP method used to call the RESTful API. The default is GET. Type: + * string (or Expression with resultType string). + */ + @JsonProperty(value = "requestMethod") + private Object requestMethod; + + /** + * The HTTP request body to the RESTful API if requestMethod is POST. Type: + * string (or Expression with resultType string). + */ + @JsonProperty(value = "requestBody") + private Object requestBody; + + /** + * The additional HTTP headers in the request to the RESTful API. Type: + * string (or Expression with resultType string). + */ + @JsonProperty(value = "additionalHeaders") + private Object additionalHeaders; + + /** + * The pagination rules to compose next page requests. Type: string (or + * Expression with resultType string). + */ + @JsonProperty(value = "paginationRules") + private Object paginationRules; + /** * 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: @@ -33,6 +61,86 @@ public class RestSource extends CopySource { @JsonProperty(value = "requestInterval") private Object requestInterval; + /** + * Get the HTTP method used to call the RESTful API. The default is GET. Type: string (or Expression with resultType string). + * + * @return the requestMethod value + */ + public Object requestMethod() { + return this.requestMethod; + } + + /** + * Set the HTTP method used to call the RESTful API. The default is GET. Type: string (or Expression with resultType string). + * + * @param requestMethod the requestMethod value to set + * @return the RestSource object itself. + */ + public RestSource withRequestMethod(Object requestMethod) { + this.requestMethod = requestMethod; + return this; + } + + /** + * Get the HTTP request body to the RESTful API if requestMethod is POST. Type: string (or Expression with resultType string). + * + * @return the requestBody value + */ + public Object requestBody() { + return this.requestBody; + } + + /** + * Set the HTTP request body to the RESTful API if requestMethod is POST. Type: string (or Expression with resultType string). + * + * @param requestBody the requestBody value to set + * @return the RestSource object itself. + */ + public RestSource withRequestBody(Object requestBody) { + this.requestBody = requestBody; + return this; + } + + /** + * Get the additional HTTP headers in the request to the RESTful API. Type: string (or Expression with resultType string). + * + * @return the additionalHeaders value + */ + public Object additionalHeaders() { + return this.additionalHeaders; + } + + /** + * Set the additional HTTP headers in the request to the RESTful API. Type: string (or Expression with resultType string). + * + * @param additionalHeaders the additionalHeaders value to set + * @return the RestSource object itself. + */ + public RestSource withAdditionalHeaders(Object additionalHeaders) { + this.additionalHeaders = additionalHeaders; + return this; + } + + /** + * Get the pagination rules to compose next page requests. Type: string (or Expression with resultType string). + * + * @return the paginationRules value + */ + public Object paginationRules() { + return this.paginationRules; + } + + /** + * Set the pagination rules to compose next page requests. Type: string (or Expression with resultType string). + * + * @param paginationRules the paginationRules value to set + * @return the RestSource object itself. + */ + public RestSource withPaginationRules(Object paginationRules) { + this.paginationRules = paginationRules; + 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:01:40. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). * diff --git a/datafactory/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/SapOpenHubSource.java b/datafactory/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/SapOpenHubSource.java index 2a925f1f4b02a..853793f099f2c 100644 --- a/datafactory/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/SapOpenHubSource.java +++ b/datafactory/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/SapOpenHubSource.java @@ -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; @@ -18,4 +19,60 @@ @JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "type") @JsonTypeName("SapOpenHubSource") public class SapOpenHubSource extends CopySource { + /** + * Whether to exclude the records of the last request. The default value is + * true. Type: boolean (or Expression with resultType boolean). + */ + @JsonProperty(value = "excludeLastRequest") + private Object excludeLastRequest; + + /** + * The ID of request for delta loading. Once it is set, only data with + * requestId larger than the value of this property will be retrieved. The + * default value is 0. Type: integer (or Expression with resultType integer + * ). + */ + @JsonProperty(value = "baseRequestId") + private Object baseRequestId; + + /** + * Get whether to exclude the records of the last request. The default value is true. Type: boolean (or Expression with resultType boolean). + * + * @return the excludeLastRequest value + */ + public Object excludeLastRequest() { + return this.excludeLastRequest; + } + + /** + * Set whether to exclude the records of the last request. The default value is true. Type: boolean (or Expression with resultType boolean). + * + * @param excludeLastRequest the excludeLastRequest value to set + * @return the SapOpenHubSource object itself. + */ + public SapOpenHubSource withExcludeLastRequest(Object excludeLastRequest) { + this.excludeLastRequest = excludeLastRequest; + return this; + } + + /** + * Get the ID of request for delta loading. Once it is set, only data with requestId larger than the value of this property will be retrieved. The default value is 0. Type: integer (or Expression with resultType integer ). + * + * @return the baseRequestId value + */ + public Object baseRequestId() { + return this.baseRequestId; + } + + /** + * Set the ID of request for delta loading. Once it is set, only data with requestId larger than the value of this property will be retrieved. The default value is 0. Type: integer (or Expression with resultType integer ). + * + * @param baseRequestId the baseRequestId value to set + * @return the SapOpenHubSource object itself. + */ + public SapOpenHubSource withBaseRequestId(Object baseRequestId) { + this.baseRequestId = baseRequestId; + return this; + } + } diff --git a/datafactory/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/implementation/DatasetInner.java b/datafactory/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/implementation/DatasetInner.java index 47aacbd8d6083..0a417a2ef495b 100644 --- a/datafactory/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/implementation/DatasetInner.java +++ b/datafactory/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/implementation/DatasetInner.java @@ -44,6 +44,7 @@ @JsonSubTypes.Type(name = "PhoenixObject", value = PhoenixObjectDataset.class), @JsonSubTypes.Type(name = "PaypalObject", value = PaypalObjectDataset.class), @JsonSubTypes.Type(name = "MarketoObject", value = MarketoObjectDataset.class), + @JsonSubTypes.Type(name = "AzureMariaDBTable", value = AzureMariaDBTableDataset.class), @JsonSubTypes.Type(name = "MariaDBTable", value = MariaDBTableDataset.class), @JsonSubTypes.Type(name = "MagentoObject", value = MagentoObjectDataset.class), @JsonSubTypes.Type(name = "JiraObject", value = JiraObjectDataset.class), diff --git a/datafactory/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/implementation/LinkedServiceInner.java b/datafactory/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/implementation/LinkedServiceInner.java index 6471c87b1194f..626645e8cca38 100644 --- a/datafactory/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/implementation/LinkedServiceInner.java +++ b/datafactory/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/implementation/LinkedServiceInner.java @@ -49,6 +49,7 @@ @JsonSubTypes.Type(name = "Phoenix", value = PhoenixLinkedService.class), @JsonSubTypes.Type(name = "Paypal", value = PaypalLinkedService.class), @JsonSubTypes.Type(name = "Marketo", value = MarketoLinkedService.class), + @JsonSubTypes.Type(name = "AzureMariaDB", value = AzureMariaDBLinkedService.class), @JsonSubTypes.Type(name = "MariaDB", value = MariaDBLinkedService.class), @JsonSubTypes.Type(name = "Magento", value = MagentoLinkedService.class), @JsonSubTypes.Type(name = "Jira", value = JiraLinkedService.class),