diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/CHANGELOG.md b/sdk/datafactory/azure-resourcemanager-datafactory/CHANGELOG.md
index 0c63f05f09e0..057a05cb5f96 100644
--- a/sdk/datafactory/azure-resourcemanager-datafactory/CHANGELOG.md
+++ b/sdk/datafactory/azure-resourcemanager-datafactory/CHANGELOG.md
@@ -1,14 +1,20 @@
# Release History
-## 1.1.0-beta.1 (Unreleased)
+## 1.0.0-beta.1 (2025-01-20)
-### Features Added
+- 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).
### Breaking Changes
-### Bugs Fixed
+#### `models.ScriptActivity` was modified
+
+* `returnMultistatementResult()` was removed
+* `withReturnMultistatementResult(java.lang.Object)` was removed
+
+#### `models.Factories` was modified
-### Other Changes
+* `list()` was removed
+* `list(com.azure.core.util.Context)` was removed
## 1.0.0 (2024-12-16)
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/README.md b/sdk/datafactory/azure-resourcemanager-datafactory/README.md
index 3325d497a2c8..eddeca8be955 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
+ 1.1.0-beta.1
```
[//]: # ({x-version-update-end})
@@ -73,19 +73,19 @@ See [API design][design] for general introduction on design and key concepts on
```java
// storage account
StorageAccount storageAccount = storageManager.storageAccounts()
- .define(STORAGE_ACCOUNT)
+ .define(storageAccountName)
.withRegion(REGION)
.withExistingResourceGroup(resourceGroup)
.create();
final String storageAccountKey = storageAccount.getKeys().iterator().next().value();
final String connectionString
- = getStorageConnectionString(STORAGE_ACCOUNT, storageAccountKey, storageManager.environment());
+ = getStorageConnectionString(storageAccountName, storageAccountKey, storageManager.environment());
// container
final String containerName = "adf";
storageManager.blobContainers()
.defineContainer(containerName)
- .withExistingStorageAccount(resourceGroup, STORAGE_ACCOUNT)
+ .withExistingStorageAccount(resourceGroup, storageAccountName)
.withPublicAccess(PublicAccess.NONE)
.create();
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/SAMPLE.md b/sdk/datafactory/azure-resourcemanager-datafactory/SAMPLE.md
index 1c1430792680..3e207c9051eb 100644
--- a/sdk/datafactory/azure-resourcemanager-datafactory/SAMPLE.md
+++ b/sdk/datafactory/azure-resourcemanager-datafactory/SAMPLE.md
@@ -58,7 +58,6 @@
- [GetByResourceGroup](#factories_getbyresourcegroup)
- [GetDataPlaneAccess](#factories_getdataplaneaccess)
- [GetGitHubAccessToken](#factories_getgithubaccesstoken)
-- [List](#factories_list)
- [ListByResourceGroup](#factories_listbyresourcegroup)
- [Update](#factories_update)
@@ -1330,28 +1329,6 @@ public final class FactoriesGetGitHubAccessTokenSamples {
}
```
-### Factories_List
-
-```java
-/**
- * Samples for Factories List.
- */
-public final class FactoriesListSamples {
- /*
- * x-ms-original-file:
- * specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Factories_List.json
- */
- /**
- * Sample code: Factories_List.
- *
- * @param manager Entry point to DataFactoryManager.
- */
- public static void factoriesList(com.azure.resourcemanager.datafactory.DataFactoryManager manager) {
- manager.factories().list(com.azure.core.util.Context.NONE);
- }
-}
-```
-
### Factories_ListByResourceGroup
```java
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/pom.xml b/sdk/datafactory/azure-resourcemanager-datafactory/pom.xml
index 5c9aec89b2ae..abe5ec4e5cd1 100644
--- a/sdk/datafactory/azure-resourcemanager-datafactory/pom.xml
+++ b/sdk/datafactory/azure-resourcemanager-datafactory/pom.xml
@@ -45,6 +45,7 @@
UTF-8
0
0
+ true
false
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 38e432f1bf78..ac431b8e989a 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
@@ -294,7 +294,7 @@ public DataFactoryManager authenticate(TokenCredential credential, AzureProfile
.append("-")
.append("com.azure.resourcemanager.datafactory")
.append("/")
- .append("1.0.0");
+ .append("1.0.0-beta.1");
if (!Configuration.getGlobalConfiguration().get("AZURE_TELEMETRY_DISABLED", false)) {
userAgentBuilder.append(" (")
.append(Configuration.getGlobalConfiguration().get("java.version"))
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/FactoriesClient.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/FactoriesClient.java
index 9011f27d1377..e49d82b02376 100644
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/FactoriesClient.java
+++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/FactoriesClient.java
@@ -21,28 +21,6 @@
* An instance of this class provides access to all the operations defined in FactoriesClient.
*/
public interface FactoriesClient {
- /**
- * Lists factories under the specified subscription.
- *
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a list of factory resources as paginated response with {@link PagedIterable}.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list();
-
- /**
- * Lists factories under the specified subscription.
- *
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a list of factory resources as paginated response with {@link PagedIterable}.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(Context context);
-
/**
* Updates a factory's repo information.
*
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/ScriptActivityTypeProperties.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/ScriptActivityTypeProperties.java
index 4c7addb4e61c..ae1b4c8dcd73 100644
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/ScriptActivityTypeProperties.java
+++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/ScriptActivityTypeProperties.java
@@ -35,12 +35,6 @@ public final class ScriptActivityTypeProperties implements JsonSerializable writer.writeJson(element));
jsonWriter.writeJsonField("logSettings", this.logSettings);
- jsonWriter.writeUntypedField("returnMultistatementResult", this.returnMultistatementResult);
return jsonWriter.writeEndObject();
}
@@ -184,8 +153,6 @@ public static ScriptActivityTypeProperties fromJson(JsonReader jsonReader) throw
} else if ("logSettings".equals(fieldName)) {
deserializedScriptActivityTypeProperties.logSettings
= ScriptActivityTypePropertiesLogSettings.fromJson(reader);
- } else if ("returnMultistatementResult".equals(fieldName)) {
- deserializedScriptActivityTypeProperties.returnMultistatementResult = reader.readUntyped();
} else {
reader.skipChildren();
}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/implementation/FactoriesClientImpl.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/implementation/FactoriesClientImpl.java
index 7e099d9d2aa6..8a9e355dfdf4 100644
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/implementation/FactoriesClientImpl.java
+++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/implementation/FactoriesClientImpl.java
@@ -73,14 +73,6 @@ public final class FactoriesClientImpl implements FactoriesClient {
@Host("{$host}")
@ServiceInterface(name = "DataFactoryManagemen")
public interface FactoriesService {
- @Headers({ "Content-Type: application/json" })
- @Get("/subscriptions/{subscriptionId}/providers/Microsoft.DataFactory/factories")
- @ExpectedResponses({ 200 })
- @UnexpectedResponseExceptionType(ManagementException.class)
- Mono> list(@HostParam("$host") String endpoint,
- @PathParam("subscriptionId") String subscriptionId, @QueryParam("api-version") String apiVersion,
- @HeaderParam("Accept") String accept, Context context);
-
@Headers({ "Content-Type: application/json" })
@Post("/subscriptions/{subscriptionId}/providers/Microsoft.DataFactory/locations/{locationId}/configureFactoryRepo")
@ExpectedResponses({ 200 })
@@ -161,13 +153,6 @@ Mono> getDataPlaneAccess(@HostParam("$host")
@QueryParam("api-version") String apiVersion, @BodyParam("application/json") UserAccessPolicy policy,
@HeaderParam("Accept") String accept, Context context);
- @Headers({ "Content-Type: application/json" })
- @Get("{nextLink}")
- @ExpectedResponses({ 200 })
- @UnexpectedResponseExceptionType(ManagementException.class)
- Mono> listNext(@PathParam(value = "nextLink", encoded = true) String nextLink,
- @HostParam("$host") String endpoint, @HeaderParam("Accept") String accept, Context context);
-
@Headers({ "Content-Type: application/json" })
@Get("{nextLink}")
@ExpectedResponses({ 200 })
@@ -177,113 +162,6 @@ Mono> listByResourceGroupNext(
@HeaderParam("Accept") String accept, Context context);
}
- /**
- * Lists factories under the specified subscription.
- *
- * @throws ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a list of factory resources along with {@link PagedResponse} on successful completion of {@link Mono}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- private Mono> listSinglePageAsync() {
- if (this.client.getEndpoint() == null) {
- return Mono.error(
- new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null."));
- }
- if (this.client.getSubscriptionId() == null) {
- return Mono.error(new IllegalArgumentException(
- "Parameter this.client.getSubscriptionId() is required and cannot be null."));
- }
- final String accept = "application/json";
- return FluxUtil
- .withContext(context -> service.list(this.client.getEndpoint(), this.client.getSubscriptionId(),
- this.client.getApiVersion(), accept, context))
- .>map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(),
- res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null))
- .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly()));
- }
-
- /**
- * Lists factories under the specified subscription.
- *
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a list of factory resources along with {@link PagedResponse} on successful completion of {@link Mono}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- private Mono> listSinglePageAsync(Context context) {
- if (this.client.getEndpoint() == null) {
- return Mono.error(
- new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null."));
- }
- if (this.client.getSubscriptionId() == null) {
- return Mono.error(new IllegalArgumentException(
- "Parameter this.client.getSubscriptionId() is required and cannot be null."));
- }
- final String accept = "application/json";
- context = this.client.mergeContext(context);
- return service
- .list(this.client.getEndpoint(), this.client.getSubscriptionId(), this.client.getApiVersion(), accept,
- context)
- .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(),
- res.getValue().value(), res.getValue().nextLink(), null));
- }
-
- /**
- * Lists factories under the specified subscription.
- *
- * @throws ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a list of factory resources as paginated response with {@link PagedFlux}.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- private PagedFlux listAsync() {
- return new PagedFlux<>(() -> listSinglePageAsync(), nextLink -> listNextSinglePageAsync(nextLink));
- }
-
- /**
- * Lists factories under the specified subscription.
- *
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a list of factory resources as paginated response with {@link PagedFlux}.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- private PagedFlux listAsync(Context context) {
- return new PagedFlux<>(() -> listSinglePageAsync(context),
- nextLink -> listNextSinglePageAsync(nextLink, context));
- }
-
- /**
- * Lists factories under the specified subscription.
- *
- * @throws ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a list of factory resources as paginated response with {@link PagedIterable}.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- public PagedIterable list() {
- return new PagedIterable<>(listAsync());
- }
-
- /**
- * Lists factories under the specified subscription.
- *
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a list of factory resources as paginated response with {@link PagedIterable}.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- public PagedIterable list(Context context) {
- return new PagedIterable<>(listAsync(context));
- }
-
/**
* Updates a factory's repo information.
*
@@ -1329,57 +1207,6 @@ public AccessPolicyResponseInner getDataPlaneAccess(String resourceGroupName, St
return getDataPlaneAccessWithResponse(resourceGroupName, factoryName, policy, Context.NONE).getValue();
}
- /**
- * Get the next page of items.
- *
- * @param nextLink The URL to get the next list of items.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a list of factory resources along with {@link PagedResponse} on successful completion of {@link Mono}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- private Mono> listNextSinglePageAsync(String nextLink) {
- if (nextLink == null) {
- return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null."));
- }
- if (this.client.getEndpoint() == null) {
- return Mono.error(
- new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null."));
- }
- final String accept = "application/json";
- return FluxUtil.withContext(context -> service.listNext(nextLink, this.client.getEndpoint(), accept, context))
- .>map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(),
- res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null))
- .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly()));
- }
-
- /**
- * Get the next page of items.
- *
- * @param nextLink The URL to get the next list of items.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a list of factory resources along with {@link PagedResponse} on successful completion of {@link Mono}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- private Mono> listNextSinglePageAsync(String nextLink, Context context) {
- if (nextLink == null) {
- return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null."));
- }
- if (this.client.getEndpoint() == null) {
- return Mono.error(
- new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null."));
- }
- final String accept = "application/json";
- context = this.client.mergeContext(context);
- return service.listNext(nextLink, this.client.getEndpoint(), accept, context)
- .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(),
- res.getValue().value(), res.getValue().nextLink(), null));
- }
-
/**
* Get the next page of items.
*
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/implementation/FactoriesImpl.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/implementation/FactoriesImpl.java
index 39a4594f46fb..2b4174fd5b8a 100644
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/implementation/FactoriesImpl.java
+++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/implementation/FactoriesImpl.java
@@ -34,16 +34,6 @@ public FactoriesImpl(FactoriesClient innerClient,
this.serviceManager = serviceManager;
}
- public PagedIterable list() {
- PagedIterable inner = this.serviceClient().list();
- return ResourceManagerUtils.mapPage(inner, inner1 -> new FactoryImpl(inner1, this.manager()));
- }
-
- public PagedIterable list(Context context) {
- PagedIterable inner = this.serviceClient().list(context);
- return ResourceManagerUtils.mapPage(inner, inner1 -> new FactoryImpl(inner1, this.manager()));
- }
-
public Response configureFactoryRepoWithResponse(String locationId, FactoryRepoUpdate factoryRepoUpdate,
Context context) {
Response inner
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/Factories.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/Factories.java
index f2f1126697a0..160e359cb728 100644
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/Factories.java
+++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/Factories.java
@@ -12,26 +12,6 @@
* Resource collection API of Factories.
*/
public interface Factories {
- /**
- * Lists factories under the specified subscription.
- *
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a list of factory resources as paginated response with {@link PagedIterable}.
- */
- PagedIterable list();
-
- /**
- * Lists factories under the specified subscription.
- *
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a list of factory resources as paginated response with {@link PagedIterable}.
- */
- PagedIterable list(Context context);
-
/**
* Updates a factory's repo information.
*
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/ScriptActivity.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/ScriptActivity.java
index ab29a33979fe..999b98aa477d 100644
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/ScriptActivity.java
+++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/ScriptActivity.java
@@ -198,33 +198,6 @@ public ScriptActivity withLogSettings(ScriptActivityTypePropertiesLogSettings lo
return this;
}
- /**
- * Get the returnMultistatementResult property: Enable to retrieve result sets from multiple SQL statements and the
- * number of rows affected by the DML statement. Supported connector: SnowflakeV2. Type: boolean (or Expression with
- * resultType boolean).
- *
- * @return the returnMultistatementResult value.
- */
- public Object returnMultistatementResult() {
- return this.innerTypeProperties() == null ? null : this.innerTypeProperties().returnMultistatementResult();
- }
-
- /**
- * Set the returnMultistatementResult property: Enable to retrieve result sets from multiple SQL statements and the
- * number of rows affected by the DML statement. Supported connector: SnowflakeV2. Type: boolean (or Expression with
- * resultType boolean).
- *
- * @param returnMultistatementResult the returnMultistatementResult value to set.
- * @return the ScriptActivity object itself.
- */
- public ScriptActivity withReturnMultistatementResult(Object returnMultistatementResult) {
- if (this.innerTypeProperties() == null) {
- this.innerTypeProperties = new ScriptActivityTypeProperties();
- }
- this.innerTypeProperties().withReturnMultistatementResult(returnMultistatementResult);
- return this;
- }
-
/**
* Validates the instance.
*
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/samples/java/com/azure/resourcemanager/datafactory/generated/FactoriesListSamples.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/samples/java/com/azure/resourcemanager/datafactory/generated/FactoriesListSamples.java
deleted file mode 100644
index 4475f001b740..000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/samples/java/com/azure/resourcemanager/datafactory/generated/FactoriesListSamples.java
+++ /dev/null
@@ -1,23 +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.generated;
-
-/**
- * Samples for Factories List.
- */
-public final class FactoriesListSamples {
- /*
- * x-ms-original-file:
- * specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Factories_List.json
- */
- /**
- * Sample code: Factories_List.
- *
- * @param manager Entry point to DataFactoryManager.
- */
- public static void factoriesList(com.azure.resourcemanager.datafactory.DataFactoryManager manager) {
- manager.factories().list(com.azure.core.util.Context.NONE);
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/ActivityDependencyTests.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/ActivityDependencyTests.java
deleted file mode 100644
index ebaedf8d1093..000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/ActivityDependencyTests.java
+++ /dev/null
@@ -1,47 +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.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.datafactory.models.ActivityDependency;
-import com.azure.resourcemanager.datafactory.models.DependencyCondition;
-import java.util.Arrays;
-import java.util.HashMap;
-import java.util.Map;
-import org.junit.jupiter.api.Assertions;
-
-public final class ActivityDependencyTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- ActivityDependency model = BinaryData.fromString(
- "{\"activity\":\"nmwcpmgu\",\"dependencyConditions\":[\"Skipped\",\"Completed\",\"Completed\",\"Failed\"],\"\":{\"jjziuxxpsh\":\"datactkahzov\",\"enr\":\"dataeekulfgslqubkwd\",\"pjuohminyfl\":\"datasutujba\"}}")
- .toObject(ActivityDependency.class);
- Assertions.assertEquals("nmwcpmgu", model.activity());
- Assertions.assertEquals(DependencyCondition.SKIPPED, model.dependencyConditions().get(0));
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- ActivityDependency model = new ActivityDependency().withActivity("nmwcpmgu")
- .withDependencyConditions(Arrays.asList(DependencyCondition.SKIPPED, DependencyCondition.COMPLETED,
- DependencyCondition.COMPLETED, DependencyCondition.FAILED))
- .withAdditionalProperties(mapOf());
- model = BinaryData.fromObject(model).toObject(ActivityDependency.class);
- Assertions.assertEquals("nmwcpmgu", model.activity());
- Assertions.assertEquals(DependencyCondition.SKIPPED, model.dependencyConditions().get(0));
- }
-
- // Use "Map.of" if available
- @SuppressWarnings("unchecked")
- private static Map mapOf(Object... inputs) {
- Map map = new HashMap<>();
- for (int i = 0; i < inputs.length; i += 2) {
- String key = (String) inputs[i];
- T value = (T) inputs[i + 1];
- map.put(key, value);
- }
- return map;
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/ActivityPolicyTests.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/ActivityPolicyTests.java
deleted file mode 100644
index 66b8877f487d..000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/ActivityPolicyTests.java
+++ /dev/null
@@ -1,49 +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.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.datafactory.models.ActivityPolicy;
-import java.util.HashMap;
-import java.util.Map;
-import org.junit.jupiter.api.Assertions;
-
-public final class ActivityPolicyTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- ActivityPolicy model = BinaryData.fromString(
- "{\"timeout\":\"datamlsuuhwuox\",\"retry\":\"datai\",\"retryIntervalInSeconds\":1056891956,\"secureInput\":true,\"secureOutput\":true,\"\":{\"xxcruleimswxoi\":\"datagzjrkslqbafdb\",\"pgzetuvfps\":\"datanqumj\",\"ks\":\"datajpmeptnqsnpa\"}}")
- .toObject(ActivityPolicy.class);
- Assertions.assertEquals(1056891956, model.retryIntervalInSeconds());
- Assertions.assertEquals(true, model.secureInput());
- Assertions.assertEquals(true, model.secureOutput());
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- ActivityPolicy model = new ActivityPolicy().withTimeout("datamlsuuhwuox")
- .withRetry("datai")
- .withRetryIntervalInSeconds(1056891956)
- .withSecureInput(true)
- .withSecureOutput(true)
- .withAdditionalProperties(mapOf());
- model = BinaryData.fromObject(model).toObject(ActivityPolicy.class);
- Assertions.assertEquals(1056891956, model.retryIntervalInSeconds());
- Assertions.assertEquals(true, model.secureInput());
- Assertions.assertEquals(true, model.secureOutput());
- }
-
- // Use "Map.of" if available
- @SuppressWarnings("unchecked")
- private static Map mapOf(Object... inputs) {
- Map map = new HashMap<>();
- for (int i = 0; i < inputs.length; i += 2) {
- String key = (String) inputs[i];
- T value = (T) inputs[i + 1];
- map.put(key, value);
- }
- return map;
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/ActivityRunTests.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/ActivityRunTests.java
deleted file mode 100644
index ffa137de53a0..000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/ActivityRunTests.java
+++ /dev/null
@@ -1,41 +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.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.datafactory.models.ActivityRun;
-import java.util.HashMap;
-import java.util.Map;
-
-public final class ActivityRunTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- ActivityRun model = BinaryData.fromString(
- "{\"pipelineName\":\"qhzvhxnkomt\",\"pipelineRunId\":\"bo\",\"activityName\":\"pnvdxz\",\"activityType\":\"ihfrbbcevqa\",\"activityRunId\":\"ltd\",\"linkedServiceName\":\"fkqojpy\",\"status\":\"gtrd\",\"activityRunStart\":\"2021-05-17T05:05:59Z\",\"activityRunEnd\":\"2021-08-15T02:13:51Z\",\"durationInMs\":2043504503,\"input\":\"datadymbrny\",\"output\":\"dataxmprafwg\",\"error\":\"datahocxvdfffwafqrou\",\"\":{\"kbunzoz\":\"datapavehhr\",\"cdyuibhmfdnbzyd\":\"datadhcxgkmoy\"}}")
- .toObject(ActivityRun.class);
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- ActivityRun model = new ActivityRun().withAdditionalProperties(
- mapOf("durationInMs", 2043504503, "linkedServiceName", "fkqojpy", "activityRunStart",
- "2021-05-17T05:05:59Z", "activityRunEnd", "2021-08-15T02:13:51Z", "activityName", "pnvdxz", "error",
- "datahocxvdfffwafqrou", "pipelineName", "qhzvhxnkomt", "output", "dataxmprafwg", "activityRunId", "ltd",
- "input", "datadymbrny", "pipelineRunId", "bo", "activityType", "ihfrbbcevqa", "status", "gtrd"));
- model = BinaryData.fromObject(model).toObject(ActivityRun.class);
- }
-
- // Use "Map.of" if available
- @SuppressWarnings("unchecked")
- private static Map mapOf(Object... inputs) {
- Map map = new HashMap<>();
- for (int i = 0; i < inputs.length; i += 2) {
- String key = (String) inputs[i];
- T value = (T) inputs[i + 1];
- map.put(key, value);
- }
- return map;
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/ActivityTests.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/ActivityTests.java
deleted file mode 100644
index a309e7809b31..000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/ActivityTests.java
+++ /dev/null
@@ -1,77 +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.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.datafactory.models.Activity;
-import com.azure.resourcemanager.datafactory.models.ActivityDependency;
-import com.azure.resourcemanager.datafactory.models.ActivityOnInactiveMarkAs;
-import com.azure.resourcemanager.datafactory.models.ActivityState;
-import com.azure.resourcemanager.datafactory.models.DependencyCondition;
-import com.azure.resourcemanager.datafactory.models.UserProperty;
-import java.util.Arrays;
-import java.util.HashMap;
-import java.util.Map;
-import org.junit.jupiter.api.Assertions;
-
-public final class ActivityTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- Activity model = BinaryData.fromString(
- "{\"type\":\"Activity\",\"name\":\"ljyxgtczhe\",\"description\":\"bsdshmkxmaehvbbx\",\"state\":\"Active\",\"onInactiveMarkAs\":\"Skipped\",\"dependsOn\":[{\"activity\":\"n\",\"dependencyConditions\":[\"Succeeded\",\"Failed\"],\"\":{\"wrck\":\"datagx\",\"gzibthostgktstv\":\"datayklyhpluodpvruud\"}},{\"activity\":\"xeclzedqbcvhzlhp\",\"dependencyConditions\":[\"Skipped\",\"Failed\",\"Succeeded\"],\"\":{\"smlmbtxhwgfwsrta\":\"datawwqfbumlkxtrqj\",\"dyg\":\"datacoezbrhubskh\",\"fqjbvleo\":\"dataookk\",\"qybaryeua\":\"datafmluiqtqzfavyvn\"}},{\"activity\":\"jkqa\",\"dependencyConditions\":[\"Completed\",\"Skipped\"],\"\":{\"tiewdj\":\"dataesjcbhern\",\"ehwagoh\":\"datavbquwr\"}}],\"userProperties\":[{\"name\":\"fkmr\",\"value\":\"dataemvvhm\"}],\"\":{\"coebjvewzcj\":\"datarjfut\"}}")
- .toObject(Activity.class);
- Assertions.assertEquals("ljyxgtczhe", model.name());
- Assertions.assertEquals("bsdshmkxmaehvbbx", model.description());
- Assertions.assertEquals(ActivityState.ACTIVE, model.state());
- Assertions.assertEquals(ActivityOnInactiveMarkAs.SKIPPED, model.onInactiveMarkAs());
- Assertions.assertEquals("n", model.dependsOn().get(0).activity());
- Assertions.assertEquals(DependencyCondition.SUCCEEDED, model.dependsOn().get(0).dependencyConditions().get(0));
- Assertions.assertEquals("fkmr", model.userProperties().get(0).name());
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- Activity model
- = new Activity().withName("ljyxgtczhe")
- .withDescription("bsdshmkxmaehvbbx")
- .withState(ActivityState.ACTIVE)
- .withOnInactiveMarkAs(ActivityOnInactiveMarkAs.SKIPPED)
- .withDependsOn(Arrays.asList(
- new ActivityDependency().withActivity("n")
- .withDependencyConditions(
- Arrays.asList(DependencyCondition.SUCCEEDED, DependencyCondition.FAILED))
- .withAdditionalProperties(mapOf()),
- new ActivityDependency().withActivity("xeclzedqbcvhzlhp")
- .withDependencyConditions(Arrays.asList(DependencyCondition.SKIPPED, DependencyCondition.FAILED,
- DependencyCondition.SUCCEEDED))
- .withAdditionalProperties(mapOf()),
- new ActivityDependency().withActivity("jkqa")
- .withDependencyConditions(
- Arrays.asList(DependencyCondition.COMPLETED, DependencyCondition.SKIPPED))
- .withAdditionalProperties(mapOf())))
- .withUserProperties(Arrays.asList(new UserProperty().withName("fkmr").withValue("dataemvvhm")))
- .withAdditionalProperties(mapOf("type", "Activity"));
- model = BinaryData.fromObject(model).toObject(Activity.class);
- Assertions.assertEquals("ljyxgtczhe", model.name());
- Assertions.assertEquals("bsdshmkxmaehvbbx", model.description());
- Assertions.assertEquals(ActivityState.ACTIVE, model.state());
- Assertions.assertEquals(ActivityOnInactiveMarkAs.SKIPPED, model.onInactiveMarkAs());
- Assertions.assertEquals("n", model.dependsOn().get(0).activity());
- Assertions.assertEquals(DependencyCondition.SUCCEEDED, model.dependsOn().get(0).dependencyConditions().get(0));
- Assertions.assertEquals("fkmr", model.userProperties().get(0).name());
- }
-
- // Use "Map.of" if available
- @SuppressWarnings("unchecked")
- private static Map mapOf(Object... inputs) {
- Map map = new HashMap<>();
- for (int i = 0; i < inputs.length; i += 2) {
- String key = (String) inputs[i];
- T value = (T) inputs[i + 1];
- map.put(key, value);
- }
- return map;
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AddDataFlowToDebugSessionResponseInnerTests.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AddDataFlowToDebugSessionResponseInnerTests.java
deleted file mode 100644
index 10ec7d9dc045..000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AddDataFlowToDebugSessionResponseInnerTests.java
+++ /dev/null
@@ -1,25 +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.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.datafactory.fluent.models.AddDataFlowToDebugSessionResponseInner;
-import org.junit.jupiter.api.Assertions;
-
-public final class AddDataFlowToDebugSessionResponseInnerTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- AddDataFlowToDebugSessionResponseInner model
- = BinaryData.fromString("{\"jobVersion\":\"l\"}").toObject(AddDataFlowToDebugSessionResponseInner.class);
- Assertions.assertEquals("l", model.jobVersion());
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- AddDataFlowToDebugSessionResponseInner model = new AddDataFlowToDebugSessionResponseInner().withJobVersion("l");
- model = BinaryData.fromObject(model).toObject(AddDataFlowToDebugSessionResponseInner.class);
- Assertions.assertEquals("l", model.jobVersion());
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AmazonMwsObjectDatasetTests.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AmazonMwsObjectDatasetTests.java
deleted file mode 100644
index 2713ab94eec3..000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AmazonMwsObjectDatasetTests.java
+++ /dev/null
@@ -1,62 +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.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.datafactory.models.AmazonMwsObjectDataset;
-import com.azure.resourcemanager.datafactory.models.DatasetFolder;
-import com.azure.resourcemanager.datafactory.models.LinkedServiceReference;
-import com.azure.resourcemanager.datafactory.models.ParameterSpecification;
-import com.azure.resourcemanager.datafactory.models.ParameterType;
-import java.util.Arrays;
-import java.util.HashMap;
-import java.util.Map;
-import org.junit.jupiter.api.Assertions;
-
-public final class AmazonMwsObjectDatasetTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- AmazonMwsObjectDataset model = BinaryData.fromString(
- "{\"type\":\"AmazonMWSObject\",\"typeProperties\":{\"tableName\":\"datasfqqhcmecagsbf\"},\"description\":\"irpnj\",\"structure\":\"datallfkchhgs\",\"schema\":\"datazzcajl\",\"linkedServiceName\":{\"referenceName\":\"mqcycabaamkkhd\",\"parameters\":{\"ws\":\"datakxdujkxpuqzdyoq\",\"ezxiz\":\"dataarpzhry\",\"azccouhwivkd\":\"datasyxbfjilb\"}},\"parameters\":{\"dqbvx\":{\"type\":\"SecureString\",\"defaultValue\":\"datanrbxzepirtvcpi\"}},\"annotations\":[\"datalpwbopvhcbt\"],\"folder\":{\"name\":\"rjxcon\"},\"\":{\"h\":\"datakfki\",\"gvuqzgbjwvrudmp\":\"dataeoc\",\"esgyzwph\":\"dataewpmioleaja\"}}")
- .toObject(AmazonMwsObjectDataset.class);
- Assertions.assertEquals("irpnj", model.description());
- Assertions.assertEquals("mqcycabaamkkhd", model.linkedServiceName().referenceName());
- Assertions.assertEquals(ParameterType.SECURE_STRING, model.parameters().get("dqbvx").type());
- Assertions.assertEquals("rjxcon", model.folder().name());
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- AmazonMwsObjectDataset model = new AmazonMwsObjectDataset().withDescription("irpnj")
- .withStructure("datallfkchhgs")
- .withSchema("datazzcajl")
- .withLinkedServiceName(new LinkedServiceReference().withReferenceName("mqcycabaamkkhd")
- .withParameters(
- mapOf("ws", "datakxdujkxpuqzdyoq", "ezxiz", "dataarpzhry", "azccouhwivkd", "datasyxbfjilb")))
- .withParameters(mapOf("dqbvx",
- new ParameterSpecification().withType(ParameterType.SECURE_STRING)
- .withDefaultValue("datanrbxzepirtvcpi")))
- .withAnnotations(Arrays.asList("datalpwbopvhcbt"))
- .withFolder(new DatasetFolder().withName("rjxcon"))
- .withTableName("datasfqqhcmecagsbf");
- model = BinaryData.fromObject(model).toObject(AmazonMwsObjectDataset.class);
- Assertions.assertEquals("irpnj", model.description());
- Assertions.assertEquals("mqcycabaamkkhd", model.linkedServiceName().referenceName());
- Assertions.assertEquals(ParameterType.SECURE_STRING, model.parameters().get("dqbvx").type());
- Assertions.assertEquals("rjxcon", model.folder().name());
- }
-
- // Use "Map.of" if available
- @SuppressWarnings("unchecked")
- private static Map mapOf(Object... inputs) {
- Map map = new HashMap<>();
- for (int i = 0; i < inputs.length; i += 2) {
- String key = (String) inputs[i];
- T value = (T) inputs[i + 1];
- map.put(key, value);
- }
- return map;
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AmazonMwsSourceTests.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AmazonMwsSourceTests.java
deleted file mode 100644
index 790b4414dfa9..000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AmazonMwsSourceTests.java
+++ /dev/null
@@ -1,29 +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.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.datafactory.models.AmazonMwsSource;
-
-public final class AmazonMwsSourceTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- AmazonMwsSource model = BinaryData.fromString(
- "{\"type\":\"AmazonMWSSource\",\"query\":\"datakujceeczhsdpfoa\",\"queryTimeout\":\"dataahuwxodddqz\",\"additionalColumns\":\"datarrytgsocqkdc\",\"sourceRetryCount\":\"datazqnaoxsgmpdcb\",\"sourceRetryWait\":\"datazautuaysxhfupvq\",\"maxConcurrentConnections\":\"dataqlafi\",\"disableMetricsCollection\":\"dataw\",\"\":{\"mgaifgy\":\"datapuyefhhd\",\"hxpcxqc\":\"datakgqwmp\",\"dhx\":\"datankxhc\"}}")
- .toObject(AmazonMwsSource.class);
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- AmazonMwsSource model = new AmazonMwsSource().withSourceRetryCount("datazqnaoxsgmpdcb")
- .withSourceRetryWait("datazautuaysxhfupvq")
- .withMaxConcurrentConnections("dataqlafi")
- .withDisableMetricsCollection("dataw")
- .withQueryTimeout("dataahuwxodddqz")
- .withAdditionalColumns("datarrytgsocqkdc")
- .withQuery("datakujceeczhsdpfoa");
- model = BinaryData.fromObject(model).toObject(AmazonMwsSource.class);
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AmazonRdsForOraclePartitionSettingsTests.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AmazonRdsForOraclePartitionSettingsTests.java
deleted file mode 100644
index 6c5a5822f5d9..000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AmazonRdsForOraclePartitionSettingsTests.java
+++ /dev/null
@@ -1,27 +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.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.datafactory.models.AmazonRdsForOraclePartitionSettings;
-
-public final class AmazonRdsForOraclePartitionSettingsTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- AmazonRdsForOraclePartitionSettings model = BinaryData.fromString(
- "{\"partitionNames\":\"datajnsp\",\"partitionColumnName\":\"dataqo\",\"partitionUpperBound\":\"datautqt\",\"partitionLowerBound\":\"dataivvnmavfzjwdwwnx\"}")
- .toObject(AmazonRdsForOraclePartitionSettings.class);
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- AmazonRdsForOraclePartitionSettings model
- = new AmazonRdsForOraclePartitionSettings().withPartitionNames("datajnsp")
- .withPartitionColumnName("dataqo")
- .withPartitionUpperBound("datautqt")
- .withPartitionLowerBound("dataivvnmavfzjwdwwnx");
- model = BinaryData.fromObject(model).toObject(AmazonRdsForOraclePartitionSettings.class);
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AmazonRdsForOracleSourceTests.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AmazonRdsForOracleSourceTests.java
deleted file mode 100644
index 99406d66d20c..000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AmazonRdsForOracleSourceTests.java
+++ /dev/null
@@ -1,35 +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.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.datafactory.models.AmazonRdsForOraclePartitionSettings;
-import com.azure.resourcemanager.datafactory.models.AmazonRdsForOracleSource;
-
-public final class AmazonRdsForOracleSourceTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- AmazonRdsForOracleSource model = BinaryData.fromString(
- "{\"type\":\"AmazonRdsForOracleSource\",\"oracleReaderQuery\":\"datav\",\"queryTimeout\":\"datai\",\"partitionOption\":\"datajhxxxuuqcmunhfa\",\"partitionSettings\":{\"partitionNames\":\"datanyvypu\",\"partitionColumnName\":\"dataxhowwe\",\"partitionUpperBound\":\"datayw\",\"partitionLowerBound\":\"datahiuwv\"},\"additionalColumns\":\"datagejytqnzrcbh\",\"sourceRetryCount\":\"datahctjvlwfnzgz\",\"sourceRetryWait\":\"datafyvytydrdcwbaiaq\",\"maxConcurrentConnections\":\"datauhsmuclx\",\"disableMetricsCollection\":\"dataedusu\",\"\":{\"ibrolqxloed\":\"datavykagsxhzhervv\",\"fsyq\":\"datazrvf\",\"owthvuepszzn\":\"datafgwuj\"}}")
- .toObject(AmazonRdsForOracleSource.class);
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- AmazonRdsForOracleSource model = new AmazonRdsForOracleSource().withSourceRetryCount("datahctjvlwfnzgz")
- .withSourceRetryWait("datafyvytydrdcwbaiaq")
- .withMaxConcurrentConnections("datauhsmuclx")
- .withDisableMetricsCollection("dataedusu")
- .withOracleReaderQuery("datav")
- .withQueryTimeout("datai")
- .withPartitionOption("datajhxxxuuqcmunhfa")
- .withPartitionSettings(new AmazonRdsForOraclePartitionSettings().withPartitionNames("datanyvypu")
- .withPartitionColumnName("dataxhowwe")
- .withPartitionUpperBound("datayw")
- .withPartitionLowerBound("datahiuwv"))
- .withAdditionalColumns("datagejytqnzrcbh");
- model = BinaryData.fromObject(model).toObject(AmazonRdsForOracleSource.class);
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AmazonRdsForOracleTableDatasetTests.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AmazonRdsForOracleTableDatasetTests.java
deleted file mode 100644
index 1106b6c3309f..000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AmazonRdsForOracleTableDatasetTests.java
+++ /dev/null
@@ -1,62 +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.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.datafactory.models.AmazonRdsForOracleTableDataset;
-import com.azure.resourcemanager.datafactory.models.DatasetFolder;
-import com.azure.resourcemanager.datafactory.models.LinkedServiceReference;
-import com.azure.resourcemanager.datafactory.models.ParameterSpecification;
-import com.azure.resourcemanager.datafactory.models.ParameterType;
-import java.util.Arrays;
-import java.util.HashMap;
-import java.util.Map;
-import org.junit.jupiter.api.Assertions;
-
-public final class AmazonRdsForOracleTableDatasetTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- AmazonRdsForOracleTableDataset model = BinaryData.fromString(
- "{\"type\":\"AmazonRdsForOracleTable\",\"typeProperties\":{\"schema\":\"datankfrwxo\",\"table\":\"dataydsn\"},\"description\":\"pchiypbfhmih\",\"structure\":\"datatqozewbrsrjzgkbr\",\"schema\":\"dataxboufqnnqbjx\",\"linkedServiceName\":{\"referenceName\":\"jwsreruk\",\"parameters\":{\"wkjxlaaced\":\"datadrizw\",\"lssybzbev\":\"datakq\"}},\"parameters\":{\"jy\":{\"type\":\"Int\",\"defaultValue\":\"datammkiqhypwtmzy\"},\"i\":{\"type\":\"String\",\"defaultValue\":\"datamzqlnaag\"}},\"annotations\":[\"datafqiywhxpsb\",\"datapialezay\"],\"folder\":{\"name\":\"zudegefxlieg\"},\"\":{\"zkah\":\"dataosmhssfnw\",\"cufthdgwuzrono\":\"dataecknfm\",\"odcikgxk\":\"datavhzfkdnwy\"}}")
- .toObject(AmazonRdsForOracleTableDataset.class);
- Assertions.assertEquals("pchiypbfhmih", model.description());
- Assertions.assertEquals("jwsreruk", model.linkedServiceName().referenceName());
- Assertions.assertEquals(ParameterType.INT, model.parameters().get("jy").type());
- Assertions.assertEquals("zudegefxlieg", model.folder().name());
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- AmazonRdsForOracleTableDataset model = new AmazonRdsForOracleTableDataset().withDescription("pchiypbfhmih")
- .withStructure("datatqozewbrsrjzgkbr")
- .withSchema("dataxboufqnnqbjx")
- .withLinkedServiceName(new LinkedServiceReference().withReferenceName("jwsreruk")
- .withParameters(mapOf("wkjxlaaced", "datadrizw", "lssybzbev", "datakq")))
- .withParameters(mapOf("jy",
- new ParameterSpecification().withType(ParameterType.INT).withDefaultValue("datammkiqhypwtmzy"), "i",
- new ParameterSpecification().withType(ParameterType.STRING).withDefaultValue("datamzqlnaag")))
- .withAnnotations(Arrays.asList("datafqiywhxpsb", "datapialezay"))
- .withFolder(new DatasetFolder().withName("zudegefxlieg"))
- .withSchemaTypePropertiesSchema("datankfrwxo")
- .withTable("dataydsn");
- model = BinaryData.fromObject(model).toObject(AmazonRdsForOracleTableDataset.class);
- Assertions.assertEquals("pchiypbfhmih", model.description());
- Assertions.assertEquals("jwsreruk", model.linkedServiceName().referenceName());
- Assertions.assertEquals(ParameterType.INT, model.parameters().get("jy").type());
- Assertions.assertEquals("zudegefxlieg", model.folder().name());
- }
-
- // Use "Map.of" if available
- @SuppressWarnings("unchecked")
- private static Map mapOf(Object... inputs) {
- Map map = new HashMap<>();
- for (int i = 0; i < inputs.length; i += 2) {
- String key = (String) inputs[i];
- T value = (T) inputs[i + 1];
- map.put(key, value);
- }
- return map;
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AmazonRdsForOracleTableDatasetTypePropertiesTests.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AmazonRdsForOracleTableDatasetTypePropertiesTests.java
deleted file mode 100644
index 091bf4046708..000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AmazonRdsForOracleTableDatasetTypePropertiesTests.java
+++ /dev/null
@@ -1,24 +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.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.datafactory.fluent.models.AmazonRdsForOracleTableDatasetTypeProperties;
-
-public final class AmazonRdsForOracleTableDatasetTypePropertiesTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- AmazonRdsForOracleTableDatasetTypeProperties model
- = BinaryData.fromString("{\"schema\":\"datazfzdjekeb\",\"table\":\"datanxzsjwy\"}")
- .toObject(AmazonRdsForOracleTableDatasetTypeProperties.class);
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- AmazonRdsForOracleTableDatasetTypeProperties model
- = new AmazonRdsForOracleTableDatasetTypeProperties().withSchema("datazfzdjekeb").withTable("datanxzsjwy");
- model = BinaryData.fromObject(model).toObject(AmazonRdsForOracleTableDatasetTypeProperties.class);
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AmazonRdsForSqlServerSourceTests.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AmazonRdsForSqlServerSourceTests.java
deleted file mode 100644
index f4a9bb725ce2..000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AmazonRdsForSqlServerSourceTests.java
+++ /dev/null
@@ -1,38 +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.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.datafactory.models.AmazonRdsForSqlServerSource;
-import com.azure.resourcemanager.datafactory.models.SqlPartitionSettings;
-
-public final class AmazonRdsForSqlServerSourceTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- AmazonRdsForSqlServerSource model = BinaryData.fromString(
- "{\"type\":\"AmazonRdsForSqlServerSource\",\"sqlReaderQuery\":\"dataqfaxtl\",\"sqlReaderStoredProcedureName\":\"datayzcgugslpvy\",\"storedProcedureParameters\":\"datafuhfa\",\"isolationLevel\":\"dataibvslocdkp\",\"produceAdditionalTypes\":\"datakq\",\"partitionOption\":\"datahdxnzjza\",\"partitionSettings\":{\"partitionColumnName\":\"dataiz\",\"partitionUpperBound\":\"datamibwzuhyda\",\"partitionLowerBound\":\"datakgwtbfxxsfj\"},\"queryTimeout\":\"dataascjighmkdsv\",\"additionalColumns\":\"datayhtiyxeh\",\"sourceRetryCount\":\"dataizoybtehky\",\"sourceRetryWait\":\"datanmmyznw\",\"maxConcurrentConnections\":\"datafqwkqulkzovqohwi\",\"disableMetricsCollection\":\"datarqxjxlsso\",\"\":{\"nsjjjcddsv\":\"datanyp\",\"jhpmajg\":\"datadbfniqxbc\",\"jwjhmtca\":\"datazpdioddtjylimz\"}}")
- .toObject(AmazonRdsForSqlServerSource.class);
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- AmazonRdsForSqlServerSource model = new AmazonRdsForSqlServerSource().withSourceRetryCount("dataizoybtehky")
- .withSourceRetryWait("datanmmyznw")
- .withMaxConcurrentConnections("datafqwkqulkzovqohwi")
- .withDisableMetricsCollection("datarqxjxlsso")
- .withQueryTimeout("dataascjighmkdsv")
- .withAdditionalColumns("datayhtiyxeh")
- .withSqlReaderQuery("dataqfaxtl")
- .withSqlReaderStoredProcedureName("datayzcgugslpvy")
- .withStoredProcedureParameters("datafuhfa")
- .withIsolationLevel("dataibvslocdkp")
- .withProduceAdditionalTypes("datakq")
- .withPartitionOption("datahdxnzjza")
- .withPartitionSettings(new SqlPartitionSettings().withPartitionColumnName("dataiz")
- .withPartitionUpperBound("datamibwzuhyda")
- .withPartitionLowerBound("datakgwtbfxxsfj"));
- model = BinaryData.fromObject(model).toObject(AmazonRdsForSqlServerSource.class);
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AmazonRdsForSqlServerTableDatasetTests.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AmazonRdsForSqlServerTableDatasetTests.java
deleted file mode 100644
index f1e33c5ff0c2..000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AmazonRdsForSqlServerTableDatasetTests.java
+++ /dev/null
@@ -1,67 +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.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.datafactory.models.AmazonRdsForSqlServerTableDataset;
-import com.azure.resourcemanager.datafactory.models.DatasetFolder;
-import com.azure.resourcemanager.datafactory.models.LinkedServiceReference;
-import com.azure.resourcemanager.datafactory.models.ParameterSpecification;
-import com.azure.resourcemanager.datafactory.models.ParameterType;
-import java.util.Arrays;
-import java.util.HashMap;
-import java.util.Map;
-import org.junit.jupiter.api.Assertions;
-
-public final class AmazonRdsForSqlServerTableDatasetTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- AmazonRdsForSqlServerTableDataset model = BinaryData.fromString(
- "{\"type\":\"AmazonRdsForSqlServerTable\",\"typeProperties\":{\"schema\":\"datawvxcimp\",\"table\":\"datajrmplzmsl\"},\"description\":\"nkn\",\"structure\":\"datauysjhvrr\",\"schema\":\"datafswarmybw\",\"linkedServiceName\":{\"referenceName\":\"rotgeysyq\",\"parameters\":{\"xia\":\"dataehfwwcbf\"}},\"parameters\":{\"yzguaxfhvjixg\":{\"type\":\"String\",\"defaultValue\":\"datacfjisosfzlnraxn\"},\"xdoicqpkntly\":{\"type\":\"SecureString\",\"defaultValue\":\"datadqwsjmihuvrqp\"},\"nsbmzjritukoym\":{\"type\":\"Int\",\"defaultValue\":\"datap\"},\"ndu\":{\"type\":\"Int\",\"defaultValue\":\"dataexmizzjxwjoqfzw\"}},\"annotations\":[\"dataw\",\"datavolxtqmricdsflzb\"],\"folder\":{\"name\":\"mjfgoxedrmra\"},\"\":{\"uzsoowxcsm\":\"datachvvoyiogbntnwz\",\"bsp\":\"datatlcappnvc\"}}")
- .toObject(AmazonRdsForSqlServerTableDataset.class);
- Assertions.assertEquals("nkn", model.description());
- Assertions.assertEquals("rotgeysyq", model.linkedServiceName().referenceName());
- Assertions.assertEquals(ParameterType.STRING, model.parameters().get("yzguaxfhvjixg").type());
- Assertions.assertEquals("mjfgoxedrmra", model.folder().name());
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- AmazonRdsForSqlServerTableDataset model = new AmazonRdsForSqlServerTableDataset().withDescription("nkn")
- .withStructure("datauysjhvrr")
- .withSchema("datafswarmybw")
- .withLinkedServiceName(new LinkedServiceReference().withReferenceName("rotgeysyq")
- .withParameters(mapOf("xia", "dataehfwwcbf")))
- .withParameters(mapOf("yzguaxfhvjixg",
- new ParameterSpecification().withType(ParameterType.STRING).withDefaultValue("datacfjisosfzlnraxn"),
- "xdoicqpkntly",
- new ParameterSpecification().withType(ParameterType.SECURE_STRING)
- .withDefaultValue("datadqwsjmihuvrqp"),
- "nsbmzjritukoym", new ParameterSpecification().withType(ParameterType.INT).withDefaultValue("datap"),
- "ndu",
- new ParameterSpecification().withType(ParameterType.INT).withDefaultValue("dataexmizzjxwjoqfzw")))
- .withAnnotations(Arrays.asList("dataw", "datavolxtqmricdsflzb"))
- .withFolder(new DatasetFolder().withName("mjfgoxedrmra"))
- .withSchemaTypePropertiesSchema("datawvxcimp")
- .withTable("datajrmplzmsl");
- model = BinaryData.fromObject(model).toObject(AmazonRdsForSqlServerTableDataset.class);
- Assertions.assertEquals("nkn", model.description());
- Assertions.assertEquals("rotgeysyq", model.linkedServiceName().referenceName());
- Assertions.assertEquals(ParameterType.STRING, model.parameters().get("yzguaxfhvjixg").type());
- Assertions.assertEquals("mjfgoxedrmra", model.folder().name());
- }
-
- // Use "Map.of" if available
- @SuppressWarnings("unchecked")
- private static Map mapOf(Object... inputs) {
- Map map = new HashMap<>();
- for (int i = 0; i < inputs.length; i += 2) {
- String key = (String) inputs[i];
- T value = (T) inputs[i + 1];
- map.put(key, value);
- }
- return map;
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AmazonRdsForSqlServerTableDatasetTypePropertiesTests.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AmazonRdsForSqlServerTableDatasetTypePropertiesTests.java
deleted file mode 100644
index 8150d1f9e37d..000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AmazonRdsForSqlServerTableDatasetTypePropertiesTests.java
+++ /dev/null
@@ -1,25 +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.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.datafactory.fluent.models.AmazonRdsForSqlServerTableDatasetTypeProperties;
-
-public final class AmazonRdsForSqlServerTableDatasetTypePropertiesTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- AmazonRdsForSqlServerTableDatasetTypeProperties model
- = BinaryData.fromString("{\"schema\":\"dataryomhkdwuwe\",\"table\":\"datapbkmzkwhjjs\"}")
- .toObject(AmazonRdsForSqlServerTableDatasetTypeProperties.class);
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- AmazonRdsForSqlServerTableDatasetTypeProperties model
- = new AmazonRdsForSqlServerTableDatasetTypeProperties().withSchema("dataryomhkdwuwe")
- .withTable("datapbkmzkwhjjs");
- model = BinaryData.fromObject(model).toObject(AmazonRdsForSqlServerTableDatasetTypeProperties.class);
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AmazonRedshiftSourceTests.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AmazonRedshiftSourceTests.java
deleted file mode 100644
index 706de4dfa11b..000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AmazonRedshiftSourceTests.java
+++ /dev/null
@@ -1,55 +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.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.datafactory.models.AmazonRedshiftSource;
-import com.azure.resourcemanager.datafactory.models.LinkedServiceReference;
-import com.azure.resourcemanager.datafactory.models.RedshiftUnloadSettings;
-import java.util.HashMap;
-import java.util.Map;
-import org.junit.jupiter.api.Assertions;
-
-public final class AmazonRedshiftSourceTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- AmazonRedshiftSource model = BinaryData.fromString(
- "{\"type\":\"AmazonRedshiftSource\",\"query\":\"datatgmxkol\",\"redshiftUnloadSettings\":{\"s3LinkedServiceName\":{\"referenceName\":\"nqjcmkpxbckjrfkw\",\"parameters\":{\"zatqocvrdj\":\"datamyowddhtwaxob\",\"cyvymv\":\"datavsclwpsteuvjdnh\",\"omohcynorh\":\"datalaehitxoib\",\"f\":\"databvbqxtktkeuapomo\"}},\"bucketName\":\"datanbhptraljcqp\"},\"queryTimeout\":\"datamathiydmkyvsxc\",\"additionalColumns\":\"datavghajpddgfoznmf\",\"sourceRetryCount\":\"datapjoesozcuhun\",\"sourceRetryWait\":\"datazbmwptdr\",\"maxConcurrentConnections\":\"datauyknoiumuxn\",\"disableMetricsCollection\":\"dataivgmck\",\"\":{\"oj\":\"dataxzsmpoiutaatvpb\",\"kekmgpseassdqpw\":\"datacgjogmvo\",\"pwxcjciotlbp\":\"datapxwdosfgbvsozjf\"}}")
- .toObject(AmazonRedshiftSource.class);
- Assertions.assertEquals("nqjcmkpxbckjrfkw",
- model.redshiftUnloadSettings().s3LinkedServiceName().referenceName());
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- AmazonRedshiftSource model = new AmazonRedshiftSource().withSourceRetryCount("datapjoesozcuhun")
- .withSourceRetryWait("datazbmwptdr")
- .withMaxConcurrentConnections("datauyknoiumuxn")
- .withDisableMetricsCollection("dataivgmck")
- .withQueryTimeout("datamathiydmkyvsxc")
- .withAdditionalColumns("datavghajpddgfoznmf")
- .withQuery("datatgmxkol")
- .withRedshiftUnloadSettings(new RedshiftUnloadSettings()
- .withS3LinkedServiceName(new LinkedServiceReference().withReferenceName("nqjcmkpxbckjrfkw")
- .withParameters(mapOf("zatqocvrdj", "datamyowddhtwaxob", "cyvymv", "datavsclwpsteuvjdnh",
- "omohcynorh", "datalaehitxoib", "f", "databvbqxtktkeuapomo")))
- .withBucketName("datanbhptraljcqp"));
- model = BinaryData.fromObject(model).toObject(AmazonRedshiftSource.class);
- Assertions.assertEquals("nqjcmkpxbckjrfkw",
- model.redshiftUnloadSettings().s3LinkedServiceName().referenceName());
- }
-
- // Use "Map.of" if available
- @SuppressWarnings("unchecked")
- private static Map mapOf(Object... inputs) {
- Map map = new HashMap<>();
- for (int i = 0; i < inputs.length; i += 2) {
- String key = (String) inputs[i];
- T value = (T) inputs[i + 1];
- map.put(key, value);
- }
- return map;
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AmazonRedshiftTableDatasetTests.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AmazonRedshiftTableDatasetTests.java
deleted file mode 100644
index 38ab8aba78ec..000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AmazonRedshiftTableDatasetTests.java
+++ /dev/null
@@ -1,66 +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.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.datafactory.models.AmazonRedshiftTableDataset;
-import com.azure.resourcemanager.datafactory.models.DatasetFolder;
-import com.azure.resourcemanager.datafactory.models.LinkedServiceReference;
-import com.azure.resourcemanager.datafactory.models.ParameterSpecification;
-import com.azure.resourcemanager.datafactory.models.ParameterType;
-import java.util.Arrays;
-import java.util.HashMap;
-import java.util.Map;
-import org.junit.jupiter.api.Assertions;
-
-public final class AmazonRedshiftTableDatasetTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- AmazonRedshiftTableDataset model = BinaryData.fromString(
- "{\"type\":\"AmazonRedshiftTable\",\"typeProperties\":{\"tableName\":\"datargyzcslazp\",\"table\":\"dataqoyimxp\",\"schema\":\"dataktteagbga\"},\"description\":\"qpjuytvude\",\"structure\":\"datapbybkisboif\",\"schema\":\"dataglpwdjr\",\"linkedServiceName\":{\"referenceName\":\"urfshzn\",\"parameters\":{\"txfrm\":\"datatuhaaaxxdcdjmdk\",\"ehxuihwes\":\"dataecxstowa\"}},\"parameters\":{\"tevspsaneyvaerp\":{\"type\":\"String\",\"defaultValue\":\"datagblkkncyp\"},\"kjwqdmraqnilp\":{\"type\":\"String\",\"defaultValue\":\"datanhrfbrj\"},\"lrfdjwlzseod\":{\"type\":\"Bool\",\"defaultValue\":\"dataaigazwf\"}},\"annotations\":[\"datadr\",\"datal\",\"dataymqxserwy\"],\"folder\":{\"name\":\"ytjwgetfigw\"},\"\":{\"ebjrahgdstubwg\":\"datajxzi\",\"mdoiiyobqzwjal\":\"dataxzsshxliqmsckwh\"}}")
- .toObject(AmazonRedshiftTableDataset.class);
- Assertions.assertEquals("qpjuytvude", model.description());
- Assertions.assertEquals("urfshzn", model.linkedServiceName().referenceName());
- Assertions.assertEquals(ParameterType.STRING, model.parameters().get("tevspsaneyvaerp").type());
- Assertions.assertEquals("ytjwgetfigw", model.folder().name());
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- AmazonRedshiftTableDataset model = new AmazonRedshiftTableDataset().withDescription("qpjuytvude")
- .withStructure("datapbybkisboif")
- .withSchema("dataglpwdjr")
- .withLinkedServiceName(new LinkedServiceReference().withReferenceName("urfshzn")
- .withParameters(mapOf("txfrm", "datatuhaaaxxdcdjmdk", "ehxuihwes", "dataecxstowa")))
- .withParameters(mapOf("tevspsaneyvaerp",
- new ParameterSpecification().withType(ParameterType.STRING).withDefaultValue("datagblkkncyp"),
- "kjwqdmraqnilp",
- new ParameterSpecification().withType(ParameterType.STRING).withDefaultValue("datanhrfbrj"),
- "lrfdjwlzseod",
- new ParameterSpecification().withType(ParameterType.BOOL).withDefaultValue("dataaigazwf")))
- .withAnnotations(Arrays.asList("datadr", "datal", "dataymqxserwy"))
- .withFolder(new DatasetFolder().withName("ytjwgetfigw"))
- .withTableName("datargyzcslazp")
- .withTable("dataqoyimxp")
- .withSchemaTypePropertiesSchema("dataktteagbga");
- model = BinaryData.fromObject(model).toObject(AmazonRedshiftTableDataset.class);
- Assertions.assertEquals("qpjuytvude", model.description());
- Assertions.assertEquals("urfshzn", model.linkedServiceName().referenceName());
- Assertions.assertEquals(ParameterType.STRING, model.parameters().get("tevspsaneyvaerp").type());
- Assertions.assertEquals("ytjwgetfigw", model.folder().name());
- }
-
- // Use "Map.of" if available
- @SuppressWarnings("unchecked")
- private static Map mapOf(Object... inputs) {
- Map map = new HashMap<>();
- for (int i = 0; i < inputs.length; i += 2) {
- String key = (String) inputs[i];
- T value = (T) inputs[i + 1];
- map.put(key, value);
- }
- return map;
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AmazonRedshiftTableDatasetTypePropertiesTests.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AmazonRedshiftTableDatasetTypePropertiesTests.java
deleted file mode 100644
index 3d914429733e..000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AmazonRedshiftTableDatasetTypePropertiesTests.java
+++ /dev/null
@@ -1,26 +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.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.datafactory.fluent.models.AmazonRedshiftTableDatasetTypeProperties;
-
-public final class AmazonRedshiftTableDatasetTypePropertiesTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- AmazonRedshiftTableDatasetTypeProperties model = BinaryData
- .fromString("{\"tableName\":\"datasofxc\",\"table\":\"datarmvjfmrsuyd\",\"schema\":\"dataprel\"}")
- .toObject(AmazonRedshiftTableDatasetTypeProperties.class);
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- AmazonRedshiftTableDatasetTypeProperties model
- = new AmazonRedshiftTableDatasetTypeProperties().withTableName("datasofxc")
- .withTable("datarmvjfmrsuyd")
- .withSchema("dataprel");
- model = BinaryData.fromObject(model).toObject(AmazonRedshiftTableDatasetTypeProperties.class);
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AmazonS3CompatibleLocationTests.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AmazonS3CompatibleLocationTests.java
deleted file mode 100644
index ece1b5b75bfc..000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AmazonS3CompatibleLocationTests.java
+++ /dev/null
@@ -1,26 +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.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.datafactory.models.AmazonS3CompatibleLocation;
-
-public final class AmazonS3CompatibleLocationTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- AmazonS3CompatibleLocation model = BinaryData.fromString(
- "{\"type\":\"AmazonS3CompatibleLocation\",\"bucketName\":\"datagcozzomehxlant\",\"version\":\"dataamlbiju\",\"folderPath\":\"dataqllczipvwdtgckz\",\"fileName\":\"dataiqdlratrkw\",\"\":{\"lhpryjfzihuio\":\"datauwxsuykznhrfgsl\",\"pajtfeyvkbd\":\"dataeo\",\"rhd\":\"datadd\",\"uzy\":\"datacxbeuuqutkzwtjww\"}}")
- .toObject(AmazonS3CompatibleLocation.class);
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- AmazonS3CompatibleLocation model = new AmazonS3CompatibleLocation().withFolderPath("dataqllczipvwdtgckz")
- .withFileName("dataiqdlratrkw")
- .withBucketName("datagcozzomehxlant")
- .withVersion("dataamlbiju");
- model = BinaryData.fromObject(model).toObject(AmazonS3CompatibleLocation.class);
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AmazonS3CompatibleReadSettingsTests.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AmazonS3CompatibleReadSettingsTests.java
deleted file mode 100644
index 50fa3e6c1867..000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AmazonS3CompatibleReadSettingsTests.java
+++ /dev/null
@@ -1,35 +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.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.datafactory.models.AmazonS3CompatibleReadSettings;
-
-public final class AmazonS3CompatibleReadSettingsTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- AmazonS3CompatibleReadSettings model = BinaryData.fromString(
- "{\"type\":\"AmazonS3CompatibleReadSettings\",\"recursive\":\"datayglfyfcsbkjhoxtb\",\"wildcardFolderPath\":\"databpef\",\"wildcardFileName\":\"datapnixdgqjkfvmrn\",\"prefix\":\"dataeajyifeiiriomjd\",\"fileListPath\":\"datanbtlxrdepqt\",\"enablePartitionDiscovery\":\"datahkpko\",\"partitionRootPath\":\"datavfno\",\"deleteFilesAfterCompletion\":\"datawhutvcdtgxsyfuh\",\"modifiedDatetimeStart\":\"datamzxpsrlbppjqcwc\",\"modifiedDatetimeEnd\":\"dataaosk\",\"maxConcurrentConnections\":\"dataalljsoasxjjklm\",\"disableMetricsCollection\":\"datagrosxfdxrc\",\"\":{\"zlreiwdskiegta\":\"databbhluvdceouevno\",\"ptaasqolxaodb\":\"datanal\",\"mihggvyhqwyxb\":\"datagxbadborq\"}}")
- .toObject(AmazonS3CompatibleReadSettings.class);
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- AmazonS3CompatibleReadSettings model
- = new AmazonS3CompatibleReadSettings().withMaxConcurrentConnections("dataalljsoasxjjklm")
- .withDisableMetricsCollection("datagrosxfdxrc")
- .withRecursive("datayglfyfcsbkjhoxtb")
- .withWildcardFolderPath("databpef")
- .withWildcardFileName("datapnixdgqjkfvmrn")
- .withPrefix("dataeajyifeiiriomjd")
- .withFileListPath("datanbtlxrdepqt")
- .withEnablePartitionDiscovery("datahkpko")
- .withPartitionRootPath("datavfno")
- .withDeleteFilesAfterCompletion("datawhutvcdtgxsyfuh")
- .withModifiedDatetimeStart("datamzxpsrlbppjqcwc")
- .withModifiedDatetimeEnd("dataaosk");
- model = BinaryData.fromObject(model).toObject(AmazonS3CompatibleReadSettings.class);
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AmazonS3LocationTests.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AmazonS3LocationTests.java
deleted file mode 100644
index 634d1ff52e97..000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AmazonS3LocationTests.java
+++ /dev/null
@@ -1,26 +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.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.datafactory.models.AmazonS3Location;
-
-public final class AmazonS3LocationTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- AmazonS3Location model = BinaryData.fromString(
- "{\"type\":\"AmazonS3Location\",\"bucketName\":\"dataaxmfmvsmcwoxfa\",\"version\":\"datatnq\",\"folderPath\":\"databsat\",\"fileName\":\"dataiauesugmocpcjy\",\"\":{\"ini\":\"dataelrgttwfldsiuo\",\"zqv\":\"datacedpksriwmmtmqrx\",\"xiqahr\":\"datayczyayubtgm\"}}")
- .toObject(AmazonS3Location.class);
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- AmazonS3Location model = new AmazonS3Location().withFolderPath("databsat")
- .withFileName("dataiauesugmocpcjy")
- .withBucketName("dataaxmfmvsmcwoxfa")
- .withVersion("datatnq");
- model = BinaryData.fromObject(model).toObject(AmazonS3Location.class);
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AmazonS3ReadSettingsTests.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AmazonS3ReadSettingsTests.java
deleted file mode 100644
index 056628ec9919..000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AmazonS3ReadSettingsTests.java
+++ /dev/null
@@ -1,34 +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.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.datafactory.models.AmazonS3ReadSettings;
-
-public final class AmazonS3ReadSettingsTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- AmazonS3ReadSettings model = BinaryData.fromString(
- "{\"type\":\"AmazonS3ReadSettings\",\"recursive\":\"dataziztgddahymv\",\"wildcardFolderPath\":\"datajtdhmig\",\"wildcardFileName\":\"dataaoexgienylsijqyg\",\"prefix\":\"datashd\",\"fileListPath\":\"datahxv\",\"enablePartitionDiscovery\":\"datafdsafgkysymhuxs\",\"partitionRootPath\":\"datallbpegcetezaa\",\"deleteFilesAfterCompletion\":\"dataszrbttz\",\"modifiedDatetimeStart\":\"dataeyrw\",\"modifiedDatetimeEnd\":\"datafgoyxxszpaiecurf\",\"maxConcurrentConnections\":\"datafshfmgiixurve\",\"disableMetricsCollection\":\"datahsmulvmy\",\"\":{\"mufipygtmoycpotm\":\"datafkpuuuxiuwhcycke\",\"ngtbhvhsqvubww\":\"dataos\"}}")
- .toObject(AmazonS3ReadSettings.class);
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- AmazonS3ReadSettings model = new AmazonS3ReadSettings().withMaxConcurrentConnections("datafshfmgiixurve")
- .withDisableMetricsCollection("datahsmulvmy")
- .withRecursive("dataziztgddahymv")
- .withWildcardFolderPath("datajtdhmig")
- .withWildcardFileName("dataaoexgienylsijqyg")
- .withPrefix("datashd")
- .withFileListPath("datahxv")
- .withEnablePartitionDiscovery("datafdsafgkysymhuxs")
- .withPartitionRootPath("datallbpegcetezaa")
- .withDeleteFilesAfterCompletion("dataszrbttz")
- .withModifiedDatetimeStart("dataeyrw")
- .withModifiedDatetimeEnd("datafgoyxxszpaiecurf");
- model = BinaryData.fromObject(model).toObject(AmazonS3ReadSettings.class);
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AppendVariableActivityTests.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AppendVariableActivityTests.java
deleted file mode 100644
index 9703d260d086..000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AppendVariableActivityTests.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.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.datafactory.models.ActivityDependency;
-import com.azure.resourcemanager.datafactory.models.ActivityOnInactiveMarkAs;
-import com.azure.resourcemanager.datafactory.models.ActivityState;
-import com.azure.resourcemanager.datafactory.models.AppendVariableActivity;
-import com.azure.resourcemanager.datafactory.models.DependencyCondition;
-import com.azure.resourcemanager.datafactory.models.UserProperty;
-import java.util.Arrays;
-import java.util.HashMap;
-import java.util.Map;
-import org.junit.jupiter.api.Assertions;
-
-public final class AppendVariableActivityTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- AppendVariableActivity model = BinaryData.fromString(
- "{\"type\":\"AppendVariable\",\"typeProperties\":{\"variableName\":\"q\",\"value\":\"dataf\"},\"name\":\"gntrynfoaoeuztps\",\"description\":\"hdqcrigygtodp\",\"state\":\"Active\",\"onInactiveMarkAs\":\"Failed\",\"dependsOn\":[{\"activity\":\"bybrvkxrcfzsz\",\"dependencyConditions\":[\"Succeeded\",\"Completed\"],\"\":{\"uuzftd\":\"dataucvq\",\"vxtz\":\"dataktmsphcrn\",\"pigsulejukack\":\"dataspykcreu\"}},{\"activity\":\"crdrdkexcyw\",\"dependencyConditions\":[\"Skipped\",\"Succeeded\",\"Completed\",\"Succeeded\"],\"\":{\"rsajtdzpel\":\"datajllypchqhc\",\"gczxicqyvwzxqmve\":\"dataktkimm\",\"mrqdgyttfzoz\":\"datatnro\"}}],\"userProperties\":[{\"name\":\"njjimfcgbdup\",\"value\":\"datalwlhuuezxcpxwq\"}],\"\":{\"foosiplhygpsahu\":\"dataqueqeabe\",\"geym\":\"datammshfh\",\"lpnrjswr\":\"datapvgatzr\"}}")
- .toObject(AppendVariableActivity.class);
- Assertions.assertEquals("gntrynfoaoeuztps", model.name());
- Assertions.assertEquals("hdqcrigygtodp", model.description());
- Assertions.assertEquals(ActivityState.ACTIVE, model.state());
- Assertions.assertEquals(ActivityOnInactiveMarkAs.FAILED, model.onInactiveMarkAs());
- Assertions.assertEquals("bybrvkxrcfzsz", model.dependsOn().get(0).activity());
- Assertions.assertEquals(DependencyCondition.SUCCEEDED, model.dependsOn().get(0).dependencyConditions().get(0));
- Assertions.assertEquals("njjimfcgbdup", model.userProperties().get(0).name());
- Assertions.assertEquals("q", model.variableName());
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- AppendVariableActivity model = new AppendVariableActivity().withName("gntrynfoaoeuztps")
- .withDescription("hdqcrigygtodp")
- .withState(ActivityState.ACTIVE)
- .withOnInactiveMarkAs(ActivityOnInactiveMarkAs.FAILED)
- .withDependsOn(Arrays.asList(
- new ActivityDependency().withActivity("bybrvkxrcfzsz")
- .withDependencyConditions(
- Arrays.asList(DependencyCondition.SUCCEEDED, DependencyCondition.COMPLETED))
- .withAdditionalProperties(mapOf()),
- new ActivityDependency().withActivity("crdrdkexcyw")
- .withDependencyConditions(Arrays.asList(DependencyCondition.SKIPPED, DependencyCondition.SUCCEEDED,
- DependencyCondition.COMPLETED, DependencyCondition.SUCCEEDED))
- .withAdditionalProperties(mapOf())))
- .withUserProperties(
- Arrays.asList(new UserProperty().withName("njjimfcgbdup").withValue("datalwlhuuezxcpxwq")))
- .withVariableName("q")
- .withValue("dataf");
- model = BinaryData.fromObject(model).toObject(AppendVariableActivity.class);
- Assertions.assertEquals("gntrynfoaoeuztps", model.name());
- Assertions.assertEquals("hdqcrigygtodp", model.description());
- Assertions.assertEquals(ActivityState.ACTIVE, model.state());
- Assertions.assertEquals(ActivityOnInactiveMarkAs.FAILED, model.onInactiveMarkAs());
- Assertions.assertEquals("bybrvkxrcfzsz", model.dependsOn().get(0).activity());
- Assertions.assertEquals(DependencyCondition.SUCCEEDED, model.dependsOn().get(0).dependencyConditions().get(0));
- Assertions.assertEquals("njjimfcgbdup", model.userProperties().get(0).name());
- Assertions.assertEquals("q", model.variableName());
- }
-
- // Use "Map.of" if available
- @SuppressWarnings("unchecked")
- private static Map mapOf(Object... inputs) {
- Map map = new HashMap<>();
- for (int i = 0; i < inputs.length; i += 2) {
- String key = (String) inputs[i];
- T value = (T) inputs[i + 1];
- map.put(key, value);
- }
- return map;
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AppendVariableActivityTypePropertiesTests.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AppendVariableActivityTypePropertiesTests.java
deleted file mode 100644
index 82279312dd8d..000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AppendVariableActivityTypePropertiesTests.java
+++ /dev/null
@@ -1,27 +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.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.datafactory.fluent.models.AppendVariableActivityTypeProperties;
-import org.junit.jupiter.api.Assertions;
-
-public final class AppendVariableActivityTypePropertiesTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- AppendVariableActivityTypeProperties model
- = BinaryData.fromString("{\"variableName\":\"xrecwdle\",\"value\":\"datamuqmzxrjvh\"}")
- .toObject(AppendVariableActivityTypeProperties.class);
- Assertions.assertEquals("xrecwdle", model.variableName());
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- AppendVariableActivityTypeProperties model
- = new AppendVariableActivityTypeProperties().withVariableName("xrecwdle").withValue("datamuqmzxrjvh");
- model = BinaryData.fromObject(model).toObject(AppendVariableActivityTypeProperties.class);
- Assertions.assertEquals("xrecwdle", model.variableName());
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/ArmIdWrapperTests.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/ArmIdWrapperTests.java
deleted file mode 100644
index 07c0368f7336..000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/ArmIdWrapperTests.java
+++ /dev/null
@@ -1,21 +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.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.datafactory.models.ArmIdWrapper;
-
-public final class ArmIdWrapperTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- ArmIdWrapper model = BinaryData.fromString("{\"id\":\"lbyrru\"}").toObject(ArmIdWrapper.class);
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- ArmIdWrapper model = new ArmIdWrapper();
- model = BinaryData.fromObject(model).toObject(ArmIdWrapper.class);
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AvroFormatTests.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AvroFormatTests.java
deleted file mode 100644
index c023936dac7b..000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AvroFormatTests.java
+++ /dev/null
@@ -1,23 +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.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.datafactory.models.AvroFormat;
-
-public final class AvroFormatTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- AvroFormat model = BinaryData.fromString(
- "{\"type\":\"AvroFormat\",\"serializer\":\"datafcwrri\",\"deserializer\":\"dataxeezwyhjmbjiqe\",\"\":{\"ohcwhpyv\":\"datadb\",\"z\":\"datakgdet\"}}")
- .toObject(AvroFormat.class);
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- AvroFormat model = new AvroFormat().withSerializer("datafcwrri").withDeserializer("dataxeezwyhjmbjiqe");
- model = BinaryData.fromObject(model).toObject(AvroFormat.class);
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AvroSinkTests.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AvroSinkTests.java
deleted file mode 100644
index d882d719055d..000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AvroSinkTests.java
+++ /dev/null
@@ -1,60 +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.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.datafactory.models.AvroSink;
-import com.azure.resourcemanager.datafactory.models.AvroWriteSettings;
-import com.azure.resourcemanager.datafactory.models.MetadataItem;
-import com.azure.resourcemanager.datafactory.models.StoreWriteSettings;
-import java.util.Arrays;
-import java.util.HashMap;
-import java.util.Map;
-import org.junit.jupiter.api.Assertions;
-
-public final class AvroSinkTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- AvroSink model = BinaryData.fromString(
- "{\"type\":\"AvroSink\",\"storeSettings\":{\"type\":\"StoreWriteSettings\",\"maxConcurrentConnections\":\"datafsol\",\"disableMetricsCollection\":\"dataquulnhxrcjs\",\"copyBehavior\":\"datacvrmwbg\",\"metadata\":[{\"name\":\"dataqbxp\",\"value\":\"datapgsr\"}],\"\":{\"gspboaevtxibroo\":\"datak\"}},\"formatSettings\":{\"type\":\"AvroWriteSettings\",\"recordName\":\"jiqwxwpub\",\"recordNamespace\":\"qnprbvruhdjzivl\",\"maxRowsPerFile\":\"datai\",\"fileNamePrefix\":\"dataqnqmbf\",\"\":{\"kkzulmqx\":\"dataixmksxxbdtjvvngn\",\"nwij\":\"dataic\",\"er\":\"dataeyxt\",\"ytten\":\"datattobosjxb\"}},\"writeBatchSize\":\"dataditumyycvtya\",\"writeBatchTimeout\":\"datayimhspjqhi\",\"sinkRetryCount\":\"datablqvwhjgtbh\",\"sinkRetryWait\":\"dataoutq\",\"maxConcurrentConnections\":\"datapbtqibq\",\"disableMetricsCollection\":\"dataugcwzgdfdrdxo\",\"\":{\"lxoljbpoeoyw\":\"datagezulnntpbarejxj\",\"rx\":\"datakhhavwhrivvzrccy\",\"bbxanev\":\"datasypwudeea\",\"ju\":\"dataq\"}}")
- .toObject(AvroSink.class);
- Assertions.assertEquals("jiqwxwpub", model.formatSettings().recordName());
- Assertions.assertEquals("qnprbvruhdjzivl", model.formatSettings().recordNamespace());
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- AvroSink model = new AvroSink().withWriteBatchSize("dataditumyycvtya")
- .withWriteBatchTimeout("datayimhspjqhi")
- .withSinkRetryCount("datablqvwhjgtbh")
- .withSinkRetryWait("dataoutq")
- .withMaxConcurrentConnections("datapbtqibq")
- .withDisableMetricsCollection("dataugcwzgdfdrdxo")
- .withStoreSettings(new StoreWriteSettings().withMaxConcurrentConnections("datafsol")
- .withDisableMetricsCollection("dataquulnhxrcjs")
- .withCopyBehavior("datacvrmwbg")
- .withMetadata(Arrays.asList(new MetadataItem().withName("dataqbxp").withValue("datapgsr")))
- .withAdditionalProperties(mapOf("type", "StoreWriteSettings")))
- .withFormatSettings(new AvroWriteSettings().withRecordName("jiqwxwpub")
- .withRecordNamespace("qnprbvruhdjzivl")
- .withMaxRowsPerFile("datai")
- .withFileNamePrefix("dataqnqmbf"));
- model = BinaryData.fromObject(model).toObject(AvroSink.class);
- Assertions.assertEquals("jiqwxwpub", model.formatSettings().recordName());
- Assertions.assertEquals("qnprbvruhdjzivl", model.formatSettings().recordNamespace());
- }
-
- // Use "Map.of" if available
- @SuppressWarnings("unchecked")
- private static Map mapOf(Object... inputs) {
- Map map = new HashMap<>();
- for (int i = 0; i < inputs.length; i += 2) {
- String key = (String) inputs[i];
- T value = (T) inputs[i + 1];
- map.put(key, value);
- }
- return map;
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AvroSourceTests.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AvroSourceTests.java
deleted file mode 100644
index dcff4cc0ded3..000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AvroSourceTests.java
+++ /dev/null
@@ -1,45 +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.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.datafactory.models.AvroSource;
-import com.azure.resourcemanager.datafactory.models.StoreReadSettings;
-import java.util.HashMap;
-import java.util.Map;
-
-public final class AvroSourceTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- AvroSource model = BinaryData.fromString(
- "{\"type\":\"AvroSource\",\"storeSettings\":{\"type\":\"StoreReadSettings\",\"maxConcurrentConnections\":\"datayylekubiwv\",\"disableMetricsCollection\":\"datazzny\",\"\":{\"isloquttkbzwgju\":\"datawxpwjv\",\"jttnurkmerqzap\":\"datajbdqmnkiajqsshup\",\"jwdlduvimgtce\":\"datawomevqvv\"}},\"additionalColumns\":\"datamxoxtapaf\",\"sourceRetryCount\":\"datavbkjtgzkcptav\",\"sourceRetryWait\":\"datapydnujgblski\",\"maxConcurrentConnections\":\"datarvpuacajxdr\",\"disableMetricsCollection\":\"datapuxpzslm\",\"\":{\"fge\":\"datapzrycchqz\",\"ch\":\"datadzgszjhekbmd\",\"vwysbme\":\"dataojsrhgpitye\",\"bznl\":\"dataf\"}}")
- .toObject(AvroSource.class);
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- AvroSource model = new AvroSource().withSourceRetryCount("datavbkjtgzkcptav")
- .withSourceRetryWait("datapydnujgblski")
- .withMaxConcurrentConnections("datarvpuacajxdr")
- .withDisableMetricsCollection("datapuxpzslm")
- .withStoreSettings(new StoreReadSettings().withMaxConcurrentConnections("datayylekubiwv")
- .withDisableMetricsCollection("datazzny")
- .withAdditionalProperties(mapOf("type", "StoreReadSettings")))
- .withAdditionalColumns("datamxoxtapaf");
- model = BinaryData.fromObject(model).toObject(AvroSource.class);
- }
-
- // Use "Map.of" if available
- @SuppressWarnings("unchecked")
- private static Map mapOf(Object... inputs) {
- Map map = new HashMap<>();
- for (int i = 0; i < inputs.length; i += 2) {
- String key = (String) inputs[i];
- T value = (T) inputs[i + 1];
- map.put(key, value);
- }
- return map;
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AvroWriteSettingsTests.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AvroWriteSettingsTests.java
deleted file mode 100644
index 30cb3fadffdf..000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AvroWriteSettingsTests.java
+++ /dev/null
@@ -1,31 +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.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.datafactory.models.AvroWriteSettings;
-import org.junit.jupiter.api.Assertions;
-
-public final class AvroWriteSettingsTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- AvroWriteSettings model = BinaryData.fromString(
- "{\"type\":\"AvroWriteSettings\",\"recordName\":\"ieeoc\",\"recordNamespace\":\"rvsfzgcsco\",\"maxRowsPerFile\":\"datafsgilwisqxzpz\",\"fileNamePrefix\":\"dataustrtrfvogk\",\"\":{\"irbrvz\":\"datashmpcjqtuz\"}}")
- .toObject(AvroWriteSettings.class);
- Assertions.assertEquals("ieeoc", model.recordName());
- Assertions.assertEquals("rvsfzgcsco", model.recordNamespace());
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- AvroWriteSettings model = new AvroWriteSettings().withRecordName("ieeoc")
- .withRecordNamespace("rvsfzgcsco")
- .withMaxRowsPerFile("datafsgilwisqxzpz")
- .withFileNamePrefix("dataustrtrfvogk");
- model = BinaryData.fromObject(model).toObject(AvroWriteSettings.class);
- Assertions.assertEquals("ieeoc", model.recordName());
- Assertions.assertEquals("rvsfzgcsco", model.recordNamespace());
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzPowerShellSetupTests.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzPowerShellSetupTests.java
deleted file mode 100644
index 6e95a4524fed..000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzPowerShellSetupTests.java
+++ /dev/null
@@ -1,26 +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.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.datafactory.models.AzPowerShellSetup;
-import org.junit.jupiter.api.Assertions;
-
-public final class AzPowerShellSetupTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- AzPowerShellSetup model = BinaryData
- .fromString("{\"type\":\"AzPowerShellSetup\",\"typeProperties\":{\"version\":\"gjjioqwuuogdkp\"}}")
- .toObject(AzPowerShellSetup.class);
- Assertions.assertEquals("gjjioqwuuogdkp", model.version());
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- AzPowerShellSetup model = new AzPowerShellSetup().withVersion("gjjioqwuuogdkp");
- model = BinaryData.fromObject(model).toObject(AzPowerShellSetup.class);
- Assertions.assertEquals("gjjioqwuuogdkp", model.version());
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzPowerShellSetupTypePropertiesTests.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzPowerShellSetupTypePropertiesTests.java
deleted file mode 100644
index adf568b00b97..000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzPowerShellSetupTypePropertiesTests.java
+++ /dev/null
@@ -1,25 +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.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.datafactory.fluent.models.AzPowerShellSetupTypeProperties;
-import org.junit.jupiter.api.Assertions;
-
-public final class AzPowerShellSetupTypePropertiesTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- AzPowerShellSetupTypeProperties model
- = BinaryData.fromString("{\"version\":\"mwr\"}").toObject(AzPowerShellSetupTypeProperties.class);
- Assertions.assertEquals("mwr", model.version());
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- AzPowerShellSetupTypeProperties model = new AzPowerShellSetupTypeProperties().withVersion("mwr");
- model = BinaryData.fromObject(model).toObject(AzPowerShellSetupTypeProperties.class);
- Assertions.assertEquals("mwr", model.version());
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureBlobDatasetTests.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureBlobDatasetTests.java
deleted file mode 100644
index 706eb466c964..000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureBlobDatasetTests.java
+++ /dev/null
@@ -1,71 +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.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.datafactory.models.AzureBlobDataset;
-import com.azure.resourcemanager.datafactory.models.DatasetCompression;
-import com.azure.resourcemanager.datafactory.models.DatasetFolder;
-import com.azure.resourcemanager.datafactory.models.DatasetStorageFormat;
-import com.azure.resourcemanager.datafactory.models.LinkedServiceReference;
-import com.azure.resourcemanager.datafactory.models.ParameterSpecification;
-import com.azure.resourcemanager.datafactory.models.ParameterType;
-import java.util.Arrays;
-import java.util.HashMap;
-import java.util.Map;
-import org.junit.jupiter.api.Assertions;
-
-public final class AzureBlobDatasetTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- AzureBlobDataset model = BinaryData.fromString(
- "{\"type\":\"AzureBlob\",\"typeProperties\":{\"folderPath\":\"datal\",\"tableRootLocation\":\"datavig\",\"fileName\":\"dataghfrbzakpjtcq\",\"modifiedDatetimeStart\":\"dataqpojpsucmximc\",\"modifiedDatetimeEnd\":\"dataxyn\",\"format\":{\"type\":\"DatasetStorageFormat\",\"serializer\":\"datasatkyvscb\",\"deserializer\":\"datagcru\",\"\":{\"bjolpyoklkv\":\"dataircpgcvsvkk\"}},\"compression\":{\"type\":\"datanadvhml\",\"level\":\"dataoi\",\"\":{\"mqwtqszzgy\":\"dataxxbhtpsyioq\",\"gjqcrbkompnbnfg\":\"datasikawanvmwd\"}}},\"description\":\"e\",\"structure\":\"databepgcmahiwfry\",\"schema\":\"datakchkapit\",\"linkedServiceName\":{\"referenceName\":\"kshfy\",\"parameters\":{\"nfd\":\"dataibjepzwhj\"}},\"parameters\":{\"vwehsu\":{\"type\":\"Object\",\"defaultValue\":\"datajxzhbl\"}},\"annotations\":[\"dataymbh\",\"dataosmbngkqlgxz\",\"datauvxdmxexatmd\"],\"folder\":{\"name\":\"senxoirxyd\"},\"\":{\"xznntwgkvyohp\":\"dataploisjkzs\",\"wytb\":\"dataapzupz\",\"mxpqkjnpyriwn\":\"datajzghximkg\",\"xmmqmt\":\"dataot\"}}")
- .toObject(AzureBlobDataset.class);
- Assertions.assertEquals("e", model.description());
- Assertions.assertEquals("kshfy", model.linkedServiceName().referenceName());
- Assertions.assertEquals(ParameterType.OBJECT, model.parameters().get("vwehsu").type());
- Assertions.assertEquals("senxoirxyd", model.folder().name());
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- AzureBlobDataset model = new AzureBlobDataset().withDescription("e")
- .withStructure("databepgcmahiwfry")
- .withSchema("datakchkapit")
- .withLinkedServiceName(
- new LinkedServiceReference().withReferenceName("kshfy").withParameters(mapOf("nfd", "dataibjepzwhj")))
- .withParameters(mapOf("vwehsu",
- new ParameterSpecification().withType(ParameterType.OBJECT).withDefaultValue("datajxzhbl")))
- .withAnnotations(Arrays.asList("dataymbh", "dataosmbngkqlgxz", "datauvxdmxexatmd"))
- .withFolder(new DatasetFolder().withName("senxoirxyd"))
- .withFolderPath("datal")
- .withTableRootLocation("datavig")
- .withFileName("dataghfrbzakpjtcq")
- .withModifiedDatetimeStart("dataqpojpsucmximc")
- .withModifiedDatetimeEnd("dataxyn")
- .withFormat(new DatasetStorageFormat().withSerializer("datasatkyvscb")
- .withDeserializer("datagcru")
- .withAdditionalProperties(mapOf("type", "DatasetStorageFormat")))
- .withCompression(
- new DatasetCompression().withType("datanadvhml").withLevel("dataoi").withAdditionalProperties(mapOf()));
- model = BinaryData.fromObject(model).toObject(AzureBlobDataset.class);
- Assertions.assertEquals("e", model.description());
- Assertions.assertEquals("kshfy", model.linkedServiceName().referenceName());
- Assertions.assertEquals(ParameterType.OBJECT, model.parameters().get("vwehsu").type());
- Assertions.assertEquals("senxoirxyd", model.folder().name());
- }
-
- // Use "Map.of" if available
- @SuppressWarnings("unchecked")
- private static Map mapOf(Object... inputs) {
- Map map = new HashMap<>();
- for (int i = 0; i < inputs.length; i += 2) {
- String key = (String) inputs[i];
- T value = (T) inputs[i + 1];
- map.put(key, value);
- }
- return map;
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureBlobDatasetTypePropertiesTests.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureBlobDatasetTypePropertiesTests.java
deleted file mode 100644
index c9f5d0a0272f..000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureBlobDatasetTypePropertiesTests.java
+++ /dev/null
@@ -1,49 +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.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.datafactory.fluent.models.AzureBlobDatasetTypeProperties;
-import com.azure.resourcemanager.datafactory.models.DatasetCompression;
-import com.azure.resourcemanager.datafactory.models.DatasetStorageFormat;
-import java.util.HashMap;
-import java.util.Map;
-
-public final class AzureBlobDatasetTypePropertiesTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- AzureBlobDatasetTypeProperties model = BinaryData.fromString(
- "{\"folderPath\":\"dataky\",\"tableRootLocation\":\"dataexwdonbexf\",\"fileName\":\"datadaubheeggzgr\",\"modifiedDatetimeStart\":\"datatlfozuumrtgjqgac\",\"modifiedDatetimeEnd\":\"datatnsyxzxjm\",\"format\":{\"type\":\"DatasetStorageFormat\",\"serializer\":\"databc\",\"deserializer\":\"datazofmexvtemaspm\",\"\":{\"hntofe\":\"datadscdkxwdpwjcbha\",\"fixoskk\":\"datafh\",\"zzmrgtxdhmfpp\":\"datadfivsujybsr\"}},\"compression\":{\"type\":\"datamgikesmkwt\",\"level\":\"datafragjhxerx\",\"\":{\"vmmnii\":\"datakdbtq\",\"bggicnqwlctmw\":\"datayholhjns\"}}}")
- .toObject(AzureBlobDatasetTypeProperties.class);
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- AzureBlobDatasetTypeProperties model = new AzureBlobDatasetTypeProperties().withFolderPath("dataky")
- .withTableRootLocation("dataexwdonbexf")
- .withFileName("datadaubheeggzgr")
- .withModifiedDatetimeStart("datatlfozuumrtgjqgac")
- .withModifiedDatetimeEnd("datatnsyxzxjm")
- .withFormat(new DatasetStorageFormat().withSerializer("databc")
- .withDeserializer("datazofmexvtemaspm")
- .withAdditionalProperties(mapOf("type", "DatasetStorageFormat")))
- .withCompression(new DatasetCompression().withType("datamgikesmkwt")
- .withLevel("datafragjhxerx")
- .withAdditionalProperties(mapOf()));
- model = BinaryData.fromObject(model).toObject(AzureBlobDatasetTypeProperties.class);
- }
-
- // Use "Map.of" if available
- @SuppressWarnings("unchecked")
- private static Map mapOf(Object... inputs) {
- Map map = new HashMap<>();
- for (int i = 0; i < inputs.length; i += 2) {
- String key = (String) inputs[i];
- T value = (T) inputs[i + 1];
- map.put(key, value);
- }
- return map;
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureBlobFSDatasetTests.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureBlobFSDatasetTests.java
deleted file mode 100644
index 3dc9b211d64c..000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureBlobFSDatasetTests.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.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.datafactory.models.AzureBlobFSDataset;
-import com.azure.resourcemanager.datafactory.models.DatasetCompression;
-import com.azure.resourcemanager.datafactory.models.DatasetFolder;
-import com.azure.resourcemanager.datafactory.models.DatasetStorageFormat;
-import com.azure.resourcemanager.datafactory.models.LinkedServiceReference;
-import com.azure.resourcemanager.datafactory.models.ParameterSpecification;
-import com.azure.resourcemanager.datafactory.models.ParameterType;
-import java.util.Arrays;
-import java.util.HashMap;
-import java.util.Map;
-import org.junit.jupiter.api.Assertions;
-
-public final class AzureBlobFSDatasetTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- AzureBlobFSDataset model = BinaryData.fromString(
- "{\"type\":\"AzureBlobFSFile\",\"typeProperties\":{\"folderPath\":\"datakkvxu\",\"fileName\":\"dataqzbvbpsuvqhxt\",\"format\":{\"type\":\"DatasetStorageFormat\",\"serializer\":\"datagdkwbkurklpiigfu\",\"deserializer\":\"dataeutuipjclz\",\"\":{\"ydewuwxyll\":\"dataqdz\",\"k\":\"datazzevtzqwczochwb\",\"kyvnhiysdhork\":\"datauynf\",\"qki\":\"datalhr\"}},\"compression\":{\"type\":\"datawkffla\",\"level\":\"datamwqoguflteatnege\",\"\":{\"hnvxwtd\":\"dataxnjtqbgysib\",\"kxunsaujqgbb\":\"datatcbjdbtqy\",\"hgjsmbcsloy\":\"datavovoa\"}}},\"description\":\"abdgdheronsd\",\"structure\":\"datarkzvz\",\"schema\":\"datatqhgz\",\"linkedServiceName\":{\"referenceName\":\"yxtrvfdbqsk\",\"parameters\":{\"ptpvsffavdhpiw\":\"databvi\",\"bwxyldqtmggcpd\":\"datamuwkgjwbyfdw\",\"zctwymzsk\":\"datamegaj\"}},\"parameters\":{\"gliupqscoob\":{\"type\":\"Object\",\"defaultValue\":\"dataeseip\"},\"incev\":{\"type\":\"Object\",\"defaultValue\":\"datacaxsqcomjiq\"},\"duvtvod\":{\"type\":\"Int\",\"defaultValue\":\"datadevpximziizmeq\"},\"hm\":{\"type\":\"SecureString\",\"defaultValue\":\"datap\"}},\"annotations\":[\"datab\",\"datablmcvrjaznotdof\",\"datavpbqsdqkpsbqs\",\"databmitaftazgcxsvq\"],\"folder\":{\"name\":\"ufylamxowbg\"},\"\":{\"xiknsgofuns\":\"datayutehlkarvtipquk\",\"xn\":\"datahpcekggvmfnnb\"}}")
- .toObject(AzureBlobFSDataset.class);
- Assertions.assertEquals("abdgdheronsd", model.description());
- Assertions.assertEquals("yxtrvfdbqsk", model.linkedServiceName().referenceName());
- Assertions.assertEquals(ParameterType.OBJECT, model.parameters().get("gliupqscoob").type());
- Assertions.assertEquals("ufylamxowbg", model.folder().name());
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- AzureBlobFSDataset model
- = new AzureBlobFSDataset().withDescription("abdgdheronsd")
- .withStructure("datarkzvz")
- .withSchema("datatqhgz")
- .withLinkedServiceName(new LinkedServiceReference().withReferenceName("yxtrvfdbqsk")
- .withParameters(mapOf("ptpvsffavdhpiw", "databvi", "bwxyldqtmggcpd", "datamuwkgjwbyfdw",
- "zctwymzsk", "datamegaj")))
- .withParameters(mapOf("gliupqscoob",
- new ParameterSpecification().withType(ParameterType.OBJECT).withDefaultValue("dataeseip"), "incev",
- new ParameterSpecification().withType(ParameterType.OBJECT).withDefaultValue("datacaxsqcomjiq"),
- "duvtvod",
- new ParameterSpecification().withType(ParameterType.INT).withDefaultValue("datadevpximziizmeq"),
- "hm", new ParameterSpecification().withType(ParameterType.SECURE_STRING).withDefaultValue("datap")))
- .withAnnotations(
- Arrays.asList("datab", "datablmcvrjaznotdof", "datavpbqsdqkpsbqs", "databmitaftazgcxsvq"))
- .withFolder(new DatasetFolder().withName("ufylamxowbg"))
- .withFolderPath("datakkvxu")
- .withFileName("dataqzbvbpsuvqhxt")
- .withFormat(new DatasetStorageFormat().withSerializer("datagdkwbkurklpiigfu")
- .withDeserializer("dataeutuipjclz")
- .withAdditionalProperties(mapOf("type", "DatasetStorageFormat")))
- .withCompression(new DatasetCompression().withType("datawkffla")
- .withLevel("datamwqoguflteatnege")
- .withAdditionalProperties(mapOf()));
- model = BinaryData.fromObject(model).toObject(AzureBlobFSDataset.class);
- Assertions.assertEquals("abdgdheronsd", model.description());
- Assertions.assertEquals("yxtrvfdbqsk", model.linkedServiceName().referenceName());
- Assertions.assertEquals(ParameterType.OBJECT, model.parameters().get("gliupqscoob").type());
- Assertions.assertEquals("ufylamxowbg", model.folder().name());
- }
-
- // Use "Map.of" if available
- @SuppressWarnings("unchecked")
- private static Map mapOf(Object... inputs) {
- Map map = new HashMap<>();
- for (int i = 0; i < inputs.length; i += 2) {
- String key = (String) inputs[i];
- T value = (T) inputs[i + 1];
- map.put(key, value);
- }
- return map;
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureBlobFSDatasetTypePropertiesTests.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureBlobFSDatasetTypePropertiesTests.java
deleted file mode 100644
index eba36702c156..000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureBlobFSDatasetTypePropertiesTests.java
+++ /dev/null
@@ -1,46 +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.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.datafactory.fluent.models.AzureBlobFSDatasetTypeProperties;
-import com.azure.resourcemanager.datafactory.models.DatasetCompression;
-import com.azure.resourcemanager.datafactory.models.DatasetStorageFormat;
-import java.util.HashMap;
-import java.util.Map;
-
-public final class AzureBlobFSDatasetTypePropertiesTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- AzureBlobFSDatasetTypeProperties model = BinaryData.fromString(
- "{\"folderPath\":\"datafkk\",\"fileName\":\"dataeetxtpwcv\",\"format\":{\"type\":\"DatasetStorageFormat\",\"serializer\":\"datawsunjzijaciwmmpd\",\"deserializer\":\"datadonb\",\"\":{\"wsyuifkzqqhbtflo\":\"datanfzyviiwsuanz\",\"eoiipjpngvyvu\":\"datalmkf\",\"ryclo\":\"dataikdlpsxntugfwimq\",\"jeleifqhdxt\":\"datafmvswx\"}},\"compression\":{\"type\":\"dataulkrybpaev\",\"level\":\"databyjecrq\",\"\":{\"uibsd\":\"datakkchsfoulborc\",\"lp\":\"databdy\"}}}")
- .toObject(AzureBlobFSDatasetTypeProperties.class);
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- AzureBlobFSDatasetTypeProperties model = new AzureBlobFSDatasetTypeProperties().withFolderPath("datafkk")
- .withFileName("dataeetxtpwcv")
- .withFormat(new DatasetStorageFormat().withSerializer("datawsunjzijaciwmmpd")
- .withDeserializer("datadonb")
- .withAdditionalProperties(mapOf("type", "DatasetStorageFormat")))
- .withCompression(new DatasetCompression().withType("dataulkrybpaev")
- .withLevel("databyjecrq")
- .withAdditionalProperties(mapOf()));
- model = BinaryData.fromObject(model).toObject(AzureBlobFSDatasetTypeProperties.class);
- }
-
- // Use "Map.of" if available
- @SuppressWarnings("unchecked")
- private static Map mapOf(Object... inputs) {
- Map map = new HashMap<>();
- for (int i = 0; i < inputs.length; i += 2) {
- String key = (String) inputs[i];
- T value = (T) inputs[i + 1];
- map.put(key, value);
- }
- return map;
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureBlobFSLocationTests.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureBlobFSLocationTests.java
deleted file mode 100644
index ba13d1fc2fc4..000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureBlobFSLocationTests.java
+++ /dev/null
@@ -1,25 +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.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.datafactory.models.AzureBlobFSLocation;
-
-public final class AzureBlobFSLocationTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- AzureBlobFSLocation model = BinaryData.fromString(
- "{\"type\":\"AzureBlobFSLocation\",\"fileSystem\":\"dataqqyeqfcb\",\"folderPath\":\"datalpyuflqjf\",\"fileName\":\"datatujcyoh\",\"\":{\"nmbzmecuy\":\"datamwdcsklkqnqvki\",\"rietvfp\":\"datazwimbzayspz\",\"gtpvdva\":\"datamdzxp\",\"kkzovlzdm\":\"datalzmgschnzrs\"}}")
- .toObject(AzureBlobFSLocation.class);
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- AzureBlobFSLocation model = new AzureBlobFSLocation().withFolderPath("datalpyuflqjf")
- .withFileName("datatujcyoh")
- .withFileSystem("dataqqyeqfcb");
- model = BinaryData.fromObject(model).toObject(AzureBlobFSLocation.class);
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureBlobFSReadSettingsTests.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureBlobFSReadSettingsTests.java
deleted file mode 100644
index f9efd3744977..000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureBlobFSReadSettingsTests.java
+++ /dev/null
@@ -1,33 +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.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.datafactory.models.AzureBlobFSReadSettings;
-
-public final class AzureBlobFSReadSettingsTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- AzureBlobFSReadSettings model = BinaryData.fromString(
- "{\"type\":\"AzureBlobFSReadSettings\",\"recursive\":\"dataejkvcimq\",\"wildcardFolderPath\":\"datad\",\"wildcardFileName\":\"datahhwtgcgefayc\",\"fileListPath\":\"datagotbjnxozi\",\"enablePartitionDiscovery\":\"dataxnpov\",\"partitionRootPath\":\"dataxl\",\"deleteFilesAfterCompletion\":\"datamsgdisupnxth\",\"modifiedDatetimeStart\":\"datazdvokxuyhhrdi\",\"modifiedDatetimeEnd\":\"databqeahgsibldxyaq\",\"maxConcurrentConnections\":\"dataaznz\",\"disableMetricsCollection\":\"datazfhh\",\"\":{\"ihn\":\"dataxkgnryalkfdxa\",\"dwyehqnxuffgjyn\":\"datardh\"}}")
- .toObject(AzureBlobFSReadSettings.class);
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- AzureBlobFSReadSettings model = new AzureBlobFSReadSettings().withMaxConcurrentConnections("dataaznz")
- .withDisableMetricsCollection("datazfhh")
- .withRecursive("dataejkvcimq")
- .withWildcardFolderPath("datad")
- .withWildcardFileName("datahhwtgcgefayc")
- .withFileListPath("datagotbjnxozi")
- .withEnablePartitionDiscovery("dataxnpov")
- .withPartitionRootPath("dataxl")
- .withDeleteFilesAfterCompletion("datamsgdisupnxth")
- .withModifiedDatetimeStart("datazdvokxuyhhrdi")
- .withModifiedDatetimeEnd("databqeahgsibldxyaq");
- model = BinaryData.fromObject(model).toObject(AzureBlobFSReadSettings.class);
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureBlobFSSinkTests.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureBlobFSSinkTests.java
deleted file mode 100644
index 5c2e67fa162c..000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureBlobFSSinkTests.java
+++ /dev/null
@@ -1,35 +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.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.datafactory.models.AzureBlobFSSink;
-import com.azure.resourcemanager.datafactory.models.MetadataItem;
-import java.util.Arrays;
-
-public final class AzureBlobFSSinkTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- AzureBlobFSSink model = BinaryData.fromString(
- "{\"type\":\"AzureBlobFSSink\",\"copyBehavior\":\"datazmrlprbclj\",\"metadata\":[{\"name\":\"dataawnz\",\"value\":\"datafvefskjbasmrdpb\"},{\"name\":\"dataqusv\",\"value\":\"datagfzbykap\"},{\"name\":\"dataomc\",\"value\":\"datam\"},{\"name\":\"datadtg\",\"value\":\"datayubnwymyewbfoxw\"}],\"writeBatchSize\":\"dataetj\",\"writeBatchTimeout\":\"datajbahx\",\"sinkRetryCount\":\"dataddpbt\",\"sinkRetryWait\":\"datardj\",\"maxConcurrentConnections\":\"datacrmptjsixawipj\",\"disableMetricsCollection\":\"datacyxnza\",\"\":{\"dvapoh\":\"datavbkhgdzrc\"}}")
- .toObject(AzureBlobFSSink.class);
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- AzureBlobFSSink model = new AzureBlobFSSink().withWriteBatchSize("dataetj")
- .withWriteBatchTimeout("datajbahx")
- .withSinkRetryCount("dataddpbt")
- .withSinkRetryWait("datardj")
- .withMaxConcurrentConnections("datacrmptjsixawipj")
- .withDisableMetricsCollection("datacyxnza")
- .withCopyBehavior("datazmrlprbclj")
- .withMetadata(Arrays.asList(new MetadataItem().withName("dataawnz").withValue("datafvefskjbasmrdpb"),
- new MetadataItem().withName("dataqusv").withValue("datagfzbykap"),
- new MetadataItem().withName("dataomc").withValue("datam"),
- new MetadataItem().withName("datadtg").withValue("datayubnwymyewbfoxw")));
- model = BinaryData.fromObject(model).toObject(AzureBlobFSSink.class);
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureBlobFSSourceTests.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureBlobFSSourceTests.java
deleted file mode 100644
index 09bd1339c126..000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureBlobFSSourceTests.java
+++ /dev/null
@@ -1,29 +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.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.datafactory.models.AzureBlobFSSource;
-
-public final class AzureBlobFSSourceTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- AzureBlobFSSource model = BinaryData.fromString(
- "{\"type\":\"AzureBlobFSSource\",\"treatEmptyAsNull\":\"databtuujcuavctxyrm\",\"skipHeaderLineCount\":\"datahrzmy\",\"recursive\":\"datan\",\"sourceRetryCount\":\"dataajxv\",\"sourceRetryWait\":\"dataidlwmewrgu\",\"maxConcurrentConnections\":\"dataugpkunvygupgnnvm\",\"disableMetricsCollection\":\"datazqmxwwmekms\",\"\":{\"x\":\"datajbefszfrxfywjy\",\"mykgrtwh\":\"dataqmdeecdhyjsizyhp\",\"hismw\":\"dataa\"}}")
- .toObject(AzureBlobFSSource.class);
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- AzureBlobFSSource model = new AzureBlobFSSource().withSourceRetryCount("dataajxv")
- .withSourceRetryWait("dataidlwmewrgu")
- .withMaxConcurrentConnections("dataugpkunvygupgnnvm")
- .withDisableMetricsCollection("datazqmxwwmekms")
- .withTreatEmptyAsNull("databtuujcuavctxyrm")
- .withSkipHeaderLineCount("datahrzmy")
- .withRecursive("datan");
- model = BinaryData.fromObject(model).toObject(AzureBlobFSSource.class);
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureBlobFSWriteSettingsTests.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureBlobFSWriteSettingsTests.java
deleted file mode 100644
index 1bae2739bc90..000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureBlobFSWriteSettingsTests.java
+++ /dev/null
@@ -1,30 +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.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.datafactory.models.AzureBlobFSWriteSettings;
-import com.azure.resourcemanager.datafactory.models.MetadataItem;
-import java.util.Arrays;
-
-public final class AzureBlobFSWriteSettingsTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- AzureBlobFSWriteSettings model = BinaryData.fromString(
- "{\"type\":\"AzureBlobFSWriteSettings\",\"blockSizeInMB\":\"dataikedmou\",\"maxConcurrentConnections\":\"datauqo\",\"disableMetricsCollection\":\"dataic\",\"copyBehavior\":\"datayjszmleuqxhmrilw\",\"metadata\":[{\"name\":\"datasvpv\",\"value\":\"dataulxxznfxdqqzi\"},{\"name\":\"datagwqi\",\"value\":\"datadhas\"}],\"\":{\"tdmhr\":\"dataaexrzxvffqc\"}}")
- .toObject(AzureBlobFSWriteSettings.class);
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- AzureBlobFSWriteSettings model = new AzureBlobFSWriteSettings().withMaxConcurrentConnections("datauqo")
- .withDisableMetricsCollection("dataic")
- .withCopyBehavior("datayjszmleuqxhmrilw")
- .withMetadata(Arrays.asList(new MetadataItem().withName("datasvpv").withValue("dataulxxznfxdqqzi"),
- new MetadataItem().withName("datagwqi").withValue("datadhas")))
- .withBlockSizeInMB("dataikedmou");
- model = BinaryData.fromObject(model).toObject(AzureBlobFSWriteSettings.class);
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureBlobStorageLocationTests.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureBlobStorageLocationTests.java
deleted file mode 100644
index 214f2c2421d9..000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureBlobStorageLocationTests.java
+++ /dev/null
@@ -1,25 +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.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.datafactory.models.AzureBlobStorageLocation;
-
-public final class AzureBlobStorageLocationTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- AzureBlobStorageLocation model = BinaryData.fromString(
- "{\"type\":\"AzureBlobStorageLocation\",\"container\":\"datazpzlpryf\",\"folderPath\":\"datamdutzfk\",\"fileName\":\"datalnoud\",\"\":{\"gdpri\":\"datand\"}}")
- .toObject(AzureBlobStorageLocation.class);
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- AzureBlobStorageLocation model = new AzureBlobStorageLocation().withFolderPath("datamdutzfk")
- .withFileName("datalnoud")
- .withContainer("datazpzlpryf");
- model = BinaryData.fromObject(model).toObject(AzureBlobStorageLocation.class);
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureBlobStorageReadSettingsTests.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureBlobStorageReadSettingsTests.java
deleted file mode 100644
index c3d04a8439e9..000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureBlobStorageReadSettingsTests.java
+++ /dev/null
@@ -1,35 +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.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.datafactory.models.AzureBlobStorageReadSettings;
-
-public final class AzureBlobStorageReadSettingsTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- AzureBlobStorageReadSettings model = BinaryData.fromString(
- "{\"type\":\"AzureBlobStorageReadSettings\",\"recursive\":\"datazcjmsrorjby\",\"wildcardFolderPath\":\"datakcvahvby\",\"wildcardFileName\":\"datat\",\"prefix\":\"datavwvengicyc\",\"fileListPath\":\"datakhgjyho\",\"enablePartitionDiscovery\":\"datamahbj\",\"partitionRootPath\":\"datavskqxgb\",\"deleteFilesAfterCompletion\":\"dataozrvlklaurl\",\"modifiedDatetimeStart\":\"dataseocp\",\"modifiedDatetimeEnd\":\"datasfj\",\"maxConcurrentConnections\":\"datagmogmcjn\",\"disableMetricsCollection\":\"dataukbwypcvqfz\",\"\":{\"erizf\":\"datax\",\"cdpyoqmwpmrlgj\":\"datawlkovopqp\",\"fptvam\":\"dataqs\"}}")
- .toObject(AzureBlobStorageReadSettings.class);
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- AzureBlobStorageReadSettings model
- = new AzureBlobStorageReadSettings().withMaxConcurrentConnections("datagmogmcjn")
- .withDisableMetricsCollection("dataukbwypcvqfz")
- .withRecursive("datazcjmsrorjby")
- .withWildcardFolderPath("datakcvahvby")
- .withWildcardFileName("datat")
- .withPrefix("datavwvengicyc")
- .withFileListPath("datakhgjyho")
- .withEnablePartitionDiscovery("datamahbj")
- .withPartitionRootPath("datavskqxgb")
- .withDeleteFilesAfterCompletion("dataozrvlklaurl")
- .withModifiedDatetimeStart("dataseocp")
- .withModifiedDatetimeEnd("datasfj");
- model = BinaryData.fromObject(model).toObject(AzureBlobStorageReadSettings.class);
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureBlobStorageWriteSettingsTests.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureBlobStorageWriteSettingsTests.java
deleted file mode 100644
index eddb312ba3ad..000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureBlobStorageWriteSettingsTests.java
+++ /dev/null
@@ -1,32 +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.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.datafactory.models.AzureBlobStorageWriteSettings;
-import com.azure.resourcemanager.datafactory.models.MetadataItem;
-import java.util.Arrays;
-
-public final class AzureBlobStorageWriteSettingsTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- AzureBlobStorageWriteSettings model = BinaryData.fromString(
- "{\"type\":\"AzureBlobStorageWriteSettings\",\"blockSizeInMB\":\"datasvexzyjfwi\",\"maxConcurrentConnections\":\"datamqutgxdlznfokc\",\"disableMetricsCollection\":\"datarskyl\",\"copyBehavior\":\"datapp\",\"metadata\":[{\"name\":\"datakktretutsy\",\"value\":\"datajpla\"},{\"name\":\"datafnrltanvb\",\"value\":\"dataotghxkrrpmgdoli\"},{\"name\":\"datazsglavdtttyd\",\"value\":\"dataomz\"}],\"\":{\"vey\":\"datajqcshbypw\"}}")
- .toObject(AzureBlobStorageWriteSettings.class);
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- AzureBlobStorageWriteSettings model
- = new AzureBlobStorageWriteSettings().withMaxConcurrentConnections("datamqutgxdlznfokc")
- .withDisableMetricsCollection("datarskyl")
- .withCopyBehavior("datapp")
- .withMetadata(Arrays.asList(new MetadataItem().withName("datakktretutsy").withValue("datajpla"),
- new MetadataItem().withName("datafnrltanvb").withValue("dataotghxkrrpmgdoli"),
- new MetadataItem().withName("datazsglavdtttyd").withValue("dataomz")))
- .withBlockSizeInMB("datasvexzyjfwi");
- model = BinaryData.fromObject(model).toObject(AzureBlobStorageWriteSettings.class);
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureDataExplorerCommandActivityTests.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureDataExplorerCommandActivityTests.java
deleted file mode 100644
index bd3f5bcad827..000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureDataExplorerCommandActivityTests.java
+++ /dev/null
@@ -1,96 +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.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.datafactory.models.ActivityDependency;
-import com.azure.resourcemanager.datafactory.models.ActivityOnInactiveMarkAs;
-import com.azure.resourcemanager.datafactory.models.ActivityPolicy;
-import com.azure.resourcemanager.datafactory.models.ActivityState;
-import com.azure.resourcemanager.datafactory.models.AzureDataExplorerCommandActivity;
-import com.azure.resourcemanager.datafactory.models.DependencyCondition;
-import com.azure.resourcemanager.datafactory.models.LinkedServiceReference;
-import com.azure.resourcemanager.datafactory.models.UserProperty;
-import java.util.Arrays;
-import java.util.HashMap;
-import java.util.Map;
-import org.junit.jupiter.api.Assertions;
-
-public final class AzureDataExplorerCommandActivityTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- AzureDataExplorerCommandActivity model = BinaryData.fromString(
- "{\"type\":\"AzureDataExplorerCommand\",\"typeProperties\":{\"command\":\"datamnyfhkxcplhqzpw\",\"commandTimeout\":\"datauyrpsl\"},\"linkedServiceName\":{\"referenceName\":\"acn\",\"parameters\":{\"amcsdzqxkg\":\"dataupjqfup\",\"acd\":\"dataecnqipskpynr\",\"qodxsscirgqjnfde\":\"datafwutahlh\"}},\"policy\":{\"timeout\":\"dataeyhfnjifuucojkik\",\"retry\":\"datahkvhld\",\"retryIntervalInSeconds\":919721101,\"secureInput\":true,\"secureOutput\":false,\"\":{\"wexoyfsee\":\"datadzmbzlfzy\",\"doufwkhipaodohb\":\"datavmtyub\",\"gokpnbmhskhjjxe\":\"datadbbweaa\",\"h\":\"datambuhkcsh\"}},\"name\":\"ahmtevifeo\",\"description\":\"eppnpftwgtrcccyi\",\"state\":\"Active\",\"onInactiveMarkAs\":\"Failed\",\"dependsOn\":[{\"activity\":\"njpwkwxnmqmytv\",\"dependencyConditions\":[\"Completed\",\"Completed\"],\"\":{\"haeedqa\":\"datafnmwm\",\"ntnlbsv\":\"datahccw\",\"zafpvwrbqbyxu\":\"datasjvd\"}},{\"activity\":\"pqkbbemh\",\"dependencyConditions\":[\"Completed\",\"Skipped\"],\"\":{\"pxbjjnxdgnegkltl\":\"datasfsjpvjwbxlgp\",\"mm\":\"databbe\",\"tdzgngnuuz\":\"datahmvadasuevu\",\"mnelqlqn\":\"datahgfojdbov\"}},{\"activity\":\"vqmxzdi\",\"dependencyConditions\":[\"Succeeded\"],\"\":{\"bwakmibiylkfnedx\":\"datapqsjzgncyksblre\"}}],\"userProperties\":[{\"name\":\"cyrblwqhzyr\",\"value\":\"datags\"},{\"name\":\"bzpozqluuaugktt\",\"value\":\"datapw\"}],\"\":{\"b\":\"dataajevw\"}}")
- .toObject(AzureDataExplorerCommandActivity.class);
- Assertions.assertEquals("ahmtevifeo", model.name());
- Assertions.assertEquals("eppnpftwgtrcccyi", model.description());
- Assertions.assertEquals(ActivityState.ACTIVE, model.state());
- Assertions.assertEquals(ActivityOnInactiveMarkAs.FAILED, model.onInactiveMarkAs());
- Assertions.assertEquals("njpwkwxnmqmytv", model.dependsOn().get(0).activity());
- Assertions.assertEquals(DependencyCondition.COMPLETED, model.dependsOn().get(0).dependencyConditions().get(0));
- Assertions.assertEquals("cyrblwqhzyr", model.userProperties().get(0).name());
- Assertions.assertEquals("acn", model.linkedServiceName().referenceName());
- Assertions.assertEquals(919721101, model.policy().retryIntervalInSeconds());
- Assertions.assertEquals(true, model.policy().secureInput());
- Assertions.assertEquals(false, model.policy().secureOutput());
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- AzureDataExplorerCommandActivity model = new AzureDataExplorerCommandActivity().withName("ahmtevifeo")
- .withDescription("eppnpftwgtrcccyi")
- .withState(ActivityState.ACTIVE)
- .withOnInactiveMarkAs(ActivityOnInactiveMarkAs.FAILED)
- .withDependsOn(Arrays.asList(
- new ActivityDependency().withActivity("njpwkwxnmqmytv")
- .withDependencyConditions(
- Arrays.asList(DependencyCondition.COMPLETED, DependencyCondition.COMPLETED))
- .withAdditionalProperties(mapOf()),
- new ActivityDependency().withActivity("pqkbbemh")
- .withDependencyConditions(Arrays.asList(DependencyCondition.COMPLETED, DependencyCondition.SKIPPED))
- .withAdditionalProperties(mapOf()),
- new ActivityDependency().withActivity("vqmxzdi")
- .withDependencyConditions(Arrays.asList(DependencyCondition.SUCCEEDED))
- .withAdditionalProperties(mapOf())))
- .withUserProperties(Arrays.asList(new UserProperty().withName("cyrblwqhzyr").withValue("datags"),
- new UserProperty().withName("bzpozqluuaugktt").withValue("datapw")))
- .withLinkedServiceName(
- new LinkedServiceReference().withReferenceName("acn")
- .withParameters(mapOf("amcsdzqxkg", "dataupjqfup", "acd", "dataecnqipskpynr", "qodxsscirgqjnfde",
- "datafwutahlh")))
- .withPolicy(new ActivityPolicy().withTimeout("dataeyhfnjifuucojkik")
- .withRetry("datahkvhld")
- .withRetryIntervalInSeconds(919721101)
- .withSecureInput(true)
- .withSecureOutput(false)
- .withAdditionalProperties(mapOf()))
- .withCommand("datamnyfhkxcplhqzpw")
- .withCommandTimeout("datauyrpsl");
- model = BinaryData.fromObject(model).toObject(AzureDataExplorerCommandActivity.class);
- Assertions.assertEquals("ahmtevifeo", model.name());
- Assertions.assertEquals("eppnpftwgtrcccyi", model.description());
- Assertions.assertEquals(ActivityState.ACTIVE, model.state());
- Assertions.assertEquals(ActivityOnInactiveMarkAs.FAILED, model.onInactiveMarkAs());
- Assertions.assertEquals("njpwkwxnmqmytv", model.dependsOn().get(0).activity());
- Assertions.assertEquals(DependencyCondition.COMPLETED, model.dependsOn().get(0).dependencyConditions().get(0));
- Assertions.assertEquals("cyrblwqhzyr", model.userProperties().get(0).name());
- Assertions.assertEquals("acn", model.linkedServiceName().referenceName());
- Assertions.assertEquals(919721101, model.policy().retryIntervalInSeconds());
- Assertions.assertEquals(true, model.policy().secureInput());
- Assertions.assertEquals(false, model.policy().secureOutput());
- }
-
- // Use "Map.of" if available
- @SuppressWarnings("unchecked")
- private static Map mapOf(Object... inputs) {
- Map map = new HashMap<>();
- for (int i = 0; i < inputs.length; i += 2) {
- String key = (String) inputs[i];
- T value = (T) inputs[i + 1];
- map.put(key, value);
- }
- return map;
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureDataExplorerCommandActivityTypePropertiesTests.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureDataExplorerCommandActivityTypePropertiesTests.java
deleted file mode 100644
index 7a62a114fc58..000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureDataExplorerCommandActivityTypePropertiesTests.java
+++ /dev/null
@@ -1,25 +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.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.datafactory.fluent.models.AzureDataExplorerCommandActivityTypeProperties;
-
-public final class AzureDataExplorerCommandActivityTypePropertiesTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- AzureDataExplorerCommandActivityTypeProperties model
- = BinaryData.fromString("{\"command\":\"dataqdotqe\",\"commandTimeout\":\"dataenteucaojj\"}")
- .toObject(AzureDataExplorerCommandActivityTypeProperties.class);
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- AzureDataExplorerCommandActivityTypeProperties model
- = new AzureDataExplorerCommandActivityTypeProperties().withCommand("dataqdotqe")
- .withCommandTimeout("dataenteucaojj");
- model = BinaryData.fromObject(model).toObject(AzureDataExplorerCommandActivityTypeProperties.class);
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureDataExplorerDatasetTypePropertiesTests.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureDataExplorerDatasetTypePropertiesTests.java
deleted file mode 100644
index 93019880a52e..000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureDataExplorerDatasetTypePropertiesTests.java
+++ /dev/null
@@ -1,23 +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.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.datafactory.fluent.models.AzureDataExplorerDatasetTypeProperties;
-
-public final class AzureDataExplorerDatasetTypePropertiesTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- AzureDataExplorerDatasetTypeProperties model = BinaryData.fromString("{\"table\":\"datajxxpxxizchmb\"}")
- .toObject(AzureDataExplorerDatasetTypeProperties.class);
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- AzureDataExplorerDatasetTypeProperties model
- = new AzureDataExplorerDatasetTypeProperties().withTable("datajxxpxxizchmb");
- model = BinaryData.fromObject(model).toObject(AzureDataExplorerDatasetTypeProperties.class);
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureDataExplorerSinkTests.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureDataExplorerSinkTests.java
deleted file mode 100644
index ccb434363f64..000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureDataExplorerSinkTests.java
+++ /dev/null
@@ -1,31 +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.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.datafactory.models.AzureDataExplorerSink;
-
-public final class AzureDataExplorerSinkTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- AzureDataExplorerSink model = BinaryData.fromString(
- "{\"type\":\"AzureDataExplorerSink\",\"ingestionMappingName\":\"datalvvazujc\",\"ingestionMappingAsJson\":\"dataznwlxzmszxyfa\",\"flushImmediately\":\"datazvdqvdivzjy\",\"writeBatchSize\":\"datajb\",\"writeBatchTimeout\":\"datalxjbrqbut\",\"sinkRetryCount\":\"datacnqudm\",\"sinkRetryWait\":\"datauvaweajq\",\"maxConcurrentConnections\":\"datavbvkwr\",\"disableMetricsCollection\":\"datazoqyymhdbg\",\"\":{\"cqqgrsyttosnzb\":\"dataltmpa\",\"vpbwt\":\"dataxifacrhpuzcagz\"}}")
- .toObject(AzureDataExplorerSink.class);
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- AzureDataExplorerSink model = new AzureDataExplorerSink().withWriteBatchSize("datajb")
- .withWriteBatchTimeout("datalxjbrqbut")
- .withSinkRetryCount("datacnqudm")
- .withSinkRetryWait("datauvaweajq")
- .withMaxConcurrentConnections("datavbvkwr")
- .withDisableMetricsCollection("datazoqyymhdbg")
- .withIngestionMappingName("datalvvazujc")
- .withIngestionMappingAsJson("dataznwlxzmszxyfa")
- .withFlushImmediately("datazvdqvdivzjy");
- model = BinaryData.fromObject(model).toObject(AzureDataExplorerSink.class);
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureDataExplorerSourceTests.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureDataExplorerSourceTests.java
deleted file mode 100644
index 112a310be4d5..000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureDataExplorerSourceTests.java
+++ /dev/null
@@ -1,30 +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.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.datafactory.models.AzureDataExplorerSource;
-
-public final class AzureDataExplorerSourceTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- AzureDataExplorerSource model = BinaryData.fromString(
- "{\"type\":\"AzureDataExplorerSource\",\"query\":\"datacfkc\",\"noTruncation\":\"datamoonnriah\",\"queryTimeout\":\"datagzkdbmjzob\",\"additionalColumns\":\"datavbbuuipel\",\"sourceRetryCount\":\"dataptteojxhwgja\",\"sourceRetryWait\":\"datagrpwjgkxvkj\",\"maxConcurrentConnections\":\"datasl\",\"disableMetricsCollection\":\"datamm\",\"\":{\"hubgaaaxigafah\":\"datazxsvwqiwgjw\",\"gzd\":\"datatoo\",\"plavgfbvr\":\"datablpdtcyvgbhb\",\"we\":\"datahwuex\"}}")
- .toObject(AzureDataExplorerSource.class);
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- AzureDataExplorerSource model = new AzureDataExplorerSource().withSourceRetryCount("dataptteojxhwgja")
- .withSourceRetryWait("datagrpwjgkxvkj")
- .withMaxConcurrentConnections("datasl")
- .withDisableMetricsCollection("datamm")
- .withQuery("datacfkc")
- .withNoTruncation("datamoonnriah")
- .withQueryTimeout("datagzkdbmjzob")
- .withAdditionalColumns("datavbbuuipel");
- model = BinaryData.fromObject(model).toObject(AzureDataExplorerSource.class);
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureDataExplorerTableDatasetTests.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureDataExplorerTableDatasetTests.java
deleted file mode 100644
index 685c9bd75f1d..000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureDataExplorerTableDatasetTests.java
+++ /dev/null
@@ -1,63 +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.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.datafactory.models.AzureDataExplorerTableDataset;
-import com.azure.resourcemanager.datafactory.models.DatasetFolder;
-import com.azure.resourcemanager.datafactory.models.LinkedServiceReference;
-import com.azure.resourcemanager.datafactory.models.ParameterSpecification;
-import com.azure.resourcemanager.datafactory.models.ParameterType;
-import java.util.Arrays;
-import java.util.HashMap;
-import java.util.Map;
-import org.junit.jupiter.api.Assertions;
-
-public final class AzureDataExplorerTableDatasetTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- AzureDataExplorerTableDataset model = BinaryData.fromString(
- "{\"type\":\"AzureDataExplorerTable\",\"typeProperties\":{\"table\":\"datausfdywqrq\"},\"description\":\"wkendgr\",\"structure\":\"dataff\",\"schema\":\"dataqqnugtcuyuwgnyj\",\"linkedServiceName\":{\"referenceName\":\"iuj\",\"parameters\":{\"tuajkufpvvdgnme\":\"datawmlfzlhibfmcoxb\",\"bfyqz\":\"dataomnobbaibc\"}},\"parameters\":{\"buhdnhhcmtslptbd\":{\"type\":\"Float\",\"defaultValue\":\"datafgvmrkmgifmy\"},\"zjzzb\":{\"type\":\"String\",\"defaultValue\":\"datahblqivcnuqf\"},\"trch\":{\"type\":\"Array\",\"defaultValue\":\"datat\"}},\"annotations\":[\"dataruawqe\",\"dataqsqmiekx\",\"datap\",\"dataqchf\"],\"folder\":{\"name\":\"kkvjjl\"},\"\":{\"zyqokbgum\":\"datacu\"}}")
- .toObject(AzureDataExplorerTableDataset.class);
- Assertions.assertEquals("wkendgr", model.description());
- Assertions.assertEquals("iuj", model.linkedServiceName().referenceName());
- Assertions.assertEquals(ParameterType.FLOAT, model.parameters().get("buhdnhhcmtslptbd").type());
- Assertions.assertEquals("kkvjjl", model.folder().name());
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- AzureDataExplorerTableDataset model = new AzureDataExplorerTableDataset().withDescription("wkendgr")
- .withStructure("dataff")
- .withSchema("dataqqnugtcuyuwgnyj")
- .withLinkedServiceName(new LinkedServiceReference().withReferenceName("iuj")
- .withParameters(mapOf("tuajkufpvvdgnme", "datawmlfzlhibfmcoxb", "bfyqz", "dataomnobbaibc")))
- .withParameters(mapOf("buhdnhhcmtslptbd",
- new ParameterSpecification().withType(ParameterType.FLOAT).withDefaultValue("datafgvmrkmgifmy"),
- "zjzzb",
- new ParameterSpecification().withType(ParameterType.STRING).withDefaultValue("datahblqivcnuqf"), "trch",
- new ParameterSpecification().withType(ParameterType.ARRAY).withDefaultValue("datat")))
- .withAnnotations(Arrays.asList("dataruawqe", "dataqsqmiekx", "datap", "dataqchf"))
- .withFolder(new DatasetFolder().withName("kkvjjl"))
- .withTable("datausfdywqrq");
- model = BinaryData.fromObject(model).toObject(AzureDataExplorerTableDataset.class);
- Assertions.assertEquals("wkendgr", model.description());
- Assertions.assertEquals("iuj", model.linkedServiceName().referenceName());
- Assertions.assertEquals(ParameterType.FLOAT, model.parameters().get("buhdnhhcmtslptbd").type());
- Assertions.assertEquals("kkvjjl", model.folder().name());
- }
-
- // Use "Map.of" if available
- @SuppressWarnings("unchecked")
- private static Map mapOf(Object... inputs) {
- Map map = new HashMap<>();
- for (int i = 0; i < inputs.length; i += 2) {
- String key = (String) inputs[i];
- T value = (T) inputs[i + 1];
- map.put(key, value);
- }
- return map;
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureDataLakeStoreDatasetTests.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureDataLakeStoreDatasetTests.java
deleted file mode 100644
index f5c7d3fc4aa2..000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureDataLakeStoreDatasetTests.java
+++ /dev/null
@@ -1,72 +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.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.datafactory.models.AzureDataLakeStoreDataset;
-import com.azure.resourcemanager.datafactory.models.DatasetCompression;
-import com.azure.resourcemanager.datafactory.models.DatasetFolder;
-import com.azure.resourcemanager.datafactory.models.DatasetStorageFormat;
-import com.azure.resourcemanager.datafactory.models.LinkedServiceReference;
-import com.azure.resourcemanager.datafactory.models.ParameterSpecification;
-import com.azure.resourcemanager.datafactory.models.ParameterType;
-import java.util.Arrays;
-import java.util.HashMap;
-import java.util.Map;
-import org.junit.jupiter.api.Assertions;
-
-public final class AzureDataLakeStoreDatasetTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- AzureDataLakeStoreDataset model = BinaryData.fromString(
- "{\"type\":\"AzureDataLakeStoreFile\",\"typeProperties\":{\"folderPath\":\"datawgr\",\"fileName\":\"databwudhvosgjzs\",\"format\":{\"type\":\"DatasetStorageFormat\",\"serializer\":\"datazalivdfwgq\",\"deserializer\":\"dataewcffrxgg\",\"\":{\"priqissener\":\"datah\",\"ujyduonbdawsao\":\"datausyzaivnpsjnpckp\"}},\"compression\":{\"type\":\"datavvm\",\"level\":\"datakxjarsbbdddw\",\"\":{\"kdyqjvz\":\"dataxailx\"}}},\"description\":\"grdspzesfkqq\",\"structure\":\"datahvzf\",\"schema\":\"datarouszxacdwukokgo\",\"linkedServiceName\":{\"referenceName\":\"j\",\"parameters\":{\"tzvxxvsb\":\"dataktubcmunhg\",\"furqm\":\"datauufkrfnkcnihkswx\",\"motahbqsvnk\":\"datamwwpnt\",\"gc\":\"datamytzuaedrlh\"}},\"parameters\":{\"yftgpqoswgfqv\":{\"type\":\"Int\",\"defaultValue\":\"datakvxzzmiem\"},\"qyhls\":{\"type\":\"Array\",\"defaultValue\":\"datahpak\"},\"gkncjm\":{\"type\":\"String\",\"defaultValue\":\"datafbmeq\"}},\"annotations\":[\"datayevztnjaw\",\"datahul\",\"datammqmbwppx\",\"datarxbkitzmnhitax\"],\"folder\":{\"name\":\"l\"},\"\":{\"dvyljubvfjy\":\"dataxsgcemegd\",\"ifnivlut\":\"dataufl\",\"aacxauhvc\":\"datag\"}}")
- .toObject(AzureDataLakeStoreDataset.class);
- Assertions.assertEquals("grdspzesfkqq", model.description());
- Assertions.assertEquals("j", model.linkedServiceName().referenceName());
- Assertions.assertEquals(ParameterType.INT, model.parameters().get("yftgpqoswgfqv").type());
- Assertions.assertEquals("l", model.folder().name());
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- AzureDataLakeStoreDataset model = new AzureDataLakeStoreDataset().withDescription("grdspzesfkqq")
- .withStructure("datahvzf")
- .withSchema("datarouszxacdwukokgo")
- .withLinkedServiceName(new LinkedServiceReference().withReferenceName("j")
- .withParameters(mapOf("tzvxxvsb", "dataktubcmunhg", "furqm", "datauufkrfnkcnihkswx", "motahbqsvnk",
- "datamwwpnt", "gc", "datamytzuaedrlh")))
- .withParameters(mapOf("yftgpqoswgfqv",
- new ParameterSpecification().withType(ParameterType.INT).withDefaultValue("datakvxzzmiem"), "qyhls",
- new ParameterSpecification().withType(ParameterType.ARRAY).withDefaultValue("datahpak"), "gkncjm",
- new ParameterSpecification().withType(ParameterType.STRING).withDefaultValue("datafbmeq")))
- .withAnnotations(Arrays.asList("datayevztnjaw", "datahul", "datammqmbwppx", "datarxbkitzmnhitax"))
- .withFolder(new DatasetFolder().withName("l"))
- .withFolderPath("datawgr")
- .withFileName("databwudhvosgjzs")
- .withFormat(new DatasetStorageFormat().withSerializer("datazalivdfwgq")
- .withDeserializer("dataewcffrxgg")
- .withAdditionalProperties(mapOf("type", "DatasetStorageFormat")))
- .withCompression(new DatasetCompression().withType("datavvm")
- .withLevel("datakxjarsbbdddw")
- .withAdditionalProperties(mapOf()));
- model = BinaryData.fromObject(model).toObject(AzureDataLakeStoreDataset.class);
- Assertions.assertEquals("grdspzesfkqq", model.description());
- Assertions.assertEquals("j", model.linkedServiceName().referenceName());
- Assertions.assertEquals(ParameterType.INT, model.parameters().get("yftgpqoswgfqv").type());
- Assertions.assertEquals("l", model.folder().name());
- }
-
- // Use "Map.of" if available
- @SuppressWarnings("unchecked")
- private static Map mapOf(Object... inputs) {
- Map map = new HashMap<>();
- for (int i = 0; i < inputs.length; i += 2) {
- String key = (String) inputs[i];
- T value = (T) inputs[i + 1];
- map.put(key, value);
- }
- return map;
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureDataLakeStoreDatasetTypePropertiesTests.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureDataLakeStoreDatasetTypePropertiesTests.java
deleted file mode 100644
index 9b663d95f659..000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureDataLakeStoreDatasetTypePropertiesTests.java
+++ /dev/null
@@ -1,47 +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.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.datafactory.fluent.models.AzureDataLakeStoreDatasetTypeProperties;
-import com.azure.resourcemanager.datafactory.models.DatasetCompression;
-import com.azure.resourcemanager.datafactory.models.DatasetStorageFormat;
-import java.util.HashMap;
-import java.util.Map;
-
-public final class AzureDataLakeStoreDatasetTypePropertiesTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- AzureDataLakeStoreDatasetTypeProperties model = BinaryData.fromString(
- "{\"folderPath\":\"dataxhklsqxt\",\"fileName\":\"datayygktsrjyxxoxwf\",\"format\":{\"type\":\"DatasetStorageFormat\",\"serializer\":\"datavecnxfxphs\",\"deserializer\":\"databebsnbw\",\"\":{\"fjajvkyxmm\":\"datavuwmsumustihtgr\",\"rjenn\":\"dataczvogtd\",\"phfxnrpdhewoky\":\"datakvaeuwqdwxhhlbm\"}},\"compression\":{\"type\":\"datafkxfsywbihqb\",\"level\":\"datadjfyxbvkv\",\"\":{\"wnjdvvlrh\":\"datamvddqwcrugyozzz\"}}}")
- .toObject(AzureDataLakeStoreDatasetTypeProperties.class);
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- AzureDataLakeStoreDatasetTypeProperties model
- = new AzureDataLakeStoreDatasetTypeProperties().withFolderPath("dataxhklsqxt")
- .withFileName("datayygktsrjyxxoxwf")
- .withFormat(new DatasetStorageFormat().withSerializer("datavecnxfxphs")
- .withDeserializer("databebsnbw")
- .withAdditionalProperties(mapOf("type", "DatasetStorageFormat")))
- .withCompression(new DatasetCompression().withType("datafkxfsywbihqb")
- .withLevel("datadjfyxbvkv")
- .withAdditionalProperties(mapOf()));
- model = BinaryData.fromObject(model).toObject(AzureDataLakeStoreDatasetTypeProperties.class);
- }
-
- // Use "Map.of" if available
- @SuppressWarnings("unchecked")
- private static Map mapOf(Object... inputs) {
- Map map = new HashMap<>();
- for (int i = 0; i < inputs.length; i += 2) {
- String key = (String) inputs[i];
- T value = (T) inputs[i + 1];
- map.put(key, value);
- }
- return map;
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureDataLakeStoreLocationTests.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureDataLakeStoreLocationTests.java
deleted file mode 100644
index 452a2d6c71c6..000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureDataLakeStoreLocationTests.java
+++ /dev/null
@@ -1,24 +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.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.datafactory.models.AzureDataLakeStoreLocation;
-
-public final class AzureDataLakeStoreLocationTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- AzureDataLakeStoreLocation model = BinaryData.fromString(
- "{\"type\":\"AzureDataLakeStoreLocation\",\"folderPath\":\"datamfwsxafofu\",\"fileName\":\"datarimm\",\"\":{\"mvhzfovanyrvaprt\":\"datawdehk\",\"fyaqandmymnqo\":\"dataelgwewi\",\"movsfbpbvz\":\"dataj\"}}")
- .toObject(AzureDataLakeStoreLocation.class);
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- AzureDataLakeStoreLocation model
- = new AzureDataLakeStoreLocation().withFolderPath("datamfwsxafofu").withFileName("datarimm");
- model = BinaryData.fromObject(model).toObject(AzureDataLakeStoreLocation.class);
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureDataLakeStoreReadSettingsTests.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureDataLakeStoreReadSettingsTests.java
deleted file mode 100644
index 16186be07a8d..000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureDataLakeStoreReadSettingsTests.java
+++ /dev/null
@@ -1,36 +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.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.datafactory.models.AzureDataLakeStoreReadSettings;
-
-public final class AzureDataLakeStoreReadSettingsTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- AzureDataLakeStoreReadSettings model = BinaryData.fromString(
- "{\"type\":\"AzureDataLakeStoreReadSettings\",\"recursive\":\"datanhvdkqigppdqsqs\",\"wildcardFolderPath\":\"dataweaxthuhuruo\",\"wildcardFileName\":\"datayotapstkdbn\",\"fileListPath\":\"datapcuzexoymfku\",\"listAfter\":\"dataysgsqzpgrvf\",\"listBefore\":\"datayph\",\"enablePartitionDiscovery\":\"datarxrpahp\",\"partitionRootPath\":\"dataikfenmiflkyf\",\"deleteFilesAfterCompletion\":\"datalolnxhsupilh\",\"modifiedDatetimeStart\":\"dataabli\",\"modifiedDatetimeEnd\":\"dataoomgsejisydh\",\"maxConcurrentConnections\":\"datadxnkluqf\",\"disableMetricsCollection\":\"dataglftlqakie\",\"\":{\"xewcscuveljfarin\":\"datavprb\"}}")
- .toObject(AzureDataLakeStoreReadSettings.class);
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- AzureDataLakeStoreReadSettings model
- = new AzureDataLakeStoreReadSettings().withMaxConcurrentConnections("datadxnkluqf")
- .withDisableMetricsCollection("dataglftlqakie")
- .withRecursive("datanhvdkqigppdqsqs")
- .withWildcardFolderPath("dataweaxthuhuruo")
- .withWildcardFileName("datayotapstkdbn")
- .withFileListPath("datapcuzexoymfku")
- .withListAfter("dataysgsqzpgrvf")
- .withListBefore("datayph")
- .withEnablePartitionDiscovery("datarxrpahp")
- .withPartitionRootPath("dataikfenmiflkyf")
- .withDeleteFilesAfterCompletion("datalolnxhsupilh")
- .withModifiedDatetimeStart("dataabli")
- .withModifiedDatetimeEnd("dataoomgsejisydh");
- model = BinaryData.fromObject(model).toObject(AzureDataLakeStoreReadSettings.class);
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureDataLakeStoreSinkTests.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureDataLakeStoreSinkTests.java
deleted file mode 100644
index b77355f34ae4..000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureDataLakeStoreSinkTests.java
+++ /dev/null
@@ -1,30 +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.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.datafactory.models.AzureDataLakeStoreSink;
-
-public final class AzureDataLakeStoreSinkTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- AzureDataLakeStoreSink model = BinaryData.fromString(
- "{\"type\":\"AzureDataLakeStoreSink\",\"copyBehavior\":\"datandfrfhgowhnvc\",\"enableAdlsSingleFileParallel\":\"datamuvgysto\",\"writeBatchSize\":\"datarktodeertyijlvcm\",\"writeBatchTimeout\":\"datanxxw\",\"sinkRetryCount\":\"dataedbdkwzbkhvlsahj\",\"sinkRetryWait\":\"databwyqnlus\",\"maxConcurrentConnections\":\"datalkrcpxlk\",\"disableMetricsCollection\":\"datafxtbvhmsvcmce\",\"\":{\"gkrpjonminsqjnu\":\"datahwriihwxchyy\",\"gkkg\":\"dataiytyarpeyigfdp\",\"bgrtse\":\"dataygjldljgd\",\"kofmtfwculsbnapz\":\"datanowzf\"}}")
- .toObject(AzureDataLakeStoreSink.class);
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- AzureDataLakeStoreSink model = new AzureDataLakeStoreSink().withWriteBatchSize("datarktodeertyijlvcm")
- .withWriteBatchTimeout("datanxxw")
- .withSinkRetryCount("dataedbdkwzbkhvlsahj")
- .withSinkRetryWait("databwyqnlus")
- .withMaxConcurrentConnections("datalkrcpxlk")
- .withDisableMetricsCollection("datafxtbvhmsvcmce")
- .withCopyBehavior("datandfrfhgowhnvc")
- .withEnableAdlsSingleFileParallel("datamuvgysto");
- model = BinaryData.fromObject(model).toObject(AzureDataLakeStoreSink.class);
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureDataLakeStoreSourceTests.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureDataLakeStoreSourceTests.java
deleted file mode 100644
index f2e4d70ab8d7..000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureDataLakeStoreSourceTests.java
+++ /dev/null
@@ -1,27 +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.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.datafactory.models.AzureDataLakeStoreSource;
-
-public final class AzureDataLakeStoreSourceTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- AzureDataLakeStoreSource model = BinaryData.fromString(
- "{\"type\":\"AzureDataLakeStoreSource\",\"recursive\":\"datazythxzrvjfsmfkd\",\"sourceRetryCount\":\"datawfrmhookef\",\"sourceRetryWait\":\"datafexakctlcps\",\"maxConcurrentConnections\":\"datancco\",\"disableMetricsCollection\":\"dataqxmdievkmrso\",\"\":{\"imuqqmdxcwx\":\"dataiheh\",\"ypsypmthf\":\"datamrmwd\",\"afcxdldh\":\"datasz\",\"urhsmg\":\"datakdeviwpzhfxvlc\"}}")
- .toObject(AzureDataLakeStoreSource.class);
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- AzureDataLakeStoreSource model = new AzureDataLakeStoreSource().withSourceRetryCount("datawfrmhookef")
- .withSourceRetryWait("datafexakctlcps")
- .withMaxConcurrentConnections("datancco")
- .withDisableMetricsCollection("dataqxmdievkmrso")
- .withRecursive("datazythxzrvjfsmfkd");
- model = BinaryData.fromObject(model).toObject(AzureDataLakeStoreSource.class);
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureDataLakeStoreWriteSettingsTests.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureDataLakeStoreWriteSettingsTests.java
deleted file mode 100644
index c25ed234ce3b..000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureDataLakeStoreWriteSettingsTests.java
+++ /dev/null
@@ -1,30 +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.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.datafactory.models.AzureDataLakeStoreWriteSettings;
-import com.azure.resourcemanager.datafactory.models.MetadataItem;
-import java.util.Arrays;
-
-public final class AzureDataLakeStoreWriteSettingsTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- AzureDataLakeStoreWriteSettings model = BinaryData.fromString(
- "{\"type\":\"AzureDataLakeStoreWriteSettings\",\"expiryDateTime\":\"databyul\",\"maxConcurrentConnections\":\"dataepssoqdibyg\",\"disableMetricsCollection\":\"datacidiwkxi\",\"copyBehavior\":\"dataiqxlxoksyypftrdi\",\"metadata\":[{\"name\":\"databqgatkl\",\"value\":\"datapgwp\"}],\"\":{\"nsdp\":\"dataccetyyvxkwobb\",\"lzk\":\"datairt\"}}")
- .toObject(AzureDataLakeStoreWriteSettings.class);
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- AzureDataLakeStoreWriteSettings model
- = new AzureDataLakeStoreWriteSettings().withMaxConcurrentConnections("dataepssoqdibyg")
- .withDisableMetricsCollection("datacidiwkxi")
- .withCopyBehavior("dataiqxlxoksyypftrdi")
- .withMetadata(Arrays.asList(new MetadataItem().withName("databqgatkl").withValue("datapgwp")))
- .withExpiryDateTime("databyul");
- model = BinaryData.fromObject(model).toObject(AzureDataLakeStoreWriteSettings.class);
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureDatabricksDeltaLakeDatasetTests.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureDatabricksDeltaLakeDatasetTests.java
deleted file mode 100644
index 680823b490c4..000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureDatabricksDeltaLakeDatasetTests.java
+++ /dev/null
@@ -1,64 +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.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.datafactory.models.AzureDatabricksDeltaLakeDataset;
-import com.azure.resourcemanager.datafactory.models.DatasetFolder;
-import com.azure.resourcemanager.datafactory.models.LinkedServiceReference;
-import com.azure.resourcemanager.datafactory.models.ParameterSpecification;
-import com.azure.resourcemanager.datafactory.models.ParameterType;
-import java.util.Arrays;
-import java.util.HashMap;
-import java.util.Map;
-import org.junit.jupiter.api.Assertions;
-
-public final class AzureDatabricksDeltaLakeDatasetTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- AzureDatabricksDeltaLakeDataset model = BinaryData.fromString(
- "{\"type\":\"AzureDatabricksDeltaLakeDataset\",\"typeProperties\":{\"table\":\"datal\",\"database\":\"datacf\"},\"description\":\"rn\",\"structure\":\"dataqpkayqivbigdrqg\",\"schema\":\"datatboyztgnmu\",\"linkedServiceName\":{\"referenceName\":\"ppwp\",\"parameters\":{\"ofeiiewibdtplj\":\"datagrmtgwhzbbdwrjen\"}},\"parameters\":{\"xjwtkftgzljue\":{\"type\":\"Object\",\"defaultValue\":\"dataokbxxcdk\"},\"lb\":{\"type\":\"Int\",\"defaultValue\":\"datawsjpgb\"},\"epvrunudma\":{\"type\":\"Object\",\"defaultValue\":\"datagv\"},\"kwohdig\":{\"type\":\"Int\",\"defaultValue\":\"datahrnaxkc\"}},\"annotations\":[\"dataocft\",\"dataamodw\"],\"folder\":{\"name\":\"ktvxerow\"},\"\":{\"xgd\":\"datarnnbegrafeonmto\",\"aq\":\"datafmazhkqqsjk\",\"evveswghhbqqhd\":\"datazbwgpmdmwi\"}}")
- .toObject(AzureDatabricksDeltaLakeDataset.class);
- Assertions.assertEquals("rn", model.description());
- Assertions.assertEquals("ppwp", model.linkedServiceName().referenceName());
- Assertions.assertEquals(ParameterType.OBJECT, model.parameters().get("xjwtkftgzljue").type());
- Assertions.assertEquals("ktvxerow", model.folder().name());
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- AzureDatabricksDeltaLakeDataset model = new AzureDatabricksDeltaLakeDataset().withDescription("rn")
- .withStructure("dataqpkayqivbigdrqg")
- .withSchema("datatboyztgnmu")
- .withLinkedServiceName(new LinkedServiceReference().withReferenceName("ppwp")
- .withParameters(mapOf("ofeiiewibdtplj", "datagrmtgwhzbbdwrjen")))
- .withParameters(mapOf("xjwtkftgzljue",
- new ParameterSpecification().withType(ParameterType.OBJECT).withDefaultValue("dataokbxxcdk"), "lb",
- new ParameterSpecification().withType(ParameterType.INT).withDefaultValue("datawsjpgb"), "epvrunudma",
- new ParameterSpecification().withType(ParameterType.OBJECT).withDefaultValue("datagv"), "kwohdig",
- new ParameterSpecification().withType(ParameterType.INT).withDefaultValue("datahrnaxkc")))
- .withAnnotations(Arrays.asList("dataocft", "dataamodw"))
- .withFolder(new DatasetFolder().withName("ktvxerow"))
- .withTable("datal")
- .withDatabase("datacf");
- model = BinaryData.fromObject(model).toObject(AzureDatabricksDeltaLakeDataset.class);
- Assertions.assertEquals("rn", model.description());
- Assertions.assertEquals("ppwp", model.linkedServiceName().referenceName());
- Assertions.assertEquals(ParameterType.OBJECT, model.parameters().get("xjwtkftgzljue").type());
- Assertions.assertEquals("ktvxerow", model.folder().name());
- }
-
- // Use "Map.of" if available
- @SuppressWarnings("unchecked")
- private static Map mapOf(Object... inputs) {
- Map map = new HashMap<>();
- for (int i = 0; i < inputs.length; i += 2) {
- String key = (String) inputs[i];
- T value = (T) inputs[i + 1];
- map.put(key, value);
- }
- return map;
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureDatabricksDeltaLakeDatasetTypePropertiesTests.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureDatabricksDeltaLakeDatasetTypePropertiesTests.java
deleted file mode 100644
index cab06036c8e6..000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureDatabricksDeltaLakeDatasetTypePropertiesTests.java
+++ /dev/null
@@ -1,25 +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.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.datafactory.fluent.models.AzureDatabricksDeltaLakeDatasetTypeProperties;
-
-public final class AzureDatabricksDeltaLakeDatasetTypePropertiesTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- AzureDatabricksDeltaLakeDatasetTypeProperties model
- = BinaryData.fromString("{\"table\":\"dataargkwimtc\",\"database\":\"dataeeuquuwczzcujwx\"}")
- .toObject(AzureDatabricksDeltaLakeDatasetTypeProperties.class);
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- AzureDatabricksDeltaLakeDatasetTypeProperties model
- = new AzureDatabricksDeltaLakeDatasetTypeProperties().withTable("dataargkwimtc")
- .withDatabase("dataeeuquuwczzcujwx");
- model = BinaryData.fromObject(model).toObject(AzureDatabricksDeltaLakeDatasetTypeProperties.class);
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureDatabricksDeltaLakeExportCommandTests.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureDatabricksDeltaLakeExportCommandTests.java
deleted file mode 100644
index c6b70df62288..000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureDatabricksDeltaLakeExportCommandTests.java
+++ /dev/null
@@ -1,25 +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.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.datafactory.models.AzureDatabricksDeltaLakeExportCommand;
-
-public final class AzureDatabricksDeltaLakeExportCommandTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- AzureDatabricksDeltaLakeExportCommand model = BinaryData.fromString(
- "{\"type\":\"AzureDatabricksDeltaLakeExportCommand\",\"dateFormat\":\"dataioqwmhcpujygnt\",\"timestampFormat\":\"datae\",\"\":{\"rso\":\"datasqthcywyoqx\",\"lr\":\"dataf\",\"ffl\":\"dataj\",\"ljf\":\"datazm\"}}")
- .toObject(AzureDatabricksDeltaLakeExportCommand.class);
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- AzureDatabricksDeltaLakeExportCommand model
- = new AzureDatabricksDeltaLakeExportCommand().withDateFormat("dataioqwmhcpujygnt")
- .withTimestampFormat("datae");
- model = BinaryData.fromObject(model).toObject(AzureDatabricksDeltaLakeExportCommand.class);
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureDatabricksDeltaLakeImportCommandTests.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureDatabricksDeltaLakeImportCommandTests.java
deleted file mode 100644
index 42fe016597a4..000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureDatabricksDeltaLakeImportCommandTests.java
+++ /dev/null
@@ -1,24 +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.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.datafactory.models.AzureDatabricksDeltaLakeImportCommand;
-
-public final class AzureDatabricksDeltaLakeImportCommandTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- AzureDatabricksDeltaLakeImportCommand model = BinaryData.fromString(
- "{\"type\":\"AzureDatabricksDeltaLakeImportCommand\",\"dateFormat\":\"datardb\",\"timestampFormat\":\"dataqtxpf\",\"\":{\"kqscmdsjgows\":\"datafvhbbnoevkkrlkdo\",\"peqlhhmbyfacexp\":\"datalgu\",\"pkqiqs\":\"datapqykicesqpvmoxil\"}}")
- .toObject(AzureDatabricksDeltaLakeImportCommand.class);
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- AzureDatabricksDeltaLakeImportCommand model
- = new AzureDatabricksDeltaLakeImportCommand().withDateFormat("datardb").withTimestampFormat("dataqtxpf");
- model = BinaryData.fromObject(model).toObject(AzureDatabricksDeltaLakeImportCommand.class);
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureDatabricksDeltaLakeSinkTests.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureDatabricksDeltaLakeSinkTests.java
deleted file mode 100644
index 165b86b5a013..000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureDatabricksDeltaLakeSinkTests.java
+++ /dev/null
@@ -1,33 +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.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.datafactory.models.AzureDatabricksDeltaLakeImportCommand;
-import com.azure.resourcemanager.datafactory.models.AzureDatabricksDeltaLakeSink;
-
-public final class AzureDatabricksDeltaLakeSinkTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- AzureDatabricksDeltaLakeSink model = BinaryData.fromString(
- "{\"type\":\"AzureDatabricksDeltaLakeSink\",\"preCopyScript\":\"datalwlzekygnep\",\"importSettings\":{\"type\":\"AzureDatabricksDeltaLakeImportCommand\",\"dateFormat\":\"dataxqdrphiyxjq\",\"timestampFormat\":\"datanpztlac\",\"\":{\"ovvyhsorcavkfh\":\"datazsfutaapbrwv\"}},\"writeBatchSize\":\"dataigzwedfteratvpk\",\"writeBatchTimeout\":\"datawrmujizdmh\",\"sinkRetryCount\":\"datafjdiwzgwmumuc\",\"sinkRetryWait\":\"dataq\",\"maxConcurrentConnections\":\"datascva\",\"disableMetricsCollection\":\"dataxgelnjgftqkgavgo\",\"\":{\"krastbkskk\":\"dataxpay\",\"dfmplgdxdt\":\"dataiebmwy\"}}")
- .toObject(AzureDatabricksDeltaLakeSink.class);
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- AzureDatabricksDeltaLakeSink model
- = new AzureDatabricksDeltaLakeSink().withWriteBatchSize("dataigzwedfteratvpk")
- .withWriteBatchTimeout("datawrmujizdmh")
- .withSinkRetryCount("datafjdiwzgwmumuc")
- .withSinkRetryWait("dataq")
- .withMaxConcurrentConnections("datascva")
- .withDisableMetricsCollection("dataxgelnjgftqkgavgo")
- .withPreCopyScript("datalwlzekygnep")
- .withImportSettings(new AzureDatabricksDeltaLakeImportCommand().withDateFormat("dataxqdrphiyxjq")
- .withTimestampFormat("datanpztlac"));
- model = BinaryData.fromObject(model).toObject(AzureDatabricksDeltaLakeSink.class);
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureDatabricksDeltaLakeSourceTests.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureDatabricksDeltaLakeSourceTests.java
deleted file mode 100644
index c410e3dc217e..000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureDatabricksDeltaLakeSourceTests.java
+++ /dev/null
@@ -1,31 +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.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.datafactory.models.AzureDatabricksDeltaLakeExportCommand;
-import com.azure.resourcemanager.datafactory.models.AzureDatabricksDeltaLakeSource;
-
-public final class AzureDatabricksDeltaLakeSourceTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- AzureDatabricksDeltaLakeSource model = BinaryData.fromString(
- "{\"type\":\"AzureDatabricksDeltaLakeSource\",\"query\":\"datasteeksb\",\"exportSettings\":{\"type\":\"AzureDatabricksDeltaLakeExportCommand\",\"dateFormat\":\"datav\",\"timestampFormat\":\"dataoibvv\",\"\":{\"tnqdcgobkcebzr\":\"dataljmzpyukrwvvhcgt\",\"mtjsklkw\":\"datapu\"}},\"sourceRetryCount\":\"dataqqiqckmfxldqtman\",\"sourceRetryWait\":\"dataj\",\"maxConcurrentConnections\":\"datamrfq\",\"disableMetricsCollection\":\"datacdpwlezbfgullq\",\"\":{\"gksrorxejf\":\"datajyxcmqc\",\"ray\":\"dataarphltlf\",\"wbkxdhavegy\":\"dataxzdujpuhbaog\",\"pdatvndvwwejvqpw\":\"dataqsmlbzi\"}}")
- .toObject(AzureDatabricksDeltaLakeSource.class);
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- AzureDatabricksDeltaLakeSource model = new AzureDatabricksDeltaLakeSource()
- .withSourceRetryCount("dataqqiqckmfxldqtman")
- .withSourceRetryWait("dataj")
- .withMaxConcurrentConnections("datamrfq")
- .withDisableMetricsCollection("datacdpwlezbfgullq")
- .withQuery("datasteeksb")
- .withExportSettings(
- new AzureDatabricksDeltaLakeExportCommand().withDateFormat("datav").withTimestampFormat("dataoibvv"));
- model = BinaryData.fromObject(model).toObject(AzureDatabricksDeltaLakeSource.class);
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureFileStorageLocationTests.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureFileStorageLocationTests.java
deleted file mode 100644
index 3fc8ff660adf..000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureFileStorageLocationTests.java
+++ /dev/null
@@ -1,24 +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.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.datafactory.models.AzureFileStorageLocation;
-
-public final class AzureFileStorageLocationTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- AzureFileStorageLocation model = BinaryData.fromString(
- "{\"type\":\"AzureFileStorageLocation\",\"folderPath\":\"datadezvjqw\",\"fileName\":\"dataoyiyaxqv\",\"\":{\"tcz\":\"datai\",\"xyglaetscflw\":\"dataddnvovbooqbmdq\",\"tzcqipsd\":\"datajdtlriefooyycux\"}}")
- .toObject(AzureFileStorageLocation.class);
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- AzureFileStorageLocation model
- = new AzureFileStorageLocation().withFolderPath("datadezvjqw").withFileName("dataoyiyaxqv");
- model = BinaryData.fromObject(model).toObject(AzureFileStorageLocation.class);
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureFileStorageReadSettingsTests.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureFileStorageReadSettingsTests.java
deleted file mode 100644
index 0b7bb158a18a..000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureFileStorageReadSettingsTests.java
+++ /dev/null
@@ -1,35 +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.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.datafactory.models.AzureFileStorageReadSettings;
-
-public final class AzureFileStorageReadSettingsTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- AzureFileStorageReadSettings model = BinaryData.fromString(
- "{\"type\":\"AzureFileStorageReadSettings\",\"recursive\":\"datadqgy\",\"wildcardFolderPath\":\"dataulzguvckpdp\",\"wildcardFileName\":\"datanrjqskikqd\",\"prefix\":\"dataybqtlvofjjsetiz\",\"fileListPath\":\"datanadn\",\"enablePartitionDiscovery\":\"datasbpxlserqgxnh\",\"partitionRootPath\":\"dataccd\",\"deleteFilesAfterCompletion\":\"dataxybn\",\"modifiedDatetimeStart\":\"datahmpmeglolpot\",\"modifiedDatetimeEnd\":\"datamb\",\"maxConcurrentConnections\":\"dataqjrytymfnojjh\",\"disableMetricsCollection\":\"datanthjqgovviv\",\"\":{\"rafet\":\"datay\",\"vpiilgy\":\"datawyt\",\"vpbuk\":\"dataluolgspyqsapnh\",\"oujtcp\":\"dataurqviyfksegwezgf\"}}")
- .toObject(AzureFileStorageReadSettings.class);
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- AzureFileStorageReadSettings model
- = new AzureFileStorageReadSettings().withMaxConcurrentConnections("dataqjrytymfnojjh")
- .withDisableMetricsCollection("datanthjqgovviv")
- .withRecursive("datadqgy")
- .withWildcardFolderPath("dataulzguvckpdp")
- .withWildcardFileName("datanrjqskikqd")
- .withPrefix("dataybqtlvofjjsetiz")
- .withFileListPath("datanadn")
- .withEnablePartitionDiscovery("datasbpxlserqgxnh")
- .withPartitionRootPath("dataccd")
- .withDeleteFilesAfterCompletion("dataxybn")
- .withModifiedDatetimeStart("datahmpmeglolpot")
- .withModifiedDatetimeEnd("datamb");
- model = BinaryData.fromObject(model).toObject(AzureFileStorageReadSettings.class);
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureFileStorageWriteSettingsTests.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureFileStorageWriteSettingsTests.java
deleted file mode 100644
index 8ed38f9e5d8f..000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureFileStorageWriteSettingsTests.java
+++ /dev/null
@@ -1,29 +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.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.datafactory.models.AzureFileStorageWriteSettings;
-import com.azure.resourcemanager.datafactory.models.MetadataItem;
-import java.util.Arrays;
-
-public final class AzureFileStorageWriteSettingsTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- AzureFileStorageWriteSettings model = BinaryData.fromString(
- "{\"type\":\"AzureFileStorageWriteSettings\",\"maxConcurrentConnections\":\"dataduttqjtszqexc\",\"disableMetricsCollection\":\"datawbxx\",\"copyBehavior\":\"datavekqjdrumlvk\",\"metadata\":[{\"name\":\"datahhlfvmw\",\"value\":\"dataarswsvtzotmwxq\"}],\"\":{\"wrtmjskb\":\"datadanfexlawkeqjhz\",\"mvounbyvsfqu\":\"dataenjnady\",\"xqbknoxjhedwh\":\"datar\",\"rpajbiig\":\"datamwb\"}}")
- .toObject(AzureFileStorageWriteSettings.class);
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- AzureFileStorageWriteSettings model = new AzureFileStorageWriteSettings()
- .withMaxConcurrentConnections("dataduttqjtszqexc")
- .withDisableMetricsCollection("datawbxx")
- .withCopyBehavior("datavekqjdrumlvk")
- .withMetadata(Arrays.asList(new MetadataItem().withName("datahhlfvmw").withValue("dataarswsvtzotmwxq")));
- model = BinaryData.fromObject(model).toObject(AzureFileStorageWriteSettings.class);
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureFunctionActivityTests.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureFunctionActivityTests.java
deleted file mode 100644
index 004d854c7db4..000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureFunctionActivityTests.java
+++ /dev/null
@@ -1,104 +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.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.datafactory.models.ActivityDependency;
-import com.azure.resourcemanager.datafactory.models.ActivityOnInactiveMarkAs;
-import com.azure.resourcemanager.datafactory.models.ActivityPolicy;
-import com.azure.resourcemanager.datafactory.models.ActivityState;
-import com.azure.resourcemanager.datafactory.models.AzureFunctionActivity;
-import com.azure.resourcemanager.datafactory.models.AzureFunctionActivityMethod;
-import com.azure.resourcemanager.datafactory.models.DependencyCondition;
-import com.azure.resourcemanager.datafactory.models.LinkedServiceReference;
-import com.azure.resourcemanager.datafactory.models.UserProperty;
-import java.util.Arrays;
-import java.util.HashMap;
-import java.util.Map;
-import org.junit.jupiter.api.Assertions;
-
-public final class AzureFunctionActivityTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- AzureFunctionActivity model = BinaryData.fromString(
- "{\"type\":\"AzureFunctionActivity\",\"typeProperties\":{\"method\":\"POST\",\"functionName\":\"datanyehh\",\"headers\":{\"ka\":\"datajrmxazkqiqzaea\",\"xivhozhr\":\"datapokf\"},\"body\":\"datavfljxljgtirnpazr\"},\"linkedServiceName\":{\"referenceName\":\"hyzufkzqtv\",\"parameters\":{\"ahdkeayu\":\"datayzihuupeflkwbvxn\"}},\"policy\":{\"timeout\":\"datavpnemydntupbrv\",\"retry\":\"datatblxa\",\"retryIntervalInSeconds\":1508140667,\"secureInput\":true,\"secureOutput\":true,\"\":{\"lsnkwullvukwy\":\"dataxuaidrbz\",\"andjjqhinsv\":\"dataosjz\",\"jrotqdi\":\"dataou\",\"jqkg\":\"dataxffiwrfocbetl\"}},\"name\":\"rvjawaxv\",\"description\":\"jlcj\",\"state\":\"Inactive\",\"onInactiveMarkAs\":\"Skipped\",\"dependsOn\":[{\"activity\":\"e\",\"dependencyConditions\":[\"Completed\"],\"\":{\"zbjieeivdrqtlcx\":\"datac\"}},{\"activity\":\"ogykrmf\",\"dependencyConditions\":[\"Succeeded\",\"Succeeded\",\"Completed\"],\"\":{\"mgberxnlj\":\"datavgroewhsnpcwy\"}},{\"activity\":\"vujsnzuebyznkdb\",\"dependencyConditions\":[\"Completed\"],\"\":{\"gksfjqfeeqh\":\"datamnztzhqs\",\"rbdtlikba\":\"datacwrrne\"}},{\"activity\":\"mrqponu\",\"dependencyConditions\":[\"Completed\",\"Succeeded\",\"Failed\",\"Succeeded\"],\"\":{\"vvggvnqpar\":\"dataxps\"}}],\"userProperties\":[{\"name\":\"gdkovytjsrboqamq\",\"value\":\"dataqvukjtcdppdmm\"},{\"name\":\"dubccclt\",\"value\":\"datagx\"}],\"\":{\"kvydvdj\":\"dataiix\",\"yswlmxepygkfuwgk\":\"datagdharlrfay\"}}")
- .toObject(AzureFunctionActivity.class);
- Assertions.assertEquals("rvjawaxv", model.name());
- Assertions.assertEquals("jlcj", model.description());
- Assertions.assertEquals(ActivityState.INACTIVE, model.state());
- Assertions.assertEquals(ActivityOnInactiveMarkAs.SKIPPED, model.onInactiveMarkAs());
- Assertions.assertEquals("e", model.dependsOn().get(0).activity());
- Assertions.assertEquals(DependencyCondition.COMPLETED, model.dependsOn().get(0).dependencyConditions().get(0));
- Assertions.assertEquals("gdkovytjsrboqamq", model.userProperties().get(0).name());
- Assertions.assertEquals("hyzufkzqtv", model.linkedServiceName().referenceName());
- Assertions.assertEquals(1508140667, model.policy().retryIntervalInSeconds());
- Assertions.assertEquals(true, model.policy().secureInput());
- Assertions.assertEquals(true, model.policy().secureOutput());
- Assertions.assertEquals(AzureFunctionActivityMethod.POST, model.method());
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- AzureFunctionActivity model = new AzureFunctionActivity().withName("rvjawaxv")
- .withDescription("jlcj")
- .withState(ActivityState.INACTIVE)
- .withOnInactiveMarkAs(ActivityOnInactiveMarkAs.SKIPPED)
- .withDependsOn(Arrays.asList(
- new ActivityDependency().withActivity("e")
- .withDependencyConditions(Arrays.asList(DependencyCondition.COMPLETED))
- .withAdditionalProperties(mapOf()),
- new ActivityDependency().withActivity("ogykrmf")
- .withDependencyConditions(Arrays.asList(DependencyCondition.SUCCEEDED,
- DependencyCondition.SUCCEEDED, DependencyCondition.COMPLETED))
- .withAdditionalProperties(mapOf()),
- new ActivityDependency().withActivity("vujsnzuebyznkdb")
- .withDependencyConditions(Arrays.asList(DependencyCondition.COMPLETED))
- .withAdditionalProperties(mapOf()),
- new ActivityDependency().withActivity("mrqponu")
- .withDependencyConditions(Arrays.asList(DependencyCondition.COMPLETED,
- DependencyCondition.SUCCEEDED, DependencyCondition.FAILED, DependencyCondition.SUCCEEDED))
- .withAdditionalProperties(mapOf())))
- .withUserProperties(
- Arrays.asList(new UserProperty().withName("gdkovytjsrboqamq").withValue("dataqvukjtcdppdmm"),
- new UserProperty().withName("dubccclt").withValue("datagx")))
- .withLinkedServiceName(new LinkedServiceReference().withReferenceName("hyzufkzqtv")
- .withParameters(mapOf("ahdkeayu", "datayzihuupeflkwbvxn")))
- .withPolicy(new ActivityPolicy().withTimeout("datavpnemydntupbrv")
- .withRetry("datatblxa")
- .withRetryIntervalInSeconds(1508140667)
- .withSecureInput(true)
- .withSecureOutput(true)
- .withAdditionalProperties(mapOf()))
- .withMethod(AzureFunctionActivityMethod.POST)
- .withFunctionName("datanyehh")
- .withHeaders(mapOf("ka", "datajrmxazkqiqzaea", "xivhozhr", "datapokf"))
- .withBody("datavfljxljgtirnpazr");
- model = BinaryData.fromObject(model).toObject(AzureFunctionActivity.class);
- Assertions.assertEquals("rvjawaxv", model.name());
- Assertions.assertEquals("jlcj", model.description());
- Assertions.assertEquals(ActivityState.INACTIVE, model.state());
- Assertions.assertEquals(ActivityOnInactiveMarkAs.SKIPPED, model.onInactiveMarkAs());
- Assertions.assertEquals("e", model.dependsOn().get(0).activity());
- Assertions.assertEquals(DependencyCondition.COMPLETED, model.dependsOn().get(0).dependencyConditions().get(0));
- Assertions.assertEquals("gdkovytjsrboqamq", model.userProperties().get(0).name());
- Assertions.assertEquals("hyzufkzqtv", model.linkedServiceName().referenceName());
- Assertions.assertEquals(1508140667, model.policy().retryIntervalInSeconds());
- Assertions.assertEquals(true, model.policy().secureInput());
- Assertions.assertEquals(true, model.policy().secureOutput());
- Assertions.assertEquals(AzureFunctionActivityMethod.POST, model.method());
- }
-
- // Use "Map.of" if available
- @SuppressWarnings("unchecked")
- private static Map mapOf(Object... inputs) {
- Map map = new HashMap<>();
- for (int i = 0; i < inputs.length; i += 2) {
- String key = (String) inputs[i];
- T value = (T) inputs[i + 1];
- map.put(key, value);
- }
- return map;
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureFunctionActivityTypePropertiesTests.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureFunctionActivityTypePropertiesTests.java
deleted file mode 100644
index 723da6f79f02..000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureFunctionActivityTypePropertiesTests.java
+++ /dev/null
@@ -1,46 +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.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.datafactory.fluent.models.AzureFunctionActivityTypeProperties;
-import com.azure.resourcemanager.datafactory.models.AzureFunctionActivityMethod;
-import java.util.HashMap;
-import java.util.Map;
-import org.junit.jupiter.api.Assertions;
-
-public final class AzureFunctionActivityTypePropertiesTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- AzureFunctionActivityTypeProperties model = BinaryData.fromString(
- "{\"method\":\"POST\",\"functionName\":\"datajqtk\",\"headers\":{\"kj\":\"datamq\",\"cvmhpueiuhhnexnx\":\"dataczpzwfewbj\",\"lipymnukv\":\"datawafi\",\"liodyuu\":\"datajbxvhu\"},\"body\":\"dataqplj\"}")
- .toObject(AzureFunctionActivityTypeProperties.class);
- Assertions.assertEquals(AzureFunctionActivityMethod.POST, model.method());
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- AzureFunctionActivityTypeProperties model
- = new AzureFunctionActivityTypeProperties().withMethod(AzureFunctionActivityMethod.POST)
- .withFunctionName("datajqtk")
- .withHeaders(mapOf("kj", "datamq", "cvmhpueiuhhnexnx", "dataczpzwfewbj", "lipymnukv", "datawafi",
- "liodyuu", "datajbxvhu"))
- .withBody("dataqplj");
- model = BinaryData.fromObject(model).toObject(AzureFunctionActivityTypeProperties.class);
- Assertions.assertEquals(AzureFunctionActivityMethod.POST, model.method());
- }
-
- // Use "Map.of" if available
- @SuppressWarnings("unchecked")
- private static Map mapOf(Object... inputs) {
- Map map = new HashMap<>();
- for (int i = 0; i < inputs.length; i += 2) {
- String key = (String) inputs[i];
- T value = (T) inputs[i + 1];
- map.put(key, value);
- }
- return map;
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureMLBatchExecutionActivityTests.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureMLBatchExecutionActivityTests.java
deleted file mode 100644
index 793e68ac3b4e..000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureMLBatchExecutionActivityTests.java
+++ /dev/null
@@ -1,134 +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.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.datafactory.models.ActivityDependency;
-import com.azure.resourcemanager.datafactory.models.ActivityOnInactiveMarkAs;
-import com.azure.resourcemanager.datafactory.models.ActivityPolicy;
-import com.azure.resourcemanager.datafactory.models.ActivityState;
-import com.azure.resourcemanager.datafactory.models.AzureMLBatchExecutionActivity;
-import com.azure.resourcemanager.datafactory.models.AzureMLWebServiceFile;
-import com.azure.resourcemanager.datafactory.models.DependencyCondition;
-import com.azure.resourcemanager.datafactory.models.LinkedServiceReference;
-import com.azure.resourcemanager.datafactory.models.UserProperty;
-import java.util.Arrays;
-import java.util.HashMap;
-import java.util.Map;
-import org.junit.jupiter.api.Assertions;
-
-public final class AzureMLBatchExecutionActivityTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- AzureMLBatchExecutionActivity model = BinaryData.fromString(
- "{\"type\":\"AzureMLBatchExecution\",\"typeProperties\":{\"globalParameters\":{\"hghorgji\":\"datajaktgtwvzp\",\"bqdsuaazkouvvgcw\":\"dataragqcwcdbtopuyi\",\"gaofwo\":\"dataimhjbxwr\",\"xp\":\"dataz\"},\"webServiceOutputs\":{\"euegrdit\":{\"filePath\":\"datax\",\"linkedServiceName\":{\"referenceName\":\"m\",\"parameters\":{\"uxjh\":\"datafsh\",\"uz\":\"datauzirhcghnclfahr\"}}},\"xabtlmszqaudaip\":{\"filePath\":\"dataptpq\",\"linkedServiceName\":{\"referenceName\":\"ajggmmiwoisql\",\"parameters\":{\"cptoihoyvua\":\"datafycnpovnjzaaox\",\"gslqpz\":\"datafju\",\"vfbzzscepo\":\"dataxwdanlgc\",\"yiuhjqdw\":\"datagzppufueiaiece\"}}}},\"webServiceInputs\":{\"qgivyxoj\":{\"filePath\":\"dataxjkopivszejb\",\"linkedServiceName\":{\"referenceName\":\"trmhabzjemqvl\",\"parameters\":{\"cgqh\":\"datacaxnbqsjz\"}}},\"aubhrbtthzfgpzy\":{\"filePath\":\"datamussvurslwd\",\"linkedServiceName\":{\"referenceName\":\"n\",\"parameters\":{\"daql\":\"dataalv\",\"whtws\":\"datasoqrhwla\",\"srvtrwswb\":\"dataliwpzucetzi\"}}},\"dyxjicikzm\":{\"filePath\":\"dataivusehyvqxjbqfcl\",\"linkedServiceName\":{\"referenceName\":\"jecajtuo\",\"parameters\":{\"xn\":\"datalzxuakbavpk\",\"vsgx\":\"datarbckfzb\",\"htlvja\":\"dataijnvsjgnbdhhqs\"}}},\"emsl\":{\"filePath\":\"datadddfjmirbnfc\",\"linkedServiceName\":{\"referenceName\":\"l\",\"parameters\":{\"q\":\"datavpfspfdfrymrf\",\"w\":\"dataxln\",\"qhzotkowi\":\"datagi\",\"wymrmuioepi\":\"datauerhzyl\"}}}}},\"linkedServiceName\":{\"referenceName\":\"tvryszqzvemwne\",\"parameters\":{\"ywdgrskdlt\":\"datawjcgryolbqcft\",\"vmcxljlpyh\":\"datafzyijn\"}},\"policy\":{\"timeout\":\"datadjgcuew\",\"retry\":\"dataqbqgfq\",\"retryIntervalInSeconds\":1286883147,\"secureInput\":true,\"secureOutput\":true,\"\":{\"oubjnmoid\":\"datajmxvvtuk\",\"cgmfklqswwdbs\":\"datanbfbkwyvw\",\"vo\":\"dataghysedqrb\",\"yibycoupksa\":\"dataqrwngfyjfquzxmtm\"}},\"name\":\"djkrosqxvffrn\",\"description\":\"wvjgyjoklngjs\",\"state\":\"Inactive\",\"onInactiveMarkAs\":\"Failed\",\"dependsOn\":[{\"activity\":\"sqdnasj\",\"dependencyConditions\":[\"Succeeded\",\"Failed\"],\"\":{\"bvqsl\":\"datakszzbdtvrgy\",\"uqvq\":\"datak\",\"atyqawtfyzqo\":\"dataotvfcbgffdlff\"}},{\"activity\":\"glixhapvwacwrcte\",\"dependencyConditions\":[\"Completed\",\"Skipped\",\"Failed\"],\"\":{\"ble\":\"datazncoxeop\"}},{\"activity\":\"axrsyxeqwgaeice\",\"dependencyConditions\":[\"Completed\"],\"\":{\"cxkywypztssq\":\"dataci\",\"wzwvttkh\":\"dataclaec\",\"qjqjkhqa\":\"dataxqyinfd\"}}],\"userProperties\":[{\"name\":\"czaqgevsnnqvkuf\",\"value\":\"datazwgw\"},{\"name\":\"dv\",\"value\":\"dataskffqqaobbq\"}],\"\":{\"ykhtsycct\":\"datajusqhrvadffdr\",\"siembc\":\"datarvn\",\"ixjkxvz\":\"datatzmldw\",\"orqbmkfo\":\"dataa\"}}")
- .toObject(AzureMLBatchExecutionActivity.class);
- Assertions.assertEquals("djkrosqxvffrn", model.name());
- Assertions.assertEquals("wvjgyjoklngjs", model.description());
- Assertions.assertEquals(ActivityState.INACTIVE, model.state());
- Assertions.assertEquals(ActivityOnInactiveMarkAs.FAILED, model.onInactiveMarkAs());
- Assertions.assertEquals("sqdnasj", model.dependsOn().get(0).activity());
- Assertions.assertEquals(DependencyCondition.SUCCEEDED, model.dependsOn().get(0).dependencyConditions().get(0));
- Assertions.assertEquals("czaqgevsnnqvkuf", model.userProperties().get(0).name());
- Assertions.assertEquals("tvryszqzvemwne", model.linkedServiceName().referenceName());
- Assertions.assertEquals(1286883147, model.policy().retryIntervalInSeconds());
- Assertions.assertEquals(true, model.policy().secureInput());
- Assertions.assertEquals(true, model.policy().secureOutput());
- Assertions.assertEquals("m", model.webServiceOutputs().get("euegrdit").linkedServiceName().referenceName());
- Assertions.assertEquals("trmhabzjemqvl",
- model.webServiceInputs().get("qgivyxoj").linkedServiceName().referenceName());
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- AzureMLBatchExecutionActivity model
- = new AzureMLBatchExecutionActivity().withName("djkrosqxvffrn")
- .withDescription("wvjgyjoklngjs")
- .withState(ActivityState.INACTIVE)
- .withOnInactiveMarkAs(ActivityOnInactiveMarkAs.FAILED)
- .withDependsOn(Arrays.asList(
- new ActivityDependency().withActivity("sqdnasj")
- .withDependencyConditions(
- Arrays.asList(DependencyCondition.SUCCEEDED, DependencyCondition.FAILED))
- .withAdditionalProperties(mapOf()),
- new ActivityDependency().withActivity("glixhapvwacwrcte")
- .withDependencyConditions(Arrays.asList(DependencyCondition.COMPLETED,
- DependencyCondition.SKIPPED, DependencyCondition.FAILED))
- .withAdditionalProperties(mapOf()),
- new ActivityDependency().withActivity("axrsyxeqwgaeice")
- .withDependencyConditions(Arrays.asList(DependencyCondition.COMPLETED))
- .withAdditionalProperties(mapOf())))
- .withUserProperties(Arrays.asList(new UserProperty().withName("czaqgevsnnqvkuf").withValue("datazwgw"),
- new UserProperty().withName("dv").withValue("dataskffqqaobbq")))
- .withLinkedServiceName(new LinkedServiceReference().withReferenceName("tvryszqzvemwne")
- .withParameters(mapOf("ywdgrskdlt", "datawjcgryolbqcft", "vmcxljlpyh", "datafzyijn")))
- .withPolicy(new ActivityPolicy().withTimeout("datadjgcuew")
- .withRetry("dataqbqgfq")
- .withRetryIntervalInSeconds(1286883147)
- .withSecureInput(true)
- .withSecureOutput(true)
- .withAdditionalProperties(mapOf()))
- .withGlobalParameters(mapOf("hghorgji", "datajaktgtwvzp", "bqdsuaazkouvvgcw", "dataragqcwcdbtopuyi",
- "gaofwo", "dataimhjbxwr", "xp", "dataz"))
- .withWebServiceOutputs(
- mapOf("euegrdit",
- new AzureMLWebServiceFile().withFilePath("datax")
- .withLinkedServiceName(new LinkedServiceReference().withReferenceName("m")
- .withParameters(mapOf("uxjh", "datafsh", "uz", "datauzirhcghnclfahr"))),
- "xabtlmszqaudaip",
- new AzureMLWebServiceFile().withFilePath("dataptpq")
- .withLinkedServiceName(new LinkedServiceReference().withReferenceName("ajggmmiwoisql")
- .withParameters(mapOf("cptoihoyvua", "datafycnpovnjzaaox", "gslqpz", "datafju",
- "vfbzzscepo", "dataxwdanlgc", "yiuhjqdw", "datagzppufueiaiece")))))
- .withWebServiceInputs(
- mapOf("qgivyxoj",
- new AzureMLWebServiceFile().withFilePath("dataxjkopivszejb")
- .withLinkedServiceName(new LinkedServiceReference().withReferenceName("trmhabzjemqvl")
- .withParameters(mapOf("cgqh", "datacaxnbqsjz"))),
- "aubhrbtthzfgpzy",
- new AzureMLWebServiceFile().withFilePath("datamussvurslwd")
- .withLinkedServiceName(
- new LinkedServiceReference().withReferenceName("n")
- .withParameters(mapOf("daql", "dataalv", "whtws", "datasoqrhwla", "srvtrwswb",
- "dataliwpzucetzi"))),
- "dyxjicikzm",
- new AzureMLWebServiceFile().withFilePath("dataivusehyvqxjbqfcl")
- .withLinkedServiceName(new LinkedServiceReference().withReferenceName("jecajtuo")
- .withParameters(mapOf("xn", "datalzxuakbavpk", "vsgx", "datarbckfzb", "htlvja",
- "dataijnvsjgnbdhhqs"))),
- "emsl",
- new AzureMLWebServiceFile().withFilePath("datadddfjmirbnfc")
- .withLinkedServiceName(new LinkedServiceReference().withReferenceName("l")
- .withParameters(mapOf("q", "datavpfspfdfrymrf", "w", "dataxln", "qhzotkowi", "datagi",
- "wymrmuioepi", "datauerhzyl")))));
- model = BinaryData.fromObject(model).toObject(AzureMLBatchExecutionActivity.class);
- Assertions.assertEquals("djkrosqxvffrn", model.name());
- Assertions.assertEquals("wvjgyjoklngjs", model.description());
- Assertions.assertEquals(ActivityState.INACTIVE, model.state());
- Assertions.assertEquals(ActivityOnInactiveMarkAs.FAILED, model.onInactiveMarkAs());
- Assertions.assertEquals("sqdnasj", model.dependsOn().get(0).activity());
- Assertions.assertEquals(DependencyCondition.SUCCEEDED, model.dependsOn().get(0).dependencyConditions().get(0));
- Assertions.assertEquals("czaqgevsnnqvkuf", model.userProperties().get(0).name());
- Assertions.assertEquals("tvryszqzvemwne", model.linkedServiceName().referenceName());
- Assertions.assertEquals(1286883147, model.policy().retryIntervalInSeconds());
- Assertions.assertEquals(true, model.policy().secureInput());
- Assertions.assertEquals(true, model.policy().secureOutput());
- Assertions.assertEquals("m", model.webServiceOutputs().get("euegrdit").linkedServiceName().referenceName());
- Assertions.assertEquals("trmhabzjemqvl",
- model.webServiceInputs().get("qgivyxoj").linkedServiceName().referenceName());
- }
-
- // Use "Map.of" if available
- @SuppressWarnings("unchecked")
- private static Map mapOf(Object... inputs) {
- Map map = new HashMap<>();
- for (int i = 0; i < inputs.length; i += 2) {
- String key = (String) inputs[i];
- T value = (T) inputs[i + 1];
- map.put(key, value);
- }
- return map;
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureMLBatchExecutionActivityTypePropertiesTests.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureMLBatchExecutionActivityTypePropertiesTests.java
deleted file mode 100644
index 84d71337b488..000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureMLBatchExecutionActivityTypePropertiesTests.java
+++ /dev/null
@@ -1,69 +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.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.datafactory.fluent.models.AzureMLBatchExecutionActivityTypeProperties;
-import com.azure.resourcemanager.datafactory.models.AzureMLWebServiceFile;
-import com.azure.resourcemanager.datafactory.models.LinkedServiceReference;
-import java.util.HashMap;
-import java.util.Map;
-import org.junit.jupiter.api.Assertions;
-
-public final class AzureMLBatchExecutionActivityTypePropertiesTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- AzureMLBatchExecutionActivityTypeProperties model = BinaryData.fromString(
- "{\"globalParameters\":{\"vinvzdnubs\":\"dataaqfqgmwdo\",\"ilbiwacxldho\":\"dataskgiy\",\"cvtbgznpx\":\"datacdpwxh\",\"zo\":\"dataxcshtlqhikmfzdlh\"},\"webServiceOutputs\":{\"tnyvigjbxhjpsgpr\":{\"filePath\":\"datauziaztmxwmjaevw\",\"linkedServiceName\":{\"referenceName\":\"dn\",\"parameters\":{\"vdykxg\":\"datakunhwdirtiyraqy\",\"bycraryxrttn\":\"datafhvhynsyhzysuoq\",\"tstlgdvvpxhdefy\":\"datajhjbfoemm\",\"jyqhcowouoih\":\"dataitbjmva\"}}},\"ni\":{\"filePath\":\"datampzb\",\"linkedServiceName\":{\"referenceName\":\"iakyflryhvph\",\"parameters\":{\"bgstmlhrziggcaz\":\"dataiyidzbpfwlxxwpy\"}}},\"fggheqllrp\":{\"filePath\":\"datakkengowcut\",\"linkedServiceName\":{\"referenceName\":\"hmxmjm\",\"parameters\":{\"iimennxvqjakqd\":\"dataich\",\"zuuguze\":\"datannef\"}}}},\"webServiceInputs\":{\"pdovlp\":{\"filePath\":\"dataxqfkrvmvdqhageh\",\"linkedServiceName\":{\"referenceName\":\"hqeqtlsi\",\"parameters\":{\"gwidgx\":\"datagtupkmvxeub\"}}},\"fxkud\":{\"filePath\":\"datamcmfvyhmivyblt\",\"linkedServiceName\":{\"referenceName\":\"akmtvoprg\",\"parameters\":{\"orxibw\":\"datay\"}}}}}")
- .toObject(AzureMLBatchExecutionActivityTypeProperties.class);
- Assertions.assertEquals("dn",
- model.webServiceOutputs().get("tnyvigjbxhjpsgpr").linkedServiceName().referenceName());
- Assertions.assertEquals("hqeqtlsi", model.webServiceInputs().get("pdovlp").linkedServiceName().referenceName());
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- AzureMLBatchExecutionActivityTypeProperties model = new AzureMLBatchExecutionActivityTypeProperties()
- .withGlobalParameters(mapOf("vinvzdnubs", "dataaqfqgmwdo", "ilbiwacxldho", "dataskgiy", "cvtbgznpx",
- "datacdpwxh", "zo", "dataxcshtlqhikmfzdlh"))
- .withWebServiceOutputs(mapOf("tnyvigjbxhjpsgpr",
- new AzureMLWebServiceFile().withFilePath("datauziaztmxwmjaevw")
- .withLinkedServiceName(new LinkedServiceReference().withReferenceName("dn")
- .withParameters(mapOf("vdykxg", "datakunhwdirtiyraqy", "bycraryxrttn", "datafhvhynsyhzysuoq",
- "tstlgdvvpxhdefy", "datajhjbfoemm", "jyqhcowouoih", "dataitbjmva"))),
- "ni",
- new AzureMLWebServiceFile().withFilePath("datampzb")
- .withLinkedServiceName(new LinkedServiceReference().withReferenceName("iakyflryhvph")
- .withParameters(mapOf("bgstmlhrziggcaz", "dataiyidzbpfwlxxwpy"))),
- "fggheqllrp",
- new AzureMLWebServiceFile().withFilePath("datakkengowcut")
- .withLinkedServiceName(new LinkedServiceReference().withReferenceName("hmxmjm")
- .withParameters(mapOf("iimennxvqjakqd", "dataich", "zuuguze", "datannef")))))
- .withWebServiceInputs(mapOf("pdovlp",
- new AzureMLWebServiceFile().withFilePath("dataxqfkrvmvdqhageh")
- .withLinkedServiceName(new LinkedServiceReference().withReferenceName("hqeqtlsi")
- .withParameters(mapOf("gwidgx", "datagtupkmvxeub"))),
- "fxkud",
- new AzureMLWebServiceFile().withFilePath("datamcmfvyhmivyblt")
- .withLinkedServiceName(new LinkedServiceReference().withReferenceName("akmtvoprg")
- .withParameters(mapOf("orxibw", "datay")))));
- model = BinaryData.fromObject(model).toObject(AzureMLBatchExecutionActivityTypeProperties.class);
- Assertions.assertEquals("dn",
- model.webServiceOutputs().get("tnyvigjbxhjpsgpr").linkedServiceName().referenceName());
- Assertions.assertEquals("hqeqtlsi", model.webServiceInputs().get("pdovlp").linkedServiceName().referenceName());
- }
-
- // Use "Map.of" if available
- @SuppressWarnings("unchecked")
- private static Map mapOf(Object... inputs) {
- Map map = new HashMap<>();
- for (int i = 0; i < inputs.length; i += 2) {
- String key = (String) inputs[i];
- T value = (T) inputs[i + 1];
- map.put(key, value);
- }
- return map;
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureMLExecutePipelineActivityTests.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureMLExecutePipelineActivityTests.java
deleted file mode 100644
index 99a84f6c3e4f..000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureMLExecutePipelineActivityTests.java
+++ /dev/null
@@ -1,99 +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.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.datafactory.models.ActivityDependency;
-import com.azure.resourcemanager.datafactory.models.ActivityOnInactiveMarkAs;
-import com.azure.resourcemanager.datafactory.models.ActivityPolicy;
-import com.azure.resourcemanager.datafactory.models.ActivityState;
-import com.azure.resourcemanager.datafactory.models.AzureMLExecutePipelineActivity;
-import com.azure.resourcemanager.datafactory.models.DependencyCondition;
-import com.azure.resourcemanager.datafactory.models.LinkedServiceReference;
-import com.azure.resourcemanager.datafactory.models.UserProperty;
-import java.util.Arrays;
-import java.util.HashMap;
-import java.util.Map;
-import org.junit.jupiter.api.Assertions;
-
-public final class AzureMLExecutePipelineActivityTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- AzureMLExecutePipelineActivity model = BinaryData.fromString(
- "{\"type\":\"AzureMLExecutePipeline\",\"typeProperties\":{\"mlPipelineId\":\"datamymalvoydqgelc\",\"mlPipelineEndpointId\":\"dataccco\",\"version\":\"dataljzqvevmzpo\",\"experimentName\":\"datah\",\"mlPipelineParameters\":\"dataipnbdkhvxt\",\"dataPathAssignments\":\"dataihydwkdvy\",\"mlParentRunId\":\"datazqjpyq\",\"continueOnStepFailure\":\"dataqydtllpwzaya\"},\"linkedServiceName\":{\"referenceName\":\"ell\",\"parameters\":{\"edsnubirusknpy\":\"dataplhre\"}},\"policy\":{\"timeout\":\"datatoktrjwnqfdgcr\",\"retry\":\"datagktmzooszvungkkf\",\"retryIntervalInSeconds\":1773094085,\"secureInput\":false,\"secureOutput\":false,\"\":{\"pidb\":\"datatyeqeasiadscjha\",\"lcowb\":\"dataqvi\",\"w\":\"datapvmndqmzcgqedono\",\"eaahnkntldddk\":\"datawhvqkeuiy\"}},\"name\":\"pvusigw\",\"description\":\"qnxrrji\",\"state\":\"Active\",\"onInactiveMarkAs\":\"Skipped\",\"dependsOn\":[{\"activity\":\"ksoodqnouwxkeql\",\"dependencyConditions\":[\"Failed\",\"Failed\",\"Skipped\",\"Succeeded\"],\"\":{\"hxlcvzqhtgtadtoo\":\"datanqvudfi\"}},{\"activity\":\"k\",\"dependencyConditions\":[\"Skipped\",\"Failed\"],\"\":{\"petwgtmpytom\":\"datanlqwxskltz\",\"g\":\"datatubhvb\",\"zdazxfz\":\"datavpyjpaih\",\"sjnlekotqhd\":\"datallihwpsrdaoixgqt\"}}],\"userProperties\":[{\"name\":\"kn\",\"value\":\"datahyoimtfk\"},{\"name\":\"cdjswxeknhvcc\",\"value\":\"datauntghwcbgc\"},{\"name\":\"gbyfcbcak\",\"value\":\"dataqvhwzeukuml\"},{\"name\":\"f\",\"value\":\"databo\"}],\"\":{\"muiqir\":\"datawaiywzgv\",\"zbnqmxirspj\":\"datasznxz\",\"zisdnbourw\":\"dataakrbew\",\"sdluquyxgmzyqftl\":\"datag\"}}")
- .toObject(AzureMLExecutePipelineActivity.class);
- Assertions.assertEquals("pvusigw", model.name());
- Assertions.assertEquals("qnxrrji", model.description());
- Assertions.assertEquals(ActivityState.ACTIVE, model.state());
- Assertions.assertEquals(ActivityOnInactiveMarkAs.SKIPPED, model.onInactiveMarkAs());
- Assertions.assertEquals("ksoodqnouwxkeql", model.dependsOn().get(0).activity());
- Assertions.assertEquals(DependencyCondition.FAILED, model.dependsOn().get(0).dependencyConditions().get(0));
- Assertions.assertEquals("kn", model.userProperties().get(0).name());
- Assertions.assertEquals("ell", model.linkedServiceName().referenceName());
- Assertions.assertEquals(1773094085, model.policy().retryIntervalInSeconds());
- Assertions.assertEquals(false, model.policy().secureInput());
- Assertions.assertEquals(false, model.policy().secureOutput());
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- AzureMLExecutePipelineActivity model = new AzureMLExecutePipelineActivity().withName("pvusigw")
- .withDescription("qnxrrji")
- .withState(ActivityState.ACTIVE)
- .withOnInactiveMarkAs(ActivityOnInactiveMarkAs.SKIPPED)
- .withDependsOn(Arrays.asList(
- new ActivityDependency().withActivity("ksoodqnouwxkeql")
- .withDependencyConditions(Arrays.asList(DependencyCondition.FAILED, DependencyCondition.FAILED,
- DependencyCondition.SKIPPED, DependencyCondition.SUCCEEDED))
- .withAdditionalProperties(mapOf()),
- new ActivityDependency().withActivity("k")
- .withDependencyConditions(Arrays.asList(DependencyCondition.SKIPPED, DependencyCondition.FAILED))
- .withAdditionalProperties(mapOf())))
- .withUserProperties(Arrays.asList(new UserProperty().withName("kn").withValue("datahyoimtfk"),
- new UserProperty().withName("cdjswxeknhvcc").withValue("datauntghwcbgc"),
- new UserProperty().withName("gbyfcbcak").withValue("dataqvhwzeukuml"),
- new UserProperty().withName("f").withValue("databo")))
- .withLinkedServiceName(new LinkedServiceReference().withReferenceName("ell")
- .withParameters(mapOf("edsnubirusknpy", "dataplhre")))
- .withPolicy(new ActivityPolicy().withTimeout("datatoktrjwnqfdgcr")
- .withRetry("datagktmzooszvungkkf")
- .withRetryIntervalInSeconds(1773094085)
- .withSecureInput(false)
- .withSecureOutput(false)
- .withAdditionalProperties(mapOf()))
- .withMlPipelineId("datamymalvoydqgelc")
- .withMlPipelineEndpointId("dataccco")
- .withVersion("dataljzqvevmzpo")
- .withExperimentName("datah")
- .withMlPipelineParameters("dataipnbdkhvxt")
- .withDataPathAssignments("dataihydwkdvy")
- .withMlParentRunId("datazqjpyq")
- .withContinueOnStepFailure("dataqydtllpwzaya");
- model = BinaryData.fromObject(model).toObject(AzureMLExecutePipelineActivity.class);
- Assertions.assertEquals("pvusigw", model.name());
- Assertions.assertEquals("qnxrrji", model.description());
- Assertions.assertEquals(ActivityState.ACTIVE, model.state());
- Assertions.assertEquals(ActivityOnInactiveMarkAs.SKIPPED, model.onInactiveMarkAs());
- Assertions.assertEquals("ksoodqnouwxkeql", model.dependsOn().get(0).activity());
- Assertions.assertEquals(DependencyCondition.FAILED, model.dependsOn().get(0).dependencyConditions().get(0));
- Assertions.assertEquals("kn", model.userProperties().get(0).name());
- Assertions.assertEquals("ell", model.linkedServiceName().referenceName());
- Assertions.assertEquals(1773094085, model.policy().retryIntervalInSeconds());
- Assertions.assertEquals(false, model.policy().secureInput());
- Assertions.assertEquals(false, model.policy().secureOutput());
- }
-
- // Use "Map.of" if available
- @SuppressWarnings("unchecked")
- private static Map mapOf(Object... inputs) {
- Map map = new HashMap<>();
- for (int i = 0; i < inputs.length; i += 2) {
- String key = (String) inputs[i];
- T value = (T) inputs[i + 1];
- map.put(key, value);
- }
- return map;
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureMLExecutePipelineActivityTypePropertiesTests.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureMLExecutePipelineActivityTypePropertiesTests.java
deleted file mode 100644
index 7f9426d8fc7b..000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureMLExecutePipelineActivityTypePropertiesTests.java
+++ /dev/null
@@ -1,31 +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.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.datafactory.fluent.models.AzureMLExecutePipelineActivityTypeProperties;
-
-public final class AzureMLExecutePipelineActivityTypePropertiesTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- AzureMLExecutePipelineActivityTypeProperties model = BinaryData.fromString(
- "{\"mlPipelineId\":\"dataecoufnxtynusqz\",\"mlPipelineEndpointId\":\"datanztwnylk\",\"version\":\"datawxcjfjuzwiw\",\"experimentName\":\"datauqzlmhpuqlsd\",\"mlPipelineParameters\":\"dataejxlzyyylyxuj\",\"dataPathAssignments\":\"dataccpv\",\"mlParentRunId\":\"datahobshogja\",\"continueOnStepFailure\":\"dataplfzj\"}")
- .toObject(AzureMLExecutePipelineActivityTypeProperties.class);
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- AzureMLExecutePipelineActivityTypeProperties model
- = new AzureMLExecutePipelineActivityTypeProperties().withMlPipelineId("dataecoufnxtynusqz")
- .withMlPipelineEndpointId("datanztwnylk")
- .withVersion("datawxcjfjuzwiw")
- .withExperimentName("datauqzlmhpuqlsd")
- .withMlPipelineParameters("dataejxlzyyylyxuj")
- .withDataPathAssignments("dataccpv")
- .withMlParentRunId("datahobshogja")
- .withContinueOnStepFailure("dataplfzj");
- model = BinaryData.fromObject(model).toObject(AzureMLExecutePipelineActivityTypeProperties.class);
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureMLUpdateResourceActivityTests.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureMLUpdateResourceActivityTests.java
deleted file mode 100644
index 9abb76812070..000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureMLUpdateResourceActivityTests.java
+++ /dev/null
@@ -1,94 +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.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.datafactory.models.ActivityDependency;
-import com.azure.resourcemanager.datafactory.models.ActivityOnInactiveMarkAs;
-import com.azure.resourcemanager.datafactory.models.ActivityPolicy;
-import com.azure.resourcemanager.datafactory.models.ActivityState;
-import com.azure.resourcemanager.datafactory.models.AzureMLUpdateResourceActivity;
-import com.azure.resourcemanager.datafactory.models.DependencyCondition;
-import com.azure.resourcemanager.datafactory.models.LinkedServiceReference;
-import com.azure.resourcemanager.datafactory.models.UserProperty;
-import java.util.Arrays;
-import java.util.HashMap;
-import java.util.Map;
-import org.junit.jupiter.api.Assertions;
-
-public final class AzureMLUpdateResourceActivityTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- AzureMLUpdateResourceActivity model = BinaryData.fromString(
- "{\"type\":\"AzureMLUpdateResource\",\"typeProperties\":{\"trainedModelName\":\"dataonlgnespkxnhfd\",\"trainedModelLinkedServiceName\":{\"referenceName\":\"zskvp\",\"parameters\":{\"bicj\":\"datandrhlbxr\",\"poczxmwbk\":\"dataaafvxxiizkehf\",\"inhqpq\":\"datawihbyufm\",\"huxzdgoto\":\"dataowxd\"}},\"trainedModelFilePath\":\"datan\"},\"linkedServiceName\":{\"referenceName\":\"uirjqxknaeuhxnp\",\"parameters\":{\"dvnaxtbnjmj\":\"datajaeqaolfyqjgob\",\"bdfmhzgtieybimit\":\"datagrwvl\",\"wab\":\"dataxeetkwloozeg\"}},\"policy\":{\"timeout\":\"datareftwhiivxytvje\",\"retry\":\"datakuzlfnbz\",\"retryIntervalInSeconds\":1739064620,\"secureInput\":true,\"secureOutput\":true,\"\":{\"xsdtnxggwxmqy\":\"datarvckyhncqyogvv\",\"npftaykovgxam\":\"datatl\",\"reufd\":\"datamqexyoylcwzk\"}},\"name\":\"vvelcrwhrpxsxy\",\"description\":\"lsmiaruvbo\",\"state\":\"Inactive\",\"onInactiveMarkAs\":\"Failed\",\"dependsOn\":[{\"activity\":\"obyyv\",\"dependencyConditions\":[\"Failed\",\"Failed\"],\"\":{\"vytluh\":\"datahg\",\"qikuj\":\"datahiycddo\",\"dbkezfkot\":\"datadoela\",\"hwjxn\":\"dataoszgc\"}}],\"userProperties\":[{\"name\":\"w\",\"value\":\"datavferl\"},{\"name\":\"hfzzqq\",\"value\":\"databj\"},{\"name\":\"shwxy\",\"value\":\"dataskjqejkm\"},{\"name\":\"twftlhsmtkxzio\",\"value\":\"datautcyjjbdgfrl\"}],\"\":{\"mirvmpi\":\"dataegqvusffzvpwzvh\"}}")
- .toObject(AzureMLUpdateResourceActivity.class);
- Assertions.assertEquals("vvelcrwhrpxsxy", model.name());
- Assertions.assertEquals("lsmiaruvbo", model.description());
- Assertions.assertEquals(ActivityState.INACTIVE, model.state());
- Assertions.assertEquals(ActivityOnInactiveMarkAs.FAILED, model.onInactiveMarkAs());
- Assertions.assertEquals("obyyv", model.dependsOn().get(0).activity());
- Assertions.assertEquals(DependencyCondition.FAILED, model.dependsOn().get(0).dependencyConditions().get(0));
- Assertions.assertEquals("w", model.userProperties().get(0).name());
- Assertions.assertEquals("uirjqxknaeuhxnp", model.linkedServiceName().referenceName());
- Assertions.assertEquals(1739064620, model.policy().retryIntervalInSeconds());
- Assertions.assertEquals(true, model.policy().secureInput());
- Assertions.assertEquals(true, model.policy().secureOutput());
- Assertions.assertEquals("zskvp", model.trainedModelLinkedServiceName().referenceName());
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- AzureMLUpdateResourceActivity model = new AzureMLUpdateResourceActivity().withName("vvelcrwhrpxsxy")
- .withDescription("lsmiaruvbo")
- .withState(ActivityState.INACTIVE)
- .withOnInactiveMarkAs(ActivityOnInactiveMarkAs.FAILED)
- .withDependsOn(Arrays.asList(new ActivityDependency().withActivity("obyyv")
- .withDependencyConditions(Arrays.asList(DependencyCondition.FAILED, DependencyCondition.FAILED))
- .withAdditionalProperties(mapOf())))
- .withUserProperties(Arrays.asList(new UserProperty().withName("w").withValue("datavferl"),
- new UserProperty().withName("hfzzqq").withValue("databj"),
- new UserProperty().withName("shwxy").withValue("dataskjqejkm"),
- new UserProperty().withName("twftlhsmtkxzio").withValue("datautcyjjbdgfrl")))
- .withLinkedServiceName(new LinkedServiceReference().withReferenceName("uirjqxknaeuhxnp")
- .withParameters(mapOf("dvnaxtbnjmj", "datajaeqaolfyqjgob", "bdfmhzgtieybimit", "datagrwvl", "wab",
- "dataxeetkwloozeg")))
- .withPolicy(new ActivityPolicy().withTimeout("datareftwhiivxytvje")
- .withRetry("datakuzlfnbz")
- .withRetryIntervalInSeconds(1739064620)
- .withSecureInput(true)
- .withSecureOutput(true)
- .withAdditionalProperties(mapOf()))
- .withTrainedModelName("dataonlgnespkxnhfd")
- .withTrainedModelLinkedServiceName(new LinkedServiceReference().withReferenceName("zskvp")
- .withParameters(mapOf("bicj", "datandrhlbxr", "poczxmwbk", "dataaafvxxiizkehf", "inhqpq",
- "datawihbyufm", "huxzdgoto", "dataowxd")))
- .withTrainedModelFilePath("datan");
- model = BinaryData.fromObject(model).toObject(AzureMLUpdateResourceActivity.class);
- Assertions.assertEquals("vvelcrwhrpxsxy", model.name());
- Assertions.assertEquals("lsmiaruvbo", model.description());
- Assertions.assertEquals(ActivityState.INACTIVE, model.state());
- Assertions.assertEquals(ActivityOnInactiveMarkAs.FAILED, model.onInactiveMarkAs());
- Assertions.assertEquals("obyyv", model.dependsOn().get(0).activity());
- Assertions.assertEquals(DependencyCondition.FAILED, model.dependsOn().get(0).dependencyConditions().get(0));
- Assertions.assertEquals("w", model.userProperties().get(0).name());
- Assertions.assertEquals("uirjqxknaeuhxnp", model.linkedServiceName().referenceName());
- Assertions.assertEquals(1739064620, model.policy().retryIntervalInSeconds());
- Assertions.assertEquals(true, model.policy().secureInput());
- Assertions.assertEquals(true, model.policy().secureOutput());
- Assertions.assertEquals("zskvp", model.trainedModelLinkedServiceName().referenceName());
- }
-
- // Use "Map.of" if available
- @SuppressWarnings("unchecked")
- private static Map mapOf(Object... inputs) {
- Map map = new HashMap<>();
- for (int i = 0; i < inputs.length; i += 2) {
- String key = (String) inputs[i];
- T value = (T) inputs[i + 1];
- map.put(key, value);
- }
- return map;
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureMLUpdateResourceActivityTypePropertiesTests.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureMLUpdateResourceActivityTypePropertiesTests.java
deleted file mode 100644
index 83a5725337ff..000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureMLUpdateResourceActivityTypePropertiesTests.java
+++ /dev/null
@@ -1,45 +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.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.datafactory.fluent.models.AzureMLUpdateResourceActivityTypeProperties;
-import com.azure.resourcemanager.datafactory.models.LinkedServiceReference;
-import java.util.HashMap;
-import java.util.Map;
-import org.junit.jupiter.api.Assertions;
-
-public final class AzureMLUpdateResourceActivityTypePropertiesTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- AzureMLUpdateResourceActivityTypeProperties model = BinaryData.fromString(
- "{\"trainedModelName\":\"dataooo\",\"trainedModelLinkedServiceName\":{\"referenceName\":\"rnssthninzatd\",\"parameters\":{\"clqgteoepdpx\":\"datayltrxwabwd\",\"qq\":\"datazpqwfpqixomo\"}},\"trainedModelFilePath\":\"dataik\"}")
- .toObject(AzureMLUpdateResourceActivityTypeProperties.class);
- Assertions.assertEquals("rnssthninzatd", model.trainedModelLinkedServiceName().referenceName());
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- AzureMLUpdateResourceActivityTypeProperties model
- = new AzureMLUpdateResourceActivityTypeProperties().withTrainedModelName("dataooo")
- .withTrainedModelLinkedServiceName(new LinkedServiceReference().withReferenceName("rnssthninzatd")
- .withParameters(mapOf("clqgteoepdpx", "datayltrxwabwd", "qq", "datazpqwfpqixomo")))
- .withTrainedModelFilePath("dataik");
- model = BinaryData.fromObject(model).toObject(AzureMLUpdateResourceActivityTypeProperties.class);
- Assertions.assertEquals("rnssthninzatd", model.trainedModelLinkedServiceName().referenceName());
- }
-
- // Use "Map.of" if available
- @SuppressWarnings("unchecked")
- private static Map mapOf(Object... inputs) {
- Map map = new HashMap<>();
- for (int i = 0; i < inputs.length; i += 2) {
- String key = (String) inputs[i];
- T value = (T) inputs[i + 1];
- map.put(key, value);
- }
- return map;
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureMLWebServiceFileTests.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureMLWebServiceFileTests.java
deleted file mode 100644
index 645a109813f0..000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureMLWebServiceFileTests.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.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.datafactory.models.AzureMLWebServiceFile;
-import com.azure.resourcemanager.datafactory.models.LinkedServiceReference;
-import java.util.HashMap;
-import java.util.Map;
-import org.junit.jupiter.api.Assertions;
-
-public final class AzureMLWebServiceFileTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- AzureMLWebServiceFile model = BinaryData.fromString(
- "{\"filePath\":\"datacwfo\",\"linkedServiceName\":{\"referenceName\":\"enmuevq\",\"parameters\":{\"lbpwegzd\":\"dataclg\"}}}")
- .toObject(AzureMLWebServiceFile.class);
- Assertions.assertEquals("enmuevq", model.linkedServiceName().referenceName());
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- AzureMLWebServiceFile model = new AzureMLWebServiceFile().withFilePath("datacwfo")
- .withLinkedServiceName(
- new LinkedServiceReference().withReferenceName("enmuevq").withParameters(mapOf("lbpwegzd", "dataclg")));
- model = BinaryData.fromObject(model).toObject(AzureMLWebServiceFile.class);
- Assertions.assertEquals("enmuevq", model.linkedServiceName().referenceName());
- }
-
- // Use "Map.of" if available
- @SuppressWarnings("unchecked")
- private static Map mapOf(Object... inputs) {
- Map map = new HashMap<>();
- for (int i = 0; i < inputs.length; i += 2) {
- String key = (String) inputs[i];
- T value = (T) inputs[i + 1];
- map.put(key, value);
- }
- return map;
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureMariaDBSourceTests.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureMariaDBSourceTests.java
deleted file mode 100644
index b9ecc9370786..000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureMariaDBSourceTests.java
+++ /dev/null
@@ -1,29 +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.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.datafactory.models.AzureMariaDBSource;
-
-public final class AzureMariaDBSourceTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- AzureMariaDBSource model = BinaryData.fromString(
- "{\"type\":\"AzureMariaDBSource\",\"query\":\"dataqngpvvnbu\",\"queryTimeout\":\"datavkutl\",\"additionalColumns\":\"dataxuuqb\",\"sourceRetryCount\":\"datapbeswgkreozpufk\",\"sourceRetryWait\":\"datamzcbzgi\",\"maxConcurrentConnections\":\"dataqpegcgdndpb\",\"disableMetricsCollection\":\"dataeymmcbiktetzvqt\",\"\":{\"pdnbzqweohmlkzhx\":\"datavcsbyimygswdu\",\"haerhxd\":\"datadmauanxzrqt\",\"bqmoguy\":\"datahkbrkhjjbwelicrx\",\"dxljjzdbzk\":\"datamselwszqveak\"}}")
- .toObject(AzureMariaDBSource.class);
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- AzureMariaDBSource model = new AzureMariaDBSource().withSourceRetryCount("datapbeswgkreozpufk")
- .withSourceRetryWait("datamzcbzgi")
- .withMaxConcurrentConnections("dataqpegcgdndpb")
- .withDisableMetricsCollection("dataeymmcbiktetzvqt")
- .withQueryTimeout("datavkutl")
- .withAdditionalColumns("dataxuuqb")
- .withQuery("dataqngpvvnbu");
- model = BinaryData.fromObject(model).toObject(AzureMariaDBSource.class);
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureMariaDBTableDatasetTests.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureMariaDBTableDatasetTests.java
deleted file mode 100644
index 13474804f70e..000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureMariaDBTableDatasetTests.java
+++ /dev/null
@@ -1,63 +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.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.datafactory.models.AzureMariaDBTableDataset;
-import com.azure.resourcemanager.datafactory.models.DatasetFolder;
-import com.azure.resourcemanager.datafactory.models.LinkedServiceReference;
-import com.azure.resourcemanager.datafactory.models.ParameterSpecification;
-import com.azure.resourcemanager.datafactory.models.ParameterType;
-import java.util.Arrays;
-import java.util.HashMap;
-import java.util.Map;
-import org.junit.jupiter.api.Assertions;
-
-public final class AzureMariaDBTableDatasetTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- AzureMariaDBTableDataset model = BinaryData.fromString(
- "{\"type\":\"AzureMariaDBTable\",\"typeProperties\":{\"tableName\":\"datatythct\"},\"description\":\"oip\",\"structure\":\"datanerwhem\",\"schema\":\"datadsssfzsgzguspej\",\"linkedServiceName\":{\"referenceName\":\"meqgxhwispsogdbl\",\"parameters\":{\"ichlygkvuixwonkr\":\"databaqxaxtuxirppb\",\"dxywabk\":\"datai\",\"aqyjukkajnne\":\"datatnipaptgv\"}},\"parameters\":{\"femiwfhhawbabhz\":{\"type\":\"SecureString\",\"defaultValue\":\"dataop\"},\"qnxyd\":{\"type\":\"String\",\"defaultValue\":\"datadi\"},\"uspaywvs\":{\"type\":\"Object\",\"defaultValue\":\"dataoiqz\"}},\"annotations\":[\"dataronzeafkxfmuwdb\",\"dataytqavouymkdeu\",\"dataxlvzpfdka\"],\"folder\":{\"name\":\"iw\"},\"\":{\"gjmpd\":\"datapqlktthbmrrmtr\",\"juzmu\":\"datarjzwawpewajccs\"}}")
- .toObject(AzureMariaDBTableDataset.class);
- Assertions.assertEquals("oip", model.description());
- Assertions.assertEquals("meqgxhwispsogdbl", model.linkedServiceName().referenceName());
- Assertions.assertEquals(ParameterType.SECURE_STRING, model.parameters().get("femiwfhhawbabhz").type());
- Assertions.assertEquals("iw", model.folder().name());
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- AzureMariaDBTableDataset model = new AzureMariaDBTableDataset().withDescription("oip")
- .withStructure("datanerwhem")
- .withSchema("datadsssfzsgzguspej")
- .withLinkedServiceName(new LinkedServiceReference().withReferenceName("meqgxhwispsogdbl")
- .withParameters(mapOf("ichlygkvuixwonkr", "databaqxaxtuxirppb", "dxywabk", "datai", "aqyjukkajnne",
- "datatnipaptgv")))
- .withParameters(mapOf("femiwfhhawbabhz",
- new ParameterSpecification().withType(ParameterType.SECURE_STRING).withDefaultValue("dataop"), "qnxyd",
- new ParameterSpecification().withType(ParameterType.STRING).withDefaultValue("datadi"), "uspaywvs",
- new ParameterSpecification().withType(ParameterType.OBJECT).withDefaultValue("dataoiqz")))
- .withAnnotations(Arrays.asList("dataronzeafkxfmuwdb", "dataytqavouymkdeu", "dataxlvzpfdka"))
- .withFolder(new DatasetFolder().withName("iw"))
- .withTableName("datatythct");
- model = BinaryData.fromObject(model).toObject(AzureMariaDBTableDataset.class);
- Assertions.assertEquals("oip", model.description());
- Assertions.assertEquals("meqgxhwispsogdbl", model.linkedServiceName().referenceName());
- Assertions.assertEquals(ParameterType.SECURE_STRING, model.parameters().get("femiwfhhawbabhz").type());
- Assertions.assertEquals("iw", model.folder().name());
- }
-
- // Use "Map.of" if available
- @SuppressWarnings("unchecked")
- private static Map mapOf(Object... inputs) {
- Map map = new HashMap<>();
- for (int i = 0; i < inputs.length; i += 2) {
- String key = (String) inputs[i];
- T value = (T) inputs[i + 1];
- map.put(key, value);
- }
- return map;
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureMySqlSinkTests.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureMySqlSinkTests.java
deleted file mode 100644
index 795b652b20fa..000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureMySqlSinkTests.java
+++ /dev/null
@@ -1,29 +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.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.datafactory.models.AzureMySqlSink;
-
-public final class AzureMySqlSinkTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- AzureMySqlSink model = BinaryData.fromString(
- "{\"type\":\"AzureMySqlSink\",\"preCopyScript\":\"datavijdr\",\"writeBatchSize\":\"datayqvhz\",\"writeBatchTimeout\":\"datayvhrenozl\",\"sinkRetryCount\":\"dataqfghlosho\",\"sinkRetryWait\":\"datakpcmtsbandesalv\",\"maxConcurrentConnections\":\"datawrljmlo\",\"disableMetricsCollection\":\"datatzvtfyqe\",\"\":{\"xhcygfg\":\"databsyni\",\"aosttbwap\":\"datamdbazggr\"}}")
- .toObject(AzureMySqlSink.class);
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- AzureMySqlSink model = new AzureMySqlSink().withWriteBatchSize("datayqvhz")
- .withWriteBatchTimeout("datayvhrenozl")
- .withSinkRetryCount("dataqfghlosho")
- .withSinkRetryWait("datakpcmtsbandesalv")
- .withMaxConcurrentConnections("datawrljmlo")
- .withDisableMetricsCollection("datatzvtfyqe")
- .withPreCopyScript("datavijdr");
- model = BinaryData.fromObject(model).toObject(AzureMySqlSink.class);
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureMySqlSourceTests.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureMySqlSourceTests.java
deleted file mode 100644
index e29a131aca1a..000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureMySqlSourceTests.java
+++ /dev/null
@@ -1,29 +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.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.datafactory.models.AzureMySqlSource;
-
-public final class AzureMySqlSourceTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- AzureMySqlSource model = BinaryData.fromString(
- "{\"type\":\"AzureMySqlSource\",\"query\":\"datagliufdctgsd\",\"queryTimeout\":\"dataxkddxoatlprs\",\"additionalColumns\":\"dataen\",\"sourceRetryCount\":\"datayyvvlgsa\",\"sourceRetryWait\":\"datavmnjtf\",\"maxConcurrentConnections\":\"datagx\",\"disableMetricsCollection\":\"datarctbxpuis\",\"\":{\"s\":\"datamgnpe\",\"ljabdmwalipb\":\"datasiyyco\",\"aknhmi\":\"dataqkdieuopw\"}}")
- .toObject(AzureMySqlSource.class);
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- AzureMySqlSource model = new AzureMySqlSource().withSourceRetryCount("datayyvvlgsa")
- .withSourceRetryWait("datavmnjtf")
- .withMaxConcurrentConnections("datagx")
- .withDisableMetricsCollection("datarctbxpuis")
- .withQueryTimeout("dataxkddxoatlprs")
- .withAdditionalColumns("dataen")
- .withQuery("datagliufdctgsd");
- model = BinaryData.fromObject(model).toObject(AzureMySqlSource.class);
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureMySqlTableDatasetTests.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureMySqlTableDatasetTests.java
deleted file mode 100644
index 84a1fc8078b8..000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureMySqlTableDatasetTests.java
+++ /dev/null
@@ -1,66 +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.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.datafactory.models.AzureMySqlTableDataset;
-import com.azure.resourcemanager.datafactory.models.DatasetFolder;
-import com.azure.resourcemanager.datafactory.models.LinkedServiceReference;
-import com.azure.resourcemanager.datafactory.models.ParameterSpecification;
-import com.azure.resourcemanager.datafactory.models.ParameterType;
-import java.util.Arrays;
-import java.util.HashMap;
-import java.util.Map;
-import org.junit.jupiter.api.Assertions;
-
-public final class AzureMySqlTableDatasetTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- AzureMySqlTableDataset model = BinaryData.fromString(
- "{\"type\":\"AzureMySqlTable\",\"typeProperties\":{\"tableName\":\"datapqokhdyncra\",\"table\":\"datasewbempfapmqnm\"},\"description\":\"yksygih\",\"structure\":\"datalmslnunkqvzlbbb\",\"schema\":\"datadexquaw\",\"linkedServiceName\":{\"referenceName\":\"xizbfzet\",\"parameters\":{\"pnbmajvvyxt\":\"dataw\",\"nakzixbkaybfmln\":\"datav\",\"nrzblxna\":\"datafwhrmvlaknujmw\"}},\"parameters\":{\"hl\":{\"type\":\"Int\",\"defaultValue\":\"datandcbs\"},\"dvt\":{\"type\":\"SecureString\",\"defaultValue\":\"datajkkovohwvprj\"},\"ffhvqii\":{\"type\":\"Array\",\"defaultValue\":\"datamdtacntjn\"},\"sxjbjkewrigl\":{\"type\":\"String\",\"defaultValue\":\"datatwskkfkuyikmxhh\"}},\"annotations\":[\"datarefeclflxcjf\",\"datazwncvdefxonz\",\"datapcjptnnt\"],\"folder\":{\"name\":\"jqpzj\"},\"\":{\"h\":\"datajr\",\"agwviqehmdqvaoli\":\"datagsjbi\",\"m\":\"dataxdfsfvkjc\",\"rkd\":\"datarsvxphtjnhptj\"}}")
- .toObject(AzureMySqlTableDataset.class);
- Assertions.assertEquals("yksygih", model.description());
- Assertions.assertEquals("xizbfzet", model.linkedServiceName().referenceName());
- Assertions.assertEquals(ParameterType.INT, model.parameters().get("hl").type());
- Assertions.assertEquals("jqpzj", model.folder().name());
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- AzureMySqlTableDataset model = new AzureMySqlTableDataset().withDescription("yksygih")
- .withStructure("datalmslnunkqvzlbbb")
- .withSchema("datadexquaw")
- .withLinkedServiceName(new LinkedServiceReference().withReferenceName("xizbfzet")
- .withParameters(
- mapOf("pnbmajvvyxt", "dataw", "nakzixbkaybfmln", "datav", "nrzblxna", "datafwhrmvlaknujmw")))
- .withParameters(mapOf("hl",
- new ParameterSpecification().withType(ParameterType.INT).withDefaultValue("datandcbs"), "dvt",
- new ParameterSpecification().withType(ParameterType.SECURE_STRING).withDefaultValue("datajkkovohwvprj"),
- "ffhvqii", new ParameterSpecification().withType(ParameterType.ARRAY).withDefaultValue("datamdtacntjn"),
- "sxjbjkewrigl",
- new ParameterSpecification().withType(ParameterType.STRING).withDefaultValue("datatwskkfkuyikmxhh")))
- .withAnnotations(Arrays.asList("datarefeclflxcjf", "datazwncvdefxonz", "datapcjptnnt"))
- .withFolder(new DatasetFolder().withName("jqpzj"))
- .withTableName("datapqokhdyncra")
- .withTable("datasewbempfapmqnm");
- model = BinaryData.fromObject(model).toObject(AzureMySqlTableDataset.class);
- Assertions.assertEquals("yksygih", model.description());
- Assertions.assertEquals("xizbfzet", model.linkedServiceName().referenceName());
- Assertions.assertEquals(ParameterType.INT, model.parameters().get("hl").type());
- Assertions.assertEquals("jqpzj", model.folder().name());
- }
-
- // Use "Map.of" if available
- @SuppressWarnings("unchecked")
- private static Map mapOf(Object... inputs) {
- Map map = new HashMap<>();
- for (int i = 0; i < inputs.length; i += 2) {
- String key = (String) inputs[i];
- T value = (T) inputs[i + 1];
- map.put(key, value);
- }
- return map;
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureMySqlTableDatasetTypePropertiesTests.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureMySqlTableDatasetTypePropertiesTests.java
deleted file mode 100644
index 5f70c0f52981..000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureMySqlTableDatasetTypePropertiesTests.java
+++ /dev/null
@@ -1,24 +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.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.datafactory.fluent.models.AzureMySqlTableDatasetTypeProperties;
-
-public final class AzureMySqlTableDatasetTypePropertiesTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- AzureMySqlTableDatasetTypeProperties model
- = BinaryData.fromString("{\"tableName\":\"dataz\",\"table\":\"datammydtdtftmizuz\"}")
- .toObject(AzureMySqlTableDatasetTypeProperties.class);
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- AzureMySqlTableDatasetTypeProperties model
- = new AzureMySqlTableDatasetTypeProperties().withTableName("dataz").withTable("datammydtdtftmizuz");
- model = BinaryData.fromObject(model).toObject(AzureMySqlTableDatasetTypeProperties.class);
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzurePostgreSqlSinkTests.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzurePostgreSqlSinkTests.java
deleted file mode 100644
index 6aed589dce5f..000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzurePostgreSqlSinkTests.java
+++ /dev/null
@@ -1,29 +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.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.datafactory.models.AzurePostgreSqlSink;
-
-public final class AzurePostgreSqlSinkTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- AzurePostgreSqlSink model = BinaryData.fromString(
- "{\"type\":\"AzurePostgreSqlSink\",\"preCopyScript\":\"dataxtkmknacnfzcy\",\"writeBatchSize\":\"datahdjpagwszm\",\"writeBatchTimeout\":\"datagzfeyexbg\",\"sinkRetryCount\":\"datayo\",\"sinkRetryWait\":\"datawigvqgc\",\"maxConcurrentConnections\":\"datacqjg\",\"disableMetricsCollection\":\"dataxpbpj\",\"\":{\"ohehhtl\":\"datanvdabaodiytxq\"}}")
- .toObject(AzurePostgreSqlSink.class);
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- AzurePostgreSqlSink model = new AzurePostgreSqlSink().withWriteBatchSize("datahdjpagwszm")
- .withWriteBatchTimeout("datagzfeyexbg")
- .withSinkRetryCount("datayo")
- .withSinkRetryWait("datawigvqgc")
- .withMaxConcurrentConnections("datacqjg")
- .withDisableMetricsCollection("dataxpbpj")
- .withPreCopyScript("dataxtkmknacnfzcy");
- model = BinaryData.fromObject(model).toObject(AzurePostgreSqlSink.class);
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzurePostgreSqlSourceTests.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzurePostgreSqlSourceTests.java
deleted file mode 100644
index 208308b32c66..000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzurePostgreSqlSourceTests.java
+++ /dev/null
@@ -1,29 +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.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.datafactory.models.AzurePostgreSqlSource;
-
-public final class AzurePostgreSqlSourceTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- AzurePostgreSqlSource model = BinaryData.fromString(
- "{\"type\":\"AzurePostgreSqlSource\",\"query\":\"dataxllfwxdou\",\"queryTimeout\":\"datazpaqjahjxgedtmzh\",\"additionalColumns\":\"datahktywtac\",\"sourceRetryCount\":\"datakie\",\"sourceRetryWait\":\"dataqrfassiiil\",\"maxConcurrentConnections\":\"datargahscay\",\"disableMetricsCollection\":\"datagc\",\"\":{\"vqopxun\":\"dataieqonsbukznxd\"}}")
- .toObject(AzurePostgreSqlSource.class);
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- AzurePostgreSqlSource model = new AzurePostgreSqlSource().withSourceRetryCount("datakie")
- .withSourceRetryWait("dataqrfassiiil")
- .withMaxConcurrentConnections("datargahscay")
- .withDisableMetricsCollection("datagc")
- .withQueryTimeout("datazpaqjahjxgedtmzh")
- .withAdditionalColumns("datahktywtac")
- .withQuery("dataxllfwxdou");
- model = BinaryData.fromObject(model).toObject(AzurePostgreSqlSource.class);
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzurePostgreSqlTableDatasetTests.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzurePostgreSqlTableDatasetTests.java
deleted file mode 100644
index 0c35a5fb2169..000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzurePostgreSqlTableDatasetTests.java
+++ /dev/null
@@ -1,66 +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.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.datafactory.models.AzurePostgreSqlTableDataset;
-import com.azure.resourcemanager.datafactory.models.DatasetFolder;
-import com.azure.resourcemanager.datafactory.models.LinkedServiceReference;
-import com.azure.resourcemanager.datafactory.models.ParameterSpecification;
-import com.azure.resourcemanager.datafactory.models.ParameterType;
-import java.util.Arrays;
-import java.util.HashMap;
-import java.util.Map;
-import org.junit.jupiter.api.Assertions;
-
-public final class AzurePostgreSqlTableDatasetTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- AzurePostgreSqlTableDataset model = BinaryData.fromString(
- "{\"type\":\"AzurePostgreSqlTable\",\"typeProperties\":{\"tableName\":\"datascec\",\"table\":\"dataaajdfwrdkql\",\"schema\":\"datakfekdesbpjq\"},\"description\":\"lbh\",\"structure\":\"datapduibsr\",\"schema\":\"dataqnneqrypyurvs\",\"linkedServiceName\":{\"referenceName\":\"hovtuercp\",\"parameters\":{\"yb\":\"datawc\",\"nwczsraz\":\"datadzycxhaoegjzgplj\"}},\"parameters\":{\"uapasizzfmugykw\":{\"type\":\"SecureString\",\"defaultValue\":\"datacqhxhj\"},\"enndzgthdzit\":{\"type\":\"Int\",\"defaultValue\":\"datauo\"},\"wonadezmzxvfybxm\":{\"type\":\"Object\",\"defaultValue\":\"datafpherwjqvsw\"},\"c\":{\"type\":\"Object\",\"defaultValue\":\"datanuvqkrrsguog\"}},\"annotations\":[\"datatpyabensjflwp\",\"datatvvqtmvifgcvsim\",\"datalbmti\",\"dataxgosnxa\"],\"folder\":{\"name\":\"cdfmzxaoxlhmvjc\"},\"\":{\"xh\":\"datasbnuc\",\"nkleldk\":\"dataaqoqbvejoysoxovl\",\"qrykkxakruupti\":\"datadlqqhn\"}}")
- .toObject(AzurePostgreSqlTableDataset.class);
- Assertions.assertEquals("lbh", model.description());
- Assertions.assertEquals("hovtuercp", model.linkedServiceName().referenceName());
- Assertions.assertEquals(ParameterType.SECURE_STRING, model.parameters().get("uapasizzfmugykw").type());
- Assertions.assertEquals("cdfmzxaoxlhmvjc", model.folder().name());
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- AzurePostgreSqlTableDataset model = new AzurePostgreSqlTableDataset().withDescription("lbh")
- .withStructure("datapduibsr")
- .withSchema("dataqnneqrypyurvs")
- .withLinkedServiceName(new LinkedServiceReference().withReferenceName("hovtuercp")
- .withParameters(mapOf("yb", "datawc", "nwczsraz", "datadzycxhaoegjzgplj")))
- .withParameters(mapOf("uapasizzfmugykw",
- new ParameterSpecification().withType(ParameterType.SECURE_STRING).withDefaultValue("datacqhxhj"),
- "enndzgthdzit", new ParameterSpecification().withType(ParameterType.INT).withDefaultValue("datauo"),
- "wonadezmzxvfybxm",
- new ParameterSpecification().withType(ParameterType.OBJECT).withDefaultValue("datafpherwjqvsw"), "c",
- new ParameterSpecification().withType(ParameterType.OBJECT).withDefaultValue("datanuvqkrrsguog")))
- .withAnnotations(Arrays.asList("datatpyabensjflwp", "datatvvqtmvifgcvsim", "datalbmti", "dataxgosnxa"))
- .withFolder(new DatasetFolder().withName("cdfmzxaoxlhmvjc"))
- .withTableName("datascec")
- .withTable("dataaajdfwrdkql")
- .withSchemaTypePropertiesSchema("datakfekdesbpjq");
- model = BinaryData.fromObject(model).toObject(AzurePostgreSqlTableDataset.class);
- Assertions.assertEquals("lbh", model.description());
- Assertions.assertEquals("hovtuercp", model.linkedServiceName().referenceName());
- Assertions.assertEquals(ParameterType.SECURE_STRING, model.parameters().get("uapasizzfmugykw").type());
- Assertions.assertEquals("cdfmzxaoxlhmvjc", model.folder().name());
- }
-
- // Use "Map.of" if available
- @SuppressWarnings("unchecked")
- private static Map mapOf(Object... inputs) {
- Map map = new HashMap<>();
- for (int i = 0; i < inputs.length; i += 2) {
- String key = (String) inputs[i];
- T value = (T) inputs[i + 1];
- map.put(key, value);
- }
- return map;
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzurePostgreSqlTableDatasetTypePropertiesTests.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzurePostgreSqlTableDatasetTypePropertiesTests.java
deleted file mode 100644
index 9d5fad721f3b..000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzurePostgreSqlTableDatasetTypePropertiesTests.java
+++ /dev/null
@@ -1,26 +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.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.datafactory.fluent.models.AzurePostgreSqlTableDatasetTypeProperties;
-
-public final class AzurePostgreSqlTableDatasetTypePropertiesTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- AzurePostgreSqlTableDatasetTypeProperties model = BinaryData
- .fromString("{\"tableName\":\"datagvpzgy\",\"table\":\"datacnpxiema\",\"schema\":\"dataztjekxsnnbrys\"}")
- .toObject(AzurePostgreSqlTableDatasetTypeProperties.class);
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- AzurePostgreSqlTableDatasetTypeProperties model
- = new AzurePostgreSqlTableDatasetTypeProperties().withTableName("datagvpzgy")
- .withTable("datacnpxiema")
- .withSchema("dataztjekxsnnbrys");
- model = BinaryData.fromObject(model).toObject(AzurePostgreSqlTableDatasetTypeProperties.class);
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureQueueSinkTests.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureQueueSinkTests.java
deleted file mode 100644
index 7bf1f7a01582..000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureQueueSinkTests.java
+++ /dev/null
@@ -1,28 +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.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.datafactory.models.AzureQueueSink;
-
-public final class AzureQueueSinkTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- AzureQueueSink model = BinaryData.fromString(
- "{\"type\":\"AzureQueueSink\",\"writeBatchSize\":\"datajfkaoew\",\"writeBatchTimeout\":\"datayizdglzz\",\"sinkRetryCount\":\"datafi\",\"sinkRetryWait\":\"datavyxyrykn\",\"maxConcurrentConnections\":\"datatjgpyvjgsjyjnhwb\",\"disableMetricsCollection\":\"datawrncxw\",\"\":{\"pb\":\"datarrvpamfpini\"}}")
- .toObject(AzureQueueSink.class);
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- AzureQueueSink model = new AzureQueueSink().withWriteBatchSize("datajfkaoew")
- .withWriteBatchTimeout("datayizdglzz")
- .withSinkRetryCount("datafi")
- .withSinkRetryWait("datavyxyrykn")
- .withMaxConcurrentConnections("datatjgpyvjgsjyjnhwb")
- .withDisableMetricsCollection("datawrncxw");
- model = BinaryData.fromObject(model).toObject(AzureQueueSink.class);
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureSearchIndexDatasetTests.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureSearchIndexDatasetTests.java
deleted file mode 100644
index 302080fcf14f..000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureSearchIndexDatasetTests.java
+++ /dev/null
@@ -1,66 +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.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.datafactory.models.AzureSearchIndexDataset;
-import com.azure.resourcemanager.datafactory.models.DatasetFolder;
-import com.azure.resourcemanager.datafactory.models.LinkedServiceReference;
-import com.azure.resourcemanager.datafactory.models.ParameterSpecification;
-import com.azure.resourcemanager.datafactory.models.ParameterType;
-import java.util.Arrays;
-import java.util.HashMap;
-import java.util.Map;
-import org.junit.jupiter.api.Assertions;
-
-public final class AzureSearchIndexDatasetTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- AzureSearchIndexDataset model = BinaryData.fromString(
- "{\"type\":\"AzureSearchIndex\",\"typeProperties\":{\"indexName\":\"dataofwuzeb\"},\"description\":\"vmpjbhzyen\",\"structure\":\"datapetxeudwkh\",\"schema\":\"datackdoxo\",\"linkedServiceName\":{\"referenceName\":\"jcdevzpfreor\",\"parameters\":{\"x\":\"datayjmgvrlh\"}},\"parameters\":{\"kdywkszavuafane\":{\"type\":\"Array\",\"defaultValue\":\"datanhbcjy\"},\"zw\":{\"type\":\"Float\",\"defaultValue\":\"datatptplkossjbzvx\"},\"nyuvbtcuhjcgjt\":{\"type\":\"SecureString\",\"defaultValue\":\"datauhfgtiaczhfjdcc\"},\"bszsbzrrxey\":{\"type\":\"Int\",\"defaultValue\":\"datatomnlzthc\"}},\"annotations\":[\"datacowlrmbdctqx\"],\"folder\":{\"name\":\"joezvw\"},\"\":{\"ndm\":\"datazgavp\",\"ek\":\"datafiekkiskyyy\",\"bjiutfofhoajjyl\":\"datafffyshdawjlmlcuf\"}}")
- .toObject(AzureSearchIndexDataset.class);
- Assertions.assertEquals("vmpjbhzyen", model.description());
- Assertions.assertEquals("jcdevzpfreor", model.linkedServiceName().referenceName());
- Assertions.assertEquals(ParameterType.ARRAY, model.parameters().get("kdywkszavuafane").type());
- Assertions.assertEquals("joezvw", model.folder().name());
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- AzureSearchIndexDataset model = new AzureSearchIndexDataset().withDescription("vmpjbhzyen")
- .withStructure("datapetxeudwkh")
- .withSchema("datackdoxo")
- .withLinkedServiceName(new LinkedServiceReference().withReferenceName("jcdevzpfreor")
- .withParameters(mapOf("x", "datayjmgvrlh")))
- .withParameters(mapOf("kdywkszavuafane",
- new ParameterSpecification().withType(ParameterType.ARRAY).withDefaultValue("datanhbcjy"), "zw",
- new ParameterSpecification().withType(ParameterType.FLOAT).withDefaultValue("datatptplkossjbzvx"),
- "nyuvbtcuhjcgjt",
- new ParameterSpecification().withType(ParameterType.SECURE_STRING)
- .withDefaultValue("datauhfgtiaczhfjdcc"),
- "bszsbzrrxey",
- new ParameterSpecification().withType(ParameterType.INT).withDefaultValue("datatomnlzthc")))
- .withAnnotations(Arrays.asList("datacowlrmbdctqx"))
- .withFolder(new DatasetFolder().withName("joezvw"))
- .withIndexName("dataofwuzeb");
- model = BinaryData.fromObject(model).toObject(AzureSearchIndexDataset.class);
- Assertions.assertEquals("vmpjbhzyen", model.description());
- Assertions.assertEquals("jcdevzpfreor", model.linkedServiceName().referenceName());
- Assertions.assertEquals(ParameterType.ARRAY, model.parameters().get("kdywkszavuafane").type());
- Assertions.assertEquals("joezvw", model.folder().name());
- }
-
- // Use "Map.of" if available
- @SuppressWarnings("unchecked")
- private static Map mapOf(Object... inputs) {
- Map map = new HashMap<>();
- for (int i = 0; i < inputs.length; i += 2) {
- String key = (String) inputs[i];
- T value = (T) inputs[i + 1];
- map.put(key, value);
- }
- return map;
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureSearchIndexDatasetTypePropertiesTests.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureSearchIndexDatasetTypePropertiesTests.java
deleted file mode 100644
index 0955650cc2eb..000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureSearchIndexDatasetTypePropertiesTests.java
+++ /dev/null
@@ -1,23 +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.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.datafactory.fluent.models.AzureSearchIndexDatasetTypeProperties;
-
-public final class AzureSearchIndexDatasetTypePropertiesTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- AzureSearchIndexDatasetTypeProperties model = BinaryData.fromString("{\"indexName\":\"datayqyjnufzvl\"}")
- .toObject(AzureSearchIndexDatasetTypeProperties.class);
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- AzureSearchIndexDatasetTypeProperties model
- = new AzureSearchIndexDatasetTypeProperties().withIndexName("datayqyjnufzvl");
- model = BinaryData.fromObject(model).toObject(AzureSearchIndexDatasetTypeProperties.class);
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureSearchIndexSinkTests.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureSearchIndexSinkTests.java
deleted file mode 100644
index 7d7bfbe80231..000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureSearchIndexSinkTests.java
+++ /dev/null
@@ -1,33 +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.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.datafactory.models.AzureSearchIndexSink;
-import com.azure.resourcemanager.datafactory.models.AzureSearchIndexWriteBehaviorType;
-import org.junit.jupiter.api.Assertions;
-
-public final class AzureSearchIndexSinkTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- AzureSearchIndexSink model = BinaryData.fromString(
- "{\"type\":\"AzureSearchIndexSink\",\"writeBehavior\":\"Upload\",\"writeBatchSize\":\"dataerejrdxhlo\",\"writeBatchTimeout\":\"dataxhztdca\",\"sinkRetryCount\":\"datamvqgqmi\",\"sinkRetryWait\":\"datapa\",\"maxConcurrentConnections\":\"datah\",\"disableMetricsCollection\":\"datacyasz\",\"\":{\"ni\":\"datamtcihupoelj\",\"awbsdeqqbdcbnrg\":\"datayoxajit\",\"mtgtnb\":\"datapnor\",\"rwldeinhnsd\":\"datasopuwesmxodyto\"}}")
- .toObject(AzureSearchIndexSink.class);
- Assertions.assertEquals(AzureSearchIndexWriteBehaviorType.UPLOAD, model.writeBehavior());
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- AzureSearchIndexSink model = new AzureSearchIndexSink().withWriteBatchSize("dataerejrdxhlo")
- .withWriteBatchTimeout("dataxhztdca")
- .withSinkRetryCount("datamvqgqmi")
- .withSinkRetryWait("datapa")
- .withMaxConcurrentConnections("datah")
- .withDisableMetricsCollection("datacyasz")
- .withWriteBehavior(AzureSearchIndexWriteBehaviorType.UPLOAD);
- model = BinaryData.fromObject(model).toObject(AzureSearchIndexSink.class);
- Assertions.assertEquals(AzureSearchIndexWriteBehaviorType.UPLOAD, model.writeBehavior());
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureSqlDWTableDatasetTests.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureSqlDWTableDatasetTests.java
deleted file mode 100644
index 627a6e35543d..000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureSqlDWTableDatasetTests.java
+++ /dev/null
@@ -1,68 +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.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.datafactory.models.AzureSqlDWTableDataset;
-import com.azure.resourcemanager.datafactory.models.DatasetFolder;
-import com.azure.resourcemanager.datafactory.models.LinkedServiceReference;
-import com.azure.resourcemanager.datafactory.models.ParameterSpecification;
-import com.azure.resourcemanager.datafactory.models.ParameterType;
-import java.util.Arrays;
-import java.util.HashMap;
-import java.util.Map;
-import org.junit.jupiter.api.Assertions;
-
-public final class AzureSqlDWTableDatasetTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- AzureSqlDWTableDataset model = BinaryData.fromString(
- "{\"type\":\"AzureSqlDWTable\",\"typeProperties\":{\"tableName\":\"dataync\",\"schema\":\"datau\",\"table\":\"datafstyygjqpulm\"},\"description\":\"gm\",\"structure\":\"dataqmiwxzfvvzucqfg\",\"schema\":\"datajnbxwbmwdukin\",\"linkedServiceName\":{\"referenceName\":\"lxhgdekekzou\",\"parameters\":{\"cgldohgc\":\"datawwpzrd\",\"dqtdnnc\":\"datandxfhhhtes\"}},\"parameters\":{\"dxccyijj\":{\"type\":\"Object\",\"defaultValue\":\"datadshvvf\"},\"ydw\":{\"type\":\"Int\",\"defaultValue\":\"dataijzrqnjxmvvsd\"},\"exqwqnghxnimvy\":{\"type\":\"Object\",\"defaultValue\":\"dataruhhqldrdymnswx\"},\"tnylqu\":{\"type\":\"Object\",\"defaultValue\":\"dataxgunnqgypu\"}},\"annotations\":[\"datamvyumgmmuebsnzn\",\"datagsqufmjxcyo\",\"dataeqcazisvbrqgcy\",\"datapgawepk\"],\"folder\":{\"name\":\"rzp\"},\"\":{\"taflvs\":\"datardtbgblxbuibrvj\"}}")
- .toObject(AzureSqlDWTableDataset.class);
- Assertions.assertEquals("gm", model.description());
- Assertions.assertEquals("lxhgdekekzou", model.linkedServiceName().referenceName());
- Assertions.assertEquals(ParameterType.OBJECT, model.parameters().get("dxccyijj").type());
- Assertions.assertEquals("rzp", model.folder().name());
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- AzureSqlDWTableDataset model = new AzureSqlDWTableDataset().withDescription("gm")
- .withStructure("dataqmiwxzfvvzucqfg")
- .withSchema("datajnbxwbmwdukin")
- .withLinkedServiceName(new LinkedServiceReference().withReferenceName("lxhgdekekzou")
- .withParameters(mapOf("cgldohgc", "datawwpzrd", "dqtdnnc", "datandxfhhhtes")))
- .withParameters(mapOf("dxccyijj",
- new ParameterSpecification().withType(ParameterType.OBJECT).withDefaultValue("datadshvvf"), "ydw",
- new ParameterSpecification().withType(ParameterType.INT).withDefaultValue("dataijzrqnjxmvvsd"),
- "exqwqnghxnimvy",
- new ParameterSpecification().withType(ParameterType.OBJECT).withDefaultValue("dataruhhqldrdymnswx"),
- "tnylqu",
- new ParameterSpecification().withType(ParameterType.OBJECT).withDefaultValue("dataxgunnqgypu")))
- .withAnnotations(
- Arrays.asList("datamvyumgmmuebsnzn", "datagsqufmjxcyo", "dataeqcazisvbrqgcy", "datapgawepk"))
- .withFolder(new DatasetFolder().withName("rzp"))
- .withTableName("dataync")
- .withSchemaTypePropertiesSchema("datau")
- .withTable("datafstyygjqpulm");
- model = BinaryData.fromObject(model).toObject(AzureSqlDWTableDataset.class);
- Assertions.assertEquals("gm", model.description());
- Assertions.assertEquals("lxhgdekekzou", model.linkedServiceName().referenceName());
- Assertions.assertEquals(ParameterType.OBJECT, model.parameters().get("dxccyijj").type());
- Assertions.assertEquals("rzp", model.folder().name());
- }
-
- // Use "Map.of" if available
- @SuppressWarnings("unchecked")
- private static Map mapOf(Object... inputs) {
- Map map = new HashMap<>();
- for (int i = 0; i < inputs.length; i += 2) {
- String key = (String) inputs[i];
- T value = (T) inputs[i + 1];
- map.put(key, value);
- }
- return map;
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureSqlDWTableDatasetTypePropertiesTests.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureSqlDWTableDatasetTypePropertiesTests.java
deleted file mode 100644
index 955c60493965..000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureSqlDWTableDatasetTypePropertiesTests.java
+++ /dev/null
@@ -1,26 +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.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.datafactory.fluent.models.AzureSqlDWTableDatasetTypeProperties;
-
-public final class AzureSqlDWTableDatasetTypePropertiesTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- AzureSqlDWTableDatasetTypeProperties model = BinaryData
- .fromString("{\"tableName\":\"datajihvfjcqrttjfuq\",\"schema\":\"datafjewfeqbavdo\",\"table\":\"datawy\"}")
- .toObject(AzureSqlDWTableDatasetTypeProperties.class);
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- AzureSqlDWTableDatasetTypeProperties model
- = new AzureSqlDWTableDatasetTypeProperties().withTableName("datajihvfjcqrttjfuq")
- .withSchema("datafjewfeqbavdo")
- .withTable("datawy");
- model = BinaryData.fromObject(model).toObject(AzureSqlDWTableDatasetTypeProperties.class);
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureSqlMITableDatasetTests.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureSqlMITableDatasetTests.java
deleted file mode 100644
index 6b869d88c9a4..000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureSqlMITableDatasetTests.java
+++ /dev/null
@@ -1,66 +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.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.datafactory.models.AzureSqlMITableDataset;
-import com.azure.resourcemanager.datafactory.models.DatasetFolder;
-import com.azure.resourcemanager.datafactory.models.LinkedServiceReference;
-import com.azure.resourcemanager.datafactory.models.ParameterSpecification;
-import com.azure.resourcemanager.datafactory.models.ParameterType;
-import java.util.Arrays;
-import java.util.HashMap;
-import java.util.Map;
-import org.junit.jupiter.api.Assertions;
-
-public final class AzureSqlMITableDatasetTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- AzureSqlMITableDataset model = BinaryData.fromString(
- "{\"type\":\"AzureSqlMITable\",\"typeProperties\":{\"tableName\":\"dataqphkv\",\"schema\":\"datazadcrxyla\",\"table\":\"datadtyzvelffohur\"},\"description\":\"hjdfrwpsshrmnk\",\"structure\":\"datalpc\",\"schema\":\"dataogkscxj\",\"linkedServiceName\":{\"referenceName\":\"s\",\"parameters\":{\"qcowscuyfql\":\"dataspoebnx\",\"bqhsujkafu\":\"datam\"}},\"parameters\":{\"svgoocq\":{\"type\":\"Bool\",\"defaultValue\":\"datapwnikxkcajgrbrc\"},\"tm\":{\"type\":\"Bool\",\"defaultValue\":\"datamzlpcx\"},\"zfvwjdthkvpyeyoa\":{\"type\":\"Int\",\"defaultValue\":\"datarqic\"},\"kjr\":{\"type\":\"String\",\"defaultValue\":\"datampnqup\"}},\"annotations\":[\"dataky\"],\"folder\":{\"name\":\"bdx\"},\"\":{\"p\":\"datadcclcvqsr\",\"ry\":\"dataylcvwbzmfx\"}}")
- .toObject(AzureSqlMITableDataset.class);
- Assertions.assertEquals("hjdfrwpsshrmnk", model.description());
- Assertions.assertEquals("s", model.linkedServiceName().referenceName());
- Assertions.assertEquals(ParameterType.BOOL, model.parameters().get("svgoocq").type());
- Assertions.assertEquals("bdx", model.folder().name());
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- AzureSqlMITableDataset model = new AzureSqlMITableDataset().withDescription("hjdfrwpsshrmnk")
- .withStructure("datalpc")
- .withSchema("dataogkscxj")
- .withLinkedServiceName(new LinkedServiceReference().withReferenceName("s")
- .withParameters(mapOf("qcowscuyfql", "dataspoebnx", "bqhsujkafu", "datam")))
- .withParameters(mapOf("svgoocq",
- new ParameterSpecification().withType(ParameterType.BOOL).withDefaultValue("datapwnikxkcajgrbrc"), "tm",
- new ParameterSpecification().withType(ParameterType.BOOL).withDefaultValue("datamzlpcx"),
- "zfvwjdthkvpyeyoa",
- new ParameterSpecification().withType(ParameterType.INT).withDefaultValue("datarqic"), "kjr",
- new ParameterSpecification().withType(ParameterType.STRING).withDefaultValue("datampnqup")))
- .withAnnotations(Arrays.asList("dataky"))
- .withFolder(new DatasetFolder().withName("bdx"))
- .withTableName("dataqphkv")
- .withSchemaTypePropertiesSchema("datazadcrxyla")
- .withTable("datadtyzvelffohur");
- model = BinaryData.fromObject(model).toObject(AzureSqlMITableDataset.class);
- Assertions.assertEquals("hjdfrwpsshrmnk", model.description());
- Assertions.assertEquals("s", model.linkedServiceName().referenceName());
- Assertions.assertEquals(ParameterType.BOOL, model.parameters().get("svgoocq").type());
- Assertions.assertEquals("bdx", model.folder().name());
- }
-
- // Use "Map.of" if available
- @SuppressWarnings("unchecked")
- private static Map mapOf(Object... inputs) {
- Map map = new HashMap<>();
- for (int i = 0; i < inputs.length; i += 2) {
- String key = (String) inputs[i];
- T value = (T) inputs[i + 1];
- map.put(key, value);
- }
- return map;
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureSqlMITableDatasetTypePropertiesTests.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureSqlMITableDatasetTypePropertiesTests.java
deleted file mode 100644
index 7ef02149fe45..000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureSqlMITableDatasetTypePropertiesTests.java
+++ /dev/null
@@ -1,26 +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.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.datafactory.fluent.models.AzureSqlMITableDatasetTypeProperties;
-
-public final class AzureSqlMITableDatasetTypePropertiesTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- AzureSqlMITableDatasetTypeProperties model = BinaryData
- .fromString("{\"tableName\":\"datajxlpiy\",\"schema\":\"datanpfydrfb\",\"table\":\"datanyxbyxmk\"}")
- .toObject(AzureSqlMITableDatasetTypeProperties.class);
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- AzureSqlMITableDatasetTypeProperties model
- = new AzureSqlMITableDatasetTypeProperties().withTableName("datajxlpiy")
- .withSchema("datanpfydrfb")
- .withTable("datanyxbyxmk");
- model = BinaryData.fromObject(model).toObject(AzureSqlMITableDatasetTypeProperties.class);
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureSqlSourceTests.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureSqlSourceTests.java
deleted file mode 100644
index beab63b951d7..000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureSqlSourceTests.java
+++ /dev/null
@@ -1,38 +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.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.datafactory.models.AzureSqlSource;
-import com.azure.resourcemanager.datafactory.models.SqlPartitionSettings;
-
-public final class AzureSqlSourceTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- AzureSqlSource model = BinaryData.fromString(
- "{\"type\":\"AzureSqlSource\",\"sqlReaderQuery\":\"datamabehrfyskzwt\",\"sqlReaderStoredProcedureName\":\"datazvhz\",\"storedProcedureParameters\":\"datac\",\"isolationLevel\":\"datasoxoavlwwpv\",\"produceAdditionalTypes\":\"datanjwvc\",\"partitionOption\":\"datarqlceflgsndur\",\"partitionSettings\":{\"partitionColumnName\":\"datazjwmwkdehjlozzcw\",\"partitionUpperBound\":\"datauxedpqwz\",\"partitionLowerBound\":\"dataimgbxjgxrhajrub\"},\"queryTimeout\":\"dataucvebdfmdjnfe\",\"additionalColumns\":\"datalp\",\"sourceRetryCount\":\"dataclkbwkmwdrvkb\",\"sourceRetryWait\":\"datavnnvk\",\"maxConcurrentConnections\":\"datazldzzjj\",\"disableMetricsCollection\":\"datahjqengopdvnzn\",\"\":{\"vzmiufbwreawhnz\":\"dataodajxvszd\",\"lesvzdvakqajiant\":\"datasmueedbhn\"}}")
- .toObject(AzureSqlSource.class);
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- AzureSqlSource model = new AzureSqlSource().withSourceRetryCount("dataclkbwkmwdrvkb")
- .withSourceRetryWait("datavnnvk")
- .withMaxConcurrentConnections("datazldzzjj")
- .withDisableMetricsCollection("datahjqengopdvnzn")
- .withQueryTimeout("dataucvebdfmdjnfe")
- .withAdditionalColumns("datalp")
- .withSqlReaderQuery("datamabehrfyskzwt")
- .withSqlReaderStoredProcedureName("datazvhz")
- .withStoredProcedureParameters("datac")
- .withIsolationLevel("datasoxoavlwwpv")
- .withProduceAdditionalTypes("datanjwvc")
- .withPartitionOption("datarqlceflgsndur")
- .withPartitionSettings(new SqlPartitionSettings().withPartitionColumnName("datazjwmwkdehjlozzcw")
- .withPartitionUpperBound("datauxedpqwz")
- .withPartitionLowerBound("dataimgbxjgxrhajrub"));
- model = BinaryData.fromObject(model).toObject(AzureSqlSource.class);
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureSqlTableDatasetTests.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureSqlTableDatasetTests.java
deleted file mode 100644
index 88afc4d3aa38..000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureSqlTableDatasetTests.java
+++ /dev/null
@@ -1,69 +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.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.datafactory.models.AzureSqlTableDataset;
-import com.azure.resourcemanager.datafactory.models.DatasetFolder;
-import com.azure.resourcemanager.datafactory.models.LinkedServiceReference;
-import com.azure.resourcemanager.datafactory.models.ParameterSpecification;
-import com.azure.resourcemanager.datafactory.models.ParameterType;
-import java.util.Arrays;
-import java.util.HashMap;
-import java.util.Map;
-import org.junit.jupiter.api.Assertions;
-
-public final class AzureSqlTableDatasetTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- AzureSqlTableDataset model = BinaryData.fromString(
- "{\"type\":\"AzureSqlTable\",\"typeProperties\":{\"tableName\":\"datazwahdrdvhaztkxb\",\"schema\":\"datazfgxmbry\",\"table\":\"datawibios\"},\"description\":\"sykqfd\",\"structure\":\"datadrtx\",\"schema\":\"datadaglmrcok\",\"linkedServiceName\":{\"referenceName\":\"zertkounz\",\"parameters\":{\"fpopikzeb\":\"datawhuby\",\"wt\":\"datannf\",\"jculojhhylx\":\"dataqowsdlkhczygpmg\",\"bybwjmtftcvelnir\":\"dataevfiyymotu\"}},\"parameters\":{\"hfxrt\":{\"type\":\"String\",\"defaultValue\":\"datastpaqpibjgbvswm\"},\"ectcxsfmbzdx\":{\"type\":\"Object\",\"defaultValue\":\"datamsennqfabqcama\"},\"fxuzmsvzyqrbrn\":{\"type\":\"Object\",\"defaultValue\":\"datanbkdnny\"},\"uasnjeglhtrxb\":{\"type\":\"Object\",\"defaultValue\":\"datatlxfikjkxaravw\"}},\"annotations\":[\"datacjcnwjzb\",\"databl\",\"datarnwv\"],\"folder\":{\"name\":\"oq\"},\"\":{\"ooauffhxfqkmwzr\":\"datawwsdsorgfhjxsa\"}}")
- .toObject(AzureSqlTableDataset.class);
- Assertions.assertEquals("sykqfd", model.description());
- Assertions.assertEquals("zertkounz", model.linkedServiceName().referenceName());
- Assertions.assertEquals(ParameterType.STRING, model.parameters().get("hfxrt").type());
- Assertions.assertEquals("oq", model.folder().name());
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- AzureSqlTableDataset model = new AzureSqlTableDataset().withDescription("sykqfd")
- .withStructure("datadrtx")
- .withSchema("datadaglmrcok")
- .withLinkedServiceName(new LinkedServiceReference().withReferenceName("zertkounz")
- .withParameters(mapOf("fpopikzeb", "datawhuby", "wt", "datannf", "jculojhhylx", "dataqowsdlkhczygpmg",
- "bybwjmtftcvelnir", "dataevfiyymotu")))
- .withParameters(mapOf("hfxrt",
- new ParameterSpecification().withType(ParameterType.STRING).withDefaultValue("datastpaqpibjgbvswm"),
- "ectcxsfmbzdx",
- new ParameterSpecification().withType(ParameterType.OBJECT).withDefaultValue("datamsennqfabqcama"),
- "fxuzmsvzyqrbrn",
- new ParameterSpecification().withType(ParameterType.OBJECT).withDefaultValue("datanbkdnny"),
- "uasnjeglhtrxb",
- new ParameterSpecification().withType(ParameterType.OBJECT).withDefaultValue("datatlxfikjkxaravw")))
- .withAnnotations(Arrays.asList("datacjcnwjzb", "databl", "datarnwv"))
- .withFolder(new DatasetFolder().withName("oq"))
- .withTableName("datazwahdrdvhaztkxb")
- .withSchemaTypePropertiesSchema("datazfgxmbry")
- .withTable("datawibios");
- model = BinaryData.fromObject(model).toObject(AzureSqlTableDataset.class);
- Assertions.assertEquals("sykqfd", model.description());
- Assertions.assertEquals("zertkounz", model.linkedServiceName().referenceName());
- Assertions.assertEquals(ParameterType.STRING, model.parameters().get("hfxrt").type());
- Assertions.assertEquals("oq", model.folder().name());
- }
-
- // Use "Map.of" if available
- @SuppressWarnings("unchecked")
- private static Map mapOf(Object... inputs) {
- Map map = new HashMap<>();
- for (int i = 0; i < inputs.length; i += 2) {
- String key = (String) inputs[i];
- T value = (T) inputs[i + 1];
- map.put(key, value);
- }
- return map;
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureSqlTableDatasetTypePropertiesTests.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureSqlTableDatasetTypePropertiesTests.java
deleted file mode 100644
index ef8c513bc1d0..000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureSqlTableDatasetTypePropertiesTests.java
+++ /dev/null
@@ -1,25 +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.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.datafactory.fluent.models.AzureSqlTableDatasetTypeProperties;
-
-public final class AzureSqlTableDatasetTypePropertiesTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- AzureSqlTableDatasetTypeProperties model
- = BinaryData.fromString("{\"tableName\":\"datayoybm\",\"schema\":\"dataotoc\",\"table\":\"datazdaiovrb\"}")
- .toObject(AzureSqlTableDatasetTypeProperties.class);
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- AzureSqlTableDatasetTypeProperties model = new AzureSqlTableDatasetTypeProperties().withTableName("datayoybm")
- .withSchema("dataotoc")
- .withTable("datazdaiovrb");
- model = BinaryData.fromObject(model).toObject(AzureSqlTableDatasetTypeProperties.class);
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureSynapseArtifactsLinkedServiceTests.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureSynapseArtifactsLinkedServiceTests.java
deleted file mode 100644
index 40b950ad0768..000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureSynapseArtifactsLinkedServiceTests.java
+++ /dev/null
@@ -1,60 +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.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.datafactory.models.AzureSynapseArtifactsLinkedService;
-import com.azure.resourcemanager.datafactory.models.IntegrationRuntimeReference;
-import com.azure.resourcemanager.datafactory.models.ParameterSpecification;
-import com.azure.resourcemanager.datafactory.models.ParameterType;
-import java.util.Arrays;
-import java.util.HashMap;
-import java.util.Map;
-import org.junit.jupiter.api.Assertions;
-
-public final class AzureSynapseArtifactsLinkedServiceTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- AzureSynapseArtifactsLinkedService model = BinaryData.fromString(
- "{\"type\":\"AzureSynapseArtifacts\",\"typeProperties\":{\"endpoint\":\"datav\",\"authentication\":\"dataujzofyldxk\",\"workspaceResourceId\":\"datavfojcvnhpebuiy\"},\"version\":\"ysgq\",\"connectVia\":{\"referenceName\":\"beauvldb\",\"parameters\":{\"uugdarfumitjai\":\"dataguifqjtoxzxbljpz\",\"y\":\"datasmokfdyb\",\"rwrylcttvxk\":\"databgmjrvrsqrjco\"}},\"description\":\"ffpvvqwvvnxoqaaq\",\"parameters\":{\"cwtszt\":{\"type\":\"Object\",\"defaultValue\":\"datawwtevfeu\"}},\"annotations\":[\"datawvfrymq\",\"datafksqfcxdleo\",\"dataysdgkbax\"],\"\":{\"jjqztrpjmeip\":\"datavtkrqiyuqd\",\"qaavjkrepqasviy\":\"dataotaaqyxkloabco\"}}")
- .toObject(AzureSynapseArtifactsLinkedService.class);
- Assertions.assertEquals("ysgq", model.version());
- Assertions.assertEquals("beauvldb", model.connectVia().referenceName());
- Assertions.assertEquals("ffpvvqwvvnxoqaaq", model.description());
- Assertions.assertEquals(ParameterType.OBJECT, model.parameters().get("cwtszt").type());
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- AzureSynapseArtifactsLinkedService model = new AzureSynapseArtifactsLinkedService().withVersion("ysgq")
- .withConnectVia(new IntegrationRuntimeReference().withReferenceName("beauvldb")
- .withParameters(mapOf("uugdarfumitjai", "dataguifqjtoxzxbljpz", "y", "datasmokfdyb", "rwrylcttvxk",
- "databgmjrvrsqrjco")))
- .withDescription("ffpvvqwvvnxoqaaq")
- .withParameters(mapOf("cwtszt",
- new ParameterSpecification().withType(ParameterType.OBJECT).withDefaultValue("datawwtevfeu")))
- .withAnnotations(Arrays.asList("datawvfrymq", "datafksqfcxdleo", "dataysdgkbax"))
- .withEndpoint("datav")
- .withAuthentication("dataujzofyldxk")
- .withWorkspaceResourceId("datavfojcvnhpebuiy");
- model = BinaryData.fromObject(model).toObject(AzureSynapseArtifactsLinkedService.class);
- Assertions.assertEquals("ysgq", model.version());
- Assertions.assertEquals("beauvldb", model.connectVia().referenceName());
- Assertions.assertEquals("ffpvvqwvvnxoqaaq", model.description());
- Assertions.assertEquals(ParameterType.OBJECT, model.parameters().get("cwtszt").type());
- }
-
- // Use "Map.of" if available
- @SuppressWarnings("unchecked")
- private static Map mapOf(Object... inputs) {
- Map map = new HashMap<>();
- for (int i = 0; i < inputs.length; i += 2) {
- String key = (String) inputs[i];
- T value = (T) inputs[i + 1];
- map.put(key, value);
- }
- return map;
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureSynapseArtifactsLinkedServiceTypePropertiesTests.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureSynapseArtifactsLinkedServiceTypePropertiesTests.java
deleted file mode 100644
index 0e09367b73d2..000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureSynapseArtifactsLinkedServiceTypePropertiesTests.java
+++ /dev/null
@@ -1,26 +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.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.datafactory.fluent.models.AzureSynapseArtifactsLinkedServiceTypeProperties;
-
-public final class AzureSynapseArtifactsLinkedServiceTypePropertiesTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- AzureSynapseArtifactsLinkedServiceTypeProperties model = BinaryData.fromString(
- "{\"endpoint\":\"databvolivianklqclft\",\"authentication\":\"dataeouxpdnl\",\"workspaceResourceId\":\"datanbckohnr\"}")
- .toObject(AzureSynapseArtifactsLinkedServiceTypeProperties.class);
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- AzureSynapseArtifactsLinkedServiceTypeProperties model
- = new AzureSynapseArtifactsLinkedServiceTypeProperties().withEndpoint("databvolivianklqclft")
- .withAuthentication("dataeouxpdnl")
- .withWorkspaceResourceId("datanbckohnr");
- model = BinaryData.fromObject(model).toObject(AzureSynapseArtifactsLinkedServiceTypeProperties.class);
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureTableDatasetTests.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureTableDatasetTests.java
deleted file mode 100644
index e822db0e378d..000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureTableDatasetTests.java
+++ /dev/null
@@ -1,64 +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.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.datafactory.models.AzureTableDataset;
-import com.azure.resourcemanager.datafactory.models.DatasetFolder;
-import com.azure.resourcemanager.datafactory.models.LinkedServiceReference;
-import com.azure.resourcemanager.datafactory.models.ParameterSpecification;
-import com.azure.resourcemanager.datafactory.models.ParameterType;
-import java.util.Arrays;
-import java.util.HashMap;
-import java.util.Map;
-import org.junit.jupiter.api.Assertions;
-
-public final class AzureTableDatasetTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- AzureTableDataset model = BinaryData.fromString(
- "{\"type\":\"AzureTable\",\"typeProperties\":{\"tableName\":\"datablxk\"},\"description\":\"qgvxrktjcjigcw\",\"structure\":\"datapanbqxasevc\",\"schema\":\"datafp\",\"linkedServiceName\":{\"referenceName\":\"eedyybruholaem\",\"parameters\":{\"aowcahdkm\":\"dataimmrimaabsqqlonb\",\"zglkvbgu\":\"datajsmihrijezbfsjwf\",\"gnbknhj\":\"databsvbwyot\",\"ffaspsdzkucsz\":\"dataclxaxw\"}},\"parameters\":{\"nxclfrsbzrnmuv\":{\"type\":\"String\",\"defaultValue\":\"dataqip\"},\"bf\":{\"type\":\"Array\",\"defaultValue\":\"datauofdd\"},\"oyqxfvgyxz\":{\"type\":\"Bool\",\"defaultValue\":\"datajcnginxdvm\"},\"dnzujsj\":{\"type\":\"Bool\",\"defaultValue\":\"datanofxlttxoqx\"}},\"annotations\":[\"datarpskcjhmmo\",\"databnivdqtkykp\",\"dataxnlsf\"],\"folder\":{\"name\":\"scaccptbz\"},\"\":{\"xxicee\":\"datay\"}}")
- .toObject(AzureTableDataset.class);
- Assertions.assertEquals("qgvxrktjcjigcw", model.description());
- Assertions.assertEquals("eedyybruholaem", model.linkedServiceName().referenceName());
- Assertions.assertEquals(ParameterType.STRING, model.parameters().get("nxclfrsbzrnmuv").type());
- Assertions.assertEquals("scaccptbz", model.folder().name());
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- AzureTableDataset model = new AzureTableDataset().withDescription("qgvxrktjcjigcw")
- .withStructure("datapanbqxasevc")
- .withSchema("datafp")
- .withLinkedServiceName(new LinkedServiceReference().withReferenceName("eedyybruholaem")
- .withParameters(mapOf("aowcahdkm", "dataimmrimaabsqqlonb", "zglkvbgu", "datajsmihrijezbfsjwf",
- "gnbknhj", "databsvbwyot", "ffaspsdzkucsz", "dataclxaxw")))
- .withParameters(mapOf("nxclfrsbzrnmuv",
- new ParameterSpecification().withType(ParameterType.STRING).withDefaultValue("dataqip"), "bf",
- new ParameterSpecification().withType(ParameterType.ARRAY).withDefaultValue("datauofdd"), "oyqxfvgyxz",
- new ParameterSpecification().withType(ParameterType.BOOL).withDefaultValue("datajcnginxdvm"), "dnzujsj",
- new ParameterSpecification().withType(ParameterType.BOOL).withDefaultValue("datanofxlttxoqx")))
- .withAnnotations(Arrays.asList("datarpskcjhmmo", "databnivdqtkykp", "dataxnlsf"))
- .withFolder(new DatasetFolder().withName("scaccptbz"))
- .withTableName("datablxk");
- model = BinaryData.fromObject(model).toObject(AzureTableDataset.class);
- Assertions.assertEquals("qgvxrktjcjigcw", model.description());
- Assertions.assertEquals("eedyybruholaem", model.linkedServiceName().referenceName());
- Assertions.assertEquals(ParameterType.STRING, model.parameters().get("nxclfrsbzrnmuv").type());
- Assertions.assertEquals("scaccptbz", model.folder().name());
- }
-
- // Use "Map.of" if available
- @SuppressWarnings("unchecked")
- private static Map mapOf(Object... inputs) {
- Map map = new HashMap<>();
- for (int i = 0; i < inputs.length; i += 2) {
- String key = (String) inputs[i];
- T value = (T) inputs[i + 1];
- map.put(key, value);
- }
- return map;
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureTableDatasetTypePropertiesTests.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureTableDatasetTypePropertiesTests.java
deleted file mode 100644
index 92f2aad3132e..000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureTableDatasetTypePropertiesTests.java
+++ /dev/null
@@ -1,22 +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.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.datafactory.fluent.models.AzureTableDatasetTypeProperties;
-
-public final class AzureTableDatasetTypePropertiesTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- AzureTableDatasetTypeProperties model = BinaryData.fromString("{\"tableName\":\"datavjwyuveox\"}")
- .toObject(AzureTableDatasetTypeProperties.class);
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- AzureTableDatasetTypeProperties model = new AzureTableDatasetTypeProperties().withTableName("datavjwyuveox");
- model = BinaryData.fromObject(model).toObject(AzureTableDatasetTypeProperties.class);
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureTableSourceTests.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureTableSourceTests.java
deleted file mode 100644
index 632d27b5c5be..000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/AzureTableSourceTests.java
+++ /dev/null
@@ -1,30 +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.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.datafactory.models.AzureTableSource;
-
-public final class AzureTableSourceTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- AzureTableSource model = BinaryData.fromString(
- "{\"type\":\"AzureTableSource\",\"azureTableSourceQuery\":\"datauybdzrxbckx\",\"azureTableSourceIgnoreTableNotFound\":\"datanzowguirhexj\",\"queryTimeout\":\"datayhmktpy\",\"additionalColumns\":\"dataicpkoam\",\"sourceRetryCount\":\"datadtbaobj\",\"sourceRetryWait\":\"datafkcvhh\",\"maxConcurrentConnections\":\"datavkuuikrsi\",\"disableMetricsCollection\":\"datarwsj\",\"\":{\"jva\":\"dataen\",\"fm\":\"datadqgfvygrfyyknxua\",\"kt\":\"dataynlcimjmurocryfu\"}}")
- .toObject(AzureTableSource.class);
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- AzureTableSource model = new AzureTableSource().withSourceRetryCount("datadtbaobj")
- .withSourceRetryWait("datafkcvhh")
- .withMaxConcurrentConnections("datavkuuikrsi")
- .withDisableMetricsCollection("datarwsj")
- .withQueryTimeout("datayhmktpy")
- .withAdditionalColumns("dataicpkoam")
- .withAzureTableSourceQuery("datauybdzrxbckx")
- .withAzureTableSourceIgnoreTableNotFound("datanzowguirhexj");
- model = BinaryData.fromObject(model).toObject(AzureTableSource.class);
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/BigDataPoolParametrizationReferenceTests.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/BigDataPoolParametrizationReferenceTests.java
deleted file mode 100644
index bf1e41473cb3..000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/BigDataPoolParametrizationReferenceTests.java
+++ /dev/null
@@ -1,29 +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.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.datafactory.models.BigDataPoolParametrizationReference;
-import com.azure.resourcemanager.datafactory.models.BigDataPoolReferenceType;
-import org.junit.jupiter.api.Assertions;
-
-public final class BigDataPoolParametrizationReferenceTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- BigDataPoolParametrizationReference model
- = BinaryData.fromString("{\"type\":\"BigDataPoolReference\",\"referenceName\":\"datahektw\"}")
- .toObject(BigDataPoolParametrizationReference.class);
- Assertions.assertEquals(BigDataPoolReferenceType.BIG_DATA_POOL_REFERENCE, model.type());
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- BigDataPoolParametrizationReference model
- = new BigDataPoolParametrizationReference().withType(BigDataPoolReferenceType.BIG_DATA_POOL_REFERENCE)
- .withReferenceName("datahektw");
- model = BinaryData.fromObject(model).toObject(BigDataPoolParametrizationReference.class);
- Assertions.assertEquals(BigDataPoolReferenceType.BIG_DATA_POOL_REFERENCE, model.type());
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/BinaryDatasetTests.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/BinaryDatasetTests.java
deleted file mode 100644
index 442298f6827e..000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/BinaryDatasetTests.java
+++ /dev/null
@@ -1,67 +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.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.datafactory.models.BinaryDataset;
-import com.azure.resourcemanager.datafactory.models.DatasetCompression;
-import com.azure.resourcemanager.datafactory.models.DatasetFolder;
-import com.azure.resourcemanager.datafactory.models.DatasetLocation;
-import com.azure.resourcemanager.datafactory.models.LinkedServiceReference;
-import com.azure.resourcemanager.datafactory.models.ParameterSpecification;
-import com.azure.resourcemanager.datafactory.models.ParameterType;
-import java.util.Arrays;
-import java.util.HashMap;
-import java.util.Map;
-import org.junit.jupiter.api.Assertions;
-
-public final class BinaryDatasetTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- BinaryDataset model = BinaryData.fromString(
- "{\"type\":\"Binary\",\"typeProperties\":{\"location\":{\"type\":\"DatasetLocation\",\"folderPath\":\"dataizhqikmgobl\",\"fileName\":\"datae\",\"\":{\"jxvtrkfkgenjqnnp\":\"dataiiisklbonxxu\",\"ujjcxgdqmrlhn\":\"datawkosnyxigf\",\"xyxwjezbfqplo\":\"datakwopswnyinxupr\",\"trsvjmnsvujnjkt\":\"datauekdcpvu\"}},\"compression\":{\"type\":\"datalefcjis\",\"level\":\"datakdb\",\"\":{\"ampqocl\":\"datafb\",\"tgvpatr\":\"datannmxynlsuqbwzstr\"}}},\"description\":\"jktfinf\",\"structure\":\"dataks\",\"schema\":\"dataculwkqic\",\"linkedServiceName\":{\"referenceName\":\"uookrjfls\",\"parameters\":{\"pqsdoc\":\"datajbt\",\"pujzfl\":\"datap\",\"wlluunxhfwlfxz\":\"datacdsgxceluji\"}},\"parameters\":{\"jdmngsytqpdzfyxc\":{\"type\":\"Float\",\"defaultValue\":\"dataupcknecexkgrvfp\"}},\"annotations\":[\"datawoxcgzbejqfb\",\"datafopfjxdwdrpazqjk\",\"datafmbwotfcuuugt\"],\"folder\":{\"name\":\"pgayiawohfmhnnzm\"},\"\":{\"gloiovsl\":\"datajkmqenhaidzrpv\",\"pijpkhc\":\"dataivqsuvwtenb\",\"xukuicjuftekio\":\"dataoa\"}}")
- .toObject(BinaryDataset.class);
- Assertions.assertEquals("jktfinf", model.description());
- Assertions.assertEquals("uookrjfls", model.linkedServiceName().referenceName());
- Assertions.assertEquals(ParameterType.FLOAT, model.parameters().get("jdmngsytqpdzfyxc").type());
- Assertions.assertEquals("pgayiawohfmhnnzm", model.folder().name());
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- BinaryDataset model = new BinaryDataset().withDescription("jktfinf")
- .withStructure("dataks")
- .withSchema("dataculwkqic")
- .withLinkedServiceName(new LinkedServiceReference().withReferenceName("uookrjfls")
- .withParameters(mapOf("pqsdoc", "datajbt", "pujzfl", "datap", "wlluunxhfwlfxz", "datacdsgxceluji")))
- .withParameters(mapOf("jdmngsytqpdzfyxc",
- new ParameterSpecification().withType(ParameterType.FLOAT).withDefaultValue("dataupcknecexkgrvfp")))
- .withAnnotations(Arrays.asList("datawoxcgzbejqfb", "datafopfjxdwdrpazqjk", "datafmbwotfcuuugt"))
- .withFolder(new DatasetFolder().withName("pgayiawohfmhnnzm"))
- .withLocation(new DatasetLocation().withFolderPath("dataizhqikmgobl")
- .withFileName("datae")
- .withAdditionalProperties(mapOf("type", "DatasetLocation")))
- .withCompression(new DatasetCompression().withType("datalefcjis")
- .withLevel("datakdb")
- .withAdditionalProperties(mapOf()));
- model = BinaryData.fromObject(model).toObject(BinaryDataset.class);
- Assertions.assertEquals("jktfinf", model.description());
- Assertions.assertEquals("uookrjfls", model.linkedServiceName().referenceName());
- Assertions.assertEquals(ParameterType.FLOAT, model.parameters().get("jdmngsytqpdzfyxc").type());
- Assertions.assertEquals("pgayiawohfmhnnzm", model.folder().name());
- }
-
- // Use "Map.of" if available
- @SuppressWarnings("unchecked")
- private static Map mapOf(Object... inputs) {
- Map map = new HashMap<>();
- for (int i = 0; i < inputs.length; i += 2) {
- String key = (String) inputs[i];
- T value = (T) inputs[i + 1];
- map.put(key, value);
- }
- return map;
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/BinaryDatasetTypePropertiesTests.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/BinaryDatasetTypePropertiesTests.java
deleted file mode 100644
index 9e73b2ff731e..000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/BinaryDatasetTypePropertiesTests.java
+++ /dev/null
@@ -1,45 +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.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.datafactory.fluent.models.BinaryDatasetTypeProperties;
-import com.azure.resourcemanager.datafactory.models.DatasetCompression;
-import com.azure.resourcemanager.datafactory.models.DatasetLocation;
-import java.util.HashMap;
-import java.util.Map;
-
-public final class BinaryDatasetTypePropertiesTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- BinaryDatasetTypeProperties model = BinaryData.fromString(
- "{\"location\":{\"type\":\"DatasetLocation\",\"folderPath\":\"datand\",\"fileName\":\"datawfhvpxjhxzu\",\"\":{\"uaixcdckix\":\"datazabbwzgv\",\"igavk\":\"dataps\"}},\"compression\":{\"type\":\"datayxzerejr\",\"level\":\"datazjbyetjxryopta\",\"\":{\"rrabovrwwxywp\":\"datawhlbecgihzbpem\",\"hifppskpeswyhhm\":\"datahspbo\",\"lyuqvcmlaexb\":\"datafjuajxwwvcmmpe\"}}}")
- .toObject(BinaryDatasetTypeProperties.class);
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- BinaryDatasetTypeProperties model = new BinaryDatasetTypeProperties()
- .withLocation(new DatasetLocation().withFolderPath("datand")
- .withFileName("datawfhvpxjhxzu")
- .withAdditionalProperties(mapOf("type", "DatasetLocation")))
- .withCompression(new DatasetCompression().withType("datayxzerejr")
- .withLevel("datazjbyetjxryopta")
- .withAdditionalProperties(mapOf()));
- model = BinaryData.fromObject(model).toObject(BinaryDatasetTypeProperties.class);
- }
-
- // Use "Map.of" if available
- @SuppressWarnings("unchecked")
- private static Map mapOf(Object... inputs) {
- Map map = new HashMap<>();
- for (int i = 0; i < inputs.length; i += 2) {
- String key = (String) inputs[i];
- T value = (T) inputs[i + 1];
- map.put(key, value);
- }
- return map;
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/BinaryReadSettingsTests.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/BinaryReadSettingsTests.java
deleted file mode 100644
index 3dccb5859e0c..000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/BinaryReadSettingsTests.java
+++ /dev/null
@@ -1,39 +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.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.datafactory.models.BinaryReadSettings;
-import com.azure.resourcemanager.datafactory.models.CompressionReadSettings;
-import java.util.HashMap;
-import java.util.Map;
-
-public final class BinaryReadSettingsTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- BinaryReadSettings model = BinaryData.fromString(
- "{\"type\":\"BinaryReadSettings\",\"compressionProperties\":{\"type\":\"CompressionReadSettings\",\"\":{\"ezkpdm\":\"datafpqxse\",\"fekfxmgjywwid\":\"dataowftfrqebrjopot\"}},\"\":{\"isypga\":\"datasdkvhuiadyho\",\"be\":\"datafdwh\",\"njay\":\"datadokuqnkoskf\",\"mbh\":\"datarjee\"}}")
- .toObject(BinaryReadSettings.class);
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- BinaryReadSettings model = new BinaryReadSettings().withCompressionProperties(
- new CompressionReadSettings().withAdditionalProperties(mapOf("type", "CompressionReadSettings")));
- model = BinaryData.fromObject(model).toObject(BinaryReadSettings.class);
- }
-
- // Use "Map.of" if available
- @SuppressWarnings("unchecked")
- private static Map mapOf(Object... inputs) {
- Map map = new HashMap<>();
- for (int i = 0; i < inputs.length; i += 2) {
- String key = (String) inputs[i];
- T value = (T) inputs[i + 1];
- map.put(key, value);
- }
- return map;
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/BinarySinkTests.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/BinarySinkTests.java
deleted file mode 100644
index 67a3cfaeea9a..000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/BinarySinkTests.java
+++ /dev/null
@@ -1,51 +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.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.datafactory.models.BinarySink;
-import com.azure.resourcemanager.datafactory.models.MetadataItem;
-import com.azure.resourcemanager.datafactory.models.StoreWriteSettings;
-import java.util.Arrays;
-import java.util.HashMap;
-import java.util.Map;
-
-public final class BinarySinkTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- BinarySink model = BinaryData.fromString(
- "{\"type\":\"BinarySink\",\"storeSettings\":{\"type\":\"StoreWriteSettings\",\"maxConcurrentConnections\":\"datanyciss\",\"disableMetricsCollection\":\"datapxftyhfc\",\"copyBehavior\":\"dataqsd\",\"metadata\":[{\"name\":\"dataaawry\",\"value\":\"datazs\"},{\"name\":\"datarzt\",\"value\":\"datarysxxa\"}],\"\":{\"ddvnobesowbtnfq\":\"datacighl\",\"hteho\":\"datawcaxj\",\"xofqjninrskq\":\"datacmeuuuajiotl\"}},\"writeBatchSize\":\"dataqtiuve\",\"writeBatchTimeout\":\"datauciwbiwygwpwqu\",\"sinkRetryCount\":\"dataqgslspihuxgvvio\",\"sinkRetryWait\":\"dataoolkmfi\",\"maxConcurrentConnections\":\"datafbbrndaquxvufr\",\"disableMetricsCollection\":\"dataaehssosowav\",\"\":{\"sjxf\":\"dataieyeblkgupgnst\",\"jff\":\"datahioartvkhufktqg\",\"gkokfzt\":\"datatreot\",\"kegyskmh\":\"datavonbtnnwa\"}}")
- .toObject(BinarySink.class);
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- BinarySink model = new BinarySink().withWriteBatchSize("dataqtiuve")
- .withWriteBatchTimeout("datauciwbiwygwpwqu")
- .withSinkRetryCount("dataqgslspihuxgvvio")
- .withSinkRetryWait("dataoolkmfi")
- .withMaxConcurrentConnections("datafbbrndaquxvufr")
- .withDisableMetricsCollection("dataaehssosowav")
- .withStoreSettings(new StoreWriteSettings().withMaxConcurrentConnections("datanyciss")
- .withDisableMetricsCollection("datapxftyhfc")
- .withCopyBehavior("dataqsd")
- .withMetadata(Arrays.asList(new MetadataItem().withName("dataaawry").withValue("datazs"),
- new MetadataItem().withName("datarzt").withValue("datarysxxa")))
- .withAdditionalProperties(mapOf("type", "StoreWriteSettings")));
- model = BinaryData.fromObject(model).toObject(BinarySink.class);
- }
-
- // Use "Map.of" if available
- @SuppressWarnings("unchecked")
- private static Map mapOf(Object... inputs) {
- Map map = new HashMap<>();
- for (int i = 0; i < inputs.length; i += 2) {
- String key = (String) inputs[i];
- T value = (T) inputs[i + 1];
- map.put(key, value);
- }
- return map;
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/BinarySourceTests.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/BinarySourceTests.java
deleted file mode 100644
index efdaf82b1d0e..000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/BinarySourceTests.java
+++ /dev/null
@@ -1,48 +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.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.datafactory.models.BinaryReadSettings;
-import com.azure.resourcemanager.datafactory.models.BinarySource;
-import com.azure.resourcemanager.datafactory.models.CompressionReadSettings;
-import com.azure.resourcemanager.datafactory.models.StoreReadSettings;
-import java.util.HashMap;
-import java.util.Map;
-
-public final class BinarySourceTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- BinarySource model = BinaryData.fromString(
- "{\"type\":\"BinarySource\",\"storeSettings\":{\"type\":\"StoreReadSettings\",\"maxConcurrentConnections\":\"datantsp\",\"disableMetricsCollection\":\"dataumpyytbjbmjbmtx\",\"\":{\"kgeqotvocjktihnw\":\"dataf\",\"mtfnbvtx\":\"datavtrsgf\",\"jxcdhp\":\"dataqlbmiqbdia\",\"qpfynt\":\"datalxwsfdd\"}},\"formatSettings\":{\"type\":\"BinaryReadSettings\",\"compressionProperties\":{\"type\":\"CompressionReadSettings\",\"\":{\"hruwizqvgadole\":\"dataurhljjzsj\"}},\"\":{\"tcesvvrab\":\"datalzjhaqxfams\",\"kxa\":\"datayfhzybjrxen\"}},\"sourceRetryCount\":\"databrcydwr\",\"sourceRetryWait\":\"datatanbwxh\",\"maxConcurrentConnections\":\"dataioqhoxcgfyzlui\",\"disableMetricsCollection\":\"datagpghjakzmn\",\"\":{\"pbxvpfyupgo\":\"dataqmajslwmj\",\"frkzgtxwyqkk\":\"datarwpoxuykqyoyjptk\"}}")
- .toObject(BinarySource.class);
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- BinarySource model = new BinarySource().withSourceRetryCount("databrcydwr")
- .withSourceRetryWait("datatanbwxh")
- .withMaxConcurrentConnections("dataioqhoxcgfyzlui")
- .withDisableMetricsCollection("datagpghjakzmn")
- .withStoreSettings(new StoreReadSettings().withMaxConcurrentConnections("datantsp")
- .withDisableMetricsCollection("dataumpyytbjbmjbmtx")
- .withAdditionalProperties(mapOf("type", "StoreReadSettings")))
- .withFormatSettings(new BinaryReadSettings().withCompressionProperties(
- new CompressionReadSettings().withAdditionalProperties(mapOf("type", "CompressionReadSettings"))));
- model = BinaryData.fromObject(model).toObject(BinarySource.class);
- }
-
- // Use "Map.of" if available
- @SuppressWarnings("unchecked")
- private static Map mapOf(Object... inputs) {
- Map map = new HashMap<>();
- for (int i = 0; i < inputs.length; i += 2) {
- String key = (String) inputs[i];
- T value = (T) inputs[i + 1];
- map.put(key, value);
- }
- return map;
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/BlobEventsTriggerTests.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/BlobEventsTriggerTests.java
deleted file mode 100644
index 393935c3281d..000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/BlobEventsTriggerTests.java
+++ /dev/null
@@ -1,85 +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.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.datafactory.models.BlobEventTypes;
-import com.azure.resourcemanager.datafactory.models.BlobEventsTrigger;
-import com.azure.resourcemanager.datafactory.models.PipelineReference;
-import com.azure.resourcemanager.datafactory.models.TriggerPipelineReference;
-import java.util.Arrays;
-import java.util.HashMap;
-import java.util.Map;
-import org.junit.jupiter.api.Assertions;
-
-public final class BlobEventsTriggerTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- BlobEventsTrigger model = BinaryData.fromString(
- "{\"type\":\"BlobEventsTrigger\",\"typeProperties\":{\"blobPathBeginsWith\":\"amijgq\",\"blobPathEndsWith\":\"zvvwyhszewh\",\"ignoreEmptyBlobs\":false,\"events\":[\"Microsoft.Storage.BlobCreated\",\"Microsoft.Storage.BlobCreated\",\"Microsoft.Storage.BlobCreated\",\"Microsoft.Storage.BlobDeleted\"],\"scope\":\"kiwytskp\"},\"pipelines\":[{\"pipelineReference\":{\"referenceName\":\"vwwbxnxlhdindc\",\"name\":\"iq\"},\"parameters\":{\"jli\":\"datay\",\"hcylvjzufznaed\":\"datagkxrevwvjwtf\"}},{\"pipelineReference\":{\"referenceName\":\"uxrufwdbi\",\"name\":\"udphy\"},\"parameters\":{\"wdesyttka\":\"datavopc\",\"cbntnjnkvsnsiphl\":\"datafabt\",\"xtzgxdxq\":\"datawcedzodvz\"}},{\"pipelineReference\":{\"referenceName\":\"uzubntuimi\",\"name\":\"cnubynrhencgfz\"},\"parameters\":{\"dqtchxtbcqjvy\":\"datazu\",\"ioatzmr\":\"dataotxkhyvjomq\"}},{\"pipelineReference\":{\"referenceName\":\"srjjajlr\",\"name\":\"mjrufwqpnmcwesfp\"},\"parameters\":{\"rztwwkvwpbd\":\"datadzkbky\",\"upnfrlygyjrlu\":\"datazdkrmpljzrzv\",\"l\":\"dataigzwhfeq\",\"yzzk\":\"datajl\"}}],\"description\":\"beydjagyksgntg\",\"runtimeState\":\"Disabled\",\"annotations\":[\"datafjbxhna\",\"datagbloeaewidumi\"],\"\":{\"majirnqcbhviqwfc\":\"datacgbyx\",\"bombncjn\":\"dataiyafafoornsktd\",\"qwnt\":\"datakc\",\"ijobcpruommtuca\":\"dataqvlcunnb\"}}")
- .toObject(BlobEventsTrigger.class);
- Assertions.assertEquals("beydjagyksgntg", model.description());
- Assertions.assertEquals("vwwbxnxlhdindc", model.pipelines().get(0).pipelineReference().referenceName());
- Assertions.assertEquals("iq", model.pipelines().get(0).pipelineReference().name());
- Assertions.assertEquals("amijgq", model.blobPathBeginsWith());
- Assertions.assertEquals("zvvwyhszewh", model.blobPathEndsWith());
- Assertions.assertEquals(false, model.ignoreEmptyBlobs());
- Assertions.assertEquals(BlobEventTypes.MICROSOFT_STORAGE_BLOB_CREATED, model.events().get(0));
- Assertions.assertEquals("kiwytskp", model.scope());
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- BlobEventsTrigger model
- = new BlobEventsTrigger().withDescription("beydjagyksgntg")
- .withAnnotations(Arrays.asList("datafjbxhna", "datagbloeaewidumi"))
- .withPipelines(Arrays.asList(
- new TriggerPipelineReference()
- .withPipelineReference(
- new PipelineReference().withReferenceName("vwwbxnxlhdindc").withName("iq"))
- .withParameters(mapOf("jli", "datay", "hcylvjzufznaed", "datagkxrevwvjwtf")),
- new TriggerPipelineReference()
- .withPipelineReference(new PipelineReference().withReferenceName("uxrufwdbi").withName("udphy"))
- .withParameters(mapOf("wdesyttka", "datavopc", "cbntnjnkvsnsiphl", "datafabt", "xtzgxdxq",
- "datawcedzodvz")),
- new TriggerPipelineReference()
- .withPipelineReference(
- new PipelineReference().withReferenceName("uzubntuimi").withName("cnubynrhencgfz"))
- .withParameters(mapOf("dqtchxtbcqjvy", "datazu", "ioatzmr", "dataotxkhyvjomq")),
- new TriggerPipelineReference()
- .withPipelineReference(
- new PipelineReference().withReferenceName("srjjajlr").withName("mjrufwqpnmcwesfp"))
- .withParameters(mapOf("rztwwkvwpbd", "datadzkbky", "upnfrlygyjrlu", "datazdkrmpljzrzv", "l",
- "dataigzwhfeq", "yzzk", "datajl"))))
- .withBlobPathBeginsWith("amijgq")
- .withBlobPathEndsWith("zvvwyhszewh")
- .withIgnoreEmptyBlobs(false)
- .withEvents(Arrays.asList(BlobEventTypes.MICROSOFT_STORAGE_BLOB_CREATED,
- BlobEventTypes.MICROSOFT_STORAGE_BLOB_CREATED, BlobEventTypes.MICROSOFT_STORAGE_BLOB_CREATED,
- BlobEventTypes.MICROSOFT_STORAGE_BLOB_DELETED))
- .withScope("kiwytskp");
- model = BinaryData.fromObject(model).toObject(BlobEventsTrigger.class);
- Assertions.assertEquals("beydjagyksgntg", model.description());
- Assertions.assertEquals("vwwbxnxlhdindc", model.pipelines().get(0).pipelineReference().referenceName());
- Assertions.assertEquals("iq", model.pipelines().get(0).pipelineReference().name());
- Assertions.assertEquals("amijgq", model.blobPathBeginsWith());
- Assertions.assertEquals("zvvwyhszewh", model.blobPathEndsWith());
- Assertions.assertEquals(false, model.ignoreEmptyBlobs());
- Assertions.assertEquals(BlobEventTypes.MICROSOFT_STORAGE_BLOB_CREATED, model.events().get(0));
- Assertions.assertEquals("kiwytskp", model.scope());
- }
-
- // Use "Map.of" if available
- @SuppressWarnings("unchecked")
- private static Map mapOf(Object... inputs) {
- Map map = new HashMap<>();
- for (int i = 0; i < inputs.length; i += 2) {
- String key = (String) inputs[i];
- T value = (T) inputs[i + 1];
- map.put(key, value);
- }
- return map;
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/BlobEventsTriggerTypePropertiesTests.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/BlobEventsTriggerTypePropertiesTests.java
deleted file mode 100644
index ffc88a8f9041..000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/BlobEventsTriggerTypePropertiesTests.java
+++ /dev/null
@@ -1,42 +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.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.datafactory.fluent.models.BlobEventsTriggerTypeProperties;
-import com.azure.resourcemanager.datafactory.models.BlobEventTypes;
-import java.util.Arrays;
-import org.junit.jupiter.api.Assertions;
-
-public final class BlobEventsTriggerTypePropertiesTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- BlobEventsTriggerTypeProperties model = BinaryData.fromString(
- "{\"blobPathBeginsWith\":\"rlvkdaphzemnjast\",\"blobPathEndsWith\":\"zzyqbwimzjh\",\"ignoreEmptyBlobs\":true,\"events\":[\"Microsoft.Storage.BlobDeleted\",\"Microsoft.Storage.BlobCreated\"],\"scope\":\"grakmwyo\"}")
- .toObject(BlobEventsTriggerTypeProperties.class);
- Assertions.assertEquals("rlvkdaphzemnjast", model.blobPathBeginsWith());
- Assertions.assertEquals("zzyqbwimzjh", model.blobPathEndsWith());
- Assertions.assertEquals(true, model.ignoreEmptyBlobs());
- Assertions.assertEquals(BlobEventTypes.MICROSOFT_STORAGE_BLOB_DELETED, model.events().get(0));
- Assertions.assertEquals("grakmwyo", model.scope());
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- BlobEventsTriggerTypeProperties model
- = new BlobEventsTriggerTypeProperties().withBlobPathBeginsWith("rlvkdaphzemnjast")
- .withBlobPathEndsWith("zzyqbwimzjh")
- .withIgnoreEmptyBlobs(true)
- .withEvents(Arrays.asList(BlobEventTypes.MICROSOFT_STORAGE_BLOB_DELETED,
- BlobEventTypes.MICROSOFT_STORAGE_BLOB_CREATED))
- .withScope("grakmwyo");
- model = BinaryData.fromObject(model).toObject(BlobEventsTriggerTypeProperties.class);
- Assertions.assertEquals("rlvkdaphzemnjast", model.blobPathBeginsWith());
- Assertions.assertEquals("zzyqbwimzjh", model.blobPathEndsWith());
- Assertions.assertEquals(true, model.ignoreEmptyBlobs());
- Assertions.assertEquals(BlobEventTypes.MICROSOFT_STORAGE_BLOB_DELETED, model.events().get(0));
- Assertions.assertEquals("grakmwyo", model.scope());
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/BlobSinkTests.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/BlobSinkTests.java
deleted file mode 100644
index 1be7e1e78eff..000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/BlobSinkTests.java
+++ /dev/null
@@ -1,38 +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.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.datafactory.models.BlobSink;
-import com.azure.resourcemanager.datafactory.models.MetadataItem;
-import java.util.Arrays;
-
-public final class BlobSinkTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- BlobSink model = BinaryData.fromString(
- "{\"type\":\"BlobSink\",\"blobWriterOverwriteFiles\":\"datajhgqqjmfrm\",\"blobWriterDateTimeFormat\":\"datav\",\"blobWriterAddHeader\":\"databrmmweeuy\",\"copyBehavior\":\"datajhpxjlg\",\"metadata\":[{\"name\":\"datalirnadqeqfxzc\",\"value\":\"datapogrtkditkwoke\"},{\"name\":\"dataeep\",\"value\":\"datacwsyqxfowfnsyy\"},{\"name\":\"datatrwyojhmgvme\",\"value\":\"datajazqlmigkxtgs\"}],\"writeBatchSize\":\"datadnholkoyxmspud\",\"writeBatchTimeout\":\"datawvzunrqvup\",\"sinkRetryCount\":\"datasrnqz\",\"sinkRetryWait\":\"datajwofgzifrm\",\"maxConcurrentConnections\":\"datatilhoy\",\"disableMetricsCollection\":\"datahwaepg\",\"\":{\"rifcqmfv\":\"datarcdtkv\",\"rvwmmuovturdhnn\":\"dataubmhsxtry\",\"vuei\":\"datahrizwmptsygqztn\"}}")
- .toObject(BlobSink.class);
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- BlobSink model = new BlobSink().withWriteBatchSize("datadnholkoyxmspud")
- .withWriteBatchTimeout("datawvzunrqvup")
- .withSinkRetryCount("datasrnqz")
- .withSinkRetryWait("datajwofgzifrm")
- .withMaxConcurrentConnections("datatilhoy")
- .withDisableMetricsCollection("datahwaepg")
- .withBlobWriterOverwriteFiles("datajhgqqjmfrm")
- .withBlobWriterDateTimeFormat("datav")
- .withBlobWriterAddHeader("databrmmweeuy")
- .withCopyBehavior("datajhpxjlg")
- .withMetadata(
- Arrays.asList(new MetadataItem().withName("datalirnadqeqfxzc").withValue("datapogrtkditkwoke"),
- new MetadataItem().withName("dataeep").withValue("datacwsyqxfowfnsyy"),
- new MetadataItem().withName("datatrwyojhmgvme").withValue("datajazqlmigkxtgs")));
- model = BinaryData.fromObject(model).toObject(BlobSink.class);
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/BlobSourceTests.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/BlobSourceTests.java
deleted file mode 100644
index 67885e2a8983..000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/BlobSourceTests.java
+++ /dev/null
@@ -1,29 +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.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.datafactory.models.BlobSource;
-
-public final class BlobSourceTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- BlobSource model = BinaryData.fromString(
- "{\"type\":\"BlobSource\",\"treatEmptyAsNull\":\"datazuzvbqbroyrw\",\"skipHeaderLineCount\":\"databbfweozkbok\",\"recursive\":\"datasu\",\"sourceRetryCount\":\"datacslzca\",\"sourceRetryWait\":\"datad\",\"maxConcurrentConnections\":\"datafwkpupbsgfnqtxl\",\"disableMetricsCollection\":\"dataoviklxsgstunsatc\",\"\":{\"tgsazwx\":\"datadbehkbuajkodpz\",\"hasjbuhz\":\"datafaas\"}}")
- .toObject(BlobSource.class);
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- BlobSource model = new BlobSource().withSourceRetryCount("datacslzca")
- .withSourceRetryWait("datad")
- .withMaxConcurrentConnections("datafwkpupbsgfnqtxl")
- .withDisableMetricsCollection("dataoviklxsgstunsatc")
- .withTreatEmptyAsNull("datazuzvbqbroyrw")
- .withSkipHeaderLineCount("databbfweozkbok")
- .withRecursive("datasu");
- model = BinaryData.fromObject(model).toObject(BlobSource.class);
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/BlobTriggerTests.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/BlobTriggerTests.java
deleted file mode 100644
index 04cefb8ce0a9..000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/BlobTriggerTests.java
+++ /dev/null
@@ -1,63 +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.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.datafactory.models.BlobTrigger;
-import com.azure.resourcemanager.datafactory.models.LinkedServiceReference;
-import com.azure.resourcemanager.datafactory.models.PipelineReference;
-import com.azure.resourcemanager.datafactory.models.TriggerPipelineReference;
-import java.util.Arrays;
-import java.util.HashMap;
-import java.util.Map;
-import org.junit.jupiter.api.Assertions;
-
-public final class BlobTriggerTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- BlobTrigger model = BinaryData.fromString(
- "{\"type\":\"BlobTrigger\",\"typeProperties\":{\"folderPath\":\"axcbfrnttlrumv\",\"maxConcurrency\":1631960216,\"linkedService\":{\"referenceName\":\"byedcavv\",\"parameters\":{\"mqxbauzvxe\":\"datannhafed\"}}},\"pipelines\":[{\"pipelineReference\":{\"referenceName\":\"mg\",\"name\":\"vmuqxsoc\"},\"parameters\":{\"jpu\":\"datartcifxle\",\"cvsjcdmnvtpb\":\"dataai\",\"wcbnm\":\"datahzcaaqvsdaqfvplf\",\"bbvqsqw\":\"datashmqn\"}}],\"description\":\"xtqdtvejilq\",\"runtimeState\":\"Stopped\",\"annotations\":[\"datarokfyddrsa\"],\"\":{\"vbc\":\"datanweiytkeqjviaws\",\"lmiuprfqyrwtdnr\":\"dataahe\"}}")
- .toObject(BlobTrigger.class);
- Assertions.assertEquals("xtqdtvejilq", model.description());
- Assertions.assertEquals("mg", model.pipelines().get(0).pipelineReference().referenceName());
- Assertions.assertEquals("vmuqxsoc", model.pipelines().get(0).pipelineReference().name());
- Assertions.assertEquals("axcbfrnttlrumv", model.folderPath());
- Assertions.assertEquals(1631960216, model.maxConcurrency());
- Assertions.assertEquals("byedcavv", model.linkedService().referenceName());
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- BlobTrigger model = new BlobTrigger().withDescription("xtqdtvejilq")
- .withAnnotations(Arrays.asList("datarokfyddrsa"))
- .withPipelines(Arrays.asList(new TriggerPipelineReference()
- .withPipelineReference(new PipelineReference().withReferenceName("mg").withName("vmuqxsoc"))
- .withParameters(mapOf("jpu", "datartcifxle", "cvsjcdmnvtpb", "dataai", "wcbnm", "datahzcaaqvsdaqfvplf",
- "bbvqsqw", "datashmqn"))))
- .withFolderPath("axcbfrnttlrumv")
- .withMaxConcurrency(1631960216)
- .withLinkedService(new LinkedServiceReference().withReferenceName("byedcavv")
- .withParameters(mapOf("mqxbauzvxe", "datannhafed")));
- model = BinaryData.fromObject(model).toObject(BlobTrigger.class);
- Assertions.assertEquals("xtqdtvejilq", model.description());
- Assertions.assertEquals("mg", model.pipelines().get(0).pipelineReference().referenceName());
- Assertions.assertEquals("vmuqxsoc", model.pipelines().get(0).pipelineReference().name());
- Assertions.assertEquals("axcbfrnttlrumv", model.folderPath());
- Assertions.assertEquals(1631960216, model.maxConcurrency());
- Assertions.assertEquals("byedcavv", model.linkedService().referenceName());
- }
-
- // Use "Map.of" if available
- @SuppressWarnings("unchecked")
- private static Map mapOf(Object... inputs) {
- Map map = new HashMap<>();
- for (int i = 0; i < inputs.length; i += 2) {
- String key = (String) inputs[i];
- T value = (T) inputs[i + 1];
- map.put(key, value);
- }
- return map;
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/BlobTriggerTypePropertiesTests.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/BlobTriggerTypePropertiesTests.java
deleted file mode 100644
index eb77d9474236..000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/BlobTriggerTypePropertiesTests.java
+++ /dev/null
@@ -1,49 +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.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.datafactory.fluent.models.BlobTriggerTypeProperties;
-import com.azure.resourcemanager.datafactory.models.LinkedServiceReference;
-import java.util.HashMap;
-import java.util.Map;
-import org.junit.jupiter.api.Assertions;
-
-public final class BlobTriggerTypePropertiesTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- BlobTriggerTypeProperties model = BinaryData.fromString(
- "{\"folderPath\":\"rmhewdfua\",\"maxConcurrency\":1306502182,\"linkedService\":{\"referenceName\":\"kfojn\",\"parameters\":{\"oprkpdghqsatbebx\":\"datatuyim\",\"zqaavxxvl\":\"dataedyyengnhoxbp\",\"ihqw\":\"dataspptxdra\",\"yguqsqobrent\":\"datartbvqtogkxdevkn\"}}}")
- .toObject(BlobTriggerTypeProperties.class);
- Assertions.assertEquals("rmhewdfua", model.folderPath());
- Assertions.assertEquals(1306502182, model.maxConcurrency());
- Assertions.assertEquals("kfojn", model.linkedService().referenceName());
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- BlobTriggerTypeProperties model = new BlobTriggerTypeProperties().withFolderPath("rmhewdfua")
- .withMaxConcurrency(1306502182)
- .withLinkedService(new LinkedServiceReference().withReferenceName("kfojn")
- .withParameters(mapOf("oprkpdghqsatbebx", "datatuyim", "zqaavxxvl", "dataedyyengnhoxbp", "ihqw",
- "dataspptxdra", "yguqsqobrent", "datartbvqtogkxdevkn")));
- model = BinaryData.fromObject(model).toObject(BlobTriggerTypeProperties.class);
- Assertions.assertEquals("rmhewdfua", model.folderPath());
- Assertions.assertEquals(1306502182, model.maxConcurrency());
- Assertions.assertEquals("kfojn", model.linkedService().referenceName());
- }
-
- // Use "Map.of" if available
- @SuppressWarnings("unchecked")
- private static Map mapOf(Object... inputs) {
- Map map = new HashMap<>();
- for (int i = 0; i < inputs.length; i += 2) {
- String key = (String) inputs[i];
- T value = (T) inputs[i + 1];
- map.put(key, value);
- }
- return map;
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/CassandraSourceTests.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/CassandraSourceTests.java
deleted file mode 100644
index f18715d2dbd4..000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/CassandraSourceTests.java
+++ /dev/null
@@ -1,34 +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.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.datafactory.models.CassandraSource;
-import com.azure.resourcemanager.datafactory.models.CassandraSourceReadConsistencyLevels;
-import org.junit.jupiter.api.Assertions;
-
-public final class CassandraSourceTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- CassandraSource model = BinaryData.fromString(
- "{\"type\":\"CassandraSource\",\"query\":\"dataaomy\",\"consistencyLevel\":\"EACH_QUORUM\",\"queryTimeout\":\"datawdjbyaav\",\"additionalColumns\":\"datasxamncuhxznmak\",\"sourceRetryCount\":\"datahuetztorhue\",\"sourceRetryWait\":\"datayssz\",\"maxConcurrentConnections\":\"dataewjqgzloorh\",\"disableMetricsCollection\":\"dataur\",\"\":{\"nmhvwgchgpbdkqw\":\"datajqpyxiaakgdk\"}}")
- .toObject(CassandraSource.class);
- Assertions.assertEquals(CassandraSourceReadConsistencyLevels.EACH_QUORUM, model.consistencyLevel());
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- CassandraSource model = new CassandraSource().withSourceRetryCount("datahuetztorhue")
- .withSourceRetryWait("datayssz")
- .withMaxConcurrentConnections("dataewjqgzloorh")
- .withDisableMetricsCollection("dataur")
- .withQueryTimeout("datawdjbyaav")
- .withAdditionalColumns("datasxamncuhxznmak")
- .withQuery("dataaomy")
- .withConsistencyLevel(CassandraSourceReadConsistencyLevels.EACH_QUORUM);
- model = BinaryData.fromObject(model).toObject(CassandraSource.class);
- Assertions.assertEquals(CassandraSourceReadConsistencyLevels.EACH_QUORUM, model.consistencyLevel());
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/ChainingTriggerTests.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/ChainingTriggerTests.java
deleted file mode 100644
index b2a18eb9aae2..000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/ChainingTriggerTests.java
+++ /dev/null
@@ -1,61 +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.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.datafactory.models.ChainingTrigger;
-import com.azure.resourcemanager.datafactory.models.PipelineReference;
-import com.azure.resourcemanager.datafactory.models.TriggerPipelineReference;
-import java.util.Arrays;
-import java.util.HashMap;
-import java.util.Map;
-import org.junit.jupiter.api.Assertions;
-
-public final class ChainingTriggerTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- ChainingTrigger model = BinaryData.fromString(
- "{\"type\":\"ChainingTrigger\",\"pipeline\":{\"pipelineReference\":{\"referenceName\":\"l\",\"name\":\"pwsa\"},\"parameters\":{\"rwecrvkiaognma\":\"dataefkgjdnzowp\"}},\"typeProperties\":{\"dependsOn\":[{\"referenceName\":\"zjprlqwjwpejts\",\"name\":\"bvjcvwvyc\"},{\"referenceName\":\"nowzcl\",\"name\":\"mdlhxwwhusrod\"}],\"runDimension\":\"omozafwq\"},\"description\":\"cwkwm\",\"runtimeState\":\"Disabled\",\"annotations\":[\"datada\",\"dataxofaq\",\"datassukvsgkzxznctx\",\"datacznszmjz\"],\"\":{\"vxahxyslhxok\":\"datacaqpkpvdii\",\"chduflajsg\":\"dataomakmi\",\"mfir\":\"datatgzcbvxyqprch\",\"aazvmnv\":\"dataoytkkq\"}}")
- .toObject(ChainingTrigger.class);
- Assertions.assertEquals("cwkwm", model.description());
- Assertions.assertEquals("l", model.pipeline().pipelineReference().referenceName());
- Assertions.assertEquals("pwsa", model.pipeline().pipelineReference().name());
- Assertions.assertEquals("zjprlqwjwpejts", model.dependsOn().get(0).referenceName());
- Assertions.assertEquals("bvjcvwvyc", model.dependsOn().get(0).name());
- Assertions.assertEquals("omozafwq", model.runDimension());
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- ChainingTrigger model = new ChainingTrigger().withDescription("cwkwm")
- .withAnnotations(Arrays.asList("datada", "dataxofaq", "datassukvsgkzxznctx", "datacznszmjz"))
- .withPipeline(new TriggerPipelineReference()
- .withPipelineReference(new PipelineReference().withReferenceName("l").withName("pwsa"))
- .withParameters(mapOf("rwecrvkiaognma", "dataefkgjdnzowp")))
- .withDependsOn(
- Arrays.asList(new PipelineReference().withReferenceName("zjprlqwjwpejts").withName("bvjcvwvyc"),
- new PipelineReference().withReferenceName("nowzcl").withName("mdlhxwwhusrod")))
- .withRunDimension("omozafwq");
- model = BinaryData.fromObject(model).toObject(ChainingTrigger.class);
- Assertions.assertEquals("cwkwm", model.description());
- Assertions.assertEquals("l", model.pipeline().pipelineReference().referenceName());
- Assertions.assertEquals("pwsa", model.pipeline().pipelineReference().name());
- Assertions.assertEquals("zjprlqwjwpejts", model.dependsOn().get(0).referenceName());
- Assertions.assertEquals("bvjcvwvyc", model.dependsOn().get(0).name());
- Assertions.assertEquals("omozafwq", model.runDimension());
- }
-
- // Use "Map.of" if available
- @SuppressWarnings("unchecked")
- private static Map mapOf(Object... inputs) {
- Map map = new HashMap<>();
- for (int i = 0; i < inputs.length; i += 2) {
- String key = (String) inputs[i];
- T value = (T) inputs[i + 1];
- map.put(key, value);
- }
- return map;
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/ChainingTriggerTypePropertiesTests.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/ChainingTriggerTypePropertiesTests.java
deleted file mode 100644
index ba8ef20b0f95..000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/ChainingTriggerTypePropertiesTests.java
+++ /dev/null
@@ -1,39 +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.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.datafactory.fluent.models.ChainingTriggerTypeProperties;
-import com.azure.resourcemanager.datafactory.models.PipelineReference;
-import java.util.Arrays;
-import org.junit.jupiter.api.Assertions;
-
-public final class ChainingTriggerTypePropertiesTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- ChainingTriggerTypeProperties model = BinaryData.fromString(
- "{\"dependsOn\":[{\"referenceName\":\"zfypdsrfpihvijsj\",\"name\":\"p\"},{\"referenceName\":\"cqb\",\"name\":\"jjfxz\"},{\"referenceName\":\"jduyotqbfqtx\",\"name\":\"uxmegrix\"},{\"referenceName\":\"lbzjlqrp\",\"name\":\"pjstco\"}],\"runDimension\":\"b\"}")
- .toObject(ChainingTriggerTypeProperties.class);
- Assertions.assertEquals("zfypdsrfpihvijsj", model.dependsOn().get(0).referenceName());
- Assertions.assertEquals("p", model.dependsOn().get(0).name());
- Assertions.assertEquals("b", model.runDimension());
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- ChainingTriggerTypeProperties model
- = new ChainingTriggerTypeProperties()
- .withDependsOn(
- Arrays.asList(new PipelineReference().withReferenceName("zfypdsrfpihvijsj").withName("p"),
- new PipelineReference().withReferenceName("cqb").withName("jjfxz"),
- new PipelineReference().withReferenceName("jduyotqbfqtx").withName("uxmegrix"),
- new PipelineReference().withReferenceName("lbzjlqrp").withName("pjstco")))
- .withRunDimension("b");
- model = BinaryData.fromObject(model).toObject(ChainingTriggerTypeProperties.class);
- Assertions.assertEquals("zfypdsrfpihvijsj", model.dependsOn().get(0).referenceName());
- Assertions.assertEquals("p", model.dependsOn().get(0).name());
- Assertions.assertEquals("b", model.runDimension());
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/ChangeDataCaptureFolderTests.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/ChangeDataCaptureFolderTests.java
deleted file mode 100644
index 5feab0015b8e..000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/ChangeDataCaptureFolderTests.java
+++ /dev/null
@@ -1,25 +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.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.datafactory.models.ChangeDataCaptureFolder;
-import org.junit.jupiter.api.Assertions;
-
-public final class ChangeDataCaptureFolderTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- ChangeDataCaptureFolder model
- = BinaryData.fromString("{\"name\":\"yovwzdbpqv\"}").toObject(ChangeDataCaptureFolder.class);
- Assertions.assertEquals("yovwzdbpqv", model.name());
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- ChangeDataCaptureFolder model = new ChangeDataCaptureFolder().withName("yovwzdbpqv");
- model = BinaryData.fromObject(model).toObject(ChangeDataCaptureFolder.class);
- Assertions.assertEquals("yovwzdbpqv", model.name());
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/ChangeDataCaptureListResponseTests.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/ChangeDataCaptureListResponseTests.java
deleted file mode 100644
index 5f911fb14dc2..000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/ChangeDataCaptureListResponseTests.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.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.datafactory.fluent.models.ChangeDataCaptureResourceInner;
-import com.azure.resourcemanager.datafactory.models.ChangeDataCaptureFolder;
-import com.azure.resourcemanager.datafactory.models.ChangeDataCaptureListResponse;
-import com.azure.resourcemanager.datafactory.models.ConnectionType;
-import com.azure.resourcemanager.datafactory.models.DataMapperMapping;
-import com.azure.resourcemanager.datafactory.models.FrequencyType;
-import com.azure.resourcemanager.datafactory.models.MapperConnection;
-import com.azure.resourcemanager.datafactory.models.MapperPolicy;
-import com.azure.resourcemanager.datafactory.models.MapperPolicyRecurrence;
-import com.azure.resourcemanager.datafactory.models.MapperSourceConnectionsInfo;
-import com.azure.resourcemanager.datafactory.models.MapperTable;
-import com.azure.resourcemanager.datafactory.models.MapperTargetConnectionsInfo;
-import java.util.Arrays;
-import java.util.HashMap;
-import java.util.Map;
-import org.junit.jupiter.api.Assertions;
-
-public final class ChangeDataCaptureListResponseTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- ChangeDataCaptureListResponse model = BinaryData.fromString(
- "{\"value\":[{\"properties\":{\"folder\":{\"name\":\"hpv\"},\"description\":\"mslclblyjxlt\",\"sourceConnectionsInfo\":[{\"sourceEntities\":[{}],\"connection\":{\"type\":\"linkedservicetype\"}},{\"sourceEntities\":[{},{},{}],\"connection\":{\"type\":\"linkedservicetype\"}},{\"sourceEntities\":[{},{},{},{}],\"connection\":{\"type\":\"linkedservicetype\"}},{\"sourceEntities\":[{},{},{},{}],\"connection\":{\"type\":\"linkedservicetype\"}}],\"targetConnectionsInfo\":[{\"targetEntities\":[{},{},{}],\"connection\":{\"type\":\"linkedservicetype\"},\"dataMapperMappings\":[{}],\"relationships\":[\"datadrtc\",\"dataukdqkkyihztg\"]},{\"targetEntities\":[{},{},{}],\"connection\":{\"type\":\"linkedservicetype\"},\"dataMapperMappings\":[{},{}],\"relationships\":[\"datadoychillcecfeh\",\"datawaoaguhi\"]},{\"targetEntities\":[{},{}],\"connection\":{\"type\":\"linkedservicetype\"},\"dataMapperMappings\":[{},{},{},{}],\"relationships\":[\"datacsjvhrwef\"]}],\"policy\":{\"mode\":\"wqejpmvsse\",\"recurrence\":{\"frequency\":\"Minute\",\"interval\":18531700}},\"allowVNetOverride\":true,\"status\":\"tczhupeuknijd\"},\"name\":\"yespydjfbocyv\",\"type\":\"ulrtywikdmh\",\"etag\":\"kuflgbh\",\"\":{\"f\":\"dataacdixmx\",\"oeoq\":\"datasryjqgdkfno\",\"jchnta\":\"datavjhvefgwbm\"},\"id\":\"ay\"},{\"properties\":{\"folder\":{\"name\":\"ulpzealb\"},\"description\":\"kyojwyvfk\",\"sourceConnectionsInfo\":[{\"sourceEntities\":[{}],\"connection\":{\"type\":\"linkedservicetype\"}},{\"sourceEntities\":[{},{},{}],\"connection\":{\"type\":\"linkedservicetype\"}}],\"targetConnectionsInfo\":[{\"targetEntities\":[{},{}],\"connection\":{\"type\":\"linkedservicetype\"},\"dataMapperMappings\":[{},{},{},{}],\"relationships\":[\"datacubiwsdr\",\"datapxqwo\",\"dataiffjxcjrm\",\"datauabwibvjogjo\"]},{\"targetEntities\":[{},{},{},{}],\"connection\":{\"type\":\"linkedservicetype\"},\"dataMapperMappings\":[{},{},{},{}],\"relationships\":[\"databamwineo\",\"datavfkakpold\"]},{\"targetEntities\":[{},{},{},{}],\"connection\":{\"type\":\"linkedservicetype\"},\"dataMapperMappings\":[{}],\"relationships\":[\"datahzjkn\",\"datauxgvttxpnr\",\"datapzaamrdixtreki\"]}],\"policy\":{\"mode\":\"wyskbruffgll\",\"recurrence\":{\"frequency\":\"Hour\",\"interval\":1275101011}},\"allowVNetOverride\":false,\"status\":\"rpq\"},\"name\":\"mblcouqehbhbcds\",\"type\":\"ryrando\",\"etag\":\"mbltoo\",\"\":{\"aolnjpnnbmjk\":\"datafqlwxldykalsy\",\"nadzyq\":\"dataibjgsjjxxahm\"},\"id\":\"xyivpinbm\"},{\"properties\":{\"folder\":{\"name\":\"jijkgqxnhmbke\"},\"description\":\"jauj\",\"sourceConnectionsInfo\":[{\"sourceEntities\":[{},{},{},{}],\"connection\":{\"type\":\"linkedservicetype\"}}],\"targetConnectionsInfo\":[{\"targetEntities\":[{},{},{}],\"connection\":{\"type\":\"linkedservicetype\"},\"dataMapperMappings\":[{},{}],\"relationships\":[\"dataawxwfek\",\"dataumrrqmbzm\",\"datakratbnxwbj\"]},{\"targetEntities\":[{},{},{},{}],\"connection\":{\"type\":\"linkedservicetype\"},\"dataMapperMappings\":[{},{},{}],\"relationships\":[\"datakso\",\"datadgo\",\"dataewijymrhbguz\"]},{\"targetEntities\":[{},{},{},{}],\"connection\":{\"type\":\"linkedservicetype\"},\"dataMapperMappings\":[{},{}],\"relationships\":[\"datazhhh\",\"datao\"]},{\"targetEntities\":[{},{},{},{}],\"connection\":{\"type\":\"linkedservicetype\"},\"dataMapperMappings\":[{},{},{},{}],\"relationships\":[\"datacyar\",\"dataroohguabzogh\",\"datat\"]}],\"policy\":{\"mode\":\"yczhco\",\"recurrence\":{\"frequency\":\"Second\",\"interval\":953952910}},\"allowVNetOverride\":true,\"status\":\"ttjzcfyjzpt\"},\"name\":\"lohap\",\"type\":\"nfszpyglqdhmrjz\",\"etag\":\"l\",\"\":{\"ypsjoq\":\"datajb\"},\"id\":\"enky\"}],\"nextLink\":\"qzvs\"}")
- .toObject(ChangeDataCaptureListResponse.class);
- Assertions.assertEquals("ay", model.value().get(0).id());
- Assertions.assertEquals("hpv", model.value().get(0).folder().name());
- Assertions.assertEquals("mslclblyjxlt", model.value().get(0).description());
- Assertions.assertEquals(ConnectionType.LINKEDSERVICETYPE,
- model.value().get(0).sourceConnectionsInfo().get(0).connection().type());
- Assertions.assertEquals(ConnectionType.LINKEDSERVICETYPE,
- model.value().get(0).targetConnectionsInfo().get(0).connection().type());
- Assertions.assertEquals("wqejpmvsse", model.value().get(0).policy().mode());
- Assertions.assertEquals(FrequencyType.MINUTE, model.value().get(0).policy().recurrence().frequency());
- Assertions.assertEquals(18531700, model.value().get(0).policy().recurrence().interval());
- Assertions.assertEquals(true, model.value().get(0).allowVNetOverride());
- Assertions.assertEquals("tczhupeuknijd", model.value().get(0).status());
- Assertions.assertEquals("qzvs", model.nextLink());
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- ChangeDataCaptureListResponse model = new ChangeDataCaptureListResponse()
- .withValue(Arrays.asList(
- new ChangeDataCaptureResourceInner().withId("ay")
- .withFolder(new ChangeDataCaptureFolder().withName("hpv"))
- .withDescription("mslclblyjxlt")
- .withSourceConnectionsInfo(Arrays.asList(
- new MapperSourceConnectionsInfo().withSourceEntities(Arrays.asList(new MapperTable()))
- .withConnection(new MapperConnection().withType(ConnectionType.LINKEDSERVICETYPE)),
- new MapperSourceConnectionsInfo()
- .withSourceEntities(Arrays.asList(new MapperTable(), new MapperTable(), new MapperTable()))
- .withConnection(new MapperConnection().withType(ConnectionType.LINKEDSERVICETYPE)),
- new MapperSourceConnectionsInfo()
- .withSourceEntities(Arrays.asList(new MapperTable(), new MapperTable(), new MapperTable(),
- new MapperTable()))
- .withConnection(new MapperConnection().withType(ConnectionType.LINKEDSERVICETYPE)),
- new MapperSourceConnectionsInfo()
- .withSourceEntities(Arrays.asList(new MapperTable(), new MapperTable(), new MapperTable(),
- new MapperTable()))
- .withConnection(new MapperConnection().withType(ConnectionType.LINKEDSERVICETYPE))))
- .withTargetConnectionsInfo(Arrays
- .asList(
- new MapperTargetConnectionsInfo()
- .withTargetEntities(
- Arrays.asList(new MapperTable(), new MapperTable(), new MapperTable()))
- .withConnection(new MapperConnection().withType(ConnectionType.LINKEDSERVICETYPE))
- .withDataMapperMappings(Arrays.asList(new DataMapperMapping()))
- .withRelationships(Arrays.asList("datadrtc", "dataukdqkkyihztg")),
- new MapperTargetConnectionsInfo()
- .withTargetEntities(
- Arrays.asList(new MapperTable(), new MapperTable(), new MapperTable()))
- .withConnection(new MapperConnection().withType(ConnectionType.LINKEDSERVICETYPE))
- .withDataMapperMappings(Arrays.asList(new DataMapperMapping(), new DataMapperMapping()))
- .withRelationships(Arrays.asList("datadoychillcecfeh", "datawaoaguhi")),
- new MapperTargetConnectionsInfo()
- .withTargetEntities(Arrays.asList(new MapperTable(), new MapperTable()))
- .withConnection(new MapperConnection().withType(ConnectionType.LINKEDSERVICETYPE))
- .withDataMapperMappings(Arrays.asList(new DataMapperMapping(), new DataMapperMapping(),
- new DataMapperMapping(), new DataMapperMapping()))
- .withRelationships(Arrays.asList("datacsjvhrwef"))))
- .withPolicy(new MapperPolicy().withMode("wqejpmvsse")
- .withRecurrence(
- new MapperPolicyRecurrence().withFrequency(FrequencyType.MINUTE).withInterval(18531700)))
- .withAllowVNetOverride(true)
- .withStatus("tczhupeuknijd")
- .withAdditionalProperties(mapOf("name", "yespydjfbocyv", "etag", "kuflgbh", "type", "ulrtywikdmh")),
- new ChangeDataCaptureResourceInner().withId("xyivpinbm")
- .withFolder(new ChangeDataCaptureFolder().withName("ulpzealb"))
- .withDescription("kyojwyvfk")
- .withSourceConnectionsInfo(Arrays.asList(
- new MapperSourceConnectionsInfo().withSourceEntities(Arrays.asList(new MapperTable()))
- .withConnection(new MapperConnection().withType(ConnectionType.LINKEDSERVICETYPE)),
- new MapperSourceConnectionsInfo()
- .withSourceEntities(Arrays.asList(new MapperTable(), new MapperTable(), new MapperTable()))
- .withConnection(new MapperConnection().withType(ConnectionType.LINKEDSERVICETYPE))))
- .withTargetConnectionsInfo(Arrays.asList(new MapperTargetConnectionsInfo()
- .withTargetEntities(Arrays.asList(new MapperTable(), new MapperTable()))
- .withConnection(new MapperConnection().withType(ConnectionType.LINKEDSERVICETYPE))
- .withDataMapperMappings(
- Arrays.asList(new DataMapperMapping(), new DataMapperMapping(), new DataMapperMapping(),
- new DataMapperMapping()))
- .withRelationships(
- Arrays.asList("datacubiwsdr", "datapxqwo", "dataiffjxcjrm", "datauabwibvjogjo")),
- new MapperTargetConnectionsInfo()
- .withTargetEntities(Arrays.asList(new MapperTable(), new MapperTable(), new MapperTable(),
- new MapperTable()))
- .withConnection(new MapperConnection().withType(ConnectionType.LINKEDSERVICETYPE))
- .withDataMapperMappings(Arrays.asList(new DataMapperMapping(), new DataMapperMapping(),
- new DataMapperMapping(), new DataMapperMapping()))
- .withRelationships(Arrays.asList("databamwineo", "datavfkakpold")),
- new MapperTargetConnectionsInfo()
- .withTargetEntities(Arrays.asList(new MapperTable(), new MapperTable(), new MapperTable(),
- new MapperTable()))
- .withConnection(new MapperConnection().withType(ConnectionType.LINKEDSERVICETYPE))
- .withDataMapperMappings(Arrays.asList(new DataMapperMapping()))
- .withRelationships(Arrays.asList("datahzjkn", "datauxgvttxpnr", "datapzaamrdixtreki"))))
- .withPolicy(
- new MapperPolicy().withMode("wyskbruffgll")
- .withRecurrence(new MapperPolicyRecurrence().withFrequency(FrequencyType.HOUR)
- .withInterval(1275101011)))
- .withAllowVNetOverride(false)
- .withStatus("rpq")
- .withAdditionalProperties(mapOf("name", "mblcouqehbhbcds", "etag", "mbltoo", "type", "ryrando")),
- new ChangeDataCaptureResourceInner().withId("enky")
- .withFolder(new ChangeDataCaptureFolder().withName("jijkgqxnhmbke"))
- .withDescription("jauj")
- .withSourceConnectionsInfo(Arrays.asList(new MapperSourceConnectionsInfo()
- .withSourceEntities(
- Arrays.asList(new MapperTable(), new MapperTable(), new MapperTable(), new MapperTable()))
- .withConnection(new MapperConnection().withType(ConnectionType.LINKEDSERVICETYPE))))
- .withTargetConnectionsInfo(Arrays
- .asList(
- new MapperTargetConnectionsInfo()
- .withTargetEntities(
- Arrays.asList(new MapperTable(), new MapperTable(), new MapperTable()))
- .withConnection(new MapperConnection().withType(ConnectionType.LINKEDSERVICETYPE))
- .withDataMapperMappings(Arrays.asList(new DataMapperMapping(), new DataMapperMapping()))
- .withRelationships(Arrays.asList("dataawxwfek", "dataumrrqmbzm", "datakratbnxwbj")),
- new MapperTargetConnectionsInfo()
- .withTargetEntities(Arrays.asList(new MapperTable(), new MapperTable(),
- new MapperTable(), new MapperTable()))
- .withConnection(new MapperConnection().withType(ConnectionType.LINKEDSERVICETYPE))
- .withDataMapperMappings(Arrays.asList(new DataMapperMapping(), new DataMapperMapping(),
- new DataMapperMapping()))
- .withRelationships(Arrays.asList("datakso", "datadgo", "dataewijymrhbguz")),
- new MapperTargetConnectionsInfo()
- .withTargetEntities(Arrays.asList(new MapperTable(), new MapperTable(),
- new MapperTable(), new MapperTable()))
- .withConnection(new MapperConnection().withType(ConnectionType.LINKEDSERVICETYPE))
- .withDataMapperMappings(Arrays.asList(new DataMapperMapping(), new DataMapperMapping()))
- .withRelationships(Arrays.asList("datazhhh", "datao")),
- new MapperTargetConnectionsInfo()
- .withTargetEntities(Arrays.asList(new MapperTable(), new MapperTable(),
- new MapperTable(), new MapperTable()))
- .withConnection(new MapperConnection().withType(ConnectionType.LINKEDSERVICETYPE))
- .withDataMapperMappings(Arrays.asList(new DataMapperMapping(), new DataMapperMapping(),
- new DataMapperMapping(), new DataMapperMapping()))
- .withRelationships(Arrays.asList("datacyar", "dataroohguabzogh", "datat"))))
- .withPolicy(
- new MapperPolicy().withMode("yczhco")
- .withRecurrence(new MapperPolicyRecurrence().withFrequency(FrequencyType.SECOND)
- .withInterval(953952910)))
- .withAllowVNetOverride(true)
- .withStatus("ttjzcfyjzpt")
- .withAdditionalProperties(mapOf("name", "lohap", "etag", "l", "type", "nfszpyglqdhmrjz"))))
- .withNextLink("qzvs");
- model = BinaryData.fromObject(model).toObject(ChangeDataCaptureListResponse.class);
- Assertions.assertEquals("ay", model.value().get(0).id());
- Assertions.assertEquals("hpv", model.value().get(0).folder().name());
- Assertions.assertEquals("mslclblyjxlt", model.value().get(0).description());
- Assertions.assertEquals(ConnectionType.LINKEDSERVICETYPE,
- model.value().get(0).sourceConnectionsInfo().get(0).connection().type());
- Assertions.assertEquals(ConnectionType.LINKEDSERVICETYPE,
- model.value().get(0).targetConnectionsInfo().get(0).connection().type());
- Assertions.assertEquals("wqejpmvsse", model.value().get(0).policy().mode());
- Assertions.assertEquals(FrequencyType.MINUTE, model.value().get(0).policy().recurrence().frequency());
- Assertions.assertEquals(18531700, model.value().get(0).policy().recurrence().interval());
- Assertions.assertEquals(true, model.value().get(0).allowVNetOverride());
- Assertions.assertEquals("tczhupeuknijd", model.value().get(0).status());
- Assertions.assertEquals("qzvs", model.nextLink());
- }
-
- // Use "Map.of" if available
- @SuppressWarnings("unchecked")
- private static Map mapOf(Object... inputs) {
- Map map = new HashMap<>();
- for (int i = 0; i < inputs.length; i += 2) {
- String key = (String) inputs[i];
- T value = (T) inputs[i + 1];
- map.put(key, value);
- }
- return map;
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/ChangeDataCaptureResourceInnerTests.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/ChangeDataCaptureResourceInnerTests.java
deleted file mode 100644
index 3669570745b0..000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/ChangeDataCaptureResourceInnerTests.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.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.datafactory.fluent.models.ChangeDataCaptureResourceInner;
-import com.azure.resourcemanager.datafactory.models.ChangeDataCaptureFolder;
-import com.azure.resourcemanager.datafactory.models.ConnectionType;
-import com.azure.resourcemanager.datafactory.models.DataMapperMapping;
-import com.azure.resourcemanager.datafactory.models.FrequencyType;
-import com.azure.resourcemanager.datafactory.models.LinkedServiceReference;
-import com.azure.resourcemanager.datafactory.models.MapperAttributeMappings;
-import com.azure.resourcemanager.datafactory.models.MapperConnection;
-import com.azure.resourcemanager.datafactory.models.MapperConnectionReference;
-import com.azure.resourcemanager.datafactory.models.MapperDslConnectorProperties;
-import com.azure.resourcemanager.datafactory.models.MapperPolicy;
-import com.azure.resourcemanager.datafactory.models.MapperPolicyRecurrence;
-import com.azure.resourcemanager.datafactory.models.MapperSourceConnectionsInfo;
-import com.azure.resourcemanager.datafactory.models.MapperTable;
-import com.azure.resourcemanager.datafactory.models.MapperTargetConnectionsInfo;
-import java.util.Arrays;
-import java.util.HashMap;
-import java.util.Map;
-import org.junit.jupiter.api.Assertions;
-
-public final class ChangeDataCaptureResourceInnerTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- ChangeDataCaptureResourceInner model = BinaryData.fromString(
- "{\"properties\":{\"folder\":{\"name\":\"xj\"},\"description\":\"gcm\",\"sourceConnectionsInfo\":[{\"sourceEntities\":[{\"name\":\"hhqxuwyvcacoyviv\",\"properties\":{}},{\"name\":\"zusjsz\",\"properties\":{}}],\"connection\":{\"linkedService\":{\"referenceName\":\"mnlzijiufehgmvf\",\"parameters\":{\"rlniyl\":\"datayvqkxr\"}},\"linkedServiceType\":\"yfw\",\"type\":\"linkedservicetype\",\"isInlineDataset\":true,\"commonDslConnectorProperties\":[{}]}},{\"sourceEntities\":[{\"name\":\"hghmupgxyj\",\"properties\":{}},{\"name\":\"xabb\",\"properties\":{}},{\"name\":\"tabenbbk\",\"properties\":{}},{\"name\":\"xzu\",\"properties\":{}}],\"connection\":{\"linkedService\":{\"referenceName\":\"ddwwnlzafwxudgnh\",\"parameters\":{\"wgpbemeluclv\":\"datakrtalvn\",\"xhqf\":\"datajjukyrdnqodxah\",\"avsczuejdtxp\":\"dataqnvzoqgyipemch\"}},\"linkedServiceType\":\"ghwzhomewjjstli\",\"type\":\"linkedservicetype\",\"isInlineDataset\":false,\"commonDslConnectorProperties\":[{},{}]}},{\"sourceEntities\":[{\"name\":\"ancz\",\"properties\":{}},{\"name\":\"drrslblxydk\",\"properties\":{}},{\"name\":\"vvbxiwkgfbqljnq\",\"properties\":{}}],\"connection\":{\"linkedService\":{\"referenceName\":\"h\",\"parameters\":{\"fawey\":\"datakulehurqlrq\",\"vjuqdbrxmrgchb\":\"datarkphyjdxr\",\"j\":\"datapxkiyf\",\"ycblevpmcl\":\"databajbuscgduusi\"}},\"linkedServiceType\":\"yxkyxlz\",\"type\":\"linkedservicetype\",\"isInlineDataset\":false,\"commonDslConnectorProperties\":[{}]}},{\"sourceEntities\":[{\"name\":\"afhbzf\",\"properties\":{}},{\"name\":\"wmbjlzqsczpg\",\"properties\":{}},{\"name\":\"napfdqwowftpt\",\"properties\":{}}],\"connection\":{\"linkedService\":{\"referenceName\":\"tkschgcgqyhl\",\"parameters\":{\"tj\":\"datayqrhvyeld\",\"kukjtasb\":\"datadkwisw\"}},\"linkedServiceType\":\"ispkxkdtx\",\"type\":\"linkedservicetype\",\"isInlineDataset\":true,\"commonDslConnectorProperties\":[{},{},{},{}]}}],\"targetConnectionsInfo\":[{\"targetEntities\":[{\"name\":\"nvgmmbugtywa\",\"properties\":{}}],\"connection\":{\"linkedService\":{\"referenceName\":\"qkueatgroesho\",\"parameters\":{\"oytehqpuvjm\":\"datacbyfqxkf\",\"dwckygroe\":\"dataqm\"}},\"linkedServiceType\":\"ndljdjuskbr\",\"type\":\"linkedservicetype\",\"isInlineDataset\":true,\"commonDslConnectorProperties\":[{},{},{},{}]},\"dataMapperMappings\":[{\"targetEntityName\":\"sfaq\",\"sourceEntityName\":\"pl\",\"sourceConnectionReference\":{},\"attributeMappingInfo\":{},\"sourceDenormalizeInfo\":\"datahwddkvbxgkq\"},{\"targetEntityName\":\"ybwptda\",\"sourceEntityName\":\"rvv\",\"sourceConnectionReference\":{},\"attributeMappingInfo\":{},\"sourceDenormalizeInfo\":\"dataymtpo\"},{\"targetEntityName\":\"enazerohzrsqals\",\"sourceEntityName\":\"dnwqapfg\",\"sourceConnectionReference\":{},\"attributeMappingInfo\":{},\"sourceDenormalizeInfo\":\"datavessm\"}],\"relationships\":[\"datakuui\"]},{\"targetEntities\":[{\"name\":\"qctekvalb\",\"properties\":{}}],\"connection\":{\"linkedService\":{\"referenceName\":\"qvqyvweht\",\"parameters\":{\"usxivzrrryvei\":\"dataxhzzyse\",\"yzatvfuzkaft\":\"dataipsk\",\"syeipqd\":\"datavvruxwi\"}},\"linkedServiceType\":\"jtgrqgdgkkileplk\",\"type\":\"linkedservicetype\",\"isInlineDataset\":false,\"commonDslConnectorProperties\":[{},{},{},{}]},\"dataMapperMappings\":[{\"targetEntityName\":\"baedorvvmqfl\",\"sourceEntityName\":\"gbdg\",\"sourceConnectionReference\":{},\"attributeMappingInfo\":{},\"sourceDenormalizeInfo\":\"dataxdgd\"},{\"targetEntityName\":\"abgdexj\",\"sourceEntityName\":\"vjsaqwotm\",\"sourceConnectionReference\":{},\"attributeMappingInfo\":{},\"sourceDenormalizeInfo\":\"datacolsrsxaptefhex\"},{\"targetEntityName\":\"jokjl\",\"sourceEntityName\":\"hv\",\"sourceConnectionReference\":{},\"attributeMappingInfo\":{},\"sourceDenormalizeInfo\":\"dataek\"},{\"targetEntityName\":\"eksnbksdqhjvyk\",\"sourceEntityName\":\"eslk\",\"sourceConnectionReference\":{},\"attributeMappingInfo\":{},\"sourceDenormalizeInfo\":\"datatcpoqma\"}],\"relationships\":[\"dataqjwgoknlej\",\"datajkxyb\"]},{\"targetEntities\":[{\"name\":\"kjbztensvkzykj\",\"properties\":{}},{\"name\":\"nsxfwu\",\"properties\":{}},{\"name\":\"dpkupnqrmgjf\",\"properties\":{}},{\"name\":\"uwxeoiojfizf\",\"properties\":{}}],\"connection\":{\"linkedService\":{\"referenceName\":\"zwfbcyaykmmfzs\",\"parameters\":{\"bjazejwwviy\":\"dataxrzxmdewsrsxkrp\",\"suhbrnn\":\"datay\",\"zycyqiqyhg\":\"datajxsqwjhqkbiwetp\",\"zlex\":\"datase\"}},\"linkedServiceType\":\"fledynojpziu\",\"type\":\"linkedservicetype\",\"isInlineDataset\":true,\"commonDslConnectorProperties\":[{},{},{}]},\"dataMapperMappings\":[{\"targetEntityName\":\"hqsycljselp\",\"sourceEntityName\":\"bafvafhlbylcc\",\"sourceConnectionReference\":{},\"attributeMappingInfo\":{},\"sourceDenormalizeInfo\":\"datarhyzdf\"},{\"targetEntityName\":\"sofpltd\",\"sourceEntityName\":\"airrhvhfnracw\",\"sourceConnectionReference\":{},\"attributeMappingInfo\":{},\"sourceDenormalizeInfo\":\"datag\"}],\"relationships\":[\"datajwouhda\",\"datas\",\"datagrbjbxsjybvitvqk\"]},{\"targetEntities\":[{\"name\":\"nu\",\"properties\":{}}],\"connection\":{\"linkedService\":{\"referenceName\":\"m\",\"parameters\":{\"zfnkfexlvxno\":\"datach\",\"knaqlnuwig\":\"datakizvoa\",\"kwph\":\"datayxl\"}},\"linkedServiceType\":\"zc\",\"type\":\"linkedservicetype\",\"isInlineDataset\":false,\"commonDslConnectorProperties\":[{},{}]},\"dataMapperMappings\":[{\"targetEntityName\":\"ke\",\"sourceEntityName\":\"onwivkcqhrxhxkn\",\"sourceConnectionReference\":{},\"attributeMappingInfo\":{},\"sourceDenormalizeInfo\":\"datammkyu\"}],\"relationships\":[\"dataubyqj\",\"datakakfqfr\",\"dataem\"]}],\"policy\":{\"mode\":\"ldudxjascowv\",\"recurrence\":{\"frequency\":\"Minute\",\"interval\":1348862039}},\"allowVNetOverride\":false,\"status\":\"lkksnmgzvyfi\"},\"name\":\"kzuqnwsith\",\"type\":\"olyahluqwqulsut\",\"etag\":\"bhxykfhyqezvqqug\",\"\":{\"ve\":\"datatb\",\"hreagk\":\"datareuquowtljvf\",\"dgglmepjpfs\":\"datayxvrqtvbczsul\",\"fpgylkve\":\"dataykgsangpszng\"},\"id\":\"ujcngo\"}")
- .toObject(ChangeDataCaptureResourceInner.class);
- Assertions.assertEquals("ujcngo", model.id());
- Assertions.assertEquals("xj", model.folder().name());
- Assertions.assertEquals("gcm", model.description());
- Assertions.assertEquals("hhqxuwyvcacoyviv",
- model.sourceConnectionsInfo().get(0).sourceEntities().get(0).name());
- Assertions.assertEquals("mnlzijiufehgmvf",
- model.sourceConnectionsInfo().get(0).connection().linkedService().referenceName());
- Assertions.assertEquals("yfw", model.sourceConnectionsInfo().get(0).connection().linkedServiceType());
- Assertions.assertEquals(ConnectionType.LINKEDSERVICETYPE,
- model.sourceConnectionsInfo().get(0).connection().type());
- Assertions.assertEquals(true, model.sourceConnectionsInfo().get(0).connection().isInlineDataset());
- Assertions.assertEquals("nvgmmbugtywa", model.targetConnectionsInfo().get(0).targetEntities().get(0).name());
- Assertions.assertEquals("qkueatgroesho",
- model.targetConnectionsInfo().get(0).connection().linkedService().referenceName());
- Assertions.assertEquals("ndljdjuskbr", model.targetConnectionsInfo().get(0).connection().linkedServiceType());
- Assertions.assertEquals(ConnectionType.LINKEDSERVICETYPE,
- model.targetConnectionsInfo().get(0).connection().type());
- Assertions.assertEquals(true, model.targetConnectionsInfo().get(0).connection().isInlineDataset());
- Assertions.assertEquals("sfaq",
- model.targetConnectionsInfo().get(0).dataMapperMappings().get(0).targetEntityName());
- Assertions.assertEquals("pl",
- model.targetConnectionsInfo().get(0).dataMapperMappings().get(0).sourceEntityName());
- Assertions.assertEquals("ldudxjascowv", model.policy().mode());
- Assertions.assertEquals(FrequencyType.MINUTE, model.policy().recurrence().frequency());
- Assertions.assertEquals(1348862039, model.policy().recurrence().interval());
- Assertions.assertEquals(false, model.allowVNetOverride());
- Assertions.assertEquals("lkksnmgzvyfi", model.status());
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- ChangeDataCaptureResourceInner model
- = new ChangeDataCaptureResourceInner().withId("ujcngo")
- .withFolder(new ChangeDataCaptureFolder().withName("xj"))
- .withDescription("gcm")
- .withSourceConnectionsInfo(
- Arrays.asList(
- new MapperSourceConnectionsInfo()
- .withSourceEntities(Arrays.asList(new MapperTable().withName("hhqxuwyvcacoyviv"),
- new MapperTable().withName("zusjsz")))
- .withConnection(new MapperConnection()
- .withLinkedService(new LinkedServiceReference().withReferenceName("mnlzijiufehgmvf")
- .withParameters(mapOf("rlniyl", "datayvqkxr")))
- .withLinkedServiceType("yfw")
- .withType(ConnectionType.LINKEDSERVICETYPE)
- .withIsInlineDataset(true)
- .withCommonDslConnectorProperties(Arrays.asList(new MapperDslConnectorProperties()))),
- new MapperSourceConnectionsInfo()
- .withSourceEntities(Arrays.asList(new MapperTable().withName("hghmupgxyj"),
- new MapperTable().withName("xabb"), new MapperTable().withName("tabenbbk"),
- new MapperTable().withName("xzu")))
- .withConnection(new MapperConnection()
- .withLinkedService(new LinkedServiceReference().withReferenceName("ddwwnlzafwxudgnh")
- .withParameters(mapOf("wgpbemeluclv", "datakrtalvn", "xhqf", "datajjukyrdnqodxah",
- "avsczuejdtxp", "dataqnvzoqgyipemch")))
- .withLinkedServiceType("ghwzhomewjjstli")
- .withType(ConnectionType.LINKEDSERVICETYPE)
- .withIsInlineDataset(false)
- .withCommonDslConnectorProperties(Arrays.asList(new MapperDslConnectorProperties(),
- new MapperDslConnectorProperties()))),
- new MapperSourceConnectionsInfo()
- .withSourceEntities(Arrays.asList(new MapperTable().withName("ancz"),
- new MapperTable().withName("drrslblxydk"),
- new MapperTable().withName("vvbxiwkgfbqljnq")))
- .withConnection(new MapperConnection()
- .withLinkedService(new LinkedServiceReference().withReferenceName("h")
- .withParameters(mapOf("fawey", "datakulehurqlrq", "vjuqdbrxmrgchb", "datarkphyjdxr",
- "j", "datapxkiyf", "ycblevpmcl", "databajbuscgduusi")))
- .withLinkedServiceType("yxkyxlz")
- .withType(ConnectionType.LINKEDSERVICETYPE)
- .withIsInlineDataset(false)
- .withCommonDslConnectorProperties(Arrays.asList(new MapperDslConnectorProperties()))),
- new MapperSourceConnectionsInfo()
- .withSourceEntities(Arrays.asList(new MapperTable().withName("afhbzf"),
- new MapperTable().withName("wmbjlzqsczpg"),
- new MapperTable().withName("napfdqwowftpt")))
- .withConnection(new MapperConnection()
- .withLinkedService(new LinkedServiceReference().withReferenceName("tkschgcgqyhl")
- .withParameters(mapOf("tj", "datayqrhvyeld", "kukjtasb", "datadkwisw")))
- .withLinkedServiceType("ispkxkdtx")
- .withType(ConnectionType.LINKEDSERVICETYPE)
- .withIsInlineDataset(true)
- .withCommonDslConnectorProperties(Arrays.asList(new MapperDslConnectorProperties(),
- new MapperDslConnectorProperties(), new MapperDslConnectorProperties(),
- new MapperDslConnectorProperties())))))
- .withTargetConnectionsInfo(
- Arrays
- .asList(
- new MapperTargetConnectionsInfo()
- .withTargetEntities(Arrays.asList(new MapperTable().withName("nvgmmbugtywa")))
- .withConnection(new MapperConnection()
- .withLinkedService(new LinkedServiceReference().withReferenceName("qkueatgroesho")
- .withParameters(mapOf("oytehqpuvjm", "datacbyfqxkf", "dwckygroe", "dataqm")))
- .withLinkedServiceType("ndljdjuskbr")
- .withType(ConnectionType.LINKEDSERVICETYPE)
- .withIsInlineDataset(true)
- .withCommonDslConnectorProperties(Arrays.asList(new MapperDslConnectorProperties(),
- new MapperDslConnectorProperties(), new MapperDslConnectorProperties(),
- new MapperDslConnectorProperties())))
- .withDataMapperMappings(Arrays.asList(
- new DataMapperMapping().withTargetEntityName("sfaq")
- .withSourceEntityName("pl")
- .withSourceConnectionReference(new MapperConnectionReference())
- .withAttributeMappingInfo(new MapperAttributeMappings())
- .withSourceDenormalizeInfo("datahwddkvbxgkq"),
- new DataMapperMapping().withTargetEntityName("ybwptda")
- .withSourceEntityName("rvv")
- .withSourceConnectionReference(new MapperConnectionReference())
- .withAttributeMappingInfo(new MapperAttributeMappings())
- .withSourceDenormalizeInfo("dataymtpo"),
- new DataMapperMapping().withTargetEntityName("enazerohzrsqals")
- .withSourceEntityName("dnwqapfg")
- .withSourceConnectionReference(new MapperConnectionReference())
- .withAttributeMappingInfo(new MapperAttributeMappings())
- .withSourceDenormalizeInfo("datavessm")))
- .withRelationships(Arrays.asList("datakuui")),
- new MapperTargetConnectionsInfo()
- .withTargetEntities(Arrays.asList(new MapperTable().withName("qctekvalb")))
- .withConnection(new MapperConnection()
- .withLinkedService(new LinkedServiceReference().withReferenceName("qvqyvweht")
- .withParameters(mapOf("usxivzrrryvei", "dataxhzzyse", "yzatvfuzkaft",
- "dataipsk", "syeipqd", "datavvruxwi")))
- .withLinkedServiceType("jtgrqgdgkkileplk")
- .withType(ConnectionType.LINKEDSERVICETYPE)
- .withIsInlineDataset(false)
- .withCommonDslConnectorProperties(Arrays.asList(new MapperDslConnectorProperties(),
- new MapperDslConnectorProperties(), new MapperDslConnectorProperties(),
- new MapperDslConnectorProperties())))
- .withDataMapperMappings(Arrays
- .asList(new DataMapperMapping().withTargetEntityName("baedorvvmqfl")
- .withSourceEntityName("gbdg")
- .withSourceConnectionReference(new MapperConnectionReference())
- .withAttributeMappingInfo(new MapperAttributeMappings())
- .withSourceDenormalizeInfo("dataxdgd"),
- new DataMapperMapping().withTargetEntityName("abgdexj")
- .withSourceEntityName("vjsaqwotm")
- .withSourceConnectionReference(new MapperConnectionReference())
- .withAttributeMappingInfo(new MapperAttributeMappings())
- .withSourceDenormalizeInfo("datacolsrsxaptefhex"),
- new DataMapperMapping().withTargetEntityName("jokjl")
- .withSourceEntityName("hv")
- .withSourceConnectionReference(new MapperConnectionReference())
- .withAttributeMappingInfo(new MapperAttributeMappings())
- .withSourceDenormalizeInfo("dataek"),
- new DataMapperMapping().withTargetEntityName("eksnbksdqhjvyk")
- .withSourceEntityName("eslk")
- .withSourceConnectionReference(new MapperConnectionReference())
- .withAttributeMappingInfo(new MapperAttributeMappings())
- .withSourceDenormalizeInfo("datatcpoqma")))
- .withRelationships(Arrays.asList("dataqjwgoknlej", "datajkxyb")),
- new MapperTargetConnectionsInfo()
- .withTargetEntities(
- Arrays.asList(new MapperTable().withName("kjbztensvkzykj"),
- new MapperTable().withName("nsxfwu"),
- new MapperTable().withName("dpkupnqrmgjf"),
- new MapperTable().withName("uwxeoiojfizf")))
- .withConnection(new MapperConnection()
- .withLinkedService(new LinkedServiceReference().withReferenceName("zwfbcyaykmmfzs")
- .withParameters(mapOf("bjazejwwviy", "dataxrzxmdewsrsxkrp", "suhbrnn", "datay",
- "zycyqiqyhg", "datajxsqwjhqkbiwetp", "zlex", "datase")))
- .withLinkedServiceType("fledynojpziu")
- .withType(ConnectionType.LINKEDSERVICETYPE)
- .withIsInlineDataset(true)
- .withCommonDslConnectorProperties(Arrays.asList(new MapperDslConnectorProperties(),
- new MapperDslConnectorProperties(), new MapperDslConnectorProperties())))
- .withDataMapperMappings(Arrays.asList(
- new DataMapperMapping().withTargetEntityName("hqsycljselp")
- .withSourceEntityName("bafvafhlbylcc")
- .withSourceConnectionReference(new MapperConnectionReference())
- .withAttributeMappingInfo(new MapperAttributeMappings())
- .withSourceDenormalizeInfo("datarhyzdf"),
- new DataMapperMapping().withTargetEntityName("sofpltd")
- .withSourceEntityName("airrhvhfnracw")
- .withSourceConnectionReference(new MapperConnectionReference())
- .withAttributeMappingInfo(new MapperAttributeMappings())
- .withSourceDenormalizeInfo("datag")))
- .withRelationships(Arrays.asList("datajwouhda", "datas", "datagrbjbxsjybvitvqk")),
- new MapperTargetConnectionsInfo()
- .withTargetEntities(Arrays.asList(new MapperTable().withName("nu")))
- .withConnection(new MapperConnection()
- .withLinkedService(new LinkedServiceReference().withReferenceName("m")
- .withParameters(mapOf("zfnkfexlvxno", "datach", "knaqlnuwig", "datakizvoa",
- "kwph", "datayxl")))
- .withLinkedServiceType("zc")
- .withType(ConnectionType.LINKEDSERVICETYPE)
- .withIsInlineDataset(false)
- .withCommonDslConnectorProperties(Arrays.asList(new MapperDslConnectorProperties(),
- new MapperDslConnectorProperties())))
- .withDataMapperMappings(Arrays.asList(new DataMapperMapping().withTargetEntityName("ke")
- .withSourceEntityName("onwivkcqhrxhxkn")
- .withSourceConnectionReference(new MapperConnectionReference())
- .withAttributeMappingInfo(new MapperAttributeMappings())
- .withSourceDenormalizeInfo("datammkyu")))
- .withRelationships(Arrays.asList("dataubyqj", "datakakfqfr", "dataem"))))
- .withPolicy(new MapperPolicy().withMode("ldudxjascowv")
- .withRecurrence(
- new MapperPolicyRecurrence().withFrequency(FrequencyType.MINUTE).withInterval(1348862039)))
- .withAllowVNetOverride(false)
- .withStatus("lkksnmgzvyfi")
- .withAdditionalProperties(
- mapOf("name", "kzuqnwsith", "etag", "bhxykfhyqezvqqug", "type", "olyahluqwqulsut"));
- model = BinaryData.fromObject(model).toObject(ChangeDataCaptureResourceInner.class);
- Assertions.assertEquals("ujcngo", model.id());
- Assertions.assertEquals("xj", model.folder().name());
- Assertions.assertEquals("gcm", model.description());
- Assertions.assertEquals("hhqxuwyvcacoyviv",
- model.sourceConnectionsInfo().get(0).sourceEntities().get(0).name());
- Assertions.assertEquals("mnlzijiufehgmvf",
- model.sourceConnectionsInfo().get(0).connection().linkedService().referenceName());
- Assertions.assertEquals("yfw", model.sourceConnectionsInfo().get(0).connection().linkedServiceType());
- Assertions.assertEquals(ConnectionType.LINKEDSERVICETYPE,
- model.sourceConnectionsInfo().get(0).connection().type());
- Assertions.assertEquals(true, model.sourceConnectionsInfo().get(0).connection().isInlineDataset());
- Assertions.assertEquals("nvgmmbugtywa", model.targetConnectionsInfo().get(0).targetEntities().get(0).name());
- Assertions.assertEquals("qkueatgroesho",
- model.targetConnectionsInfo().get(0).connection().linkedService().referenceName());
- Assertions.assertEquals("ndljdjuskbr", model.targetConnectionsInfo().get(0).connection().linkedServiceType());
- Assertions.assertEquals(ConnectionType.LINKEDSERVICETYPE,
- model.targetConnectionsInfo().get(0).connection().type());
- Assertions.assertEquals(true, model.targetConnectionsInfo().get(0).connection().isInlineDataset());
- Assertions.assertEquals("sfaq",
- model.targetConnectionsInfo().get(0).dataMapperMappings().get(0).targetEntityName());
- Assertions.assertEquals("pl",
- model.targetConnectionsInfo().get(0).dataMapperMappings().get(0).sourceEntityName());
- Assertions.assertEquals("ldudxjascowv", model.policy().mode());
- Assertions.assertEquals(FrequencyType.MINUTE, model.policy().recurrence().frequency());
- Assertions.assertEquals(1348862039, model.policy().recurrence().interval());
- Assertions.assertEquals(false, model.allowVNetOverride());
- Assertions.assertEquals("lkksnmgzvyfi", model.status());
- }
-
- // Use "Map.of" if available
- @SuppressWarnings("unchecked")
- private static Map mapOf(Object... inputs) {
- Map map = new HashMap<>();
- for (int i = 0; i < inputs.length; i += 2) {
- String key = (String) inputs[i];
- T value = (T) inputs[i + 1];
- map.put(key, value);
- }
- return map;
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/ChangeDataCaptureTests.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/ChangeDataCaptureTests.java
deleted file mode 100644
index ed857f7fe840..000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/ChangeDataCaptureTests.java
+++ /dev/null
@@ -1,291 +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.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.datafactory.fluent.models.ChangeDataCapture;
-import com.azure.resourcemanager.datafactory.models.ChangeDataCaptureFolder;
-import com.azure.resourcemanager.datafactory.models.ConnectionType;
-import com.azure.resourcemanager.datafactory.models.DataMapperMapping;
-import com.azure.resourcemanager.datafactory.models.FrequencyType;
-import com.azure.resourcemanager.datafactory.models.LinkedServiceReference;
-import com.azure.resourcemanager.datafactory.models.MapperAttributeMapping;
-import com.azure.resourcemanager.datafactory.models.MapperAttributeMappings;
-import com.azure.resourcemanager.datafactory.models.MapperConnection;
-import com.azure.resourcemanager.datafactory.models.MapperConnectionReference;
-import com.azure.resourcemanager.datafactory.models.MapperDslConnectorProperties;
-import com.azure.resourcemanager.datafactory.models.MapperPolicy;
-import com.azure.resourcemanager.datafactory.models.MapperPolicyRecurrence;
-import com.azure.resourcemanager.datafactory.models.MapperSourceConnectionsInfo;
-import com.azure.resourcemanager.datafactory.models.MapperTable;
-import com.azure.resourcemanager.datafactory.models.MapperTableSchema;
-import com.azure.resourcemanager.datafactory.models.MapperTargetConnectionsInfo;
-import java.util.Arrays;
-import java.util.HashMap;
-import java.util.Map;
-import org.junit.jupiter.api.Assertions;
-
-public final class ChangeDataCaptureTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- ChangeDataCapture model = BinaryData.fromString(
- "{\"folder\":{\"name\":\"edmzrgjfoknub\"},\"description\":\"itpkpztrgdg\",\"sourceConnectionsInfo\":[{\"sourceEntities\":[{\"name\":\"raswugyxpqit\",\"properties\":{\"schema\":[{},{}],\"dslConnectorProperties\":[{},{},{},{}]}},{\"name\":\"skbuhzaca\",\"properties\":{\"schema\":[{},{}],\"dslConnectorProperties\":[{}]}},{\"name\":\"qcujpd\",\"properties\":{\"schema\":[{},{}],\"dslConnectorProperties\":[{},{},{},{}]}},{\"name\":\"jkmvbi\",\"properties\":{\"schema\":[{},{},{},{}],\"dslConnectorProperties\":[{},{}]}}],\"connection\":{\"linkedService\":{\"referenceName\":\"ovjufycsjmlbe\",\"parameters\":{\"hortu\":\"datajiriuxeg\"}},\"linkedServiceType\":\"wlpjfelqerppt\",\"type\":\"linkedservicetype\",\"isInlineDataset\":true,\"commonDslConnectorProperties\":[{\"name\":\"nhii\",\"value\":\"dataalwcjgckbb\"},{\"name\":\"cgzpraoxnyu\",\"value\":\"dataa\"},{\"name\":\"gftipwc\",\"value\":\"datayubhiqdx\"}]}},{\"sourceEntities\":[{\"name\":\"pnuhzafccnu\",\"properties\":{\"schema\":[{},{}],\"dslConnectorProperties\":[{}]}},{\"name\":\"bui\",\"properties\":{\"schema\":[{},{}],\"dslConnectorProperties\":[{},{},{},{}]}},{\"name\":\"crkdlbn\",\"properties\":{\"schema\":[{}],\"dslConnectorProperties\":[{},{},{},{}]}},{\"name\":\"yhzlwxaeaovurexd\",\"properties\":{\"schema\":[{},{}],\"dslConnectorProperties\":[{},{}]}}],\"connection\":{\"linkedService\":{\"referenceName\":\"derzmwnto\",\"parameters\":{\"jiuazjc\":\"datattmvmmagoaqylkjz\",\"tkrlgjmtbd\":\"datamxitpfinzcpd\",\"mpheqdur\":\"datavcqguefzh\",\"kyeclcdigpta\":\"datalyujlfyoump\"}},\"linkedServiceType\":\"rzmq\",\"type\":\"linkedservicetype\",\"isInlineDataset\":true,\"commonDslConnectorProperties\":[{\"name\":\"oclxiut\",\"value\":\"datacyzyzjdnrqjbt\"}]}},{\"sourceEntities\":[{\"name\":\"oqa\",\"properties\":{\"schema\":[{},{}],\"dslConnectorProperties\":[{}]}},{\"name\":\"w\",\"properties\":{\"schema\":[{},{}],\"dslConnectorProperties\":[{},{}]}},{\"name\":\"bqamteuliyslpk\",\"properties\":{\"schema\":[{}],\"dslConnectorProperties\":[{},{},{}]}}],\"connection\":{\"linkedService\":{\"referenceName\":\"xe\",\"parameters\":{\"iijq\":\"datawbormcqmi\"}},\"linkedServiceType\":\"zfboj\",\"type\":\"linkedservicetype\",\"isInlineDataset\":false,\"commonDslConnectorProperties\":[{\"name\":\"qwixvcpwnk\",\"value\":\"datawzwofalickduo\"},{\"name\":\"tamtyv\",\"value\":\"datanxrwzawnvs\"},{\"name\":\"fhzag\",\"value\":\"datavhycvdimwrzregzg\"},{\"name\":\"futrwpweryekzkd\",\"value\":\"dataeotta\"}]}},{\"sourceEntities\":[{\"name\":\"sxwwhnhjtf\",\"properties\":{\"schema\":[{},{}],\"dslConnectorProperties\":[{},{},{}]}}],\"connection\":{\"linkedService\":{\"referenceName\":\"jpnwynudql\",\"parameters\":{\"ehuxiqhzlraym\":\"dataauzpjlx\",\"dsajrednwyysh\":\"datazxlskihmxr\"}},\"linkedServiceType\":\"w\",\"type\":\"linkedservicetype\",\"isInlineDataset\":true,\"commonDslConnectorProperties\":[{\"name\":\"pwzyi\",\"value\":\"datakgwl\"},{\"name\":\"eqipxgzdy\",\"value\":\"datasfayorpravkjoges\"},{\"name\":\"bnsmjkwynqxaek\",\"value\":\"dataykvwjtqpkevmyltj\"},{\"name\":\"spxklu\",\"value\":\"dataclf\"}]}}],\"targetConnectionsInfo\":[{\"targetEntities\":[{\"name\":\"noytzposewxigp\",\"properties\":{\"schema\":[{}],\"dslConnectorProperties\":[{},{}]}},{\"name\":\"pxvpifdfaif\",\"properties\":{\"schema\":[{},{},{}],\"dslConnectorProperties\":[{},{},{},{}]}}],\"connection\":{\"linkedService\":{\"referenceName\":\"beidsz\",\"parameters\":{\"hgygvfltgvd\":\"datatoi\",\"xwetwkdrcyrucpc\":\"datahoynk\",\"zdqumoe\":\"datann\"}},\"linkedServiceType\":\"dnaienhqhskndnel\",\"type\":\"linkedservicetype\",\"isInlineDataset\":true,\"commonDslConnectorProperties\":[{\"name\":\"nwf\",\"value\":\"datanniyopetxi\"},{\"name\":\"nrlyxnuc\",\"value\":\"datap\"},{\"name\":\"lkwq\",\"value\":\"datatv\"},{\"name\":\"sdtcjbctvivuzqym\",\"value\":\"dataowog\"}]},\"dataMapperMappings\":[{\"targetEntityName\":\"sqhzvbrzcdbanfz\",\"sourceEntityName\":\"scxmxeat\",\"sourceConnectionReference\":{\"connectionName\":\"mwnrdj\",\"type\":\"linkedservicetype\"},\"attributeMappingInfo\":{\"attributeMappings\":[{},{}]},\"sourceDenormalizeInfo\":\"dataomhjrmkuhm\"}],\"relationships\":[\"datajalfihcjmobcanc\",\"dataexxqcwg\",\"dataxf\",\"datavaknokzwjj\"]}],\"policy\":{\"mode\":\"ltixldzyyfytpq\",\"recurrence\":{\"frequency\":\"Minute\",\"interval\":104830049}},\"allowVNetOverride\":true,\"status\":\"ivyqlkjuvsmbmsl\"}")
- .toObject(ChangeDataCapture.class);
- Assertions.assertEquals("edmzrgjfoknub", model.folder().name());
- Assertions.assertEquals("itpkpztrgdg", model.description());
- Assertions.assertEquals("raswugyxpqit", model.sourceConnectionsInfo().get(0).sourceEntities().get(0).name());
- Assertions.assertEquals("ovjufycsjmlbe",
- model.sourceConnectionsInfo().get(0).connection().linkedService().referenceName());
- Assertions.assertEquals("wlpjfelqerppt", model.sourceConnectionsInfo().get(0).connection().linkedServiceType());
- Assertions.assertEquals(ConnectionType.LINKEDSERVICETYPE,
- model.sourceConnectionsInfo().get(0).connection().type());
- Assertions.assertEquals(true, model.sourceConnectionsInfo().get(0).connection().isInlineDataset());
- Assertions.assertEquals("nhii",
- model.sourceConnectionsInfo().get(0).connection().commonDslConnectorProperties().get(0).name());
- Assertions.assertEquals("noytzposewxigp", model.targetConnectionsInfo().get(0).targetEntities().get(0).name());
- Assertions.assertEquals("beidsz",
- model.targetConnectionsInfo().get(0).connection().linkedService().referenceName());
- Assertions.assertEquals("dnaienhqhskndnel",
- model.targetConnectionsInfo().get(0).connection().linkedServiceType());
- Assertions.assertEquals(ConnectionType.LINKEDSERVICETYPE,
- model.targetConnectionsInfo().get(0).connection().type());
- Assertions.assertEquals(true, model.targetConnectionsInfo().get(0).connection().isInlineDataset());
- Assertions.assertEquals("nwf",
- model.targetConnectionsInfo().get(0).connection().commonDslConnectorProperties().get(0).name());
- Assertions.assertEquals("sqhzvbrzcdbanfz",
- model.targetConnectionsInfo().get(0).dataMapperMappings().get(0).targetEntityName());
- Assertions.assertEquals("scxmxeat",
- model.targetConnectionsInfo().get(0).dataMapperMappings().get(0).sourceEntityName());
- Assertions.assertEquals("mwnrdj",
- model.targetConnectionsInfo()
- .get(0)
- .dataMapperMappings()
- .get(0)
- .sourceConnectionReference()
- .connectionName());
- Assertions.assertEquals(ConnectionType.LINKEDSERVICETYPE,
- model.targetConnectionsInfo().get(0).dataMapperMappings().get(0).sourceConnectionReference().type());
- Assertions.assertEquals("ltixldzyyfytpq", model.policy().mode());
- Assertions.assertEquals(FrequencyType.MINUTE, model.policy().recurrence().frequency());
- Assertions.assertEquals(104830049, model.policy().recurrence().interval());
- Assertions.assertEquals(true, model.allowVNetOverride());
- Assertions.assertEquals("ivyqlkjuvsmbmsl", model.status());
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- ChangeDataCapture model
- = new ChangeDataCapture().withFolder(new ChangeDataCaptureFolder().withName("edmzrgjfoknub"))
- .withDescription("itpkpztrgdg")
- .withSourceConnectionsInfo(Arrays.asList(
- new MapperSourceConnectionsInfo()
- .withSourceEntities(Arrays.asList(
- new MapperTable().withName("raswugyxpqit")
- .withSchema(Arrays.asList(new MapperTableSchema(), new MapperTableSchema()))
- .withDslConnectorProperties(Arrays.asList(new MapperDslConnectorProperties(),
- new MapperDslConnectorProperties(), new MapperDslConnectorProperties(),
- new MapperDslConnectorProperties())),
- new MapperTable().withName("skbuhzaca")
- .withSchema(Arrays.asList(new MapperTableSchema(), new MapperTableSchema()))
- .withDslConnectorProperties(Arrays.asList(new MapperDslConnectorProperties())),
- new MapperTable().withName("qcujpd")
- .withSchema(Arrays.asList(new MapperTableSchema(), new MapperTableSchema()))
- .withDslConnectorProperties(Arrays.asList(new MapperDslConnectorProperties(),
- new MapperDslConnectorProperties(), new MapperDslConnectorProperties(),
- new MapperDslConnectorProperties())),
- new MapperTable().withName("jkmvbi")
- .withSchema(Arrays.asList(new MapperTableSchema(), new MapperTableSchema(),
- new MapperTableSchema(), new MapperTableSchema()))
- .withDslConnectorProperties(Arrays.asList(new MapperDslConnectorProperties(),
- new MapperDslConnectorProperties()))))
- .withConnection(new MapperConnection()
- .withLinkedService(new LinkedServiceReference().withReferenceName("ovjufycsjmlbe")
- .withParameters(mapOf("hortu", "datajiriuxeg")))
- .withLinkedServiceType("wlpjfelqerppt")
- .withType(ConnectionType.LINKEDSERVICETYPE)
- .withIsInlineDataset(true)
- .withCommonDslConnectorProperties(Arrays
- .asList(new MapperDslConnectorProperties().withName("nhii").withValue("dataalwcjgckbb"),
- new MapperDslConnectorProperties().withName("cgzpraoxnyu").withValue("dataa"),
- new MapperDslConnectorProperties().withName("gftipwc").withValue("datayubhiqdx")))),
- new MapperSourceConnectionsInfo()
- .withSourceEntities(
- Arrays.asList(
- new MapperTable().withName("pnuhzafccnu")
- .withSchema(Arrays.asList(new MapperTableSchema(), new MapperTableSchema()))
- .withDslConnectorProperties(Arrays.asList(new MapperDslConnectorProperties())),
- new MapperTable()
- .withName("bui")
- .withSchema(Arrays.asList(new MapperTableSchema(), new MapperTableSchema()))
- .withDslConnectorProperties(Arrays.asList(new MapperDslConnectorProperties(),
- new MapperDslConnectorProperties(), new MapperDslConnectorProperties(),
- new MapperDslConnectorProperties())),
- new MapperTable().withName("crkdlbn")
- .withSchema(Arrays.asList(new MapperTableSchema()))
- .withDslConnectorProperties(Arrays.asList(new MapperDslConnectorProperties(),
- new MapperDslConnectorProperties(), new MapperDslConnectorProperties(),
- new MapperDslConnectorProperties())),
- new MapperTable()
- .withName("yhzlwxaeaovurexd")
- .withSchema(Arrays.asList(new MapperTableSchema(), new MapperTableSchema()))
- .withDslConnectorProperties(
- Arrays.asList(new MapperDslConnectorProperties(),
- new MapperDslConnectorProperties()))))
- .withConnection(new MapperConnection().withLinkedService(new LinkedServiceReference()
- .withReferenceName("derzmwnto")
- .withParameters(mapOf("jiuazjc", "datattmvmmagoaqylkjz", "tkrlgjmtbd", "datamxitpfinzcpd",
- "mpheqdur", "datavcqguefzh", "kyeclcdigpta", "datalyujlfyoump")))
- .withLinkedServiceType("rzmq")
- .withType(ConnectionType.LINKEDSERVICETYPE)
- .withIsInlineDataset(true)
- .withCommonDslConnectorProperties(
- Arrays.asList(new MapperDslConnectorProperties().withName("oclxiut")
- .withValue("datacyzyzjdnrqjbt")))),
- new MapperSourceConnectionsInfo()
- .withSourceEntities(Arrays.asList(
- new MapperTable().withName("oqa")
- .withSchema(Arrays.asList(new MapperTableSchema(), new MapperTableSchema()))
- .withDslConnectorProperties(Arrays.asList(new MapperDslConnectorProperties())),
- new MapperTable().withName("w")
- .withSchema(Arrays.asList(new MapperTableSchema(), new MapperTableSchema()))
- .withDslConnectorProperties(Arrays.asList(new MapperDslConnectorProperties(),
- new MapperDslConnectorProperties())),
- new MapperTable().withName("bqamteuliyslpk")
- .withSchema(Arrays.asList(new MapperTableSchema()))
- .withDslConnectorProperties(Arrays.asList(new MapperDslConnectorProperties(),
- new MapperDslConnectorProperties(), new MapperDslConnectorProperties()))))
- .withConnection(new MapperConnection()
- .withLinkedService(new LinkedServiceReference().withReferenceName("xe")
- .withParameters(mapOf("iijq", "datawbormcqmi")))
- .withLinkedServiceType("zfboj")
- .withType(ConnectionType.LINKEDSERVICETYPE)
- .withIsInlineDataset(false)
- .withCommonDslConnectorProperties(Arrays.asList(
- new MapperDslConnectorProperties().withName("qwixvcpwnk")
- .withValue("datawzwofalickduo"),
- new MapperDslConnectorProperties().withName("tamtyv").withValue("datanxrwzawnvs"),
- new MapperDslConnectorProperties().withName("fhzag").withValue("datavhycvdimwrzregzg"),
- new MapperDslConnectorProperties().withName("futrwpweryekzkd")
- .withValue("dataeotta")))),
- new MapperSourceConnectionsInfo()
- .withSourceEntities(
- Arrays.asList(new MapperTable()
- .withName("sxwwhnhjtf")
- .withSchema(Arrays.asList(new MapperTableSchema(), new MapperTableSchema()))
- .withDslConnectorProperties(Arrays.asList(
- new MapperDslConnectorProperties(), new MapperDslConnectorProperties(),
- new MapperDslConnectorProperties()))))
- .withConnection(new MapperConnection()
- .withLinkedService(new LinkedServiceReference().withReferenceName("jpnwynudql")
- .withParameters(
- mapOf("ehuxiqhzlraym", "dataauzpjlx", "dsajrednwyysh", "datazxlskihmxr")))
- .withLinkedServiceType("w")
- .withType(ConnectionType.LINKEDSERVICETYPE)
- .withIsInlineDataset(true)
- .withCommonDslConnectorProperties(Arrays
- .asList(new MapperDslConnectorProperties().withName("pwzyi").withValue("datakgwl"),
- new MapperDslConnectorProperties().withName("eqipxgzdy")
- .withValue("datasfayorpravkjoges"),
- new MapperDslConnectorProperties().withName("bnsmjkwynqxaek")
- .withValue("dataykvwjtqpkevmyltj"),
- new MapperDslConnectorProperties().withName("spxklu").withValue("dataclf"))))))
- .withTargetConnectionsInfo(
- Arrays
- .asList(new MapperTargetConnectionsInfo()
- .withTargetEntities(Arrays.asList(
- new MapperTable().withName("noytzposewxigp")
- .withSchema(Arrays.asList(new MapperTableSchema()))
- .withDslConnectorProperties(Arrays.asList(new MapperDslConnectorProperties(),
- new MapperDslConnectorProperties())),
- new MapperTable().withName("pxvpifdfaif")
- .withSchema(Arrays.asList(new MapperTableSchema(), new MapperTableSchema(),
- new MapperTableSchema()))
- .withDslConnectorProperties(Arrays.asList(new MapperDslConnectorProperties(),
- new MapperDslConnectorProperties(), new MapperDslConnectorProperties(),
- new MapperDslConnectorProperties()))))
- .withConnection(new MapperConnection()
- .withLinkedService(new LinkedServiceReference().withReferenceName("beidsz")
- .withParameters(mapOf("hgygvfltgvd", "datatoi", "xwetwkdrcyrucpc", "datahoynk",
- "zdqumoe", "datann")))
- .withLinkedServiceType("dnaienhqhskndnel")
- .withType(ConnectionType.LINKEDSERVICETYPE)
- .withIsInlineDataset(true)
- .withCommonDslConnectorProperties(Arrays.asList(
- new MapperDslConnectorProperties().withName("nwf").withValue("datanniyopetxi"),
- new MapperDslConnectorProperties().withName("nrlyxnuc").withValue("datap"),
- new MapperDslConnectorProperties().withName("lkwq").withValue("datatv"),
- new MapperDslConnectorProperties()
- .withName("sdtcjbctvivuzqym")
- .withValue("dataowog"))))
- .withDataMapperMappings(
- Arrays.asList(new DataMapperMapping().withTargetEntityName("sqhzvbrzcdbanfz")
- .withSourceEntityName("scxmxeat")
- .withSourceConnectionReference(
- new MapperConnectionReference().withConnectionName("mwnrdj")
- .withType(ConnectionType.LINKEDSERVICETYPE))
- .withAttributeMappingInfo(new MapperAttributeMappings().withAttributeMappings(
- Arrays.asList(new MapperAttributeMapping(), new MapperAttributeMapping())))
- .withSourceDenormalizeInfo("dataomhjrmkuhm")))
- .withRelationships(
- Arrays.asList("datajalfihcjmobcanc", "dataexxqcwg", "dataxf", "datavaknokzwjj"))))
- .withPolicy(new MapperPolicy().withMode("ltixldzyyfytpq")
- .withRecurrence(
- new MapperPolicyRecurrence().withFrequency(FrequencyType.MINUTE).withInterval(104830049)))
- .withAllowVNetOverride(true)
- .withStatus("ivyqlkjuvsmbmsl");
- model = BinaryData.fromObject(model).toObject(ChangeDataCapture.class);
- Assertions.assertEquals("edmzrgjfoknub", model.folder().name());
- Assertions.assertEquals("itpkpztrgdg", model.description());
- Assertions.assertEquals("raswugyxpqit", model.sourceConnectionsInfo().get(0).sourceEntities().get(0).name());
- Assertions.assertEquals("ovjufycsjmlbe",
- model.sourceConnectionsInfo().get(0).connection().linkedService().referenceName());
- Assertions.assertEquals("wlpjfelqerppt", model.sourceConnectionsInfo().get(0).connection().linkedServiceType());
- Assertions.assertEquals(ConnectionType.LINKEDSERVICETYPE,
- model.sourceConnectionsInfo().get(0).connection().type());
- Assertions.assertEquals(true, model.sourceConnectionsInfo().get(0).connection().isInlineDataset());
- Assertions.assertEquals("nhii",
- model.sourceConnectionsInfo().get(0).connection().commonDslConnectorProperties().get(0).name());
- Assertions.assertEquals("noytzposewxigp", model.targetConnectionsInfo().get(0).targetEntities().get(0).name());
- Assertions.assertEquals("beidsz",
- model.targetConnectionsInfo().get(0).connection().linkedService().referenceName());
- Assertions.assertEquals("dnaienhqhskndnel",
- model.targetConnectionsInfo().get(0).connection().linkedServiceType());
- Assertions.assertEquals(ConnectionType.LINKEDSERVICETYPE,
- model.targetConnectionsInfo().get(0).connection().type());
- Assertions.assertEquals(true, model.targetConnectionsInfo().get(0).connection().isInlineDataset());
- Assertions.assertEquals("nwf",
- model.targetConnectionsInfo().get(0).connection().commonDslConnectorProperties().get(0).name());
- Assertions.assertEquals("sqhzvbrzcdbanfz",
- model.targetConnectionsInfo().get(0).dataMapperMappings().get(0).targetEntityName());
- Assertions.assertEquals("scxmxeat",
- model.targetConnectionsInfo().get(0).dataMapperMappings().get(0).sourceEntityName());
- Assertions.assertEquals("mwnrdj",
- model.targetConnectionsInfo()
- .get(0)
- .dataMapperMappings()
- .get(0)
- .sourceConnectionReference()
- .connectionName());
- Assertions.assertEquals(ConnectionType.LINKEDSERVICETYPE,
- model.targetConnectionsInfo().get(0).dataMapperMappings().get(0).sourceConnectionReference().type());
- Assertions.assertEquals("ltixldzyyfytpq", model.policy().mode());
- Assertions.assertEquals(FrequencyType.MINUTE, model.policy().recurrence().frequency());
- Assertions.assertEquals(104830049, model.policy().recurrence().interval());
- Assertions.assertEquals(true, model.allowVNetOverride());
- Assertions.assertEquals("ivyqlkjuvsmbmsl", model.status());
- }
-
- // Use "Map.of" if available
- @SuppressWarnings("unchecked")
- private static Map mapOf(Object... inputs) {
- Map map = new HashMap<>();
- for (int i = 0; i < inputs.length; i += 2) {
- String key = (String) inputs[i];
- T value = (T) inputs[i + 1];
- map.put(key, value);
- }
- return map;
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/ChangeDataCapturesCreateOrUpdateWithResponseMockTests.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/ChangeDataCapturesCreateOrUpdateWithResponseMockTests.java
deleted file mode 100644
index 1c0922a92194..000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/ChangeDataCapturesCreateOrUpdateWithResponseMockTests.java
+++ /dev/null
@@ -1,153 +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.generated;
-
-import com.azure.core.credential.AccessToken;
-import com.azure.core.http.HttpClient;
-import com.azure.core.management.AzureEnvironment;
-import com.azure.core.management.profile.AzureProfile;
-import com.azure.core.test.http.MockHttpResponse;
-import com.azure.resourcemanager.datafactory.DataFactoryManager;
-import com.azure.resourcemanager.datafactory.models.ChangeDataCaptureFolder;
-import com.azure.resourcemanager.datafactory.models.ChangeDataCaptureResource;
-import com.azure.resourcemanager.datafactory.models.ConnectionType;
-import com.azure.resourcemanager.datafactory.models.DataMapperMapping;
-import com.azure.resourcemanager.datafactory.models.FrequencyType;
-import com.azure.resourcemanager.datafactory.models.LinkedServiceReference;
-import com.azure.resourcemanager.datafactory.models.MapperConnection;
-import com.azure.resourcemanager.datafactory.models.MapperDslConnectorProperties;
-import com.azure.resourcemanager.datafactory.models.MapperPolicy;
-import com.azure.resourcemanager.datafactory.models.MapperPolicyRecurrence;
-import com.azure.resourcemanager.datafactory.models.MapperSourceConnectionsInfo;
-import com.azure.resourcemanager.datafactory.models.MapperTable;
-import com.azure.resourcemanager.datafactory.models.MapperTargetConnectionsInfo;
-import java.nio.charset.StandardCharsets;
-import java.time.OffsetDateTime;
-import java.util.Arrays;
-import org.junit.jupiter.api.Assertions;
-import org.junit.jupiter.api.Test;
-import reactor.core.publisher.Mono;
-
-public final class ChangeDataCapturesCreateOrUpdateWithResponseMockTests {
- @Test
- public void testCreateOrUpdateWithResponse() throws Exception {
- String responseStr
- = "{\"properties\":{\"folder\":{\"name\":\"hvagrkjepdfsgk\"},\"description\":\"fltgbbxghxa\",\"sourceConnectionsInfo\":[{\"sourceEntities\":[{}],\"connection\":{\"linkedService\":{\"referenceName\":\"gslllc\"},\"linkedServiceType\":\"hrbqqumttxmgh\",\"type\":\"linkedservicetype\",\"isInlineDataset\":true,\"commonDslConnectorProperties\":[{}]}},{\"sourceEntities\":[{}],\"connection\":{\"linkedService\":{\"referenceName\":\"ljbtytdx\"},\"linkedServiceType\":\"pjewqgyexrdszp\",\"type\":\"linkedservicetype\",\"isInlineDataset\":false,\"commonDslConnectorProperties\":[{},{}]}},{\"sourceEntities\":[{}],\"connection\":{\"linkedService\":{\"referenceName\":\"rutnaavtjhikc\"},\"linkedServiceType\":\"jswhoh\",\"type\":\"linkedservicetype\",\"isInlineDataset\":true,\"commonDslConnectorProperties\":[{},{},{},{}]}}],\"targetConnectionsInfo\":[{\"targetEntities\":[{},{}],\"connection\":{\"linkedService\":{\"referenceName\":\"j\"},\"linkedServiceType\":\"bpudjhjwxpbwvceu\",\"type\":\"linkedservicetype\",\"isInlineDataset\":true,\"commonDslConnectorProperties\":[{},{},{}]},\"dataMapperMappings\":[{},{},{}],\"relationships\":[\"datawb\",\"datansb\"]},{\"targetEntities\":[{},{},{},{}],\"connection\":{\"linkedService\":{\"referenceName\":\"c\"},\"linkedServiceType\":\"hyjex\",\"type\":\"linkedservicetype\",\"isInlineDataset\":false,\"commonDslConnectorProperties\":[{}]},\"dataMapperMappings\":[{},{}],\"relationships\":[\"datakgrrrkbuiuspbeq\",\"dataqbscahrfhxrvarv\"]}],\"policy\":{\"mode\":\"manq\",\"recurrence\":{\"frequency\":\"Second\",\"interval\":334723435}},\"allowVNetOverride\":true,\"status\":\"hxngqpbbybhjozn\"},\"name\":\"uvqnopupxbviemy\",\"type\":\"jqdk\",\"etag\":\"bfz\",\"\":{\"hkndedhmj\":\"dataqvwzsazfzyrle\"},\"id\":\"jnvkpd\"}";
-
- HttpClient httpClient
- = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
- DataFactoryManager manager = DataFactoryManager.configure()
- .withHttpClient(httpClient)
- .authenticate(tokenRequestContext -> Mono.just(new AccessToken("this_is_a_token", OffsetDateTime.MAX)),
- new AzureProfile("", "", AzureEnvironment.AZURE));
-
- ChangeDataCaptureResource response
- = manager.changeDataCaptures()
- .define("tkojmmcnlsfof")
- .withExistingFactory("glkvby", "meraegfyrgrlnb")
- .withSourceConnectionsInfo(
- Arrays
- .asList(
- new MapperSourceConnectionsInfo()
- .withSourceEntities(
- Arrays.asList(new MapperTable(), new MapperTable(), new MapperTable()))
- .withConnection(
- new MapperConnection()
- .withLinkedService(new LinkedServiceReference().withReferenceName("jxnoqxgfvg"))
- .withLinkedServiceType("mtnunfjdgfm")
- .withType(ConnectionType.LINKEDSERVICETYPE)
- .withIsInlineDataset(true)
- .withCommonDslConnectorProperties(
- Arrays.asList(new MapperDslConnectorProperties())))))
- .withTargetConnectionsInfo(
- Arrays
- .asList(
- new MapperTargetConnectionsInfo()
- .withTargetEntities(Arrays.asList(new MapperTable(), new MapperTable(),
- new MapperTable(), new MapperTable()))
- .withConnection(new MapperConnection()
- .withLinkedService(
- new LinkedServiceReference().withReferenceName("aeoozjncurnrdye"))
- .withLinkedServiceType("xk")
- .withType(ConnectionType.LINKEDSERVICETYPE)
- .withIsInlineDataset(false)
- .withCommonDslConnectorProperties(Arrays.asList(new MapperDslConnectorProperties(),
- new MapperDslConnectorProperties(), new MapperDslConnectorProperties())))
- .withDataMapperMappings(Arrays.asList(new DataMapperMapping(), new DataMapperMapping(),
- new DataMapperMapping(), new DataMapperMapping()))
- .withRelationships(
- Arrays.asList("datafprqwopjnrafli", "dataqpmdojbm", "datajohu", "datauvnbiujt")),
- new MapperTargetConnectionsInfo().withTargetEntities(Arrays.asList(new MapperTable()))
- .withConnection(new MapperConnection()
- .withLinkedService(new LinkedServiceReference().withReferenceName("wmwiaut"))
- .withLinkedServiceType("h")
- .withType(ConnectionType.LINKEDSERVICETYPE)
- .withIsInlineDataset(true)
- .withCommonDslConnectorProperties(
- Arrays.asList(new MapperDslConnectorProperties(),
- new MapperDslConnectorProperties(), new MapperDslConnectorProperties())))
- .withDataMapperMappings(Arrays.asList(new DataMapperMapping()))
- .withRelationships(
- Arrays.asList("dataeqhqfryfyfubtrta", "datapj", "datafedowcgqc", "datagvqqy")),
- new MapperTargetConnectionsInfo()
- .withTargetEntities(Arrays.asList(new MapperTable(), new MapperTable(),
- new MapperTable(), new MapperTable()))
- .withConnection(new MapperConnection()
- .withLinkedService(
- new LinkedServiceReference().withReferenceName("qnvnetrnwgchvgpu"))
- .withLinkedServiceType("n")
- .withType(ConnectionType.LINKEDSERVICETYPE)
- .withIsInlineDataset(false)
- .withCommonDslConnectorProperties(Arrays.asList(new MapperDslConnectorProperties(),
- new MapperDslConnectorProperties(), new MapperDslConnectorProperties())))
- .withDataMapperMappings(
- Arrays.asList(new DataMapperMapping(), new DataMapperMapping(),
- new DataMapperMapping(), new DataMapperMapping()))
- .withRelationships(Arrays.asList("datamshonnmbaottulk", "datal")),
- new MapperTargetConnectionsInfo()
- .withTargetEntities(Arrays.asList(new MapperTable(), new MapperTable()))
- .withConnection(new MapperConnection()
- .withLinkedService(new LinkedServiceReference().withReferenceName("zwfukjwvmmya"))
- .withLinkedServiceType("lpeyiafz")
- .withType(ConnectionType.LINKEDSERVICETYPE)
- .withIsInlineDataset(false)
- .withCommonDslConnectorProperties(
- Arrays.asList(new MapperDslConnectorProperties())))
- .withDataMapperMappings(Arrays.asList(new DataMapperMapping()))
- .withRelationships(Arrays.asList("dataabouerncgvjmk"))))
- .withPolicy(new MapperPolicy().withMode("qruolmumz")
- .withRecurrence(
- new MapperPolicyRecurrence().withFrequency(FrequencyType.MINUTE).withInterval(1963137778)))
- .withFolder(new ChangeDataCaptureFolder().withName("savdijbiu"))
- .withDescription("w")
- .withAllowVNetOverride(false)
- .withStatus("jdmgzmpbfho")
- .withIfMatch("jgjl")
- .create();
-
- Assertions.assertEquals("jnvkpd", response.id());
- Assertions.assertEquals("hvagrkjepdfsgk", response.folder().name());
- Assertions.assertEquals("fltgbbxghxa", response.description());
- Assertions.assertEquals("gslllc",
- response.sourceConnectionsInfo().get(0).connection().linkedService().referenceName());
- Assertions.assertEquals("hrbqqumttxmgh",
- response.sourceConnectionsInfo().get(0).connection().linkedServiceType());
- Assertions.assertEquals(ConnectionType.LINKEDSERVICETYPE,
- response.sourceConnectionsInfo().get(0).connection().type());
- Assertions.assertEquals(true, response.sourceConnectionsInfo().get(0).connection().isInlineDataset());
- Assertions.assertEquals("j",
- response.targetConnectionsInfo().get(0).connection().linkedService().referenceName());
- Assertions.assertEquals("bpudjhjwxpbwvceu",
- response.targetConnectionsInfo().get(0).connection().linkedServiceType());
- Assertions.assertEquals(ConnectionType.LINKEDSERVICETYPE,
- response.targetConnectionsInfo().get(0).connection().type());
- Assertions.assertEquals(true, response.targetConnectionsInfo().get(0).connection().isInlineDataset());
- Assertions.assertEquals("manq", response.policy().mode());
- Assertions.assertEquals(FrequencyType.SECOND, response.policy().recurrence().frequency());
- Assertions.assertEquals(334723435, response.policy().recurrence().interval());
- Assertions.assertEquals(true, response.allowVNetOverride());
- Assertions.assertEquals("hxngqpbbybhjozn", response.status());
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/ChangeDataCapturesDeleteWithResponseMockTests.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/ChangeDataCapturesDeleteWithResponseMockTests.java
deleted file mode 100644
index 8170931523cb..000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/ChangeDataCapturesDeleteWithResponseMockTests.java
+++ /dev/null
@@ -1,33 +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.generated;
-
-import com.azure.core.credential.AccessToken;
-import com.azure.core.http.HttpClient;
-import com.azure.core.management.AzureEnvironment;
-import com.azure.core.management.profile.AzureProfile;
-import com.azure.core.test.http.MockHttpResponse;
-import com.azure.resourcemanager.datafactory.DataFactoryManager;
-import java.nio.charset.StandardCharsets;
-import java.time.OffsetDateTime;
-import org.junit.jupiter.api.Test;
-import reactor.core.publisher.Mono;
-
-public final class ChangeDataCapturesDeleteWithResponseMockTests {
- @Test
- public void testDeleteWithResponse() throws Exception {
- String responseStr = "{}";
-
- HttpClient httpClient
- = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
- DataFactoryManager manager = DataFactoryManager.configure()
- .withHttpClient(httpClient)
- .authenticate(tokenRequestContext -> Mono.just(new AccessToken("this_is_a_token", OffsetDateTime.MAX)),
- new AzureProfile("", "", AzureEnvironment.AZURE));
-
- manager.changeDataCaptures().deleteWithResponse("v", "pzvrtuaapyejbs", "ec", com.azure.core.util.Context.NONE);
-
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/ChangeDataCapturesGetWithResponseMockTests.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/ChangeDataCapturesGetWithResponseMockTests.java
deleted file mode 100644
index 86c979428590..000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/ChangeDataCapturesGetWithResponseMockTests.java
+++ /dev/null
@@ -1,60 +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.generated;
-
-import com.azure.core.credential.AccessToken;
-import com.azure.core.http.HttpClient;
-import com.azure.core.management.AzureEnvironment;
-import com.azure.core.management.profile.AzureProfile;
-import com.azure.core.test.http.MockHttpResponse;
-import com.azure.resourcemanager.datafactory.DataFactoryManager;
-import com.azure.resourcemanager.datafactory.models.ChangeDataCaptureResource;
-import com.azure.resourcemanager.datafactory.models.ConnectionType;
-import com.azure.resourcemanager.datafactory.models.FrequencyType;
-import java.nio.charset.StandardCharsets;
-import java.time.OffsetDateTime;
-import org.junit.jupiter.api.Assertions;
-import org.junit.jupiter.api.Test;
-import reactor.core.publisher.Mono;
-
-public final class ChangeDataCapturesGetWithResponseMockTests {
- @Test
- public void testGetWithResponse() throws Exception {
- String responseStr
- = "{\"properties\":{\"folder\":{\"name\":\"f\"},\"description\":\"hjlpznxjymdql\",\"sourceConnectionsInfo\":[{\"sourceEntities\":[{}],\"connection\":{\"linkedService\":{\"referenceName\":\"wltabmcm\"},\"linkedServiceType\":\"e\",\"type\":\"linkedservicetype\",\"isInlineDataset\":true,\"commonDslConnectorProperties\":[{}]}},{\"sourceEntities\":[{},{},{},{}],\"connection\":{\"linkedService\":{\"referenceName\":\"gfya\"},\"linkedServiceType\":\"pkybgrugklwubkmd\",\"type\":\"linkedservicetype\",\"isInlineDataset\":false,\"commonDslConnectorProperties\":[{},{},{},{}]}},{\"sourceEntities\":[{},{},{},{}],\"connection\":{\"linkedService\":{\"referenceName\":\"mau\"},\"linkedServiceType\":\"rzlfpk\",\"type\":\"linkedservicetype\",\"isInlineDataset\":false,\"commonDslConnectorProperties\":[{},{},{}]}}],\"targetConnectionsInfo\":[{\"targetEntities\":[{},{},{},{}],\"connection\":{\"linkedService\":{\"referenceName\":\"gztxcjnwzvlzwyk\"},\"linkedServiceType\":\"qq\",\"type\":\"linkedservicetype\",\"isInlineDataset\":true,\"commonDslConnectorProperties\":[{},{}]},\"dataMapperMappings\":[{},{}],\"relationships\":[\"datagivkfhiaa\",\"datalxpwhvu\",\"datahjl\"]},{\"targetEntities\":[{},{},{}],\"connection\":{\"linkedService\":{\"referenceName\":\"nrfuabqotyoa\"},\"linkedServiceType\":\"rlydmldjtrxq\",\"type\":\"linkedservicetype\",\"isInlineDataset\":false,\"commonDslConnectorProperties\":[{},{}]},\"dataMapperMappings\":[{},{},{}],\"relationships\":[\"dataqajhyufexb\"]},{\"targetEntities\":[{}],\"connection\":{\"linkedService\":{\"referenceName\":\"ntzjvquwxxouflnc\"},\"linkedServiceType\":\"b\",\"type\":\"linkedservicetype\",\"isInlineDataset\":false,\"commonDslConnectorProperties\":[{},{},{}]},\"dataMapperMappings\":[{},{}],\"relationships\":[\"datankrvpkkifjtx\",\"datady\",\"dataymijadh\"]},{\"targetEntities\":[{},{}],\"connection\":{\"linkedService\":{\"referenceName\":\"qjqutixykjlypmvo\"},\"linkedServiceType\":\"fnsfbnt\",\"type\":\"linkedservicetype\",\"isInlineDataset\":false,\"commonDslConnectorProperties\":[{},{},{}]},\"dataMapperMappings\":[{},{},{}],\"relationships\":[\"dataqddedhkhqwbm\"]}],\"policy\":{\"mode\":\"unxfdpulpnc\",\"recurrence\":{\"frequency\":\"Minute\",\"interval\":874037530}},\"allowVNetOverride\":true,\"status\":\"aeyczb\"},\"name\":\"skpnbdzjuq\",\"type\":\"qyusvgrbaax\",\"etag\":\"tkuchbnydzhafpbc\",\"\":{\"u\":\"datantw\",\"hbumoq\":\"datatffqa\",\"ik\":\"dataaixsalgzzm\",\"nsndcmghddsgjb\":\"datacagmmegukefmujg\"},\"id\":\"z\"}";
-
- HttpClient httpClient
- = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
- DataFactoryManager manager = DataFactoryManager.configure()
- .withHttpClient(httpClient)
- .authenticate(tokenRequestContext -> Mono.just(new AccessToken("this_is_a_token", OffsetDateTime.MAX)),
- new AzureProfile("", "", AzureEnvironment.AZURE));
-
- ChangeDataCaptureResource response = manager.changeDataCaptures()
- .getWithResponse("uvphkhszesxsyrvj", "wpknbwh", "ev", "own", com.azure.core.util.Context.NONE)
- .getValue();
-
- Assertions.assertEquals("z", response.id());
- Assertions.assertEquals("f", response.folder().name());
- Assertions.assertEquals("hjlpznxjymdql", response.description());
- Assertions.assertEquals("wltabmcm",
- response.sourceConnectionsInfo().get(0).connection().linkedService().referenceName());
- Assertions.assertEquals("e", response.sourceConnectionsInfo().get(0).connection().linkedServiceType());
- Assertions.assertEquals(ConnectionType.LINKEDSERVICETYPE,
- response.sourceConnectionsInfo().get(0).connection().type());
- Assertions.assertEquals(true, response.sourceConnectionsInfo().get(0).connection().isInlineDataset());
- Assertions.assertEquals("gztxcjnwzvlzwyk",
- response.targetConnectionsInfo().get(0).connection().linkedService().referenceName());
- Assertions.assertEquals("qq", response.targetConnectionsInfo().get(0).connection().linkedServiceType());
- Assertions.assertEquals(ConnectionType.LINKEDSERVICETYPE,
- response.targetConnectionsInfo().get(0).connection().type());
- Assertions.assertEquals(true, response.targetConnectionsInfo().get(0).connection().isInlineDataset());
- Assertions.assertEquals("unxfdpulpnc", response.policy().mode());
- Assertions.assertEquals(FrequencyType.MINUTE, response.policy().recurrence().frequency());
- Assertions.assertEquals(874037530, response.policy().recurrence().interval());
- Assertions.assertEquals(true, response.allowVNetOverride());
- Assertions.assertEquals("aeyczb", response.status());
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/ChangeDataCapturesListByFactoryMockTests.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/ChangeDataCapturesListByFactoryMockTests.java
deleted file mode 100644
index 443cf5ad83be..000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/ChangeDataCapturesListByFactoryMockTests.java
+++ /dev/null
@@ -1,64 +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.generated;
-
-import com.azure.core.credential.AccessToken;
-import com.azure.core.http.HttpClient;
-import com.azure.core.http.rest.PagedIterable;
-import com.azure.core.management.AzureEnvironment;
-import com.azure.core.management.profile.AzureProfile;
-import com.azure.core.test.http.MockHttpResponse;
-import com.azure.resourcemanager.datafactory.DataFactoryManager;
-import com.azure.resourcemanager.datafactory.models.ChangeDataCaptureResource;
-import com.azure.resourcemanager.datafactory.models.ConnectionType;
-import com.azure.resourcemanager.datafactory.models.FrequencyType;
-import java.nio.charset.StandardCharsets;
-import java.time.OffsetDateTime;
-import org.junit.jupiter.api.Assertions;
-import org.junit.jupiter.api.Test;
-import reactor.core.publisher.Mono;
-
-public final class ChangeDataCapturesListByFactoryMockTests {
- @Test
- public void testListByFactory() throws Exception {
- String responseStr
- = "{\"value\":[{\"properties\":{\"folder\":{\"name\":\"ghnnxkouvsmmi\"},\"description\":\"iigslbriawkn\",\"sourceConnectionsInfo\":[{\"sourceEntities\":[{}],\"connection\":{\"linkedService\":{\"referenceName\":\"eyulmxonobozge\"},\"linkedServiceType\":\"tcxknipzqwcr\",\"type\":\"linkedservicetype\",\"isInlineDataset\":true,\"commonDslConnectorProperties\":[{},{},{},{}]}},{\"sourceEntities\":[{}],\"connection\":{\"linkedService\":{\"referenceName\":\"maws\"},\"linkedServiceType\":\"dfwex\",\"type\":\"linkedservicetype\",\"isInlineDataset\":false,\"commonDslConnectorProperties\":[{},{},{}]}},{\"sourceEntities\":[{}],\"connection\":{\"linkedService\":{\"referenceName\":\"oarmlbqekvjwaq\"},\"linkedServiceType\":\"sjrpkgvstwdcz\",\"type\":\"linkedservicetype\",\"isInlineDataset\":false,\"commonDslConnectorProperties\":[{}]}},{\"sourceEntities\":[{}],\"connection\":{\"linkedService\":{\"referenceName\":\"fmytkluewthydgz\"},\"linkedServiceType\":\"bbfun\",\"type\":\"linkedservicetype\",\"isInlineDataset\":true,\"commonDslConnectorProperties\":[{},{},{},{}]}}],\"targetConnectionsInfo\":[{\"targetEntities\":[{},{},{},{}],\"connection\":{\"linkedService\":{\"referenceName\":\"ioxarwxhpufvuc\"},\"linkedServiceType\":\"ymjbzekrwpwyi\",\"type\":\"linkedservicetype\",\"isInlineDataset\":true,\"commonDslConnectorProperties\":[{},{}]},\"dataMapperMappings\":[{}],\"relationships\":[\"datazimevudmpsu\",\"datapra\",\"datajscni\"]},{\"targetEntities\":[{},{},{}],\"connection\":{\"linkedService\":{\"referenceName\":\"kpewtbyciedxs\"},\"linkedServiceType\":\"jj\",\"type\":\"linkedservicetype\",\"isInlineDataset\":false,\"commonDslConnectorProperties\":[{}]},\"dataMapperMappings\":[{},{},{},{}],\"relationships\":[\"dataaxieuntceekh\",\"dataxgu\",\"datazzcpwbfbfrzr\"]}],\"policy\":{\"mode\":\"ipqbyvesxuzda\",\"recurrence\":{\"frequency\":\"Second\",\"interval\":891591548}},\"allowVNetOverride\":false,\"status\":\"wzjkbaudtpp\"},\"name\":\"qkntnvgwgtgxggm\",\"type\":\"wulqpzqxcyg\",\"etag\":\"gjzrsb\",\"\":{\"cleniozqruqh\":\"datavvbsbkyfbmwzbf\",\"rhgohdv\":\"datapwzhpyymlwalldey\",\"kmqvivps\":\"datahsvrpnoxb\",\"fkjdw\":\"databzrfmfad\"},\"id\":\"yooewyvwwvki\"}]}";
-
- HttpClient httpClient
- = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
- DataFactoryManager manager = DataFactoryManager.configure()
- .withHttpClient(httpClient)
- .authenticate(tokenRequestContext -> Mono.just(new AccessToken("this_is_a_token", OffsetDateTime.MAX)),
- new AzureProfile("", "", AzureEnvironment.AZURE));
-
- PagedIterable response
- = manager.changeDataCaptures().listByFactory("bkm", "wmmwjugaqyrtbniy", com.azure.core.util.Context.NONE);
-
- Assertions.assertEquals("yooewyvwwvki", response.iterator().next().id());
- Assertions.assertEquals("ghnnxkouvsmmi", response.iterator().next().folder().name());
- Assertions.assertEquals("iigslbriawkn", response.iterator().next().description());
- Assertions.assertEquals("eyulmxonobozge",
- response.iterator().next().sourceConnectionsInfo().get(0).connection().linkedService().referenceName());
- Assertions.assertEquals("tcxknipzqwcr",
- response.iterator().next().sourceConnectionsInfo().get(0).connection().linkedServiceType());
- Assertions.assertEquals(ConnectionType.LINKEDSERVICETYPE,
- response.iterator().next().sourceConnectionsInfo().get(0).connection().type());
- Assertions.assertEquals(true,
- response.iterator().next().sourceConnectionsInfo().get(0).connection().isInlineDataset());
- Assertions.assertEquals("ioxarwxhpufvuc",
- response.iterator().next().targetConnectionsInfo().get(0).connection().linkedService().referenceName());
- Assertions.assertEquals("ymjbzekrwpwyi",
- response.iterator().next().targetConnectionsInfo().get(0).connection().linkedServiceType());
- Assertions.assertEquals(ConnectionType.LINKEDSERVICETYPE,
- response.iterator().next().targetConnectionsInfo().get(0).connection().type());
- Assertions.assertEquals(true,
- response.iterator().next().targetConnectionsInfo().get(0).connection().isInlineDataset());
- Assertions.assertEquals("ipqbyvesxuzda", response.iterator().next().policy().mode());
- Assertions.assertEquals(FrequencyType.SECOND, response.iterator().next().policy().recurrence().frequency());
- Assertions.assertEquals(891591548, response.iterator().next().policy().recurrence().interval());
- Assertions.assertEquals(false, response.iterator().next().allowVNetOverride());
- Assertions.assertEquals("wzjkbaudtpp", response.iterator().next().status());
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/ChangeDataCapturesStartWithResponseMockTests.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/ChangeDataCapturesStartWithResponseMockTests.java
deleted file mode 100644
index 410480f0ee50..000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/ChangeDataCapturesStartWithResponseMockTests.java
+++ /dev/null
@@ -1,34 +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.generated;
-
-import com.azure.core.credential.AccessToken;
-import com.azure.core.http.HttpClient;
-import com.azure.core.management.AzureEnvironment;
-import com.azure.core.management.profile.AzureProfile;
-import com.azure.core.test.http.MockHttpResponse;
-import com.azure.resourcemanager.datafactory.DataFactoryManager;
-import java.nio.charset.StandardCharsets;
-import java.time.OffsetDateTime;
-import org.junit.jupiter.api.Test;
-import reactor.core.publisher.Mono;
-
-public final class ChangeDataCapturesStartWithResponseMockTests {
- @Test
- public void testStartWithResponse() throws Exception {
- String responseStr = "{}";
-
- HttpClient httpClient
- = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
- DataFactoryManager manager = DataFactoryManager.configure()
- .withHttpClient(httpClient)
- .authenticate(tokenRequestContext -> Mono.just(new AccessToken("this_is_a_token", OffsetDateTime.MAX)),
- new AzureProfile("", "", AzureEnvironment.AZURE));
-
- manager.changeDataCaptures()
- .startWithResponse("q", "ymmqxndxppzyiyc", "powjyfbnqohc", com.azure.core.util.Context.NONE);
-
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/ChangeDataCapturesStatusWithResponseMockTests.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/ChangeDataCapturesStatusWithResponseMockTests.java
deleted file mode 100644
index 226b00eae616..000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/ChangeDataCapturesStatusWithResponseMockTests.java
+++ /dev/null
@@ -1,37 +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.generated;
-
-import com.azure.core.credential.AccessToken;
-import com.azure.core.http.HttpClient;
-import com.azure.core.management.AzureEnvironment;
-import com.azure.core.management.profile.AzureProfile;
-import com.azure.core.test.http.MockHttpResponse;
-import com.azure.resourcemanager.datafactory.DataFactoryManager;
-import java.nio.charset.StandardCharsets;
-import java.time.OffsetDateTime;
-import org.junit.jupiter.api.Assertions;
-import org.junit.jupiter.api.Test;
-import reactor.core.publisher.Mono;
-
-public final class ChangeDataCapturesStatusWithResponseMockTests {
- @Test
- public void testStatusWithResponse() throws Exception {
- String responseStr = "\"ebyt\"";
-
- HttpClient httpClient
- = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
- DataFactoryManager manager = DataFactoryManager.configure()
- .withHttpClient(httpClient)
- .authenticate(tokenRequestContext -> Mono.just(new AccessToken("this_is_a_token", OffsetDateTime.MAX)),
- new AzureProfile("", "", AzureEnvironment.AZURE));
-
- String response = manager.changeDataCaptures()
- .statusWithResponse("qijhvpvzfvegumsq", "acgfcbatfl", "pbgbzdhnmyyag", com.azure.core.util.Context.NONE)
- .getValue();
-
- Assertions.assertEquals("ebyt", response);
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/ChangeDataCapturesStopWithResponseMockTests.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/ChangeDataCapturesStopWithResponseMockTests.java
deleted file mode 100644
index d2271a413edf..000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/ChangeDataCapturesStopWithResponseMockTests.java
+++ /dev/null
@@ -1,34 +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.generated;
-
-import com.azure.core.credential.AccessToken;
-import com.azure.core.http.HttpClient;
-import com.azure.core.management.AzureEnvironment;
-import com.azure.core.management.profile.AzureProfile;
-import com.azure.core.test.http.MockHttpResponse;
-import com.azure.resourcemanager.datafactory.DataFactoryManager;
-import java.nio.charset.StandardCharsets;
-import java.time.OffsetDateTime;
-import org.junit.jupiter.api.Test;
-import reactor.core.publisher.Mono;
-
-public final class ChangeDataCapturesStopWithResponseMockTests {
- @Test
- public void testStopWithResponse() throws Exception {
- String responseStr = "{}";
-
- HttpClient httpClient
- = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
- DataFactoryManager manager = DataFactoryManager.configure()
- .withHttpClient(httpClient)
- .authenticate(tokenRequestContext -> Mono.just(new AccessToken("this_is_a_token", OffsetDateTime.MAX)),
- new AzureProfile("", "", AzureEnvironment.AZURE));
-
- manager.changeDataCaptures()
- .stopWithResponse("hmkpcrol", "xpalljveqx", "cbparyoa", com.azure.core.util.Context.NONE);
-
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/CmkIdentityDefinitionTests.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/CmkIdentityDefinitionTests.java
deleted file mode 100644
index 5bddc381a80c..000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/CmkIdentityDefinitionTests.java
+++ /dev/null
@@ -1,25 +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.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.datafactory.models.CmkIdentityDefinition;
-import org.junit.jupiter.api.Assertions;
-
-public final class CmkIdentityDefinitionTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- CmkIdentityDefinition model
- = BinaryData.fromString("{\"userAssignedIdentity\":\"lexxbczwtru\"}").toObject(CmkIdentityDefinition.class);
- Assertions.assertEquals("lexxbczwtru", model.userAssignedIdentity());
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- CmkIdentityDefinition model = new CmkIdentityDefinition().withUserAssignedIdentity("lexxbczwtru");
- model = BinaryData.fromObject(model).toObject(CmkIdentityDefinition.class);
- Assertions.assertEquals("lexxbczwtru", model.userAssignedIdentity());
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/CommonDataServiceForAppsEntityDatasetTests.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/CommonDataServiceForAppsEntityDatasetTests.java
deleted file mode 100644
index 9a4c32813bf9..000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/CommonDataServiceForAppsEntityDatasetTests.java
+++ /dev/null
@@ -1,64 +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.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.datafactory.models.CommonDataServiceForAppsEntityDataset;
-import com.azure.resourcemanager.datafactory.models.DatasetFolder;
-import com.azure.resourcemanager.datafactory.models.LinkedServiceReference;
-import com.azure.resourcemanager.datafactory.models.ParameterSpecification;
-import com.azure.resourcemanager.datafactory.models.ParameterType;
-import java.util.Arrays;
-import java.util.HashMap;
-import java.util.Map;
-import org.junit.jupiter.api.Assertions;
-
-public final class CommonDataServiceForAppsEntityDatasetTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- CommonDataServiceForAppsEntityDataset model = BinaryData.fromString(
- "{\"type\":\"CommonDataServiceForAppsEntity\",\"typeProperties\":{\"entityName\":\"datablwal\"},\"description\":\"ssnqe\",\"structure\":\"dataotbptg\",\"schema\":\"datamanxx\",\"linkedServiceName\":{\"referenceName\":\"wqfmdqecvta\",\"parameters\":{\"sibxovuqo\":\"datazmnobfeww\",\"qnzjcyqqz\":\"datajrkblndyclwgycv\",\"dpisjdl\":\"dataembtbwnalb\",\"eopsk\":\"dataajvmvvlooubsfxip\"}},\"parameters\":{\"dwzrgdqyxajc\":{\"type\":\"Bool\",\"defaultValue\":\"datamlupfazusjcdhusl\"},\"sjnkiixepbn\":{\"type\":\"Int\",\"defaultValue\":\"datacavqcwyzoqzkmqcw\"}},\"annotations\":[\"datawwgfgsqxilef\"],\"folder\":{\"name\":\"ewrznequqynttw\"},\"\":{\"ogjmqjhgcyd\":\"dataajksbs\",\"ixtdlxw\":\"datajnmcvjbssfcriqx\",\"orogeuv\":\"datavcdkucpxpyafrwr\",\"frsnqpljp\":\"datakrspnrsjsemlz\"}}")
- .toObject(CommonDataServiceForAppsEntityDataset.class);
- Assertions.assertEquals("ssnqe", model.description());
- Assertions.assertEquals("wqfmdqecvta", model.linkedServiceName().referenceName());
- Assertions.assertEquals(ParameterType.BOOL, model.parameters().get("dwzrgdqyxajc").type());
- Assertions.assertEquals("ewrznequqynttw", model.folder().name());
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- CommonDataServiceForAppsEntityDataset model
- = new CommonDataServiceForAppsEntityDataset().withDescription("ssnqe")
- .withStructure("dataotbptg")
- .withSchema("datamanxx")
- .withLinkedServiceName(new LinkedServiceReference().withReferenceName("wqfmdqecvta")
- .withParameters(mapOf("sibxovuqo", "datazmnobfeww", "qnzjcyqqz", "datajrkblndyclwgycv", "dpisjdl",
- "dataembtbwnalb", "eopsk", "dataajvmvvlooubsfxip")))
- .withParameters(mapOf("dwzrgdqyxajc",
- new ParameterSpecification().withType(ParameterType.BOOL).withDefaultValue("datamlupfazusjcdhusl"),
- "sjnkiixepbn",
- new ParameterSpecification().withType(ParameterType.INT).withDefaultValue("datacavqcwyzoqzkmqcw")))
- .withAnnotations(Arrays.asList("datawwgfgsqxilef"))
- .withFolder(new DatasetFolder().withName("ewrznequqynttw"))
- .withEntityName("datablwal");
- model = BinaryData.fromObject(model).toObject(CommonDataServiceForAppsEntityDataset.class);
- Assertions.assertEquals("ssnqe", model.description());
- Assertions.assertEquals("wqfmdqecvta", model.linkedServiceName().referenceName());
- Assertions.assertEquals(ParameterType.BOOL, model.parameters().get("dwzrgdqyxajc").type());
- Assertions.assertEquals("ewrznequqynttw", model.folder().name());
- }
-
- // Use "Map.of" if available
- @SuppressWarnings("unchecked")
- private static Map mapOf(Object... inputs) {
- Map map = new HashMap<>();
- for (int i = 0; i < inputs.length; i += 2) {
- String key = (String) inputs[i];
- T value = (T) inputs[i + 1];
- map.put(key, value);
- }
- return map;
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/CommonDataServiceForAppsEntityDatasetTypePropertiesTests.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/CommonDataServiceForAppsEntityDatasetTypePropertiesTests.java
deleted file mode 100644
index 720515e410a1..000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/CommonDataServiceForAppsEntityDatasetTypePropertiesTests.java
+++ /dev/null
@@ -1,24 +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.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.datafactory.fluent.models.CommonDataServiceForAppsEntityDatasetTypeProperties;
-
-public final class CommonDataServiceForAppsEntityDatasetTypePropertiesTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- CommonDataServiceForAppsEntityDatasetTypeProperties model
- = BinaryData.fromString("{\"entityName\":\"dataexutike\"}")
- .toObject(CommonDataServiceForAppsEntityDatasetTypeProperties.class);
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- CommonDataServiceForAppsEntityDatasetTypeProperties model
- = new CommonDataServiceForAppsEntityDatasetTypeProperties().withEntityName("dataexutike");
- model = BinaryData.fromObject(model).toObject(CommonDataServiceForAppsEntityDatasetTypeProperties.class);
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/CommonDataServiceForAppsSourceTests.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/CommonDataServiceForAppsSourceTests.java
deleted file mode 100644
index c46cf75e2de6..000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/CommonDataServiceForAppsSourceTests.java
+++ /dev/null
@@ -1,29 +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.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.datafactory.models.CommonDataServiceForAppsSource;
-
-public final class CommonDataServiceForAppsSourceTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- CommonDataServiceForAppsSource model = BinaryData.fromString(
- "{\"type\":\"CommonDataServiceForAppsSource\",\"query\":\"dataljzrqw\",\"additionalColumns\":\"dataswemotjkejy\",\"sourceRetryCount\":\"datakyjvctqaqcz\",\"sourceRetryWait\":\"datapaeyklxsvcbr\",\"maxConcurrentConnections\":\"datalt\",\"disableMetricsCollection\":\"datamdsngoaofmrph\",\"\":{\"exibo\":\"datafrunkcgdnha\"}}")
- .toObject(CommonDataServiceForAppsSource.class);
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- CommonDataServiceForAppsSource model
- = new CommonDataServiceForAppsSource().withSourceRetryCount("datakyjvctqaqcz")
- .withSourceRetryWait("datapaeyklxsvcbr")
- .withMaxConcurrentConnections("datalt")
- .withDisableMetricsCollection("datamdsngoaofmrph")
- .withQuery("dataljzrqw")
- .withAdditionalColumns("dataswemotjkejy");
- model = BinaryData.fromObject(model).toObject(CommonDataServiceForAppsSource.class);
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/CompressionReadSettingsTests.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/CompressionReadSettingsTests.java
deleted file mode 100644
index d982fd056d04..000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/CompressionReadSettingsTests.java
+++ /dev/null
@@ -1,38 +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.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.datafactory.models.CompressionReadSettings;
-import java.util.HashMap;
-import java.util.Map;
-
-public final class CompressionReadSettingsTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- CompressionReadSettings model = BinaryData.fromString(
- "{\"type\":\"CompressionReadSettings\",\"\":{\"eqjnouuujli\":\"datastwaa\",\"hop\":\"dataicshmqxgjzs\",\"vkcnggoc\":\"dataqxipbxs\",\"lk\":\"datawnjmiitlamfb\"}}")
- .toObject(CompressionReadSettings.class);
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- CompressionReadSettings model
- = new CompressionReadSettings().withAdditionalProperties(mapOf("type", "CompressionReadSettings"));
- model = BinaryData.fromObject(model).toObject(CompressionReadSettings.class);
- }
-
- // Use "Map.of" if available
- @SuppressWarnings("unchecked")
- private static Map mapOf(Object... inputs) {
- Map map = new HashMap<>();
- for (int i = 0; i < inputs.length; i += 2) {
- String key = (String) inputs[i];
- T value = (T) inputs[i + 1];
- map.put(key, value);
- }
- return map;
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/ConcurObjectDatasetTests.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/ConcurObjectDatasetTests.java
deleted file mode 100644
index 66f9eeb62134..000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/ConcurObjectDatasetTests.java
+++ /dev/null
@@ -1,62 +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.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.datafactory.models.ConcurObjectDataset;
-import com.azure.resourcemanager.datafactory.models.DatasetFolder;
-import com.azure.resourcemanager.datafactory.models.LinkedServiceReference;
-import com.azure.resourcemanager.datafactory.models.ParameterSpecification;
-import com.azure.resourcemanager.datafactory.models.ParameterType;
-import java.util.Arrays;
-import java.util.HashMap;
-import java.util.Map;
-import org.junit.jupiter.api.Assertions;
-
-public final class ConcurObjectDatasetTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- ConcurObjectDataset model = BinaryData.fromString(
- "{\"type\":\"ConcurObject\",\"typeProperties\":{\"tableName\":\"dataf\"},\"description\":\"cnqbblr\",\"structure\":\"dataofzghfuifwxu\",\"schema\":\"datanoh\",\"linkedServiceName\":{\"referenceName\":\"cqxu\",\"parameters\":{\"fbplv\":\"dataugdcr\",\"qe\":\"datamhurosdjlzbdmddg\",\"orservpvesors\":\"datay\"}},\"parameters\":{\"fjqzyhzydyvtuq\":{\"type\":\"SecureString\",\"defaultValue\":\"datamex\"},\"igtvjxsocsvjekej\":{\"type\":\"SecureString\",\"defaultValue\":\"datalunssky\"}},\"annotations\":[\"datazjdcwuzscyf\",\"dataixecmasjnfgn\",\"dataxaojeeyvfxbfckmo\"],\"folder\":{\"name\":\"axvwxtxuzh\"},\"\":{\"ygtc\":\"datayffwflbkjcdzu\",\"jef\":\"dataz\",\"kbhzi\":\"dataubaldjcgldryvlr\"}}")
- .toObject(ConcurObjectDataset.class);
- Assertions.assertEquals("cnqbblr", model.description());
- Assertions.assertEquals("cqxu", model.linkedServiceName().referenceName());
- Assertions.assertEquals(ParameterType.SECURE_STRING, model.parameters().get("fjqzyhzydyvtuq").type());
- Assertions.assertEquals("axvwxtxuzh", model.folder().name());
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- ConcurObjectDataset model = new ConcurObjectDataset().withDescription("cnqbblr")
- .withStructure("dataofzghfuifwxu")
- .withSchema("datanoh")
- .withLinkedServiceName(new LinkedServiceReference().withReferenceName("cqxu")
- .withParameters(mapOf("fbplv", "dataugdcr", "qe", "datamhurosdjlzbdmddg", "orservpvesors", "datay")))
- .withParameters(mapOf("fjqzyhzydyvtuq",
- new ParameterSpecification().withType(ParameterType.SECURE_STRING).withDefaultValue("datamex"),
- "igtvjxsocsvjekej",
- new ParameterSpecification().withType(ParameterType.SECURE_STRING).withDefaultValue("datalunssky")))
- .withAnnotations(Arrays.asList("datazjdcwuzscyf", "dataixecmasjnfgn", "dataxaojeeyvfxbfckmo"))
- .withFolder(new DatasetFolder().withName("axvwxtxuzh"))
- .withTableName("dataf");
- model = BinaryData.fromObject(model).toObject(ConcurObjectDataset.class);
- Assertions.assertEquals("cnqbblr", model.description());
- Assertions.assertEquals("cqxu", model.linkedServiceName().referenceName());
- Assertions.assertEquals(ParameterType.SECURE_STRING, model.parameters().get("fjqzyhzydyvtuq").type());
- Assertions.assertEquals("axvwxtxuzh", model.folder().name());
- }
-
- // Use "Map.of" if available
- @SuppressWarnings("unchecked")
- private static Map mapOf(Object... inputs) {
- Map map = new HashMap<>();
- for (int i = 0; i < inputs.length; i += 2) {
- String key = (String) inputs[i];
- T value = (T) inputs[i + 1];
- map.put(key, value);
- }
- return map;
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/ConcurSourceTests.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/ConcurSourceTests.java
deleted file mode 100644
index 38a156091902..000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/ConcurSourceTests.java
+++ /dev/null
@@ -1,29 +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.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.datafactory.models.ConcurSource;
-
-public final class ConcurSourceTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- ConcurSource model = BinaryData.fromString(
- "{\"type\":\"ConcurSource\",\"query\":\"dataanirlydsdmacydqa\",\"queryTimeout\":\"datayvwxubgulyz\",\"additionalColumns\":\"dataasxpprohuabdu\",\"sourceRetryCount\":\"datavsoxnpuapt\",\"sourceRetryWait\":\"datawekiqlscmtcljopi\",\"maxConcurrentConnections\":\"datawxvcfchokkcjjnq\",\"disableMetricsCollection\":\"datajoayaj\",\"\":{\"fbzbxeqzvokfrhfa\":\"datacxjmap\",\"uaxdulv\":\"dataxcgjuc\",\"mksgeqpai\":\"dataefsrxqscdbbwej\",\"eotvnet\":\"datalfscosf\"}}")
- .toObject(ConcurSource.class);
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- ConcurSource model = new ConcurSource().withSourceRetryCount("datavsoxnpuapt")
- .withSourceRetryWait("datawekiqlscmtcljopi")
- .withMaxConcurrentConnections("datawxvcfchokkcjjnq")
- .withDisableMetricsCollection("datajoayaj")
- .withQueryTimeout("datayvwxubgulyz")
- .withAdditionalColumns("dataasxpprohuabdu")
- .withQuery("dataanirlydsdmacydqa");
- model = BinaryData.fromObject(model).toObject(ConcurSource.class);
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/ConnectionStatePropertiesTests.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/ConnectionStatePropertiesTests.java
deleted file mode 100644
index f75c77c3efb3..000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/ConnectionStatePropertiesTests.java
+++ /dev/null
@@ -1,24 +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.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.datafactory.models.ConnectionStateProperties;
-
-public final class ConnectionStatePropertiesTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- ConnectionStateProperties model = BinaryData
- .fromString(
- "{\"actionsRequired\":\"lejchcsr\",\"description\":\"knmzlanrupdwvnp\",\"status\":\"nzqtpjhmqrhvt\"}")
- .toObject(ConnectionStateProperties.class);
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- ConnectionStateProperties model = new ConnectionStateProperties();
- model = BinaryData.fromObject(model).toObject(ConnectionStateProperties.class);
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/ControlActivityTests.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/ControlActivityTests.java
deleted file mode 100644
index b8224e388e69..000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/ControlActivityTests.java
+++ /dev/null
@@ -1,75 +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.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.datafactory.models.ActivityDependency;
-import com.azure.resourcemanager.datafactory.models.ActivityOnInactiveMarkAs;
-import com.azure.resourcemanager.datafactory.models.ActivityState;
-import com.azure.resourcemanager.datafactory.models.ControlActivity;
-import com.azure.resourcemanager.datafactory.models.DependencyCondition;
-import com.azure.resourcemanager.datafactory.models.UserProperty;
-import java.util.Arrays;
-import java.util.HashMap;
-import java.util.Map;
-import org.junit.jupiter.api.Assertions;
-
-public final class ControlActivityTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- ControlActivity model = BinaryData.fromString(
- "{\"type\":\"Container\",\"name\":\"exkoncia\",\"description\":\"l\",\"state\":\"Active\",\"onInactiveMarkAs\":\"Failed\",\"dependsOn\":[{\"activity\":\"xkctedh\",\"dependencyConditions\":[\"Succeeded\",\"Completed\",\"Failed\"],\"\":{\"bu\":\"dataajniwbyzyjuyxyl\",\"sigkinykjxq\":\"dataojdzcluy\",\"jqpjzturdi\":\"dataspeqgedpi\",\"oqakvutedetxokqu\":\"dataerkwmafy\"}},{\"activity\":\"jdwcwj\",\"dependencyConditions\":[\"Skipped\",\"Succeeded\"],\"\":{\"blfefbbvitlnnp\":\"dataehxahnqjbav\"}},{\"activity\":\"fufwrerbndr\",\"dependencyConditions\":[\"Failed\",\"Succeeded\",\"Completed\"],\"\":{\"py\":\"dataavmdcctemvaajyi\",\"swurzaqubryhvbv\":\"datagwih\"}}],\"userProperties\":[{\"name\":\"dwaupjo\",\"value\":\"datagryocgwkp\"},{\"name\":\"ilyznbb\",\"value\":\"dataimxznfoaks\"}],\"\":{\"iwf\":\"dataswznlbbhtl\"}}")
- .toObject(ControlActivity.class);
- Assertions.assertEquals("exkoncia", model.name());
- Assertions.assertEquals("l", model.description());
- Assertions.assertEquals(ActivityState.ACTIVE, model.state());
- Assertions.assertEquals(ActivityOnInactiveMarkAs.FAILED, model.onInactiveMarkAs());
- Assertions.assertEquals("xkctedh", model.dependsOn().get(0).activity());
- Assertions.assertEquals(DependencyCondition.SUCCEEDED, model.dependsOn().get(0).dependencyConditions().get(0));
- Assertions.assertEquals("dwaupjo", model.userProperties().get(0).name());
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- ControlActivity model = new ControlActivity().withName("exkoncia")
- .withDescription("l")
- .withState(ActivityState.ACTIVE)
- .withOnInactiveMarkAs(ActivityOnInactiveMarkAs.FAILED)
- .withDependsOn(Arrays.asList(
- new ActivityDependency().withActivity("xkctedh")
- .withDependencyConditions(Arrays.asList(DependencyCondition.SUCCEEDED,
- DependencyCondition.COMPLETED, DependencyCondition.FAILED))
- .withAdditionalProperties(mapOf()),
- new ActivityDependency().withActivity("jdwcwj")
- .withDependencyConditions(Arrays.asList(DependencyCondition.SKIPPED, DependencyCondition.SUCCEEDED))
- .withAdditionalProperties(mapOf()),
- new ActivityDependency().withActivity("fufwrerbndr")
- .withDependencyConditions(Arrays.asList(DependencyCondition.FAILED, DependencyCondition.SUCCEEDED,
- DependencyCondition.COMPLETED))
- .withAdditionalProperties(mapOf())))
- .withUserProperties(Arrays.asList(new UserProperty().withName("dwaupjo").withValue("datagryocgwkp"),
- new UserProperty().withName("ilyznbb").withValue("dataimxznfoaks")));
- model = BinaryData.fromObject(model).toObject(ControlActivity.class);
- Assertions.assertEquals("exkoncia", model.name());
- Assertions.assertEquals("l", model.description());
- Assertions.assertEquals(ActivityState.ACTIVE, model.state());
- Assertions.assertEquals(ActivityOnInactiveMarkAs.FAILED, model.onInactiveMarkAs());
- Assertions.assertEquals("xkctedh", model.dependsOn().get(0).activity());
- Assertions.assertEquals(DependencyCondition.SUCCEEDED, model.dependsOn().get(0).dependencyConditions().get(0));
- Assertions.assertEquals("dwaupjo", model.userProperties().get(0).name());
- }
-
- // Use "Map.of" if available
- @SuppressWarnings("unchecked")
- private static Map mapOf(Object... inputs) {
- Map map = new HashMap<>();
- for (int i = 0; i < inputs.length; i += 2) {
- String key = (String) inputs[i];
- T value = (T) inputs[i + 1];
- map.put(key, value);
- }
- return map;
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/CopyActivityLogSettingsTests.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/CopyActivityLogSettingsTests.java
deleted file mode 100644
index 5212d8bad6ce..000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/CopyActivityLogSettingsTests.java
+++ /dev/null
@@ -1,24 +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.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.datafactory.models.CopyActivityLogSettings;
-
-public final class CopyActivityLogSettingsTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- CopyActivityLogSettings model
- = BinaryData.fromString("{\"logLevel\":\"datavsf\",\"enableReliableLogging\":\"datacarfdmlie\"}")
- .toObject(CopyActivityLogSettings.class);
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- CopyActivityLogSettings model
- = new CopyActivityLogSettings().withLogLevel("datavsf").withEnableReliableLogging("datacarfdmlie");
- model = BinaryData.fromObject(model).toObject(CopyActivityLogSettings.class);
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/CopyActivityTests.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/CopyActivityTests.java
deleted file mode 100644
index 21318d8e02d8..000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/CopyActivityTests.java
+++ /dev/null
@@ -1,168 +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.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.datafactory.models.ActivityDependency;
-import com.azure.resourcemanager.datafactory.models.ActivityOnInactiveMarkAs;
-import com.azure.resourcemanager.datafactory.models.ActivityPolicy;
-import com.azure.resourcemanager.datafactory.models.ActivityState;
-import com.azure.resourcemanager.datafactory.models.CopyActivity;
-import com.azure.resourcemanager.datafactory.models.CopyActivityLogSettings;
-import com.azure.resourcemanager.datafactory.models.CopySink;
-import com.azure.resourcemanager.datafactory.models.CopySource;
-import com.azure.resourcemanager.datafactory.models.DatasetReference;
-import com.azure.resourcemanager.datafactory.models.DependencyCondition;
-import com.azure.resourcemanager.datafactory.models.LinkedServiceReference;
-import com.azure.resourcemanager.datafactory.models.LogLocationSettings;
-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.azure.resourcemanager.datafactory.models.UserProperty;
-import java.util.Arrays;
-import java.util.HashMap;
-import java.util.Map;
-import org.junit.jupiter.api.Assertions;
-
-public final class CopyActivityTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- CopyActivity model = BinaryData.fromString(
- "{\"type\":\"Copy\",\"typeProperties\":{\"source\":{\"type\":\"CopySource\",\"sourceRetryCount\":\"datafhfptbdxtvlpj\",\"sourceRetryWait\":\"datasl\",\"maxConcurrentConnections\":\"datauzytxeaqig\",\"disableMetricsCollection\":\"datantutetdtgci\",\"\":{\"qnfyhgrcmcqpp\":\"datajwiwouep\",\"xyecttu\":\"datae\"}},\"sink\":{\"type\":\"CopySink\",\"writeBatchSize\":\"datawelutrvd\",\"writeBatchTimeout\":\"datawp\",\"sinkRetryCount\":\"datascwyltslf\",\"sinkRetryWait\":\"datayavysfmndrdqq\",\"maxConcurrentConnections\":\"dataeg\",\"disableMetricsCollection\":\"dataldkciherzkh\",\"\":{\"oiranxq\":\"datahjkwfolpjrepah\",\"nldt\":\"datazss\",\"qxi\":\"dataykzmwdoqrejltr\"}},\"translator\":\"dataozryoxmfrxfxyc\",\"enableStaging\":\"dataalvchfumlf\",\"stagingSettings\":{\"linkedServiceName\":{\"referenceName\":\"lzxxkokipklfwnhf\",\"parameters\":{\"hg\":\"datalrtffswqdkvljitb\"}},\"path\":\"datavlaro\",\"enableCompression\":\"datawmucrzabgsdxtw\",\"\":{\"kbksltunrwxsq\":\"datakgonlvjg\"}},\"parallelCopies\":\"datalupccfwqisouqy\",\"dataIntegrationUnits\":\"datazjehdklvqtmzoci\",\"enableSkipIncompatibleRow\":\"datatctjhpgmoazsjsu\",\"redirectIncompatibleRowSettings\":{\"linkedServiceName\":\"datafvnntrccvxqb\",\"path\":\"dataq\",\"\":{\"xekibv\":\"datanri\",\"bxldl\":\"dataqldilmxsvzwbktal\"}},\"logStorageSettings\":{\"linkedServiceName\":{\"referenceName\":\"hmibqgldhtt\",\"parameters\":{\"alxlewlwbxufqf\":\"datapqlnnyevj\",\"lfqvo\":\"datakkvij\"}},\"path\":\"dataowdqvqfldaqoao\",\"logLevel\":\"dataqpfwnjdyoxformfe\",\"enableReliableLogging\":\"datafq\",\"\":{\"hxphxokdbv\":\"dataszxtes\",\"bz\":\"datapqttusux\",\"jrnnwgrxzcn\":\"datapvue\"}},\"logSettings\":{\"enableCopyActivityLog\":\"dataezxluimkwb\",\"copyActivityLogSettings\":{\"logLevel\":\"dataq\",\"enableReliableLogging\":\"datal\"},\"logLocationSettings\":{\"linkedServiceName\":{\"referenceName\":\"nycchpcjztz\",\"parameters\":{\"vp\":\"datau\",\"xciunet\":\"datafvin\",\"hxxvft\":\"dataxgdgqkletlwavtzb\",\"kyjmtdnymbe\":\"datadrqgionm\"}},\"path\":\"dataskb\"}},\"preserveRules\":[\"dataaklesjgxdhgezy\",\"dataphaokhbqmxgglk\"],\"preserve\":[\"datapbynetyxuxopoc\"],\"validateDataConsistency\":\"dataffgggglz\",\"skipErrorFile\":{\"fileMissing\":\"datauhmngc\",\"dataInconsistency\":\"datakgiusrvs\"}},\"inputs\":[{\"referenceName\":\"spaoxi\",\"parameters\":{\"u\":\"datai\",\"yn\":\"datapgpqsmglutn\",\"xbgfwwcfwlwnj\":\"datalxxnbogxkidb\"}},{\"referenceName\":\"anm\",\"parameters\":{\"fbjesmiyj\":\"datametdruugimvi\",\"xqsvax\":\"datahjuuepnjuqwnajbb\"}}],\"outputs\":[{\"referenceName\":\"isdwtug\",\"parameters\":{\"cbwiwhtjox\":\"dataupip\"}},{\"referenceName\":\"llhkzunnwmwwxy\",\"parameters\":{\"qmcvu\":\"datakdvevhyuuihap\",\"fiiif\":\"dataekubljnizwztlcr\",\"ervtrulzlrmrt\":\"dataxnfarmficqr\"}},{\"referenceName\":\"smpmhlcxb\",\"parameters\":{\"bicjzntiblxeygo\":\"datagcdfelvapb\",\"oanpkcmdixiu\":\"datauhroicjtgqdy\",\"zlvhohzkcsjddzpo\":\"dataqbcalgspzoafp\"}},{\"referenceName\":\"mnmkypeqmuue\",\"parameters\":{\"y\":\"datakrulavxe\",\"chwpfunptsry\":\"dataf\"}}],\"linkedServiceName\":{\"referenceName\":\"a\",\"parameters\":{\"baddlmj\":\"datawbxvsytbxcj\",\"rc\":\"dataulio\",\"valezkyfykm\":\"datanthluze\"}},\"policy\":{\"timeout\":\"dataasuwep\",\"retry\":\"datagtyt\",\"retryIntervalInSeconds\":333163893,\"secureInput\":false,\"secureOutput\":true,\"\":{\"ykshizwdswikyewv\":\"datafqffwvnjgj\",\"meftlgjrfkqf\":\"datakzwqzwsguipqq\",\"kxk\":\"datadrel\"}},\"name\":\"glua\",\"description\":\"gjoy\",\"state\":\"Active\",\"onInactiveMarkAs\":\"Skipped\",\"dependsOn\":[{\"activity\":\"vrmenrcqickhvps\",\"dependencyConditions\":[\"Skipped\",\"Failed\",\"Completed\"],\"\":{\"yojzvaykfjgakays\":\"datangmonqyntyuqdz\",\"zwm\":\"datakydqy\",\"muot\":\"datawrqzizgg\"}}],\"userProperties\":[{\"name\":\"abfyjampvwx\",\"value\":\"datakhprlt\"},{\"name\":\"ipmnqrbyq\",\"value\":\"datayw\"}],\"\":{\"yu\":\"datawcjkargg\"}}")
- .toObject(CopyActivity.class);
- Assertions.assertEquals("glua", model.name());
- Assertions.assertEquals("gjoy", model.description());
- Assertions.assertEquals(ActivityState.ACTIVE, model.state());
- Assertions.assertEquals(ActivityOnInactiveMarkAs.SKIPPED, model.onInactiveMarkAs());
- Assertions.assertEquals("vrmenrcqickhvps", model.dependsOn().get(0).activity());
- Assertions.assertEquals(DependencyCondition.SKIPPED, model.dependsOn().get(0).dependencyConditions().get(0));
- Assertions.assertEquals("abfyjampvwx", model.userProperties().get(0).name());
- Assertions.assertEquals("a", model.linkedServiceName().referenceName());
- Assertions.assertEquals(333163893, model.policy().retryIntervalInSeconds());
- Assertions.assertEquals(false, model.policy().secureInput());
- Assertions.assertEquals(true, model.policy().secureOutput());
- Assertions.assertEquals("spaoxi", model.inputs().get(0).referenceName());
- Assertions.assertEquals("isdwtug", model.outputs().get(0).referenceName());
- Assertions.assertEquals("lzxxkokipklfwnhf", model.stagingSettings().linkedServiceName().referenceName());
- Assertions.assertEquals("hmibqgldhtt", model.logStorageSettings().linkedServiceName().referenceName());
- Assertions.assertEquals("nycchpcjztz",
- model.logSettings().logLocationSettings().linkedServiceName().referenceName());
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- CopyActivity model = new CopyActivity().withName("glua")
- .withDescription("gjoy")
- .withState(ActivityState.ACTIVE)
- .withOnInactiveMarkAs(ActivityOnInactiveMarkAs.SKIPPED)
- .withDependsOn(Arrays.asList(new ActivityDependency().withActivity("vrmenrcqickhvps")
- .withDependencyConditions(Arrays.asList(DependencyCondition.SKIPPED, DependencyCondition.FAILED,
- DependencyCondition.COMPLETED))
- .withAdditionalProperties(mapOf())))
- .withUserProperties(Arrays.asList(new UserProperty().withName("abfyjampvwx").withValue("datakhprlt"),
- new UserProperty().withName("ipmnqrbyq").withValue("datayw")))
- .withLinkedServiceName(new LinkedServiceReference().withReferenceName("a")
- .withParameters(mapOf("baddlmj", "datawbxvsytbxcj", "rc", "dataulio", "valezkyfykm", "datanthluze")))
- .withPolicy(new ActivityPolicy().withTimeout("dataasuwep")
- .withRetry("datagtyt")
- .withRetryIntervalInSeconds(333163893)
- .withSecureInput(false)
- .withSecureOutput(true)
- .withAdditionalProperties(mapOf()))
- .withInputs(Arrays.asList(
- new DatasetReference().withReferenceName("spaoxi")
- .withParameters(mapOf("u", "datai", "yn", "datapgpqsmglutn", "xbgfwwcfwlwnj", "datalxxnbogxkidb")),
- new DatasetReference().withReferenceName("anm")
- .withParameters(mapOf("fbjesmiyj", "datametdruugimvi", "xqsvax", "datahjuuepnjuqwnajbb"))))
- .withOutputs(Arrays.asList(
- new DatasetReference().withReferenceName("isdwtug").withParameters(mapOf("cbwiwhtjox", "dataupip")),
- new DatasetReference().withReferenceName("llhkzunnwmwwxy")
- .withParameters(mapOf("qmcvu", "datakdvevhyuuihap", "fiiif", "dataekubljnizwztlcr", "ervtrulzlrmrt",
- "dataxnfarmficqr")),
- new DatasetReference().withReferenceName("smpmhlcxb")
- .withParameters(mapOf("bicjzntiblxeygo", "datagcdfelvapb", "oanpkcmdixiu", "datauhroicjtgqdy",
- "zlvhohzkcsjddzpo", "dataqbcalgspzoafp")),
- new DatasetReference().withReferenceName("mnmkypeqmuue")
- .withParameters(mapOf("y", "datakrulavxe", "chwpfunptsry", "dataf"))))
- .withSource(new CopySource().withSourceRetryCount("datafhfptbdxtvlpj")
- .withSourceRetryWait("datasl")
- .withMaxConcurrentConnections("datauzytxeaqig")
- .withDisableMetricsCollection("datantutetdtgci")
- .withAdditionalProperties(mapOf("type", "CopySource")))
- .withSink(new CopySink().withWriteBatchSize("datawelutrvd")
- .withWriteBatchTimeout("datawp")
- .withSinkRetryCount("datascwyltslf")
- .withSinkRetryWait("datayavysfmndrdqq")
- .withMaxConcurrentConnections("dataeg")
- .withDisableMetricsCollection("dataldkciherzkh")
- .withAdditionalProperties(mapOf("type", "CopySink")))
- .withTranslator("dataozryoxmfrxfxyc")
- .withEnableStaging("dataalvchfumlf")
- .withStagingSettings(new StagingSettings()
- .withLinkedServiceName(new LinkedServiceReference().withReferenceName("lzxxkokipklfwnhf")
- .withParameters(mapOf("hg", "datalrtffswqdkvljitb")))
- .withPath("datavlaro")
- .withEnableCompression("datawmucrzabgsdxtw")
- .withAdditionalProperties(mapOf()))
- .withParallelCopies("datalupccfwqisouqy")
- .withDataIntegrationUnits("datazjehdklvqtmzoci")
- .withEnableSkipIncompatibleRow("datatctjhpgmoazsjsu")
- .withRedirectIncompatibleRowSettings(
- new RedirectIncompatibleRowSettings().withLinkedServiceName("datafvnntrccvxqb")
- .withPath("dataq")
- .withAdditionalProperties(mapOf()))
- .withLogStorageSettings(new LogStorageSettings()
- .withLinkedServiceName(new LinkedServiceReference().withReferenceName("hmibqgldhtt")
- .withParameters(mapOf("alxlewlwbxufqf", "datapqlnnyevj", "lfqvo", "datakkvij")))
- .withPath("dataowdqvqfldaqoao")
- .withLogLevel("dataqpfwnjdyoxformfe")
- .withEnableReliableLogging("datafq")
- .withAdditionalProperties(mapOf()))
- .withLogSettings(new LogSettings().withEnableCopyActivityLog("dataezxluimkwb")
- .withCopyActivityLogSettings(
- new CopyActivityLogSettings().withLogLevel("dataq").withEnableReliableLogging("datal"))
- .withLogLocationSettings(new LogLocationSettings()
- .withLinkedServiceName(new LinkedServiceReference().withReferenceName("nycchpcjztz")
- .withParameters(mapOf("vp", "datau", "xciunet", "datafvin", "hxxvft", "dataxgdgqkletlwavtzb",
- "kyjmtdnymbe", "datadrqgionm")))
- .withPath("dataskb")))
- .withPreserveRules(Arrays.asList("dataaklesjgxdhgezy", "dataphaokhbqmxgglk"))
- .withPreserve(Arrays.asList("datapbynetyxuxopoc"))
- .withValidateDataConsistency("dataffgggglz")
- .withSkipErrorFile(new SkipErrorFile().withFileMissing("datauhmngc").withDataInconsistency("datakgiusrvs"));
- model = BinaryData.fromObject(model).toObject(CopyActivity.class);
- Assertions.assertEquals("glua", model.name());
- Assertions.assertEquals("gjoy", model.description());
- Assertions.assertEquals(ActivityState.ACTIVE, model.state());
- Assertions.assertEquals(ActivityOnInactiveMarkAs.SKIPPED, model.onInactiveMarkAs());
- Assertions.assertEquals("vrmenrcqickhvps", model.dependsOn().get(0).activity());
- Assertions.assertEquals(DependencyCondition.SKIPPED, model.dependsOn().get(0).dependencyConditions().get(0));
- Assertions.assertEquals("abfyjampvwx", model.userProperties().get(0).name());
- Assertions.assertEquals("a", model.linkedServiceName().referenceName());
- Assertions.assertEquals(333163893, model.policy().retryIntervalInSeconds());
- Assertions.assertEquals(false, model.policy().secureInput());
- Assertions.assertEquals(true, model.policy().secureOutput());
- Assertions.assertEquals("spaoxi", model.inputs().get(0).referenceName());
- Assertions.assertEquals("isdwtug", model.outputs().get(0).referenceName());
- Assertions.assertEquals("lzxxkokipklfwnhf", model.stagingSettings().linkedServiceName().referenceName());
- Assertions.assertEquals("hmibqgldhtt", model.logStorageSettings().linkedServiceName().referenceName());
- Assertions.assertEquals("nycchpcjztz",
- model.logSettings().logLocationSettings().linkedServiceName().referenceName());
- }
-
- // Use "Map.of" if available
- @SuppressWarnings("unchecked")
- private static Map mapOf(Object... inputs) {
- Map map = new HashMap<>();
- for (int i = 0; i < inputs.length; i += 2) {
- String key = (String) inputs[i];
- T value = (T) inputs[i + 1];
- map.put(key, value);
- }
- return map;
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/CopyActivityTypePropertiesTests.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/CopyActivityTypePropertiesTests.java
deleted file mode 100644
index d0035e9f5207..000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/CopyActivityTypePropertiesTests.java
+++ /dev/null
@@ -1,106 +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.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.datafactory.fluent.models.CopyActivityTypeProperties;
-import com.azure.resourcemanager.datafactory.models.CopyActivityLogSettings;
-import com.azure.resourcemanager.datafactory.models.CopySink;
-import com.azure.resourcemanager.datafactory.models.CopySource;
-import com.azure.resourcemanager.datafactory.models.LinkedServiceReference;
-import com.azure.resourcemanager.datafactory.models.LogLocationSettings;
-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 java.util.Arrays;
-import java.util.HashMap;
-import java.util.Map;
-import org.junit.jupiter.api.Assertions;
-
-public final class CopyActivityTypePropertiesTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- CopyActivityTypeProperties model = BinaryData.fromString(
- "{\"source\":{\"type\":\"CopySource\",\"sourceRetryCount\":\"datagylo\",\"sourceRetryWait\":\"dataxwlql\",\"maxConcurrentConnections\":\"datanbudjypliotg\",\"disableMetricsCollection\":\"dataansykvlxsycq\",\"\":{\"wx\":\"dataxooxuaufqoo\",\"veqvpedwmhqcjr\":\"datat\",\"zqnupsipclxvaov\":\"datarypjbyqxe\",\"vqqvicqdbmzwlej\":\"datasib\"}},\"sink\":{\"type\":\"CopySink\",\"writeBatchSize\":\"datayoonbualri\",\"writeBatchTimeout\":\"datadbnt\",\"sinkRetryCount\":\"datababndwcfmz\",\"sinkRetryWait\":\"datamgdlgsxkyboysquy\",\"maxConcurrentConnections\":\"datakh\",\"disableMetricsCollection\":\"datatwcyigrhfevxypqu\",\"\":{\"xhhvoo\":\"dataj\",\"wyiq\":\"datartcsucot\",\"bhzukrpfbhihddi\":\"datajnxzvjnmpvsblud\",\"yfku\":\"datauexy\"}},\"translator\":\"datalq\",\"enableStaging\":\"dataa\",\"stagingSettings\":{\"linkedServiceName\":{\"referenceName\":\"pwrmlv\",\"parameters\":{\"xnyock\":\"datakkqspzw\"}},\"path\":\"datassusdrgzmmrzwm\",\"enableCompression\":\"datatkcvolaxnuk\",\"\":{\"oxyxiyhmjwsn\":\"dataoumndc\"}},\"parallelCopies\":\"dataezgvaeqiygbou\",\"dataIntegrationUnits\":\"datajodidgudar\",\"enableSkipIncompatibleRow\":\"dataajbenf\",\"redirectIncompatibleRowSettings\":{\"linkedServiceName\":\"dataufvojikffczw\",\"path\":\"datawpilsuhsghdovcpb\",\"\":{\"hsixzcdaukh\":\"dataapgag\"}},\"logStorageSettings\":{\"linkedServiceName\":{\"referenceName\":\"h\",\"parameters\":{\"ojker\":\"databomf\",\"togbkdctsg\":\"dataujfnbzamroad\",\"cnecl\":\"dataalh\",\"nsl\":\"datahmjsqcubyj\"}},\"path\":\"datateena\",\"logLevel\":\"dataecsft\",\"enableReliableLogging\":\"dataubzfuhj\",\"\":{\"qgvt\":\"datacyrbzyj\",\"vdvkeyqxjchdnlx\":\"datadxtwyxpkwwdkkvd\",\"xqpsqpfxjwt\":\"datailuexvml\",\"xrjjdjikiqtzub\":\"datalbqkguchd\"}},\"logSettings\":{\"enableCopyActivityLog\":\"datakujv\",\"copyActivityLogSettings\":{\"logLevel\":\"datauq\",\"enableReliableLogging\":\"datalwnxryyqtjcrpax\"},\"logLocationSettings\":{\"linkedServiceName\":{\"referenceName\":\"xlfxsetvdz\",\"parameters\":{\"zhdciuxotb\":\"datadmxfqftywbba\",\"hop\":\"dataflgkkiu\",\"rtaevq\":\"datafobpyeo\",\"owsmrvdtqhr\":\"datafdhpkiiunyrobcke\"}},\"path\":\"dataqs\"}},\"preserveRules\":[\"datanupskit\",\"datakphamefzzgwjoau\"],\"preserve\":[\"datadpn\",\"dataouylfcfgqinaokx\",\"datauknzhmza\"],\"validateDataConsistency\":\"datarsqzuknbtxtdm\",\"skipErrorFile\":{\"fileMissing\":\"datarrqqajhklttl\",\"dataInconsistency\":\"datawdrt\"}}")
- .toObject(CopyActivityTypeProperties.class);
- Assertions.assertEquals("pwrmlv", model.stagingSettings().linkedServiceName().referenceName());
- Assertions.assertEquals("h", model.logStorageSettings().linkedServiceName().referenceName());
- Assertions.assertEquals("xlfxsetvdz",
- model.logSettings().logLocationSettings().linkedServiceName().referenceName());
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- CopyActivityTypeProperties model = new CopyActivityTypeProperties()
- .withSource(new CopySource().withSourceRetryCount("datagylo")
- .withSourceRetryWait("dataxwlql")
- .withMaxConcurrentConnections("datanbudjypliotg")
- .withDisableMetricsCollection("dataansykvlxsycq")
- .withAdditionalProperties(mapOf("type", "CopySource")))
- .withSink(new CopySink().withWriteBatchSize("datayoonbualri")
- .withWriteBatchTimeout("datadbnt")
- .withSinkRetryCount("datababndwcfmz")
- .withSinkRetryWait("datamgdlgsxkyboysquy")
- .withMaxConcurrentConnections("datakh")
- .withDisableMetricsCollection("datatwcyigrhfevxypqu")
- .withAdditionalProperties(mapOf("type", "CopySink")))
- .withTranslator("datalq")
- .withEnableStaging("dataa")
- .withStagingSettings(new StagingSettings()
- .withLinkedServiceName(new LinkedServiceReference().withReferenceName("pwrmlv")
- .withParameters(mapOf("xnyock", "datakkqspzw")))
- .withPath("datassusdrgzmmrzwm")
- .withEnableCompression("datatkcvolaxnuk")
- .withAdditionalProperties(mapOf()))
- .withParallelCopies("dataezgvaeqiygbou")
- .withDataIntegrationUnits("datajodidgudar")
- .withEnableSkipIncompatibleRow("dataajbenf")
- .withRedirectIncompatibleRowSettings(
- new RedirectIncompatibleRowSettings()
- .withLinkedServiceName("dataufvojikffczw")
- .withPath("datawpilsuhsghdovcpb")
- .withAdditionalProperties(mapOf()))
- .withLogStorageSettings(new LogStorageSettings()
- .withLinkedServiceName(new LinkedServiceReference().withReferenceName("h")
- .withParameters(mapOf("ojker", "databomf", "togbkdctsg", "dataujfnbzamroad", "cnecl", "dataalh",
- "nsl", "datahmjsqcubyj")))
- .withPath("datateena")
- .withLogLevel("dataecsft")
- .withEnableReliableLogging("dataubzfuhj")
- .withAdditionalProperties(mapOf()))
- .withLogSettings(new LogSettings().withEnableCopyActivityLog("datakujv")
- .withCopyActivityLogSettings(new CopyActivityLogSettings().withLogLevel("datauq")
- .withEnableReliableLogging("datalwnxryyqtjcrpax"))
- .withLogLocationSettings(new LogLocationSettings()
- .withLinkedServiceName(new LinkedServiceReference().withReferenceName("xlfxsetvdz")
- .withParameters(mapOf("zhdciuxotb", "datadmxfqftywbba", "hop", "dataflgkkiu", "rtaevq",
- "datafobpyeo", "owsmrvdtqhr", "datafdhpkiiunyrobcke")))
- .withPath("dataqs")))
- .withPreserveRules(Arrays.asList("datanupskit", "datakphamefzzgwjoau"))
- .withPreserve(Arrays.asList("datadpn", "dataouylfcfgqinaokx", "datauknzhmza"))
- .withValidateDataConsistency("datarsqzuknbtxtdm")
- .withSkipErrorFile(
- new SkipErrorFile().withFileMissing("datarrqqajhklttl").withDataInconsistency("datawdrt"));
- model = BinaryData.fromObject(model).toObject(CopyActivityTypeProperties.class);
- Assertions.assertEquals("pwrmlv", model.stagingSettings().linkedServiceName().referenceName());
- Assertions.assertEquals("h", model.logStorageSettings().linkedServiceName().referenceName());
- Assertions.assertEquals("xlfxsetvdz",
- model.logSettings().logLocationSettings().linkedServiceName().referenceName());
- }
-
- // Use "Map.of" if available
- @SuppressWarnings("unchecked")
- private static Map mapOf(Object... inputs) {
- Map map = new HashMap<>();
- for (int i = 0; i < inputs.length; i += 2) {
- String key = (String) inputs[i];
- T value = (T) inputs[i + 1];
- map.put(key, value);
- }
- return map;
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/CopyComputeScalePropertiesTests.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/CopyComputeScalePropertiesTests.java
deleted file mode 100644
index 42e9dbd9bb8a..000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/CopyComputeScalePropertiesTests.java
+++ /dev/null
@@ -1,44 +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.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.datafactory.models.CopyComputeScaleProperties;
-import java.util.HashMap;
-import java.util.Map;
-import org.junit.jupiter.api.Assertions;
-
-public final class CopyComputeScalePropertiesTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- CopyComputeScaleProperties model = BinaryData.fromString(
- "{\"dataIntegrationUnit\":1175584995,\"timeToLive\":61564169,\"\":{\"yibx\":\"dataubwhx\",\"ttgxkxt\":\"dataceg\"}}")
- .toObject(CopyComputeScaleProperties.class);
- Assertions.assertEquals(1175584995, model.dataIntegrationUnit());
- Assertions.assertEquals(61564169, model.timeToLive());
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- CopyComputeScaleProperties model = new CopyComputeScaleProperties().withDataIntegrationUnit(1175584995)
- .withTimeToLive(61564169)
- .withAdditionalProperties(mapOf());
- model = BinaryData.fromObject(model).toObject(CopyComputeScaleProperties.class);
- Assertions.assertEquals(1175584995, model.dataIntegrationUnit());
- Assertions.assertEquals(61564169, model.timeToLive());
- }
-
- // Use "Map.of" if available
- @SuppressWarnings("unchecked")
- private static Map mapOf(Object... inputs) {
- Map map = new HashMap<>();
- for (int i = 0; i < inputs.length; i += 2) {
- String key = (String) inputs[i];
- T value = (T) inputs[i + 1];
- map.put(key, value);
- }
- return map;
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/CopySinkTests.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/CopySinkTests.java
deleted file mode 100644
index 5b7656a09a71..000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/CopySinkTests.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.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.datafactory.models.CopySink;
-import java.util.HashMap;
-import java.util.Map;
-
-public final class CopySinkTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- CopySink model = BinaryData.fromString(
- "{\"type\":\"CopySink\",\"writeBatchSize\":\"dataqibbtplrtxhz\",\"writeBatchTimeout\":\"datafwyrsfjjsoyu\",\"sinkRetryCount\":\"databuyd\",\"sinkRetryWait\":\"datahknttk\",\"maxConcurrentConnections\":\"datablehenjstiw\",\"disableMetricsCollection\":\"dataosbijikjfjibuwh\",\"\":{\"grxa\":\"datajujpifx\",\"chphovu\":\"datafjxviwxolauhr\",\"czwcxlnc\":\"datar\",\"dkbd\":\"datahywfvyriawfwws\"}}")
- .toObject(CopySink.class);
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- CopySink model = new CopySink().withWriteBatchSize("dataqibbtplrtxhz")
- .withWriteBatchTimeout("datafwyrsfjjsoyu")
- .withSinkRetryCount("databuyd")
- .withSinkRetryWait("datahknttk")
- .withMaxConcurrentConnections("datablehenjstiw")
- .withDisableMetricsCollection("dataosbijikjfjibuwh")
- .withAdditionalProperties(mapOf("type", "CopySink"));
- model = BinaryData.fromObject(model).toObject(CopySink.class);
- }
-
- // Use "Map.of" if available
- @SuppressWarnings("unchecked")
- private static Map mapOf(Object... inputs) {
- Map map = new HashMap<>();
- for (int i = 0; i < inputs.length; i += 2) {
- String key = (String) inputs[i];
- T value = (T) inputs[i + 1];
- map.put(key, value);
- }
- return map;
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/CopySourceTests.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/CopySourceTests.java
deleted file mode 100644
index a9ea9fcea135..000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/CopySourceTests.java
+++ /dev/null
@@ -1,41 +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.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.datafactory.models.CopySource;
-import java.util.HashMap;
-import java.util.Map;
-
-public final class CopySourceTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- CopySource model = BinaryData.fromString(
- "{\"type\":\"CopySource\",\"sourceRetryCount\":\"datab\",\"sourceRetryWait\":\"datapaeyw\",\"maxConcurrentConnections\":\"datatvyzuyqzjfv\",\"disableMetricsCollection\":\"datayyjvzlscyz\",\"\":{\"ssgbscq\":\"dataxmy\",\"qiparctshe\":\"dataeixazebmmjaigax\"}}")
- .toObject(CopySource.class);
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- CopySource model = new CopySource().withSourceRetryCount("datab")
- .withSourceRetryWait("datapaeyw")
- .withMaxConcurrentConnections("datatvyzuyqzjfv")
- .withDisableMetricsCollection("datayyjvzlscyz")
- .withAdditionalProperties(mapOf("type", "CopySource"));
- model = BinaryData.fromObject(model).toObject(CopySource.class);
- }
-
- // Use "Map.of" if available
- @SuppressWarnings("unchecked")
- private static Map mapOf(Object... inputs) {
- Map map = new HashMap<>();
- for (int i = 0; i < inputs.length; i += 2) {
- String key = (String) inputs[i];
- T value = (T) inputs[i + 1];
- map.put(key, value);
- }
- return map;
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/CopyTranslatorTests.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/CopyTranslatorTests.java
deleted file mode 100644
index 4483c5563708..000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/CopyTranslatorTests.java
+++ /dev/null
@@ -1,37 +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.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.datafactory.models.CopyTranslator;
-import java.util.HashMap;
-import java.util.Map;
-
-public final class CopyTranslatorTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- CopyTranslator model = BinaryData.fromString(
- "{\"type\":\"CopyTranslator\",\"\":{\"ybp\":\"datanrg\",\"rvqticgsdcpmclku\":\"datawjjbmkhxun\",\"dcqrssqwzndzuxlg\":\"datadabh\"}}")
- .toObject(CopyTranslator.class);
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- CopyTranslator model = new CopyTranslator().withAdditionalProperties(mapOf("type", "CopyTranslator"));
- model = BinaryData.fromObject(model).toObject(CopyTranslator.class);
- }
-
- // Use "Map.of" if available
- @SuppressWarnings("unchecked")
- private static Map mapOf(Object... inputs) {
- Map map = new HashMap<>();
- for (int i = 0; i < inputs.length; i += 2) {
- String key = (String) inputs[i];
- T value = (T) inputs[i + 1];
- map.put(key, value);
- }
- return map;
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/CosmosDbMongoDbApiCollectionDatasetTests.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/CosmosDbMongoDbApiCollectionDatasetTests.java
deleted file mode 100644
index c7228306363d..000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/CosmosDbMongoDbApiCollectionDatasetTests.java
+++ /dev/null
@@ -1,62 +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.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.datafactory.models.CosmosDbMongoDbApiCollectionDataset;
-import com.azure.resourcemanager.datafactory.models.DatasetFolder;
-import com.azure.resourcemanager.datafactory.models.LinkedServiceReference;
-import com.azure.resourcemanager.datafactory.models.ParameterSpecification;
-import com.azure.resourcemanager.datafactory.models.ParameterType;
-import java.util.Arrays;
-import java.util.HashMap;
-import java.util.Map;
-import org.junit.jupiter.api.Assertions;
-
-public final class CosmosDbMongoDbApiCollectionDatasetTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- CosmosDbMongoDbApiCollectionDataset model = BinaryData.fromString(
- "{\"type\":\"CosmosDbMongoDbApiCollection\",\"typeProperties\":{\"collection\":\"databpebrmj\"},\"description\":\"fpghtbttpkim\",\"structure\":\"datahnkkhbykrs\",\"schema\":\"datarcmelycpgokut\",\"linkedServiceName\":{\"referenceName\":\"rvybnz\",\"parameters\":{\"ixlvzcgul\":\"datamshfuzzlap\",\"wjt\":\"dataebxiauqsuptessj\",\"skxgxqaygas\":\"datatpvb\",\"wpvlcjbvyezjwjkq\":\"datakvc\"}},\"parameters\":{\"fpucwn\":{\"type\":\"Bool\",\"defaultValue\":\"dataiieyozvrc\"}},\"annotations\":[\"dataqefgzjvbx\",\"datacbgoarxtuuciagv\",\"datadlhuduklbjo\",\"datafmjfexulv\"],\"folder\":{\"name\":\"kna\"},\"\":{\"leqfgkxenvszg\":\"dataiancsqoacbuqdgsa\",\"eszsuuv\":\"datavya\",\"brveci\":\"datalaqcwggchxvlqg\"}}")
- .toObject(CosmosDbMongoDbApiCollectionDataset.class);
- Assertions.assertEquals("fpghtbttpkim", model.description());
- Assertions.assertEquals("rvybnz", model.linkedServiceName().referenceName());
- Assertions.assertEquals(ParameterType.BOOL, model.parameters().get("fpucwn").type());
- Assertions.assertEquals("kna", model.folder().name());
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- CosmosDbMongoDbApiCollectionDataset model = new CosmosDbMongoDbApiCollectionDataset()
- .withDescription("fpghtbttpkim")
- .withStructure("datahnkkhbykrs")
- .withSchema("datarcmelycpgokut")
- .withLinkedServiceName(new LinkedServiceReference().withReferenceName("rvybnz")
- .withParameters(mapOf("ixlvzcgul", "datamshfuzzlap", "wjt", "dataebxiauqsuptessj", "skxgxqaygas",
- "datatpvb", "wpvlcjbvyezjwjkq", "datakvc")))
- .withParameters(mapOf("fpucwn",
- new ParameterSpecification().withType(ParameterType.BOOL).withDefaultValue("dataiieyozvrc")))
- .withAnnotations(Arrays.asList("dataqefgzjvbx", "datacbgoarxtuuciagv", "datadlhuduklbjo", "datafmjfexulv"))
- .withFolder(new DatasetFolder().withName("kna"))
- .withCollection("databpebrmj");
- model = BinaryData.fromObject(model).toObject(CosmosDbMongoDbApiCollectionDataset.class);
- Assertions.assertEquals("fpghtbttpkim", model.description());
- Assertions.assertEquals("rvybnz", model.linkedServiceName().referenceName());
- Assertions.assertEquals(ParameterType.BOOL, model.parameters().get("fpucwn").type());
- Assertions.assertEquals("kna", model.folder().name());
- }
-
- // Use "Map.of" if available
- @SuppressWarnings("unchecked")
- private static Map mapOf(Object... inputs) {
- Map map = new HashMap<>();
- for (int i = 0; i < inputs.length; i += 2) {
- String key = (String) inputs[i];
- T value = (T) inputs[i + 1];
- map.put(key, value);
- }
- return map;
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/CosmosDbMongoDbApiCollectionDatasetTypePropertiesTests.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/CosmosDbMongoDbApiCollectionDatasetTypePropertiesTests.java
deleted file mode 100644
index b47c427606a7..000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/CosmosDbMongoDbApiCollectionDatasetTypePropertiesTests.java
+++ /dev/null
@@ -1,24 +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.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.datafactory.fluent.models.CosmosDbMongoDbApiCollectionDatasetTypeProperties;
-
-public final class CosmosDbMongoDbApiCollectionDatasetTypePropertiesTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- CosmosDbMongoDbApiCollectionDatasetTypeProperties model
- = BinaryData.fromString("{\"collection\":\"dataaovphirlzbipi\"}")
- .toObject(CosmosDbMongoDbApiCollectionDatasetTypeProperties.class);
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- CosmosDbMongoDbApiCollectionDatasetTypeProperties model
- = new CosmosDbMongoDbApiCollectionDatasetTypeProperties().withCollection("dataaovphirlzbipi");
- model = BinaryData.fromObject(model).toObject(CosmosDbMongoDbApiCollectionDatasetTypeProperties.class);
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/CosmosDbMongoDbApiLinkedServiceTests.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/CosmosDbMongoDbApiLinkedServiceTests.java
deleted file mode 100644
index fe3653184de9..000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/CosmosDbMongoDbApiLinkedServiceTests.java
+++ /dev/null
@@ -1,63 +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.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.datafactory.models.CosmosDbMongoDbApiLinkedService;
-import com.azure.resourcemanager.datafactory.models.IntegrationRuntimeReference;
-import com.azure.resourcemanager.datafactory.models.ParameterSpecification;
-import com.azure.resourcemanager.datafactory.models.ParameterType;
-import java.util.Arrays;
-import java.util.HashMap;
-import java.util.Map;
-import org.junit.jupiter.api.Assertions;
-
-public final class CosmosDbMongoDbApiLinkedServiceTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- CosmosDbMongoDbApiLinkedService model = BinaryData.fromString(
- "{\"type\":\"CosmosDbMongoDbApi\",\"typeProperties\":{\"isServerVersionAbove32\":\"dataopqqiyjrehe\",\"connectionString\":\"datachengmxpjkuq\",\"database\":\"datangromlxsqdzyyalr\"},\"version\":\"gq\",\"connectVia\":{\"referenceName\":\"fwuplfjkbax\",\"parameters\":{\"hxbfhbip\":\"dataeimuipggt\",\"fefznxcleyamv\":\"datadziphe\",\"vbtkafcnfitpu\":\"dataitjjhqvypqgncgw\"}},\"description\":\"ykdwyjd\",\"parameters\":{\"yngoudclri\":{\"type\":\"Bool\",\"defaultValue\":\"dataawj\"},\"chgjonrhdib\":{\"type\":\"Object\",\"defaultValue\":\"dataynxbdisjeovgcf\"},\"y\":{\"type\":\"Int\",\"defaultValue\":\"datad\"},\"njbbhwsfllzy\":{\"type\":\"SecureString\",\"defaultValue\":\"dataouiuvkcnq\"}},\"annotations\":[\"dataj\"],\"\":{\"jsgbpj\":\"datalpby\",\"vwbd\":\"datanblbkakn\",\"qilsbabqtjch\":\"datanddctkjcqhxdirt\",\"eiyem\":\"datasfwey\"}}")
- .toObject(CosmosDbMongoDbApiLinkedService.class);
- Assertions.assertEquals("gq", model.version());
- Assertions.assertEquals("fwuplfjkbax", model.connectVia().referenceName());
- Assertions.assertEquals("ykdwyjd", model.description());
- Assertions.assertEquals(ParameterType.BOOL, model.parameters().get("yngoudclri").type());
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- CosmosDbMongoDbApiLinkedService model = new CosmosDbMongoDbApiLinkedService().withVersion("gq")
- .withConnectVia(new IntegrationRuntimeReference().withReferenceName("fwuplfjkbax")
- .withParameters(mapOf("hxbfhbip", "dataeimuipggt", "fefznxcleyamv", "datadziphe", "vbtkafcnfitpu",
- "dataitjjhqvypqgncgw")))
- .withDescription("ykdwyjd")
- .withParameters(mapOf("yngoudclri",
- new ParameterSpecification().withType(ParameterType.BOOL).withDefaultValue("dataawj"), "chgjonrhdib",
- new ParameterSpecification().withType(ParameterType.OBJECT).withDefaultValue("dataynxbdisjeovgcf"), "y",
- new ParameterSpecification().withType(ParameterType.INT).withDefaultValue("datad"), "njbbhwsfllzy",
- new ParameterSpecification().withType(ParameterType.SECURE_STRING).withDefaultValue("dataouiuvkcnq")))
- .withAnnotations(Arrays.asList("dataj"))
- .withIsServerVersionAbove32("dataopqqiyjrehe")
- .withConnectionString("datachengmxpjkuq")
- .withDatabase("datangromlxsqdzyyalr");
- model = BinaryData.fromObject(model).toObject(CosmosDbMongoDbApiLinkedService.class);
- Assertions.assertEquals("gq", model.version());
- Assertions.assertEquals("fwuplfjkbax", model.connectVia().referenceName());
- Assertions.assertEquals("ykdwyjd", model.description());
- Assertions.assertEquals(ParameterType.BOOL, model.parameters().get("yngoudclri").type());
- }
-
- // Use "Map.of" if available
- @SuppressWarnings("unchecked")
- private static Map mapOf(Object... inputs) {
- Map map = new HashMap<>();
- for (int i = 0; i < inputs.length; i += 2) {
- String key = (String) inputs[i];
- T value = (T) inputs[i + 1];
- map.put(key, value);
- }
- return map;
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/CosmosDbMongoDbApiLinkedServiceTypePropertiesTests.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/CosmosDbMongoDbApiLinkedServiceTypePropertiesTests.java
deleted file mode 100644
index 4e7a59723f02..000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/CosmosDbMongoDbApiLinkedServiceTypePropertiesTests.java
+++ /dev/null
@@ -1,26 +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.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.datafactory.fluent.models.CosmosDbMongoDbApiLinkedServiceTypeProperties;
-
-public final class CosmosDbMongoDbApiLinkedServiceTypePropertiesTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- CosmosDbMongoDbApiLinkedServiceTypeProperties model = BinaryData.fromString(
- "{\"isServerVersionAbove32\":\"datapszekdqqwcspf\",\"connectionString\":\"datarndqymloslqgs\",\"database\":\"dataqnqqzqdvg\"}")
- .toObject(CosmosDbMongoDbApiLinkedServiceTypeProperties.class);
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- CosmosDbMongoDbApiLinkedServiceTypeProperties model
- = new CosmosDbMongoDbApiLinkedServiceTypeProperties().withIsServerVersionAbove32("datapszekdqqwcspf")
- .withConnectionString("datarndqymloslqgs")
- .withDatabase("dataqnqqzqdvg");
- model = BinaryData.fromObject(model).toObject(CosmosDbMongoDbApiLinkedServiceTypeProperties.class);
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/CosmosDbMongoDbApiSinkTests.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/CosmosDbMongoDbApiSinkTests.java
deleted file mode 100644
index 16303fe5a691..000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/CosmosDbMongoDbApiSinkTests.java
+++ /dev/null
@@ -1,29 +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.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.datafactory.models.CosmosDbMongoDbApiSink;
-
-public final class CosmosDbMongoDbApiSinkTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- CosmosDbMongoDbApiSink model = BinaryData.fromString(
- "{\"type\":\"CosmosDbMongoDbApiSink\",\"writeBehavior\":\"dataeszx\",\"writeBatchSize\":\"datageuoihtik\",\"writeBatchTimeout\":\"datawp\",\"sinkRetryCount\":\"datayavcbdsuwctvbhc\",\"sinkRetryWait\":\"datagxtljyrey\",\"maxConcurrentConnections\":\"databtwzrzi\",\"disableMetricsCollection\":\"datak\",\"\":{\"buyuxg\":\"datajymdol\",\"sdoxhyi\":\"dataphviuexfb\",\"fkmti\":\"dataagaxru\"}}")
- .toObject(CosmosDbMongoDbApiSink.class);
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- CosmosDbMongoDbApiSink model = new CosmosDbMongoDbApiSink().withWriteBatchSize("datageuoihtik")
- .withWriteBatchTimeout("datawp")
- .withSinkRetryCount("datayavcbdsuwctvbhc")
- .withSinkRetryWait("datagxtljyrey")
- .withMaxConcurrentConnections("databtwzrzi")
- .withDisableMetricsCollection("datak")
- .withWriteBehavior("dataeszx");
- model = BinaryData.fromObject(model).toObject(CosmosDbMongoDbApiSink.class);
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/CosmosDbMongoDbApiSourceTests.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/CosmosDbMongoDbApiSourceTests.java
deleted file mode 100644
index 354e49cc74e0..000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/CosmosDbMongoDbApiSourceTests.java
+++ /dev/null
@@ -1,50 +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.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.datafactory.models.CosmosDbMongoDbApiSource;
-import com.azure.resourcemanager.datafactory.models.MongoDbCursorMethodsProperties;
-import java.util.HashMap;
-import java.util.Map;
-
-public final class CosmosDbMongoDbApiSourceTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- CosmosDbMongoDbApiSource model = BinaryData.fromString(
- "{\"type\":\"CosmosDbMongoDbApiSource\",\"filter\":\"datahlkzt\",\"cursorMethods\":{\"project\":\"datauupcdao\",\"sort\":\"datazvajwvxhefmotul\",\"skip\":\"datalmazgpqo\",\"limit\":\"datapsoeocvywtyehln\",\"\":{\"wdxoxjlvvvzpjjv\":\"dataeplyosadxs\",\"mb\":\"dataintgkveogeld\"}},\"batchSize\":\"databii\",\"queryTimeout\":\"databkxiujaagfeiwuux\",\"additionalColumns\":\"datamzmsivqeg\",\"sourceRetryCount\":\"datafzbrha\",\"sourceRetryWait\":\"dataptkr\",\"maxConcurrentConnections\":\"dataspz\",\"disableMetricsCollection\":\"dataev\",\"\":{\"xyoyjasqdhbftt\":\"dataszcau\"}}")
- .toObject(CosmosDbMongoDbApiSource.class);
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- CosmosDbMongoDbApiSource model = new CosmosDbMongoDbApiSource().withSourceRetryCount("datafzbrha")
- .withSourceRetryWait("dataptkr")
- .withMaxConcurrentConnections("dataspz")
- .withDisableMetricsCollection("dataev")
- .withFilter("datahlkzt")
- .withCursorMethods(new MongoDbCursorMethodsProperties().withProject("datauupcdao")
- .withSort("datazvajwvxhefmotul")
- .withSkip("datalmazgpqo")
- .withLimit("datapsoeocvywtyehln")
- .withAdditionalProperties(mapOf()))
- .withBatchSize("databii")
- .withQueryTimeout("databkxiujaagfeiwuux")
- .withAdditionalColumns("datamzmsivqeg");
- model = BinaryData.fromObject(model).toObject(CosmosDbMongoDbApiSource.class);
- }
-
- // Use "Map.of" if available
- @SuppressWarnings("unchecked")
- private static Map mapOf(Object... inputs) {
- Map map = new HashMap<>();
- for (int i = 0; i < inputs.length; i += 2) {
- String key = (String) inputs[i];
- T value = (T) inputs[i + 1];
- map.put(key, value);
- }
- return map;
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/CosmosDbSqlApiCollectionDatasetTests.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/CosmosDbSqlApiCollectionDatasetTests.java
deleted file mode 100644
index 712d50580491..000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/CosmosDbSqlApiCollectionDatasetTests.java
+++ /dev/null
@@ -1,61 +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.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.datafactory.models.CosmosDbSqlApiCollectionDataset;
-import com.azure.resourcemanager.datafactory.models.DatasetFolder;
-import com.azure.resourcemanager.datafactory.models.LinkedServiceReference;
-import com.azure.resourcemanager.datafactory.models.ParameterSpecification;
-import com.azure.resourcemanager.datafactory.models.ParameterType;
-import java.util.Arrays;
-import java.util.HashMap;
-import java.util.Map;
-import org.junit.jupiter.api.Assertions;
-
-public final class CosmosDbSqlApiCollectionDatasetTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- CosmosDbSqlApiCollectionDataset model = BinaryData.fromString(
- "{\"type\":\"CosmosDbSqlApiCollection\",\"typeProperties\":{\"collectionName\":\"datawpad\"},\"description\":\"dbfobdc\",\"structure\":\"dataothm\",\"schema\":\"datajaoz\",\"linkedServiceName\":{\"referenceName\":\"bwfcn\",\"parameters\":{\"lhscmyh\":\"datapo\",\"okndwpppqwojoevz\":\"datahjvszfq\",\"zlyvapbkrbuog\":\"dataufytdxmly\",\"cuhaizijv\":\"datatdlt\"}},\"parameters\":{\"m\":{\"type\":\"Float\",\"defaultValue\":\"dataohlpsftqkr\"}},\"annotations\":[\"datavvcpwtqsuspn\",\"datamzy\"],\"folder\":{\"name\":\"etevrntfknwacy\"},\"\":{\"atvcsxr\":\"dataotctkhfhf\",\"cubleh\":\"datahnmizhvprhqq\"}}")
- .toObject(CosmosDbSqlApiCollectionDataset.class);
- Assertions.assertEquals("dbfobdc", model.description());
- Assertions.assertEquals("bwfcn", model.linkedServiceName().referenceName());
- Assertions.assertEquals(ParameterType.FLOAT, model.parameters().get("m").type());
- Assertions.assertEquals("etevrntfknwacy", model.folder().name());
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- CosmosDbSqlApiCollectionDataset model = new CosmosDbSqlApiCollectionDataset().withDescription("dbfobdc")
- .withStructure("dataothm")
- .withSchema("datajaoz")
- .withLinkedServiceName(new LinkedServiceReference().withReferenceName("bwfcn")
- .withParameters(mapOf("lhscmyh", "datapo", "okndwpppqwojoevz", "datahjvszfq", "zlyvapbkrbuog",
- "dataufytdxmly", "cuhaizijv", "datatdlt")))
- .withParameters(mapOf("m",
- new ParameterSpecification().withType(ParameterType.FLOAT).withDefaultValue("dataohlpsftqkr")))
- .withAnnotations(Arrays.asList("datavvcpwtqsuspn", "datamzy"))
- .withFolder(new DatasetFolder().withName("etevrntfknwacy"))
- .withCollectionName("datawpad");
- model = BinaryData.fromObject(model).toObject(CosmosDbSqlApiCollectionDataset.class);
- Assertions.assertEquals("dbfobdc", model.description());
- Assertions.assertEquals("bwfcn", model.linkedServiceName().referenceName());
- Assertions.assertEquals(ParameterType.FLOAT, model.parameters().get("m").type());
- Assertions.assertEquals("etevrntfknwacy", model.folder().name());
- }
-
- // Use "Map.of" if available
- @SuppressWarnings("unchecked")
- private static Map mapOf(Object... inputs) {
- Map map = new HashMap<>();
- for (int i = 0; i < inputs.length; i += 2) {
- String key = (String) inputs[i];
- T value = (T) inputs[i + 1];
- map.put(key, value);
- }
- return map;
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/CosmosDbSqlApiCollectionDatasetTypePropertiesTests.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/CosmosDbSqlApiCollectionDatasetTypePropertiesTests.java
deleted file mode 100644
index 263dc932dd7c..000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/CosmosDbSqlApiCollectionDatasetTypePropertiesTests.java
+++ /dev/null
@@ -1,24 +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.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.datafactory.fluent.models.CosmosDbSqlApiCollectionDatasetTypeProperties;
-
-public final class CosmosDbSqlApiCollectionDatasetTypePropertiesTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- CosmosDbSqlApiCollectionDatasetTypeProperties model
- = BinaryData.fromString("{\"collectionName\":\"datakplobzgottaksadz\"}")
- .toObject(CosmosDbSqlApiCollectionDatasetTypeProperties.class);
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- CosmosDbSqlApiCollectionDatasetTypeProperties model
- = new CosmosDbSqlApiCollectionDatasetTypeProperties().withCollectionName("datakplobzgottaksadz");
- model = BinaryData.fromObject(model).toObject(CosmosDbSqlApiCollectionDatasetTypeProperties.class);
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/CosmosDbSqlApiSinkTests.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/CosmosDbSqlApiSinkTests.java
deleted file mode 100644
index 43a4f75c3440..000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/CosmosDbSqlApiSinkTests.java
+++ /dev/null
@@ -1,29 +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.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.datafactory.models.CosmosDbSqlApiSink;
-
-public final class CosmosDbSqlApiSinkTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- CosmosDbSqlApiSink model = BinaryData.fromString(
- "{\"type\":\"CosmosDbSqlApiSink\",\"writeBehavior\":\"datapiezthflgpsalyn\",\"writeBatchSize\":\"datamwzpfbiqjrz\",\"writeBatchTimeout\":\"dataxizorqliblyb\",\"sinkRetryCount\":\"datajzknkffzdyozn\",\"sinkRetryWait\":\"datastofdedlmfwabf\",\"maxConcurrentConnections\":\"datawe\",\"disableMetricsCollection\":\"datawxmcsxidazslwhuy\",\"\":{\"fperheiplzms\":\"datadcilinbuok\",\"u\":\"datahqrdvqvalo\",\"fjgklmyomav\":\"datawoigofumbpmzed\"}}")
- .toObject(CosmosDbSqlApiSink.class);
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- CosmosDbSqlApiSink model = new CosmosDbSqlApiSink().withWriteBatchSize("datamwzpfbiqjrz")
- .withWriteBatchTimeout("dataxizorqliblyb")
- .withSinkRetryCount("datajzknkffzdyozn")
- .withSinkRetryWait("datastofdedlmfwabf")
- .withMaxConcurrentConnections("datawe")
- .withDisableMetricsCollection("datawxmcsxidazslwhuy")
- .withWriteBehavior("datapiezthflgpsalyn");
- model = BinaryData.fromObject(model).toObject(CosmosDbSqlApiSink.class);
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/CosmosDbSqlApiSourceTests.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/CosmosDbSqlApiSourceTests.java
deleted file mode 100644
index fb8cd58f88bd..000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/CosmosDbSqlApiSourceTests.java
+++ /dev/null
@@ -1,31 +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.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.datafactory.models.CosmosDbSqlApiSource;
-
-public final class CosmosDbSqlApiSourceTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- CosmosDbSqlApiSource model = BinaryData.fromString(
- "{\"type\":\"CosmosDbSqlApiSource\",\"query\":\"dataloqpgzdbonepp\",\"pageSize\":\"datamzeufjzqaq\",\"preferredRegions\":\"datacbygqcwzyto\",\"detectDatetime\":\"dataqcthgqyvaoaz\",\"additionalColumns\":\"dataykkcqaf\",\"sourceRetryCount\":\"datajgixsjhi\",\"sourceRetryWait\":\"datayekslllzsqolckwh\",\"maxConcurrentConnections\":\"datafbnnhwpnloi\",\"disableMetricsCollection\":\"datazdohfvxavhfhl\",\"\":{\"cfrfaytcygoombn\":\"datawzpba\",\"wltozxdzoldwv\":\"datambcklfpemgfvvnk\",\"regesoozpudalu\":\"datanpnyaterjjuz\"}}")
- .toObject(CosmosDbSqlApiSource.class);
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- CosmosDbSqlApiSource model = new CosmosDbSqlApiSource().withSourceRetryCount("datajgixsjhi")
- .withSourceRetryWait("datayekslllzsqolckwh")
- .withMaxConcurrentConnections("datafbnnhwpnloi")
- .withDisableMetricsCollection("datazdohfvxavhfhl")
- .withQuery("dataloqpgzdbonepp")
- .withPageSize("datamzeufjzqaq")
- .withPreferredRegions("datacbygqcwzyto")
- .withDetectDatetime("dataqcthgqyvaoaz")
- .withAdditionalColumns("dataykkcqaf");
- model = BinaryData.fromObject(model).toObject(CosmosDbSqlApiSource.class);
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/CouchbaseSourceTests.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/CouchbaseSourceTests.java
deleted file mode 100644
index c61eb5fad609..000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/CouchbaseSourceTests.java
+++ /dev/null
@@ -1,29 +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.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.datafactory.models.CouchbaseSource;
-
-public final class CouchbaseSourceTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- CouchbaseSource model = BinaryData.fromString(
- "{\"type\":\"CouchbaseSource\",\"query\":\"datahndfpf\",\"queryTimeout\":\"datafdgf\",\"additionalColumns\":\"dataoeh\",\"sourceRetryCount\":\"datapkssjbw\",\"sourceRetryWait\":\"dataxdgcfcfky\",\"maxConcurrentConnections\":\"datajwxhslrbwwk\",\"disableMetricsCollection\":\"datawodhsodofsxjiky\",\"\":{\"cxdmxhuwldfa\":\"datauhuixqwogg\",\"dkbgsg\":\"datakyft\",\"ayqkg\":\"datapyckmncrutoudjm\"}}")
- .toObject(CouchbaseSource.class);
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- CouchbaseSource model = new CouchbaseSource().withSourceRetryCount("datapkssjbw")
- .withSourceRetryWait("dataxdgcfcfky")
- .withMaxConcurrentConnections("datajwxhslrbwwk")
- .withDisableMetricsCollection("datawodhsodofsxjiky")
- .withQueryTimeout("datafdgf")
- .withAdditionalColumns("dataoeh")
- .withQuery("datahndfpf");
- model = BinaryData.fromObject(model).toObject(CouchbaseSource.class);
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/CouchbaseTableDatasetTests.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/CouchbaseTableDatasetTests.java
deleted file mode 100644
index a27053fb67f2..000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/CouchbaseTableDatasetTests.java
+++ /dev/null
@@ -1,63 +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.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.datafactory.models.CouchbaseTableDataset;
-import com.azure.resourcemanager.datafactory.models.DatasetFolder;
-import com.azure.resourcemanager.datafactory.models.LinkedServiceReference;
-import com.azure.resourcemanager.datafactory.models.ParameterSpecification;
-import com.azure.resourcemanager.datafactory.models.ParameterType;
-import java.util.Arrays;
-import java.util.HashMap;
-import java.util.Map;
-import org.junit.jupiter.api.Assertions;
-
-public final class CouchbaseTableDatasetTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- CouchbaseTableDataset model = BinaryData.fromString(
- "{\"type\":\"CouchbaseTable\",\"typeProperties\":{\"tableName\":\"datacaujbfomf\"},\"description\":\"zpjyxefppqcwd\",\"structure\":\"datajj\",\"schema\":\"datapsnxebycympohxub\",\"linkedServiceName\":{\"referenceName\":\"n\",\"parameters\":{\"usp\":\"dataebcxn\",\"vgspjlfzhjngwqx\":\"datayzssjlmykdyg\"}},\"parameters\":{\"c\":{\"type\":\"Bool\",\"defaultValue\":\"datagyoimmsszz\"},\"nwcnvpnyldjdkj\":{\"type\":\"SecureString\",\"defaultValue\":\"dataognhtvagw\"}},\"annotations\":[\"datayknkxioxhnrjlq\"],\"folder\":{\"name\":\"ejexfdlhuhd\"},\"\":{\"cflvxbocaywmfvuh\":\"datagywadrklpdyehjr\",\"gsfmhwdxqu\":\"datamolhveol\",\"ynhitrnwqgq\":\"dataymlhklmnjqzm\",\"piqnrjoc\":\"databthb\"}}")
- .toObject(CouchbaseTableDataset.class);
- Assertions.assertEquals("zpjyxefppqcwd", model.description());
- Assertions.assertEquals("n", model.linkedServiceName().referenceName());
- Assertions.assertEquals(ParameterType.BOOL, model.parameters().get("c").type());
- Assertions.assertEquals("ejexfdlhuhd", model.folder().name());
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- CouchbaseTableDataset model = new CouchbaseTableDataset().withDescription("zpjyxefppqcwd")
- .withStructure("datajj")
- .withSchema("datapsnxebycympohxub")
- .withLinkedServiceName(new LinkedServiceReference().withReferenceName("n")
- .withParameters(mapOf("usp", "dataebcxn", "vgspjlfzhjngwqx", "datayzssjlmykdyg")))
- .withParameters(
- mapOf("c", new ParameterSpecification().withType(ParameterType.BOOL).withDefaultValue("datagyoimmsszz"),
- "nwcnvpnyldjdkj",
- new ParameterSpecification().withType(ParameterType.SECURE_STRING)
- .withDefaultValue("dataognhtvagw")))
- .withAnnotations(Arrays.asList("datayknkxioxhnrjlq"))
- .withFolder(new DatasetFolder().withName("ejexfdlhuhd"))
- .withTableName("datacaujbfomf");
- model = BinaryData.fromObject(model).toObject(CouchbaseTableDataset.class);
- Assertions.assertEquals("zpjyxefppqcwd", model.description());
- Assertions.assertEquals("n", model.linkedServiceName().referenceName());
- Assertions.assertEquals(ParameterType.BOOL, model.parameters().get("c").type());
- Assertions.assertEquals("ejexfdlhuhd", model.folder().name());
- }
-
- // Use "Map.of" if available
- @SuppressWarnings("unchecked")
- private static Map mapOf(Object... inputs) {
- Map map = new HashMap<>();
- for (int i = 0; i < inputs.length; i += 2) {
- String key = (String) inputs[i];
- T value = (T) inputs[i + 1];
- map.put(key, value);
- }
- return map;
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/CreateDataFlowDebugSessionRequestTests.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/CreateDataFlowDebugSessionRequestTests.java
deleted file mode 100644
index e4ae9c0db4b6..000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/CreateDataFlowDebugSessionRequestTests.java
+++ /dev/null
@@ -1,55 +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.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.datafactory.models.CreateDataFlowDebugSessionRequest;
-import com.azure.resourcemanager.datafactory.models.IntegrationRuntime;
-import com.azure.resourcemanager.datafactory.models.IntegrationRuntimeDebugResource;
-import java.util.HashMap;
-import java.util.Map;
-import org.junit.jupiter.api.Assertions;
-
-public final class CreateDataFlowDebugSessionRequestTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- CreateDataFlowDebugSessionRequest model = BinaryData.fromString(
- "{\"computeType\":\"qfrddgam\",\"coreCount\":534741289,\"timeToLive\":362279180,\"integrationRuntime\":{\"properties\":{\"type\":\"IntegrationRuntime\",\"description\":\"sjuivfcdisyir\",\"\":{\"xrxzbujrtr\":\"datahcz\",\"khgn\":\"dataqvwre\",\"piqywnc\":\"datanzonzl\",\"zehtdhgb\":\"datajtszcof\"}},\"name\":\"vreljea\"}}")
- .toObject(CreateDataFlowDebugSessionRequest.class);
- Assertions.assertEquals("qfrddgam", model.computeType());
- Assertions.assertEquals(534741289, model.coreCount());
- Assertions.assertEquals(362279180, model.timeToLive());
- Assertions.assertEquals("vreljea", model.integrationRuntime().name());
- Assertions.assertEquals("sjuivfcdisyir", model.integrationRuntime().properties().description());
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- CreateDataFlowDebugSessionRequest model = new CreateDataFlowDebugSessionRequest().withComputeType("qfrddgam")
- .withCoreCount(534741289)
- .withTimeToLive(362279180)
- .withIntegrationRuntime(new IntegrationRuntimeDebugResource().withName("vreljea")
- .withProperties(new IntegrationRuntime().withDescription("sjuivfcdisyir")
- .withAdditionalProperties(mapOf("type", "IntegrationRuntime"))));
- model = BinaryData.fromObject(model).toObject(CreateDataFlowDebugSessionRequest.class);
- Assertions.assertEquals("qfrddgam", model.computeType());
- Assertions.assertEquals(534741289, model.coreCount());
- Assertions.assertEquals(362279180, model.timeToLive());
- Assertions.assertEquals("vreljea", model.integrationRuntime().name());
- Assertions.assertEquals("sjuivfcdisyir", model.integrationRuntime().properties().description());
- }
-
- // Use "Map.of" if available
- @SuppressWarnings("unchecked")
- private static Map mapOf(Object... inputs) {
- Map map = new HashMap<>();
- for (int i = 0; i < inputs.length; i += 2) {
- String key = (String) inputs[i];
- T value = (T) inputs[i + 1];
- map.put(key, value);
- }
- return map;
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/CreateDataFlowDebugSessionResponseInnerTests.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/CreateDataFlowDebugSessionResponseInnerTests.java
deleted file mode 100644
index 9d66012f51be..000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/CreateDataFlowDebugSessionResponseInnerTests.java
+++ /dev/null
@@ -1,29 +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.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.datafactory.fluent.models.CreateDataFlowDebugSessionResponseInner;
-import org.junit.jupiter.api.Assertions;
-
-public final class CreateDataFlowDebugSessionResponseInnerTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- CreateDataFlowDebugSessionResponseInner model
- = BinaryData.fromString("{\"status\":\"srboldforobw\",\"sessionId\":\"vizbfhfo\"}")
- .toObject(CreateDataFlowDebugSessionResponseInner.class);
- Assertions.assertEquals("srboldforobw", model.status());
- Assertions.assertEquals("vizbfhfo", model.sessionId());
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- CreateDataFlowDebugSessionResponseInner model
- = new CreateDataFlowDebugSessionResponseInner().withStatus("srboldforobw").withSessionId("vizbfhfo");
- model = BinaryData.fromObject(model).toObject(CreateDataFlowDebugSessionResponseInner.class);
- Assertions.assertEquals("srboldforobw", model.status());
- Assertions.assertEquals("vizbfhfo", model.sessionId());
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/CreateLinkedIntegrationRuntimeRequestTests.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/CreateLinkedIntegrationRuntimeRequestTests.java
deleted file mode 100644
index b3b56bd0fd34..000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/CreateLinkedIntegrationRuntimeRequestTests.java
+++ /dev/null
@@ -1,35 +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.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.datafactory.models.CreateLinkedIntegrationRuntimeRequest;
-import org.junit.jupiter.api.Assertions;
-
-public final class CreateLinkedIntegrationRuntimeRequestTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- CreateLinkedIntegrationRuntimeRequest model = BinaryData.fromString(
- "{\"name\":\"ni\",\"subscriptionId\":\"x\",\"dataFactoryName\":\"kpycgklwndnhjd\",\"dataFactoryLocation\":\"whvylw\"}")
- .toObject(CreateLinkedIntegrationRuntimeRequest.class);
- Assertions.assertEquals("ni", model.name());
- Assertions.assertEquals("x", model.subscriptionId());
- Assertions.assertEquals("kpycgklwndnhjd", model.dataFactoryName());
- Assertions.assertEquals("whvylw", model.dataFactoryLocation());
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- CreateLinkedIntegrationRuntimeRequest model = new CreateLinkedIntegrationRuntimeRequest().withName("ni")
- .withSubscriptionId("x")
- .withDataFactoryName("kpycgklwndnhjd")
- .withDataFactoryLocation("whvylw");
- model = BinaryData.fromObject(model).toObject(CreateLinkedIntegrationRuntimeRequest.class);
- Assertions.assertEquals("ni", model.name());
- Assertions.assertEquals("x", model.subscriptionId());
- Assertions.assertEquals("kpycgklwndnhjd", model.dataFactoryName());
- Assertions.assertEquals("whvylw", model.dataFactoryLocation());
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/CreateRunResponseInnerTests.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/CreateRunResponseInnerTests.java
deleted file mode 100644
index 109f89704ae7..000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/CreateRunResponseInnerTests.java
+++ /dev/null
@@ -1,25 +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.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.datafactory.fluent.models.CreateRunResponseInner;
-import org.junit.jupiter.api.Assertions;
-
-public final class CreateRunResponseInnerTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- CreateRunResponseInner model
- = BinaryData.fromString("{\"runId\":\"kokwbqplhlvnu\"}").toObject(CreateRunResponseInner.class);
- Assertions.assertEquals("kokwbqplhlvnu", model.runId());
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- CreateRunResponseInner model = new CreateRunResponseInner().withRunId("kokwbqplhlvnu");
- model = BinaryData.fromObject(model).toObject(CreateRunResponseInner.class);
- Assertions.assertEquals("kokwbqplhlvnu", model.runId());
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/CredentialListResponseTests.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/CredentialListResponseTests.java
deleted file mode 100644
index af061cf088a3..000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/CredentialListResponseTests.java
+++ /dev/null
@@ -1,67 +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.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.datafactory.fluent.models.CredentialResourceInner;
-import com.azure.resourcemanager.datafactory.models.Credential;
-import com.azure.resourcemanager.datafactory.models.CredentialListResponse;
-import java.util.Arrays;
-import java.util.HashMap;
-import java.util.Map;
-import org.junit.jupiter.api.Assertions;
-
-public final class CredentialListResponseTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- CredentialListResponse model = BinaryData.fromString(
- "{\"value\":[{\"properties\":{\"type\":\"Credential\",\"description\":\"iwdcxsmlzzhzd\",\"annotations\":[\"datatlgy\",\"datalhqvlnnpxybafi\",\"datageaar\",\"datagjekglklby\"],\"\":{\"wvmzegjonfhjir\":\"datadw\",\"z\":\"datagdn\",\"tk\":\"datarfkspzhz\",\"lkeuac\":\"datajcitdigsxcdglj\"}},\"name\":\"omflrytswfp\",\"type\":\"dgycxnmskwhqjjy\",\"etag\":\"urlpshh\",\"id\":\"pedwqsl\"},{\"properties\":{\"type\":\"Credential\",\"description\":\"hmpqvw\",\"annotations\":[\"dataondcbrw\",\"datamuvqejosovyr\"],\"\":{\"sinuqtljqobbpih\":\"dataa\",\"bbmpxdlvykfre\":\"datahcecybmrqbr\"}},\"name\":\"rseqwjksghudgz\",\"type\":\"ogjggsvoujkxibda\",\"etag\":\"rkmdyom\",\"id\":\"fbvfbhdy\"},{\"properties\":{\"type\":\"Credential\",\"description\":\"hpwpgddeimawzovg\",\"annotations\":[\"datamuikjcjcaztbws\"],\"\":{\"ytwvczcswkacve\":\"dataowxwcomli\",\"pqthehnmnaoya\":\"datayfdvlvhbwrnfxtgd\"}},\"name\":\"coeqswankltytm\",\"type\":\"roznnhdrlktgj\",\"etag\":\"gguxhemlwyw\",\"id\":\"eczgfb\"},{\"properties\":{\"type\":\"Credential\",\"description\":\"klelssxb\",\"annotations\":[\"datasxz\"],\"\":{\"sqplpvmjcd\":\"datasrlsmd\"}},\"name\":\"wb\",\"type\":\"yvteowxvgpiudeu\",\"etag\":\"sxze\",\"id\":\"axwk\"}],\"nextLink\":\"ykhv\"}")
- .toObject(CredentialListResponse.class);
- Assertions.assertEquals("pedwqsl", model.value().get(0).id());
- Assertions.assertEquals("iwdcxsmlzzhzd", model.value().get(0).properties().description());
- Assertions.assertEquals("ykhv", model.nextLink());
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- CredentialListResponse model
- = new CredentialListResponse()
- .withValue(Arrays.asList(
- new CredentialResourceInner().withId("pedwqsl")
- .withProperties(new Credential().withDescription("iwdcxsmlzzhzd")
- .withAnnotations(
- Arrays.asList("datatlgy", "datalhqvlnnpxybafi", "datageaar", "datagjekglklby"))
- .withAdditionalProperties(mapOf("type", "Credential"))),
- new CredentialResourceInner().withId("fbvfbhdy")
- .withProperties(new Credential().withDescription("hmpqvw")
- .withAnnotations(Arrays.asList("dataondcbrw", "datamuvqejosovyr"))
- .withAdditionalProperties(mapOf("type", "Credential"))),
- new CredentialResourceInner().withId("eczgfb")
- .withProperties(new Credential().withDescription("hpwpgddeimawzovg")
- .withAnnotations(Arrays.asList("datamuikjcjcaztbws"))
- .withAdditionalProperties(mapOf("type", "Credential"))),
- new CredentialResourceInner().withId("axwk")
- .withProperties(new Credential().withDescription("klelssxb")
- .withAnnotations(Arrays.asList("datasxz"))
- .withAdditionalProperties(mapOf("type", "Credential")))))
- .withNextLink("ykhv");
- model = BinaryData.fromObject(model).toObject(CredentialListResponse.class);
- Assertions.assertEquals("pedwqsl", model.value().get(0).id());
- Assertions.assertEquals("iwdcxsmlzzhzd", model.value().get(0).properties().description());
- Assertions.assertEquals("ykhv", model.nextLink());
- }
-
- // Use "Map.of" if available
- @SuppressWarnings("unchecked")
- private static Map mapOf(Object... inputs) {
- Map map = new HashMap<>();
- for (int i = 0; i < inputs.length; i += 2) {
- String key = (String) inputs[i];
- T value = (T) inputs[i + 1];
- map.put(key, value);
- }
- return map;
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/CredentialOperationsCreateOrUpdateWithResponseMockTests.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/CredentialOperationsCreateOrUpdateWithResponseMockTests.java
deleted file mode 100644
index fa7f93c435a8..000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/CredentialOperationsCreateOrUpdateWithResponseMockTests.java
+++ /dev/null
@@ -1,61 +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.generated;
-
-import com.azure.core.credential.AccessToken;
-import com.azure.core.http.HttpClient;
-import com.azure.core.management.AzureEnvironment;
-import com.azure.core.management.profile.AzureProfile;
-import com.azure.core.test.http.MockHttpResponse;
-import com.azure.resourcemanager.datafactory.DataFactoryManager;
-import com.azure.resourcemanager.datafactory.models.Credential;
-import com.azure.resourcemanager.datafactory.models.CredentialResource;
-import java.nio.charset.StandardCharsets;
-import java.time.OffsetDateTime;
-import java.util.Arrays;
-import java.util.HashMap;
-import java.util.Map;
-import org.junit.jupiter.api.Assertions;
-import org.junit.jupiter.api.Test;
-import reactor.core.publisher.Mono;
-
-public final class CredentialOperationsCreateOrUpdateWithResponseMockTests {
- @Test
- public void testCreateOrUpdateWithResponse() throws Exception {
- String responseStr
- = "{\"properties\":{\"type\":\"Credential\",\"description\":\"uehcrywwfns\",\"annotations\":[\"datajadnwafjiba\",\"datal\",\"datatdije\"],\"\":{\"oxjwlhulvyz\":\"datarrm\",\"adkvld\":\"datavidokvzq\",\"tpwrm\":\"datacxvoltjyzolnqkdt\"}},\"name\":\"aoeghsqplnyp\",\"type\":\"wcevpmtpq\",\"etag\":\"pgsoje\",\"id\":\"jnlvcgar\"}";
-
- HttpClient httpClient
- = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
- DataFactoryManager manager = DataFactoryManager.configure()
- .withHttpClient(httpClient)
- .authenticate(tokenRequestContext -> Mono.just(new AccessToken("this_is_a_token", OffsetDateTime.MAX)),
- new AzureProfile("", "", AzureEnvironment.AZURE));
-
- CredentialResource response = manager.credentialOperations()
- .define("oiqtvfruyinavbf")
- .withExistingFactory("sdewnkzwyr", "bhh")
- .withProperties(new Credential().withDescription("vvrzdbrpdveyx")
- .withAnnotations(Arrays.asList("datauldtfxedmm", "dataz", "datazhvjfij"))
- .withAdditionalProperties(mapOf("type", "Credential")))
- .withIfMatch("hfsoiihjkiajo")
- .create();
-
- Assertions.assertEquals("jnlvcgar", response.id());
- Assertions.assertEquals("uehcrywwfns", response.properties().description());
- }
-
- // Use "Map.of" if available
- @SuppressWarnings("unchecked")
- private static Map mapOf(Object... inputs) {
- Map map = new HashMap<>();
- for (int i = 0; i < inputs.length; i += 2) {
- String key = (String) inputs[i];
- T value = (T) inputs[i + 1];
- map.put(key, value);
- }
- return map;
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/CredentialOperationsDeleteWithResponseMockTests.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/CredentialOperationsDeleteWithResponseMockTests.java
deleted file mode 100644
index dd3646648803..000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/CredentialOperationsDeleteWithResponseMockTests.java
+++ /dev/null
@@ -1,34 +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.generated;
-
-import com.azure.core.credential.AccessToken;
-import com.azure.core.http.HttpClient;
-import com.azure.core.management.AzureEnvironment;
-import com.azure.core.management.profile.AzureProfile;
-import com.azure.core.test.http.MockHttpResponse;
-import com.azure.resourcemanager.datafactory.DataFactoryManager;
-import java.nio.charset.StandardCharsets;
-import java.time.OffsetDateTime;
-import org.junit.jupiter.api.Test;
-import reactor.core.publisher.Mono;
-
-public final class CredentialOperationsDeleteWithResponseMockTests {
- @Test
- public void testDeleteWithResponse() throws Exception {
- String responseStr = "{}";
-
- HttpClient httpClient
- = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
- DataFactoryManager manager = DataFactoryManager.configure()
- .withHttpClient(httpClient)
- .authenticate(tokenRequestContext -> Mono.just(new AccessToken("this_is_a_token", OffsetDateTime.MAX)),
- new AzureProfile("", "", AzureEnvironment.AZURE));
-
- manager.credentialOperations()
- .deleteWithResponse("lnjhoemlwea", "sxmshaugenpippt", "reput", com.azure.core.util.Context.NONE);
-
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/CredentialOperationsGetWithResponseMockTests.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/CredentialOperationsGetWithResponseMockTests.java
deleted file mode 100644
index ef278300170c..000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/CredentialOperationsGetWithResponseMockTests.java
+++ /dev/null
@@ -1,40 +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.generated;
-
-import com.azure.core.credential.AccessToken;
-import com.azure.core.http.HttpClient;
-import com.azure.core.management.AzureEnvironment;
-import com.azure.core.management.profile.AzureProfile;
-import com.azure.core.test.http.MockHttpResponse;
-import com.azure.resourcemanager.datafactory.DataFactoryManager;
-import com.azure.resourcemanager.datafactory.models.CredentialResource;
-import java.nio.charset.StandardCharsets;
-import java.time.OffsetDateTime;
-import org.junit.jupiter.api.Assertions;
-import org.junit.jupiter.api.Test;
-import reactor.core.publisher.Mono;
-
-public final class CredentialOperationsGetWithResponseMockTests {
- @Test
- public void testGetWithResponse() throws Exception {
- String responseStr
- = "{\"properties\":{\"type\":\"Credential\",\"description\":\"xrljlqdpqkcbf\",\"annotations\":[\"dataddfre\"],\"\":{\"rphdakwwiezeut\":\"datarsufvtmseuqguz\",\"awmoxvqlwzatv\":\"datar\",\"shvozhhzlmwvce\":\"dataejlocmqladlpqlwt\"}},\"name\":\"vafcjek\",\"type\":\"g\",\"etag\":\"rifyrap\",\"id\":\"iaeqcg\"}";
-
- HttpClient httpClient
- = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
- DataFactoryManager manager = DataFactoryManager.configure()
- .withHttpClient(httpClient)
- .authenticate(tokenRequestContext -> Mono.just(new AccessToken("this_is_a_token", OffsetDateTime.MAX)),
- new AzureProfile("", "", AzureEnvironment.AZURE));
-
- CredentialResource response = manager.credentialOperations()
- .getWithResponse("izoamttxyddkvi", "l", "bnycgzlicytfpy", "pedno", com.azure.core.util.Context.NONE)
- .getValue();
-
- Assertions.assertEquals("iaeqcg", response.id());
- Assertions.assertEquals("xrljlqdpqkcbf", response.properties().description());
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/CredentialOperationsListByFactoryMockTests.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/CredentialOperationsListByFactoryMockTests.java
deleted file mode 100644
index 7821f1dd9637..000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/CredentialOperationsListByFactoryMockTests.java
+++ /dev/null
@@ -1,40 +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.generated;
-
-import com.azure.core.credential.AccessToken;
-import com.azure.core.http.HttpClient;
-import com.azure.core.http.rest.PagedIterable;
-import com.azure.core.management.AzureEnvironment;
-import com.azure.core.management.profile.AzureProfile;
-import com.azure.core.test.http.MockHttpResponse;
-import com.azure.resourcemanager.datafactory.DataFactoryManager;
-import com.azure.resourcemanager.datafactory.models.CredentialResource;
-import java.nio.charset.StandardCharsets;
-import java.time.OffsetDateTime;
-import org.junit.jupiter.api.Assertions;
-import org.junit.jupiter.api.Test;
-import reactor.core.publisher.Mono;
-
-public final class CredentialOperationsListByFactoryMockTests {
- @Test
- public void testListByFactory() throws Exception {
- String responseStr
- = "{\"value\":[{\"properties\":{\"type\":\"Credential\",\"description\":\"phieqgo\",\"annotations\":[\"dataxhottykfkwzk\"],\"\":{\"versu\":\"datag\",\"gzcwrhhgnmjxxov\":\"dataveknwldqj\"}},\"name\":\"wnggyv\",\"type\":\"g\",\"etag\":\"papzb\",\"id\":\"fuac\"}]}";
-
- HttpClient httpClient
- = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
- DataFactoryManager manager = DataFactoryManager.configure()
- .withHttpClient(httpClient)
- .authenticate(tokenRequestContext -> Mono.just(new AccessToken("this_is_a_token", OffsetDateTime.MAX)),
- new AzureProfile("", "", AzureEnvironment.AZURE));
-
- PagedIterable response
- = manager.credentialOperations().listByFactory("n", "nts", com.azure.core.util.Context.NONE);
-
- Assertions.assertEquals("fuac", response.iterator().next().id());
- Assertions.assertEquals("phieqgo", response.iterator().next().properties().description());
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/CredentialReferenceTests.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/CredentialReferenceTests.java
deleted file mode 100644
index a810de82b01f..000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/CredentialReferenceTests.java
+++ /dev/null
@@ -1,45 +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.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.datafactory.models.CredentialReference;
-import com.azure.resourcemanager.datafactory.models.CredentialReferenceType;
-import java.util.HashMap;
-import java.util.Map;
-import org.junit.jupiter.api.Assertions;
-
-public final class CredentialReferenceTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- CredentialReference model = BinaryData.fromString(
- "{\"type\":\"CredentialReference\",\"referenceName\":\"ypefcpczshnuqnda\",\"\":{\"tvegwqiukvzwy\":\"datapfkhuytuszxhmt\",\"i\":\"datawtthaokgksk\",\"hajqfuk\":\"databs\",\"hwu\":\"dataeexpgeumi\"}}")
- .toObject(CredentialReference.class);
- Assertions.assertEquals(CredentialReferenceType.CREDENTIAL_REFERENCE, model.type());
- Assertions.assertEquals("ypefcpczshnuqnda", model.referenceName());
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- CredentialReference model = new CredentialReference().withType(CredentialReferenceType.CREDENTIAL_REFERENCE)
- .withReferenceName("ypefcpczshnuqnda")
- .withAdditionalProperties(mapOf());
- model = BinaryData.fromObject(model).toObject(CredentialReference.class);
- Assertions.assertEquals(CredentialReferenceType.CREDENTIAL_REFERENCE, model.type());
- Assertions.assertEquals("ypefcpczshnuqnda", model.referenceName());
- }
-
- // Use "Map.of" if available
- @SuppressWarnings("unchecked")
- private static Map mapOf(Object... inputs) {
- Map map = new HashMap<>();
- for (int i = 0; i < inputs.length; i += 2) {
- String key = (String) inputs[i];
- T value = (T) inputs[i + 1];
- map.put(key, value);
- }
- return map;
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/CredentialResourceInnerTests.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/CredentialResourceInnerTests.java
deleted file mode 100644
index fcc99a797401..000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/CredentialResourceInnerTests.java
+++ /dev/null
@@ -1,47 +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.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.datafactory.fluent.models.CredentialResourceInner;
-import com.azure.resourcemanager.datafactory.models.Credential;
-import java.util.Arrays;
-import java.util.HashMap;
-import java.util.Map;
-import org.junit.jupiter.api.Assertions;
-
-public final class CredentialResourceInnerTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- CredentialResourceInner model = BinaryData.fromString(
- "{\"properties\":{\"type\":\"Credential\",\"description\":\"xepmrut\",\"annotations\":[\"databaobn\",\"datalujdjltymkmv\",\"datauihywart\",\"datapphkixkykxds\"],\"\":{\"kkflrmymyincqlhr\":\"dataemmucfxh\",\"sl\":\"datas\",\"ctotiowlx\":\"dataiiiovgqcgxuugq\"}},\"name\":\"qd\",\"type\":\"jgwdtgukranbl\",\"etag\":\"hqlkccuzgygqwaho\",\"id\":\"lwgniiprglvawu\"}")
- .toObject(CredentialResourceInner.class);
- Assertions.assertEquals("lwgniiprglvawu", model.id());
- Assertions.assertEquals("xepmrut", model.properties().description());
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- CredentialResourceInner model = new CredentialResourceInner().withId("lwgniiprglvawu")
- .withProperties(new Credential().withDescription("xepmrut")
- .withAnnotations(Arrays.asList("databaobn", "datalujdjltymkmv", "datauihywart", "datapphkixkykxds"))
- .withAdditionalProperties(mapOf("type", "Credential")));
- model = BinaryData.fromObject(model).toObject(CredentialResourceInner.class);
- Assertions.assertEquals("lwgniiprglvawu", model.id());
- Assertions.assertEquals("xepmrut", model.properties().description());
- }
-
- // Use "Map.of" if available
- @SuppressWarnings("unchecked")
- private static Map mapOf(Object... inputs) {
- Map map = new HashMap<>();
- for (int i = 0; i < inputs.length; i += 2) {
- String key = (String) inputs[i];
- T value = (T) inputs[i + 1];
- map.put(key, value);
- }
- return map;
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/CredentialTests.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/CredentialTests.java
deleted file mode 100644
index 0b23e23851b3..000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/CredentialTests.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.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.datafactory.models.Credential;
-import java.util.Arrays;
-import java.util.HashMap;
-import java.util.Map;
-import org.junit.jupiter.api.Assertions;
-
-public final class CredentialTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- Credential model = BinaryData.fromString(
- "{\"type\":\"Credential\",\"description\":\"d\",\"annotations\":[\"datapivlsbbjpm\",\"dataubkmifo\"],\"\":{\"ovpbbttefjoknssq\":\"dataubvphavpmhbrbqgv\"}}")
- .toObject(Credential.class);
- Assertions.assertEquals("d", model.description());
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- Credential model = new Credential().withDescription("d")
- .withAnnotations(Arrays.asList("datapivlsbbjpm", "dataubkmifo"))
- .withAdditionalProperties(mapOf("type", "Credential"));
- model = BinaryData.fromObject(model).toObject(Credential.class);
- Assertions.assertEquals("d", model.description());
- }
-
- // Use "Map.of" if available
- @SuppressWarnings("unchecked")
- private static Map mapOf(Object... inputs) {
- Map map = new HashMap<>();
- for (int i = 0; i < inputs.length; i += 2) {
- String key = (String) inputs[i];
- T value = (T) inputs[i + 1];
- map.put(key, value);
- }
- return map;
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/CustomActivityReferenceObjectTests.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/CustomActivityReferenceObjectTests.java
deleted file mode 100644
index c1f4a5767d10..000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/CustomActivityReferenceObjectTests.java
+++ /dev/null
@@ -1,61 +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.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.datafactory.models.CustomActivityReferenceObject;
-import com.azure.resourcemanager.datafactory.models.DatasetReference;
-import com.azure.resourcemanager.datafactory.models.LinkedServiceReference;
-import java.util.Arrays;
-import java.util.HashMap;
-import java.util.Map;
-import org.junit.jupiter.api.Assertions;
-
-public final class CustomActivityReferenceObjectTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- CustomActivityReferenceObject model = BinaryData.fromString(
- "{\"linkedServices\":[{\"referenceName\":\"ylfdryes\",\"parameters\":{\"ybvgemkz\":\"datasparbjsv\",\"czctwacbnhk\":\"dataolvnosb\",\"fh\":\"datadcvjhykptcijuntm\"}},{\"referenceName\":\"ccqhtlqrfsrfxr\",\"parameters\":{\"vzadybhydlqf\":\"dataymtcwac\",\"aesp\":\"dataidastuihn\",\"haoviwuttlmfcn\":\"datawgpjri\"}}],\"datasets\":[{\"referenceName\":\"aiypihqmmmbokdqk\",\"parameters\":{\"l\":\"datafzxnivvuwrvg\",\"bfi\":\"datarlkgpipwtrt\"}},{\"referenceName\":\"bddhfkjsqqqu\",\"parameters\":{\"hvaovoqonqjl\":\"datawzkefzdu\",\"yqiytrhhmld\":\"datac\"}},{\"referenceName\":\"tyz\",\"parameters\":{\"lkfg\":\"datast\",\"fe\":\"dataovbbcsb\",\"chfssbqwvr\":\"datamcprg\",\"qipfrrvngill\":\"datagvxhw\"}}]}")
- .toObject(CustomActivityReferenceObject.class);
- Assertions.assertEquals("ylfdryes", model.linkedServices().get(0).referenceName());
- Assertions.assertEquals("aiypihqmmmbokdqk", model.datasets().get(0).referenceName());
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- CustomActivityReferenceObject model
- = new CustomActivityReferenceObject()
- .withLinkedServices(Arrays.asList(
- new LinkedServiceReference().withReferenceName("ylfdryes")
- .withParameters(mapOf("ybvgemkz", "datasparbjsv", "czctwacbnhk", "dataolvnosb", "fh",
- "datadcvjhykptcijuntm")),
- new LinkedServiceReference().withReferenceName("ccqhtlqrfsrfxr")
- .withParameters(mapOf("vzadybhydlqf", "dataymtcwac", "aesp", "dataidastuihn", "haoviwuttlmfcn",
- "datawgpjri"))))
- .withDatasets(Arrays.asList(
- new DatasetReference().withReferenceName("aiypihqmmmbokdqk")
- .withParameters(mapOf("l", "datafzxnivvuwrvg", "bfi", "datarlkgpipwtrt")),
- new DatasetReference().withReferenceName("bddhfkjsqqqu")
- .withParameters(mapOf("hvaovoqonqjl", "datawzkefzdu", "yqiytrhhmld", "datac")),
- new DatasetReference().withReferenceName("tyz")
- .withParameters(mapOf("lkfg", "datast", "fe", "dataovbbcsb", "chfssbqwvr", "datamcprg",
- "qipfrrvngill", "datagvxhw"))));
- model = BinaryData.fromObject(model).toObject(CustomActivityReferenceObject.class);
- Assertions.assertEquals("ylfdryes", model.linkedServices().get(0).referenceName());
- Assertions.assertEquals("aiypihqmmmbokdqk", model.datasets().get(0).referenceName());
- }
-
- // Use "Map.of" if available
- @SuppressWarnings("unchecked")
- private static Map mapOf(Object... inputs) {
- Map map = new HashMap<>();
- for (int i = 0; i < inputs.length; i += 2) {
- String key = (String) inputs[i];
- T value = (T) inputs[i + 1];
- map.put(key, value);
- }
- return map;
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/CustomActivityTests.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/CustomActivityTests.java
deleted file mode 100644
index e75b133b0202..000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/CustomActivityTests.java
+++ /dev/null
@@ -1,112 +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.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.datafactory.models.ActivityDependency;
-import com.azure.resourcemanager.datafactory.models.ActivityOnInactiveMarkAs;
-import com.azure.resourcemanager.datafactory.models.ActivityPolicy;
-import com.azure.resourcemanager.datafactory.models.ActivityState;
-import com.azure.resourcemanager.datafactory.models.CustomActivity;
-import com.azure.resourcemanager.datafactory.models.CustomActivityReferenceObject;
-import com.azure.resourcemanager.datafactory.models.DatasetReference;
-import com.azure.resourcemanager.datafactory.models.DependencyCondition;
-import com.azure.resourcemanager.datafactory.models.LinkedServiceReference;
-import com.azure.resourcemanager.datafactory.models.UserProperty;
-import java.util.Arrays;
-import java.util.HashMap;
-import java.util.Map;
-import org.junit.jupiter.api.Assertions;
-
-public final class CustomActivityTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- CustomActivity model = BinaryData.fromString(
- "{\"type\":\"Custom\",\"typeProperties\":{\"command\":\"datagathvlwhr\",\"resourceLinkedService\":{\"referenceName\":\"kdyqxjpzykk\",\"parameters\":{\"sdg\":\"datakkpbybhqwil\",\"kir\":\"datahe\",\"rth\":\"dataojzfsznephbc\",\"ijayvuymib\":\"databgavwbqjeto\"}},\"folderPath\":\"dataqjcxp\",\"referenceObjects\":{\"linkedServices\":[{\"referenceName\":\"wxivj\",\"parameters\":{\"ink\":\"datadvnoxjbhltxtpgq\"}},{\"referenceName\":\"tayafg\",\"parameters\":{\"xgsqhczokunc\":\"dataawblkkccixsgk\",\"qzcbqvjejnwwqyy\":\"dataqhbjmvbeznluk\"}}],\"datasets\":[{\"referenceName\":\"fsdhmrughm\",\"parameters\":{\"pd\":\"databhktnuzorxatizj\",\"lcfxsgjdiqemcgh\":\"datasautviti\",\"bvrmvhtmzwgir\":\"datarrjawfcz\",\"lqvtv\":\"datafnzpybr\"}}]},\"extendedProperties\":{\"p\":\"datapmmmh\",\"iiiwu\":\"dataxthpsugebgboqn\"},\"retentionTimeInDays\":\"dataofgfqge\",\"autoUserSpecification\":\"dataypxm\"},\"linkedServiceName\":{\"referenceName\":\"xjonasjdaxezf\",\"parameters\":{\"ogqw\":\"datagljihwduwncaif\",\"fachkzzn\":\"dataxtp\"}},\"policy\":{\"timeout\":\"datamsfnigjoxhz\",\"retry\":\"datagmcsjyfbut\",\"retryIntervalInSeconds\":1000793246,\"secureInput\":false,\"secureOutput\":false,\"\":{\"jloehhhkxlquupb\":\"dataayqwj\"}},\"name\":\"huinjymnq\",\"description\":\"ptejryvvu\",\"state\":\"Active\",\"onInactiveMarkAs\":\"Skipped\",\"dependsOn\":[{\"activity\":\"amwjb\",\"dependencyConditions\":[\"Completed\",\"Failed\"],\"\":{\"ifblyvqycknqmb\":\"datayxjjutvovh\",\"i\":\"datassjbyneusnncnn\",\"wupfndafrz\":\"datauhsjzduumpl\"}}],\"userProperties\":[{\"name\":\"cy\",\"value\":\"datazaneave\"},{\"name\":\"vd\",\"value\":\"dataulhworhzesqdvm\"}],\"\":{\"wu\":\"datarqpawwjvdohz\",\"hftlsfwpvflm\":\"datalae\"}}")
- .toObject(CustomActivity.class);
- Assertions.assertEquals("huinjymnq", model.name());
- Assertions.assertEquals("ptejryvvu", model.description());
- Assertions.assertEquals(ActivityState.ACTIVE, model.state());
- Assertions.assertEquals(ActivityOnInactiveMarkAs.SKIPPED, model.onInactiveMarkAs());
- Assertions.assertEquals("amwjb", model.dependsOn().get(0).activity());
- Assertions.assertEquals(DependencyCondition.COMPLETED, model.dependsOn().get(0).dependencyConditions().get(0));
- Assertions.assertEquals("cy", model.userProperties().get(0).name());
- Assertions.assertEquals("xjonasjdaxezf", model.linkedServiceName().referenceName());
- Assertions.assertEquals(1000793246, model.policy().retryIntervalInSeconds());
- Assertions.assertEquals(false, model.policy().secureInput());
- Assertions.assertEquals(false, model.policy().secureOutput());
- Assertions.assertEquals("kdyqxjpzykk", model.resourceLinkedService().referenceName());
- Assertions.assertEquals("wxivj", model.referenceObjects().linkedServices().get(0).referenceName());
- Assertions.assertEquals("fsdhmrughm", model.referenceObjects().datasets().get(0).referenceName());
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- CustomActivity model
- = new CustomActivity().withName("huinjymnq")
- .withDescription("ptejryvvu")
- .withState(ActivityState.ACTIVE)
- .withOnInactiveMarkAs(ActivityOnInactiveMarkAs.SKIPPED)
- .withDependsOn(Arrays.asList(new ActivityDependency().withActivity("amwjb")
- .withDependencyConditions(Arrays.asList(DependencyCondition.COMPLETED, DependencyCondition.FAILED))
- .withAdditionalProperties(mapOf())))
- .withUserProperties(Arrays.asList(new UserProperty().withName("cy").withValue("datazaneave"),
- new UserProperty().withName("vd").withValue("dataulhworhzesqdvm")))
- .withLinkedServiceName(new LinkedServiceReference().withReferenceName("xjonasjdaxezf")
- .withParameters(mapOf("ogqw", "datagljihwduwncaif", "fachkzzn", "dataxtp")))
- .withPolicy(new ActivityPolicy().withTimeout("datamsfnigjoxhz")
- .withRetry("datagmcsjyfbut")
- .withRetryIntervalInSeconds(1000793246)
- .withSecureInput(false)
- .withSecureOutput(false)
- .withAdditionalProperties(mapOf()))
- .withCommand("datagathvlwhr")
- .withResourceLinkedService(new LinkedServiceReference().withReferenceName("kdyqxjpzykk")
- .withParameters(mapOf("sdg", "datakkpbybhqwil", "kir", "datahe", "rth", "dataojzfsznephbc",
- "ijayvuymib", "databgavwbqjeto")))
- .withFolderPath("dataqjcxp")
- .withReferenceObjects(
- new CustomActivityReferenceObject()
- .withLinkedServices(Arrays.asList(
- new LinkedServiceReference().withReferenceName("wxivj")
- .withParameters(mapOf("ink", "datadvnoxjbhltxtpgq")),
- new LinkedServiceReference().withReferenceName("tayafg")
- .withParameters(mapOf("xgsqhczokunc", "dataawblkkccixsgk", "qzcbqvjejnwwqyy",
- "dataqhbjmvbeznluk"))))
- .withDatasets(Arrays.asList(new DatasetReference().withReferenceName("fsdhmrughm")
- .withParameters(mapOf("pd", "databhktnuzorxatizj", "lcfxsgjdiqemcgh", "datasautviti",
- "bvrmvhtmzwgir", "datarrjawfcz", "lqvtv", "datafnzpybr")))))
- .withExtendedProperties(mapOf("p", "datapmmmh", "iiiwu", "dataxthpsugebgboqn"))
- .withRetentionTimeInDays("dataofgfqge")
- .withAutoUserSpecification("dataypxm");
- model = BinaryData.fromObject(model).toObject(CustomActivity.class);
- Assertions.assertEquals("huinjymnq", model.name());
- Assertions.assertEquals("ptejryvvu", model.description());
- Assertions.assertEquals(ActivityState.ACTIVE, model.state());
- Assertions.assertEquals(ActivityOnInactiveMarkAs.SKIPPED, model.onInactiveMarkAs());
- Assertions.assertEquals("amwjb", model.dependsOn().get(0).activity());
- Assertions.assertEquals(DependencyCondition.COMPLETED, model.dependsOn().get(0).dependencyConditions().get(0));
- Assertions.assertEquals("cy", model.userProperties().get(0).name());
- Assertions.assertEquals("xjonasjdaxezf", model.linkedServiceName().referenceName());
- Assertions.assertEquals(1000793246, model.policy().retryIntervalInSeconds());
- Assertions.assertEquals(false, model.policy().secureInput());
- Assertions.assertEquals(false, model.policy().secureOutput());
- Assertions.assertEquals("kdyqxjpzykk", model.resourceLinkedService().referenceName());
- Assertions.assertEquals("wxivj", model.referenceObjects().linkedServices().get(0).referenceName());
- Assertions.assertEquals("fsdhmrughm", model.referenceObjects().datasets().get(0).referenceName());
- }
-
- // Use "Map.of" if available
- @SuppressWarnings("unchecked")
- private static Map mapOf(Object... inputs) {
- Map map = new HashMap<>();
- for (int i = 0; i < inputs.length; i += 2) {
- String key = (String) inputs[i];
- T value = (T) inputs[i + 1];
- map.put(key, value);
- }
- return map;
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/CustomActivityTypePropertiesTests.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/CustomActivityTypePropertiesTests.java
deleted file mode 100644
index 2dd77391420b..000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/CustomActivityTypePropertiesTests.java
+++ /dev/null
@@ -1,68 +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.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.datafactory.fluent.models.CustomActivityTypeProperties;
-import com.azure.resourcemanager.datafactory.models.CustomActivityReferenceObject;
-import com.azure.resourcemanager.datafactory.models.DatasetReference;
-import com.azure.resourcemanager.datafactory.models.LinkedServiceReference;
-import java.util.Arrays;
-import java.util.HashMap;
-import java.util.Map;
-import org.junit.jupiter.api.Assertions;
-
-public final class CustomActivityTypePropertiesTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- CustomActivityTypeProperties model = BinaryData.fromString(
- "{\"command\":\"datajdu\",\"resourceLinkedService\":{\"referenceName\":\"xbrjdpeypuqwd\",\"parameters\":{\"xdeo\":\"datamfvxfssho\",\"fnreempbumyuiquz\":\"datanzprdgmmgtqgzdf\",\"facflkbgohxbj\":\"dataotfoifjrik\"}},\"folderPath\":\"datafpfxbqdrjunigx\",\"referenceObjects\":{\"linkedServices\":[{\"referenceName\":\"ghga\",\"parameters\":{\"wrncwhlxvngj\":\"datavenvrltijq\",\"bd\":\"datapydjdpapndmv\",\"xidecdehskmfiu\":\"datavvtapwkwkthm\"}},{\"referenceName\":\"npjzx\",\"parameters\":{\"kznffqv\":\"datasgyyrgdguvkgqllg\"}},{\"referenceName\":\"xnytihhqancw\",\"parameters\":{\"snbdfamyolvgksla\":\"datagdpfzdygtk\",\"rswvwzu\":\"datauon\",\"omxvbruzxsnz\":\"datatqcxoamxumwzduhi\"}}],\"datasets\":[{\"referenceName\":\"gf\",\"parameters\":{\"zclnqexlnpwpw\":\"datadouneozgnwmc\"}}]},\"extendedProperties\":{\"cfoqdspslcvpqwrs\":\"datasjkondrk\",\"g\":\"datadpikx\",\"phcwzdwvyjz\":\"dataaegrppwoligfljt\",\"mfoztwmvprn\":\"datakvycinmywjcf\"},\"retentionTimeInDays\":\"dataxsexzxbiwnqe\",\"autoUserSpecification\":\"datatbztog\"}")
- .toObject(CustomActivityTypeProperties.class);
- Assertions.assertEquals("xbrjdpeypuqwd", model.resourceLinkedService().referenceName());
- Assertions.assertEquals("ghga", model.referenceObjects().linkedServices().get(0).referenceName());
- Assertions.assertEquals("gf", model.referenceObjects().datasets().get(0).referenceName());
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- CustomActivityTypeProperties model = new CustomActivityTypeProperties().withCommand("datajdu")
- .withResourceLinkedService(new LinkedServiceReference().withReferenceName("xbrjdpeypuqwd")
- .withParameters(mapOf("xdeo", "datamfvxfssho", "fnreempbumyuiquz", "datanzprdgmmgtqgzdf",
- "facflkbgohxbj", "dataotfoifjrik")))
- .withFolderPath("datafpfxbqdrjunigx")
- .withReferenceObjects(new CustomActivityReferenceObject()
- .withLinkedServices(Arrays.asList(
- new LinkedServiceReference().withReferenceName("ghga")
- .withParameters(mapOf("wrncwhlxvngj", "datavenvrltijq", "bd", "datapydjdpapndmv",
- "xidecdehskmfiu", "datavvtapwkwkthm")),
- new LinkedServiceReference().withReferenceName("npjzx")
- .withParameters(mapOf("kznffqv", "datasgyyrgdguvkgqllg")),
- new LinkedServiceReference().withReferenceName("xnytihhqancw")
- .withParameters(mapOf("snbdfamyolvgksla", "datagdpfzdygtk", "rswvwzu", "datauon",
- "omxvbruzxsnz", "datatqcxoamxumwzduhi"))))
- .withDatasets(Arrays.asList(new DatasetReference().withReferenceName("gf")
- .withParameters(mapOf("zclnqexlnpwpw", "datadouneozgnwmc")))))
- .withExtendedProperties(mapOf("cfoqdspslcvpqwrs", "datasjkondrk", "g", "datadpikx", "phcwzdwvyjz",
- "dataaegrppwoligfljt", "mfoztwmvprn", "datakvycinmywjcf"))
- .withRetentionTimeInDays("dataxsexzxbiwnqe")
- .withAutoUserSpecification("datatbztog");
- model = BinaryData.fromObject(model).toObject(CustomActivityTypeProperties.class);
- Assertions.assertEquals("xbrjdpeypuqwd", model.resourceLinkedService().referenceName());
- Assertions.assertEquals("ghga", model.referenceObjects().linkedServices().get(0).referenceName());
- Assertions.assertEquals("gf", model.referenceObjects().datasets().get(0).referenceName());
- }
-
- // Use "Map.of" if available
- @SuppressWarnings("unchecked")
- private static Map mapOf(Object... inputs) {
- Map map = new HashMap<>();
- for (int i = 0; i < inputs.length; i += 2) {
- String key = (String) inputs[i];
- T value = (T) inputs[i + 1];
- map.put(key, value);
- }
- return map;
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/CustomDataSourceLinkedServiceTests.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/CustomDataSourceLinkedServiceTests.java
deleted file mode 100644
index 129d1442cda4..000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/CustomDataSourceLinkedServiceTests.java
+++ /dev/null
@@ -1,60 +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.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.datafactory.models.CustomDataSourceLinkedService;
-import com.azure.resourcemanager.datafactory.models.IntegrationRuntimeReference;
-import com.azure.resourcemanager.datafactory.models.ParameterSpecification;
-import com.azure.resourcemanager.datafactory.models.ParameterType;
-import java.util.Arrays;
-import java.util.HashMap;
-import java.util.Map;
-import org.junit.jupiter.api.Assertions;
-
-public final class CustomDataSourceLinkedServiceTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- CustomDataSourceLinkedService model = BinaryData.fromString(
- "{\"type\":\"CustomDataSource\",\"typeProperties\":\"datajhokhijghpvjq\",\"version\":\"kikdatbwyarqt\",\"connectVia\":{\"referenceName\":\"jblhefq\",\"parameters\":{\"klbjlnbxouc\":\"datanxtpzdgyilwu\",\"oke\":\"dataddplgjfhvia\",\"uosc\":\"datacmadyoctmd\"}},\"description\":\"wbestntoeteu\",\"parameters\":{\"efrfugthcdbzoxh\":{\"type\":\"SecureString\",\"defaultValue\":\"datazftsb\"},\"ijpkbr\":{\"type\":\"Bool\",\"defaultValue\":\"datagpbogpbwefoxlz\"}},\"annotations\":[\"dataup\"],\"\":{\"vgit\":\"dataqeqjtzawen\",\"ohnizvvekpq\":\"datadjixkepla\"}}")
- .toObject(CustomDataSourceLinkedService.class);
- Assertions.assertEquals("kikdatbwyarqt", model.version());
- Assertions.assertEquals("jblhefq", model.connectVia().referenceName());
- Assertions.assertEquals("wbestntoeteu", model.description());
- Assertions.assertEquals(ParameterType.SECURE_STRING, model.parameters().get("efrfugthcdbzoxh").type());
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- CustomDataSourceLinkedService model = new CustomDataSourceLinkedService().withVersion("kikdatbwyarqt")
- .withConnectVia(new IntegrationRuntimeReference().withReferenceName("jblhefq")
- .withParameters(
- mapOf("klbjlnbxouc", "datanxtpzdgyilwu", "oke", "dataddplgjfhvia", "uosc", "datacmadyoctmd")))
- .withDescription("wbestntoeteu")
- .withParameters(mapOf("efrfugthcdbzoxh",
- new ParameterSpecification().withType(ParameterType.SECURE_STRING).withDefaultValue("datazftsb"),
- "ijpkbr",
- new ParameterSpecification().withType(ParameterType.BOOL).withDefaultValue("datagpbogpbwefoxlz")))
- .withAnnotations(Arrays.asList("dataup"))
- .withTypeProperties("datajhokhijghpvjq");
- model = BinaryData.fromObject(model).toObject(CustomDataSourceLinkedService.class);
- Assertions.assertEquals("kikdatbwyarqt", model.version());
- Assertions.assertEquals("jblhefq", model.connectVia().referenceName());
- Assertions.assertEquals("wbestntoeteu", model.description());
- Assertions.assertEquals(ParameterType.SECURE_STRING, model.parameters().get("efrfugthcdbzoxh").type());
- }
-
- // Use "Map.of" if available
- @SuppressWarnings("unchecked")
- private static Map mapOf(Object... inputs) {
- Map map = new HashMap<>();
- for (int i = 0; i < inputs.length; i += 2) {
- String key = (String) inputs[i];
- T value = (T) inputs[i + 1];
- map.put(key, value);
- }
- return map;
- }
-}
diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/CustomDatasetTests.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/CustomDatasetTests.java
deleted file mode 100644
index 6c753dce56d0..000000000000
--- a/sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/CustomDatasetTests.java
+++ /dev/null
@@ -1,66 +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.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.datafactory.models.CustomDataset;
-import com.azure.resourcemanager.datafactory.models.DatasetFolder;
-import com.azure.resourcemanager.datafactory.models.LinkedServiceReference;
-import com.azure.resourcemanager.datafactory.models.ParameterSpecification;
-import com.azure.resourcemanager.datafactory.models.ParameterType;
-import java.util.Arrays;
-import java.util.HashMap;
-import java.util.Map;
-import org.junit.jupiter.api.Assertions;
-
-public final class CustomDatasetTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- CustomDataset model = BinaryData.fromString(
- "{\"type\":\"CustomDataset\",\"typeProperties\":\"dataxvmdr\",\"description\":\"n\",\"structure\":\"dataovazoymdvhhpl\",\"schema\":\"datawwd\",\"linkedServiceName\":{\"referenceName\":\"atveqm\",\"parameters\":{\"armhpwbuklv\":\"dataswzeyxry\",\"aemcezevftmh\":\"datamfasgtlvhqpoilos\",\"okjyghzt\":\"datal\"}},\"parameters\":{\"vwiftd\":{\"type\":\"Array\",\"defaultValue\":\"datatpcflcezsw\"},\"jnqswxd\":{\"type\":\"Int\",\"defaultValue\":\"databfpfhruptsyq\"},\"clqddnhfknebw\":{\"type\":\"Object\",\"defaultValue\":\"datamxqukrcdio\"}},\"annotations\":[\"datapnyzcwyjs\",\"datakaqldqabnwvpa\",\"databqxfbb\",\"datagcfddofxnfb\"],\"folder\":{\"name\":\"yrqaedwovoc\"},\"\":{\"fmi\":\"datagoeayokr\"}}")
- .toObject(CustomDataset.class);
- Assertions.assertEquals("n", model.description());
- Assertions.assertEquals("atveqm", model.linkedServiceName().referenceName());
- Assertions.assertEquals(ParameterType.ARRAY, model.parameters().get("vwiftd").type());
- Assertions.assertEquals("yrqaedwovoc", model.folder().name());
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- CustomDataset model
- = new CustomDataset().withDescription("n")
- .withStructure("dataovazoymdvhhpl")
- .withSchema("datawwd")
- .withLinkedServiceName(new LinkedServiceReference().withReferenceName("atveqm")
- .withParameters(mapOf("armhpwbuklv", "dataswzeyxry", "aemcezevftmh", "datamfasgtlvhqpoilos",
- "okjyghzt", "datal")))
- .withParameters(mapOf("vwiftd",
- new ParameterSpecification().withType(ParameterType.ARRAY).withDefaultValue("datatpcflcezsw"),
- "jnqswxd",
- new ParameterSpecification().withType(ParameterType.INT).withDefaultValue("databfpfhruptsyq"),
- "clqddnhfknebw",
- new ParameterSpecification().withType(ParameterType.OBJECT).withDefaultValue("datamxqukrcdio")))
- .withAnnotations(Arrays.asList("datapnyzcwyjs", "datakaqldqabnwvpa", "databqxfbb", "datagcfddofxnfb"))
- .withFolder(new DatasetFolder().withName("yrqaedwovoc"))
- .withTypeProperties("dataxvmdr");
- model = BinaryData.fromObject(model).toObject(CustomDataset.class);
- Assertions.assertEquals("n", model.description());
- Assertions.assertEquals("atveqm", model.linkedServiceName().referenceName());
- Assertions.assertEquals(ParameterType.ARRAY, model.parameters().get("vwiftd").type());
- Assertions.assertEquals("yrqaedwovoc", model.folder().name());
- }
-
- // Use "Map.of" if available
- @SuppressWarnings("unchecked")
- private static Map