diff --git a/eng/versioning/version_client.txt b/eng/versioning/version_client.txt index c65afd6ef790..758d2f9ca79c 100644 --- a/eng/versioning/version_client.txt +++ b/eng/versioning/version_client.txt @@ -364,7 +364,7 @@ com.azure.resourcemanager:azure-resourcemanager-timeseriesinsights;1.0.0;1.1.0-b com.azure.resourcemanager:azure-resourcemanager-streamanalytics;1.0.0-beta.4;1.0.0-beta.5 com.azure.resourcemanager:azure-resourcemanager-operationsmanagement;1.0.0-beta.3;1.0.0-beta.4 com.azure.resourcemanager:azure-resourcemanager-batch;2.0.0;2.1.0-beta.1 -com.azure.resourcemanager:azure-resourcemanager-datalakeanalytics;1.0.0-beta.3;1.0.0-beta.4 +com.azure.resourcemanager:azure-resourcemanager-datalakeanalytics;1.0.0-beta.3;1.0.0 com.azure.resourcemanager:azure-resourcemanager-datalakestore;1.0.0-beta.3;1.0.0-beta.4 com.azure.resourcemanager:azure-resourcemanager-iotcentral;1.0.0;1.1.0-beta.3 com.azure.resourcemanager:azure-resourcemanager-labservices;1.0.0;1.1.0-beta.1 diff --git a/sdk/datalakeanalytics/azure-resourcemanager-datalakeanalytics/CHANGELOG.md b/sdk/datalakeanalytics/azure-resourcemanager-datalakeanalytics/CHANGELOG.md index 8dff02ea4357..f3bafffce50e 100644 --- a/sdk/datalakeanalytics/azure-resourcemanager-datalakeanalytics/CHANGELOG.md +++ b/sdk/datalakeanalytics/azure-resourcemanager-datalakeanalytics/CHANGELOG.md @@ -1,14 +1,14 @@ # Release History -## 1.0.0-beta.4 (Unreleased) +## 1.0.0 (2025-01-03) -### Features Added +- Azure Resource Manager DataLakeAnalytics client library for Java. This package contains Microsoft Azure SDK for DataLakeAnalytics Management SDK. Creates an Azure Data Lake Analytics account management client. Package tag package-2016-11. 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.CheckNameAvailabilityParameters` was modified -### Other Changes +* `withType(java.lang.String)` was removed ## 1.0.0-beta.3 (2024-10-17) diff --git a/sdk/datalakeanalytics/azure-resourcemanager-datalakeanalytics/README.md b/sdk/datalakeanalytics/azure-resourcemanager-datalakeanalytics/README.md index ab3dd22a8494..8ade841a2f4d 100644 --- a/sdk/datalakeanalytics/azure-resourcemanager-datalakeanalytics/README.md +++ b/sdk/datalakeanalytics/azure-resourcemanager-datalakeanalytics/README.md @@ -32,7 +32,7 @@ Various documentation is available to help you get started com.azure.resourcemanager azure-resourcemanager-datalakeanalytics - 1.0.0-beta.3 + 1.0.0 ``` [//]: # ({x-version-update-end}) diff --git a/sdk/datalakeanalytics/azure-resourcemanager-datalakeanalytics/pom.xml b/sdk/datalakeanalytics/azure-resourcemanager-datalakeanalytics/pom.xml index e4b66f00f819..c182be443607 100644 --- a/sdk/datalakeanalytics/azure-resourcemanager-datalakeanalytics/pom.xml +++ b/sdk/datalakeanalytics/azure-resourcemanager-datalakeanalytics/pom.xml @@ -14,7 +14,7 @@ com.azure.resourcemanager azure-resourcemanager-datalakeanalytics - 1.0.0-beta.4 + 1.0.0 jar Microsoft Azure SDK for DataLakeAnalytics Management @@ -45,7 +45,7 @@ UTF-8 0 0 - true + false diff --git a/sdk/datalakeanalytics/azure-resourcemanager-datalakeanalytics/src/main/java/com/azure/resourcemanager/datalakeanalytics/DataLakeAnalyticsManager.java b/sdk/datalakeanalytics/azure-resourcemanager-datalakeanalytics/src/main/java/com/azure/resourcemanager/datalakeanalytics/DataLakeAnalyticsManager.java index 0539eaf5b38b..251d418d811c 100644 --- a/sdk/datalakeanalytics/azure-resourcemanager-datalakeanalytics/src/main/java/com/azure/resourcemanager/datalakeanalytics/DataLakeAnalyticsManager.java +++ b/sdk/datalakeanalytics/azure-resourcemanager-datalakeanalytics/src/main/java/com/azure/resourcemanager/datalakeanalytics/DataLakeAnalyticsManager.java @@ -11,6 +11,7 @@ import com.azure.core.http.HttpPipelinePosition; import com.azure.core.http.policy.AddDatePolicy; import com.azure.core.http.policy.AddHeadersFromContextPolicy; +import com.azure.core.http.policy.BearerTokenAuthenticationPolicy; import com.azure.core.http.policy.HttpLogOptions; import com.azure.core.http.policy.HttpLoggingPolicy; import com.azure.core.http.policy.HttpPipelinePolicy; @@ -19,7 +20,6 @@ import com.azure.core.http.policy.RetryOptions; import com.azure.core.http.policy.RetryPolicy; import com.azure.core.http.policy.UserAgentPolicy; -import com.azure.core.management.http.policy.ArmChallengeAuthenticationPolicy; import com.azure.core.management.profile.AzureProfile; import com.azure.core.util.Configuration; import com.azure.core.util.logging.ClientLogger; @@ -229,7 +229,7 @@ public DataLakeAnalyticsManager authenticate(TokenCredential credential, AzurePr .append("-") .append("com.azure.resourcemanager.datalakeanalytics") .append("/") - .append("1.0.0-beta.3"); + .append("1.0.0"); if (!Configuration.getGlobalConfiguration().get("AZURE_TELEMETRY_DISABLED", false)) { userAgentBuilder.append(" (") .append(Configuration.getGlobalConfiguration().get("java.version")) @@ -262,7 +262,7 @@ public DataLakeAnalyticsManager authenticate(TokenCredential credential, AzurePr HttpPolicyProviders.addBeforeRetryPolicies(policies); policies.add(retryPolicy); policies.add(new AddDatePolicy()); - policies.add(new ArmChallengeAuthenticationPolicy(credential, scopes.toArray(new String[0]))); + policies.add(new BearerTokenAuthenticationPolicy(credential, scopes.toArray(new String[0]))); policies.addAll(this.policies.stream() .filter(p -> p.getPipelinePosition() == HttpPipelinePosition.PER_RETRY) .collect(Collectors.toList())); diff --git a/sdk/datalakeanalytics/azure-resourcemanager-datalakeanalytics/src/main/java/com/azure/resourcemanager/datalakeanalytics/models/CheckNameAvailabilityParameters.java b/sdk/datalakeanalytics/azure-resourcemanager-datalakeanalytics/src/main/java/com/azure/resourcemanager/datalakeanalytics/models/CheckNameAvailabilityParameters.java index 59b6b34f4542..33a1a81655d8 100644 --- a/sdk/datalakeanalytics/azure-resourcemanager-datalakeanalytics/src/main/java/com/azure/resourcemanager/datalakeanalytics/models/CheckNameAvailabilityParameters.java +++ b/sdk/datalakeanalytics/azure-resourcemanager-datalakeanalytics/src/main/java/com/azure/resourcemanager/datalakeanalytics/models/CheckNameAvailabilityParameters.java @@ -26,7 +26,7 @@ public final class CheckNameAvailabilityParameters implements JsonSerializable Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8))); diff --git a/sdk/datalakeanalytics/azure-resourcemanager-datalakeanalytics/src/test/java/com/azure/resourcemanager/datalakeanalytics/generated/AccountsListMockTests.java b/sdk/datalakeanalytics/azure-resourcemanager-datalakeanalytics/src/test/java/com/azure/resourcemanager/datalakeanalytics/generated/AccountsListMockTests.java index c1538b6a25e3..175e7ab7bf72 100644 --- a/sdk/datalakeanalytics/azure-resourcemanager-datalakeanalytics/src/test/java/com/azure/resourcemanager/datalakeanalytics/generated/AccountsListMockTests.java +++ b/sdk/datalakeanalytics/azure-resourcemanager-datalakeanalytics/src/test/java/com/azure/resourcemanager/datalakeanalytics/generated/AccountsListMockTests.java @@ -22,7 +22,7 @@ public final class AccountsListMockTests { @Test public void testList() throws Exception { String responseStr - = "{\"value\":[{\"properties\":{\"accountId\":\"7852fa69-37a7-49c3-9e85-56c42d4ae454\",\"provisioningState\":\"Failed\",\"state\":\"Suspended\",\"creationTime\":\"2021-01-23T23:11:07Z\",\"lastModifiedTime\":\"2021-07-15T05:15:39Z\",\"endpoint\":\"nfqqnvwp\"},\"location\":\"qtaruoujmkcjhwq\",\"tags\":{\"bnw\":\"r\",\"enq\":\"ewgdrjervn\",\"ndoygmifthnzdnd\":\"eh\",\"nayqi\":\"l\"},\"id\":\"ynduha\",\"name\":\"hqlkthumaqo\",\"type\":\"bgycduiertgccym\"}]}"; + = "{\"value\":[{\"properties\":{\"accountId\":\"c6405ea3-44cb-4ab1-973c-418b2429d3ef\",\"provisioningState\":\"Failed\",\"state\":\"Suspended\",\"creationTime\":\"2021-01-23T23:11:07Z\",\"lastModifiedTime\":\"2021-07-15T05:15:39Z\",\"endpoint\":\"nfqqnvwp\"},\"location\":\"qtaruoujmkcjhwq\",\"tags\":{\"bnw\":\"r\",\"enq\":\"ewgdrjervn\",\"ndoygmifthnzdnd\":\"eh\",\"nayqi\":\"l\"},\"id\":\"ynduha\",\"name\":\"hqlkthumaqo\",\"type\":\"bgycduiertgccym\"}]}"; HttpClient httpClient = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8))); diff --git a/sdk/datalakeanalytics/azure-resourcemanager-datalakeanalytics/src/test/java/com/azure/resourcemanager/datalakeanalytics/generated/CapabilityInformationInnerTests.java b/sdk/datalakeanalytics/azure-resourcemanager-datalakeanalytics/src/test/java/com/azure/resourcemanager/datalakeanalytics/generated/CapabilityInformationInnerTests.java index 5ca90bbf6b4b..e9684e45a52f 100644 --- a/sdk/datalakeanalytics/azure-resourcemanager-datalakeanalytics/src/test/java/com/azure/resourcemanager/datalakeanalytics/generated/CapabilityInformationInnerTests.java +++ b/sdk/datalakeanalytics/azure-resourcemanager-datalakeanalytics/src/test/java/com/azure/resourcemanager/datalakeanalytics/generated/CapabilityInformationInnerTests.java @@ -11,7 +11,7 @@ public final class CapabilityInformationInnerTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { CapabilityInformationInner model = BinaryData.fromString( - "{\"subscriptionId\":\"cbc9380a-5876-46af-ac36-3c515a004067\",\"state\":\"Unregistered\",\"maxAccountCount\":1577221415,\"accountCount\":1139203375,\"migrationState\":false}") + "{\"subscriptionId\":\"d1a4d262-28b8-42b6-b525-3050c57cf5c3\",\"state\":\"Unregistered\",\"maxAccountCount\":1577221415,\"accountCount\":1139203375,\"migrationState\":false}") .toObject(CapabilityInformationInner.class); } diff --git a/sdk/datalakeanalytics/azure-resourcemanager-datalakeanalytics/src/test/java/com/azure/resourcemanager/datalakeanalytics/generated/ComputePoliciesCreateOrUpdateWithResponseMockTests.java b/sdk/datalakeanalytics/azure-resourcemanager-datalakeanalytics/src/test/java/com/azure/resourcemanager/datalakeanalytics/generated/ComputePoliciesCreateOrUpdateWithResponseMockTests.java index f6d126e6c8d8..f5146c0f4b54 100644 --- a/sdk/datalakeanalytics/azure-resourcemanager-datalakeanalytics/src/test/java/com/azure/resourcemanager/datalakeanalytics/generated/ComputePoliciesCreateOrUpdateWithResponseMockTests.java +++ b/sdk/datalakeanalytics/azure-resourcemanager-datalakeanalytics/src/test/java/com/azure/resourcemanager/datalakeanalytics/generated/ComputePoliciesCreateOrUpdateWithResponseMockTests.java @@ -23,7 +23,7 @@ public final class ComputePoliciesCreateOrUpdateWithResponseMockTests { @Test public void testCreateOrUpdateWithResponse() throws Exception { String responseStr - = "{\"properties\":{\"objectId\":\"a8c1ee1e-7e02-446a-a147-271ad13fb85b\",\"objectType\":\"User\",\"maxDegreeOfParallelismPerJob\":1236978734,\"minPriorityPerJob\":2111682042},\"name\":\"f\",\"type\":\"eyvpnqicvinvkj\",\"id\":\"dxrbuukzcle\"}"; + = "{\"properties\":{\"objectId\":\"cd7cdd38-7565-443e-9c33-4f9f976bb3b2\",\"objectType\":\"User\",\"maxDegreeOfParallelismPerJob\":1236978734,\"minPriorityPerJob\":2111682042},\"name\":\"f\",\"type\":\"eyvpnqicvinvkj\",\"id\":\"dxrbuukzcle\"}"; HttpClient httpClient = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8))); @@ -35,7 +35,7 @@ public void testCreateOrUpdateWithResponse() throws Exception { ComputePolicy response = manager.computePolicies() .define("sjervti") .withExistingAccount("ggkfpagaowpul", "qblylsyxkqj") - .withObjectId(UUID.fromString("97f93afd-2da0-4573-a531-02eeca5cd4fc")) + .withObjectId(UUID.fromString("1ecb9b59-4670-4d6f-a33e-da2c79814590")) .withObjectType(AadObjectType.GROUP) .withMaxDegreeOfParallelismPerJob(1353667842) .withMinPriorityPerJob(424844999) diff --git a/sdk/datalakeanalytics/azure-resourcemanager-datalakeanalytics/src/test/java/com/azure/resourcemanager/datalakeanalytics/generated/ComputePoliciesGetWithResponseMockTests.java b/sdk/datalakeanalytics/azure-resourcemanager-datalakeanalytics/src/test/java/com/azure/resourcemanager/datalakeanalytics/generated/ComputePoliciesGetWithResponseMockTests.java index c18e5e64021a..93db3c8a08f1 100644 --- a/sdk/datalakeanalytics/azure-resourcemanager-datalakeanalytics/src/test/java/com/azure/resourcemanager/datalakeanalytics/generated/ComputePoliciesGetWithResponseMockTests.java +++ b/sdk/datalakeanalytics/azure-resourcemanager-datalakeanalytics/src/test/java/com/azure/resourcemanager/datalakeanalytics/generated/ComputePoliciesGetWithResponseMockTests.java @@ -21,7 +21,7 @@ public final class ComputePoliciesGetWithResponseMockTests { @Test public void testGetWithResponse() throws Exception { String responseStr - = "{\"properties\":{\"objectId\":\"fd2b2093-672a-47f4-8500-8aba8a0ec8c6\",\"objectType\":\"User\",\"maxDegreeOfParallelismPerJob\":2099315083,\"minPriorityPerJob\":1402038644},\"name\":\"vydypatdoo\",\"type\":\"jkniodko\",\"id\":\"bw\"}"; + = "{\"properties\":{\"objectId\":\"b72ef991-cc4a-492e-9444-6e9f0cb7f1b9\",\"objectType\":\"User\",\"maxDegreeOfParallelismPerJob\":2099315083,\"minPriorityPerJob\":1402038644},\"name\":\"vydypatdoo\",\"type\":\"jkniodko\",\"id\":\"bw\"}"; HttpClient httpClient = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8))); diff --git a/sdk/datalakeanalytics/azure-resourcemanager-datalakeanalytics/src/test/java/com/azure/resourcemanager/datalakeanalytics/generated/ComputePoliciesListByAccountMockTests.java b/sdk/datalakeanalytics/azure-resourcemanager-datalakeanalytics/src/test/java/com/azure/resourcemanager/datalakeanalytics/generated/ComputePoliciesListByAccountMockTests.java index 0ceee293d52e..b52c48730967 100644 --- a/sdk/datalakeanalytics/azure-resourcemanager-datalakeanalytics/src/test/java/com/azure/resourcemanager/datalakeanalytics/generated/ComputePoliciesListByAccountMockTests.java +++ b/sdk/datalakeanalytics/azure-resourcemanager-datalakeanalytics/src/test/java/com/azure/resourcemanager/datalakeanalytics/generated/ComputePoliciesListByAccountMockTests.java @@ -22,7 +22,7 @@ public final class ComputePoliciesListByAccountMockTests { @Test public void testListByAccount() throws Exception { String responseStr - = "{\"value\":[{\"properties\":{\"objectId\":\"e6f320c8-3df9-4e99-b637-0b0765982682\",\"objectType\":\"Group\",\"maxDegreeOfParallelismPerJob\":470627882,\"minPriorityPerJob\":1769429451},\"name\":\"thzvaytdwkqbrqu\",\"type\":\"axhexiilivp\",\"id\":\"iirqtd\"}]}"; + = "{\"value\":[{\"properties\":{\"objectId\":\"6b8e4639-12fc-46d8-9649-2772a919f5b4\",\"objectType\":\"Group\",\"maxDegreeOfParallelismPerJob\":470627882,\"minPriorityPerJob\":1769429451},\"name\":\"thzvaytdwkqbrqu\",\"type\":\"axhexiilivp\",\"id\":\"iirqtd\"}]}"; HttpClient httpClient = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8))); diff --git a/sdk/datalakeanalytics/azure-resourcemanager-datalakeanalytics/src/test/java/com/azure/resourcemanager/datalakeanalytics/generated/ComputePolicyInnerTests.java b/sdk/datalakeanalytics/azure-resourcemanager-datalakeanalytics/src/test/java/com/azure/resourcemanager/datalakeanalytics/generated/ComputePolicyInnerTests.java index 9f55fdf97551..8ead6ff2a285 100644 --- a/sdk/datalakeanalytics/azure-resourcemanager-datalakeanalytics/src/test/java/com/azure/resourcemanager/datalakeanalytics/generated/ComputePolicyInnerTests.java +++ b/sdk/datalakeanalytics/azure-resourcemanager-datalakeanalytics/src/test/java/com/azure/resourcemanager/datalakeanalytics/generated/ComputePolicyInnerTests.java @@ -12,7 +12,7 @@ public final class ComputePolicyInnerTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { ComputePolicyInner model = BinaryData.fromString( - "{\"properties\":{\"objectId\":\"f1d7b3d4-3f1b-49db-ad4a-0e340d8f7309\",\"objectType\":\"Group\",\"maxDegreeOfParallelismPerJob\":792570944,\"minPriorityPerJob\":1370032032},\"name\":\"h\",\"type\":\"fbowskanyk\",\"id\":\"lcuiywgqywgndr\"}") + "{\"properties\":{\"objectId\":\"231fe99d-e99c-4567-9d96-82468cd73094\",\"objectType\":\"Group\",\"maxDegreeOfParallelismPerJob\":792570944,\"minPriorityPerJob\":1370032032},\"name\":\"h\",\"type\":\"fbowskanyk\",\"id\":\"lcuiywgqywgndr\"}") .toObject(ComputePolicyInner.class); Assertions.assertEquals("lcuiywgqywgndr", model.id()); } diff --git a/sdk/datalakeanalytics/azure-resourcemanager-datalakeanalytics/src/test/java/com/azure/resourcemanager/datalakeanalytics/generated/ComputePolicyListResultTests.java b/sdk/datalakeanalytics/azure-resourcemanager-datalakeanalytics/src/test/java/com/azure/resourcemanager/datalakeanalytics/generated/ComputePolicyListResultTests.java index ab648bc10882..aed6e9ba7d1c 100644 --- a/sdk/datalakeanalytics/azure-resourcemanager-datalakeanalytics/src/test/java/com/azure/resourcemanager/datalakeanalytics/generated/ComputePolicyListResultTests.java +++ b/sdk/datalakeanalytics/azure-resourcemanager-datalakeanalytics/src/test/java/com/azure/resourcemanager/datalakeanalytics/generated/ComputePolicyListResultTests.java @@ -11,7 +11,7 @@ public final class ComputePolicyListResultTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { ComputePolicyListResult model = BinaryData.fromString( - "{\"value\":[{\"properties\":{\"objectId\":\"32027d36-6b84-4016-aa62-e8f475872d0b\",\"objectType\":\"Group\",\"maxDegreeOfParallelismPerJob\":1103023268,\"minPriorityPerJob\":1901169400},\"name\":\"nljky\",\"type\":\"j\",\"id\":\"ujqgidok\"},{\"properties\":{\"objectId\":\"fa2ea5db-0f7c-4668-956a-50b2bb191ad9\",\"objectType\":\"Group\",\"maxDegreeOfParallelismPerJob\":1125977089,\"minPriorityPerJob\":649555961},\"name\":\"ltbgsncghkj\",\"type\":\"zz\",\"id\":\"ijhtxf\"},{\"properties\":{\"objectId\":\"f0e77379-4ae0-46da-99cc-99f8c4e8fe3b\",\"objectType\":\"ServicePrincipal\",\"maxDegreeOfParallelismPerJob\":1787736845,\"minPriorityPerJob\":215474399},\"name\":\"hmpvecx\",\"type\":\"debfqkkrbmpukgri\",\"id\":\"lzlfbxzpuz\"},{\"properties\":{\"objectId\":\"571a03e5-1134-4668-821b-ef5620b44b3d\",\"objectType\":\"ServicePrincipal\",\"maxDegreeOfParallelismPerJob\":315992042,\"minPriorityPerJob\":2071345899},\"name\":\"mgkbrpyydhibn\",\"type\":\"qkpikadrgvtqagnb\",\"id\":\"nhijggmebfsi\"}],\"nextLink\":\"butr\"}") + "{\"value\":[{\"properties\":{\"objectId\":\"292c2cb8-f6f7-4b43-99c4-c328ff4d25a3\",\"objectType\":\"Group\",\"maxDegreeOfParallelismPerJob\":1103023268,\"minPriorityPerJob\":1901169400},\"name\":\"nljky\",\"type\":\"j\",\"id\":\"ujqgidok\"},{\"properties\":{\"objectId\":\"64833640-0084-4119-b537-fc9e7cec7abc\",\"objectType\":\"Group\",\"maxDegreeOfParallelismPerJob\":1125977089,\"minPriorityPerJob\":649555961},\"name\":\"ltbgsncghkj\",\"type\":\"zz\",\"id\":\"ijhtxf\"},{\"properties\":{\"objectId\":\"b11eec8b-9008-4169-b44e-a01c553d5228\",\"objectType\":\"ServicePrincipal\",\"maxDegreeOfParallelismPerJob\":1787736845,\"minPriorityPerJob\":215474399},\"name\":\"hmpvecx\",\"type\":\"debfqkkrbmpukgri\",\"id\":\"lzlfbxzpuz\"},{\"properties\":{\"objectId\":\"06d7085a-9b54-4b39-a426-26c267949844\",\"objectType\":\"ServicePrincipal\",\"maxDegreeOfParallelismPerJob\":315992042,\"minPriorityPerJob\":2071345899},\"name\":\"mgkbrpyydhibn\",\"type\":\"qkpikadrgvtqagnb\",\"id\":\"nhijggmebfsi\"}],\"nextLink\":\"butr\"}") .toObject(ComputePolicyListResult.class); } diff --git a/sdk/datalakeanalytics/azure-resourcemanager-datalakeanalytics/src/test/java/com/azure/resourcemanager/datalakeanalytics/generated/ComputePolicyPropertiesTests.java b/sdk/datalakeanalytics/azure-resourcemanager-datalakeanalytics/src/test/java/com/azure/resourcemanager/datalakeanalytics/generated/ComputePolicyPropertiesTests.java index 731dd4ed9b9a..c74fcbea2f0c 100644 --- a/sdk/datalakeanalytics/azure-resourcemanager-datalakeanalytics/src/test/java/com/azure/resourcemanager/datalakeanalytics/generated/ComputePolicyPropertiesTests.java +++ b/sdk/datalakeanalytics/azure-resourcemanager-datalakeanalytics/src/test/java/com/azure/resourcemanager/datalakeanalytics/generated/ComputePolicyPropertiesTests.java @@ -11,7 +11,7 @@ public final class ComputePolicyPropertiesTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { ComputePolicyProperties model = BinaryData.fromString( - "{\"objectId\":\"168fb718-d72e-447d-bfbb-38614a1c918a\",\"objectType\":\"User\",\"maxDegreeOfParallelismPerJob\":19075135,\"minPriorityPerJob\":523315995}") + "{\"objectId\":\"8d9e154b-0e32-4c8d-a8f9-c4ccf6a04262\",\"objectType\":\"User\",\"maxDegreeOfParallelismPerJob\":19075135,\"minPriorityPerJob\":523315995}") .toObject(ComputePolicyProperties.class); } diff --git a/sdk/datalakeanalytics/azure-resourcemanager-datalakeanalytics/src/test/java/com/azure/resourcemanager/datalakeanalytics/generated/CreateComputePolicyWithAccountParametersTests.java b/sdk/datalakeanalytics/azure-resourcemanager-datalakeanalytics/src/test/java/com/azure/resourcemanager/datalakeanalytics/generated/CreateComputePolicyWithAccountParametersTests.java index 88f49b6509fb..c71a9abc9ec6 100644 --- a/sdk/datalakeanalytics/azure-resourcemanager-datalakeanalytics/src/test/java/com/azure/resourcemanager/datalakeanalytics/generated/CreateComputePolicyWithAccountParametersTests.java +++ b/sdk/datalakeanalytics/azure-resourcemanager-datalakeanalytics/src/test/java/com/azure/resourcemanager/datalakeanalytics/generated/CreateComputePolicyWithAccountParametersTests.java @@ -14,10 +14,10 @@ public final class CreateComputePolicyWithAccountParametersTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { CreateComputePolicyWithAccountParameters model = BinaryData.fromString( - "{\"name\":\"usivye\",\"properties\":{\"objectId\":\"2bc146ee-a90e-4197-8b64-eb06e89cf3be\",\"objectType\":\"ServicePrincipal\",\"maxDegreeOfParallelismPerJob\":1323562973,\"minPriorityPerJob\":1522291140}}") + "{\"name\":\"usivye\",\"properties\":{\"objectId\":\"5db3c7a4-c6f9-4cd8-8fdb-94a2ce82af13\",\"objectType\":\"ServicePrincipal\",\"maxDegreeOfParallelismPerJob\":1323562973,\"minPriorityPerJob\":1522291140}}") .toObject(CreateComputePolicyWithAccountParameters.class); Assertions.assertEquals("usivye", model.name()); - Assertions.assertEquals(UUID.fromString("2bc146ee-a90e-4197-8b64-eb06e89cf3be"), model.objectId()); + Assertions.assertEquals(UUID.fromString("5db3c7a4-c6f9-4cd8-8fdb-94a2ce82af13"), model.objectId()); Assertions.assertEquals(AadObjectType.SERVICE_PRINCIPAL, model.objectType()); Assertions.assertEquals(1323562973, model.maxDegreeOfParallelismPerJob()); Assertions.assertEquals(1522291140, model.minPriorityPerJob()); @@ -27,13 +27,13 @@ public void testDeserialize() throws Exception { public void testSerialize() throws Exception { CreateComputePolicyWithAccountParameters model = new CreateComputePolicyWithAccountParameters().withName("usivye") - .withObjectId(UUID.fromString("2bc146ee-a90e-4197-8b64-eb06e89cf3be")) + .withObjectId(UUID.fromString("5db3c7a4-c6f9-4cd8-8fdb-94a2ce82af13")) .withObjectType(AadObjectType.SERVICE_PRINCIPAL) .withMaxDegreeOfParallelismPerJob(1323562973) .withMinPriorityPerJob(1522291140); model = BinaryData.fromObject(model).toObject(CreateComputePolicyWithAccountParameters.class); Assertions.assertEquals("usivye", model.name()); - Assertions.assertEquals(UUID.fromString("2bc146ee-a90e-4197-8b64-eb06e89cf3be"), model.objectId()); + Assertions.assertEquals(UUID.fromString("5db3c7a4-c6f9-4cd8-8fdb-94a2ce82af13"), model.objectId()); Assertions.assertEquals(AadObjectType.SERVICE_PRINCIPAL, model.objectType()); Assertions.assertEquals(1323562973, model.maxDegreeOfParallelismPerJob()); Assertions.assertEquals(1522291140, model.minPriorityPerJob()); diff --git a/sdk/datalakeanalytics/azure-resourcemanager-datalakeanalytics/src/test/java/com/azure/resourcemanager/datalakeanalytics/generated/CreateOrUpdateComputePolicyParametersTests.java b/sdk/datalakeanalytics/azure-resourcemanager-datalakeanalytics/src/test/java/com/azure/resourcemanager/datalakeanalytics/generated/CreateOrUpdateComputePolicyParametersTests.java index 148ea0ca7c16..598b0d902314 100644 --- a/sdk/datalakeanalytics/azure-resourcemanager-datalakeanalytics/src/test/java/com/azure/resourcemanager/datalakeanalytics/generated/CreateOrUpdateComputePolicyParametersTests.java +++ b/sdk/datalakeanalytics/azure-resourcemanager-datalakeanalytics/src/test/java/com/azure/resourcemanager/datalakeanalytics/generated/CreateOrUpdateComputePolicyParametersTests.java @@ -14,9 +14,9 @@ public final class CreateOrUpdateComputePolicyParametersTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { CreateOrUpdateComputePolicyParameters model = BinaryData.fromString( - "{\"properties\":{\"objectId\":\"b3529058-c095-4ed0-a814-8258ee1b4204\",\"objectType\":\"User\",\"maxDegreeOfParallelismPerJob\":357365351,\"minPriorityPerJob\":1487439384}}") + "{\"properties\":{\"objectId\":\"a5294833-3657-46cb-a0f8-dd860c35e26a\",\"objectType\":\"User\",\"maxDegreeOfParallelismPerJob\":357365351,\"minPriorityPerJob\":1487439384}}") .toObject(CreateOrUpdateComputePolicyParameters.class); - Assertions.assertEquals(UUID.fromString("b3529058-c095-4ed0-a814-8258ee1b4204"), model.objectId()); + Assertions.assertEquals(UUID.fromString("a5294833-3657-46cb-a0f8-dd860c35e26a"), model.objectId()); Assertions.assertEquals(AadObjectType.USER, model.objectType()); Assertions.assertEquals(357365351, model.maxDegreeOfParallelismPerJob()); Assertions.assertEquals(1487439384, model.minPriorityPerJob()); @@ -25,12 +25,12 @@ public void testDeserialize() throws Exception { @org.junit.jupiter.api.Test public void testSerialize() throws Exception { CreateOrUpdateComputePolicyParameters model = new CreateOrUpdateComputePolicyParameters() - .withObjectId(UUID.fromString("b3529058-c095-4ed0-a814-8258ee1b4204")) + .withObjectId(UUID.fromString("a5294833-3657-46cb-a0f8-dd860c35e26a")) .withObjectType(AadObjectType.USER) .withMaxDegreeOfParallelismPerJob(357365351) .withMinPriorityPerJob(1487439384); model = BinaryData.fromObject(model).toObject(CreateOrUpdateComputePolicyParameters.class); - Assertions.assertEquals(UUID.fromString("b3529058-c095-4ed0-a814-8258ee1b4204"), model.objectId()); + Assertions.assertEquals(UUID.fromString("a5294833-3657-46cb-a0f8-dd860c35e26a"), model.objectId()); Assertions.assertEquals(AadObjectType.USER, model.objectType()); Assertions.assertEquals(357365351, model.maxDegreeOfParallelismPerJob()); Assertions.assertEquals(1487439384, model.minPriorityPerJob()); diff --git a/sdk/datalakeanalytics/azure-resourcemanager-datalakeanalytics/src/test/java/com/azure/resourcemanager/datalakeanalytics/generated/CreateOrUpdateComputePolicyPropertiesTests.java b/sdk/datalakeanalytics/azure-resourcemanager-datalakeanalytics/src/test/java/com/azure/resourcemanager/datalakeanalytics/generated/CreateOrUpdateComputePolicyPropertiesTests.java index 523c959c622a..b55a8963acee 100644 --- a/sdk/datalakeanalytics/azure-resourcemanager-datalakeanalytics/src/test/java/com/azure/resourcemanager/datalakeanalytics/generated/CreateOrUpdateComputePolicyPropertiesTests.java +++ b/sdk/datalakeanalytics/azure-resourcemanager-datalakeanalytics/src/test/java/com/azure/resourcemanager/datalakeanalytics/generated/CreateOrUpdateComputePolicyPropertiesTests.java @@ -14,9 +14,9 @@ public final class CreateOrUpdateComputePolicyPropertiesTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { CreateOrUpdateComputePolicyProperties model = BinaryData.fromString( - "{\"objectId\":\"3b9ccca9-8c65-46f0-bd1c-c5d41fbc7ce3\",\"objectType\":\"ServicePrincipal\",\"maxDegreeOfParallelismPerJob\":720964194,\"minPriorityPerJob\":1574404612}") + "{\"objectId\":\"0a61cb3a-73b2-4e87-a9d5-b1ad1e22d2db\",\"objectType\":\"ServicePrincipal\",\"maxDegreeOfParallelismPerJob\":720964194,\"minPriorityPerJob\":1574404612}") .toObject(CreateOrUpdateComputePolicyProperties.class); - Assertions.assertEquals(UUID.fromString("3b9ccca9-8c65-46f0-bd1c-c5d41fbc7ce3"), model.objectId()); + Assertions.assertEquals(UUID.fromString("0a61cb3a-73b2-4e87-a9d5-b1ad1e22d2db"), model.objectId()); Assertions.assertEquals(AadObjectType.SERVICE_PRINCIPAL, model.objectType()); Assertions.assertEquals(720964194, model.maxDegreeOfParallelismPerJob()); Assertions.assertEquals(1574404612, model.minPriorityPerJob()); @@ -25,12 +25,12 @@ public void testDeserialize() throws Exception { @org.junit.jupiter.api.Test public void testSerialize() throws Exception { CreateOrUpdateComputePolicyProperties model = new CreateOrUpdateComputePolicyProperties() - .withObjectId(UUID.fromString("3b9ccca9-8c65-46f0-bd1c-c5d41fbc7ce3")) + .withObjectId(UUID.fromString("0a61cb3a-73b2-4e87-a9d5-b1ad1e22d2db")) .withObjectType(AadObjectType.SERVICE_PRINCIPAL) .withMaxDegreeOfParallelismPerJob(720964194) .withMinPriorityPerJob(1574404612); model = BinaryData.fromObject(model).toObject(CreateOrUpdateComputePolicyProperties.class); - Assertions.assertEquals(UUID.fromString("3b9ccca9-8c65-46f0-bd1c-c5d41fbc7ce3"), model.objectId()); + Assertions.assertEquals(UUID.fromString("0a61cb3a-73b2-4e87-a9d5-b1ad1e22d2db"), model.objectId()); Assertions.assertEquals(AadObjectType.SERVICE_PRINCIPAL, model.objectType()); Assertions.assertEquals(720964194, model.maxDegreeOfParallelismPerJob()); Assertions.assertEquals(1574404612, model.minPriorityPerJob()); diff --git a/sdk/datalakeanalytics/azure-resourcemanager-datalakeanalytics/src/test/java/com/azure/resourcemanager/datalakeanalytics/generated/DataLakeAnalyticsAccountBasicInnerTests.java b/sdk/datalakeanalytics/azure-resourcemanager-datalakeanalytics/src/test/java/com/azure/resourcemanager/datalakeanalytics/generated/DataLakeAnalyticsAccountBasicInnerTests.java index 0189f0ac8738..3ecc958bf56a 100644 --- a/sdk/datalakeanalytics/azure-resourcemanager-datalakeanalytics/src/test/java/com/azure/resourcemanager/datalakeanalytics/generated/DataLakeAnalyticsAccountBasicInnerTests.java +++ b/sdk/datalakeanalytics/azure-resourcemanager-datalakeanalytics/src/test/java/com/azure/resourcemanager/datalakeanalytics/generated/DataLakeAnalyticsAccountBasicInnerTests.java @@ -14,7 +14,7 @@ public final class DataLakeAnalyticsAccountBasicInnerTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { DataLakeAnalyticsAccountBasicInner model = BinaryData.fromString( - "{\"properties\":{\"accountId\":\"6ce7db1e-b9c8-4126-8bab-83b99199c40e\",\"provisioningState\":\"Patching\",\"state\":\"Active\",\"creationTime\":\"2021-04-18T20:42:54Z\",\"lastModifiedTime\":\"2021-01-26T06:35:32Z\",\"endpoint\":\"xqhabi\"},\"location\":\"pikxwczbyscnpqxu\",\"tags\":{\"n\":\"y\"},\"id\":\"wby\",\"name\":\"rkxvdum\",\"type\":\"grtfwvu\"}") + "{\"properties\":{\"accountId\":\"466c7186-3429-4985-8e7d-c7604c5a7a79\",\"provisioningState\":\"Patching\",\"state\":\"Active\",\"creationTime\":\"2021-04-18T20:42:54Z\",\"lastModifiedTime\":\"2021-01-26T06:35:32Z\",\"endpoint\":\"xqhabi\"},\"location\":\"pikxwczbyscnpqxu\",\"tags\":{\"n\":\"y\"},\"id\":\"wby\",\"name\":\"rkxvdum\",\"type\":\"grtfwvu\"}") .toObject(DataLakeAnalyticsAccountBasicInner.class); Assertions.assertEquals("pikxwczbyscnpqxu", model.location()); Assertions.assertEquals("y", model.tags().get("n")); diff --git a/sdk/datalakeanalytics/azure-resourcemanager-datalakeanalytics/src/test/java/com/azure/resourcemanager/datalakeanalytics/generated/DataLakeAnalyticsAccountListResultTests.java b/sdk/datalakeanalytics/azure-resourcemanager-datalakeanalytics/src/test/java/com/azure/resourcemanager/datalakeanalytics/generated/DataLakeAnalyticsAccountListResultTests.java index 8af504bbb0b8..e1fc312ccefd 100644 --- a/sdk/datalakeanalytics/azure-resourcemanager-datalakeanalytics/src/test/java/com/azure/resourcemanager/datalakeanalytics/generated/DataLakeAnalyticsAccountListResultTests.java +++ b/sdk/datalakeanalytics/azure-resourcemanager-datalakeanalytics/src/test/java/com/azure/resourcemanager/datalakeanalytics/generated/DataLakeAnalyticsAccountListResultTests.java @@ -11,7 +11,7 @@ public final class DataLakeAnalyticsAccountListResultTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { DataLakeAnalyticsAccountListResult model = BinaryData.fromString( - "{\"value\":[{\"properties\":{\"accountId\":\"27f03b24-167f-44ee-8c8b-5c9164913d20\",\"provisioningState\":\"Running\",\"state\":\"Suspended\",\"creationTime\":\"2021-06-18T18:26:01Z\",\"lastModifiedTime\":\"2021-08-02T07:01:22Z\",\"endpoint\":\"zm\"},\"location\":\"hmtzopbsphrup\",\"tags\":{\"ycm\":\"sybbejhph\",\"htbmuf\":\"xaobhdxbmtqioqjz\",\"rxybqsoq\":\"ownoizhw\"},\"id\":\"jgkdmbpazlobcu\",\"name\":\"pdznrbtcqqjnqgl\",\"type\":\"qgn\"},{\"properties\":{\"accountId\":\"de033737-7584-4775-8174-5fb2b01e7612\",\"provisioningState\":\"Running\",\"state\":\"Suspended\",\"creationTime\":\"2021-06-05T07:25:28Z\",\"lastModifiedTime\":\"2021-11-19T20:38:19Z\",\"endpoint\":\"esaagdfm\"},\"location\":\"lzl\",\"tags\":{\"vktsizntocipao\":\"rifkwm\",\"poyfdkfogkn\":\"ajpsquc\",\"eqsrdeupewnwreit\":\"gjofjd\"},\"id\":\"zyf\",\"name\":\"usarhmofc\",\"type\":\"hs\"},{\"properties\":{\"accountId\":\"ba8cdbd1-4560-470b-9549-85e5948f2538\",\"provisioningState\":\"Undeleting\",\"state\":\"Suspended\",\"creationTime\":\"2021-06-13T04:20:54Z\",\"lastModifiedTime\":\"2021-10-06T17:56:05Z\",\"endpoint\":\"kuksjtxukcdm\"},\"location\":\"arcryuanzwuxzdxt\",\"tags\":{\"u\":\"lhmwhfpmrqobm\"},\"id\":\"knryrtihfxtij\",\"name\":\"pzvgnwzsymglzufc\",\"type\":\"zk\"}],\"count\":1162765594,\"nextLink\":\"ihanuf\"}") + "{\"value\":[{\"properties\":{\"accountId\":\"9b20e6e2-9ea2-4971-89f5-a038ec0b7bf9\",\"provisioningState\":\"Running\",\"state\":\"Suspended\",\"creationTime\":\"2021-06-18T18:26:01Z\",\"lastModifiedTime\":\"2021-08-02T07:01:22Z\",\"endpoint\":\"zm\"},\"location\":\"hmtzopbsphrup\",\"tags\":{\"ycm\":\"sybbejhph\",\"htbmuf\":\"xaobhdxbmtqioqjz\",\"rxybqsoq\":\"ownoizhw\"},\"id\":\"jgkdmbpazlobcu\",\"name\":\"pdznrbtcqqjnqgl\",\"type\":\"qgn\"},{\"properties\":{\"accountId\":\"2879b568-f8c4-494b-9e6e-d6f3e3cdd9a0\",\"provisioningState\":\"Running\",\"state\":\"Suspended\",\"creationTime\":\"2021-06-05T07:25:28Z\",\"lastModifiedTime\":\"2021-11-19T20:38:19Z\",\"endpoint\":\"esaagdfm\"},\"location\":\"lzl\",\"tags\":{\"vktsizntocipao\":\"rifkwm\",\"poyfdkfogkn\":\"ajpsquc\",\"eqsrdeupewnwreit\":\"gjofjd\"},\"id\":\"zyf\",\"name\":\"usarhmofc\",\"type\":\"hs\"},{\"properties\":{\"accountId\":\"863bf573-0aa8-4e84-bd0b-b7cdf730b56f\",\"provisioningState\":\"Undeleting\",\"state\":\"Suspended\",\"creationTime\":\"2021-06-13T04:20:54Z\",\"lastModifiedTime\":\"2021-10-06T17:56:05Z\",\"endpoint\":\"kuksjtxukcdm\"},\"location\":\"arcryuanzwuxzdxt\",\"tags\":{\"u\":\"lhmwhfpmrqobm\"},\"id\":\"knryrtihfxtij\",\"name\":\"pzvgnwzsymglzufc\",\"type\":\"zk\"}],\"count\":1162765594,\"nextLink\":\"ihanuf\"}") .toObject(DataLakeAnalyticsAccountListResult.class); } diff --git a/sdk/datalakeanalytics/azure-resourcemanager-datalakeanalytics/src/test/java/com/azure/resourcemanager/datalakeanalytics/generated/DataLakeAnalyticsAccountPropertiesBasicTests.java b/sdk/datalakeanalytics/azure-resourcemanager-datalakeanalytics/src/test/java/com/azure/resourcemanager/datalakeanalytics/generated/DataLakeAnalyticsAccountPropertiesBasicTests.java index 2e71a58a25d8..3ad77527eef1 100644 --- a/sdk/datalakeanalytics/azure-resourcemanager-datalakeanalytics/src/test/java/com/azure/resourcemanager/datalakeanalytics/generated/DataLakeAnalyticsAccountPropertiesBasicTests.java +++ b/sdk/datalakeanalytics/azure-resourcemanager-datalakeanalytics/src/test/java/com/azure/resourcemanager/datalakeanalytics/generated/DataLakeAnalyticsAccountPropertiesBasicTests.java @@ -11,7 +11,7 @@ public final class DataLakeAnalyticsAccountPropertiesBasicTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { DataLakeAnalyticsAccountPropertiesBasic model = BinaryData.fromString( - "{\"accountId\":\"36f23310-9a91-4fa3-922a-85772bd768c3\",\"provisioningState\":\"Deleted\",\"state\":\"Active\",\"creationTime\":\"2021-10-29T03:26:02Z\",\"lastModifiedTime\":\"2021-06-07T10:34:36Z\",\"endpoint\":\"s\"}") + "{\"accountId\":\"5f4fb343-f48b-4cdf-a094-ed30e54cd138\",\"provisioningState\":\"Deleted\",\"state\":\"Active\",\"creationTime\":\"2021-10-29T03:26:02Z\",\"lastModifiedTime\":\"2021-06-07T10:34:36Z\",\"endpoint\":\"s\"}") .toObject(DataLakeAnalyticsAccountPropertiesBasic.class); } diff --git a/sdk/datalakeanalytics/azure-resourcemanager-datalakeanalytics/src/test/java/com/azure/resourcemanager/datalakeanalytics/generated/LocationsGetCapabilityWithResponseMockTests.java b/sdk/datalakeanalytics/azure-resourcemanager-datalakeanalytics/src/test/java/com/azure/resourcemanager/datalakeanalytics/generated/LocationsGetCapabilityWithResponseMockTests.java index 6be5e3acccdc..bb080f61d5a3 100644 --- a/sdk/datalakeanalytics/azure-resourcemanager-datalakeanalytics/src/test/java/com/azure/resourcemanager/datalakeanalytics/generated/LocationsGetCapabilityWithResponseMockTests.java +++ b/sdk/datalakeanalytics/azure-resourcemanager-datalakeanalytics/src/test/java/com/azure/resourcemanager/datalakeanalytics/generated/LocationsGetCapabilityWithResponseMockTests.java @@ -20,7 +20,7 @@ public final class LocationsGetCapabilityWithResponseMockTests { @Test public void testGetCapabilityWithResponse() throws Exception { String responseStr - = "{\"subscriptionId\":\"adf7d0a9-16ab-4add-8dbd-7ffebcae3459\",\"state\":\"Registered\",\"maxAccountCount\":1873384596,\"accountCount\":904154901,\"migrationState\":true}"; + = "{\"subscriptionId\":\"2c924fc4-a01a-4dbf-a434-2c4e4f3f757a\",\"state\":\"Registered\",\"maxAccountCount\":1873384596,\"accountCount\":904154901,\"migrationState\":true}"; HttpClient httpClient = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8))); diff --git a/sdk/datalakeanalytics/azure-resourcemanager-datalakeanalytics/src/test/java/com/azure/resourcemanager/datalakeanalytics/generated/UpdateComputePolicyParametersTests.java b/sdk/datalakeanalytics/azure-resourcemanager-datalakeanalytics/src/test/java/com/azure/resourcemanager/datalakeanalytics/generated/UpdateComputePolicyParametersTests.java index 2f54cc35c6aa..00f2c0001714 100644 --- a/sdk/datalakeanalytics/azure-resourcemanager-datalakeanalytics/src/test/java/com/azure/resourcemanager/datalakeanalytics/generated/UpdateComputePolicyParametersTests.java +++ b/sdk/datalakeanalytics/azure-resourcemanager-datalakeanalytics/src/test/java/com/azure/resourcemanager/datalakeanalytics/generated/UpdateComputePolicyParametersTests.java @@ -14,9 +14,9 @@ public final class UpdateComputePolicyParametersTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { UpdateComputePolicyParameters model = BinaryData.fromString( - "{\"properties\":{\"objectId\":\"c5a11a74-9eb1-4bae-a48c-158b03973a90\",\"objectType\":\"ServicePrincipal\",\"maxDegreeOfParallelismPerJob\":2024670267,\"minPriorityPerJob\":2047177811}}") + "{\"properties\":{\"objectId\":\"15300d91-c4fb-4316-8194-dece72989a49\",\"objectType\":\"ServicePrincipal\",\"maxDegreeOfParallelismPerJob\":2024670267,\"minPriorityPerJob\":2047177811}}") .toObject(UpdateComputePolicyParameters.class); - Assertions.assertEquals(UUID.fromString("c5a11a74-9eb1-4bae-a48c-158b03973a90"), model.objectId()); + Assertions.assertEquals(UUID.fromString("15300d91-c4fb-4316-8194-dece72989a49"), model.objectId()); Assertions.assertEquals(AadObjectType.SERVICE_PRINCIPAL, model.objectType()); Assertions.assertEquals(2024670267, model.maxDegreeOfParallelismPerJob()); Assertions.assertEquals(2047177811, model.minPriorityPerJob()); @@ -25,12 +25,12 @@ public void testDeserialize() throws Exception { @org.junit.jupiter.api.Test public void testSerialize() throws Exception { UpdateComputePolicyParameters model - = new UpdateComputePolicyParameters().withObjectId(UUID.fromString("c5a11a74-9eb1-4bae-a48c-158b03973a90")) + = new UpdateComputePolicyParameters().withObjectId(UUID.fromString("15300d91-c4fb-4316-8194-dece72989a49")) .withObjectType(AadObjectType.SERVICE_PRINCIPAL) .withMaxDegreeOfParallelismPerJob(2024670267) .withMinPriorityPerJob(2047177811); model = BinaryData.fromObject(model).toObject(UpdateComputePolicyParameters.class); - Assertions.assertEquals(UUID.fromString("c5a11a74-9eb1-4bae-a48c-158b03973a90"), model.objectId()); + Assertions.assertEquals(UUID.fromString("15300d91-c4fb-4316-8194-dece72989a49"), model.objectId()); Assertions.assertEquals(AadObjectType.SERVICE_PRINCIPAL, model.objectType()); Assertions.assertEquals(2024670267, model.maxDegreeOfParallelismPerJob()); Assertions.assertEquals(2047177811, model.minPriorityPerJob()); diff --git a/sdk/datalakeanalytics/azure-resourcemanager-datalakeanalytics/src/test/java/com/azure/resourcemanager/datalakeanalytics/generated/UpdateComputePolicyPropertiesTests.java b/sdk/datalakeanalytics/azure-resourcemanager-datalakeanalytics/src/test/java/com/azure/resourcemanager/datalakeanalytics/generated/UpdateComputePolicyPropertiesTests.java index 76b37de55609..25b30e1b7073 100644 --- a/sdk/datalakeanalytics/azure-resourcemanager-datalakeanalytics/src/test/java/com/azure/resourcemanager/datalakeanalytics/generated/UpdateComputePolicyPropertiesTests.java +++ b/sdk/datalakeanalytics/azure-resourcemanager-datalakeanalytics/src/test/java/com/azure/resourcemanager/datalakeanalytics/generated/UpdateComputePolicyPropertiesTests.java @@ -14,9 +14,9 @@ public final class UpdateComputePolicyPropertiesTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { UpdateComputePolicyProperties model = BinaryData.fromString( - "{\"objectId\":\"c53b9c96-2556-43bc-ab03-928796e8803d\",\"objectType\":\"Group\",\"maxDegreeOfParallelismPerJob\":445329815,\"minPriorityPerJob\":668778225}") + "{\"objectId\":\"d161c37d-3409-4e04-871f-49c51e46ee9a\",\"objectType\":\"Group\",\"maxDegreeOfParallelismPerJob\":445329815,\"minPriorityPerJob\":668778225}") .toObject(UpdateComputePolicyProperties.class); - Assertions.assertEquals(UUID.fromString("c53b9c96-2556-43bc-ab03-928796e8803d"), model.objectId()); + Assertions.assertEquals(UUID.fromString("d161c37d-3409-4e04-871f-49c51e46ee9a"), model.objectId()); Assertions.assertEquals(AadObjectType.GROUP, model.objectType()); Assertions.assertEquals(445329815, model.maxDegreeOfParallelismPerJob()); Assertions.assertEquals(668778225, model.minPriorityPerJob()); @@ -25,12 +25,12 @@ public void testDeserialize() throws Exception { @org.junit.jupiter.api.Test public void testSerialize() throws Exception { UpdateComputePolicyProperties model - = new UpdateComputePolicyProperties().withObjectId(UUID.fromString("c53b9c96-2556-43bc-ab03-928796e8803d")) + = new UpdateComputePolicyProperties().withObjectId(UUID.fromString("d161c37d-3409-4e04-871f-49c51e46ee9a")) .withObjectType(AadObjectType.GROUP) .withMaxDegreeOfParallelismPerJob(445329815) .withMinPriorityPerJob(668778225); model = BinaryData.fromObject(model).toObject(UpdateComputePolicyProperties.class); - Assertions.assertEquals(UUID.fromString("c53b9c96-2556-43bc-ab03-928796e8803d"), model.objectId()); + Assertions.assertEquals(UUID.fromString("d161c37d-3409-4e04-871f-49c51e46ee9a"), model.objectId()); Assertions.assertEquals(AadObjectType.GROUP, model.objectType()); Assertions.assertEquals(445329815, model.maxDegreeOfParallelismPerJob()); Assertions.assertEquals(668778225, model.minPriorityPerJob()); diff --git a/sdk/datalakeanalytics/azure-resourcemanager-datalakeanalytics/src/test/java/com/azure/resourcemanager/datalakeanalytics/generated/UpdateComputePolicyWithAccountParametersTests.java b/sdk/datalakeanalytics/azure-resourcemanager-datalakeanalytics/src/test/java/com/azure/resourcemanager/datalakeanalytics/generated/UpdateComputePolicyWithAccountParametersTests.java index ab407b003fd4..d8c6a0678d55 100644 --- a/sdk/datalakeanalytics/azure-resourcemanager-datalakeanalytics/src/test/java/com/azure/resourcemanager/datalakeanalytics/generated/UpdateComputePolicyWithAccountParametersTests.java +++ b/sdk/datalakeanalytics/azure-resourcemanager-datalakeanalytics/src/test/java/com/azure/resourcemanager/datalakeanalytics/generated/UpdateComputePolicyWithAccountParametersTests.java @@ -14,10 +14,10 @@ public final class UpdateComputePolicyWithAccountParametersTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { UpdateComputePolicyWithAccountParameters model = BinaryData.fromString( - "{\"name\":\"watkpnpulexxb\",\"properties\":{\"objectId\":\"3b3cf44b-2756-41d2-988b-13899ccaeb20\",\"objectType\":\"ServicePrincipal\",\"maxDegreeOfParallelismPerJob\":1520989721,\"minPriorityPerJob\":223654021}}") + "{\"name\":\"watkpnpulexxb\",\"properties\":{\"objectId\":\"22decaeb-de94-400d-84e5-5bcdfcd28ae5\",\"objectType\":\"ServicePrincipal\",\"maxDegreeOfParallelismPerJob\":1520989721,\"minPriorityPerJob\":223654021}}") .toObject(UpdateComputePolicyWithAccountParameters.class); Assertions.assertEquals("watkpnpulexxb", model.name()); - Assertions.assertEquals(UUID.fromString("3b3cf44b-2756-41d2-988b-13899ccaeb20"), model.objectId()); + Assertions.assertEquals(UUID.fromString("22decaeb-de94-400d-84e5-5bcdfcd28ae5"), model.objectId()); Assertions.assertEquals(AadObjectType.SERVICE_PRINCIPAL, model.objectType()); Assertions.assertEquals(1520989721, model.maxDegreeOfParallelismPerJob()); Assertions.assertEquals(223654021, model.minPriorityPerJob()); @@ -27,13 +27,13 @@ public void testDeserialize() throws Exception { public void testSerialize() throws Exception { UpdateComputePolicyWithAccountParameters model = new UpdateComputePolicyWithAccountParameters().withName("watkpnpulexxb") - .withObjectId(UUID.fromString("3b3cf44b-2756-41d2-988b-13899ccaeb20")) + .withObjectId(UUID.fromString("22decaeb-de94-400d-84e5-5bcdfcd28ae5")) .withObjectType(AadObjectType.SERVICE_PRINCIPAL) .withMaxDegreeOfParallelismPerJob(1520989721) .withMinPriorityPerJob(223654021); model = BinaryData.fromObject(model).toObject(UpdateComputePolicyWithAccountParameters.class); Assertions.assertEquals("watkpnpulexxb", model.name()); - Assertions.assertEquals(UUID.fromString("3b3cf44b-2756-41d2-988b-13899ccaeb20"), model.objectId()); + Assertions.assertEquals(UUID.fromString("22decaeb-de94-400d-84e5-5bcdfcd28ae5"), model.objectId()); Assertions.assertEquals(AadObjectType.SERVICE_PRINCIPAL, model.objectType()); Assertions.assertEquals(1520989721, model.maxDegreeOfParallelismPerJob()); Assertions.assertEquals(223654021, model.minPriorityPerJob());