diff --git a/azure-mgmt-datafactory/src/main/java/com/microsoft/azure/management/datafactory/AzureMySqlLinkedService.java b/azure-mgmt-datafactory/src/main/java/com/microsoft/azure/management/datafactory/AzureMySqlLinkedService.java index 05f8cc184ba..afe0ea3776b 100644 --- a/azure-mgmt-datafactory/src/main/java/com/microsoft/azure/management/datafactory/AzureMySqlLinkedService.java +++ b/azure-mgmt-datafactory/src/main/java/com/microsoft/azure/management/datafactory/AzureMySqlLinkedService.java @@ -22,10 +22,11 @@ @JsonFlatten public class AzureMySqlLinkedService extends LinkedServiceInner { /** - * The connection string. + * The connection string. Type: string, SecureString or + * AzureKeyVaultSecretReference. */ @JsonProperty(value = "typeProperties.connectionString", required = true) - private SecretBase connectionString; + private Object connectionString; /** * The encrypted credential used for authentication. Credentials are @@ -40,7 +41,7 @@ public class AzureMySqlLinkedService extends LinkedServiceInner { * * @return the connectionString value */ - public SecretBase connectionString() { + public Object connectionString() { return this.connectionString; } @@ -50,7 +51,7 @@ public SecretBase connectionString() { * @param connectionString the connectionString value to set * @return the AzureMySqlLinkedService object itself. */ - public AzureMySqlLinkedService withConnectionString(SecretBase connectionString) { + public AzureMySqlLinkedService withConnectionString(Object connectionString) { this.connectionString = connectionString; return this; } diff --git a/azure-mgmt-datafactory/src/main/java/com/microsoft/azure/management/datafactory/AzurePostgreSqlLinkedService.java b/azure-mgmt-datafactory/src/main/java/com/microsoft/azure/management/datafactory/AzurePostgreSqlLinkedService.java index 2f809cd0dd3..8af8d40240c 100644 --- a/azure-mgmt-datafactory/src/main/java/com/microsoft/azure/management/datafactory/AzurePostgreSqlLinkedService.java +++ b/azure-mgmt-datafactory/src/main/java/com/microsoft/azure/management/datafactory/AzurePostgreSqlLinkedService.java @@ -22,10 +22,11 @@ @JsonFlatten public class AzurePostgreSqlLinkedService extends LinkedServiceInner { /** - * An ODBC connection string. + * An ODBC connection string. Type: string, SecureString or + * AzureKeyVaultSecretReference. */ @JsonProperty(value = "typeProperties.connectionString") - private SecretBase connectionString; + private Object connectionString; /** * The encrypted credential used for authentication. Credentials are @@ -40,7 +41,7 @@ public class AzurePostgreSqlLinkedService extends LinkedServiceInner { * * @return the connectionString value */ - public SecretBase connectionString() { + public Object connectionString() { return this.connectionString; } @@ -50,7 +51,7 @@ public SecretBase connectionString() { * @param connectionString the connectionString value to set * @return the AzurePostgreSqlLinkedService object itself. */ - public AzurePostgreSqlLinkedService withConnectionString(SecretBase connectionString) { + public AzurePostgreSqlLinkedService withConnectionString(Object connectionString) { this.connectionString = connectionString; return this; } diff --git a/azure-mgmt-datafactory/src/main/java/com/microsoft/azure/management/datafactory/AzureSqlDWLinkedService.java b/azure-mgmt-datafactory/src/main/java/com/microsoft/azure/management/datafactory/AzureSqlDWLinkedService.java index 31fa43604ff..872fc2516a1 100644 --- a/azure-mgmt-datafactory/src/main/java/com/microsoft/azure/management/datafactory/AzureSqlDWLinkedService.java +++ b/azure-mgmt-datafactory/src/main/java/com/microsoft/azure/management/datafactory/AzureSqlDWLinkedService.java @@ -22,10 +22,12 @@ @JsonFlatten public class AzureSqlDWLinkedService extends LinkedServiceInner { /** - * The connection string. + * The connection string. Type: string, SecureString or + * AzureKeyVaultSecretReference. Type: string, SecureString or + * AzureKeyVaultSecretReference. */ @JsonProperty(value = "typeProperties.connectionString", required = true) - private SecretBase connectionString; + private Object connectionString; /** * The ID of the service principal used to authenticate against Azure SQL @@ -61,7 +63,7 @@ public class AzureSqlDWLinkedService extends LinkedServiceInner { * * @return the connectionString value */ - public SecretBase connectionString() { + public Object connectionString() { return this.connectionString; } @@ -71,7 +73,7 @@ public SecretBase connectionString() { * @param connectionString the connectionString value to set * @return the AzureSqlDWLinkedService object itself. */ - public AzureSqlDWLinkedService withConnectionString(SecretBase connectionString) { + public AzureSqlDWLinkedService withConnectionString(Object connectionString) { this.connectionString = connectionString; return this; } diff --git a/azure-mgmt-datafactory/src/main/java/com/microsoft/azure/management/datafactory/AzureSqlDatabaseLinkedService.java b/azure-mgmt-datafactory/src/main/java/com/microsoft/azure/management/datafactory/AzureSqlDatabaseLinkedService.java index 67ec049b57c..62b0d49edb2 100644 --- a/azure-mgmt-datafactory/src/main/java/com/microsoft/azure/management/datafactory/AzureSqlDatabaseLinkedService.java +++ b/azure-mgmt-datafactory/src/main/java/com/microsoft/azure/management/datafactory/AzureSqlDatabaseLinkedService.java @@ -22,10 +22,11 @@ @JsonFlatten public class AzureSqlDatabaseLinkedService extends LinkedServiceInner { /** - * The connection string. + * The connection string. Type: string, SecureString or + * AzureKeyVaultSecretReference. */ @JsonProperty(value = "typeProperties.connectionString", required = true) - private SecretBase connectionString; + private Object connectionString; /** * The ID of the service principal used to authenticate against Azure SQL @@ -61,7 +62,7 @@ public class AzureSqlDatabaseLinkedService extends LinkedServiceInner { * * @return the connectionString value */ - public SecretBase connectionString() { + public Object connectionString() { return this.connectionString; } @@ -71,7 +72,7 @@ public SecretBase connectionString() { * @param connectionString the connectionString value to set * @return the AzureSqlDatabaseLinkedService object itself. */ - public AzureSqlDatabaseLinkedService withConnectionString(SecretBase connectionString) { + public AzureSqlDatabaseLinkedService withConnectionString(Object connectionString) { this.connectionString = connectionString; return this; } diff --git a/azure-mgmt-datafactory/src/main/java/com/microsoft/azure/management/datafactory/AzureStorageLinkedService.java b/azure-mgmt-datafactory/src/main/java/com/microsoft/azure/management/datafactory/AzureStorageLinkedService.java index c80015ec636..e99aecff417 100644 --- a/azure-mgmt-datafactory/src/main/java/com/microsoft/azure/management/datafactory/AzureStorageLinkedService.java +++ b/azure-mgmt-datafactory/src/main/java/com/microsoft/azure/management/datafactory/AzureStorageLinkedService.java @@ -23,9 +23,10 @@ public class AzureStorageLinkedService extends LinkedServiceInner { /** * The connection string. It is mutually exclusive with sasUri property. + * Type: string, SecureString or AzureKeyVaultSecretReference. */ @JsonProperty(value = "typeProperties.connectionString") - private SecretBase connectionString; + private Object connectionString; /** * SAS URI of the Azure Storage resource. It is mutually exclusive with @@ -47,7 +48,7 @@ public class AzureStorageLinkedService extends LinkedServiceInner { * * @return the connectionString value */ - public SecretBase connectionString() { + public Object connectionString() { return this.connectionString; } @@ -57,7 +58,7 @@ public SecretBase connectionString() { * @param connectionString the connectionString value to set * @return the AzureStorageLinkedService object itself. */ - public AzureStorageLinkedService withConnectionString(SecretBase connectionString) { + public AzureStorageLinkedService withConnectionString(Object connectionString) { this.connectionString = connectionString; return this; } 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/CosmosDbLinkedService.java b/azure-mgmt-datafactory/src/main/java/com/microsoft/azure/management/datafactory/CosmosDbLinkedService.java index d63e81830d8..85225461134 100644 --- a/azure-mgmt-datafactory/src/main/java/com/microsoft/azure/management/datafactory/CosmosDbLinkedService.java +++ b/azure-mgmt-datafactory/src/main/java/com/microsoft/azure/management/datafactory/CosmosDbLinkedService.java @@ -22,10 +22,11 @@ @JsonFlatten public class CosmosDbLinkedService extends LinkedServiceInner { /** - * The connection string. + * The connection string. Type: string, SecureString or + * AzureKeyVaultSecretReference. */ @JsonProperty(value = "typeProperties.connectionString", required = true) - private SecretBase connectionString; + private Object connectionString; /** * The encrypted credential used for authentication. Credentials are @@ -40,7 +41,7 @@ public class CosmosDbLinkedService extends LinkedServiceInner { * * @return the connectionString value */ - public SecretBase connectionString() { + public Object connectionString() { return this.connectionString; } @@ -50,7 +51,7 @@ public SecretBase connectionString() { * @param connectionString the connectionString value to set * @return the CosmosDbLinkedService object itself. */ - public CosmosDbLinkedService withConnectionString(SecretBase connectionString) { + public CosmosDbLinkedService withConnectionString(Object connectionString) { this.connectionString = connectionString; return this; } diff --git a/azure-mgmt-datafactory/src/main/java/com/microsoft/azure/management/datafactory/CouchbaseLinkedService.java b/azure-mgmt-datafactory/src/main/java/com/microsoft/azure/management/datafactory/CouchbaseLinkedService.java index 866faeb8805..18b77dd4c9c 100644 --- a/azure-mgmt-datafactory/src/main/java/com/microsoft/azure/management/datafactory/CouchbaseLinkedService.java +++ b/azure-mgmt-datafactory/src/main/java/com/microsoft/azure/management/datafactory/CouchbaseLinkedService.java @@ -22,10 +22,11 @@ @JsonFlatten public class CouchbaseLinkedService extends LinkedServiceInner { /** - * An ODBC connection string. + * An ODBC connection string. Type: string, SecureString or + * AzureKeyVaultSecretReference. */ @JsonProperty(value = "typeProperties.connectionString") - private SecretBase connectionString; + private Object connectionString; /** * The encrypted credential used for authentication. Credentials are @@ -40,7 +41,7 @@ public class CouchbaseLinkedService extends LinkedServiceInner { * * @return the connectionString value */ - public SecretBase connectionString() { + public Object connectionString() { return this.connectionString; } @@ -50,7 +51,7 @@ public SecretBase connectionString() { * @param connectionString the connectionString value to set * @return the CouchbaseLinkedService object itself. */ - public CouchbaseLinkedService withConnectionString(SecretBase connectionString) { + public CouchbaseLinkedService withConnectionString(Object connectionString) { this.connectionString = connectionString; return this; } diff --git a/azure-mgmt-datafactory/src/main/java/com/microsoft/azure/management/datafactory/DrillLinkedService.java b/azure-mgmt-datafactory/src/main/java/com/microsoft/azure/management/datafactory/DrillLinkedService.java index 9d6c8b6397f..32af7bc9387 100644 --- a/azure-mgmt-datafactory/src/main/java/com/microsoft/azure/management/datafactory/DrillLinkedService.java +++ b/azure-mgmt-datafactory/src/main/java/com/microsoft/azure/management/datafactory/DrillLinkedService.java @@ -22,10 +22,11 @@ @JsonFlatten public class DrillLinkedService extends LinkedServiceInner { /** - * An ODBC connection string. + * An ODBC connection string. Type: string, SecureString or + * AzureKeyVaultSecretReference. */ @JsonProperty(value = "typeProperties.connectionString") - private SecretBase connectionString; + private Object connectionString; /** * The encrypted credential used for authentication. Credentials are @@ -40,7 +41,7 @@ public class DrillLinkedService extends LinkedServiceInner { * * @return the connectionString value */ - public SecretBase connectionString() { + public Object connectionString() { return this.connectionString; } @@ -50,7 +51,7 @@ public SecretBase connectionString() { * @param connectionString the connectionString value to set * @return the DrillLinkedService object itself. */ - public DrillLinkedService withConnectionString(SecretBase connectionString) { + public DrillLinkedService withConnectionString(Object connectionString) { this.connectionString = connectionString; return this; } diff --git a/azure-mgmt-datafactory/src/main/java/com/microsoft/azure/management/datafactory/GreenplumLinkedService.java b/azure-mgmt-datafactory/src/main/java/com/microsoft/azure/management/datafactory/GreenplumLinkedService.java index 0a192914a4d..eda4290432a 100644 --- a/azure-mgmt-datafactory/src/main/java/com/microsoft/azure/management/datafactory/GreenplumLinkedService.java +++ b/azure-mgmt-datafactory/src/main/java/com/microsoft/azure/management/datafactory/GreenplumLinkedService.java @@ -22,10 +22,11 @@ @JsonFlatten public class GreenplumLinkedService extends LinkedServiceInner { /** - * An ODBC connection string. + * An ODBC connection string. Type: string, SecureString or + * AzureKeyVaultSecretReference. */ @JsonProperty(value = "typeProperties.connectionString") - private SecretBase connectionString; + private Object connectionString; /** * The encrypted credential used for authentication. Credentials are @@ -40,7 +41,7 @@ public class GreenplumLinkedService extends LinkedServiceInner { * * @return the connectionString value */ - public SecretBase connectionString() { + public Object connectionString() { return this.connectionString; } @@ -50,7 +51,7 @@ public SecretBase connectionString() { * @param connectionString the connectionString value to set * @return the GreenplumLinkedService object itself. */ - public GreenplumLinkedService withConnectionString(SecretBase connectionString) { + public GreenplumLinkedService withConnectionString(Object connectionString) { this.connectionString = connectionString; return this; } diff --git a/azure-mgmt-datafactory/src/main/java/com/microsoft/azure/management/datafactory/MariaDBLinkedService.java b/azure-mgmt-datafactory/src/main/java/com/microsoft/azure/management/datafactory/MariaDBLinkedService.java index 443ef07aa2e..c27adef2758 100644 --- a/azure-mgmt-datafactory/src/main/java/com/microsoft/azure/management/datafactory/MariaDBLinkedService.java +++ b/azure-mgmt-datafactory/src/main/java/com/microsoft/azure/management/datafactory/MariaDBLinkedService.java @@ -22,10 +22,11 @@ @JsonFlatten public class MariaDBLinkedService extends LinkedServiceInner { /** - * An ODBC connection string. + * An ODBC connection string. Type: string, SecureString or + * AzureKeyVaultSecretReference. */ @JsonProperty(value = "typeProperties.connectionString") - private SecretBase connectionString; + private Object connectionString; /** * The encrypted credential used for authentication. Credentials are @@ -40,7 +41,7 @@ public class MariaDBLinkedService extends LinkedServiceInner { * * @return the connectionString value */ - public SecretBase connectionString() { + public Object connectionString() { return this.connectionString; } @@ -50,7 +51,7 @@ public SecretBase connectionString() { * @param connectionString the connectionString value to set * @return the MariaDBLinkedService object itself. */ - public MariaDBLinkedService withConnectionString(SecretBase connectionString) { + public MariaDBLinkedService withConnectionString(Object connectionString) { this.connectionString = connectionString; return this; } diff --git a/azure-mgmt-datafactory/src/main/java/com/microsoft/azure/management/datafactory/NetezzaLinkedService.java b/azure-mgmt-datafactory/src/main/java/com/microsoft/azure/management/datafactory/NetezzaLinkedService.java index 42f87d79027..77eafd1eb69 100644 --- a/azure-mgmt-datafactory/src/main/java/com/microsoft/azure/management/datafactory/NetezzaLinkedService.java +++ b/azure-mgmt-datafactory/src/main/java/com/microsoft/azure/management/datafactory/NetezzaLinkedService.java @@ -22,10 +22,11 @@ @JsonFlatten public class NetezzaLinkedService extends LinkedServiceInner { /** - * An ODBC connection string. + * An ODBC connection string. Type: string, SecureString or + * AzureKeyVaultSecretReference. */ @JsonProperty(value = "typeProperties.connectionString") - private SecretBase connectionString; + private Object connectionString; /** * The encrypted credential used for authentication. Credentials are @@ -40,7 +41,7 @@ public class NetezzaLinkedService extends LinkedServiceInner { * * @return the connectionString value */ - public SecretBase connectionString() { + public Object connectionString() { return this.connectionString; } @@ -50,7 +51,7 @@ public SecretBase connectionString() { * @param connectionString the connectionString value to set * @return the NetezzaLinkedService object itself. */ - public NetezzaLinkedService withConnectionString(SecretBase connectionString) { + public NetezzaLinkedService withConnectionString(Object connectionString) { this.connectionString = connectionString; return this; } diff --git a/azure-mgmt-datafactory/src/main/java/com/microsoft/azure/management/datafactory/OdbcLinkedService.java b/azure-mgmt-datafactory/src/main/java/com/microsoft/azure/management/datafactory/OdbcLinkedService.java index d783d9fc350..db7c2ca82d3 100644 --- a/azure-mgmt-datafactory/src/main/java/com/microsoft/azure/management/datafactory/OdbcLinkedService.java +++ b/azure-mgmt-datafactory/src/main/java/com/microsoft/azure/management/datafactory/OdbcLinkedService.java @@ -23,10 +23,11 @@ public class OdbcLinkedService extends LinkedServiceInner { /** * The non-access credential portion of the connection string as well as an - * optional encrypted credential. + * optional encrypted credential. Type: string, SecureString or + * AzureKeyVaultSecretReference. */ @JsonProperty(value = "typeProperties.connectionString", required = true) - private SecretBase connectionString; + private Object connectionString; /** * Type of authentication used to connect to the ODBC data store. Possible @@ -69,7 +70,7 @@ public class OdbcLinkedService extends LinkedServiceInner { * * @return the connectionString value */ - public SecretBase connectionString() { + public Object connectionString() { return this.connectionString; } @@ -79,7 +80,7 @@ public SecretBase connectionString() { * @param connectionString the connectionString value to set * @return the OdbcLinkedService object itself. */ - public OdbcLinkedService withConnectionString(SecretBase connectionString) { + public OdbcLinkedService withConnectionString(Object connectionString) { this.connectionString = connectionString; return this; } diff --git a/azure-mgmt-datafactory/src/main/java/com/microsoft/azure/management/datafactory/OracleLinkedService.java b/azure-mgmt-datafactory/src/main/java/com/microsoft/azure/management/datafactory/OracleLinkedService.java index 796bad1396b..ba8769f17d3 100644 --- a/azure-mgmt-datafactory/src/main/java/com/microsoft/azure/management/datafactory/OracleLinkedService.java +++ b/azure-mgmt-datafactory/src/main/java/com/microsoft/azure/management/datafactory/OracleLinkedService.java @@ -22,10 +22,11 @@ @JsonFlatten public class OracleLinkedService extends LinkedServiceInner { /** - * The connection string. + * The connection string. Type: string, SecureString or + * AzureKeyVaultSecretReference. */ @JsonProperty(value = "typeProperties.connectionString", required = true) - private SecretBase connectionString; + private Object connectionString; /** * The encrypted credential used for authentication. Credentials are @@ -40,7 +41,7 @@ public class OracleLinkedService extends LinkedServiceInner { * * @return the connectionString value */ - public SecretBase connectionString() { + public Object connectionString() { return this.connectionString; } @@ -50,7 +51,7 @@ public SecretBase connectionString() { * @param connectionString the connectionString value to set * @return the OracleLinkedService object itself. */ - public OracleLinkedService withConnectionString(SecretBase connectionString) { + public OracleLinkedService withConnectionString(Object connectionString) { this.connectionString = connectionString; return this; } 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/SqlServerLinkedService.java b/azure-mgmt-datafactory/src/main/java/com/microsoft/azure/management/datafactory/SqlServerLinkedService.java index c9455980147..f767374b864 100644 --- a/azure-mgmt-datafactory/src/main/java/com/microsoft/azure/management/datafactory/SqlServerLinkedService.java +++ b/azure-mgmt-datafactory/src/main/java/com/microsoft/azure/management/datafactory/SqlServerLinkedService.java @@ -22,10 +22,11 @@ @JsonFlatten public class SqlServerLinkedService extends LinkedServiceInner { /** - * The connection string. + * The connection string. Type: string, SecureString or + * AzureKeyVaultSecretReference. */ @JsonProperty(value = "typeProperties.connectionString", required = true) - private SecretBase connectionString; + private Object connectionString; /** * The on-premises Windows authentication user name. Type: string (or @@ -53,7 +54,7 @@ public class SqlServerLinkedService extends LinkedServiceInner { * * @return the connectionString value */ - public SecretBase connectionString() { + public Object connectionString() { return this.connectionString; } @@ -63,7 +64,7 @@ public SecretBase connectionString() { * @param connectionString the connectionString value to set * @return the SqlServerLinkedService object itself. */ - public SqlServerLinkedService withConnectionString(SecretBase connectionString) { + public SqlServerLinkedService withConnectionString(Object connectionString) { this.connectionString = connectionString; return this; } diff --git a/azure-mgmt-datafactory/src/main/java/com/microsoft/azure/management/datafactory/VerticaLinkedService.java b/azure-mgmt-datafactory/src/main/java/com/microsoft/azure/management/datafactory/VerticaLinkedService.java index e67a368ff0d..c458c79ad50 100644 --- a/azure-mgmt-datafactory/src/main/java/com/microsoft/azure/management/datafactory/VerticaLinkedService.java +++ b/azure-mgmt-datafactory/src/main/java/com/microsoft/azure/management/datafactory/VerticaLinkedService.java @@ -22,10 +22,11 @@ @JsonFlatten public class VerticaLinkedService extends LinkedServiceInner { /** - * An ODBC connection string. + * An ODBC connection string. Type: string, SecureString or + * AzureKeyVaultSecretReference. */ @JsonProperty(value = "typeProperties.connectionString") - private SecretBase connectionString; + private Object connectionString; /** * The encrypted credential used for authentication. Credentials are @@ -40,7 +41,7 @@ public class VerticaLinkedService extends LinkedServiceInner { * * @return the connectionString value */ - public SecretBase connectionString() { + public Object connectionString() { return this.connectionString; } @@ -50,7 +51,7 @@ public SecretBase connectionString() { * @param connectionString the connectionString value to set * @return the VerticaLinkedService object itself. */ - public VerticaLinkedService withConnectionString(SecretBase connectionString) { + public VerticaLinkedService withConnectionString(Object connectionString) { this.connectionString = connectionString; 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),