diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/CHANGELOG.md b/sdk/datafactory/azure-resourcemanager-datafactory/CHANGELOG.md
index e319f3071715f..39fd3aeca8c17 100644
--- a/sdk/datafactory/azure-resourcemanager-datafactory/CHANGELOG.md
+++ b/sdk/datafactory/azure-resourcemanager-datafactory/CHANGELOG.md
@@ -1,6 +1,8 @@
# Release History
-## 1.0.0-beta.7 (Unreleased)
+## 1.0.0-beta.1 (2021-09-30)
+
+- Azure Resource Manager DataFactory client library for Java. This package contains Microsoft Azure SDK for DataFactory Management SDK. The Azure Data Factory V2 management API provides a RESTful set of web services that interact with Azure Data Factory V2 services. Package tag package-2018-06. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).
### Features Added
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/README.md b/sdk/datafactory/azure-resourcemanager-datafactory/README.md
index 3c566d23d8d96..6287b92322bbc 100644
--- a/sdk/datafactory/azure-resourcemanager-datafactory/README.md
+++ b/sdk/datafactory/azure-resourcemanager-datafactory/README.md
@@ -32,7 +32,7 @@ Various documentation is available to help you get started
com.azure.resourcemanagerazure-resourcemanager-datafactory
- 1.0.0-beta.6
+ 1.0.0-beta.7
```
[//]: # ({x-version-update-end})
@@ -161,7 +161,6 @@ while ("InProgress".equals(runStatus)) {
runStatus = pipelineRun.status();
}
```
-[Code snippets and samples](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/datafactory/azure-resourcemanager-datafactory/SAMPLE.md)
## Troubleshooting
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/DataFactoryManager.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/DataFactoryManager.java
index ddf5a0ae2f2d3..99fccd16ee3f0 100644
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/DataFactoryManager.java
+++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/DataFactoryManager.java
@@ -249,7 +249,7 @@ public DataFactoryManager authenticate(TokenCredential credential, AzureProfile
.append("-")
.append("com.azure.resourcemanager.datafactory")
.append("/")
- .append("1.0.0-beta.6");
+ .append("1.0.0-beta.1");
if (!Configuration.getGlobalConfiguration().get("AZURE_TELEMETRY_DISABLED", false)) {
userAgentBuilder
.append(" (")
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AmazonMwsLinkedServiceTypeProperties.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AmazonMwsLinkedServiceTypeProperties.java
deleted file mode 100644
index 90fc3c618f70d..0000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AmazonMwsLinkedServiceTypeProperties.java
+++ /dev/null
@@ -1,333 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.datafactory.fluent.models;
-
-import com.azure.core.annotation.Fluent;
-import com.azure.core.util.logging.ClientLogger;
-import com.azure.resourcemanager.datafactory.models.SecretBase;
-import com.fasterxml.jackson.annotation.JsonIgnore;
-import com.fasterxml.jackson.annotation.JsonProperty;
-
-/** Amazon Marketplace Web Service linked service properties. */
-@Fluent
-public final class AmazonMwsLinkedServiceTypeProperties {
- @JsonIgnore private final ClientLogger logger = new ClientLogger(AmazonMwsLinkedServiceTypeProperties.class);
-
- /*
- * The endpoint of the Amazon MWS server, (i.e. mws.amazonservices.com)
- */
- @JsonProperty(value = "endpoint", required = true)
- private Object endpoint;
-
- /*
- * The Amazon Marketplace ID you want to retrieve data from. To retrieve
- * data from multiple Marketplace IDs, separate them with a comma (,).
- * (i.e. A2EUQ1WTGCTBG2)
- */
- @JsonProperty(value = "marketplaceID", required = true)
- private Object marketplaceId;
-
- /*
- * The Amazon seller ID.
- */
- @JsonProperty(value = "sellerID", required = true)
- private Object sellerId;
-
- /*
- * The Amazon MWS authentication token.
- */
- @JsonProperty(value = "mwsAuthToken")
- private SecretBase mwsAuthToken;
-
- /*
- * The access key id used to access data.
- */
- @JsonProperty(value = "accessKeyId", required = true)
- private Object accessKeyId;
-
- /*
- * The secret key used to access data.
- */
- @JsonProperty(value = "secretKey")
- private SecretBase secretKey;
-
- /*
- * Specifies whether the data source endpoints are encrypted using HTTPS.
- * The default value is true.
- */
- @JsonProperty(value = "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.
- */
- @JsonProperty(value = "useHostVerification")
- private Object useHostVerification;
-
- /*
- * Specifies whether to verify the identity of the server when connecting
- * over SSL. The default value is true.
- */
- @JsonProperty(value = "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 = "encryptedCredential")
- private Object encryptedCredential;
-
- /**
- * Get the endpoint property: The endpoint of the Amazon MWS server, (i.e. mws.amazonservices.com).
- *
- * @return the endpoint value.
- */
- public Object endpoint() {
- return this.endpoint;
- }
-
- /**
- * Set the endpoint property: The endpoint of the Amazon MWS server, (i.e. mws.amazonservices.com).
- *
- * @param endpoint the endpoint value to set.
- * @return the AmazonMwsLinkedServiceTypeProperties object itself.
- */
- public AmazonMwsLinkedServiceTypeProperties withEndpoint(Object endpoint) {
- this.endpoint = endpoint;
- return this;
- }
-
- /**
- * Get the marketplaceId property: The Amazon Marketplace ID you want to retrieve data from. To retrieve data from
- * multiple Marketplace IDs, separate them with a comma (,). (i.e. A2EUQ1WTGCTBG2).
- *
- * @return the marketplaceId value.
- */
- public Object marketplaceId() {
- return this.marketplaceId;
- }
-
- /**
- * Set the marketplaceId property: The Amazon Marketplace ID you want to retrieve data from. To retrieve data from
- * multiple Marketplace IDs, separate them with a comma (,). (i.e. A2EUQ1WTGCTBG2).
- *
- * @param marketplaceId the marketplaceId value to set.
- * @return the AmazonMwsLinkedServiceTypeProperties object itself.
- */
- public AmazonMwsLinkedServiceTypeProperties withMarketplaceId(Object marketplaceId) {
- this.marketplaceId = marketplaceId;
- return this;
- }
-
- /**
- * Get the sellerId property: The Amazon seller ID.
- *
- * @return the sellerId value.
- */
- public Object sellerId() {
- return this.sellerId;
- }
-
- /**
- * Set the sellerId property: The Amazon seller ID.
- *
- * @param sellerId the sellerId value to set.
- * @return the AmazonMwsLinkedServiceTypeProperties object itself.
- */
- public AmazonMwsLinkedServiceTypeProperties withSellerId(Object sellerId) {
- this.sellerId = sellerId;
- return this;
- }
-
- /**
- * Get the mwsAuthToken property: The Amazon MWS authentication token.
- *
- * @return the mwsAuthToken value.
- */
- public SecretBase mwsAuthToken() {
- return this.mwsAuthToken;
- }
-
- /**
- * Set the mwsAuthToken property: The Amazon MWS authentication token.
- *
- * @param mwsAuthToken the mwsAuthToken value to set.
- * @return the AmazonMwsLinkedServiceTypeProperties object itself.
- */
- public AmazonMwsLinkedServiceTypeProperties withMwsAuthToken(SecretBase mwsAuthToken) {
- this.mwsAuthToken = mwsAuthToken;
- return this;
- }
-
- /**
- * Get the accessKeyId property: The access key id used to access data.
- *
- * @return the accessKeyId value.
- */
- public Object accessKeyId() {
- return this.accessKeyId;
- }
-
- /**
- * Set the accessKeyId property: The access key id used to access data.
- *
- * @param accessKeyId the accessKeyId value to set.
- * @return the AmazonMwsLinkedServiceTypeProperties object itself.
- */
- public AmazonMwsLinkedServiceTypeProperties withAccessKeyId(Object accessKeyId) {
- this.accessKeyId = accessKeyId;
- return this;
- }
-
- /**
- * Get the secretKey property: The secret key used to access data.
- *
- * @return the secretKey value.
- */
- public SecretBase secretKey() {
- return this.secretKey;
- }
-
- /**
- * Set the secretKey property: The secret key used to access data.
- *
- * @param secretKey the secretKey value to set.
- * @return the AmazonMwsLinkedServiceTypeProperties object itself.
- */
- public AmazonMwsLinkedServiceTypeProperties withSecretKey(SecretBase secretKey) {
- this.secretKey = secretKey;
- return this;
- }
-
- /**
- * Get the useEncryptedEndpoints property: Specifies whether the data source endpoints are encrypted using HTTPS.
- * The default value is true.
- *
- * @return the useEncryptedEndpoints value.
- */
- public Object useEncryptedEndpoints() {
- return this.useEncryptedEndpoints;
- }
-
- /**
- * Set the useEncryptedEndpoints property: Specifies whether the data source endpoints are encrypted using HTTPS.
- * The default value is true.
- *
- * @param useEncryptedEndpoints the useEncryptedEndpoints value to set.
- * @return the AmazonMwsLinkedServiceTypeProperties object itself.
- */
- public AmazonMwsLinkedServiceTypeProperties withUseEncryptedEndpoints(Object useEncryptedEndpoints) {
- this.useEncryptedEndpoints = useEncryptedEndpoints;
- return this;
- }
-
- /**
- * Get the useHostVerification property: 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.
- *
- * @return the useHostVerification value.
- */
- public Object useHostVerification() {
- return this.useHostVerification;
- }
-
- /**
- * Set the useHostVerification property: 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.
- *
- * @param useHostVerification the useHostVerification value to set.
- * @return the AmazonMwsLinkedServiceTypeProperties object itself.
- */
- public AmazonMwsLinkedServiceTypeProperties withUseHostVerification(Object useHostVerification) {
- this.useHostVerification = useHostVerification;
- return this;
- }
-
- /**
- * Get the usePeerVerification property: Specifies whether to verify the identity of the server when connecting over
- * SSL. The default value is true.
- *
- * @return the usePeerVerification value.
- */
- public Object usePeerVerification() {
- return this.usePeerVerification;
- }
-
- /**
- * Set the usePeerVerification property: Specifies whether to verify the identity of the server when connecting over
- * SSL. The default value is true.
- *
- * @param usePeerVerification the usePeerVerification value to set.
- * @return the AmazonMwsLinkedServiceTypeProperties object itself.
- */
- public AmazonMwsLinkedServiceTypeProperties withUsePeerVerification(Object usePeerVerification) {
- this.usePeerVerification = usePeerVerification;
- return this;
- }
-
- /**
- * Get the encryptedCredential property: 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 encryptedCredential property: 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 AmazonMwsLinkedServiceTypeProperties object itself.
- */
- public AmazonMwsLinkedServiceTypeProperties withEncryptedCredential(Object encryptedCredential) {
- this.encryptedCredential = encryptedCredential;
- return this;
- }
-
- /**
- * Validates the instance.
- *
- * @throws IllegalArgumentException thrown if the instance is not valid.
- */
- public void validate() {
- if (endpoint() == null) {
- throw logger
- .logExceptionAsError(
- new IllegalArgumentException(
- "Missing required property endpoint in model AmazonMwsLinkedServiceTypeProperties"));
- }
- if (marketplaceId() == null) {
- throw logger
- .logExceptionAsError(
- new IllegalArgumentException(
- "Missing required property marketplaceId in model AmazonMwsLinkedServiceTypeProperties"));
- }
- if (sellerId() == null) {
- throw logger
- .logExceptionAsError(
- new IllegalArgumentException(
- "Missing required property sellerId in model AmazonMwsLinkedServiceTypeProperties"));
- }
- if (mwsAuthToken() != null) {
- mwsAuthToken().validate();
- }
- if (accessKeyId() == null) {
- throw logger
- .logExceptionAsError(
- new IllegalArgumentException(
- "Missing required property accessKeyId in model AmazonMwsLinkedServiceTypeProperties"));
- }
- if (secretKey() != null) {
- secretKey().validate();
- }
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AmazonRdsForLinkedServiceTypeProperties.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AmazonRdsForLinkedServiceTypeProperties.java
deleted file mode 100644
index f46e0460610b5..0000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AmazonRdsForLinkedServiceTypeProperties.java
+++ /dev/null
@@ -1,119 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.datafactory.fluent.models;
-
-import com.azure.core.annotation.Fluent;
-import com.azure.core.util.logging.ClientLogger;
-import com.azure.resourcemanager.datafactory.models.SecretBase;
-import com.fasterxml.jackson.annotation.JsonIgnore;
-import com.fasterxml.jackson.annotation.JsonProperty;
-
-/** AmazonRdsForOracle database linked service properties. */
-@Fluent
-public final class AmazonRdsForLinkedServiceTypeProperties {
- @JsonIgnore private final ClientLogger logger = new ClientLogger(AmazonRdsForLinkedServiceTypeProperties.class);
-
- /*
- * The connection string. Type: string, SecureString or
- * AzureKeyVaultSecretReference.
- */
- @JsonProperty(value = "connectionString", required = true)
- private Object connectionString;
-
- /*
- * The Azure key vault secret reference of password in connection string.
- */
- @JsonProperty(value = "password")
- private SecretBase password;
-
- /*
- * The encrypted credential used for authentication. Credentials are
- * encrypted using the integration runtime credential manager. Type: string
- * (or Expression with resultType string).
- */
- @JsonProperty(value = "encryptedCredential")
- private Object encryptedCredential;
-
- /**
- * Get the connectionString property: The connection string. Type: string, SecureString or
- * AzureKeyVaultSecretReference.
- *
- * @return the connectionString value.
- */
- public Object connectionString() {
- return this.connectionString;
- }
-
- /**
- * Set the connectionString property: The connection string. Type: string, SecureString or
- * AzureKeyVaultSecretReference.
- *
- * @param connectionString the connectionString value to set.
- * @return the AmazonRdsForLinkedServiceTypeProperties object itself.
- */
- public AmazonRdsForLinkedServiceTypeProperties withConnectionString(Object connectionString) {
- this.connectionString = connectionString;
- return this;
- }
-
- /**
- * Get the password property: The Azure key vault secret reference of password in connection string.
- *
- * @return the password value.
- */
- public SecretBase password() {
- return this.password;
- }
-
- /**
- * Set the password property: The Azure key vault secret reference of password in connection string.
- *
- * @param password the password value to set.
- * @return the AmazonRdsForLinkedServiceTypeProperties object itself.
- */
- public AmazonRdsForLinkedServiceTypeProperties withPassword(SecretBase password) {
- this.password = password;
- return this;
- }
-
- /**
- * Get the encryptedCredential property: 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 encryptedCredential property: 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 AmazonRdsForLinkedServiceTypeProperties object itself.
- */
- public AmazonRdsForLinkedServiceTypeProperties withEncryptedCredential(Object encryptedCredential) {
- this.encryptedCredential = encryptedCredential;
- return this;
- }
-
- /**
- * Validates the instance.
- *
- * @throws IllegalArgumentException thrown if the instance is not valid.
- */
- public void validate() {
- if (connectionString() == null) {
- throw logger
- .logExceptionAsError(
- new IllegalArgumentException(
- "Missing required property connectionString in model AmazonRdsForLinkedServiceTypeProperties"));
- }
- if (password() != null) {
- password().validate();
- }
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AmazonRdsForOracleTableDatasetTypeProperties.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AmazonRdsForOracleTableDatasetTypeProperties.java
deleted file mode 100644
index 37dcee911c23c..0000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AmazonRdsForOracleTableDatasetTypeProperties.java
+++ /dev/null
@@ -1,83 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.datafactory.fluent.models;
-
-import com.azure.core.annotation.Fluent;
-import com.azure.core.util.logging.ClientLogger;
-import com.fasterxml.jackson.annotation.JsonIgnore;
-import com.fasterxml.jackson.annotation.JsonProperty;
-
-/** AmazonRdsForOracle dataset properties. */
-@Fluent
-public final class AmazonRdsForOracleTableDatasetTypeProperties {
- @JsonIgnore
- private final ClientLogger logger = new ClientLogger(AmazonRdsForOracleTableDatasetTypeProperties.class);
-
- /*
- * The schema name of the AmazonRdsForOracle database. Type: string (or
- * Expression with resultType string).
- */
- @JsonProperty(value = "schema")
- private Object schema;
-
- /*
- * The table name of the AmazonRdsForOracle database. Type: string (or
- * Expression with resultType string).
- */
- @JsonProperty(value = "table")
- private Object table;
-
- /**
- * Get the schema property: The schema name of the AmazonRdsForOracle database. Type: string (or Expression with
- * resultType string).
- *
- * @return the schema value.
- */
- public Object schema() {
- return this.schema;
- }
-
- /**
- * Set the schema property: The schema name of the AmazonRdsForOracle database. Type: string (or Expression with
- * resultType string).
- *
- * @param schema the schema value to set.
- * @return the AmazonRdsForOracleTableDatasetTypeProperties object itself.
- */
- public AmazonRdsForOracleTableDatasetTypeProperties withSchema(Object schema) {
- this.schema = schema;
- return this;
- }
-
- /**
- * Get the table property: The table name of the AmazonRdsForOracle database. Type: string (or Expression with
- * resultType string).
- *
- * @return the table value.
- */
- public Object table() {
- return this.table;
- }
-
- /**
- * Set the table property: The table name of the AmazonRdsForOracle database. Type: string (or Expression with
- * resultType string).
- *
- * @param table the table value to set.
- * @return the AmazonRdsForOracleTableDatasetTypeProperties object itself.
- */
- public AmazonRdsForOracleTableDatasetTypeProperties withTable(Object table) {
- this.table = table;
- return this;
- }
-
- /**
- * Validates the instance.
- *
- * @throws IllegalArgumentException thrown if the instance is not valid.
- */
- public void validate() {
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AmazonRdsForSqlServerLinkedServiceTypeProperties.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AmazonRdsForSqlServerLinkedServiceTypeProperties.java
deleted file mode 100644
index c2b63d4f6e5a8..0000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AmazonRdsForSqlServerLinkedServiceTypeProperties.java
+++ /dev/null
@@ -1,181 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.datafactory.fluent.models;
-
-import com.azure.core.annotation.Fluent;
-import com.azure.core.util.logging.ClientLogger;
-import com.azure.resourcemanager.datafactory.models.SecretBase;
-import com.azure.resourcemanager.datafactory.models.SqlAlwaysEncryptedProperties;
-import com.fasterxml.jackson.annotation.JsonIgnore;
-import com.fasterxml.jackson.annotation.JsonProperty;
-
-/** Amazon Rds for SQL Server linked service properties. */
-@Fluent
-public final class AmazonRdsForSqlServerLinkedServiceTypeProperties {
- @JsonIgnore
- private final ClientLogger logger = new ClientLogger(AmazonRdsForSqlServerLinkedServiceTypeProperties.class);
-
- /*
- * The connection string. Type: string, SecureString or
- * AzureKeyVaultSecretReference.
- */
- @JsonProperty(value = "connectionString", required = true)
- private Object connectionString;
-
- /*
- * The on-premises Windows authentication user name. Type: string (or
- * Expression with resultType string).
- */
- @JsonProperty(value = "userName")
- private Object username;
-
- /*
- * The on-premises Windows authentication password.
- */
- @JsonProperty(value = "password")
- private SecretBase password;
-
- /*
- * The encrypted credential used for authentication. Credentials are
- * encrypted using the integration runtime credential manager. Type: string
- * (or Expression with resultType string).
- */
- @JsonProperty(value = "encryptedCredential")
- private Object encryptedCredential;
-
- /*
- * Sql always encrypted properties.
- */
- @JsonProperty(value = "alwaysEncryptedSettings")
- private SqlAlwaysEncryptedProperties alwaysEncryptedSettings;
-
- /**
- * Get the connectionString property: The connection string. Type: string, SecureString or
- * AzureKeyVaultSecretReference.
- *
- * @return the connectionString value.
- */
- public Object connectionString() {
- return this.connectionString;
- }
-
- /**
- * Set the connectionString property: The connection string. Type: string, SecureString or
- * AzureKeyVaultSecretReference.
- *
- * @param connectionString the connectionString value to set.
- * @return the AmazonRdsForSqlServerLinkedServiceTypeProperties object itself.
- */
- public AmazonRdsForSqlServerLinkedServiceTypeProperties withConnectionString(Object connectionString) {
- this.connectionString = connectionString;
- return this;
- }
-
- /**
- * Get the username property: The on-premises Windows authentication user name. Type: string (or Expression with
- * resultType string).
- *
- * @return the username value.
- */
- public Object username() {
- return this.username;
- }
-
- /**
- * Set the username property: The on-premises Windows authentication user name. Type: string (or Expression with
- * resultType string).
- *
- * @param username the username value to set.
- * @return the AmazonRdsForSqlServerLinkedServiceTypeProperties object itself.
- */
- public AmazonRdsForSqlServerLinkedServiceTypeProperties withUsername(Object username) {
- this.username = username;
- return this;
- }
-
- /**
- * Get the password property: The on-premises Windows authentication password.
- *
- * @return the password value.
- */
- public SecretBase password() {
- return this.password;
- }
-
- /**
- * Set the password property: The on-premises Windows authentication password.
- *
- * @param password the password value to set.
- * @return the AmazonRdsForSqlServerLinkedServiceTypeProperties object itself.
- */
- public AmazonRdsForSqlServerLinkedServiceTypeProperties withPassword(SecretBase password) {
- this.password = password;
- return this;
- }
-
- /**
- * Get the encryptedCredential property: 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 encryptedCredential property: 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 AmazonRdsForSqlServerLinkedServiceTypeProperties object itself.
- */
- public AmazonRdsForSqlServerLinkedServiceTypeProperties withEncryptedCredential(Object encryptedCredential) {
- this.encryptedCredential = encryptedCredential;
- return this;
- }
-
- /**
- * Get the alwaysEncryptedSettings property: Sql always encrypted properties.
- *
- * @return the alwaysEncryptedSettings value.
- */
- public SqlAlwaysEncryptedProperties alwaysEncryptedSettings() {
- return this.alwaysEncryptedSettings;
- }
-
- /**
- * Set the alwaysEncryptedSettings property: Sql always encrypted properties.
- *
- * @param alwaysEncryptedSettings the alwaysEncryptedSettings value to set.
- * @return the AmazonRdsForSqlServerLinkedServiceTypeProperties object itself.
- */
- public AmazonRdsForSqlServerLinkedServiceTypeProperties withAlwaysEncryptedSettings(
- SqlAlwaysEncryptedProperties alwaysEncryptedSettings) {
- this.alwaysEncryptedSettings = alwaysEncryptedSettings;
- return this;
- }
-
- /**
- * Validates the instance.
- *
- * @throws IllegalArgumentException thrown if the instance is not valid.
- */
- public void validate() {
- if (connectionString() == null) {
- throw logger
- .logExceptionAsError(
- new IllegalArgumentException(
- "Missing required property connectionString in model"
- + " AmazonRdsForSqlServerLinkedServiceTypeProperties"));
- }
- if (password() != null) {
- password().validate();
- }
- if (alwaysEncryptedSettings() != null) {
- alwaysEncryptedSettings().validate();
- }
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AmazonRdsForSqlServerTableDatasetTypeProperties.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AmazonRdsForSqlServerTableDatasetTypeProperties.java
deleted file mode 100644
index e20a13832286c..0000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AmazonRdsForSqlServerTableDatasetTypeProperties.java
+++ /dev/null
@@ -1,83 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.datafactory.fluent.models;
-
-import com.azure.core.annotation.Fluent;
-import com.azure.core.util.logging.ClientLogger;
-import com.fasterxml.jackson.annotation.JsonIgnore;
-import com.fasterxml.jackson.annotation.JsonProperty;
-
-/** The Amazon RDS for SQL Server dataset properties. */
-@Fluent
-public final class AmazonRdsForSqlServerTableDatasetTypeProperties {
- @JsonIgnore
- private final ClientLogger logger = new ClientLogger(AmazonRdsForSqlServerTableDatasetTypeProperties.class);
-
- /*
- * The schema name of the SQL Server dataset. Type: string (or Expression
- * with resultType string).
- */
- @JsonProperty(value = "schema")
- private Object schema;
-
- /*
- * The table name of the SQL Server dataset. Type: string (or Expression
- * with resultType string).
- */
- @JsonProperty(value = "table")
- private Object table;
-
- /**
- * Get the schema property: The schema name of the SQL Server dataset. Type: string (or Expression with resultType
- * string).
- *
- * @return the schema value.
- */
- public Object schema() {
- return this.schema;
- }
-
- /**
- * Set the schema property: The schema name of the SQL Server dataset. Type: string (or Expression with resultType
- * string).
- *
- * @param schema the schema value to set.
- * @return the AmazonRdsForSqlServerTableDatasetTypeProperties object itself.
- */
- public AmazonRdsForSqlServerTableDatasetTypeProperties withSchema(Object schema) {
- this.schema = schema;
- return this;
- }
-
- /**
- * Get the table property: The table name of the SQL Server dataset. Type: string (or Expression with resultType
- * string).
- *
- * @return the table value.
- */
- public Object table() {
- return this.table;
- }
-
- /**
- * Set the table property: The table name of the SQL Server dataset. Type: string (or Expression with resultType
- * string).
- *
- * @param table the table value to set.
- * @return the AmazonRdsForSqlServerTableDatasetTypeProperties object itself.
- */
- public AmazonRdsForSqlServerTableDatasetTypeProperties withTable(Object table) {
- this.table = table;
- return this;
- }
-
- /**
- * Validates the instance.
- *
- * @throws IllegalArgumentException thrown if the instance is not valid.
- */
- public void validate() {
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AmazonRedshiftLinkedServiceTypeProperties.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AmazonRedshiftLinkedServiceTypeProperties.java
deleted file mode 100644
index 81f7e54f27a72..0000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AmazonRedshiftLinkedServiceTypeProperties.java
+++ /dev/null
@@ -1,213 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.datafactory.fluent.models;
-
-import com.azure.core.annotation.Fluent;
-import com.azure.core.util.logging.ClientLogger;
-import com.azure.resourcemanager.datafactory.models.SecretBase;
-import com.fasterxml.jackson.annotation.JsonIgnore;
-import com.fasterxml.jackson.annotation.JsonProperty;
-
-/** Amazon Redshift linked service properties. */
-@Fluent
-public final class AmazonRedshiftLinkedServiceTypeProperties {
- @JsonIgnore private final ClientLogger logger = new ClientLogger(AmazonRedshiftLinkedServiceTypeProperties.class);
-
- /*
- * The name of the Amazon Redshift server. Type: string (or Expression with
- * resultType string).
- */
- @JsonProperty(value = "server", required = true)
- private Object server;
-
- /*
- * The username of the Amazon Redshift source. Type: string (or Expression
- * with resultType string).
- */
- @JsonProperty(value = "username")
- private Object username;
-
- /*
- * The password of the Amazon Redshift source.
- */
- @JsonProperty(value = "password")
- private SecretBase password;
-
- /*
- * The database name of the Amazon Redshift source. Type: string (or
- * Expression with resultType string).
- */
- @JsonProperty(value = "database", required = true)
- private Object database;
-
- /*
- * The TCP port number that the Amazon Redshift server uses to listen for
- * client connections. The default value is 5439. Type: integer (or
- * Expression with resultType integer).
- */
- @JsonProperty(value = "port")
- private Object port;
-
- /*
- * The encrypted credential used for authentication. Credentials are
- * encrypted using the integration runtime credential manager. Type: string
- * (or Expression with resultType string).
- */
- @JsonProperty(value = "encryptedCredential")
- private Object encryptedCredential;
-
- /**
- * Get the server property: The name of the Amazon Redshift server. Type: string (or Expression with resultType
- * string).
- *
- * @return the server value.
- */
- public Object server() {
- return this.server;
- }
-
- /**
- * Set the server property: The name of the Amazon Redshift server. Type: string (or Expression with resultType
- * string).
- *
- * @param server the server value to set.
- * @return the AmazonRedshiftLinkedServiceTypeProperties object itself.
- */
- public AmazonRedshiftLinkedServiceTypeProperties withServer(Object server) {
- this.server = server;
- return this;
- }
-
- /**
- * Get the username property: The username of the Amazon Redshift source. Type: string (or Expression with
- * resultType string).
- *
- * @return the username value.
- */
- public Object username() {
- return this.username;
- }
-
- /**
- * Set the username property: The username of the Amazon Redshift source. Type: string (or Expression with
- * resultType string).
- *
- * @param username the username value to set.
- * @return the AmazonRedshiftLinkedServiceTypeProperties object itself.
- */
- public AmazonRedshiftLinkedServiceTypeProperties withUsername(Object username) {
- this.username = username;
- return this;
- }
-
- /**
- * Get the password property: The password of the Amazon Redshift source.
- *
- * @return the password value.
- */
- public SecretBase password() {
- return this.password;
- }
-
- /**
- * Set the password property: The password of the Amazon Redshift source.
- *
- * @param password the password value to set.
- * @return the AmazonRedshiftLinkedServiceTypeProperties object itself.
- */
- public AmazonRedshiftLinkedServiceTypeProperties withPassword(SecretBase password) {
- this.password = password;
- return this;
- }
-
- /**
- * Get the database property: The database name of the Amazon Redshift source. Type: string (or Expression with
- * resultType string).
- *
- * @return the database value.
- */
- public Object database() {
- return this.database;
- }
-
- /**
- * Set the database property: The database name of the Amazon Redshift source. Type: string (or Expression with
- * resultType string).
- *
- * @param database the database value to set.
- * @return the AmazonRedshiftLinkedServiceTypeProperties object itself.
- */
- public AmazonRedshiftLinkedServiceTypeProperties withDatabase(Object database) {
- this.database = database;
- return this;
- }
-
- /**
- * Get the port property: The TCP port number that the Amazon Redshift server uses to listen for client connections.
- * The default value is 5439. Type: integer (or Expression with resultType integer).
- *
- * @return the port value.
- */
- public Object port() {
- return this.port;
- }
-
- /**
- * Set the port property: The TCP port number that the Amazon Redshift server uses to listen for client connections.
- * The default value is 5439. Type: integer (or Expression with resultType integer).
- *
- * @param port the port value to set.
- * @return the AmazonRedshiftLinkedServiceTypeProperties object itself.
- */
- public AmazonRedshiftLinkedServiceTypeProperties withPort(Object port) {
- this.port = port;
- return this;
- }
-
- /**
- * Get the encryptedCredential property: 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 encryptedCredential property: 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 AmazonRedshiftLinkedServiceTypeProperties object itself.
- */
- public AmazonRedshiftLinkedServiceTypeProperties withEncryptedCredential(Object encryptedCredential) {
- this.encryptedCredential = encryptedCredential;
- return this;
- }
-
- /**
- * Validates the instance.
- *
- * @throws IllegalArgumentException thrown if the instance is not valid.
- */
- public void validate() {
- if (server() == null) {
- throw logger
- .logExceptionAsError(
- new IllegalArgumentException(
- "Missing required property server in model AmazonRedshiftLinkedServiceTypeProperties"));
- }
- if (password() != null) {
- password().validate();
- }
- if (database() == null) {
- throw logger
- .logExceptionAsError(
- new IllegalArgumentException(
- "Missing required property database in model AmazonRedshiftLinkedServiceTypeProperties"));
- }
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AmazonRedshiftTableDatasetTypeProperties.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AmazonRedshiftTableDatasetTypeProperties.java
deleted file mode 100644
index 57ab0b6816f50..0000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AmazonRedshiftTableDatasetTypeProperties.java
+++ /dev/null
@@ -1,107 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.datafactory.fluent.models;
-
-import com.azure.core.annotation.Fluent;
-import com.azure.core.util.logging.ClientLogger;
-import com.fasterxml.jackson.annotation.JsonIgnore;
-import com.fasterxml.jackson.annotation.JsonProperty;
-
-/** Amazon Redshift table dataset properties. */
-@Fluent
-public final class AmazonRedshiftTableDatasetTypeProperties {
- @JsonIgnore private final ClientLogger logger = new ClientLogger(AmazonRedshiftTableDatasetTypeProperties.class);
-
- /*
- * This property will be retired. Please consider using schema + table
- * properties instead.
- */
- @JsonProperty(value = "tableName")
- private Object tableName;
-
- /*
- * The Amazon Redshift table name. Type: string (or Expression with
- * resultType string).
- */
- @JsonProperty(value = "table")
- private Object table;
-
- /*
- * The Amazon Redshift schema name. Type: string (or Expression with
- * resultType string).
- */
- @JsonProperty(value = "schema")
- private Object schema;
-
- /**
- * Get the tableName property: This property will be retired. Please consider using schema + table properties
- * instead.
- *
- * @return the tableName value.
- */
- public Object tableName() {
- return this.tableName;
- }
-
- /**
- * Set the tableName property: This property will be retired. Please consider using schema + table properties
- * instead.
- *
- * @param tableName the tableName value to set.
- * @return the AmazonRedshiftTableDatasetTypeProperties object itself.
- */
- public AmazonRedshiftTableDatasetTypeProperties withTableName(Object tableName) {
- this.tableName = tableName;
- return this;
- }
-
- /**
- * Get the table property: The Amazon Redshift table name. Type: string (or Expression with resultType string).
- *
- * @return the table value.
- */
- public Object table() {
- return this.table;
- }
-
- /**
- * Set the table property: The Amazon Redshift table name. Type: string (or Expression with resultType string).
- *
- * @param table the table value to set.
- * @return the AmazonRedshiftTableDatasetTypeProperties object itself.
- */
- public AmazonRedshiftTableDatasetTypeProperties withTable(Object table) {
- this.table = table;
- return this;
- }
-
- /**
- * Get the schema property: The Amazon Redshift schema name. Type: string (or Expression with resultType string).
- *
- * @return the schema value.
- */
- public Object schema() {
- return this.schema;
- }
-
- /**
- * Set the schema property: The Amazon Redshift schema name. Type: string (or Expression with resultType string).
- *
- * @param schema the schema value to set.
- * @return the AmazonRedshiftTableDatasetTypeProperties object itself.
- */
- public AmazonRedshiftTableDatasetTypeProperties withSchema(Object schema) {
- this.schema = schema;
- return this;
- }
-
- /**
- * Validates the instance.
- *
- * @throws IllegalArgumentException thrown if the instance is not valid.
- */
- public void validate() {
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AmazonS3CompatibleLinkedServiceTypeProperties.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AmazonS3CompatibleLinkedServiceTypeProperties.java
deleted file mode 100644
index 43ec68304ba70..0000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AmazonS3CompatibleLinkedServiceTypeProperties.java
+++ /dev/null
@@ -1,181 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.datafactory.fluent.models;
-
-import com.azure.core.annotation.Fluent;
-import com.azure.core.util.logging.ClientLogger;
-import com.azure.resourcemanager.datafactory.models.SecretBase;
-import com.fasterxml.jackson.annotation.JsonIgnore;
-import com.fasterxml.jackson.annotation.JsonProperty;
-
-/** Amazon S3 Compatible linked service properties. */
-@Fluent
-public final class AmazonS3CompatibleLinkedServiceTypeProperties {
- @JsonIgnore
- private final ClientLogger logger = new ClientLogger(AmazonS3CompatibleLinkedServiceTypeProperties.class);
-
- /*
- * The access key identifier of the Amazon S3 Compatible Identity and
- * Access Management (IAM) user. Type: string (or Expression with
- * resultType string).
- */
- @JsonProperty(value = "accessKeyId")
- private Object accessKeyId;
-
- /*
- * The secret access key of the Amazon S3 Compatible Identity and Access
- * Management (IAM) user.
- */
- @JsonProperty(value = "secretAccessKey")
- private SecretBase secretAccessKey;
-
- /*
- * This value specifies the endpoint to access with the Amazon S3
- * Compatible Connector. This is an optional property; change it only if
- * you want to try a different service endpoint or want to switch between
- * https and http. Type: string (or Expression with resultType string).
- */
- @JsonProperty(value = "serviceUrl")
- private Object serviceUrl;
-
- /*
- * If true, use S3 path-style access instead of virtual hosted-style
- * access. Default value is false. Type: boolean (or Expression with
- * resultType boolean).
- */
- @JsonProperty(value = "forcePathStyle")
- private Object forcePathStyle;
-
- /*
- * The encrypted credential used for authentication. Credentials are
- * encrypted using the integration runtime credential manager. Type: string
- * (or Expression with resultType string).
- */
- @JsonProperty(value = "encryptedCredential")
- private Object encryptedCredential;
-
- /**
- * Get the accessKeyId property: The access key identifier of the Amazon S3 Compatible Identity and Access
- * Management (IAM) user. Type: string (or Expression with resultType string).
- *
- * @return the accessKeyId value.
- */
- public Object accessKeyId() {
- return this.accessKeyId;
- }
-
- /**
- * Set the accessKeyId property: The access key identifier of the Amazon S3 Compatible Identity and Access
- * Management (IAM) user. Type: string (or Expression with resultType string).
- *
- * @param accessKeyId the accessKeyId value to set.
- * @return the AmazonS3CompatibleLinkedServiceTypeProperties object itself.
- */
- public AmazonS3CompatibleLinkedServiceTypeProperties withAccessKeyId(Object accessKeyId) {
- this.accessKeyId = accessKeyId;
- return this;
- }
-
- /**
- * Get the secretAccessKey property: The secret access key of the Amazon S3 Compatible Identity and Access
- * Management (IAM) user.
- *
- * @return the secretAccessKey value.
- */
- public SecretBase secretAccessKey() {
- return this.secretAccessKey;
- }
-
- /**
- * Set the secretAccessKey property: The secret access key of the Amazon S3 Compatible Identity and Access
- * Management (IAM) user.
- *
- * @param secretAccessKey the secretAccessKey value to set.
- * @return the AmazonS3CompatibleLinkedServiceTypeProperties object itself.
- */
- public AmazonS3CompatibleLinkedServiceTypeProperties withSecretAccessKey(SecretBase secretAccessKey) {
- this.secretAccessKey = secretAccessKey;
- return this;
- }
-
- /**
- * Get the serviceUrl property: This value specifies the endpoint to access with the Amazon S3 Compatible Connector.
- * This is an optional property; change it only if you want to try a different service endpoint or want to switch
- * between https and http. Type: string (or Expression with resultType string).
- *
- * @return the serviceUrl value.
- */
- public Object serviceUrl() {
- return this.serviceUrl;
- }
-
- /**
- * Set the serviceUrl property: This value specifies the endpoint to access with the Amazon S3 Compatible Connector.
- * This is an optional property; change it only if you want to try a different service endpoint or want to switch
- * between https and http. Type: string (or Expression with resultType string).
- *
- * @param serviceUrl the serviceUrl value to set.
- * @return the AmazonS3CompatibleLinkedServiceTypeProperties object itself.
- */
- public AmazonS3CompatibleLinkedServiceTypeProperties withServiceUrl(Object serviceUrl) {
- this.serviceUrl = serviceUrl;
- return this;
- }
-
- /**
- * Get the forcePathStyle property: If true, use S3 path-style access instead of virtual hosted-style access.
- * Default value is false. Type: boolean (or Expression with resultType boolean).
- *
- * @return the forcePathStyle value.
- */
- public Object forcePathStyle() {
- return this.forcePathStyle;
- }
-
- /**
- * Set the forcePathStyle property: If true, use S3 path-style access instead of virtual hosted-style access.
- * Default value is false. Type: boolean (or Expression with resultType boolean).
- *
- * @param forcePathStyle the forcePathStyle value to set.
- * @return the AmazonS3CompatibleLinkedServiceTypeProperties object itself.
- */
- public AmazonS3CompatibleLinkedServiceTypeProperties withForcePathStyle(Object forcePathStyle) {
- this.forcePathStyle = forcePathStyle;
- return this;
- }
-
- /**
- * Get the encryptedCredential property: 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 encryptedCredential property: 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 AmazonS3CompatibleLinkedServiceTypeProperties object itself.
- */
- public AmazonS3CompatibleLinkedServiceTypeProperties withEncryptedCredential(Object encryptedCredential) {
- this.encryptedCredential = encryptedCredential;
- return this;
- }
-
- /**
- * Validates the instance.
- *
- * @throws IllegalArgumentException thrown if the instance is not valid.
- */
- public void validate() {
- if (secretAccessKey() != null) {
- secretAccessKey().validate();
- }
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AmazonS3DatasetTypeProperties.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AmazonS3DatasetTypeProperties.java
deleted file mode 100644
index edfeca7e8b137..0000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AmazonS3DatasetTypeProperties.java
+++ /dev/null
@@ -1,260 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.datafactory.fluent.models;
-
-import com.azure.core.annotation.Fluent;
-import com.azure.core.util.logging.ClientLogger;
-import com.azure.resourcemanager.datafactory.models.DatasetCompression;
-import com.azure.resourcemanager.datafactory.models.DatasetStorageFormat;
-import com.fasterxml.jackson.annotation.JsonIgnore;
-import com.fasterxml.jackson.annotation.JsonProperty;
-
-/** Amazon S3 dataset properties. */
-@Fluent
-public final class AmazonS3DatasetTypeProperties {
- @JsonIgnore private final ClientLogger logger = new ClientLogger(AmazonS3DatasetTypeProperties.class);
-
- /*
- * The name of the Amazon S3 bucket. Type: string (or Expression with
- * resultType string).
- */
- @JsonProperty(value = "bucketName", required = true)
- private Object bucketName;
-
- /*
- * The key of the Amazon S3 object. Type: string (or Expression with
- * resultType string).
- */
- @JsonProperty(value = "key")
- private Object key;
-
- /*
- * The prefix filter for the S3 object name. Type: string (or Expression
- * with resultType string).
- */
- @JsonProperty(value = "prefix")
- private Object prefix;
-
- /*
- * The version for the S3 object. Type: string (or Expression with
- * resultType string).
- */
- @JsonProperty(value = "version")
- private Object version;
-
- /*
- * The start of S3 object's modified datetime. Type: string (or Expression
- * with resultType string).
- */
- @JsonProperty(value = "modifiedDatetimeStart")
- private Object modifiedDatetimeStart;
-
- /*
- * The end of S3 object's modified datetime. Type: string (or Expression
- * with resultType string).
- */
- @JsonProperty(value = "modifiedDatetimeEnd")
- private Object modifiedDatetimeEnd;
-
- /*
- * The format of files.
- */
- @JsonProperty(value = "format")
- private DatasetStorageFormat format;
-
- /*
- * The data compression method used for the Amazon S3 object.
- */
- @JsonProperty(value = "compression")
- private DatasetCompression compression;
-
- /**
- * Get the bucketName property: The name of the Amazon S3 bucket. Type: string (or Expression with resultType
- * string).
- *
- * @return the bucketName value.
- */
- public Object bucketName() {
- return this.bucketName;
- }
-
- /**
- * Set the bucketName property: The name of the Amazon S3 bucket. Type: string (or Expression with resultType
- * string).
- *
- * @param bucketName the bucketName value to set.
- * @return the AmazonS3DatasetTypeProperties object itself.
- */
- public AmazonS3DatasetTypeProperties withBucketName(Object bucketName) {
- this.bucketName = bucketName;
- return this;
- }
-
- /**
- * Get the key property: The key of the Amazon S3 object. Type: string (or Expression with resultType string).
- *
- * @return the key value.
- */
- public Object key() {
- return this.key;
- }
-
- /**
- * Set the key property: The key of the Amazon S3 object. Type: string (or Expression with resultType string).
- *
- * @param key the key value to set.
- * @return the AmazonS3DatasetTypeProperties object itself.
- */
- public AmazonS3DatasetTypeProperties withKey(Object key) {
- this.key = key;
- return this;
- }
-
- /**
- * Get the prefix property: The prefix filter for the S3 object name. Type: string (or Expression with resultType
- * string).
- *
- * @return the prefix value.
- */
- public Object prefix() {
- return this.prefix;
- }
-
- /**
- * Set the prefix property: The prefix filter for the S3 object name. Type: string (or Expression with resultType
- * string).
- *
- * @param prefix the prefix value to set.
- * @return the AmazonS3DatasetTypeProperties object itself.
- */
- public AmazonS3DatasetTypeProperties withPrefix(Object prefix) {
- this.prefix = prefix;
- return this;
- }
-
- /**
- * Get the version property: The version for the S3 object. Type: string (or Expression with resultType string).
- *
- * @return the version value.
- */
- public Object version() {
- return this.version;
- }
-
- /**
- * Set the version property: The version for the S3 object. Type: string (or Expression with resultType string).
- *
- * @param version the version value to set.
- * @return the AmazonS3DatasetTypeProperties object itself.
- */
- public AmazonS3DatasetTypeProperties withVersion(Object version) {
- this.version = version;
- return this;
- }
-
- /**
- * Get the modifiedDatetimeStart property: The start of S3 object's modified datetime. Type: string (or Expression
- * with resultType string).
- *
- * @return the modifiedDatetimeStart value.
- */
- public Object modifiedDatetimeStart() {
- return this.modifiedDatetimeStart;
- }
-
- /**
- * Set the modifiedDatetimeStart property: The start of S3 object's modified datetime. Type: string (or Expression
- * with resultType string).
- *
- * @param modifiedDatetimeStart the modifiedDatetimeStart value to set.
- * @return the AmazonS3DatasetTypeProperties object itself.
- */
- public AmazonS3DatasetTypeProperties withModifiedDatetimeStart(Object modifiedDatetimeStart) {
- this.modifiedDatetimeStart = modifiedDatetimeStart;
- return this;
- }
-
- /**
- * Get the modifiedDatetimeEnd property: The end of S3 object's modified datetime. Type: string (or Expression with
- * resultType string).
- *
- * @return the modifiedDatetimeEnd value.
- */
- public Object modifiedDatetimeEnd() {
- return this.modifiedDatetimeEnd;
- }
-
- /**
- * Set the modifiedDatetimeEnd property: The end of S3 object's modified datetime. Type: string (or Expression with
- * resultType string).
- *
- * @param modifiedDatetimeEnd the modifiedDatetimeEnd value to set.
- * @return the AmazonS3DatasetTypeProperties object itself.
- */
- public AmazonS3DatasetTypeProperties withModifiedDatetimeEnd(Object modifiedDatetimeEnd) {
- this.modifiedDatetimeEnd = modifiedDatetimeEnd;
- return this;
- }
-
- /**
- * Get the format property: The format of files.
- *
- * @return the format value.
- */
- public DatasetStorageFormat format() {
- return this.format;
- }
-
- /**
- * Set the format property: The format of files.
- *
- * @param format the format value to set.
- * @return the AmazonS3DatasetTypeProperties object itself.
- */
- public AmazonS3DatasetTypeProperties withFormat(DatasetStorageFormat format) {
- this.format = format;
- return this;
- }
-
- /**
- * Get the compression property: The data compression method used for the Amazon S3 object.
- *
- * @return the compression value.
- */
- public DatasetCompression compression() {
- return this.compression;
- }
-
- /**
- * Set the compression property: The data compression method used for the Amazon S3 object.
- *
- * @param compression the compression value to set.
- * @return the AmazonS3DatasetTypeProperties object itself.
- */
- public AmazonS3DatasetTypeProperties withCompression(DatasetCompression compression) {
- this.compression = compression;
- return this;
- }
-
- /**
- * Validates the instance.
- *
- * @throws IllegalArgumentException thrown if the instance is not valid.
- */
- public void validate() {
- if (bucketName() == null) {
- throw logger
- .logExceptionAsError(
- new IllegalArgumentException(
- "Missing required property bucketName in model AmazonS3DatasetTypeProperties"));
- }
- if (format() != null) {
- format().validate();
- }
- if (compression() != null) {
- compression().validate();
- }
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AmazonS3LinkedServiceTypeProperties.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AmazonS3LinkedServiceTypeProperties.java
deleted file mode 100644
index dab23077b4711..0000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AmazonS3LinkedServiceTypeProperties.java
+++ /dev/null
@@ -1,209 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.datafactory.fluent.models;
-
-import com.azure.core.annotation.Fluent;
-import com.azure.core.util.logging.ClientLogger;
-import com.azure.resourcemanager.datafactory.models.SecretBase;
-import com.fasterxml.jackson.annotation.JsonIgnore;
-import com.fasterxml.jackson.annotation.JsonProperty;
-
-/** Amazon S3 linked service properties. */
-@Fluent
-public final class AmazonS3LinkedServiceTypeProperties {
- @JsonIgnore private final ClientLogger logger = new ClientLogger(AmazonS3LinkedServiceTypeProperties.class);
-
- /*
- * The authentication type of S3. Allowed value: AccessKey (default) or
- * TemporarySecurityCredentials. Type: string (or Expression with
- * resultType string).
- */
- @JsonProperty(value = "authenticationType")
- private Object authenticationType;
-
- /*
- * The access key identifier of the Amazon S3 Identity and Access
- * Management (IAM) user. Type: string (or Expression with resultType
- * string).
- */
- @JsonProperty(value = "accessKeyId")
- private Object accessKeyId;
-
- /*
- * The secret access key of the Amazon S3 Identity and Access Management
- * (IAM) user.
- */
- @JsonProperty(value = "secretAccessKey")
- private SecretBase secretAccessKey;
-
- /*
- * This value specifies the endpoint to access with the S3 Connector. This
- * is an optional property; change it only if you want to try a different
- * service endpoint or want to switch between https and http. Type: string
- * (or Expression with resultType string).
- */
- @JsonProperty(value = "serviceUrl")
- private Object serviceUrl;
-
- /*
- * The session token for the S3 temporary security credential.
- */
- @JsonProperty(value = "sessionToken")
- private SecretBase sessionToken;
-
- /*
- * The encrypted credential used for authentication. Credentials are
- * encrypted using the integration runtime credential manager. Type: string
- * (or Expression with resultType string).
- */
- @JsonProperty(value = "encryptedCredential")
- private Object encryptedCredential;
-
- /**
- * Get the authenticationType property: The authentication type of S3. Allowed value: AccessKey (default) or
- * TemporarySecurityCredentials. Type: string (or Expression with resultType string).
- *
- * @return the authenticationType value.
- */
- public Object authenticationType() {
- return this.authenticationType;
- }
-
- /**
- * Set the authenticationType property: The authentication type of S3. Allowed value: AccessKey (default) or
- * TemporarySecurityCredentials. Type: string (or Expression with resultType string).
- *
- * @param authenticationType the authenticationType value to set.
- * @return the AmazonS3LinkedServiceTypeProperties object itself.
- */
- public AmazonS3LinkedServiceTypeProperties withAuthenticationType(Object authenticationType) {
- this.authenticationType = authenticationType;
- return this;
- }
-
- /**
- * Get the accessKeyId property: The access key identifier of the Amazon S3 Identity and Access Management (IAM)
- * user. Type: string (or Expression with resultType string).
- *
- * @return the accessKeyId value.
- */
- public Object accessKeyId() {
- return this.accessKeyId;
- }
-
- /**
- * Set the accessKeyId property: The access key identifier of the Amazon S3 Identity and Access Management (IAM)
- * user. Type: string (or Expression with resultType string).
- *
- * @param accessKeyId the accessKeyId value to set.
- * @return the AmazonS3LinkedServiceTypeProperties object itself.
- */
- public AmazonS3LinkedServiceTypeProperties withAccessKeyId(Object accessKeyId) {
- this.accessKeyId = accessKeyId;
- return this;
- }
-
- /**
- * Get the secretAccessKey property: The secret access key of the Amazon S3 Identity and Access Management (IAM)
- * user.
- *
- * @return the secretAccessKey value.
- */
- public SecretBase secretAccessKey() {
- return this.secretAccessKey;
- }
-
- /**
- * Set the secretAccessKey property: The secret access key of the Amazon S3 Identity and Access Management (IAM)
- * user.
- *
- * @param secretAccessKey the secretAccessKey value to set.
- * @return the AmazonS3LinkedServiceTypeProperties object itself.
- */
- public AmazonS3LinkedServiceTypeProperties withSecretAccessKey(SecretBase secretAccessKey) {
- this.secretAccessKey = secretAccessKey;
- return this;
- }
-
- /**
- * Get the serviceUrl property: This value specifies the endpoint to access with the S3 Connector. This is an
- * optional property; change it only if you want to try a different service endpoint or want to switch between https
- * and http. Type: string (or Expression with resultType string).
- *
- * @return the serviceUrl value.
- */
- public Object serviceUrl() {
- return this.serviceUrl;
- }
-
- /**
- * Set the serviceUrl property: This value specifies the endpoint to access with the S3 Connector. This is an
- * optional property; change it only if you want to try a different service endpoint or want to switch between https
- * and http. Type: string (or Expression with resultType string).
- *
- * @param serviceUrl the serviceUrl value to set.
- * @return the AmazonS3LinkedServiceTypeProperties object itself.
- */
- public AmazonS3LinkedServiceTypeProperties withServiceUrl(Object serviceUrl) {
- this.serviceUrl = serviceUrl;
- return this;
- }
-
- /**
- * Get the sessionToken property: The session token for the S3 temporary security credential.
- *
- * @return the sessionToken value.
- */
- public SecretBase sessionToken() {
- return this.sessionToken;
- }
-
- /**
- * Set the sessionToken property: The session token for the S3 temporary security credential.
- *
- * @param sessionToken the sessionToken value to set.
- * @return the AmazonS3LinkedServiceTypeProperties object itself.
- */
- public AmazonS3LinkedServiceTypeProperties withSessionToken(SecretBase sessionToken) {
- this.sessionToken = sessionToken;
- return this;
- }
-
- /**
- * Get the encryptedCredential property: 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 encryptedCredential property: 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 AmazonS3LinkedServiceTypeProperties object itself.
- */
- public AmazonS3LinkedServiceTypeProperties withEncryptedCredential(Object encryptedCredential) {
- this.encryptedCredential = encryptedCredential;
- return this;
- }
-
- /**
- * Validates the instance.
- *
- * @throws IllegalArgumentException thrown if the instance is not valid.
- */
- public void validate() {
- if (secretAccessKey() != null) {
- secretAccessKey().validate();
- }
- if (sessionToken() != null) {
- sessionToken().validate();
- }
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AppendVariableActivityTypeProperties.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AppendVariableActivityTypeProperties.java
deleted file mode 100644
index 9a27d444e2d5a..0000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AppendVariableActivityTypeProperties.java
+++ /dev/null
@@ -1,76 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.datafactory.fluent.models;
-
-import com.azure.core.annotation.Fluent;
-import com.azure.core.util.logging.ClientLogger;
-import com.fasterxml.jackson.annotation.JsonIgnore;
-import com.fasterxml.jackson.annotation.JsonProperty;
-
-/** AppendVariable activity properties. */
-@Fluent
-public final class AppendVariableActivityTypeProperties {
- @JsonIgnore private final ClientLogger logger = new ClientLogger(AppendVariableActivityTypeProperties.class);
-
- /*
- * Name of the variable whose value needs to be appended to.
- */
- @JsonProperty(value = "variableName")
- private String variableName;
-
- /*
- * Value to be appended. Could be a static value or Expression
- */
- @JsonProperty(value = "value")
- private Object value;
-
- /**
- * Get the variableName property: Name of the variable whose value needs to be appended to.
- *
- * @return the variableName value.
- */
- public String variableName() {
- return this.variableName;
- }
-
- /**
- * Set the variableName property: Name of the variable whose value needs to be appended to.
- *
- * @param variableName the variableName value to set.
- * @return the AppendVariableActivityTypeProperties object itself.
- */
- public AppendVariableActivityTypeProperties withVariableName(String variableName) {
- this.variableName = variableName;
- return this;
- }
-
- /**
- * Get the value property: Value to be appended. Could be a static value or Expression.
- *
- * @return the value value.
- */
- public Object value() {
- return this.value;
- }
-
- /**
- * Set the value property: Value to be appended. Could be a static value or Expression.
- *
- * @param value the value value to set.
- * @return the AppendVariableActivityTypeProperties object itself.
- */
- public AppendVariableActivityTypeProperties withValue(Object value) {
- this.value = value;
- return this;
- }
-
- /**
- * Validates the instance.
- *
- * @throws IllegalArgumentException thrown if the instance is not valid.
- */
- public void validate() {
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AvroDatasetTypeProperties.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AvroDatasetTypeProperties.java
deleted file mode 100644
index b3d7dd03921b9..0000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AvroDatasetTypeProperties.java
+++ /dev/null
@@ -1,114 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.datafactory.fluent.models;
-
-import com.azure.core.annotation.Fluent;
-import com.azure.core.util.logging.ClientLogger;
-import com.azure.resourcemanager.datafactory.models.DatasetLocation;
-import com.fasterxml.jackson.annotation.JsonIgnore;
-import com.fasterxml.jackson.annotation.JsonProperty;
-
-/** Avro dataset properties. */
-@Fluent
-public final class AvroDatasetTypeProperties {
- @JsonIgnore private final ClientLogger logger = new ClientLogger(AvroDatasetTypeProperties.class);
-
- /*
- * The location of the avro storage.
- */
- @JsonProperty(value = "location", required = true)
- private DatasetLocation location;
-
- /*
- * The data avroCompressionCodec. Type: string (or Expression with
- * resultType string).
- */
- @JsonProperty(value = "avroCompressionCodec")
- private Object avroCompressionCodec;
-
- /*
- * The avroCompressionLevel property.
- */
- @JsonProperty(value = "avroCompressionLevel")
- private Integer avroCompressionLevel;
-
- /**
- * Get the location property: The location of the avro storage.
- *
- * @return the location value.
- */
- public DatasetLocation location() {
- return this.location;
- }
-
- /**
- * Set the location property: The location of the avro storage.
- *
- * @param location the location value to set.
- * @return the AvroDatasetTypeProperties object itself.
- */
- public AvroDatasetTypeProperties withLocation(DatasetLocation location) {
- this.location = location;
- return this;
- }
-
- /**
- * Get the avroCompressionCodec property: The data avroCompressionCodec. Type: string (or Expression with resultType
- * string).
- *
- * @return the avroCompressionCodec value.
- */
- public Object avroCompressionCodec() {
- return this.avroCompressionCodec;
- }
-
- /**
- * Set the avroCompressionCodec property: The data avroCompressionCodec. Type: string (or Expression with resultType
- * string).
- *
- * @param avroCompressionCodec the avroCompressionCodec value to set.
- * @return the AvroDatasetTypeProperties object itself.
- */
- public AvroDatasetTypeProperties withAvroCompressionCodec(Object avroCompressionCodec) {
- this.avroCompressionCodec = avroCompressionCodec;
- return this;
- }
-
- /**
- * Get the avroCompressionLevel property: The avroCompressionLevel property.
- *
- * @return the avroCompressionLevel value.
- */
- public Integer avroCompressionLevel() {
- return this.avroCompressionLevel;
- }
-
- /**
- * Set the avroCompressionLevel property: The avroCompressionLevel property.
- *
- * @param avroCompressionLevel the avroCompressionLevel value to set.
- * @return the AvroDatasetTypeProperties object itself.
- */
- public AvroDatasetTypeProperties withAvroCompressionLevel(Integer avroCompressionLevel) {
- this.avroCompressionLevel = avroCompressionLevel;
- return this;
- }
-
- /**
- * Validates the instance.
- *
- * @throws IllegalArgumentException thrown if the instance is not valid.
- */
- public void validate() {
- if (location() == null) {
- throw logger
- .logExceptionAsError(
- new IllegalArgumentException(
- "Missing required property location in model AvroDatasetTypeProperties"));
- } else {
- location().validate();
- }
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AzPowerShellSetupTypeProperties.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AzPowerShellSetupTypeProperties.java
deleted file mode 100644
index 64a1b0da9c03c..0000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AzPowerShellSetupTypeProperties.java
+++ /dev/null
@@ -1,56 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.datafactory.fluent.models;
-
-import com.azure.core.annotation.Fluent;
-import com.azure.core.util.logging.ClientLogger;
-import com.fasterxml.jackson.annotation.JsonIgnore;
-import com.fasterxml.jackson.annotation.JsonProperty;
-
-/** Installation of Azure PowerShell type properties. */
-@Fluent
-public final class AzPowerShellSetupTypeProperties {
- @JsonIgnore private final ClientLogger logger = new ClientLogger(AzPowerShellSetupTypeProperties.class);
-
- /*
- * The required version of Azure PowerShell to install.
- */
- @JsonProperty(value = "version", required = true)
- private String version;
-
- /**
- * Get the version property: The required version of Azure PowerShell to install.
- *
- * @return the version value.
- */
- public String version() {
- return this.version;
- }
-
- /**
- * Set the version property: The required version of Azure PowerShell to install.
- *
- * @param version the version value to set.
- * @return the AzPowerShellSetupTypeProperties object itself.
- */
- public AzPowerShellSetupTypeProperties withVersion(String version) {
- this.version = version;
- return this;
- }
-
- /**
- * Validates the instance.
- *
- * @throws IllegalArgumentException thrown if the instance is not valid.
- */
- public void validate() {
- if (version() == null) {
- throw logger
- .logExceptionAsError(
- new IllegalArgumentException(
- "Missing required property version in model AzPowerShellSetupTypeProperties"));
- }
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AzureBatchLinkedServiceTypeProperties.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AzureBatchLinkedServiceTypeProperties.java
deleted file mode 100644
index cdea483506848..0000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AzureBatchLinkedServiceTypeProperties.java
+++ /dev/null
@@ -1,248 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.datafactory.fluent.models;
-
-import com.azure.core.annotation.Fluent;
-import com.azure.core.util.logging.ClientLogger;
-import com.azure.resourcemanager.datafactory.models.CredentialReference;
-import com.azure.resourcemanager.datafactory.models.LinkedServiceReference;
-import com.azure.resourcemanager.datafactory.models.SecretBase;
-import com.fasterxml.jackson.annotation.JsonIgnore;
-import com.fasterxml.jackson.annotation.JsonProperty;
-
-/** Azure Batch linked service properties. */
-@Fluent
-public final class AzureBatchLinkedServiceTypeProperties {
- @JsonIgnore private final ClientLogger logger = new ClientLogger(AzureBatchLinkedServiceTypeProperties.class);
-
- /*
- * The Azure Batch account name. Type: string (or Expression with
- * resultType string).
- */
- @JsonProperty(value = "accountName", required = true)
- private Object accountName;
-
- /*
- * The Azure Batch account access key.
- */
- @JsonProperty(value = "accessKey")
- private SecretBase accessKey;
-
- /*
- * The Azure Batch URI. Type: string (or Expression with resultType
- * string).
- */
- @JsonProperty(value = "batchUri", required = true)
- private Object batchUri;
-
- /*
- * The Azure Batch pool name. Type: string (or Expression with resultType
- * string).
- */
- @JsonProperty(value = "poolName", required = true)
- private Object poolName;
-
- /*
- * The Azure Storage linked service reference.
- */
- @JsonProperty(value = "linkedServiceName", required = true)
- private LinkedServiceReference linkedServiceName;
-
- /*
- * The encrypted credential used for authentication. Credentials are
- * encrypted using the integration runtime credential manager. Type: string
- * (or Expression with resultType string).
- */
- @JsonProperty(value = "encryptedCredential")
- private Object encryptedCredential;
-
- /*
- * The credential reference containing authentication information.
- */
- @JsonProperty(value = "credential")
- private CredentialReference credential;
-
- /**
- * Get the accountName property: The Azure Batch account name. Type: string (or Expression with resultType string).
- *
- * @return the accountName value.
- */
- public Object accountName() {
- return this.accountName;
- }
-
- /**
- * Set the accountName property: The Azure Batch account name. Type: string (or Expression with resultType string).
- *
- * @param accountName the accountName value to set.
- * @return the AzureBatchLinkedServiceTypeProperties object itself.
- */
- public AzureBatchLinkedServiceTypeProperties withAccountName(Object accountName) {
- this.accountName = accountName;
- return this;
- }
-
- /**
- * Get the accessKey property: The Azure Batch account access key.
- *
- * @return the accessKey value.
- */
- public SecretBase accessKey() {
- return this.accessKey;
- }
-
- /**
- * Set the accessKey property: The Azure Batch account access key.
- *
- * @param accessKey the accessKey value to set.
- * @return the AzureBatchLinkedServiceTypeProperties object itself.
- */
- public AzureBatchLinkedServiceTypeProperties withAccessKey(SecretBase accessKey) {
- this.accessKey = accessKey;
- return this;
- }
-
- /**
- * Get the batchUri property: The Azure Batch URI. Type: string (or Expression with resultType string).
- *
- * @return the batchUri value.
- */
- public Object batchUri() {
- return this.batchUri;
- }
-
- /**
- * Set the batchUri property: The Azure Batch URI. Type: string (or Expression with resultType string).
- *
- * @param batchUri the batchUri value to set.
- * @return the AzureBatchLinkedServiceTypeProperties object itself.
- */
- public AzureBatchLinkedServiceTypeProperties withBatchUri(Object batchUri) {
- this.batchUri = batchUri;
- return this;
- }
-
- /**
- * Get the poolName property: The Azure Batch pool name. Type: string (or Expression with resultType string).
- *
- * @return the poolName value.
- */
- public Object poolName() {
- return this.poolName;
- }
-
- /**
- * Set the poolName property: The Azure Batch pool name. Type: string (or Expression with resultType string).
- *
- * @param poolName the poolName value to set.
- * @return the AzureBatchLinkedServiceTypeProperties object itself.
- */
- public AzureBatchLinkedServiceTypeProperties withPoolName(Object poolName) {
- this.poolName = poolName;
- return this;
- }
-
- /**
- * Get the linkedServiceName property: The Azure Storage linked service reference.
- *
- * @return the linkedServiceName value.
- */
- public LinkedServiceReference linkedServiceName() {
- return this.linkedServiceName;
- }
-
- /**
- * Set the linkedServiceName property: The Azure Storage linked service reference.
- *
- * @param linkedServiceName the linkedServiceName value to set.
- * @return the AzureBatchLinkedServiceTypeProperties object itself.
- */
- public AzureBatchLinkedServiceTypeProperties withLinkedServiceName(LinkedServiceReference linkedServiceName) {
- this.linkedServiceName = linkedServiceName;
- return this;
- }
-
- /**
- * Get the encryptedCredential property: 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 encryptedCredential property: 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 AzureBatchLinkedServiceTypeProperties object itself.
- */
- public AzureBatchLinkedServiceTypeProperties withEncryptedCredential(Object encryptedCredential) {
- this.encryptedCredential = encryptedCredential;
- return this;
- }
-
- /**
- * Get the credential property: The credential reference containing authentication information.
- *
- * @return the credential value.
- */
- public CredentialReference credential() {
- return this.credential;
- }
-
- /**
- * Set the credential property: The credential reference containing authentication information.
- *
- * @param credential the credential value to set.
- * @return the AzureBatchLinkedServiceTypeProperties object itself.
- */
- public AzureBatchLinkedServiceTypeProperties withCredential(CredentialReference credential) {
- this.credential = credential;
- return this;
- }
-
- /**
- * Validates the instance.
- *
- * @throws IllegalArgumentException thrown if the instance is not valid.
- */
- public void validate() {
- if (accountName() == null) {
- throw logger
- .logExceptionAsError(
- new IllegalArgumentException(
- "Missing required property accountName in model AzureBatchLinkedServiceTypeProperties"));
- }
- if (accessKey() != null) {
- accessKey().validate();
- }
- if (batchUri() == null) {
- throw logger
- .logExceptionAsError(
- new IllegalArgumentException(
- "Missing required property batchUri in model AzureBatchLinkedServiceTypeProperties"));
- }
- if (poolName() == null) {
- throw logger
- .logExceptionAsError(
- new IllegalArgumentException(
- "Missing required property poolName in model AzureBatchLinkedServiceTypeProperties"));
- }
- if (linkedServiceName() == null) {
- throw logger
- .logExceptionAsError(
- new IllegalArgumentException(
- "Missing required property linkedServiceName in model AzureBatchLinkedServiceTypeProperties"));
- } else {
- linkedServiceName().validate();
- }
- if (credential() != null) {
- credential().validate();
- }
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AzureBlobDatasetTypeProperties.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AzureBlobDatasetTypeProperties.java
deleted file mode 100644
index 387139bb6d821..0000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AzureBlobDatasetTypeProperties.java
+++ /dev/null
@@ -1,225 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.datafactory.fluent.models;
-
-import com.azure.core.annotation.Fluent;
-import com.azure.core.util.logging.ClientLogger;
-import com.azure.resourcemanager.datafactory.models.DatasetCompression;
-import com.azure.resourcemanager.datafactory.models.DatasetStorageFormat;
-import com.fasterxml.jackson.annotation.JsonIgnore;
-import com.fasterxml.jackson.annotation.JsonProperty;
-
-/** Azure Blob dataset properties. */
-@Fluent
-public final class AzureBlobDatasetTypeProperties {
- @JsonIgnore private final ClientLogger logger = new ClientLogger(AzureBlobDatasetTypeProperties.class);
-
- /*
- * The path of the Azure Blob storage. Type: string (or Expression with
- * resultType string).
- */
- @JsonProperty(value = "folderPath")
- private Object folderPath;
-
- /*
- * The root of blob path. Type: string (or Expression with resultType
- * string).
- */
- @JsonProperty(value = "tableRootLocation")
- private Object tableRootLocation;
-
- /*
- * The name of the Azure Blob. Type: string (or Expression with resultType
- * string).
- */
- @JsonProperty(value = "fileName")
- private Object fileName;
-
- /*
- * The start of Azure Blob's modified datetime. Type: string (or Expression
- * with resultType string).
- */
- @JsonProperty(value = "modifiedDatetimeStart")
- private Object modifiedDatetimeStart;
-
- /*
- * The end of Azure Blob's modified datetime. Type: string (or Expression
- * with resultType string).
- */
- @JsonProperty(value = "modifiedDatetimeEnd")
- private Object modifiedDatetimeEnd;
-
- /*
- * The format of the Azure Blob storage.
- */
- @JsonProperty(value = "format")
- private DatasetStorageFormat format;
-
- /*
- * The data compression method used for the blob storage.
- */
- @JsonProperty(value = "compression")
- private DatasetCompression compression;
-
- /**
- * Get the folderPath property: The path of the Azure Blob storage. Type: string (or Expression with resultType
- * string).
- *
- * @return the folderPath value.
- */
- public Object folderPath() {
- return this.folderPath;
- }
-
- /**
- * Set the folderPath property: The path of the Azure Blob storage. Type: string (or Expression with resultType
- * string).
- *
- * @param folderPath the folderPath value to set.
- * @return the AzureBlobDatasetTypeProperties object itself.
- */
- public AzureBlobDatasetTypeProperties withFolderPath(Object folderPath) {
- this.folderPath = folderPath;
- return this;
- }
-
- /**
- * Get the tableRootLocation property: The root of blob path. Type: string (or Expression with resultType string).
- *
- * @return the tableRootLocation value.
- */
- public Object tableRootLocation() {
- return this.tableRootLocation;
- }
-
- /**
- * Set the tableRootLocation property: The root of blob path. Type: string (or Expression with resultType string).
- *
- * @param tableRootLocation the tableRootLocation value to set.
- * @return the AzureBlobDatasetTypeProperties object itself.
- */
- public AzureBlobDatasetTypeProperties withTableRootLocation(Object tableRootLocation) {
- this.tableRootLocation = tableRootLocation;
- return this;
- }
-
- /**
- * Get the fileName property: The name of the Azure Blob. Type: string (or Expression with resultType string).
- *
- * @return the fileName value.
- */
- public Object fileName() {
- return this.fileName;
- }
-
- /**
- * Set the fileName property: The name of the Azure Blob. Type: string (or Expression with resultType string).
- *
- * @param fileName the fileName value to set.
- * @return the AzureBlobDatasetTypeProperties object itself.
- */
- public AzureBlobDatasetTypeProperties withFileName(Object fileName) {
- this.fileName = fileName;
- return this;
- }
-
- /**
- * Get the modifiedDatetimeStart property: The start of Azure Blob's modified datetime. Type: string (or Expression
- * with resultType string).
- *
- * @return the modifiedDatetimeStart value.
- */
- public Object modifiedDatetimeStart() {
- return this.modifiedDatetimeStart;
- }
-
- /**
- * Set the modifiedDatetimeStart property: The start of Azure Blob's modified datetime. Type: string (or Expression
- * with resultType string).
- *
- * @param modifiedDatetimeStart the modifiedDatetimeStart value to set.
- * @return the AzureBlobDatasetTypeProperties object itself.
- */
- public AzureBlobDatasetTypeProperties withModifiedDatetimeStart(Object modifiedDatetimeStart) {
- this.modifiedDatetimeStart = modifiedDatetimeStart;
- return this;
- }
-
- /**
- * Get the modifiedDatetimeEnd property: The end of Azure Blob's modified datetime. Type: string (or Expression with
- * resultType string).
- *
- * @return the modifiedDatetimeEnd value.
- */
- public Object modifiedDatetimeEnd() {
- return this.modifiedDatetimeEnd;
- }
-
- /**
- * Set the modifiedDatetimeEnd property: The end of Azure Blob's modified datetime. Type: string (or Expression with
- * resultType string).
- *
- * @param modifiedDatetimeEnd the modifiedDatetimeEnd value to set.
- * @return the AzureBlobDatasetTypeProperties object itself.
- */
- public AzureBlobDatasetTypeProperties withModifiedDatetimeEnd(Object modifiedDatetimeEnd) {
- this.modifiedDatetimeEnd = modifiedDatetimeEnd;
- return this;
- }
-
- /**
- * Get the format property: The format of the Azure Blob storage.
- *
- * @return the format value.
- */
- public DatasetStorageFormat format() {
- return this.format;
- }
-
- /**
- * Set the format property: The format of the Azure Blob storage.
- *
- * @param format the format value to set.
- * @return the AzureBlobDatasetTypeProperties object itself.
- */
- public AzureBlobDatasetTypeProperties withFormat(DatasetStorageFormat format) {
- this.format = format;
- return this;
- }
-
- /**
- * Get the compression property: The data compression method used for the blob storage.
- *
- * @return the compression value.
- */
- public DatasetCompression compression() {
- return this.compression;
- }
-
- /**
- * Set the compression property: The data compression method used for the blob storage.
- *
- * @param compression the compression value to set.
- * @return the AzureBlobDatasetTypeProperties object itself.
- */
- public AzureBlobDatasetTypeProperties withCompression(DatasetCompression compression) {
- this.compression = compression;
- return this;
- }
-
- /**
- * Validates the instance.
- *
- * @throws IllegalArgumentException thrown if the instance is not valid.
- */
- public void validate() {
- if (format() != null) {
- format().validate();
- }
- if (compression() != null) {
- compression().validate();
- }
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AzureBlobFSDatasetTypeProperties.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AzureBlobFSDatasetTypeProperties.java
deleted file mode 100644
index 3c66b95ec1ed6..0000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AzureBlobFSDatasetTypeProperties.java
+++ /dev/null
@@ -1,142 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.datafactory.fluent.models;
-
-import com.azure.core.annotation.Fluent;
-import com.azure.core.util.logging.ClientLogger;
-import com.azure.resourcemanager.datafactory.models.DatasetCompression;
-import com.azure.resourcemanager.datafactory.models.DatasetStorageFormat;
-import com.fasterxml.jackson.annotation.JsonIgnore;
-import com.fasterxml.jackson.annotation.JsonProperty;
-
-/** Azure Data Lake Storage Gen2 dataset properties. */
-@Fluent
-public final class AzureBlobFSDatasetTypeProperties {
- @JsonIgnore private final ClientLogger logger = new ClientLogger(AzureBlobFSDatasetTypeProperties.class);
-
- /*
- * The path of the Azure Data Lake Storage Gen2 storage. Type: string (or
- * Expression with resultType string).
- */
- @JsonProperty(value = "folderPath")
- private Object folderPath;
-
- /*
- * The name of the Azure Data Lake Storage Gen2. Type: string (or
- * Expression with resultType string).
- */
- @JsonProperty(value = "fileName")
- private Object fileName;
-
- /*
- * The format of the Azure Data Lake Storage Gen2 storage.
- */
- @JsonProperty(value = "format")
- private DatasetStorageFormat format;
-
- /*
- * The data compression method used for the blob storage.
- */
- @JsonProperty(value = "compression")
- private DatasetCompression compression;
-
- /**
- * Get the folderPath property: The path of the Azure Data Lake Storage Gen2 storage. Type: string (or Expression
- * with resultType string).
- *
- * @return the folderPath value.
- */
- public Object folderPath() {
- return this.folderPath;
- }
-
- /**
- * Set the folderPath property: The path of the Azure Data Lake Storage Gen2 storage. Type: string (or Expression
- * with resultType string).
- *
- * @param folderPath the folderPath value to set.
- * @return the AzureBlobFSDatasetTypeProperties object itself.
- */
- public AzureBlobFSDatasetTypeProperties withFolderPath(Object folderPath) {
- this.folderPath = folderPath;
- return this;
- }
-
- /**
- * Get the fileName property: The name of the Azure Data Lake Storage Gen2. Type: string (or Expression with
- * resultType string).
- *
- * @return the fileName value.
- */
- public Object fileName() {
- return this.fileName;
- }
-
- /**
- * Set the fileName property: The name of the Azure Data Lake Storage Gen2. Type: string (or Expression with
- * resultType string).
- *
- * @param fileName the fileName value to set.
- * @return the AzureBlobFSDatasetTypeProperties object itself.
- */
- public AzureBlobFSDatasetTypeProperties withFileName(Object fileName) {
- this.fileName = fileName;
- return this;
- }
-
- /**
- * Get the format property: The format of the Azure Data Lake Storage Gen2 storage.
- *
- * @return the format value.
- */
- public DatasetStorageFormat format() {
- return this.format;
- }
-
- /**
- * Set the format property: The format of the Azure Data Lake Storage Gen2 storage.
- *
- * @param format the format value to set.
- * @return the AzureBlobFSDatasetTypeProperties object itself.
- */
- public AzureBlobFSDatasetTypeProperties withFormat(DatasetStorageFormat format) {
- this.format = format;
- return this;
- }
-
- /**
- * Get the compression property: The data compression method used for the blob storage.
- *
- * @return the compression value.
- */
- public DatasetCompression compression() {
- return this.compression;
- }
-
- /**
- * Set the compression property: The data compression method used for the blob storage.
- *
- * @param compression the compression value to set.
- * @return the AzureBlobFSDatasetTypeProperties object itself.
- */
- public AzureBlobFSDatasetTypeProperties withCompression(DatasetCompression compression) {
- this.compression = compression;
- return this;
- }
-
- /**
- * Validates the instance.
- *
- * @throws IllegalArgumentException thrown if the instance is not valid.
- */
- public void validate() {
- if (format() != null) {
- format().validate();
- }
- if (compression() != null) {
- compression().validate();
- }
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AzureBlobFSLinkedServiceTypeProperties.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AzureBlobFSLinkedServiceTypeProperties.java
deleted file mode 100644
index e73bc131a2950..0000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AzureBlobFSLinkedServiceTypeProperties.java
+++ /dev/null
@@ -1,273 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.datafactory.fluent.models;
-
-import com.azure.core.annotation.Fluent;
-import com.azure.core.util.logging.ClientLogger;
-import com.azure.resourcemanager.datafactory.models.CredentialReference;
-import com.azure.resourcemanager.datafactory.models.SecretBase;
-import com.fasterxml.jackson.annotation.JsonIgnore;
-import com.fasterxml.jackson.annotation.JsonProperty;
-
-/** Azure Data Lake Storage Gen2 linked service properties. */
-@Fluent
-public final class AzureBlobFSLinkedServiceTypeProperties {
- @JsonIgnore private final ClientLogger logger = new ClientLogger(AzureBlobFSLinkedServiceTypeProperties.class);
-
- /*
- * Endpoint for the Azure Data Lake Storage Gen2 service. Type: string (or
- * Expression with resultType string).
- */
- @JsonProperty(value = "url", required = true)
- private Object url;
-
- /*
- * Account key for the Azure Data Lake Storage Gen2 service. Type: string
- * (or Expression with resultType string).
- */
- @JsonProperty(value = "accountKey")
- private Object accountKey;
-
- /*
- * The ID of the application used to authenticate against the Azure Data
- * Lake Storage Gen2 account. Type: string (or Expression with resultType
- * string).
- */
- @JsonProperty(value = "servicePrincipalId")
- private Object servicePrincipalId;
-
- /*
- * The Key of the application used to authenticate against the Azure Data
- * Lake Storage Gen2 account.
- */
- @JsonProperty(value = "servicePrincipalKey")
- private SecretBase servicePrincipalKey;
-
- /*
- * The name or ID of the tenant to which the service principal belongs.
- * Type: string (or Expression with resultType string).
- */
- @JsonProperty(value = "tenant")
- private Object tenant;
-
- /*
- * Indicates the azure cloud type of the service principle auth. Allowed
- * values are AzurePublic, AzureChina, AzureUsGovernment, AzureGermany.
- * Default value is the data factory regions’ cloud type. Type: string (or
- * Expression with resultType string).
- */
- @JsonProperty(value = "azureCloudType")
- private Object azureCloudType;
-
- /*
- * The encrypted credential used for authentication. Credentials are
- * encrypted using the integration runtime credential manager. Type: string
- * (or Expression with resultType string).
- */
- @JsonProperty(value = "encryptedCredential")
- private Object encryptedCredential;
-
- /*
- * The credential reference containing authentication information.
- */
- @JsonProperty(value = "credential")
- private CredentialReference credential;
-
- /**
- * Get the url property: Endpoint for the Azure Data Lake Storage Gen2 service. Type: string (or Expression with
- * resultType string).
- *
- * @return the url value.
- */
- public Object url() {
- return this.url;
- }
-
- /**
- * Set the url property: Endpoint for the Azure Data Lake Storage Gen2 service. Type: string (or Expression with
- * resultType string).
- *
- * @param url the url value to set.
- * @return the AzureBlobFSLinkedServiceTypeProperties object itself.
- */
- public AzureBlobFSLinkedServiceTypeProperties withUrl(Object url) {
- this.url = url;
- return this;
- }
-
- /**
- * Get the accountKey property: Account key for the Azure Data Lake Storage Gen2 service. Type: string (or
- * Expression with resultType string).
- *
- * @return the accountKey value.
- */
- public Object accountKey() {
- return this.accountKey;
- }
-
- /**
- * Set the accountKey property: Account key for the Azure Data Lake Storage Gen2 service. Type: string (or
- * Expression with resultType string).
- *
- * @param accountKey the accountKey value to set.
- * @return the AzureBlobFSLinkedServiceTypeProperties object itself.
- */
- public AzureBlobFSLinkedServiceTypeProperties withAccountKey(Object accountKey) {
- this.accountKey = accountKey;
- return this;
- }
-
- /**
- * Get the servicePrincipalId property: The ID of the application used to authenticate against the Azure Data Lake
- * Storage Gen2 account. Type: string (or Expression with resultType string).
- *
- * @return the servicePrincipalId value.
- */
- public Object servicePrincipalId() {
- return this.servicePrincipalId;
- }
-
- /**
- * Set the servicePrincipalId property: The ID of the application used to authenticate against the Azure Data Lake
- * Storage Gen2 account. Type: string (or Expression with resultType string).
- *
- * @param servicePrincipalId the servicePrincipalId value to set.
- * @return the AzureBlobFSLinkedServiceTypeProperties object itself.
- */
- public AzureBlobFSLinkedServiceTypeProperties withServicePrincipalId(Object servicePrincipalId) {
- this.servicePrincipalId = servicePrincipalId;
- return this;
- }
-
- /**
- * Get the servicePrincipalKey property: The Key of the application used to authenticate against the Azure Data Lake
- * Storage Gen2 account.
- *
- * @return the servicePrincipalKey value.
- */
- public SecretBase servicePrincipalKey() {
- return this.servicePrincipalKey;
- }
-
- /**
- * Set the servicePrincipalKey property: The Key of the application used to authenticate against the Azure Data Lake
- * Storage Gen2 account.
- *
- * @param servicePrincipalKey the servicePrincipalKey value to set.
- * @return the AzureBlobFSLinkedServiceTypeProperties object itself.
- */
- public AzureBlobFSLinkedServiceTypeProperties withServicePrincipalKey(SecretBase servicePrincipalKey) {
- this.servicePrincipalKey = servicePrincipalKey;
- return this;
- }
-
- /**
- * Get the tenant property: The name or ID of the tenant to which the service principal belongs. Type: string (or
- * Expression with resultType string).
- *
- * @return the tenant value.
- */
- public Object tenant() {
- return this.tenant;
- }
-
- /**
- * Set the tenant property: The name or ID of the tenant to which the service principal belongs. Type: string (or
- * Expression with resultType string).
- *
- * @param tenant the tenant value to set.
- * @return the AzureBlobFSLinkedServiceTypeProperties object itself.
- */
- public AzureBlobFSLinkedServiceTypeProperties withTenant(Object tenant) {
- this.tenant = tenant;
- return this;
- }
-
- /**
- * Get the azureCloudType property: Indicates the azure cloud type of the service principle auth. Allowed values are
- * AzurePublic, AzureChina, AzureUsGovernment, AzureGermany. Default value is the data factory regions’ cloud type.
- * Type: string (or Expression with resultType string).
- *
- * @return the azureCloudType value.
- */
- public Object azureCloudType() {
- return this.azureCloudType;
- }
-
- /**
- * Set the azureCloudType property: Indicates the azure cloud type of the service principle auth. Allowed values are
- * AzurePublic, AzureChina, AzureUsGovernment, AzureGermany. Default value is the data factory regions’ cloud type.
- * Type: string (or Expression with resultType string).
- *
- * @param azureCloudType the azureCloudType value to set.
- * @return the AzureBlobFSLinkedServiceTypeProperties object itself.
- */
- public AzureBlobFSLinkedServiceTypeProperties withAzureCloudType(Object azureCloudType) {
- this.azureCloudType = azureCloudType;
- return this;
- }
-
- /**
- * Get the encryptedCredential property: 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 encryptedCredential property: 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 AzureBlobFSLinkedServiceTypeProperties object itself.
- */
- public AzureBlobFSLinkedServiceTypeProperties withEncryptedCredential(Object encryptedCredential) {
- this.encryptedCredential = encryptedCredential;
- return this;
- }
-
- /**
- * Get the credential property: The credential reference containing authentication information.
- *
- * @return the credential value.
- */
- public CredentialReference credential() {
- return this.credential;
- }
-
- /**
- * Set the credential property: The credential reference containing authentication information.
- *
- * @param credential the credential value to set.
- * @return the AzureBlobFSLinkedServiceTypeProperties object itself.
- */
- public AzureBlobFSLinkedServiceTypeProperties withCredential(CredentialReference credential) {
- this.credential = credential;
- return this;
- }
-
- /**
- * Validates the instance.
- *
- * @throws IllegalArgumentException thrown if the instance is not valid.
- */
- public void validate() {
- if (url() == null) {
- throw logger
- .logExceptionAsError(
- new IllegalArgumentException(
- "Missing required property url in model AzureBlobFSLinkedServiceTypeProperties"));
- }
- if (servicePrincipalKey() != null) {
- servicePrincipalKey().validate();
- }
- if (credential() != null) {
- credential().validate();
- }
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AzureBlobStorageLinkedServiceTypeProperties.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AzureBlobStorageLinkedServiceTypeProperties.java
deleted file mode 100644
index d0ec76ed2b601..0000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AzureBlobStorageLinkedServiceTypeProperties.java
+++ /dev/null
@@ -1,388 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.datafactory.fluent.models;
-
-import com.azure.core.annotation.Fluent;
-import com.azure.core.util.logging.ClientLogger;
-import com.azure.resourcemanager.datafactory.models.AzureKeyVaultSecretReference;
-import com.azure.resourcemanager.datafactory.models.CredentialReference;
-import com.azure.resourcemanager.datafactory.models.SecretBase;
-import com.fasterxml.jackson.annotation.JsonIgnore;
-import com.fasterxml.jackson.annotation.JsonProperty;
-
-/** Azure Blob Storage linked service properties. */
-@Fluent
-public final class AzureBlobStorageLinkedServiceTypeProperties {
- @JsonIgnore private final ClientLogger logger = new ClientLogger(AzureBlobStorageLinkedServiceTypeProperties.class);
-
- /*
- * The connection string. It is mutually exclusive with sasUri,
- * serviceEndpoint property. Type: string, SecureString or
- * AzureKeyVaultSecretReference.
- */
- @JsonProperty(value = "connectionString")
- private Object connectionString;
-
- /*
- * The Azure key vault secret reference of accountKey in connection string.
- */
- @JsonProperty(value = "accountKey")
- private AzureKeyVaultSecretReference accountKey;
-
- /*
- * SAS URI of the Azure Blob Storage resource. It is mutually exclusive
- * with connectionString, serviceEndpoint property. Type: string,
- * SecureString or AzureKeyVaultSecretReference.
- */
- @JsonProperty(value = "sasUri")
- private Object sasUri;
-
- /*
- * The Azure key vault secret reference of sasToken in sas uri.
- */
- @JsonProperty(value = "sasToken")
- private AzureKeyVaultSecretReference sasToken;
-
- /*
- * Blob service endpoint of the Azure Blob Storage resource. It is mutually
- * exclusive with connectionString, sasUri property.
- */
- @JsonProperty(value = "serviceEndpoint")
- private String serviceEndpoint;
-
- /*
- * The ID of the service principal used to authenticate against Azure SQL
- * Data Warehouse. Type: string (or Expression with resultType string).
- */
- @JsonProperty(value = "servicePrincipalId")
- private Object servicePrincipalId;
-
- /*
- * The key of the service principal used to authenticate against Azure SQL
- * Data Warehouse.
- */
- @JsonProperty(value = "servicePrincipalKey")
- private SecretBase servicePrincipalKey;
-
- /*
- * The name or ID of the tenant to which the service principal belongs.
- * Type: string (or Expression with resultType string).
- */
- @JsonProperty(value = "tenant")
- private Object tenant;
-
- /*
- * Indicates the azure cloud type of the service principle auth. Allowed
- * values are AzurePublic, AzureChina, AzureUsGovernment, AzureGermany.
- * Default value is the data factory regions’ cloud type. Type: string (or
- * Expression with resultType string).
- */
- @JsonProperty(value = "azureCloudType")
- private Object azureCloudType;
-
- /*
- * Specify the kind of your storage account. Allowed values are: Storage
- * (general purpose v1), StorageV2 (general purpose v2), BlobStorage, or
- * BlockBlobStorage. Type: string (or Expression with resultType string).
- */
- @JsonProperty(value = "accountKind")
- private String accountKind;
-
- /*
- * The encrypted credential used for authentication. Credentials are
- * encrypted using the integration runtime credential manager. Type: string
- * (or Expression with resultType string).
- */
- @JsonProperty(value = "encryptedCredential")
- private String encryptedCredential;
-
- /*
- * The credential reference containing authentication information.
- */
- @JsonProperty(value = "credential")
- private CredentialReference credential;
-
- /**
- * Get the connectionString property: The connection string. It is mutually exclusive with sasUri, serviceEndpoint
- * property. Type: string, SecureString or AzureKeyVaultSecretReference.
- *
- * @return the connectionString value.
- */
- public Object connectionString() {
- return this.connectionString;
- }
-
- /**
- * Set the connectionString property: The connection string. It is mutually exclusive with sasUri, serviceEndpoint
- * property. Type: string, SecureString or AzureKeyVaultSecretReference.
- *
- * @param connectionString the connectionString value to set.
- * @return the AzureBlobStorageLinkedServiceTypeProperties object itself.
- */
- public AzureBlobStorageLinkedServiceTypeProperties withConnectionString(Object connectionString) {
- this.connectionString = connectionString;
- return this;
- }
-
- /**
- * Get the accountKey property: The Azure key vault secret reference of accountKey in connection string.
- *
- * @return the accountKey value.
- */
- public AzureKeyVaultSecretReference accountKey() {
- return this.accountKey;
- }
-
- /**
- * Set the accountKey property: The Azure key vault secret reference of accountKey in connection string.
- *
- * @param accountKey the accountKey value to set.
- * @return the AzureBlobStorageLinkedServiceTypeProperties object itself.
- */
- public AzureBlobStorageLinkedServiceTypeProperties withAccountKey(AzureKeyVaultSecretReference accountKey) {
- this.accountKey = accountKey;
- return this;
- }
-
- /**
- * Get the sasUri property: SAS URI of the Azure Blob Storage resource. It is mutually exclusive with
- * connectionString, serviceEndpoint property. Type: string, SecureString or AzureKeyVaultSecretReference.
- *
- * @return the sasUri value.
- */
- public Object sasUri() {
- return this.sasUri;
- }
-
- /**
- * Set the sasUri property: SAS URI of the Azure Blob Storage resource. It is mutually exclusive with
- * connectionString, serviceEndpoint property. Type: string, SecureString or AzureKeyVaultSecretReference.
- *
- * @param sasUri the sasUri value to set.
- * @return the AzureBlobStorageLinkedServiceTypeProperties object itself.
- */
- public AzureBlobStorageLinkedServiceTypeProperties withSasUri(Object sasUri) {
- this.sasUri = sasUri;
- return this;
- }
-
- /**
- * Get the sasToken property: The Azure key vault secret reference of sasToken in sas uri.
- *
- * @return the sasToken value.
- */
- public AzureKeyVaultSecretReference sasToken() {
- return this.sasToken;
- }
-
- /**
- * Set the sasToken property: The Azure key vault secret reference of sasToken in sas uri.
- *
- * @param sasToken the sasToken value to set.
- * @return the AzureBlobStorageLinkedServiceTypeProperties object itself.
- */
- public AzureBlobStorageLinkedServiceTypeProperties withSasToken(AzureKeyVaultSecretReference sasToken) {
- this.sasToken = sasToken;
- return this;
- }
-
- /**
- * Get the serviceEndpoint property: Blob service endpoint of the Azure Blob Storage resource. It is mutually
- * exclusive with connectionString, sasUri property.
- *
- * @return the serviceEndpoint value.
- */
- public String serviceEndpoint() {
- return this.serviceEndpoint;
- }
-
- /**
- * Set the serviceEndpoint property: Blob service endpoint of the Azure Blob Storage resource. It is mutually
- * exclusive with connectionString, sasUri property.
- *
- * @param serviceEndpoint the serviceEndpoint value to set.
- * @return the AzureBlobStorageLinkedServiceTypeProperties object itself.
- */
- public AzureBlobStorageLinkedServiceTypeProperties withServiceEndpoint(String serviceEndpoint) {
- this.serviceEndpoint = serviceEndpoint;
- return this;
- }
-
- /**
- * Get the servicePrincipalId property: The ID of the service principal used to authenticate against Azure SQL Data
- * Warehouse. Type: string (or Expression with resultType string).
- *
- * @return the servicePrincipalId value.
- */
- public Object servicePrincipalId() {
- return this.servicePrincipalId;
- }
-
- /**
- * Set the servicePrincipalId property: The ID of the service principal used to authenticate against Azure SQL Data
- * Warehouse. Type: string (or Expression with resultType string).
- *
- * @param servicePrincipalId the servicePrincipalId value to set.
- * @return the AzureBlobStorageLinkedServiceTypeProperties object itself.
- */
- public AzureBlobStorageLinkedServiceTypeProperties withServicePrincipalId(Object servicePrincipalId) {
- this.servicePrincipalId = servicePrincipalId;
- return this;
- }
-
- /**
- * Get the servicePrincipalKey property: The key of the service principal used to authenticate against Azure SQL
- * Data Warehouse.
- *
- * @return the servicePrincipalKey value.
- */
- public SecretBase servicePrincipalKey() {
- return this.servicePrincipalKey;
- }
-
- /**
- * Set the servicePrincipalKey property: The key of the service principal used to authenticate against Azure SQL
- * Data Warehouse.
- *
- * @param servicePrincipalKey the servicePrincipalKey value to set.
- * @return the AzureBlobStorageLinkedServiceTypeProperties object itself.
- */
- public AzureBlobStorageLinkedServiceTypeProperties withServicePrincipalKey(SecretBase servicePrincipalKey) {
- this.servicePrincipalKey = servicePrincipalKey;
- return this;
- }
-
- /**
- * Get the tenant property: The name or ID of the tenant to which the service principal belongs. Type: string (or
- * Expression with resultType string).
- *
- * @return the tenant value.
- */
- public Object tenant() {
- return this.tenant;
- }
-
- /**
- * Set the tenant property: The name or ID of the tenant to which the service principal belongs. Type: string (or
- * Expression with resultType string).
- *
- * @param tenant the tenant value to set.
- * @return the AzureBlobStorageLinkedServiceTypeProperties object itself.
- */
- public AzureBlobStorageLinkedServiceTypeProperties withTenant(Object tenant) {
- this.tenant = tenant;
- return this;
- }
-
- /**
- * Get the azureCloudType property: Indicates the azure cloud type of the service principle auth. Allowed values are
- * AzurePublic, AzureChina, AzureUsGovernment, AzureGermany. Default value is the data factory regions’ cloud type.
- * Type: string (or Expression with resultType string).
- *
- * @return the azureCloudType value.
- */
- public Object azureCloudType() {
- return this.azureCloudType;
- }
-
- /**
- * Set the azureCloudType property: Indicates the azure cloud type of the service principle auth. Allowed values are
- * AzurePublic, AzureChina, AzureUsGovernment, AzureGermany. Default value is the data factory regions’ cloud type.
- * Type: string (or Expression with resultType string).
- *
- * @param azureCloudType the azureCloudType value to set.
- * @return the AzureBlobStorageLinkedServiceTypeProperties object itself.
- */
- public AzureBlobStorageLinkedServiceTypeProperties withAzureCloudType(Object azureCloudType) {
- this.azureCloudType = azureCloudType;
- return this;
- }
-
- /**
- * Get the accountKind property: Specify the kind of your storage account. Allowed values are: Storage (general
- * purpose v1), StorageV2 (general purpose v2), BlobStorage, or BlockBlobStorage. Type: string (or Expression with
- * resultType string).
- *
- * @return the accountKind value.
- */
- public String accountKind() {
- return this.accountKind;
- }
-
- /**
- * Set the accountKind property: Specify the kind of your storage account. Allowed values are: Storage (general
- * purpose v1), StorageV2 (general purpose v2), BlobStorage, or BlockBlobStorage. Type: string (or Expression with
- * resultType string).
- *
- * @param accountKind the accountKind value to set.
- * @return the AzureBlobStorageLinkedServiceTypeProperties object itself.
- */
- public AzureBlobStorageLinkedServiceTypeProperties withAccountKind(String accountKind) {
- this.accountKind = accountKind;
- return this;
- }
-
- /**
- * Get the encryptedCredential property: 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 String encryptedCredential() {
- return this.encryptedCredential;
- }
-
- /**
- * Set the encryptedCredential property: 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 AzureBlobStorageLinkedServiceTypeProperties object itself.
- */
- public AzureBlobStorageLinkedServiceTypeProperties withEncryptedCredential(String encryptedCredential) {
- this.encryptedCredential = encryptedCredential;
- return this;
- }
-
- /**
- * Get the credential property: The credential reference containing authentication information.
- *
- * @return the credential value.
- */
- public CredentialReference credential() {
- return this.credential;
- }
-
- /**
- * Set the credential property: The credential reference containing authentication information.
- *
- * @param credential the credential value to set.
- * @return the AzureBlobStorageLinkedServiceTypeProperties object itself.
- */
- public AzureBlobStorageLinkedServiceTypeProperties withCredential(CredentialReference credential) {
- this.credential = credential;
- return this;
- }
-
- /**
- * Validates the instance.
- *
- * @throws IllegalArgumentException thrown if the instance is not valid.
- */
- public void validate() {
- if (accountKey() != null) {
- accountKey().validate();
- }
- if (sasToken() != null) {
- sasToken().validate();
- }
- if (servicePrincipalKey() != null) {
- servicePrincipalKey().validate();
- }
- if (credential() != null) {
- credential().validate();
- }
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AzureDataExplorerCommandActivityTypeProperties.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AzureDataExplorerCommandActivityTypeProperties.java
deleted file mode 100644
index 0ed9c381fa3ed..0000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AzureDataExplorerCommandActivityTypeProperties.java
+++ /dev/null
@@ -1,90 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.datafactory.fluent.models;
-
-import com.azure.core.annotation.Fluent;
-import com.azure.core.util.logging.ClientLogger;
-import com.fasterxml.jackson.annotation.JsonIgnore;
-import com.fasterxml.jackson.annotation.JsonProperty;
-
-/** Azure Data Explorer command activity properties. */
-@Fluent
-public final class AzureDataExplorerCommandActivityTypeProperties {
- @JsonIgnore
- private final ClientLogger logger = new ClientLogger(AzureDataExplorerCommandActivityTypeProperties.class);
-
- /*
- * A control command, according to the Azure Data Explorer command syntax.
- * Type: string (or Expression with resultType string).
- */
- @JsonProperty(value = "command", required = true)
- private Object command;
-
- /*
- * Control command timeout. Type: string (or Expression with resultType
- * string), pattern:
- * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9]))..)
- */
- @JsonProperty(value = "commandTimeout")
- private Object commandTimeout;
-
- /**
- * Get the command property: A control command, according to the Azure Data Explorer command syntax. Type: string
- * (or Expression with resultType string).
- *
- * @return the command value.
- */
- public Object command() {
- return this.command;
- }
-
- /**
- * Set the command property: A control command, according to the Azure Data Explorer command syntax. Type: string
- * (or Expression with resultType string).
- *
- * @param command the command value to set.
- * @return the AzureDataExplorerCommandActivityTypeProperties object itself.
- */
- public AzureDataExplorerCommandActivityTypeProperties withCommand(Object command) {
- this.command = command;
- return this;
- }
-
- /**
- * Get the commandTimeout property: Control command timeout. Type: string (or Expression with resultType string),
- * pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9]))..).
- *
- * @return the commandTimeout value.
- */
- public Object commandTimeout() {
- return this.commandTimeout;
- }
-
- /**
- * Set the commandTimeout property: Control command timeout. Type: string (or Expression with resultType string),
- * pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9]))..).
- *
- * @param commandTimeout the commandTimeout value to set.
- * @return the AzureDataExplorerCommandActivityTypeProperties object itself.
- */
- public AzureDataExplorerCommandActivityTypeProperties withCommandTimeout(Object commandTimeout) {
- this.commandTimeout = commandTimeout;
- return this;
- }
-
- /**
- * Validates the instance.
- *
- * @throws IllegalArgumentException thrown if the instance is not valid.
- */
- public void validate() {
- if (command() == null) {
- throw logger
- .logExceptionAsError(
- new IllegalArgumentException(
- "Missing required property command in model AzureDataExplorerCommandActivityTypeProperties"));
- }
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AzureDataExplorerDatasetTypeProperties.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AzureDataExplorerDatasetTypeProperties.java
deleted file mode 100644
index c3f386c3b095d..0000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AzureDataExplorerDatasetTypeProperties.java
+++ /dev/null
@@ -1,53 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.datafactory.fluent.models;
-
-import com.azure.core.annotation.Fluent;
-import com.azure.core.util.logging.ClientLogger;
-import com.fasterxml.jackson.annotation.JsonIgnore;
-import com.fasterxml.jackson.annotation.JsonProperty;
-
-/** Azure Data Explorer (Kusto) dataset properties. */
-@Fluent
-public final class AzureDataExplorerDatasetTypeProperties {
- @JsonIgnore private final ClientLogger logger = new ClientLogger(AzureDataExplorerDatasetTypeProperties.class);
-
- /*
- * The table name of the Azure Data Explorer database. Type: string (or
- * Expression with resultType string).
- */
- @JsonProperty(value = "table")
- private Object table;
-
- /**
- * Get the table property: The table name of the Azure Data Explorer database. Type: string (or Expression with
- * resultType string).
- *
- * @return the table value.
- */
- public Object table() {
- return this.table;
- }
-
- /**
- * Set the table property: The table name of the Azure Data Explorer database. Type: string (or Expression with
- * resultType string).
- *
- * @param table the table value to set.
- * @return the AzureDataExplorerDatasetTypeProperties object itself.
- */
- public AzureDataExplorerDatasetTypeProperties withTable(Object table) {
- this.table = table;
- return this;
- }
-
- /**
- * Validates the instance.
- *
- * @throws IllegalArgumentException thrown if the instance is not valid.
- */
- public void validate() {
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AzureDataExplorerLinkedServiceTypeProperties.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AzureDataExplorerLinkedServiceTypeProperties.java
deleted file mode 100644
index 0b243720047fe..0000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AzureDataExplorerLinkedServiceTypeProperties.java
+++ /dev/null
@@ -1,214 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.datafactory.fluent.models;
-
-import com.azure.core.annotation.Fluent;
-import com.azure.core.util.logging.ClientLogger;
-import com.azure.resourcemanager.datafactory.models.CredentialReference;
-import com.azure.resourcemanager.datafactory.models.SecretBase;
-import com.fasterxml.jackson.annotation.JsonIgnore;
-import com.fasterxml.jackson.annotation.JsonProperty;
-
-/** Azure Data Explorer (Kusto) linked service properties. */
-@Fluent
-public final class AzureDataExplorerLinkedServiceTypeProperties {
- @JsonIgnore
- private final ClientLogger logger = new ClientLogger(AzureDataExplorerLinkedServiceTypeProperties.class);
-
- /*
- * The endpoint of Azure Data Explorer (the engine's endpoint). URL will be
- * in the format https://..kusto.windows.net.
- * Type: string (or Expression with resultType string)
- */
- @JsonProperty(value = "endpoint", required = true)
- private Object endpoint;
-
- /*
- * The ID of the service principal used to authenticate against Azure Data
- * Explorer. Type: string (or Expression with resultType string).
- */
- @JsonProperty(value = "servicePrincipalId")
- private Object servicePrincipalId;
-
- /*
- * The key of the service principal used to authenticate against Kusto.
- */
- @JsonProperty(value = "servicePrincipalKey")
- private SecretBase servicePrincipalKey;
-
- /*
- * Database name for connection. Type: string (or Expression with
- * resultType string).
- */
- @JsonProperty(value = "database", required = true)
- private Object database;
-
- /*
- * The name or ID of the tenant to which the service principal belongs.
- * Type: string (or Expression with resultType string).
- */
- @JsonProperty(value = "tenant")
- private Object tenant;
-
- /*
- * The credential reference containing authentication information.
- */
- @JsonProperty(value = "credential")
- private CredentialReference credential;
-
- /**
- * Get the endpoint property: The endpoint of Azure Data Explorer (the engine's endpoint). URL will be in the format
- * https://<clusterName>.<regionName>.kusto.windows.net. Type: string (or Expression with resultType
- * string).
- *
- * @return the endpoint value.
- */
- public Object endpoint() {
- return this.endpoint;
- }
-
- /**
- * Set the endpoint property: The endpoint of Azure Data Explorer (the engine's endpoint). URL will be in the format
- * https://<clusterName>.<regionName>.kusto.windows.net. Type: string (or Expression with resultType
- * string).
- *
- * @param endpoint the endpoint value to set.
- * @return the AzureDataExplorerLinkedServiceTypeProperties object itself.
- */
- public AzureDataExplorerLinkedServiceTypeProperties withEndpoint(Object endpoint) {
- this.endpoint = endpoint;
- return this;
- }
-
- /**
- * Get the servicePrincipalId property: The ID of the service principal used to authenticate against Azure Data
- * Explorer. Type: string (or Expression with resultType string).
- *
- * @return the servicePrincipalId value.
- */
- public Object servicePrincipalId() {
- return this.servicePrincipalId;
- }
-
- /**
- * Set the servicePrincipalId property: The ID of the service principal used to authenticate against Azure Data
- * Explorer. Type: string (or Expression with resultType string).
- *
- * @param servicePrincipalId the servicePrincipalId value to set.
- * @return the AzureDataExplorerLinkedServiceTypeProperties object itself.
- */
- public AzureDataExplorerLinkedServiceTypeProperties withServicePrincipalId(Object servicePrincipalId) {
- this.servicePrincipalId = servicePrincipalId;
- return this;
- }
-
- /**
- * Get the servicePrincipalKey property: The key of the service principal used to authenticate against Kusto.
- *
- * @return the servicePrincipalKey value.
- */
- public SecretBase servicePrincipalKey() {
- return this.servicePrincipalKey;
- }
-
- /**
- * Set the servicePrincipalKey property: The key of the service principal used to authenticate against Kusto.
- *
- * @param servicePrincipalKey the servicePrincipalKey value to set.
- * @return the AzureDataExplorerLinkedServiceTypeProperties object itself.
- */
- public AzureDataExplorerLinkedServiceTypeProperties withServicePrincipalKey(SecretBase servicePrincipalKey) {
- this.servicePrincipalKey = servicePrincipalKey;
- return this;
- }
-
- /**
- * Get the database property: Database name for connection. Type: string (or Expression with resultType string).
- *
- * @return the database value.
- */
- public Object database() {
- return this.database;
- }
-
- /**
- * Set the database property: Database name for connection. Type: string (or Expression with resultType string).
- *
- * @param database the database value to set.
- * @return the AzureDataExplorerLinkedServiceTypeProperties object itself.
- */
- public AzureDataExplorerLinkedServiceTypeProperties withDatabase(Object database) {
- this.database = database;
- return this;
- }
-
- /**
- * Get the tenant property: The name or ID of the tenant to which the service principal belongs. Type: string (or
- * Expression with resultType string).
- *
- * @return the tenant value.
- */
- public Object tenant() {
- return this.tenant;
- }
-
- /**
- * Set the tenant property: The name or ID of the tenant to which the service principal belongs. Type: string (or
- * Expression with resultType string).
- *
- * @param tenant the tenant value to set.
- * @return the AzureDataExplorerLinkedServiceTypeProperties object itself.
- */
- public AzureDataExplorerLinkedServiceTypeProperties withTenant(Object tenant) {
- this.tenant = tenant;
- return this;
- }
-
- /**
- * Get the credential property: The credential reference containing authentication information.
- *
- * @return the credential value.
- */
- public CredentialReference credential() {
- return this.credential;
- }
-
- /**
- * Set the credential property: The credential reference containing authentication information.
- *
- * @param credential the credential value to set.
- * @return the AzureDataExplorerLinkedServiceTypeProperties object itself.
- */
- public AzureDataExplorerLinkedServiceTypeProperties withCredential(CredentialReference credential) {
- this.credential = credential;
- return this;
- }
-
- /**
- * Validates the instance.
- *
- * @throws IllegalArgumentException thrown if the instance is not valid.
- */
- public void validate() {
- if (endpoint() == null) {
- throw logger
- .logExceptionAsError(
- new IllegalArgumentException(
- "Missing required property endpoint in model AzureDataExplorerLinkedServiceTypeProperties"));
- }
- if (servicePrincipalKey() != null) {
- servicePrincipalKey().validate();
- }
- if (database() == null) {
- throw logger
- .logExceptionAsError(
- new IllegalArgumentException(
- "Missing required property database in model AzureDataExplorerLinkedServiceTypeProperties"));
- }
- if (credential() != null) {
- credential().validate();
- }
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AzureDataLakeAnalyticsLinkedServiceTypeProperties.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AzureDataLakeAnalyticsLinkedServiceTypeProperties.java
deleted file mode 100644
index 46f931f0155de..0000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AzureDataLakeAnalyticsLinkedServiceTypeProperties.java
+++ /dev/null
@@ -1,276 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.datafactory.fluent.models;
-
-import com.azure.core.annotation.Fluent;
-import com.azure.core.util.logging.ClientLogger;
-import com.azure.resourcemanager.datafactory.models.SecretBase;
-import com.fasterxml.jackson.annotation.JsonIgnore;
-import com.fasterxml.jackson.annotation.JsonProperty;
-
-/** Azure Data Lake Analytics linked service properties. */
-@Fluent
-public final class AzureDataLakeAnalyticsLinkedServiceTypeProperties {
- @JsonIgnore
- private final ClientLogger logger = new ClientLogger(AzureDataLakeAnalyticsLinkedServiceTypeProperties.class);
-
- /*
- * The Azure Data Lake Analytics account name. Type: string (or Expression
- * with resultType string).
- */
- @JsonProperty(value = "accountName", required = true)
- private Object accountName;
-
- /*
- * The ID of the application used to authenticate against the Azure Data
- * Lake Analytics account. Type: string (or Expression with resultType
- * string).
- */
- @JsonProperty(value = "servicePrincipalId")
- private Object servicePrincipalId;
-
- /*
- * The Key of the application used to authenticate against the Azure Data
- * Lake Analytics account.
- */
- @JsonProperty(value = "servicePrincipalKey")
- private SecretBase servicePrincipalKey;
-
- /*
- * The name or ID of the tenant to which the service principal belongs.
- * Type: string (or Expression with resultType string).
- */
- @JsonProperty(value = "tenant", required = true)
- private Object tenant;
-
- /*
- * Data Lake Analytics account subscription ID (if different from Data
- * Factory account). Type: string (or Expression with resultType string).
- */
- @JsonProperty(value = "subscriptionId")
- private Object subscriptionId;
-
- /*
- * Data Lake Analytics account resource group name (if different from Data
- * Factory account). Type: string (or Expression with resultType string).
- */
- @JsonProperty(value = "resourceGroupName")
- private Object resourceGroupName;
-
- /*
- * Azure Data Lake Analytics URI Type: string (or Expression with
- * resultType string).
- */
- @JsonProperty(value = "dataLakeAnalyticsUri")
- private Object dataLakeAnalyticsUri;
-
- /*
- * The encrypted credential used for authentication. Credentials are
- * encrypted using the integration runtime credential manager. Type: string
- * (or Expression with resultType string).
- */
- @JsonProperty(value = "encryptedCredential")
- private Object encryptedCredential;
-
- /**
- * Get the accountName property: The Azure Data Lake Analytics account name. Type: string (or Expression with
- * resultType string).
- *
- * @return the accountName value.
- */
- public Object accountName() {
- return this.accountName;
- }
-
- /**
- * Set the accountName property: The Azure Data Lake Analytics account name. Type: string (or Expression with
- * resultType string).
- *
- * @param accountName the accountName value to set.
- * @return the AzureDataLakeAnalyticsLinkedServiceTypeProperties object itself.
- */
- public AzureDataLakeAnalyticsLinkedServiceTypeProperties withAccountName(Object accountName) {
- this.accountName = accountName;
- return this;
- }
-
- /**
- * Get the servicePrincipalId property: The ID of the application used to authenticate against the Azure Data Lake
- * Analytics account. Type: string (or Expression with resultType string).
- *
- * @return the servicePrincipalId value.
- */
- public Object servicePrincipalId() {
- return this.servicePrincipalId;
- }
-
- /**
- * Set the servicePrincipalId property: The ID of the application used to authenticate against the Azure Data Lake
- * Analytics account. Type: string (or Expression with resultType string).
- *
- * @param servicePrincipalId the servicePrincipalId value to set.
- * @return the AzureDataLakeAnalyticsLinkedServiceTypeProperties object itself.
- */
- public AzureDataLakeAnalyticsLinkedServiceTypeProperties withServicePrincipalId(Object servicePrincipalId) {
- this.servicePrincipalId = servicePrincipalId;
- return this;
- }
-
- /**
- * Get the servicePrincipalKey property: The Key of the application used to authenticate against the Azure Data Lake
- * Analytics account.
- *
- * @return the servicePrincipalKey value.
- */
- public SecretBase servicePrincipalKey() {
- return this.servicePrincipalKey;
- }
-
- /**
- * Set the servicePrincipalKey property: The Key of the application used to authenticate against the Azure Data Lake
- * Analytics account.
- *
- * @param servicePrincipalKey the servicePrincipalKey value to set.
- * @return the AzureDataLakeAnalyticsLinkedServiceTypeProperties object itself.
- */
- public AzureDataLakeAnalyticsLinkedServiceTypeProperties withServicePrincipalKey(SecretBase servicePrincipalKey) {
- this.servicePrincipalKey = servicePrincipalKey;
- return this;
- }
-
- /**
- * Get the tenant property: The name or ID of the tenant to which the service principal belongs. Type: string (or
- * Expression with resultType string).
- *
- * @return the tenant value.
- */
- public Object tenant() {
- return this.tenant;
- }
-
- /**
- * Set the tenant property: The name or ID of the tenant to which the service principal belongs. Type: string (or
- * Expression with resultType string).
- *
- * @param tenant the tenant value to set.
- * @return the AzureDataLakeAnalyticsLinkedServiceTypeProperties object itself.
- */
- public AzureDataLakeAnalyticsLinkedServiceTypeProperties withTenant(Object tenant) {
- this.tenant = tenant;
- return this;
- }
-
- /**
- * Get the subscriptionId property: Data Lake Analytics account subscription ID (if different from Data Factory
- * account). Type: string (or Expression with resultType string).
- *
- * @return the subscriptionId value.
- */
- public Object subscriptionId() {
- return this.subscriptionId;
- }
-
- /**
- * Set the subscriptionId property: Data Lake Analytics account subscription ID (if different from Data Factory
- * account). Type: string (or Expression with resultType string).
- *
- * @param subscriptionId the subscriptionId value to set.
- * @return the AzureDataLakeAnalyticsLinkedServiceTypeProperties object itself.
- */
- public AzureDataLakeAnalyticsLinkedServiceTypeProperties withSubscriptionId(Object subscriptionId) {
- this.subscriptionId = subscriptionId;
- return this;
- }
-
- /**
- * Get the resourceGroupName property: Data Lake Analytics account resource group name (if different from Data
- * Factory account). Type: string (or Expression with resultType string).
- *
- * @return the resourceGroupName value.
- */
- public Object resourceGroupName() {
- return this.resourceGroupName;
- }
-
- /**
- * Set the resourceGroupName property: Data Lake Analytics account resource group name (if different from Data
- * Factory account). Type: string (or Expression with resultType string).
- *
- * @param resourceGroupName the resourceGroupName value to set.
- * @return the AzureDataLakeAnalyticsLinkedServiceTypeProperties object itself.
- */
- public AzureDataLakeAnalyticsLinkedServiceTypeProperties withResourceGroupName(Object resourceGroupName) {
- this.resourceGroupName = resourceGroupName;
- return this;
- }
-
- /**
- * Get the dataLakeAnalyticsUri property: Azure Data Lake Analytics URI Type: string (or Expression with resultType
- * string).
- *
- * @return the dataLakeAnalyticsUri value.
- */
- public Object dataLakeAnalyticsUri() {
- return this.dataLakeAnalyticsUri;
- }
-
- /**
- * Set the dataLakeAnalyticsUri property: Azure Data Lake Analytics URI Type: string (or Expression with resultType
- * string).
- *
- * @param dataLakeAnalyticsUri the dataLakeAnalyticsUri value to set.
- * @return the AzureDataLakeAnalyticsLinkedServiceTypeProperties object itself.
- */
- public AzureDataLakeAnalyticsLinkedServiceTypeProperties withDataLakeAnalyticsUri(Object dataLakeAnalyticsUri) {
- this.dataLakeAnalyticsUri = dataLakeAnalyticsUri;
- return this;
- }
-
- /**
- * Get the encryptedCredential property: 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 encryptedCredential property: 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 AzureDataLakeAnalyticsLinkedServiceTypeProperties object itself.
- */
- public AzureDataLakeAnalyticsLinkedServiceTypeProperties withEncryptedCredential(Object encryptedCredential) {
- this.encryptedCredential = encryptedCredential;
- return this;
- }
-
- /**
- * Validates the instance.
- *
- * @throws IllegalArgumentException thrown if the instance is not valid.
- */
- public void validate() {
- if (accountName() == null) {
- throw logger
- .logExceptionAsError(
- new IllegalArgumentException(
- "Missing required property accountName in model"
- + " AzureDataLakeAnalyticsLinkedServiceTypeProperties"));
- }
- if (servicePrincipalKey() != null) {
- servicePrincipalKey().validate();
- }
- if (tenant() == null) {
- throw logger
- .logExceptionAsError(
- new IllegalArgumentException(
- "Missing required property tenant in model AzureDataLakeAnalyticsLinkedServiceTypeProperties"));
- }
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AzureDataLakeStoreDatasetTypeProperties.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AzureDataLakeStoreDatasetTypeProperties.java
deleted file mode 100644
index 3a0d9306a1274..0000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AzureDataLakeStoreDatasetTypeProperties.java
+++ /dev/null
@@ -1,143 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.datafactory.fluent.models;
-
-import com.azure.core.annotation.Fluent;
-import com.azure.core.util.logging.ClientLogger;
-import com.azure.resourcemanager.datafactory.models.DatasetCompression;
-import com.azure.resourcemanager.datafactory.models.DatasetStorageFormat;
-import com.fasterxml.jackson.annotation.JsonIgnore;
-import com.fasterxml.jackson.annotation.JsonProperty;
-
-/** Azure Data Lake Store dataset properties. */
-@Fluent
-public final class AzureDataLakeStoreDatasetTypeProperties {
- @JsonIgnore private final ClientLogger logger = new ClientLogger(AzureDataLakeStoreDatasetTypeProperties.class);
-
- /*
- * Path to the folder in the Azure Data Lake Store. Type: string (or
- * Expression with resultType string).
- */
- @JsonProperty(value = "folderPath")
- private Object folderPath;
-
- /*
- * The name of the file in the Azure Data Lake Store. Type: string (or
- * Expression with resultType string).
- */
- @JsonProperty(value = "fileName")
- private Object fileName;
-
- /*
- * The format of the Data Lake Store.
- */
- @JsonProperty(value = "format")
- private DatasetStorageFormat format;
-
- /*
- * The data compression method used for the item(s) in the Azure Data Lake
- * Store.
- */
- @JsonProperty(value = "compression")
- private DatasetCompression compression;
-
- /**
- * Get the folderPath property: Path to the folder in the Azure Data Lake Store. Type: string (or Expression with
- * resultType string).
- *
- * @return the folderPath value.
- */
- public Object folderPath() {
- return this.folderPath;
- }
-
- /**
- * Set the folderPath property: Path to the folder in the Azure Data Lake Store. Type: string (or Expression with
- * resultType string).
- *
- * @param folderPath the folderPath value to set.
- * @return the AzureDataLakeStoreDatasetTypeProperties object itself.
- */
- public AzureDataLakeStoreDatasetTypeProperties withFolderPath(Object folderPath) {
- this.folderPath = folderPath;
- return this;
- }
-
- /**
- * Get the fileName property: The name of the file in the Azure Data Lake Store. Type: string (or Expression with
- * resultType string).
- *
- * @return the fileName value.
- */
- public Object fileName() {
- return this.fileName;
- }
-
- /**
- * Set the fileName property: The name of the file in the Azure Data Lake Store. Type: string (or Expression with
- * resultType string).
- *
- * @param fileName the fileName value to set.
- * @return the AzureDataLakeStoreDatasetTypeProperties object itself.
- */
- public AzureDataLakeStoreDatasetTypeProperties withFileName(Object fileName) {
- this.fileName = fileName;
- return this;
- }
-
- /**
- * Get the format property: The format of the Data Lake Store.
- *
- * @return the format value.
- */
- public DatasetStorageFormat format() {
- return this.format;
- }
-
- /**
- * Set the format property: The format of the Data Lake Store.
- *
- * @param format the format value to set.
- * @return the AzureDataLakeStoreDatasetTypeProperties object itself.
- */
- public AzureDataLakeStoreDatasetTypeProperties withFormat(DatasetStorageFormat format) {
- this.format = format;
- return this;
- }
-
- /**
- * Get the compression property: The data compression method used for the item(s) in the Azure Data Lake Store.
- *
- * @return the compression value.
- */
- public DatasetCompression compression() {
- return this.compression;
- }
-
- /**
- * Set the compression property: The data compression method used for the item(s) in the Azure Data Lake Store.
- *
- * @param compression the compression value to set.
- * @return the AzureDataLakeStoreDatasetTypeProperties object itself.
- */
- public AzureDataLakeStoreDatasetTypeProperties withCompression(DatasetCompression compression) {
- this.compression = compression;
- return this;
- }
-
- /**
- * Validates the instance.
- *
- * @throws IllegalArgumentException thrown if the instance is not valid.
- */
- public void validate() {
- if (format() != null) {
- format().validate();
- }
- if (compression() != null) {
- compression().validate();
- }
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AzureDataLakeStoreLinkedServiceTypeProperties.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AzureDataLakeStoreLinkedServiceTypeProperties.java
deleted file mode 100644
index e5c11a65d55cc..0000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AzureDataLakeStoreLinkedServiceTypeProperties.java
+++ /dev/null
@@ -1,330 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.datafactory.fluent.models;
-
-import com.azure.core.annotation.Fluent;
-import com.azure.core.util.logging.ClientLogger;
-import com.azure.resourcemanager.datafactory.models.CredentialReference;
-import com.azure.resourcemanager.datafactory.models.SecretBase;
-import com.fasterxml.jackson.annotation.JsonIgnore;
-import com.fasterxml.jackson.annotation.JsonProperty;
-
-/** Azure Data Lake Store linked service properties. */
-@Fluent
-public final class AzureDataLakeStoreLinkedServiceTypeProperties {
- @JsonIgnore
- private final ClientLogger logger = new ClientLogger(AzureDataLakeStoreLinkedServiceTypeProperties.class);
-
- /*
- * Data Lake Store service URI. Type: string (or Expression with resultType
- * string).
- */
- @JsonProperty(value = "dataLakeStoreUri", required = true)
- private Object dataLakeStoreUri;
-
- /*
- * The ID of the application used to authenticate against the Azure Data
- * Lake Store account. Type: string (or Expression with resultType string).
- */
- @JsonProperty(value = "servicePrincipalId")
- private Object servicePrincipalId;
-
- /*
- * The Key of the application used to authenticate against the Azure Data
- * Lake Store account.
- */
- @JsonProperty(value = "servicePrincipalKey")
- private SecretBase servicePrincipalKey;
-
- /*
- * The name or ID of the tenant to which the service principal belongs.
- * Type: string (or Expression with resultType string).
- */
- @JsonProperty(value = "tenant")
- private Object tenant;
-
- /*
- * Indicates the azure cloud type of the service principle auth. Allowed
- * values are AzurePublic, AzureChina, AzureUsGovernment, AzureGermany.
- * Default value is the data factory regions’ cloud type. Type: string (or
- * Expression with resultType string).
- */
- @JsonProperty(value = "azureCloudType")
- private Object azureCloudType;
-
- /*
- * Data Lake Store account name. Type: string (or Expression with
- * resultType string).
- */
- @JsonProperty(value = "accountName")
- private Object accountName;
-
- /*
- * Data Lake Store account subscription ID (if different from Data Factory
- * account). Type: string (or Expression with resultType string).
- */
- @JsonProperty(value = "subscriptionId")
- private Object subscriptionId;
-
- /*
- * Data Lake Store account resource group name (if different from Data
- * Factory account). Type: string (or Expression with resultType string).
- */
- @JsonProperty(value = "resourceGroupName")
- private Object resourceGroupName;
-
- /*
- * The encrypted credential used for authentication. Credentials are
- * encrypted using the integration runtime credential manager. Type: string
- * (or Expression with resultType string).
- */
- @JsonProperty(value = "encryptedCredential")
- private Object encryptedCredential;
-
- /*
- * The credential reference containing authentication information.
- */
- @JsonProperty(value = "credential")
- private CredentialReference credential;
-
- /**
- * Get the dataLakeStoreUri property: Data Lake Store service URI. Type: string (or Expression with resultType
- * string).
- *
- * @return the dataLakeStoreUri value.
- */
- public Object dataLakeStoreUri() {
- return this.dataLakeStoreUri;
- }
-
- /**
- * Set the dataLakeStoreUri property: Data Lake Store service URI. Type: string (or Expression with resultType
- * string).
- *
- * @param dataLakeStoreUri the dataLakeStoreUri value to set.
- * @return the AzureDataLakeStoreLinkedServiceTypeProperties object itself.
- */
- public AzureDataLakeStoreLinkedServiceTypeProperties withDataLakeStoreUri(Object dataLakeStoreUri) {
- this.dataLakeStoreUri = dataLakeStoreUri;
- return this;
- }
-
- /**
- * Get the servicePrincipalId property: The ID of the application used to authenticate against the Azure Data Lake
- * Store account. Type: string (or Expression with resultType string).
- *
- * @return the servicePrincipalId value.
- */
- public Object servicePrincipalId() {
- return this.servicePrincipalId;
- }
-
- /**
- * Set the servicePrincipalId property: The ID of the application used to authenticate against the Azure Data Lake
- * Store account. Type: string (or Expression with resultType string).
- *
- * @param servicePrincipalId the servicePrincipalId value to set.
- * @return the AzureDataLakeStoreLinkedServiceTypeProperties object itself.
- */
- public AzureDataLakeStoreLinkedServiceTypeProperties withServicePrincipalId(Object servicePrincipalId) {
- this.servicePrincipalId = servicePrincipalId;
- return this;
- }
-
- /**
- * Get the servicePrincipalKey property: The Key of the application used to authenticate against the Azure Data Lake
- * Store account.
- *
- * @return the servicePrincipalKey value.
- */
- public SecretBase servicePrincipalKey() {
- return this.servicePrincipalKey;
- }
-
- /**
- * Set the servicePrincipalKey property: The Key of the application used to authenticate against the Azure Data Lake
- * Store account.
- *
- * @param servicePrincipalKey the servicePrincipalKey value to set.
- * @return the AzureDataLakeStoreLinkedServiceTypeProperties object itself.
- */
- public AzureDataLakeStoreLinkedServiceTypeProperties withServicePrincipalKey(SecretBase servicePrincipalKey) {
- this.servicePrincipalKey = servicePrincipalKey;
- return this;
- }
-
- /**
- * Get the tenant property: The name or ID of the tenant to which the service principal belongs. Type: string (or
- * Expression with resultType string).
- *
- * @return the tenant value.
- */
- public Object tenant() {
- return this.tenant;
- }
-
- /**
- * Set the tenant property: The name or ID of the tenant to which the service principal belongs. Type: string (or
- * Expression with resultType string).
- *
- * @param tenant the tenant value to set.
- * @return the AzureDataLakeStoreLinkedServiceTypeProperties object itself.
- */
- public AzureDataLakeStoreLinkedServiceTypeProperties withTenant(Object tenant) {
- this.tenant = tenant;
- return this;
- }
-
- /**
- * Get the azureCloudType property: Indicates the azure cloud type of the service principle auth. Allowed values are
- * AzurePublic, AzureChina, AzureUsGovernment, AzureGermany. Default value is the data factory regions’ cloud type.
- * Type: string (or Expression with resultType string).
- *
- * @return the azureCloudType value.
- */
- public Object azureCloudType() {
- return this.azureCloudType;
- }
-
- /**
- * Set the azureCloudType property: Indicates the azure cloud type of the service principle auth. Allowed values are
- * AzurePublic, AzureChina, AzureUsGovernment, AzureGermany. Default value is the data factory regions’ cloud type.
- * Type: string (or Expression with resultType string).
- *
- * @param azureCloudType the azureCloudType value to set.
- * @return the AzureDataLakeStoreLinkedServiceTypeProperties object itself.
- */
- public AzureDataLakeStoreLinkedServiceTypeProperties withAzureCloudType(Object azureCloudType) {
- this.azureCloudType = azureCloudType;
- return this;
- }
-
- /**
- * Get the accountName property: Data Lake Store account name. Type: string (or Expression with resultType string).
- *
- * @return the accountName value.
- */
- public Object accountName() {
- return this.accountName;
- }
-
- /**
- * Set the accountName property: Data Lake Store account name. Type: string (or Expression with resultType string).
- *
- * @param accountName the accountName value to set.
- * @return the AzureDataLakeStoreLinkedServiceTypeProperties object itself.
- */
- public AzureDataLakeStoreLinkedServiceTypeProperties withAccountName(Object accountName) {
- this.accountName = accountName;
- return this;
- }
-
- /**
- * Get the subscriptionId property: Data Lake Store account subscription ID (if different from Data Factory
- * account). Type: string (or Expression with resultType string).
- *
- * @return the subscriptionId value.
- */
- public Object subscriptionId() {
- return this.subscriptionId;
- }
-
- /**
- * Set the subscriptionId property: Data Lake Store account subscription ID (if different from Data Factory
- * account). Type: string (or Expression with resultType string).
- *
- * @param subscriptionId the subscriptionId value to set.
- * @return the AzureDataLakeStoreLinkedServiceTypeProperties object itself.
- */
- public AzureDataLakeStoreLinkedServiceTypeProperties withSubscriptionId(Object subscriptionId) {
- this.subscriptionId = subscriptionId;
- return this;
- }
-
- /**
- * Get the resourceGroupName property: Data Lake Store account resource group name (if different from Data Factory
- * account). Type: string (or Expression with resultType string).
- *
- * @return the resourceGroupName value.
- */
- public Object resourceGroupName() {
- return this.resourceGroupName;
- }
-
- /**
- * Set the resourceGroupName property: Data Lake Store account resource group name (if different from Data Factory
- * account). Type: string (or Expression with resultType string).
- *
- * @param resourceGroupName the resourceGroupName value to set.
- * @return the AzureDataLakeStoreLinkedServiceTypeProperties object itself.
- */
- public AzureDataLakeStoreLinkedServiceTypeProperties withResourceGroupName(Object resourceGroupName) {
- this.resourceGroupName = resourceGroupName;
- return this;
- }
-
- /**
- * Get the encryptedCredential property: 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 encryptedCredential property: 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 AzureDataLakeStoreLinkedServiceTypeProperties object itself.
- */
- public AzureDataLakeStoreLinkedServiceTypeProperties withEncryptedCredential(Object encryptedCredential) {
- this.encryptedCredential = encryptedCredential;
- return this;
- }
-
- /**
- * Get the credential property: The credential reference containing authentication information.
- *
- * @return the credential value.
- */
- public CredentialReference credential() {
- return this.credential;
- }
-
- /**
- * Set the credential property: The credential reference containing authentication information.
- *
- * @param credential the credential value to set.
- * @return the AzureDataLakeStoreLinkedServiceTypeProperties object itself.
- */
- public AzureDataLakeStoreLinkedServiceTypeProperties withCredential(CredentialReference credential) {
- this.credential = credential;
- return this;
- }
-
- /**
- * Validates the instance.
- *
- * @throws IllegalArgumentException thrown if the instance is not valid.
- */
- public void validate() {
- if (dataLakeStoreUri() == null) {
- throw logger
- .logExceptionAsError(
- new IllegalArgumentException(
- "Missing required property dataLakeStoreUri in model"
- + " AzureDataLakeStoreLinkedServiceTypeProperties"));
- }
- if (servicePrincipalKey() != null) {
- servicePrincipalKey().validate();
- }
- if (credential() != null) {
- credential().validate();
- }
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AzureDatabricksDeltaLakeDatasetTypeProperties.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AzureDatabricksDeltaLakeDatasetTypeProperties.java
deleted file mode 100644
index c0f90f4894223..0000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AzureDatabricksDeltaLakeDatasetTypeProperties.java
+++ /dev/null
@@ -1,79 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.datafactory.fluent.models;
-
-import com.azure.core.annotation.Fluent;
-import com.azure.core.util.logging.ClientLogger;
-import com.fasterxml.jackson.annotation.JsonIgnore;
-import com.fasterxml.jackson.annotation.JsonProperty;
-
-/** Azure Databricks Delta Lake Dataset Properties. */
-@Fluent
-public final class AzureDatabricksDeltaLakeDatasetTypeProperties {
- @JsonIgnore
- private final ClientLogger logger = new ClientLogger(AzureDatabricksDeltaLakeDatasetTypeProperties.class);
-
- /*
- * The name of delta table. Type: string (or Expression with resultType
- * string).
- */
- @JsonProperty(value = "table")
- private Object table;
-
- /*
- * The database name of delta table. Type: string (or Expression with
- * resultType string).
- */
- @JsonProperty(value = "database")
- private Object database;
-
- /**
- * Get the table property: The name of delta table. Type: string (or Expression with resultType string).
- *
- * @return the table value.
- */
- public Object table() {
- return this.table;
- }
-
- /**
- * Set the table property: The name of delta table. Type: string (or Expression with resultType string).
- *
- * @param table the table value to set.
- * @return the AzureDatabricksDeltaLakeDatasetTypeProperties object itself.
- */
- public AzureDatabricksDeltaLakeDatasetTypeProperties withTable(Object table) {
- this.table = table;
- return this;
- }
-
- /**
- * Get the database property: 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 property: The database name of delta table. Type: string (or Expression with resultType string).
- *
- * @param database the database value to set.
- * @return the AzureDatabricksDeltaLakeDatasetTypeProperties object itself.
- */
- public AzureDatabricksDeltaLakeDatasetTypeProperties withDatabase(Object database) {
- this.database = database;
- return this;
- }
-
- /**
- * Validates the instance.
- *
- * @throws IllegalArgumentException thrown if the instance is not valid.
- */
- public void validate() {
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AzureDatabricksDetltaLakeLinkedServiceTypeProperties.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AzureDatabricksDetltaLakeLinkedServiceTypeProperties.java
deleted file mode 100644
index 574ae43888afe..0000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AzureDatabricksDetltaLakeLinkedServiceTypeProperties.java
+++ /dev/null
@@ -1,156 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.datafactory.fluent.models;
-
-import com.azure.core.annotation.Fluent;
-import com.azure.core.util.logging.ClientLogger;
-import com.azure.resourcemanager.datafactory.models.SecretBase;
-import com.fasterxml.jackson.annotation.JsonIgnore;
-import com.fasterxml.jackson.annotation.JsonProperty;
-
-/** Azure Databricks Delta Lake linked service properties. */
-@Fluent
-public final class AzureDatabricksDetltaLakeLinkedServiceTypeProperties {
- @JsonIgnore
- private final ClientLogger logger = new ClientLogger(AzureDatabricksDetltaLakeLinkedServiceTypeProperties.class);
-
- /*
- * .azuredatabricks.net, domain name of your Databricks deployment.
- * Type: string (or Expression with resultType string).
- */
- @JsonProperty(value = "domain", required = true)
- private Object domain;
-
- /*
- * Access token for databricks REST API. Refer to
- * https://docs.azuredatabricks.net/api/latest/authentication.html. Type:
- * string, SecureString or AzureKeyVaultSecretReference.
- */
- @JsonProperty(value = "accessToken")
- private SecretBase accessToken;
-
- /*
- * The id of an existing interactive cluster that will be used for all runs
- * of this job. Type: string (or Expression with resultType string).
- */
- @JsonProperty(value = "clusterId")
- private Object clusterId;
-
- /*
- * The encrypted credential used for authentication. Credentials are
- * encrypted using the integration runtime credential manager. Type: string
- * (or Expression with resultType string).
- */
- @JsonProperty(value = "encryptedCredential")
- private Object encryptedCredential;
-
- /**
- * Get the domain property: <REGION>.azuredatabricks.net, domain name of your Databricks deployment. Type:
- * string (or Expression with resultType string).
- *
- * @return the domain value.
- */
- public Object domain() {
- return this.domain;
- }
-
- /**
- * Set the domain property: <REGION>.azuredatabricks.net, domain name of your Databricks deployment. Type:
- * string (or Expression with resultType string).
- *
- * @param domain the domain value to set.
- * @return the AzureDatabricksDetltaLakeLinkedServiceTypeProperties object itself.
- */
- public AzureDatabricksDetltaLakeLinkedServiceTypeProperties withDomain(Object domain) {
- this.domain = domain;
- return this;
- }
-
- /**
- * Get the accessToken property: Access token for databricks REST API. Refer to
- * https://docs.azuredatabricks.net/api/latest/authentication.html. Type: string, SecureString or
- * AzureKeyVaultSecretReference.
- *
- * @return the accessToken value.
- */
- public SecretBase accessToken() {
- return this.accessToken;
- }
-
- /**
- * Set the accessToken property: Access token for databricks REST API. Refer to
- * https://docs.azuredatabricks.net/api/latest/authentication.html. Type: string, SecureString or
- * AzureKeyVaultSecretReference.
- *
- * @param accessToken the accessToken value to set.
- * @return the AzureDatabricksDetltaLakeLinkedServiceTypeProperties object itself.
- */
- public AzureDatabricksDetltaLakeLinkedServiceTypeProperties withAccessToken(SecretBase accessToken) {
- this.accessToken = accessToken;
- return this;
- }
-
- /**
- * Get the clusterId property: The id of an existing interactive cluster that will be used for all runs of this job.
- * Type: string (or Expression with resultType string).
- *
- * @return the clusterId value.
- */
- public Object clusterId() {
- return this.clusterId;
- }
-
- /**
- * Set the clusterId property: The id of an existing interactive cluster that will be used for all runs of this job.
- * Type: string (or Expression with resultType string).
- *
- * @param clusterId the clusterId value to set.
- * @return the AzureDatabricksDetltaLakeLinkedServiceTypeProperties object itself.
- */
- public AzureDatabricksDetltaLakeLinkedServiceTypeProperties withClusterId(Object clusterId) {
- this.clusterId = clusterId;
- return this;
- }
-
- /**
- * Get the encryptedCredential property: 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 encryptedCredential property: 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 AzureDatabricksDetltaLakeLinkedServiceTypeProperties object itself.
- */
- public AzureDatabricksDetltaLakeLinkedServiceTypeProperties withEncryptedCredential(Object encryptedCredential) {
- this.encryptedCredential = encryptedCredential;
- return this;
- }
-
- /**
- * Validates the instance.
- *
- * @throws IllegalArgumentException thrown if the instance is not valid.
- */
- public void validate() {
- if (domain() == null) {
- throw logger
- .logExceptionAsError(
- new IllegalArgumentException(
- "Missing required property domain in model"
- + " AzureDatabricksDetltaLakeLinkedServiceTypeProperties"));
- }
- if (accessToken() != null) {
- accessToken().validate();
- }
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AzureDatabricksLinkedServiceTypeProperties.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AzureDatabricksLinkedServiceTypeProperties.java
deleted file mode 100644
index efd1cc9632066..0000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AzureDatabricksLinkedServiceTypeProperties.java
+++ /dev/null
@@ -1,620 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.datafactory.fluent.models;
-
-import com.azure.core.annotation.Fluent;
-import com.azure.core.util.logging.ClientLogger;
-import com.azure.resourcemanager.datafactory.models.CredentialReference;
-import com.azure.resourcemanager.datafactory.models.SecretBase;
-import com.fasterxml.jackson.annotation.JsonIgnore;
-import com.fasterxml.jackson.annotation.JsonInclude;
-import com.fasterxml.jackson.annotation.JsonProperty;
-import java.util.Map;
-
-/** Azure Databricks linked service properties. */
-@Fluent
-public final class AzureDatabricksLinkedServiceTypeProperties {
- @JsonIgnore private final ClientLogger logger = new ClientLogger(AzureDatabricksLinkedServiceTypeProperties.class);
-
- /*
- * .azuredatabricks.net, domain name of your Databricks deployment.
- * Type: string (or Expression with resultType string).
- */
- @JsonProperty(value = "domain", required = true)
- private Object domain;
-
- /*
- * Access token for databricks REST API. Refer to
- * https://docs.azuredatabricks.net/api/latest/authentication.html. Type:
- * string (or Expression with resultType string).
- */
- @JsonProperty(value = "accessToken")
- private SecretBase accessToken;
-
- /*
- * Required to specify MSI, if using Workspace resource id for databricks
- * REST API. Type: string (or Expression with resultType string).
- */
- @JsonProperty(value = "authentication")
- private Object authentication;
-
- /*
- * Workspace resource id for databricks REST API. Type: string (or
- * Expression with resultType string).
- */
- @JsonProperty(value = "workspaceResourceId")
- private Object workspaceResourceId;
-
- /*
- * The id of an existing interactive cluster that will be used for all runs
- * of this activity. Type: string (or Expression with resultType string).
- */
- @JsonProperty(value = "existingClusterId")
- private Object existingClusterId;
-
- /*
- * The id of an existing instance pool that will be used for all runs of
- * this activity. Type: string (or Expression with resultType string).
- */
- @JsonProperty(value = "instancePoolId")
- private Object instancePoolId;
-
- /*
- * If not using an existing interactive cluster, this specifies the Spark
- * version of a new job cluster or instance pool nodes created for each run
- * of this activity. Required if instancePoolId is specified. Type: string
- * (or Expression with resultType string).
- */
- @JsonProperty(value = "newClusterVersion")
- private Object newClusterVersion;
-
- /*
- * If not using an existing interactive cluster, this specifies the number
- * of worker nodes to use for the new job cluster or instance pool. For new
- * job clusters, this a string-formatted Int32, like '1' means numOfWorker
- * is 1 or '1:10' means auto-scale from 1 (min) to 10 (max). For instance
- * pools, this is a string-formatted Int32, and can only specify a fixed
- * number of worker nodes, such as '2'. Required if newClusterVersion is
- * specified. Type: string (or Expression with resultType string).
- */
- @JsonProperty(value = "newClusterNumOfWorker")
- private Object newClusterNumOfWorker;
-
- /*
- * The node type of the new job cluster. This property is required if
- * newClusterVersion is specified and instancePoolId is not specified. If
- * instancePoolId is specified, this property is ignored. Type: string (or
- * Expression with resultType string).
- */
- @JsonProperty(value = "newClusterNodeType")
- private Object newClusterNodeType;
-
- /*
- * A set of optional, user-specified Spark configuration key-value pairs.
- */
- @JsonProperty(value = "newClusterSparkConf")
- @JsonInclude(value = JsonInclude.Include.NON_NULL, content = JsonInclude.Include.ALWAYS)
- private Map newClusterSparkConf;
-
- /*
- * A set of optional, user-specified Spark environment variables key-value
- * pairs.
- */
- @JsonProperty(value = "newClusterSparkEnvVars")
- @JsonInclude(value = JsonInclude.Include.NON_NULL, content = JsonInclude.Include.ALWAYS)
- private Map newClusterSparkEnvVars;
-
- /*
- * Additional tags for cluster resources. This property is ignored in
- * instance pool configurations.
- */
- @JsonProperty(value = "newClusterCustomTags")
- @JsonInclude(value = JsonInclude.Include.NON_NULL, content = JsonInclude.Include.ALWAYS)
- private Map newClusterCustomTags;
-
- /*
- * Specify a location to deliver Spark driver, worker, and event logs.
- * Type: string (or Expression with resultType string).
- */
- @JsonProperty(value = "newClusterLogDestination")
- private Object newClusterLogDestination;
-
- /*
- * The driver node type for the new job cluster. This property is ignored
- * in instance pool configurations. Type: string (or Expression with
- * resultType string).
- */
- @JsonProperty(value = "newClusterDriverNodeType")
- private Object newClusterDriverNodeType;
-
- /*
- * User-defined initialization scripts for the new cluster. Type: array of
- * strings (or Expression with resultType array of strings).
- */
- @JsonProperty(value = "newClusterInitScripts")
- private Object newClusterInitScripts;
-
- /*
- * Enable the elastic disk on the new cluster. This property is now
- * ignored, and takes the default elastic disk behavior in Databricks
- * (elastic disks are always enabled). Type: boolean (or Expression with
- * resultType boolean).
- */
- @JsonProperty(value = "newClusterEnableElasticDisk")
- private Object newClusterEnableElasticDisk;
-
- /*
- * The encrypted credential used for authentication. Credentials are
- * encrypted using the integration runtime credential manager. Type: string
- * (or Expression with resultType string).
- */
- @JsonProperty(value = "encryptedCredential")
- private Object encryptedCredential;
-
- /*
- * The policy id for limiting the ability to configure clusters based on a
- * user defined set of rules. Type: string (or Expression with resultType
- * string).
- */
- @JsonProperty(value = "policyId")
- private Object policyId;
-
- /*
- * The credential reference containing authentication information.
- */
- @JsonProperty(value = "credential")
- private CredentialReference credential;
-
- /**
- * Get the domain property: <REGION>.azuredatabricks.net, domain name of your Databricks deployment. Type:
- * string (or Expression with resultType string).
- *
- * @return the domain value.
- */
- public Object domain() {
- return this.domain;
- }
-
- /**
- * Set the domain property: <REGION>.azuredatabricks.net, domain name of your Databricks deployment. Type:
- * string (or Expression with resultType string).
- *
- * @param domain the domain value to set.
- * @return the AzureDatabricksLinkedServiceTypeProperties object itself.
- */
- public AzureDatabricksLinkedServiceTypeProperties withDomain(Object domain) {
- this.domain = domain;
- return this;
- }
-
- /**
- * Get the accessToken property: Access token for databricks REST API. Refer to
- * https://docs.azuredatabricks.net/api/latest/authentication.html. Type: string (or Expression with resultType
- * string).
- *
- * @return the accessToken value.
- */
- public SecretBase accessToken() {
- return this.accessToken;
- }
-
- /**
- * Set the accessToken property: Access token for databricks REST API. Refer to
- * https://docs.azuredatabricks.net/api/latest/authentication.html. Type: string (or Expression with resultType
- * string).
- *
- * @param accessToken the accessToken value to set.
- * @return the AzureDatabricksLinkedServiceTypeProperties object itself.
- */
- public AzureDatabricksLinkedServiceTypeProperties withAccessToken(SecretBase accessToken) {
- this.accessToken = accessToken;
- return this;
- }
-
- /**
- * Get the authentication property: Required to specify MSI, if using Workspace resource id for databricks REST API.
- * Type: string (or Expression with resultType string).
- *
- * @return the authentication value.
- */
- public Object authentication() {
- return this.authentication;
- }
-
- /**
- * Set the authentication property: Required to specify MSI, if using Workspace resource id for databricks REST API.
- * Type: string (or Expression with resultType string).
- *
- * @param authentication the authentication value to set.
- * @return the AzureDatabricksLinkedServiceTypeProperties object itself.
- */
- public AzureDatabricksLinkedServiceTypeProperties withAuthentication(Object authentication) {
- this.authentication = authentication;
- return this;
- }
-
- /**
- * Get the workspaceResourceId property: Workspace resource id for databricks REST API. Type: string (or Expression
- * with resultType string).
- *
- * @return the workspaceResourceId value.
- */
- public Object workspaceResourceId() {
- return this.workspaceResourceId;
- }
-
- /**
- * Set the workspaceResourceId property: Workspace resource id for databricks REST API. Type: string (or Expression
- * with resultType string).
- *
- * @param workspaceResourceId the workspaceResourceId value to set.
- * @return the AzureDatabricksLinkedServiceTypeProperties object itself.
- */
- public AzureDatabricksLinkedServiceTypeProperties withWorkspaceResourceId(Object workspaceResourceId) {
- this.workspaceResourceId = workspaceResourceId;
- return this;
- }
-
- /**
- * Get the existingClusterId property: The id of an existing interactive cluster that will be used for all runs of
- * this activity. Type: string (or Expression with resultType string).
- *
- * @return the existingClusterId value.
- */
- public Object existingClusterId() {
- return this.existingClusterId;
- }
-
- /**
- * Set the existingClusterId property: The id of an existing interactive cluster that will be used for all runs of
- * this activity. Type: string (or Expression with resultType string).
- *
- * @param existingClusterId the existingClusterId value to set.
- * @return the AzureDatabricksLinkedServiceTypeProperties object itself.
- */
- public AzureDatabricksLinkedServiceTypeProperties withExistingClusterId(Object existingClusterId) {
- this.existingClusterId = existingClusterId;
- return this;
- }
-
- /**
- * Get the instancePoolId property: The id of an existing instance pool that will be used for all runs of this
- * activity. Type: string (or Expression with resultType string).
- *
- * @return the instancePoolId value.
- */
- public Object instancePoolId() {
- return this.instancePoolId;
- }
-
- /**
- * Set the instancePoolId property: The id of an existing instance pool that will be used for all runs of this
- * activity. Type: string (or Expression with resultType string).
- *
- * @param instancePoolId the instancePoolId value to set.
- * @return the AzureDatabricksLinkedServiceTypeProperties object itself.
- */
- public AzureDatabricksLinkedServiceTypeProperties withInstancePoolId(Object instancePoolId) {
- this.instancePoolId = instancePoolId;
- return this;
- }
-
- /**
- * Get the newClusterVersion property: If not using an existing interactive cluster, this specifies the Spark
- * version of a new job cluster or instance pool nodes created for each run of this activity. Required if
- * instancePoolId is specified. Type: string (or Expression with resultType string).
- *
- * @return the newClusterVersion value.
- */
- public Object newClusterVersion() {
- return this.newClusterVersion;
- }
-
- /**
- * Set the newClusterVersion property: If not using an existing interactive cluster, this specifies the Spark
- * version of a new job cluster or instance pool nodes created for each run of this activity. Required if
- * instancePoolId is specified. Type: string (or Expression with resultType string).
- *
- * @param newClusterVersion the newClusterVersion value to set.
- * @return the AzureDatabricksLinkedServiceTypeProperties object itself.
- */
- public AzureDatabricksLinkedServiceTypeProperties withNewClusterVersion(Object newClusterVersion) {
- this.newClusterVersion = newClusterVersion;
- return this;
- }
-
- /**
- * Get the newClusterNumOfWorker property: If not using an existing interactive cluster, this specifies the number
- * of worker nodes to use for the new job cluster or instance pool. For new job clusters, this a string-formatted
- * Int32, like '1' means numOfWorker is 1 or '1:10' means auto-scale from 1 (min) to 10 (max). For instance pools,
- * this is a string-formatted Int32, and can only specify a fixed number of worker nodes, such as '2'. Required if
- * newClusterVersion is specified. Type: string (or Expression with resultType string).
- *
- * @return the newClusterNumOfWorker value.
- */
- public Object newClusterNumOfWorker() {
- return this.newClusterNumOfWorker;
- }
-
- /**
- * Set the newClusterNumOfWorker property: If not using an existing interactive cluster, this specifies the number
- * of worker nodes to use for the new job cluster or instance pool. For new job clusters, this a string-formatted
- * Int32, like '1' means numOfWorker is 1 or '1:10' means auto-scale from 1 (min) to 10 (max). For instance pools,
- * this is a string-formatted Int32, and can only specify a fixed number of worker nodes, such as '2'. Required if
- * newClusterVersion is specified. Type: string (or Expression with resultType string).
- *
- * @param newClusterNumOfWorker the newClusterNumOfWorker value to set.
- * @return the AzureDatabricksLinkedServiceTypeProperties object itself.
- */
- public AzureDatabricksLinkedServiceTypeProperties withNewClusterNumOfWorker(Object newClusterNumOfWorker) {
- this.newClusterNumOfWorker = newClusterNumOfWorker;
- return this;
- }
-
- /**
- * Get the newClusterNodeType property: The node type of the new job cluster. This property is required if
- * newClusterVersion is specified and instancePoolId is not specified. If instancePoolId is specified, this property
- * is ignored. Type: string (or Expression with resultType string).
- *
- * @return the newClusterNodeType value.
- */
- public Object newClusterNodeType() {
- return this.newClusterNodeType;
- }
-
- /**
- * Set the newClusterNodeType property: The node type of the new job cluster. This property is required if
- * newClusterVersion is specified and instancePoolId is not specified. If instancePoolId is specified, this property
- * is ignored. Type: string (or Expression with resultType string).
- *
- * @param newClusterNodeType the newClusterNodeType value to set.
- * @return the AzureDatabricksLinkedServiceTypeProperties object itself.
- */
- public AzureDatabricksLinkedServiceTypeProperties withNewClusterNodeType(Object newClusterNodeType) {
- this.newClusterNodeType = newClusterNodeType;
- return this;
- }
-
- /**
- * Get the newClusterSparkConf property: A set of optional, user-specified Spark configuration key-value pairs.
- *
- * @return the newClusterSparkConf value.
- */
- public Map newClusterSparkConf() {
- return this.newClusterSparkConf;
- }
-
- /**
- * Set the newClusterSparkConf property: A set of optional, user-specified Spark configuration key-value pairs.
- *
- * @param newClusterSparkConf the newClusterSparkConf value to set.
- * @return the AzureDatabricksLinkedServiceTypeProperties object itself.
- */
- public AzureDatabricksLinkedServiceTypeProperties withNewClusterSparkConf(Map newClusterSparkConf) {
- this.newClusterSparkConf = newClusterSparkConf;
- return this;
- }
-
- /**
- * Get the newClusterSparkEnvVars property: A set of optional, user-specified Spark environment variables key-value
- * pairs.
- *
- * @return the newClusterSparkEnvVars value.
- */
- public Map newClusterSparkEnvVars() {
- return this.newClusterSparkEnvVars;
- }
-
- /**
- * Set the newClusterSparkEnvVars property: A set of optional, user-specified Spark environment variables key-value
- * pairs.
- *
- * @param newClusterSparkEnvVars the newClusterSparkEnvVars value to set.
- * @return the AzureDatabricksLinkedServiceTypeProperties object itself.
- */
- public AzureDatabricksLinkedServiceTypeProperties withNewClusterSparkEnvVars(
- Map newClusterSparkEnvVars) {
- this.newClusterSparkEnvVars = newClusterSparkEnvVars;
- return this;
- }
-
- /**
- * Get the newClusterCustomTags property: Additional tags for cluster resources. This property is ignored in
- * instance pool configurations.
- *
- * @return the newClusterCustomTags value.
- */
- public Map newClusterCustomTags() {
- return this.newClusterCustomTags;
- }
-
- /**
- * Set the newClusterCustomTags property: Additional tags for cluster resources. This property is ignored in
- * instance pool configurations.
- *
- * @param newClusterCustomTags the newClusterCustomTags value to set.
- * @return the AzureDatabricksLinkedServiceTypeProperties object itself.
- */
- public AzureDatabricksLinkedServiceTypeProperties withNewClusterCustomTags(
- Map newClusterCustomTags) {
- this.newClusterCustomTags = newClusterCustomTags;
- return this;
- }
-
- /**
- * Get the newClusterLogDestination property: Specify a location to deliver Spark driver, worker, and event logs.
- * Type: string (or Expression with resultType string).
- *
- * @return the newClusterLogDestination value.
- */
- public Object newClusterLogDestination() {
- return this.newClusterLogDestination;
- }
-
- /**
- * Set the newClusterLogDestination property: Specify a location to deliver Spark driver, worker, and event logs.
- * Type: string (or Expression with resultType string).
- *
- * @param newClusterLogDestination the newClusterLogDestination value to set.
- * @return the AzureDatabricksLinkedServiceTypeProperties object itself.
- */
- public AzureDatabricksLinkedServiceTypeProperties withNewClusterLogDestination(Object newClusterLogDestination) {
- this.newClusterLogDestination = newClusterLogDestination;
- return this;
- }
-
- /**
- * Get the newClusterDriverNodeType property: The driver node type for the new job cluster. This property is ignored
- * in instance pool configurations. Type: string (or Expression with resultType string).
- *
- * @return the newClusterDriverNodeType value.
- */
- public Object newClusterDriverNodeType() {
- return this.newClusterDriverNodeType;
- }
-
- /**
- * Set the newClusterDriverNodeType property: The driver node type for the new job cluster. This property is ignored
- * in instance pool configurations. Type: string (or Expression with resultType string).
- *
- * @param newClusterDriverNodeType the newClusterDriverNodeType value to set.
- * @return the AzureDatabricksLinkedServiceTypeProperties object itself.
- */
- public AzureDatabricksLinkedServiceTypeProperties withNewClusterDriverNodeType(Object newClusterDriverNodeType) {
- this.newClusterDriverNodeType = newClusterDriverNodeType;
- return this;
- }
-
- /**
- * Get the newClusterInitScripts property: User-defined initialization scripts for the new cluster. Type: array of
- * strings (or Expression with resultType array of strings).
- *
- * @return the newClusterInitScripts value.
- */
- public Object newClusterInitScripts() {
- return this.newClusterInitScripts;
- }
-
- /**
- * Set the newClusterInitScripts property: User-defined initialization scripts for the new cluster. Type: array of
- * strings (or Expression with resultType array of strings).
- *
- * @param newClusterInitScripts the newClusterInitScripts value to set.
- * @return the AzureDatabricksLinkedServiceTypeProperties object itself.
- */
- public AzureDatabricksLinkedServiceTypeProperties withNewClusterInitScripts(Object newClusterInitScripts) {
- this.newClusterInitScripts = newClusterInitScripts;
- return this;
- }
-
- /**
- * Get the newClusterEnableElasticDisk property: Enable the elastic disk on the new cluster. This property is now
- * ignored, and takes the default elastic disk behavior in Databricks (elastic disks are always enabled). Type:
- * boolean (or Expression with resultType boolean).
- *
- * @return the newClusterEnableElasticDisk value.
- */
- public Object newClusterEnableElasticDisk() {
- return this.newClusterEnableElasticDisk;
- }
-
- /**
- * Set the newClusterEnableElasticDisk property: Enable the elastic disk on the new cluster. This property is now
- * ignored, and takes the default elastic disk behavior in Databricks (elastic disks are always enabled). Type:
- * boolean (or Expression with resultType boolean).
- *
- * @param newClusterEnableElasticDisk the newClusterEnableElasticDisk value to set.
- * @return the AzureDatabricksLinkedServiceTypeProperties object itself.
- */
- public AzureDatabricksLinkedServiceTypeProperties withNewClusterEnableElasticDisk(
- Object newClusterEnableElasticDisk) {
- this.newClusterEnableElasticDisk = newClusterEnableElasticDisk;
- return this;
- }
-
- /**
- * Get the encryptedCredential property: 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 encryptedCredential property: 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 AzureDatabricksLinkedServiceTypeProperties object itself.
- */
- public AzureDatabricksLinkedServiceTypeProperties withEncryptedCredential(Object encryptedCredential) {
- this.encryptedCredential = encryptedCredential;
- return this;
- }
-
- /**
- * Get the policyId property: The policy id for limiting the ability to configure clusters based on a user defined
- * set of rules. Type: string (or Expression with resultType string).
- *
- * @return the policyId value.
- */
- public Object policyId() {
- return this.policyId;
- }
-
- /**
- * Set the policyId property: The policy id for limiting the ability to configure clusters based on a user defined
- * set of rules. Type: string (or Expression with resultType string).
- *
- * @param policyId the policyId value to set.
- * @return the AzureDatabricksLinkedServiceTypeProperties object itself.
- */
- public AzureDatabricksLinkedServiceTypeProperties withPolicyId(Object policyId) {
- this.policyId = policyId;
- return this;
- }
-
- /**
- * Get the credential property: The credential reference containing authentication information.
- *
- * @return the credential value.
- */
- public CredentialReference credential() {
- return this.credential;
- }
-
- /**
- * Set the credential property: The credential reference containing authentication information.
- *
- * @param credential the credential value to set.
- * @return the AzureDatabricksLinkedServiceTypeProperties object itself.
- */
- public AzureDatabricksLinkedServiceTypeProperties withCredential(CredentialReference credential) {
- this.credential = credential;
- return this;
- }
-
- /**
- * Validates the instance.
- *
- * @throws IllegalArgumentException thrown if the instance is not valid.
- */
- public void validate() {
- if (domain() == null) {
- throw logger
- .logExceptionAsError(
- new IllegalArgumentException(
- "Missing required property domain in model AzureDatabricksLinkedServiceTypeProperties"));
- }
- if (accessToken() != null) {
- accessToken().validate();
- }
- if (credential() != null) {
- credential().validate();
- }
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AzureFileStorageLinkedServiceTypeProperties.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AzureFileStorageLinkedServiceTypeProperties.java
deleted file mode 100644
index 312d17ae21c59..0000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AzureFileStorageLinkedServiceTypeProperties.java
+++ /dev/null
@@ -1,315 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.datafactory.fluent.models;
-
-import com.azure.core.annotation.Fluent;
-import com.azure.core.util.logging.ClientLogger;
-import com.azure.resourcemanager.datafactory.models.AzureKeyVaultSecretReference;
-import com.azure.resourcemanager.datafactory.models.SecretBase;
-import com.fasterxml.jackson.annotation.JsonIgnore;
-import com.fasterxml.jackson.annotation.JsonProperty;
-
-/** Azure File Storage linked service properties. */
-@Fluent
-public final class AzureFileStorageLinkedServiceTypeProperties {
- @JsonIgnore private final ClientLogger logger = new ClientLogger(AzureFileStorageLinkedServiceTypeProperties.class);
-
- /*
- * Host name of the server. Type: string (or Expression with resultType
- * string).
- */
- @JsonProperty(value = "host")
- private Object host;
-
- /*
- * User ID to logon the server. Type: string (or Expression with resultType
- * string).
- */
- @JsonProperty(value = "userId")
- private Object userId;
-
- /*
- * Password to logon the server.
- */
- @JsonProperty(value = "password")
- private SecretBase password;
-
- /*
- * The connection string. It is mutually exclusive with sasUri property.
- * Type: string, SecureString or AzureKeyVaultSecretReference.
- */
- @JsonProperty(value = "connectionString")
- private Object connectionString;
-
- /*
- * The Azure key vault secret reference of accountKey in connection string.
- */
- @JsonProperty(value = "accountKey")
- private AzureKeyVaultSecretReference accountKey;
-
- /*
- * SAS URI of the Azure File resource. It is mutually exclusive with
- * connectionString property. Type: string, SecureString or
- * AzureKeyVaultSecretReference.
- */
- @JsonProperty(value = "sasUri")
- private Object sasUri;
-
- /*
- * The Azure key vault secret reference of sasToken in sas uri.
- */
- @JsonProperty(value = "sasToken")
- private AzureKeyVaultSecretReference sasToken;
-
- /*
- * The azure file share name. It is required when auth with
- * accountKey/sasToken. Type: string (or Expression with resultType
- * string).
- */
- @JsonProperty(value = "fileShare")
- private Object fileShare;
-
- /*
- * The azure file share snapshot version. Type: string (or Expression with
- * resultType string).
- */
- @JsonProperty(value = "snapshot")
- private Object snapshot;
-
- /*
- * The encrypted credential used for authentication. Credentials are
- * encrypted using the integration runtime credential manager. Type: string
- * (or Expression with resultType string).
- */
- @JsonProperty(value = "encryptedCredential")
- private Object encryptedCredential;
-
- /**
- * Get the host property: Host name of the server. Type: string (or Expression with resultType string).
- *
- * @return the host value.
- */
- public Object host() {
- return this.host;
- }
-
- /**
- * Set the host property: Host name of the server. Type: string (or Expression with resultType string).
- *
- * @param host the host value to set.
- * @return the AzureFileStorageLinkedServiceTypeProperties object itself.
- */
- public AzureFileStorageLinkedServiceTypeProperties withHost(Object host) {
- this.host = host;
- return this;
- }
-
- /**
- * Get the userId property: User ID to logon the server. Type: string (or Expression with resultType string).
- *
- * @return the userId value.
- */
- public Object userId() {
- return this.userId;
- }
-
- /**
- * Set the userId property: User ID to logon the server. Type: string (or Expression with resultType string).
- *
- * @param userId the userId value to set.
- * @return the AzureFileStorageLinkedServiceTypeProperties object itself.
- */
- public AzureFileStorageLinkedServiceTypeProperties withUserId(Object userId) {
- this.userId = userId;
- return this;
- }
-
- /**
- * Get the password property: Password to logon the server.
- *
- * @return the password value.
- */
- public SecretBase password() {
- return this.password;
- }
-
- /**
- * Set the password property: Password to logon the server.
- *
- * @param password the password value to set.
- * @return the AzureFileStorageLinkedServiceTypeProperties object itself.
- */
- public AzureFileStorageLinkedServiceTypeProperties withPassword(SecretBase password) {
- this.password = password;
- return this;
- }
-
- /**
- * Get the connectionString property: The connection string. It is mutually exclusive with sasUri property. Type:
- * string, SecureString or AzureKeyVaultSecretReference.
- *
- * @return the connectionString value.
- */
- public Object connectionString() {
- return this.connectionString;
- }
-
- /**
- * Set the connectionString property: The connection string. It is mutually exclusive with sasUri property. Type:
- * string, SecureString or AzureKeyVaultSecretReference.
- *
- * @param connectionString the connectionString value to set.
- * @return the AzureFileStorageLinkedServiceTypeProperties object itself.
- */
- public AzureFileStorageLinkedServiceTypeProperties withConnectionString(Object connectionString) {
- this.connectionString = connectionString;
- return this;
- }
-
- /**
- * Get the accountKey property: The Azure key vault secret reference of accountKey in connection string.
- *
- * @return the accountKey value.
- */
- public AzureKeyVaultSecretReference accountKey() {
- return this.accountKey;
- }
-
- /**
- * Set the accountKey property: The Azure key vault secret reference of accountKey in connection string.
- *
- * @param accountKey the accountKey value to set.
- * @return the AzureFileStorageLinkedServiceTypeProperties object itself.
- */
- public AzureFileStorageLinkedServiceTypeProperties withAccountKey(AzureKeyVaultSecretReference accountKey) {
- this.accountKey = accountKey;
- return this;
- }
-
- /**
- * Get the sasUri property: SAS URI of the Azure File resource. It is mutually exclusive with connectionString
- * property. Type: string, SecureString or AzureKeyVaultSecretReference.
- *
- * @return the sasUri value.
- */
- public Object sasUri() {
- return this.sasUri;
- }
-
- /**
- * Set the sasUri property: SAS URI of the Azure File resource. It is mutually exclusive with connectionString
- * property. Type: string, SecureString or AzureKeyVaultSecretReference.
- *
- * @param sasUri the sasUri value to set.
- * @return the AzureFileStorageLinkedServiceTypeProperties object itself.
- */
- public AzureFileStorageLinkedServiceTypeProperties withSasUri(Object sasUri) {
- this.sasUri = sasUri;
- return this;
- }
-
- /**
- * Get the sasToken property: The Azure key vault secret reference of sasToken in sas uri.
- *
- * @return the sasToken value.
- */
- public AzureKeyVaultSecretReference sasToken() {
- return this.sasToken;
- }
-
- /**
- * Set the sasToken property: The Azure key vault secret reference of sasToken in sas uri.
- *
- * @param sasToken the sasToken value to set.
- * @return the AzureFileStorageLinkedServiceTypeProperties object itself.
- */
- public AzureFileStorageLinkedServiceTypeProperties withSasToken(AzureKeyVaultSecretReference sasToken) {
- this.sasToken = sasToken;
- return this;
- }
-
- /**
- * Get the fileShare property: The azure file share name. It is required when auth with accountKey/sasToken. Type:
- * string (or Expression with resultType string).
- *
- * @return the fileShare value.
- */
- public Object fileShare() {
- return this.fileShare;
- }
-
- /**
- * Set the fileShare property: The azure file share name. It is required when auth with accountKey/sasToken. Type:
- * string (or Expression with resultType string).
- *
- * @param fileShare the fileShare value to set.
- * @return the AzureFileStorageLinkedServiceTypeProperties object itself.
- */
- public AzureFileStorageLinkedServiceTypeProperties withFileShare(Object fileShare) {
- this.fileShare = fileShare;
- return this;
- }
-
- /**
- * Get the snapshot property: The azure file share snapshot version. Type: string (or Expression with resultType
- * string).
- *
- * @return the snapshot value.
- */
- public Object snapshot() {
- return this.snapshot;
- }
-
- /**
- * Set the snapshot property: The azure file share snapshot version. Type: string (or Expression with resultType
- * string).
- *
- * @param snapshot the snapshot value to set.
- * @return the AzureFileStorageLinkedServiceTypeProperties object itself.
- */
- public AzureFileStorageLinkedServiceTypeProperties withSnapshot(Object snapshot) {
- this.snapshot = snapshot;
- return this;
- }
-
- /**
- * Get the encryptedCredential property: 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 encryptedCredential property: 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 AzureFileStorageLinkedServiceTypeProperties object itself.
- */
- public AzureFileStorageLinkedServiceTypeProperties withEncryptedCredential(Object encryptedCredential) {
- this.encryptedCredential = encryptedCredential;
- return this;
- }
-
- /**
- * Validates the instance.
- *
- * @throws IllegalArgumentException thrown if the instance is not valid.
- */
- public void validate() {
- if (password() != null) {
- password().validate();
- }
- if (accountKey() != null) {
- accountKey().validate();
- }
- if (sasToken() != null) {
- sasToken().validate();
- }
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AzureFunctionActivityTypeProperties.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AzureFunctionActivityTypeProperties.java
deleted file mode 100644
index f1ae71fe92882..0000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AzureFunctionActivityTypeProperties.java
+++ /dev/null
@@ -1,155 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.datafactory.fluent.models;
-
-import com.azure.core.annotation.Fluent;
-import com.azure.core.util.logging.ClientLogger;
-import com.azure.resourcemanager.datafactory.models.AzureFunctionActivityMethod;
-import com.fasterxml.jackson.annotation.JsonIgnore;
-import com.fasterxml.jackson.annotation.JsonProperty;
-
-/** Azure Function activity type properties. */
-@Fluent
-public final class AzureFunctionActivityTypeProperties {
- @JsonIgnore private final ClientLogger logger = new ClientLogger(AzureFunctionActivityTypeProperties.class);
-
- /*
- * Rest API method for target endpoint.
- */
- @JsonProperty(value = "method", required = true)
- private AzureFunctionActivityMethod method;
-
- /*
- * Name of the Function that the Azure Function Activity will call. Type:
- * string (or Expression with resultType string)
- */
- @JsonProperty(value = "functionName", required = true)
- private Object functionName;
-
- /*
- * Represents the headers that will be sent to the request. For example, to
- * set the language and type on a request: "headers" : { "Accept-Language":
- * "en-us", "Content-Type": "application/json" }. Type: string (or
- * Expression with resultType string).
- */
- @JsonProperty(value = "headers")
- private Object headers;
-
- /*
- * Represents the payload that will be sent to the endpoint. Required for
- * POST/PUT method, not allowed for GET method Type: string (or Expression
- * with resultType string).
- */
- @JsonProperty(value = "body")
- private Object body;
-
- /**
- * Get the method property: Rest API method for target endpoint.
- *
- * @return the method value.
- */
- public AzureFunctionActivityMethod method() {
- return this.method;
- }
-
- /**
- * Set the method property: Rest API method for target endpoint.
- *
- * @param method the method value to set.
- * @return the AzureFunctionActivityTypeProperties object itself.
- */
- public AzureFunctionActivityTypeProperties withMethod(AzureFunctionActivityMethod method) {
- this.method = method;
- return this;
- }
-
- /**
- * Get the functionName property: Name of the Function that the Azure Function Activity will call. Type: string (or
- * Expression with resultType string).
- *
- * @return the functionName value.
- */
- public Object functionName() {
- return this.functionName;
- }
-
- /**
- * Set the functionName property: Name of the Function that the Azure Function Activity will call. Type: string (or
- * Expression with resultType string).
- *
- * @param functionName the functionName value to set.
- * @return the AzureFunctionActivityTypeProperties object itself.
- */
- public AzureFunctionActivityTypeProperties withFunctionName(Object functionName) {
- this.functionName = functionName;
- return this;
- }
-
- /**
- * Get the headers property: Represents the headers that will be sent to the request. For example, to set the
- * language and type on a request: "headers" : { "Accept-Language": "en-us", "Content-Type": "application/json" }.
- * Type: string (or Expression with resultType string).
- *
- * @return the headers value.
- */
- public Object headers() {
- return this.headers;
- }
-
- /**
- * Set the headers property: Represents the headers that will be sent to the request. For example, to set the
- * language and type on a request: "headers" : { "Accept-Language": "en-us", "Content-Type": "application/json" }.
- * Type: string (or Expression with resultType string).
- *
- * @param headers the headers value to set.
- * @return the AzureFunctionActivityTypeProperties object itself.
- */
- public AzureFunctionActivityTypeProperties withHeaders(Object headers) {
- this.headers = headers;
- return this;
- }
-
- /**
- * Get the body property: Represents the payload that will be sent to the endpoint. Required for POST/PUT method,
- * not allowed for GET method Type: string (or Expression with resultType string).
- *
- * @return the body value.
- */
- public Object body() {
- return this.body;
- }
-
- /**
- * Set the body property: Represents the payload that will be sent to the endpoint. Required for POST/PUT method,
- * not allowed for GET method Type: string (or Expression with resultType string).
- *
- * @param body the body value to set.
- * @return the AzureFunctionActivityTypeProperties object itself.
- */
- public AzureFunctionActivityTypeProperties withBody(Object body) {
- this.body = body;
- return this;
- }
-
- /**
- * Validates the instance.
- *
- * @throws IllegalArgumentException thrown if the instance is not valid.
- */
- public void validate() {
- if (method() == null) {
- throw logger
- .logExceptionAsError(
- new IllegalArgumentException(
- "Missing required property method in model AzureFunctionActivityTypeProperties"));
- }
- if (functionName() == null) {
- throw logger
- .logExceptionAsError(
- new IllegalArgumentException(
- "Missing required property functionName in model AzureFunctionActivityTypeProperties"));
- }
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AzureFunctionLinkedServiceTypeProperties.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AzureFunctionLinkedServiceTypeProperties.java
deleted file mode 100644
index 391bd87a67bc7..0000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AzureFunctionLinkedServiceTypeProperties.java
+++ /dev/null
@@ -1,204 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.datafactory.fluent.models;
-
-import com.azure.core.annotation.Fluent;
-import com.azure.core.util.logging.ClientLogger;
-import com.azure.resourcemanager.datafactory.models.CredentialReference;
-import com.azure.resourcemanager.datafactory.models.SecretBase;
-import com.fasterxml.jackson.annotation.JsonIgnore;
-import com.fasterxml.jackson.annotation.JsonProperty;
-
-/** Azure Function linked service properties. */
-@Fluent
-public final class AzureFunctionLinkedServiceTypeProperties {
- @JsonIgnore private final ClientLogger logger = new ClientLogger(AzureFunctionLinkedServiceTypeProperties.class);
-
- /*
- * The endpoint of the Azure Function App. URL will be in the format
- * https://.azurewebsites.net.
- */
- @JsonProperty(value = "functionAppUrl", required = true)
- private Object functionAppUrl;
-
- /*
- * Function or Host key for Azure Function App.
- */
- @JsonProperty(value = "functionKey")
- private SecretBase functionKey;
-
- /*
- * The encrypted credential used for authentication. Credentials are
- * encrypted using the integration runtime credential manager. Type: string
- * (or Expression with resultType string).
- */
- @JsonProperty(value = "encryptedCredential")
- private Object encryptedCredential;
-
- /*
- * The credential reference containing authentication information.
- */
- @JsonProperty(value = "credential")
- private CredentialReference credential;
-
- /*
- * Allowed token audiences for azure function.
- */
- @JsonProperty(value = "resourceId")
- private Object resourceId;
-
- /*
- * Type of authentication (Required to specify MSI) used to connect to
- * AzureFunction. Type: string (or Expression with resultType string).
- */
- @JsonProperty(value = "authentication")
- private Object authentication;
-
- /**
- * Get the functionAppUrl property: The endpoint of the Azure Function App. URL will be in the format
- * https://<accountName>.azurewebsites.net.
- *
- * @return the functionAppUrl value.
- */
- public Object functionAppUrl() {
- return this.functionAppUrl;
- }
-
- /**
- * Set the functionAppUrl property: The endpoint of the Azure Function App. URL will be in the format
- * https://<accountName>.azurewebsites.net.
- *
- * @param functionAppUrl the functionAppUrl value to set.
- * @return the AzureFunctionLinkedServiceTypeProperties object itself.
- */
- public AzureFunctionLinkedServiceTypeProperties withFunctionAppUrl(Object functionAppUrl) {
- this.functionAppUrl = functionAppUrl;
- return this;
- }
-
- /**
- * Get the functionKey property: Function or Host key for Azure Function App.
- *
- * @return the functionKey value.
- */
- public SecretBase functionKey() {
- return this.functionKey;
- }
-
- /**
- * Set the functionKey property: Function or Host key for Azure Function App.
- *
- * @param functionKey the functionKey value to set.
- * @return the AzureFunctionLinkedServiceTypeProperties object itself.
- */
- public AzureFunctionLinkedServiceTypeProperties withFunctionKey(SecretBase functionKey) {
- this.functionKey = functionKey;
- return this;
- }
-
- /**
- * Get the encryptedCredential property: 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 encryptedCredential property: 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 AzureFunctionLinkedServiceTypeProperties object itself.
- */
- public AzureFunctionLinkedServiceTypeProperties withEncryptedCredential(Object encryptedCredential) {
- this.encryptedCredential = encryptedCredential;
- return this;
- }
-
- /**
- * Get the credential property: The credential reference containing authentication information.
- *
- * @return the credential value.
- */
- public CredentialReference credential() {
- return this.credential;
- }
-
- /**
- * Set the credential property: The credential reference containing authentication information.
- *
- * @param credential the credential value to set.
- * @return the AzureFunctionLinkedServiceTypeProperties object itself.
- */
- public AzureFunctionLinkedServiceTypeProperties withCredential(CredentialReference credential) {
- this.credential = credential;
- return this;
- }
-
- /**
- * Get the resourceId property: Allowed token audiences for azure function.
- *
- * @return the resourceId value.
- */
- public Object resourceId() {
- return this.resourceId;
- }
-
- /**
- * Set the resourceId property: Allowed token audiences for azure function.
- *
- * @param resourceId the resourceId value to set.
- * @return the AzureFunctionLinkedServiceTypeProperties object itself.
- */
- public AzureFunctionLinkedServiceTypeProperties withResourceId(Object resourceId) {
- this.resourceId = resourceId;
- return this;
- }
-
- /**
- * Get the authentication property: Type of authentication (Required to specify MSI) used to connect to
- * AzureFunction. Type: string (or Expression with resultType string).
- *
- * @return the authentication value.
- */
- public Object authentication() {
- return this.authentication;
- }
-
- /**
- * Set the authentication property: Type of authentication (Required to specify MSI) used to connect to
- * AzureFunction. Type: string (or Expression with resultType string).
- *
- * @param authentication the authentication value to set.
- * @return the AzureFunctionLinkedServiceTypeProperties object itself.
- */
- public AzureFunctionLinkedServiceTypeProperties withAuthentication(Object authentication) {
- this.authentication = authentication;
- return this;
- }
-
- /**
- * Validates the instance.
- *
- * @throws IllegalArgumentException thrown if the instance is not valid.
- */
- public void validate() {
- if (functionAppUrl() == null) {
- throw logger
- .logExceptionAsError(
- new IllegalArgumentException(
- "Missing required property functionAppUrl in model AzureFunctionLinkedServiceTypeProperties"));
- }
- if (functionKey() != null) {
- functionKey().validate();
- }
- if (credential() != null) {
- credential().validate();
- }
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AzureKeyVaultLinkedServiceTypeProperties.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AzureKeyVaultLinkedServiceTypeProperties.java
deleted file mode 100644
index c2bc0492c24f3..0000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AzureKeyVaultLinkedServiceTypeProperties.java
+++ /dev/null
@@ -1,89 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.datafactory.fluent.models;
-
-import com.azure.core.annotation.Fluent;
-import com.azure.core.util.logging.ClientLogger;
-import com.azure.resourcemanager.datafactory.models.CredentialReference;
-import com.fasterxml.jackson.annotation.JsonIgnore;
-import com.fasterxml.jackson.annotation.JsonProperty;
-
-/** Azure Key Vault linked service properties. */
-@Fluent
-public final class AzureKeyVaultLinkedServiceTypeProperties {
- @JsonIgnore private final ClientLogger logger = new ClientLogger(AzureKeyVaultLinkedServiceTypeProperties.class);
-
- /*
- * The base URL of the Azure Key Vault. e.g. https://myakv.vault.azure.net
- * Type: string (or Expression with resultType string).
- */
- @JsonProperty(value = "baseUrl", required = true)
- private Object baseUrl;
-
- /*
- * The credential reference containing authentication information.
- */
- @JsonProperty(value = "credential")
- private CredentialReference credential;
-
- /**
- * Get the baseUrl property: The base URL of the Azure Key Vault. e.g. https://myakv.vault.azure.net Type: string
- * (or Expression with resultType string).
- *
- * @return the baseUrl value.
- */
- public Object baseUrl() {
- return this.baseUrl;
- }
-
- /**
- * Set the baseUrl property: The base URL of the Azure Key Vault. e.g. https://myakv.vault.azure.net Type: string
- * (or Expression with resultType string).
- *
- * @param baseUrl the baseUrl value to set.
- * @return the AzureKeyVaultLinkedServiceTypeProperties object itself.
- */
- public AzureKeyVaultLinkedServiceTypeProperties withBaseUrl(Object baseUrl) {
- this.baseUrl = baseUrl;
- return this;
- }
-
- /**
- * Get the credential property: The credential reference containing authentication information.
- *
- * @return the credential value.
- */
- public CredentialReference credential() {
- return this.credential;
- }
-
- /**
- * Set the credential property: The credential reference containing authentication information.
- *
- * @param credential the credential value to set.
- * @return the AzureKeyVaultLinkedServiceTypeProperties object itself.
- */
- public AzureKeyVaultLinkedServiceTypeProperties withCredential(CredentialReference credential) {
- this.credential = credential;
- return this;
- }
-
- /**
- * Validates the instance.
- *
- * @throws IllegalArgumentException thrown if the instance is not valid.
- */
- public void validate() {
- if (baseUrl() == null) {
- throw logger
- .logExceptionAsError(
- new IllegalArgumentException(
- "Missing required property baseUrl in model AzureKeyVaultLinkedServiceTypeProperties"));
- }
- if (credential() != null) {
- credential().validate();
- }
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AzureMLBatchExecutionActivityTypeProperties.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AzureMLBatchExecutionActivityTypeProperties.java
deleted file mode 100644
index c62aadf45e7c8..0000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AzureMLBatchExecutionActivityTypeProperties.java
+++ /dev/null
@@ -1,151 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.datafactory.fluent.models;
-
-import com.azure.core.annotation.Fluent;
-import com.azure.core.util.logging.ClientLogger;
-import com.azure.resourcemanager.datafactory.models.AzureMLWebServiceFile;
-import com.fasterxml.jackson.annotation.JsonIgnore;
-import com.fasterxml.jackson.annotation.JsonInclude;
-import com.fasterxml.jackson.annotation.JsonProperty;
-import java.util.Map;
-
-/** Azure ML Batch Execution activity properties. */
-@Fluent
-public final class AzureMLBatchExecutionActivityTypeProperties {
- @JsonIgnore private final ClientLogger logger = new ClientLogger(AzureMLBatchExecutionActivityTypeProperties.class);
-
- /*
- * Key,Value pairs to be passed to the Azure ML Batch Execution Service
- * endpoint. Keys must match the names of web service parameters defined in
- * the published Azure ML web service. Values will be passed in the
- * GlobalParameters property of the Azure ML batch execution request.
- */
- @JsonProperty(value = "globalParameters")
- @JsonInclude(value = JsonInclude.Include.NON_NULL, content = JsonInclude.Include.ALWAYS)
- private Map globalParameters;
-
- /*
- * Key,Value pairs, mapping the names of Azure ML endpoint's Web Service
- * Outputs to AzureMLWebServiceFile objects specifying the output Blob
- * locations. This information will be passed in the WebServiceOutputs
- * property of the Azure ML batch execution request.
- */
- @JsonProperty(value = "webServiceOutputs")
- @JsonInclude(value = JsonInclude.Include.NON_NULL, content = JsonInclude.Include.ALWAYS)
- private Map webServiceOutputs;
-
- /*
- * Key,Value pairs, mapping the names of Azure ML endpoint's Web Service
- * Inputs to AzureMLWebServiceFile objects specifying the input Blob
- * locations.. This information will be passed in the WebServiceInputs
- * property of the Azure ML batch execution request.
- */
- @JsonProperty(value = "webServiceInputs")
- @JsonInclude(value = JsonInclude.Include.NON_NULL, content = JsonInclude.Include.ALWAYS)
- private Map webServiceInputs;
-
- /**
- * Get the globalParameters property: Key,Value pairs to be passed to the Azure ML Batch Execution Service endpoint.
- * Keys must match the names of web service parameters defined in the published Azure ML web service. Values will be
- * passed in the GlobalParameters property of the Azure ML batch execution request.
- *
- * @return the globalParameters value.
- */
- public Map globalParameters() {
- return this.globalParameters;
- }
-
- /**
- * Set the globalParameters property: Key,Value pairs to be passed to the Azure ML Batch Execution Service endpoint.
- * Keys must match the names of web service parameters defined in the published Azure ML web service. Values will be
- * passed in the GlobalParameters property of the Azure ML batch execution request.
- *
- * @param globalParameters the globalParameters value to set.
- * @return the AzureMLBatchExecutionActivityTypeProperties object itself.
- */
- public AzureMLBatchExecutionActivityTypeProperties withGlobalParameters(Map globalParameters) {
- this.globalParameters = globalParameters;
- return this;
- }
-
- /**
- * Get the webServiceOutputs property: Key,Value pairs, mapping the names of Azure ML endpoint's Web Service Outputs
- * to AzureMLWebServiceFile objects specifying the output Blob locations. This information will be passed in the
- * WebServiceOutputs property of the Azure ML batch execution request.
- *
- * @return the webServiceOutputs value.
- */
- public Map webServiceOutputs() {
- return this.webServiceOutputs;
- }
-
- /**
- * Set the webServiceOutputs property: Key,Value pairs, mapping the names of Azure ML endpoint's Web Service Outputs
- * to AzureMLWebServiceFile objects specifying the output Blob locations. This information will be passed in the
- * WebServiceOutputs property of the Azure ML batch execution request.
- *
- * @param webServiceOutputs the webServiceOutputs value to set.
- * @return the AzureMLBatchExecutionActivityTypeProperties object itself.
- */
- public AzureMLBatchExecutionActivityTypeProperties withWebServiceOutputs(
- Map webServiceOutputs) {
- this.webServiceOutputs = webServiceOutputs;
- return this;
- }
-
- /**
- * Get the webServiceInputs property: Key,Value pairs, mapping the names of Azure ML endpoint's Web Service Inputs
- * to AzureMLWebServiceFile objects specifying the input Blob locations.. This information will be passed in the
- * WebServiceInputs property of the Azure ML batch execution request.
- *
- * @return the webServiceInputs value.
- */
- public Map webServiceInputs() {
- return this.webServiceInputs;
- }
-
- /**
- * Set the webServiceInputs property: Key,Value pairs, mapping the names of Azure ML endpoint's Web Service Inputs
- * to AzureMLWebServiceFile objects specifying the input Blob locations.. This information will be passed in the
- * WebServiceInputs property of the Azure ML batch execution request.
- *
- * @param webServiceInputs the webServiceInputs value to set.
- * @return the AzureMLBatchExecutionActivityTypeProperties object itself.
- */
- public AzureMLBatchExecutionActivityTypeProperties withWebServiceInputs(
- Map webServiceInputs) {
- this.webServiceInputs = webServiceInputs;
- return this;
- }
-
- /**
- * Validates the instance.
- *
- * @throws IllegalArgumentException thrown if the instance is not valid.
- */
- public void validate() {
- if (webServiceOutputs() != null) {
- webServiceOutputs()
- .values()
- .forEach(
- e -> {
- if (e != null) {
- e.validate();
- }
- });
- }
- if (webServiceInputs() != null) {
- webServiceInputs()
- .values()
- .forEach(
- e -> {
- if (e != null) {
- e.validate();
- }
- });
- }
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AzureMLExecutePipelineActivityTypeProperties.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AzureMLExecutePipelineActivityTypeProperties.java
deleted file mode 100644
index 8613443f9d1bb..0000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AzureMLExecutePipelineActivityTypeProperties.java
+++ /dev/null
@@ -1,279 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.datafactory.fluent.models;
-
-import com.azure.core.annotation.Fluent;
-import com.azure.core.util.logging.ClientLogger;
-import com.fasterxml.jackson.annotation.JsonIgnore;
-import com.fasterxml.jackson.annotation.JsonProperty;
-
-/** Azure ML Execute Pipeline activity properties. */
-@Fluent
-public final class AzureMLExecutePipelineActivityTypeProperties {
- @JsonIgnore
- private final ClientLogger logger = new ClientLogger(AzureMLExecutePipelineActivityTypeProperties.class);
-
- /*
- * ID of the published Azure ML pipeline. Type: string (or Expression with
- * resultType string).
- */
- @JsonProperty(value = "mlPipelineId")
- private Object mlPipelineId;
-
- /*
- * ID of the published Azure ML pipeline endpoint. Type: string (or
- * Expression with resultType string).
- */
- @JsonProperty(value = "mlPipelineEndpointId")
- private Object mlPipelineEndpointId;
-
- /*
- * Version of the published Azure ML pipeline endpoint. Type: string (or
- * Expression with resultType string).
- */
- @JsonProperty(value = "version")
- private Object version;
-
- /*
- * Run history experiment name of the pipeline run. This information will
- * be passed in the ExperimentName property of the published pipeline
- * execution request. Type: string (or Expression with resultType string).
- */
- @JsonProperty(value = "experimentName")
- private Object experimentName;
-
- /*
- * Key,Value pairs to be passed to the published Azure ML pipeline
- * endpoint. Keys must match the names of pipeline parameters defined in
- * the published pipeline. Values will be passed in the
- * ParameterAssignments property of the published pipeline execution
- * request. Type: object with key value pairs (or Expression with
- * resultType object).
- */
- @JsonProperty(value = "mlPipelineParameters")
- private Object mlPipelineParameters;
-
- /*
- * Dictionary used for changing data path assignments without retraining.
- * Values will be passed in the dataPathAssignments property of the
- * published pipeline execution request. Type: object with key value pairs
- * (or Expression with resultType object).
- */
- @JsonProperty(value = "dataPathAssignments")
- private Object dataPathAssignments;
-
- /*
- * The parent Azure ML Service pipeline run id. This information will be
- * passed in the ParentRunId property of the published pipeline execution
- * request. Type: string (or Expression with resultType string).
- */
- @JsonProperty(value = "mlParentRunId")
- private Object mlParentRunId;
-
- /*
- * Whether to continue execution of other steps in the PipelineRun if a
- * step fails. This information will be passed in the continueOnStepFailure
- * property of the published pipeline execution request. Type: boolean (or
- * Expression with resultType boolean).
- */
- @JsonProperty(value = "continueOnStepFailure")
- private Object continueOnStepFailure;
-
- /**
- * Get the mlPipelineId property: ID of the published Azure ML pipeline. Type: string (or Expression with resultType
- * string).
- *
- * @return the mlPipelineId value.
- */
- public Object mlPipelineId() {
- return this.mlPipelineId;
- }
-
- /**
- * Set the mlPipelineId property: ID of the published Azure ML pipeline. Type: string (or Expression with resultType
- * string).
- *
- * @param mlPipelineId the mlPipelineId value to set.
- * @return the AzureMLExecutePipelineActivityTypeProperties object itself.
- */
- public AzureMLExecutePipelineActivityTypeProperties withMlPipelineId(Object mlPipelineId) {
- this.mlPipelineId = mlPipelineId;
- return this;
- }
-
- /**
- * Get the mlPipelineEndpointId property: ID of the published Azure ML pipeline endpoint. Type: string (or
- * Expression with resultType string).
- *
- * @return the mlPipelineEndpointId value.
- */
- public Object mlPipelineEndpointId() {
- return this.mlPipelineEndpointId;
- }
-
- /**
- * Set the mlPipelineEndpointId property: ID of the published Azure ML pipeline endpoint. Type: string (or
- * Expression with resultType string).
- *
- * @param mlPipelineEndpointId the mlPipelineEndpointId value to set.
- * @return the AzureMLExecutePipelineActivityTypeProperties object itself.
- */
- public AzureMLExecutePipelineActivityTypeProperties withMlPipelineEndpointId(Object mlPipelineEndpointId) {
- this.mlPipelineEndpointId = mlPipelineEndpointId;
- return this;
- }
-
- /**
- * Get the version property: Version of the published Azure ML pipeline endpoint. Type: string (or Expression with
- * resultType string).
- *
- * @return the version value.
- */
- public Object version() {
- return this.version;
- }
-
- /**
- * Set the version property: Version of the published Azure ML pipeline endpoint. Type: string (or Expression with
- * resultType string).
- *
- * @param version the version value to set.
- * @return the AzureMLExecutePipelineActivityTypeProperties object itself.
- */
- public AzureMLExecutePipelineActivityTypeProperties withVersion(Object version) {
- this.version = version;
- return this;
- }
-
- /**
- * Get the experimentName property: Run history experiment name of the pipeline run. This information will be passed
- * in the ExperimentName property of the published pipeline execution request. Type: string (or Expression with
- * resultType string).
- *
- * @return the experimentName value.
- */
- public Object experimentName() {
- return this.experimentName;
- }
-
- /**
- * Set the experimentName property: Run history experiment name of the pipeline run. This information will be passed
- * in the ExperimentName property of the published pipeline execution request. Type: string (or Expression with
- * resultType string).
- *
- * @param experimentName the experimentName value to set.
- * @return the AzureMLExecutePipelineActivityTypeProperties object itself.
- */
- public AzureMLExecutePipelineActivityTypeProperties withExperimentName(Object experimentName) {
- this.experimentName = experimentName;
- return this;
- }
-
- /**
- * Get the mlPipelineParameters property: Key,Value pairs to be passed to the published Azure ML pipeline endpoint.
- * Keys must match the names of pipeline parameters defined in the published pipeline. Values will be passed in the
- * ParameterAssignments property of the published pipeline execution request. Type: object with key value pairs (or
- * Expression with resultType object).
- *
- * @return the mlPipelineParameters value.
- */
- public Object mlPipelineParameters() {
- return this.mlPipelineParameters;
- }
-
- /**
- * Set the mlPipelineParameters property: Key,Value pairs to be passed to the published Azure ML pipeline endpoint.
- * Keys must match the names of pipeline parameters defined in the published pipeline. Values will be passed in the
- * ParameterAssignments property of the published pipeline execution request. Type: object with key value pairs (or
- * Expression with resultType object).
- *
- * @param mlPipelineParameters the mlPipelineParameters value to set.
- * @return the AzureMLExecutePipelineActivityTypeProperties object itself.
- */
- public AzureMLExecutePipelineActivityTypeProperties withMlPipelineParameters(Object mlPipelineParameters) {
- this.mlPipelineParameters = mlPipelineParameters;
- return this;
- }
-
- /**
- * Get the dataPathAssignments property: Dictionary used for changing data path assignments without retraining.
- * Values will be passed in the dataPathAssignments property of the published pipeline execution request. Type:
- * object with key value pairs (or Expression with resultType object).
- *
- * @return the dataPathAssignments value.
- */
- public Object dataPathAssignments() {
- return this.dataPathAssignments;
- }
-
- /**
- * Set the dataPathAssignments property: Dictionary used for changing data path assignments without retraining.
- * Values will be passed in the dataPathAssignments property of the published pipeline execution request. Type:
- * object with key value pairs (or Expression with resultType object).
- *
- * @param dataPathAssignments the dataPathAssignments value to set.
- * @return the AzureMLExecutePipelineActivityTypeProperties object itself.
- */
- public AzureMLExecutePipelineActivityTypeProperties withDataPathAssignments(Object dataPathAssignments) {
- this.dataPathAssignments = dataPathAssignments;
- return this;
- }
-
- /**
- * Get the mlParentRunId property: The parent Azure ML Service pipeline run id. This information will be passed in
- * the ParentRunId property of the published pipeline execution request. Type: string (or Expression with resultType
- * string).
- *
- * @return the mlParentRunId value.
- */
- public Object mlParentRunId() {
- return this.mlParentRunId;
- }
-
- /**
- * Set the mlParentRunId property: The parent Azure ML Service pipeline run id. This information will be passed in
- * the ParentRunId property of the published pipeline execution request. Type: string (or Expression with resultType
- * string).
- *
- * @param mlParentRunId the mlParentRunId value to set.
- * @return the AzureMLExecutePipelineActivityTypeProperties object itself.
- */
- public AzureMLExecutePipelineActivityTypeProperties withMlParentRunId(Object mlParentRunId) {
- this.mlParentRunId = mlParentRunId;
- return this;
- }
-
- /**
- * Get the continueOnStepFailure property: Whether to continue execution of other steps in the PipelineRun if a step
- * fails. This information will be passed in the continueOnStepFailure property of the published pipeline execution
- * request. Type: boolean (or Expression with resultType boolean).
- *
- * @return the continueOnStepFailure value.
- */
- public Object continueOnStepFailure() {
- return this.continueOnStepFailure;
- }
-
- /**
- * Set the continueOnStepFailure property: Whether to continue execution of other steps in the PipelineRun if a step
- * fails. This information will be passed in the continueOnStepFailure property of the published pipeline execution
- * request. Type: boolean (or Expression with resultType boolean).
- *
- * @param continueOnStepFailure the continueOnStepFailure value to set.
- * @return the AzureMLExecutePipelineActivityTypeProperties object itself.
- */
- public AzureMLExecutePipelineActivityTypeProperties withContinueOnStepFailure(Object continueOnStepFailure) {
- this.continueOnStepFailure = continueOnStepFailure;
- return this;
- }
-
- /**
- * Validates the instance.
- *
- * @throws IllegalArgumentException thrown if the instance is not valid.
- */
- public void validate() {
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AzureMLLinkedServiceTypeProperties.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AzureMLLinkedServiceTypeProperties.java
deleted file mode 100644
index b8650ef514c87..0000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AzureMLLinkedServiceTypeProperties.java
+++ /dev/null
@@ -1,273 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.datafactory.fluent.models;
-
-import com.azure.core.annotation.Fluent;
-import com.azure.core.util.logging.ClientLogger;
-import com.azure.resourcemanager.datafactory.models.SecretBase;
-import com.fasterxml.jackson.annotation.JsonIgnore;
-import com.fasterxml.jackson.annotation.JsonProperty;
-
-/** Azure ML Studio Web Service linked service properties. */
-@Fluent
-public final class AzureMLLinkedServiceTypeProperties {
- @JsonIgnore private final ClientLogger logger = new ClientLogger(AzureMLLinkedServiceTypeProperties.class);
-
- /*
- * The Batch Execution REST URL for an Azure ML Studio Web Service
- * endpoint. Type: string (or Expression with resultType string).
- */
- @JsonProperty(value = "mlEndpoint", required = true)
- private Object mlEndpoint;
-
- /*
- * The API key for accessing the Azure ML model endpoint.
- */
- @JsonProperty(value = "apiKey", required = true)
- private SecretBase apiKey;
-
- /*
- * The Update Resource REST URL for an Azure ML Studio Web Service
- * endpoint. Type: string (or Expression with resultType string).
- */
- @JsonProperty(value = "updateResourceEndpoint")
- private Object updateResourceEndpoint;
-
- /*
- * The ID of the service principal used to authenticate against the
- * ARM-based updateResourceEndpoint of an Azure ML Studio web service.
- * Type: string (or Expression with resultType string).
- */
- @JsonProperty(value = "servicePrincipalId")
- private Object servicePrincipalId;
-
- /*
- * The key of the service principal used to authenticate against the
- * ARM-based updateResourceEndpoint of an Azure ML Studio web service.
- */
- @JsonProperty(value = "servicePrincipalKey")
- private SecretBase servicePrincipalKey;
-
- /*
- * The name or ID of the tenant to which the service principal belongs.
- * Type: string (or Expression with resultType string).
- */
- @JsonProperty(value = "tenant")
- private Object tenant;
-
- /*
- * The encrypted credential used for authentication. Credentials are
- * encrypted using the integration runtime credential manager. Type: string
- * (or Expression with resultType string).
- */
- @JsonProperty(value = "encryptedCredential")
- private Object encryptedCredential;
-
- /*
- * Type of authentication (Required to specify MSI) used to connect to
- * AzureML. Type: string (or Expression with resultType string).
- */
- @JsonProperty(value = "authentication")
- private Object authentication;
-
- /**
- * Get the mlEndpoint property: The Batch Execution REST URL for an Azure ML Studio Web Service endpoint. Type:
- * string (or Expression with resultType string).
- *
- * @return the mlEndpoint value.
- */
- public Object mlEndpoint() {
- return this.mlEndpoint;
- }
-
- /**
- * Set the mlEndpoint property: The Batch Execution REST URL for an Azure ML Studio Web Service endpoint. Type:
- * string (or Expression with resultType string).
- *
- * @param mlEndpoint the mlEndpoint value to set.
- * @return the AzureMLLinkedServiceTypeProperties object itself.
- */
- public AzureMLLinkedServiceTypeProperties withMlEndpoint(Object mlEndpoint) {
- this.mlEndpoint = mlEndpoint;
- return this;
- }
-
- /**
- * Get the apiKey property: The API key for accessing the Azure ML model endpoint.
- *
- * @return the apiKey value.
- */
- public SecretBase apiKey() {
- return this.apiKey;
- }
-
- /**
- * Set the apiKey property: The API key for accessing the Azure ML model endpoint.
- *
- * @param apiKey the apiKey value to set.
- * @return the AzureMLLinkedServiceTypeProperties object itself.
- */
- public AzureMLLinkedServiceTypeProperties withApiKey(SecretBase apiKey) {
- this.apiKey = apiKey;
- return this;
- }
-
- /**
- * Get the updateResourceEndpoint property: The Update Resource REST URL for an Azure ML Studio Web Service
- * endpoint. Type: string (or Expression with resultType string).
- *
- * @return the updateResourceEndpoint value.
- */
- public Object updateResourceEndpoint() {
- return this.updateResourceEndpoint;
- }
-
- /**
- * Set the updateResourceEndpoint property: The Update Resource REST URL for an Azure ML Studio Web Service
- * endpoint. Type: string (or Expression with resultType string).
- *
- * @param updateResourceEndpoint the updateResourceEndpoint value to set.
- * @return the AzureMLLinkedServiceTypeProperties object itself.
- */
- public AzureMLLinkedServiceTypeProperties withUpdateResourceEndpoint(Object updateResourceEndpoint) {
- this.updateResourceEndpoint = updateResourceEndpoint;
- return this;
- }
-
- /**
- * Get the servicePrincipalId property: The ID of the service principal used to authenticate against the ARM-based
- * updateResourceEndpoint of an Azure ML Studio web service. Type: string (or Expression with resultType string).
- *
- * @return the servicePrincipalId value.
- */
- public Object servicePrincipalId() {
- return this.servicePrincipalId;
- }
-
- /**
- * Set the servicePrincipalId property: The ID of the service principal used to authenticate against the ARM-based
- * updateResourceEndpoint of an Azure ML Studio web service. Type: string (or Expression with resultType string).
- *
- * @param servicePrincipalId the servicePrincipalId value to set.
- * @return the AzureMLLinkedServiceTypeProperties object itself.
- */
- public AzureMLLinkedServiceTypeProperties withServicePrincipalId(Object servicePrincipalId) {
- this.servicePrincipalId = servicePrincipalId;
- return this;
- }
-
- /**
- * Get the servicePrincipalKey property: The key of the service principal used to authenticate against the ARM-based
- * updateResourceEndpoint of an Azure ML Studio web service.
- *
- * @return the servicePrincipalKey value.
- */
- public SecretBase servicePrincipalKey() {
- return this.servicePrincipalKey;
- }
-
- /**
- * Set the servicePrincipalKey property: The key of the service principal used to authenticate against the ARM-based
- * updateResourceEndpoint of an Azure ML Studio web service.
- *
- * @param servicePrincipalKey the servicePrincipalKey value to set.
- * @return the AzureMLLinkedServiceTypeProperties object itself.
- */
- public AzureMLLinkedServiceTypeProperties withServicePrincipalKey(SecretBase servicePrincipalKey) {
- this.servicePrincipalKey = servicePrincipalKey;
- return this;
- }
-
- /**
- * Get the tenant property: The name or ID of the tenant to which the service principal belongs. Type: string (or
- * Expression with resultType string).
- *
- * @return the tenant value.
- */
- public Object tenant() {
- return this.tenant;
- }
-
- /**
- * Set the tenant property: The name or ID of the tenant to which the service principal belongs. Type: string (or
- * Expression with resultType string).
- *
- * @param tenant the tenant value to set.
- * @return the AzureMLLinkedServiceTypeProperties object itself.
- */
- public AzureMLLinkedServiceTypeProperties withTenant(Object tenant) {
- this.tenant = tenant;
- return this;
- }
-
- /**
- * Get the encryptedCredential property: 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 encryptedCredential property: 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 AzureMLLinkedServiceTypeProperties object itself.
- */
- public AzureMLLinkedServiceTypeProperties withEncryptedCredential(Object encryptedCredential) {
- this.encryptedCredential = encryptedCredential;
- return this;
- }
-
- /**
- * Get the authentication property: Type of authentication (Required to specify MSI) used to connect to AzureML.
- * Type: string (or Expression with resultType string).
- *
- * @return the authentication value.
- */
- public Object authentication() {
- return this.authentication;
- }
-
- /**
- * Set the authentication property: Type of authentication (Required to specify MSI) used to connect to AzureML.
- * Type: string (or Expression with resultType string).
- *
- * @param authentication the authentication value to set.
- * @return the AzureMLLinkedServiceTypeProperties object itself.
- */
- public AzureMLLinkedServiceTypeProperties withAuthentication(Object authentication) {
- this.authentication = authentication;
- return this;
- }
-
- /**
- * Validates the instance.
- *
- * @throws IllegalArgumentException thrown if the instance is not valid.
- */
- public void validate() {
- if (mlEndpoint() == null) {
- throw logger
- .logExceptionAsError(
- new IllegalArgumentException(
- "Missing required property mlEndpoint in model AzureMLLinkedServiceTypeProperties"));
- }
- if (apiKey() == null) {
- throw logger
- .logExceptionAsError(
- new IllegalArgumentException(
- "Missing required property apiKey in model AzureMLLinkedServiceTypeProperties"));
- } else {
- apiKey().validate();
- }
- if (servicePrincipalKey() != null) {
- servicePrincipalKey().validate();
- }
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AzureMLServiceLinkedServiceTypeProperties.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AzureMLServiceLinkedServiceTypeProperties.java
deleted file mode 100644
index 60d3add8d3cac..0000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AzureMLServiceLinkedServiceTypeProperties.java
+++ /dev/null
@@ -1,253 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.datafactory.fluent.models;
-
-import com.azure.core.annotation.Fluent;
-import com.azure.core.util.logging.ClientLogger;
-import com.azure.resourcemanager.datafactory.models.SecretBase;
-import com.fasterxml.jackson.annotation.JsonIgnore;
-import com.fasterxml.jackson.annotation.JsonProperty;
-
-/** Azure ML Service linked service properties. */
-@Fluent
-public final class AzureMLServiceLinkedServiceTypeProperties {
- @JsonIgnore private final ClientLogger logger = new ClientLogger(AzureMLServiceLinkedServiceTypeProperties.class);
-
- /*
- * Azure ML Service workspace subscription ID. Type: string (or Expression
- * with resultType string).
- */
- @JsonProperty(value = "subscriptionId", required = true)
- private Object subscriptionId;
-
- /*
- * Azure ML Service workspace resource group name. Type: string (or
- * Expression with resultType string).
- */
- @JsonProperty(value = "resourceGroupName", required = true)
- private Object resourceGroupName;
-
- /*
- * Azure ML Service workspace name. Type: string (or Expression with
- * resultType string).
- */
- @JsonProperty(value = "mlWorkspaceName", required = true)
- private Object mlWorkspaceName;
-
- /*
- * The ID of the service principal used to authenticate against the
- * endpoint of a published Azure ML Service pipeline. Type: string (or
- * Expression with resultType string).
- */
- @JsonProperty(value = "servicePrincipalId")
- private Object servicePrincipalId;
-
- /*
- * The key of the service principal used to authenticate against the
- * endpoint of a published Azure ML Service pipeline.
- */
- @JsonProperty(value = "servicePrincipalKey")
- private SecretBase servicePrincipalKey;
-
- /*
- * The name or ID of the tenant to which the service principal belongs.
- * Type: string (or Expression with resultType string).
- */
- @JsonProperty(value = "tenant")
- private Object tenant;
-
- /*
- * The encrypted credential used for authentication. Credentials are
- * encrypted using the integration runtime credential manager. Type: string
- * (or Expression with resultType string).
- */
- @JsonProperty(value = "encryptedCredential")
- private Object encryptedCredential;
-
- /**
- * Get the subscriptionId property: Azure ML Service workspace subscription ID. Type: string (or Expression with
- * resultType string).
- *
- * @return the subscriptionId value.
- */
- public Object subscriptionId() {
- return this.subscriptionId;
- }
-
- /**
- * Set the subscriptionId property: Azure ML Service workspace subscription ID. Type: string (or Expression with
- * resultType string).
- *
- * @param subscriptionId the subscriptionId value to set.
- * @return the AzureMLServiceLinkedServiceTypeProperties object itself.
- */
- public AzureMLServiceLinkedServiceTypeProperties withSubscriptionId(Object subscriptionId) {
- this.subscriptionId = subscriptionId;
- return this;
- }
-
- /**
- * Get the resourceGroupName property: Azure ML Service workspace resource group name. Type: string (or Expression
- * with resultType string).
- *
- * @return the resourceGroupName value.
- */
- public Object resourceGroupName() {
- return this.resourceGroupName;
- }
-
- /**
- * Set the resourceGroupName property: Azure ML Service workspace resource group name. Type: string (or Expression
- * with resultType string).
- *
- * @param resourceGroupName the resourceGroupName value to set.
- * @return the AzureMLServiceLinkedServiceTypeProperties object itself.
- */
- public AzureMLServiceLinkedServiceTypeProperties withResourceGroupName(Object resourceGroupName) {
- this.resourceGroupName = resourceGroupName;
- return this;
- }
-
- /**
- * Get the mlWorkspaceName property: Azure ML Service workspace name. Type: string (or Expression with resultType
- * string).
- *
- * @return the mlWorkspaceName value.
- */
- public Object mlWorkspaceName() {
- return this.mlWorkspaceName;
- }
-
- /**
- * Set the mlWorkspaceName property: Azure ML Service workspace name. Type: string (or Expression with resultType
- * string).
- *
- * @param mlWorkspaceName the mlWorkspaceName value to set.
- * @return the AzureMLServiceLinkedServiceTypeProperties object itself.
- */
- public AzureMLServiceLinkedServiceTypeProperties withMlWorkspaceName(Object mlWorkspaceName) {
- this.mlWorkspaceName = mlWorkspaceName;
- return this;
- }
-
- /**
- * Get the servicePrincipalId property: The ID of the service principal used to authenticate against the endpoint of
- * a published Azure ML Service pipeline. Type: string (or Expression with resultType string).
- *
- * @return the servicePrincipalId value.
- */
- public Object servicePrincipalId() {
- return this.servicePrincipalId;
- }
-
- /**
- * Set the servicePrincipalId property: The ID of the service principal used to authenticate against the endpoint of
- * a published Azure ML Service pipeline. Type: string (or Expression with resultType string).
- *
- * @param servicePrincipalId the servicePrincipalId value to set.
- * @return the AzureMLServiceLinkedServiceTypeProperties object itself.
- */
- public AzureMLServiceLinkedServiceTypeProperties withServicePrincipalId(Object servicePrincipalId) {
- this.servicePrincipalId = servicePrincipalId;
- return this;
- }
-
- /**
- * Get the servicePrincipalKey property: The key of the service principal used to authenticate against the endpoint
- * of a published Azure ML Service pipeline.
- *
- * @return the servicePrincipalKey value.
- */
- public SecretBase servicePrincipalKey() {
- return this.servicePrincipalKey;
- }
-
- /**
- * Set the servicePrincipalKey property: The key of the service principal used to authenticate against the endpoint
- * of a published Azure ML Service pipeline.
- *
- * @param servicePrincipalKey the servicePrincipalKey value to set.
- * @return the AzureMLServiceLinkedServiceTypeProperties object itself.
- */
- public AzureMLServiceLinkedServiceTypeProperties withServicePrincipalKey(SecretBase servicePrincipalKey) {
- this.servicePrincipalKey = servicePrincipalKey;
- return this;
- }
-
- /**
- * Get the tenant property: The name or ID of the tenant to which the service principal belongs. Type: string (or
- * Expression with resultType string).
- *
- * @return the tenant value.
- */
- public Object tenant() {
- return this.tenant;
- }
-
- /**
- * Set the tenant property: The name or ID of the tenant to which the service principal belongs. Type: string (or
- * Expression with resultType string).
- *
- * @param tenant the tenant value to set.
- * @return the AzureMLServiceLinkedServiceTypeProperties object itself.
- */
- public AzureMLServiceLinkedServiceTypeProperties withTenant(Object tenant) {
- this.tenant = tenant;
- return this;
- }
-
- /**
- * Get the encryptedCredential property: 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 encryptedCredential property: 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 AzureMLServiceLinkedServiceTypeProperties object itself.
- */
- public AzureMLServiceLinkedServiceTypeProperties withEncryptedCredential(Object encryptedCredential) {
- this.encryptedCredential = encryptedCredential;
- return this;
- }
-
- /**
- * Validates the instance.
- *
- * @throws IllegalArgumentException thrown if the instance is not valid.
- */
- public void validate() {
- if (subscriptionId() == null) {
- throw logger
- .logExceptionAsError(
- new IllegalArgumentException(
- "Missing required property subscriptionId in model AzureMLServiceLinkedServiceTypeProperties"));
- }
- if (resourceGroupName() == null) {
- throw logger
- .logExceptionAsError(
- new IllegalArgumentException(
- "Missing required property resourceGroupName in model"
- + " AzureMLServiceLinkedServiceTypeProperties"));
- }
- if (mlWorkspaceName() == null) {
- throw logger
- .logExceptionAsError(
- new IllegalArgumentException(
- "Missing required property mlWorkspaceName in model"
- + " AzureMLServiceLinkedServiceTypeProperties"));
- }
- if (servicePrincipalKey() != null) {
- servicePrincipalKey().validate();
- }
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AzureMLUpdateResourceActivityTypeProperties.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AzureMLUpdateResourceActivityTypeProperties.java
deleted file mode 100644
index 7cef610fe0623..0000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AzureMLUpdateResourceActivityTypeProperties.java
+++ /dev/null
@@ -1,139 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.datafactory.fluent.models;
-
-import com.azure.core.annotation.Fluent;
-import com.azure.core.util.logging.ClientLogger;
-import com.azure.resourcemanager.datafactory.models.LinkedServiceReference;
-import com.fasterxml.jackson.annotation.JsonIgnore;
-import com.fasterxml.jackson.annotation.JsonProperty;
-
-/** Azure ML Update Resource activity properties. */
-@Fluent
-public final class AzureMLUpdateResourceActivityTypeProperties {
- @JsonIgnore private final ClientLogger logger = new ClientLogger(AzureMLUpdateResourceActivityTypeProperties.class);
-
- /*
- * Name of the Trained Model module in the Web Service experiment to be
- * updated. Type: string (or Expression with resultType string).
- */
- @JsonProperty(value = "trainedModelName", required = true)
- private Object trainedModelName;
-
- /*
- * Name of Azure Storage linked service holding the .ilearner file that
- * will be uploaded by the update operation.
- */
- @JsonProperty(value = "trainedModelLinkedServiceName", required = true)
- private LinkedServiceReference trainedModelLinkedServiceName;
-
- /*
- * The relative file path in trainedModelLinkedService to represent the
- * .ilearner file that will be uploaded by the update operation. Type:
- * string (or Expression with resultType string).
- */
- @JsonProperty(value = "trainedModelFilePath", required = true)
- private Object trainedModelFilePath;
-
- /**
- * Get the trainedModelName property: Name of the Trained Model module in the Web Service experiment to be updated.
- * Type: string (or Expression with resultType string).
- *
- * @return the trainedModelName value.
- */
- public Object trainedModelName() {
- return this.trainedModelName;
- }
-
- /**
- * Set the trainedModelName property: Name of the Trained Model module in the Web Service experiment to be updated.
- * Type: string (or Expression with resultType string).
- *
- * @param trainedModelName the trainedModelName value to set.
- * @return the AzureMLUpdateResourceActivityTypeProperties object itself.
- */
- public AzureMLUpdateResourceActivityTypeProperties withTrainedModelName(Object trainedModelName) {
- this.trainedModelName = trainedModelName;
- return this;
- }
-
- /**
- * Get the trainedModelLinkedServiceName property: Name of Azure Storage linked service holding the .ilearner file
- * that will be uploaded by the update operation.
- *
- * @return the trainedModelLinkedServiceName value.
- */
- public LinkedServiceReference trainedModelLinkedServiceName() {
- return this.trainedModelLinkedServiceName;
- }
-
- /**
- * Set the trainedModelLinkedServiceName property: Name of Azure Storage linked service holding the .ilearner file
- * that will be uploaded by the update operation.
- *
- * @param trainedModelLinkedServiceName the trainedModelLinkedServiceName value to set.
- * @return the AzureMLUpdateResourceActivityTypeProperties object itself.
- */
- public AzureMLUpdateResourceActivityTypeProperties withTrainedModelLinkedServiceName(
- LinkedServiceReference trainedModelLinkedServiceName) {
- this.trainedModelLinkedServiceName = trainedModelLinkedServiceName;
- return this;
- }
-
- /**
- * Get the trainedModelFilePath property: The relative file path in trainedModelLinkedService to represent the
- * .ilearner file that will be uploaded by the update operation. Type: string (or Expression with resultType
- * string).
- *
- * @return the trainedModelFilePath value.
- */
- public Object trainedModelFilePath() {
- return this.trainedModelFilePath;
- }
-
- /**
- * Set the trainedModelFilePath property: The relative file path in trainedModelLinkedService to represent the
- * .ilearner file that will be uploaded by the update operation. Type: string (or Expression with resultType
- * string).
- *
- * @param trainedModelFilePath the trainedModelFilePath value to set.
- * @return the AzureMLUpdateResourceActivityTypeProperties object itself.
- */
- public AzureMLUpdateResourceActivityTypeProperties withTrainedModelFilePath(Object trainedModelFilePath) {
- this.trainedModelFilePath = trainedModelFilePath;
- return this;
- }
-
- /**
- * Validates the instance.
- *
- * @throws IllegalArgumentException thrown if the instance is not valid.
- */
- public void validate() {
- if (trainedModelName() == null) {
- throw logger
- .logExceptionAsError(
- new IllegalArgumentException(
- "Missing required property trainedModelName in model"
- + " AzureMLUpdateResourceActivityTypeProperties"));
- }
- if (trainedModelLinkedServiceName() == null) {
- throw logger
- .logExceptionAsError(
- new IllegalArgumentException(
- "Missing required property trainedModelLinkedServiceName in model"
- + " AzureMLUpdateResourceActivityTypeProperties"));
- } else {
- trainedModelLinkedServiceName().validate();
- }
- if (trainedModelFilePath() == null) {
- throw logger
- .logExceptionAsError(
- new IllegalArgumentException(
- "Missing required property trainedModelFilePath in model"
- + " AzureMLUpdateResourceActivityTypeProperties"));
- }
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AzureMariaDBLinkedServiceTypeProperties.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AzureMariaDBLinkedServiceTypeProperties.java
deleted file mode 100644
index 2c9f9b08528e2..0000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AzureMariaDBLinkedServiceTypeProperties.java
+++ /dev/null
@@ -1,113 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.datafactory.fluent.models;
-
-import com.azure.core.annotation.Fluent;
-import com.azure.core.util.logging.ClientLogger;
-import com.azure.resourcemanager.datafactory.models.AzureKeyVaultSecretReference;
-import com.fasterxml.jackson.annotation.JsonIgnore;
-import com.fasterxml.jackson.annotation.JsonProperty;
-
-/** Azure Database for MariaDB linked service properties. */
-@Fluent
-public final class AzureMariaDBLinkedServiceTypeProperties {
- @JsonIgnore private final ClientLogger logger = new ClientLogger(AzureMariaDBLinkedServiceTypeProperties.class);
-
- /*
- * An ODBC connection string. Type: string, SecureString or
- * AzureKeyVaultSecretReference.
- */
- @JsonProperty(value = "connectionString")
- private Object connectionString;
-
- /*
- * The Azure key vault secret reference of password in connection string.
- */
- @JsonProperty(value = "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 = "encryptedCredential")
- private Object encryptedCredential;
-
- /**
- * Get the connectionString property: An ODBC connection string. Type: string, SecureString or
- * AzureKeyVaultSecretReference.
- *
- * @return the connectionString value.
- */
- public Object connectionString() {
- return this.connectionString;
- }
-
- /**
- * Set the connectionString property: An ODBC connection string. Type: string, SecureString or
- * AzureKeyVaultSecretReference.
- *
- * @param connectionString the connectionString value to set.
- * @return the AzureMariaDBLinkedServiceTypeProperties object itself.
- */
- public AzureMariaDBLinkedServiceTypeProperties withConnectionString(Object connectionString) {
- this.connectionString = connectionString;
- return this;
- }
-
- /**
- * Get the pwd property: The Azure key vault secret reference of password in connection string.
- *
- * @return the pwd value.
- */
- public AzureKeyVaultSecretReference pwd() {
- return this.pwd;
- }
-
- /**
- * Set the pwd property: The Azure key vault secret reference of password in connection string.
- *
- * @param pwd the pwd value to set.
- * @return the AzureMariaDBLinkedServiceTypeProperties object itself.
- */
- public AzureMariaDBLinkedServiceTypeProperties withPwd(AzureKeyVaultSecretReference pwd) {
- this.pwd = pwd;
- return this;
- }
-
- /**
- * Get the encryptedCredential property: 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 encryptedCredential property: 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 AzureMariaDBLinkedServiceTypeProperties object itself.
- */
- public AzureMariaDBLinkedServiceTypeProperties withEncryptedCredential(Object encryptedCredential) {
- this.encryptedCredential = encryptedCredential;
- return this;
- }
-
- /**
- * Validates the instance.
- *
- * @throws IllegalArgumentException thrown if the instance is not valid.
- */
- public void validate() {
- if (pwd() != null) {
- pwd().validate();
- }
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AzureMySqlLinkedServiceTypeProperties.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AzureMySqlLinkedServiceTypeProperties.java
deleted file mode 100644
index 81b931d29468f..0000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AzureMySqlLinkedServiceTypeProperties.java
+++ /dev/null
@@ -1,119 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.datafactory.fluent.models;
-
-import com.azure.core.annotation.Fluent;
-import com.azure.core.util.logging.ClientLogger;
-import com.azure.resourcemanager.datafactory.models.AzureKeyVaultSecretReference;
-import com.fasterxml.jackson.annotation.JsonIgnore;
-import com.fasterxml.jackson.annotation.JsonProperty;
-
-/** Azure MySQL database linked service properties. */
-@Fluent
-public final class AzureMySqlLinkedServiceTypeProperties {
- @JsonIgnore private final ClientLogger logger = new ClientLogger(AzureMySqlLinkedServiceTypeProperties.class);
-
- /*
- * The connection string. Type: string, SecureString or
- * AzureKeyVaultSecretReference.
- */
- @JsonProperty(value = "connectionString", required = true)
- private Object connectionString;
-
- /*
- * The Azure key vault secret reference of password in connection string.
- */
- @JsonProperty(value = "password")
- private AzureKeyVaultSecretReference password;
-
- /*
- * The encrypted credential used for authentication. Credentials are
- * encrypted using the integration runtime credential manager. Type: string
- * (or Expression with resultType string).
- */
- @JsonProperty(value = "encryptedCredential")
- private Object encryptedCredential;
-
- /**
- * Get the connectionString property: The connection string. Type: string, SecureString or
- * AzureKeyVaultSecretReference.
- *
- * @return the connectionString value.
- */
- public Object connectionString() {
- return this.connectionString;
- }
-
- /**
- * Set the connectionString property: The connection string. Type: string, SecureString or
- * AzureKeyVaultSecretReference.
- *
- * @param connectionString the connectionString value to set.
- * @return the AzureMySqlLinkedServiceTypeProperties object itself.
- */
- public AzureMySqlLinkedServiceTypeProperties withConnectionString(Object connectionString) {
- this.connectionString = connectionString;
- return this;
- }
-
- /**
- * Get the password property: The Azure key vault secret reference of password in connection string.
- *
- * @return the password value.
- */
- public AzureKeyVaultSecretReference password() {
- return this.password;
- }
-
- /**
- * Set the password property: The Azure key vault secret reference of password in connection string.
- *
- * @param password the password value to set.
- * @return the AzureMySqlLinkedServiceTypeProperties object itself.
- */
- public AzureMySqlLinkedServiceTypeProperties withPassword(AzureKeyVaultSecretReference password) {
- this.password = password;
- return this;
- }
-
- /**
- * Get the encryptedCredential property: 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 encryptedCredential property: 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 AzureMySqlLinkedServiceTypeProperties object itself.
- */
- public AzureMySqlLinkedServiceTypeProperties withEncryptedCredential(Object encryptedCredential) {
- this.encryptedCredential = encryptedCredential;
- return this;
- }
-
- /**
- * Validates the instance.
- *
- * @throws IllegalArgumentException thrown if the instance is not valid.
- */
- public void validate() {
- if (connectionString() == null) {
- throw logger
- .logExceptionAsError(
- new IllegalArgumentException(
- "Missing required property connectionString in model AzureMySqlLinkedServiceTypeProperties"));
- }
- if (password() != null) {
- password().validate();
- }
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AzureMySqlTableDatasetTypeProperties.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AzureMySqlTableDatasetTypeProperties.java
deleted file mode 100644
index a877f20a37506..0000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AzureMySqlTableDatasetTypeProperties.java
+++ /dev/null
@@ -1,82 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.datafactory.fluent.models;
-
-import com.azure.core.annotation.Fluent;
-import com.azure.core.util.logging.ClientLogger;
-import com.fasterxml.jackson.annotation.JsonIgnore;
-import com.fasterxml.jackson.annotation.JsonProperty;
-
-/** Azure MySQL database dataset properties. */
-@Fluent
-public final class AzureMySqlTableDatasetTypeProperties {
- @JsonIgnore private final ClientLogger logger = new ClientLogger(AzureMySqlTableDatasetTypeProperties.class);
-
- /*
- * The Azure MySQL database table name. Type: string (or Expression with
- * resultType string).
- */
- @JsonProperty(value = "tableName")
- private Object tableName;
-
- /*
- * The name of Azure MySQL database table. Type: string (or Expression with
- * resultType string).
- */
- @JsonProperty(value = "table")
- private Object table;
-
- /**
- * Get the tableName property: The Azure MySQL database table name. Type: string (or Expression with resultType
- * string).
- *
- * @return the tableName value.
- */
- public Object tableName() {
- return this.tableName;
- }
-
- /**
- * Set the tableName property: The Azure MySQL database table name. Type: string (or Expression with resultType
- * string).
- *
- * @param tableName the tableName value to set.
- * @return the AzureMySqlTableDatasetTypeProperties object itself.
- */
- public AzureMySqlTableDatasetTypeProperties withTableName(Object tableName) {
- this.tableName = tableName;
- return this;
- }
-
- /**
- * Get the table property: The name of Azure MySQL database table. Type: string (or Expression with resultType
- * string).
- *
- * @return the table value.
- */
- public Object table() {
- return this.table;
- }
-
- /**
- * Set the table property: The name of Azure MySQL database table. Type: string (or Expression with resultType
- * string).
- *
- * @param table the table value to set.
- * @return the AzureMySqlTableDatasetTypeProperties object itself.
- */
- public AzureMySqlTableDatasetTypeProperties withTable(Object table) {
- this.table = table;
- return this;
- }
-
- /**
- * Validates the instance.
- *
- * @throws IllegalArgumentException thrown if the instance is not valid.
- */
- public void validate() {
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AzurePostgreSqlLinkedServiceTypeProperties.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AzurePostgreSqlLinkedServiceTypeProperties.java
deleted file mode 100644
index b8a6e5d6711df..0000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AzurePostgreSqlLinkedServiceTypeProperties.java
+++ /dev/null
@@ -1,113 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.datafactory.fluent.models;
-
-import com.azure.core.annotation.Fluent;
-import com.azure.core.util.logging.ClientLogger;
-import com.azure.resourcemanager.datafactory.models.AzureKeyVaultSecretReference;
-import com.fasterxml.jackson.annotation.JsonIgnore;
-import com.fasterxml.jackson.annotation.JsonProperty;
-
-/** Azure PostgreSQL linked service properties. */
-@Fluent
-public final class AzurePostgreSqlLinkedServiceTypeProperties {
- @JsonIgnore private final ClientLogger logger = new ClientLogger(AzurePostgreSqlLinkedServiceTypeProperties.class);
-
- /*
- * An ODBC connection string. Type: string, SecureString or
- * AzureKeyVaultSecretReference.
- */
- @JsonProperty(value = "connectionString")
- private Object connectionString;
-
- /*
- * The Azure key vault secret reference of password in connection string.
- */
- @JsonProperty(value = "password")
- private AzureKeyVaultSecretReference password;
-
- /*
- * The encrypted credential used for authentication. Credentials are
- * encrypted using the integration runtime credential manager. Type: string
- * (or Expression with resultType string).
- */
- @JsonProperty(value = "encryptedCredential")
- private Object encryptedCredential;
-
- /**
- * Get the connectionString property: An ODBC connection string. Type: string, SecureString or
- * AzureKeyVaultSecretReference.
- *
- * @return the connectionString value.
- */
- public Object connectionString() {
- return this.connectionString;
- }
-
- /**
- * Set the connectionString property: An ODBC connection string. Type: string, SecureString or
- * AzureKeyVaultSecretReference.
- *
- * @param connectionString the connectionString value to set.
- * @return the AzurePostgreSqlLinkedServiceTypeProperties object itself.
- */
- public AzurePostgreSqlLinkedServiceTypeProperties withConnectionString(Object connectionString) {
- this.connectionString = connectionString;
- return this;
- }
-
- /**
- * Get the password property: The Azure key vault secret reference of password in connection string.
- *
- * @return the password value.
- */
- public AzureKeyVaultSecretReference password() {
- return this.password;
- }
-
- /**
- * Set the password property: The Azure key vault secret reference of password in connection string.
- *
- * @param password the password value to set.
- * @return the AzurePostgreSqlLinkedServiceTypeProperties object itself.
- */
- public AzurePostgreSqlLinkedServiceTypeProperties withPassword(AzureKeyVaultSecretReference password) {
- this.password = password;
- return this;
- }
-
- /**
- * Get the encryptedCredential property: 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 encryptedCredential property: 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 AzurePostgreSqlLinkedServiceTypeProperties object itself.
- */
- public AzurePostgreSqlLinkedServiceTypeProperties withEncryptedCredential(Object encryptedCredential) {
- this.encryptedCredential = encryptedCredential;
- return this;
- }
-
- /**
- * Validates the instance.
- *
- * @throws IllegalArgumentException thrown if the instance is not valid.
- */
- public void validate() {
- if (password() != null) {
- password().validate();
- }
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AzurePostgreSqlTableDatasetTypeProperties.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AzurePostgreSqlTableDatasetTypeProperties.java
deleted file mode 100644
index 4f1f52a34153f..0000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AzurePostgreSqlTableDatasetTypeProperties.java
+++ /dev/null
@@ -1,111 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.datafactory.fluent.models;
-
-import com.azure.core.annotation.Fluent;
-import com.azure.core.util.logging.ClientLogger;
-import com.fasterxml.jackson.annotation.JsonIgnore;
-import com.fasterxml.jackson.annotation.JsonProperty;
-
-/** Azure PostgreSQL dataset properties. */
-@Fluent
-public final class AzurePostgreSqlTableDatasetTypeProperties {
- @JsonIgnore private final ClientLogger logger = new ClientLogger(AzurePostgreSqlTableDatasetTypeProperties.class);
-
- /*
- * The table name of the Azure PostgreSQL database which includes both
- * schema and table. Type: string (or Expression with resultType string).
- */
- @JsonProperty(value = "tableName")
- private Object tableName;
-
- /*
- * The table name of the Azure PostgreSQL database. Type: string (or
- * Expression with resultType string).
- */
- @JsonProperty(value = "table")
- private Object table;
-
- /*
- * The schema name of the Azure PostgreSQL database. Type: string (or
- * Expression with resultType string).
- */
- @JsonProperty(value = "schema")
- private Object schema;
-
- /**
- * Get the tableName property: The table name of the Azure PostgreSQL database which includes both schema and table.
- * Type: string (or Expression with resultType string).
- *
- * @return the tableName value.
- */
- public Object tableName() {
- return this.tableName;
- }
-
- /**
- * Set the tableName property: The table name of the Azure PostgreSQL database which includes both schema and table.
- * Type: string (or Expression with resultType string).
- *
- * @param tableName the tableName value to set.
- * @return the AzurePostgreSqlTableDatasetTypeProperties object itself.
- */
- public AzurePostgreSqlTableDatasetTypeProperties withTableName(Object tableName) {
- this.tableName = tableName;
- return this;
- }
-
- /**
- * Get the table property: The table name of the Azure PostgreSQL database. Type: string (or Expression with
- * resultType string).
- *
- * @return the table value.
- */
- public Object table() {
- return this.table;
- }
-
- /**
- * Set the table property: The table name of the Azure PostgreSQL database. Type: string (or Expression with
- * resultType string).
- *
- * @param table the table value to set.
- * @return the AzurePostgreSqlTableDatasetTypeProperties object itself.
- */
- public AzurePostgreSqlTableDatasetTypeProperties withTable(Object table) {
- this.table = table;
- return this;
- }
-
- /**
- * Get the schema property: The schema name of the Azure PostgreSQL database. Type: string (or Expression with
- * resultType string).
- *
- * @return the schema value.
- */
- public Object schema() {
- return this.schema;
- }
-
- /**
- * Set the schema property: The schema name of the Azure PostgreSQL database. Type: string (or Expression with
- * resultType string).
- *
- * @param schema the schema value to set.
- * @return the AzurePostgreSqlTableDatasetTypeProperties object itself.
- */
- public AzurePostgreSqlTableDatasetTypeProperties withSchema(Object schema) {
- this.schema = schema;
- return this;
- }
-
- /**
- * Validates the instance.
- *
- * @throws IllegalArgumentException thrown if the instance is not valid.
- */
- public void validate() {
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AzureSearchIndexDatasetTypeProperties.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AzureSearchIndexDatasetTypeProperties.java
deleted file mode 100644
index db32f13181937..0000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AzureSearchIndexDatasetTypeProperties.java
+++ /dev/null
@@ -1,59 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.datafactory.fluent.models;
-
-import com.azure.core.annotation.Fluent;
-import com.azure.core.util.logging.ClientLogger;
-import com.fasterxml.jackson.annotation.JsonIgnore;
-import com.fasterxml.jackson.annotation.JsonProperty;
-
-/** Properties specific to this dataset type. */
-@Fluent
-public final class AzureSearchIndexDatasetTypeProperties {
- @JsonIgnore private final ClientLogger logger = new ClientLogger(AzureSearchIndexDatasetTypeProperties.class);
-
- /*
- * The name of the Azure Search Index. Type: string (or Expression with
- * resultType string).
- */
- @JsonProperty(value = "indexName", required = true)
- private Object indexName;
-
- /**
- * Get the indexName property: The name of the Azure Search Index. Type: string (or Expression with resultType
- * string).
- *
- * @return the indexName value.
- */
- public Object indexName() {
- return this.indexName;
- }
-
- /**
- * Set the indexName property: The name of the Azure Search Index. Type: string (or Expression with resultType
- * string).
- *
- * @param indexName the indexName value to set.
- * @return the AzureSearchIndexDatasetTypeProperties object itself.
- */
- public AzureSearchIndexDatasetTypeProperties withIndexName(Object indexName) {
- this.indexName = indexName;
- return this;
- }
-
- /**
- * Validates the instance.
- *
- * @throws IllegalArgumentException thrown if the instance is not valid.
- */
- public void validate() {
- if (indexName() == null) {
- throw logger
- .logExceptionAsError(
- new IllegalArgumentException(
- "Missing required property indexName in model AzureSearchIndexDatasetTypeProperties"));
- }
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AzureSearchLinkedServiceTypeProperties.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AzureSearchLinkedServiceTypeProperties.java
deleted file mode 100644
index dce016d59729e..0000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AzureSearchLinkedServiceTypeProperties.java
+++ /dev/null
@@ -1,117 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.datafactory.fluent.models;
-
-import com.azure.core.annotation.Fluent;
-import com.azure.core.util.logging.ClientLogger;
-import com.azure.resourcemanager.datafactory.models.SecretBase;
-import com.fasterxml.jackson.annotation.JsonIgnore;
-import com.fasterxml.jackson.annotation.JsonProperty;
-
-/** Windows Azure Search Service linked service properties. */
-@Fluent
-public final class AzureSearchLinkedServiceTypeProperties {
- @JsonIgnore private final ClientLogger logger = new ClientLogger(AzureSearchLinkedServiceTypeProperties.class);
-
- /*
- * URL for Azure Search service. Type: string (or Expression with
- * resultType string).
- */
- @JsonProperty(value = "url", required = true)
- private Object url;
-
- /*
- * Admin Key for Azure Search service
- */
- @JsonProperty(value = "key")
- private SecretBase key;
-
- /*
- * The encrypted credential used for authentication. Credentials are
- * encrypted using the integration runtime credential manager. Type: string
- * (or Expression with resultType string).
- */
- @JsonProperty(value = "encryptedCredential")
- private Object encryptedCredential;
-
- /**
- * Get the url property: URL for Azure Search service. Type: string (or Expression with resultType string).
- *
- * @return the url value.
- */
- public Object url() {
- return this.url;
- }
-
- /**
- * Set the url property: URL for Azure Search service. Type: string (or Expression with resultType string).
- *
- * @param url the url value to set.
- * @return the AzureSearchLinkedServiceTypeProperties object itself.
- */
- public AzureSearchLinkedServiceTypeProperties withUrl(Object url) {
- this.url = url;
- return this;
- }
-
- /**
- * Get the key property: Admin Key for Azure Search service.
- *
- * @return the key value.
- */
- public SecretBase key() {
- return this.key;
- }
-
- /**
- * Set the key property: Admin Key for Azure Search service.
- *
- * @param key the key value to set.
- * @return the AzureSearchLinkedServiceTypeProperties object itself.
- */
- public AzureSearchLinkedServiceTypeProperties withKey(SecretBase key) {
- this.key = key;
- return this;
- }
-
- /**
- * Get the encryptedCredential property: 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 encryptedCredential property: 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 AzureSearchLinkedServiceTypeProperties object itself.
- */
- public AzureSearchLinkedServiceTypeProperties withEncryptedCredential(Object encryptedCredential) {
- this.encryptedCredential = encryptedCredential;
- return this;
- }
-
- /**
- * Validates the instance.
- *
- * @throws IllegalArgumentException thrown if the instance is not valid.
- */
- public void validate() {
- if (url() == null) {
- throw logger
- .logExceptionAsError(
- new IllegalArgumentException(
- "Missing required property url in model AzureSearchLinkedServiceTypeProperties"));
- }
- if (key() != null) {
- key().validate();
- }
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AzureSqlDWLinkedServiceTypeProperties.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AzureSqlDWLinkedServiceTypeProperties.java
deleted file mode 100644
index 6472b9e180442..0000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AzureSqlDWLinkedServiceTypeProperties.java
+++ /dev/null
@@ -1,274 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.datafactory.fluent.models;
-
-import com.azure.core.annotation.Fluent;
-import com.azure.core.util.logging.ClientLogger;
-import com.azure.resourcemanager.datafactory.models.AzureKeyVaultSecretReference;
-import com.azure.resourcemanager.datafactory.models.CredentialReference;
-import com.azure.resourcemanager.datafactory.models.SecretBase;
-import com.fasterxml.jackson.annotation.JsonIgnore;
-import com.fasterxml.jackson.annotation.JsonProperty;
-
-/** Azure SQL Data Warehouse linked service properties. */
-@Fluent
-public final class AzureSqlDWLinkedServiceTypeProperties {
- @JsonIgnore private final ClientLogger logger = new ClientLogger(AzureSqlDWLinkedServiceTypeProperties.class);
-
- /*
- * The connection string. Type: string, SecureString or
- * AzureKeyVaultSecretReference. Type: string, SecureString or
- * AzureKeyVaultSecretReference.
- */
- @JsonProperty(value = "connectionString", required = true)
- private Object connectionString;
-
- /*
- * The Azure key vault secret reference of password in connection string.
- */
- @JsonProperty(value = "password")
- private AzureKeyVaultSecretReference password;
-
- /*
- * The ID of the service principal used to authenticate against Azure SQL
- * Data Warehouse. Type: string (or Expression with resultType string).
- */
- @JsonProperty(value = "servicePrincipalId")
- private Object servicePrincipalId;
-
- /*
- * The key of the service principal used to authenticate against Azure SQL
- * Data Warehouse.
- */
- @JsonProperty(value = "servicePrincipalKey")
- private SecretBase servicePrincipalKey;
-
- /*
- * The name or ID of the tenant to which the service principal belongs.
- * Type: string (or Expression with resultType string).
- */
- @JsonProperty(value = "tenant")
- private Object tenant;
-
- /*
- * Indicates the azure cloud type of the service principle auth. Allowed
- * values are AzurePublic, AzureChina, AzureUsGovernment, AzureGermany.
- * Default value is the data factory regions’ cloud type. Type: string (or
- * Expression with resultType string).
- */
- @JsonProperty(value = "azureCloudType")
- private Object azureCloudType;
-
- /*
- * The encrypted credential used for authentication. Credentials are
- * encrypted using the integration runtime credential manager. Type: string
- * (or Expression with resultType string).
- */
- @JsonProperty(value = "encryptedCredential")
- private Object encryptedCredential;
-
- /*
- * The credential reference containing authentication information.
- */
- @JsonProperty(value = "credential")
- private CredentialReference credential;
-
- /**
- * Get the connectionString property: The connection string. Type: string, SecureString or
- * AzureKeyVaultSecretReference. Type: string, SecureString or AzureKeyVaultSecretReference.
- *
- * @return the connectionString value.
- */
- public Object connectionString() {
- return this.connectionString;
- }
-
- /**
- * Set the connectionString property: The connection string. Type: string, SecureString or
- * AzureKeyVaultSecretReference. Type: string, SecureString or AzureKeyVaultSecretReference.
- *
- * @param connectionString the connectionString value to set.
- * @return the AzureSqlDWLinkedServiceTypeProperties object itself.
- */
- public AzureSqlDWLinkedServiceTypeProperties withConnectionString(Object connectionString) {
- this.connectionString = connectionString;
- return this;
- }
-
- /**
- * Get the password property: The Azure key vault secret reference of password in connection string.
- *
- * @return the password value.
- */
- public AzureKeyVaultSecretReference password() {
- return this.password;
- }
-
- /**
- * Set the password property: The Azure key vault secret reference of password in connection string.
- *
- * @param password the password value to set.
- * @return the AzureSqlDWLinkedServiceTypeProperties object itself.
- */
- public AzureSqlDWLinkedServiceTypeProperties withPassword(AzureKeyVaultSecretReference password) {
- this.password = password;
- return this;
- }
-
- /**
- * Get the servicePrincipalId property: The ID of the service principal used to authenticate against Azure SQL Data
- * Warehouse. Type: string (or Expression with resultType string).
- *
- * @return the servicePrincipalId value.
- */
- public Object servicePrincipalId() {
- return this.servicePrincipalId;
- }
-
- /**
- * Set the servicePrincipalId property: The ID of the service principal used to authenticate against Azure SQL Data
- * Warehouse. Type: string (or Expression with resultType string).
- *
- * @param servicePrincipalId the servicePrincipalId value to set.
- * @return the AzureSqlDWLinkedServiceTypeProperties object itself.
- */
- public AzureSqlDWLinkedServiceTypeProperties withServicePrincipalId(Object servicePrincipalId) {
- this.servicePrincipalId = servicePrincipalId;
- return this;
- }
-
- /**
- * Get the servicePrincipalKey property: The key of the service principal used to authenticate against Azure SQL
- * Data Warehouse.
- *
- * @return the servicePrincipalKey value.
- */
- public SecretBase servicePrincipalKey() {
- return this.servicePrincipalKey;
- }
-
- /**
- * Set the servicePrincipalKey property: The key of the service principal used to authenticate against Azure SQL
- * Data Warehouse.
- *
- * @param servicePrincipalKey the servicePrincipalKey value to set.
- * @return the AzureSqlDWLinkedServiceTypeProperties object itself.
- */
- public AzureSqlDWLinkedServiceTypeProperties withServicePrincipalKey(SecretBase servicePrincipalKey) {
- this.servicePrincipalKey = servicePrincipalKey;
- return this;
- }
-
- /**
- * Get the tenant property: The name or ID of the tenant to which the service principal belongs. Type: string (or
- * Expression with resultType string).
- *
- * @return the tenant value.
- */
- public Object tenant() {
- return this.tenant;
- }
-
- /**
- * Set the tenant property: The name or ID of the tenant to which the service principal belongs. Type: string (or
- * Expression with resultType string).
- *
- * @param tenant the tenant value to set.
- * @return the AzureSqlDWLinkedServiceTypeProperties object itself.
- */
- public AzureSqlDWLinkedServiceTypeProperties withTenant(Object tenant) {
- this.tenant = tenant;
- return this;
- }
-
- /**
- * Get the azureCloudType property: Indicates the azure cloud type of the service principle auth. Allowed values are
- * AzurePublic, AzureChina, AzureUsGovernment, AzureGermany. Default value is the data factory regions’ cloud type.
- * Type: string (or Expression with resultType string).
- *
- * @return the azureCloudType value.
- */
- public Object azureCloudType() {
- return this.azureCloudType;
- }
-
- /**
- * Set the azureCloudType property: Indicates the azure cloud type of the service principle auth. Allowed values are
- * AzurePublic, AzureChina, AzureUsGovernment, AzureGermany. Default value is the data factory regions’ cloud type.
- * Type: string (or Expression with resultType string).
- *
- * @param azureCloudType the azureCloudType value to set.
- * @return the AzureSqlDWLinkedServiceTypeProperties object itself.
- */
- public AzureSqlDWLinkedServiceTypeProperties withAzureCloudType(Object azureCloudType) {
- this.azureCloudType = azureCloudType;
- return this;
- }
-
- /**
- * Get the encryptedCredential property: 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 encryptedCredential property: 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 AzureSqlDWLinkedServiceTypeProperties object itself.
- */
- public AzureSqlDWLinkedServiceTypeProperties withEncryptedCredential(Object encryptedCredential) {
- this.encryptedCredential = encryptedCredential;
- return this;
- }
-
- /**
- * Get the credential property: The credential reference containing authentication information.
- *
- * @return the credential value.
- */
- public CredentialReference credential() {
- return this.credential;
- }
-
- /**
- * Set the credential property: The credential reference containing authentication information.
- *
- * @param credential the credential value to set.
- * @return the AzureSqlDWLinkedServiceTypeProperties object itself.
- */
- public AzureSqlDWLinkedServiceTypeProperties withCredential(CredentialReference credential) {
- this.credential = credential;
- return this;
- }
-
- /**
- * Validates the instance.
- *
- * @throws IllegalArgumentException thrown if the instance is not valid.
- */
- public void validate() {
- if (connectionString() == null) {
- throw logger
- .logExceptionAsError(
- new IllegalArgumentException(
- "Missing required property connectionString in model AzureSqlDWLinkedServiceTypeProperties"));
- }
- if (password() != null) {
- password().validate();
- }
- if (servicePrincipalKey() != null) {
- servicePrincipalKey().validate();
- }
- if (credential() != null) {
- credential().validate();
- }
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AzureSqlDWTableDatasetTypeProperties.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AzureSqlDWTableDatasetTypeProperties.java
deleted file mode 100644
index 04a4f83ffa483..0000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AzureSqlDWTableDatasetTypeProperties.java
+++ /dev/null
@@ -1,111 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.datafactory.fluent.models;
-
-import com.azure.core.annotation.Fluent;
-import com.azure.core.util.logging.ClientLogger;
-import com.fasterxml.jackson.annotation.JsonIgnore;
-import com.fasterxml.jackson.annotation.JsonProperty;
-
-/** Azure SQL Data Warehouse dataset properties. */
-@Fluent
-public final class AzureSqlDWTableDatasetTypeProperties {
- @JsonIgnore private final ClientLogger logger = new ClientLogger(AzureSqlDWTableDatasetTypeProperties.class);
-
- /*
- * This property will be retired. Please consider using schema + table
- * properties instead.
- */
- @JsonProperty(value = "tableName")
- private Object tableName;
-
- /*
- * The schema name of the Azure SQL Data Warehouse. Type: string (or
- * Expression with resultType string).
- */
- @JsonProperty(value = "schema")
- private Object schema;
-
- /*
- * The table name of the Azure SQL Data Warehouse. Type: string (or
- * Expression with resultType string).
- */
- @JsonProperty(value = "table")
- private Object table;
-
- /**
- * Get the tableName property: This property will be retired. Please consider using schema + table properties
- * instead.
- *
- * @return the tableName value.
- */
- public Object tableName() {
- return this.tableName;
- }
-
- /**
- * Set the tableName property: This property will be retired. Please consider using schema + table properties
- * instead.
- *
- * @param tableName the tableName value to set.
- * @return the AzureSqlDWTableDatasetTypeProperties object itself.
- */
- public AzureSqlDWTableDatasetTypeProperties withTableName(Object tableName) {
- this.tableName = tableName;
- return this;
- }
-
- /**
- * Get the schema property: The schema name of the Azure SQL Data Warehouse. Type: string (or Expression with
- * resultType string).
- *
- * @return the schema value.
- */
- public Object schema() {
- return this.schema;
- }
-
- /**
- * Set the schema property: The schema name of the Azure SQL Data Warehouse. Type: string (or Expression with
- * resultType string).
- *
- * @param schema the schema value to set.
- * @return the AzureSqlDWTableDatasetTypeProperties object itself.
- */
- public AzureSqlDWTableDatasetTypeProperties withSchema(Object schema) {
- this.schema = schema;
- return this;
- }
-
- /**
- * Get the table property: The table name of the Azure SQL Data Warehouse. Type: string (or Expression with
- * resultType string).
- *
- * @return the table value.
- */
- public Object table() {
- return this.table;
- }
-
- /**
- * Set the table property: The table name of the Azure SQL Data Warehouse. Type: string (or Expression with
- * resultType string).
- *
- * @param table the table value to set.
- * @return the AzureSqlDWTableDatasetTypeProperties object itself.
- */
- public AzureSqlDWTableDatasetTypeProperties withTable(Object table) {
- this.table = table;
- return this;
- }
-
- /**
- * Validates the instance.
- *
- * @throws IllegalArgumentException thrown if the instance is not valid.
- */
- public void validate() {
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AzureSqlDatabaseLinkedServiceTypeProperties.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AzureSqlDatabaseLinkedServiceTypeProperties.java
deleted file mode 100644
index f540ec692bb18..0000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AzureSqlDatabaseLinkedServiceTypeProperties.java
+++ /dev/null
@@ -1,305 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.datafactory.fluent.models;
-
-import com.azure.core.annotation.Fluent;
-import com.azure.core.util.logging.ClientLogger;
-import com.azure.resourcemanager.datafactory.models.AzureKeyVaultSecretReference;
-import com.azure.resourcemanager.datafactory.models.CredentialReference;
-import com.azure.resourcemanager.datafactory.models.SecretBase;
-import com.azure.resourcemanager.datafactory.models.SqlAlwaysEncryptedProperties;
-import com.fasterxml.jackson.annotation.JsonIgnore;
-import com.fasterxml.jackson.annotation.JsonProperty;
-
-/** Azure SQL Database linked service properties. */
-@Fluent
-public final class AzureSqlDatabaseLinkedServiceTypeProperties {
- @JsonIgnore private final ClientLogger logger = new ClientLogger(AzureSqlDatabaseLinkedServiceTypeProperties.class);
-
- /*
- * The connection string. Type: string, SecureString or
- * AzureKeyVaultSecretReference.
- */
- @JsonProperty(value = "connectionString", required = true)
- private Object connectionString;
-
- /*
- * The Azure key vault secret reference of password in connection string.
- */
- @JsonProperty(value = "password")
- private AzureKeyVaultSecretReference password;
-
- /*
- * The ID of the service principal used to authenticate against Azure SQL
- * Database. Type: string (or Expression with resultType string).
- */
- @JsonProperty(value = "servicePrincipalId")
- private Object servicePrincipalId;
-
- /*
- * The key of the service principal used to authenticate against Azure SQL
- * Database.
- */
- @JsonProperty(value = "servicePrincipalKey")
- private SecretBase servicePrincipalKey;
-
- /*
- * The name or ID of the tenant to which the service principal belongs.
- * Type: string (or Expression with resultType string).
- */
- @JsonProperty(value = "tenant")
- private Object tenant;
-
- /*
- * Indicates the azure cloud type of the service principle auth. Allowed
- * values are AzurePublic, AzureChina, AzureUsGovernment, AzureGermany.
- * Default value is the data factory regions’ cloud type. Type: string (or
- * Expression with resultType string).
- */
- @JsonProperty(value = "azureCloudType")
- private Object azureCloudType;
-
- /*
- * The encrypted credential used for authentication. Credentials are
- * encrypted using the integration runtime credential manager. Type: string
- * (or Expression with resultType string).
- */
- @JsonProperty(value = "encryptedCredential")
- private Object encryptedCredential;
-
- /*
- * Sql always encrypted properties.
- */
- @JsonProperty(value = "alwaysEncryptedSettings")
- private SqlAlwaysEncryptedProperties alwaysEncryptedSettings;
-
- /*
- * The credential reference containing authentication information.
- */
- @JsonProperty(value = "credential")
- private CredentialReference credential;
-
- /**
- * Get the connectionString property: The connection string. Type: string, SecureString or
- * AzureKeyVaultSecretReference.
- *
- * @return the connectionString value.
- */
- public Object connectionString() {
- return this.connectionString;
- }
-
- /**
- * Set the connectionString property: The connection string. Type: string, SecureString or
- * AzureKeyVaultSecretReference.
- *
- * @param connectionString the connectionString value to set.
- * @return the AzureSqlDatabaseLinkedServiceTypeProperties object itself.
- */
- public AzureSqlDatabaseLinkedServiceTypeProperties withConnectionString(Object connectionString) {
- this.connectionString = connectionString;
- return this;
- }
-
- /**
- * Get the password property: The Azure key vault secret reference of password in connection string.
- *
- * @return the password value.
- */
- public AzureKeyVaultSecretReference password() {
- return this.password;
- }
-
- /**
- * Set the password property: The Azure key vault secret reference of password in connection string.
- *
- * @param password the password value to set.
- * @return the AzureSqlDatabaseLinkedServiceTypeProperties object itself.
- */
- public AzureSqlDatabaseLinkedServiceTypeProperties withPassword(AzureKeyVaultSecretReference password) {
- this.password = password;
- return this;
- }
-
- /**
- * Get the servicePrincipalId property: The ID of the service principal used to authenticate against Azure SQL
- * Database. Type: string (or Expression with resultType string).
- *
- * @return the servicePrincipalId value.
- */
- public Object servicePrincipalId() {
- return this.servicePrincipalId;
- }
-
- /**
- * Set the servicePrincipalId property: The ID of the service principal used to authenticate against Azure SQL
- * Database. Type: string (or Expression with resultType string).
- *
- * @param servicePrincipalId the servicePrincipalId value to set.
- * @return the AzureSqlDatabaseLinkedServiceTypeProperties object itself.
- */
- public AzureSqlDatabaseLinkedServiceTypeProperties withServicePrincipalId(Object servicePrincipalId) {
- this.servicePrincipalId = servicePrincipalId;
- return this;
- }
-
- /**
- * Get the servicePrincipalKey property: The key of the service principal used to authenticate against Azure SQL
- * Database.
- *
- * @return the servicePrincipalKey value.
- */
- public SecretBase servicePrincipalKey() {
- return this.servicePrincipalKey;
- }
-
- /**
- * Set the servicePrincipalKey property: The key of the service principal used to authenticate against Azure SQL
- * Database.
- *
- * @param servicePrincipalKey the servicePrincipalKey value to set.
- * @return the AzureSqlDatabaseLinkedServiceTypeProperties object itself.
- */
- public AzureSqlDatabaseLinkedServiceTypeProperties withServicePrincipalKey(SecretBase servicePrincipalKey) {
- this.servicePrincipalKey = servicePrincipalKey;
- return this;
- }
-
- /**
- * Get the tenant property: The name or ID of the tenant to which the service principal belongs. Type: string (or
- * Expression with resultType string).
- *
- * @return the tenant value.
- */
- public Object tenant() {
- return this.tenant;
- }
-
- /**
- * Set the tenant property: The name or ID of the tenant to which the service principal belongs. Type: string (or
- * Expression with resultType string).
- *
- * @param tenant the tenant value to set.
- * @return the AzureSqlDatabaseLinkedServiceTypeProperties object itself.
- */
- public AzureSqlDatabaseLinkedServiceTypeProperties withTenant(Object tenant) {
- this.tenant = tenant;
- return this;
- }
-
- /**
- * Get the azureCloudType property: Indicates the azure cloud type of the service principle auth. Allowed values are
- * AzurePublic, AzureChina, AzureUsGovernment, AzureGermany. Default value is the data factory regions’ cloud type.
- * Type: string (or Expression with resultType string).
- *
- * @return the azureCloudType value.
- */
- public Object azureCloudType() {
- return this.azureCloudType;
- }
-
- /**
- * Set the azureCloudType property: Indicates the azure cloud type of the service principle auth. Allowed values are
- * AzurePublic, AzureChina, AzureUsGovernment, AzureGermany. Default value is the data factory regions’ cloud type.
- * Type: string (or Expression with resultType string).
- *
- * @param azureCloudType the azureCloudType value to set.
- * @return the AzureSqlDatabaseLinkedServiceTypeProperties object itself.
- */
- public AzureSqlDatabaseLinkedServiceTypeProperties withAzureCloudType(Object azureCloudType) {
- this.azureCloudType = azureCloudType;
- return this;
- }
-
- /**
- * Get the encryptedCredential property: 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 encryptedCredential property: 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 AzureSqlDatabaseLinkedServiceTypeProperties object itself.
- */
- public AzureSqlDatabaseLinkedServiceTypeProperties withEncryptedCredential(Object encryptedCredential) {
- this.encryptedCredential = encryptedCredential;
- return this;
- }
-
- /**
- * Get the alwaysEncryptedSettings property: Sql always encrypted properties.
- *
- * @return the alwaysEncryptedSettings value.
- */
- public SqlAlwaysEncryptedProperties alwaysEncryptedSettings() {
- return this.alwaysEncryptedSettings;
- }
-
- /**
- * Set the alwaysEncryptedSettings property: Sql always encrypted properties.
- *
- * @param alwaysEncryptedSettings the alwaysEncryptedSettings value to set.
- * @return the AzureSqlDatabaseLinkedServiceTypeProperties object itself.
- */
- public AzureSqlDatabaseLinkedServiceTypeProperties withAlwaysEncryptedSettings(
- SqlAlwaysEncryptedProperties alwaysEncryptedSettings) {
- this.alwaysEncryptedSettings = alwaysEncryptedSettings;
- return this;
- }
-
- /**
- * Get the credential property: The credential reference containing authentication information.
- *
- * @return the credential value.
- */
- public CredentialReference credential() {
- return this.credential;
- }
-
- /**
- * Set the credential property: The credential reference containing authentication information.
- *
- * @param credential the credential value to set.
- * @return the AzureSqlDatabaseLinkedServiceTypeProperties object itself.
- */
- public AzureSqlDatabaseLinkedServiceTypeProperties withCredential(CredentialReference credential) {
- this.credential = credential;
- return this;
- }
-
- /**
- * Validates the instance.
- *
- * @throws IllegalArgumentException thrown if the instance is not valid.
- */
- public void validate() {
- if (connectionString() == null) {
- throw logger
- .logExceptionAsError(
- new IllegalArgumentException(
- "Missing required property connectionString in model"
- + " AzureSqlDatabaseLinkedServiceTypeProperties"));
- }
- if (password() != null) {
- password().validate();
- }
- if (servicePrincipalKey() != null) {
- servicePrincipalKey().validate();
- }
- if (alwaysEncryptedSettings() != null) {
- alwaysEncryptedSettings().validate();
- }
- if (credential() != null) {
- credential().validate();
- }
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AzureSqlMILinkedServiceTypeProperties.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AzureSqlMILinkedServiceTypeProperties.java
deleted file mode 100644
index c3225bef598cb..0000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AzureSqlMILinkedServiceTypeProperties.java
+++ /dev/null
@@ -1,304 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.datafactory.fluent.models;
-
-import com.azure.core.annotation.Fluent;
-import com.azure.core.util.logging.ClientLogger;
-import com.azure.resourcemanager.datafactory.models.AzureKeyVaultSecretReference;
-import com.azure.resourcemanager.datafactory.models.CredentialReference;
-import com.azure.resourcemanager.datafactory.models.SecretBase;
-import com.azure.resourcemanager.datafactory.models.SqlAlwaysEncryptedProperties;
-import com.fasterxml.jackson.annotation.JsonIgnore;
-import com.fasterxml.jackson.annotation.JsonProperty;
-
-/** Azure SQL Managed Instance linked service properties. */
-@Fluent
-public final class AzureSqlMILinkedServiceTypeProperties {
- @JsonIgnore private final ClientLogger logger = new ClientLogger(AzureSqlMILinkedServiceTypeProperties.class);
-
- /*
- * The connection string. Type: string, SecureString or
- * AzureKeyVaultSecretReference.
- */
- @JsonProperty(value = "connectionString", required = true)
- private Object connectionString;
-
- /*
- * The Azure key vault secret reference of password in connection string.
- */
- @JsonProperty(value = "password")
- private AzureKeyVaultSecretReference password;
-
- /*
- * The ID of the service principal used to authenticate against Azure SQL
- * Managed Instance. Type: string (or Expression with resultType string).
- */
- @JsonProperty(value = "servicePrincipalId")
- private Object servicePrincipalId;
-
- /*
- * The key of the service principal used to authenticate against Azure SQL
- * Managed Instance.
- */
- @JsonProperty(value = "servicePrincipalKey")
- private SecretBase servicePrincipalKey;
-
- /*
- * The name or ID of the tenant to which the service principal belongs.
- * Type: string (or Expression with resultType string).
- */
- @JsonProperty(value = "tenant")
- private Object tenant;
-
- /*
- * Indicates the azure cloud type of the service principle auth. Allowed
- * values are AzurePublic, AzureChina, AzureUsGovernment, AzureGermany.
- * Default value is the data factory regions’ cloud type. Type: string (or
- * Expression with resultType string).
- */
- @JsonProperty(value = "azureCloudType")
- private Object azureCloudType;
-
- /*
- * The encrypted credential used for authentication. Credentials are
- * encrypted using the integration runtime credential manager. Type: string
- * (or Expression with resultType string).
- */
- @JsonProperty(value = "encryptedCredential")
- private Object encryptedCredential;
-
- /*
- * Sql always encrypted properties.
- */
- @JsonProperty(value = "alwaysEncryptedSettings")
- private SqlAlwaysEncryptedProperties alwaysEncryptedSettings;
-
- /*
- * The credential reference containing authentication information.
- */
- @JsonProperty(value = "credential")
- private CredentialReference credential;
-
- /**
- * Get the connectionString property: The connection string. Type: string, SecureString or
- * AzureKeyVaultSecretReference.
- *
- * @return the connectionString value.
- */
- public Object connectionString() {
- return this.connectionString;
- }
-
- /**
- * Set the connectionString property: The connection string. Type: string, SecureString or
- * AzureKeyVaultSecretReference.
- *
- * @param connectionString the connectionString value to set.
- * @return the AzureSqlMILinkedServiceTypeProperties object itself.
- */
- public AzureSqlMILinkedServiceTypeProperties withConnectionString(Object connectionString) {
- this.connectionString = connectionString;
- return this;
- }
-
- /**
- * Get the password property: The Azure key vault secret reference of password in connection string.
- *
- * @return the password value.
- */
- public AzureKeyVaultSecretReference password() {
- return this.password;
- }
-
- /**
- * Set the password property: The Azure key vault secret reference of password in connection string.
- *
- * @param password the password value to set.
- * @return the AzureSqlMILinkedServiceTypeProperties object itself.
- */
- public AzureSqlMILinkedServiceTypeProperties withPassword(AzureKeyVaultSecretReference password) {
- this.password = password;
- return this;
- }
-
- /**
- * Get the servicePrincipalId property: The ID of the service principal used to authenticate against Azure SQL
- * Managed Instance. Type: string (or Expression with resultType string).
- *
- * @return the servicePrincipalId value.
- */
- public Object servicePrincipalId() {
- return this.servicePrincipalId;
- }
-
- /**
- * Set the servicePrincipalId property: The ID of the service principal used to authenticate against Azure SQL
- * Managed Instance. Type: string (or Expression with resultType string).
- *
- * @param servicePrincipalId the servicePrincipalId value to set.
- * @return the AzureSqlMILinkedServiceTypeProperties object itself.
- */
- public AzureSqlMILinkedServiceTypeProperties withServicePrincipalId(Object servicePrincipalId) {
- this.servicePrincipalId = servicePrincipalId;
- return this;
- }
-
- /**
- * Get the servicePrincipalKey property: The key of the service principal used to authenticate against Azure SQL
- * Managed Instance.
- *
- * @return the servicePrincipalKey value.
- */
- public SecretBase servicePrincipalKey() {
- return this.servicePrincipalKey;
- }
-
- /**
- * Set the servicePrincipalKey property: The key of the service principal used to authenticate against Azure SQL
- * Managed Instance.
- *
- * @param servicePrincipalKey the servicePrincipalKey value to set.
- * @return the AzureSqlMILinkedServiceTypeProperties object itself.
- */
- public AzureSqlMILinkedServiceTypeProperties withServicePrincipalKey(SecretBase servicePrincipalKey) {
- this.servicePrincipalKey = servicePrincipalKey;
- return this;
- }
-
- /**
- * Get the tenant property: The name or ID of the tenant to which the service principal belongs. Type: string (or
- * Expression with resultType string).
- *
- * @return the tenant value.
- */
- public Object tenant() {
- return this.tenant;
- }
-
- /**
- * Set the tenant property: The name or ID of the tenant to which the service principal belongs. Type: string (or
- * Expression with resultType string).
- *
- * @param tenant the tenant value to set.
- * @return the AzureSqlMILinkedServiceTypeProperties object itself.
- */
- public AzureSqlMILinkedServiceTypeProperties withTenant(Object tenant) {
- this.tenant = tenant;
- return this;
- }
-
- /**
- * Get the azureCloudType property: Indicates the azure cloud type of the service principle auth. Allowed values are
- * AzurePublic, AzureChina, AzureUsGovernment, AzureGermany. Default value is the data factory regions’ cloud type.
- * Type: string (or Expression with resultType string).
- *
- * @return the azureCloudType value.
- */
- public Object azureCloudType() {
- return this.azureCloudType;
- }
-
- /**
- * Set the azureCloudType property: Indicates the azure cloud type of the service principle auth. Allowed values are
- * AzurePublic, AzureChina, AzureUsGovernment, AzureGermany. Default value is the data factory regions’ cloud type.
- * Type: string (or Expression with resultType string).
- *
- * @param azureCloudType the azureCloudType value to set.
- * @return the AzureSqlMILinkedServiceTypeProperties object itself.
- */
- public AzureSqlMILinkedServiceTypeProperties withAzureCloudType(Object azureCloudType) {
- this.azureCloudType = azureCloudType;
- return this;
- }
-
- /**
- * Get the encryptedCredential property: 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 encryptedCredential property: 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 AzureSqlMILinkedServiceTypeProperties object itself.
- */
- public AzureSqlMILinkedServiceTypeProperties withEncryptedCredential(Object encryptedCredential) {
- this.encryptedCredential = encryptedCredential;
- return this;
- }
-
- /**
- * Get the alwaysEncryptedSettings property: Sql always encrypted properties.
- *
- * @return the alwaysEncryptedSettings value.
- */
- public SqlAlwaysEncryptedProperties alwaysEncryptedSettings() {
- return this.alwaysEncryptedSettings;
- }
-
- /**
- * Set the alwaysEncryptedSettings property: Sql always encrypted properties.
- *
- * @param alwaysEncryptedSettings the alwaysEncryptedSettings value to set.
- * @return the AzureSqlMILinkedServiceTypeProperties object itself.
- */
- public AzureSqlMILinkedServiceTypeProperties withAlwaysEncryptedSettings(
- SqlAlwaysEncryptedProperties alwaysEncryptedSettings) {
- this.alwaysEncryptedSettings = alwaysEncryptedSettings;
- return this;
- }
-
- /**
- * Get the credential property: The credential reference containing authentication information.
- *
- * @return the credential value.
- */
- public CredentialReference credential() {
- return this.credential;
- }
-
- /**
- * Set the credential property: The credential reference containing authentication information.
- *
- * @param credential the credential value to set.
- * @return the AzureSqlMILinkedServiceTypeProperties object itself.
- */
- public AzureSqlMILinkedServiceTypeProperties withCredential(CredentialReference credential) {
- this.credential = credential;
- return this;
- }
-
- /**
- * Validates the instance.
- *
- * @throws IllegalArgumentException thrown if the instance is not valid.
- */
- public void validate() {
- if (connectionString() == null) {
- throw logger
- .logExceptionAsError(
- new IllegalArgumentException(
- "Missing required property connectionString in model AzureSqlMILinkedServiceTypeProperties"));
- }
- if (password() != null) {
- password().validate();
- }
- if (servicePrincipalKey() != null) {
- servicePrincipalKey().validate();
- }
- if (alwaysEncryptedSettings() != null) {
- alwaysEncryptedSettings().validate();
- }
- if (credential() != null) {
- credential().validate();
- }
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AzureSqlMITableDatasetTypeProperties.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AzureSqlMITableDatasetTypeProperties.java
deleted file mode 100644
index 0ca13f6f13874..0000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AzureSqlMITableDatasetTypeProperties.java
+++ /dev/null
@@ -1,111 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.datafactory.fluent.models;
-
-import com.azure.core.annotation.Fluent;
-import com.azure.core.util.logging.ClientLogger;
-import com.fasterxml.jackson.annotation.JsonIgnore;
-import com.fasterxml.jackson.annotation.JsonProperty;
-
-/** Azure SQL Managed Instance dataset properties. */
-@Fluent
-public final class AzureSqlMITableDatasetTypeProperties {
- @JsonIgnore private final ClientLogger logger = new ClientLogger(AzureSqlMITableDatasetTypeProperties.class);
-
- /*
- * This property will be retired. Please consider using schema + table
- * properties instead.
- */
- @JsonProperty(value = "tableName")
- private Object tableName;
-
- /*
- * The schema name of the Azure SQL Managed Instance. Type: string (or
- * Expression with resultType string).
- */
- @JsonProperty(value = "schema")
- private Object schema;
-
- /*
- * The table name of the Azure SQL Managed Instance dataset. Type: string
- * (or Expression with resultType string).
- */
- @JsonProperty(value = "table")
- private Object table;
-
- /**
- * Get the tableName property: This property will be retired. Please consider using schema + table properties
- * instead.
- *
- * @return the tableName value.
- */
- public Object tableName() {
- return this.tableName;
- }
-
- /**
- * Set the tableName property: This property will be retired. Please consider using schema + table properties
- * instead.
- *
- * @param tableName the tableName value to set.
- * @return the AzureSqlMITableDatasetTypeProperties object itself.
- */
- public AzureSqlMITableDatasetTypeProperties withTableName(Object tableName) {
- this.tableName = tableName;
- return this;
- }
-
- /**
- * Get the schema property: The schema name of the Azure SQL Managed Instance. Type: string (or Expression with
- * resultType string).
- *
- * @return the schema value.
- */
- public Object schema() {
- return this.schema;
- }
-
- /**
- * Set the schema property: The schema name of the Azure SQL Managed Instance. Type: string (or Expression with
- * resultType string).
- *
- * @param schema the schema value to set.
- * @return the AzureSqlMITableDatasetTypeProperties object itself.
- */
- public AzureSqlMITableDatasetTypeProperties withSchema(Object schema) {
- this.schema = schema;
- return this;
- }
-
- /**
- * Get the table property: The table name of the Azure SQL Managed Instance dataset. Type: string (or Expression
- * with resultType string).
- *
- * @return the table value.
- */
- public Object table() {
- return this.table;
- }
-
- /**
- * Set the table property: The table name of the Azure SQL Managed Instance dataset. Type: string (or Expression
- * with resultType string).
- *
- * @param table the table value to set.
- * @return the AzureSqlMITableDatasetTypeProperties object itself.
- */
- public AzureSqlMITableDatasetTypeProperties withTable(Object table) {
- this.table = table;
- return this;
- }
-
- /**
- * Validates the instance.
- *
- * @throws IllegalArgumentException thrown if the instance is not valid.
- */
- public void validate() {
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AzureSqlTableDatasetTypeProperties.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AzureSqlTableDatasetTypeProperties.java
deleted file mode 100644
index 9bc6a5e769a0e..0000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AzureSqlTableDatasetTypeProperties.java
+++ /dev/null
@@ -1,111 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.datafactory.fluent.models;
-
-import com.azure.core.annotation.Fluent;
-import com.azure.core.util.logging.ClientLogger;
-import com.fasterxml.jackson.annotation.JsonIgnore;
-import com.fasterxml.jackson.annotation.JsonProperty;
-
-/** Azure SQL dataset properties. */
-@Fluent
-public final class AzureSqlTableDatasetTypeProperties {
- @JsonIgnore private final ClientLogger logger = new ClientLogger(AzureSqlTableDatasetTypeProperties.class);
-
- /*
- * This property will be retired. Please consider using schema + table
- * properties instead.
- */
- @JsonProperty(value = "tableName")
- private Object tableName;
-
- /*
- * The schema name of the Azure SQL database. Type: string (or Expression
- * with resultType string).
- */
- @JsonProperty(value = "schema")
- private Object schema;
-
- /*
- * The table name of the Azure SQL database. Type: string (or Expression
- * with resultType string).
- */
- @JsonProperty(value = "table")
- private Object table;
-
- /**
- * Get the tableName property: This property will be retired. Please consider using schema + table properties
- * instead.
- *
- * @return the tableName value.
- */
- public Object tableName() {
- return this.tableName;
- }
-
- /**
- * Set the tableName property: This property will be retired. Please consider using schema + table properties
- * instead.
- *
- * @param tableName the tableName value to set.
- * @return the AzureSqlTableDatasetTypeProperties object itself.
- */
- public AzureSqlTableDatasetTypeProperties withTableName(Object tableName) {
- this.tableName = tableName;
- return this;
- }
-
- /**
- * Get the schema property: The schema name of the Azure SQL database. Type: string (or Expression with resultType
- * string).
- *
- * @return the schema value.
- */
- public Object schema() {
- return this.schema;
- }
-
- /**
- * Set the schema property: The schema name of the Azure SQL database. Type: string (or Expression with resultType
- * string).
- *
- * @param schema the schema value to set.
- * @return the AzureSqlTableDatasetTypeProperties object itself.
- */
- public AzureSqlTableDatasetTypeProperties withSchema(Object schema) {
- this.schema = schema;
- return this;
- }
-
- /**
- * Get the table property: The table name of the Azure SQL database. Type: string (or Expression with resultType
- * string).
- *
- * @return the table value.
- */
- public Object table() {
- return this.table;
- }
-
- /**
- * Set the table property: The table name of the Azure SQL database. Type: string (or Expression with resultType
- * string).
- *
- * @param table the table value to set.
- * @return the AzureSqlTableDatasetTypeProperties object itself.
- */
- public AzureSqlTableDatasetTypeProperties withTable(Object table) {
- this.table = table;
- return this;
- }
-
- /**
- * Validates the instance.
- *
- * @throws IllegalArgumentException thrown if the instance is not valid.
- */
- public void validate() {
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AzureStorageLinkedServiceTypeProperties.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AzureStorageLinkedServiceTypeProperties.java
deleted file mode 100644
index fce63a0ee617b..0000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AzureStorageLinkedServiceTypeProperties.java
+++ /dev/null
@@ -1,172 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.datafactory.fluent.models;
-
-import com.azure.core.annotation.Fluent;
-import com.azure.core.util.logging.ClientLogger;
-import com.azure.resourcemanager.datafactory.models.AzureKeyVaultSecretReference;
-import com.fasterxml.jackson.annotation.JsonIgnore;
-import com.fasterxml.jackson.annotation.JsonProperty;
-
-/** Azure Storage linked service properties. */
-@Fluent
-public final class AzureStorageLinkedServiceTypeProperties {
- @JsonIgnore private final ClientLogger logger = new ClientLogger(AzureStorageLinkedServiceTypeProperties.class);
-
- /*
- * The connection string. It is mutually exclusive with sasUri property.
- * Type: string, SecureString or AzureKeyVaultSecretReference.
- */
- @JsonProperty(value = "connectionString")
- private Object connectionString;
-
- /*
- * The Azure key vault secret reference of accountKey in connection string.
- */
- @JsonProperty(value = "accountKey")
- private AzureKeyVaultSecretReference accountKey;
-
- /*
- * SAS URI of the Azure Storage resource. It is mutually exclusive with
- * connectionString property. Type: string, SecureString or
- * AzureKeyVaultSecretReference.
- */
- @JsonProperty(value = "sasUri")
- private Object sasUri;
-
- /*
- * The Azure key vault secret reference of sasToken in sas uri.
- */
- @JsonProperty(value = "sasToken")
- private AzureKeyVaultSecretReference sasToken;
-
- /*
- * The encrypted credential used for authentication. Credentials are
- * encrypted using the integration runtime credential manager. Type: string
- * (or Expression with resultType string).
- */
- @JsonProperty(value = "encryptedCredential")
- private String encryptedCredential;
-
- /**
- * Get the connectionString property: The connection string. It is mutually exclusive with sasUri property. Type:
- * string, SecureString or AzureKeyVaultSecretReference.
- *
- * @return the connectionString value.
- */
- public Object connectionString() {
- return this.connectionString;
- }
-
- /**
- * Set the connectionString property: The connection string. It is mutually exclusive with sasUri property. Type:
- * string, SecureString or AzureKeyVaultSecretReference.
- *
- * @param connectionString the connectionString value to set.
- * @return the AzureStorageLinkedServiceTypeProperties object itself.
- */
- public AzureStorageLinkedServiceTypeProperties withConnectionString(Object connectionString) {
- this.connectionString = connectionString;
- return this;
- }
-
- /**
- * Get the accountKey property: The Azure key vault secret reference of accountKey in connection string.
- *
- * @return the accountKey value.
- */
- public AzureKeyVaultSecretReference accountKey() {
- return this.accountKey;
- }
-
- /**
- * Set the accountKey property: The Azure key vault secret reference of accountKey in connection string.
- *
- * @param accountKey the accountKey value to set.
- * @return the AzureStorageLinkedServiceTypeProperties object itself.
- */
- public AzureStorageLinkedServiceTypeProperties withAccountKey(AzureKeyVaultSecretReference accountKey) {
- this.accountKey = accountKey;
- return this;
- }
-
- /**
- * Get the sasUri property: SAS URI of the Azure Storage resource. It is mutually exclusive with connectionString
- * property. Type: string, SecureString or AzureKeyVaultSecretReference.
- *
- * @return the sasUri value.
- */
- public Object sasUri() {
- return this.sasUri;
- }
-
- /**
- * Set the sasUri property: SAS URI of the Azure Storage resource. It is mutually exclusive with connectionString
- * property. Type: string, SecureString or AzureKeyVaultSecretReference.
- *
- * @param sasUri the sasUri value to set.
- * @return the AzureStorageLinkedServiceTypeProperties object itself.
- */
- public AzureStorageLinkedServiceTypeProperties withSasUri(Object sasUri) {
- this.sasUri = sasUri;
- return this;
- }
-
- /**
- * Get the sasToken property: The Azure key vault secret reference of sasToken in sas uri.
- *
- * @return the sasToken value.
- */
- public AzureKeyVaultSecretReference sasToken() {
- return this.sasToken;
- }
-
- /**
- * Set the sasToken property: The Azure key vault secret reference of sasToken in sas uri.
- *
- * @param sasToken the sasToken value to set.
- * @return the AzureStorageLinkedServiceTypeProperties object itself.
- */
- public AzureStorageLinkedServiceTypeProperties withSasToken(AzureKeyVaultSecretReference sasToken) {
- this.sasToken = sasToken;
- return this;
- }
-
- /**
- * Get the encryptedCredential property: 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 String encryptedCredential() {
- return this.encryptedCredential;
- }
-
- /**
- * Set the encryptedCredential property: 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 AzureStorageLinkedServiceTypeProperties object itself.
- */
- public AzureStorageLinkedServiceTypeProperties withEncryptedCredential(String encryptedCredential) {
- this.encryptedCredential = encryptedCredential;
- return this;
- }
-
- /**
- * Validates the instance.
- *
- * @throws IllegalArgumentException thrown if the instance is not valid.
- */
- public void validate() {
- if (accountKey() != null) {
- accountKey().validate();
- }
- if (sasToken() != null) {
- sasToken().validate();
- }
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AzureTableDatasetTypeProperties.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AzureTableDatasetTypeProperties.java
deleted file mode 100644
index b916486055a31..0000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AzureTableDatasetTypeProperties.java
+++ /dev/null
@@ -1,59 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.datafactory.fluent.models;
-
-import com.azure.core.annotation.Fluent;
-import com.azure.core.util.logging.ClientLogger;
-import com.fasterxml.jackson.annotation.JsonIgnore;
-import com.fasterxml.jackson.annotation.JsonProperty;
-
-/** Azure Table dataset properties. */
-@Fluent
-public final class AzureTableDatasetTypeProperties {
- @JsonIgnore private final ClientLogger logger = new ClientLogger(AzureTableDatasetTypeProperties.class);
-
- /*
- * The table name of the Azure Table storage. Type: string (or Expression
- * with resultType string).
- */
- @JsonProperty(value = "tableName", required = true)
- private Object tableName;
-
- /**
- * Get the tableName property: The table name of the Azure Table storage. Type: string (or Expression with
- * resultType string).
- *
- * @return the tableName value.
- */
- public Object tableName() {
- return this.tableName;
- }
-
- /**
- * Set the tableName property: The table name of the Azure Table storage. Type: string (or Expression with
- * resultType string).
- *
- * @param tableName the tableName value to set.
- * @return the AzureTableDatasetTypeProperties object itself.
- */
- public AzureTableDatasetTypeProperties withTableName(Object tableName) {
- this.tableName = tableName;
- return this;
- }
-
- /**
- * Validates the instance.
- *
- * @throws IllegalArgumentException thrown if the instance is not valid.
- */
- public void validate() {
- if (tableName() == null) {
- throw logger
- .logExceptionAsError(
- new IllegalArgumentException(
- "Missing required property tableName in model AzureTableDatasetTypeProperties"));
- }
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/BinaryDatasetTypeProperties.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/BinaryDatasetTypeProperties.java
deleted file mode 100644
index 3ba60283998c1..0000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/BinaryDatasetTypeProperties.java
+++ /dev/null
@@ -1,89 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.datafactory.fluent.models;
-
-import com.azure.core.annotation.Fluent;
-import com.azure.core.util.logging.ClientLogger;
-import com.azure.resourcemanager.datafactory.models.DatasetCompression;
-import com.azure.resourcemanager.datafactory.models.DatasetLocation;
-import com.fasterxml.jackson.annotation.JsonIgnore;
-import com.fasterxml.jackson.annotation.JsonProperty;
-
-/** Binary dataset properties. */
-@Fluent
-public final class BinaryDatasetTypeProperties {
- @JsonIgnore private final ClientLogger logger = new ClientLogger(BinaryDatasetTypeProperties.class);
-
- /*
- * The location of the Binary storage.
- */
- @JsonProperty(value = "location", required = true)
- private DatasetLocation location;
-
- /*
- * The data compression method used for the binary dataset.
- */
- @JsonProperty(value = "compression")
- private DatasetCompression compression;
-
- /**
- * Get the location property: The location of the Binary storage.
- *
- * @return the location value.
- */
- public DatasetLocation location() {
- return this.location;
- }
-
- /**
- * Set the location property: The location of the Binary storage.
- *
- * @param location the location value to set.
- * @return the BinaryDatasetTypeProperties object itself.
- */
- public BinaryDatasetTypeProperties withLocation(DatasetLocation location) {
- this.location = location;
- return this;
- }
-
- /**
- * Get the compression property: The data compression method used for the binary dataset.
- *
- * @return the compression value.
- */
- public DatasetCompression compression() {
- return this.compression;
- }
-
- /**
- * Set the compression property: The data compression method used for the binary dataset.
- *
- * @param compression the compression value to set.
- * @return the BinaryDatasetTypeProperties object itself.
- */
- public BinaryDatasetTypeProperties withCompression(DatasetCompression compression) {
- this.compression = compression;
- return this;
- }
-
- /**
- * Validates the instance.
- *
- * @throws IllegalArgumentException thrown if the instance is not valid.
- */
- public void validate() {
- if (location() == null) {
- throw logger
- .logExceptionAsError(
- new IllegalArgumentException(
- "Missing required property location in model BinaryDatasetTypeProperties"));
- } else {
- location().validate();
- }
- if (compression() != null) {
- compression().validate();
- }
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/BlobEventsTriggerTypeProperties.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/BlobEventsTriggerTypeProperties.java
deleted file mode 100644
index a07996eda183b..0000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/BlobEventsTriggerTypeProperties.java
+++ /dev/null
@@ -1,182 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.datafactory.fluent.models;
-
-import com.azure.core.annotation.Fluent;
-import com.azure.core.util.logging.ClientLogger;
-import com.azure.resourcemanager.datafactory.models.BlobEventTypes;
-import com.fasterxml.jackson.annotation.JsonIgnore;
-import com.fasterxml.jackson.annotation.JsonProperty;
-import java.util.List;
-
-/** Blob Events Trigger properties. */
-@Fluent
-public final class BlobEventsTriggerTypeProperties {
- @JsonIgnore private final ClientLogger logger = new ClientLogger(BlobEventsTriggerTypeProperties.class);
-
- /*
- * The blob path must begin with the pattern provided for trigger to fire.
- * For example, '/records/blobs/december/' will only fire the trigger for
- * blobs in the december folder under the records container. At least one
- * of these must be provided: blobPathBeginsWith, blobPathEndsWith.
- */
- @JsonProperty(value = "blobPathBeginsWith")
- private String blobPathBeginsWith;
-
- /*
- * The blob path must end with the pattern provided for trigger to fire.
- * For example, 'december/boxes.csv' will only fire the trigger for blobs
- * named boxes in a december folder. At least one of these must be
- * provided: blobPathBeginsWith, blobPathEndsWith.
- */
- @JsonProperty(value = "blobPathEndsWith")
- private String blobPathEndsWith;
-
- /*
- * If set to true, blobs with zero bytes will be ignored.
- */
- @JsonProperty(value = "ignoreEmptyBlobs")
- private Boolean ignoreEmptyBlobs;
-
- /*
- * The type of events that cause this trigger to fire.
- */
- @JsonProperty(value = "events", required = true)
- private List events;
-
- /*
- * The ARM resource ID of the Storage Account.
- */
- @JsonProperty(value = "scope", required = true)
- private String scope;
-
- /**
- * Get the blobPathBeginsWith property: The blob path must begin with the pattern provided for trigger to fire. For
- * example, '/records/blobs/december/' will only fire the trigger for blobs in the december folder under the records
- * container. At least one of these must be provided: blobPathBeginsWith, blobPathEndsWith.
- *
- * @return the blobPathBeginsWith value.
- */
- public String blobPathBeginsWith() {
- return this.blobPathBeginsWith;
- }
-
- /**
- * Set the blobPathBeginsWith property: The blob path must begin with the pattern provided for trigger to fire. For
- * example, '/records/blobs/december/' will only fire the trigger for blobs in the december folder under the records
- * container. At least one of these must be provided: blobPathBeginsWith, blobPathEndsWith.
- *
- * @param blobPathBeginsWith the blobPathBeginsWith value to set.
- * @return the BlobEventsTriggerTypeProperties object itself.
- */
- public BlobEventsTriggerTypeProperties withBlobPathBeginsWith(String blobPathBeginsWith) {
- this.blobPathBeginsWith = blobPathBeginsWith;
- return this;
- }
-
- /**
- * Get the blobPathEndsWith property: The blob path must end with the pattern provided for trigger to fire. For
- * example, 'december/boxes.csv' will only fire the trigger for blobs named boxes in a december folder. At least one
- * of these must be provided: blobPathBeginsWith, blobPathEndsWith.
- *
- * @return the blobPathEndsWith value.
- */
- public String blobPathEndsWith() {
- return this.blobPathEndsWith;
- }
-
- /**
- * Set the blobPathEndsWith property: The blob path must end with the pattern provided for trigger to fire. For
- * example, 'december/boxes.csv' will only fire the trigger for blobs named boxes in a december folder. At least one
- * of these must be provided: blobPathBeginsWith, blobPathEndsWith.
- *
- * @param blobPathEndsWith the blobPathEndsWith value to set.
- * @return the BlobEventsTriggerTypeProperties object itself.
- */
- public BlobEventsTriggerTypeProperties withBlobPathEndsWith(String blobPathEndsWith) {
- this.blobPathEndsWith = blobPathEndsWith;
- return this;
- }
-
- /**
- * Get the ignoreEmptyBlobs property: If set to true, blobs with zero bytes will be ignored.
- *
- * @return the ignoreEmptyBlobs value.
- */
- public Boolean ignoreEmptyBlobs() {
- return this.ignoreEmptyBlobs;
- }
-
- /**
- * Set the ignoreEmptyBlobs property: If set to true, blobs with zero bytes will be ignored.
- *
- * @param ignoreEmptyBlobs the ignoreEmptyBlobs value to set.
- * @return the BlobEventsTriggerTypeProperties object itself.
- */
- public BlobEventsTriggerTypeProperties withIgnoreEmptyBlobs(Boolean ignoreEmptyBlobs) {
- this.ignoreEmptyBlobs = ignoreEmptyBlobs;
- return this;
- }
-
- /**
- * Get the events property: The type of events that cause this trigger to fire.
- *
- * @return the events value.
- */
- public List events() {
- return this.events;
- }
-
- /**
- * Set the events property: The type of events that cause this trigger to fire.
- *
- * @param events the events value to set.
- * @return the BlobEventsTriggerTypeProperties object itself.
- */
- public BlobEventsTriggerTypeProperties withEvents(List events) {
- this.events = events;
- return this;
- }
-
- /**
- * Get the scope property: The ARM resource ID of the Storage Account.
- *
- * @return the scope value.
- */
- public String scope() {
- return this.scope;
- }
-
- /**
- * Set the scope property: The ARM resource ID of the Storage Account.
- *
- * @param scope the scope value to set.
- * @return the BlobEventsTriggerTypeProperties object itself.
- */
- public BlobEventsTriggerTypeProperties withScope(String scope) {
- this.scope = scope;
- return this;
- }
-
- /**
- * Validates the instance.
- *
- * @throws IllegalArgumentException thrown if the instance is not valid.
- */
- public void validate() {
- if (events() == null) {
- throw logger
- .logExceptionAsError(
- new IllegalArgumentException(
- "Missing required property events in model BlobEventsTriggerTypeProperties"));
- }
- if (scope() == null) {
- throw logger
- .logExceptionAsError(
- new IllegalArgumentException(
- "Missing required property scope in model BlobEventsTriggerTypeProperties"));
- }
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/BlobTriggerTypeProperties.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/BlobTriggerTypeProperties.java
deleted file mode 100644
index faf2aeaa3c5f7..0000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/BlobTriggerTypeProperties.java
+++ /dev/null
@@ -1,117 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.datafactory.fluent.models;
-
-import com.azure.core.annotation.Fluent;
-import com.azure.core.util.logging.ClientLogger;
-import com.azure.resourcemanager.datafactory.models.LinkedServiceReference;
-import com.fasterxml.jackson.annotation.JsonIgnore;
-import com.fasterxml.jackson.annotation.JsonProperty;
-
-/** Blob Trigger properties. */
-@Fluent
-public final class BlobTriggerTypeProperties {
- @JsonIgnore private final ClientLogger logger = new ClientLogger(BlobTriggerTypeProperties.class);
-
- /*
- * The path of the container/folder that will trigger the pipeline.
- */
- @JsonProperty(value = "folderPath", required = true)
- private String folderPath;
-
- /*
- * The max number of parallel files to handle when it is triggered.
- */
- @JsonProperty(value = "maxConcurrency", required = true)
- private int maxConcurrency;
-
- /*
- * The Azure Storage linked service reference.
- */
- @JsonProperty(value = "linkedService", required = true)
- private LinkedServiceReference linkedService;
-
- /**
- * Get the folderPath property: The path of the container/folder that will trigger the pipeline.
- *
- * @return the folderPath value.
- */
- public String folderPath() {
- return this.folderPath;
- }
-
- /**
- * Set the folderPath property: The path of the container/folder that will trigger the pipeline.
- *
- * @param folderPath the folderPath value to set.
- * @return the BlobTriggerTypeProperties object itself.
- */
- public BlobTriggerTypeProperties withFolderPath(String folderPath) {
- this.folderPath = folderPath;
- return this;
- }
-
- /**
- * Get the maxConcurrency property: The max number of parallel files to handle when it is triggered.
- *
- * @return the maxConcurrency value.
- */
- public int maxConcurrency() {
- return this.maxConcurrency;
- }
-
- /**
- * Set the maxConcurrency property: The max number of parallel files to handle when it is triggered.
- *
- * @param maxConcurrency the maxConcurrency value to set.
- * @return the BlobTriggerTypeProperties object itself.
- */
- public BlobTriggerTypeProperties withMaxConcurrency(int maxConcurrency) {
- this.maxConcurrency = maxConcurrency;
- return this;
- }
-
- /**
- * Get the linkedService property: The Azure Storage linked service reference.
- *
- * @return the linkedService value.
- */
- public LinkedServiceReference linkedService() {
- return this.linkedService;
- }
-
- /**
- * Set the linkedService property: The Azure Storage linked service reference.
- *
- * @param linkedService the linkedService value to set.
- * @return the BlobTriggerTypeProperties object itself.
- */
- public BlobTriggerTypeProperties withLinkedService(LinkedServiceReference linkedService) {
- this.linkedService = linkedService;
- return this;
- }
-
- /**
- * Validates the instance.
- *
- * @throws IllegalArgumentException thrown if the instance is not valid.
- */
- public void validate() {
- if (folderPath() == null) {
- throw logger
- .logExceptionAsError(
- new IllegalArgumentException(
- "Missing required property folderPath in model BlobTriggerTypeProperties"));
- }
- if (linkedService() == null) {
- throw logger
- .logExceptionAsError(
- new IllegalArgumentException(
- "Missing required property linkedService in model BlobTriggerTypeProperties"));
- } else {
- linkedService().validate();
- }
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/CassandraLinkedServiceTypeProperties.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/CassandraLinkedServiceTypeProperties.java
deleted file mode 100644
index 7a07648c94988..0000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/CassandraLinkedServiceTypeProperties.java
+++ /dev/null
@@ -1,200 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.datafactory.fluent.models;
-
-import com.azure.core.annotation.Fluent;
-import com.azure.core.util.logging.ClientLogger;
-import com.azure.resourcemanager.datafactory.models.SecretBase;
-import com.fasterxml.jackson.annotation.JsonIgnore;
-import com.fasterxml.jackson.annotation.JsonProperty;
-
-/** Cassandra linked service properties. */
-@Fluent
-public final class CassandraLinkedServiceTypeProperties {
- @JsonIgnore private final ClientLogger logger = new ClientLogger(CassandraLinkedServiceTypeProperties.class);
-
- /*
- * Host name for connection. Type: string (or Expression with resultType
- * string).
- */
- @JsonProperty(value = "host", required = true)
- private Object host;
-
- /*
- * AuthenticationType to be used for connection. Type: string (or
- * Expression with resultType string).
- */
- @JsonProperty(value = "authenticationType")
- private Object authenticationType;
-
- /*
- * The port for the connection. Type: integer (or Expression with
- * resultType integer).
- */
- @JsonProperty(value = "port")
- private Object port;
-
- /*
- * Username for authentication. Type: string (or Expression with resultType
- * string).
- */
- @JsonProperty(value = "username")
- private Object username;
-
- /*
- * Password for authentication.
- */
- @JsonProperty(value = "password")
- private SecretBase password;
-
- /*
- * The encrypted credential used for authentication. Credentials are
- * encrypted using the integration runtime credential manager. Type: string
- * (or Expression with resultType string).
- */
- @JsonProperty(value = "encryptedCredential")
- private Object encryptedCredential;
-
- /**
- * Get the host property: Host name for connection. Type: string (or Expression with resultType string).
- *
- * @return the host value.
- */
- public Object host() {
- return this.host;
- }
-
- /**
- * Set the host property: Host name for connection. Type: string (or Expression with resultType string).
- *
- * @param host the host value to set.
- * @return the CassandraLinkedServiceTypeProperties object itself.
- */
- public CassandraLinkedServiceTypeProperties withHost(Object host) {
- this.host = host;
- return this;
- }
-
- /**
- * Get the authenticationType property: AuthenticationType to be used for connection. Type: string (or Expression
- * with resultType string).
- *
- * @return the authenticationType value.
- */
- public Object authenticationType() {
- return this.authenticationType;
- }
-
- /**
- * Set the authenticationType property: AuthenticationType to be used for connection. Type: string (or Expression
- * with resultType string).
- *
- * @param authenticationType the authenticationType value to set.
- * @return the CassandraLinkedServiceTypeProperties object itself.
- */
- public CassandraLinkedServiceTypeProperties withAuthenticationType(Object authenticationType) {
- this.authenticationType = authenticationType;
- return this;
- }
-
- /**
- * Get the port property: The port for the connection. Type: integer (or Expression with resultType integer).
- *
- * @return the port value.
- */
- public Object port() {
- return this.port;
- }
-
- /**
- * Set the port property: The port for the connection. Type: integer (or Expression with resultType integer).
- *
- * @param port the port value to set.
- * @return the CassandraLinkedServiceTypeProperties object itself.
- */
- public CassandraLinkedServiceTypeProperties withPort(Object port) {
- this.port = port;
- return this;
- }
-
- /**
- * Get the username property: Username for authentication. Type: string (or Expression with resultType string).
- *
- * @return the username value.
- */
- public Object username() {
- return this.username;
- }
-
- /**
- * Set the username property: Username for authentication. Type: string (or Expression with resultType string).
- *
- * @param username the username value to set.
- * @return the CassandraLinkedServiceTypeProperties object itself.
- */
- public CassandraLinkedServiceTypeProperties withUsername(Object username) {
- this.username = username;
- return this;
- }
-
- /**
- * Get the password property: Password for authentication.
- *
- * @return the password value.
- */
- public SecretBase password() {
- return this.password;
- }
-
- /**
- * Set the password property: Password for authentication.
- *
- * @param password the password value to set.
- * @return the CassandraLinkedServiceTypeProperties object itself.
- */
- public CassandraLinkedServiceTypeProperties withPassword(SecretBase password) {
- this.password = password;
- return this;
- }
-
- /**
- * Get the encryptedCredential property: 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 encryptedCredential property: 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 CassandraLinkedServiceTypeProperties object itself.
- */
- public CassandraLinkedServiceTypeProperties withEncryptedCredential(Object encryptedCredential) {
- this.encryptedCredential = encryptedCredential;
- return this;
- }
-
- /**
- * Validates the instance.
- *
- * @throws IllegalArgumentException thrown if the instance is not valid.
- */
- public void validate() {
- if (host() == null) {
- throw logger
- .logExceptionAsError(
- new IllegalArgumentException(
- "Missing required property host in model CassandraLinkedServiceTypeProperties"));
- }
- if (password() != null) {
- password().validate();
- }
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/CassandraTableDatasetTypeProperties.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/CassandraTableDatasetTypeProperties.java
deleted file mode 100644
index b402045cde67c..0000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/CassandraTableDatasetTypeProperties.java
+++ /dev/null
@@ -1,82 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.datafactory.fluent.models;
-
-import com.azure.core.annotation.Fluent;
-import com.azure.core.util.logging.ClientLogger;
-import com.fasterxml.jackson.annotation.JsonIgnore;
-import com.fasterxml.jackson.annotation.JsonProperty;
-
-/** Cassandra dataset properties. */
-@Fluent
-public final class CassandraTableDatasetTypeProperties {
- @JsonIgnore private final ClientLogger logger = new ClientLogger(CassandraTableDatasetTypeProperties.class);
-
- /*
- * The table name of the Cassandra database. Type: string (or Expression
- * with resultType string).
- */
- @JsonProperty(value = "tableName")
- private Object tableName;
-
- /*
- * The keyspace of the Cassandra database. Type: string (or Expression with
- * resultType string).
- */
- @JsonProperty(value = "keyspace")
- private Object keyspace;
-
- /**
- * Get the tableName property: The table name of the Cassandra database. Type: string (or Expression with resultType
- * string).
- *
- * @return the tableName value.
- */
- public Object tableName() {
- return this.tableName;
- }
-
- /**
- * Set the tableName property: The table name of the Cassandra database. Type: string (or Expression with resultType
- * string).
- *
- * @param tableName the tableName value to set.
- * @return the CassandraTableDatasetTypeProperties object itself.
- */
- public CassandraTableDatasetTypeProperties withTableName(Object tableName) {
- this.tableName = tableName;
- return this;
- }
-
- /**
- * Get the keyspace property: The keyspace of the Cassandra database. Type: string (or Expression with resultType
- * string).
- *
- * @return the keyspace value.
- */
- public Object keyspace() {
- return this.keyspace;
- }
-
- /**
- * Set the keyspace property: The keyspace of the Cassandra database. Type: string (or Expression with resultType
- * string).
- *
- * @param keyspace the keyspace value to set.
- * @return the CassandraTableDatasetTypeProperties object itself.
- */
- public CassandraTableDatasetTypeProperties withKeyspace(Object keyspace) {
- this.keyspace = keyspace;
- return this;
- }
-
- /**
- * Validates the instance.
- *
- * @throws IllegalArgumentException thrown if the instance is not valid.
- */
- public void validate() {
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/ChainingTriggerTypeProperties.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/ChainingTriggerTypeProperties.java
deleted file mode 100644
index 414b4739fa2d8..0000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/ChainingTriggerTypeProperties.java
+++ /dev/null
@@ -1,92 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.datafactory.fluent.models;
-
-import com.azure.core.annotation.Fluent;
-import com.azure.core.util.logging.ClientLogger;
-import com.azure.resourcemanager.datafactory.models.PipelineReference;
-import com.fasterxml.jackson.annotation.JsonIgnore;
-import com.fasterxml.jackson.annotation.JsonProperty;
-import java.util.List;
-
-/** Chaining Trigger properties. */
-@Fluent
-public final class ChainingTriggerTypeProperties {
- @JsonIgnore private final ClientLogger logger = new ClientLogger(ChainingTriggerTypeProperties.class);
-
- /*
- * Upstream Pipelines.
- */
- @JsonProperty(value = "dependsOn", required = true)
- private List dependsOn;
-
- /*
- * Run Dimension property that needs to be emitted by upstream pipelines.
- */
- @JsonProperty(value = "runDimension", required = true)
- private String runDimension;
-
- /**
- * Get the dependsOn property: Upstream Pipelines.
- *
- * @return the dependsOn value.
- */
- public List dependsOn() {
- return this.dependsOn;
- }
-
- /**
- * Set the dependsOn property: Upstream Pipelines.
- *
- * @param dependsOn the dependsOn value to set.
- * @return the ChainingTriggerTypeProperties object itself.
- */
- public ChainingTriggerTypeProperties withDependsOn(List dependsOn) {
- this.dependsOn = dependsOn;
- return this;
- }
-
- /**
- * Get the runDimension property: Run Dimension property that needs to be emitted by upstream pipelines.
- *
- * @return the runDimension value.
- */
- public String runDimension() {
- return this.runDimension;
- }
-
- /**
- * Set the runDimension property: Run Dimension property that needs to be emitted by upstream pipelines.
- *
- * @param runDimension the runDimension value to set.
- * @return the ChainingTriggerTypeProperties object itself.
- */
- public ChainingTriggerTypeProperties withRunDimension(String runDimension) {
- this.runDimension = runDimension;
- return this;
- }
-
- /**
- * Validates the instance.
- *
- * @throws IllegalArgumentException thrown if the instance is not valid.
- */
- public void validate() {
- if (dependsOn() == null) {
- throw logger
- .logExceptionAsError(
- new IllegalArgumentException(
- "Missing required property dependsOn in model ChainingTriggerTypeProperties"));
- } else {
- dependsOn().forEach(e -> e.validate());
- }
- if (runDimension() == null) {
- throw logger
- .logExceptionAsError(
- new IllegalArgumentException(
- "Missing required property runDimension in model ChainingTriggerTypeProperties"));
- }
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/CmdkeySetupTypeProperties.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/CmdkeySetupTypeProperties.java
deleted file mode 100644
index 412eb21f701ab..0000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/CmdkeySetupTypeProperties.java
+++ /dev/null
@@ -1,123 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.datafactory.fluent.models;
-
-import com.azure.core.annotation.Fluent;
-import com.azure.core.util.logging.ClientLogger;
-import com.azure.resourcemanager.datafactory.models.SecretBase;
-import com.fasterxml.jackson.annotation.JsonIgnore;
-import com.fasterxml.jackson.annotation.JsonProperty;
-
-/** Cmdkey command custom setup type properties. */
-@Fluent
-public final class CmdkeySetupTypeProperties {
- @JsonIgnore private final ClientLogger logger = new ClientLogger(CmdkeySetupTypeProperties.class);
-
- /*
- * The server name of data source access.
- */
- @JsonProperty(value = "targetName", required = true)
- private Object targetName;
-
- /*
- * The user name of data source access.
- */
- @JsonProperty(value = "userName", required = true)
- private Object username;
-
- /*
- * The password of data source access.
- */
- @JsonProperty(value = "password", required = true)
- private SecretBase password;
-
- /**
- * Get the targetName property: The server name of data source access.
- *
- * @return the targetName value.
- */
- public Object targetName() {
- return this.targetName;
- }
-
- /**
- * Set the targetName property: The server name of data source access.
- *
- * @param targetName the targetName value to set.
- * @return the CmdkeySetupTypeProperties object itself.
- */
- public CmdkeySetupTypeProperties withTargetName(Object targetName) {
- this.targetName = targetName;
- return this;
- }
-
- /**
- * Get the username property: The user name of data source access.
- *
- * @return the username value.
- */
- public Object username() {
- return this.username;
- }
-
- /**
- * Set the username property: The user name of data source access.
- *
- * @param username the username value to set.
- * @return the CmdkeySetupTypeProperties object itself.
- */
- public CmdkeySetupTypeProperties withUsername(Object username) {
- this.username = username;
- return this;
- }
-
- /**
- * Get the password property: The password of data source access.
- *
- * @return the password value.
- */
- public SecretBase password() {
- return this.password;
- }
-
- /**
- * Set the password property: The password of data source access.
- *
- * @param password the password value to set.
- * @return the CmdkeySetupTypeProperties object itself.
- */
- public CmdkeySetupTypeProperties withPassword(SecretBase password) {
- this.password = password;
- return this;
- }
-
- /**
- * Validates the instance.
- *
- * @throws IllegalArgumentException thrown if the instance is not valid.
- */
- public void validate() {
- if (targetName() == null) {
- throw logger
- .logExceptionAsError(
- new IllegalArgumentException(
- "Missing required property targetName in model CmdkeySetupTypeProperties"));
- }
- if (username() == null) {
- throw logger
- .logExceptionAsError(
- new IllegalArgumentException(
- "Missing required property username in model CmdkeySetupTypeProperties"));
- }
- if (password() == null) {
- throw logger
- .logExceptionAsError(
- new IllegalArgumentException(
- "Missing required property password in model CmdkeySetupTypeProperties"));
- } else {
- password().validate();
- }
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/CommonDataServiceForAppsEntityDatasetTypeProperties.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/CommonDataServiceForAppsEntityDatasetTypeProperties.java
deleted file mode 100644
index ef8f10f36e533..0000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/CommonDataServiceForAppsEntityDatasetTypeProperties.java
+++ /dev/null
@@ -1,52 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.datafactory.fluent.models;
-
-import com.azure.core.annotation.Fluent;
-import com.azure.core.util.logging.ClientLogger;
-import com.fasterxml.jackson.annotation.JsonIgnore;
-import com.fasterxml.jackson.annotation.JsonProperty;
-
-/** Common Data Service for Apps entity dataset properties. */
-@Fluent
-public final class CommonDataServiceForAppsEntityDatasetTypeProperties {
- @JsonIgnore
- private final ClientLogger logger = new ClientLogger(CommonDataServiceForAppsEntityDatasetTypeProperties.class);
-
- /*
- * The logical name of the entity. Type: string (or Expression with
- * resultType string).
- */
- @JsonProperty(value = "entityName")
- private Object entityName;
-
- /**
- * Get the entityName property: The logical name of the entity. Type: string (or Expression with resultType string).
- *
- * @return the entityName value.
- */
- public Object entityName() {
- return this.entityName;
- }
-
- /**
- * Set the entityName property: The logical name of the entity. Type: string (or Expression with resultType string).
- *
- * @param entityName the entityName value to set.
- * @return the CommonDataServiceForAppsEntityDatasetTypeProperties object itself.
- */
- public CommonDataServiceForAppsEntityDatasetTypeProperties withEntityName(Object entityName) {
- this.entityName = entityName;
- return this;
- }
-
- /**
- * Validates the instance.
- *
- * @throws IllegalArgumentException thrown if the instance is not valid.
- */
- public void validate() {
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/CommonDataServiceForAppsLinkedServiceTypeProperties.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/CommonDataServiceForAppsLinkedServiceTypeProperties.java
deleted file mode 100644
index 2c5adde1d31ec..0000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/CommonDataServiceForAppsLinkedServiceTypeProperties.java
+++ /dev/null
@@ -1,424 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.datafactory.fluent.models;
-
-import com.azure.core.annotation.Fluent;
-import com.azure.core.util.logging.ClientLogger;
-import com.azure.resourcemanager.datafactory.models.SecretBase;
-import com.fasterxml.jackson.annotation.JsonIgnore;
-import com.fasterxml.jackson.annotation.JsonProperty;
-
-/** Common Data Service for Apps linked service properties. */
-@Fluent
-public final class CommonDataServiceForAppsLinkedServiceTypeProperties {
- @JsonIgnore
- private final ClientLogger logger = new ClientLogger(CommonDataServiceForAppsLinkedServiceTypeProperties.class);
-
- /*
- * The deployment type of the Common Data Service for Apps instance.
- * 'Online' for Common Data Service for Apps Online and 'OnPremisesWithIfd'
- * for Common Data Service for Apps on-premises with Ifd. Type: string (or
- * Expression with resultType string).
- */
- @JsonProperty(value = "deploymentType", required = true)
- private Object deploymentType;
-
- /*
- * The host name of the on-premises Common Data Service for Apps server.
- * The property is required for on-prem and not allowed for online. Type:
- * string (or Expression with resultType string).
- */
- @JsonProperty(value = "hostName")
- private Object hostname;
-
- /*
- * The port of on-premises Common Data Service for Apps server. The
- * property is required for on-prem and not allowed for online. Default is
- * 443. Type: integer (or Expression with resultType integer), minimum: 0.
- */
- @JsonProperty(value = "port")
- private Object port;
-
- /*
- * The URL to the Microsoft Common Data Service for Apps server. The
- * property is required for on-line and not allowed for on-prem. Type:
- * string (or Expression with resultType string).
- */
- @JsonProperty(value = "serviceUri")
- private Object serviceUri;
-
- /*
- * The organization name of the Common Data Service for Apps instance. The
- * property is required for on-prem and required for online when there are
- * more than one Common Data Service for Apps instances associated with the
- * user. Type: string (or Expression with resultType string).
- */
- @JsonProperty(value = "organizationName")
- private Object organizationName;
-
- /*
- * The authentication type to connect to Common Data Service for Apps
- * server. 'Office365' for online scenario, 'Ifd' for on-premises with Ifd
- * scenario. 'AADServicePrincipal' for Server-To-Server authentication in
- * online scenario. Type: string (or Expression with resultType string).
- */
- @JsonProperty(value = "authenticationType", required = true)
- private Object authenticationType;
-
- /*
- * User name to access the Common Data Service for Apps instance. Type:
- * string (or Expression with resultType string).
- */
- @JsonProperty(value = "username")
- private Object username;
-
- /*
- * Password to access the Common Data Service for Apps instance.
- */
- @JsonProperty(value = "password")
- private SecretBase password;
-
- /*
- * The client ID of the application in Azure Active Directory used for
- * Server-To-Server authentication. Type: string (or Expression with
- * resultType string).
- */
- @JsonProperty(value = "servicePrincipalId")
- private Object servicePrincipalId;
-
- /*
- * The service principal credential type to use in Server-To-Server
- * authentication. 'ServicePrincipalKey' for key/secret,
- * 'ServicePrincipalCert' for certificate. Type: string (or Expression with
- * resultType string).
- */
- @JsonProperty(value = "servicePrincipalCredentialType")
- private Object servicePrincipalCredentialType;
-
- /*
- * The credential of the service principal object in Azure Active
- * Directory. If servicePrincipalCredentialType is 'ServicePrincipalKey',
- * servicePrincipalCredential can be SecureString or
- * AzureKeyVaultSecretReference. If servicePrincipalCredentialType is
- * 'ServicePrincipalCert', servicePrincipalCredential can only be
- * AzureKeyVaultSecretReference.
- */
- @JsonProperty(value = "servicePrincipalCredential")
- private SecretBase servicePrincipalCredential;
-
- /*
- * The encrypted credential used for authentication. Credentials are
- * encrypted using the integration runtime credential manager. Type: string
- * (or Expression with resultType string).
- */
- @JsonProperty(value = "encryptedCredential")
- private Object encryptedCredential;
-
- /**
- * Get the deploymentType property: The deployment type of the Common Data Service for Apps instance. 'Online' for
- * Common Data Service for Apps Online and 'OnPremisesWithIfd' for Common Data Service for Apps on-premises with
- * Ifd. Type: string (or Expression with resultType string).
- *
- * @return the deploymentType value.
- */
- public Object deploymentType() {
- return this.deploymentType;
- }
-
- /**
- * Set the deploymentType property: The deployment type of the Common Data Service for Apps instance. 'Online' for
- * Common Data Service for Apps Online and 'OnPremisesWithIfd' for Common Data Service for Apps on-premises with
- * Ifd. Type: string (or Expression with resultType string).
- *
- * @param deploymentType the deploymentType value to set.
- * @return the CommonDataServiceForAppsLinkedServiceTypeProperties object itself.
- */
- public CommonDataServiceForAppsLinkedServiceTypeProperties withDeploymentType(Object deploymentType) {
- this.deploymentType = deploymentType;
- return this;
- }
-
- /**
- * Get the hostname property: The host name of the on-premises Common Data Service for Apps server. The property is
- * required for on-prem and not allowed for online. Type: string (or Expression with resultType string).
- *
- * @return the hostname value.
- */
- public Object hostname() {
- return this.hostname;
- }
-
- /**
- * Set the hostname property: The host name of the on-premises Common Data Service for Apps server. The property is
- * required for on-prem and not allowed for online. Type: string (or Expression with resultType string).
- *
- * @param hostname the hostname value to set.
- * @return the CommonDataServiceForAppsLinkedServiceTypeProperties object itself.
- */
- public CommonDataServiceForAppsLinkedServiceTypeProperties withHostname(Object hostname) {
- this.hostname = hostname;
- return this;
- }
-
- /**
- * Get the port property: The port of on-premises Common Data Service for Apps server. The property is required for
- * on-prem and not allowed for online. Default is 443. Type: integer (or Expression with resultType integer),
- * minimum: 0.
- *
- * @return the port value.
- */
- public Object port() {
- return this.port;
- }
-
- /**
- * Set the port property: The port of on-premises Common Data Service for Apps server. The property is required for
- * on-prem and not allowed for online. Default is 443. Type: integer (or Expression with resultType integer),
- * minimum: 0.
- *
- * @param port the port value to set.
- * @return the CommonDataServiceForAppsLinkedServiceTypeProperties object itself.
- */
- public CommonDataServiceForAppsLinkedServiceTypeProperties withPort(Object port) {
- this.port = port;
- return this;
- }
-
- /**
- * Get the serviceUri property: The URL to the Microsoft Common Data Service for Apps server. The property is
- * required for on-line and not allowed for on-prem. Type: string (or Expression with resultType string).
- *
- * @return the serviceUri value.
- */
- public Object serviceUri() {
- return this.serviceUri;
- }
-
- /**
- * Set the serviceUri property: The URL to the Microsoft Common Data Service for Apps server. The property is
- * required for on-line and not allowed for on-prem. Type: string (or Expression with resultType string).
- *
- * @param serviceUri the serviceUri value to set.
- * @return the CommonDataServiceForAppsLinkedServiceTypeProperties object itself.
- */
- public CommonDataServiceForAppsLinkedServiceTypeProperties withServiceUri(Object serviceUri) {
- this.serviceUri = serviceUri;
- return this;
- }
-
- /**
- * Get the organizationName property: The organization name of the Common Data Service for Apps instance. The
- * property is required for on-prem and required for online when there are more than one Common Data Service for
- * Apps instances associated with the user. Type: string (or Expression with resultType string).
- *
- * @return the organizationName value.
- */
- public Object organizationName() {
- return this.organizationName;
- }
-
- /**
- * Set the organizationName property: The organization name of the Common Data Service for Apps instance. The
- * property is required for on-prem and required for online when there are more than one Common Data Service for
- * Apps instances associated with the user. Type: string (or Expression with resultType string).
- *
- * @param organizationName the organizationName value to set.
- * @return the CommonDataServiceForAppsLinkedServiceTypeProperties object itself.
- */
- public CommonDataServiceForAppsLinkedServiceTypeProperties withOrganizationName(Object organizationName) {
- this.organizationName = organizationName;
- return this;
- }
-
- /**
- * Get the authenticationType property: The authentication type to connect to Common Data Service for Apps server.
- * 'Office365' for online scenario, 'Ifd' for on-premises with Ifd scenario. 'AADServicePrincipal' for
- * Server-To-Server authentication in online scenario. Type: string (or Expression with resultType string).
- *
- * @return the authenticationType value.
- */
- public Object authenticationType() {
- return this.authenticationType;
- }
-
- /**
- * Set the authenticationType property: The authentication type to connect to Common Data Service for Apps server.
- * 'Office365' for online scenario, 'Ifd' for on-premises with Ifd scenario. 'AADServicePrincipal' for
- * Server-To-Server authentication in online scenario. Type: string (or Expression with resultType string).
- *
- * @param authenticationType the authenticationType value to set.
- * @return the CommonDataServiceForAppsLinkedServiceTypeProperties object itself.
- */
- public CommonDataServiceForAppsLinkedServiceTypeProperties withAuthenticationType(Object authenticationType) {
- this.authenticationType = authenticationType;
- return this;
- }
-
- /**
- * Get the username property: User name to access the Common Data Service for Apps instance. Type: string (or
- * Expression with resultType string).
- *
- * @return the username value.
- */
- public Object username() {
- return this.username;
- }
-
- /**
- * Set the username property: User name to access the Common Data Service for Apps instance. Type: string (or
- * Expression with resultType string).
- *
- * @param username the username value to set.
- * @return the CommonDataServiceForAppsLinkedServiceTypeProperties object itself.
- */
- public CommonDataServiceForAppsLinkedServiceTypeProperties withUsername(Object username) {
- this.username = username;
- return this;
- }
-
- /**
- * Get the password property: Password to access the Common Data Service for Apps instance.
- *
- * @return the password value.
- */
- public SecretBase password() {
- return this.password;
- }
-
- /**
- * Set the password property: Password to access the Common Data Service for Apps instance.
- *
- * @param password the password value to set.
- * @return the CommonDataServiceForAppsLinkedServiceTypeProperties object itself.
- */
- public CommonDataServiceForAppsLinkedServiceTypeProperties withPassword(SecretBase password) {
- this.password = password;
- return this;
- }
-
- /**
- * Get the servicePrincipalId property: The client ID of the application in Azure Active Directory used for
- * Server-To-Server authentication. Type: string (or Expression with resultType string).
- *
- * @return the servicePrincipalId value.
- */
- public Object servicePrincipalId() {
- return this.servicePrincipalId;
- }
-
- /**
- * Set the servicePrincipalId property: The client ID of the application in Azure Active Directory used for
- * Server-To-Server authentication. Type: string (or Expression with resultType string).
- *
- * @param servicePrincipalId the servicePrincipalId value to set.
- * @return the CommonDataServiceForAppsLinkedServiceTypeProperties object itself.
- */
- public CommonDataServiceForAppsLinkedServiceTypeProperties withServicePrincipalId(Object servicePrincipalId) {
- this.servicePrincipalId = servicePrincipalId;
- return this;
- }
-
- /**
- * Get the servicePrincipalCredentialType property: The service principal credential type to use in Server-To-Server
- * authentication. 'ServicePrincipalKey' for key/secret, 'ServicePrincipalCert' for certificate. Type: string (or
- * Expression with resultType string).
- *
- * @return the servicePrincipalCredentialType value.
- */
- public Object servicePrincipalCredentialType() {
- return this.servicePrincipalCredentialType;
- }
-
- /**
- * Set the servicePrincipalCredentialType property: The service principal credential type to use in Server-To-Server
- * authentication. 'ServicePrincipalKey' for key/secret, 'ServicePrincipalCert' for certificate. Type: string (or
- * Expression with resultType string).
- *
- * @param servicePrincipalCredentialType the servicePrincipalCredentialType value to set.
- * @return the CommonDataServiceForAppsLinkedServiceTypeProperties object itself.
- */
- public CommonDataServiceForAppsLinkedServiceTypeProperties withServicePrincipalCredentialType(
- Object servicePrincipalCredentialType) {
- this.servicePrincipalCredentialType = servicePrincipalCredentialType;
- return this;
- }
-
- /**
- * Get the servicePrincipalCredential property: The credential of the service principal object in Azure Active
- * Directory. If servicePrincipalCredentialType is 'ServicePrincipalKey', servicePrincipalCredential can be
- * SecureString or AzureKeyVaultSecretReference. If servicePrincipalCredentialType is 'ServicePrincipalCert',
- * servicePrincipalCredential can only be AzureKeyVaultSecretReference.
- *
- * @return the servicePrincipalCredential value.
- */
- public SecretBase servicePrincipalCredential() {
- return this.servicePrincipalCredential;
- }
-
- /**
- * Set the servicePrincipalCredential property: The credential of the service principal object in Azure Active
- * Directory. If servicePrincipalCredentialType is 'ServicePrincipalKey', servicePrincipalCredential can be
- * SecureString or AzureKeyVaultSecretReference. If servicePrincipalCredentialType is 'ServicePrincipalCert',
- * servicePrincipalCredential can only be AzureKeyVaultSecretReference.
- *
- * @param servicePrincipalCredential the servicePrincipalCredential value to set.
- * @return the CommonDataServiceForAppsLinkedServiceTypeProperties object itself.
- */
- public CommonDataServiceForAppsLinkedServiceTypeProperties withServicePrincipalCredential(
- SecretBase servicePrincipalCredential) {
- this.servicePrincipalCredential = servicePrincipalCredential;
- return this;
- }
-
- /**
- * Get the encryptedCredential property: 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 encryptedCredential property: 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 CommonDataServiceForAppsLinkedServiceTypeProperties object itself.
- */
- public CommonDataServiceForAppsLinkedServiceTypeProperties withEncryptedCredential(Object encryptedCredential) {
- this.encryptedCredential = encryptedCredential;
- return this;
- }
-
- /**
- * Validates the instance.
- *
- * @throws IllegalArgumentException thrown if the instance is not valid.
- */
- public void validate() {
- if (deploymentType() == null) {
- throw logger
- .logExceptionAsError(
- new IllegalArgumentException(
- "Missing required property deploymentType in model"
- + " CommonDataServiceForAppsLinkedServiceTypeProperties"));
- }
- if (authenticationType() == null) {
- throw logger
- .logExceptionAsError(
- new IllegalArgumentException(
- "Missing required property authenticationType in model"
- + " CommonDataServiceForAppsLinkedServiceTypeProperties"));
- }
- if (password() != null) {
- password().validate();
- }
- if (servicePrincipalCredential() != null) {
- servicePrincipalCredential().validate();
- }
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/ConcurLinkedServiceTypeProperties.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/ConcurLinkedServiceTypeProperties.java
deleted file mode 100644
index 8b963d0b4f3fe..0000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/ConcurLinkedServiceTypeProperties.java
+++ /dev/null
@@ -1,266 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.datafactory.fluent.models;
-
-import com.azure.core.annotation.Fluent;
-import com.azure.core.util.logging.ClientLogger;
-import com.azure.resourcemanager.datafactory.models.SecretBase;
-import com.fasterxml.jackson.annotation.JsonIgnore;
-import com.fasterxml.jackson.annotation.JsonProperty;
-
-/** Concur Service linked service properties. */
-@Fluent
-public final class ConcurLinkedServiceTypeProperties {
- @JsonIgnore private final ClientLogger logger = new ClientLogger(ConcurLinkedServiceTypeProperties.class);
-
- /*
- * Properties used to connect to Concur. It is mutually exclusive with any
- * other properties in the linked service. Type: object.
- */
- @JsonProperty(value = "connectionProperties")
- private Object connectionProperties;
-
- /*
- * Application client_id supplied by Concur App Management.
- */
- @JsonProperty(value = "clientId", required = true)
- private Object clientId;
-
- /*
- * The user name that you use to access Concur Service.
- */
- @JsonProperty(value = "username", required = true)
- private Object username;
-
- /*
- * The password corresponding to the user name that you provided in the
- * username field.
- */
- @JsonProperty(value = "password")
- private SecretBase password;
-
- /*
- * Specifies whether the data source endpoints are encrypted using HTTPS.
- * The default value is true.
- */
- @JsonProperty(value = "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.
- */
- @JsonProperty(value = "useHostVerification")
- private Object useHostVerification;
-
- /*
- * Specifies whether to verify the identity of the server when connecting
- * over SSL. The default value is true.
- */
- @JsonProperty(value = "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 = "encryptedCredential")
- private Object encryptedCredential;
-
- /**
- * Get the connectionProperties property: Properties used to connect to Concur. It is mutually exclusive with any
- * other properties in the linked service. Type: object.
- *
- * @return the connectionProperties value.
- */
- public Object connectionProperties() {
- return this.connectionProperties;
- }
-
- /**
- * Set the connectionProperties property: Properties used to connect to Concur. It is mutually exclusive with any
- * other properties in the linked service. Type: object.
- *
- * @param connectionProperties the connectionProperties value to set.
- * @return the ConcurLinkedServiceTypeProperties object itself.
- */
- public ConcurLinkedServiceTypeProperties withConnectionProperties(Object connectionProperties) {
- this.connectionProperties = connectionProperties;
- return this;
- }
-
- /**
- * Get the clientId property: Application client_id supplied by Concur App Management.
- *
- * @return the clientId value.
- */
- public Object clientId() {
- return this.clientId;
- }
-
- /**
- * Set the clientId property: Application client_id supplied by Concur App Management.
- *
- * @param clientId the clientId value to set.
- * @return the ConcurLinkedServiceTypeProperties object itself.
- */
- public ConcurLinkedServiceTypeProperties withClientId(Object clientId) {
- this.clientId = clientId;
- return this;
- }
-
- /**
- * Get the username property: The user name that you use to access Concur Service.
- *
- * @return the username value.
- */
- public Object username() {
- return this.username;
- }
-
- /**
- * Set the username property: The user name that you use to access Concur Service.
- *
- * @param username the username value to set.
- * @return the ConcurLinkedServiceTypeProperties object itself.
- */
- public ConcurLinkedServiceTypeProperties withUsername(Object username) {
- this.username = username;
- return this;
- }
-
- /**
- * Get the password property: The password corresponding to the user name that you provided in the username field.
- *
- * @return the password value.
- */
- public SecretBase password() {
- return this.password;
- }
-
- /**
- * Set the password property: The password corresponding to the user name that you provided in the username field.
- *
- * @param password the password value to set.
- * @return the ConcurLinkedServiceTypeProperties object itself.
- */
- public ConcurLinkedServiceTypeProperties withPassword(SecretBase password) {
- this.password = password;
- return this;
- }
-
- /**
- * Get the useEncryptedEndpoints property: Specifies whether the data source endpoints are encrypted using HTTPS.
- * The default value is true.
- *
- * @return the useEncryptedEndpoints value.
- */
- public Object useEncryptedEndpoints() {
- return this.useEncryptedEndpoints;
- }
-
- /**
- * Set the useEncryptedEndpoints property: Specifies whether the data source endpoints are encrypted using HTTPS.
- * The default value is true.
- *
- * @param useEncryptedEndpoints the useEncryptedEndpoints value to set.
- * @return the ConcurLinkedServiceTypeProperties object itself.
- */
- public ConcurLinkedServiceTypeProperties withUseEncryptedEndpoints(Object useEncryptedEndpoints) {
- this.useEncryptedEndpoints = useEncryptedEndpoints;
- return this;
- }
-
- /**
- * Get the useHostVerification property: 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.
- *
- * @return the useHostVerification value.
- */
- public Object useHostVerification() {
- return this.useHostVerification;
- }
-
- /**
- * Set the useHostVerification property: 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.
- *
- * @param useHostVerification the useHostVerification value to set.
- * @return the ConcurLinkedServiceTypeProperties object itself.
- */
- public ConcurLinkedServiceTypeProperties withUseHostVerification(Object useHostVerification) {
- this.useHostVerification = useHostVerification;
- return this;
- }
-
- /**
- * Get the usePeerVerification property: Specifies whether to verify the identity of the server when connecting over
- * SSL. The default value is true.
- *
- * @return the usePeerVerification value.
- */
- public Object usePeerVerification() {
- return this.usePeerVerification;
- }
-
- /**
- * Set the usePeerVerification property: Specifies whether to verify the identity of the server when connecting over
- * SSL. The default value is true.
- *
- * @param usePeerVerification the usePeerVerification value to set.
- * @return the ConcurLinkedServiceTypeProperties object itself.
- */
- public ConcurLinkedServiceTypeProperties withUsePeerVerification(Object usePeerVerification) {
- this.usePeerVerification = usePeerVerification;
- return this;
- }
-
- /**
- * Get the encryptedCredential property: 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 encryptedCredential property: 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 ConcurLinkedServiceTypeProperties object itself.
- */
- public ConcurLinkedServiceTypeProperties withEncryptedCredential(Object encryptedCredential) {
- this.encryptedCredential = encryptedCredential;
- return this;
- }
-
- /**
- * Validates the instance.
- *
- * @throws IllegalArgumentException thrown if the instance is not valid.
- */
- public void validate() {
- if (clientId() == null) {
- throw logger
- .logExceptionAsError(
- new IllegalArgumentException(
- "Missing required property clientId in model ConcurLinkedServiceTypeProperties"));
- }
- if (username() == null) {
- throw logger
- .logExceptionAsError(
- new IllegalArgumentException(
- "Missing required property username in model ConcurLinkedServiceTypeProperties"));
- }
- if (password() != null) {
- password().validate();
- }
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/CopyActivityTypeProperties.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/CopyActivityTypeProperties.java
deleted file mode 100644
index a9605e704b1ab..0000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/CopyActivityTypeProperties.java
+++ /dev/null
@@ -1,476 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.datafactory.fluent.models;
-
-import com.azure.core.annotation.Fluent;
-import com.azure.core.util.logging.ClientLogger;
-import com.azure.resourcemanager.datafactory.models.CopySink;
-import com.azure.resourcemanager.datafactory.models.CopySource;
-import com.azure.resourcemanager.datafactory.models.LogSettings;
-import com.azure.resourcemanager.datafactory.models.LogStorageSettings;
-import com.azure.resourcemanager.datafactory.models.RedirectIncompatibleRowSettings;
-import com.azure.resourcemanager.datafactory.models.SkipErrorFile;
-import com.azure.resourcemanager.datafactory.models.StagingSettings;
-import com.fasterxml.jackson.annotation.JsonIgnore;
-import com.fasterxml.jackson.annotation.JsonProperty;
-import java.util.List;
-
-/** Copy activity properties. */
-@Fluent
-public final class CopyActivityTypeProperties {
- @JsonIgnore private final ClientLogger logger = new ClientLogger(CopyActivityTypeProperties.class);
-
- /*
- * Copy activity source.
- */
- @JsonProperty(value = "source", required = true)
- private CopySource source;
-
- /*
- * Copy activity sink.
- */
- @JsonProperty(value = "sink", required = true)
- private CopySink sink;
-
- /*
- * Copy activity translator. If not specified, tabular translator is used.
- */
- @JsonProperty(value = "translator")
- private Object translator;
-
- /*
- * Specifies whether to copy data via an interim staging. Default value is
- * false. Type: boolean (or Expression with resultType boolean).
- */
- @JsonProperty(value = "enableStaging")
- private Object enableStaging;
-
- /*
- * Specifies interim staging settings when EnableStaging is true.
- */
- @JsonProperty(value = "stagingSettings")
- private StagingSettings stagingSettings;
-
- /*
- * Maximum number of concurrent sessions opened on the source or sink to
- * avoid overloading the data store. Type: integer (or Expression with
- * resultType integer), minimum: 0.
- */
- @JsonProperty(value = "parallelCopies")
- private Object parallelCopies;
-
- /*
- * Maximum number of data integration units that can be used to perform
- * this data movement. Type: integer (or Expression with resultType
- * integer), minimum: 0.
- */
- @JsonProperty(value = "dataIntegrationUnits")
- private Object dataIntegrationUnits;
-
- /*
- * Whether to skip incompatible row. Default value is false. Type: boolean
- * (or Expression with resultType boolean).
- */
- @JsonProperty(value = "enableSkipIncompatibleRow")
- private Object enableSkipIncompatibleRow;
-
- /*
- * Redirect incompatible row settings when EnableSkipIncompatibleRow is
- * true.
- */
- @JsonProperty(value = "redirectIncompatibleRowSettings")
- private RedirectIncompatibleRowSettings redirectIncompatibleRowSettings;
-
- /*
- * (Deprecated. Please use LogSettings) Log storage settings customer need
- * to provide when enabling session log.
- */
- @JsonProperty(value = "logStorageSettings")
- private LogStorageSettings logStorageSettings;
-
- /*
- * Log settings customer needs provide when enabling log.
- */
- @JsonProperty(value = "logSettings")
- private LogSettings logSettings;
-
- /*
- * Preserve Rules.
- */
- @JsonProperty(value = "preserveRules")
- private List