diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/CHANGELOG.md b/sdk/datafactory/azure-resourcemanager-datafactory/CHANGELOG.md
index 10e8c167fc69..f802ef948f8c 100644
--- a/sdk/datafactory/azure-resourcemanager-datafactory/CHANGELOG.md
+++ b/sdk/datafactory/azure-resourcemanager-datafactory/CHANGELOG.md
@@ -1,7 +1,8 @@
# Release History
-## 1.0.0-beta.3 (Unreleased)
+## 1.0.0-beta.1 (2021-07-28)
+- 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).
## 1.0.0-beta.2 (2021-06-16)
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/README.md b/sdk/datafactory/azure-resourcemanager-datafactory/README.md
index 389462b99427..f05402d87c49 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.resourcemanager
azure-resourcemanager-datafactory
- 1.0.0-beta.2
+ 1.0.0-beta.3
```
[//]: # ({x-version-update-end})
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 e04fe9eb8643..99fccd16ee3f 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.2");
+ .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/models/AvroCompressionCodec.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AvroCompressionCodec.java
deleted file mode 100644
index 27bae592c68e..000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AvroCompressionCodec.java
+++ /dev/null
@@ -1,43 +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.models;
-
-import com.azure.core.util.ExpandableStringEnum;
-import com.fasterxml.jackson.annotation.JsonCreator;
-import java.util.Collection;
-
-/** Defines values for AvroCompressionCodec. */
-public final class AvroCompressionCodec extends ExpandableStringEnum {
- /** Static value none for AvroCompressionCodec. */
- public static final AvroCompressionCodec NONE = fromString("none");
-
- /** Static value deflate for AvroCompressionCodec. */
- public static final AvroCompressionCodec DEFLATE = fromString("deflate");
-
- /** Static value snappy for AvroCompressionCodec. */
- public static final AvroCompressionCodec SNAPPY = fromString("snappy");
-
- /** Static value xz for AvroCompressionCodec. */
- public static final AvroCompressionCodec XZ = fromString("xz");
-
- /** Static value bzip2 for AvroCompressionCodec. */
- public static final AvroCompressionCodec BZIP2 = fromString("bzip2");
-
- /**
- * Creates or finds a AvroCompressionCodec from its string representation.
- *
- * @param name a name to look for.
- * @return the corresponding AvroCompressionCodec.
- */
- @JsonCreator
- public static AvroCompressionCodec fromString(String name) {
- return fromString(name, AvroCompressionCodec.class);
- }
-
- /** @return known AvroCompressionCodec values. */
- public static Collection values() {
- return values(AvroCompressionCodec.class);
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AvroDataset.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AvroDataset.java
index 7d1c7549c331..3895aedcd332 100644
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AvroDataset.java
+++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AvroDataset.java
@@ -29,10 +29,11 @@ public class AvroDataset extends Dataset {
private DatasetLocation location;
/*
- * The avroCompressionCodec property.
+ * The data avroCompressionCodec. Type: string (or Expression with
+ * resultType string).
*/
@JsonProperty(value = "typeProperties.avroCompressionCodec")
- private AvroCompressionCodec avroCompressionCodec;
+ private Object avroCompressionCodec;
/*
* The avroCompressionLevel property.
@@ -61,21 +62,23 @@ public AvroDataset withLocation(DatasetLocation location) {
}
/**
- * Get the avroCompressionCodec property: The avroCompressionCodec property.
+ * Get the avroCompressionCodec property: The data avroCompressionCodec. Type: string (or Expression with resultType
+ * string).
*
* @return the avroCompressionCodec value.
*/
- public AvroCompressionCodec avroCompressionCodec() {
+ public Object avroCompressionCodec() {
return this.avroCompressionCodec;
}
/**
- * Set the avroCompressionCodec property: The avroCompressionCodec property.
+ * Set the avroCompressionCodec property: The data avroCompressionCodec. Type: string (or Expression with resultType
+ * string).
*
* @param avroCompressionCodec the avroCompressionCodec value to set.
* @return the AvroDataset object itself.
*/
- public AvroDataset withAvroCompressionCodec(AvroCompressionCodec avroCompressionCodec) {
+ public AvroDataset withAvroCompressionCodec(Object avroCompressionCodec) {
this.avroCompressionCodec = avroCompressionCodec;
return this;
}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AvroFormat.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AvroFormat.java
index aa69b3288627..891d4a71ce50 100644
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AvroFormat.java
+++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AvroFormat.java
@@ -4,7 +4,7 @@
package com.azure.resourcemanager.datafactory.models;
-import com.azure.core.annotation.Immutable;
+import com.azure.core.annotation.Fluent;
import com.azure.core.util.logging.ClientLogger;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonTypeInfo;
@@ -13,7 +13,7 @@
/** The data stored in Avro format. */
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "type")
@JsonTypeName("AvroFormat")
-@Immutable
+@Fluent
public final class AvroFormat extends DatasetStorageFormat {
@JsonIgnore private final ClientLogger logger = new ClientLogger(AvroFormat.class);
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AzureBatchLinkedService.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AzureBatchLinkedService.java
index bf0e832b6ad9..0b1324e1cd19 100644
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AzureBatchLinkedService.java
+++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AzureBatchLinkedService.java
@@ -63,6 +63,12 @@ public class AzureBatchLinkedService extends LinkedService {
@JsonProperty(value = "typeProperties.encryptedCredential")
private Object encryptedCredential;
+ /*
+ * The credential reference containing authentication information.
+ */
+ @JsonProperty(value = "typeProperties.credential")
+ private CredentialReference credential;
+
/**
* Get the accountName property: The Azure Batch account name. Type: string (or Expression with resultType string).
*
@@ -185,6 +191,26 @@ public AzureBatchLinkedService withEncryptedCredential(Object encryptedCredentia
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 AzureBatchLinkedService object itself.
+ */
+ public AzureBatchLinkedService withCredential(CredentialReference credential) {
+ this.credential = credential;
+ return this;
+ }
+
/** {@inheritDoc} */
@Override
public AzureBatchLinkedService withConnectVia(IntegrationRuntimeReference connectVia) {
@@ -250,5 +276,8 @@ public void validate() {
} else {
linkedServiceName().validate();
}
+ if (credential() != null) {
+ credential().validate();
+ }
}
}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AzureBlobFSLinkedService.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AzureBlobFSLinkedService.java
index 26392245c2e1..1d51e10f42ae 100644
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AzureBlobFSLinkedService.java
+++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AzureBlobFSLinkedService.java
@@ -75,6 +75,12 @@ public class AzureBlobFSLinkedService extends LinkedService {
@JsonProperty(value = "typeProperties.encryptedCredential")
private Object encryptedCredential;
+ /*
+ * The credential reference containing authentication information.
+ */
+ @JsonProperty(value = "typeProperties.credential")
+ private CredentialReference credential;
+
/**
* Get the url property: Endpoint for the Azure Data Lake Storage Gen2 service. Type: string (or Expression with
* resultType string).
@@ -231,6 +237,26 @@ public AzureBlobFSLinkedService withEncryptedCredential(Object encryptedCredenti
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 AzureBlobFSLinkedService object itself.
+ */
+ public AzureBlobFSLinkedService withCredential(CredentialReference credential) {
+ this.credential = credential;
+ return this;
+ }
+
/** {@inheritDoc} */
@Override
public AzureBlobFSLinkedService withConnectVia(IntegrationRuntimeReference connectVia) {
@@ -275,5 +301,8 @@ public void 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/models/AzureBlobStorageLinkedService.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AzureBlobStorageLinkedService.java
index eb1a8fc9bab8..a8dfd9124617 100644
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AzureBlobStorageLinkedService.java
+++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AzureBlobStorageLinkedService.java
@@ -103,6 +103,12 @@ public class AzureBlobStorageLinkedService extends LinkedService {
@JsonProperty(value = "typeProperties.encryptedCredential")
private String encryptedCredential;
+ /*
+ * The credential reference containing authentication information.
+ */
+ @JsonProperty(value = "typeProperties.credential")
+ private CredentialReference credential;
+
/**
* Get the connectionString property: The connection string. It is mutually exclusive with sasUri, serviceEndpoint
* property. Type: string, SecureString or AzureKeyVaultSecretReference.
@@ -345,6 +351,26 @@ public AzureBlobStorageLinkedService withEncryptedCredential(String encryptedCre
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 AzureBlobStorageLinkedService object itself.
+ */
+ public AzureBlobStorageLinkedService withCredential(CredentialReference credential) {
+ this.credential = credential;
+ return this;
+ }
+
/** {@inheritDoc} */
@Override
public AzureBlobStorageLinkedService withConnectVia(IntegrationRuntimeReference connectVia) {
@@ -390,5 +416,8 @@ public void 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/models/AzureDataExplorerLinkedService.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AzureDataExplorerLinkedService.java
index 0f6ef563a13e..5b0cb16eee86 100644
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AzureDataExplorerLinkedService.java
+++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AzureDataExplorerLinkedService.java
@@ -57,6 +57,12 @@ public class AzureDataExplorerLinkedService extends LinkedService {
@JsonProperty(value = "typeProperties.tenant")
private Object tenant;
+ /*
+ * The credential reference containing authentication information.
+ */
+ @JsonProperty(value = "typeProperties.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
@@ -165,6 +171,26 @@ public AzureDataExplorerLinkedService withTenant(Object 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 AzureDataExplorerLinkedService object itself.
+ */
+ public AzureDataExplorerLinkedService withCredential(CredentialReference credential) {
+ this.credential = credential;
+ return this;
+ }
+
/** {@inheritDoc} */
@Override
public AzureDataExplorerLinkedService withConnectVia(IntegrationRuntimeReference connectVia) {
@@ -216,5 +242,8 @@ public void validate() {
new IllegalArgumentException(
"Missing required property database in model AzureDataExplorerLinkedService"));
}
+ if (credential() != null) {
+ credential().validate();
+ }
}
}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AzureDataLakeStoreLinkedService.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AzureDataLakeStoreLinkedService.java
index 0771c8725a58..bed54ea4a05a 100644
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AzureDataLakeStoreLinkedService.java
+++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AzureDataLakeStoreLinkedService.java
@@ -88,6 +88,12 @@ public class AzureDataLakeStoreLinkedService extends LinkedService {
@JsonProperty(value = "typeProperties.encryptedCredential")
private Object encryptedCredential;
+ /*
+ * The credential reference containing authentication information.
+ */
+ @JsonProperty(value = "typeProperties.credential")
+ private CredentialReference credential;
+
/**
* Get the dataLakeStoreUri property: Data Lake Store service URI. Type: string (or Expression with resultType
* string).
@@ -286,6 +292,26 @@ public AzureDataLakeStoreLinkedService withEncryptedCredential(Object encryptedC
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 AzureDataLakeStoreLinkedService object itself.
+ */
+ public AzureDataLakeStoreLinkedService withCredential(CredentialReference credential) {
+ this.credential = credential;
+ return this;
+ }
+
/** {@inheritDoc} */
@Override
public AzureDataLakeStoreLinkedService withConnectVia(IntegrationRuntimeReference connectVia) {
@@ -331,5 +357,8 @@ public void 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/models/AzureDataLakeStoreLocation.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AzureDataLakeStoreLocation.java
index d050649caeb1..409d91c2ad8c 100644
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AzureDataLakeStoreLocation.java
+++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AzureDataLakeStoreLocation.java
@@ -4,7 +4,7 @@
package com.azure.resourcemanager.datafactory.models;
-import com.azure.core.annotation.Immutable;
+import com.azure.core.annotation.Fluent;
import com.azure.core.util.logging.ClientLogger;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonTypeInfo;
@@ -13,7 +13,7 @@
/** The location of azure data lake store dataset. */
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "type")
@JsonTypeName("AzureDataLakeStoreLocation")
-@Immutable
+@Fluent
public final class AzureDataLakeStoreLocation extends DatasetLocation {
@JsonIgnore private final ClientLogger logger = new ClientLogger(AzureDataLakeStoreLocation.class);
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AzureDatabricksLinkedService.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AzureDatabricksLinkedService.java
index 273ee9f1460c..2c898dfbc282 100644
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AzureDatabricksLinkedService.java
+++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AzureDatabricksLinkedService.java
@@ -162,6 +162,12 @@ public class AzureDatabricksLinkedService extends LinkedService {
@JsonProperty(value = "typeProperties.policyId")
private Object policyId;
+ /*
+ * The credential reference containing authentication information.
+ */
+ @JsonProperty(value = "typeProperties.credential")
+ private CredentialReference credential;
+
/**
* Get the domain property: <REGION>.azuredatabricks.net, domain name of your Databricks deployment. Type:
* string (or Expression with resultType string).
@@ -570,6 +576,26 @@ public AzureDatabricksLinkedService withPolicyId(Object 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 AzureDatabricksLinkedService object itself.
+ */
+ public AzureDatabricksLinkedService withCredential(CredentialReference credential) {
+ this.credential = credential;
+ return this;
+ }
+
/** {@inheritDoc} */
@Override
public AzureDatabricksLinkedService withConnectVia(IntegrationRuntimeReference connectVia) {
@@ -615,5 +641,8 @@ public void validate() {
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/models/AzureFileStorageLocation.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AzureFileStorageLocation.java
index 2a9a5e05cdaf..59752a15f2ab 100644
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AzureFileStorageLocation.java
+++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AzureFileStorageLocation.java
@@ -4,7 +4,7 @@
package com.azure.resourcemanager.datafactory.models;
-import com.azure.core.annotation.Immutable;
+import com.azure.core.annotation.Fluent;
import com.azure.core.util.logging.ClientLogger;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonTypeInfo;
@@ -13,7 +13,7 @@
/** The location of file server dataset. */
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "type")
@JsonTypeName("AzureFileStorageLocation")
-@Immutable
+@Fluent
public final class AzureFileStorageLocation extends DatasetLocation {
@JsonIgnore private final ClientLogger logger = new ClientLogger(AzureFileStorageLocation.class);
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AzureFileStorageWriteSettings.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AzureFileStorageWriteSettings.java
index 4f4e479b752a..8f0888a6690b 100644
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AzureFileStorageWriteSettings.java
+++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AzureFileStorageWriteSettings.java
@@ -4,7 +4,7 @@
package com.azure.resourcemanager.datafactory.models;
-import com.azure.core.annotation.Immutable;
+import com.azure.core.annotation.Fluent;
import com.azure.core.util.logging.ClientLogger;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonTypeInfo;
@@ -13,7 +13,7 @@
/** Azure File Storage write settings. */
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "type")
@JsonTypeName("AzureFileStorageWriteSettings")
-@Immutable
+@Fluent
public final class AzureFileStorageWriteSettings extends StoreWriteSettings {
@JsonIgnore private final ClientLogger logger = new ClientLogger(AzureFileStorageWriteSettings.class);
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AzureFunctionLinkedService.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AzureFunctionLinkedService.java
index 92f421e2ff43..ae772eef874e 100644
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AzureFunctionLinkedService.java
+++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AzureFunctionLinkedService.java
@@ -43,6 +43,25 @@ public class AzureFunctionLinkedService extends LinkedService {
@JsonProperty(value = "typeProperties.encryptedCredential")
private Object encryptedCredential;
+ /*
+ * The credential reference containing authentication information.
+ */
+ @JsonProperty(value = "typeProperties.credential")
+ private CredentialReference credential;
+
+ /*
+ * Allowed token audiences for azure function.
+ */
+ @JsonProperty(value = "typeProperties.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 = "typeProperties.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.
@@ -107,6 +126,68 @@ public AzureFunctionLinkedService withEncryptedCredential(Object encryptedCreden
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 AzureFunctionLinkedService object itself.
+ */
+ public AzureFunctionLinkedService 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 AzureFunctionLinkedService object itself.
+ */
+ public AzureFunctionLinkedService 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 AzureFunctionLinkedService object itself.
+ */
+ public AzureFunctionLinkedService withAuthentication(Object authentication) {
+ this.authentication = authentication;
+ return this;
+ }
+
/** {@inheritDoc} */
@Override
public AzureFunctionLinkedService withConnectVia(IntegrationRuntimeReference connectVia) {
@@ -152,5 +233,8 @@ public void validate() {
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/models/AzureKeyVaultLinkedService.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AzureKeyVaultLinkedService.java
index 6c720459760e..39230bd4d114 100644
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AzureKeyVaultLinkedService.java
+++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AzureKeyVaultLinkedService.java
@@ -29,6 +29,12 @@ public class AzureKeyVaultLinkedService extends LinkedService {
@JsonProperty(value = "typeProperties.baseUrl", required = true)
private Object baseUrl;
+ /*
+ * The credential reference containing authentication information.
+ */
+ @JsonProperty(value = "typeProperties.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).
@@ -51,6 +57,26 @@ public AzureKeyVaultLinkedService withBaseUrl(Object 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 AzureKeyVaultLinkedService object itself.
+ */
+ public AzureKeyVaultLinkedService withCredential(CredentialReference credential) {
+ this.credential = credential;
+ return this;
+ }
+
/** {@inheritDoc} */
@Override
public AzureKeyVaultLinkedService withConnectVia(IntegrationRuntimeReference connectVia) {
@@ -93,5 +119,8 @@ public void validate() {
new IllegalArgumentException(
"Missing required property baseUrl in model AzureKeyVaultLinkedService"));
}
+ if (credential() != null) {
+ credential().validate();
+ }
}
}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AzureMLLinkedService.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AzureMLLinkedService.java
index 5988257bd3b1..ce222a0a9e1f 100644
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AzureMLLinkedService.java
+++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AzureMLLinkedService.java
@@ -72,6 +72,13 @@ public class AzureMLLinkedService extends LinkedService {
@JsonProperty(value = "typeProperties.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 = "typeProperties.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).
@@ -224,6 +231,28 @@ public AzureMLLinkedService withEncryptedCredential(Object 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 AzureMLLinkedService object itself.
+ */
+ public AzureMLLinkedService withAuthentication(Object authentication) {
+ this.authentication = authentication;
+ return this;
+ }
+
/** {@inheritDoc} */
@Override
public AzureMLLinkedService withConnectVia(IntegrationRuntimeReference connectVia) {
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AzureQueueSink.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AzureQueueSink.java
index c7d1accb89a8..dd44de1b9188 100644
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AzureQueueSink.java
+++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AzureQueueSink.java
@@ -4,7 +4,7 @@
package com.azure.resourcemanager.datafactory.models;
-import com.azure.core.annotation.Immutable;
+import com.azure.core.annotation.Fluent;
import com.azure.core.util.logging.ClientLogger;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonTypeInfo;
@@ -13,7 +13,7 @@
/** A copy activity Azure Queue sink. */
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "type")
@JsonTypeName("AzureQueueSink")
-@Immutable
+@Fluent
public final class AzureQueueSink extends CopySink {
@JsonIgnore private final ClientLogger logger = new ClientLogger(AzureQueueSink.class);
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AzureSqlDWLinkedService.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AzureSqlDWLinkedService.java
index 570bf0c3a362..d9d947143139 100644
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AzureSqlDWLinkedService.java
+++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AzureSqlDWLinkedService.java
@@ -74,6 +74,12 @@ public class AzureSqlDWLinkedService extends LinkedService {
@JsonProperty(value = "typeProperties.encryptedCredential")
private Object encryptedCredential;
+ /*
+ * The credential reference containing authentication information.
+ */
+ @JsonProperty(value = "typeProperties.credential")
+ private CredentialReference credential;
+
/**
* Get the connectionString property: The connection string. Type: string, SecureString or
* AzureKeyVaultSecretReference. Type: string, SecureString or AzureKeyVaultSecretReference.
@@ -228,6 +234,26 @@ public AzureSqlDWLinkedService withEncryptedCredential(Object encryptedCredentia
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 AzureSqlDWLinkedService object itself.
+ */
+ public AzureSqlDWLinkedService withCredential(CredentialReference credential) {
+ this.credential = credential;
+ return this;
+ }
+
/** {@inheritDoc} */
@Override
public AzureSqlDWLinkedService withConnectVia(IntegrationRuntimeReference connectVia) {
@@ -276,5 +302,8 @@ public void 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/models/AzureSqlDatabaseLinkedService.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AzureSqlDatabaseLinkedService.java
index c4132a14ad16..6b17812559c3 100644
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AzureSqlDatabaseLinkedService.java
+++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AzureSqlDatabaseLinkedService.java
@@ -79,6 +79,12 @@ public class AzureSqlDatabaseLinkedService extends LinkedService {
@JsonProperty(value = "typeProperties.alwaysEncryptedSettings")
private SqlAlwaysEncryptedProperties alwaysEncryptedSettings;
+ /*
+ * The credential reference containing authentication information.
+ */
+ @JsonProperty(value = "typeProperties.credential")
+ private CredentialReference credential;
+
/**
* Get the connectionString property: The connection string. Type: string, SecureString or
* AzureKeyVaultSecretReference.
@@ -254,6 +260,26 @@ public AzureSqlDatabaseLinkedService withAlwaysEncryptedSettings(
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 AzureSqlDatabaseLinkedService object itself.
+ */
+ public AzureSqlDatabaseLinkedService withCredential(CredentialReference credential) {
+ this.credential = credential;
+ return this;
+ }
+
/** {@inheritDoc} */
@Override
public AzureSqlDatabaseLinkedService withConnectVia(IntegrationRuntimeReference connectVia) {
@@ -305,5 +331,8 @@ public void 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/models/AzureSqlMILinkedService.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AzureSqlMILinkedService.java
index ac3af7ccf5f4..78f0592ae9cc 100644
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AzureSqlMILinkedService.java
+++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AzureSqlMILinkedService.java
@@ -79,6 +79,12 @@ public class AzureSqlMILinkedService extends LinkedService {
@JsonProperty(value = "typeProperties.alwaysEncryptedSettings")
private SqlAlwaysEncryptedProperties alwaysEncryptedSettings;
+ /*
+ * The credential reference containing authentication information.
+ */
+ @JsonProperty(value = "typeProperties.credential")
+ private CredentialReference credential;
+
/**
* Get the connectionString property: The connection string. Type: string, SecureString or
* AzureKeyVaultSecretReference.
@@ -253,6 +259,26 @@ public AzureSqlMILinkedService withAlwaysEncryptedSettings(SqlAlwaysEncryptedPro
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 AzureSqlMILinkedService object itself.
+ */
+ public AzureSqlMILinkedService withCredential(CredentialReference credential) {
+ this.credential = credential;
+ return this;
+ }
+
/** {@inheritDoc} */
@Override
public AzureSqlMILinkedService withConnectVia(IntegrationRuntimeReference connectVia) {
@@ -304,5 +330,8 @@ public void 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/models/AzureSqlSink.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AzureSqlSink.java
index 5897f0e723ca..379ab835ec06 100644
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AzureSqlSink.java
+++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AzureSqlSink.java
@@ -61,6 +61,27 @@ public final class AzureSqlSink extends CopySink {
@JsonProperty(value = "tableOption")
private Object tableOption;
+ /*
+ * Whether to use table lock during bulk copy. Type: boolean (or Expression
+ * with resultType boolean).
+ */
+ @JsonProperty(value = "sqlWriterUseTableLock")
+ private Object sqlWriterUseTableLock;
+
+ /*
+ * Write behavior when copying data into Azure SQL. Type:
+ * SqlWriteBehaviorEnum (or Expression with resultType
+ * SqlWriteBehaviorEnum)
+ */
+ @JsonProperty(value = "writeBehavior")
+ private Object writeBehavior;
+
+ /*
+ * SQL upsert settings.
+ */
+ @JsonProperty(value = "upsertSettings")
+ private SqlUpsertSettings upsertSettings;
+
/**
* Get the sqlWriterStoredProcedureName property: SQL writer stored procedure name. Type: string (or Expression with
* resultType string).
@@ -187,6 +208,70 @@ public AzureSqlSink withTableOption(Object tableOption) {
return this;
}
+ /**
+ * Get the sqlWriterUseTableLock property: Whether to use table lock during bulk copy. Type: boolean (or Expression
+ * with resultType boolean).
+ *
+ * @return the sqlWriterUseTableLock value.
+ */
+ public Object sqlWriterUseTableLock() {
+ return this.sqlWriterUseTableLock;
+ }
+
+ /**
+ * Set the sqlWriterUseTableLock property: Whether to use table lock during bulk copy. Type: boolean (or Expression
+ * with resultType boolean).
+ *
+ * @param sqlWriterUseTableLock the sqlWriterUseTableLock value to set.
+ * @return the AzureSqlSink object itself.
+ */
+ public AzureSqlSink withSqlWriterUseTableLock(Object sqlWriterUseTableLock) {
+ this.sqlWriterUseTableLock = sqlWriterUseTableLock;
+ return this;
+ }
+
+ /**
+ * Get the writeBehavior property: Write behavior when copying data into Azure SQL. Type: SqlWriteBehaviorEnum (or
+ * Expression with resultType SqlWriteBehaviorEnum).
+ *
+ * @return the writeBehavior value.
+ */
+ public Object writeBehavior() {
+ return this.writeBehavior;
+ }
+
+ /**
+ * Set the writeBehavior property: Write behavior when copying data into Azure SQL. Type: SqlWriteBehaviorEnum (or
+ * Expression with resultType SqlWriteBehaviorEnum).
+ *
+ * @param writeBehavior the writeBehavior value to set.
+ * @return the AzureSqlSink object itself.
+ */
+ public AzureSqlSink withWriteBehavior(Object writeBehavior) {
+ this.writeBehavior = writeBehavior;
+ return this;
+ }
+
+ /**
+ * Get the upsertSettings property: SQL upsert settings.
+ *
+ * @return the upsertSettings value.
+ */
+ public SqlUpsertSettings upsertSettings() {
+ return this.upsertSettings;
+ }
+
+ /**
+ * Set the upsertSettings property: SQL upsert settings.
+ *
+ * @param upsertSettings the upsertSettings value to set.
+ * @return the AzureSqlSink object itself.
+ */
+ public AzureSqlSink withUpsertSettings(SqlUpsertSettings upsertSettings) {
+ this.upsertSettings = upsertSettings;
+ return this;
+ }
+
/** {@inheritDoc} */
@Override
public AzureSqlSink withWriteBatchSize(Object writeBatchSize) {
@@ -247,5 +332,8 @@ public void validate() {
}
});
}
+ if (upsertSettings() != null) {
+ upsertSettings().validate();
+ }
}
}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/ControlActivity.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/ControlActivity.java
index 5347ac37007f..5c3778b1dde1 100644
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/ControlActivity.java
+++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/ControlActivity.java
@@ -4,7 +4,7 @@
package com.azure.resourcemanager.datafactory.models;
-import com.azure.core.annotation.Immutable;
+import com.azure.core.annotation.Fluent;
import com.azure.core.util.logging.ClientLogger;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonSubTypes;
@@ -32,7 +32,7 @@
@JsonSubTypes.Type(name = "AppendVariable", value = AppendVariableActivity.class),
@JsonSubTypes.Type(name = "WebHook", value = WebhookActivity.class)
})
-@Immutable
+@Fluent
public class ControlActivity extends Activity {
@JsonIgnore private final ClientLogger logger = new ClientLogger(ControlActivity.class);
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/CosmosDbMongoDbApiLinkedService.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/CosmosDbMongoDbApiLinkedService.java
index e79979c39f41..fcd75b4c5771 100644
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/CosmosDbMongoDbApiLinkedService.java
+++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/CosmosDbMongoDbApiLinkedService.java
@@ -22,6 +22,14 @@
public class CosmosDbMongoDbApiLinkedService extends LinkedService {
@JsonIgnore private final ClientLogger logger = new ClientLogger(CosmosDbMongoDbApiLinkedService.class);
+ /*
+ * Whether the CosmosDB (MongoDB API) server version is higher than 3.2.
+ * The default value is false. Type: boolean (or Expression with resultType
+ * boolean).
+ */
+ @JsonProperty(value = "typeProperties.isServerVersionAbove32")
+ private Object isServerVersionAbove32;
+
/*
* The CosmosDB (MongoDB API) connection string. Type: string, SecureString
* or AzureKeyVaultSecretReference. Type: string, SecureString or
@@ -37,6 +45,28 @@ public class CosmosDbMongoDbApiLinkedService extends LinkedService {
@JsonProperty(value = "typeProperties.database", required = true)
private Object database;
+ /**
+ * Get the isServerVersionAbove32 property: Whether the CosmosDB (MongoDB API) server version is higher than 3.2.
+ * The default value is false. Type: boolean (or Expression with resultType boolean).
+ *
+ * @return the isServerVersionAbove32 value.
+ */
+ public Object isServerVersionAbove32() {
+ return this.isServerVersionAbove32;
+ }
+
+ /**
+ * Set the isServerVersionAbove32 property: Whether the CosmosDB (MongoDB API) server version is higher than 3.2.
+ * The default value is false. Type: boolean (or Expression with resultType boolean).
+ *
+ * @param isServerVersionAbove32 the isServerVersionAbove32 value to set.
+ * @return the CosmosDbMongoDbApiLinkedService object itself.
+ */
+ public CosmosDbMongoDbApiLinkedService withIsServerVersionAbove32(Object isServerVersionAbove32) {
+ this.isServerVersionAbove32 = isServerVersionAbove32;
+ return this;
+ }
+
/**
* Get the connectionString property: The CosmosDB (MongoDB API) connection string. Type: string, SecureString or
* AzureKeyVaultSecretReference. Type: string, SecureString or AzureKeyVaultSecretReference.
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/Credential.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/Credential.java
new file mode 100644
index 000000000000..a4693d0ee912
--- /dev/null
+++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/Credential.java
@@ -0,0 +1,135 @@
+// 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.models;
+
+import com.azure.core.annotation.Fluent;
+import com.azure.core.util.logging.ClientLogger;
+import com.fasterxml.jackson.annotation.JsonAnyGetter;
+import com.fasterxml.jackson.annotation.JsonAnySetter;
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonProperty;
+import com.fasterxml.jackson.annotation.JsonSubTypes;
+import com.fasterxml.jackson.annotation.JsonTypeInfo;
+import com.fasterxml.jackson.annotation.JsonTypeName;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+
+/**
+ * The Azure Data Factory nested object which contains the information and credential which can be used to connect with
+ * related store or compute resource.
+ */
+@JsonTypeInfo(
+ use = JsonTypeInfo.Id.NAME,
+ include = JsonTypeInfo.As.PROPERTY,
+ property = "type",
+ defaultImpl = Credential.class)
+@JsonTypeName("Credential")
+@JsonSubTypes({
+ @JsonSubTypes.Type(name = "ServicePrincipal", value = ServicePrincipalCredential.class),
+ @JsonSubTypes.Type(name = "ManagedIdentity", value = ManagedIdentityCredential.class)
+})
+@Fluent
+public class Credential {
+ @JsonIgnore private final ClientLogger logger = new ClientLogger(Credential.class);
+
+ /*
+ * Credential description.
+ */
+ @JsonProperty(value = "description")
+ private String description;
+
+ /*
+ * List of tags that can be used for describing the Credential.
+ */
+ @JsonProperty(value = "annotations")
+ private List