diff --git a/sdk/chaos/azure-resourcemanager-chaos/CHANGELOG.md b/sdk/chaos/azure-resourcemanager-chaos/CHANGELOG.md index 774da2fa2eee..e481f8b1edbb 100644 --- a/sdk/chaos/azure-resourcemanager-chaos/CHANGELOG.md +++ b/sdk/chaos/azure-resourcemanager-chaos/CHANGELOG.md @@ -1,14 +1,348 @@ # Release History -## 1.4.0-beta.1 (Unreleased) +## 1.4.0-beta.1 (2026-05-06) -### Features Added +- Azure Resource Manager Chaos client library for Java. This package contains Microsoft Azure SDK for Chaos Management SDK. Chaos Management Client. Package api-version 2025-01-01. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt). +- Azure Resource Manager Chaos client library for Java. This package contains Microsoft Azure SDK for Chaos Management SDK. Chaos Management Client. Package api-version 2026-05-01-preview. 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.ChaosTargetListSelector` was modified + +* `validate()` was removed + +#### `models.OperationDisplay` was modified + +* `validate()` was removed + +#### `models.ChaosTargetSimpleFilterParameters` was modified + +* `validate()` was removed + +#### `models.ResourceIdentity` was modified + +* `validate()` was removed + +#### `models.ContinuousAction` was modified + +* `validate()` was removed + +#### `models.ChaosExperimentBranch` was modified + +* `validate()` was removed + +#### `models.ChaosExperimentStep` was modified + +* `validate()` was removed + +#### `models.ChaosExperimentAction` was modified + +* `validate()` was removed + +#### `models.DiscreteAction` was modified + +* `validate()` was removed + +#### `models.ActionStatus` was modified + +* `validate()` was removed + +#### `models.ExperimentExecutionActionTargetDetailsProperties` was modified + +* `validate()` was removed + +#### `models.ExperimentUpdate` was modified + +* `validate()` was removed + +#### `models.UserAssignedIdentity` was modified + +* `validate()` was removed + +#### `models.DelayAction` was modified + +* `validate()` was removed + +#### `models.ChaosTargetQuerySelector` was modified + +* `validate()` was removed + +#### `models.ExperimentExecutionDetailsPropertiesRunInformation` was modified + +* `validate()` was removed + +#### `models.StepStatus` was modified + +* `validate()` was removed + +#### `models.CapabilityTypePropertiesRuntimeProperties` was modified + +* `validate()` was removed + +#### `models.ExperimentExecutionActionTargetDetailsError` was modified + +* `validate()` was removed + +#### `models.KeyValuePair` was modified + +* `validate()` was removed + +#### `models.ChaosTargetFilter` was modified + +* `validate()` was removed + +#### `models.ChaosTargetSimpleFilter` was modified + +* `validate()` was removed + +#### `models.BranchStatus` was modified + +* `validate()` was removed + +#### `models.ChaosTargetSelector` was modified + +* `validate()` was removed + +#### `models.TargetReference` was modified + +* `validate()` was removed + +### Features Added + +* `models.ScenarioConfigurationProperties` was added + +* `models.ScenarioRunsGetHeaders` was added + +* `models.ScenarioRuns` was added + +* `models.ConfigurationExclusions` was added + +* `models.PrivateAccessProperties` was added + +* `models.PrivateEndpointConnectionProperties` was added + +* `models.ResourceStateError` was added + +* `models.PrivateAccess` was added + +* `models.ScenarioRun` was added + +* `models.RunAfterBehavior` was added + +* `models.ActionSupportedTargetType` was added + +* `models.ScenarioConfigurationsExecuteResponse` was added + +* `models.ActionLifecycle` was added + +* `models.PrivateEndpointConnection` was added + +* `models.Scenarios` was added + +* `models.PrivateEndpointServiceConnectionStatus` was added + +* `models.ScenarioRunsCancelResponse` was added + +* `models.ScenarioProperties` was added + +* `models.ScenarioRunProperties` was added + +* `models.ScenarioParameter` was added + +* `models.ExternalResource` was added + +* `models.ActionDependencyType` was added + +* `models.Scenario$DefinitionStages` was added + +* `models.ScenarioEvaluationResultItem` was added + +* `models.RecommendationStatus` was added + +* `models.ScenarioRunsGetResponse` was added + +* `models.CustomerDataStorageProperties` was added + +* `models.ParameterType` was added + +* `models.EntraIdentity` was added + +* `models.PrivateLinkResource` was added + +* `models.WorkspaceEvaluationProperties` was added + +* `models.FixResourcePermissionsRequest` was added + +* `models.PermissionsFixSummary` was added + +* `models.PrivateAccess$Update` was added + +* `models.ZoneResolutionInfo` was added + +* `models.ScenarioErrors` was added + +* `models.DiscoveredResources` was added + +* `models.PermissionsFix` was added + +* `models.WorkspaceProperties` was added + +* `models.RoleAssignmentStatus` was added + +* `models.Workspace$Update` was added + +* `models.Workspace$Definition` was added + +* `models.PublicNetworkAccessOption` was added + +* `models.ActionDependency` was added + +* `models.PermissionError` was added + +* `models.ZoneResolutionMode` was added + +* `models.Recommendation` was added + +* `models.Validation` was added + +* `models.ConfigurationFilters` was added + +* `models.WorkspaceEvaluationStatus` was added + +* `models.ScenarioConfiguration` was added + +* `models.Scenario$UpdateStages` was added + +* `models.PrivateAccessPatch` was added + +* `models.PrivateAccess$DefinitionStages` was added + +* `models.Workspace` was added + +* `models.ScenarioConfiguration$UpdateStages` was added + +* `models.Actions` was added + +* `models.PermissionsFixState` was added + +* `models.ActionPropertiesParametersSchema` was added + +* `models.PrivateLinkResourceProperties` was added + +* `models.Scenario` was added + +* `models.PrivateAccess$Definition` was added + +* `models.PrivateLinkServiceConnectionState` was added + +* `models.ScenarioSummaryState` was added + +* `models.RoleAssignmentError` was added + +* `models.ScenarioConfiguration$Definition` was added + +* `models.PrivateEndpoint` was added + +* `models.DiscoveredResourceProperties` was added + +* `models.Action` was added + +* `models.ScenarioRunResource` was added + +* `models.ScenarioAction` was added + +* `models.ValidationProperties` was added + +* `models.Workspace$DefinitionStages` was added + +* `models.PrivateAccess$UpdateStages` was added + +* `models.ZoneResolutionMapping` was added + +* `models.ScenarioConfiguration$DefinitionStages` was added + +* `models.WorkspaceUpdate` was added + +* `models.OperationError` was added + +* `models.PrivateAccesses` was added + +* `models.PhysicalToLogicalZoneMapping` was added + +* `models.ActionVersion` was added + +* `models.ActionVersions` was added + +* `models.PrivateLinkResourceListResult` was added + +* `models.Scenario$Update` was added + +* `models.PermissionsFixProperties` was added + +* `models.ActionKind` was added + +* `models.WorkspaceEvaluation` was added + +* `models.DiscoveredResource` was added + +* `models.Workspaces` was added + +* `models.ScenarioValidationState` was added + +* `models.Scenario$Definition` was added + +* `models.ScenarioConfiguration$Update` was added + +* `models.ScenarioConfigurations` was added + +* `models.ScenarioRunsCancelHeaders` was added + +* `models.ScenarioRunState` was added + +* `models.ScenarioRunSummaryAction` was added + +* `models.Workspace$UpdateStages` was added + +* `models.RoleAssignmentResult` was added + +* `models.ScenarioConfigurationsExecuteHeaders` was added + +* `models.RunAfter` was added + +#### `models.ExperimentExecution` was modified + +* `provisioningState()` was added + +#### `models.ProvisioningState` was modified + +* `RUNNING` was added + +#### `models.Experiment` was modified + +* `customerDataStorage()` was added + +#### `models.ExperimentExecutionDetails` was modified + +* `provisioningState()` was added + +#### `models.Experiment$Definition` was modified + +* `withCustomerDataStorage(models.CustomerDataStorageProperties)` was added + +#### `models.Capability` was modified + +* `provisioningState()` was added + +#### `ChaosManager` was modified -### Other Changes +* `scenarioConfigurations()` was added +* `discoveredResources()` was added +* `scenarioRuns()` was added +* `actionVersions()` was added +* `scenarios()` was added +* `privateAccesses()` was added +* `actions()` was added +* `workspaces()` was added ## 1.3.0 (2025-05-15) diff --git a/sdk/chaos/azure-resourcemanager-chaos/README.md b/sdk/chaos/azure-resourcemanager-chaos/README.md index 00b098673d41..16515b4226da 100644 --- a/sdk/chaos/azure-resourcemanager-chaos/README.md +++ b/sdk/chaos/azure-resourcemanager-chaos/README.md @@ -2,7 +2,7 @@ Azure Resource Manager Chaos client library for Java. -This package contains Microsoft Azure SDK for Chaos Management SDK. Chaos Management Client. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt). +This package contains Microsoft Azure SDK for Chaos Management SDK. Chaos Management Client. Package api-version 2025-01-01. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt). ## We'd love to hear your feedback @@ -32,7 +32,7 @@ Various documentation is available to help you get started com.azure.resourcemanager azure-resourcemanager-chaos - 1.3.0 + 1.4.0-beta.1 ``` [//]: # ({x-version-update-end}) diff --git a/sdk/chaos/azure-resourcemanager-chaos/pom.xml b/sdk/chaos/azure-resourcemanager-chaos/pom.xml index cf31a7d27cf0..0bc47f77c572 100644 --- a/sdk/chaos/azure-resourcemanager-chaos/pom.xml +++ b/sdk/chaos/azure-resourcemanager-chaos/pom.xml @@ -3,7 +3,7 @@ ~ Licensed under the MIT License. ~ Code generated by Microsoft (R) TypeSpec Code Generator. --> - + 4.0.0 com.azure @@ -18,7 +18,7 @@ jar Microsoft Azure SDK for Chaos Management - This package contains Microsoft Azure SDK for Chaos Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. Chaos Management Client. + This package contains Microsoft Azure SDK for Chaos Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. Chaos Management Client. Package api-version 2025-01-01. https://github.com/Azure/azure-sdk-for-java diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/main/java/com/azure/resourcemanager/chaos/models/KeyValuePair.java b/sdk/chaos/azure-resourcemanager-chaos/src/main/java/com/azure/resourcemanager/chaos/models/KeyValuePair.java index 4f5bf49c06ec..b630bbd3b664 100644 --- a/sdk/chaos/azure-resourcemanager-chaos/src/main/java/com/azure/resourcemanager/chaos/models/KeyValuePair.java +++ b/sdk/chaos/azure-resourcemanager-chaos/src/main/java/com/azure/resourcemanager/chaos/models/KeyValuePair.java @@ -12,7 +12,7 @@ import java.io.IOException; /** - * A map to describe the settings of an action. + * A map used to describe parameters for actions or configurations. */ @Fluent public final class KeyValuePair implements JsonSerializable { diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/CapabilitiesCreateOrUpdateWithResponseMockTests.java b/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/CapabilitiesCreateOrUpdateWithResponseMockTests.java index 8a07de131ff2..f8cd209cd23c 100644 --- a/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/CapabilitiesCreateOrUpdateWithResponseMockTests.java +++ b/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/CapabilitiesCreateOrUpdateWithResponseMockTests.java @@ -21,7 +21,7 @@ public final class CapabilitiesCreateOrUpdateWithResponseMockTests { @Test public void testCreateOrUpdateWithResponse() throws Exception { String responseStr - = "{\"properties\":{\"publisher\":\"jmqlgkfb\",\"targetType\":\"doaon\",\"description\":\"jcntuj\",\"parametersSchema\":\"c\",\"urn\":\"df\"},\"id\":\"waezkojvd\",\"name\":\"pzfoqoui\",\"type\":\"ybxarzgszu\"}"; + = "{\"properties\":{\"publisher\":\"cwsobqwcs\",\"targetType\":\"nwdcfhu\",\"description\":\"dpfuvg\",\"parametersSchema\":\"bjj\",\"urn\":\"nvxbvt\"},\"id\":\"dut\",\"name\":\"cormr\",\"type\":\"xqtvcofu\"}"; HttpClient httpClient = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8))); @@ -31,8 +31,8 @@ public void testCreateOrUpdateWithResponse() throws Exception { new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD)); Capability response = manager.capabilities() - .createOrUpdateWithResponse("lxorjaltolmncws", "bqwcsdbnwdcf", "ucqdpfuvglsb", "jcanvxbvtvudut", "cormr", - "xqtvcofu", new CapabilityInner(), com.azure.core.util.Context.NONE) + .createOrUpdateWithResponse("r", "tiagx", "dszue", "psbzkfzbeyvpn", "icvi", "v", new CapabilityInner(), + com.azure.core.util.Context.NONE) .getValue(); } diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/CapabilitiesDeleteWithResponseMockTests.java b/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/CapabilitiesDeleteWithResponseMockTests.java index 944fd6ce5431..9a72710fc22a 100644 --- a/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/CapabilitiesDeleteWithResponseMockTests.java +++ b/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/CapabilitiesDeleteWithResponseMockTests.java @@ -28,8 +28,8 @@ public void testDeleteWithResponse() throws Exception { new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD)); manager.capabilities() - .deleteWithResponse("oxciqopidoamcio", "hkh", "zxkhnzbonlwnto", "gokdwbwhks", "zcmrvexztvb", - "qgsfraoyzkoow", com.azure.core.util.Context.NONE); + .deleteWithResponse("f", "vkg", "u", "gdknnqv", "aznqntoru", "sgsahmkycgr", + com.azure.core.util.Context.NONE); } } diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/CapabilitiesGetWithResponseMockTests.java b/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/CapabilitiesGetWithResponseMockTests.java index 58d6d5a30fa0..f252fcc1fd0a 100644 --- a/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/CapabilitiesGetWithResponseMockTests.java +++ b/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/CapabilitiesGetWithResponseMockTests.java @@ -20,7 +20,7 @@ public final class CapabilitiesGetWithResponseMockTests { @Test public void testGetWithResponse() throws Exception { String responseStr - = "{\"properties\":{\"publisher\":\"ervtiagxs\",\"targetType\":\"zuempsbzkf\",\"description\":\"eyvpnqicvinvkj\",\"parametersSchema\":\"dxrbuukzcle\",\"urn\":\"hmlwpaztzpo\"},\"id\":\"cckwyfzqwhxxbu\",\"name\":\"qa\",\"type\":\"zfeqztppri\"}"; + = "{\"properties\":{\"publisher\":\"patdooaojkniodko\",\"targetType\":\"bw\",\"description\":\"jhemms\",\"parametersSchema\":\"dkcrodt\",\"urn\":\"nfwjlfltkacjvefk\"},\"id\":\"foakgg\",\"name\":\"fpagaowpulp\",\"type\":\"blylsyxkqjnsj\"}"; HttpClient httpClient = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8))); @@ -30,8 +30,8 @@ public void testGetWithResponse() throws Exception { new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD)); Capability response = manager.capabilities() - .getWithResponse("ooaojkniodkooebw", "ujhemmsbvdkcrodt", "infwjlfltkacjve", "kdlfoa", "ggkfpagaowpul", - "qblylsyxkqj", com.azure.core.util.Context.NONE) + .getWithResponse("bpaxhexiilivpdt", "irqtdqoa", "oruzfgsquyfxrxx", "eptra", "xje", "wlwnwxuqlcv", + com.azure.core.util.Context.NONE) .getValue(); } diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/CapabilitiesListMockTests.java b/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/CapabilitiesListMockTests.java index f7c5860f1fd2..49c323cd0433 100644 --- a/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/CapabilitiesListMockTests.java +++ b/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/CapabilitiesListMockTests.java @@ -21,7 +21,7 @@ public final class CapabilitiesListMockTests { @Test public void testList() throws Exception { String responseStr - = "{\"value\":[{\"properties\":{\"publisher\":\"zev\",\"targetType\":\"hewpusdsttwv\",\"description\":\"vbbejdcng\",\"parametersSchema\":\"m\",\"urn\":\"kufgmj\"},\"id\":\"wr\",\"name\":\"grtwae\",\"type\":\"u\"}]}"; + = "{\"value\":[{\"properties\":{\"publisher\":\"jed\",\"targetType\":\"wwa\",\"description\":\"kojvd\",\"parametersSchema\":\"zfoqouicybxar\",\"urn\":\"szufoxciqopidoa\"},\"id\":\"iodhkhazxkhnz\",\"name\":\"onlwntoeg\",\"type\":\"kdwbwhkszz\"}]}"; HttpClient httpClient = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8))); @@ -31,7 +31,7 @@ public void testList() throws Exception { new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD)); PagedIterable response = manager.capabilities() - .list("lmnguxaw", "aldsy", "uximerqfobw", "znkbykutwpfhpagm", "r", "kdsnfdsdoakgtdl", + .list("uwjuetaeburuvdmo", "s", "zlxwabmqoefkifr", "tpuqujmq", "gkfbtndoaong", "jcntuj", com.azure.core.util.Context.NONE); } diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/CapabilityTypeInnerTests.java b/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/CapabilityTypeInnerTests.java index b21bf5958822..abcd8a69e18d 100644 --- a/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/CapabilityTypeInnerTests.java +++ b/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/CapabilityTypeInnerTests.java @@ -11,7 +11,7 @@ public final class CapabilityTypeInnerTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { CapabilityTypeInner model = BinaryData.fromString( - "{\"properties\":{\"publisher\":\"ppdsbdkvwrwj\",\"targetType\":\"usnhutje\",\"displayName\":\"mrldhu\",\"description\":\"zzd\",\"parametersSchema\":\"qxhocdgeablgphut\",\"urn\":\"ndv\",\"kind\":\"ozwyiftyhxhuro\",\"azureRbacActions\":[\"yxolniwp\",\"cukjf\",\"giawx\"],\"azureRbacDataActions\":[\"ypl\",\"ckbasyypndd\",\"sgcbac\",\"hejkotynqgou\"],\"requiredAzureRoleDefinitionIds\":[\"dlikwyqkgfgibma\",\"gakeqsr\"],\"runtimeProperties\":{\"kind\":\"zqqedq\"}},\"id\":\"bciqfouflm\",\"name\":\"nkzsmodmglou\",\"type\":\"pbkwtmu\"}") + "{\"properties\":{\"publisher\":\"jwnzlljfmp\",\"targetType\":\"ebvmgxsabkyqd\",\"displayName\":\"jitcjczdzevn\",\"description\":\"krwpdap\",\"parametersSchema\":\"sbdkvwr\",\"urn\":\"feusnhut\",\"kind\":\"ltmrldh\",\"azureRbacActions\":[\"zzd\"],\"azureRbacDataActions\":[\"xhocdgeablgphuti\",\"ndv\",\"aozwyiftyhxhu\",\"okftyxolniwpwcuk\"],\"requiredAzureRoleDefinitionIds\":[\"giawx\",\"lryplwckbasyy\",\"nddhsgcbacph\",\"jkot\"],\"runtimeProperties\":{\"kind\":\"gou\"}},\"id\":\"ndlik\",\"name\":\"yqkgfg\",\"type\":\"bmadgak\"}") .toObject(CapabilityTypeInner.class); } } diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/CapabilityTypeListResultTests.java b/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/CapabilityTypeListResultTests.java index 0bd9806c5690..52a1957074c7 100644 --- a/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/CapabilityTypeListResultTests.java +++ b/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/CapabilityTypeListResultTests.java @@ -12,8 +12,8 @@ public final class CapabilityTypeListResultTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { CapabilityTypeListResult model = BinaryData.fromString( - "{\"value\":[{\"properties\":{\"publisher\":\"mwisdkfthwxmnt\",\"targetType\":\"waopvkmijcmmxd\",\"displayName\":\"fufsrpymzi\",\"description\":\"sezcxtb\",\"parametersSchema\":\"gfycc\",\"urn\":\"ewmdw\",\"kind\":\"eiachboosflnr\",\"azureRbacActions\":[\"qpteeh\",\"zvypyqrimzinp\"],\"azureRbacDataActions\":[\"jdkirsoodqx\"],\"requiredAzureRoleDefinitionIds\":[\"mnoh\",\"t\"],\"runtimeProperties\":{\"kind\":\"h\"}},\"id\":\"oifiyipjxsqwpgr\",\"name\":\"bznorcjxvsnby\",\"type\":\"qabnmoc\"},{\"properties\":{\"publisher\":\"shurzafbljjgpbto\",\"targetType\":\"jmkljavbqidtqajz\",\"displayName\":\"l\",\"description\":\"u\",\"parametersSchema\":\"krlkhbzhfepg\",\"urn\":\"qex\",\"kind\":\"ocxscpaierhhbcs\",\"azureRbacActions\":[\"mmajtjaodx\",\"bnbdxkqpxokajion\",\"imexgstxgcpodgma\"],\"azureRbacDataActions\":[\"mvdjwzrlovmc\"],\"requiredAzureRoleDefinitionIds\":[\"ijcoejctb\",\"aqsqsycbkbfk\"],\"runtimeProperties\":{\"kind\":\"dkexxppofm\"}},\"id\":\"x\",\"name\":\"fjpgddtocjjxhvp\",\"type\":\"o\"}],\"nextLink\":\"xhdzxibqeojnx\"}") + "{\"value\":[{\"properties\":{\"publisher\":\"rkujy\",\"targetType\":\"l\",\"displayName\":\"uvfqawrlyxwj\",\"description\":\"prbnwbxgjvtbv\",\"parametersSchema\":\"sszdnru\",\"urn\":\"guhmuouqfpr\",\"kind\":\"wbnguitnwui\",\"azureRbacActions\":[\"zxufiz\"],\"azureRbacDataActions\":[\"y\"],\"requiredAzureRoleDefinitionIds\":[\"rfidfvzwdz\"],\"runtimeProperties\":{\"kind\":\"ymwisdkft\"}},\"id\":\"xmnteiwaop\",\"name\":\"km\",\"type\":\"jcmmxdcufufsrp\"},{\"properties\":{\"publisher\":\"idnsezcxtb\",\"targetType\":\"gfycc\",\"displayName\":\"ewmdw\",\"description\":\"eiachboosflnr\",\"parametersSchema\":\"fqpte\",\"urn\":\"zzvypyqrimzinp\",\"kind\":\"wjdk\",\"azureRbacActions\":[\"oodqxhcrm\",\"ohjtckw\",\"dsoifiyipj\",\"sqwpgrjb\"],\"azureRbacDataActions\":[\"rcjxvsnbyxqabn\",\"ocpcy\",\"hurzafblj\"],\"requiredAzureRoleDefinitionIds\":[\"btoqcjmkljavbqid\",\"qajzyulpkudjkr\",\"khbzhfepgzg\"],\"runtimeProperties\":{\"kind\":\"zloc\"}},\"id\":\"c\",\"name\":\"aierhhb\",\"type\":\"sglumma\"},{\"properties\":{\"publisher\":\"aodxo\",\"targetType\":\"bdxkqpxokaj\",\"displayName\":\"npime\",\"description\":\"stxgc\",\"parametersSchema\":\"dg\",\"urn\":\"ajrmvdjwzrlovmc\",\"kind\":\"hijco\",\"azureRbacActions\":[\"tbzaqsqsycbkbfk\",\"ukdkexxppofmxa\"],\"azureRbacDataActions\":[\"jpgd\",\"toc\",\"j\",\"hvpmoue\"],\"requiredAzureRoleDefinitionIds\":[\"zxibqeoj\",\"xqbzvddntwnd\",\"icbtwnpzao\",\"vuhrhcffcyddgl\"],\"runtimeProperties\":{\"kind\":\"hjq\"}},\"id\":\"pyeicxm\",\"name\":\"ciwqvhk\",\"type\":\"ixuigdtopbobj\"},{\"properties\":{\"publisher\":\"m\",\"targetType\":\"u\",\"displayName\":\"a\",\"description\":\"rzayv\",\"parametersSchema\":\"pgvdf\",\"urn\":\"otkftutqxlngx\",\"kind\":\"fgugnxkrxdqmid\",\"azureRbacActions\":[\"zrvqdr\",\"bhj\"],\"azureRbacDataActions\":[\"gehoqfbowskany\",\"tzlcuiywgqywgn\"],\"requiredAzureRoleDefinitionIds\":[\"ynhz\",\"pphrcgynco\",\"pec\"],\"runtimeProperties\":{\"kind\":\"mcoo\"}},\"id\":\"xlzevgbmqjqabcy\",\"name\":\"mivkwlzuvcc\",\"type\":\"wnfnbacf\"}],\"nextLink\":\"nlebxetqgtzxd\"}") .toObject(CapabilityTypeListResult.class); - Assertions.assertEquals("xhdzxibqeojnx", model.nextLink()); + Assertions.assertEquals("nlebxetqgtzxd", model.nextLink()); } } diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/CapabilityTypePropertiesRuntimePropertiesTests.java b/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/CapabilityTypePropertiesRuntimePropertiesTests.java index 92300441ec61..7052108ecaa2 100644 --- a/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/CapabilityTypePropertiesRuntimePropertiesTests.java +++ b/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/CapabilityTypePropertiesRuntimePropertiesTests.java @@ -10,7 +10,7 @@ public final class CapabilityTypePropertiesRuntimePropertiesTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { - CapabilityTypePropertiesRuntimeProperties model = BinaryData.fromString("{\"kind\":\"rfidfvzwdz\"}") + CapabilityTypePropertiesRuntimeProperties model = BinaryData.fromString("{\"kind\":\"jaoyfhrtx\"}") .toObject(CapabilityTypePropertiesRuntimeProperties.class); } } diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/CapabilityTypePropertiesTests.java b/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/CapabilityTypePropertiesTests.java index 147403184e57..73abafd16230 100644 --- a/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/CapabilityTypePropertiesTests.java +++ b/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/CapabilityTypePropertiesTests.java @@ -11,7 +11,7 @@ public final class CapabilityTypePropertiesTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { CapabilityTypeProperties model = BinaryData.fromString( - "{\"publisher\":\"uqktap\",\"targetType\":\"wgcu\",\"displayName\":\"tumkdosvqwhbm\",\"description\":\"bbjfddgmbmbexp\",\"parametersSchema\":\"htqqrolfp\",\"urn\":\"s\",\"kind\":\"gbquxigj\",\"azureRbacActions\":[\"zjaoyfhrtxil\",\"erkujys\",\"l\",\"juvf\"],\"azureRbacDataActions\":[\"rlyxwjkcprbnw\",\"xgjvtbv\",\"ysszdnrujqguh\"],\"requiredAzureRoleDefinitionIds\":[\"uqfprwzw\",\"nguitnwuizgazxu\"],\"runtimeProperties\":{\"kind\":\"uckyf\"}}") + "{\"publisher\":\"s\",\"targetType\":\"yb\",\"displayName\":\"qedqytbciqfoufl\",\"description\":\"nkzsmodmglou\",\"parametersSchema\":\"b\",\"urn\":\"tmut\",\"kind\":\"qktapspwgcuert\",\"azureRbacActions\":[\"dosvqwhbmdgbbjf\",\"dgmb\"],\"azureRbacDataActions\":[\"xppbhtqqro\"],\"requiredAzureRoleDefinitionIds\":[\"fpsalgbqu\"],\"runtimeProperties\":{\"kind\":\"jyj\"}}") .toObject(CapabilityTypeProperties.class); } } diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/CapabilityTypesGetWithResponseMockTests.java b/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/CapabilityTypesGetWithResponseMockTests.java index c283e7b50482..32013821dc8d 100644 --- a/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/CapabilityTypesGetWithResponseMockTests.java +++ b/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/CapabilityTypesGetWithResponseMockTests.java @@ -20,7 +20,7 @@ public final class CapabilityTypesGetWithResponseMockTests { @Test public void testGetWithResponse() throws Exception { String responseStr - = "{\"properties\":{\"publisher\":\"orwkqnyh\",\"targetType\":\"ij\",\"displayName\":\"ivfxzsjabibsyst\",\"description\":\"fsdjpvkvp\",\"parametersSchema\":\"xbkzbzkdvncj\",\"urn\":\"udurgkakmokz\",\"kind\":\"jk\",\"azureRbacActions\":[\"hmouwqlgzrfze\",\"yebizikayuh\"],\"azureRbacDataActions\":[\"jbsybbqw\",\"vtldgmfpgvmpip\"],\"requiredAzureRoleDefinitionIds\":[\"thaqfxssmwu\"],\"runtimeProperties\":{\"kind\":\"dsrezpdrhneuyow\"}},\"id\":\"d\",\"name\":\"ytisibir\",\"type\":\"gpikpzimejza\"}"; + = "{\"properties\":{\"publisher\":\"vtldgmfpgvmpip\",\"targetType\":\"ltha\",\"displayName\":\"x\",\"description\":\"mwutwbdsre\",\"parametersSchema\":\"drhneuyow\",\"urn\":\"d\",\"kind\":\"t\",\"azureRbacActions\":[\"bi\"],\"azureRbacDataActions\":[\"pikpz\",\"mejzanlfzxia\",\"rmbzo\"],\"requiredAzureRoleDefinitionIds\":[\"i\",\"rjqc\"],\"runtimeProperties\":{\"kind\":\"zpfrla\"}},\"id\":\"zrnw\",\"name\":\"iin\",\"type\":\"fpwpjylwbt\"}"; HttpClient httpClient = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8))); @@ -30,7 +30,7 @@ public void testGetWithResponse() throws Exception { new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD)); CapabilityType response = manager.capabilityTypes() - .getWithResponse("p", "kghv", "ndzwmkrefa", com.azure.core.util.Context.NONE) + .getWithResponse("gzrf", "eeyebi", "ikayuhqlbjbsybb", com.azure.core.util.Context.NONE) .getValue(); } diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/CapabilityTypesListMockTests.java b/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/CapabilityTypesListMockTests.java index 0b1a90cae83c..8c6153ce38d2 100644 --- a/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/CapabilityTypesListMockTests.java +++ b/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/CapabilityTypesListMockTests.java @@ -21,7 +21,7 @@ public final class CapabilityTypesListMockTests { @Test public void testList() throws Exception { String responseStr - = "{\"value\":[{\"properties\":{\"publisher\":\"lazszrn\",\"targetType\":\"iin\",\"displayName\":\"pwp\",\"description\":\"lwbtlhf\",\"parametersSchema\":\"jcdh\",\"urn\":\"fjvfbgofeljagr\",\"kind\":\"qhl\",\"azureRbacActions\":[\"iiiojnalghf\",\"vtvsexsowueluq\",\"hahhxvrhmzkwpj\",\"wws\"],\"azureRbacDataActions\":[\"hftqsxhqxujxukn\",\"xdigrjg\",\"ufzdmsyq\",\"fi\"],\"requiredAzureRoleDefinitionIds\":[\"botzingamvppho\",\"zqzudph\",\"amvdkfwynwcvtbv\",\"ayhmtnvyqiatkz\"],\"runtimeProperties\":{\"kind\":\"npwzcjaes\"}},\"id\":\"v\",\"name\":\"ccyajg\",\"type\":\"qfhwyg\"}]}"; + = "{\"value\":[{\"properties\":{\"publisher\":\"ofel\",\"targetType\":\"grqmqhldvrii\",\"displayName\":\"jnalghf\",\"description\":\"tvsexsowuel\",\"parametersSchema\":\"hhahhxvrhmzkwpjg\",\"urn\":\"spughftqsxhq\",\"kind\":\"j\",\"azureRbacActions\":[\"ndxdigrjguufzdm\",\"yqtfihwh\",\"otzi\"],\"azureRbacDataActions\":[\"mvpp\",\"o\",\"zqzudph\",\"amvdkfwynwcvtbv\"],\"requiredAzureRoleDefinitionIds\":[\"hmtnvy\",\"iatkzwpcnp\",\"zcjaesgvvsccy\"],\"runtimeProperties\":{\"kind\":\"uq\"}},\"id\":\"wygzlvdnkfxusem\",\"name\":\"wzrmuh\",\"type\":\"pfcqdp\"}]}"; HttpClient httpClient = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8))); @@ -31,7 +31,7 @@ public void testList() throws Exception { new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD)); PagedIterable response - = manager.capabilityTypes().list("lfzxiavrmbzonoki", "rjqc", "rgz", com.azure.core.util.Context.NONE); + = manager.capabilityTypes().list("h", "lsj", "dhszfjv", com.azure.core.util.Context.NONE); } } diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/ChaosExperimentActionTests.java b/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/ChaosExperimentActionTests.java index 32ec67eaa97f..83ac5f1afd36 100644 --- a/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/ChaosExperimentActionTests.java +++ b/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/ChaosExperimentActionTests.java @@ -11,16 +11,15 @@ public final class ChaosExperimentActionTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { - ChaosExperimentAction model - = BinaryData.fromString("{\"type\":\"ChaosExperimentAction\",\"name\":\"ewrmjmwvvjektc\"}") - .toObject(ChaosExperimentAction.class); - Assertions.assertEquals("ewrmjmwvvjektc", model.name()); + ChaosExperimentAction model = BinaryData.fromString("{\"type\":\"ChaosExperimentAction\",\"name\":\"fkts\"}") + .toObject(ChaosExperimentAction.class); + Assertions.assertEquals("fkts", model.name()); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { - ChaosExperimentAction model = new ChaosExperimentAction().withName("ewrmjmwvvjektc"); + ChaosExperimentAction model = new ChaosExperimentAction().withName("fkts"); model = BinaryData.fromObject(model).toObject(ChaosExperimentAction.class); - Assertions.assertEquals("ewrmjmwvvjektc", model.name()); + Assertions.assertEquals("fkts", model.name()); } } diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/ChaosExperimentBranchTests.java b/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/ChaosExperimentBranchTests.java index cabc7420c587..282de5fdcfa2 100644 --- a/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/ChaosExperimentBranchTests.java +++ b/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/ChaosExperimentBranchTests.java @@ -13,20 +13,20 @@ public final class ChaosExperimentBranchTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { - ChaosExperimentBranch model = BinaryData - .fromString( - "{\"name\":\"oklyaxuconuq\",\"actions\":[{\"type\":\"ChaosExperimentAction\",\"name\":\"fkbey\"}]}") + ChaosExperimentBranch model = BinaryData.fromString( + "{\"name\":\"xywnytnrsynlqidy\",\"actions\":[{\"type\":\"ChaosExperimentAction\",\"name\":\"xczfcl\"},{\"type\":\"ChaosExperimentAction\",\"name\":\"aaxdbabphlwrq\"}]}") .toObject(ChaosExperimentBranch.class); - Assertions.assertEquals("oklyaxuconuq", model.name()); - Assertions.assertEquals("fkbey", model.actions().get(0).name()); + Assertions.assertEquals("xywnytnrsynlqidy", model.name()); + Assertions.assertEquals("xczfcl", model.actions().get(0).name()); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { - ChaosExperimentBranch model = new ChaosExperimentBranch().withName("oklyaxuconuq") - .withActions(Arrays.asList(new ChaosExperimentAction().withName("fkbey"))); + ChaosExperimentBranch model = new ChaosExperimentBranch().withName("xywnytnrsynlqidy") + .withActions(Arrays.asList(new ChaosExperimentAction().withName("xczfcl"), + new ChaosExperimentAction().withName("aaxdbabphlwrq"))); model = BinaryData.fromObject(model).toObject(ChaosExperimentBranch.class); - Assertions.assertEquals("oklyaxuconuq", model.name()); - Assertions.assertEquals("fkbey", model.actions().get(0).name()); + Assertions.assertEquals("xywnytnrsynlqidy", model.name()); + Assertions.assertEquals("xczfcl", model.actions().get(0).name()); } } diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/ChaosExperimentStepTests.java b/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/ChaosExperimentStepTests.java index c9787a56f10c..3309f26aa5b9 100644 --- a/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/ChaosExperimentStepTests.java +++ b/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/ChaosExperimentStepTests.java @@ -15,23 +15,30 @@ public final class ChaosExperimentStepTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { ChaosExperimentStep model = BinaryData.fromString( - "{\"name\":\"zoqftiyqzrnkcqvy\",\"branches\":[{\"name\":\"whzlsicohoq\",\"actions\":[{\"type\":\"ChaosExperimentAction\",\"name\":\"wvl\"},{\"type\":\"ChaosExperimentAction\",\"name\":\"yav\"},{\"type\":\"ChaosExperimentAction\",\"name\":\"hheunmmqhgyx\"},{\"type\":\"ChaosExperimentAction\",\"name\":\"konocu\"}]}]}") + "{\"name\":\"riwflzlfb\",\"branches\":[{\"name\":\"puz\",\"actions\":[{\"type\":\"ChaosExperimentAction\",\"name\":\"ispnqzahmgkbrp\"},{\"type\":\"ChaosExperimentAction\",\"name\":\"y\"},{\"type\":\"ChaosExperimentAction\",\"name\":\"hibnuqqkpika\"},{\"type\":\"ChaosExperimentAction\",\"name\":\"rgvtqag\"}]},{\"name\":\"buynhijggm\",\"actions\":[{\"type\":\"ChaosExperimentAction\",\"name\":\"fsiarbutr\"}]},{\"name\":\"vpnazzm\",\"actions\":[{\"type\":\"ChaosExperimentAction\",\"name\":\"runmp\"},{\"type\":\"ChaosExperimentAction\",\"name\":\"ttdbhrbnl\"},{\"type\":\"ChaosExperimentAction\",\"name\":\"nkxmyskpbhenbtk\"}]}]}") .toObject(ChaosExperimentStep.class); - Assertions.assertEquals("zoqftiyqzrnkcqvy", model.name()); - Assertions.assertEquals("whzlsicohoq", model.branches().get(0).name()); - Assertions.assertEquals("wvl", model.branches().get(0).actions().get(0).name()); + Assertions.assertEquals("riwflzlfb", model.name()); + Assertions.assertEquals("puz", model.branches().get(0).name()); + Assertions.assertEquals("ispnqzahmgkbrp", model.branches().get(0).actions().get(0).name()); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { - ChaosExperimentStep model = new ChaosExperimentStep().withName("zoqftiyqzrnkcqvy") - .withBranches(Arrays.asList(new ChaosExperimentBranch().withName("whzlsicohoq") - .withActions(Arrays.asList(new ChaosExperimentAction().withName("wvl"), - new ChaosExperimentAction().withName("yav"), new ChaosExperimentAction().withName("hheunmmqhgyx"), - new ChaosExperimentAction().withName("konocu"))))); + ChaosExperimentStep model = new ChaosExperimentStep().withName("riwflzlfb") + .withBranches(Arrays.asList( + new ChaosExperimentBranch().withName("puz") + .withActions(Arrays.asList(new ChaosExperimentAction().withName("ispnqzahmgkbrp"), + new ChaosExperimentAction().withName("y"), new ChaosExperimentAction().withName("hibnuqqkpika"), + new ChaosExperimentAction().withName("rgvtqag"))), + new ChaosExperimentBranch().withName("buynhijggm") + .withActions(Arrays.asList(new ChaosExperimentAction().withName("fsiarbutr"))), + new ChaosExperimentBranch().withName("vpnazzm") + .withActions(Arrays.asList(new ChaosExperimentAction().withName("runmp"), + new ChaosExperimentAction().withName("ttdbhrbnl"), + new ChaosExperimentAction().withName("nkxmyskpbhenbtk"))))); model = BinaryData.fromObject(model).toObject(ChaosExperimentStep.class); - Assertions.assertEquals("zoqftiyqzrnkcqvy", model.name()); - Assertions.assertEquals("whzlsicohoq", model.branches().get(0).name()); - Assertions.assertEquals("wvl", model.branches().get(0).actions().get(0).name()); + Assertions.assertEquals("riwflzlfb", model.name()); + Assertions.assertEquals("puz", model.branches().get(0).name()); + Assertions.assertEquals("ispnqzahmgkbrp", model.branches().get(0).actions().get(0).name()); } } diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/ChaosTargetListSelectorTests.java b/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/ChaosTargetListSelectorTests.java index d8afd4f88c5f..c7f12b9013cc 100644 --- a/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/ChaosTargetListSelectorTests.java +++ b/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/ChaosTargetListSelectorTests.java @@ -16,22 +16,23 @@ public final class ChaosTargetListSelectorTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { ChaosTargetListSelector model = BinaryData.fromString( - "{\"type\":\"List\",\"targets\":[{\"type\":\"ChaosTarget\",\"id\":\"i\"},{\"type\":\"ChaosTarget\",\"id\":\"hxepcyvahfnlj\"}],\"id\":\"yq\",\"filter\":{\"type\":\"ChaosTargetFilter\"}}") + "{\"type\":\"List\",\"targets\":[{\"type\":\"ChaosTarget\",\"id\":\"ncuxrhdwb\"},{\"type\":\"ChaosTarget\",\"id\":\"xbniwdjs\"}],\"id\":\"zt\",\"filter\":{\"type\":\"ChaosTargetFilter\"}}") .toObject(ChaosTargetListSelector.class); - Assertions.assertEquals("yq", model.id()); + Assertions.assertEquals("zt", model.id()); Assertions.assertEquals(TargetReferenceType.CHAOS_TARGET, model.targets().get(0).type()); - Assertions.assertEquals("i", model.targets().get(0).id()); + Assertions.assertEquals("ncuxrhdwb", model.targets().get(0).id()); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { - ChaosTargetListSelector model = new ChaosTargetListSelector().withId("yq") + ChaosTargetListSelector model = new ChaosTargetListSelector().withId("zt") .withFilter(new ChaosTargetFilter()) - .withTargets(Arrays.asList(new TargetReference().withType(TargetReferenceType.CHAOS_TARGET).withId("i"), - new TargetReference().withType(TargetReferenceType.CHAOS_TARGET).withId("hxepcyvahfnlj"))); + .withTargets( + Arrays.asList(new TargetReference().withType(TargetReferenceType.CHAOS_TARGET).withId("ncuxrhdwb"), + new TargetReference().withType(TargetReferenceType.CHAOS_TARGET).withId("xbniwdjs"))); model = BinaryData.fromObject(model).toObject(ChaosTargetListSelector.class); - Assertions.assertEquals("yq", model.id()); + Assertions.assertEquals("zt", model.id()); Assertions.assertEquals(TargetReferenceType.CHAOS_TARGET, model.targets().get(0).type()); - Assertions.assertEquals("i", model.targets().get(0).id()); + Assertions.assertEquals("ncuxrhdwb", model.targets().get(0).id()); } } diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/ChaosTargetQuerySelectorTests.java b/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/ChaosTargetQuerySelectorTests.java index 0ad8c044afe7..ea390f847571 100644 --- a/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/ChaosTargetQuerySelectorTests.java +++ b/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/ChaosTargetQuerySelectorTests.java @@ -14,22 +14,22 @@ public final class ChaosTargetQuerySelectorTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { ChaosTargetQuerySelector model = BinaryData.fromString( - "{\"type\":\"Query\",\"queryString\":\"gvcl\",\"subscriptionIds\":[\"gsncghkjeszz\",\"bijhtxfvgxbf\",\"mxnehmp\",\"ec\"],\"id\":\"godebfqkkrbmpu\",\"filter\":{\"type\":\"ChaosTargetFilter\"}}") + "{\"type\":\"Query\",\"queryString\":\"ytxhp\",\"subscriptionIds\":[\"bzpfzab\",\"lcuhxwtctyqiklb\"],\"id\":\"ovplw\",\"filter\":{\"type\":\"ChaosTargetFilter\"}}") .toObject(ChaosTargetQuerySelector.class); - Assertions.assertEquals("godebfqkkrbmpu", model.id()); - Assertions.assertEquals("gvcl", model.queryString()); - Assertions.assertEquals("gsncghkjeszz", model.subscriptionIds().get(0)); + Assertions.assertEquals("ovplw", model.id()); + Assertions.assertEquals("ytxhp", model.queryString()); + Assertions.assertEquals("bzpfzab", model.subscriptionIds().get(0)); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { - ChaosTargetQuerySelector model = new ChaosTargetQuerySelector().withId("godebfqkkrbmpu") + ChaosTargetQuerySelector model = new ChaosTargetQuerySelector().withId("ovplw") .withFilter(new ChaosTargetFilter()) - .withQueryString("gvcl") - .withSubscriptionIds(Arrays.asList("gsncghkjeszz", "bijhtxfvgxbf", "mxnehmp", "ec")); + .withQueryString("ytxhp") + .withSubscriptionIds(Arrays.asList("bzpfzab", "lcuhxwtctyqiklb")); model = BinaryData.fromObject(model).toObject(ChaosTargetQuerySelector.class); - Assertions.assertEquals("godebfqkkrbmpu", model.id()); - Assertions.assertEquals("gvcl", model.queryString()); - Assertions.assertEquals("gsncghkjeszz", model.subscriptionIds().get(0)); + Assertions.assertEquals("ovplw", model.id()); + Assertions.assertEquals("ytxhp", model.queryString()); + Assertions.assertEquals("bzpfzab", model.subscriptionIds().get(0)); } } diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/ChaosTargetSelectorTests.java b/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/ChaosTargetSelectorTests.java index b8193a299975..28124d5db97b 100644 --- a/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/ChaosTargetSelectorTests.java +++ b/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/ChaosTargetSelectorTests.java @@ -12,17 +12,17 @@ public final class ChaosTargetSelectorTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { - ChaosTargetSelector model = BinaryData - .fromString( - "{\"type\":\"ChaosTargetSelector\",\"id\":\"fuwutttxf\",\"filter\":{\"type\":\"ChaosTargetFilter\"}}") + ChaosTargetSelector model = BinaryData.fromString( + "{\"type\":\"ChaosTargetSelector\",\"id\":\"qwalmuzyoxaepd\",\"filter\":{\"type\":\"ChaosTargetFilter\"}}") .toObject(ChaosTargetSelector.class); - Assertions.assertEquals("fuwutttxf", model.id()); + Assertions.assertEquals("qwalmuzyoxaepd", model.id()); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { - ChaosTargetSelector model = new ChaosTargetSelector().withId("fuwutttxf").withFilter(new ChaosTargetFilter()); + ChaosTargetSelector model + = new ChaosTargetSelector().withId("qwalmuzyoxaepd").withFilter(new ChaosTargetFilter()); model = BinaryData.fromObject(model).toObject(ChaosTargetSelector.class); - Assertions.assertEquals("fuwutttxf", model.id()); + Assertions.assertEquals("qwalmuzyoxaepd", model.id()); } } diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/ChaosTargetSimpleFilterParametersTests.java b/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/ChaosTargetSimpleFilterParametersTests.java index 80e1dbd6a7b5..2643592daba1 100644 --- a/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/ChaosTargetSimpleFilterParametersTests.java +++ b/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/ChaosTargetSimpleFilterParametersTests.java @@ -12,17 +12,16 @@ public final class ChaosTargetSimpleFilterParametersTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { - ChaosTargetSimpleFilterParameters model - = BinaryData.fromString("{\"zones\":[\"bnuqqkpik\",\"drgvtqagn\",\"uynhijg\"]}") - .toObject(ChaosTargetSimpleFilterParameters.class); - Assertions.assertEquals("bnuqqkpik", model.zones().get(0)); + ChaosTargetSimpleFilterParameters model = BinaryData.fromString("{\"zones\":[\"kfplgmgsxnk\",\"zkd\"]}") + .toObject(ChaosTargetSimpleFilterParameters.class); + Assertions.assertEquals("kfplgmgsxnk", model.zones().get(0)); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { ChaosTargetSimpleFilterParameters model - = new ChaosTargetSimpleFilterParameters().withZones(Arrays.asList("bnuqqkpik", "drgvtqagn", "uynhijg")); + = new ChaosTargetSimpleFilterParameters().withZones(Arrays.asList("kfplgmgsxnk", "zkd")); model = BinaryData.fromObject(model).toObject(ChaosTargetSimpleFilterParameters.class); - Assertions.assertEquals("bnuqqkpik", model.zones().get(0)); + Assertions.assertEquals("kfplgmgsxnk", model.zones().get(0)); } } diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/ChaosTargetSimpleFilterTests.java b/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/ChaosTargetSimpleFilterTests.java index 318cc3cdc5de..a13921b10766 100644 --- a/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/ChaosTargetSimpleFilterTests.java +++ b/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/ChaosTargetSimpleFilterTests.java @@ -13,18 +13,17 @@ public final class ChaosTargetSimpleFilterTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { - ChaosTargetSimpleFilter model = BinaryData - .fromString( - "{\"type\":\"Simple\",\"parameters\":{\"zones\":[\"flz\",\"fbxzpuzycisp\",\"qzahmgkbrp\",\"y\"]}}") - .toObject(ChaosTargetSimpleFilter.class); - Assertions.assertEquals("flz", model.parameters().zones().get(0)); + ChaosTargetSimpleFilter model + = BinaryData.fromString("{\"type\":\"Simple\",\"parameters\":{\"zones\":[\"yuguosvmkfssx\"]}}") + .toObject(ChaosTargetSimpleFilter.class); + Assertions.assertEquals("yuguosvmkfssx", model.parameters().zones().get(0)); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { - ChaosTargetSimpleFilter model = new ChaosTargetSimpleFilter().withParameters( - new ChaosTargetSimpleFilterParameters().withZones(Arrays.asList("flz", "fbxzpuzycisp", "qzahmgkbrp", "y"))); + ChaosTargetSimpleFilter model = new ChaosTargetSimpleFilter() + .withParameters(new ChaosTargetSimpleFilterParameters().withZones(Arrays.asList("yuguosvmkfssx"))); model = BinaryData.fromObject(model).toObject(ChaosTargetSimpleFilter.class); - Assertions.assertEquals("flz", model.parameters().zones().get(0)); + Assertions.assertEquals("yuguosvmkfssx", model.parameters().zones().get(0)); } } diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/DelayActionTests.java b/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/DelayActionTests.java index a60c7353005f..2c2953153a60 100644 --- a/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/DelayActionTests.java +++ b/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/DelayActionTests.java @@ -13,17 +13,17 @@ public final class DelayActionTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { DelayAction model - = BinaryData.fromString("{\"type\":\"delay\",\"duration\":\"PT101H1M22S\",\"name\":\"vfcivfsnkymuc\"}") + = BinaryData.fromString("{\"type\":\"delay\",\"duration\":\"PT62H42M11S\",\"name\":\"kzywbiex\"}") .toObject(DelayAction.class); - Assertions.assertEquals("vfcivfsnkymuc", model.name()); - Assertions.assertEquals(Duration.parse("PT101H1M22S"), model.duration()); + Assertions.assertEquals("kzywbiex", model.name()); + Assertions.assertEquals(Duration.parse("PT62H42M11S"), model.duration()); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { - DelayAction model = new DelayAction().withName("vfcivfsnkymuc").withDuration(Duration.parse("PT101H1M22S")); + DelayAction model = new DelayAction().withName("kzywbiex").withDuration(Duration.parse("PT62H42M11S")); model = BinaryData.fromObject(model).toObject(DelayAction.class); - Assertions.assertEquals("vfcivfsnkymuc", model.name()); - Assertions.assertEquals(Duration.parse("PT101H1M22S"), model.duration()); + Assertions.assertEquals("kzywbiex", model.name()); + Assertions.assertEquals(Duration.parse("PT62H42M11S"), model.duration()); } } diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/ExperimentExecutionDetailsInnerTests.java b/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/ExperimentExecutionDetailsInnerTests.java index 18dc5e0dcefe..793a447bbc17 100644 --- a/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/ExperimentExecutionDetailsInnerTests.java +++ b/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/ExperimentExecutionDetailsInnerTests.java @@ -11,7 +11,7 @@ public final class ExperimentExecutionDetailsInnerTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { ExperimentExecutionDetailsInner model = BinaryData.fromString( - "{\"type\":\"olbgycduiertgccy\",\"id\":\"aolps\",\"name\":\"qlfmmdnbb\",\"properties\":{\"status\":\"pswiydmcwyh\",\"startedAt\":\"2021-07-04T08:35:19Z\",\"stoppedAt\":\"2021-04-11T02:49Z\",\"failureReason\":\"dbzm\",\"lastActionAt\":\"2021-10-14T05:29:13Z\",\"runInformation\":{\"steps\":[{\"stepName\":\"daodvxzbncblyl\",\"stepId\":\"tdbhhxsrzdzu\",\"status\":\"rsc\",\"branches\":[{}]}]}}}") + "{\"type\":\"hxg\",\"id\":\"rmgucnap\",\"name\":\"eoellwptfdygp\",\"properties\":{\"status\":\"uaceopzfqrhhu\",\"startedAt\":\"2021-05-07T00:48:34Z\",\"stoppedAt\":\"2021-03-20T16:48:49Z\",\"failureReason\":\"qeqxo\",\"lastActionAt\":\"2021-06-06T08:14:27Z\",\"runInformation\":{\"steps\":[{\"stepName\":\"ctobg\",\"stepId\":\"dmoizpostmg\",\"status\":\"fbunrmfqjhhk\",\"branches\":[{},{},{},{}]},{\"stepName\":\"jy\",\"stepId\":\"hx\",\"status\":\"yngudivk\",\"branches\":[{},{}]}]}}}") .toObject(ExperimentExecutionDetailsInner.class); } } diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/ExperimentExecutionDetailsPropertiesRunInformationTests.java b/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/ExperimentExecutionDetailsPropertiesRunInformationTests.java index de951d638685..c77778ecffd3 100644 --- a/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/ExperimentExecutionDetailsPropertiesRunInformationTests.java +++ b/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/ExperimentExecutionDetailsPropertiesRunInformationTests.java @@ -11,7 +11,7 @@ public final class ExperimentExecutionDetailsPropertiesRunInformationTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { ExperimentExecutionDetailsPropertiesRunInformation model = BinaryData.fromString( - "{\"steps\":[{\"stepName\":\"um\",\"stepId\":\"p\",\"status\":\"ebmnzbtbhjpglk\",\"branches\":[{\"branchName\":\"dneu\",\"branchId\":\"fphsdyhtozfikdow\",\"status\":\"uuvxz\",\"actions\":[{},{},{},{}]},{\"branchName\":\"ithhqzon\",\"branchId\":\"ggbhcohfwds\",\"status\":\"ka\",\"actions\":[{},{},{}]}]}]}") + "{\"steps\":[{\"stepName\":\"u\",\"stepId\":\"auwzizxbmpgc\",\"status\":\"fuzmuvpbtt\",\"branches\":[{\"branchName\":\"rp\",\"branchId\":\"ebmnzbtbhjpglk\",\"status\":\"ohdneuel\",\"actions\":[{}]},{\"branchName\":\"dyhtozfikdowwquu\",\"branchId\":\"zx\",\"status\":\"vithh\",\"actions\":[{}]},{\"branchName\":\"osggbhc\",\"branchId\":\"fwdsj\",\"status\":\"aljutiiswac\",\"actions\":[{}]},{\"branchName\":\"k\",\"branchId\":\"ewkfvhqcrai\",\"status\":\"pnppfuf\",\"actions\":[{},{},{}]}]},{\"stepName\":\"mh\",\"stepId\":\"xyjrxsagafcnih\",\"status\":\"qapnedgfbcv\",\"branches\":[{\"branchName\":\"vpk\",\"branchId\":\"dcvd\",\"status\":\"vo\",\"actions\":[{},{}]}]},{\"stepName\":\"tbobz\",\"stepId\":\"pcjwv\",\"status\":\"dldwmgxc\",\"branches\":[{\"branchName\":\"pmutwuo\",\"branchId\":\"rpkhjwn\",\"status\":\"qsluicp\",\"actions\":[{}]},{\"branchName\":\"zzlvmbmpaxmodfv\",\"branchId\":\"fy\",\"status\":\"bpfvm\",\"actions\":[{},{}]},{\"branchName\":\"fouyf\",\"branchId\":\"akcp\",\"status\":\"yzvqt\",\"actions\":[{}]}]}]}") .toObject(ExperimentExecutionDetailsPropertiesRunInformation.class); } } diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/ExperimentExecutionDetailsPropertiesTests.java b/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/ExperimentExecutionDetailsPropertiesTests.java index 432d0451bbc3..e82bb9f556fa 100644 --- a/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/ExperimentExecutionDetailsPropertiesTests.java +++ b/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/ExperimentExecutionDetailsPropertiesTests.java @@ -11,7 +11,7 @@ public final class ExperimentExecutionDetailsPropertiesTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { ExperimentExecutionDetailsProperties model = BinaryData.fromString( - "{\"status\":\"evfiwjmygt\",\"startedAt\":\"2021-07-01T16:24:58Z\",\"stoppedAt\":\"2021-11-02T04:29:59Z\",\"failureReason\":\"tmweriofzpyq\",\"lastActionAt\":\"2021-06-06T05:20:48Z\",\"runInformation\":{\"steps\":[{\"stepName\":\"tshhszhedp\",\"stepId\":\"wiwubm\",\"status\":\"besldnkwwtppjflc\",\"branches\":[{\"branchName\":\"okonzmnsikvmkqz\",\"branchId\":\"qkdltfz\",\"status\":\"hhvh\",\"actions\":[{}]},{\"branchName\":\"odkwobd\",\"branchId\":\"xtibqdxbxwakbog\",\"status\":\"ndlkzgxhurip\",\"actions\":[{},{}]},{\"branchName\":\"dxunkbebxmubyyn\",\"branchId\":\"lrb\",\"status\":\"koievseo\",\"actions\":[{}]},{\"branchName\":\"l\",\"branchId\":\"muwlauwzizxbm\",\"status\":\"cjefuzmu\",\"actions\":[{},{},{}]}]}]}}") + "{\"status\":\"bxqz\",\"startedAt\":\"2021-10-26T13:42:02Z\",\"stoppedAt\":\"2021-01-16T06:43:01Z\",\"failureReason\":\"uvjfdxxive\",\"lastActionAt\":\"2021-08-28T01:45:57Z\",\"runInformation\":{\"steps\":[{\"stepName\":\"tdo\",\"stepId\":\"cbxvwvxyslqbh\",\"status\":\"xoblytkbl\",\"branches\":[{\"branchName\":\"wwfbkrvrnsvshq\",\"branchId\":\"hxcr\",\"status\":\"fovasr\",\"actions\":[{}]},{\"branchName\":\"bhsqfsubcgjbirxb\",\"branchId\":\"bsrfbj\",\"status\":\"twss\",\"actions\":[{},{},{}]},{\"branchName\":\"pvjzbe\",\"branchId\":\"l\",\"status\":\"nfqqnvwp\",\"actions\":[{},{},{}]},{\"branchName\":\"ruoujmk\",\"branchId\":\"hwqytj\",\"status\":\"bnw\",\"actions\":[{},{},{},{}]}]},{\"stepName\":\"drjervnaenqpehin\",\"stepId\":\"ygmi\",\"status\":\"hnzdndslgnayqi\",\"branches\":[{\"branchName\":\"uhavhql\",\"branchId\":\"humaqolbgyc\",\"status\":\"iertgccymvaolp\",\"actions\":[{},{}]},{\"branchName\":\"lfmmdnbbglzpswi\",\"branchId\":\"mcwyhzdxssadb\",\"status\":\"nvdfznuda\",\"actions\":[{},{}]},{\"branchName\":\"zbn\",\"branchId\":\"lylpstdb\",\"status\":\"xsrz\",\"actions\":[{},{},{},{}]},{\"branchName\":\"erscdntne\",\"branchId\":\"iwjmygtdssls\",\"status\":\"mweriofzpy\",\"actions\":[{},{}]}]},{\"stepName\":\"wab\",\"stepId\":\"tshhszhedp\",\"status\":\"wiwubm\",\"branches\":[{\"branchName\":\"sldnkwwtppjflcxo\",\"branchId\":\"okonzmnsikvmkqz\",\"status\":\"qkdltfz\",\"actions\":[{}]},{\"branchName\":\"v\",\"branchId\":\"ur\",\"status\":\"dkwobdagx\",\"actions\":[{},{}]},{\"branchName\":\"dxbx\",\"branchId\":\"kbogqxndlkzgx\",\"status\":\"ripl\",\"actions\":[{},{}]},{\"branchName\":\"xunkbebxmubyynt\",\"branchId\":\"rbqtkoie\",\"status\":\"eotg\",\"actions\":[{}]}]}]}}") .toObject(ExperimentExecutionDetailsProperties.class); } } diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/ExperimentExecutionInnerTests.java b/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/ExperimentExecutionInnerTests.java index 93eaa576b5ae..84a5f247b7b1 100644 --- a/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/ExperimentExecutionInnerTests.java +++ b/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/ExperimentExecutionInnerTests.java @@ -11,7 +11,7 @@ public final class ExperimentExecutionInnerTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { ExperimentExecutionInner model = BinaryData.fromString( - "{\"properties\":{\"status\":\"pybsrfbjfdtw\",\"startedAt\":\"2021-01-25T00:48:06Z\",\"stoppedAt\":\"2021-06-01T18:34:35Z\"},\"id\":\"pvjzbe\",\"name\":\"ilzznfqqnvwp\",\"type\":\"qtaruoujmkcjhwq\"}") + "{\"properties\":{\"status\":\"bxwyjsflhhcaa\",\"startedAt\":\"2021-08-06T05:51:03Z\",\"stoppedAt\":\"2021-03-25T19:19:56Z\"},\"id\":\"sxyawjoyaqcs\",\"name\":\"yjpkiidzyexz\",\"type\":\"eli\"}") .toObject(ExperimentExecutionInner.class); } } diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/ExperimentExecutionListResultTests.java b/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/ExperimentExecutionListResultTests.java index 08559925483b..b1a978614832 100644 --- a/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/ExperimentExecutionListResultTests.java +++ b/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/ExperimentExecutionListResultTests.java @@ -12,8 +12,8 @@ public final class ExperimentExecutionListResultTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { ExperimentExecutionListResult model = BinaryData.fromString( - "{\"value\":[{\"properties\":{\"status\":\"hin\",\"startedAt\":\"2021-07-07T21:20Z\",\"stoppedAt\":\"2021-07-26T04:46:18Z\"},\"id\":\"fthnzdn\",\"name\":\"sl\",\"type\":\"nayqi\"}],\"nextLink\":\"nduhavhqlkthum\"}") + "{\"value\":[{\"properties\":{\"status\":\"xknalaulppg\",\"startedAt\":\"2021-03-08T22:58:09Z\",\"stoppedAt\":\"2021-08-03T06:29:07Z\"},\"id\":\"pnyiropuhp\",\"name\":\"gvpgy\",\"type\":\"gqgitxmedjvcsl\"}],\"nextLink\":\"qwwncw\"}") .toObject(ExperimentExecutionListResult.class); - Assertions.assertEquals("nduhavhqlkthum", model.nextLink()); + Assertions.assertEquals("qwwncw", model.nextLink()); } } diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/ExperimentExecutionPropertiesTests.java b/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/ExperimentExecutionPropertiesTests.java index 09cb5d3f2d15..d37e75b3413c 100644 --- a/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/ExperimentExecutionPropertiesTests.java +++ b/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/ExperimentExecutionPropertiesTests.java @@ -10,8 +10,9 @@ public final class ExperimentExecutionPropertiesTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { - ExperimentExecutionProperties model = BinaryData.fromString( - "{\"status\":\"jrybnwjewgdrjer\",\"startedAt\":\"2021-10-08T09:31:49Z\",\"stoppedAt\":\"2021-09-08T11:50:32Z\"}") + ExperimentExecutionProperties model = BinaryData + .fromString( + "{\"status\":\"nr\",\"startedAt\":\"2021-05-07T02:19:01Z\",\"stoppedAt\":\"2021-01-29T16:29:48Z\"}") .toObject(ExperimentExecutionProperties.class); } } diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/ExperimentInnerTests.java b/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/ExperimentInnerTests.java index 6b7937b2ed83..0ec62dd783c4 100644 --- a/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/ExperimentInnerTests.java +++ b/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/ExperimentInnerTests.java @@ -23,77 +23,67 @@ public final class ExperimentInnerTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { ExperimentInner model = BinaryData.fromString( - "{\"identity\":{\"principalId\":\"vddntwn\",\"tenantId\":\"icbtwnpzao\",\"type\":\"SystemAssigned,UserAssigned\",\"userAssignedIdentities\":{\"ciwqvhk\":{\"principalId\":\"hcffcyddglmjthjq\",\"clientId\":\"pyeicxm\"},\"w\":{\"principalId\":\"xuigdtopbobj\",\"clientId\":\"hm\"},\"iotkftutqxl\":{\"principalId\":\"m\",\"clientId\":\"hrzayvvtpgvdf\"},\"tthzrvqd\":{\"principalId\":\"xlefgugnxkrx\",\"clientId\":\"mi\"}}},\"properties\":{\"provisioningState\":\"Canceled\",\"steps\":[{\"name\":\"jybige\",\"branches\":[{\"name\":\"qfbow\",\"actions\":[{\"type\":\"ChaosExperimentAction\",\"name\":\"anyktzlcuiywg\"},{\"type\":\"ChaosExperimentAction\",\"name\":\"ywgndrv\"},{\"type\":\"ChaosExperimentAction\",\"name\":\"nhzgpphrcgyn\"},{\"type\":\"ChaosExperimentAction\",\"name\":\"ocpecfvmmco\"}]},{\"name\":\"fsxlzevgbmqjqa\",\"actions\":[{\"type\":\"ChaosExperimentAction\",\"name\":\"y\"}]},{\"name\":\"mivkwlzuvcc\",\"actions\":[{\"type\":\"ChaosExperimentAction\",\"name\":\"nfnbacfionlebxe\"},{\"type\":\"ChaosExperimentAction\",\"name\":\"qgtz\"}]}]},{\"name\":\"dpnqbq\",\"branches\":[{\"name\":\"xrjfeallnwsub\",\"actions\":[{\"type\":\"ChaosExperimentAction\",\"name\":\"njampm\"},{\"type\":\"ChaosExperimentAction\",\"name\":\"gnzscxaqwo\"},{\"type\":\"ChaosExperimentAction\",\"name\":\"chcbonqvpkvlrxnj\"}]},{\"name\":\"ase\",\"actions\":[{\"type\":\"ChaosExperimentAction\",\"name\":\"heoflokeyyienjbd\"},{\"type\":\"ChaosExperimentAction\",\"name\":\"wtgrhpdjpj\"},{\"type\":\"ChaosExperimentAction\",\"name\":\"masxazjpqyegu\"}]},{\"name\":\"lhbxxhejjzzvdud\",\"actions\":[{\"type\":\"ChaosExperimentAction\",\"name\":\"dslfhotwmcy\"},{\"type\":\"ChaosExperimentAction\",\"name\":\"pwlbjnpg\"},{\"type\":\"ChaosExperimentAction\",\"name\":\"cftadeh\"}]},{\"name\":\"nltyfsoppusuesnz\",\"actions\":[{\"type\":\"ChaosExperimentAction\",\"name\":\"ej\"},{\"type\":\"ChaosExperimentAction\",\"name\":\"avo\"}]}]},{\"name\":\"xzdmohctb\",\"branches\":[{\"name\":\"udwxdndnvowguj\",\"actions\":[{\"type\":\"ChaosExperimentAction\",\"name\":\"gwdkcglhsl\"}]},{\"name\":\"zj\",\"actions\":[{\"type\":\"ChaosExperimentAction\",\"name\":\"ggd\"},{\"type\":\"ChaosExperimentAction\",\"name\":\"jixhbk\"},{\"type\":\"ChaosExperimentAction\",\"name\":\"ofqweykhmenevfye\"}]}]},{\"name\":\"fwhybcibvy\",\"branches\":[{\"name\":\"c\",\"actions\":[{\"type\":\"ChaosExperimentAction\",\"name\":\"tynnaamdectehfi\"}]}]}],\"selectors\":[{\"type\":\"ChaosTargetSelector\",\"id\":\"cj\",\"filter\":{\"type\":\"ChaosTargetFilter\"}},{\"type\":\"ChaosTargetSelector\",\"id\":\"pvhez\",\"filter\":{\"type\":\"ChaosTargetFilter\"}}]},\"location\":\"q\",\"tags\":{\"qjpkcattpngjcrc\":\"refovgmkqsleyyvx\",\"ounqecano\":\"zsqpjhvmdajvny\",\"pjmcmatuokthfuiu\":\"eupfhyhltrpm\",\"zydagfuaxbezyiuo\":\"odsfcpkvxodpuozm\"},\"id\":\"ktwh\",\"name\":\"dxwzywqsmbsurexi\",\"type\":\"o\"}") + "{\"identity\":{\"principalId\":\"bqqwxrj\",\"tenantId\":\"al\",\"type\":\"UserAssigned\",\"userAssignedIdentities\":{\"ochcbonqvpkvl\":{\"principalId\":\"bisnja\",\"clientId\":\"mngnzscxaqw\"}}},\"properties\":{\"provisioningState\":\"Deleting\",\"steps\":[{\"name\":\"ea\",\"branches\":[{\"name\":\"ipheoflokeyyien\",\"actions\":[{\"type\":\"ChaosExperimentAction\",\"name\":\"dlwtgrhpdj\"},{\"type\":\"ChaosExperimentAction\",\"name\":\"jumasx\"},{\"type\":\"ChaosExperimentAction\",\"name\":\"zj\"},{\"type\":\"ChaosExperimentAction\",\"name\":\"qyeg\"}]},{\"name\":\"alhbx\",\"actions\":[{\"type\":\"ChaosExperimentAction\",\"name\":\"e\"},{\"type\":\"ChaosExperimentAction\",\"name\":\"jzzvdud\"}]},{\"name\":\"wdslfhotwmcy\",\"actions\":[{\"type\":\"ChaosExperimentAction\",\"name\":\"wlbjnpgacftade\"},{\"type\":\"ChaosExperimentAction\",\"name\":\"xnltyfsoppu\"}]},{\"name\":\"uesnzwdejbavo\",\"actions\":[{\"type\":\"ChaosExperimentAction\",\"name\":\"zdmohctbqvu\"},{\"type\":\"ChaosExperimentAction\",\"name\":\"wxdndnvowgujjug\"},{\"type\":\"ChaosExperimentAction\",\"name\":\"dkcglhsl\"}]}]},{\"name\":\"zj\",\"branches\":[{\"name\":\"ggd\",\"actions\":[{\"type\":\"ChaosExperimentAction\",\"name\":\"ixhbkuofqweykhm\"},{\"type\":\"ChaosExperimentAction\",\"name\":\"n\"}]},{\"name\":\"vfyexfw\",\"actions\":[{\"type\":\"ChaosExperimentAction\",\"name\":\"bcibvyvdcsitynn\"},{\"type\":\"ChaosExperimentAction\",\"name\":\"amdecte\"},{\"type\":\"ChaosExperimentAction\",\"name\":\"f\"},{\"type\":\"ChaosExperimentAction\",\"name\":\"qsc\"}]},{\"name\":\"eypvhezrkg\",\"actions\":[{\"type\":\"ChaosExperimentAction\",\"name\":\"c\"},{\"type\":\"ChaosExperimentAction\",\"name\":\"refovgmkqsleyyvx\"},{\"type\":\"ChaosExperimentAction\",\"name\":\"qjpkcattpngjcrc\"}]}]}],\"selectors\":[{\"type\":\"ChaosTargetSelector\",\"id\":\"sqpjhvmdajvn\",\"filter\":{\"type\":\"ChaosTargetFilter\"}},{\"type\":\"ChaosTargetSelector\",\"id\":\"ounqecano\",\"filter\":{\"type\":\"ChaosTargetFilter\"}},{\"type\":\"ChaosTargetSelector\",\"id\":\"upfh\",\"filter\":{\"type\":\"ChaosTargetFilter\"}},{\"type\":\"ChaosTargetSelector\",\"id\":\"ltrpmopj\",\"filter\":{\"type\":\"ChaosTargetFilter\"}}]},\"location\":\"atuokthfuiu\",\"tags\":{\"zydagfuaxbezyiuo\":\"sfcpkvxodpuozm\",\"dxwzywqsmbsurexi\":\"ktwh\",\"yocf\":\"o\",\"uxh\":\"fksymddystki\"},\"id\":\"yudxorrqnbp\",\"name\":\"czvyifq\",\"type\":\"vkd\"}") .toObject(ExperimentInner.class); - Assertions.assertEquals("q", model.location()); - Assertions.assertEquals("refovgmkqsleyyvx", model.tags().get("qjpkcattpngjcrc")); - Assertions.assertEquals(ManagedServiceIdentityType.SYSTEM_ASSIGNED_USER_ASSIGNED, model.identity().type()); - Assertions.assertEquals("jybige", model.steps().get(0).name()); - Assertions.assertEquals("qfbow", model.steps().get(0).branches().get(0).name()); - Assertions.assertEquals("anyktzlcuiywg", model.steps().get(0).branches().get(0).actions().get(0).name()); - Assertions.assertEquals("cj", model.selectors().get(0).id()); + Assertions.assertEquals("atuokthfuiu", model.location()); + Assertions.assertEquals("sfcpkvxodpuozm", model.tags().get("zydagfuaxbezyiuo")); + Assertions.assertEquals(ManagedServiceIdentityType.USER_ASSIGNED, model.identity().type()); + Assertions.assertEquals("ea", model.steps().get(0).name()); + Assertions.assertEquals("ipheoflokeyyien", model.steps().get(0).branches().get(0).name()); + Assertions.assertEquals("dlwtgrhpdj", model.steps().get(0).branches().get(0).actions().get(0).name()); + Assertions.assertEquals("sqpjhvmdajvn", model.selectors().get(0).id()); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { - ExperimentInner model = new ExperimentInner().withLocation("q") - .withTags(mapOf("qjpkcattpngjcrc", "refovgmkqsleyyvx", "ounqecano", "zsqpjhvmdajvny", "pjmcmatuokthfuiu", - "eupfhyhltrpm", "zydagfuaxbezyiuo", "odsfcpkvxodpuozm")) - .withIdentity(new ResourceIdentity().withType(ManagedServiceIdentityType.SYSTEM_ASSIGNED_USER_ASSIGNED) - .withUserAssignedIdentities( - mapOf("ciwqvhk", new UserAssignedIdentity(), "w", new UserAssignedIdentity(), "iotkftutqxl", - new UserAssignedIdentity(), "tthzrvqd", new UserAssignedIdentity()))) + ExperimentInner model = new ExperimentInner().withLocation("atuokthfuiu") + .withTags(mapOf("zydagfuaxbezyiuo", "sfcpkvxodpuozm", "dxwzywqsmbsurexi", "ktwh", "yocf", "o", "uxh", + "fksymddystki")) + .withIdentity(new ResourceIdentity().withType(ManagedServiceIdentityType.USER_ASSIGNED) + .withUserAssignedIdentities(mapOf("ochcbonqvpkvl", new UserAssignedIdentity()))) .withSteps(Arrays.asList( - new ChaosExperimentStep().withName("jybige") + new ChaosExperimentStep().withName("ea") + .withBranches(Arrays.asList(new ChaosExperimentBranch().withName("ipheoflokeyyien") + .withActions(Arrays.asList(new ChaosExperimentAction().withName("dlwtgrhpdj"), + new ChaosExperimentAction().withName("jumasx"), new ChaosExperimentAction().withName("zj"), + new ChaosExperimentAction().withName("qyeg"))), + new ChaosExperimentBranch().withName("alhbx") + .withActions(Arrays.asList(new ChaosExperimentAction().withName("e"), + new ChaosExperimentAction().withName("jzzvdud"))), + new ChaosExperimentBranch().withName("wdslfhotwmcy") + .withActions(Arrays.asList(new ChaosExperimentAction().withName("wlbjnpgacftade"), + new ChaosExperimentAction().withName("xnltyfsoppu"))), + new ChaosExperimentBranch().withName("uesnzwdejbavo") + .withActions(Arrays.asList(new ChaosExperimentAction().withName("zdmohctbqvu"), + new ChaosExperimentAction().withName("wxdndnvowgujjug"), + new ChaosExperimentAction().withName("dkcglhsl"))))), + new ChaosExperimentStep().withName("zj") .withBranches(Arrays.asList( - new ChaosExperimentBranch().withName("qfbow") - .withActions(Arrays.asList(new ChaosExperimentAction().withName("anyktzlcuiywg"), - new ChaosExperimentAction().withName("ywgndrv"), - new ChaosExperimentAction().withName("nhzgpphrcgyn"), - new ChaosExperimentAction().withName("ocpecfvmmco"))), - new ChaosExperimentBranch().withName("fsxlzevgbmqjqa") - .withActions(Arrays.asList(new ChaosExperimentAction().withName("y"))), - new ChaosExperimentBranch().withName("mivkwlzuvcc") - .withActions(Arrays.asList(new ChaosExperimentAction().withName("nfnbacfionlebxe"), - new ChaosExperimentAction().withName("qgtz"))))), - new ChaosExperimentStep().withName("dpnqbq") - .withBranches(Arrays.asList( - new ChaosExperimentBranch().withName("xrjfeallnwsub") - .withActions(Arrays.asList(new ChaosExperimentAction().withName("njampm"), - new ChaosExperimentAction().withName("gnzscxaqwo"), - new ChaosExperimentAction().withName("chcbonqvpkvlrxnj"))), - new ChaosExperimentBranch().withName("ase") - .withActions(Arrays.asList(new ChaosExperimentAction().withName("heoflokeyyienjbd"), - new ChaosExperimentAction().withName("wtgrhpdjpj"), - new ChaosExperimentAction().withName("masxazjpqyegu"))), - new ChaosExperimentBranch().withName("lhbxxhejjzzvdud") - .withActions(Arrays.asList(new ChaosExperimentAction().withName("dslfhotwmcy"), - new ChaosExperimentAction().withName("pwlbjnpg"), - new ChaosExperimentAction().withName("cftadeh"))), - new ChaosExperimentBranch().withName("nltyfsoppusuesnz") - .withActions(Arrays.asList(new ChaosExperimentAction().withName("ej"), - new ChaosExperimentAction().withName("avo"))))), - new ChaosExperimentStep().withName("xzdmohctb") - .withBranches(Arrays.asList( - new ChaosExperimentBranch().withName("udwxdndnvowguj") - .withActions(Arrays.asList(new ChaosExperimentAction().withName("gwdkcglhsl"))), - new ChaosExperimentBranch().withName("zj") - .withActions(Arrays.asList(new ChaosExperimentAction().withName("ggd"), - new ChaosExperimentAction().withName("jixhbk"), - new ChaosExperimentAction().withName("ofqweykhmenevfye"))))), - new ChaosExperimentStep().withName("fwhybcibvy") - .withBranches(Arrays.asList(new ChaosExperimentBranch().withName("c") - .withActions(Arrays.asList(new ChaosExperimentAction().withName("tynnaamdectehfi"))))))) - .withSelectors(Arrays.asList(new ChaosTargetSelector().withId("cj").withFilter(new ChaosTargetFilter()), - new ChaosTargetSelector().withId("pvhez").withFilter(new ChaosTargetFilter()))); + new ChaosExperimentBranch().withName("ggd") + .withActions(Arrays.asList(new ChaosExperimentAction().withName("ixhbkuofqweykhm"), + new ChaosExperimentAction().withName("n"))), + new ChaosExperimentBranch().withName("vfyexfw") + .withActions(Arrays.asList(new ChaosExperimentAction().withName("bcibvyvdcsitynn"), + new ChaosExperimentAction().withName("amdecte"), + new ChaosExperimentAction().withName("f"), + new ChaosExperimentAction().withName("qsc"))), + new ChaosExperimentBranch().withName("eypvhezrkg") + .withActions(Arrays.asList(new ChaosExperimentAction().withName("c"), + new ChaosExperimentAction().withName("refovgmkqsleyyvx"), + new ChaosExperimentAction().withName("qjpkcattpngjcrc"))))))) + .withSelectors( + Arrays.asList(new ChaosTargetSelector().withId("sqpjhvmdajvn").withFilter(new ChaosTargetFilter()), + new ChaosTargetSelector().withId("ounqecano").withFilter(new ChaosTargetFilter()), + new ChaosTargetSelector().withId("upfh").withFilter(new ChaosTargetFilter()), + new ChaosTargetSelector().withId("ltrpmopj").withFilter(new ChaosTargetFilter()))); model = BinaryData.fromObject(model).toObject(ExperimentInner.class); - Assertions.assertEquals("q", model.location()); - Assertions.assertEquals("refovgmkqsleyyvx", model.tags().get("qjpkcattpngjcrc")); - Assertions.assertEquals(ManagedServiceIdentityType.SYSTEM_ASSIGNED_USER_ASSIGNED, model.identity().type()); - Assertions.assertEquals("jybige", model.steps().get(0).name()); - Assertions.assertEquals("qfbow", model.steps().get(0).branches().get(0).name()); - Assertions.assertEquals("anyktzlcuiywg", model.steps().get(0).branches().get(0).actions().get(0).name()); - Assertions.assertEquals("cj", model.selectors().get(0).id()); + Assertions.assertEquals("atuokthfuiu", model.location()); + Assertions.assertEquals("sfcpkvxodpuozm", model.tags().get("zydagfuaxbezyiuo")); + Assertions.assertEquals(ManagedServiceIdentityType.USER_ASSIGNED, model.identity().type()); + Assertions.assertEquals("ea", model.steps().get(0).name()); + Assertions.assertEquals("ipheoflokeyyien", model.steps().get(0).branches().get(0).name()); + Assertions.assertEquals("dlwtgrhpdj", model.steps().get(0).branches().get(0).actions().get(0).name()); + Assertions.assertEquals("sqpjhvmdajvn", model.selectors().get(0).id()); } // Use "Map.of" if available diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/ExperimentListResultTests.java b/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/ExperimentListResultTests.java index 6fe4ae9e2509..b43f1d5d0f2a 100644 --- a/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/ExperimentListResultTests.java +++ b/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/ExperimentListResultTests.java @@ -13,14 +13,14 @@ public final class ExperimentListResultTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { ExperimentListResult model = BinaryData.fromString( - "{\"value\":[{\"identity\":{\"principalId\":\"iexzfeyue\",\"tenantId\":\"ibx\",\"type\":\"UserAssigned\",\"userAssignedIdentities\":{\"rhdwbavxbniw\":{\"principalId\":\"qwalmuzyoxaepd\",\"clientId\":\"jancu\"},\"ytxhp\":{\"principalId\":\"swzts\",\"clientId\":\"pgn\"},\"wtctyqi\":{\"principalId\":\"bzpfzab\",\"clientId\":\"cuh\"},\"kfplgmgsxnk\":{\"principalId\":\"bbovplwzbhvgyugu\",\"clientId\":\"vmkfssxqu\"}}},\"properties\":{\"provisioningState\":\"Deleting\",\"steps\":[{\"name\":\"es\",\"branches\":[{\"name\":\"vlopwiyighx\",\"actions\":[]},{\"name\":\"kdwzbaiuebbaumny\",\"actions\":[]},{\"name\":\"upedeojnabckhs\",\"actions\":[]},{\"name\":\"txp\",\"actions\":[]}]},{\"name\":\"ie\",\"branches\":[{\"name\":\"fhvpesaps\",\"actions\":[]},{\"name\":\"rdqmhjjdhtldwkyz\",\"actions\":[]},{\"name\":\"uutkncw\",\"actions\":[]},{\"name\":\"cwsvlxotog\",\"actions\":[]}]}],\"selectors\":[{\"type\":\"ChaosTargetSelector\",\"id\":\"rupqsxvnmicy\",\"filter\":{\"type\":\"ChaosTargetFilter\"}},{\"type\":\"ChaosTargetSelector\",\"id\":\"ceoveilovno\",\"filter\":{\"type\":\"ChaosTargetFilter\"}},{\"type\":\"ChaosTargetSelector\",\"id\":\"fj\",\"filter\":{\"type\":\"ChaosTargetFilter\"}},{\"type\":\"ChaosTargetSelector\",\"id\":\"njbkcnxdhbttkph\",\"filter\":{\"type\":\"ChaosTargetFilter\"}}]},\"location\":\"nv\",\"tags\":{\"crpab\":\"qnermclfplphoxu\",\"sbj\":\"ye\",\"wfqkquj\":\"azqugxywpmueefj\"},\"id\":\"dsuyonobgla\",\"name\":\"cq\",\"type\":\"tcc\"},{\"identity\":{\"principalId\":\"udxytlmoyrx\",\"tenantId\":\"fudwpznt\",\"type\":\"SystemAssigned\",\"userAssignedIdentities\":{\"ca\":{\"principalId\":\"lrqjbhckfr\",\"clientId\":\"rxsbkyvp\"},\"kuwbcrnwb\":{\"principalId\":\"z\",\"clientId\":\"zka\"}}},\"properties\":{\"provisioningState\":\"Updating\",\"steps\":[{\"name\":\"seyvj\",\"branches\":[{\"name\":\"rts\",\"actions\":[]},{\"name\":\"hspkdeemao\",\"actions\":[]},{\"name\":\"mx\",\"actions\":[]},{\"name\":\"gkvtmelmqkrhah\",\"actions\":[]}]},{\"name\":\"ljuahaquhcdh\",\"branches\":[{\"name\":\"ualaexqpvfadmw\",\"actions\":[]},{\"name\":\"rcrgvx\",\"actions\":[]}]}],\"selectors\":[{\"type\":\"ChaosTargetSelector\",\"id\":\"gomz\",\"filter\":{\"type\":\"ChaosTargetFilter\"}},{\"type\":\"ChaosTargetSelector\",\"id\":\"misgwbnb\",\"filter\":{\"type\":\"ChaosTargetFilter\"}}]},\"location\":\"dawkzbali\",\"tags\":{\"xosow\":\"qhakauhashsf\",\"cjooxdjebwpucwwf\":\"xcug\",\"hzceuojgjrwjue\":\"ovbvmeueciv\"},\"id\":\"otwmcdyt\",\"name\":\"x\",\"type\":\"it\"},{\"identity\":{\"principalId\":\"jawgqwg\",\"tenantId\":\"ni\",\"type\":\"SystemAssigned,UserAssigned\",\"userAssignedIdentities\":{\"btdhxujznbm\":{\"principalId\":\"kpycgklwndnhjd\",\"clientId\":\"whvylw\"}}},\"properties\":{\"provisioningState\":\"Canceled\",\"steps\":[{\"name\":\"wpr\",\"branches\":[{\"name\":\"lve\",\"actions\":[]},{\"name\":\"alupjm\",\"actions\":[]},{\"name\":\"hfxobbcswsrtj\",\"actions\":[]},{\"name\":\"iplrbpbewtghfgb\",\"actions\":[]}]},{\"name\":\"c\",\"branches\":[{\"name\":\"xzvlvqhjkbegib\",\"actions\":[]},{\"name\":\"nmxiebwwaloayqc\",\"actions\":[]},{\"name\":\"wrtz\",\"actions\":[]}]}],\"selectors\":[{\"type\":\"ChaosTargetSelector\",\"id\":\"zg\",\"filter\":{\"type\":\"ChaosTargetFilter\"}},{\"type\":\"ChaosTargetSelector\",\"id\":\"zmh\",\"filter\":{\"type\":\"ChaosTargetFilter\"}},{\"type\":\"ChaosTargetSelector\",\"id\":\"ongmtsa\",\"filter\":{\"type\":\"ChaosTargetFilter\"}}]},\"location\":\"bp\",\"tags\":{\"rknftguvriuhprwm\":\"p\",\"bexrmcq\":\"yvxqtayriwwroy\",\"e\":\"bycnojvkn\",\"zhpvgqzcjrvxd\":\"qsgzvahapj\"},\"id\":\"zlmwlxkvugfhz\",\"name\":\"vawjvzunlu\",\"type\":\"hnnpr\"},{\"identity\":{\"principalId\":\"peilpjzuaejxdu\",\"tenantId\":\"skzbb\",\"type\":\"UserAssigned\",\"userAssignedIdentities\":{\"waboe\":{\"principalId\":\"veekgpwozuhkfp\",\"clientId\":\"jyofdxluusdtto\"},\"vbxwyjsflhh\":{\"principalId\":\"v\",\"clientId\":\"lns\"},\"jpkiidzyexznelix\":{\"principalId\":\"aln\",\"clientId\":\"xisxyawjoyaqcsl\"},\"aulppggd\":{\"principalId\":\"rzt\",\"clientId\":\"lhbnxkna\"}}},\"properties\":{\"provisioningState\":\"Failed\",\"steps\":[{\"name\":\"pnyiropuhp\",\"branches\":[{\"name\":\"vpgylgqgitxmed\",\"actions\":[]},{\"name\":\"v\",\"actions\":[]}]},{\"name\":\"slynqwwnc\",\"branches\":[{\"name\":\"zhxgktrmgucn\",\"actions\":[]},{\"name\":\"pkteo\",\"actions\":[]},{\"name\":\"llwptfdy\",\"actions\":[]}]},{\"name\":\"pfqbuaceopzf\",\"branches\":[{\"name\":\"hhuao\",\"actions\":[]},{\"name\":\"ppcqeqxolz\",\"actions\":[]},{\"name\":\"ahzxctobgbk\",\"actions\":[]},{\"name\":\"moizpos\",\"actions\":[]}]},{\"name\":\"mgrcfbu\",\"branches\":[{\"name\":\"mfqjhhkxbp\",\"actions\":[]},{\"name\":\"jy\",\"actions\":[]},{\"name\":\"jhxxjyn\",\"actions\":[]},{\"name\":\"u\",\"actions\":[]}]}],\"selectors\":[{\"type\":\"ChaosTargetSelector\",\"id\":\"vkr\",\"filter\":{\"type\":\"ChaosTargetFilter\"}},{\"type\":\"ChaosTargetSelector\",\"id\":\"wbxqzvszjfau\",\"filter\":{\"type\":\"ChaosTargetFilter\"}}]},\"location\":\"dxxiv\",\"tags\":{\"qaqtdoqmcbxvwvxy\":\"t\",\"obl\":\"lqbhsf\",\"bkrvrnsvshqj\":\"tkblmpewww\"},\"id\":\"hxcr\",\"name\":\"bfovasrruvwbhsq\",\"type\":\"sub\"}],\"nextLink\":\"jbi\"}") + "{\"value\":[{\"identity\":{\"principalId\":\"bgyepsbj\",\"tenantId\":\"zq\",\"type\":\"SystemAssigned\",\"userAssignedIdentities\":{\"xtccmg\":{\"principalId\":\"pmueefjzwfqk\",\"clientId\":\"jidsuyonobglaoc\"},\"zhlrqjb\":{\"principalId\":\"dxyt\",\"clientId\":\"oyrxvwfudwpzntxh\"},\"b\":{\"principalId\":\"kfrlhrxsbky\",\"clientId\":\"ycanuzbpzkafku\"},\"maofmxagkv\":{\"principalId\":\"nwbmeh\",\"clientId\":\"eyvjusrtslhspkde\"}}},\"properties\":{\"provisioningState\":\"Succeeded\",\"steps\":[{\"name\":\"mqkrhahvljuahaqu\",\"branches\":[{\"name\":\"dhmdua\",\"actions\":[]}]},{\"name\":\"aex\",\"branches\":[{\"name\":\"vfadmws\",\"actions\":[]},{\"name\":\"crgvxpvgom\",\"actions\":[]},{\"name\":\"lf\",\"actions\":[]}]},{\"name\":\"isgwbnbbeldawkz\",\"branches\":[{\"name\":\"liourqhak\",\"actions\":[]}]}],\"selectors\":[{\"type\":\"ChaosTargetSelector\",\"id\":\"hashsfwxosow\",\"filter\":{\"type\":\"ChaosTargetFilter\"}},{\"type\":\"ChaosTargetSelector\",\"id\":\"cugicjoox\",\"filter\":{\"type\":\"ChaosTargetFilter\"}},{\"type\":\"ChaosTargetSelector\",\"id\":\"ebwpucwwfvo\",\"filter\":{\"type\":\"ChaosTargetFilter\"}}]},\"location\":\"meue\",\"tags\":{\"euojgjrwju\":\"yhz\",\"nrjawgqwg\":\"iotwmcdytdxwit\",\"klwndnhjdauwhv\":\"hniskxfbkpyc\",\"zbtd\":\"l\"},\"id\":\"xujznbmpowu\",\"name\":\"przqlveu\",\"type\":\"lupj\"},{\"identity\":{\"principalId\":\"fxobbcsws\",\"tenantId\":\"jriplrbpbewtghf\",\"type\":\"None\",\"userAssignedIdentities\":{\"cgwrtzjuz\":{\"principalId\":\"wxzvlvqhjkb\",\"clientId\":\"ibtnmxiebwwaloay\"}}},\"properties\":{\"provisioningState\":\"Succeeded\",\"steps\":[{\"name\":\"mhtxongmtsavjcb\",\"branches\":[{\"name\":\"xqpsrknftguv\",\"actions\":[]},{\"name\":\"iuhprwmdyvxqta\",\"actions\":[]},{\"name\":\"riwwroy\",\"actions\":[]},{\"name\":\"bexrmcq\",\"actions\":[]}]}],\"selectors\":[{\"type\":\"ChaosTargetSelector\",\"id\":\"ycnojvknmefqsg\",\"filter\":{\"type\":\"ChaosTargetFilter\"}},{\"type\":\"ChaosTargetSelector\",\"id\":\"ah\",\"filter\":{\"type\":\"ChaosTargetFilter\"}},{\"type\":\"ChaosTargetSelector\",\"id\":\"jyzhpvgq\",\"filter\":{\"type\":\"ChaosTargetFilter\"}}]},\"location\":\"rvxdjzlmw\",\"tags\":{\"fhzovawjvzunluth\":\"vu\",\"rnxipei\":\"n\",\"e\":\"pjzu\",\"kzbbtd\":\"xdult\"},\"id\":\"umveekgpwozuhkf\",\"name\":\"bsjyofdx\",\"type\":\"uusdttouwa\"}],\"nextLink\":\"ekqvkeln\"}") .toObject(ExperimentListResult.class); - Assertions.assertEquals("nv", model.value().get(0).location()); - Assertions.assertEquals("qnermclfplphoxu", model.value().get(0).tags().get("crpab")); - Assertions.assertEquals(ManagedServiceIdentityType.USER_ASSIGNED, model.value().get(0).identity().type()); - Assertions.assertEquals("es", model.value().get(0).steps().get(0).name()); - Assertions.assertEquals("vlopwiyighx", model.value().get(0).steps().get(0).branches().get(0).name()); - Assertions.assertEquals("rupqsxvnmicy", model.value().get(0).selectors().get(0).id()); - Assertions.assertEquals("jbi", model.nextLink()); + Assertions.assertEquals("meue", model.value().get(0).location()); + Assertions.assertEquals("yhz", model.value().get(0).tags().get("euojgjrwju")); + Assertions.assertEquals(ManagedServiceIdentityType.SYSTEM_ASSIGNED, model.value().get(0).identity().type()); + Assertions.assertEquals("mqkrhahvljuahaqu", model.value().get(0).steps().get(0).name()); + Assertions.assertEquals("dhmdua", model.value().get(0).steps().get(0).branches().get(0).name()); + Assertions.assertEquals("hashsfwxosow", model.value().get(0).selectors().get(0).id()); + Assertions.assertEquals("ekqvkeln", model.nextLink()); } } diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/ExperimentPropertiesTests.java b/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/ExperimentPropertiesTests.java index cfdfcdca5243..4503f731316f 100644 --- a/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/ExperimentPropertiesTests.java +++ b/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/ExperimentPropertiesTests.java @@ -18,45 +18,76 @@ public final class ExperimentPropertiesTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { ExperimentProperties model = BinaryData.fromString( - "{\"provisioningState\":\"Updating\",\"steps\":[{\"name\":\"idyjrrfbyaosvexc\",\"branches\":[{\"name\":\"npc\",\"actions\":[{\"type\":\"ChaosExperimentAction\",\"name\":\"ocohslkevleg\"},{\"type\":\"ChaosExperimentAction\",\"name\":\"zfbuhf\"},{\"type\":\"ChaosExperimentAction\",\"name\":\"vfaxkffeiith\"}]}]},{\"name\":\"vmezy\",\"branches\":[{\"name\":\"hxmzsbbzoggig\",\"actions\":[{\"type\":\"ChaosExperimentAction\",\"name\":\"wburvjxxjnspydpt\"},{\"type\":\"ChaosExperimentAction\",\"name\":\"oenkouknvudwti\"},{\"type\":\"ChaosExperimentAction\",\"name\":\"kbldngkpocipa\"}]},{\"name\":\"yxoegukgjnp\",\"actions\":[{\"type\":\"ChaosExperimentAction\",\"name\":\"cgygev\"},{\"type\":\"ChaosExperimentAction\",\"name\":\"zntypmrb\"},{\"type\":\"ChaosExperimentAction\",\"name\":\"izcdrqjsd\"}]},{\"name\":\"ydnfyhxdeoejz\",\"actions\":[{\"type\":\"ChaosExperimentAction\",\"name\":\"w\"}]},{\"name\":\"fsj\",\"actions\":[{\"type\":\"ChaosExperimentAction\",\"name\":\"gzfbishcbk\"},{\"type\":\"ChaosExperimentAction\",\"name\":\"ajdeyeamdphaga\"},{\"type\":\"ChaosExperimentAction\",\"name\":\"pbuxwgipwhon\"}]}]}],\"selectors\":[{\"type\":\"ChaosTargetSelector\",\"id\":\"kgshwa\",\"filter\":{\"type\":\"ChaosTargetFilter\"}},{\"type\":\"ChaosTargetSelector\",\"id\":\"ixzbinjeputtmryw\",\"filter\":{\"type\":\"ChaosTargetFilter\"}}]}") + "{\"provisioningState\":\"Canceled\",\"steps\":[{\"name\":\"buhfmvfaxkffeiit\",\"branches\":[{\"name\":\"vmezy\",\"actions\":[{\"type\":\"ChaosExperimentAction\",\"name\":\"hxmzsbbzoggig\"},{\"type\":\"ChaosExperimentAction\",\"name\":\"xwburvjxxjns\"},{\"type\":\"ChaosExperimentAction\",\"name\":\"ydptkoen\"},{\"type\":\"ChaosExperimentAction\",\"name\":\"ou\"}]},{\"name\":\"nvudwtiukb\",\"actions\":[{\"type\":\"ChaosExperimentAction\",\"name\":\"ngkpocipazy\"}]},{\"name\":\"o\",\"actions\":[{\"type\":\"ChaosExperimentAction\",\"name\":\"ukgjnpiucgygevq\"},{\"type\":\"ChaosExperimentAction\",\"name\":\"ntypmrbpizcdrqj\"},{\"type\":\"ChaosExperimentAction\",\"name\":\"dpydn\"},{\"type\":\"ChaosExperimentAction\",\"name\":\"yhxdeoejzicwi\"}]},{\"name\":\"sjttgzfbish\",\"actions\":[{\"type\":\"ChaosExperimentAction\",\"name\":\"khaj\"}]}]},{\"name\":\"eyeam\",\"branches\":[{\"name\":\"hagalpbuxwgipwh\",\"actions\":[{\"type\":\"ChaosExperimentAction\",\"name\":\"ow\"},{\"type\":\"ChaosExperimentAction\",\"name\":\"gshwankixz\"}]}]},{\"name\":\"injep\",\"branches\":[{\"name\":\"tmryw\",\"actions\":[{\"type\":\"ChaosExperimentAction\",\"name\":\"zoqftiyqzrnkcqvy\"},{\"type\":\"ChaosExperimentAction\",\"name\":\"lwh\"}]},{\"name\":\"lsicohoqqnwv\",\"actions\":[{\"type\":\"ChaosExperimentAction\",\"name\":\"yav\"},{\"type\":\"ChaosExperimentAction\",\"name\":\"hheunmmqhgyx\"},{\"type\":\"ChaosExperimentAction\",\"name\":\"konocu\"},{\"type\":\"ChaosExperimentAction\",\"name\":\"oklyaxuconuq\"}]},{\"name\":\"zf\",\"actions\":[{\"type\":\"ChaosExperimentAction\",\"name\":\"eyp\"},{\"type\":\"ChaosExperimentAction\",\"name\":\"wrmjmwvvjektc\"},{\"type\":\"ChaosExperimentAction\",\"name\":\"senhwlrs\"}]}]},{\"name\":\"frzpwvlqdqgb\",\"branches\":[{\"name\":\"ylihkaetckt\",\"actions\":[{\"type\":\"ChaosExperimentAction\",\"name\":\"civfsnkymuctq\"},{\"type\":\"ChaosExperimentAction\",\"name\":\"jf\"},{\"type\":\"ChaosExperimentAction\",\"name\":\"ebrjcxe\"}]},{\"name\":\"fuwutttxf\",\"actions\":[{\"type\":\"ChaosExperimentAction\",\"name\":\"rbirphxe\"},{\"type\":\"ChaosExperimentAction\",\"name\":\"c\"},{\"type\":\"ChaosExperimentAction\",\"name\":\"vahfn\"},{\"type\":\"ChaosExperimentAction\",\"name\":\"jky\"}]},{\"name\":\"xjvuujqgidokg\",\"actions\":[{\"type\":\"ChaosExperimentAction\",\"name\":\"jyoxgvclt\"},{\"type\":\"ChaosExperimentAction\",\"name\":\"gsncghkjeszz\"},{\"type\":\"ChaosExperimentAction\",\"name\":\"bijhtxfvgxbf\"}]}]}],\"selectors\":[{\"type\":\"ChaosTargetSelector\",\"id\":\"xnehmpvec\",\"filter\":{\"type\":\"ChaosTargetFilter\"}},{\"type\":\"ChaosTargetSelector\",\"id\":\"odebfqkkrbmpu\",\"filter\":{\"type\":\"ChaosTargetFilter\"}}]}") .toObject(ExperimentProperties.class); - Assertions.assertEquals("idyjrrfbyaosvexc", model.steps().get(0).name()); - Assertions.assertEquals("npc", model.steps().get(0).branches().get(0).name()); - Assertions.assertEquals("ocohslkevleg", model.steps().get(0).branches().get(0).actions().get(0).name()); - Assertions.assertEquals("kgshwa", model.selectors().get(0).id()); + Assertions.assertEquals("buhfmvfaxkffeiit", model.steps().get(0).name()); + Assertions.assertEquals("vmezy", model.steps().get(0).branches().get(0).name()); + Assertions.assertEquals("hxmzsbbzoggig", model.steps().get(0).branches().get(0).actions().get(0).name()); + Assertions.assertEquals("xnehmpvec", model.selectors().get(0).id()); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { ExperimentProperties model = new ExperimentProperties() .withSteps(Arrays.asList( - new ChaosExperimentStep().withName("idyjrrfbyaosvexc") - .withBranches(Arrays.asList(new ChaosExperimentBranch().withName("npc") - .withActions(Arrays.asList(new ChaosExperimentAction().withName("ocohslkevleg"), - new ChaosExperimentAction().withName("zfbuhf"), - new ChaosExperimentAction().withName("vfaxkffeiith"))))), - new ChaosExperimentStep().withName("vmezy") + new ChaosExperimentStep().withName("buhfmvfaxkffeiit") .withBranches(Arrays.asList( - new ChaosExperimentBranch().withName("hxmzsbbzoggig") - .withActions(Arrays.asList(new ChaosExperimentAction().withName("wburvjxxjnspydpt"), - new ChaosExperimentAction().withName("oenkouknvudwti"), - new ChaosExperimentAction().withName("kbldngkpocipa"))), - new ChaosExperimentBranch().withName("yxoegukgjnp") - .withActions(Arrays.asList(new ChaosExperimentAction().withName("cgygev"), - new ChaosExperimentAction().withName("zntypmrb"), - new ChaosExperimentAction().withName("izcdrqjsd"))), - new ChaosExperimentBranch().withName("ydnfyhxdeoejz") - .withActions(Arrays.asList(new ChaosExperimentAction().withName("w"))), - new ChaosExperimentBranch().withName("fsj") - .withActions(Arrays.asList(new ChaosExperimentAction().withName("gzfbishcbk"), - new ChaosExperimentAction().withName("ajdeyeamdphaga"), - new ChaosExperimentAction().withName("pbuxwgipwhon"))))))) - .withSelectors(Arrays.asList(new ChaosTargetSelector().withId("kgshwa").withFilter(new ChaosTargetFilter()), - new ChaosTargetSelector().withId("ixzbinjeputtmryw").withFilter(new ChaosTargetFilter()))); + new ChaosExperimentBranch().withName("vmezy") + .withActions(Arrays.asList(new ChaosExperimentAction().withName("hxmzsbbzoggig"), + new ChaosExperimentAction().withName("xwburvjxxjns"), + new ChaosExperimentAction().withName("ydptkoen"), + new ChaosExperimentAction().withName("ou"))), + new ChaosExperimentBranch().withName("nvudwtiukb") + .withActions(Arrays.asList(new ChaosExperimentAction().withName("ngkpocipazy"))), + new ChaosExperimentBranch().withName("o") + .withActions(Arrays.asList(new ChaosExperimentAction().withName("ukgjnpiucgygevq"), + new ChaosExperimentAction().withName("ntypmrbpizcdrqj"), + new ChaosExperimentAction().withName("dpydn"), + new ChaosExperimentAction().withName("yhxdeoejzicwi"))), + new ChaosExperimentBranch().withName("sjttgzfbish") + .withActions(Arrays.asList(new ChaosExperimentAction().withName("khaj"))))), + new ChaosExperimentStep().withName("eyeam") + .withBranches(Arrays.asList(new ChaosExperimentBranch().withName("hagalpbuxwgipwh") + .withActions(Arrays.asList(new ChaosExperimentAction().withName("ow"), + new ChaosExperimentAction().withName("gshwankixz"))))), + new ChaosExperimentStep().withName("injep") + .withBranches(Arrays.asList( + new ChaosExperimentBranch().withName("tmryw") + .withActions(Arrays.asList(new ChaosExperimentAction().withName("zoqftiyqzrnkcqvy"), + new ChaosExperimentAction().withName("lwh"))), + new ChaosExperimentBranch().withName("lsicohoqqnwv") + .withActions(Arrays.asList(new ChaosExperimentAction().withName("yav"), + new ChaosExperimentAction().withName("hheunmmqhgyx"), + new ChaosExperimentAction().withName("konocu"), + new ChaosExperimentAction().withName("oklyaxuconuq"))), + new ChaosExperimentBranch() + .withName("zf") + .withActions( + Arrays.asList(new ChaosExperimentAction().withName("eyp"), + new ChaosExperimentAction().withName("wrmjmwvvjektc"), + new ChaosExperimentAction().withName("senhwlrs"))))), + new ChaosExperimentStep().withName("frzpwvlqdqgb") + .withBranches(Arrays.asList( + new ChaosExperimentBranch().withName("ylihkaetckt") + .withActions(Arrays.asList(new ChaosExperimentAction().withName("civfsnkymuctq"), + new ChaosExperimentAction().withName("jf"), + new ChaosExperimentAction().withName("ebrjcxe"))), + new ChaosExperimentBranch().withName("fuwutttxf") + .withActions(Arrays.asList(new ChaosExperimentAction().withName("rbirphxe"), + new ChaosExperimentAction().withName("c"), + new ChaosExperimentAction().withName("vahfn"), + new ChaosExperimentAction().withName("jky"))), + new ChaosExperimentBranch().withName("xjvuujqgidokg") + .withActions(Arrays.asList(new ChaosExperimentAction().withName("jyoxgvclt"), + new ChaosExperimentAction().withName("gsncghkjeszz"), + new ChaosExperimentAction().withName("bijhtxfvgxbf"))))))) + .withSelectors( + Arrays.asList(new ChaosTargetSelector().withId("xnehmpvec").withFilter(new ChaosTargetFilter()), + new ChaosTargetSelector().withId("odebfqkkrbmpu").withFilter(new ChaosTargetFilter()))); model = BinaryData.fromObject(model).toObject(ExperimentProperties.class); - Assertions.assertEquals("idyjrrfbyaosvexc", model.steps().get(0).name()); - Assertions.assertEquals("npc", model.steps().get(0).branches().get(0).name()); - Assertions.assertEquals("ocohslkevleg", model.steps().get(0).branches().get(0).actions().get(0).name()); - Assertions.assertEquals("kgshwa", model.selectors().get(0).id()); + Assertions.assertEquals("buhfmvfaxkffeiit", model.steps().get(0).name()); + Assertions.assertEquals("vmezy", model.steps().get(0).branches().get(0).name()); + Assertions.assertEquals("hxmzsbbzoggig", model.steps().get(0).branches().get(0).actions().get(0).name()); + Assertions.assertEquals("xnehmpvec", model.selectors().get(0).id()); } } diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/ExperimentUpdateTests.java b/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/ExperimentUpdateTests.java index 3c84ff60379a..3be855df8132 100644 --- a/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/ExperimentUpdateTests.java +++ b/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/ExperimentUpdateTests.java @@ -17,21 +17,22 @@ public final class ExperimentUpdateTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { ExperimentUpdate model = BinaryData.fromString( - "{\"tags\":{\"arbu\":\"bfs\"},\"identity\":{\"principalId\":\"vpnazzm\",\"tenantId\":\"runmp\",\"type\":\"UserAssigned\",\"userAssignedIdentities\":{\"qidybyx\":{\"principalId\":\"hrbnlankxmyskpbh\",\"clientId\":\"btkcxywnytnrsyn\"},\"hsucoc\":{\"principalId\":\"fclhaaxdbabphlwr\",\"clientId\":\"fkts\"},\"uedck\":{\"principalId\":\"yyazttbt\",\"clientId\":\"rq\"}}}}") + "{\"tags\":{\"zb\":\"pvlopwiyighxpkd\",\"upedeojnabckhs\":\"iuebbaumny\"},\"identity\":{\"principalId\":\"psiebtfhvpes\",\"tenantId\":\"skrdqmhjj\",\"type\":\"SystemAssigned\",\"userAssignedIdentities\":{\"cwsvlxotog\":{\"principalId\":\"wky\",\"clientId\":\"uutkncw\"},\"yfjfcnjbkcn\":{\"principalId\":\"rupqsxvnmicy\",\"clientId\":\"ceoveilovno\"},\"phoxus\":{\"principalId\":\"hbttkphyw\",\"clientId\":\"vjtoqnermclfp\"}}}}") .toObject(ExperimentUpdate.class); - Assertions.assertEquals("bfs", model.tags().get("arbu")); - Assertions.assertEquals(ManagedServiceIdentityType.USER_ASSIGNED, model.identity().type()); + Assertions.assertEquals("pvlopwiyighxpkd", model.tags().get("zb")); + Assertions.assertEquals(ManagedServiceIdentityType.SYSTEM_ASSIGNED, model.identity().type()); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { - ExperimentUpdate model = new ExperimentUpdate().withTags(mapOf("arbu", "bfs")) - .withIdentity(new ResourceIdentity().withType(ManagedServiceIdentityType.USER_ASSIGNED) - .withUserAssignedIdentities(mapOf("qidybyx", new UserAssignedIdentity(), "hsucoc", - new UserAssignedIdentity(), "uedck", new UserAssignedIdentity()))); + ExperimentUpdate model + = new ExperimentUpdate().withTags(mapOf("zb", "pvlopwiyighxpkd", "upedeojnabckhs", "iuebbaumny")) + .withIdentity(new ResourceIdentity().withType(ManagedServiceIdentityType.SYSTEM_ASSIGNED) + .withUserAssignedIdentities(mapOf("cwsvlxotog", new UserAssignedIdentity(), "yfjfcnjbkcn", + new UserAssignedIdentity(), "phoxus", new UserAssignedIdentity()))); model = BinaryData.fromObject(model).toObject(ExperimentUpdate.class); - Assertions.assertEquals("bfs", model.tags().get("arbu")); - Assertions.assertEquals(ManagedServiceIdentityType.USER_ASSIGNED, model.identity().type()); + Assertions.assertEquals("pvlopwiyighxpkd", model.tags().get("zb")); + Assertions.assertEquals(ManagedServiceIdentityType.SYSTEM_ASSIGNED, model.identity().type()); } // Use "Map.of" if available diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/ExperimentsCreateOrUpdateMockTests.java b/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/ExperimentsCreateOrUpdateMockTests.java index bb4088731dcc..4db829169703 100644 --- a/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/ExperimentsCreateOrUpdateMockTests.java +++ b/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/ExperimentsCreateOrUpdateMockTests.java @@ -31,7 +31,7 @@ public final class ExperimentsCreateOrUpdateMockTests { @Test public void testCreateOrUpdate() throws Exception { String responseStr - = "{\"identity\":{\"principalId\":\"tac\",\"tenantId\":\"bj\",\"type\":\"UserAssigned\",\"userAssignedIdentities\":{\"uxxpshne\":{\"principalId\":\"jznmwcpmguaa\",\"clientId\":\"aufactkahzovajjz\"},\"jbazpjuohminy\":{\"principalId\":\"ulfgslqu\",\"clientId\":\"wdlenrdsut\"},\"epn\":{\"principalId\":\"norwmduvwpklvx\",\"clientId\":\"ygdxpgpqchis\"},\"kwbqplhlvnuu\":{\"principalId\":\"jcrxgibbdaxcon\",\"clientId\":\"zauorsuk\"}}},\"properties\":{\"provisioningState\":\"Succeeded\",\"steps\":[{\"name\":\"r\",\"branches\":[{\"name\":\"wzsoldweyuqdunv\",\"actions\":[]}]},{\"name\":\"nnrwrbiork\",\"branches\":[{\"name\":\"lywjhh\",\"actions\":[]},{\"name\":\"dnhxmsi\",\"actions\":[]},{\"name\":\"fomiloxgg\",\"actions\":[]}]},{\"name\":\"ufiqndieuzaof\",\"branches\":[{\"name\":\"hvcyyysfg\",\"actions\":[]},{\"name\":\"otcubi\",\"actions\":[]},{\"name\":\"p\",\"actions\":[]}]}],\"selectors\":[{\"type\":\"ChaosTargetSelector\",\"id\":\"pwoqo\",\"filter\":{\"type\":\"ChaosTargetFilter\"}},{\"type\":\"ChaosTargetSelector\",\"id\":\"acjekni\",\"filter\":{\"type\":\"ChaosTargetFilter\"}},{\"type\":\"ChaosTargetSelector\",\"id\":\"hqvcimpevfgmblr\",\"filter\":{\"type\":\"ChaosTargetFilter\"}},{\"type\":\"ChaosTargetSelector\",\"id\":\"lbywdxsm\",\"filter\":{\"type\":\"ChaosTargetFilter\"}}]},\"location\":\"wrwfscjfnyns\",\"tags\":{\"byowbblgyavutp\":\"jizdvoqyt\"},\"id\":\"hjoxo\",\"name\":\"smsks\",\"type\":\"pi\"}"; + = "{\"identity\":{\"principalId\":\"amtmcz\",\"tenantId\":\"m\",\"type\":\"None\",\"userAssignedIdentities\":{\"ojmsvpkjprvkwc\":{\"principalId\":\"wqiok\",\"clientId\":\"sx\"},\"tczheydbsdshmkx\":{\"principalId\":\"ql\",\"clientId\":\"x\"}}},\"properties\":{\"provisioningState\":\"Succeeded\",\"steps\":[{\"name\":\"vbbxuripl\",\"branches\":[{\"name\":\"n\",\"actions\":[]},{\"name\":\"tbaxk\",\"actions\":[]},{\"name\":\"xywr\",\"actions\":[]}]},{\"name\":\"kpyklyhp\",\"branches\":[{\"name\":\"odpvruudlgzib\",\"actions\":[]},{\"name\":\"hostgktstvdxecl\",\"actions\":[]}]},{\"name\":\"edqbc\",\"branches\":[{\"name\":\"zlhp\",\"actions\":[]},{\"name\":\"odqkdlwwqfb\",\"actions\":[]},{\"name\":\"mlkxtrqjfs\",\"actions\":[]},{\"name\":\"lmbtxhwgfwsrt\",\"actions\":[]}]},{\"name\":\"wcoezbrhub\",\"branches\":[{\"name\":\"hud\",\"actions\":[]}]}],\"selectors\":[{\"type\":\"ChaosTargetSelector\",\"id\":\"oookkqfq\",\"filter\":{\"type\":\"ChaosTargetFilter\"}}]},\"location\":\"leorfmluiqtqz\",\"tags\":{\"kq\":\"yvnqqybaryeuay\",\"tiewdj\":\"bqgzslesjcbhern\"},\"id\":\"vbquwr\",\"name\":\"ehwagoh\",\"type\":\"uffkmrqemvvh\"}"; HttpClient httpClient = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8))); @@ -42,28 +42,28 @@ public void testCreateOrUpdate() throws Exception { Experiment response = manager.experiments() - .define("kwcf") - .withRegion("kqfqjbvl") - .withExistingResourceGroup("msvpkjpr") - .withSteps(Arrays.asList(new ChaosExperimentStep().withName("dlwwqfbumlkxt") - .withBranches(Arrays.asList( - new ChaosExperimentBranch().withName("jfsmlmbtxhwgfwsr").withActions(Arrays.asList()), - new ChaosExperimentBranch().withName("a").withActions(Arrays.asList()), - new ChaosExperimentBranch().withName("coezbrhubskh").withActions(Arrays.asList()))))) - .withSelectors( - Arrays.asList(new ChaosTargetSelector().withId("ygo").withFilter(new ChaosTargetFilter()))) - .withTags(mapOf("qybaryeua", "fmluiqtqzfavyvn", "qgzsles", "jkqa", "vbquwr", "cbhernntiewdj")) - .withIdentity(new ResourceIdentity().withType(ManagedServiceIdentityType.USER_ASSIGNED) - .withUserAssignedIdentities(mapOf("wrck", new UserAssignedIdentity(), "uudl", - new UserAssignedIdentity(), "lhpl", new UserAssignedIdentity()))) + .define("wdgzxulucv") + .withRegion("pxehuwrykqga") + .withExistingResourceGroup("kasdvlm") + .withSteps(Arrays.asList(new ChaosExperimentStep().withName("zjxvydfcea") + .withBranches(Arrays + .asList(new ChaosExperimentBranch().withName("lhvygdyftu").withActions(Arrays.asList()))))) + .withSelectors(Arrays.asList( + new ChaosTargetSelector().withId("twnawjslbiwkojgc").withFilter(new ChaosTargetFilter()), + new ChaosTargetSelector().withId("tsf").withFilter(new ChaosTargetFilter()), + new ChaosTargetSelector().withId("nbaeqphchqn").withFilter(new ChaosTargetFilter()))) + .withTags(mapOf("dvk", "viklb", "srhnjivo", "bejdznxcv")) + .withIdentity(new ResourceIdentity().withType(ManagedServiceIdentityType.SYSTEM_ASSIGNED) + .withUserAssignedIdentities( + mapOf("qhih", new UserAssignedIdentity(), "xjvfoimwksl", new UserAssignedIdentity()))) .create(); - Assertions.assertEquals("wrwfscjfnyns", response.location()); - Assertions.assertEquals("jizdvoqyt", response.tags().get("byowbblgyavutp")); - Assertions.assertEquals(ManagedServiceIdentityType.USER_ASSIGNED, response.identity().type()); - Assertions.assertEquals("r", response.steps().get(0).name()); - Assertions.assertEquals("wzsoldweyuqdunv", response.steps().get(0).branches().get(0).name()); - Assertions.assertEquals("pwoqo", response.selectors().get(0).id()); + Assertions.assertEquals("leorfmluiqtqz", response.location()); + Assertions.assertEquals("yvnqqybaryeuay", response.tags().get("kq")); + Assertions.assertEquals(ManagedServiceIdentityType.NONE, response.identity().type()); + Assertions.assertEquals("vbbxuripl", response.steps().get(0).name()); + Assertions.assertEquals("n", response.steps().get(0).branches().get(0).name()); + Assertions.assertEquals("oookkqfq", response.selectors().get(0).id()); } // Use "Map.of" if available diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/ExperimentsExecutionDetailsWithResponseMockTests.java b/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/ExperimentsExecutionDetailsWithResponseMockTests.java index 8e08be9754c1..8cd003d0344b 100644 --- a/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/ExperimentsExecutionDetailsWithResponseMockTests.java +++ b/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/ExperimentsExecutionDetailsWithResponseMockTests.java @@ -20,7 +20,7 @@ public final class ExperimentsExecutionDetailsWithResponseMockTests { @Test public void testExecutionDetailsWithResponse() throws Exception { String responseStr - = "{\"type\":\"eacvl\",\"id\":\"ygdyftumrtw\",\"name\":\"wjslbiwkojgcyzt\",\"properties\":{\"status\":\"z\",\"startedAt\":\"2021-07-03T06:16:35Z\",\"stoppedAt\":\"2021-03-07T16:28:02Z\",\"failureReason\":\"hchqnrnrpx\",\"lastActionAt\":\"2021-08-04T01:59:45Z\",\"runInformation\":{\"steps\":[{\"stepName\":\"qgaifmviklbydv\",\"stepId\":\"bejdznxcv\",\"status\":\"rhnj\",\"branches\":[{},{},{}]},{\"stepName\":\"v\",\"stepId\":\"ovqfzge\",\"status\":\"dftuljltduce\",\"branches\":[{},{},{},{}]},{\"stepName\":\"czu\",\"stepId\":\"ejwcwwqiok\",\"status\":\"sx\",\"branches\":[{},{}]}]}}}"; + = "{\"type\":\"zh\",\"id\":\"bibgjmfxumv\",\"name\":\"luyovwxnbkfezzx\",\"properties\":{\"status\":\"hwzdgirujbz\",\"startedAt\":\"2021-07-16T17:20:22Z\",\"stoppedAt\":\"2021-11-19T14:07:09Z\",\"failureReason\":\"btdcqvpniyujvi\",\"lastActionAt\":\"2021-03-20T12:04:05Z\",\"runInformation\":{\"steps\":[{\"stepName\":\"ssnrbgye\",\"stepId\":\"ymsgaojfmwnc\",\"status\":\"mrfhirctymox\",\"branches\":[{},{},{}]},{\"stepName\":\"ipiwy\",\"stepId\":\"uh\",\"status\":\"cpqjlihhyu\",\"branches\":[{},{},{},{}]}]}}}"; HttpClient httpClient = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8))); @@ -30,7 +30,7 @@ public void testExecutionDetailsWithResponse() throws Exception { new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD)); ExperimentExecutionDetails response = manager.experiments() - .executionDetailsWithResponse("fqntcyp", "xjvfoimwksl", "rcizjxvyd", com.azure.core.util.Context.NONE) + .executionDetailsWithResponse("gufhyaomtbg", "havgrvk", "fo", com.azure.core.util.Context.NONE) .getValue(); } diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/ExperimentsGetByResourceGroupWithResponseMockTests.java b/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/ExperimentsGetByResourceGroupWithResponseMockTests.java index a3bcba5b8d67..07286917fdca 100644 --- a/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/ExperimentsGetByResourceGroupWithResponseMockTests.java +++ b/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/ExperimentsGetByResourceGroupWithResponseMockTests.java @@ -22,7 +22,7 @@ public final class ExperimentsGetByResourceGroupWithResponseMockTests { @Test public void testGetByResourceGroupWithResponse() throws Exception { String responseStr - = "{\"identity\":{\"principalId\":\"fcqdpsq\",\"tenantId\":\"vpsvuoymgcce\",\"type\":\"UserAssigned\",\"userAssignedIdentities\":{\"edkowepbqpcrfk\":{\"principalId\":\"ypql\",\"clientId\":\"eokerqwkyhkobopg\"},\"y\":{\"principalId\":\"ccsnjvcdwxlpq\",\"clientId\":\"ftnkhtj\"},\"ywkbirryuzhlhkjo\":{\"principalId\":\"gwfqatmt\",\"clientId\":\"tmdvypgikdgs\"},\"ool\":{\"principalId\":\"vqqaatjinrvgo\",\"clientId\":\"mfiibfggj\"}}},\"properties\":{\"provisioningState\":\"Creating\",\"steps\":[{\"name\":\"kvtkkg\",\"branches\":[{\"name\":\"qwjygvja\",\"actions\":[]},{\"name\":\"vblm\",\"actions\":[]},{\"name\":\"vkzuhbxvvyhgso\",\"actions\":[]},{\"name\":\"byrqufeg\",\"actions\":[]}]}],\"selectors\":[{\"type\":\"ChaosTargetSelector\",\"id\":\"vwz\",\"filter\":{\"type\":\"ChaosTargetFilter\"}},{\"type\":\"ChaosTargetSelector\",\"id\":\"nhlmctlpdng\",\"filter\":{\"type\":\"ChaosTargetFilter\"}}]},\"location\":\"gbmhrixkwmyi\",\"tags\":{\"hbpnaixexccbd\":\"veg\",\"htpwij\":\"eaxhcexdrrvqahqk\",\"bfvoowvrv\":\"hyjsvfycx\",\"jqppyostronzmy\":\"t\"},\"id\":\"gfipnsxk\",\"name\":\"cwaekrrjre\",\"type\":\"fxtsgum\"}"; + = "{\"identity\":{\"principalId\":\"eokerqwkyhkobopg\",\"tenantId\":\"dkow\",\"type\":\"SystemAssigned,UserAssigned\",\"userAssignedIdentities\":{\"ftnkhtj\":{\"principalId\":\"cr\",\"clientId\":\"bwccsnjvcdwxlpqe\"},\"tmdvypgikdgs\":{\"principalId\":\"i\",\"clientId\":\"wfqatmtd\"}}},\"properties\":{\"provisioningState\":\"Canceled\",\"steps\":[{\"name\":\"birryuzhl\",\"branches\":[{\"name\":\"joqrvqqaatj\",\"actions\":[]}]}],\"selectors\":[{\"type\":\"ChaosTargetSelector\",\"id\":\"rv\",\"filter\":{\"type\":\"ChaosTargetFilter\"}},{\"type\":\"ChaosTargetSelector\",\"id\":\"upmfiibfg\",\"filter\":{\"type\":\"ChaosTargetFilter\"}},{\"type\":\"ChaosTargetSelector\",\"id\":\"ioolvrwxkvtkkgll\",\"filter\":{\"type\":\"ChaosTargetFilter\"}},{\"type\":\"ChaosTargetSelector\",\"id\":\"jygvjayvbl\",\"filter\":{\"type\":\"ChaosTargetFilter\"}}]},\"location\":\"k\",\"tags\":{\"opbyrqufegxu\":\"bxvvyhg\",\"bnhlmc\":\"wz\",\"dn\":\"l\",\"ijejvegrhbpn\":\"itvgbmhrixkwm\"},\"id\":\"ixexcc\",\"name\":\"dreaxh\",\"type\":\"exdrrvqahqkg\"}"; HttpClient httpClient = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8))); @@ -32,14 +32,14 @@ public void testGetByResourceGroupWithResponse() throws Exception { new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD)); Experiment response = manager.experiments() - .getByResourceGroupWithResponse("lvdnkfx", "semdwzrmu", com.azure.core.util.Context.NONE) + .getByResourceGroupWithResponse("qxqvpsvuoymgc", "elvezrypq", com.azure.core.util.Context.NONE) .getValue(); - Assertions.assertEquals("gbmhrixkwmyi", response.location()); - Assertions.assertEquals("veg", response.tags().get("hbpnaixexccbd")); - Assertions.assertEquals(ManagedServiceIdentityType.USER_ASSIGNED, response.identity().type()); - Assertions.assertEquals("kvtkkg", response.steps().get(0).name()); - Assertions.assertEquals("qwjygvja", response.steps().get(0).branches().get(0).name()); - Assertions.assertEquals("vwz", response.selectors().get(0).id()); + Assertions.assertEquals("k", response.location()); + Assertions.assertEquals("bxvvyhg", response.tags().get("opbyrqufegxu")); + Assertions.assertEquals(ManagedServiceIdentityType.SYSTEM_ASSIGNED_USER_ASSIGNED, response.identity().type()); + Assertions.assertEquals("birryuzhl", response.steps().get(0).name()); + Assertions.assertEquals("joqrvqqaatj", response.steps().get(0).branches().get(0).name()); + Assertions.assertEquals("rv", response.selectors().get(0).id()); } } diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/ExperimentsGetExecutionWithResponseMockTests.java b/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/ExperimentsGetExecutionWithResponseMockTests.java index e4835cc7c722..a93db311a087 100644 --- a/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/ExperimentsGetExecutionWithResponseMockTests.java +++ b/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/ExperimentsGetExecutionWithResponseMockTests.java @@ -20,7 +20,7 @@ public final class ExperimentsGetExecutionWithResponseMockTests { @Test public void testGetExecutionWithResponse() throws Exception { String responseStr - = "{\"properties\":{\"status\":\"zuhx\",\"startedAt\":\"2021-09-05T18:25:18Z\",\"stoppedAt\":\"2021-11-07T03:07:36Z\"},\"id\":\"ihhyuspskasd\",\"name\":\"lmfwdgzx\",\"type\":\"lucvpam\"}"; + = "{\"properties\":{\"status\":\"kkgthr\",\"startedAt\":\"2021-10-07T20:30:06Z\",\"stoppedAt\":\"2021-03-30T21:22:17Z\"},\"id\":\"dhqxvcx\",\"name\":\"frpdsofbshrns\",\"type\":\"buswdvzyy\"}"; HttpClient httpClient = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8))); @@ -30,7 +30,7 @@ public void testGetExecutionWithResponse() throws Exception { new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD)); ExperimentExecution response = manager.experiments() - .getExecutionWithResponse("rymsgaojfmw", "cotmr", "hirctymoxoftpipi", com.azure.core.util.Context.NONE) + .getExecutionWithResponse("tw", "sgogczhonnxk", "lgnyhmo", com.azure.core.util.Context.NONE) .getValue(); } diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/ExperimentsListAllExecutionsMockTests.java b/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/ExperimentsListAllExecutionsMockTests.java index e9ab6ab8955c..a000b3798929 100644 --- a/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/ExperimentsListAllExecutionsMockTests.java +++ b/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/ExperimentsListAllExecutionsMockTests.java @@ -21,7 +21,7 @@ public final class ExperimentsListAllExecutionsMockTests { @Test public void testListAllExecutions() throws Exception { String responseStr - = "{\"value\":[{\"properties\":{\"status\":\"wp\",\"startedAt\":\"2021-04-21T19:26:02Z\",\"stoppedAt\":\"2021-05-30T11:00:48Z\"},\"id\":\"gjup\",\"name\":\"uutpwoqhih\",\"type\":\"jqgwzp\"}]}"; + = "{\"value\":[{\"properties\":{\"status\":\"zejntps\",\"startedAt\":\"2021-03-12T23:39:14Z\",\"stoppedAt\":\"2021-09-17T14:36Z\"},\"id\":\"l\",\"name\":\"ukry\",\"type\":\"xtqmieoxor\"}]}"; HttpClient httpClient = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8))); @@ -31,7 +31,7 @@ public void testListAllExecutions() throws Exception { new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD)); PagedIterable response = manager.experiments() - .listAllExecutions("sreuzvxurisjnh", "ytxifqjzgxmrh", com.azure.core.util.Context.NONE); + .listAllExecutions("ycnunvjsrtk", "awnopqgikyzirtxd", com.azure.core.util.Context.NONE); } } diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/ExperimentsListByResourceGroupMockTests.java b/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/ExperimentsListByResourceGroupMockTests.java index 4607904a62e8..350109d7dbec 100644 --- a/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/ExperimentsListByResourceGroupMockTests.java +++ b/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/ExperimentsListByResourceGroupMockTests.java @@ -23,7 +23,7 @@ public final class ExperimentsListByResourceGroupMockTests { @Test public void testListByResourceGroup() throws Exception { String responseStr - = "{\"value\":[{\"identity\":{\"principalId\":\"lfktgplcrpwjxe\",\"tenantId\":\"oi\",\"type\":\"SystemAssigned\",\"userAssignedIdentities\":{\"azej\":{\"principalId\":\"w\",\"clientId\":\"kpnb\"},\"azpxdtnkdmkqjjl\":{\"principalId\":\"qkagfhsxt\",\"clientId\":\"ugzxnf\"},\"wfff\":{\"principalId\":\"envrkpyouaibrebq\",\"clientId\":\"ysjkixqtnqttez\"},\"d\":{\"principalId\":\"kpj\",\"clientId\":\"qmt\"}}},\"properties\":{\"provisioningState\":\"Failed\",\"steps\":[{\"name\":\"jihy\",\"branches\":[{\"name\":\"zphv\",\"actions\":[]},{\"name\":\"auyqncygupkv\",\"actions\":[]},{\"name\":\"p\",\"actions\":[]},{\"name\":\"dscwxqupevzhf\",\"actions\":[]}]},{\"name\":\"totxhojujb\",\"branches\":[{\"name\":\"elmcuvhixbjxyfw\",\"actions\":[]},{\"name\":\"yl\",\"actions\":[]},{\"name\":\"coolsttpkiwkkb\",\"actions\":[]},{\"name\":\"ujrywvtyl\",\"actions\":[]}]},{\"name\":\"fpncurdo\",\"branches\":[{\"name\":\"iithtywu\",\"actions\":[]},{\"name\":\"xcbihw\",\"actions\":[]},{\"name\":\"knfd\",\"actions\":[]}]}],\"selectors\":[{\"type\":\"ChaosTargetSelector\",\"id\":\"wjchrdg\",\"filter\":{\"type\":\"ChaosTargetFilter\"}},{\"type\":\"ChaosTargetSelector\",\"id\":\"hxumwctondzj\",\"filter\":{\"type\":\"ChaosTargetFilter\"}}]},\"location\":\"dfdlwggyts\",\"tags\":{\"x\":\"ovvtgseinqfiu\"},\"id\":\"knpirgnepttwq\",\"name\":\"sniffc\",\"type\":\"mqnrojlpijnkr\"}]}"; + = "{\"value\":[{\"identity\":{\"principalId\":\"vrvmtgjqppyost\",\"tenantId\":\"nzm\",\"type\":\"UserAssigned\",\"userAssignedIdentities\":{\"jglikkxwslolb\":{\"principalId\":\"pnsxkmcwaek\",\"clientId\":\"jreafxtsgum\"},\"gplcrpwjxeznoigb\":{\"principalId\":\"vuzlm\",\"clientId\":\"elfk\"}}},\"properties\":{\"provisioningState\":\"Failed\",\"steps\":[{\"name\":\"mw\",\"branches\":[{\"name\":\"nbsazejjoqkag\",\"actions\":[]}]}],\"selectors\":[{\"type\":\"ChaosTargetSelector\",\"id\":\"sxtta\",\"filter\":{\"type\":\"ChaosTargetFilter\"}},{\"type\":\"ChaosTargetSelector\",\"id\":\"zxnfaaz\",\"filter\":{\"type\":\"ChaosTargetFilter\"}},{\"type\":\"ChaosTargetSelector\",\"id\":\"dtnkdmkq\",\"filter\":{\"type\":\"ChaosTargetFilter\"}}]},\"location\":\"wuenvr\",\"tags\":{\"ibreb\":\"ou\"},\"id\":\"aays\",\"name\":\"kixqtnqtt\",\"type\":\"zlwfffiakp\"}]}"; HttpClient httpClient = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8))); @@ -33,14 +33,13 @@ public void testListByResourceGroup() throws Exception { new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD)); PagedIterable response = manager.experiments() - .listByResourceGroup("jglikkxwslolb", false, "vuzlm", com.azure.core.util.Context.NONE); + .listByResourceGroup("tpwijnh", true, "svfycxzbfv", com.azure.core.util.Context.NONE); - Assertions.assertEquals("dfdlwggyts", response.iterator().next().location()); - Assertions.assertEquals("ovvtgseinqfiu", response.iterator().next().tags().get("x")); - Assertions.assertEquals(ManagedServiceIdentityType.SYSTEM_ASSIGNED, - response.iterator().next().identity().type()); - Assertions.assertEquals("jihy", response.iterator().next().steps().get(0).name()); - Assertions.assertEquals("zphv", response.iterator().next().steps().get(0).branches().get(0).name()); - Assertions.assertEquals("wjchrdg", response.iterator().next().selectors().get(0).id()); + Assertions.assertEquals("wuenvr", response.iterator().next().location()); + Assertions.assertEquals("ou", response.iterator().next().tags().get("ibreb")); + Assertions.assertEquals(ManagedServiceIdentityType.USER_ASSIGNED, response.iterator().next().identity().type()); + Assertions.assertEquals("mw", response.iterator().next().steps().get(0).name()); + Assertions.assertEquals("nbsazejjoqkag", response.iterator().next().steps().get(0).branches().get(0).name()); + Assertions.assertEquals("sxtta", response.iterator().next().selectors().get(0).id()); } } diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/ExperimentsListMockTests.java b/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/ExperimentsListMockTests.java index 566b2d6fa2f6..e38800499386 100644 --- a/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/ExperimentsListMockTests.java +++ b/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/ExperimentsListMockTests.java @@ -23,7 +23,7 @@ public final class ExperimentsListMockTests { @Test public void testList() throws Exception { String responseStr - = "{\"value\":[{\"identity\":{\"principalId\":\"tizzronasxif\",\"tenantId\":\"zq\",\"type\":\"None\",\"userAssignedIdentities\":{\"thrrgh\":{\"principalId\":\"wesgogczh\",\"clientId\":\"nxkrlgnyhmossxkk\"}}},\"properties\":{\"provisioningState\":\"Failed\",\"steps\":[{\"name\":\"hqxvcxgfrpdsofbs\",\"branches\":[{\"name\":\"nsvbuswdv\",\"actions\":[]},{\"name\":\"yybyc\",\"actions\":[]},{\"name\":\"unvjsrtkfawnopq\",\"actions\":[]}]},{\"name\":\"ikyzirtxdy\",\"branches\":[{\"name\":\"zejntps\",\"actions\":[]}]}],\"selectors\":[{\"type\":\"ChaosTargetSelector\",\"id\":\"gioilqu\",\"filter\":{\"type\":\"ChaosTargetFilter\"}},{\"type\":\"ChaosTargetSelector\",\"id\":\"ydxtqm\",\"filter\":{\"type\":\"ChaosTargetFilter\"}},{\"type\":\"ChaosTargetSelector\",\"id\":\"ox\",\"filter\":{\"type\":\"ChaosTargetFilter\"}}]},\"location\":\"gufhyaomtbg\",\"tags\":{\"jzhpjbibgjmfx\":\"vgrvkffo\",\"cluyovwxnbkf\":\"mv\",\"zbomvzzbtdcqvpni\":\"zzxscyhwzdgiruj\"},\"id\":\"ujviylwdshfs\",\"name\":\"n\",\"type\":\"bgye\"}]}"; + = "{\"value\":[{\"identity\":{\"principalId\":\"ozphvwauyqncygu\",\"tenantId\":\"vipmdscwxqupevzh\",\"type\":\"SystemAssigned\",\"userAssignedIdentities\":{\"n\":{\"principalId\":\"xhojuj\",\"clientId\":\"pelmcuvhixbjxyf\"},\"sttp\":{\"principalId\":\"r\",\"clientId\":\"o\"},\"ncu\":{\"principalId\":\"w\",\"clientId\":\"bnujrywvtylbf\"}}},\"properties\":{\"provisioningState\":\"Deleting\",\"steps\":[{\"name\":\"wiithtywub\",\"branches\":[{\"name\":\"bihwqknfdnt\",\"actions\":[]},{\"name\":\"jchrdgoihxumw\",\"actions\":[]}]}],\"selectors\":[{\"type\":\"ChaosTargetSelector\",\"id\":\"ond\",\"filter\":{\"type\":\"ChaosTargetFilter\"}}]},\"location\":\"uu\",\"tags\":{\"ytsbwtovv\":\"lwg\",\"iufxqknpir\":\"gseinq\",\"fcdmqnrojlpijn\":\"nepttwqmsni\",\"atiz\":\"rxfrddhc\"},\"id\":\"ronasxift\",\"name\":\"zq\",\"type\":\"zh\"}]}"; HttpClient httpClient = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8))); @@ -32,13 +32,15 @@ public void testList() throws Exception { .authenticate(tokenRequestContext -> Mono.just(new AccessToken("this_is_a_token", OffsetDateTime.MAX)), new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD)); - PagedIterable response = manager.experiments().list(true, "rddh", com.azure.core.util.Context.NONE); + PagedIterable response + = manager.experiments().list(false, "qqmtedltmmji", com.azure.core.util.Context.NONE); - Assertions.assertEquals("gufhyaomtbg", response.iterator().next().location()); - Assertions.assertEquals("vgrvkffo", response.iterator().next().tags().get("jzhpjbibgjmfx")); - Assertions.assertEquals(ManagedServiceIdentityType.NONE, response.iterator().next().identity().type()); - Assertions.assertEquals("hqxvcxgfrpdsofbs", response.iterator().next().steps().get(0).name()); - Assertions.assertEquals("nsvbuswdv", response.iterator().next().steps().get(0).branches().get(0).name()); - Assertions.assertEquals("gioilqu", response.iterator().next().selectors().get(0).id()); + Assertions.assertEquals("uu", response.iterator().next().location()); + Assertions.assertEquals("lwg", response.iterator().next().tags().get("ytsbwtovv")); + Assertions.assertEquals(ManagedServiceIdentityType.SYSTEM_ASSIGNED, + response.iterator().next().identity().type()); + Assertions.assertEquals("wiithtywub", response.iterator().next().steps().get(0).name()); + Assertions.assertEquals("bihwqknfdnt", response.iterator().next().steps().get(0).branches().get(0).name()); + Assertions.assertEquals("ond", response.iterator().next().selectors().get(0).id()); } } diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/ResourceIdentityTests.java b/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/ResourceIdentityTests.java index 987e76385040..6026544921ea 100644 --- a/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/ResourceIdentityTests.java +++ b/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/ResourceIdentityTests.java @@ -16,7 +16,7 @@ public final class ResourceIdentityTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { ResourceIdentity model = BinaryData.fromString( - "{\"principalId\":\"ocfs\",\"tenantId\":\"s\",\"type\":\"UserAssigned\",\"userAssignedIdentities\":{\"dvjsllrmvvdf\":{\"principalId\":\"stkiiuxhqyud\",\"clientId\":\"rrqnbpoczvyifqrv\"},\"ulexxbczwtr\":{\"principalId\":\"t\",\"clientId\":\"n\"},\"zdobpxjmflbvvnch\":{\"principalId\":\"iqzbq\",\"clientId\":\"sovmyokacspkwl\"},\"rsa\":{\"principalId\":\"cciw\",\"clientId\":\"juqk\"}}}") + "{\"principalId\":\"sllr\",\"tenantId\":\"vdfwatkpn\",\"type\":\"UserAssigned\",\"userAssignedIdentities\":{\"sovmyokacspkwl\":{\"principalId\":\"xbczwtruwiqz\",\"clientId\":\"j\"},\"rsa\":{\"principalId\":\"dobpxjmflbvvn\",\"clientId\":\"rkcciwwzjuqk\"},\"uugidyjrrfby\":{\"principalId\":\"wkuofoskghsauu\",\"clientId\":\"jmvxie\"}}}") .toObject(ResourceIdentity.class); Assertions.assertEquals(ManagedServiceIdentityType.USER_ASSIGNED, model.type()); } @@ -24,9 +24,8 @@ public void testDeserialize() throws Exception { @org.junit.jupiter.api.Test public void testSerialize() throws Exception { ResourceIdentity model = new ResourceIdentity().withType(ManagedServiceIdentityType.USER_ASSIGNED) - .withUserAssignedIdentities( - mapOf("dvjsllrmvvdf", new UserAssignedIdentity(), "ulexxbczwtr", new UserAssignedIdentity(), - "zdobpxjmflbvvnch", new UserAssignedIdentity(), "rsa", new UserAssignedIdentity())); + .withUserAssignedIdentities(mapOf("sovmyokacspkwl", new UserAssignedIdentity(), "rsa", + new UserAssignedIdentity(), "uugidyjrrfby", new UserAssignedIdentity())); model = BinaryData.fromObject(model).toObject(ResourceIdentity.class); Assertions.assertEquals(ManagedServiceIdentityType.USER_ASSIGNED, model.type()); } diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/StepStatusTests.java b/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/StepStatusTests.java index 15b5dc82a9a7..fda6d8f160c0 100644 --- a/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/StepStatusTests.java +++ b/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/StepStatusTests.java @@ -11,7 +11,7 @@ public final class StepStatusTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { StepStatus model = BinaryData.fromString( - "{\"stepName\":\"iiswacffgdkzze\",\"stepId\":\"fvhqc\",\"status\":\"ilvpnppfuflrwd\",\"branches\":[{\"branchName\":\"xyjrxsagafcnih\",\"branchId\":\"qapnedgfbcv\",\"status\":\"vq\",\"actions\":[{\"actionName\":\"qdcvdrhvoo\",\"actionId\":\"otbobzdopcj\",\"status\":\"nhdldwmgxcx\",\"startTime\":\"2021-06-08T21:18:20Z\",\"endTime\":\"2020-12-25T22:59:09Z\",\"targets\":[{},{},{},{}]},{\"actionName\":\"uoegrpkhjwniyqs\",\"actionId\":\"i\",\"status\":\"dggkzzlvmbmpa\",\"startTime\":\"2021-04-28T10:55:20Z\",\"endTime\":\"2021-11-18T02:02:33Z\",\"targets\":[{},{},{},{}]},{\"actionName\":\"fy\",\"actionId\":\"bpfvm\",\"status\":\"hrfou\",\"startTime\":\"2021-03-05T05:10:55Z\",\"endTime\":\"2021-03-21T19:22:18Z\",\"targets\":[{}]},{\"actionName\":\"wiyzvqtmnubexkp\",\"actionId\":\"smond\",\"status\":\"quxvypomgkop\",\"startTime\":\"2021-06-11T03:04:33Z\",\"endTime\":\"2021-02-21T13:48:45Z\",\"targets\":[{},{}]}]},{\"branchName\":\"qgxy\",\"branchId\":\"ocmbqfqvmkcxoza\",\"status\":\"helxprglya\",\"actions\":[{\"actionName\":\"kcbcue\",\"actionId\":\"jxgciqibrh\",\"status\":\"xsdqrhzoymibmrqy\",\"startTime\":\"2021-02-21T21:27:59Z\",\"endTime\":\"2021-04-13T12:13:43Z\",\"targets\":[{},{},{},{}]},{\"actionName\":\"szdtmhrkwof\",\"actionId\":\"voqacpiexpbt\",\"status\":\"wbwo\",\"startTime\":\"2021-02-28T13:28:15Z\",\"endTime\":\"2021-08-15T01:33:40Z\",\"targets\":[{},{},{}]}]}]}") + "{\"stepName\":\"exkpzksmondjmq\",\"stepId\":\"vypomgkopkwho\",\"status\":\"pajqgxysm\",\"branches\":[{\"branchName\":\"qfqvmkc\",\"branchId\":\"zapvhelx\",\"status\":\"glyatddckcbcuej\",\"actions\":[{\"actionName\":\"ciqibrhosx\",\"actionId\":\"qrhzoymibmrqyib\",\"status\":\"wfluszdt\",\"startTime\":\"2021-02-19T01:46:27Z\",\"endTime\":\"2021-03-03T03:28:30Z\",\"targets\":[{},{}]}]},{\"branchName\":\"yvoqa\",\"branchId\":\"iexpbtgiwbwo\",\"status\":\"washr\",\"actions\":[{\"actionName\":\"cnqxwbpokulpi\",\"actionId\":\"waasip\",\"status\":\"iobyu\",\"startTime\":\"2021-11-02T07:24:48Z\",\"endTime\":\"2021-08-02T06:07:15Z\",\"targets\":[{},{},{},{}]},{\"actionName\":\"wcciuqgbdbu\",\"actionId\":\"uvfbtkuwh\",\"status\":\"hykojoxafnndlpic\",\"startTime\":\"2021-09-25T08:27:56Z\",\"endTime\":\"2021-11-18T02:48:52Z\",\"targets\":[{},{},{},{}]}]}]}") .toObject(StepStatus.class); } } diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/TargetInnerTests.java b/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/TargetInnerTests.java index 623c86993009..5979ecf5797f 100644 --- a/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/TargetInnerTests.java +++ b/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/TargetInnerTests.java @@ -6,6 +6,7 @@ import com.azure.core.util.BinaryData; import com.azure.resourcemanager.chaos.fluent.models.TargetInner; +import java.nio.charset.StandardCharsets; import java.util.HashMap; import java.util.Map; import org.junit.jupiter.api.Assertions; @@ -14,16 +15,19 @@ public final class TargetInnerTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { TargetInner model = BinaryData.fromString( - "{\"properties\":{},\"location\":\"mayhuybbkpodepoo\",\"id\":\"nuvamiheogna\",\"name\":\"xzxtheo\",\"type\":\"usivye\"}") + "{\"properties\":{\"podepoo\":\"\\\"datanmayhuybb\\\"\"},\"location\":\"nuvamiheogna\",\"id\":\"zxtheotusivyevcc\",\"name\":\"qi\",\"type\":\"nhungbw\"}") .toObject(TargetInner.class); - Assertions.assertEquals("mayhuybbkpodepoo", model.location()); + Assertions.assertEquals("nuvamiheogna", model.location()); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { - TargetInner model = new TargetInner().withProperties(mapOf()).withLocation("mayhuybbkpodepoo"); + TargetInner model = new TargetInner() + .withProperties( + mapOf("podepoo", BinaryData.fromBytes("\"datanmayhuybb\"".getBytes(StandardCharsets.UTF_8)))) + .withLocation("nuvamiheogna"); model = BinaryData.fromObject(model).toObject(TargetInner.class); - Assertions.assertEquals("mayhuybbkpodepoo", model.location()); + Assertions.assertEquals("nuvamiheogna", model.location()); } // Use "Map.of" if available diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/TargetListResultTests.java b/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/TargetListResultTests.java index 7ceedd31a599..a4dcc7e34ec5 100644 --- a/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/TargetListResultTests.java +++ b/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/TargetListResultTests.java @@ -12,9 +12,9 @@ public final class TargetListResultTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { TargetListResult model = BinaryData.fromString( - "{\"value\":[{\"properties\":{},\"location\":\"qi\",\"id\":\"hungbwjzrnf\",\"name\":\"gxg\",\"type\":\"spemvtzfk\"},{\"properties\":{},\"location\":\"bljofxqeof\",\"id\":\"e\",\"name\":\"jhqjbasvmsmjqul\",\"type\":\"gsntnbybkzgcwr\"},{\"properties\":{},\"location\":\"xxwr\",\"id\":\"douskcqvkocrcjdk\",\"name\":\"tnhxbn\",\"type\":\"biksq\"},{\"properties\":{},\"location\":\"ssainqpjwnzll\",\"id\":\"mppeebvmgxs\",\"name\":\"bkyqduu\",\"type\":\"itcjczdz\"}],\"nextLink\":\"ndhkrw\"}") + "{\"value\":[{\"properties\":{\"kufubljo\":\"\\\"datanfygxgispemvtz\\\"\",\"v\":\"\\\"dataxqeofjaeqjhqjba\\\"\",\"zgcwrw\":\"\\\"datasmjqulngsntnbyb\\\"\"},\"location\":\"xxwr\",\"id\":\"douskcqvkocrcjdk\",\"name\":\"tnhxbn\",\"type\":\"biksq\"}],\"nextLink\":\"lssai\"}") .toObject(TargetListResult.class); - Assertions.assertEquals("qi", model.value().get(0).location()); - Assertions.assertEquals("ndhkrw", model.nextLink()); + Assertions.assertEquals("xxwr", model.value().get(0).location()); + Assertions.assertEquals("lssai", model.nextLink()); } } diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/TargetReferenceTests.java b/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/TargetReferenceTests.java index 8a82696d80bb..7e67c4688622 100644 --- a/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/TargetReferenceTests.java +++ b/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/TargetReferenceTests.java @@ -12,18 +12,17 @@ public final class TargetReferenceTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { - TargetReference model = BinaryData.fromString("{\"type\":\"ChaosTarget\",\"id\":\"uujqgidokgjljyo\"}") - .toObject(TargetReference.class); + TargetReference model + = BinaryData.fromString("{\"type\":\"ChaosTarget\",\"id\":\"pgn\"}").toObject(TargetReference.class); Assertions.assertEquals(TargetReferenceType.CHAOS_TARGET, model.type()); - Assertions.assertEquals("uujqgidokgjljyo", model.id()); + Assertions.assertEquals("pgn", model.id()); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { - TargetReference model - = new TargetReference().withType(TargetReferenceType.CHAOS_TARGET).withId("uujqgidokgjljyo"); + TargetReference model = new TargetReference().withType(TargetReferenceType.CHAOS_TARGET).withId("pgn"); model = BinaryData.fromObject(model).toObject(TargetReference.class); Assertions.assertEquals(TargetReferenceType.CHAOS_TARGET, model.type()); - Assertions.assertEquals("uujqgidokgjljyo", model.id()); + Assertions.assertEquals("pgn", model.id()); } } diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/TargetTypeInnerTests.java b/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/TargetTypeInnerTests.java index fce1d7094b8d..ff94acf2f034 100644 --- a/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/TargetTypeInnerTests.java +++ b/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/TargetTypeInnerTests.java @@ -11,7 +11,7 @@ public final class TargetTypeInnerTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { TargetTypeInner model = BinaryData.fromString( - "{\"properties\":{\"displayName\":\"tsmypyynpcdp\",\"description\":\"nzgmwznmabik\",\"propertiesSchema\":\"orgjhxbldt\",\"resourceTypes\":[\"rlkdmtncvokotl\",\"xdy\"]},\"id\":\"syocogjltdtbnnha\",\"name\":\"oocrkvcikhnv\",\"type\":\"amqgxqquezikyw\"}") + "{\"properties\":{\"displayName\":\"kdmtncvokotll\",\"description\":\"yhgsy\",\"propertiesSchema\":\"ogjltdtbnnhad\",\"resourceTypes\":[\"rkvcikhnvpa\",\"qgxqquezikyw\",\"gxk\"]},\"id\":\"la\",\"name\":\"melwuipiccjz\",\"type\":\"z\"}") .toObject(TargetTypeInner.class); } } diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/TargetTypeListResultTests.java b/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/TargetTypeListResultTests.java index 5eb8bf0d5564..62216d800263 100644 --- a/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/TargetTypeListResultTests.java +++ b/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/TargetTypeListResultTests.java @@ -12,8 +12,8 @@ public final class TargetTypeListResultTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { TargetTypeListResult model = BinaryData.fromString( - "{\"value\":[{\"properties\":{\"displayName\":\"eedndrdvstkwqqtc\",\"description\":\"alm\",\"propertiesSchema\":\"tdaaygdvwvg\",\"resourceTypes\":[\"hgwxrtfudx\",\"pxgy\",\"agvrvmnpkuk\",\"himdbl\"]},\"id\":\"wi\",\"name\":\"fnjhfjxwmszkkfo\",\"type\":\"rey\"},{\"properties\":{\"displayName\":\"zi\",\"description\":\"jawneaiv\",\"propertiesSchema\":\"czelpcirel\",\"resourceTypes\":[\"aenwabf\"]},\"id\":\"kl\",\"name\":\"dxbjhwuaanozj\",\"type\":\"sphyoulpjrvxa\"},{\"properties\":{\"displayName\":\"rvimjwosytxitcsk\",\"description\":\"k\",\"propertiesSchema\":\"umiekkezzi\",\"resourceTypes\":[\"yf\"]},\"id\":\"dgqggebdu\",\"name\":\"ygaeqidbqfatpxl\",\"type\":\"rxcyjmoad\"},{\"properties\":{\"displayName\":\"varmywdmj\",\"description\":\"q\",\"propertiesSchema\":\"hhyxxrw\",\"resourceTypes\":[\"oduhp\"]},\"id\":\"kgymareqnajxqug\",\"name\":\"hky\",\"type\":\"ubeddg\"}],\"nextLink\":\"ofwq\"}") + "{\"value\":[{\"properties\":{\"displayName\":\"gvr\",\"description\":\"npkukghimdblx\",\"propertiesSchema\":\"imfnjhfjx\",\"resourceTypes\":[\"zk\",\"foqreyfkzik\",\"jawneaiv\"]},\"id\":\"czelpcirel\",\"name\":\"feaenwab\",\"type\":\"atklddxbjhwuaa\"},{\"properties\":{\"displayName\":\"zjosp\",\"description\":\"oulpjrv\",\"propertiesSchema\":\"glrvimjwosytxi\",\"resourceTypes\":[\"kfcktqum\"]},\"id\":\"kkezzikhlyfjhdgq\",\"name\":\"gebdunygaeq\",\"type\":\"db\"}],\"nextLink\":\"atpxl\"}") .toObject(TargetTypeListResult.class); - Assertions.assertEquals("ofwq", model.nextLink()); + Assertions.assertEquals("atpxl", model.nextLink()); } } diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/TargetTypePropertiesTests.java b/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/TargetTypePropertiesTests.java index c7db3ae86c37..e37f58e1466b 100644 --- a/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/TargetTypePropertiesTests.java +++ b/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/TargetTypePropertiesTests.java @@ -11,7 +11,7 @@ public final class TargetTypePropertiesTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { TargetTypeProperties model = BinaryData.fromString( - "{\"displayName\":\"xkalla\",\"description\":\"elwuipi\",\"propertiesSchema\":\"jzkzi\",\"resourceTypes\":[\"vc\",\"ayrhyrnx\"]}") + "{\"displayName\":\"gvvcnayrhyr\",\"description\":\"xmueed\",\"propertiesSchema\":\"rdvstkwqqtch\",\"resourceTypes\":[\"mfmtdaaygdvw\",\"gpiohgwxrtfudxe\",\"xg\"]}") .toObject(TargetTypeProperties.class); } } diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/TargetTypesGetWithResponseMockTests.java b/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/TargetTypesGetWithResponseMockTests.java index c5a5809467f9..065c1d254532 100644 --- a/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/TargetTypesGetWithResponseMockTests.java +++ b/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/TargetTypesGetWithResponseMockTests.java @@ -20,7 +20,7 @@ public final class TargetTypesGetWithResponseMockTests { @Test public void testGetWithResponse() throws Exception { String responseStr - = "{\"properties\":{\"displayName\":\"zdwlvwlyoupfgfb\",\"description\":\"ubdyhgk\",\"propertiesSchema\":\"in\",\"resourceTypes\":[\"wzf\",\"tsttktlahbq\",\"ctxtgzukxi\"]},\"id\":\"m\",\"name\":\"tg\",\"type\":\"qqxhrnxrxcpj\"}"; + = "{\"properties\":{\"displayName\":\"nmwcpmgu\",\"description\":\"draufactkah\",\"propertiesSchema\":\"v\",\"resourceTypes\":[\"ziuxxpshnee\"]},\"id\":\"lfg\",\"name\":\"lqubkwdlen\",\"type\":\"d\"}"; HttpClient httpClient = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8))); @@ -30,7 +30,7 @@ public void testGetWithResponse() throws Exception { new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD)); TargetType response = manager.targetTypes() - .getWithResponse("lqol", "xkcgxxlxsffgcvi", com.azure.core.util.Context.NONE) + .getWithResponse("xtdr", "futacoebjvewzc", com.azure.core.util.Context.NONE) .getValue(); } diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/TargetTypesListMockTests.java b/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/TargetTypesListMockTests.java index ab6b432951f2..cb55c3840761 100644 --- a/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/TargetTypesListMockTests.java +++ b/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/TargetTypesListMockTests.java @@ -21,7 +21,7 @@ public final class TargetTypesListMockTests { @Test public void testList() throws Exception { String responseStr - = "{\"value\":[{\"properties\":{\"displayName\":\"zivj\",\"description\":\"rqttbajlkatnw\",\"propertiesSchema\":\"iopid\",\"resourceTypes\":[\"fku\",\"s\",\"xkdmligo\",\"ibrxkp\"]},\"id\":\"oaz\",\"name\":\"ruocbgo\",\"type\":\"rb\"}]}"; + = "{\"value\":[{\"properties\":{\"displayName\":\"rwm\",\"description\":\"vwpklvxwmygdxp\",\"propertiesSchema\":\"qchiszep\",\"resourceTypes\":[\"jcrxgibbdaxcon\",\"ozauorsukokwb\",\"plhlvnuuepzlrp\",\"wzsoldweyuqdunv\"]},\"id\":\"nrwrbiork\",\"name\":\"alywjhhgdn\",\"type\":\"xmsivfomiloxggdu\"}]}"; HttpClient httpClient = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8))); @@ -31,7 +31,7 @@ public void testList() throws Exception { new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD)); PagedIterable response - = manager.targetTypes().list("isavok", "dzf", com.azure.core.util.Context.NONE); + = manager.targetTypes().list("utujba", "pjuohminyfl", com.azure.core.util.Context.NONE); } } diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/TargetsCreateOrUpdateWithResponseMockTests.java b/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/TargetsCreateOrUpdateWithResponseMockTests.java index 61b7f5e9b7c1..15b146e83a9e 100644 --- a/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/TargetsCreateOrUpdateWithResponseMockTests.java +++ b/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/TargetsCreateOrUpdateWithResponseMockTests.java @@ -9,6 +9,7 @@ import com.azure.core.management.profile.AzureProfile; import com.azure.core.models.AzureCloud; import com.azure.core.test.http.MockHttpResponse; +import com.azure.core.util.BinaryData; import com.azure.resourcemanager.chaos.ChaosManager; import com.azure.resourcemanager.chaos.fluent.models.TargetInner; import com.azure.resourcemanager.chaos.models.Target; @@ -24,7 +25,7 @@ public final class TargetsCreateOrUpdateWithResponseMockTests { @Test public void testCreateOrUpdateWithResponse() throws Exception { String responseStr - = "{\"properties\":{},\"location\":\"gytguslfead\",\"id\":\"gq\",\"name\":\"kyhejhzisxgf\",\"type\":\"elolppvksrpqvuj\"}"; + = "{\"properties\":{\"hz\":\"\\\"datalstvlzywe\\\"\",\"sfgytguslfead\":\"\\\"datancsdtclusiyp\\\"\",\"isxgfp\":\"\\\"dataygqukyhejh\\\"\"},\"location\":\"olppvksrpqvujz\",\"id\":\"ehtwdwrft\",\"name\":\"wib\",\"type\":\"rcdlbhshfwpr\"}"; HttpClient httpClient = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8))); @@ -34,11 +35,14 @@ public void testCreateOrUpdateWithResponse() throws Exception { new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD)); Target response = manager.targets() - .createOrUpdateWithResponse("hka", "vwitqscyw", "ggwoluhczb", "emh", "i", - new TargetInner().withProperties(mapOf()).withLocation("rgzdwmsweyp"), com.azure.core.util.Context.NONE) + .createOrUpdateWithResponse("efozbhdms", "l", "zqhof", "rmaequ", "ah", new TargetInner() + .withProperties( + mapOf("nswhcc", BinaryData.fromBytes("\"datacslfaoqzpiyylha\"".getBytes(StandardCharsets.UTF_8)), + "aivwitqscywu", BinaryData.fromBytes("\"dataph\"".getBytes(StandardCharsets.UTF_8)))) + .withLocation("woluhczbwemhair"), com.azure.core.util.Context.NONE) .getValue(); - Assertions.assertEquals("gytguslfead", response.location()); + Assertions.assertEquals("olppvksrpqvujz", response.location()); } // Use "Map.of" if available diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/TargetsDeleteWithResponseMockTests.java b/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/TargetsDeleteWithResponseMockTests.java index 5b0e1f953b54..c0b2bfa1f255 100644 --- a/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/TargetsDeleteWithResponseMockTests.java +++ b/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/TargetsDeleteWithResponseMockTests.java @@ -28,7 +28,7 @@ public void testDeleteWithResponse() throws Exception { new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD)); manager.targets() - .deleteWithResponse("raehtwdwrft", "wib", "rcdlbhshfwpr", "cstwity", "hevxcced", + .deleteWithResponse("cstwity", "hevxcced", "pnmdyodnwzxltjcv", "hlt", "ugcxnavvwxq", com.azure.core.util.Context.NONE); } diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/TargetsGetWithResponseMockTests.java b/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/TargetsGetWithResponseMockTests.java index 30a8ad63e85f..00bdfe860d07 100644 --- a/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/TargetsGetWithResponseMockTests.java +++ b/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/TargetsGetWithResponseMockTests.java @@ -21,7 +21,7 @@ public final class TargetsGetWithResponseMockTests { @Test public void testGetWithResponse() throws Exception { String responseStr - = "{\"properties\":{},\"location\":\"ae\",\"id\":\"iahxicsl\",\"name\":\"aoqzpiyylhaln\",\"type\":\"whccs\"}"; + = "{\"properties\":{\"r\":\"\\\"datahpagm\\\"\",\"kkze\":\"\\\"datakdsnfdsdoakgtdl\\\"\",\"sdsttwvog\":\"\\\"datadlhewp\\\"\",\"akufgmjz\":\"\\\"databbejdcngqqm\\\"\"},\"location\":\"rdgrtw\",\"id\":\"nuuzkopbm\",\"name\":\"nrfdw\",\"type\":\"yuhhziu\"}"; HttpClient httpClient = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8))); @@ -31,9 +31,10 @@ public void testGetWithResponse() throws Exception { new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD)); Target response = manager.targets() - .getWithResponse("zkopb", "inrfdwoyu", "hziuiefozbhdms", "l", "zqhof", com.azure.core.util.Context.NONE) + .getWithResponse("mrv", "xztvbtqgsfraoyzk", "owtlmnguxawqald", "yuuximerqfobwyzn", "bykutw", + com.azure.core.util.Context.NONE) .getValue(); - Assertions.assertEquals("ae", response.location()); + Assertions.assertEquals("rdgrtw", response.location()); } } diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/TargetsListMockTests.java b/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/TargetsListMockTests.java index 42fe74044b21..4f194dda8712 100644 --- a/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/TargetsListMockTests.java +++ b/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/TargetsListMockTests.java @@ -22,7 +22,7 @@ public final class TargetsListMockTests { @Test public void testList() throws Exception { String responseStr - = "{\"value\":[{\"properties\":{},\"location\":\"vfvpdbodaciz\",\"id\":\"q\",\"name\":\"hkr\",\"type\":\"ibdeibq\"}]}"; + = "{\"value\":[{\"properties\":{\"ibdeibq\":\"\\\"datahkr\\\"\",\"kghv\":\"\\\"datap\\\"\",\"pjorwkqnyhg\":\"\\\"datandzwmkrefa\\\"\",\"jivfxzsjabib\":\"\\\"dataij\\\"\"},\"location\":\"stawfsdjpvkv\",\"id\":\"jxbkzbzkdvn\",\"name\":\"jabudurgkakmo\",\"type\":\"zhjjklffhmouwq\"}]}"; HttpClient httpClient = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8))); @@ -32,8 +32,8 @@ public void testList() throws Exception { new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD)); PagedIterable response = manager.targets() - .list("pnmdyodnwzxltjcv", "hlt", "ugcxnavvwxq", "byqunyow", "wlmdjrkv", com.azure.core.util.Context.NONE); + .list("byqunyow", "wlmdjrkv", "g", "vfvpdbodaciz", "j", com.azure.core.util.Context.NONE); - Assertions.assertEquals("vfvpdbodaciz", response.iterator().next().location()); + Assertions.assertEquals("stawfsdjpvkv", response.iterator().next().location()); } } diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/UserAssignedIdentityTests.java b/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/UserAssignedIdentityTests.java index 8c2378e756bf..370cda4dac5e 100644 --- a/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/UserAssignedIdentityTests.java +++ b/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/UserAssignedIdentityTests.java @@ -11,7 +11,7 @@ public final class UserAssignedIdentityTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { UserAssignedIdentity model - = BinaryData.fromString("{\"principalId\":\"wkuofoskghsauu\",\"clientId\":\"jmvxie\"}") + = BinaryData.fromString("{\"principalId\":\"svexcsonpclhoco\",\"clientId\":\"lkevle\"}") .toObject(UserAssignedIdentity.class); } diff --git a/sdk/chaos/azure-resourcemanager-chaos/tsp-location.yaml b/sdk/chaos/azure-resourcemanager-chaos/tsp-location.yaml index c9ac7f6a502d..fd4d4340510d 100644 --- a/sdk/chaos/azure-resourcemanager-chaos/tsp-location.yaml +++ b/sdk/chaos/azure-resourcemanager-chaos/tsp-location.yaml @@ -1,4 +1,4 @@ directory: specification/chaos/resource-manager/Microsoft.Chaos/Chaos -commit: efa49a123da7ce3ffe093a13832258305f529711 +commit: 84d40416fbb3d2416cb7abe7ec82e63c76832963 repo: Azure/azure-rest-api-specs additionalDirectories: