diff --git a/azure-mgmt-datafactory/src/main/java/com/microsoft/azure/management/datafactory/CopySource.java b/azure-mgmt-datafactory/src/main/java/com/microsoft/azure/management/datafactory/CopySource.java index 4a7334a37bc..91208044ba2 100644 --- a/azure-mgmt-datafactory/src/main/java/com/microsoft/azure/management/datafactory/CopySource.java +++ b/azure-mgmt-datafactory/src/main/java/com/microsoft/azure/management/datafactory/CopySource.java @@ -21,6 +21,7 @@ @JsonTypeName("CopySource") @JsonSubTypes({ @JsonSubTypes.Type(name = "AmazonRedshiftSource", value = AmazonRedshiftSource.class), + @JsonSubTypes.Type(name = "ResponsysSource", value = ResponsysSource.class), @JsonSubTypes.Type(name = "SalesforceMarketingCloudSource", value = SalesforceMarketingCloudSource.class), @JsonSubTypes.Type(name = "VerticaSource", value = VerticaSource.class), @JsonSubTypes.Type(name = "NetezzaSource", value = NetezzaSource.class), diff --git a/azure-mgmt-datafactory/src/main/java/com/microsoft/azure/management/datafactory/ResponsysLinkedService.java b/azure-mgmt-datafactory/src/main/java/com/microsoft/azure/management/datafactory/ResponsysLinkedService.java new file mode 100644 index 00000000000..0f0bca45a06 --- /dev/null +++ b/azure-mgmt-datafactory/src/main/java/com/microsoft/azure/management/datafactory/ResponsysLinkedService.java @@ -0,0 +1,217 @@ +/** + * 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; + +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.implementation.LinkedServiceInner; + +/** + * Responsys linked service. + */ +@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "type") +@JsonTypeName("Responsys") +@JsonFlatten +public class ResponsysLinkedService extends LinkedServiceInner { + /** + * The endpoint of the Responsys server. + */ + @JsonProperty(value = "typeProperties.endpoint", required = true) + private Object endpoint; + + /** + * The client ID associated with the Responsys application. Type: string + * (or Expression with resultType string). + */ + @JsonProperty(value = "typeProperties.clientId", required = true) + private Object clientId; + + /** + * The client secret associated with the Responsys application. Type: + * string (or Expression with resultType string). + */ + @JsonProperty(value = "typeProperties.clientSecret") + private SecretBase clientSecret; + + /** + * Specifies whether the data source endpoints are encrypted using HTTPS. + * The default value is true. Type: boolean (or Expression with resultType + * boolean). + */ + @JsonProperty(value = "typeProperties.useEncryptedEndpoints") + private Object useEncryptedEndpoints; + + /** + * Specifies whether to require the host name in the server's certificate + * to match the host name of the server when connecting over SSL. The + * default value is true. Type: boolean (or Expression with resultType + * boolean). + */ + @JsonProperty(value = "typeProperties.useHostVerification") + private Object useHostVerification; + + /** + * Specifies whether to verify the identity of the server when connecting + * over SSL. The default value is true. Type: boolean (or Expression with + * resultType boolean). + */ + @JsonProperty(value = "typeProperties.usePeerVerification") + private Object usePeerVerification; + + /** + * 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 the endpoint value. + * + * @return the endpoint value + */ + public Object endpoint() { + return this.endpoint; + } + + /** + * Set the endpoint value. + * + * @param endpoint the endpoint value to set + * @return the ResponsysLinkedService object itself. + */ + public ResponsysLinkedService withEndpoint(Object endpoint) { + this.endpoint = endpoint; + return this; + } + + /** + * Get the clientId value. + * + * @return the clientId value + */ + public Object clientId() { + return this.clientId; + } + + /** + * Set the clientId value. + * + * @param clientId the clientId value to set + * @return the ResponsysLinkedService object itself. + */ + public ResponsysLinkedService withClientId(Object clientId) { + this.clientId = clientId; + return this; + } + + /** + * Get the clientSecret value. + * + * @return the clientSecret value + */ + public SecretBase clientSecret() { + return this.clientSecret; + } + + /** + * Set the clientSecret value. + * + * @param clientSecret the clientSecret value to set + * @return the ResponsysLinkedService object itself. + */ + public ResponsysLinkedService withClientSecret(SecretBase clientSecret) { + this.clientSecret = clientSecret; + return this; + } + + /** + * Get the useEncryptedEndpoints value. + * + * @return the useEncryptedEndpoints value + */ + public Object useEncryptedEndpoints() { + return this.useEncryptedEndpoints; + } + + /** + * Set the useEncryptedEndpoints value. + * + * @param useEncryptedEndpoints the useEncryptedEndpoints value to set + * @return the ResponsysLinkedService object itself. + */ + public ResponsysLinkedService withUseEncryptedEndpoints(Object useEncryptedEndpoints) { + this.useEncryptedEndpoints = useEncryptedEndpoints; + return this; + } + + /** + * Get the useHostVerification value. + * + * @return the useHostVerification value + */ + public Object useHostVerification() { + return this.useHostVerification; + } + + /** + * Set the useHostVerification value. + * + * @param useHostVerification the useHostVerification value to set + * @return the ResponsysLinkedService object itself. + */ + public ResponsysLinkedService withUseHostVerification(Object useHostVerification) { + this.useHostVerification = useHostVerification; + return this; + } + + /** + * Get the usePeerVerification value. + * + * @return the usePeerVerification value + */ + public Object usePeerVerification() { + return this.usePeerVerification; + } + + /** + * Set the usePeerVerification value. + * + * @param usePeerVerification the usePeerVerification value to set + * @return the ResponsysLinkedService object itself. + */ + public ResponsysLinkedService withUsePeerVerification(Object usePeerVerification) { + this.usePeerVerification = usePeerVerification; + return this; + } + + /** + * Get the encryptedCredential value. + * + * @return the encryptedCredential value + */ + public Object encryptedCredential() { + return this.encryptedCredential; + } + + /** + * Set the encryptedCredential value. + * + * @param encryptedCredential the encryptedCredential value to set + * @return the ResponsysLinkedService object itself. + */ + public ResponsysLinkedService withEncryptedCredential(Object encryptedCredential) { + this.encryptedCredential = encryptedCredential; + return this; + } + +} diff --git a/azure-mgmt-datafactory/src/main/java/com/microsoft/azure/management/datafactory/ResponsysObjectDataset.java b/azure-mgmt-datafactory/src/main/java/com/microsoft/azure/management/datafactory/ResponsysObjectDataset.java new file mode 100644 index 00000000000..2a8a7d3c4b8 --- /dev/null +++ b/azure-mgmt-datafactory/src/main/java/com/microsoft/azure/management/datafactory/ResponsysObjectDataset.java @@ -0,0 +1,21 @@ +/** + * 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; + +import com.fasterxml.jackson.annotation.JsonTypeInfo; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.microsoft.azure.management.datafactory.implementation.DatasetInner; + +/** + * Responsys dataset. + */ +@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "type") +@JsonTypeName("ResponsysObject") +public class ResponsysObjectDataset extends DatasetInner { +} diff --git a/azure-mgmt-datafactory/src/main/java/com/microsoft/azure/management/datafactory/ResponsysSource.java b/azure-mgmt-datafactory/src/main/java/com/microsoft/azure/management/datafactory/ResponsysSource.java new file mode 100644 index 00000000000..84b7a583a4d --- /dev/null +++ b/azure-mgmt-datafactory/src/main/java/com/microsoft/azure/management/datafactory/ResponsysSource.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; + +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonTypeInfo; +import com.fasterxml.jackson.annotation.JsonTypeName; + +/** + * A copy activity Responsys source. + */ +@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "type") +@JsonTypeName("ResponsysSource") +public class ResponsysSource extends CopySource { + /** + * A query to retrieve data from source. Type: string (or Expression with + * resultType string). + */ + @JsonProperty(value = "query") + private Object query; + + /** + * Get the query value. + * + * @return the query value + */ + public Object query() { + return this.query; + } + + /** + * Set the query value. + * + * @param query the query value to set + * @return the ResponsysSource object itself. + */ + public ResponsysSource withQuery(Object query) { + this.query = query; + return this; + } + +} diff --git a/azure-mgmt-datafactory/src/main/java/com/microsoft/azure/management/datafactory/TumblingWindowDependency.java b/azure-mgmt-datafactory/src/main/java/com/microsoft/azure/management/datafactory/TumblingWindowDependency.java new file mode 100644 index 00000000000..d443fbc5e71 --- /dev/null +++ b/azure-mgmt-datafactory/src/main/java/com/microsoft/azure/management/datafactory/TumblingWindowDependency.java @@ -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; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * Tumbling Window dependency information. + */ +public class TumblingWindowDependency { + /** + * Reference type 'TriggerReference' for Tumbling Window. + */ + @JsonProperty(value = "type", required = true) + private String type; + + /** + * Trigger reference name. + */ + @JsonProperty(value = "referenceName", required = true) + private String referenceName; + + /** + * Get the type value. + * + * @return the type value + */ + public String type() { + return this.type; + } + + /** + * Set the type value. + * + * @param type the type value to set + * @return the TumblingWindowDependency object itself. + */ + public TumblingWindowDependency withType(String type) { + this.type = type; + return this; + } + + /** + * Get the referenceName value. + * + * @return the referenceName value + */ + public String referenceName() { + return this.referenceName; + } + + /** + * Set the referenceName value. + * + * @param referenceName the referenceName value to set + * @return the TumblingWindowDependency object itself. + */ + public TumblingWindowDependency withReferenceName(String referenceName) { + this.referenceName = referenceName; + return this; + } + +} diff --git a/azure-mgmt-datafactory/src/main/java/com/microsoft/azure/management/datafactory/TumblingWindowTrigger.java b/azure-mgmt-datafactory/src/main/java/com/microsoft/azure/management/datafactory/TumblingWindowTrigger.java index 7fe1a156df1..2227733da76 100644 --- a/azure-mgmt-datafactory/src/main/java/com/microsoft/azure/management/datafactory/TumblingWindowTrigger.java +++ b/azure-mgmt-datafactory/src/main/java/com/microsoft/azure/management/datafactory/TumblingWindowTrigger.java @@ -9,6 +9,7 @@ package com.microsoft.azure.management.datafactory; import org.joda.time.DateTime; +import java.util.List; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonTypeName; @@ -82,6 +83,12 @@ public class TumblingWindowTrigger extends TriggerInner { @JsonProperty(value = "typeProperties.retryPolicy") private RetryPolicy retryPolicy; + /** + * Tumbling Window depends on condition. + */ + @JsonProperty(value = "typeProperties.dependsOn") + private List dependsOn; + /** * Get the pipeline value. * @@ -242,4 +249,24 @@ public TumblingWindowTrigger withRetryPolicy(RetryPolicy retryPolicy) { return this; } + /** + * Get the dependsOn value. + * + * @return the dependsOn value + */ + public List dependsOn() { + return this.dependsOn; + } + + /** + * Set the dependsOn value. + * + * @param dependsOn the dependsOn value to set + * @return the TumblingWindowTrigger object itself. + */ + public TumblingWindowTrigger withDependsOn(List dependsOn) { + this.dependsOn = dependsOn; + return this; + } + } diff --git a/azure-mgmt-datafactory/src/main/java/com/microsoft/azure/management/datafactory/implementation/DatasetInner.java b/azure-mgmt-datafactory/src/main/java/com/microsoft/azure/management/datafactory/implementation/DatasetInner.java index 491dccd044b..af5c571852d 100644 --- a/azure-mgmt-datafactory/src/main/java/com/microsoft/azure/management/datafactory/implementation/DatasetInner.java +++ b/azure-mgmt-datafactory/src/main/java/com/microsoft/azure/management/datafactory/implementation/DatasetInner.java @@ -24,6 +24,7 @@ @JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "type") @JsonTypeName("Dataset") @JsonSubTypes({ + @JsonSubTypes.Type(name = "ResponsysObject", value = ResponsysObjectDataset.class), @JsonSubTypes.Type(name = "SalesforceMarketingCloudObject", value = SalesforceMarketingCloudObjectDataset.class), @JsonSubTypes.Type(name = "VerticaTable", value = VerticaTableDataset.class), @JsonSubTypes.Type(name = "NetezzaTable", value = NetezzaTableDataset.class), diff --git a/azure-mgmt-datafactory/src/main/java/com/microsoft/azure/management/datafactory/implementation/LinkedServiceInner.java b/azure-mgmt-datafactory/src/main/java/com/microsoft/azure/management/datafactory/implementation/LinkedServiceInner.java index 40459fafaa9..9473ea37c81 100644 --- a/azure-mgmt-datafactory/src/main/java/com/microsoft/azure/management/datafactory/implementation/LinkedServiceInner.java +++ b/azure-mgmt-datafactory/src/main/java/com/microsoft/azure/management/datafactory/implementation/LinkedServiceInner.java @@ -25,6 +25,7 @@ @JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "type") @JsonTypeName("LinkedService") @JsonSubTypes({ + @JsonSubTypes.Type(name = "Responsys", value = ResponsysLinkedService.class), @JsonSubTypes.Type(name = "AzureDatabricks", value = AzureDatabricksLinkedService.class), @JsonSubTypes.Type(name = "AzureDataLakeAnalytics", value = AzureDataLakeAnalyticsLinkedService.class), @JsonSubTypes.Type(name = "HDInsightOnDemand", value = HDInsightOnDemandLinkedService.class),