diff --git a/sdk/chaos/azure-resourcemanager-chaos/CHANGELOG.md b/sdk/chaos/azure-resourcemanager-chaos/CHANGELOG.md
index 899cc14d2c93..3e633acacdd1 100644
--- a/sdk/chaos/azure-resourcemanager-chaos/CHANGELOG.md
+++ b/sdk/chaos/azure-resourcemanager-chaos/CHANGELOG.md
@@ -1,14 +1,117 @@
# Release History
-## 1.4.0-beta.2 (Unreleased)
+## 1.4.0-beta.2 (2026-07-28)
-### 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 2026-08-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.ConfigurationExclusions` was removed
+
+#### `models.ScenarioEvaluationResultItem` was removed
+
+#### `models.ConfigurationFilters` was removed
+
+#### `models.Workspace` was modified
+
+* `refreshRecommendations(com.azure.core.util.Context)` was removed
+* `refreshRecommendations()` was removed
+
+#### `models.Workspaces` was modified
+
+* `refreshRecommendations(java.lang.String,java.lang.String)` was removed
+* `refreshRecommendations(java.lang.String,java.lang.String,com.azure.core.util.Context)` was removed
+
+#### `models.ScenarioConfigurationProperties` was modified
+
+* `withFilters(models.ConfigurationFilters)` was removed
+* `filters()` was removed
+* `exclusions()` was removed
+* `withExclusions(models.ConfigurationExclusions)` was removed
+
+#### `models.WorkspaceEvaluationProperties` was modified
+
+* `numScenariosEvaluatedCancelled()` was removed
+* `numScenariosToEvaluate()` was removed
+* `numScenariosEvaluatedSucceeded()` was removed
+* `numScenariosEvaluatedFailed()` was removed
+
+### Features Added
+
+* `models.ConnectionStatus` was added
+
+* `models.ResourceTargeting` was added
+
+* `models.WorkspaceDiscoveryStatus` was added
+
+* `models.WorkspaceDiscovery` was added
+
+* `models.Connection$Update` was added
+
+* `models.ConnectionKind` was added
+
+* `models.TemplateEvaluationResultItem` was added
+
+* `models.ConnectionProperties` was added
+
+* `models.Connection$UpdateStages` was added
+
+* `models.Connection$Definition` was added
+
+* `models.Connection` was added
+
+* `models.WorkspaceDiscoveryProperties` was added
+
+* `models.ResourceTargetingCriteria` was added
+
+* `models.Connections` was added
+
+* `models.Connection$DefinitionStages` was added
+
+#### `models.ScenarioRunProperties` was modified
+
+* `resourceSnapshotId()` was added
+* `excludedResources()` was added
+
+#### `models.Workspace` was modified
+
+* `discover()` was added
+* `evaluate(com.azure.core.util.Context)` was added
+* `evaluate()` was added
+* `discover(com.azure.core.util.Context)` was added
+
+#### `models.ValidationProperties` was modified
+
+* `excludedResources()` was added
+* `resources()` was added
+
+#### `models.Workspaces` was modified
+
+* `evaluate(java.lang.String,java.lang.String,com.azure.core.util.Context)` was added
+* `discover(java.lang.String,java.lang.String,com.azure.core.util.Context)` was added
+* `discover(java.lang.String,java.lang.String)` was added
+* `evaluate(java.lang.String,java.lang.String)` was added
+
+#### `models.ScenarioConfigurationProperties` was modified
+
+* `resourceTargeting()` was added
+* `withResourceTargeting(models.ResourceTargeting)` was added
+
+#### `models.WorkspaceEvaluationProperties` was modified
+
+* `numTemplatesToEvaluate()` was added
+* `numTemplatesEvaluatedCancelled()` was added
+* `numTemplatesEvaluatedFailed()` was added
+* `resourceSnapshotId()` was added
+* `numTemplatesEvaluatedSucceeded()` was added
+
+#### `models.PermissionError` was modified
+
+* `errorMessage()` was added
+
+#### `ChaosManager` was modified
-### Other Changes
+* `connections()` was added
## 1.4.0-beta.1 (2026-05-26)
diff --git a/sdk/chaos/azure-resourcemanager-chaos/README.md b/sdk/chaos/azure-resourcemanager-chaos/README.md
index 6d3b774864bb..097005c204e2 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. 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).
+This package contains Microsoft Azure SDK for Chaos Management SDK. Chaos Management Client. Package api-version 2026-08-01-preview. 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.4.0-beta.1
+ 1.4.0-beta.2
```
[//]: # ({x-version-update-end})
diff --git a/sdk/chaos/azure-resourcemanager-chaos/SAMPLE.md b/sdk/chaos/azure-resourcemanager-chaos/SAMPLE.md
index 0c446c4910a6..71712dda2bfc 100644
--- a/sdk/chaos/azure-resourcemanager-chaos/SAMPLE.md
+++ b/sdk/chaos/azure-resourcemanager-chaos/SAMPLE.md
@@ -23,6 +23,13 @@
- [Get](#capabilitytypes_get)
- [List](#capabilitytypes_list)
+## Connections
+
+- [CreateOrUpdate](#connections_createorupdate)
+- [Delete](#connections_delete)
+- [Get](#connections_get)
+- [ListAll](#connections_listall)
+
## DiscoveredResources
- [Get](#discoveredresources_get)
@@ -46,6 +53,10 @@
- [Get](#operationstatuses_get)
+## Operations
+
+- [List](#operations_list)
+
## PrivateAccesses
- [CreateOrUpdate](#privateaccesses_createorupdate)
@@ -98,10 +109,11 @@
- [CreateOrUpdate](#workspaces_createorupdate)
- [Delete](#workspaces_delete)
+- [Discover](#workspaces_discover)
+- [Evaluate](#workspaces_evaluate)
- [GetByResourceGroup](#workspaces_getbyresourcegroup)
- [List](#workspaces_list)
- [ListByResourceGroup](#workspaces_listbyresourcegroup)
-- [RefreshRecommendations](#workspaces_refreshrecommendations)
- [Update](#workspaces_update)
### ActionVersions_Get
@@ -111,7 +123,7 @@
*/
public final class ActionVersionsGetSamples {
/*
- * x-ms-original-file: 2026-05-01-preview/ActionVersions_Get.json
+ * x-ms-original-file: 2026-08-01-preview/ActionVersions_Get.json
*/
/**
* Sample code: Get an Action Version for westus2 location.
@@ -133,7 +145,7 @@ public final class ActionVersionsGetSamples {
*/
public final class ActionVersionsListSamples {
/*
- * x-ms-original-file: 2026-05-01-preview/ActionVersions_List.json
+ * x-ms-original-file: 2026-08-01-preview/ActionVersions_List.json
*/
/**
* Sample code: List all Action Versions for a given action.
@@ -154,7 +166,7 @@ public final class ActionVersionsListSamples {
*/
public final class ActionsGetSamples {
/*
- * x-ms-original-file: 2026-05-01-preview/Actions_Get.json
+ * x-ms-original-file: 2026-08-01-preview/Actions_Get.json
*/
/**
* Sample code: Get an Action for westus2 location.
@@ -175,7 +187,7 @@ public final class ActionsGetSamples {
*/
public final class ActionsListSamples {
/*
- * x-ms-original-file: 2026-05-01-preview/Actions_List.json
+ * x-ms-original-file: 2026-08-01-preview/Actions_List.json
*/
/**
* Sample code: List all Actions for westus2 location.
@@ -198,7 +210,7 @@ import com.azure.resourcemanager.chaos.fluent.models.CapabilityInner;
*/
public final class CapabilitiesCreateOrUpdateSamples {
/*
- * x-ms-original-file: 2026-05-01-preview/Capabilities_CreateOrUpdate.json
+ * x-ms-original-file: 2026-08-01-preview/Capabilities_CreateOrUpdate.json
*/
/**
* Sample code: Create/update a Capability that extends a virtual machine Target resource.
@@ -222,7 +234,7 @@ public final class CapabilitiesCreateOrUpdateSamples {
*/
public final class CapabilitiesDeleteSamples {
/*
- * x-ms-original-file: 2026-05-01-preview/Capabilities_Delete.json
+ * x-ms-original-file: 2026-08-01-preview/Capabilities_Delete.json
*/
/**
* Sample code: Delete a Capability that extends a virtual machine Target resource.
@@ -246,7 +258,7 @@ public final class CapabilitiesDeleteSamples {
*/
public final class CapabilitiesGetSamples {
/*
- * x-ms-original-file: 2026-05-01-preview/Capabilities_Get.json
+ * x-ms-original-file: 2026-08-01-preview/Capabilities_Get.json
*/
/**
* Sample code: Get a Capability that extends a virtual machine Target resource.
@@ -270,7 +282,7 @@ public final class CapabilitiesGetSamples {
*/
public final class CapabilitiesListSamples {
/*
- * x-ms-original-file: 2026-05-01-preview/Capabilities_List.json
+ * x-ms-original-file: 2026-08-01-preview/Capabilities_List.json
*/
/**
* Sample code: List all Capabilities that extend a virtual machine Target resource.
@@ -294,7 +306,7 @@ public final class CapabilitiesListSamples {
*/
public final class CapabilityTypesGetSamples {
/*
- * x-ms-original-file: 2026-05-01-preview/CapabilityTypes_Get.json
+ * x-ms-original-file: 2026-08-01-preview/CapabilityTypes_Get.json
*/
/**
* Sample code: Get a Capability Type for a virtual machine Target resource on westus2 location.
@@ -317,7 +329,7 @@ public final class CapabilityTypesGetSamples {
*/
public final class CapabilityTypesListSamples {
/*
- * x-ms-original-file: 2026-05-01-preview/CapabilityTypes_List.json
+ * x-ms-original-file: 2026-08-01-preview/CapabilityTypes_List.json
*/
/**
* Sample code: List all Capability Types for a virtual machine Target resource on westus2 location.
@@ -331,6 +343,104 @@ public final class CapabilityTypesListSamples {
}
```
+### Connections_CreateOrUpdate
+
+```java
+import com.azure.resourcemanager.chaos.models.ConnectionKind;
+import com.azure.resourcemanager.chaos.models.ConnectionProperties;
+
+/**
+ * Samples for Connections CreateOrUpdate.
+ */
+public final class ConnectionsCreateOrUpdateSamples {
+ /*
+ * x-ms-original-file: 2026-08-01-preview/Connections_CreateOrUpdate.json
+ */
+ /**
+ * Sample code: Create or update a connection.
+ *
+ * @param manager Entry point to ChaosManager.
+ */
+ public static void createOrUpdateAConnection(com.azure.resourcemanager.chaos.ChaosManager manager) {
+ manager.connections()
+ .define("aksClusterConnection")
+ .withExistingWorkspace("exampleRG", "exampleWorkspace")
+ .withProperties(new ConnectionProperties().withKind(ConnectionKind.AKS_EXTENSION)
+ .withTargetResourceId(
+ "/subscriptions/6b052e15-03d3-4f17-b2e1-be7f07588291/resourceGroups/exampleRG/providers/Microsoft.ContainerService/managedClusters/exampleCluster")
+ .withPrincipalId("1a2b3c4d-5e6f-7a8b-9c0d-1e2f3a4b5c6d")
+ .withTenantId("72f988bf-86f1-41af-91ab-2d7cd011db47"))
+ .create();
+ }
+}
+```
+
+### Connections_Delete
+
+```java
+/**
+ * Samples for Connections Delete.
+ */
+public final class ConnectionsDeleteSamples {
+ /*
+ * x-ms-original-file: 2026-08-01-preview/Connections_Delete.json
+ */
+ /**
+ * Sample code: Delete a connection in a workspace.
+ *
+ * @param manager Entry point to ChaosManager.
+ */
+ public static void deleteAConnectionInAWorkspace(com.azure.resourcemanager.chaos.ChaosManager manager) {
+ manager.connections()
+ .deleteWithResponse("exampleRG", "exampleWorkspace", "aksClusterConnection",
+ com.azure.core.util.Context.NONE);
+ }
+}
+```
+
+### Connections_Get
+
+```java
+/**
+ * Samples for Connections Get.
+ */
+public final class ConnectionsGetSamples {
+ /*
+ * x-ms-original-file: 2026-08-01-preview/Connections_Get.json
+ */
+ /**
+ * Sample code: Get a connection.
+ *
+ * @param manager Entry point to ChaosManager.
+ */
+ public static void getAConnection(com.azure.resourcemanager.chaos.ChaosManager manager) {
+ manager.connections()
+ .getWithResponse("exampleRG", "exampleWorkspace", "aksClusterConnection", com.azure.core.util.Context.NONE);
+ }
+}
+```
+
+### Connections_ListAll
+
+```java
+/**
+ * Samples for Connections ListAll.
+ */
+public final class ConnectionsListAllSamples {
+ /*
+ * x-ms-original-file: 2026-08-01-preview/Connections_ListAll.json
+ */
+ /**
+ * Sample code: Get a list of connections.
+ *
+ * @param manager Entry point to ChaosManager.
+ */
+ public static void getAListOfConnections(com.azure.resourcemanager.chaos.ChaosManager manager) {
+ manager.connections().listAll("exampleRG", "exampleWorkspace", com.azure.core.util.Context.NONE);
+ }
+}
+```
+
### DiscoveredResources_Get
```java
@@ -339,7 +449,7 @@ public final class CapabilityTypesListSamples {
*/
public final class DiscoveredResourcesGetSamples {
/*
- * x-ms-original-file: 2026-05-01-preview/DiscoveredResources_Get.json
+ * x-ms-original-file: 2026-08-01-preview/DiscoveredResources_Get.json
*/
/**
* Sample code: Get a discovered resource.
@@ -362,7 +472,7 @@ public final class DiscoveredResourcesGetSamples {
*/
public final class DiscoveredResourcesListByWorkspaceSamples {
/*
- * x-ms-original-file: 2026-05-01-preview/DiscoveredResources_ListByWorkspace.json
+ * x-ms-original-file: 2026-08-01-preview/DiscoveredResources_ListByWorkspace.json
*/
/**
* Sample code: Get a list of discovered resources for a workspace.
@@ -385,7 +495,7 @@ public final class DiscoveredResourcesListByWorkspaceSamples {
*/
public final class ExperimentsCancelSamples {
/*
- * x-ms-original-file: 2026-05-01-preview/Experiments_Cancel.json
+ * x-ms-original-file: 2026-08-01-preview/Experiments_Cancel.json
*/
/**
* Sample code: Cancel a running Experiment.
@@ -421,7 +531,7 @@ import java.util.Map;
*/
public final class ExperimentsCreateOrUpdateSamples {
/*
- * x-ms-original-file: 2026-05-01-preview/Experiments_CreateOrUpdate.json
+ * x-ms-original-file: 2026-08-01-preview/Experiments_CreateOrUpdate.json
*/
/**
* Sample code: Create/update a Experiment in a resource group.
@@ -476,7 +586,7 @@ public final class ExperimentsCreateOrUpdateSamples {
*/
public final class ExperimentsDeleteSamples {
/*
- * x-ms-original-file: 2026-05-01-preview/Experiments_Delete.json
+ * x-ms-original-file: 2026-08-01-preview/Experiments_Delete.json
*/
/**
* Sample code: Delete a Experiment in a resource group.
@@ -497,7 +607,7 @@ public final class ExperimentsDeleteSamples {
*/
public final class ExperimentsExecutionDetailsSamples {
/*
- * x-ms-original-file: 2026-05-01-preview/Experiments_ExecutionDetails.json
+ * x-ms-original-file: 2026-08-01-preview/Experiments_ExecutionDetails.json
*/
/**
* Sample code: Get experiment execution details.
@@ -520,7 +630,7 @@ public final class ExperimentsExecutionDetailsSamples {
*/
public final class ExperimentsGetByResourceGroupSamples {
/*
- * x-ms-original-file: 2026-05-01-preview/Experiments_Get.json
+ * x-ms-original-file: 2026-08-01-preview/Experiments_Get.json
*/
/**
* Sample code: Get a Experiment in a resource group.
@@ -542,7 +652,7 @@ public final class ExperimentsGetByResourceGroupSamples {
*/
public final class ExperimentsGetExecutionSamples {
/*
- * x-ms-original-file: 2026-05-01-preview/Experiments_GetExecution.json
+ * x-ms-original-file: 2026-08-01-preview/Experiments_GetExecution.json
*/
/**
* Sample code: Get the execution of a Experiment.
@@ -565,7 +675,7 @@ public final class ExperimentsGetExecutionSamples {
*/
public final class ExperimentsListSamples {
/*
- * x-ms-original-file: 2026-05-01-preview/Experiments_ListAll.json
+ * x-ms-original-file: 2026-08-01-preview/Experiments_ListAll.json
*/
/**
* Sample code: List all Experiments in a subscription.
@@ -586,7 +696,7 @@ public final class ExperimentsListSamples {
*/
public final class ExperimentsListAllExecutionsSamples {
/*
- * x-ms-original-file: 2026-05-01-preview/Experiments_ListAllExecutions.json
+ * x-ms-original-file: 2026-08-01-preview/Experiments_ListAllExecutions.json
*/
/**
* Sample code: List all executions of an Experiment.
@@ -607,7 +717,7 @@ public final class ExperimentsListAllExecutionsSamples {
*/
public final class ExperimentsListByResourceGroupSamples {
/*
- * x-ms-original-file: 2026-05-01-preview/Experiments_List.json
+ * x-ms-original-file: 2026-08-01-preview/Experiments_List.json
*/
/**
* Sample code: List all Experiments in a resource group.
@@ -628,7 +738,7 @@ public final class ExperimentsListByResourceGroupSamples {
*/
public final class ExperimentsStartSamples {
/*
- * x-ms-original-file: 2026-05-01-preview/Experiments_Start.json
+ * x-ms-original-file: 2026-08-01-preview/Experiments_Start.json
*/
/**
* Sample code: Start a Experiment.
@@ -656,7 +766,7 @@ import java.util.Map;
*/
public final class ExperimentsUpdateSamples {
/*
- * x-ms-original-file: 2026-05-01-preview/Experiments_Update.json
+ * x-ms-original-file: 2026-08-01-preview/Experiments_Update.json
*/
/**
* Sample code: Update an Experiment in a resource group.
@@ -698,7 +808,7 @@ public final class ExperimentsUpdateSamples {
*/
public final class OperationStatusesGetSamples {
/*
- * x-ms-original-file: 2026-05-01-preview/OperationStatuses_Get.json
+ * x-ms-original-file: 2026-08-01-preview/OperationStatuses_Get.json
*/
/**
* Sample code: Gets Chaos Studio async operation status.
@@ -712,6 +822,27 @@ public final class OperationStatusesGetSamples {
}
```
+### Operations_List
+
+```java
+/**
+ * Samples for Operations List.
+ */
+public final class OperationsListSamples {
+ /*
+ * x-ms-original-file: 2026-08-01-preview/Operations_List.json
+ */
+ /**
+ * Sample code: Lists all Chaos Studio operations.
+ *
+ * @param manager Entry point to ChaosManager.
+ */
+ public static void listsAllChaosStudioOperations(com.azure.resourcemanager.chaos.ChaosManager manager) {
+ manager.operations().list(com.azure.core.util.Context.NONE);
+ }
+}
+```
+
### PrivateAccesses_CreateOrUpdate
```java
@@ -724,7 +855,7 @@ import com.azure.resourcemanager.chaos.models.PublicNetworkAccessOption;
public final class PrivateAccessesCreateOrUpdateSamples {
/*
* x-ms-original-file:
- * 2026-05-01-preview/PrivateAccesses_CreateOrUpdate_Create_Or_Update_A_Private_Access_Resource.json
+ * 2026-08-01-preview/PrivateAccesses_CreateOrUpdate_Create_Or_Update_A_Private_Access_Resource.json
*/
/**
* Sample code: Create or Update a private access resource.
@@ -741,7 +872,7 @@ public final class PrivateAccessesCreateOrUpdateSamples {
}
/*
- * x-ms-original-file: 2026-05-01-preview/
+ * x-ms-original-file: 2026-08-01-preview/
* PrivateAccesses_CreateOrUpdate_Create_Or_Update_A_Private_Access_Resource_With_Public_Network_Access.json
*/
/**
@@ -769,7 +900,7 @@ public final class PrivateAccessesCreateOrUpdateSamples {
*/
public final class PrivateAccessesDeleteSamples {
/*
- * x-ms-original-file: 2026-05-01-preview/PrivateAccesses_Delete.json
+ * x-ms-original-file: 2026-08-01-preview/PrivateAccesses_Delete.json
*/
/**
* Sample code: Delete a private access resource.
@@ -790,7 +921,7 @@ public final class PrivateAccessesDeleteSamples {
*/
public final class PrivateAccessesDeleteAPrivateEndpointConnectionSamples {
/*
- * x-ms-original-file: 2026-05-01-preview/PrivateAccesses_DeleteAPrivateEndpointConnection.json
+ * x-ms-original-file: 2026-08-01-preview/PrivateAccesses_DeleteAPrivateEndpointConnection.json
*/
/**
* Sample code: Delete a private endpoint connection under a private access resource.
@@ -814,7 +945,7 @@ public final class PrivateAccessesDeleteAPrivateEndpointConnectionSamples {
*/
public final class PrivateAccessesGetAPrivateEndpointConnectionSamples {
/*
- * x-ms-original-file: 2026-05-01-preview/PrivateAccesses_GetAPrivateEndpointConnection.json
+ * x-ms-original-file: 2026-08-01-preview/PrivateAccesses_GetAPrivateEndpointConnection.json
*/
/**
* Sample code: Get information about a private endpoint connection under a private access resource.
@@ -838,7 +969,7 @@ public final class PrivateAccessesGetAPrivateEndpointConnectionSamples {
*/
public final class PrivateAccessesGetByResourceGroupSamples {
/*
- * x-ms-original-file: 2026-05-01-preview/PrivateAccesses_Get_Get_A_Private_Access_Resource.json
+ * x-ms-original-file: 2026-08-01-preview/PrivateAccesses_Get_Get_A_Private_Access_Resource.json
*/
/**
* Sample code: Get a private access resource.
@@ -852,7 +983,7 @@ public final class PrivateAccessesGetByResourceGroupSamples {
/*
* x-ms-original-file:
- * 2026-05-01-preview/PrivateAccesses_Get_Get_A_Private_Access_Resource_With_Private_Endpoint.json
+ * 2026-08-01-preview/PrivateAccesses_Get_Get_A_Private_Access_Resource_With_Private_Endpoint.json
*/
/**
* Sample code: Get a private access resource with private endpoint.
@@ -875,7 +1006,7 @@ public final class PrivateAccessesGetByResourceGroupSamples {
*/
public final class PrivateAccessesGetPrivateLinkResourcesSamples {
/*
- * x-ms-original-file: 2026-05-01-preview/PrivateAccesses_GetPrivateLinkResources.json
+ * x-ms-original-file: 2026-08-01-preview/PrivateAccesses_GetPrivateLinkResources.json
*/
/**
* Sample code: List all possible private link resources under private access resource.
@@ -899,7 +1030,7 @@ public final class PrivateAccessesGetPrivateLinkResourcesSamples {
*/
public final class PrivateAccessesListSamples {
/*
- * x-ms-original-file: 2026-05-01-preview/PrivateAccesses_ListAll.json
+ * x-ms-original-file: 2026-08-01-preview/PrivateAccesses_ListAll.json
*/
/**
* Sample code: List all private accesses in a subscription.
@@ -920,7 +1051,7 @@ public final class PrivateAccessesListSamples {
*/
public final class PrivateAccessesListByResourceGroupSamples {
/*
- * x-ms-original-file: 2026-05-01-preview/PrivateAccesses_List.json
+ * x-ms-original-file: 2026-08-01-preview/PrivateAccesses_List.json
*/
/**
* Sample code: List all private access in a resource group.
@@ -941,7 +1072,7 @@ public final class PrivateAccessesListByResourceGroupSamples {
*/
public final class PrivateAccessesListPrivateEndpointConnectionsSamples {
/*
- * x-ms-original-file: 2026-05-01-preview/PrivateAccesses_ListPrivateEndpointConnections.json
+ * x-ms-original-file: 2026-08-01-preview/PrivateAccesses_ListPrivateEndpointConnections.json
*/
/**
* Sample code: List all private endpoint connections under a private access resource.
@@ -968,7 +1099,7 @@ import java.util.Map;
*/
public final class PrivateAccessesUpdateSamples {
/*
- * x-ms-original-file: 2026-05-01-preview/PrivateAccesses_Update.json
+ * x-ms-original-file: 2026-08-01-preview/PrivateAccesses_Update.json
*/
/**
* Sample code: Update a private access resource's tags.
@@ -999,9 +1130,9 @@ public final class PrivateAccessesUpdateSamples {
### ScenarioConfigurations_CreateOrUpdate
```java
-import com.azure.resourcemanager.chaos.models.ConfigurationExclusions;
-import com.azure.resourcemanager.chaos.models.ConfigurationFilters;
import com.azure.resourcemanager.chaos.models.KeyValuePair;
+import com.azure.resourcemanager.chaos.models.ResourceTargeting;
+import com.azure.resourcemanager.chaos.models.ResourceTargetingCriteria;
import com.azure.resourcemanager.chaos.models.ScenarioConfigurationProperties;
import java.util.Arrays;
@@ -1010,7 +1141,7 @@ import java.util.Arrays;
*/
public final class ScenarioConfigurationsCreateOrUpdateSamples {
/*
- * x-ms-original-file: 2026-05-01-preview/ScenarioConfigurations_CreateOrUpdate_With_Physical_Zones.json
+ * x-ms-original-file: 2026-08-01-preview/ScenarioConfigurations_CreateOrUpdate_With_Physical_Zones.json
*/
/**
* Sample code: Create or update a scenario configuration with physical zone targeting.
@@ -1025,15 +1156,15 @@ public final class ScenarioConfigurationsCreateOrUpdateSamples {
.withProperties(new ScenarioConfigurationProperties().withScenarioId(
"/subscriptions/6b052e15-03d3-4f17-b2e1-be7f07588291/resourceGroups/exampleRG/providers/Microsoft.Chaos/workspaces/exampleWorkspace/scenarios/12345678-1234-1234-1234-123456789012")
.withParameters(Arrays.asList(new KeyValuePair().withKey("fakeTokenPlaceholder").withValue("PT10M")))
- .withExclusions(new ConfigurationExclusions().withResources(Arrays.asList(
- "/subscriptions/6b052e15-03d3-4f17-b2e1-be7f07588291/resourceGroups/exampleRG/providers/Microsoft.Compute/virtualMachines/protectedVM")))
- .withFilters(new ConfigurationFilters().withLocations(Arrays.asList("westus2"))
- .withPhysicalZones(Arrays.asList("westus2-az1"))))
+ .withResourceTargeting(new ResourceTargeting()
+ .withInclude(new ResourceTargetingCriteria().withPhysicalZones(Arrays.asList("westus2-az1")))
+ .withExclude(new ResourceTargetingCriteria().withResources(Arrays.asList(
+ "/subscriptions/6b052e15-03d3-4f17-b2e1-be7f07588291/resourceGroups/exampleRG/providers/Microsoft.Compute/virtualMachines/protectedVM")))))
.create();
}
/*
- * x-ms-original-file: 2026-05-01-preview/ScenarioConfigurations_CreateOrUpdate.json
+ * x-ms-original-file: 2026-08-01-preview/ScenarioConfigurations_CreateOrUpdate.json
*/
/**
* Sample code: Create or update a scenario configuration.
@@ -1050,12 +1181,15 @@ public final class ScenarioConfigurationsCreateOrUpdateSamples {
new KeyValuePair().withKey("fakeTokenPlaceholder")
.withValue(
"[\"/subscriptions/6b052e15-03d3-4f17-b2e1-be7f07588291/resourceGroups/exampleRG/providers/Microsoft.Compute/virtualMachines/vm1\",\"/subscriptions/6b052e15-03d3-4f17-b2e1-be7f07588291/resourceGroups/exampleRG/providers/Microsoft.Compute/virtualMachines/vm2\"]")))
- .withExclusions(new ConfigurationExclusions().withResources(Arrays.asList(
- "/subscriptions/6b052e15-03d3-4f17-b2e1-be7f07588291/resourceGroups/exampleRG/providers/Microsoft.Compute/virtualMachines/protectedVM"))
- .withTags(Arrays.asList(new KeyValuePair().withKey("fakeTokenPlaceholder").withValue("production")))
- .withTypes(Arrays.asList("Microsoft.Compute/virtualMachineScaleSets")))
- .withFilters(
- new ConfigurationFilters().withLocations(Arrays.asList("eastus")).withZones(Arrays.asList("1"))))
+ .withResourceTargeting(new ResourceTargeting()
+ .withInclude(new ResourceTargetingCriteria().withLocations(Arrays.asList("eastus"))
+ .withZones(Arrays.asList("1")))
+ .withExclude(new ResourceTargetingCriteria()
+ .withTypes(Arrays.asList("Microsoft.Compute/virtualMachineScaleSets"))
+ .withTags(
+ Arrays.asList(new KeyValuePair().withKey("fakeTokenPlaceholder").withValue("production")))
+ .withResources(Arrays.asList(
+ "/subscriptions/6b052e15-03d3-4f17-b2e1-be7f07588291/resourceGroups/exampleRG/providers/Microsoft.Compute/virtualMachines/protectedVM")))))
.create();
}
}
@@ -1069,7 +1203,7 @@ public final class ScenarioConfigurationsCreateOrUpdateSamples {
*/
public final class ScenarioConfigurationsDeleteSamples {
/*
- * x-ms-original-file: 2026-05-01-preview/ScenarioConfigurations_Delete.json
+ * x-ms-original-file: 2026-08-01-preview/ScenarioConfigurations_Delete.json
*/
/**
* Sample code: Delete a scenario configuration.
@@ -1092,7 +1226,7 @@ public final class ScenarioConfigurationsDeleteSamples {
*/
public final class ScenarioConfigurationsExecuteSamples {
/*
- * x-ms-original-file: 2026-05-01-preview/ScenarioConfigurations_Execute.json
+ * x-ms-original-file: 2026-08-01-preview/ScenarioConfigurations_Execute.json
*/
/**
* Sample code: Execute the scenario execution with the given scenario configuration.
@@ -1117,7 +1251,7 @@ public final class ScenarioConfigurationsExecuteSamples {
*/
public final class ScenarioConfigurationsFixResourcePermissionsSamples {
/*
- * x-ms-original-file: 2026-05-01-preview/ScenarioConfigurations_FixResourcePermissions.json
+ * x-ms-original-file: 2026-08-01-preview/ScenarioConfigurations_FixResourcePermissions.json
*/
/**
* Sample code: Fixes resource permissions for the given scenario configuration.
@@ -1141,7 +1275,7 @@ public final class ScenarioConfigurationsFixResourcePermissionsSamples {
*/
public final class ScenarioConfigurationsGetSamples {
/*
- * x-ms-original-file: 2026-05-01-preview/ScenarioConfigurations_Get.json
+ * x-ms-original-file: 2026-08-01-preview/ScenarioConfigurations_Get.json
*/
/**
* Sample code: Get a scenario configuration.
@@ -1164,7 +1298,7 @@ public final class ScenarioConfigurationsGetSamples {
*/
public final class ScenarioConfigurationsListAllSamples {
/*
- * x-ms-original-file: 2026-05-01-preview/ScenarioConfigurations_ListAll.json
+ * x-ms-original-file: 2026-08-01-preview/ScenarioConfigurations_ListAll.json
*/
/**
* Sample code: Get a list of scenario configurations.
@@ -1187,7 +1321,7 @@ public final class ScenarioConfigurationsListAllSamples {
*/
public final class ScenarioConfigurationsValidateSamples {
/*
- * x-ms-original-file: 2026-05-01-preview/ScenarioConfigurations_Validate.json
+ * x-ms-original-file: 2026-08-01-preview/ScenarioConfigurations_Validate.json
*/
/**
* Sample code: Validate the given scenario configuration.
@@ -1210,7 +1344,7 @@ public final class ScenarioConfigurationsValidateSamples {
*/
public final class ScenarioRunsCancelSamples {
/*
- * x-ms-original-file: 2026-05-01-preview/ScenarioRuns_Cancel.json
+ * x-ms-original-file: 2026-08-01-preview/ScenarioRuns_Cancel.json
*/
/**
* Sample code: Cancel a running scenario run.
@@ -1233,7 +1367,7 @@ public final class ScenarioRunsCancelSamples {
*/
public final class ScenarioRunsGetSamples {
/*
- * x-ms-original-file: 2026-05-01-preview/ScenarioRuns_Get.json
+ * x-ms-original-file: 2026-08-01-preview/ScenarioRuns_Get.json
*/
/**
* Sample code: Get a scenario run.
@@ -1256,7 +1390,7 @@ public final class ScenarioRunsGetSamples {
*/
public final class ScenarioRunsListAllSamples {
/*
- * x-ms-original-file: 2026-05-01-preview/ScenarioRuns_ListAll.json
+ * x-ms-original-file: 2026-08-01-preview/ScenarioRuns_ListAll.json
*/
/**
* Sample code: Get a list of scenario runs.
@@ -1287,7 +1421,7 @@ import java.util.Arrays;
*/
public final class ScenariosCreateOrUpdateSamples {
/*
- * x-ms-original-file: 2026-05-01-preview/Scenarios_CreateOrUpdate.json
+ * x-ms-original-file: 2026-08-01-preview/Scenarios_CreateOrUpdate.json
*/
/**
* Sample code: Create or update a scenario.
@@ -1361,7 +1495,7 @@ public final class ScenariosCreateOrUpdateSamples {
*/
public final class ScenariosDeleteSamples {
/*
- * x-ms-original-file: 2026-05-01-preview/Scenarios_Delete.json
+ * x-ms-original-file: 2026-08-01-preview/Scenarios_Delete.json
*/
/**
* Sample code: Delete a Scenario in a workspace.
@@ -1384,7 +1518,7 @@ public final class ScenariosDeleteSamples {
*/
public final class ScenariosGetSamples {
/*
- * x-ms-original-file: 2026-05-01-preview/Scenarios_Get.json
+ * x-ms-original-file: 2026-08-01-preview/Scenarios_Get.json
*/
/**
* Sample code: Get a scenario.
@@ -1406,7 +1540,7 @@ public final class ScenariosGetSamples {
*/
public final class ScenariosListAllSamples {
/*
- * x-ms-original-file: 2026-05-01-preview/Scenarios_ListAll.json
+ * x-ms-original-file: 2026-08-01-preview/Scenarios_ListAll.json
*/
/**
* Sample code: Get a list of scenarios.
@@ -1427,7 +1561,7 @@ public final class ScenariosListAllSamples {
*/
public final class TargetTypesGetSamples {
/*
- * x-ms-original-file: 2026-05-01-preview/TargetTypes_Get.json
+ * x-ms-original-file: 2026-08-01-preview/TargetTypes_Get.json
*/
/**
* Sample code: Get a Target Type for westus2 location.
@@ -1448,7 +1582,7 @@ public final class TargetTypesGetSamples {
*/
public final class TargetTypesListSamples {
/*
- * x-ms-original-file: 2026-05-01-preview/TargetTypes_List.json
+ * x-ms-original-file: 2026-08-01-preview/TargetTypes_List.json
*/
/**
* Sample code: List all Target Types for westus2 location.
@@ -1473,7 +1607,7 @@ import java.util.Map;
*/
public final class TargetsCreateOrUpdateSamples {
/*
- * x-ms-original-file: 2026-05-01-preview/Targets_CreateOrUpdate.json
+ * x-ms-original-file: 2026-08-01-preview/Targets_CreateOrUpdate.json
*/
/**
* Sample code: Create/update a Target that extends a virtual machine resource.
@@ -1510,7 +1644,7 @@ public final class TargetsCreateOrUpdateSamples {
*/
public final class TargetsDeleteSamples {
/*
- * x-ms-original-file: 2026-05-01-preview/Targets_Delete.json
+ * x-ms-original-file: 2026-08-01-preview/Targets_Delete.json
*/
/**
* Sample code: Delete a Target that extends a virtual machine resource.
@@ -1534,7 +1668,7 @@ public final class TargetsDeleteSamples {
*/
public final class TargetsGetSamples {
/*
- * x-ms-original-file: 2026-05-01-preview/Targets_Get.json
+ * x-ms-original-file: 2026-08-01-preview/Targets_Get.json
*/
/**
* Sample code: Get a Target that extends a virtual machine resource.
@@ -1558,7 +1692,7 @@ public final class TargetsGetSamples {
*/
public final class TargetsListSamples {
/*
- * x-ms-original-file: 2026-05-01-preview/Targets_List.json
+ * x-ms-original-file: 2026-08-01-preview/Targets_List.json
*/
/**
* Sample code: List all Targets that extend a virtual machine resource.
@@ -1590,7 +1724,7 @@ import java.util.Map;
*/
public final class WorkspacesCreateOrUpdateSamples {
/*
- * x-ms-original-file: 2026-05-01-preview/Workspaces_CreateOrUpdate.json
+ * x-ms-original-file: 2026-08-01-preview/Workspaces_CreateOrUpdate.json
*/
/**
* Sample code: Create/update a workspace in a resource group.
@@ -1634,7 +1768,7 @@ public final class WorkspacesCreateOrUpdateSamples {
*/
public final class WorkspacesDeleteSamples {
/*
- * x-ms-original-file: 2026-05-01-preview/Workspaces_Delete.json
+ * x-ms-original-file: 2026-08-01-preview/Workspaces_Delete.json
*/
/**
* Sample code: Delete a Workspace in a resource group.
@@ -1647,6 +1781,48 @@ public final class WorkspacesDeleteSamples {
}
```
+### Workspaces_Discover
+
+```java
+/**
+ * Samples for Workspaces Discover.
+ */
+public final class WorkspacesDiscoverSamples {
+ /*
+ * x-ms-original-file: 2026-08-01-preview/Workspaces_Discover.json
+ */
+ /**
+ * Sample code: Trigger resource discovery for the workspace.
+ *
+ * @param manager Entry point to ChaosManager.
+ */
+ public static void triggerResourceDiscoveryForTheWorkspace(com.azure.resourcemanager.chaos.ChaosManager manager) {
+ manager.workspaces().discover("exampleRG", "exampleWorkspace", com.azure.core.util.Context.NONE);
+ }
+}
+```
+
+### Workspaces_Evaluate
+
+```java
+/**
+ * Samples for Workspaces Evaluate.
+ */
+public final class WorkspacesEvaluateSamples {
+ /*
+ * x-ms-original-file: 2026-08-01-preview/Workspaces_Evaluate.json
+ */
+ /**
+ * Sample code: Trigger scenario evaluation for the workspace.
+ *
+ * @param manager Entry point to ChaosManager.
+ */
+ public static void triggerScenarioEvaluationForTheWorkspace(com.azure.resourcemanager.chaos.ChaosManager manager) {
+ manager.workspaces().evaluate("exampleRG", "exampleWorkspace", com.azure.core.util.Context.NONE);
+ }
+}
+```
+
### Workspaces_GetByResourceGroup
```java
@@ -1655,7 +1831,7 @@ public final class WorkspacesDeleteSamples {
*/
public final class WorkspacesGetByResourceGroupSamples {
/*
- * x-ms-original-file: 2026-05-01-preview/Workspaces_Get.json
+ * x-ms-original-file: 2026-08-01-preview/Workspaces_Get.json
*/
/**
* Sample code: Get a Workspace in a resource group.
@@ -1677,7 +1853,7 @@ public final class WorkspacesGetByResourceGroupSamples {
*/
public final class WorkspacesListSamples {
/*
- * x-ms-original-file: 2026-05-01-preview/Workspaces_ListAll.json
+ * x-ms-original-file: 2026-08-01-preview/Workspaces_ListAll.json
*/
/**
* Sample code: List all Workspaces in a subscription.
@@ -1698,7 +1874,7 @@ public final class WorkspacesListSamples {
*/
public final class WorkspacesListByResourceGroupSamples {
/*
- * x-ms-original-file: 2026-05-01-preview/Workspaces_List.json
+ * x-ms-original-file: 2026-08-01-preview/Workspaces_List.json
*/
/**
* Sample code: List all Workspaces in a resource group.
@@ -1711,28 +1887,6 @@ public final class WorkspacesListByResourceGroupSamples {
}
```
-### Workspaces_RefreshRecommendations
-
-```java
-/**
- * Samples for Workspaces RefreshRecommendations.
- */
-public final class WorkspacesRefreshRecommendationsSamples {
- /*
- * x-ms-original-file: 2026-05-01-preview/Workspaces_RefreshRecommendations.json
- */
- /**
- * Sample code: Refresh recommendations for all scenarios in a workspace.
- *
- * @param manager Entry point to ChaosManager.
- */
- public static void
- refreshRecommendationsForAllScenariosInAWorkspace(com.azure.resourcemanager.chaos.ChaosManager manager) {
- manager.workspaces().refreshRecommendations("exampleRG", "exampleWorkspace", com.azure.core.util.Context.NONE);
- }
-}
-```
-
### Workspaces_Update
```java
@@ -1748,7 +1902,7 @@ import java.util.Map;
*/
public final class WorkspacesUpdateSamples {
/*
- * x-ms-original-file: 2026-05-01-preview/Workspaces_Update.json
+ * x-ms-original-file: 2026-08-01-preview/Workspaces_Update.json
*/
/**
* Sample code: Update a Workspace in a resource group.
diff --git a/sdk/chaos/azure-resourcemanager-chaos/pom.xml b/sdk/chaos/azure-resourcemanager-chaos/pom.xml
index 21e3568c43ed..9055e35c9c65 100644
--- a/sdk/chaos/azure-resourcemanager-chaos/pom.xml
+++ b/sdk/chaos/azure-resourcemanager-chaos/pom.xml
@@ -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. Package api-version 2026-05-01-preview.
+ 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 2026-08-01-preview.
https://github.com/Azure/azure-sdk-for-java
diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/main/java/com/azure/resourcemanager/chaos/ChaosManager.java b/sdk/chaos/azure-resourcemanager-chaos/src/main/java/com/azure/resourcemanager/chaos/ChaosManager.java
index a29af6e468ee..9fe319b896bf 100644
--- a/sdk/chaos/azure-resourcemanager-chaos/src/main/java/com/azure/resourcemanager/chaos/ChaosManager.java
+++ b/sdk/chaos/azure-resourcemanager-chaos/src/main/java/com/azure/resourcemanager/chaos/ChaosManager.java
@@ -30,6 +30,7 @@
import com.azure.resourcemanager.chaos.implementation.CapabilitiesImpl;
import com.azure.resourcemanager.chaos.implementation.CapabilityTypesImpl;
import com.azure.resourcemanager.chaos.implementation.ChaosManagementClientBuilder;
+import com.azure.resourcemanager.chaos.implementation.ConnectionsImpl;
import com.azure.resourcemanager.chaos.implementation.DiscoveredResourcesImpl;
import com.azure.resourcemanager.chaos.implementation.ExperimentsImpl;
import com.azure.resourcemanager.chaos.implementation.OperationStatusesImpl;
@@ -45,6 +46,7 @@
import com.azure.resourcemanager.chaos.models.Actions;
import com.azure.resourcemanager.chaos.models.Capabilities;
import com.azure.resourcemanager.chaos.models.CapabilityTypes;
+import com.azure.resourcemanager.chaos.models.Connections;
import com.azure.resourcemanager.chaos.models.DiscoveredResources;
import com.azure.resourcemanager.chaos.models.Experiments;
import com.azure.resourcemanager.chaos.models.OperationStatuses;
@@ -99,6 +101,8 @@ public final class ChaosManager {
private ScenarioRuns scenarioRuns;
+ private Connections connections;
+
private final ChaosManagementClient clientObject;
private ChaosManager(HttpPipeline httpPipeline, AzureProfile profile, Duration defaultPollInterval) {
@@ -495,6 +499,18 @@ public ScenarioRuns scenarioRuns() {
return scenarioRuns;
}
+ /**
+ * Gets the resource collection API of Connections. It manages Connection.
+ *
+ * @return Resource collection API of Connections.
+ */
+ public Connections connections() {
+ if (this.connections == null) {
+ this.connections = new ConnectionsImpl(clientObject.getConnections(), this);
+ }
+ return connections;
+ }
+
/**
* Gets wrapped service client ChaosManagementClient providing direct access to the underlying auto-generated API
* implementation, based on Azure REST API.
diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/main/java/com/azure/resourcemanager/chaos/fluent/ChaosManagementClient.java b/sdk/chaos/azure-resourcemanager-chaos/src/main/java/com/azure/resourcemanager/chaos/fluent/ChaosManagementClient.java
index 4d73646c6481..68d19bcc1fd1 100644
--- a/sdk/chaos/azure-resourcemanager-chaos/src/main/java/com/azure/resourcemanager/chaos/fluent/ChaosManagementClient.java
+++ b/sdk/chaos/azure-resourcemanager-chaos/src/main/java/com/azure/resourcemanager/chaos/fluent/ChaosManagementClient.java
@@ -150,4 +150,11 @@ public interface ChaosManagementClient {
* @return the ScenarioRunsClient object.
*/
ScenarioRunsClient getScenarioRuns();
+
+ /**
+ * Gets the ConnectionsClient object to access its operations.
+ *
+ * @return the ConnectionsClient object.
+ */
+ ConnectionsClient getConnections();
}
diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/main/java/com/azure/resourcemanager/chaos/fluent/ConnectionsClient.java b/sdk/chaos/azure-resourcemanager-chaos/src/main/java/com/azure/resourcemanager/chaos/fluent/ConnectionsClient.java
new file mode 100644
index 000000000000..9377f8ac3c4e
--- /dev/null
+++ b/sdk/chaos/azure-resourcemanager-chaos/src/main/java/com/azure/resourcemanager/chaos/fluent/ConnectionsClient.java
@@ -0,0 +1,142 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.chaos.fluent;
+
+import com.azure.core.annotation.ReturnType;
+import com.azure.core.annotation.ServiceMethod;
+import com.azure.core.http.rest.PagedIterable;
+import com.azure.core.http.rest.Response;
+import com.azure.core.util.Context;
+import com.azure.resourcemanager.chaos.fluent.models.ConnectionInner;
+
+/**
+ * An instance of this class provides access to all the operations defined in ConnectionsClient.
+ */
+public interface ConnectionsClient {
+ /**
+ * Get a connection.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName String that represents a Workspace resource name.
+ * @param connectionName Name of the connection.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a connection along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getWithResponse(String resourceGroupName, String workspaceName, String connectionName,
+ Context context);
+
+ /**
+ * Get a connection.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName String that represents a Workspace resource name.
+ * @param connectionName Name of the connection.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a connection.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ConnectionInner get(String resourceGroupName, String workspaceName, String connectionName);
+
+ /**
+ * Create or update a connection.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName String that represents a Workspace resource name.
+ * @param connectionName Name of the connection.
+ * @param resource Connection resource to be created or updated.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return model that represents a connection between a workspace and a target resource.
+ * A connection provisions and tracks the trust relationship that authorizes the
+ * actor to reach the Chaos Studio data plane for the workspace and target during
+ * fault injection along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response createOrUpdateWithResponse(String resourceGroupName, String workspaceName,
+ String connectionName, ConnectionInner resource, Context context);
+
+ /**
+ * Create or update a connection.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName String that represents a Workspace resource name.
+ * @param connectionName Name of the connection.
+ * @param resource Connection resource to be created or updated.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return model that represents a connection between a workspace and a target resource.
+ * A connection provisions and tracks the trust relationship that authorizes the
+ * actor to reach the Chaos Studio data plane for the workspace and target during
+ * fault injection.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ConnectionInner createOrUpdate(String resourceGroupName, String workspaceName, String connectionName,
+ ConnectionInner resource);
+
+ /**
+ * Delete a connection.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName String that represents a Workspace resource name.
+ * @param connectionName Name of the connection.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response deleteWithResponse(String resourceGroupName, String workspaceName, String connectionName,
+ Context context);
+
+ /**
+ * Delete a connection.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName String that represents a Workspace resource name.
+ * @param connectionName Name of the connection.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void delete(String resourceGroupName, String workspaceName, String connectionName);
+
+ /**
+ * Get a list of connections.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName String that represents a Workspace resource name.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a list of connections as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listAll(String resourceGroupName, String workspaceName);
+
+ /**
+ * Get a list of connections.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName String that represents a Workspace resource name.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a list of connections as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listAll(String resourceGroupName, String workspaceName, Context context);
+}
diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/main/java/com/azure/resourcemanager/chaos/fluent/ExperimentsClient.java b/sdk/chaos/azure-resourcemanager-chaos/src/main/java/com/azure/resourcemanager/chaos/fluent/ExperimentsClient.java
index ebe078e30d6c..0134eb667167 100644
--- a/sdk/chaos/azure-resourcemanager-chaos/src/main/java/com/azure/resourcemanager/chaos/fluent/ExperimentsClient.java
+++ b/sdk/chaos/azure-resourcemanager-chaos/src/main/java/com/azure/resourcemanager/chaos/fluent/ExperimentsClient.java
@@ -110,7 +110,7 @@ ExperimentInner createOrUpdate(String resourceGroupName, String experimentName,
Context context);
/**
- * The operation to update an experiment.
+ * Update an experiment.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param experimentName String that represents a Experiment resource name.
@@ -125,7 +125,7 @@ SyncPoller, ExperimentInner> beginUpdate(String reso
String experimentName, ExperimentUpdate properties);
/**
- * The operation to update an experiment.
+ * Update an experiment.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param experimentName String that represents a Experiment resource name.
@@ -141,7 +141,7 @@ SyncPoller, ExperimentInner> beginUpdate(String reso
String experimentName, ExperimentUpdate properties, Context context);
/**
- * The operation to update an experiment.
+ * Update an experiment.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param experimentName String that represents a Experiment resource name.
@@ -155,7 +155,7 @@ SyncPoller, ExperimentInner> beginUpdate(String reso
ExperimentInner update(String resourceGroupName, String experimentName, ExperimentUpdate properties);
/**
- * The operation to update an experiment.
+ * Update an experiment.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param experimentName String that represents a Experiment resource name.
diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/main/java/com/azure/resourcemanager/chaos/fluent/WorkspacesClient.java b/sdk/chaos/azure-resourcemanager-chaos/src/main/java/com/azure/resourcemanager/chaos/fluent/WorkspacesClient.java
index b250fd7b2c66..0bdec015fda1 100644
--- a/sdk/chaos/azure-resourcemanager-chaos/src/main/java/com/azure/resourcemanager/chaos/fluent/WorkspacesClient.java
+++ b/sdk/chaos/azure-resourcemanager-chaos/src/main/java/com/azure/resourcemanager/chaos/fluent/WorkspacesClient.java
@@ -12,6 +12,7 @@
import com.azure.core.util.Context;
import com.azure.core.util.polling.SyncPoller;
import com.azure.resourcemanager.chaos.fluent.models.WorkspaceInner;
+import com.azure.resourcemanager.chaos.models.WorkspaceDiscovery;
import com.azure.resourcemanager.chaos.models.WorkspaceEvaluation;
import com.azure.resourcemanager.chaos.models.WorkspaceUpdate;
@@ -109,7 +110,7 @@ WorkspaceInner createOrUpdate(String resourceGroupName, String workspaceName, Wo
Context context);
/**
- * The operation to update a Workspace.
+ * Update a Workspace.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName String that represents a Workspace resource name.
@@ -124,7 +125,7 @@ SyncPoller, WorkspaceInner> beginUpdate(String resour
WorkspaceUpdate properties);
/**
- * The operation to update a Workspace.
+ * Update a Workspace.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName String that represents a Workspace resource name.
@@ -140,7 +141,7 @@ SyncPoller, WorkspaceInner> beginUpdate(String resour
WorkspaceUpdate properties, Context context);
/**
- * The operation to update a Workspace.
+ * Update a Workspace.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName String that represents a Workspace resource name.
@@ -154,7 +155,7 @@ SyncPoller, WorkspaceInner> beginUpdate(String resour
WorkspaceInner update(String resourceGroupName, String workspaceName, WorkspaceUpdate properties);
/**
- * The operation to update a Workspace.
+ * Update a Workspace.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName String that represents a Workspace resource name.
@@ -271,7 +272,7 @@ PagedIterable listByResourceGroup(String resourceGroupName, Stri
PagedIterable list(String continuationToken, Context context);
/**
- * Refreshes recommendation status for all scenarios in a given workspace.
+ * Triggers resource discovery for the workspace.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName String that represents a Workspace resource name.
@@ -281,11 +282,11 @@ PagedIterable listByResourceGroup(String resourceGroupName, Stri
* @return the {@link SyncPoller} for polling of long-running operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, WorkspaceEvaluation>
- beginRefreshRecommendations(String resourceGroupName, String workspaceName);
+ SyncPoller, WorkspaceDiscovery> beginDiscover(String resourceGroupName,
+ String workspaceName);
/**
- * Refreshes recommendation status for all scenarios in a given workspace.
+ * Triggers resource discovery for the workspace.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName String that represents a Workspace resource name.
@@ -296,11 +297,11 @@ PagedIterable listByResourceGroup(String resourceGroupName, Stri
* @return the {@link SyncPoller} for polling of long-running operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, WorkspaceEvaluation>
- beginRefreshRecommendations(String resourceGroupName, String workspaceName, Context context);
+ SyncPoller, WorkspaceDiscovery> beginDiscover(String resourceGroupName,
+ String workspaceName, Context context);
/**
- * Refreshes recommendation status for all scenarios in a given workspace.
+ * Triggers resource discovery for the workspace.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName String that represents a Workspace resource name.
@@ -310,10 +311,10 @@ PagedIterable listByResourceGroup(String resourceGroupName, Stri
* @return the response.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- WorkspaceEvaluation refreshRecommendations(String resourceGroupName, String workspaceName);
+ WorkspaceDiscovery discover(String resourceGroupName, String workspaceName);
/**
- * Refreshes recommendation status for all scenarios in a given workspace.
+ * Triggers resource discovery for the workspace.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName String that represents a Workspace resource name.
@@ -324,5 +325,61 @@ PagedIterable listByResourceGroup(String resourceGroupName, Stri
* @return the response.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- WorkspaceEvaluation refreshRecommendations(String resourceGroupName, String workspaceName, Context context);
+ WorkspaceDiscovery discover(String resourceGroupName, String workspaceName, Context context);
+
+ /**
+ * Triggers scenario evaluation for the workspace.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName String that represents a Workspace resource name.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, WorkspaceEvaluation> beginEvaluate(String resourceGroupName,
+ String workspaceName);
+
+ /**
+ * Triggers scenario evaluation for the workspace.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName String that represents a Workspace resource name.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, WorkspaceEvaluation> beginEvaluate(String resourceGroupName,
+ String workspaceName, Context context);
+
+ /**
+ * Triggers scenario evaluation for the workspace.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName String that represents a Workspace resource name.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ WorkspaceEvaluation evaluate(String resourceGroupName, String workspaceName);
+
+ /**
+ * Triggers scenario evaluation for the workspace.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName String that represents a Workspace resource name.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ WorkspaceEvaluation evaluate(String resourceGroupName, String workspaceName, Context context);
}
diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/main/java/com/azure/resourcemanager/chaos/fluent/models/ConnectionInner.java b/sdk/chaos/azure-resourcemanager-chaos/src/main/java/com/azure/resourcemanager/chaos/fluent/models/ConnectionInner.java
new file mode 100644
index 000000000000..0948d5d0f386
--- /dev/null
+++ b/sdk/chaos/azure-resourcemanager-chaos/src/main/java/com/azure/resourcemanager/chaos/fluent/models/ConnectionInner.java
@@ -0,0 +1,158 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.chaos.fluent.models;
+
+import com.azure.core.annotation.Fluent;
+import com.azure.core.management.ProxyResource;
+import com.azure.core.management.SystemData;
+import com.azure.json.JsonReader;
+import com.azure.json.JsonToken;
+import com.azure.json.JsonWriter;
+import com.azure.resourcemanager.chaos.models.ConnectionProperties;
+import java.io.IOException;
+
+/**
+ * Model that represents a connection between a workspace and a target resource.
+ * A connection provisions and tracks the trust relationship that authorizes the
+ * actor to reach the Chaos Studio data plane for the workspace and target during
+ * fault injection.
+ */
+@Fluent
+public final class ConnectionInner extends ProxyResource {
+ /*
+ * The properties of the connection.
+ */
+ private ConnectionProperties properties;
+
+ /*
+ * Azure Resource Manager metadata containing createdBy and modifiedBy information.
+ */
+ private SystemData systemData;
+
+ /*
+ * The type of the resource.
+ */
+ private String type;
+
+ /*
+ * The name of the resource.
+ */
+ private String name;
+
+ /*
+ * Fully qualified resource Id for the resource.
+ */
+ private String id;
+
+ /**
+ * Creates an instance of ConnectionInner class.
+ */
+ public ConnectionInner() {
+ }
+
+ /**
+ * Get the properties property: The properties of the connection.
+ *
+ * @return the properties value.
+ */
+ public ConnectionProperties properties() {
+ return this.properties;
+ }
+
+ /**
+ * Set the properties property: The properties of the connection.
+ *
+ * @param properties the properties value to set.
+ * @return the ConnectionInner object itself.
+ */
+ public ConnectionInner withProperties(ConnectionProperties properties) {
+ this.properties = properties;
+ return this;
+ }
+
+ /**
+ * Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
+ *
+ * @return the systemData value.
+ */
+ public SystemData systemData() {
+ return this.systemData;
+ }
+
+ /**
+ * Get the type property: The type of the resource.
+ *
+ * @return the type value.
+ */
+ @Override
+ public String type() {
+ return this.type;
+ }
+
+ /**
+ * Get the name property: The name of the resource.
+ *
+ * @return the name value.
+ */
+ @Override
+ public String name() {
+ return this.name;
+ }
+
+ /**
+ * Get the id property: Fully qualified resource Id for the resource.
+ *
+ * @return the id value.
+ */
+ @Override
+ public String id() {
+ return this.id;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ @Override
+ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
+ jsonWriter.writeStartObject();
+ jsonWriter.writeJsonField("properties", this.properties);
+ return jsonWriter.writeEndObject();
+ }
+
+ /**
+ * Reads an instance of ConnectionInner from the JsonReader.
+ *
+ * @param jsonReader The JsonReader being read.
+ * @return An instance of ConnectionInner if the JsonReader was pointing to an instance of it, or null if it was
+ * pointing to JSON null.
+ * @throws IllegalStateException If the deserialized JSON object was missing any required properties.
+ * @throws IOException If an error occurs while reading the ConnectionInner.
+ */
+ public static ConnectionInner fromJson(JsonReader jsonReader) throws IOException {
+ return jsonReader.readObject(reader -> {
+ ConnectionInner deserializedConnectionInner = new ConnectionInner();
+ while (reader.nextToken() != JsonToken.END_OBJECT) {
+ String fieldName = reader.getFieldName();
+ reader.nextToken();
+
+ if ("id".equals(fieldName)) {
+ deserializedConnectionInner.id = reader.getString();
+ } else if ("name".equals(fieldName)) {
+ deserializedConnectionInner.name = reader.getString();
+ } else if ("type".equals(fieldName)) {
+ deserializedConnectionInner.type = reader.getString();
+ } else if ("properties".equals(fieldName)) {
+ deserializedConnectionInner.properties = ConnectionProperties.fromJson(reader);
+ } else if ("systemData".equals(fieldName)) {
+ deserializedConnectionInner.systemData = SystemData.fromJson(reader);
+ } else {
+ reader.skipChildren();
+ }
+ }
+
+ return deserializedConnectionInner;
+ });
+ }
+}
diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/main/java/com/azure/resourcemanager/chaos/implementation/ChaosManagementClientImpl.java b/sdk/chaos/azure-resourcemanager-chaos/src/main/java/com/azure/resourcemanager/chaos/implementation/ChaosManagementClientImpl.java
index 2a6f45febd52..6bc8cd1ee246 100644
--- a/sdk/chaos/azure-resourcemanager-chaos/src/main/java/com/azure/resourcemanager/chaos/implementation/ChaosManagementClientImpl.java
+++ b/sdk/chaos/azure-resourcemanager-chaos/src/main/java/com/azure/resourcemanager/chaos/implementation/ChaosManagementClientImpl.java
@@ -31,6 +31,7 @@
import com.azure.resourcemanager.chaos.fluent.CapabilitiesClient;
import com.azure.resourcemanager.chaos.fluent.CapabilityTypesClient;
import com.azure.resourcemanager.chaos.fluent.ChaosManagementClient;
+import com.azure.resourcemanager.chaos.fluent.ConnectionsClient;
import com.azure.resourcemanager.chaos.fluent.DiscoveredResourcesClient;
import com.azure.resourcemanager.chaos.fluent.ExperimentsClient;
import com.azure.resourcemanager.chaos.fluent.OperationStatusesClient;
@@ -350,6 +351,20 @@ public ScenarioRunsClient getScenarioRuns() {
return this.scenarioRuns;
}
+ /**
+ * The ConnectionsClient object to access its operations.
+ */
+ private final ConnectionsClient connections;
+
+ /**
+ * Gets the ConnectionsClient object to access its operations.
+ *
+ * @return the ConnectionsClient object.
+ */
+ public ConnectionsClient getConnections() {
+ return this.connections;
+ }
+
/**
* Initializes an instance of ChaosManagementClient client.
*
@@ -367,7 +382,7 @@ public ScenarioRunsClient getScenarioRuns() {
this.defaultPollInterval = defaultPollInterval;
this.endpoint = endpoint;
this.subscriptionId = subscriptionId;
- this.apiVersion = "2026-05-01-preview";
+ this.apiVersion = "2026-08-01-preview";
this.capabilities = new CapabilitiesClientImpl(this);
this.operations = new OperationsClientImpl(this);
this.targets = new TargetsClientImpl(this);
@@ -383,6 +398,7 @@ public ScenarioRunsClient getScenarioRuns() {
this.scenarios = new ScenariosClientImpl(this);
this.scenarioConfigurations = new ScenarioConfigurationsClientImpl(this);
this.scenarioRuns = new ScenarioRunsClientImpl(this);
+ this.connections = new ConnectionsClientImpl(this);
}
/**
diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/main/java/com/azure/resourcemanager/chaos/implementation/ConnectionImpl.java b/sdk/chaos/azure-resourcemanager-chaos/src/main/java/com/azure/resourcemanager/chaos/implementation/ConnectionImpl.java
new file mode 100644
index 000000000000..f4c4f23ee9c1
--- /dev/null
+++ b/sdk/chaos/azure-resourcemanager-chaos/src/main/java/com/azure/resourcemanager/chaos/implementation/ConnectionImpl.java
@@ -0,0 +1,134 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.chaos.implementation;
+
+import com.azure.core.management.SystemData;
+import com.azure.core.util.Context;
+import com.azure.resourcemanager.chaos.fluent.models.ConnectionInner;
+import com.azure.resourcemanager.chaos.models.Connection;
+import com.azure.resourcemanager.chaos.models.ConnectionProperties;
+
+public final class ConnectionImpl implements Connection, Connection.Definition, Connection.Update {
+ private ConnectionInner innerObject;
+
+ private final com.azure.resourcemanager.chaos.ChaosManager serviceManager;
+
+ public String id() {
+ return this.innerModel().id();
+ }
+
+ public String name() {
+ return this.innerModel().name();
+ }
+
+ public String type() {
+ return this.innerModel().type();
+ }
+
+ public ConnectionProperties properties() {
+ return this.innerModel().properties();
+ }
+
+ public SystemData systemData() {
+ return this.innerModel().systemData();
+ }
+
+ public String resourceGroupName() {
+ return resourceGroupName;
+ }
+
+ public ConnectionInner innerModel() {
+ return this.innerObject;
+ }
+
+ private com.azure.resourcemanager.chaos.ChaosManager manager() {
+ return this.serviceManager;
+ }
+
+ private String resourceGroupName;
+
+ private String workspaceName;
+
+ private String connectionName;
+
+ public ConnectionImpl withExistingWorkspace(String resourceGroupName, String workspaceName) {
+ this.resourceGroupName = resourceGroupName;
+ this.workspaceName = workspaceName;
+ return this;
+ }
+
+ public Connection create() {
+ this.innerObject = serviceManager.serviceClient()
+ .getConnections()
+ .createOrUpdateWithResponse(resourceGroupName, workspaceName, connectionName, this.innerModel(),
+ Context.NONE)
+ .getValue();
+ return this;
+ }
+
+ public Connection create(Context context) {
+ this.innerObject = serviceManager.serviceClient()
+ .getConnections()
+ .createOrUpdateWithResponse(resourceGroupName, workspaceName, connectionName, this.innerModel(), context)
+ .getValue();
+ return this;
+ }
+
+ ConnectionImpl(String name, com.azure.resourcemanager.chaos.ChaosManager serviceManager) {
+ this.innerObject = new ConnectionInner();
+ this.serviceManager = serviceManager;
+ this.connectionName = name;
+ }
+
+ public ConnectionImpl update() {
+ return this;
+ }
+
+ public Connection apply() {
+ this.innerObject = serviceManager.serviceClient()
+ .getConnections()
+ .createOrUpdateWithResponse(resourceGroupName, workspaceName, connectionName, this.innerModel(),
+ Context.NONE)
+ .getValue();
+ return this;
+ }
+
+ public Connection apply(Context context) {
+ this.innerObject = serviceManager.serviceClient()
+ .getConnections()
+ .createOrUpdateWithResponse(resourceGroupName, workspaceName, connectionName, this.innerModel(), context)
+ .getValue();
+ return this;
+ }
+
+ ConnectionImpl(ConnectionInner innerObject, com.azure.resourcemanager.chaos.ChaosManager serviceManager) {
+ this.innerObject = innerObject;
+ this.serviceManager = serviceManager;
+ this.resourceGroupName = ResourceManagerUtils.getValueFromIdByName(innerObject.id(), "resourceGroups");
+ this.workspaceName = ResourceManagerUtils.getValueFromIdByName(innerObject.id(), "workspaces");
+ this.connectionName = ResourceManagerUtils.getValueFromIdByName(innerObject.id(), "connections");
+ }
+
+ public Connection refresh() {
+ this.innerObject = serviceManager.serviceClient()
+ .getConnections()
+ .getWithResponse(resourceGroupName, workspaceName, connectionName, Context.NONE)
+ .getValue();
+ return this;
+ }
+
+ public Connection refresh(Context context) {
+ this.innerObject = serviceManager.serviceClient()
+ .getConnections()
+ .getWithResponse(resourceGroupName, workspaceName, connectionName, context)
+ .getValue();
+ return this;
+ }
+
+ public ConnectionImpl withProperties(ConnectionProperties properties) {
+ this.innerModel().withProperties(properties);
+ return this;
+ }
+}
diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/main/java/com/azure/resourcemanager/chaos/implementation/ConnectionsClientImpl.java b/sdk/chaos/azure-resourcemanager-chaos/src/main/java/com/azure/resourcemanager/chaos/implementation/ConnectionsClientImpl.java
new file mode 100644
index 000000000000..29599475d7ca
--- /dev/null
+++ b/sdk/chaos/azure-resourcemanager-chaos/src/main/java/com/azure/resourcemanager/chaos/implementation/ConnectionsClientImpl.java
@@ -0,0 +1,565 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.chaos.implementation;
+
+import com.azure.core.annotation.BodyParam;
+import com.azure.core.annotation.Delete;
+import com.azure.core.annotation.ExpectedResponses;
+import com.azure.core.annotation.Get;
+import com.azure.core.annotation.HeaderParam;
+import com.azure.core.annotation.Headers;
+import com.azure.core.annotation.Host;
+import com.azure.core.annotation.HostParam;
+import com.azure.core.annotation.PathParam;
+import com.azure.core.annotation.Put;
+import com.azure.core.annotation.QueryParam;
+import com.azure.core.annotation.ReturnType;
+import com.azure.core.annotation.ServiceInterface;
+import com.azure.core.annotation.ServiceMethod;
+import com.azure.core.annotation.UnexpectedResponseExceptionType;
+import com.azure.core.http.rest.PagedFlux;
+import com.azure.core.http.rest.PagedIterable;
+import com.azure.core.http.rest.PagedResponse;
+import com.azure.core.http.rest.PagedResponseBase;
+import com.azure.core.http.rest.Response;
+import com.azure.core.http.rest.RestProxy;
+import com.azure.core.management.exception.ManagementException;
+import com.azure.core.util.Context;
+import com.azure.core.util.FluxUtil;
+import com.azure.resourcemanager.chaos.fluent.ConnectionsClient;
+import com.azure.resourcemanager.chaos.fluent.models.ConnectionInner;
+import com.azure.resourcemanager.chaos.implementation.models.ConnectionListResult;
+import reactor.core.publisher.Mono;
+
+/**
+ * An instance of this class provides access to all the operations defined in ConnectionsClient.
+ */
+public final class ConnectionsClientImpl implements ConnectionsClient {
+ /**
+ * The proxy service used to perform REST calls.
+ */
+ private final ConnectionsService service;
+
+ /**
+ * The service client containing this operation class.
+ */
+ private final ChaosManagementClientImpl client;
+
+ /**
+ * Initializes an instance of ConnectionsClientImpl.
+ *
+ * @param client the instance of the service client containing this operation class.
+ */
+ ConnectionsClientImpl(ChaosManagementClientImpl client) {
+ this.service
+ = RestProxy.create(ConnectionsService.class, client.getHttpPipeline(), client.getSerializerAdapter());
+ this.client = client;
+ }
+
+ /**
+ * The interface defining all the services for ChaosManagementClientConnections to be used by the proxy service to
+ * perform REST calls.
+ */
+ @Host("{endpoint}")
+ @ServiceInterface(name = "ChaosManagementClientConnections")
+ public interface ConnectionsService {
+ @Headers({ "Content-Type: application/json" })
+ @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Chaos/workspaces/{workspaceName}/connections/{connectionName}")
+ @ExpectedResponses({ 200 })
+ @UnexpectedResponseExceptionType(ManagementException.class)
+ Mono> get(@HostParam("endpoint") String endpoint,
+ @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId,
+ @PathParam("resourceGroupName") String resourceGroupName, @PathParam("workspaceName") String workspaceName,
+ @PathParam("connectionName") String connectionName, @HeaderParam("Accept") String accept, Context context);
+
+ @Headers({ "Content-Type: application/json" })
+ @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Chaos/workspaces/{workspaceName}/connections/{connectionName}")
+ @ExpectedResponses({ 200 })
+ @UnexpectedResponseExceptionType(ManagementException.class)
+ Response getSync(@HostParam("endpoint") String endpoint,
+ @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId,
+ @PathParam("resourceGroupName") String resourceGroupName, @PathParam("workspaceName") String workspaceName,
+ @PathParam("connectionName") String connectionName, @HeaderParam("Accept") String accept, Context context);
+
+ @Put("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Chaos/workspaces/{workspaceName}/connections/{connectionName}")
+ @ExpectedResponses({ 200, 201 })
+ @UnexpectedResponseExceptionType(ManagementException.class)
+ Mono> createOrUpdate(@HostParam("endpoint") String endpoint,
+ @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId,
+ @PathParam("resourceGroupName") String resourceGroupName, @PathParam("workspaceName") String workspaceName,
+ @PathParam("connectionName") String connectionName, @HeaderParam("Content-Type") String contentType,
+ @HeaderParam("Accept") String accept, @BodyParam("application/json") ConnectionInner resource,
+ Context context);
+
+ @Put("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Chaos/workspaces/{workspaceName}/connections/{connectionName}")
+ @ExpectedResponses({ 200, 201 })
+ @UnexpectedResponseExceptionType(ManagementException.class)
+ Response createOrUpdateSync(@HostParam("endpoint") String endpoint,
+ @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId,
+ @PathParam("resourceGroupName") String resourceGroupName, @PathParam("workspaceName") String workspaceName,
+ @PathParam("connectionName") String connectionName, @HeaderParam("Content-Type") String contentType,
+ @HeaderParam("Accept") String accept, @BodyParam("application/json") ConnectionInner resource,
+ Context context);
+
+ @Headers({ "Accept: application/json;q=0.9", "Content-Type: application/json" })
+ @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Chaos/workspaces/{workspaceName}/connections/{connectionName}")
+ @ExpectedResponses({ 200, 204 })
+ @UnexpectedResponseExceptionType(ManagementException.class)
+ Mono> delete(@HostParam("endpoint") String endpoint,
+ @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId,
+ @PathParam("resourceGroupName") String resourceGroupName, @PathParam("workspaceName") String workspaceName,
+ @PathParam("connectionName") String connectionName, Context context);
+
+ @Headers({ "Accept: application/json;q=0.9", "Content-Type: application/json" })
+ @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Chaos/workspaces/{workspaceName}/connections/{connectionName}")
+ @ExpectedResponses({ 200, 204 })
+ @UnexpectedResponseExceptionType(ManagementException.class)
+ Response deleteSync(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion,
+ @PathParam("subscriptionId") String subscriptionId,
+ @PathParam("resourceGroupName") String resourceGroupName, @PathParam("workspaceName") String workspaceName,
+ @PathParam("connectionName") String connectionName, Context context);
+
+ @Headers({ "Content-Type: application/json" })
+ @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Chaos/workspaces/{workspaceName}/connections")
+ @ExpectedResponses({ 200 })
+ @UnexpectedResponseExceptionType(ManagementException.class)
+ Mono> listAll(@HostParam("endpoint") String endpoint,
+ @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId,
+ @PathParam("resourceGroupName") String resourceGroupName, @PathParam("workspaceName") String workspaceName,
+ @HeaderParam("Accept") String accept, Context context);
+
+ @Headers({ "Content-Type: application/json" })
+ @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Chaos/workspaces/{workspaceName}/connections")
+ @ExpectedResponses({ 200 })
+ @UnexpectedResponseExceptionType(ManagementException.class)
+ Response listAllSync(@HostParam("endpoint") String endpoint,
+ @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId,
+ @PathParam("resourceGroupName") String resourceGroupName, @PathParam("workspaceName") String workspaceName,
+ @HeaderParam("Accept") String accept, Context context);
+
+ @Headers({ "Content-Type: application/json" })
+ @Get("{nextLink}")
+ @ExpectedResponses({ 200 })
+ @UnexpectedResponseExceptionType(ManagementException.class)
+ Mono> listAllNext(@PathParam(value = "nextLink", encoded = true) String nextLink,
+ @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context);
+
+ @Headers({ "Content-Type: application/json" })
+ @Get("{nextLink}")
+ @ExpectedResponses({ 200 })
+ @UnexpectedResponseExceptionType(ManagementException.class)
+ Response listAllNextSync(@PathParam(value = "nextLink", encoded = true) String nextLink,
+ @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context);
+ }
+
+ /**
+ * Get a connection.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName String that represents a Workspace resource name.
+ * @param connectionName Name of the connection.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a connection along with {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono> getWithResponseAsync(String resourceGroupName, String workspaceName,
+ String connectionName) {
+ final String accept = "application/json";
+ return FluxUtil
+ .withContext(context -> service.get(this.client.getEndpoint(), this.client.getApiVersion(),
+ this.client.getSubscriptionId(), resourceGroupName, workspaceName, connectionName, accept, context))
+ .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly()));
+ }
+
+ /**
+ * Get a connection.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName String that represents a Workspace resource name.
+ * @param connectionName Name of the connection.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a connection on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono getAsync(String resourceGroupName, String workspaceName, String connectionName) {
+ return getWithResponseAsync(resourceGroupName, workspaceName, connectionName)
+ .flatMap(res -> Mono.justOrEmpty(res.getValue()));
+ }
+
+ /**
+ * Get a connection.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName String that represents a Workspace resource name.
+ * @param connectionName Name of the connection.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a connection along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public Response getWithResponse(String resourceGroupName, String workspaceName,
+ String connectionName, Context context) {
+ final String accept = "application/json";
+ return service.getSync(this.client.getEndpoint(), this.client.getApiVersion(), this.client.getSubscriptionId(),
+ resourceGroupName, workspaceName, connectionName, accept, context);
+ }
+
+ /**
+ * Get a connection.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName String that represents a Workspace resource name.
+ * @param connectionName Name of the connection.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a connection.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public ConnectionInner get(String resourceGroupName, String workspaceName, String connectionName) {
+ return getWithResponse(resourceGroupName, workspaceName, connectionName, Context.NONE).getValue();
+ }
+
+ /**
+ * Create or update a connection.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName String that represents a Workspace resource name.
+ * @param connectionName Name of the connection.
+ * @param resource Connection resource to be created or updated.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return model that represents a connection between a workspace and a target resource.
+ * A connection provisions and tracks the trust relationship that authorizes the
+ * actor to reach the Chaos Studio data plane for the workspace and target during
+ * fault injection along with {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono> createOrUpdateWithResponseAsync(String resourceGroupName,
+ String workspaceName, String connectionName, ConnectionInner resource) {
+ final String contentType = "application/json";
+ final String accept = "application/json";
+ return FluxUtil
+ .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), this.client.getApiVersion(),
+ this.client.getSubscriptionId(), resourceGroupName, workspaceName, connectionName, contentType, accept,
+ resource, context))
+ .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly()));
+ }
+
+ /**
+ * Create or update a connection.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName String that represents a Workspace resource name.
+ * @param connectionName Name of the connection.
+ * @param resource Connection resource to be created or updated.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return model that represents a connection between a workspace and a target resource.
+ * A connection provisions and tracks the trust relationship that authorizes the
+ * actor to reach the Chaos Studio data plane for the workspace and target during
+ * fault injection on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono createOrUpdateAsync(String resourceGroupName, String workspaceName,
+ String connectionName, ConnectionInner resource) {
+ return createOrUpdateWithResponseAsync(resourceGroupName, workspaceName, connectionName, resource)
+ .flatMap(res -> Mono.justOrEmpty(res.getValue()));
+ }
+
+ /**
+ * Create or update a connection.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName String that represents a Workspace resource name.
+ * @param connectionName Name of the connection.
+ * @param resource Connection resource to be created or updated.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return model that represents a connection between a workspace and a target resource.
+ * A connection provisions and tracks the trust relationship that authorizes the
+ * actor to reach the Chaos Studio data plane for the workspace and target during
+ * fault injection along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public Response createOrUpdateWithResponse(String resourceGroupName, String workspaceName,
+ String connectionName, ConnectionInner resource, Context context) {
+ final String contentType = "application/json";
+ final String accept = "application/json";
+ return service.createOrUpdateSync(this.client.getEndpoint(), this.client.getApiVersion(),
+ this.client.getSubscriptionId(), resourceGroupName, workspaceName, connectionName, contentType, accept,
+ resource, context);
+ }
+
+ /**
+ * Create or update a connection.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName String that represents a Workspace resource name.
+ * @param connectionName Name of the connection.
+ * @param resource Connection resource to be created or updated.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return model that represents a connection between a workspace and a target resource.
+ * A connection provisions and tracks the trust relationship that authorizes the
+ * actor to reach the Chaos Studio data plane for the workspace and target during
+ * fault injection.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public ConnectionInner createOrUpdate(String resourceGroupName, String workspaceName, String connectionName,
+ ConnectionInner resource) {
+ return createOrUpdateWithResponse(resourceGroupName, workspaceName, connectionName, resource, Context.NONE)
+ .getValue();
+ }
+
+ /**
+ * Delete a connection.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName String that represents a Workspace resource name.
+ * @param connectionName Name of the connection.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono> deleteWithResponseAsync(String resourceGroupName, String workspaceName,
+ String connectionName) {
+ return FluxUtil
+ .withContext(context -> service.delete(this.client.getEndpoint(), this.client.getApiVersion(),
+ this.client.getSubscriptionId(), resourceGroupName, workspaceName, connectionName, context))
+ .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly()));
+ }
+
+ /**
+ * Delete a connection.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName String that represents a Workspace resource name.
+ * @param connectionName Name of the connection.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return A {@link Mono} that completes when a successful response is received.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono deleteAsync(String resourceGroupName, String workspaceName, String connectionName) {
+ return deleteWithResponseAsync(resourceGroupName, workspaceName, connectionName)
+ .flatMap(ignored -> Mono.empty());
+ }
+
+ /**
+ * Delete a connection.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName String that represents a Workspace resource name.
+ * @param connectionName Name of the connection.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public Response deleteWithResponse(String resourceGroupName, String workspaceName, String connectionName,
+ Context context) {
+ return service.deleteSync(this.client.getEndpoint(), this.client.getApiVersion(),
+ this.client.getSubscriptionId(), resourceGroupName, workspaceName, connectionName, context);
+ }
+
+ /**
+ * Delete a connection.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName String that represents a Workspace resource name.
+ * @param connectionName Name of the connection.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public void delete(String resourceGroupName, String workspaceName, String connectionName) {
+ deleteWithResponse(resourceGroupName, workspaceName, connectionName, Context.NONE);
+ }
+
+ /**
+ * Get a list of connections.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName String that represents a Workspace resource name.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a list of connections along with {@link PagedResponse} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono> listAllSinglePageAsync(String resourceGroupName,
+ String workspaceName) {
+ final String accept = "application/json";
+ return FluxUtil
+ .withContext(context -> service.listAll(this.client.getEndpoint(), this.client.getApiVersion(),
+ this.client.getSubscriptionId(), resourceGroupName, workspaceName, accept, context))
+ .>map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(),
+ res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null))
+ .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly()));
+ }
+
+ /**
+ * Get a list of connections.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName String that represents a Workspace resource name.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a list of connections as paginated response with {@link PagedFlux}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ private PagedFlux listAllAsync(String resourceGroupName, String workspaceName) {
+ return new PagedFlux<>(() -> listAllSinglePageAsync(resourceGroupName, workspaceName),
+ nextLink -> listAllNextSinglePageAsync(nextLink));
+ }
+
+ /**
+ * Get a list of connections.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName String that represents a Workspace resource name.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a list of connections along with {@link PagedResponse}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private PagedResponse listAllSinglePage(String resourceGroupName, String workspaceName) {
+ final String accept = "application/json";
+ Response res = service.listAllSync(this.client.getEndpoint(), this.client.getApiVersion(),
+ this.client.getSubscriptionId(), resourceGroupName, workspaceName, accept, Context.NONE);
+ return new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(),
+ res.getValue().nextLink(), null);
+ }
+
+ /**
+ * Get a list of connections.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName String that represents a Workspace resource name.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a list of connections along with {@link PagedResponse}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private PagedResponse listAllSinglePage(String resourceGroupName, String workspaceName,
+ Context context) {
+ final String accept = "application/json";
+ Response res = service.listAllSync(this.client.getEndpoint(), this.client.getApiVersion(),
+ this.client.getSubscriptionId(), resourceGroupName, workspaceName, accept, context);
+ return new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(),
+ res.getValue().nextLink(), null);
+ }
+
+ /**
+ * Get a list of connections.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName String that represents a Workspace resource name.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a list of connections as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ public PagedIterable listAll(String resourceGroupName, String workspaceName) {
+ return new PagedIterable<>(() -> listAllSinglePage(resourceGroupName, workspaceName),
+ nextLink -> listAllNextSinglePage(nextLink));
+ }
+
+ /**
+ * Get a list of connections.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName String that represents a Workspace resource name.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a list of connections as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ public PagedIterable listAll(String resourceGroupName, String workspaceName, Context context) {
+ return new PagedIterable<>(() -> listAllSinglePage(resourceGroupName, workspaceName, context),
+ nextLink -> listAllNextSinglePage(nextLink, context));
+ }
+
+ /**
+ * Get the next page of items.
+ *
+ * @param nextLink The URL to get the next list of items.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a list of connections along with {@link PagedResponse} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono> listAllNextSinglePageAsync(String nextLink) {
+ final String accept = "application/json";
+ return FluxUtil
+ .withContext(context -> service.listAllNext(nextLink, this.client.getEndpoint(), accept, context))
+ .>map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(),
+ res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null))
+ .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly()));
+ }
+
+ /**
+ * Get the next page of items.
+ *
+ * @param nextLink The URL to get the next list of items.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a list of connections along with {@link PagedResponse}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private PagedResponse listAllNextSinglePage(String nextLink) {
+ final String accept = "application/json";
+ Response res
+ = service.listAllNextSync(nextLink, this.client.getEndpoint(), accept, Context.NONE);
+ return new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(),
+ res.getValue().nextLink(), null);
+ }
+
+ /**
+ * Get the next page of items.
+ *
+ * @param nextLink The URL to get the next list of items.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a list of connections along with {@link PagedResponse}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private PagedResponse listAllNextSinglePage(String nextLink, Context context) {
+ final String accept = "application/json";
+ Response res
+ = service.listAllNextSync(nextLink, this.client.getEndpoint(), accept, context);
+ return new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(),
+ res.getValue().nextLink(), null);
+ }
+}
diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/main/java/com/azure/resourcemanager/chaos/implementation/ConnectionsImpl.java b/sdk/chaos/azure-resourcemanager-chaos/src/main/java/com/azure/resourcemanager/chaos/implementation/ConnectionsImpl.java
new file mode 100644
index 000000000000..383151c44d76
--- /dev/null
+++ b/sdk/chaos/azure-resourcemanager-chaos/src/main/java/com/azure/resourcemanager/chaos/implementation/ConnectionsImpl.java
@@ -0,0 +1,152 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.chaos.implementation;
+
+import com.azure.core.http.rest.PagedIterable;
+import com.azure.core.http.rest.Response;
+import com.azure.core.http.rest.SimpleResponse;
+import com.azure.core.util.Context;
+import com.azure.core.util.logging.ClientLogger;
+import com.azure.resourcemanager.chaos.fluent.ConnectionsClient;
+import com.azure.resourcemanager.chaos.fluent.models.ConnectionInner;
+import com.azure.resourcemanager.chaos.models.Connection;
+import com.azure.resourcemanager.chaos.models.Connections;
+
+public final class ConnectionsImpl implements Connections {
+ private static final ClientLogger LOGGER = new ClientLogger(ConnectionsImpl.class);
+
+ private final ConnectionsClient innerClient;
+
+ private final com.azure.resourcemanager.chaos.ChaosManager serviceManager;
+
+ public ConnectionsImpl(ConnectionsClient innerClient, com.azure.resourcemanager.chaos.ChaosManager serviceManager) {
+ this.innerClient = innerClient;
+ this.serviceManager = serviceManager;
+ }
+
+ public Response getWithResponse(String resourceGroupName, String workspaceName, String connectionName,
+ Context context) {
+ Response inner
+ = this.serviceClient().getWithResponse(resourceGroupName, workspaceName, connectionName, context);
+ return new SimpleResponse<>(inner.getRequest(), inner.getStatusCode(), inner.getHeaders(),
+ new ConnectionImpl(inner.getValue(), this.manager()));
+ }
+
+ public Connection get(String resourceGroupName, String workspaceName, String connectionName) {
+ ConnectionInner inner = this.serviceClient().get(resourceGroupName, workspaceName, connectionName);
+ if (inner != null) {
+ return new ConnectionImpl(inner, this.manager());
+ } else {
+ return null;
+ }
+ }
+
+ public Response deleteWithResponse(String resourceGroupName, String workspaceName, String connectionName,
+ Context context) {
+ return this.serviceClient().deleteWithResponse(resourceGroupName, workspaceName, connectionName, context);
+ }
+
+ public void delete(String resourceGroupName, String workspaceName, String connectionName) {
+ this.serviceClient().delete(resourceGroupName, workspaceName, connectionName);
+ }
+
+ public PagedIterable listAll(String resourceGroupName, String workspaceName) {
+ PagedIterable inner = this.serviceClient().listAll(resourceGroupName, workspaceName);
+ return ResourceManagerUtils.mapPage(inner, inner1 -> new ConnectionImpl(inner1, this.manager()));
+ }
+
+ public PagedIterable listAll(String resourceGroupName, String workspaceName, Context context) {
+ PagedIterable inner = this.serviceClient().listAll(resourceGroupName, workspaceName, context);
+ return ResourceManagerUtils.mapPage(inner, inner1 -> new ConnectionImpl(inner1, this.manager()));
+ }
+
+ public Connection getById(String id) {
+ String resourceGroupName = ResourceManagerUtils.getValueFromIdByName(id, "resourceGroups");
+ if (resourceGroupName == null) {
+ throw LOGGER.logExceptionAsError(new IllegalArgumentException(
+ String.format("The resource ID '%s' is not valid. Missing path segment 'resourceGroups'.", id)));
+ }
+ String workspaceName = ResourceManagerUtils.getValueFromIdByName(id, "workspaces");
+ if (workspaceName == null) {
+ throw LOGGER.logExceptionAsError(new IllegalArgumentException(
+ String.format("The resource ID '%s' is not valid. Missing path segment 'workspaces'.", id)));
+ }
+ String connectionName = ResourceManagerUtils.getValueFromIdByName(id, "connections");
+ if (connectionName == null) {
+ throw LOGGER.logExceptionAsError(new IllegalArgumentException(
+ String.format("The resource ID '%s' is not valid. Missing path segment 'connections'.", id)));
+ }
+ return this.getWithResponse(resourceGroupName, workspaceName, connectionName, Context.NONE).getValue();
+ }
+
+ public Response getByIdWithResponse(String id, Context context) {
+ String resourceGroupName = ResourceManagerUtils.getValueFromIdByName(id, "resourceGroups");
+ if (resourceGroupName == null) {
+ throw LOGGER.logExceptionAsError(new IllegalArgumentException(
+ String.format("The resource ID '%s' is not valid. Missing path segment 'resourceGroups'.", id)));
+ }
+ String workspaceName = ResourceManagerUtils.getValueFromIdByName(id, "workspaces");
+ if (workspaceName == null) {
+ throw LOGGER.logExceptionAsError(new IllegalArgumentException(
+ String.format("The resource ID '%s' is not valid. Missing path segment 'workspaces'.", id)));
+ }
+ String connectionName = ResourceManagerUtils.getValueFromIdByName(id, "connections");
+ if (connectionName == null) {
+ throw LOGGER.logExceptionAsError(new IllegalArgumentException(
+ String.format("The resource ID '%s' is not valid. Missing path segment 'connections'.", id)));
+ }
+ return this.getWithResponse(resourceGroupName, workspaceName, connectionName, context);
+ }
+
+ public void deleteById(String id) {
+ String resourceGroupName = ResourceManagerUtils.getValueFromIdByName(id, "resourceGroups");
+ if (resourceGroupName == null) {
+ throw LOGGER.logExceptionAsError(new IllegalArgumentException(
+ String.format("The resource ID '%s' is not valid. Missing path segment 'resourceGroups'.", id)));
+ }
+ String workspaceName = ResourceManagerUtils.getValueFromIdByName(id, "workspaces");
+ if (workspaceName == null) {
+ throw LOGGER.logExceptionAsError(new IllegalArgumentException(
+ String.format("The resource ID '%s' is not valid. Missing path segment 'workspaces'.", id)));
+ }
+ String connectionName = ResourceManagerUtils.getValueFromIdByName(id, "connections");
+ if (connectionName == null) {
+ throw LOGGER.logExceptionAsError(new IllegalArgumentException(
+ String.format("The resource ID '%s' is not valid. Missing path segment 'connections'.", id)));
+ }
+ this.deleteWithResponse(resourceGroupName, workspaceName, connectionName, Context.NONE);
+ }
+
+ public Response deleteByIdWithResponse(String id, Context context) {
+ String resourceGroupName = ResourceManagerUtils.getValueFromIdByName(id, "resourceGroups");
+ if (resourceGroupName == null) {
+ throw LOGGER.logExceptionAsError(new IllegalArgumentException(
+ String.format("The resource ID '%s' is not valid. Missing path segment 'resourceGroups'.", id)));
+ }
+ String workspaceName = ResourceManagerUtils.getValueFromIdByName(id, "workspaces");
+ if (workspaceName == null) {
+ throw LOGGER.logExceptionAsError(new IllegalArgumentException(
+ String.format("The resource ID '%s' is not valid. Missing path segment 'workspaces'.", id)));
+ }
+ String connectionName = ResourceManagerUtils.getValueFromIdByName(id, "connections");
+ if (connectionName == null) {
+ throw LOGGER.logExceptionAsError(new IllegalArgumentException(
+ String.format("The resource ID '%s' is not valid. Missing path segment 'connections'.", id)));
+ }
+ return this.deleteWithResponse(resourceGroupName, workspaceName, connectionName, context);
+ }
+
+ private ConnectionsClient serviceClient() {
+ return this.innerClient;
+ }
+
+ private com.azure.resourcemanager.chaos.ChaosManager manager() {
+ return this.serviceManager;
+ }
+
+ public ConnectionImpl define(String name) {
+ return new ConnectionImpl(name, this.manager());
+ }
+}
diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/main/java/com/azure/resourcemanager/chaos/implementation/ExperimentsClientImpl.java b/sdk/chaos/azure-resourcemanager-chaos/src/main/java/com/azure/resourcemanager/chaos/implementation/ExperimentsClientImpl.java
index 605292cb9cd8..55b2ea584938 100644
--- a/sdk/chaos/azure-resourcemanager-chaos/src/main/java/com/azure/resourcemanager/chaos/implementation/ExperimentsClientImpl.java
+++ b/sdk/chaos/azure-resourcemanager-chaos/src/main/java/com/azure/resourcemanager/chaos/implementation/ExperimentsClientImpl.java
@@ -579,7 +579,7 @@ public ExperimentInner createOrUpdate(String resourceGroupName, String experimen
}
/**
- * The operation to update an experiment.
+ * Update an experiment.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param experimentName String that represents a Experiment resource name.
@@ -603,7 +603,7 @@ private Mono>> updateWithResponseAsync(String resource
}
/**
- * The operation to update an experiment.
+ * Update an experiment.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param experimentName String that represents a Experiment resource name.
@@ -624,7 +624,7 @@ private Response updateWithResponse(String resourceGroupName, String
}
/**
- * The operation to update an experiment.
+ * Update an experiment.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param experimentName String that represents a Experiment resource name.
@@ -646,7 +646,7 @@ private Response updateWithResponse(String resourceGroupName, String
}
/**
- * The operation to update an experiment.
+ * Update an experiment.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param experimentName String that represents a Experiment resource name.
@@ -665,7 +665,7 @@ private PollerFlux, ExperimentInner> beginUpdateAsyn
}
/**
- * The operation to update an experiment.
+ * Update an experiment.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param experimentName String that represents a Experiment resource name.
@@ -684,7 +684,7 @@ public SyncPoller, ExperimentInner> beginUpdate(Stri
}
/**
- * The operation to update an experiment.
+ * Update an experiment.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param experimentName String that represents a Experiment resource name.
@@ -704,7 +704,7 @@ public SyncPoller, ExperimentInner> beginUpdate(Stri
}
/**
- * The operation to update an experiment.
+ * Update an experiment.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param experimentName String that represents a Experiment resource name.
@@ -722,7 +722,7 @@ private Mono updateAsync(String resourceGroupName, String exper
}
/**
- * The operation to update an experiment.
+ * Update an experiment.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param experimentName String that represents a Experiment resource name.
@@ -738,7 +738,7 @@ public ExperimentInner update(String resourceGroupName, String experimentName, E
}
/**
- * The operation to update an experiment.
+ * Update an experiment.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param experimentName String that represents a Experiment resource name.
diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/main/java/com/azure/resourcemanager/chaos/implementation/WorkspaceImpl.java b/sdk/chaos/azure-resourcemanager-chaos/src/main/java/com/azure/resourcemanager/chaos/implementation/WorkspaceImpl.java
index 16098597e56e..77c16ea847d8 100644
--- a/sdk/chaos/azure-resourcemanager-chaos/src/main/java/com/azure/resourcemanager/chaos/implementation/WorkspaceImpl.java
+++ b/sdk/chaos/azure-resourcemanager-chaos/src/main/java/com/azure/resourcemanager/chaos/implementation/WorkspaceImpl.java
@@ -10,6 +10,7 @@
import com.azure.resourcemanager.chaos.fluent.models.WorkspaceInner;
import com.azure.resourcemanager.chaos.models.ResourceIdentity;
import com.azure.resourcemanager.chaos.models.Workspace;
+import com.azure.resourcemanager.chaos.models.WorkspaceDiscovery;
import com.azure.resourcemanager.chaos.models.WorkspaceEvaluation;
import com.azure.resourcemanager.chaos.models.WorkspaceProperties;
import com.azure.resourcemanager.chaos.models.WorkspaceUpdate;
@@ -151,12 +152,20 @@ public Workspace refresh(Context context) {
return this;
}
- public WorkspaceEvaluation refreshRecommendations() {
- return serviceManager.workspaces().refreshRecommendations(resourceGroupName, workspaceName);
+ public WorkspaceDiscovery discover() {
+ return serviceManager.workspaces().discover(resourceGroupName, workspaceName);
}
- public WorkspaceEvaluation refreshRecommendations(Context context) {
- return serviceManager.workspaces().refreshRecommendations(resourceGroupName, workspaceName, context);
+ public WorkspaceDiscovery discover(Context context) {
+ return serviceManager.workspaces().discover(resourceGroupName, workspaceName, context);
+ }
+
+ public WorkspaceEvaluation evaluate() {
+ return serviceManager.workspaces().evaluate(resourceGroupName, workspaceName);
+ }
+
+ public WorkspaceEvaluation evaluate(Context context) {
+ return serviceManager.workspaces().evaluate(resourceGroupName, workspaceName, context);
}
public WorkspaceImpl withRegion(Region location) {
diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/main/java/com/azure/resourcemanager/chaos/implementation/WorkspacesClientImpl.java b/sdk/chaos/azure-resourcemanager-chaos/src/main/java/com/azure/resourcemanager/chaos/implementation/WorkspacesClientImpl.java
index 55da7b4777e4..56273e8411b9 100644
--- a/sdk/chaos/azure-resourcemanager-chaos/src/main/java/com/azure/resourcemanager/chaos/implementation/WorkspacesClientImpl.java
+++ b/sdk/chaos/azure-resourcemanager-chaos/src/main/java/com/azure/resourcemanager/chaos/implementation/WorkspacesClientImpl.java
@@ -37,6 +37,7 @@
import com.azure.resourcemanager.chaos.fluent.WorkspacesClient;
import com.azure.resourcemanager.chaos.fluent.models.WorkspaceInner;
import com.azure.resourcemanager.chaos.implementation.models.WorkspaceListResult;
+import com.azure.resourcemanager.chaos.models.WorkspaceDiscovery;
import com.azure.resourcemanager.chaos.models.WorkspaceEvaluation;
import com.azure.resourcemanager.chaos.models.WorkspaceUpdate;
import java.nio.ByteBuffer;
@@ -186,19 +187,37 @@ Response listSync(@HostParam("endpoint") String endpoint,
Context context);
@Headers({ "Accept: application/json;q=0.9", "Content-Type: application/json" })
- @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Chaos/workspaces/{workspaceName}/refreshRecommendations")
+ @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Chaos/workspaces/{workspaceName}/discover")
@ExpectedResponses({ 202 })
@UnexpectedResponseExceptionType(ManagementException.class)
- Mono>> refreshRecommendations(@HostParam("endpoint") String endpoint,
+ Mono>> discover(@HostParam("endpoint") String endpoint,
@QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId,
@PathParam("resourceGroupName") String resourceGroupName, @PathParam("workspaceName") String workspaceName,
Context context);
@Headers({ "Accept: application/json;q=0.9", "Content-Type: application/json" })
- @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Chaos/workspaces/{workspaceName}/refreshRecommendations")
+ @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Chaos/workspaces/{workspaceName}/discover")
@ExpectedResponses({ 202 })
@UnexpectedResponseExceptionType(ManagementException.class)
- Response refreshRecommendationsSync(@HostParam("endpoint") String endpoint,
+ Response discoverSync(@HostParam("endpoint") String endpoint,
+ @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId,
+ @PathParam("resourceGroupName") String resourceGroupName, @PathParam("workspaceName") String workspaceName,
+ Context context);
+
+ @Headers({ "Accept: application/json;q=0.9", "Content-Type: application/json" })
+ @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Chaos/workspaces/{workspaceName}/evaluate")
+ @ExpectedResponses({ 202 })
+ @UnexpectedResponseExceptionType(ManagementException.class)
+ Mono>> evaluate(@HostParam("endpoint") String endpoint,
+ @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId,
+ @PathParam("resourceGroupName") String resourceGroupName, @PathParam("workspaceName") String workspaceName,
+ Context context);
+
+ @Headers({ "Accept: application/json;q=0.9", "Content-Type: application/json" })
+ @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Chaos/workspaces/{workspaceName}/evaluate")
+ @ExpectedResponses({ 202 })
+ @UnexpectedResponseExceptionType(ManagementException.class)
+ Response evaluateSync(@HostParam("endpoint") String endpoint,
@QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId,
@PathParam("resourceGroupName") String resourceGroupName, @PathParam("workspaceName") String workspaceName,
Context context);
@@ -480,7 +499,7 @@ public WorkspaceInner createOrUpdate(String resourceGroupName, String workspaceN
}
/**
- * The operation to update a Workspace.
+ * Update a Workspace.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName String that represents a Workspace resource name.
@@ -504,7 +523,7 @@ private Mono>> updateWithResponseAsync(String resource
}
/**
- * The operation to update a Workspace.
+ * Update a Workspace.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName String that represents a Workspace resource name.
@@ -525,7 +544,7 @@ private Response updateWithResponse(String resourceGroupName, String
}
/**
- * The operation to update a Workspace.
+ * Update a Workspace.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName String that represents a Workspace resource name.
@@ -547,7 +566,7 @@ private Response updateWithResponse(String resourceGroupName, String
}
/**
- * The operation to update a Workspace.
+ * Update a Workspace.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName String that represents a Workspace resource name.
@@ -566,7 +585,7 @@ private PollerFlux, WorkspaceInner> beginUpdateAsync(
}
/**
- * The operation to update a Workspace.
+ * Update a Workspace.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName String that represents a Workspace resource name.
@@ -585,7 +604,7 @@ public SyncPoller, WorkspaceInner> beginUpdate(String
}
/**
- * The operation to update a Workspace.
+ * Update a Workspace.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName String that represents a Workspace resource name.
@@ -605,7 +624,7 @@ public SyncPoller, WorkspaceInner> beginUpdate(String
}
/**
- * The operation to update a Workspace.
+ * Update a Workspace.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName String that represents a Workspace resource name.
@@ -623,7 +642,7 @@ private Mono updateAsync(String resourceGroupName, String worksp
}
/**
- * The operation to update a Workspace.
+ * Update a Workspace.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName String that represents a Workspace resource name.
@@ -639,7 +658,7 @@ public WorkspaceInner update(String resourceGroupName, String workspaceName, Wor
}
/**
- * The operation to update a Workspace.
+ * Update a Workspace.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName String that represents a Workspace resource name.
@@ -1052,7 +1071,7 @@ public PagedIterable list(String continuationToken, Context cont
}
/**
- * Refreshes recommendation status for all scenarios in a given workspace.
+ * Triggers resource discovery for the workspace.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName String that represents a Workspace resource name.
@@ -1062,17 +1081,168 @@ public PagedIterable list(String continuationToken, Context cont
* @return the {@link Response} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- private Mono>> refreshRecommendationsWithResponseAsync(String resourceGroupName,
+ private Mono>> discoverWithResponseAsync(String resourceGroupName, String workspaceName) {
+ return FluxUtil
+ .withContext(context -> service.discover(this.client.getEndpoint(), this.client.getApiVersion(),
+ this.client.getSubscriptionId(), resourceGroupName, workspaceName, context))
+ .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly()));
+ }
+
+ /**
+ * Triggers resource discovery for the workspace.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName String that represents a Workspace resource name.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response body along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Response discoverWithResponse(String resourceGroupName, String workspaceName) {
+ return service.discoverSync(this.client.getEndpoint(), this.client.getApiVersion(),
+ this.client.getSubscriptionId(), resourceGroupName, workspaceName, Context.NONE);
+ }
+
+ /**
+ * Triggers resource discovery for the workspace.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName String that represents a Workspace resource name.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response body along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Response discoverWithResponse(String resourceGroupName, String workspaceName, Context context) {
+ return service.discoverSync(this.client.getEndpoint(), this.client.getApiVersion(),
+ this.client.getSubscriptionId(), resourceGroupName, workspaceName, context);
+ }
+
+ /**
+ * Triggers resource discovery for the workspace.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName String that represents a Workspace resource name.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link PollerFlux} for polling of long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ private PollerFlux, WorkspaceDiscovery> beginDiscoverAsync(String resourceGroupName,
+ String workspaceName) {
+ Mono>> mono = discoverWithResponseAsync(resourceGroupName, workspaceName);
+ return this.client.getLroResult(mono, this.client.getHttpPipeline(),
+ WorkspaceDiscovery.class, WorkspaceDiscovery.class, this.client.getContext());
+ }
+
+ /**
+ * Triggers resource discovery for the workspace.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName String that represents a Workspace resource name.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ public SyncPoller, WorkspaceDiscovery> beginDiscover(String resourceGroupName,
String workspaceName) {
+ Response response = discoverWithResponse(resourceGroupName, workspaceName);
+ return this.client.getLroResult(response, WorkspaceDiscovery.class,
+ WorkspaceDiscovery.class, Context.NONE);
+ }
+
+ /**
+ * Triggers resource discovery for the workspace.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName String that represents a Workspace resource name.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ public SyncPoller, WorkspaceDiscovery> beginDiscover(String resourceGroupName,
+ String workspaceName, Context context) {
+ Response response = discoverWithResponse(resourceGroupName, workspaceName, context);
+ return this.client.getLroResult(response, WorkspaceDiscovery.class,
+ WorkspaceDiscovery.class, context);
+ }
+
+ /**
+ * Triggers resource discovery for the workspace.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName String that represents a Workspace resource name.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response body on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono discoverAsync(String resourceGroupName, String workspaceName) {
+ return beginDiscoverAsync(resourceGroupName, workspaceName).last()
+ .flatMap(this.client::getLroFinalResultOrError);
+ }
+
+ /**
+ * Triggers resource discovery for the workspace.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName String that represents a Workspace resource name.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public WorkspaceDiscovery discover(String resourceGroupName, String workspaceName) {
+ return beginDiscover(resourceGroupName, workspaceName).getFinalResult();
+ }
+
+ /**
+ * Triggers resource discovery for the workspace.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName String that represents a Workspace resource name.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public WorkspaceDiscovery discover(String resourceGroupName, String workspaceName, Context context) {
+ return beginDiscover(resourceGroupName, workspaceName, context).getFinalResult();
+ }
+
+ /**
+ * Triggers scenario evaluation for the workspace.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName String that represents a Workspace resource name.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono>> evaluateWithResponseAsync(String resourceGroupName, String workspaceName) {
return FluxUtil
- .withContext(
- context -> service.refreshRecommendations(this.client.getEndpoint(), this.client.getApiVersion(),
- this.client.getSubscriptionId(), resourceGroupName, workspaceName, context))
+ .withContext(context -> service.evaluate(this.client.getEndpoint(), this.client.getApiVersion(),
+ this.client.getSubscriptionId(), resourceGroupName, workspaceName, context))
.contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly()));
}
/**
- * Refreshes recommendation status for all scenarios in a given workspace.
+ * Triggers scenario evaluation for the workspace.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName String that represents a Workspace resource name.
@@ -1082,13 +1252,13 @@ private Mono>> refreshRecommendationsWithResponseAsync
* @return the response body along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- private Response refreshRecommendationsWithResponse(String resourceGroupName, String workspaceName) {
- return service.refreshRecommendationsSync(this.client.getEndpoint(), this.client.getApiVersion(),
+ private Response evaluateWithResponse(String resourceGroupName, String workspaceName) {
+ return service.evaluateSync(this.client.getEndpoint(), this.client.getApiVersion(),
this.client.getSubscriptionId(), resourceGroupName, workspaceName, Context.NONE);
}
/**
- * Refreshes recommendation status for all scenarios in a given workspace.
+ * Triggers scenario evaluation for the workspace.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName String that represents a Workspace resource name.
@@ -1099,14 +1269,13 @@ private Response refreshRecommendationsWithResponse(String resourceG
* @return the response body along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- private Response refreshRecommendationsWithResponse(String resourceGroupName, String workspaceName,
- Context context) {
- return service.refreshRecommendationsSync(this.client.getEndpoint(), this.client.getApiVersion(),
+ private Response evaluateWithResponse(String resourceGroupName, String workspaceName, Context context) {
+ return service.evaluateSync(this.client.getEndpoint(), this.client.getApiVersion(),
this.client.getSubscriptionId(), resourceGroupName, workspaceName, context);
}
/**
- * Refreshes recommendation status for all scenarios in a given workspace.
+ * Triggers scenario evaluation for the workspace.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName String that represents a Workspace resource name.
@@ -1117,15 +1286,14 @@ private Response refreshRecommendationsWithResponse(String resourceG
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
private PollerFlux, WorkspaceEvaluation>
- beginRefreshRecommendationsAsync(String resourceGroupName, String workspaceName) {
- Mono>> mono
- = refreshRecommendationsWithResponseAsync(resourceGroupName, workspaceName);
+ beginEvaluateAsync(String resourceGroupName, String workspaceName) {
+ Mono>> mono = evaluateWithResponseAsync(resourceGroupName, workspaceName);
return this.client.getLroResult(mono, this.client.getHttpPipeline(),
WorkspaceEvaluation.class, WorkspaceEvaluation.class, this.client.getContext());
}
/**
- * Refreshes recommendation status for all scenarios in a given workspace.
+ * Triggers scenario evaluation for the workspace.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName String that represents a Workspace resource name.
@@ -1135,15 +1303,15 @@ private Response refreshRecommendationsWithResponse(String resourceG
* @return the {@link SyncPoller} for polling of long-running operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- public SyncPoller, WorkspaceEvaluation>
- beginRefreshRecommendations(String resourceGroupName, String workspaceName) {
- Response response = refreshRecommendationsWithResponse(resourceGroupName, workspaceName);
+ public SyncPoller, WorkspaceEvaluation> beginEvaluate(String resourceGroupName,
+ String workspaceName) {
+ Response response = evaluateWithResponse(resourceGroupName, workspaceName);
return this.client.getLroResult(response, WorkspaceEvaluation.class,
WorkspaceEvaluation.class, Context.NONE);
}
/**
- * Refreshes recommendation status for all scenarios in a given workspace.
+ * Triggers scenario evaluation for the workspace.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName String that represents a Workspace resource name.
@@ -1154,15 +1322,15 @@ private Response refreshRecommendationsWithResponse(String resourceG
* @return the {@link SyncPoller} for polling of long-running operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- public SyncPoller, WorkspaceEvaluation>
- beginRefreshRecommendations(String resourceGroupName, String workspaceName, Context context) {
- Response response = refreshRecommendationsWithResponse(resourceGroupName, workspaceName, context);
+ public SyncPoller, WorkspaceEvaluation> beginEvaluate(String resourceGroupName,
+ String workspaceName, Context context) {
+ Response response = evaluateWithResponse(resourceGroupName, workspaceName, context);
return this.client.getLroResult(response, WorkspaceEvaluation.class,
WorkspaceEvaluation.class, context);
}
/**
- * Refreshes recommendation status for all scenarios in a given workspace.
+ * Triggers scenario evaluation for the workspace.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName String that represents a Workspace resource name.
@@ -1172,13 +1340,13 @@ private Response refreshRecommendationsWithResponse(String resourceG
* @return the response body on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- private Mono refreshRecommendationsAsync(String resourceGroupName, String workspaceName) {
- return beginRefreshRecommendationsAsync(resourceGroupName, workspaceName).last()
+ private Mono evaluateAsync(String resourceGroupName, String workspaceName) {
+ return beginEvaluateAsync(resourceGroupName, workspaceName).last()
.flatMap(this.client::getLroFinalResultOrError);
}
/**
- * Refreshes recommendation status for all scenarios in a given workspace.
+ * Triggers scenario evaluation for the workspace.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName String that represents a Workspace resource name.
@@ -1188,12 +1356,12 @@ private Mono refreshRecommendationsAsync(String resourceGro
* @return the response.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- public WorkspaceEvaluation refreshRecommendations(String resourceGroupName, String workspaceName) {
- return beginRefreshRecommendations(resourceGroupName, workspaceName).getFinalResult();
+ public WorkspaceEvaluation evaluate(String resourceGroupName, String workspaceName) {
+ return beginEvaluate(resourceGroupName, workspaceName).getFinalResult();
}
/**
- * Refreshes recommendation status for all scenarios in a given workspace.
+ * Triggers scenario evaluation for the workspace.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName String that represents a Workspace resource name.
@@ -1204,8 +1372,8 @@ public WorkspaceEvaluation refreshRecommendations(String resourceGroupName, Stri
* @return the response.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- public WorkspaceEvaluation refreshRecommendations(String resourceGroupName, String workspaceName, Context context) {
- return beginRefreshRecommendations(resourceGroupName, workspaceName, context).getFinalResult();
+ public WorkspaceEvaluation evaluate(String resourceGroupName, String workspaceName, Context context) {
+ return beginEvaluate(resourceGroupName, workspaceName, context).getFinalResult();
}
/**
diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/main/java/com/azure/resourcemanager/chaos/implementation/WorkspacesImpl.java b/sdk/chaos/azure-resourcemanager-chaos/src/main/java/com/azure/resourcemanager/chaos/implementation/WorkspacesImpl.java
index d9fe243a52a0..778a24826081 100644
--- a/sdk/chaos/azure-resourcemanager-chaos/src/main/java/com/azure/resourcemanager/chaos/implementation/WorkspacesImpl.java
+++ b/sdk/chaos/azure-resourcemanager-chaos/src/main/java/com/azure/resourcemanager/chaos/implementation/WorkspacesImpl.java
@@ -12,6 +12,7 @@
import com.azure.resourcemanager.chaos.fluent.WorkspacesClient;
import com.azure.resourcemanager.chaos.fluent.models.WorkspaceInner;
import com.azure.resourcemanager.chaos.models.Workspace;
+import com.azure.resourcemanager.chaos.models.WorkspaceDiscovery;
import com.azure.resourcemanager.chaos.models.WorkspaceEvaluation;
import com.azure.resourcemanager.chaos.models.Workspaces;
@@ -74,12 +75,20 @@ public PagedIterable list(String continuationToken, Context context)
return ResourceManagerUtils.mapPage(inner, inner1 -> new WorkspaceImpl(inner1, this.manager()));
}
- public WorkspaceEvaluation refreshRecommendations(String resourceGroupName, String workspaceName) {
- return this.serviceClient().refreshRecommendations(resourceGroupName, workspaceName);
+ public WorkspaceDiscovery discover(String resourceGroupName, String workspaceName) {
+ return this.serviceClient().discover(resourceGroupName, workspaceName);
}
- public WorkspaceEvaluation refreshRecommendations(String resourceGroupName, String workspaceName, Context context) {
- return this.serviceClient().refreshRecommendations(resourceGroupName, workspaceName, context);
+ public WorkspaceDiscovery discover(String resourceGroupName, String workspaceName, Context context) {
+ return this.serviceClient().discover(resourceGroupName, workspaceName, context);
+ }
+
+ public WorkspaceEvaluation evaluate(String resourceGroupName, String workspaceName) {
+ return this.serviceClient().evaluate(resourceGroupName, workspaceName);
+ }
+
+ public WorkspaceEvaluation evaluate(String resourceGroupName, String workspaceName, Context context) {
+ return this.serviceClient().evaluate(resourceGroupName, workspaceName, context);
}
public Workspace getById(String id) {
diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/main/java/com/azure/resourcemanager/chaos/implementation/models/ConnectionListResult.java b/sdk/chaos/azure-resourcemanager-chaos/src/main/java/com/azure/resourcemanager/chaos/implementation/models/ConnectionListResult.java
new file mode 100644
index 000000000000..8c052203f7ff
--- /dev/null
+++ b/sdk/chaos/azure-resourcemanager-chaos/src/main/java/com/azure/resourcemanager/chaos/implementation/models/ConnectionListResult.java
@@ -0,0 +1,95 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.chaos.implementation.models;
+
+import com.azure.core.annotation.Immutable;
+import com.azure.json.JsonReader;
+import com.azure.json.JsonSerializable;
+import com.azure.json.JsonToken;
+import com.azure.json.JsonWriter;
+import com.azure.resourcemanager.chaos.fluent.models.ConnectionInner;
+import java.io.IOException;
+import java.util.List;
+
+/**
+ * Model that represents a list of connections and a link for pagination.
+ */
+@Immutable
+public final class ConnectionListResult implements JsonSerializable {
+ /*
+ * The Connection items on this page
+ */
+ private List value;
+
+ /*
+ * The link to the next page of items
+ */
+ private String nextLink;
+
+ /**
+ * Creates an instance of ConnectionListResult class.
+ */
+ private ConnectionListResult() {
+ }
+
+ /**
+ * Get the value property: The Connection items on this page.
+ *
+ * @return the value value.
+ */
+ public List value() {
+ return this.value;
+ }
+
+ /**
+ * Get the nextLink property: The link to the next page of items.
+ *
+ * @return the nextLink value.
+ */
+ public String nextLink() {
+ return this.nextLink;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ @Override
+ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
+ jsonWriter.writeStartObject();
+ jsonWriter.writeArrayField("value", this.value, (writer, element) -> writer.writeJson(element));
+ jsonWriter.writeStringField("nextLink", this.nextLink);
+ return jsonWriter.writeEndObject();
+ }
+
+ /**
+ * Reads an instance of ConnectionListResult from the JsonReader.
+ *
+ * @param jsonReader The JsonReader being read.
+ * @return An instance of ConnectionListResult if the JsonReader was pointing to an instance of it, or null if it
+ * was pointing to JSON null.
+ * @throws IllegalStateException If the deserialized JSON object was missing any required properties.
+ * @throws IOException If an error occurs while reading the ConnectionListResult.
+ */
+ public static ConnectionListResult fromJson(JsonReader jsonReader) throws IOException {
+ return jsonReader.readObject(reader -> {
+ ConnectionListResult deserializedConnectionListResult = new ConnectionListResult();
+ while (reader.nextToken() != JsonToken.END_OBJECT) {
+ String fieldName = reader.getFieldName();
+ reader.nextToken();
+
+ if ("value".equals(fieldName)) {
+ List value = reader.readArray(reader1 -> ConnectionInner.fromJson(reader1));
+ deserializedConnectionListResult.value = value;
+ } else if ("nextLink".equals(fieldName)) {
+ deserializedConnectionListResult.nextLink = reader.getString();
+ } else {
+ reader.skipChildren();
+ }
+ }
+
+ return deserializedConnectionListResult;
+ });
+ }
+}
diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/main/java/com/azure/resourcemanager/chaos/models/ConfigurationExclusions.java b/sdk/chaos/azure-resourcemanager-chaos/src/main/java/com/azure/resourcemanager/chaos/models/ConfigurationExclusions.java
deleted file mode 100644
index c35646799c9a..000000000000
--- a/sdk/chaos/azure-resourcemanager-chaos/src/main/java/com/azure/resourcemanager/chaos/models/ConfigurationExclusions.java
+++ /dev/null
@@ -1,146 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) TypeSpec Code Generator.
-
-package com.azure.resourcemanager.chaos.models;
-
-import com.azure.core.annotation.Fluent;
-import com.azure.json.JsonReader;
-import com.azure.json.JsonSerializable;
-import com.azure.json.JsonToken;
-import com.azure.json.JsonWriter;
-import java.io.IOException;
-import java.util.List;
-
-/**
- * Model that represents exclusion criteria for protecting resources from fault injection.
- * Uses union (OR) logic - a resource is excluded if it matches ANY criteria.
- */
-@Fluent
-public final class ConfigurationExclusions implements JsonSerializable {
- /*
- * Array of specific resource IDs to exclude from fault injection.
- */
- private List resources;
-
- /*
- * Array of tag key-value pairs. Resources with matching tags are excluded.
- */
- private List tags;
-
- /*
- * Array of resource types. All resources of these types are excluded.
- */
- private List types;
-
- /**
- * Creates an instance of ConfigurationExclusions class.
- */
- public ConfigurationExclusions() {
- }
-
- /**
- * Get the resources property: Array of specific resource IDs to exclude from fault injection.
- *
- * @return the resources value.
- */
- public List resources() {
- return this.resources;
- }
-
- /**
- * Set the resources property: Array of specific resource IDs to exclude from fault injection.
- *
- * @param resources the resources value to set.
- * @return the ConfigurationExclusions object itself.
- */
- public ConfigurationExclusions withResources(List resources) {
- this.resources = resources;
- return this;
- }
-
- /**
- * Get the tags property: Array of tag key-value pairs. Resources with matching tags are excluded.
- *
- * @return the tags value.
- */
- public List tags() {
- return this.tags;
- }
-
- /**
- * Set the tags property: Array of tag key-value pairs. Resources with matching tags are excluded.
- *
- * @param tags the tags value to set.
- * @return the ConfigurationExclusions object itself.
- */
- public ConfigurationExclusions withTags(List tags) {
- this.tags = tags;
- return this;
- }
-
- /**
- * Get the types property: Array of resource types. All resources of these types are excluded.
- *
- * @return the types value.
- */
- public List types() {
- return this.types;
- }
-
- /**
- * Set the types property: Array of resource types. All resources of these types are excluded.
- *
- * @param types the types value to set.
- * @return the ConfigurationExclusions object itself.
- */
- public ConfigurationExclusions withTypes(List types) {
- this.types = types;
- return this;
- }
-
- /**
- * {@inheritDoc}
- */
- @Override
- public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
- jsonWriter.writeStartObject();
- jsonWriter.writeArrayField("resources", this.resources, (writer, element) -> writer.writeString(element));
- jsonWriter.writeArrayField("tags", this.tags, (writer, element) -> writer.writeJson(element));
- jsonWriter.writeArrayField("types", this.types, (writer, element) -> writer.writeString(element));
- return jsonWriter.writeEndObject();
- }
-
- /**
- * Reads an instance of ConfigurationExclusions from the JsonReader.
- *
- * @param jsonReader The JsonReader being read.
- * @return An instance of ConfigurationExclusions if the JsonReader was pointing to an instance of it, or null if it
- * was pointing to JSON null.
- * @throws IOException If an error occurs while reading the ConfigurationExclusions.
- */
- public static ConfigurationExclusions fromJson(JsonReader jsonReader) throws IOException {
- return jsonReader.readObject(reader -> {
- ConfigurationExclusions deserializedConfigurationExclusions = new ConfigurationExclusions();
- while (reader.nextToken() != JsonToken.END_OBJECT) {
- String fieldName = reader.getFieldName();
- reader.nextToken();
-
- if ("resources".equals(fieldName)) {
- List resources = reader.readArray(reader1 -> reader1.getString());
- deserializedConfigurationExclusions.resources = resources;
- } else if ("tags".equals(fieldName)) {
- List tags = reader.readArray(reader1 -> KeyValuePair.fromJson(reader1));
- deserializedConfigurationExclusions.tags = tags;
- } else if ("types".equals(fieldName)) {
- List types = reader.readArray(reader1 -> reader1.getString());
- deserializedConfigurationExclusions.types = types;
- } else {
- reader.skipChildren();
- }
- }
-
- return deserializedConfigurationExclusions;
- });
- }
-}
diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/main/java/com/azure/resourcemanager/chaos/models/ConfigurationFilters.java b/sdk/chaos/azure-resourcemanager-chaos/src/main/java/com/azure/resourcemanager/chaos/models/ConfigurationFilters.java
deleted file mode 100644
index 6d944b2c8d55..000000000000
--- a/sdk/chaos/azure-resourcemanager-chaos/src/main/java/com/azure/resourcemanager/chaos/models/ConfigurationFilters.java
+++ /dev/null
@@ -1,203 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) TypeSpec Code Generator.
-
-package com.azure.resourcemanager.chaos.models;
-
-import com.azure.core.annotation.Fluent;
-import com.azure.json.JsonReader;
-import com.azure.json.JsonSerializable;
-import com.azure.json.JsonToken;
-import com.azure.json.JsonWriter;
-import java.io.IOException;
-import java.util.List;
-
-/**
- * Model that represents filter criteria for constraining which discovered
- * resources participate in fault injection.
- *
- * Uses intersection (AND) logic — a resource is included only if it matches all criteria.
- */
-@Fluent
-public final class ConfigurationFilters implements JsonSerializable {
- /*
- * Array of Azure location strings. Only resources in these locations are included.
- *
- * Null or omitted means all locations (no filter). Empty array means include nothing.
- */
- private List locations;
-
- /*
- * Array of availability zone identifiers ("1", "2", "3", "zone-redundant").
- * Only resources whose zones intersect this list are included.
- *
- * Null or omitted means all zones (including non-zonal). Empty array means include nothing.
- *
- * Mutually exclusive with `physicalZones` — set one or the other, not both.
- */
- private List zones;
-
- /*
- * Array of physical availability zone identifiers in `{region}-az{N}` format
- * (e.g., `"westus2-az1"`). Only resources in the corresponding logical zone
- * for each subscription are included.
- *
- * At execution time, each physical zone is resolved to per-subscription
- * logical zones via the Azure locations API. The resolved mapping is surfaced
- * on the scenario run response (`zoneResolution`).
- *
- * Null or omitted means physical zone targeting is not used.
- * Only one physical zone is supported in preview.
- *
- * Mutually exclusive with `zones` — set one or the other, not both.
- */
- private List physicalZones;
-
- /**
- * Creates an instance of ConfigurationFilters class.
- */
- public ConfigurationFilters() {
- }
-
- /**
- * Get the locations property: Array of Azure location strings. Only resources in these locations are included.
- *
- * Null or omitted means all locations (no filter). Empty array means include nothing.
- *
- * @return the locations value.
- */
- public List locations() {
- return this.locations;
- }
-
- /**
- * Set the locations property: Array of Azure location strings. Only resources in these locations are included.
- *
- * Null or omitted means all locations (no filter). Empty array means include nothing.
- *
- * @param locations the locations value to set.
- * @return the ConfigurationFilters object itself.
- */
- public ConfigurationFilters withLocations(List locations) {
- this.locations = locations;
- return this;
- }
-
- /**
- * Get the zones property: Array of availability zone identifiers ("1", "2", "3", "zone-redundant").
- * Only resources whose zones intersect this list are included.
- *
- * Null or omitted means all zones (including non-zonal). Empty array means include nothing.
- *
- * Mutually exclusive with `physicalZones` — set one or the other, not both.
- *
- * @return the zones value.
- */
- public List zones() {
- return this.zones;
- }
-
- /**
- * Set the zones property: Array of availability zone identifiers ("1", "2", "3", "zone-redundant").
- * Only resources whose zones intersect this list are included.
- *
- * Null or omitted means all zones (including non-zonal). Empty array means include nothing.
- *
- * Mutually exclusive with `physicalZones` — set one or the other, not both.
- *
- * @param zones the zones value to set.
- * @return the ConfigurationFilters object itself.
- */
- public ConfigurationFilters withZones(List zones) {
- this.zones = zones;
- return this;
- }
-
- /**
- * Get the physicalZones property: Array of physical availability zone identifiers in `{region}-az{N}` format
- * (e.g., `"westus2-az1"`). Only resources in the corresponding logical zone
- * for each subscription are included.
- *
- * At execution time, each physical zone is resolved to per-subscription
- * logical zones via the Azure locations API. The resolved mapping is surfaced
- * on the scenario run response (`zoneResolution`).
- *
- * Null or omitted means physical zone targeting is not used.
- * Only one physical zone is supported in preview.
- *
- * Mutually exclusive with `zones` — set one or the other, not both.
- *
- * @return the physicalZones value.
- */
- public List physicalZones() {
- return this.physicalZones;
- }
-
- /**
- * Set the physicalZones property: Array of physical availability zone identifiers in `{region}-az{N}` format
- * (e.g., `"westus2-az1"`). Only resources in the corresponding logical zone
- * for each subscription are included.
- *
- * At execution time, each physical zone is resolved to per-subscription
- * logical zones via the Azure locations API. The resolved mapping is surfaced
- * on the scenario run response (`zoneResolution`).
- *
- * Null or omitted means physical zone targeting is not used.
- * Only one physical zone is supported in preview.
- *
- * Mutually exclusive with `zones` — set one or the other, not both.
- *
- * @param physicalZones the physicalZones value to set.
- * @return the ConfigurationFilters object itself.
- */
- public ConfigurationFilters withPhysicalZones(List physicalZones) {
- this.physicalZones = physicalZones;
- return this;
- }
-
- /**
- * {@inheritDoc}
- */
- @Override
- public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
- jsonWriter.writeStartObject();
- jsonWriter.writeArrayField("locations", this.locations, (writer, element) -> writer.writeString(element));
- jsonWriter.writeArrayField("zones", this.zones, (writer, element) -> writer.writeString(element));
- jsonWriter.writeArrayField("physicalZones", this.physicalZones,
- (writer, element) -> writer.writeString(element));
- return jsonWriter.writeEndObject();
- }
-
- /**
- * Reads an instance of ConfigurationFilters from the JsonReader.
- *
- * @param jsonReader The JsonReader being read.
- * @return An instance of ConfigurationFilters if the JsonReader was pointing to an instance of it, or null if it
- * was pointing to JSON null.
- * @throws IOException If an error occurs while reading the ConfigurationFilters.
- */
- public static ConfigurationFilters fromJson(JsonReader jsonReader) throws IOException {
- return jsonReader.readObject(reader -> {
- ConfigurationFilters deserializedConfigurationFilters = new ConfigurationFilters();
- while (reader.nextToken() != JsonToken.END_OBJECT) {
- String fieldName = reader.getFieldName();
- reader.nextToken();
-
- if ("locations".equals(fieldName)) {
- List locations = reader.readArray(reader1 -> reader1.getString());
- deserializedConfigurationFilters.locations = locations;
- } else if ("zones".equals(fieldName)) {
- List zones = reader.readArray(reader1 -> reader1.getString());
- deserializedConfigurationFilters.zones = zones;
- } else if ("physicalZones".equals(fieldName)) {
- List physicalZones = reader.readArray(reader1 -> reader1.getString());
- deserializedConfigurationFilters.physicalZones = physicalZones;
- } else {
- reader.skipChildren();
- }
- }
-
- return deserializedConfigurationFilters;
- });
- }
-}
diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/main/java/com/azure/resourcemanager/chaos/models/Connection.java b/sdk/chaos/azure-resourcemanager-chaos/src/main/java/com/azure/resourcemanager/chaos/models/Connection.java
new file mode 100644
index 000000000000..326a3c2b7914
--- /dev/null
+++ b/sdk/chaos/azure-resourcemanager-chaos/src/main/java/com/azure/resourcemanager/chaos/models/Connection.java
@@ -0,0 +1,189 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.chaos.models;
+
+import com.azure.core.management.SystemData;
+import com.azure.core.util.Context;
+import com.azure.resourcemanager.chaos.fluent.models.ConnectionInner;
+
+/**
+ * An immutable client-side representation of Connection.
+ */
+public interface Connection {
+ /**
+ * Gets the id property: Fully qualified resource Id for the resource.
+ *
+ * @return the id value.
+ */
+ String id();
+
+ /**
+ * Gets the name property: The name of the resource.
+ *
+ * @return the name value.
+ */
+ String name();
+
+ /**
+ * Gets the type property: The type of the resource.
+ *
+ * @return the type value.
+ */
+ String type();
+
+ /**
+ * Gets the properties property: The properties of the connection.
+ *
+ * @return the properties value.
+ */
+ ConnectionProperties properties();
+
+ /**
+ * Gets the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
+ *
+ * @return the systemData value.
+ */
+ SystemData systemData();
+
+ /**
+ * Gets the name of the resource group.
+ *
+ * @return the name of the resource group.
+ */
+ String resourceGroupName();
+
+ /**
+ * Gets the inner com.azure.resourcemanager.chaos.fluent.models.ConnectionInner object.
+ *
+ * @return the inner object.
+ */
+ ConnectionInner innerModel();
+
+ /**
+ * The entirety of the Connection definition.
+ */
+ interface Definition
+ extends DefinitionStages.Blank, DefinitionStages.WithParentResource, DefinitionStages.WithCreate {
+ }
+
+ /**
+ * The Connection definition stages.
+ */
+ interface DefinitionStages {
+ /**
+ * The first stage of the Connection definition.
+ */
+ interface Blank extends WithParentResource {
+ }
+
+ /**
+ * The stage of the Connection definition allowing to specify parent resource.
+ */
+ interface WithParentResource {
+ /**
+ * Specifies resourceGroupName, workspaceName.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName String that represents a Workspace resource name.
+ * @return the next definition stage.
+ */
+ WithCreate withExistingWorkspace(String resourceGroupName, String workspaceName);
+ }
+
+ /**
+ * The stage of the Connection definition which contains all the minimum required properties for the resource to
+ * be created, but also allows for any other optional properties to be specified.
+ */
+ interface WithCreate extends DefinitionStages.WithProperties {
+ /**
+ * Executes the create request.
+ *
+ * @return the created resource.
+ */
+ Connection create();
+
+ /**
+ * Executes the create request.
+ *
+ * @param context The context to associate with this operation.
+ * @return the created resource.
+ */
+ Connection create(Context context);
+ }
+
+ /**
+ * The stage of the Connection definition allowing to specify properties.
+ */
+ interface WithProperties {
+ /**
+ * Specifies the properties property: The properties of the connection..
+ *
+ * @param properties The properties of the connection.
+ * @return the next definition stage.
+ */
+ WithCreate withProperties(ConnectionProperties properties);
+ }
+ }
+
+ /**
+ * Begins update for the Connection resource.
+ *
+ * @return the stage of resource update.
+ */
+ Connection.Update update();
+
+ /**
+ * The template for Connection update.
+ */
+ interface Update extends UpdateStages.WithProperties {
+ /**
+ * Executes the update request.
+ *
+ * @return the updated resource.
+ */
+ Connection apply();
+
+ /**
+ * Executes the update request.
+ *
+ * @param context The context to associate with this operation.
+ * @return the updated resource.
+ */
+ Connection apply(Context context);
+ }
+
+ /**
+ * The Connection update stages.
+ */
+ interface UpdateStages {
+ /**
+ * The stage of the Connection update allowing to specify properties.
+ */
+ interface WithProperties {
+ /**
+ * Specifies the properties property: The properties of the connection..
+ *
+ * @param properties The properties of the connection.
+ * @return the next definition stage.
+ */
+ Update withProperties(ConnectionProperties properties);
+ }
+ }
+
+ /**
+ * Refreshes the resource to sync with Azure.
+ *
+ * @return the refreshed resource.
+ */
+ Connection refresh();
+
+ /**
+ * Refreshes the resource to sync with Azure.
+ *
+ * @param context The context to associate with this operation.
+ * @return the refreshed resource.
+ */
+ Connection refresh(Context context);
+}
diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/main/java/com/azure/resourcemanager/chaos/models/ConnectionKind.java b/sdk/chaos/azure-resourcemanager-chaos/src/main/java/com/azure/resourcemanager/chaos/models/ConnectionKind.java
new file mode 100644
index 000000000000..44a9f19168e2
--- /dev/null
+++ b/sdk/chaos/azure-resourcemanager-chaos/src/main/java/com/azure/resourcemanager/chaos/models/ConnectionKind.java
@@ -0,0 +1,57 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.chaos.models;
+
+import com.azure.core.util.ExpandableStringEnum;
+import java.util.Collection;
+
+/**
+ * The kind of connection, indicating the actor type authorized to reach the Chaos Studio data plane for the workspace
+ * and target.
+ */
+public final class ConnectionKind extends ExpandableStringEnum {
+ /**
+ * A connection backed by the Chaos AKS cluster extension.
+ */
+ public static final ConnectionKind AKS_EXTENSION = fromString("AksExtension");
+
+ /**
+ * A connection backed by the Chaos agent installed on the target resource.
+ */
+ public static final ConnectionKind CHAOS_AGENT = fromString("ChaosAgent");
+
+ /**
+ * A connection backed by Cloud Service Fault Injection (CSFI).
+ */
+ public static final ConnectionKind CSFI = fromString("Csfi");
+
+ /**
+ * Creates a new instance of ConnectionKind value.
+ *
+ * @deprecated Use the {@link #fromString(String)} factory method.
+ */
+ @Deprecated
+ public ConnectionKind() {
+ }
+
+ /**
+ * Creates or finds a ConnectionKind from its string representation.
+ *
+ * @param name a name to look for.
+ * @return the corresponding ConnectionKind.
+ */
+ public static ConnectionKind fromString(String name) {
+ return fromString(name, ConnectionKind.class);
+ }
+
+ /**
+ * Gets known ConnectionKind values.
+ *
+ * @return known ConnectionKind values.
+ */
+ public static Collection values() {
+ return values(ConnectionKind.class);
+ }
+}
diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/main/java/com/azure/resourcemanager/chaos/models/ConnectionProperties.java b/sdk/chaos/azure-resourcemanager-chaos/src/main/java/com/azure/resourcemanager/chaos/models/ConnectionProperties.java
new file mode 100644
index 000000000000..da1359906fe3
--- /dev/null
+++ b/sdk/chaos/azure-resourcemanager-chaos/src/main/java/com/azure/resourcemanager/chaos/models/ConnectionProperties.java
@@ -0,0 +1,316 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.chaos.models;
+
+import com.azure.core.annotation.Fluent;
+import com.azure.json.JsonReader;
+import com.azure.json.JsonSerializable;
+import com.azure.json.JsonToken;
+import com.azure.json.JsonWriter;
+import java.io.IOException;
+
+/**
+ * Model that represents the properties of a connection.
+ *
+ * The schema is flat and discriminated by `kind`. Optional fields form the
+ * superset across all connection kinds; which fields are required is
+ * validated by the service per kind.
+ */
+@Fluent
+public final class ConnectionProperties implements JsonSerializable {
+ /*
+ * The kind of connection, indicating the actor type authorized to reach the Chaos Studio data plane for the
+ * workspace and target.
+ */
+ private ConnectionKind kind;
+
+ /*
+ * The fully qualified Azure resource ID of the target resource this connection is established with.
+ */
+ private String targetResourceId;
+
+ /*
+ * The Microsoft Entra principal (object) ID of the identity used by the connection.
+ */
+ private String principalId;
+
+ /*
+ * The Microsoft Entra tenant ID that the connection identity belongs to.
+ */
+ private String tenantId;
+
+ /*
+ * The subject name of the certificate used to authenticate the connection.
+ */
+ private String certificateSubjectName;
+
+ /*
+ * The issuer of the certificate used to authenticate the connection.
+ */
+ private String certificateIssuer;
+
+ /*
+ * The dSTS principal name used to authenticate the connection.
+ */
+ private String dstsPrincipal;
+
+ /*
+ * The regional Chaos Studio data-plane endpoint assigned to this connection.
+ * Clients and agents use this endpoint to reach the Chaos Studio data plane
+ * for the connection.
+ */
+ private String dataPlaneEndpoint;
+
+ /*
+ * The current status of the connection.
+ */
+ private ConnectionStatus status;
+
+ /*
+ * The most recent provisioning state for the connection resource.
+ */
+ private ProvisioningState provisioningState;
+
+ /**
+ * Creates an instance of ConnectionProperties class.
+ */
+ public ConnectionProperties() {
+ }
+
+ /**
+ * Get the kind property: The kind of connection, indicating the actor type authorized to reach the Chaos Studio
+ * data plane for the workspace and target.
+ *
+ * @return the kind value.
+ */
+ public ConnectionKind kind() {
+ return this.kind;
+ }
+
+ /**
+ * Set the kind property: The kind of connection, indicating the actor type authorized to reach the Chaos Studio
+ * data plane for the workspace and target.
+ *
+ * @param kind the kind value to set.
+ * @return the ConnectionProperties object itself.
+ */
+ public ConnectionProperties withKind(ConnectionKind kind) {
+ this.kind = kind;
+ return this;
+ }
+
+ /**
+ * Get the targetResourceId property: The fully qualified Azure resource ID of the target resource this connection
+ * is established with.
+ *
+ * @return the targetResourceId value.
+ */
+ public String targetResourceId() {
+ return this.targetResourceId;
+ }
+
+ /**
+ * Set the targetResourceId property: The fully qualified Azure resource ID of the target resource this connection
+ * is established with.
+ *
+ * @param targetResourceId the targetResourceId value to set.
+ * @return the ConnectionProperties object itself.
+ */
+ public ConnectionProperties withTargetResourceId(String targetResourceId) {
+ this.targetResourceId = targetResourceId;
+ return this;
+ }
+
+ /**
+ * Get the principalId property: The Microsoft Entra principal (object) ID of the identity used by the connection.
+ *
+ * @return the principalId value.
+ */
+ public String principalId() {
+ return this.principalId;
+ }
+
+ /**
+ * Set the principalId property: The Microsoft Entra principal (object) ID of the identity used by the connection.
+ *
+ * @param principalId the principalId value to set.
+ * @return the ConnectionProperties object itself.
+ */
+ public ConnectionProperties withPrincipalId(String principalId) {
+ this.principalId = principalId;
+ return this;
+ }
+
+ /**
+ * Get the tenantId property: The Microsoft Entra tenant ID that the connection identity belongs to.
+ *
+ * @return the tenantId value.
+ */
+ public String tenantId() {
+ return this.tenantId;
+ }
+
+ /**
+ * Set the tenantId property: The Microsoft Entra tenant ID that the connection identity belongs to.
+ *
+ * @param tenantId the tenantId value to set.
+ * @return the ConnectionProperties object itself.
+ */
+ public ConnectionProperties withTenantId(String tenantId) {
+ this.tenantId = tenantId;
+ return this;
+ }
+
+ /**
+ * Get the certificateSubjectName property: The subject name of the certificate used to authenticate the connection.
+ *
+ * @return the certificateSubjectName value.
+ */
+ public String certificateSubjectName() {
+ return this.certificateSubjectName;
+ }
+
+ /**
+ * Set the certificateSubjectName property: The subject name of the certificate used to authenticate the connection.
+ *
+ * @param certificateSubjectName the certificateSubjectName value to set.
+ * @return the ConnectionProperties object itself.
+ */
+ public ConnectionProperties withCertificateSubjectName(String certificateSubjectName) {
+ this.certificateSubjectName = certificateSubjectName;
+ return this;
+ }
+
+ /**
+ * Get the certificateIssuer property: The issuer of the certificate used to authenticate the connection.
+ *
+ * @return the certificateIssuer value.
+ */
+ public String certificateIssuer() {
+ return this.certificateIssuer;
+ }
+
+ /**
+ * Set the certificateIssuer property: The issuer of the certificate used to authenticate the connection.
+ *
+ * @param certificateIssuer the certificateIssuer value to set.
+ * @return the ConnectionProperties object itself.
+ */
+ public ConnectionProperties withCertificateIssuer(String certificateIssuer) {
+ this.certificateIssuer = certificateIssuer;
+ return this;
+ }
+
+ /**
+ * Get the dstsPrincipal property: The dSTS principal name used to authenticate the connection.
+ *
+ * @return the dstsPrincipal value.
+ */
+ public String dstsPrincipal() {
+ return this.dstsPrincipal;
+ }
+
+ /**
+ * Set the dstsPrincipal property: The dSTS principal name used to authenticate the connection.
+ *
+ * @param dstsPrincipal the dstsPrincipal value to set.
+ * @return the ConnectionProperties object itself.
+ */
+ public ConnectionProperties withDstsPrincipal(String dstsPrincipal) {
+ this.dstsPrincipal = dstsPrincipal;
+ return this;
+ }
+
+ /**
+ * Get the dataPlaneEndpoint property: The regional Chaos Studio data-plane endpoint assigned to this connection.
+ * Clients and agents use this endpoint to reach the Chaos Studio data plane
+ * for the connection.
+ *
+ * @return the dataPlaneEndpoint value.
+ */
+ public String dataPlaneEndpoint() {
+ return this.dataPlaneEndpoint;
+ }
+
+ /**
+ * Get the status property: The current status of the connection.
+ *
+ * @return the status value.
+ */
+ public ConnectionStatus status() {
+ return this.status;
+ }
+
+ /**
+ * Get the provisioningState property: The most recent provisioning state for the connection resource.
+ *
+ * @return the provisioningState value.
+ */
+ public ProvisioningState provisioningState() {
+ return this.provisioningState;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ @Override
+ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
+ jsonWriter.writeStartObject();
+ jsonWriter.writeStringField("kind", this.kind == null ? null : this.kind.toString());
+ jsonWriter.writeStringField("targetResourceId", this.targetResourceId);
+ jsonWriter.writeStringField("principalId", this.principalId);
+ jsonWriter.writeStringField("tenantId", this.tenantId);
+ jsonWriter.writeStringField("certificateSubjectName", this.certificateSubjectName);
+ jsonWriter.writeStringField("certificateIssuer", this.certificateIssuer);
+ jsonWriter.writeStringField("dstsPrincipal", this.dstsPrincipal);
+ return jsonWriter.writeEndObject();
+ }
+
+ /**
+ * Reads an instance of ConnectionProperties from the JsonReader.
+ *
+ * @param jsonReader The JsonReader being read.
+ * @return An instance of ConnectionProperties if the JsonReader was pointing to an instance of it, or null if it
+ * was pointing to JSON null.
+ * @throws IllegalStateException If the deserialized JSON object was missing any required properties.
+ * @throws IOException If an error occurs while reading the ConnectionProperties.
+ */
+ public static ConnectionProperties fromJson(JsonReader jsonReader) throws IOException {
+ return jsonReader.readObject(reader -> {
+ ConnectionProperties deserializedConnectionProperties = new ConnectionProperties();
+ while (reader.nextToken() != JsonToken.END_OBJECT) {
+ String fieldName = reader.getFieldName();
+ reader.nextToken();
+
+ if ("kind".equals(fieldName)) {
+ deserializedConnectionProperties.kind = ConnectionKind.fromString(reader.getString());
+ } else if ("targetResourceId".equals(fieldName)) {
+ deserializedConnectionProperties.targetResourceId = reader.getString();
+ } else if ("principalId".equals(fieldName)) {
+ deserializedConnectionProperties.principalId = reader.getString();
+ } else if ("tenantId".equals(fieldName)) {
+ deserializedConnectionProperties.tenantId = reader.getString();
+ } else if ("certificateSubjectName".equals(fieldName)) {
+ deserializedConnectionProperties.certificateSubjectName = reader.getString();
+ } else if ("certificateIssuer".equals(fieldName)) {
+ deserializedConnectionProperties.certificateIssuer = reader.getString();
+ } else if ("dstsPrincipal".equals(fieldName)) {
+ deserializedConnectionProperties.dstsPrincipal = reader.getString();
+ } else if ("dataPlaneEndpoint".equals(fieldName)) {
+ deserializedConnectionProperties.dataPlaneEndpoint = reader.getString();
+ } else if ("status".equals(fieldName)) {
+ deserializedConnectionProperties.status = ConnectionStatus.fromString(reader.getString());
+ } else if ("provisioningState".equals(fieldName)) {
+ deserializedConnectionProperties.provisioningState
+ = ProvisioningState.fromString(reader.getString());
+ } else {
+ reader.skipChildren();
+ }
+ }
+
+ return deserializedConnectionProperties;
+ });
+ }
+}
diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/main/java/com/azure/resourcemanager/chaos/models/ConnectionStatus.java b/sdk/chaos/azure-resourcemanager-chaos/src/main/java/com/azure/resourcemanager/chaos/models/ConnectionStatus.java
new file mode 100644
index 000000000000..517a60a6f20a
--- /dev/null
+++ b/sdk/chaos/azure-resourcemanager-chaos/src/main/java/com/azure/resourcemanager/chaos/models/ConnectionStatus.java
@@ -0,0 +1,61 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.chaos.models;
+
+import com.azure.core.util.ExpandableStringEnum;
+import java.util.Collection;
+
+/**
+ * The status of a connection.
+ */
+public final class ConnectionStatus extends ExpandableStringEnum {
+ /**
+ * The connection has been created but is not yet sending heartbeats; the trust relationship is not yet established.
+ */
+ public static final ConnectionStatus PENDING = fromString("Pending");
+
+ /**
+ * The connection is established and actively heartbeating.
+ */
+ public static final ConnectionStatus CONNECTED = fromString("Connected");
+
+ /**
+ * The connection's heartbeat has gone stale; heartbeats are no longer being received.
+ */
+ public static final ConnectionStatus DISCONNECTED = fromString("Disconnected");
+
+ /**
+ * The connection's credentials have been revoked.
+ */
+ public static final ConnectionStatus REVOKED = fromString("Revoked");
+
+ /**
+ * Creates a new instance of ConnectionStatus value.
+ *
+ * @deprecated Use the {@link #fromString(String)} factory method.
+ */
+ @Deprecated
+ public ConnectionStatus() {
+ }
+
+ /**
+ * Creates or finds a ConnectionStatus from its string representation.
+ *
+ * @param name a name to look for.
+ * @return the corresponding ConnectionStatus.
+ */
+ public static ConnectionStatus fromString(String name) {
+ return fromString(name, ConnectionStatus.class);
+ }
+
+ /**
+ * Gets known ConnectionStatus values.
+ *
+ * @return known ConnectionStatus values.
+ */
+ public static Collection values() {
+ return values(ConnectionStatus.class);
+ }
+}
diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/main/java/com/azure/resourcemanager/chaos/models/Connections.java b/sdk/chaos/azure-resourcemanager-chaos/src/main/java/com/azure/resourcemanager/chaos/models/Connections.java
new file mode 100644
index 000000000000..394d1715c6fd
--- /dev/null
+++ b/sdk/chaos/azure-resourcemanager-chaos/src/main/java/com/azure/resourcemanager/chaos/models/Connections.java
@@ -0,0 +1,147 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.chaos.models;
+
+import com.azure.core.http.rest.PagedIterable;
+import com.azure.core.http.rest.Response;
+import com.azure.core.util.Context;
+
+/**
+ * Resource collection API of Connections.
+ */
+public interface Connections {
+ /**
+ * Get a connection.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName String that represents a Workspace resource name.
+ * @param connectionName Name of the connection.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a connection along with {@link Response}.
+ */
+ Response getWithResponse(String resourceGroupName, String workspaceName, String connectionName,
+ Context context);
+
+ /**
+ * Get a connection.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName String that represents a Workspace resource name.
+ * @param connectionName Name of the connection.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a connection.
+ */
+ Connection get(String resourceGroupName, String workspaceName, String connectionName);
+
+ /**
+ * Delete a connection.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName String that represents a Workspace resource name.
+ * @param connectionName Name of the connection.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link Response}.
+ */
+ Response deleteWithResponse(String resourceGroupName, String workspaceName, String connectionName,
+ Context context);
+
+ /**
+ * Delete a connection.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName String that represents a Workspace resource name.
+ * @param connectionName Name of the connection.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ */
+ void delete(String resourceGroupName, String workspaceName, String connectionName);
+
+ /**
+ * Get a list of connections.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName String that represents a Workspace resource name.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a list of connections as paginated response with {@link PagedIterable}.
+ */
+ PagedIterable listAll(String resourceGroupName, String workspaceName);
+
+ /**
+ * Get a list of connections.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName String that represents a Workspace resource name.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a list of connections as paginated response with {@link PagedIterable}.
+ */
+ PagedIterable listAll(String resourceGroupName, String workspaceName, Context context);
+
+ /**
+ * Get a connection.
+ *
+ * @param id the resource ID.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a connection along with {@link Response}.
+ */
+ Connection getById(String id);
+
+ /**
+ * Get a connection.
+ *
+ * @param id the resource ID.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a connection along with {@link Response}.
+ */
+ Response getByIdWithResponse(String id, Context context);
+
+ /**
+ * Delete a connection.
+ *
+ * @param id the resource ID.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ */
+ void deleteById(String id);
+
+ /**
+ * Delete a connection.
+ *
+ * @param id the resource ID.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link Response}.
+ */
+ Response deleteByIdWithResponse(String id, Context context);
+
+ /**
+ * Begins definition for a new Connection resource.
+ *
+ * @param name resource name.
+ * @return the first stage of the new Connection definition.
+ */
+ Connection.DefinitionStages.Blank define(String name);
+}
diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/main/java/com/azure/resourcemanager/chaos/models/PermissionError.java b/sdk/chaos/azure-resourcemanager-chaos/src/main/java/com/azure/resourcemanager/chaos/models/PermissionError.java
index 00a489470c3f..b98a6493462b 100644
--- a/sdk/chaos/azure-resourcemanager-chaos/src/main/java/com/azure/resourcemanager/chaos/models/PermissionError.java
+++ b/sdk/chaos/azure-resourcemanager-chaos/src/main/java/com/azure/resourcemanager/chaos/models/PermissionError.java
@@ -42,6 +42,13 @@ public final class PermissionError implements JsonSerializable
*/
private EntraIdentity identity;
+ /*
+ * The error message describing the permission validation failure, when the
+ * failure carries a distinct message (for example, when the target could not
+ * be read to evaluate access).
+ */
+ private String errorMessage;
+
/**
* Creates an instance of PermissionError class.
*/
@@ -93,6 +100,17 @@ public EntraIdentity identity() {
return this.identity;
}
+ /**
+ * Get the errorMessage property: The error message describing the permission validation failure, when the
+ * failure carries a distinct message (for example, when the target could not
+ * be read to evaluate access).
+ *
+ * @return the errorMessage value.
+ */
+ public String errorMessage() {
+ return this.errorMessage;
+ }
+
/**
* {@inheritDoc}
*/
@@ -131,6 +149,8 @@ public static PermissionError fromJson(JsonReader jsonReader) throws IOException
deserializedPermissionError.recommendedRoles = recommendedRoles;
} else if ("identity".equals(fieldName)) {
deserializedPermissionError.identity = EntraIdentity.fromJson(reader);
+ } else if ("errorMessage".equals(fieldName)) {
+ deserializedPermissionError.errorMessage = reader.getString();
} else {
reader.skipChildren();
}
diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/main/java/com/azure/resourcemanager/chaos/models/ResourceTargeting.java b/sdk/chaos/azure-resourcemanager-chaos/src/main/java/com/azure/resourcemanager/chaos/models/ResourceTargeting.java
new file mode 100644
index 000000000000..686ad83d3b8c
--- /dev/null
+++ b/sdk/chaos/azure-resourcemanager-chaos/src/main/java/com/azure/resourcemanager/chaos/models/ResourceTargeting.java
@@ -0,0 +1,120 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.chaos.models;
+
+import com.azure.core.annotation.Fluent;
+import com.azure.json.JsonReader;
+import com.azure.json.JsonSerializable;
+import com.azure.json.JsonToken;
+import com.azure.json.JsonWriter;
+import java.io.IOException;
+
+/**
+ * Model that represents unified resource targeting with symmetric include/exclude criteria.
+ * Both sides support the same set of dimensions.
+ */
+@Fluent
+public final class ResourceTargeting implements JsonSerializable {
+ /*
+ * Inclusion criteria. Resources must match ALL active dimensions to be candidates.
+ * Null or omitted means no inclusion filtering (all resources are candidates).
+ */
+ private ResourceTargetingCriteria include;
+
+ /*
+ * Exclusion criteria. Resources matching ANY active dimension are removed.
+ * Null or omitted means no exclusions applied.
+ */
+ private ResourceTargetingCriteria exclude;
+
+ /**
+ * Creates an instance of ResourceTargeting class.
+ */
+ public ResourceTargeting() {
+ }
+
+ /**
+ * Get the include property: Inclusion criteria. Resources must match ALL active dimensions to be candidates.
+ * Null or omitted means no inclusion filtering (all resources are candidates).
+ *
+ * @return the include value.
+ */
+ public ResourceTargetingCriteria include() {
+ return this.include;
+ }
+
+ /**
+ * Set the include property: Inclusion criteria. Resources must match ALL active dimensions to be candidates.
+ * Null or omitted means no inclusion filtering (all resources are candidates).
+ *
+ * @param include the include value to set.
+ * @return the ResourceTargeting object itself.
+ */
+ public ResourceTargeting withInclude(ResourceTargetingCriteria include) {
+ this.include = include;
+ return this;
+ }
+
+ /**
+ * Get the exclude property: Exclusion criteria. Resources matching ANY active dimension are removed.
+ * Null or omitted means no exclusions applied.
+ *
+ * @return the exclude value.
+ */
+ public ResourceTargetingCriteria exclude() {
+ return this.exclude;
+ }
+
+ /**
+ * Set the exclude property: Exclusion criteria. Resources matching ANY active dimension are removed.
+ * Null or omitted means no exclusions applied.
+ *
+ * @param exclude the exclude value to set.
+ * @return the ResourceTargeting object itself.
+ */
+ public ResourceTargeting withExclude(ResourceTargetingCriteria exclude) {
+ this.exclude = exclude;
+ return this;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ @Override
+ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
+ jsonWriter.writeStartObject();
+ jsonWriter.writeJsonField("include", this.include);
+ jsonWriter.writeJsonField("exclude", this.exclude);
+ return jsonWriter.writeEndObject();
+ }
+
+ /**
+ * Reads an instance of ResourceTargeting from the JsonReader.
+ *
+ * @param jsonReader The JsonReader being read.
+ * @return An instance of ResourceTargeting if the JsonReader was pointing to an instance of it, or null if it was
+ * pointing to JSON null.
+ * @throws IOException If an error occurs while reading the ResourceTargeting.
+ */
+ public static ResourceTargeting fromJson(JsonReader jsonReader) throws IOException {
+ return jsonReader.readObject(reader -> {
+ ResourceTargeting deserializedResourceTargeting = new ResourceTargeting();
+ while (reader.nextToken() != JsonToken.END_OBJECT) {
+ String fieldName = reader.getFieldName();
+ reader.nextToken();
+
+ if ("include".equals(fieldName)) {
+ deserializedResourceTargeting.include = ResourceTargetingCriteria.fromJson(reader);
+ } else if ("exclude".equals(fieldName)) {
+ deserializedResourceTargeting.exclude = ResourceTargetingCriteria.fromJson(reader);
+ } else {
+ reader.skipChildren();
+ }
+ }
+
+ return deserializedResourceTargeting;
+ });
+ }
+}
diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/main/java/com/azure/resourcemanager/chaos/models/ResourceTargetingCriteria.java b/sdk/chaos/azure-resourcemanager-chaos/src/main/java/com/azure/resourcemanager/chaos/models/ResourceTargetingCriteria.java
new file mode 100644
index 000000000000..d6af29a3ff81
--- /dev/null
+++ b/sdk/chaos/azure-resourcemanager-chaos/src/main/java/com/azure/resourcemanager/chaos/models/ResourceTargetingCriteria.java
@@ -0,0 +1,266 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.chaos.models;
+
+import com.azure.core.annotation.Fluent;
+import com.azure.json.JsonReader;
+import com.azure.json.JsonSerializable;
+import com.azure.json.JsonToken;
+import com.azure.json.JsonWriter;
+import java.io.IOException;
+import java.util.List;
+
+/**
+ * Model that represents a set of targeting criteria for resource selection.
+ * Used on both the include and exclude sides of ResourceTargeting.
+ *
+ * All dimensions use unified null/empty semantics:
+ * - Null or omitted means "no constraint" (this dimension is inactive).
+ * - Empty array is treated the same as null (no constraint).
+ * - Non-empty array means the dimension is active.
+ */
+@Fluent
+public final class ResourceTargetingCriteria implements JsonSerializable {
+ /*
+ * Array of Azure location strings (e.g., "eastus", "westeurope", "global").
+ * Case-insensitive, normalized form only (e.g., "eastus" not "East US").
+ */
+ private List locations;
+
+ /*
+ * Array of logical availability zone identifiers (e.g., "1", "2", "3", "zone-redundant").
+ *
+ * Mutually exclusive with `physicalZones` — set one or the other, not both.
+ * When set, `locations` must also be set on the same side (zone IDs are only meaningful within a region).
+ */
+ private List zones;
+
+ /*
+ * Array of physical datacenter zone identifiers in `{region}-az{N}` format
+ * (e.g., "westus2-az1"). Resolved to logical zones per-subscription at execution time.
+ *
+ * Mutually exclusive with `zones` — set one or the other, not both.
+ */
+ private List physicalZones;
+
+ /*
+ * Array of Azure resource type strings (e.g., "Microsoft.Compute/virtualMachines").
+ * Case-insensitive equality. Supports trailing wildcard (e.g., "Microsoft.Compute/*").
+ */
+ private List types;
+
+ /*
+ * Array of tag key-value pairs for filtering by Azure resource tags.
+ * Key and value are matched case-insensitively. Use "*" as value to match any value for a key.
+ */
+ private List tags;
+
+ /*
+ * Array of fully qualified Azure resource IDs. Case-insensitive equality.
+ */
+ private List resources;
+
+ /**
+ * Creates an instance of ResourceTargetingCriteria class.
+ */
+ public ResourceTargetingCriteria() {
+ }
+
+ /**
+ * Get the locations property: Array of Azure location strings (e.g., "eastus", "westeurope", "global").
+ * Case-insensitive, normalized form only (e.g., "eastus" not "East US").
+ *
+ * @return the locations value.
+ */
+ public List locations() {
+ return this.locations;
+ }
+
+ /**
+ * Set the locations property: Array of Azure location strings (e.g., "eastus", "westeurope", "global").
+ * Case-insensitive, normalized form only (e.g., "eastus" not "East US").
+ *
+ * @param locations the locations value to set.
+ * @return the ResourceTargetingCriteria object itself.
+ */
+ public ResourceTargetingCriteria withLocations(List locations) {
+ this.locations = locations;
+ return this;
+ }
+
+ /**
+ * Get the zones property: Array of logical availability zone identifiers (e.g., "1", "2", "3", "zone-redundant").
+ *
+ * Mutually exclusive with `physicalZones` — set one or the other, not both.
+ * When set, `locations` must also be set on the same side (zone IDs are only meaningful within a region).
+ *
+ * @return the zones value.
+ */
+ public List zones() {
+ return this.zones;
+ }
+
+ /**
+ * Set the zones property: Array of logical availability zone identifiers (e.g., "1", "2", "3", "zone-redundant").
+ *
+ * Mutually exclusive with `physicalZones` — set one or the other, not both.
+ * When set, `locations` must also be set on the same side (zone IDs are only meaningful within a region).
+ *
+ * @param zones the zones value to set.
+ * @return the ResourceTargetingCriteria object itself.
+ */
+ public ResourceTargetingCriteria withZones(List zones) {
+ this.zones = zones;
+ return this;
+ }
+
+ /**
+ * Get the physicalZones property: Array of physical datacenter zone identifiers in `{region}-az{N}` format
+ * (e.g., "westus2-az1"). Resolved to logical zones per-subscription at execution time.
+ *
+ * Mutually exclusive with `zones` — set one or the other, not both.
+ *
+ * @return the physicalZones value.
+ */
+ public List physicalZones() {
+ return this.physicalZones;
+ }
+
+ /**
+ * Set the physicalZones property: Array of physical datacenter zone identifiers in `{region}-az{N}` format
+ * (e.g., "westus2-az1"). Resolved to logical zones per-subscription at execution time.
+ *
+ * Mutually exclusive with `zones` — set one or the other, not both.
+ *
+ * @param physicalZones the physicalZones value to set.
+ * @return the ResourceTargetingCriteria object itself.
+ */
+ public ResourceTargetingCriteria withPhysicalZones(List physicalZones) {
+ this.physicalZones = physicalZones;
+ return this;
+ }
+
+ /**
+ * Get the types property: Array of Azure resource type strings (e.g., "Microsoft.Compute/virtualMachines").
+ * Case-insensitive equality. Supports trailing wildcard (e.g., "Microsoft.Compute/*").
+ *
+ * @return the types value.
+ */
+ public List types() {
+ return this.types;
+ }
+
+ /**
+ * Set the types property: Array of Azure resource type strings (e.g., "Microsoft.Compute/virtualMachines").
+ * Case-insensitive equality. Supports trailing wildcard (e.g., "Microsoft.Compute/*").
+ *
+ * @param types the types value to set.
+ * @return the ResourceTargetingCriteria object itself.
+ */
+ public ResourceTargetingCriteria withTypes(List types) {
+ this.types = types;
+ return this;
+ }
+
+ /**
+ * Get the tags property: Array of tag key-value pairs for filtering by Azure resource tags.
+ * Key and value are matched case-insensitively. Use "*" as value to match any value for a key.
+ *
+ * @return the tags value.
+ */
+ public List tags() {
+ return this.tags;
+ }
+
+ /**
+ * Set the tags property: Array of tag key-value pairs for filtering by Azure resource tags.
+ * Key and value are matched case-insensitively. Use "*" as value to match any value for a key.
+ *
+ * @param tags the tags value to set.
+ * @return the ResourceTargetingCriteria object itself.
+ */
+ public ResourceTargetingCriteria withTags(List tags) {
+ this.tags = tags;
+ return this;
+ }
+
+ /**
+ * Get the resources property: Array of fully qualified Azure resource IDs. Case-insensitive equality.
+ *
+ * @return the resources value.
+ */
+ public List resources() {
+ return this.resources;
+ }
+
+ /**
+ * Set the resources property: Array of fully qualified Azure resource IDs. Case-insensitive equality.
+ *
+ * @param resources the resources value to set.
+ * @return the ResourceTargetingCriteria object itself.
+ */
+ public ResourceTargetingCriteria withResources(List resources) {
+ this.resources = resources;
+ return this;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ @Override
+ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
+ jsonWriter.writeStartObject();
+ jsonWriter.writeArrayField("locations", this.locations, (writer, element) -> writer.writeString(element));
+ jsonWriter.writeArrayField("zones", this.zones, (writer, element) -> writer.writeString(element));
+ jsonWriter.writeArrayField("physicalZones", this.physicalZones,
+ (writer, element) -> writer.writeString(element));
+ jsonWriter.writeArrayField("types", this.types, (writer, element) -> writer.writeString(element));
+ jsonWriter.writeArrayField("tags", this.tags, (writer, element) -> writer.writeJson(element));
+ jsonWriter.writeArrayField("resources", this.resources, (writer, element) -> writer.writeString(element));
+ return jsonWriter.writeEndObject();
+ }
+
+ /**
+ * Reads an instance of ResourceTargetingCriteria from the JsonReader.
+ *
+ * @param jsonReader The JsonReader being read.
+ * @return An instance of ResourceTargetingCriteria if the JsonReader was pointing to an instance of it, or null if
+ * it was pointing to JSON null.
+ * @throws IOException If an error occurs while reading the ResourceTargetingCriteria.
+ */
+ public static ResourceTargetingCriteria fromJson(JsonReader jsonReader) throws IOException {
+ return jsonReader.readObject(reader -> {
+ ResourceTargetingCriteria deserializedResourceTargetingCriteria = new ResourceTargetingCriteria();
+ while (reader.nextToken() != JsonToken.END_OBJECT) {
+ String fieldName = reader.getFieldName();
+ reader.nextToken();
+
+ if ("locations".equals(fieldName)) {
+ List locations = reader.readArray(reader1 -> reader1.getString());
+ deserializedResourceTargetingCriteria.locations = locations;
+ } else if ("zones".equals(fieldName)) {
+ List zones = reader.readArray(reader1 -> reader1.getString());
+ deserializedResourceTargetingCriteria.zones = zones;
+ } else if ("physicalZones".equals(fieldName)) {
+ List physicalZones = reader.readArray(reader1 -> reader1.getString());
+ deserializedResourceTargetingCriteria.physicalZones = physicalZones;
+ } else if ("types".equals(fieldName)) {
+ List types = reader.readArray(reader1 -> reader1.getString());
+ deserializedResourceTargetingCriteria.types = types;
+ } else if ("tags".equals(fieldName)) {
+ List tags = reader.readArray(reader1 -> KeyValuePair.fromJson(reader1));
+ deserializedResourceTargetingCriteria.tags = tags;
+ } else if ("resources".equals(fieldName)) {
+ List resources = reader.readArray(reader1 -> reader1.getString());
+ deserializedResourceTargetingCriteria.resources = resources;
+ } else {
+ reader.skipChildren();
+ }
+ }
+
+ return deserializedResourceTargetingCriteria;
+ });
+ }
+}
diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/main/java/com/azure/resourcemanager/chaos/models/ScenarioConfigurationProperties.java b/sdk/chaos/azure-resourcemanager-chaos/src/main/java/com/azure/resourcemanager/chaos/models/ScenarioConfigurationProperties.java
index 3ea1816ab52e..1622d57bc65e 100644
--- a/sdk/chaos/azure-resourcemanager-chaos/src/main/java/com/azure/resourcemanager/chaos/models/ScenarioConfigurationProperties.java
+++ b/sdk/chaos/azure-resourcemanager-chaos/src/main/java/com/azure/resourcemanager/chaos/models/ScenarioConfigurationProperties.java
@@ -27,20 +27,23 @@ public final class ScenarioConfigurationProperties implements JsonSerializable parameters;
- /*
- * Exclusion criteria for protecting resources from fault injection.
- */
- private ConfigurationExclusions exclusions;
-
/*
* Most recent provisioning state for the given scenario resource.
*/
private ProvisioningState provisioningState;
/*
- * Filter criteria used to constrain which discovered resources participate in fault injection.
+ * Unified resource targeting policy that controls which discovered resources participate
+ * in fault injection. Replaces the separate `exclusions` and `filters` properties with
+ * symmetric include/exclude criteria.
+ *
+ * Include uses AND logic — a resource must match ALL active include dimensions.
+ * Exclude uses OR logic — a resource is removed if it matches ANY exclude dimension.
+ * When include and exclude conflict on the same resource, exclude wins.
+ *
+ * Null or omitted means all discovered resources participate (no targeting constraints).
*/
- private ConfigurationFilters filters;
+ private ResourceTargeting resourceTargeting;
/**
* Creates an instance of ScenarioConfigurationProperties class.
@@ -90,26 +93,6 @@ public ScenarioConfigurationProperties withParameters(List paramet
return this;
}
- /**
- * Get the exclusions property: Exclusion criteria for protecting resources from fault injection.
- *
- * @return the exclusions value.
- */
- public ConfigurationExclusions exclusions() {
- return this.exclusions;
- }
-
- /**
- * Set the exclusions property: Exclusion criteria for protecting resources from fault injection.
- *
- * @param exclusions the exclusions value to set.
- * @return the ScenarioConfigurationProperties object itself.
- */
- public ScenarioConfigurationProperties withExclusions(ConfigurationExclusions exclusions) {
- this.exclusions = exclusions;
- return this;
- }
-
/**
* Get the provisioningState property: Most recent provisioning state for the given scenario resource.
*
@@ -120,24 +103,40 @@ public ProvisioningState provisioningState() {
}
/**
- * Get the filters property: Filter criteria used to constrain which discovered resources participate in fault
- * injection.
+ * Get the resourceTargeting property: Unified resource targeting policy that controls which discovered resources
+ * participate
+ * in fault injection. Replaces the separate `exclusions` and `filters` properties with
+ * symmetric include/exclude criteria.
+ *
+ * Include uses AND logic — a resource must match ALL active include dimensions.
+ * Exclude uses OR logic — a resource is removed if it matches ANY exclude dimension.
+ * When include and exclude conflict on the same resource, exclude wins.
+ *
+ * Null or omitted means all discovered resources participate (no targeting constraints).
*
- * @return the filters value.
+ * @return the resourceTargeting value.
*/
- public ConfigurationFilters filters() {
- return this.filters;
+ public ResourceTargeting resourceTargeting() {
+ return this.resourceTargeting;
}
/**
- * Set the filters property: Filter criteria used to constrain which discovered resources participate in fault
- * injection.
+ * Set the resourceTargeting property: Unified resource targeting policy that controls which discovered resources
+ * participate
+ * in fault injection. Replaces the separate `exclusions` and `filters` properties with
+ * symmetric include/exclude criteria.
+ *
+ * Include uses AND logic — a resource must match ALL active include dimensions.
+ * Exclude uses OR logic — a resource is removed if it matches ANY exclude dimension.
+ * When include and exclude conflict on the same resource, exclude wins.
+ *
+ * Null or omitted means all discovered resources participate (no targeting constraints).
*
- * @param filters the filters value to set.
+ * @param resourceTargeting the resourceTargeting value to set.
* @return the ScenarioConfigurationProperties object itself.
*/
- public ScenarioConfigurationProperties withFilters(ConfigurationFilters filters) {
- this.filters = filters;
+ public ScenarioConfigurationProperties withResourceTargeting(ResourceTargeting resourceTargeting) {
+ this.resourceTargeting = resourceTargeting;
return this;
}
@@ -149,8 +148,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
jsonWriter.writeStartObject();
jsonWriter.writeStringField("scenarioId", this.scenarioId);
jsonWriter.writeArrayField("parameters", this.parameters, (writer, element) -> writer.writeJson(element));
- jsonWriter.writeJsonField("exclusions", this.exclusions);
- jsonWriter.writeJsonField("filters", this.filters);
+ jsonWriter.writeJsonField("resourceTargeting", this.resourceTargeting);
return jsonWriter.writeEndObject();
}
@@ -176,13 +174,11 @@ public static ScenarioConfigurationProperties fromJson(JsonReader jsonReader) th
} else if ("parameters".equals(fieldName)) {
List parameters = reader.readArray(reader1 -> KeyValuePair.fromJson(reader1));
deserializedScenarioConfigurationProperties.parameters = parameters;
- } else if ("exclusions".equals(fieldName)) {
- deserializedScenarioConfigurationProperties.exclusions = ConfigurationExclusions.fromJson(reader);
} else if ("provisioningState".equals(fieldName)) {
deserializedScenarioConfigurationProperties.provisioningState
= ProvisioningState.fromString(reader.getString());
- } else if ("filters".equals(fieldName)) {
- deserializedScenarioConfigurationProperties.filters = ConfigurationFilters.fromJson(reader);
+ } else if ("resourceTargeting".equals(fieldName)) {
+ deserializedScenarioConfigurationProperties.resourceTargeting = ResourceTargeting.fromJson(reader);
} else {
reader.skipChildren();
}
diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/main/java/com/azure/resourcemanager/chaos/models/ScenarioEvaluationResultItem.java b/sdk/chaos/azure-resourcemanager-chaos/src/main/java/com/azure/resourcemanager/chaos/models/ScenarioEvaluationResultItem.java
deleted file mode 100644
index d29bcb1e6cff..000000000000
--- a/sdk/chaos/azure-resourcemanager-chaos/src/main/java/com/azure/resourcemanager/chaos/models/ScenarioEvaluationResultItem.java
+++ /dev/null
@@ -1,94 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) TypeSpec Code Generator.
-
-package com.azure.resourcemanager.chaos.models;
-
-import com.azure.core.annotation.Immutable;
-import com.azure.json.JsonReader;
-import com.azure.json.JsonSerializable;
-import com.azure.json.JsonToken;
-import com.azure.json.JsonWriter;
-import java.io.IOException;
-
-/**
- * Model that represents a single scenario evaluation result.
- */
-@Immutable
-public final class ScenarioEvaluationResultItem implements JsonSerializable {
- /*
- * The name of the scenario that was evaluated.
- */
- private String scenarioName;
-
- /*
- * The evaluation result for this scenario.
- */
- private RecommendationStatus evaluationResult;
-
- /**
- * Creates an instance of ScenarioEvaluationResultItem class.
- */
- private ScenarioEvaluationResultItem() {
- }
-
- /**
- * Get the scenarioName property: The name of the scenario that was evaluated.
- *
- * @return the scenarioName value.
- */
- public String scenarioName() {
- return this.scenarioName;
- }
-
- /**
- * Get the evaluationResult property: The evaluation result for this scenario.
- *
- * @return the evaluationResult value.
- */
- public RecommendationStatus evaluationResult() {
- return this.evaluationResult;
- }
-
- /**
- * {@inheritDoc}
- */
- @Override
- public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
- jsonWriter.writeStartObject();
- jsonWriter.writeStringField("scenarioName", this.scenarioName);
- jsonWriter.writeStringField("evaluationResult",
- this.evaluationResult == null ? null : this.evaluationResult.toString());
- return jsonWriter.writeEndObject();
- }
-
- /**
- * Reads an instance of ScenarioEvaluationResultItem from the JsonReader.
- *
- * @param jsonReader The JsonReader being read.
- * @return An instance of ScenarioEvaluationResultItem if the JsonReader was pointing to an instance of it, or null
- * if it was pointing to JSON null.
- * @throws IllegalStateException If the deserialized JSON object was missing any required properties.
- * @throws IOException If an error occurs while reading the ScenarioEvaluationResultItem.
- */
- public static ScenarioEvaluationResultItem fromJson(JsonReader jsonReader) throws IOException {
- return jsonReader.readObject(reader -> {
- ScenarioEvaluationResultItem deserializedScenarioEvaluationResultItem = new ScenarioEvaluationResultItem();
- while (reader.nextToken() != JsonToken.END_OBJECT) {
- String fieldName = reader.getFieldName();
- reader.nextToken();
-
- if ("scenarioName".equals(fieldName)) {
- deserializedScenarioEvaluationResultItem.scenarioName = reader.getString();
- } else if ("evaluationResult".equals(fieldName)) {
- deserializedScenarioEvaluationResultItem.evaluationResult
- = RecommendationStatus.fromString(reader.getString());
- } else {
- reader.skipChildren();
- }
- }
-
- return deserializedScenarioEvaluationResultItem;
- });
- }
-}
diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/main/java/com/azure/resourcemanager/chaos/models/ScenarioRunProperties.java b/sdk/chaos/azure-resourcemanager-chaos/src/main/java/com/azure/resourcemanager/chaos/models/ScenarioRunProperties.java
index f47c286bdca8..26e9a5254540 100644
--- a/sdk/chaos/azure-resourcemanager-chaos/src/main/java/com/azure/resourcemanager/chaos/models/ScenarioRunProperties.java
+++ b/sdk/chaos/azure-resourcemanager-chaos/src/main/java/com/azure/resourcemanager/chaos/models/ScenarioRunProperties.java
@@ -39,6 +39,14 @@ public final class ScenarioRunProperties implements JsonSerializable resources;
+ /*
+ * Resources that matched the scenario's target resource types but were excluded
+ * from fault injection by the configuration's resource-targeting filters
+ * (for example zone, location, or explicit exclusions). These resources will not be impacted by the run.
+ */
+ private List excludedResources;
+
/*
* System or infrastructure errors encountered during the scenario run.
*/
@@ -128,6 +143,18 @@ public String managedIdentityPrincipalId() {
return this.managedIdentityPrincipalId;
}
+ /**
+ * Get the resourceSnapshotId property: The resource snapshot ID this run is pinned to. Resolved from the scenario's
+ * pinned evaluation snapshot (template scenarios) or the latest discovery
+ * snapshot (custom scenarios) at run creation, ensuring the run executes against
+ * the same set of discovered resources that produced the recommendation.
+ *
+ * @return the resourceSnapshotId value.
+ */
+ public String resourceSnapshotId() {
+ return this.resourceSnapshotId;
+ }
+
/**
* Get the status property: The scenario run status.
*
@@ -146,6 +173,17 @@ public List resources() {
return this.resources;
}
+ /**
+ * Get the excludedResources property: Resources that matched the scenario's target resource types but were excluded
+ * from fault injection by the configuration's resource-targeting filters
+ * (for example zone, location, or explicit exclusions). These resources will not be impacted by the run.
+ *
+ * @return the excludedResources value.
+ */
+ public List excludedResources() {
+ return this.excludedResources;
+ }
+
/**
* Get the errors property: System or infrastructure errors encountered during the scenario run.
*
@@ -253,6 +291,12 @@ public static ScenarioRunProperties fromJson(JsonReader jsonReader) throws IOExc
} else if ("startTime".equals(fieldName)) {
deserializedScenarioRunProperties.startTime = reader
.getNullable(nonNullReader -> CoreUtils.parseBestOffsetDateTime(nonNullReader.getString()));
+ } else if ("resourceSnapshotId".equals(fieldName)) {
+ deserializedScenarioRunProperties.resourceSnapshotId = reader.getString();
+ } else if ("excludedResources".equals(fieldName)) {
+ List excludedResources
+ = reader.readArray(reader1 -> ScenarioRunResource.fromJson(reader1));
+ deserializedScenarioRunProperties.excludedResources = excludedResources;
} else if ("errors".equals(fieldName)) {
List errors = reader.readArray(reader1 -> OperationError.fromJson(reader1));
deserializedScenarioRunProperties.errors = errors;
diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/main/java/com/azure/resourcemanager/chaos/models/TemplateEvaluationResultItem.java b/sdk/chaos/azure-resourcemanager-chaos/src/main/java/com/azure/resourcemanager/chaos/models/TemplateEvaluationResultItem.java
new file mode 100644
index 000000000000..d83154127f96
--- /dev/null
+++ b/sdk/chaos/azure-resourcemanager-chaos/src/main/java/com/azure/resourcemanager/chaos/models/TemplateEvaluationResultItem.java
@@ -0,0 +1,118 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.chaos.models;
+
+import com.azure.core.annotation.Immutable;
+import com.azure.json.JsonReader;
+import com.azure.json.JsonSerializable;
+import com.azure.json.JsonToken;
+import com.azure.json.JsonWriter;
+import java.io.IOException;
+
+/**
+ * Model that represents a single template evaluation result.
+ */
+@Immutable
+public final class TemplateEvaluationResultItem implements JsonSerializable {
+ /*
+ * The template ID that was evaluated. Optional because the underlying BE field may
+ * be null for legacy evaluations created before template-centric persistence landed;
+ * the GW falls back to `scenarioName` in that case (`scenario.Id == templateId` by BE
+ * convention), so ARM responses are typically populated in practice.
+ */
+ private String templateId;
+
+ /*
+ * The template name that was evaluated. Optional for the same reason as `templateId`.
+ */
+ private String templateName;
+
+ /*
+ * The evaluation result for this template.
+ */
+ private RecommendationStatus evaluationResult;
+
+ /**
+ * Creates an instance of TemplateEvaluationResultItem class.
+ */
+ private TemplateEvaluationResultItem() {
+ }
+
+ /**
+ * Get the templateId property: The template ID that was evaluated. Optional because the underlying BE field may
+ * be null for legacy evaluations created before template-centric persistence landed;
+ * the GW falls back to `scenarioName` in that case (`scenario.Id == templateId` by BE
+ * convention), so ARM responses are typically populated in practice.
+ *
+ * @return the templateId value.
+ */
+ public String templateId() {
+ return this.templateId;
+ }
+
+ /**
+ * Get the templateName property: The template name that was evaluated. Optional for the same reason as
+ * `templateId`.
+ *
+ * @return the templateName value.
+ */
+ public String templateName() {
+ return this.templateName;
+ }
+
+ /**
+ * Get the evaluationResult property: The evaluation result for this template.
+ *
+ * @return the evaluationResult value.
+ */
+ public RecommendationStatus evaluationResult() {
+ return this.evaluationResult;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ @Override
+ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
+ jsonWriter.writeStartObject();
+ jsonWriter.writeStringField("evaluationResult",
+ this.evaluationResult == null ? null : this.evaluationResult.toString());
+ jsonWriter.writeStringField("templateId", this.templateId);
+ jsonWriter.writeStringField("templateName", this.templateName);
+ return jsonWriter.writeEndObject();
+ }
+
+ /**
+ * Reads an instance of TemplateEvaluationResultItem from the JsonReader.
+ *
+ * @param jsonReader The JsonReader being read.
+ * @return An instance of TemplateEvaluationResultItem if the JsonReader was pointing to an instance of it, or null
+ * if it was pointing to JSON null.
+ * @throws IllegalStateException If the deserialized JSON object was missing any required properties.
+ * @throws IOException If an error occurs while reading the TemplateEvaluationResultItem.
+ */
+ public static TemplateEvaluationResultItem fromJson(JsonReader jsonReader) throws IOException {
+ return jsonReader.readObject(reader -> {
+ TemplateEvaluationResultItem deserializedTemplateEvaluationResultItem = new TemplateEvaluationResultItem();
+ while (reader.nextToken() != JsonToken.END_OBJECT) {
+ String fieldName = reader.getFieldName();
+ reader.nextToken();
+
+ if ("evaluationResult".equals(fieldName)) {
+ deserializedTemplateEvaluationResultItem.evaluationResult
+ = RecommendationStatus.fromString(reader.getString());
+ } else if ("templateId".equals(fieldName)) {
+ deserializedTemplateEvaluationResultItem.templateId = reader.getString();
+ } else if ("templateName".equals(fieldName)) {
+ deserializedTemplateEvaluationResultItem.templateName = reader.getString();
+ } else {
+ reader.skipChildren();
+ }
+ }
+
+ return deserializedTemplateEvaluationResultItem;
+ });
+ }
+}
diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/main/java/com/azure/resourcemanager/chaos/models/ValidationProperties.java b/sdk/chaos/azure-resourcemanager-chaos/src/main/java/com/azure/resourcemanager/chaos/models/ValidationProperties.java
index 5e8f8a46fab9..a8cb5ba3fc0a 100644
--- a/sdk/chaos/azure-resourcemanager-chaos/src/main/java/com/azure/resourcemanager/chaos/models/ValidationProperties.java
+++ b/sdk/chaos/azure-resourcemanager-chaos/src/main/java/com/azure/resourcemanager/chaos/models/ValidationProperties.java
@@ -39,6 +39,19 @@ public final class ValidationProperties implements JsonSerializable resources;
+
+ /*
+ * Resources that matched the scenario's target resource types but were excluded
+ * from fault injection by the configuration's resource-targeting filters
+ * (for example zone, location, or explicit exclusions). These resources will not be impacted.
+ */
+ private List excludedResources;
+
/*
* System or infrastructure errors encountered during validation.
*/
@@ -92,6 +105,27 @@ public OffsetDateTime endTime() {
return this.endTime;
}
+ /**
+ * Get the resources property: Resources that matched the scenario's target resource types and will be impacted
+ * by the run, resolved after applying the configuration's resource-targeting filters.
+ *
+ * @return the resources value.
+ */
+ public List resources() {
+ return this.resources;
+ }
+
+ /**
+ * Get the excludedResources property: Resources that matched the scenario's target resource types but were excluded
+ * from fault injection by the configuration's resource-targeting filters
+ * (for example zone, location, or explicit exclusions). These resources will not be impacted.
+ *
+ * @return the excludedResources value.
+ */
+ public List excludedResources() {
+ return this.excludedResources;
+ }
+
/**
* Get the errors property: System or infrastructure errors encountered during validation.
*
@@ -147,6 +181,14 @@ public static ValidationProperties fromJson(JsonReader jsonReader) throws IOExce
} else if ("endTime".equals(fieldName)) {
deserializedValidationProperties.endTime = reader
.getNullable(nonNullReader -> CoreUtils.parseBestOffsetDateTime(nonNullReader.getString()));
+ } else if ("resources".equals(fieldName)) {
+ List resources
+ = reader.readArray(reader1 -> ScenarioRunResource.fromJson(reader1));
+ deserializedValidationProperties.resources = resources;
+ } else if ("excludedResources".equals(fieldName)) {
+ List excludedResources
+ = reader.readArray(reader1 -> ScenarioRunResource.fromJson(reader1));
+ deserializedValidationProperties.excludedResources = excludedResources;
} else if ("errors".equals(fieldName)) {
List errors = reader.readArray(reader1 -> OperationError.fromJson(reader1));
deserializedValidationProperties.errors = errors;
diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/main/java/com/azure/resourcemanager/chaos/models/Workspace.java b/sdk/chaos/azure-resourcemanager-chaos/src/main/java/com/azure/resourcemanager/chaos/models/Workspace.java
index af8945300ef8..c65d2d4fda82 100644
--- a/sdk/chaos/azure-resourcemanager-chaos/src/main/java/com/azure/resourcemanager/chaos/models/Workspace.java
+++ b/sdk/chaos/azure-resourcemanager-chaos/src/main/java/com/azure/resourcemanager/chaos/models/Workspace.java
@@ -284,16 +284,16 @@ interface WithIdentity {
Workspace refresh(Context context);
/**
- * Refreshes recommendation status for all scenarios in a given workspace.
+ * Triggers resource discovery for the workspace.
*
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the response.
*/
- WorkspaceEvaluation refreshRecommendations();
+ WorkspaceDiscovery discover();
/**
- * Refreshes recommendation status for all scenarios in a given workspace.
+ * Triggers resource discovery for the workspace.
*
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -301,5 +301,25 @@ interface WithIdentity {
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the response.
*/
- WorkspaceEvaluation refreshRecommendations(Context context);
+ WorkspaceDiscovery discover(Context context);
+
+ /**
+ * Triggers scenario evaluation for the workspace.
+ *
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response.
+ */
+ WorkspaceEvaluation evaluate();
+
+ /**
+ * Triggers scenario evaluation for the workspace.
+ *
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response.
+ */
+ WorkspaceEvaluation evaluate(Context context);
}
diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/main/java/com/azure/resourcemanager/chaos/models/WorkspaceDiscovery.java b/sdk/chaos/azure-resourcemanager-chaos/src/main/java/com/azure/resourcemanager/chaos/models/WorkspaceDiscovery.java
new file mode 100644
index 000000000000..14eb43c42733
--- /dev/null
+++ b/sdk/chaos/azure-resourcemanager-chaos/src/main/java/com/azure/resourcemanager/chaos/models/WorkspaceDiscovery.java
@@ -0,0 +1,143 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.chaos.models;
+
+import com.azure.core.annotation.Immutable;
+import com.azure.core.management.ProxyResource;
+import com.azure.core.management.SystemData;
+import com.azure.json.JsonReader;
+import com.azure.json.JsonToken;
+import com.azure.json.JsonWriter;
+import java.io.IOException;
+
+/**
+ * Model that represents the latest workspace discovery result.
+ */
+@Immutable
+public final class WorkspaceDiscovery extends ProxyResource {
+ /*
+ * The resource-specific properties for this resource.
+ */
+ private WorkspaceDiscoveryProperties properties;
+
+ /*
+ * Azure Resource Manager metadata containing createdBy and modifiedBy information.
+ */
+ private SystemData systemData;
+
+ /*
+ * The type of the resource.
+ */
+ private String type;
+
+ /*
+ * The name of the resource.
+ */
+ private String name;
+
+ /*
+ * Fully qualified resource Id for the resource.
+ */
+ private String id;
+
+ /**
+ * Creates an instance of WorkspaceDiscovery class.
+ */
+ private WorkspaceDiscovery() {
+ }
+
+ /**
+ * Get the properties property: The resource-specific properties for this resource.
+ *
+ * @return the properties value.
+ */
+ public WorkspaceDiscoveryProperties properties() {
+ return this.properties;
+ }
+
+ /**
+ * Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
+ *
+ * @return the systemData value.
+ */
+ public SystemData systemData() {
+ return this.systemData;
+ }
+
+ /**
+ * Get the type property: The type of the resource.
+ *
+ * @return the type value.
+ */
+ @Override
+ public String type() {
+ return this.type;
+ }
+
+ /**
+ * Get the name property: The name of the resource.
+ *
+ * @return the name value.
+ */
+ @Override
+ public String name() {
+ return this.name;
+ }
+
+ /**
+ * Get the id property: Fully qualified resource Id for the resource.
+ *
+ * @return the id value.
+ */
+ @Override
+ public String id() {
+ return this.id;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ @Override
+ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
+ jsonWriter.writeStartObject();
+ jsonWriter.writeJsonField("properties", this.properties);
+ return jsonWriter.writeEndObject();
+ }
+
+ /**
+ * Reads an instance of WorkspaceDiscovery from the JsonReader.
+ *
+ * @param jsonReader The JsonReader being read.
+ * @return An instance of WorkspaceDiscovery if the JsonReader was pointing to an instance of it, or null if it was
+ * pointing to JSON null.
+ * @throws IllegalStateException If the deserialized JSON object was missing any required properties.
+ * @throws IOException If an error occurs while reading the WorkspaceDiscovery.
+ */
+ public static WorkspaceDiscovery fromJson(JsonReader jsonReader) throws IOException {
+ return jsonReader.readObject(reader -> {
+ WorkspaceDiscovery deserializedWorkspaceDiscovery = new WorkspaceDiscovery();
+ while (reader.nextToken() != JsonToken.END_OBJECT) {
+ String fieldName = reader.getFieldName();
+ reader.nextToken();
+
+ if ("id".equals(fieldName)) {
+ deserializedWorkspaceDiscovery.id = reader.getString();
+ } else if ("name".equals(fieldName)) {
+ deserializedWorkspaceDiscovery.name = reader.getString();
+ } else if ("type".equals(fieldName)) {
+ deserializedWorkspaceDiscovery.type = reader.getString();
+ } else if ("properties".equals(fieldName)) {
+ deserializedWorkspaceDiscovery.properties = WorkspaceDiscoveryProperties.fromJson(reader);
+ } else if ("systemData".equals(fieldName)) {
+ deserializedWorkspaceDiscovery.systemData = SystemData.fromJson(reader);
+ } else {
+ reader.skipChildren();
+ }
+ }
+
+ return deserializedWorkspaceDiscovery;
+ });
+ }
+}
diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/main/java/com/azure/resourcemanager/chaos/models/WorkspaceDiscoveryProperties.java b/sdk/chaos/azure-resourcemanager-chaos/src/main/java/com/azure/resourcemanager/chaos/models/WorkspaceDiscoveryProperties.java
new file mode 100644
index 000000000000..a9bb946231a7
--- /dev/null
+++ b/sdk/chaos/azure-resourcemanager-chaos/src/main/java/com/azure/resourcemanager/chaos/models/WorkspaceDiscoveryProperties.java
@@ -0,0 +1,161 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.chaos.models;
+
+import com.azure.core.annotation.Immutable;
+import com.azure.core.util.CoreUtils;
+import com.azure.json.JsonReader;
+import com.azure.json.JsonSerializable;
+import com.azure.json.JsonToken;
+import com.azure.json.JsonWriter;
+import java.io.IOException;
+import java.time.OffsetDateTime;
+import java.util.List;
+
+/**
+ * Model that represents the properties of the workspace discovery.
+ */
+@Immutable
+public final class WorkspaceDiscoveryProperties implements JsonSerializable {
+ /*
+ * The discovery status.
+ */
+ private WorkspaceDiscoveryStatus status;
+
+ /*
+ * The discovery UTC start time.
+ */
+ private OffsetDateTime startTime;
+
+ /*
+ * The discovery UTC end time.
+ */
+ private OffsetDateTime endTime;
+
+ /*
+ * System or infrastructure errors encountered during discovery.
+ */
+ private List errors;
+
+ /*
+ * The workspace ID this discovery belongs to.
+ */
+ private String workspaceId;
+
+ /*
+ * The resource snapshot ID produced by this discovery.
+ */
+ private String resourceSnapshotId;
+
+ /**
+ * Creates an instance of WorkspaceDiscoveryProperties class.
+ */
+ private WorkspaceDiscoveryProperties() {
+ }
+
+ /**
+ * Get the status property: The discovery status.
+ *
+ * @return the status value.
+ */
+ public WorkspaceDiscoveryStatus status() {
+ return this.status;
+ }
+
+ /**
+ * Get the startTime property: The discovery UTC start time.
+ *
+ * @return the startTime value.
+ */
+ public OffsetDateTime startTime() {
+ return this.startTime;
+ }
+
+ /**
+ * Get the endTime property: The discovery UTC end time.
+ *
+ * @return the endTime value.
+ */
+ public OffsetDateTime endTime() {
+ return this.endTime;
+ }
+
+ /**
+ * Get the errors property: System or infrastructure errors encountered during discovery.
+ *
+ * @return the errors value.
+ */
+ public List errors() {
+ return this.errors;
+ }
+
+ /**
+ * Get the workspaceId property: The workspace ID this discovery belongs to.
+ *
+ * @return the workspaceId value.
+ */
+ public String workspaceId() {
+ return this.workspaceId;
+ }
+
+ /**
+ * Get the resourceSnapshotId property: The resource snapshot ID produced by this discovery.
+ *
+ * @return the resourceSnapshotId value.
+ */
+ public String resourceSnapshotId() {
+ return this.resourceSnapshotId;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ @Override
+ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
+ jsonWriter.writeStartObject();
+ return jsonWriter.writeEndObject();
+ }
+
+ /**
+ * Reads an instance of WorkspaceDiscoveryProperties from the JsonReader.
+ *
+ * @param jsonReader The JsonReader being read.
+ * @return An instance of WorkspaceDiscoveryProperties if the JsonReader was pointing to an instance of it, or null
+ * if it was pointing to JSON null.
+ * @throws IllegalStateException If the deserialized JSON object was missing any required properties.
+ * @throws IOException If an error occurs while reading the WorkspaceDiscoveryProperties.
+ */
+ public static WorkspaceDiscoveryProperties fromJson(JsonReader jsonReader) throws IOException {
+ return jsonReader.readObject(reader -> {
+ WorkspaceDiscoveryProperties deserializedWorkspaceDiscoveryProperties = new WorkspaceDiscoveryProperties();
+ while (reader.nextToken() != JsonToken.END_OBJECT) {
+ String fieldName = reader.getFieldName();
+ reader.nextToken();
+
+ if ("status".equals(fieldName)) {
+ deserializedWorkspaceDiscoveryProperties.status
+ = WorkspaceDiscoveryStatus.fromString(reader.getString());
+ } else if ("workspaceId".equals(fieldName)) {
+ deserializedWorkspaceDiscoveryProperties.workspaceId = reader.getString();
+ } else if ("startTime".equals(fieldName)) {
+ deserializedWorkspaceDiscoveryProperties.startTime = reader
+ .getNullable(nonNullReader -> CoreUtils.parseBestOffsetDateTime(nonNullReader.getString()));
+ } else if ("endTime".equals(fieldName)) {
+ deserializedWorkspaceDiscoveryProperties.endTime = reader
+ .getNullable(nonNullReader -> CoreUtils.parseBestOffsetDateTime(nonNullReader.getString()));
+ } else if ("errors".equals(fieldName)) {
+ List errors = reader.readArray(reader1 -> OperationError.fromJson(reader1));
+ deserializedWorkspaceDiscoveryProperties.errors = errors;
+ } else if ("resourceSnapshotId".equals(fieldName)) {
+ deserializedWorkspaceDiscoveryProperties.resourceSnapshotId = reader.getString();
+ } else {
+ reader.skipChildren();
+ }
+ }
+
+ return deserializedWorkspaceDiscoveryProperties;
+ });
+ }
+}
diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/main/java/com/azure/resourcemanager/chaos/models/WorkspaceDiscoveryStatus.java b/sdk/chaos/azure-resourcemanager-chaos/src/main/java/com/azure/resourcemanager/chaos/models/WorkspaceDiscoveryStatus.java
new file mode 100644
index 000000000000..dd01bbfcfd4a
--- /dev/null
+++ b/sdk/chaos/azure-resourcemanager-chaos/src/main/java/com/azure/resourcemanager/chaos/models/WorkspaceDiscoveryStatus.java
@@ -0,0 +1,71 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.chaos.models;
+
+import com.azure.core.util.ExpandableStringEnum;
+import java.util.Collection;
+
+/**
+ * Enum of the workspace discovery status.
+ */
+public final class WorkspaceDiscoveryStatus extends ExpandableStringEnum {
+ /**
+ * The discovery is pending and has not started.
+ */
+ public static final WorkspaceDiscoveryStatus PENDING = fromString("Pending");
+
+ /**
+ * The discovery has been accepted and is queued for execution.
+ */
+ public static final WorkspaceDiscoveryStatus QUEUED = fromString("Queued");
+
+ /**
+ * The discovery is in progress.
+ */
+ public static final WorkspaceDiscoveryStatus IN_PROGRESS = fromString("InProgress");
+
+ /**
+ * The discovery completed successfully.
+ */
+ public static final WorkspaceDiscoveryStatus SUCCEEDED = fromString("Succeeded");
+
+ /**
+ * The discovery failed.
+ */
+ public static final WorkspaceDiscoveryStatus FAILED = fromString("Failed");
+
+ /**
+ * The discovery was canceled.
+ */
+ public static final WorkspaceDiscoveryStatus CANCELED = fromString("Canceled");
+
+ /**
+ * Creates a new instance of WorkspaceDiscoveryStatus value.
+ *
+ * @deprecated Use the {@link #fromString(String)} factory method.
+ */
+ @Deprecated
+ public WorkspaceDiscoveryStatus() {
+ }
+
+ /**
+ * Creates or finds a WorkspaceDiscoveryStatus from its string representation.
+ *
+ * @param name a name to look for.
+ * @return the corresponding WorkspaceDiscoveryStatus.
+ */
+ public static WorkspaceDiscoveryStatus fromString(String name) {
+ return fromString(name, WorkspaceDiscoveryStatus.class);
+ }
+
+ /**
+ * Gets known WorkspaceDiscoveryStatus values.
+ *
+ * @return known WorkspaceDiscoveryStatus values.
+ */
+ public static Collection values() {
+ return values(WorkspaceDiscoveryStatus.class);
+ }
+}
diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/main/java/com/azure/resourcemanager/chaos/models/WorkspaceEvaluationProperties.java b/sdk/chaos/azure-resourcemanager-chaos/src/main/java/com/azure/resourcemanager/chaos/models/WorkspaceEvaluationProperties.java
index 80a6e7d1a83e..44d3c55bf695 100644
--- a/sdk/chaos/azure-resourcemanager-chaos/src/main/java/com/azure/resourcemanager/chaos/models/WorkspaceEvaluationProperties.java
+++ b/sdk/chaos/azure-resourcemanager-chaos/src/main/java/com/azure/resourcemanager/chaos/models/WorkspaceEvaluationProperties.java
@@ -45,24 +45,29 @@ public final class WorkspaceEvaluationProperties implements JsonSerializable results;
+ private List results;
/**
* Creates an instance of WorkspaceEvaluationProperties class.
@@ -126,39 +131,48 @@ public String workspaceId() {
}
/**
- * Get the numScenariosToEvaluate property: The number of scenarios to evaluate.
+ * Get the resourceSnapshotId property: The resource snapshot ID used for this evaluation.
+ *
+ * @return the resourceSnapshotId value.
+ */
+ public String resourceSnapshotId() {
+ return this.resourceSnapshotId;
+ }
+
+ /**
+ * Get the numTemplatesToEvaluate property: The number of templates to evaluate.
*
- * @return the numScenariosToEvaluate value.
+ * @return the numTemplatesToEvaluate value.
*/
- public Integer numScenariosToEvaluate() {
- return this.numScenariosToEvaluate;
+ public Integer numTemplatesToEvaluate() {
+ return this.numTemplatesToEvaluate;
}
/**
- * Get the numScenariosEvaluatedSucceeded property: The number of scenarios that evaluated successfully.
+ * Get the numTemplatesEvaluatedSucceeded property: The number of templates that evaluated successfully.
*
- * @return the numScenariosEvaluatedSucceeded value.
+ * @return the numTemplatesEvaluatedSucceeded value.
*/
- public Integer numScenariosEvaluatedSucceeded() {
- return this.numScenariosEvaluatedSucceeded;
+ public Integer numTemplatesEvaluatedSucceeded() {
+ return this.numTemplatesEvaluatedSucceeded;
}
/**
- * Get the numScenariosEvaluatedFailed property: The number of scenarios that failed evaluation.
+ * Get the numTemplatesEvaluatedFailed property: The number of templates that failed evaluation.
*
- * @return the numScenariosEvaluatedFailed value.
+ * @return the numTemplatesEvaluatedFailed value.
*/
- public Integer numScenariosEvaluatedFailed() {
- return this.numScenariosEvaluatedFailed;
+ public Integer numTemplatesEvaluatedFailed() {
+ return this.numTemplatesEvaluatedFailed;
}
/**
- * Get the numScenariosEvaluatedCancelled property: The number of scenarios that were cancelled during evaluation.
+ * Get the numTemplatesEvaluatedCancelled property: The number of templates that were cancelled during evaluation.
*
- * @return the numScenariosEvaluatedCancelled value.
+ * @return the numTemplatesEvaluatedCancelled value.
*/
- public Integer numScenariosEvaluatedCancelled() {
- return this.numScenariosEvaluatedCancelled;
+ public Integer numTemplatesEvaluatedCancelled() {
+ return this.numTemplatesEvaluatedCancelled;
}
/**
@@ -171,11 +185,11 @@ public RecommendationStatus evaluationResult() {
}
/**
- * Get the results property: Per-scenario evaluation results.
+ * Get the results property: Per-template evaluation results.
*
* @return the results value.
*/
- public List results() {
+ public List results() {
return this.results;
}
@@ -219,24 +233,26 @@ public static WorkspaceEvaluationProperties fromJson(JsonReader jsonReader) thro
} else if ("errors".equals(fieldName)) {
List errors = reader.readArray(reader1 -> OperationError.fromJson(reader1));
deserializedWorkspaceEvaluationProperties.errors = errors;
- } else if ("numScenariosToEvaluate".equals(fieldName)) {
- deserializedWorkspaceEvaluationProperties.numScenariosToEvaluate
+ } else if ("resourceSnapshotId".equals(fieldName)) {
+ deserializedWorkspaceEvaluationProperties.resourceSnapshotId = reader.getString();
+ } else if ("numTemplatesToEvaluate".equals(fieldName)) {
+ deserializedWorkspaceEvaluationProperties.numTemplatesToEvaluate
= reader.getNullable(JsonReader::getInt);
- } else if ("numScenariosEvaluatedSucceeded".equals(fieldName)) {
- deserializedWorkspaceEvaluationProperties.numScenariosEvaluatedSucceeded
+ } else if ("numTemplatesEvaluatedSucceeded".equals(fieldName)) {
+ deserializedWorkspaceEvaluationProperties.numTemplatesEvaluatedSucceeded
= reader.getNullable(JsonReader::getInt);
- } else if ("numScenariosEvaluatedFailed".equals(fieldName)) {
- deserializedWorkspaceEvaluationProperties.numScenariosEvaluatedFailed
+ } else if ("numTemplatesEvaluatedFailed".equals(fieldName)) {
+ deserializedWorkspaceEvaluationProperties.numTemplatesEvaluatedFailed
= reader.getNullable(JsonReader::getInt);
- } else if ("numScenariosEvaluatedCancelled".equals(fieldName)) {
- deserializedWorkspaceEvaluationProperties.numScenariosEvaluatedCancelled
+ } else if ("numTemplatesEvaluatedCancelled".equals(fieldName)) {
+ deserializedWorkspaceEvaluationProperties.numTemplatesEvaluatedCancelled
= reader.getNullable(JsonReader::getInt);
} else if ("evaluationResult".equals(fieldName)) {
deserializedWorkspaceEvaluationProperties.evaluationResult
= RecommendationStatus.fromString(reader.getString());
} else if ("results".equals(fieldName)) {
- List results
- = reader.readArray(reader1 -> ScenarioEvaluationResultItem.fromJson(reader1));
+ List results
+ = reader.readArray(reader1 -> TemplateEvaluationResultItem.fromJson(reader1));
deserializedWorkspaceEvaluationProperties.results = results;
} else {
reader.skipChildren();
diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/main/java/com/azure/resourcemanager/chaos/models/Workspaces.java b/sdk/chaos/azure-resourcemanager-chaos/src/main/java/com/azure/resourcemanager/chaos/models/Workspaces.java
index 7c65b7f3a566..6deb6d6c36ac 100644
--- a/sdk/chaos/azure-resourcemanager-chaos/src/main/java/com/azure/resourcemanager/chaos/models/Workspaces.java
+++ b/sdk/chaos/azure-resourcemanager-chaos/src/main/java/com/azure/resourcemanager/chaos/models/Workspaces.java
@@ -106,7 +106,7 @@ public interface Workspaces {
PagedIterable list(String continuationToken, Context context);
/**
- * Refreshes recommendation status for all scenarios in a given workspace.
+ * Triggers resource discovery for the workspace.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName String that represents a Workspace resource name.
@@ -115,10 +115,10 @@ public interface Workspaces {
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the response.
*/
- WorkspaceEvaluation refreshRecommendations(String resourceGroupName, String workspaceName);
+ WorkspaceDiscovery discover(String resourceGroupName, String workspaceName);
/**
- * Refreshes recommendation status for all scenarios in a given workspace.
+ * Triggers resource discovery for the workspace.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName String that represents a Workspace resource name.
@@ -128,7 +128,32 @@ public interface Workspaces {
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the response.
*/
- WorkspaceEvaluation refreshRecommendations(String resourceGroupName, String workspaceName, Context context);
+ WorkspaceDiscovery discover(String resourceGroupName, String workspaceName, Context context);
+
+ /**
+ * Triggers scenario evaluation for the workspace.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName String that represents a Workspace resource name.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response.
+ */
+ WorkspaceEvaluation evaluate(String resourceGroupName, String workspaceName);
+
+ /**
+ * Triggers scenario evaluation for the workspace.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName String that represents a Workspace resource name.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response.
+ */
+ WorkspaceEvaluation evaluate(String resourceGroupName, String workspaceName, Context context);
/**
* Get a Workspace resource.
diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/main/resources/META-INF/azure-resourcemanager-chaos_metadata.json b/sdk/chaos/azure-resourcemanager-chaos/src/main/resources/META-INF/azure-resourcemanager-chaos_metadata.json
index 060c1ea58884..1ecea95f1368 100644
--- a/sdk/chaos/azure-resourcemanager-chaos/src/main/resources/META-INF/azure-resourcemanager-chaos_metadata.json
+++ b/sdk/chaos/azure-resourcemanager-chaos/src/main/resources/META-INF/azure-resourcemanager-chaos_metadata.json
@@ -1 +1 @@
-{"flavor":"azure","apiVersions":{"Microsoft.Chaos":"2026-05-01-preview"},"crossLanguageDefinitions":{"com.azure.resourcemanager.chaos.fluent.ActionVersionsClient":"Microsoft.Chaos.ActionVersions","com.azure.resourcemanager.chaos.fluent.ActionVersionsClient.get":"Microsoft.Chaos.ActionVersions.get","com.azure.resourcemanager.chaos.fluent.ActionVersionsClient.getWithResponse":"Microsoft.Chaos.ActionVersions.get","com.azure.resourcemanager.chaos.fluent.ActionVersionsClient.list":"Microsoft.Chaos.ActionVersions.list","com.azure.resourcemanager.chaos.fluent.ActionsClient":"Microsoft.Chaos.Actions","com.azure.resourcemanager.chaos.fluent.ActionsClient.get":"Microsoft.Chaos.Actions.get","com.azure.resourcemanager.chaos.fluent.ActionsClient.getWithResponse":"Microsoft.Chaos.Actions.get","com.azure.resourcemanager.chaos.fluent.ActionsClient.list":"Microsoft.Chaos.Actions.list","com.azure.resourcemanager.chaos.fluent.CapabilitiesClient":"Microsoft.Chaos.Capabilities","com.azure.resourcemanager.chaos.fluent.CapabilitiesClient.createOrUpdate":"Microsoft.Chaos.Capabilities.createOrUpdate","com.azure.resourcemanager.chaos.fluent.CapabilitiesClient.createOrUpdateWithResponse":"Microsoft.Chaos.Capabilities.createOrUpdate","com.azure.resourcemanager.chaos.fluent.CapabilitiesClient.delete":"Microsoft.Chaos.Capabilities.delete","com.azure.resourcemanager.chaos.fluent.CapabilitiesClient.deleteWithResponse":"Microsoft.Chaos.Capabilities.delete","com.azure.resourcemanager.chaos.fluent.CapabilitiesClient.get":"Microsoft.Chaos.Capabilities.get","com.azure.resourcemanager.chaos.fluent.CapabilitiesClient.getWithResponse":"Microsoft.Chaos.Capabilities.get","com.azure.resourcemanager.chaos.fluent.CapabilitiesClient.list":"Microsoft.Chaos.Capabilities.list","com.azure.resourcemanager.chaos.fluent.CapabilityTypesClient":"Microsoft.Chaos.CapabilityTypes","com.azure.resourcemanager.chaos.fluent.CapabilityTypesClient.get":"Microsoft.Chaos.CapabilityTypes.get","com.azure.resourcemanager.chaos.fluent.CapabilityTypesClient.getWithResponse":"Microsoft.Chaos.CapabilityTypes.get","com.azure.resourcemanager.chaos.fluent.CapabilityTypesClient.list":"Microsoft.Chaos.CapabilityTypes.list","com.azure.resourcemanager.chaos.fluent.ChaosManagementClient":"Microsoft.Chaos","com.azure.resourcemanager.chaos.fluent.DiscoveredResourcesClient":"Microsoft.Chaos.DiscoveredResources","com.azure.resourcemanager.chaos.fluent.DiscoveredResourcesClient.get":"Microsoft.Chaos.DiscoveredResources.get","com.azure.resourcemanager.chaos.fluent.DiscoveredResourcesClient.getWithResponse":"Microsoft.Chaos.DiscoveredResources.get","com.azure.resourcemanager.chaos.fluent.DiscoveredResourcesClient.listByWorkspace":"Microsoft.Chaos.DiscoveredResources.listByWorkspace","com.azure.resourcemanager.chaos.fluent.ExperimentsClient":"Microsoft.Chaos.Experiments","com.azure.resourcemanager.chaos.fluent.ExperimentsClient.beginCancel":"Microsoft.Chaos.Experiments.cancel","com.azure.resourcemanager.chaos.fluent.ExperimentsClient.beginCreateOrUpdate":"Microsoft.Chaos.Experiments.createOrUpdate","com.azure.resourcemanager.chaos.fluent.ExperimentsClient.beginDelete":"Microsoft.Chaos.Experiments.delete","com.azure.resourcemanager.chaos.fluent.ExperimentsClient.beginStart":"Microsoft.Chaos.Experiments.start","com.azure.resourcemanager.chaos.fluent.ExperimentsClient.beginUpdate":"Microsoft.Chaos.Experiments.update","com.azure.resourcemanager.chaos.fluent.ExperimentsClient.cancel":"Microsoft.Chaos.Experiments.cancel","com.azure.resourcemanager.chaos.fluent.ExperimentsClient.createOrUpdate":"Microsoft.Chaos.Experiments.createOrUpdate","com.azure.resourcemanager.chaos.fluent.ExperimentsClient.delete":"Microsoft.Chaos.Experiments.delete","com.azure.resourcemanager.chaos.fluent.ExperimentsClient.executionDetails":"Microsoft.Chaos.ExperimentExecutions.getExecutionDetails","com.azure.resourcemanager.chaos.fluent.ExperimentsClient.executionDetailsWithResponse":"Microsoft.Chaos.ExperimentExecutions.getExecutionDetails","com.azure.resourcemanager.chaos.fluent.ExperimentsClient.getByResourceGroup":"Microsoft.Chaos.Experiments.get","com.azure.resourcemanager.chaos.fluent.ExperimentsClient.getByResourceGroupWithResponse":"Microsoft.Chaos.Experiments.get","com.azure.resourcemanager.chaos.fluent.ExperimentsClient.getExecution":"Microsoft.Chaos.ExperimentExecutions.getExecution","com.azure.resourcemanager.chaos.fluent.ExperimentsClient.getExecutionWithResponse":"Microsoft.Chaos.ExperimentExecutions.getExecution","com.azure.resourcemanager.chaos.fluent.ExperimentsClient.list":"Microsoft.Chaos.Experiments.listAll","com.azure.resourcemanager.chaos.fluent.ExperimentsClient.listAllExecutions":"Microsoft.Chaos.ExperimentExecutions.listAllExecutions","com.azure.resourcemanager.chaos.fluent.ExperimentsClient.listByResourceGroup":"Microsoft.Chaos.Experiments.list","com.azure.resourcemanager.chaos.fluent.ExperimentsClient.start":"Microsoft.Chaos.Experiments.start","com.azure.resourcemanager.chaos.fluent.ExperimentsClient.update":"Microsoft.Chaos.Experiments.update","com.azure.resourcemanager.chaos.fluent.OperationStatusesClient":"Microsoft.Chaos.OperationStatuses","com.azure.resourcemanager.chaos.fluent.OperationStatusesClient.get":"Microsoft.Chaos.OperationStatuses.get","com.azure.resourcemanager.chaos.fluent.OperationStatusesClient.getWithResponse":"Microsoft.Chaos.OperationStatuses.get","com.azure.resourcemanager.chaos.fluent.OperationsClient":"Microsoft.Chaos.Operations","com.azure.resourcemanager.chaos.fluent.OperationsClient.list":"Azure.ResourceManager.Operations.list","com.azure.resourcemanager.chaos.fluent.PrivateAccessesClient":"Microsoft.Chaos.PrivateAccesses","com.azure.resourcemanager.chaos.fluent.PrivateAccessesClient.beginCreateOrUpdate":"Microsoft.Chaos.PrivateAccesses.createOrUpdate","com.azure.resourcemanager.chaos.fluent.PrivateAccessesClient.beginDelete":"Microsoft.Chaos.PrivateAccesses.delete","com.azure.resourcemanager.chaos.fluent.PrivateAccessesClient.beginDeleteAPrivateEndpointConnection":"Microsoft.Chaos.PrivateEndpointConnections.deleteAPrivateEndpointConnection","com.azure.resourcemanager.chaos.fluent.PrivateAccessesClient.beginUpdate":"Microsoft.Chaos.PrivateAccesses.update","com.azure.resourcemanager.chaos.fluent.PrivateAccessesClient.createOrUpdate":"Microsoft.Chaos.PrivateAccesses.createOrUpdate","com.azure.resourcemanager.chaos.fluent.PrivateAccessesClient.delete":"Microsoft.Chaos.PrivateAccesses.delete","com.azure.resourcemanager.chaos.fluent.PrivateAccessesClient.deleteAPrivateEndpointConnection":"Microsoft.Chaos.PrivateEndpointConnections.deleteAPrivateEndpointConnection","com.azure.resourcemanager.chaos.fluent.PrivateAccessesClient.getAPrivateEndpointConnection":"Microsoft.Chaos.PrivateEndpointConnections.getAPrivateEndpointConnection","com.azure.resourcemanager.chaos.fluent.PrivateAccessesClient.getAPrivateEndpointConnectionWithResponse":"Microsoft.Chaos.PrivateEndpointConnections.getAPrivateEndpointConnection","com.azure.resourcemanager.chaos.fluent.PrivateAccessesClient.getByResourceGroup":"Microsoft.Chaos.PrivateAccesses.get","com.azure.resourcemanager.chaos.fluent.PrivateAccessesClient.getByResourceGroupWithResponse":"Microsoft.Chaos.PrivateAccesses.get","com.azure.resourcemanager.chaos.fluent.PrivateAccessesClient.getPrivateLinkResources":"Microsoft.Chaos.PrivateAccesses.privateLinkResources","com.azure.resourcemanager.chaos.fluent.PrivateAccessesClient.getPrivateLinkResourcesWithResponse":"Microsoft.Chaos.PrivateAccesses.privateLinkResources","com.azure.resourcemanager.chaos.fluent.PrivateAccessesClient.list":"Microsoft.Chaos.PrivateAccesses.listAll","com.azure.resourcemanager.chaos.fluent.PrivateAccessesClient.listByResourceGroup":"Microsoft.Chaos.PrivateAccesses.list","com.azure.resourcemanager.chaos.fluent.PrivateAccessesClient.listPrivateEndpointConnections":"Microsoft.Chaos.PrivateEndpointConnections.listPrivateEndpointConnections","com.azure.resourcemanager.chaos.fluent.PrivateAccessesClient.update":"Microsoft.Chaos.PrivateAccesses.update","com.azure.resourcemanager.chaos.fluent.ScenarioConfigurationsClient":"Microsoft.Chaos.ScenarioConfigurations","com.azure.resourcemanager.chaos.fluent.ScenarioConfigurationsClient.beginCreateOrUpdate":"Microsoft.Chaos.ScenarioConfigurations.createOrUpdate","com.azure.resourcemanager.chaos.fluent.ScenarioConfigurationsClient.beginDelete":"Microsoft.Chaos.ScenarioConfigurations.delete","com.azure.resourcemanager.chaos.fluent.ScenarioConfigurationsClient.beginExecute":"Microsoft.Chaos.ScenarioConfigurations.execute","com.azure.resourcemanager.chaos.fluent.ScenarioConfigurationsClient.beginFixResourcePermissions":"Microsoft.Chaos.ScenarioConfigurations.fixResourcePermissions","com.azure.resourcemanager.chaos.fluent.ScenarioConfigurationsClient.beginValidate":"Microsoft.Chaos.ScenarioConfigurations.validate","com.azure.resourcemanager.chaos.fluent.ScenarioConfigurationsClient.createOrUpdate":"Microsoft.Chaos.ScenarioConfigurations.createOrUpdate","com.azure.resourcemanager.chaos.fluent.ScenarioConfigurationsClient.delete":"Microsoft.Chaos.ScenarioConfigurations.delete","com.azure.resourcemanager.chaos.fluent.ScenarioConfigurationsClient.execute":"Microsoft.Chaos.ScenarioConfigurations.execute","com.azure.resourcemanager.chaos.fluent.ScenarioConfigurationsClient.fixResourcePermissions":"Microsoft.Chaos.ScenarioConfigurations.fixResourcePermissions","com.azure.resourcemanager.chaos.fluent.ScenarioConfigurationsClient.get":"Microsoft.Chaos.ScenarioConfigurations.get","com.azure.resourcemanager.chaos.fluent.ScenarioConfigurationsClient.getWithResponse":"Microsoft.Chaos.ScenarioConfigurations.get","com.azure.resourcemanager.chaos.fluent.ScenarioConfigurationsClient.listAll":"Microsoft.Chaos.ScenarioConfigurations.listAll","com.azure.resourcemanager.chaos.fluent.ScenarioConfigurationsClient.validate":"Microsoft.Chaos.ScenarioConfigurations.validate","com.azure.resourcemanager.chaos.fluent.ScenarioRunsClient":"Microsoft.Chaos.ScenarioRuns","com.azure.resourcemanager.chaos.fluent.ScenarioRunsClient.beginCancel":"Microsoft.Chaos.ScenarioRuns.cancel","com.azure.resourcemanager.chaos.fluent.ScenarioRunsClient.cancel":"Microsoft.Chaos.ScenarioRuns.cancel","com.azure.resourcemanager.chaos.fluent.ScenarioRunsClient.get":"Microsoft.Chaos.ScenarioRuns.get","com.azure.resourcemanager.chaos.fluent.ScenarioRunsClient.getWithResponse":"Microsoft.Chaos.ScenarioRuns.get","com.azure.resourcemanager.chaos.fluent.ScenarioRunsClient.listAll":"Microsoft.Chaos.ScenarioRuns.listAll","com.azure.resourcemanager.chaos.fluent.ScenariosClient":"Microsoft.Chaos.Scenarios","com.azure.resourcemanager.chaos.fluent.ScenariosClient.createOrUpdate":"Microsoft.Chaos.Scenarios.createOrUpdate","com.azure.resourcemanager.chaos.fluent.ScenariosClient.createOrUpdateWithResponse":"Microsoft.Chaos.Scenarios.createOrUpdate","com.azure.resourcemanager.chaos.fluent.ScenariosClient.delete":"Microsoft.Chaos.Scenarios.delete","com.azure.resourcemanager.chaos.fluent.ScenariosClient.deleteWithResponse":"Microsoft.Chaos.Scenarios.delete","com.azure.resourcemanager.chaos.fluent.ScenariosClient.get":"Microsoft.Chaos.Scenarios.get","com.azure.resourcemanager.chaos.fluent.ScenariosClient.getWithResponse":"Microsoft.Chaos.Scenarios.get","com.azure.resourcemanager.chaos.fluent.ScenariosClient.listAll":"Microsoft.Chaos.Scenarios.listAll","com.azure.resourcemanager.chaos.fluent.TargetTypesClient":"Microsoft.Chaos.TargetTypes","com.azure.resourcemanager.chaos.fluent.TargetTypesClient.get":"Microsoft.Chaos.TargetTypes.get","com.azure.resourcemanager.chaos.fluent.TargetTypesClient.getWithResponse":"Microsoft.Chaos.TargetTypes.get","com.azure.resourcemanager.chaos.fluent.TargetTypesClient.list":"Microsoft.Chaos.TargetTypes.list","com.azure.resourcemanager.chaos.fluent.TargetsClient":"Microsoft.Chaos.Targets","com.azure.resourcemanager.chaos.fluent.TargetsClient.createOrUpdate":"Microsoft.Chaos.Targets.createOrUpdate","com.azure.resourcemanager.chaos.fluent.TargetsClient.createOrUpdateWithResponse":"Microsoft.Chaos.Targets.createOrUpdate","com.azure.resourcemanager.chaos.fluent.TargetsClient.delete":"Microsoft.Chaos.Targets.delete","com.azure.resourcemanager.chaos.fluent.TargetsClient.deleteWithResponse":"Microsoft.Chaos.Targets.delete","com.azure.resourcemanager.chaos.fluent.TargetsClient.get":"Microsoft.Chaos.Targets.get","com.azure.resourcemanager.chaos.fluent.TargetsClient.getWithResponse":"Microsoft.Chaos.Targets.get","com.azure.resourcemanager.chaos.fluent.TargetsClient.list":"Microsoft.Chaos.Targets.list","com.azure.resourcemanager.chaos.fluent.WorkspacesClient":"Microsoft.Chaos.Workspaces","com.azure.resourcemanager.chaos.fluent.WorkspacesClient.beginCreateOrUpdate":"Microsoft.Chaos.Workspaces.createOrUpdate","com.azure.resourcemanager.chaos.fluent.WorkspacesClient.beginDelete":"Microsoft.Chaos.Workspaces.delete","com.azure.resourcemanager.chaos.fluent.WorkspacesClient.beginRefreshRecommendations":"Microsoft.Chaos.Workspaces.refreshRecommendations","com.azure.resourcemanager.chaos.fluent.WorkspacesClient.beginUpdate":"Microsoft.Chaos.Workspaces.update","com.azure.resourcemanager.chaos.fluent.WorkspacesClient.createOrUpdate":"Microsoft.Chaos.Workspaces.createOrUpdate","com.azure.resourcemanager.chaos.fluent.WorkspacesClient.delete":"Microsoft.Chaos.Workspaces.delete","com.azure.resourcemanager.chaos.fluent.WorkspacesClient.getByResourceGroup":"Microsoft.Chaos.Workspaces.get","com.azure.resourcemanager.chaos.fluent.WorkspacesClient.getByResourceGroupWithResponse":"Microsoft.Chaos.Workspaces.get","com.azure.resourcemanager.chaos.fluent.WorkspacesClient.list":"Microsoft.Chaos.Workspaces.listAll","com.azure.resourcemanager.chaos.fluent.WorkspacesClient.listByResourceGroup":"Microsoft.Chaos.Workspaces.list","com.azure.resourcemanager.chaos.fluent.WorkspacesClient.refreshRecommendations":"Microsoft.Chaos.Workspaces.refreshRecommendations","com.azure.resourcemanager.chaos.fluent.WorkspacesClient.update":"Microsoft.Chaos.Workspaces.update","com.azure.resourcemanager.chaos.fluent.models.ActionInner":"Microsoft.Chaos.Action","com.azure.resourcemanager.chaos.fluent.models.ActionProperties":"Microsoft.Chaos.ActionProperties","com.azure.resourcemanager.chaos.fluent.models.ActionVersionInner":"Microsoft.Chaos.ActionVersion","com.azure.resourcemanager.chaos.fluent.models.CapabilityInner":"Microsoft.Chaos.Capability","com.azure.resourcemanager.chaos.fluent.models.CapabilityProperties":"Microsoft.Chaos.CapabilityProperties","com.azure.resourcemanager.chaos.fluent.models.CapabilityTypeInner":"Microsoft.Chaos.CapabilityType","com.azure.resourcemanager.chaos.fluent.models.CapabilityTypeProperties":"Microsoft.Chaos.CapabilityTypeProperties","com.azure.resourcemanager.chaos.fluent.models.DiscoveredResourceInner":"Microsoft.Chaos.DiscoveredResource","com.azure.resourcemanager.chaos.fluent.models.ExperimentExecutionDetailsInner":"Microsoft.Chaos.ExperimentExecutionDetails","com.azure.resourcemanager.chaos.fluent.models.ExperimentExecutionDetailsProperties":"Microsoft.Chaos.ExperimentExecutionDetailsProperties","com.azure.resourcemanager.chaos.fluent.models.ExperimentExecutionInner":"Microsoft.Chaos.ExperimentExecution","com.azure.resourcemanager.chaos.fluent.models.ExperimentExecutionProperties":"Microsoft.Chaos.ExperimentExecutionProperties","com.azure.resourcemanager.chaos.fluent.models.ExperimentInner":"Microsoft.Chaos.Experiment","com.azure.resourcemanager.chaos.fluent.models.ExperimentProperties":"Microsoft.Chaos.ExperimentProperties","com.azure.resourcemanager.chaos.fluent.models.OperationInner":"Azure.ResourceManager.CommonTypes.Operation","com.azure.resourcemanager.chaos.fluent.models.OperationStatusInner":"Azure.ResourceManager.CommonTypes.OperationStatusResult","com.azure.resourcemanager.chaos.fluent.models.PrivateAccessInner":"Microsoft.Chaos.PrivateAccess","com.azure.resourcemanager.chaos.fluent.models.PrivateEndpointConnectionInner":"Microsoft.Chaos.PrivateEndpointConnection","com.azure.resourcemanager.chaos.fluent.models.PrivateLinkResourceListResultInner":"Microsoft.Chaos.PrivateLinkResourceListResult","com.azure.resourcemanager.chaos.fluent.models.ScenarioConfigurationInner":"Microsoft.Chaos.ScenarioConfiguration","com.azure.resourcemanager.chaos.fluent.models.ScenarioInner":"Microsoft.Chaos.Scenario","com.azure.resourcemanager.chaos.fluent.models.ScenarioRunInner":"Microsoft.Chaos.ScenarioRun","com.azure.resourcemanager.chaos.fluent.models.TargetInner":"Microsoft.Chaos.Target","com.azure.resourcemanager.chaos.fluent.models.TargetTypeInner":"Microsoft.Chaos.TargetType","com.azure.resourcemanager.chaos.fluent.models.TargetTypeProperties":"Microsoft.Chaos.TargetTypeProperties","com.azure.resourcemanager.chaos.fluent.models.WorkspaceInner":"Microsoft.Chaos.Workspace","com.azure.resourcemanager.chaos.implementation.ChaosManagementClientBuilder":"Microsoft.Chaos","com.azure.resourcemanager.chaos.implementation.models.ActionListResult":"Microsoft.Chaos.ActionListResult","com.azure.resourcemanager.chaos.implementation.models.ActionVersionListResult":"Microsoft.Chaos.ActionVersionListResult","com.azure.resourcemanager.chaos.implementation.models.CapabilityListResult":"Microsoft.Chaos.CapabilityListResult","com.azure.resourcemanager.chaos.implementation.models.CapabilityTypeListResult":"Microsoft.Chaos.CapabilityTypeListResult","com.azure.resourcemanager.chaos.implementation.models.DiscoveredResourceListResult":"Microsoft.Chaos.DiscoveredResourceListResult","com.azure.resourcemanager.chaos.implementation.models.ExperimentExecutionListResult":"Microsoft.Chaos.ExperimentExecutionListResult","com.azure.resourcemanager.chaos.implementation.models.ExperimentListResult":"Microsoft.Chaos.ExperimentListResult","com.azure.resourcemanager.chaos.implementation.models.OperationListResult":"Azure.ResourceManager.CommonTypes.OperationListResult","com.azure.resourcemanager.chaos.implementation.models.PrivateAccessListResult":"Microsoft.Chaos.PrivateAccessListResult","com.azure.resourcemanager.chaos.implementation.models.PrivateEndpointConnectionListResult":"Microsoft.Chaos.PrivateEndpointConnectionListResult","com.azure.resourcemanager.chaos.implementation.models.ScenarioConfigurationListResult":"Microsoft.Chaos.ScenarioConfigurationListResult","com.azure.resourcemanager.chaos.implementation.models.ScenarioListResult":"Microsoft.Chaos.ScenarioListResult","com.azure.resourcemanager.chaos.implementation.models.ScenarioRunListResult":"Microsoft.Chaos.ScenarioRunListResult","com.azure.resourcemanager.chaos.implementation.models.TargetListResult":"Microsoft.Chaos.TargetListResult","com.azure.resourcemanager.chaos.implementation.models.TargetTypeListResult":"Microsoft.Chaos.TargetTypeListResult","com.azure.resourcemanager.chaos.implementation.models.WorkspaceListResult":"Microsoft.Chaos.WorkspaceListResult","com.azure.resourcemanager.chaos.models.ActionDependency":"Microsoft.Chaos.ActionDependency","com.azure.resourcemanager.chaos.models.ActionDependencyType":"Microsoft.Chaos.ActionDependencyType","com.azure.resourcemanager.chaos.models.ActionKind":"Microsoft.Chaos.ActionKind","com.azure.resourcemanager.chaos.models.ActionLifecycle":"Microsoft.Chaos.ActionLifecycle","com.azure.resourcemanager.chaos.models.ActionPropertiesParametersSchema":"Microsoft.Chaos.ActionProperties.parametersSchema.anonymous","com.azure.resourcemanager.chaos.models.ActionStatus":"Microsoft.Chaos.ActionStatus","com.azure.resourcemanager.chaos.models.ActionSupportedTargetType":"Microsoft.Chaos.ActionSupportedTargetType","com.azure.resourcemanager.chaos.models.ActionType":"Azure.ResourceManager.CommonTypes.ActionType","com.azure.resourcemanager.chaos.models.BranchStatus":"Microsoft.Chaos.BranchStatus","com.azure.resourcemanager.chaos.models.CapabilityTypePropertiesRuntimeProperties":"Microsoft.Chaos.CapabilityTypePropertiesRuntimeProperties","com.azure.resourcemanager.chaos.models.ChaosExperimentAction":"Microsoft.Chaos.ChaosExperimentAction","com.azure.resourcemanager.chaos.models.ChaosExperimentBranch":"Microsoft.Chaos.ChaosExperimentBranch","com.azure.resourcemanager.chaos.models.ChaosExperimentStep":"Microsoft.Chaos.ChaosExperimentStep","com.azure.resourcemanager.chaos.models.ChaosTargetFilter":"Microsoft.Chaos.ChaosTargetFilter","com.azure.resourcemanager.chaos.models.ChaosTargetListSelector":"Microsoft.Chaos.ChaosTargetListSelector","com.azure.resourcemanager.chaos.models.ChaosTargetQuerySelector":"Microsoft.Chaos.ChaosTargetQuerySelector","com.azure.resourcemanager.chaos.models.ChaosTargetSelector":"Microsoft.Chaos.ChaosTargetSelector","com.azure.resourcemanager.chaos.models.ChaosTargetSimpleFilter":"Microsoft.Chaos.ChaosTargetSimpleFilter","com.azure.resourcemanager.chaos.models.ChaosTargetSimpleFilterParameters":"Microsoft.Chaos.ChaosTargetSimpleFilterParameters","com.azure.resourcemanager.chaos.models.ConfigurationExclusions":"Microsoft.Chaos.ConfigurationExclusions","com.azure.resourcemanager.chaos.models.ConfigurationFilters":"Microsoft.Chaos.ConfigurationFilters","com.azure.resourcemanager.chaos.models.ContinuousAction":"Microsoft.Chaos.ContinuousAction","com.azure.resourcemanager.chaos.models.CustomerDataStorageProperties":"Microsoft.Chaos.CustomerDataStorageProperties","com.azure.resourcemanager.chaos.models.DelayAction":"Microsoft.Chaos.DelayAction","com.azure.resourcemanager.chaos.models.DiscoveredResourceProperties":"Microsoft.Chaos.DiscoveredResourceProperties","com.azure.resourcemanager.chaos.models.DiscreteAction":"Microsoft.Chaos.DiscreteAction","com.azure.resourcemanager.chaos.models.EntraIdentity":"Microsoft.Chaos.EntraIdentity","com.azure.resourcemanager.chaos.models.ExperimentActionType":"Microsoft.Chaos.ExperimentActionType","com.azure.resourcemanager.chaos.models.ExperimentExecutionActionTargetDetailsError":"Microsoft.Chaos.ExperimentExecutionActionTargetDetailsError","com.azure.resourcemanager.chaos.models.ExperimentExecutionActionTargetDetailsProperties":"Microsoft.Chaos.ExperimentExecutionActionTargetDetailsProperties","com.azure.resourcemanager.chaos.models.ExperimentExecutionDetailsPropertiesRunInformation":"Microsoft.Chaos.ExperimentExecutionDetailsPropertiesRunInformation","com.azure.resourcemanager.chaos.models.ExperimentUpdate":"Microsoft.Chaos.ExperimentUpdate","com.azure.resourcemanager.chaos.models.ExternalResource":"Microsoft.Chaos.ExternalResource","com.azure.resourcemanager.chaos.models.FilterType":"Microsoft.Chaos.FilterType","com.azure.resourcemanager.chaos.models.FixResourcePermissionsRequest":"Microsoft.Chaos.FixResourcePermissionsRequest","com.azure.resourcemanager.chaos.models.KeyValuePair":"Microsoft.Chaos.KeyValuePair","com.azure.resourcemanager.chaos.models.ManagedServiceIdentityType":"Azure.ResourceManager.CommonTypes.ManagedServiceIdentityType","com.azure.resourcemanager.chaos.models.OperationDisplay":"Azure.ResourceManager.CommonTypes.OperationDisplay","com.azure.resourcemanager.chaos.models.OperationError":"Microsoft.Chaos.OperationError","com.azure.resourcemanager.chaos.models.Origin":"Azure.ResourceManager.CommonTypes.Origin","com.azure.resourcemanager.chaos.models.ParameterType":"Microsoft.Chaos.ParameterType","com.azure.resourcemanager.chaos.models.PermissionError":"Microsoft.Chaos.PermissionError","com.azure.resourcemanager.chaos.models.PermissionsFix":"Microsoft.Chaos.PermissionsFix","com.azure.resourcemanager.chaos.models.PermissionsFixProperties":"Microsoft.Chaos.PermissionsFixProperties","com.azure.resourcemanager.chaos.models.PermissionsFixState":"Microsoft.Chaos.PermissionsFixState","com.azure.resourcemanager.chaos.models.PermissionsFixSummary":"Microsoft.Chaos.PermissionsFixSummary","com.azure.resourcemanager.chaos.models.PhysicalToLogicalZoneMapping":"Microsoft.Chaos.PhysicalToLogicalZoneMapping","com.azure.resourcemanager.chaos.models.PrivateAccessPatch":"Microsoft.Chaos.PrivateAccessPatch","com.azure.resourcemanager.chaos.models.PrivateAccessProperties":"Microsoft.Chaos.PrivateAccessProperties","com.azure.resourcemanager.chaos.models.PrivateEndpoint":"Microsoft.Chaos.PrivateEndpoint","com.azure.resourcemanager.chaos.models.PrivateEndpointConnectionProperties":"Microsoft.Chaos.PrivateEndpointConnectionProperties","com.azure.resourcemanager.chaos.models.PrivateEndpointServiceConnectionStatus":"Microsoft.Chaos.PrivateEndpointServiceConnectionStatus","com.azure.resourcemanager.chaos.models.PrivateLinkResource":"Microsoft.Chaos.PrivateLinkResource","com.azure.resourcemanager.chaos.models.PrivateLinkResourceProperties":"Microsoft.Chaos.PrivateLinkResourceProperties","com.azure.resourcemanager.chaos.models.PrivateLinkServiceConnectionState":"Microsoft.Chaos.PrivateLinkServiceConnectionState","com.azure.resourcemanager.chaos.models.ProvisioningState":"Microsoft.Chaos.ProvisioningState","com.azure.resourcemanager.chaos.models.PublicNetworkAccessOption":"Microsoft.Chaos.PublicNetworkAccessOption","com.azure.resourcemanager.chaos.models.Recommendation":"Microsoft.Chaos.Recommendation","com.azure.resourcemanager.chaos.models.RecommendationStatus":"Microsoft.Chaos.RecommendationStatus","com.azure.resourcemanager.chaos.models.ResourceIdentity":"Azure.ResourceManager.CommonTypes.ManagedServiceIdentity","com.azure.resourcemanager.chaos.models.ResourceStateError":"Microsoft.Chaos.ResourceStateError","com.azure.resourcemanager.chaos.models.RoleAssignmentError":"Microsoft.Chaos.RoleAssignmentError","com.azure.resourcemanager.chaos.models.RoleAssignmentResult":"Microsoft.Chaos.RoleAssignmentResult","com.azure.resourcemanager.chaos.models.RoleAssignmentStatus":"Microsoft.Chaos.RoleAssignmentStatus","com.azure.resourcemanager.chaos.models.RunAfter":"Microsoft.Chaos.RunAfter","com.azure.resourcemanager.chaos.models.RunAfterBehavior":"Microsoft.Chaos.RunAfterBehavior","com.azure.resourcemanager.chaos.models.ScenarioAction":"Microsoft.Chaos.ScenarioAction","com.azure.resourcemanager.chaos.models.ScenarioConfigurationProperties":"Microsoft.Chaos.ScenarioConfigurationProperties","com.azure.resourcemanager.chaos.models.ScenarioErrors":"Microsoft.Chaos.ScenarioErrors","com.azure.resourcemanager.chaos.models.ScenarioEvaluationResultItem":"Microsoft.Chaos.ScenarioEvaluationResultItem","com.azure.resourcemanager.chaos.models.ScenarioParameter":"Microsoft.Chaos.ScenarioParameter","com.azure.resourcemanager.chaos.models.ScenarioProperties":"Microsoft.Chaos.ScenarioProperties","com.azure.resourcemanager.chaos.models.ScenarioRunProperties":"Microsoft.Chaos.ScenarioRunProperties","com.azure.resourcemanager.chaos.models.ScenarioRunResource":"Microsoft.Chaos.ScenarioRunResource","com.azure.resourcemanager.chaos.models.ScenarioRunState":"Microsoft.Chaos.ScenarioRunState","com.azure.resourcemanager.chaos.models.ScenarioRunSummaryAction":"Microsoft.Chaos.ScenarioRunSummaryAction","com.azure.resourcemanager.chaos.models.ScenarioRunsGetHeaders":null,"com.azure.resourcemanager.chaos.models.ScenarioSummaryState":"Microsoft.Chaos.ScenarioSummaryState","com.azure.resourcemanager.chaos.models.ScenarioValidationState":"Microsoft.Chaos.ScenarioValidationState","com.azure.resourcemanager.chaos.models.SelectorType":"Microsoft.Chaos.SelectorType","com.azure.resourcemanager.chaos.models.StepStatus":"Microsoft.Chaos.StepStatus","com.azure.resourcemanager.chaos.models.TargetReference":"Microsoft.Chaos.TargetReference","com.azure.resourcemanager.chaos.models.TargetReferenceType":"Microsoft.Chaos.TargetReferenceType","com.azure.resourcemanager.chaos.models.UserAssignedIdentity":"Azure.ResourceManager.CommonTypes.UserAssignedIdentity","com.azure.resourcemanager.chaos.models.Validation":"Microsoft.Chaos.Validation","com.azure.resourcemanager.chaos.models.ValidationProperties":"Microsoft.Chaos.ValidationProperties","com.azure.resourcemanager.chaos.models.WorkspaceEvaluation":"Microsoft.Chaos.WorkspaceEvaluation","com.azure.resourcemanager.chaos.models.WorkspaceEvaluationProperties":"Microsoft.Chaos.WorkspaceEvaluationProperties","com.azure.resourcemanager.chaos.models.WorkspaceEvaluationStatus":"Microsoft.Chaos.WorkspaceEvaluationStatus","com.azure.resourcemanager.chaos.models.WorkspaceProperties":"Microsoft.Chaos.WorkspaceProperties","com.azure.resourcemanager.chaos.models.WorkspaceUpdate":"Microsoft.Chaos.WorkspaceUpdate","com.azure.resourcemanager.chaos.models.ZoneResolutionInfo":"Microsoft.Chaos.ZoneResolutionInfo","com.azure.resourcemanager.chaos.models.ZoneResolutionMapping":"Microsoft.Chaos.ZoneResolutionMapping","com.azure.resourcemanager.chaos.models.ZoneResolutionMode":"Microsoft.Chaos.ZoneResolutionMode"},"generatedFiles":["src/main/java/com/azure/resourcemanager/chaos/ChaosManager.java","src/main/java/com/azure/resourcemanager/chaos/fluent/ActionVersionsClient.java","src/main/java/com/azure/resourcemanager/chaos/fluent/ActionsClient.java","src/main/java/com/azure/resourcemanager/chaos/fluent/CapabilitiesClient.java","src/main/java/com/azure/resourcemanager/chaos/fluent/CapabilityTypesClient.java","src/main/java/com/azure/resourcemanager/chaos/fluent/ChaosManagementClient.java","src/main/java/com/azure/resourcemanager/chaos/fluent/DiscoveredResourcesClient.java","src/main/java/com/azure/resourcemanager/chaos/fluent/ExperimentsClient.java","src/main/java/com/azure/resourcemanager/chaos/fluent/OperationStatusesClient.java","src/main/java/com/azure/resourcemanager/chaos/fluent/OperationsClient.java","src/main/java/com/azure/resourcemanager/chaos/fluent/PrivateAccessesClient.java","src/main/java/com/azure/resourcemanager/chaos/fluent/ScenarioConfigurationsClient.java","src/main/java/com/azure/resourcemanager/chaos/fluent/ScenarioRunsClient.java","src/main/java/com/azure/resourcemanager/chaos/fluent/ScenariosClient.java","src/main/java/com/azure/resourcemanager/chaos/fluent/TargetTypesClient.java","src/main/java/com/azure/resourcemanager/chaos/fluent/TargetsClient.java","src/main/java/com/azure/resourcemanager/chaos/fluent/WorkspacesClient.java","src/main/java/com/azure/resourcemanager/chaos/fluent/models/ActionInner.java","src/main/java/com/azure/resourcemanager/chaos/fluent/models/ActionProperties.java","src/main/java/com/azure/resourcemanager/chaos/fluent/models/ActionVersionInner.java","src/main/java/com/azure/resourcemanager/chaos/fluent/models/CapabilityInner.java","src/main/java/com/azure/resourcemanager/chaos/fluent/models/CapabilityProperties.java","src/main/java/com/azure/resourcemanager/chaos/fluent/models/CapabilityTypeInner.java","src/main/java/com/azure/resourcemanager/chaos/fluent/models/CapabilityTypeProperties.java","src/main/java/com/azure/resourcemanager/chaos/fluent/models/DiscoveredResourceInner.java","src/main/java/com/azure/resourcemanager/chaos/fluent/models/ExperimentExecutionDetailsInner.java","src/main/java/com/azure/resourcemanager/chaos/fluent/models/ExperimentExecutionDetailsProperties.java","src/main/java/com/azure/resourcemanager/chaos/fluent/models/ExperimentExecutionInner.java","src/main/java/com/azure/resourcemanager/chaos/fluent/models/ExperimentExecutionProperties.java","src/main/java/com/azure/resourcemanager/chaos/fluent/models/ExperimentInner.java","src/main/java/com/azure/resourcemanager/chaos/fluent/models/ExperimentProperties.java","src/main/java/com/azure/resourcemanager/chaos/fluent/models/OperationInner.java","src/main/java/com/azure/resourcemanager/chaos/fluent/models/OperationStatusInner.java","src/main/java/com/azure/resourcemanager/chaos/fluent/models/PrivateAccessInner.java","src/main/java/com/azure/resourcemanager/chaos/fluent/models/PrivateEndpointConnectionInner.java","src/main/java/com/azure/resourcemanager/chaos/fluent/models/PrivateLinkResourceListResultInner.java","src/main/java/com/azure/resourcemanager/chaos/fluent/models/ScenarioConfigurationInner.java","src/main/java/com/azure/resourcemanager/chaos/fluent/models/ScenarioInner.java","src/main/java/com/azure/resourcemanager/chaos/fluent/models/ScenarioRunInner.java","src/main/java/com/azure/resourcemanager/chaos/fluent/models/TargetInner.java","src/main/java/com/azure/resourcemanager/chaos/fluent/models/TargetTypeInner.java","src/main/java/com/azure/resourcemanager/chaos/fluent/models/TargetTypeProperties.java","src/main/java/com/azure/resourcemanager/chaos/fluent/models/WorkspaceInner.java","src/main/java/com/azure/resourcemanager/chaos/fluent/models/package-info.java","src/main/java/com/azure/resourcemanager/chaos/fluent/package-info.java","src/main/java/com/azure/resourcemanager/chaos/implementation/ActionImpl.java","src/main/java/com/azure/resourcemanager/chaos/implementation/ActionVersionImpl.java","src/main/java/com/azure/resourcemanager/chaos/implementation/ActionVersionsClientImpl.java","src/main/java/com/azure/resourcemanager/chaos/implementation/ActionVersionsImpl.java","src/main/java/com/azure/resourcemanager/chaos/implementation/ActionsClientImpl.java","src/main/java/com/azure/resourcemanager/chaos/implementation/ActionsImpl.java","src/main/java/com/azure/resourcemanager/chaos/implementation/CapabilitiesClientImpl.java","src/main/java/com/azure/resourcemanager/chaos/implementation/CapabilitiesImpl.java","src/main/java/com/azure/resourcemanager/chaos/implementation/CapabilityImpl.java","src/main/java/com/azure/resourcemanager/chaos/implementation/CapabilityTypeImpl.java","src/main/java/com/azure/resourcemanager/chaos/implementation/CapabilityTypesClientImpl.java","src/main/java/com/azure/resourcemanager/chaos/implementation/CapabilityTypesImpl.java","src/main/java/com/azure/resourcemanager/chaos/implementation/ChaosManagementClientBuilder.java","src/main/java/com/azure/resourcemanager/chaos/implementation/ChaosManagementClientImpl.java","src/main/java/com/azure/resourcemanager/chaos/implementation/DiscoveredResourceImpl.java","src/main/java/com/azure/resourcemanager/chaos/implementation/DiscoveredResourcesClientImpl.java","src/main/java/com/azure/resourcemanager/chaos/implementation/DiscoveredResourcesImpl.java","src/main/java/com/azure/resourcemanager/chaos/implementation/ExperimentExecutionDetailsImpl.java","src/main/java/com/azure/resourcemanager/chaos/implementation/ExperimentExecutionImpl.java","src/main/java/com/azure/resourcemanager/chaos/implementation/ExperimentImpl.java","src/main/java/com/azure/resourcemanager/chaos/implementation/ExperimentsClientImpl.java","src/main/java/com/azure/resourcemanager/chaos/implementation/ExperimentsImpl.java","src/main/java/com/azure/resourcemanager/chaos/implementation/OperationImpl.java","src/main/java/com/azure/resourcemanager/chaos/implementation/OperationStatusImpl.java","src/main/java/com/azure/resourcemanager/chaos/implementation/OperationStatusesClientImpl.java","src/main/java/com/azure/resourcemanager/chaos/implementation/OperationStatusesImpl.java","src/main/java/com/azure/resourcemanager/chaos/implementation/OperationsClientImpl.java","src/main/java/com/azure/resourcemanager/chaos/implementation/OperationsImpl.java","src/main/java/com/azure/resourcemanager/chaos/implementation/PrivateAccessImpl.java","src/main/java/com/azure/resourcemanager/chaos/implementation/PrivateAccessesClientImpl.java","src/main/java/com/azure/resourcemanager/chaos/implementation/PrivateAccessesImpl.java","src/main/java/com/azure/resourcemanager/chaos/implementation/PrivateEndpointConnectionImpl.java","src/main/java/com/azure/resourcemanager/chaos/implementation/PrivateLinkResourceListResultImpl.java","src/main/java/com/azure/resourcemanager/chaos/implementation/ResourceManagerUtils.java","src/main/java/com/azure/resourcemanager/chaos/implementation/ScenarioConfigurationImpl.java","src/main/java/com/azure/resourcemanager/chaos/implementation/ScenarioConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/chaos/implementation/ScenarioConfigurationsImpl.java","src/main/java/com/azure/resourcemanager/chaos/implementation/ScenarioImpl.java","src/main/java/com/azure/resourcemanager/chaos/implementation/ScenarioRunImpl.java","src/main/java/com/azure/resourcemanager/chaos/implementation/ScenarioRunsClientImpl.java","src/main/java/com/azure/resourcemanager/chaos/implementation/ScenarioRunsImpl.java","src/main/java/com/azure/resourcemanager/chaos/implementation/ScenariosClientImpl.java","src/main/java/com/azure/resourcemanager/chaos/implementation/ScenariosImpl.java","src/main/java/com/azure/resourcemanager/chaos/implementation/TargetImpl.java","src/main/java/com/azure/resourcemanager/chaos/implementation/TargetTypeImpl.java","src/main/java/com/azure/resourcemanager/chaos/implementation/TargetTypesClientImpl.java","src/main/java/com/azure/resourcemanager/chaos/implementation/TargetTypesImpl.java","src/main/java/com/azure/resourcemanager/chaos/implementation/TargetsClientImpl.java","src/main/java/com/azure/resourcemanager/chaos/implementation/TargetsImpl.java","src/main/java/com/azure/resourcemanager/chaos/implementation/WorkspaceImpl.java","src/main/java/com/azure/resourcemanager/chaos/implementation/WorkspacesClientImpl.java","src/main/java/com/azure/resourcemanager/chaos/implementation/WorkspacesImpl.java","src/main/java/com/azure/resourcemanager/chaos/implementation/models/ActionListResult.java","src/main/java/com/azure/resourcemanager/chaos/implementation/models/ActionVersionListResult.java","src/main/java/com/azure/resourcemanager/chaos/implementation/models/CapabilityListResult.java","src/main/java/com/azure/resourcemanager/chaos/implementation/models/CapabilityTypeListResult.java","src/main/java/com/azure/resourcemanager/chaos/implementation/models/DiscoveredResourceListResult.java","src/main/java/com/azure/resourcemanager/chaos/implementation/models/ExperimentExecutionListResult.java","src/main/java/com/azure/resourcemanager/chaos/implementation/models/ExperimentListResult.java","src/main/java/com/azure/resourcemanager/chaos/implementation/models/OperationListResult.java","src/main/java/com/azure/resourcemanager/chaos/implementation/models/PrivateAccessListResult.java","src/main/java/com/azure/resourcemanager/chaos/implementation/models/PrivateEndpointConnectionListResult.java","src/main/java/com/azure/resourcemanager/chaos/implementation/models/ScenarioConfigurationListResult.java","src/main/java/com/azure/resourcemanager/chaos/implementation/models/ScenarioListResult.java","src/main/java/com/azure/resourcemanager/chaos/implementation/models/ScenarioRunListResult.java","src/main/java/com/azure/resourcemanager/chaos/implementation/models/TargetListResult.java","src/main/java/com/azure/resourcemanager/chaos/implementation/models/TargetTypeListResult.java","src/main/java/com/azure/resourcemanager/chaos/implementation/models/WorkspaceListResult.java","src/main/java/com/azure/resourcemanager/chaos/implementation/package-info.java","src/main/java/com/azure/resourcemanager/chaos/models/Action.java","src/main/java/com/azure/resourcemanager/chaos/models/ActionDependency.java","src/main/java/com/azure/resourcemanager/chaos/models/ActionDependencyType.java","src/main/java/com/azure/resourcemanager/chaos/models/ActionKind.java","src/main/java/com/azure/resourcemanager/chaos/models/ActionLifecycle.java","src/main/java/com/azure/resourcemanager/chaos/models/ActionPropertiesParametersSchema.java","src/main/java/com/azure/resourcemanager/chaos/models/ActionStatus.java","src/main/java/com/azure/resourcemanager/chaos/models/ActionSupportedTargetType.java","src/main/java/com/azure/resourcemanager/chaos/models/ActionType.java","src/main/java/com/azure/resourcemanager/chaos/models/ActionVersion.java","src/main/java/com/azure/resourcemanager/chaos/models/ActionVersions.java","src/main/java/com/azure/resourcemanager/chaos/models/Actions.java","src/main/java/com/azure/resourcemanager/chaos/models/BranchStatus.java","src/main/java/com/azure/resourcemanager/chaos/models/Capabilities.java","src/main/java/com/azure/resourcemanager/chaos/models/Capability.java","src/main/java/com/azure/resourcemanager/chaos/models/CapabilityType.java","src/main/java/com/azure/resourcemanager/chaos/models/CapabilityTypePropertiesRuntimeProperties.java","src/main/java/com/azure/resourcemanager/chaos/models/CapabilityTypes.java","src/main/java/com/azure/resourcemanager/chaos/models/ChaosExperimentAction.java","src/main/java/com/azure/resourcemanager/chaos/models/ChaosExperimentBranch.java","src/main/java/com/azure/resourcemanager/chaos/models/ChaosExperimentStep.java","src/main/java/com/azure/resourcemanager/chaos/models/ChaosTargetFilter.java","src/main/java/com/azure/resourcemanager/chaos/models/ChaosTargetListSelector.java","src/main/java/com/azure/resourcemanager/chaos/models/ChaosTargetQuerySelector.java","src/main/java/com/azure/resourcemanager/chaos/models/ChaosTargetSelector.java","src/main/java/com/azure/resourcemanager/chaos/models/ChaosTargetSimpleFilter.java","src/main/java/com/azure/resourcemanager/chaos/models/ChaosTargetSimpleFilterParameters.java","src/main/java/com/azure/resourcemanager/chaos/models/ConfigurationExclusions.java","src/main/java/com/azure/resourcemanager/chaos/models/ConfigurationFilters.java","src/main/java/com/azure/resourcemanager/chaos/models/ContinuousAction.java","src/main/java/com/azure/resourcemanager/chaos/models/CustomerDataStorageProperties.java","src/main/java/com/azure/resourcemanager/chaos/models/DelayAction.java","src/main/java/com/azure/resourcemanager/chaos/models/DiscoveredResource.java","src/main/java/com/azure/resourcemanager/chaos/models/DiscoveredResourceProperties.java","src/main/java/com/azure/resourcemanager/chaos/models/DiscoveredResources.java","src/main/java/com/azure/resourcemanager/chaos/models/DiscreteAction.java","src/main/java/com/azure/resourcemanager/chaos/models/EntraIdentity.java","src/main/java/com/azure/resourcemanager/chaos/models/Experiment.java","src/main/java/com/azure/resourcemanager/chaos/models/ExperimentActionType.java","src/main/java/com/azure/resourcemanager/chaos/models/ExperimentExecution.java","src/main/java/com/azure/resourcemanager/chaos/models/ExperimentExecutionActionTargetDetailsError.java","src/main/java/com/azure/resourcemanager/chaos/models/ExperimentExecutionActionTargetDetailsProperties.java","src/main/java/com/azure/resourcemanager/chaos/models/ExperimentExecutionDetails.java","src/main/java/com/azure/resourcemanager/chaos/models/ExperimentExecutionDetailsPropertiesRunInformation.java","src/main/java/com/azure/resourcemanager/chaos/models/ExperimentUpdate.java","src/main/java/com/azure/resourcemanager/chaos/models/Experiments.java","src/main/java/com/azure/resourcemanager/chaos/models/ExternalResource.java","src/main/java/com/azure/resourcemanager/chaos/models/FilterType.java","src/main/java/com/azure/resourcemanager/chaos/models/FixResourcePermissionsRequest.java","src/main/java/com/azure/resourcemanager/chaos/models/KeyValuePair.java","src/main/java/com/azure/resourcemanager/chaos/models/ManagedServiceIdentityType.java","src/main/java/com/azure/resourcemanager/chaos/models/Operation.java","src/main/java/com/azure/resourcemanager/chaos/models/OperationDisplay.java","src/main/java/com/azure/resourcemanager/chaos/models/OperationError.java","src/main/java/com/azure/resourcemanager/chaos/models/OperationStatus.java","src/main/java/com/azure/resourcemanager/chaos/models/OperationStatuses.java","src/main/java/com/azure/resourcemanager/chaos/models/Operations.java","src/main/java/com/azure/resourcemanager/chaos/models/Origin.java","src/main/java/com/azure/resourcemanager/chaos/models/ParameterType.java","src/main/java/com/azure/resourcemanager/chaos/models/PermissionError.java","src/main/java/com/azure/resourcemanager/chaos/models/PermissionsFix.java","src/main/java/com/azure/resourcemanager/chaos/models/PermissionsFixProperties.java","src/main/java/com/azure/resourcemanager/chaos/models/PermissionsFixState.java","src/main/java/com/azure/resourcemanager/chaos/models/PermissionsFixSummary.java","src/main/java/com/azure/resourcemanager/chaos/models/PhysicalToLogicalZoneMapping.java","src/main/java/com/azure/resourcemanager/chaos/models/PrivateAccess.java","src/main/java/com/azure/resourcemanager/chaos/models/PrivateAccessPatch.java","src/main/java/com/azure/resourcemanager/chaos/models/PrivateAccessProperties.java","src/main/java/com/azure/resourcemanager/chaos/models/PrivateAccesses.java","src/main/java/com/azure/resourcemanager/chaos/models/PrivateEndpoint.java","src/main/java/com/azure/resourcemanager/chaos/models/PrivateEndpointConnection.java","src/main/java/com/azure/resourcemanager/chaos/models/PrivateEndpointConnectionProperties.java","src/main/java/com/azure/resourcemanager/chaos/models/PrivateEndpointServiceConnectionStatus.java","src/main/java/com/azure/resourcemanager/chaos/models/PrivateLinkResource.java","src/main/java/com/azure/resourcemanager/chaos/models/PrivateLinkResourceListResult.java","src/main/java/com/azure/resourcemanager/chaos/models/PrivateLinkResourceProperties.java","src/main/java/com/azure/resourcemanager/chaos/models/PrivateLinkServiceConnectionState.java","src/main/java/com/azure/resourcemanager/chaos/models/ProvisioningState.java","src/main/java/com/azure/resourcemanager/chaos/models/PublicNetworkAccessOption.java","src/main/java/com/azure/resourcemanager/chaos/models/Recommendation.java","src/main/java/com/azure/resourcemanager/chaos/models/RecommendationStatus.java","src/main/java/com/azure/resourcemanager/chaos/models/ResourceIdentity.java","src/main/java/com/azure/resourcemanager/chaos/models/ResourceStateError.java","src/main/java/com/azure/resourcemanager/chaos/models/RoleAssignmentError.java","src/main/java/com/azure/resourcemanager/chaos/models/RoleAssignmentResult.java","src/main/java/com/azure/resourcemanager/chaos/models/RoleAssignmentStatus.java","src/main/java/com/azure/resourcemanager/chaos/models/RunAfter.java","src/main/java/com/azure/resourcemanager/chaos/models/RunAfterBehavior.java","src/main/java/com/azure/resourcemanager/chaos/models/Scenario.java","src/main/java/com/azure/resourcemanager/chaos/models/ScenarioAction.java","src/main/java/com/azure/resourcemanager/chaos/models/ScenarioConfiguration.java","src/main/java/com/azure/resourcemanager/chaos/models/ScenarioConfigurationProperties.java","src/main/java/com/azure/resourcemanager/chaos/models/ScenarioConfigurations.java","src/main/java/com/azure/resourcemanager/chaos/models/ScenarioErrors.java","src/main/java/com/azure/resourcemanager/chaos/models/ScenarioEvaluationResultItem.java","src/main/java/com/azure/resourcemanager/chaos/models/ScenarioParameter.java","src/main/java/com/azure/resourcemanager/chaos/models/ScenarioProperties.java","src/main/java/com/azure/resourcemanager/chaos/models/ScenarioRun.java","src/main/java/com/azure/resourcemanager/chaos/models/ScenarioRunProperties.java","src/main/java/com/azure/resourcemanager/chaos/models/ScenarioRunResource.java","src/main/java/com/azure/resourcemanager/chaos/models/ScenarioRunState.java","src/main/java/com/azure/resourcemanager/chaos/models/ScenarioRunSummaryAction.java","src/main/java/com/azure/resourcemanager/chaos/models/ScenarioRuns.java","src/main/java/com/azure/resourcemanager/chaos/models/ScenarioRunsGetHeaders.java","src/main/java/com/azure/resourcemanager/chaos/models/ScenarioRunsGetResponse.java","src/main/java/com/azure/resourcemanager/chaos/models/ScenarioSummaryState.java","src/main/java/com/azure/resourcemanager/chaos/models/ScenarioValidationState.java","src/main/java/com/azure/resourcemanager/chaos/models/Scenarios.java","src/main/java/com/azure/resourcemanager/chaos/models/SelectorType.java","src/main/java/com/azure/resourcemanager/chaos/models/StepStatus.java","src/main/java/com/azure/resourcemanager/chaos/models/Target.java","src/main/java/com/azure/resourcemanager/chaos/models/TargetReference.java","src/main/java/com/azure/resourcemanager/chaos/models/TargetReferenceType.java","src/main/java/com/azure/resourcemanager/chaos/models/TargetType.java","src/main/java/com/azure/resourcemanager/chaos/models/TargetTypes.java","src/main/java/com/azure/resourcemanager/chaos/models/Targets.java","src/main/java/com/azure/resourcemanager/chaos/models/UserAssignedIdentity.java","src/main/java/com/azure/resourcemanager/chaos/models/Validation.java","src/main/java/com/azure/resourcemanager/chaos/models/ValidationProperties.java","src/main/java/com/azure/resourcemanager/chaos/models/Workspace.java","src/main/java/com/azure/resourcemanager/chaos/models/WorkspaceEvaluation.java","src/main/java/com/azure/resourcemanager/chaos/models/WorkspaceEvaluationProperties.java","src/main/java/com/azure/resourcemanager/chaos/models/WorkspaceEvaluationStatus.java","src/main/java/com/azure/resourcemanager/chaos/models/WorkspaceProperties.java","src/main/java/com/azure/resourcemanager/chaos/models/WorkspaceUpdate.java","src/main/java/com/azure/resourcemanager/chaos/models/Workspaces.java","src/main/java/com/azure/resourcemanager/chaos/models/ZoneResolutionInfo.java","src/main/java/com/azure/resourcemanager/chaos/models/ZoneResolutionMapping.java","src/main/java/com/azure/resourcemanager/chaos/models/ZoneResolutionMode.java","src/main/java/com/azure/resourcemanager/chaos/models/package-info.java","src/main/java/com/azure/resourcemanager/chaos/package-info.java","src/main/java/module-info.java"]}
\ No newline at end of file
+{"flavor":"azure","apiVersions":{"Microsoft.Chaos":"2026-08-01-preview"},"crossLanguagePackageId":"Microsoft.Chaos","crossLanguageVersion":"23168285983f","crossLanguageDefinitions":{"com.azure.resourcemanager.chaos.fluent.ActionVersionsClient":"Microsoft.Chaos.ActionVersions","com.azure.resourcemanager.chaos.fluent.ActionVersionsClient.get":"Microsoft.Chaos.ActionVersions.get","com.azure.resourcemanager.chaos.fluent.ActionVersionsClient.getWithResponse":"Microsoft.Chaos.ActionVersions.get","com.azure.resourcemanager.chaos.fluent.ActionVersionsClient.list":"Microsoft.Chaos.ActionVersions.list","com.azure.resourcemanager.chaos.fluent.ActionsClient":"Microsoft.Chaos.Actions","com.azure.resourcemanager.chaos.fluent.ActionsClient.get":"Microsoft.Chaos.Actions.get","com.azure.resourcemanager.chaos.fluent.ActionsClient.getWithResponse":"Microsoft.Chaos.Actions.get","com.azure.resourcemanager.chaos.fluent.ActionsClient.list":"Microsoft.Chaos.Actions.list","com.azure.resourcemanager.chaos.fluent.CapabilitiesClient":"Microsoft.Chaos.Capabilities","com.azure.resourcemanager.chaos.fluent.CapabilitiesClient.createOrUpdate":"Microsoft.Chaos.Capabilities.createOrUpdate","com.azure.resourcemanager.chaos.fluent.CapabilitiesClient.createOrUpdateWithResponse":"Microsoft.Chaos.Capabilities.createOrUpdate","com.azure.resourcemanager.chaos.fluent.CapabilitiesClient.delete":"Microsoft.Chaos.Capabilities.delete","com.azure.resourcemanager.chaos.fluent.CapabilitiesClient.deleteWithResponse":"Microsoft.Chaos.Capabilities.delete","com.azure.resourcemanager.chaos.fluent.CapabilitiesClient.get":"Microsoft.Chaos.Capabilities.get","com.azure.resourcemanager.chaos.fluent.CapabilitiesClient.getWithResponse":"Microsoft.Chaos.Capabilities.get","com.azure.resourcemanager.chaos.fluent.CapabilitiesClient.list":"Microsoft.Chaos.Capabilities.list","com.azure.resourcemanager.chaos.fluent.CapabilityTypesClient":"Microsoft.Chaos.CapabilityTypes","com.azure.resourcemanager.chaos.fluent.CapabilityTypesClient.get":"Microsoft.Chaos.CapabilityTypes.get","com.azure.resourcemanager.chaos.fluent.CapabilityTypesClient.getWithResponse":"Microsoft.Chaos.CapabilityTypes.get","com.azure.resourcemanager.chaos.fluent.CapabilityTypesClient.list":"Microsoft.Chaos.CapabilityTypes.list","com.azure.resourcemanager.chaos.fluent.ChaosManagementClient":"Microsoft.Chaos","com.azure.resourcemanager.chaos.fluent.ConnectionsClient":"Microsoft.Chaos.Connections","com.azure.resourcemanager.chaos.fluent.ConnectionsClient.createOrUpdate":"Microsoft.Chaos.Connections.createOrUpdate","com.azure.resourcemanager.chaos.fluent.ConnectionsClient.createOrUpdateWithResponse":"Microsoft.Chaos.Connections.createOrUpdate","com.azure.resourcemanager.chaos.fluent.ConnectionsClient.delete":"Microsoft.Chaos.Connections.delete","com.azure.resourcemanager.chaos.fluent.ConnectionsClient.deleteWithResponse":"Microsoft.Chaos.Connections.delete","com.azure.resourcemanager.chaos.fluent.ConnectionsClient.get":"Microsoft.Chaos.Connections.get","com.azure.resourcemanager.chaos.fluent.ConnectionsClient.getWithResponse":"Microsoft.Chaos.Connections.get","com.azure.resourcemanager.chaos.fluent.ConnectionsClient.listAll":"Microsoft.Chaos.Connections.listAll","com.azure.resourcemanager.chaos.fluent.DiscoveredResourcesClient":"Microsoft.Chaos.DiscoveredResources","com.azure.resourcemanager.chaos.fluent.DiscoveredResourcesClient.get":"Microsoft.Chaos.DiscoveredResources.get","com.azure.resourcemanager.chaos.fluent.DiscoveredResourcesClient.getWithResponse":"Microsoft.Chaos.DiscoveredResources.get","com.azure.resourcemanager.chaos.fluent.DiscoveredResourcesClient.listByWorkspace":"Microsoft.Chaos.DiscoveredResources.listByWorkspace","com.azure.resourcemanager.chaos.fluent.ExperimentsClient":"Microsoft.Chaos.Experiments","com.azure.resourcemanager.chaos.fluent.ExperimentsClient.beginCancel":"Microsoft.Chaos.Experiments.cancel","com.azure.resourcemanager.chaos.fluent.ExperimentsClient.beginCreateOrUpdate":"Microsoft.Chaos.Experiments.createOrUpdate","com.azure.resourcemanager.chaos.fluent.ExperimentsClient.beginDelete":"Microsoft.Chaos.Experiments.delete","com.azure.resourcemanager.chaos.fluent.ExperimentsClient.beginStart":"Microsoft.Chaos.Experiments.start","com.azure.resourcemanager.chaos.fluent.ExperimentsClient.beginUpdate":"Microsoft.Chaos.Experiments.update","com.azure.resourcemanager.chaos.fluent.ExperimentsClient.cancel":"Microsoft.Chaos.Experiments.cancel","com.azure.resourcemanager.chaos.fluent.ExperimentsClient.createOrUpdate":"Microsoft.Chaos.Experiments.createOrUpdate","com.azure.resourcemanager.chaos.fluent.ExperimentsClient.delete":"Microsoft.Chaos.Experiments.delete","com.azure.resourcemanager.chaos.fluent.ExperimentsClient.executionDetails":"Microsoft.Chaos.ExperimentExecutions.getExecutionDetails","com.azure.resourcemanager.chaos.fluent.ExperimentsClient.executionDetailsWithResponse":"Microsoft.Chaos.ExperimentExecutions.getExecutionDetails","com.azure.resourcemanager.chaos.fluent.ExperimentsClient.getByResourceGroup":"Microsoft.Chaos.Experiments.get","com.azure.resourcemanager.chaos.fluent.ExperimentsClient.getByResourceGroupWithResponse":"Microsoft.Chaos.Experiments.get","com.azure.resourcemanager.chaos.fluent.ExperimentsClient.getExecution":"Microsoft.Chaos.ExperimentExecutions.getExecution","com.azure.resourcemanager.chaos.fluent.ExperimentsClient.getExecutionWithResponse":"Microsoft.Chaos.ExperimentExecutions.getExecution","com.azure.resourcemanager.chaos.fluent.ExperimentsClient.list":"Microsoft.Chaos.Experiments.listAll","com.azure.resourcemanager.chaos.fluent.ExperimentsClient.listAllExecutions":"Microsoft.Chaos.ExperimentExecutions.listAllExecutions","com.azure.resourcemanager.chaos.fluent.ExperimentsClient.listByResourceGroup":"Microsoft.Chaos.Experiments.list","com.azure.resourcemanager.chaos.fluent.ExperimentsClient.start":"Microsoft.Chaos.Experiments.start","com.azure.resourcemanager.chaos.fluent.ExperimentsClient.update":"Microsoft.Chaos.Experiments.update","com.azure.resourcemanager.chaos.fluent.OperationStatusesClient":"Microsoft.Chaos.OperationStatuses","com.azure.resourcemanager.chaos.fluent.OperationStatusesClient.get":"Microsoft.Chaos.OperationStatuses.get","com.azure.resourcemanager.chaos.fluent.OperationStatusesClient.getWithResponse":"Microsoft.Chaos.OperationStatuses.get","com.azure.resourcemanager.chaos.fluent.OperationsClient":"Microsoft.Chaos.Operations","com.azure.resourcemanager.chaos.fluent.OperationsClient.list":"Azure.ResourceManager.Operations.list","com.azure.resourcemanager.chaos.fluent.PrivateAccessesClient":"Microsoft.Chaos.PrivateAccesses","com.azure.resourcemanager.chaos.fluent.PrivateAccessesClient.beginCreateOrUpdate":"Microsoft.Chaos.PrivateAccesses.createOrUpdate","com.azure.resourcemanager.chaos.fluent.PrivateAccessesClient.beginDelete":"Microsoft.Chaos.PrivateAccesses.delete","com.azure.resourcemanager.chaos.fluent.PrivateAccessesClient.beginDeleteAPrivateEndpointConnection":"Microsoft.Chaos.PrivateEndpointConnections.deleteAPrivateEndpointConnection","com.azure.resourcemanager.chaos.fluent.PrivateAccessesClient.beginUpdate":"Microsoft.Chaos.PrivateAccesses.update","com.azure.resourcemanager.chaos.fluent.PrivateAccessesClient.createOrUpdate":"Microsoft.Chaos.PrivateAccesses.createOrUpdate","com.azure.resourcemanager.chaos.fluent.PrivateAccessesClient.delete":"Microsoft.Chaos.PrivateAccesses.delete","com.azure.resourcemanager.chaos.fluent.PrivateAccessesClient.deleteAPrivateEndpointConnection":"Microsoft.Chaos.PrivateEndpointConnections.deleteAPrivateEndpointConnection","com.azure.resourcemanager.chaos.fluent.PrivateAccessesClient.getAPrivateEndpointConnection":"Microsoft.Chaos.PrivateEndpointConnections.getAPrivateEndpointConnection","com.azure.resourcemanager.chaos.fluent.PrivateAccessesClient.getAPrivateEndpointConnectionWithResponse":"Microsoft.Chaos.PrivateEndpointConnections.getAPrivateEndpointConnection","com.azure.resourcemanager.chaos.fluent.PrivateAccessesClient.getByResourceGroup":"Microsoft.Chaos.PrivateAccesses.get","com.azure.resourcemanager.chaos.fluent.PrivateAccessesClient.getByResourceGroupWithResponse":"Microsoft.Chaos.PrivateAccesses.get","com.azure.resourcemanager.chaos.fluent.PrivateAccessesClient.getPrivateLinkResources":"Microsoft.Chaos.PrivateAccesses.privateLinkResources","com.azure.resourcemanager.chaos.fluent.PrivateAccessesClient.getPrivateLinkResourcesWithResponse":"Microsoft.Chaos.PrivateAccesses.privateLinkResources","com.azure.resourcemanager.chaos.fluent.PrivateAccessesClient.list":"Microsoft.Chaos.PrivateAccesses.listAll","com.azure.resourcemanager.chaos.fluent.PrivateAccessesClient.listByResourceGroup":"Microsoft.Chaos.PrivateAccesses.list","com.azure.resourcemanager.chaos.fluent.PrivateAccessesClient.listPrivateEndpointConnections":"Microsoft.Chaos.PrivateEndpointConnections.listPrivateEndpointConnections","com.azure.resourcemanager.chaos.fluent.PrivateAccessesClient.update":"Microsoft.Chaos.PrivateAccesses.update","com.azure.resourcemanager.chaos.fluent.ScenarioConfigurationsClient":"Microsoft.Chaos.ScenarioConfigurations","com.azure.resourcemanager.chaos.fluent.ScenarioConfigurationsClient.beginCreateOrUpdate":"Microsoft.Chaos.ScenarioConfigurations.createOrUpdate","com.azure.resourcemanager.chaos.fluent.ScenarioConfigurationsClient.beginDelete":"Microsoft.Chaos.ScenarioConfigurations.delete","com.azure.resourcemanager.chaos.fluent.ScenarioConfigurationsClient.beginExecute":"Microsoft.Chaos.ScenarioConfigurations.execute","com.azure.resourcemanager.chaos.fluent.ScenarioConfigurationsClient.beginFixResourcePermissions":"Microsoft.Chaos.ScenarioConfigurations.fixResourcePermissions","com.azure.resourcemanager.chaos.fluent.ScenarioConfigurationsClient.beginValidate":"Microsoft.Chaos.ScenarioConfigurations.validate","com.azure.resourcemanager.chaos.fluent.ScenarioConfigurationsClient.createOrUpdate":"Microsoft.Chaos.ScenarioConfigurations.createOrUpdate","com.azure.resourcemanager.chaos.fluent.ScenarioConfigurationsClient.delete":"Microsoft.Chaos.ScenarioConfigurations.delete","com.azure.resourcemanager.chaos.fluent.ScenarioConfigurationsClient.execute":"Microsoft.Chaos.ScenarioConfigurations.execute","com.azure.resourcemanager.chaos.fluent.ScenarioConfigurationsClient.fixResourcePermissions":"Microsoft.Chaos.ScenarioConfigurations.fixResourcePermissions","com.azure.resourcemanager.chaos.fluent.ScenarioConfigurationsClient.get":"Microsoft.Chaos.ScenarioConfigurations.get","com.azure.resourcemanager.chaos.fluent.ScenarioConfigurationsClient.getWithResponse":"Microsoft.Chaos.ScenarioConfigurations.get","com.azure.resourcemanager.chaos.fluent.ScenarioConfigurationsClient.listAll":"Microsoft.Chaos.ScenarioConfigurations.listAll","com.azure.resourcemanager.chaos.fluent.ScenarioConfigurationsClient.validate":"Microsoft.Chaos.ScenarioConfigurations.validate","com.azure.resourcemanager.chaos.fluent.ScenarioRunsClient":"Microsoft.Chaos.ScenarioRuns","com.azure.resourcemanager.chaos.fluent.ScenarioRunsClient.beginCancel":"Microsoft.Chaos.ScenarioRuns.cancel","com.azure.resourcemanager.chaos.fluent.ScenarioRunsClient.cancel":"Microsoft.Chaos.ScenarioRuns.cancel","com.azure.resourcemanager.chaos.fluent.ScenarioRunsClient.get":"Microsoft.Chaos.ScenarioRuns.get","com.azure.resourcemanager.chaos.fluent.ScenarioRunsClient.getWithResponse":"Microsoft.Chaos.ScenarioRuns.get","com.azure.resourcemanager.chaos.fluent.ScenarioRunsClient.listAll":"Microsoft.Chaos.ScenarioRuns.listAll","com.azure.resourcemanager.chaos.fluent.ScenariosClient":"Microsoft.Chaos.Scenarios","com.azure.resourcemanager.chaos.fluent.ScenariosClient.createOrUpdate":"Microsoft.Chaos.Scenarios.createOrUpdate","com.azure.resourcemanager.chaos.fluent.ScenariosClient.createOrUpdateWithResponse":"Microsoft.Chaos.Scenarios.createOrUpdate","com.azure.resourcemanager.chaos.fluent.ScenariosClient.delete":"Microsoft.Chaos.Scenarios.delete","com.azure.resourcemanager.chaos.fluent.ScenariosClient.deleteWithResponse":"Microsoft.Chaos.Scenarios.delete","com.azure.resourcemanager.chaos.fluent.ScenariosClient.get":"Microsoft.Chaos.Scenarios.get","com.azure.resourcemanager.chaos.fluent.ScenariosClient.getWithResponse":"Microsoft.Chaos.Scenarios.get","com.azure.resourcemanager.chaos.fluent.ScenariosClient.listAll":"Microsoft.Chaos.Scenarios.listAll","com.azure.resourcemanager.chaos.fluent.TargetTypesClient":"Microsoft.Chaos.TargetTypes","com.azure.resourcemanager.chaos.fluent.TargetTypesClient.get":"Microsoft.Chaos.TargetTypes.get","com.azure.resourcemanager.chaos.fluent.TargetTypesClient.getWithResponse":"Microsoft.Chaos.TargetTypes.get","com.azure.resourcemanager.chaos.fluent.TargetTypesClient.list":"Microsoft.Chaos.TargetTypes.list","com.azure.resourcemanager.chaos.fluent.TargetsClient":"Microsoft.Chaos.Targets","com.azure.resourcemanager.chaos.fluent.TargetsClient.createOrUpdate":"Microsoft.Chaos.Targets.createOrUpdate","com.azure.resourcemanager.chaos.fluent.TargetsClient.createOrUpdateWithResponse":"Microsoft.Chaos.Targets.createOrUpdate","com.azure.resourcemanager.chaos.fluent.TargetsClient.delete":"Microsoft.Chaos.Targets.delete","com.azure.resourcemanager.chaos.fluent.TargetsClient.deleteWithResponse":"Microsoft.Chaos.Targets.delete","com.azure.resourcemanager.chaos.fluent.TargetsClient.get":"Microsoft.Chaos.Targets.get","com.azure.resourcemanager.chaos.fluent.TargetsClient.getWithResponse":"Microsoft.Chaos.Targets.get","com.azure.resourcemanager.chaos.fluent.TargetsClient.list":"Microsoft.Chaos.Targets.list","com.azure.resourcemanager.chaos.fluent.WorkspacesClient":"Microsoft.Chaos.Workspaces","com.azure.resourcemanager.chaos.fluent.WorkspacesClient.beginCreateOrUpdate":"Microsoft.Chaos.Workspaces.createOrUpdate","com.azure.resourcemanager.chaos.fluent.WorkspacesClient.beginDelete":"Microsoft.Chaos.Workspaces.delete","com.azure.resourcemanager.chaos.fluent.WorkspacesClient.beginDiscover":"Microsoft.Chaos.Workspaces.discover","com.azure.resourcemanager.chaos.fluent.WorkspacesClient.beginEvaluate":"Microsoft.Chaos.Workspaces.evaluate","com.azure.resourcemanager.chaos.fluent.WorkspacesClient.beginUpdate":"Microsoft.Chaos.Workspaces.update","com.azure.resourcemanager.chaos.fluent.WorkspacesClient.createOrUpdate":"Microsoft.Chaos.Workspaces.createOrUpdate","com.azure.resourcemanager.chaos.fluent.WorkspacesClient.delete":"Microsoft.Chaos.Workspaces.delete","com.azure.resourcemanager.chaos.fluent.WorkspacesClient.discover":"Microsoft.Chaos.Workspaces.discover","com.azure.resourcemanager.chaos.fluent.WorkspacesClient.evaluate":"Microsoft.Chaos.Workspaces.evaluate","com.azure.resourcemanager.chaos.fluent.WorkspacesClient.getByResourceGroup":"Microsoft.Chaos.Workspaces.get","com.azure.resourcemanager.chaos.fluent.WorkspacesClient.getByResourceGroupWithResponse":"Microsoft.Chaos.Workspaces.get","com.azure.resourcemanager.chaos.fluent.WorkspacesClient.list":"Microsoft.Chaos.Workspaces.listAll","com.azure.resourcemanager.chaos.fluent.WorkspacesClient.listByResourceGroup":"Microsoft.Chaos.Workspaces.list","com.azure.resourcemanager.chaos.fluent.WorkspacesClient.update":"Microsoft.Chaos.Workspaces.update","com.azure.resourcemanager.chaos.fluent.models.ActionInner":"Microsoft.Chaos.Action","com.azure.resourcemanager.chaos.fluent.models.ActionProperties":"Microsoft.Chaos.ActionProperties","com.azure.resourcemanager.chaos.fluent.models.ActionVersionInner":"Microsoft.Chaos.ActionVersion","com.azure.resourcemanager.chaos.fluent.models.CapabilityInner":"Microsoft.Chaos.Capability","com.azure.resourcemanager.chaos.fluent.models.CapabilityProperties":"Microsoft.Chaos.CapabilityProperties","com.azure.resourcemanager.chaos.fluent.models.CapabilityTypeInner":"Microsoft.Chaos.CapabilityType","com.azure.resourcemanager.chaos.fluent.models.CapabilityTypeProperties":"Microsoft.Chaos.CapabilityTypeProperties","com.azure.resourcemanager.chaos.fluent.models.ConnectionInner":"Microsoft.Chaos.Connection","com.azure.resourcemanager.chaos.fluent.models.DiscoveredResourceInner":"Microsoft.Chaos.DiscoveredResource","com.azure.resourcemanager.chaos.fluent.models.ExperimentExecutionDetailsInner":"Microsoft.Chaos.ExperimentExecutionDetails","com.azure.resourcemanager.chaos.fluent.models.ExperimentExecutionDetailsProperties":"Microsoft.Chaos.ExperimentExecutionDetailsProperties","com.azure.resourcemanager.chaos.fluent.models.ExperimentExecutionInner":"Microsoft.Chaos.ExperimentExecution","com.azure.resourcemanager.chaos.fluent.models.ExperimentExecutionProperties":"Microsoft.Chaos.ExperimentExecutionProperties","com.azure.resourcemanager.chaos.fluent.models.ExperimentInner":"Microsoft.Chaos.Experiment","com.azure.resourcemanager.chaos.fluent.models.ExperimentProperties":"Microsoft.Chaos.ExperimentProperties","com.azure.resourcemanager.chaos.fluent.models.OperationInner":"Azure.ResourceManager.CommonTypes.Operation","com.azure.resourcemanager.chaos.fluent.models.OperationStatusInner":"Azure.ResourceManager.CommonTypes.OperationStatusResult","com.azure.resourcemanager.chaos.fluent.models.PrivateAccessInner":"Microsoft.Chaos.PrivateAccess","com.azure.resourcemanager.chaos.fluent.models.PrivateEndpointConnectionInner":"Microsoft.Chaos.PrivateEndpointConnection","com.azure.resourcemanager.chaos.fluent.models.PrivateLinkResourceListResultInner":"Microsoft.Chaos.PrivateLinkResourceListResult","com.azure.resourcemanager.chaos.fluent.models.ScenarioConfigurationInner":"Microsoft.Chaos.ScenarioConfiguration","com.azure.resourcemanager.chaos.fluent.models.ScenarioInner":"Microsoft.Chaos.Scenario","com.azure.resourcemanager.chaos.fluent.models.ScenarioRunInner":"Microsoft.Chaos.ScenarioRun","com.azure.resourcemanager.chaos.fluent.models.TargetInner":"Microsoft.Chaos.Target","com.azure.resourcemanager.chaos.fluent.models.TargetTypeInner":"Microsoft.Chaos.TargetType","com.azure.resourcemanager.chaos.fluent.models.TargetTypeProperties":"Microsoft.Chaos.TargetTypeProperties","com.azure.resourcemanager.chaos.fluent.models.WorkspaceInner":"Microsoft.Chaos.Workspace","com.azure.resourcemanager.chaos.implementation.ChaosManagementClientBuilder":"Microsoft.Chaos","com.azure.resourcemanager.chaos.implementation.models.ActionListResult":"Microsoft.Chaos.ActionListResult","com.azure.resourcemanager.chaos.implementation.models.ActionVersionListResult":"Microsoft.Chaos.ActionVersionListResult","com.azure.resourcemanager.chaos.implementation.models.CapabilityListResult":"Microsoft.Chaos.CapabilityListResult","com.azure.resourcemanager.chaos.implementation.models.CapabilityTypeListResult":"Microsoft.Chaos.CapabilityTypeListResult","com.azure.resourcemanager.chaos.implementation.models.ConnectionListResult":"Microsoft.Chaos.ConnectionListResult","com.azure.resourcemanager.chaos.implementation.models.DiscoveredResourceListResult":"Microsoft.Chaos.DiscoveredResourceListResult","com.azure.resourcemanager.chaos.implementation.models.ExperimentExecutionListResult":"Microsoft.Chaos.ExperimentExecutionListResult","com.azure.resourcemanager.chaos.implementation.models.ExperimentListResult":"Microsoft.Chaos.ExperimentListResult","com.azure.resourcemanager.chaos.implementation.models.OperationListResult":"Azure.ResourceManager.CommonTypes.OperationListResult","com.azure.resourcemanager.chaos.implementation.models.PrivateAccessListResult":"Microsoft.Chaos.PrivateAccessListResult","com.azure.resourcemanager.chaos.implementation.models.PrivateEndpointConnectionListResult":"Microsoft.Chaos.PrivateEndpointConnectionListResult","com.azure.resourcemanager.chaos.implementation.models.ScenarioConfigurationListResult":"Microsoft.Chaos.ScenarioConfigurationListResult","com.azure.resourcemanager.chaos.implementation.models.ScenarioListResult":"Microsoft.Chaos.ScenarioListResult","com.azure.resourcemanager.chaos.implementation.models.ScenarioRunListResult":"Microsoft.Chaos.ScenarioRunListResult","com.azure.resourcemanager.chaos.implementation.models.TargetListResult":"Microsoft.Chaos.TargetListResult","com.azure.resourcemanager.chaos.implementation.models.TargetTypeListResult":"Microsoft.Chaos.TargetTypeListResult","com.azure.resourcemanager.chaos.implementation.models.WorkspaceListResult":"Microsoft.Chaos.WorkspaceListResult","com.azure.resourcemanager.chaos.models.ActionDependency":"Microsoft.Chaos.ActionDependency","com.azure.resourcemanager.chaos.models.ActionDependencyType":"Microsoft.Chaos.ActionDependencyType","com.azure.resourcemanager.chaos.models.ActionKind":"Microsoft.Chaos.ActionKind","com.azure.resourcemanager.chaos.models.ActionLifecycle":"Microsoft.Chaos.ActionLifecycle","com.azure.resourcemanager.chaos.models.ActionPropertiesParametersSchema":"Microsoft.Chaos.ActionProperties.parametersSchema.anonymous","com.azure.resourcemanager.chaos.models.ActionStatus":"Microsoft.Chaos.ActionStatus","com.azure.resourcemanager.chaos.models.ActionSupportedTargetType":"Microsoft.Chaos.ActionSupportedTargetType","com.azure.resourcemanager.chaos.models.ActionType":"Azure.ResourceManager.CommonTypes.ActionType","com.azure.resourcemanager.chaos.models.BranchStatus":"Microsoft.Chaos.BranchStatus","com.azure.resourcemanager.chaos.models.CapabilityTypePropertiesRuntimeProperties":"Microsoft.Chaos.CapabilityTypePropertiesRuntimeProperties","com.azure.resourcemanager.chaos.models.ChaosExperimentAction":"Microsoft.Chaos.ChaosExperimentAction","com.azure.resourcemanager.chaos.models.ChaosExperimentBranch":"Microsoft.Chaos.ChaosExperimentBranch","com.azure.resourcemanager.chaos.models.ChaosExperimentStep":"Microsoft.Chaos.ChaosExperimentStep","com.azure.resourcemanager.chaos.models.ChaosTargetFilter":"Microsoft.Chaos.ChaosTargetFilter","com.azure.resourcemanager.chaos.models.ChaosTargetListSelector":"Microsoft.Chaos.ChaosTargetListSelector","com.azure.resourcemanager.chaos.models.ChaosTargetQuerySelector":"Microsoft.Chaos.ChaosTargetQuerySelector","com.azure.resourcemanager.chaos.models.ChaosTargetSelector":"Microsoft.Chaos.ChaosTargetSelector","com.azure.resourcemanager.chaos.models.ChaosTargetSimpleFilter":"Microsoft.Chaos.ChaosTargetSimpleFilter","com.azure.resourcemanager.chaos.models.ChaosTargetSimpleFilterParameters":"Microsoft.Chaos.ChaosTargetSimpleFilterParameters","com.azure.resourcemanager.chaos.models.ConnectionKind":"Microsoft.Chaos.ConnectionKind","com.azure.resourcemanager.chaos.models.ConnectionProperties":"Microsoft.Chaos.ConnectionProperties","com.azure.resourcemanager.chaos.models.ConnectionStatus":"Microsoft.Chaos.ConnectionStatus","com.azure.resourcemanager.chaos.models.ContinuousAction":"Microsoft.Chaos.ContinuousAction","com.azure.resourcemanager.chaos.models.CustomerDataStorageProperties":"Microsoft.Chaos.CustomerDataStorageProperties","com.azure.resourcemanager.chaos.models.DelayAction":"Microsoft.Chaos.DelayAction","com.azure.resourcemanager.chaos.models.DiscoveredResourceProperties":"Microsoft.Chaos.DiscoveredResourceProperties","com.azure.resourcemanager.chaos.models.DiscreteAction":"Microsoft.Chaos.DiscreteAction","com.azure.resourcemanager.chaos.models.EntraIdentity":"Microsoft.Chaos.EntraIdentity","com.azure.resourcemanager.chaos.models.ExperimentActionType":"Microsoft.Chaos.ExperimentActionType","com.azure.resourcemanager.chaos.models.ExperimentExecutionActionTargetDetailsError":"Microsoft.Chaos.ExperimentExecutionActionTargetDetailsError","com.azure.resourcemanager.chaos.models.ExperimentExecutionActionTargetDetailsProperties":"Microsoft.Chaos.ExperimentExecutionActionTargetDetailsProperties","com.azure.resourcemanager.chaos.models.ExperimentExecutionDetailsPropertiesRunInformation":"Microsoft.Chaos.ExperimentExecutionDetailsPropertiesRunInformation","com.azure.resourcemanager.chaos.models.ExperimentUpdate":"Microsoft.Chaos.ExperimentUpdate","com.azure.resourcemanager.chaos.models.ExternalResource":"Microsoft.Chaos.ExternalResource","com.azure.resourcemanager.chaos.models.FilterType":"Microsoft.Chaos.FilterType","com.azure.resourcemanager.chaos.models.FixResourcePermissionsRequest":"Microsoft.Chaos.FixResourcePermissionsRequest","com.azure.resourcemanager.chaos.models.KeyValuePair":"Microsoft.Chaos.KeyValuePair","com.azure.resourcemanager.chaos.models.ManagedServiceIdentityType":"Azure.ResourceManager.CommonTypes.ManagedServiceIdentityType","com.azure.resourcemanager.chaos.models.OperationDisplay":"Azure.ResourceManager.CommonTypes.OperationDisplay","com.azure.resourcemanager.chaos.models.OperationError":"Microsoft.Chaos.OperationError","com.azure.resourcemanager.chaos.models.Origin":"Azure.ResourceManager.CommonTypes.Origin","com.azure.resourcemanager.chaos.models.ParameterType":"Microsoft.Chaos.ParameterType","com.azure.resourcemanager.chaos.models.PermissionError":"Microsoft.Chaos.PermissionError","com.azure.resourcemanager.chaos.models.PermissionsFix":"Microsoft.Chaos.PermissionsFix","com.azure.resourcemanager.chaos.models.PermissionsFixProperties":"Microsoft.Chaos.PermissionsFixProperties","com.azure.resourcemanager.chaos.models.PermissionsFixState":"Microsoft.Chaos.PermissionsFixState","com.azure.resourcemanager.chaos.models.PermissionsFixSummary":"Microsoft.Chaos.PermissionsFixSummary","com.azure.resourcemanager.chaos.models.PhysicalToLogicalZoneMapping":"Microsoft.Chaos.PhysicalToLogicalZoneMapping","com.azure.resourcemanager.chaos.models.PrivateAccessPatch":"Microsoft.Chaos.PrivateAccessPatch","com.azure.resourcemanager.chaos.models.PrivateAccessProperties":"Microsoft.Chaos.PrivateAccessProperties","com.azure.resourcemanager.chaos.models.PrivateEndpoint":"Microsoft.Chaos.PrivateEndpoint","com.azure.resourcemanager.chaos.models.PrivateEndpointConnectionProperties":"Microsoft.Chaos.PrivateEndpointConnectionProperties","com.azure.resourcemanager.chaos.models.PrivateEndpointServiceConnectionStatus":"Microsoft.Chaos.PrivateEndpointServiceConnectionStatus","com.azure.resourcemanager.chaos.models.PrivateLinkResource":"Microsoft.Chaos.PrivateLinkResource","com.azure.resourcemanager.chaos.models.PrivateLinkResourceProperties":"Microsoft.Chaos.PrivateLinkResourceProperties","com.azure.resourcemanager.chaos.models.PrivateLinkServiceConnectionState":"Microsoft.Chaos.PrivateLinkServiceConnectionState","com.azure.resourcemanager.chaos.models.ProvisioningState":"Microsoft.Chaos.ProvisioningState","com.azure.resourcemanager.chaos.models.PublicNetworkAccessOption":"Microsoft.Chaos.PublicNetworkAccessOption","com.azure.resourcemanager.chaos.models.Recommendation":"Microsoft.Chaos.Recommendation","com.azure.resourcemanager.chaos.models.RecommendationStatus":"Microsoft.Chaos.RecommendationStatus","com.azure.resourcemanager.chaos.models.ResourceIdentity":"Azure.ResourceManager.CommonTypes.ManagedServiceIdentity","com.azure.resourcemanager.chaos.models.ResourceStateError":"Microsoft.Chaos.ResourceStateError","com.azure.resourcemanager.chaos.models.ResourceTargeting":"Microsoft.Chaos.ResourceTargeting","com.azure.resourcemanager.chaos.models.ResourceTargetingCriteria":"Microsoft.Chaos.ResourceTargetingCriteria","com.azure.resourcemanager.chaos.models.RoleAssignmentError":"Microsoft.Chaos.RoleAssignmentError","com.azure.resourcemanager.chaos.models.RoleAssignmentResult":"Microsoft.Chaos.RoleAssignmentResult","com.azure.resourcemanager.chaos.models.RoleAssignmentStatus":"Microsoft.Chaos.RoleAssignmentStatus","com.azure.resourcemanager.chaos.models.RunAfter":"Microsoft.Chaos.RunAfter","com.azure.resourcemanager.chaos.models.RunAfterBehavior":"Microsoft.Chaos.RunAfterBehavior","com.azure.resourcemanager.chaos.models.ScenarioAction":"Microsoft.Chaos.ScenarioAction","com.azure.resourcemanager.chaos.models.ScenarioConfigurationProperties":"Microsoft.Chaos.ScenarioConfigurationProperties","com.azure.resourcemanager.chaos.models.ScenarioErrors":"Microsoft.Chaos.ScenarioErrors","com.azure.resourcemanager.chaos.models.ScenarioParameter":"Microsoft.Chaos.ScenarioParameter","com.azure.resourcemanager.chaos.models.ScenarioProperties":"Microsoft.Chaos.ScenarioProperties","com.azure.resourcemanager.chaos.models.ScenarioRunProperties":"Microsoft.Chaos.ScenarioRunProperties","com.azure.resourcemanager.chaos.models.ScenarioRunResource":"Microsoft.Chaos.ScenarioRunResource","com.azure.resourcemanager.chaos.models.ScenarioRunState":"Microsoft.Chaos.ScenarioRunState","com.azure.resourcemanager.chaos.models.ScenarioRunSummaryAction":"Microsoft.Chaos.ScenarioRunSummaryAction","com.azure.resourcemanager.chaos.models.ScenarioRunsGetHeaders":null,"com.azure.resourcemanager.chaos.models.ScenarioSummaryState":"Microsoft.Chaos.ScenarioSummaryState","com.azure.resourcemanager.chaos.models.ScenarioValidationState":"Microsoft.Chaos.ScenarioValidationState","com.azure.resourcemanager.chaos.models.SelectorType":"Microsoft.Chaos.SelectorType","com.azure.resourcemanager.chaos.models.StepStatus":"Microsoft.Chaos.StepStatus","com.azure.resourcemanager.chaos.models.TargetReference":"Microsoft.Chaos.TargetReference","com.azure.resourcemanager.chaos.models.TargetReferenceType":"Microsoft.Chaos.TargetReferenceType","com.azure.resourcemanager.chaos.models.TemplateEvaluationResultItem":"Microsoft.Chaos.TemplateEvaluationResultItem","com.azure.resourcemanager.chaos.models.UserAssignedIdentity":"Azure.ResourceManager.CommonTypes.UserAssignedIdentity","com.azure.resourcemanager.chaos.models.Validation":"Microsoft.Chaos.Validation","com.azure.resourcemanager.chaos.models.ValidationProperties":"Microsoft.Chaos.ValidationProperties","com.azure.resourcemanager.chaos.models.WorkspaceDiscovery":"Microsoft.Chaos.WorkspaceDiscovery","com.azure.resourcemanager.chaos.models.WorkspaceDiscoveryProperties":"Microsoft.Chaos.WorkspaceDiscoveryProperties","com.azure.resourcemanager.chaos.models.WorkspaceDiscoveryStatus":"Microsoft.Chaos.WorkspaceDiscoveryStatus","com.azure.resourcemanager.chaos.models.WorkspaceEvaluation":"Microsoft.Chaos.WorkspaceEvaluation","com.azure.resourcemanager.chaos.models.WorkspaceEvaluationProperties":"Microsoft.Chaos.WorkspaceEvaluationProperties","com.azure.resourcemanager.chaos.models.WorkspaceEvaluationStatus":"Microsoft.Chaos.WorkspaceEvaluationStatus","com.azure.resourcemanager.chaos.models.WorkspaceProperties":"Microsoft.Chaos.WorkspaceProperties","com.azure.resourcemanager.chaos.models.WorkspaceUpdate":"Microsoft.Chaos.WorkspaceUpdate","com.azure.resourcemanager.chaos.models.ZoneResolutionInfo":"Microsoft.Chaos.ZoneResolutionInfo","com.azure.resourcemanager.chaos.models.ZoneResolutionMapping":"Microsoft.Chaos.ZoneResolutionMapping","com.azure.resourcemanager.chaos.models.ZoneResolutionMode":"Microsoft.Chaos.ZoneResolutionMode"},"generatedFiles":["src/main/java/com/azure/resourcemanager/chaos/ChaosManager.java","src/main/java/com/azure/resourcemanager/chaos/fluent/ActionVersionsClient.java","src/main/java/com/azure/resourcemanager/chaos/fluent/ActionsClient.java","src/main/java/com/azure/resourcemanager/chaos/fluent/CapabilitiesClient.java","src/main/java/com/azure/resourcemanager/chaos/fluent/CapabilityTypesClient.java","src/main/java/com/azure/resourcemanager/chaos/fluent/ChaosManagementClient.java","src/main/java/com/azure/resourcemanager/chaos/fluent/ConnectionsClient.java","src/main/java/com/azure/resourcemanager/chaos/fluent/DiscoveredResourcesClient.java","src/main/java/com/azure/resourcemanager/chaos/fluent/ExperimentsClient.java","src/main/java/com/azure/resourcemanager/chaos/fluent/OperationStatusesClient.java","src/main/java/com/azure/resourcemanager/chaos/fluent/OperationsClient.java","src/main/java/com/azure/resourcemanager/chaos/fluent/PrivateAccessesClient.java","src/main/java/com/azure/resourcemanager/chaos/fluent/ScenarioConfigurationsClient.java","src/main/java/com/azure/resourcemanager/chaos/fluent/ScenarioRunsClient.java","src/main/java/com/azure/resourcemanager/chaos/fluent/ScenariosClient.java","src/main/java/com/azure/resourcemanager/chaos/fluent/TargetTypesClient.java","src/main/java/com/azure/resourcemanager/chaos/fluent/TargetsClient.java","src/main/java/com/azure/resourcemanager/chaos/fluent/WorkspacesClient.java","src/main/java/com/azure/resourcemanager/chaos/fluent/models/ActionInner.java","src/main/java/com/azure/resourcemanager/chaos/fluent/models/ActionProperties.java","src/main/java/com/azure/resourcemanager/chaos/fluent/models/ActionVersionInner.java","src/main/java/com/azure/resourcemanager/chaos/fluent/models/CapabilityInner.java","src/main/java/com/azure/resourcemanager/chaos/fluent/models/CapabilityProperties.java","src/main/java/com/azure/resourcemanager/chaos/fluent/models/CapabilityTypeInner.java","src/main/java/com/azure/resourcemanager/chaos/fluent/models/CapabilityTypeProperties.java","src/main/java/com/azure/resourcemanager/chaos/fluent/models/ConnectionInner.java","src/main/java/com/azure/resourcemanager/chaos/fluent/models/DiscoveredResourceInner.java","src/main/java/com/azure/resourcemanager/chaos/fluent/models/ExperimentExecutionDetailsInner.java","src/main/java/com/azure/resourcemanager/chaos/fluent/models/ExperimentExecutionDetailsProperties.java","src/main/java/com/azure/resourcemanager/chaos/fluent/models/ExperimentExecutionInner.java","src/main/java/com/azure/resourcemanager/chaos/fluent/models/ExperimentExecutionProperties.java","src/main/java/com/azure/resourcemanager/chaos/fluent/models/ExperimentInner.java","src/main/java/com/azure/resourcemanager/chaos/fluent/models/ExperimentProperties.java","src/main/java/com/azure/resourcemanager/chaos/fluent/models/OperationInner.java","src/main/java/com/azure/resourcemanager/chaos/fluent/models/OperationStatusInner.java","src/main/java/com/azure/resourcemanager/chaos/fluent/models/PrivateAccessInner.java","src/main/java/com/azure/resourcemanager/chaos/fluent/models/PrivateEndpointConnectionInner.java","src/main/java/com/azure/resourcemanager/chaos/fluent/models/PrivateLinkResourceListResultInner.java","src/main/java/com/azure/resourcemanager/chaos/fluent/models/ScenarioConfigurationInner.java","src/main/java/com/azure/resourcemanager/chaos/fluent/models/ScenarioInner.java","src/main/java/com/azure/resourcemanager/chaos/fluent/models/ScenarioRunInner.java","src/main/java/com/azure/resourcemanager/chaos/fluent/models/TargetInner.java","src/main/java/com/azure/resourcemanager/chaos/fluent/models/TargetTypeInner.java","src/main/java/com/azure/resourcemanager/chaos/fluent/models/TargetTypeProperties.java","src/main/java/com/azure/resourcemanager/chaos/fluent/models/WorkspaceInner.java","src/main/java/com/azure/resourcemanager/chaos/fluent/models/package-info.java","src/main/java/com/azure/resourcemanager/chaos/fluent/package-info.java","src/main/java/com/azure/resourcemanager/chaos/implementation/ActionImpl.java","src/main/java/com/azure/resourcemanager/chaos/implementation/ActionVersionImpl.java","src/main/java/com/azure/resourcemanager/chaos/implementation/ActionVersionsClientImpl.java","src/main/java/com/azure/resourcemanager/chaos/implementation/ActionVersionsImpl.java","src/main/java/com/azure/resourcemanager/chaos/implementation/ActionsClientImpl.java","src/main/java/com/azure/resourcemanager/chaos/implementation/ActionsImpl.java","src/main/java/com/azure/resourcemanager/chaos/implementation/CapabilitiesClientImpl.java","src/main/java/com/azure/resourcemanager/chaos/implementation/CapabilitiesImpl.java","src/main/java/com/azure/resourcemanager/chaos/implementation/CapabilityImpl.java","src/main/java/com/azure/resourcemanager/chaos/implementation/CapabilityTypeImpl.java","src/main/java/com/azure/resourcemanager/chaos/implementation/CapabilityTypesClientImpl.java","src/main/java/com/azure/resourcemanager/chaos/implementation/CapabilityTypesImpl.java","src/main/java/com/azure/resourcemanager/chaos/implementation/ChaosManagementClientBuilder.java","src/main/java/com/azure/resourcemanager/chaos/implementation/ChaosManagementClientImpl.java","src/main/java/com/azure/resourcemanager/chaos/implementation/ConnectionImpl.java","src/main/java/com/azure/resourcemanager/chaos/implementation/ConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/chaos/implementation/ConnectionsImpl.java","src/main/java/com/azure/resourcemanager/chaos/implementation/DiscoveredResourceImpl.java","src/main/java/com/azure/resourcemanager/chaos/implementation/DiscoveredResourcesClientImpl.java","src/main/java/com/azure/resourcemanager/chaos/implementation/DiscoveredResourcesImpl.java","src/main/java/com/azure/resourcemanager/chaos/implementation/ExperimentExecutionDetailsImpl.java","src/main/java/com/azure/resourcemanager/chaos/implementation/ExperimentExecutionImpl.java","src/main/java/com/azure/resourcemanager/chaos/implementation/ExperimentImpl.java","src/main/java/com/azure/resourcemanager/chaos/implementation/ExperimentsClientImpl.java","src/main/java/com/azure/resourcemanager/chaos/implementation/ExperimentsImpl.java","src/main/java/com/azure/resourcemanager/chaos/implementation/OperationImpl.java","src/main/java/com/azure/resourcemanager/chaos/implementation/OperationStatusImpl.java","src/main/java/com/azure/resourcemanager/chaos/implementation/OperationStatusesClientImpl.java","src/main/java/com/azure/resourcemanager/chaos/implementation/OperationStatusesImpl.java","src/main/java/com/azure/resourcemanager/chaos/implementation/OperationsClientImpl.java","src/main/java/com/azure/resourcemanager/chaos/implementation/OperationsImpl.java","src/main/java/com/azure/resourcemanager/chaos/implementation/PrivateAccessImpl.java","src/main/java/com/azure/resourcemanager/chaos/implementation/PrivateAccessesClientImpl.java","src/main/java/com/azure/resourcemanager/chaos/implementation/PrivateAccessesImpl.java","src/main/java/com/azure/resourcemanager/chaos/implementation/PrivateEndpointConnectionImpl.java","src/main/java/com/azure/resourcemanager/chaos/implementation/PrivateLinkResourceListResultImpl.java","src/main/java/com/azure/resourcemanager/chaos/implementation/ResourceManagerUtils.java","src/main/java/com/azure/resourcemanager/chaos/implementation/ScenarioConfigurationImpl.java","src/main/java/com/azure/resourcemanager/chaos/implementation/ScenarioConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/chaos/implementation/ScenarioConfigurationsImpl.java","src/main/java/com/azure/resourcemanager/chaos/implementation/ScenarioImpl.java","src/main/java/com/azure/resourcemanager/chaos/implementation/ScenarioRunImpl.java","src/main/java/com/azure/resourcemanager/chaos/implementation/ScenarioRunsClientImpl.java","src/main/java/com/azure/resourcemanager/chaos/implementation/ScenarioRunsImpl.java","src/main/java/com/azure/resourcemanager/chaos/implementation/ScenariosClientImpl.java","src/main/java/com/azure/resourcemanager/chaos/implementation/ScenariosImpl.java","src/main/java/com/azure/resourcemanager/chaos/implementation/TargetImpl.java","src/main/java/com/azure/resourcemanager/chaos/implementation/TargetTypeImpl.java","src/main/java/com/azure/resourcemanager/chaos/implementation/TargetTypesClientImpl.java","src/main/java/com/azure/resourcemanager/chaos/implementation/TargetTypesImpl.java","src/main/java/com/azure/resourcemanager/chaos/implementation/TargetsClientImpl.java","src/main/java/com/azure/resourcemanager/chaos/implementation/TargetsImpl.java","src/main/java/com/azure/resourcemanager/chaos/implementation/WorkspaceImpl.java","src/main/java/com/azure/resourcemanager/chaos/implementation/WorkspacesClientImpl.java","src/main/java/com/azure/resourcemanager/chaos/implementation/WorkspacesImpl.java","src/main/java/com/azure/resourcemanager/chaos/implementation/models/ActionListResult.java","src/main/java/com/azure/resourcemanager/chaos/implementation/models/ActionVersionListResult.java","src/main/java/com/azure/resourcemanager/chaos/implementation/models/CapabilityListResult.java","src/main/java/com/azure/resourcemanager/chaos/implementation/models/CapabilityTypeListResult.java","src/main/java/com/azure/resourcemanager/chaos/implementation/models/ConnectionListResult.java","src/main/java/com/azure/resourcemanager/chaos/implementation/models/DiscoveredResourceListResult.java","src/main/java/com/azure/resourcemanager/chaos/implementation/models/ExperimentExecutionListResult.java","src/main/java/com/azure/resourcemanager/chaos/implementation/models/ExperimentListResult.java","src/main/java/com/azure/resourcemanager/chaos/implementation/models/OperationListResult.java","src/main/java/com/azure/resourcemanager/chaos/implementation/models/PrivateAccessListResult.java","src/main/java/com/azure/resourcemanager/chaos/implementation/models/PrivateEndpointConnectionListResult.java","src/main/java/com/azure/resourcemanager/chaos/implementation/models/ScenarioConfigurationListResult.java","src/main/java/com/azure/resourcemanager/chaos/implementation/models/ScenarioListResult.java","src/main/java/com/azure/resourcemanager/chaos/implementation/models/ScenarioRunListResult.java","src/main/java/com/azure/resourcemanager/chaos/implementation/models/TargetListResult.java","src/main/java/com/azure/resourcemanager/chaos/implementation/models/TargetTypeListResult.java","src/main/java/com/azure/resourcemanager/chaos/implementation/models/WorkspaceListResult.java","src/main/java/com/azure/resourcemanager/chaos/implementation/package-info.java","src/main/java/com/azure/resourcemanager/chaos/models/Action.java","src/main/java/com/azure/resourcemanager/chaos/models/ActionDependency.java","src/main/java/com/azure/resourcemanager/chaos/models/ActionDependencyType.java","src/main/java/com/azure/resourcemanager/chaos/models/ActionKind.java","src/main/java/com/azure/resourcemanager/chaos/models/ActionLifecycle.java","src/main/java/com/azure/resourcemanager/chaos/models/ActionPropertiesParametersSchema.java","src/main/java/com/azure/resourcemanager/chaos/models/ActionStatus.java","src/main/java/com/azure/resourcemanager/chaos/models/ActionSupportedTargetType.java","src/main/java/com/azure/resourcemanager/chaos/models/ActionType.java","src/main/java/com/azure/resourcemanager/chaos/models/ActionVersion.java","src/main/java/com/azure/resourcemanager/chaos/models/ActionVersions.java","src/main/java/com/azure/resourcemanager/chaos/models/Actions.java","src/main/java/com/azure/resourcemanager/chaos/models/BranchStatus.java","src/main/java/com/azure/resourcemanager/chaos/models/Capabilities.java","src/main/java/com/azure/resourcemanager/chaos/models/Capability.java","src/main/java/com/azure/resourcemanager/chaos/models/CapabilityType.java","src/main/java/com/azure/resourcemanager/chaos/models/CapabilityTypePropertiesRuntimeProperties.java","src/main/java/com/azure/resourcemanager/chaos/models/CapabilityTypes.java","src/main/java/com/azure/resourcemanager/chaos/models/ChaosExperimentAction.java","src/main/java/com/azure/resourcemanager/chaos/models/ChaosExperimentBranch.java","src/main/java/com/azure/resourcemanager/chaos/models/ChaosExperimentStep.java","src/main/java/com/azure/resourcemanager/chaos/models/ChaosTargetFilter.java","src/main/java/com/azure/resourcemanager/chaos/models/ChaosTargetListSelector.java","src/main/java/com/azure/resourcemanager/chaos/models/ChaosTargetQuerySelector.java","src/main/java/com/azure/resourcemanager/chaos/models/ChaosTargetSelector.java","src/main/java/com/azure/resourcemanager/chaos/models/ChaosTargetSimpleFilter.java","src/main/java/com/azure/resourcemanager/chaos/models/ChaosTargetSimpleFilterParameters.java","src/main/java/com/azure/resourcemanager/chaos/models/Connection.java","src/main/java/com/azure/resourcemanager/chaos/models/ConnectionKind.java","src/main/java/com/azure/resourcemanager/chaos/models/ConnectionProperties.java","src/main/java/com/azure/resourcemanager/chaos/models/ConnectionStatus.java","src/main/java/com/azure/resourcemanager/chaos/models/Connections.java","src/main/java/com/azure/resourcemanager/chaos/models/ContinuousAction.java","src/main/java/com/azure/resourcemanager/chaos/models/CustomerDataStorageProperties.java","src/main/java/com/azure/resourcemanager/chaos/models/DelayAction.java","src/main/java/com/azure/resourcemanager/chaos/models/DiscoveredResource.java","src/main/java/com/azure/resourcemanager/chaos/models/DiscoveredResourceProperties.java","src/main/java/com/azure/resourcemanager/chaos/models/DiscoveredResources.java","src/main/java/com/azure/resourcemanager/chaos/models/DiscreteAction.java","src/main/java/com/azure/resourcemanager/chaos/models/EntraIdentity.java","src/main/java/com/azure/resourcemanager/chaos/models/Experiment.java","src/main/java/com/azure/resourcemanager/chaos/models/ExperimentActionType.java","src/main/java/com/azure/resourcemanager/chaos/models/ExperimentExecution.java","src/main/java/com/azure/resourcemanager/chaos/models/ExperimentExecutionActionTargetDetailsError.java","src/main/java/com/azure/resourcemanager/chaos/models/ExperimentExecutionActionTargetDetailsProperties.java","src/main/java/com/azure/resourcemanager/chaos/models/ExperimentExecutionDetails.java","src/main/java/com/azure/resourcemanager/chaos/models/ExperimentExecutionDetailsPropertiesRunInformation.java","src/main/java/com/azure/resourcemanager/chaos/models/ExperimentUpdate.java","src/main/java/com/azure/resourcemanager/chaos/models/Experiments.java","src/main/java/com/azure/resourcemanager/chaos/models/ExternalResource.java","src/main/java/com/azure/resourcemanager/chaos/models/FilterType.java","src/main/java/com/azure/resourcemanager/chaos/models/FixResourcePermissionsRequest.java","src/main/java/com/azure/resourcemanager/chaos/models/KeyValuePair.java","src/main/java/com/azure/resourcemanager/chaos/models/ManagedServiceIdentityType.java","src/main/java/com/azure/resourcemanager/chaos/models/Operation.java","src/main/java/com/azure/resourcemanager/chaos/models/OperationDisplay.java","src/main/java/com/azure/resourcemanager/chaos/models/OperationError.java","src/main/java/com/azure/resourcemanager/chaos/models/OperationStatus.java","src/main/java/com/azure/resourcemanager/chaos/models/OperationStatuses.java","src/main/java/com/azure/resourcemanager/chaos/models/Operations.java","src/main/java/com/azure/resourcemanager/chaos/models/Origin.java","src/main/java/com/azure/resourcemanager/chaos/models/ParameterType.java","src/main/java/com/azure/resourcemanager/chaos/models/PermissionError.java","src/main/java/com/azure/resourcemanager/chaos/models/PermissionsFix.java","src/main/java/com/azure/resourcemanager/chaos/models/PermissionsFixProperties.java","src/main/java/com/azure/resourcemanager/chaos/models/PermissionsFixState.java","src/main/java/com/azure/resourcemanager/chaos/models/PermissionsFixSummary.java","src/main/java/com/azure/resourcemanager/chaos/models/PhysicalToLogicalZoneMapping.java","src/main/java/com/azure/resourcemanager/chaos/models/PrivateAccess.java","src/main/java/com/azure/resourcemanager/chaos/models/PrivateAccessPatch.java","src/main/java/com/azure/resourcemanager/chaos/models/PrivateAccessProperties.java","src/main/java/com/azure/resourcemanager/chaos/models/PrivateAccesses.java","src/main/java/com/azure/resourcemanager/chaos/models/PrivateEndpoint.java","src/main/java/com/azure/resourcemanager/chaos/models/PrivateEndpointConnection.java","src/main/java/com/azure/resourcemanager/chaos/models/PrivateEndpointConnectionProperties.java","src/main/java/com/azure/resourcemanager/chaos/models/PrivateEndpointServiceConnectionStatus.java","src/main/java/com/azure/resourcemanager/chaos/models/PrivateLinkResource.java","src/main/java/com/azure/resourcemanager/chaos/models/PrivateLinkResourceListResult.java","src/main/java/com/azure/resourcemanager/chaos/models/PrivateLinkResourceProperties.java","src/main/java/com/azure/resourcemanager/chaos/models/PrivateLinkServiceConnectionState.java","src/main/java/com/azure/resourcemanager/chaos/models/ProvisioningState.java","src/main/java/com/azure/resourcemanager/chaos/models/PublicNetworkAccessOption.java","src/main/java/com/azure/resourcemanager/chaos/models/Recommendation.java","src/main/java/com/azure/resourcemanager/chaos/models/RecommendationStatus.java","src/main/java/com/azure/resourcemanager/chaos/models/ResourceIdentity.java","src/main/java/com/azure/resourcemanager/chaos/models/ResourceStateError.java","src/main/java/com/azure/resourcemanager/chaos/models/ResourceTargeting.java","src/main/java/com/azure/resourcemanager/chaos/models/ResourceTargetingCriteria.java","src/main/java/com/azure/resourcemanager/chaos/models/RoleAssignmentError.java","src/main/java/com/azure/resourcemanager/chaos/models/RoleAssignmentResult.java","src/main/java/com/azure/resourcemanager/chaos/models/RoleAssignmentStatus.java","src/main/java/com/azure/resourcemanager/chaos/models/RunAfter.java","src/main/java/com/azure/resourcemanager/chaos/models/RunAfterBehavior.java","src/main/java/com/azure/resourcemanager/chaos/models/Scenario.java","src/main/java/com/azure/resourcemanager/chaos/models/ScenarioAction.java","src/main/java/com/azure/resourcemanager/chaos/models/ScenarioConfiguration.java","src/main/java/com/azure/resourcemanager/chaos/models/ScenarioConfigurationProperties.java","src/main/java/com/azure/resourcemanager/chaos/models/ScenarioConfigurations.java","src/main/java/com/azure/resourcemanager/chaos/models/ScenarioErrors.java","src/main/java/com/azure/resourcemanager/chaos/models/ScenarioParameter.java","src/main/java/com/azure/resourcemanager/chaos/models/ScenarioProperties.java","src/main/java/com/azure/resourcemanager/chaos/models/ScenarioRun.java","src/main/java/com/azure/resourcemanager/chaos/models/ScenarioRunProperties.java","src/main/java/com/azure/resourcemanager/chaos/models/ScenarioRunResource.java","src/main/java/com/azure/resourcemanager/chaos/models/ScenarioRunState.java","src/main/java/com/azure/resourcemanager/chaos/models/ScenarioRunSummaryAction.java","src/main/java/com/azure/resourcemanager/chaos/models/ScenarioRuns.java","src/main/java/com/azure/resourcemanager/chaos/models/ScenarioRunsGetHeaders.java","src/main/java/com/azure/resourcemanager/chaos/models/ScenarioRunsGetResponse.java","src/main/java/com/azure/resourcemanager/chaos/models/ScenarioSummaryState.java","src/main/java/com/azure/resourcemanager/chaos/models/ScenarioValidationState.java","src/main/java/com/azure/resourcemanager/chaos/models/Scenarios.java","src/main/java/com/azure/resourcemanager/chaos/models/SelectorType.java","src/main/java/com/azure/resourcemanager/chaos/models/StepStatus.java","src/main/java/com/azure/resourcemanager/chaos/models/Target.java","src/main/java/com/azure/resourcemanager/chaos/models/TargetReference.java","src/main/java/com/azure/resourcemanager/chaos/models/TargetReferenceType.java","src/main/java/com/azure/resourcemanager/chaos/models/TargetType.java","src/main/java/com/azure/resourcemanager/chaos/models/TargetTypes.java","src/main/java/com/azure/resourcemanager/chaos/models/Targets.java","src/main/java/com/azure/resourcemanager/chaos/models/TemplateEvaluationResultItem.java","src/main/java/com/azure/resourcemanager/chaos/models/UserAssignedIdentity.java","src/main/java/com/azure/resourcemanager/chaos/models/Validation.java","src/main/java/com/azure/resourcemanager/chaos/models/ValidationProperties.java","src/main/java/com/azure/resourcemanager/chaos/models/Workspace.java","src/main/java/com/azure/resourcemanager/chaos/models/WorkspaceDiscovery.java","src/main/java/com/azure/resourcemanager/chaos/models/WorkspaceDiscoveryProperties.java","src/main/java/com/azure/resourcemanager/chaos/models/WorkspaceDiscoveryStatus.java","src/main/java/com/azure/resourcemanager/chaos/models/WorkspaceEvaluation.java","src/main/java/com/azure/resourcemanager/chaos/models/WorkspaceEvaluationProperties.java","src/main/java/com/azure/resourcemanager/chaos/models/WorkspaceEvaluationStatus.java","src/main/java/com/azure/resourcemanager/chaos/models/WorkspaceProperties.java","src/main/java/com/azure/resourcemanager/chaos/models/WorkspaceUpdate.java","src/main/java/com/azure/resourcemanager/chaos/models/Workspaces.java","src/main/java/com/azure/resourcemanager/chaos/models/ZoneResolutionInfo.java","src/main/java/com/azure/resourcemanager/chaos/models/ZoneResolutionMapping.java","src/main/java/com/azure/resourcemanager/chaos/models/ZoneResolutionMode.java","src/main/java/com/azure/resourcemanager/chaos/models/package-info.java","src/main/java/com/azure/resourcemanager/chaos/package-info.java","src/main/java/module-info.java"]}
\ No newline at end of file
diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/main/resources/META-INF/native-image/com.azure.resourcemanager/azure-resourcemanager-chaos/proxy-config.json b/sdk/chaos/azure-resourcemanager-chaos/src/main/resources/META-INF/native-image/com.azure.resourcemanager/azure-resourcemanager-chaos/proxy-config.json
index 3c5a34dbd78f..1f2d80c9c182 100644
--- a/sdk/chaos/azure-resourcemanager-chaos/src/main/resources/META-INF/native-image/com.azure.resourcemanager/azure-resourcemanager-chaos/proxy-config.json
+++ b/sdk/chaos/azure-resourcemanager-chaos/src/main/resources/META-INF/native-image/com.azure.resourcemanager/azure-resourcemanager-chaos/proxy-config.json
@@ -1 +1 @@
-[["com.azure.resourcemanager.chaos.implementation.ActionVersionsClientImpl$ActionVersionsService"],["com.azure.resourcemanager.chaos.implementation.ActionsClientImpl$ActionsService"],["com.azure.resourcemanager.chaos.implementation.CapabilitiesClientImpl$CapabilitiesService"],["com.azure.resourcemanager.chaos.implementation.CapabilityTypesClientImpl$CapabilityTypesService"],["com.azure.resourcemanager.chaos.implementation.DiscoveredResourcesClientImpl$DiscoveredResourcesService"],["com.azure.resourcemanager.chaos.implementation.ExperimentsClientImpl$ExperimentsService"],["com.azure.resourcemanager.chaos.implementation.OperationStatusesClientImpl$OperationStatusesService"],["com.azure.resourcemanager.chaos.implementation.OperationsClientImpl$OperationsService"],["com.azure.resourcemanager.chaos.implementation.PrivateAccessesClientImpl$PrivateAccessesService"],["com.azure.resourcemanager.chaos.implementation.ScenarioConfigurationsClientImpl$ScenarioConfigurationsService"],["com.azure.resourcemanager.chaos.implementation.ScenarioRunsClientImpl$ScenarioRunsService"],["com.azure.resourcemanager.chaos.implementation.ScenariosClientImpl$ScenariosService"],["com.azure.resourcemanager.chaos.implementation.TargetTypesClientImpl$TargetTypesService"],["com.azure.resourcemanager.chaos.implementation.TargetsClientImpl$TargetsService"],["com.azure.resourcemanager.chaos.implementation.WorkspacesClientImpl$WorkspacesService"]]
\ No newline at end of file
+[["com.azure.resourcemanager.chaos.implementation.ActionVersionsClientImpl$ActionVersionsService"],["com.azure.resourcemanager.chaos.implementation.ActionsClientImpl$ActionsService"],["com.azure.resourcemanager.chaos.implementation.CapabilitiesClientImpl$CapabilitiesService"],["com.azure.resourcemanager.chaos.implementation.CapabilityTypesClientImpl$CapabilityTypesService"],["com.azure.resourcemanager.chaos.implementation.ConnectionsClientImpl$ConnectionsService"],["com.azure.resourcemanager.chaos.implementation.DiscoveredResourcesClientImpl$DiscoveredResourcesService"],["com.azure.resourcemanager.chaos.implementation.ExperimentsClientImpl$ExperimentsService"],["com.azure.resourcemanager.chaos.implementation.OperationStatusesClientImpl$OperationStatusesService"],["com.azure.resourcemanager.chaos.implementation.OperationsClientImpl$OperationsService"],["com.azure.resourcemanager.chaos.implementation.PrivateAccessesClientImpl$PrivateAccessesService"],["com.azure.resourcemanager.chaos.implementation.ScenarioConfigurationsClientImpl$ScenarioConfigurationsService"],["com.azure.resourcemanager.chaos.implementation.ScenarioRunsClientImpl$ScenarioRunsService"],["com.azure.resourcemanager.chaos.implementation.ScenariosClientImpl$ScenariosService"],["com.azure.resourcemanager.chaos.implementation.TargetTypesClientImpl$TargetTypesService"],["com.azure.resourcemanager.chaos.implementation.TargetsClientImpl$TargetsService"],["com.azure.resourcemanager.chaos.implementation.WorkspacesClientImpl$WorkspacesService"]]
\ No newline at end of file
diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/ActionVersionsGetSamples.java b/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/ActionVersionsGetSamples.java
index 1a37a7620905..0c4130cf386b 100644
--- a/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/ActionVersionsGetSamples.java
+++ b/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/ActionVersionsGetSamples.java
@@ -9,7 +9,7 @@
*/
public final class ActionVersionsGetSamples {
/*
- * x-ms-original-file: 2026-05-01-preview/ActionVersions_Get.json
+ * x-ms-original-file: 2026-08-01-preview/ActionVersions_Get.json
*/
/**
* Sample code: Get an Action Version for westus2 location.
diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/ActionVersionsListSamples.java b/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/ActionVersionsListSamples.java
index 5144a45ecfd3..ef3c5191fb31 100644
--- a/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/ActionVersionsListSamples.java
+++ b/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/ActionVersionsListSamples.java
@@ -9,7 +9,7 @@
*/
public final class ActionVersionsListSamples {
/*
- * x-ms-original-file: 2026-05-01-preview/ActionVersions_List.json
+ * x-ms-original-file: 2026-08-01-preview/ActionVersions_List.json
*/
/**
* Sample code: List all Action Versions for a given action.
diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/ActionsGetSamples.java b/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/ActionsGetSamples.java
index 267946035a1d..03ffe2266465 100644
--- a/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/ActionsGetSamples.java
+++ b/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/ActionsGetSamples.java
@@ -9,7 +9,7 @@
*/
public final class ActionsGetSamples {
/*
- * x-ms-original-file: 2026-05-01-preview/Actions_Get.json
+ * x-ms-original-file: 2026-08-01-preview/Actions_Get.json
*/
/**
* Sample code: Get an Action for westus2 location.
diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/ActionsListSamples.java b/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/ActionsListSamples.java
index 233b3c91e27c..eb1aac6eaff8 100644
--- a/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/ActionsListSamples.java
+++ b/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/ActionsListSamples.java
@@ -9,7 +9,7 @@
*/
public final class ActionsListSamples {
/*
- * x-ms-original-file: 2026-05-01-preview/Actions_List.json
+ * x-ms-original-file: 2026-08-01-preview/Actions_List.json
*/
/**
* Sample code: List all Actions for westus2 location.
diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/CapabilitiesCreateOrUpdateSamples.java b/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/CapabilitiesCreateOrUpdateSamples.java
index 1690136fd316..6633cb3c7f9b 100644
--- a/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/CapabilitiesCreateOrUpdateSamples.java
+++ b/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/CapabilitiesCreateOrUpdateSamples.java
@@ -11,7 +11,7 @@
*/
public final class CapabilitiesCreateOrUpdateSamples {
/*
- * x-ms-original-file: 2026-05-01-preview/Capabilities_CreateOrUpdate.json
+ * x-ms-original-file: 2026-08-01-preview/Capabilities_CreateOrUpdate.json
*/
/**
* Sample code: Create/update a Capability that extends a virtual machine Target resource.
diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/CapabilitiesDeleteSamples.java b/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/CapabilitiesDeleteSamples.java
index bbac6dd640af..6b0325bfc7e0 100644
--- a/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/CapabilitiesDeleteSamples.java
+++ b/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/CapabilitiesDeleteSamples.java
@@ -9,7 +9,7 @@
*/
public final class CapabilitiesDeleteSamples {
/*
- * x-ms-original-file: 2026-05-01-preview/Capabilities_Delete.json
+ * x-ms-original-file: 2026-08-01-preview/Capabilities_Delete.json
*/
/**
* Sample code: Delete a Capability that extends a virtual machine Target resource.
diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/CapabilitiesGetSamples.java b/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/CapabilitiesGetSamples.java
index 2102c5e41d20..fd41311a2ec7 100644
--- a/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/CapabilitiesGetSamples.java
+++ b/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/CapabilitiesGetSamples.java
@@ -9,7 +9,7 @@
*/
public final class CapabilitiesGetSamples {
/*
- * x-ms-original-file: 2026-05-01-preview/Capabilities_Get.json
+ * x-ms-original-file: 2026-08-01-preview/Capabilities_Get.json
*/
/**
* Sample code: Get a Capability that extends a virtual machine Target resource.
diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/CapabilitiesListSamples.java b/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/CapabilitiesListSamples.java
index 5ed344cf9ad2..5434fb20d931 100644
--- a/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/CapabilitiesListSamples.java
+++ b/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/CapabilitiesListSamples.java
@@ -9,7 +9,7 @@
*/
public final class CapabilitiesListSamples {
/*
- * x-ms-original-file: 2026-05-01-preview/Capabilities_List.json
+ * x-ms-original-file: 2026-08-01-preview/Capabilities_List.json
*/
/**
* Sample code: List all Capabilities that extend a virtual machine Target resource.
diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/CapabilityTypesGetSamples.java b/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/CapabilityTypesGetSamples.java
index d0a4a487abfa..19e0c71a8aa0 100644
--- a/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/CapabilityTypesGetSamples.java
+++ b/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/CapabilityTypesGetSamples.java
@@ -9,7 +9,7 @@
*/
public final class CapabilityTypesGetSamples {
/*
- * x-ms-original-file: 2026-05-01-preview/CapabilityTypes_Get.json
+ * x-ms-original-file: 2026-08-01-preview/CapabilityTypes_Get.json
*/
/**
* Sample code: Get a Capability Type for a virtual machine Target resource on westus2 location.
diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/CapabilityTypesListSamples.java b/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/CapabilityTypesListSamples.java
index 428424a5dfaf..30ca71d058b6 100644
--- a/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/CapabilityTypesListSamples.java
+++ b/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/CapabilityTypesListSamples.java
@@ -9,7 +9,7 @@
*/
public final class CapabilityTypesListSamples {
/*
- * x-ms-original-file: 2026-05-01-preview/CapabilityTypes_List.json
+ * x-ms-original-file: 2026-08-01-preview/CapabilityTypes_List.json
*/
/**
* Sample code: List all Capability Types for a virtual machine Target resource on westus2 location.
diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/ConnectionsCreateOrUpdateSamples.java b/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/ConnectionsCreateOrUpdateSamples.java
new file mode 100644
index 000000000000..00b6d353630a
--- /dev/null
+++ b/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/ConnectionsCreateOrUpdateSamples.java
@@ -0,0 +1,33 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.chaos.generated;
+
+import com.azure.resourcemanager.chaos.models.ConnectionKind;
+import com.azure.resourcemanager.chaos.models.ConnectionProperties;
+
+/**
+ * Samples for Connections CreateOrUpdate.
+ */
+public final class ConnectionsCreateOrUpdateSamples {
+ /*
+ * x-ms-original-file: 2026-08-01-preview/Connections_CreateOrUpdate.json
+ */
+ /**
+ * Sample code: Create or update a connection.
+ *
+ * @param manager Entry point to ChaosManager.
+ */
+ public static void createOrUpdateAConnection(com.azure.resourcemanager.chaos.ChaosManager manager) {
+ manager.connections()
+ .define("aksClusterConnection")
+ .withExistingWorkspace("exampleRG", "exampleWorkspace")
+ .withProperties(new ConnectionProperties().withKind(ConnectionKind.AKS_EXTENSION)
+ .withTargetResourceId(
+ "/subscriptions/6b052e15-03d3-4f17-b2e1-be7f07588291/resourceGroups/exampleRG/providers/Microsoft.ContainerService/managedClusters/exampleCluster")
+ .withPrincipalId("1a2b3c4d-5e6f-7a8b-9c0d-1e2f3a4b5c6d")
+ .withTenantId("72f988bf-86f1-41af-91ab-2d7cd011db47"))
+ .create();
+ }
+}
diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/ConnectionsDeleteSamples.java b/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/ConnectionsDeleteSamples.java
new file mode 100644
index 000000000000..ba222dfb0c2e
--- /dev/null
+++ b/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/ConnectionsDeleteSamples.java
@@ -0,0 +1,24 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.chaos.generated;
+
+/**
+ * Samples for Connections Delete.
+ */
+public final class ConnectionsDeleteSamples {
+ /*
+ * x-ms-original-file: 2026-08-01-preview/Connections_Delete.json
+ */
+ /**
+ * Sample code: Delete a connection in a workspace.
+ *
+ * @param manager Entry point to ChaosManager.
+ */
+ public static void deleteAConnectionInAWorkspace(com.azure.resourcemanager.chaos.ChaosManager manager) {
+ manager.connections()
+ .deleteWithResponse("exampleRG", "exampleWorkspace", "aksClusterConnection",
+ com.azure.core.util.Context.NONE);
+ }
+}
diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/ConnectionsGetSamples.java b/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/ConnectionsGetSamples.java
new file mode 100644
index 000000000000..bf8e48985274
--- /dev/null
+++ b/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/ConnectionsGetSamples.java
@@ -0,0 +1,23 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.chaos.generated;
+
+/**
+ * Samples for Connections Get.
+ */
+public final class ConnectionsGetSamples {
+ /*
+ * x-ms-original-file: 2026-08-01-preview/Connections_Get.json
+ */
+ /**
+ * Sample code: Get a connection.
+ *
+ * @param manager Entry point to ChaosManager.
+ */
+ public static void getAConnection(com.azure.resourcemanager.chaos.ChaosManager manager) {
+ manager.connections()
+ .getWithResponse("exampleRG", "exampleWorkspace", "aksClusterConnection", com.azure.core.util.Context.NONE);
+ }
+}
diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/ConnectionsListAllSamples.java b/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/ConnectionsListAllSamples.java
new file mode 100644
index 000000000000..44f558d70ce0
--- /dev/null
+++ b/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/ConnectionsListAllSamples.java
@@ -0,0 +1,22 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.chaos.generated;
+
+/**
+ * Samples for Connections ListAll.
+ */
+public final class ConnectionsListAllSamples {
+ /*
+ * x-ms-original-file: 2026-08-01-preview/Connections_ListAll.json
+ */
+ /**
+ * Sample code: Get a list of connections.
+ *
+ * @param manager Entry point to ChaosManager.
+ */
+ public static void getAListOfConnections(com.azure.resourcemanager.chaos.ChaosManager manager) {
+ manager.connections().listAll("exampleRG", "exampleWorkspace", com.azure.core.util.Context.NONE);
+ }
+}
diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/DiscoveredResourcesGetSamples.java b/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/DiscoveredResourcesGetSamples.java
index f82a1c65d955..5acbb25509ae 100644
--- a/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/DiscoveredResourcesGetSamples.java
+++ b/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/DiscoveredResourcesGetSamples.java
@@ -9,7 +9,7 @@
*/
public final class DiscoveredResourcesGetSamples {
/*
- * x-ms-original-file: 2026-05-01-preview/DiscoveredResources_Get.json
+ * x-ms-original-file: 2026-08-01-preview/DiscoveredResources_Get.json
*/
/**
* Sample code: Get a discovered resource.
diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/DiscoveredResourcesListByWorkspaceSamples.java b/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/DiscoveredResourcesListByWorkspaceSamples.java
index a2803357b655..13b8f19881e5 100644
--- a/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/DiscoveredResourcesListByWorkspaceSamples.java
+++ b/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/DiscoveredResourcesListByWorkspaceSamples.java
@@ -9,7 +9,7 @@
*/
public final class DiscoveredResourcesListByWorkspaceSamples {
/*
- * x-ms-original-file: 2026-05-01-preview/DiscoveredResources_ListByWorkspace.json
+ * x-ms-original-file: 2026-08-01-preview/DiscoveredResources_ListByWorkspace.json
*/
/**
* Sample code: Get a list of discovered resources for a workspace.
diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/ExperimentsCancelSamples.java b/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/ExperimentsCancelSamples.java
index 377d237912e8..05afd299833e 100644
--- a/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/ExperimentsCancelSamples.java
+++ b/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/ExperimentsCancelSamples.java
@@ -9,7 +9,7 @@
*/
public final class ExperimentsCancelSamples {
/*
- * x-ms-original-file: 2026-05-01-preview/Experiments_Cancel.json
+ * x-ms-original-file: 2026-08-01-preview/Experiments_Cancel.json
*/
/**
* Sample code: Cancel a running Experiment.
diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/ExperimentsCreateOrUpdateSamples.java b/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/ExperimentsCreateOrUpdateSamples.java
index bce2bb9ca52f..22d3e6340ada 100644
--- a/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/ExperimentsCreateOrUpdateSamples.java
+++ b/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/ExperimentsCreateOrUpdateSamples.java
@@ -24,7 +24,7 @@
*/
public final class ExperimentsCreateOrUpdateSamples {
/*
- * x-ms-original-file: 2026-05-01-preview/Experiments_CreateOrUpdate.json
+ * x-ms-original-file: 2026-08-01-preview/Experiments_CreateOrUpdate.json
*/
/**
* Sample code: Create/update a Experiment in a resource group.
diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/ExperimentsDeleteSamples.java b/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/ExperimentsDeleteSamples.java
index d17a0def9874..edcafcb86790 100644
--- a/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/ExperimentsDeleteSamples.java
+++ b/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/ExperimentsDeleteSamples.java
@@ -9,7 +9,7 @@
*/
public final class ExperimentsDeleteSamples {
/*
- * x-ms-original-file: 2026-05-01-preview/Experiments_Delete.json
+ * x-ms-original-file: 2026-08-01-preview/Experiments_Delete.json
*/
/**
* Sample code: Delete a Experiment in a resource group.
diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/ExperimentsExecutionDetailsSamples.java b/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/ExperimentsExecutionDetailsSamples.java
index e789b9a3ebf1..a661ca5157fc 100644
--- a/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/ExperimentsExecutionDetailsSamples.java
+++ b/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/ExperimentsExecutionDetailsSamples.java
@@ -9,7 +9,7 @@
*/
public final class ExperimentsExecutionDetailsSamples {
/*
- * x-ms-original-file: 2026-05-01-preview/Experiments_ExecutionDetails.json
+ * x-ms-original-file: 2026-08-01-preview/Experiments_ExecutionDetails.json
*/
/**
* Sample code: Get experiment execution details.
diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/ExperimentsGetByResourceGroupSamples.java b/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/ExperimentsGetByResourceGroupSamples.java
index b4edacd8f7d2..1cecdb0448a9 100644
--- a/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/ExperimentsGetByResourceGroupSamples.java
+++ b/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/ExperimentsGetByResourceGroupSamples.java
@@ -9,7 +9,7 @@
*/
public final class ExperimentsGetByResourceGroupSamples {
/*
- * x-ms-original-file: 2026-05-01-preview/Experiments_Get.json
+ * x-ms-original-file: 2026-08-01-preview/Experiments_Get.json
*/
/**
* Sample code: Get a Experiment in a resource group.
diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/ExperimentsGetExecutionSamples.java b/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/ExperimentsGetExecutionSamples.java
index 730190a2040d..f3c2f41ac47a 100644
--- a/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/ExperimentsGetExecutionSamples.java
+++ b/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/ExperimentsGetExecutionSamples.java
@@ -9,7 +9,7 @@
*/
public final class ExperimentsGetExecutionSamples {
/*
- * x-ms-original-file: 2026-05-01-preview/Experiments_GetExecution.json
+ * x-ms-original-file: 2026-08-01-preview/Experiments_GetExecution.json
*/
/**
* Sample code: Get the execution of a Experiment.
diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/ExperimentsListAllExecutionsSamples.java b/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/ExperimentsListAllExecutionsSamples.java
index f96690645d15..c4a4128c5d97 100644
--- a/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/ExperimentsListAllExecutionsSamples.java
+++ b/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/ExperimentsListAllExecutionsSamples.java
@@ -9,7 +9,7 @@
*/
public final class ExperimentsListAllExecutionsSamples {
/*
- * x-ms-original-file: 2026-05-01-preview/Experiments_ListAllExecutions.json
+ * x-ms-original-file: 2026-08-01-preview/Experiments_ListAllExecutions.json
*/
/**
* Sample code: List all executions of an Experiment.
diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/ExperimentsListByResourceGroupSamples.java b/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/ExperimentsListByResourceGroupSamples.java
index c884b66fc4c8..096449e7284d 100644
--- a/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/ExperimentsListByResourceGroupSamples.java
+++ b/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/ExperimentsListByResourceGroupSamples.java
@@ -9,7 +9,7 @@
*/
public final class ExperimentsListByResourceGroupSamples {
/*
- * x-ms-original-file: 2026-05-01-preview/Experiments_List.json
+ * x-ms-original-file: 2026-08-01-preview/Experiments_List.json
*/
/**
* Sample code: List all Experiments in a resource group.
diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/ExperimentsListSamples.java b/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/ExperimentsListSamples.java
index 2d8a934be0a6..8fdb1ba6f7ca 100644
--- a/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/ExperimentsListSamples.java
+++ b/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/ExperimentsListSamples.java
@@ -9,7 +9,7 @@
*/
public final class ExperimentsListSamples {
/*
- * x-ms-original-file: 2026-05-01-preview/Experiments_ListAll.json
+ * x-ms-original-file: 2026-08-01-preview/Experiments_ListAll.json
*/
/**
* Sample code: List all Experiments in a subscription.
diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/ExperimentsStartSamples.java b/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/ExperimentsStartSamples.java
index afc266ebf664..02bb1a103ed1 100644
--- a/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/ExperimentsStartSamples.java
+++ b/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/ExperimentsStartSamples.java
@@ -9,7 +9,7 @@
*/
public final class ExperimentsStartSamples {
/*
- * x-ms-original-file: 2026-05-01-preview/Experiments_Start.json
+ * x-ms-original-file: 2026-08-01-preview/Experiments_Start.json
*/
/**
* Sample code: Start a Experiment.
diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/ExperimentsUpdateSamples.java b/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/ExperimentsUpdateSamples.java
index ebc5bfcfddf5..6fd95fd51123 100644
--- a/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/ExperimentsUpdateSamples.java
+++ b/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/ExperimentsUpdateSamples.java
@@ -16,7 +16,7 @@
*/
public final class ExperimentsUpdateSamples {
/*
- * x-ms-original-file: 2026-05-01-preview/Experiments_Update.json
+ * x-ms-original-file: 2026-08-01-preview/Experiments_Update.json
*/
/**
* Sample code: Update an Experiment in a resource group.
diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/OperationStatusesGetSamples.java b/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/OperationStatusesGetSamples.java
index 0bc42a175e7a..42796341a794 100644
--- a/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/OperationStatusesGetSamples.java
+++ b/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/OperationStatusesGetSamples.java
@@ -9,7 +9,7 @@
*/
public final class OperationStatusesGetSamples {
/*
- * x-ms-original-file: 2026-05-01-preview/OperationStatuses_Get.json
+ * x-ms-original-file: 2026-08-01-preview/OperationStatuses_Get.json
*/
/**
* Sample code: Gets Chaos Studio async operation status.
diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/OperationsListSamples.java b/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/OperationsListSamples.java
index 393d86b7d30e..2616f055c0b9 100644
--- a/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/OperationsListSamples.java
+++ b/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/OperationsListSamples.java
@@ -9,7 +9,7 @@
*/
public final class OperationsListSamples {
/*
- * x-ms-original-file: 2026-05-01-preview/Operations_List.json
+ * x-ms-original-file: 2026-08-01-preview/Operations_List.json
*/
/**
* Sample code: Lists all Chaos Studio operations.
diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/PrivateAccessesCreateOrUpdateSamples.java b/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/PrivateAccessesCreateOrUpdateSamples.java
index 82639e35b9c6..d9cfbc7f9871 100644
--- a/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/PrivateAccessesCreateOrUpdateSamples.java
+++ b/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/PrivateAccessesCreateOrUpdateSamples.java
@@ -13,7 +13,7 @@
public final class PrivateAccessesCreateOrUpdateSamples {
/*
* x-ms-original-file:
- * 2026-05-01-preview/PrivateAccesses_CreateOrUpdate_Create_Or_Update_A_Private_Access_Resource.json
+ * 2026-08-01-preview/PrivateAccesses_CreateOrUpdate_Create_Or_Update_A_Private_Access_Resource.json
*/
/**
* Sample code: Create or Update a private access resource.
@@ -30,7 +30,7 @@ public static void createOrUpdateAPrivateAccessResource(com.azure.resourcemanage
}
/*
- * x-ms-original-file: 2026-05-01-preview/
+ * x-ms-original-file: 2026-08-01-preview/
* PrivateAccesses_CreateOrUpdate_Create_Or_Update_A_Private_Access_Resource_With_Public_Network_Access.json
*/
/**
diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/PrivateAccessesDeleteAPrivateEndpointConnectionSamples.java b/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/PrivateAccessesDeleteAPrivateEndpointConnectionSamples.java
index f5e8b815fe0f..99bd447c1f17 100644
--- a/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/PrivateAccessesDeleteAPrivateEndpointConnectionSamples.java
+++ b/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/PrivateAccessesDeleteAPrivateEndpointConnectionSamples.java
@@ -9,7 +9,7 @@
*/
public final class PrivateAccessesDeleteAPrivateEndpointConnectionSamples {
/*
- * x-ms-original-file: 2026-05-01-preview/PrivateAccesses_DeleteAPrivateEndpointConnection.json
+ * x-ms-original-file: 2026-08-01-preview/PrivateAccesses_DeleteAPrivateEndpointConnection.json
*/
/**
* Sample code: Delete a private endpoint connection under a private access resource.
diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/PrivateAccessesDeleteSamples.java b/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/PrivateAccessesDeleteSamples.java
index 7af66866c2ea..0001e596acb6 100644
--- a/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/PrivateAccessesDeleteSamples.java
+++ b/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/PrivateAccessesDeleteSamples.java
@@ -9,7 +9,7 @@
*/
public final class PrivateAccessesDeleteSamples {
/*
- * x-ms-original-file: 2026-05-01-preview/PrivateAccesses_Delete.json
+ * x-ms-original-file: 2026-08-01-preview/PrivateAccesses_Delete.json
*/
/**
* Sample code: Delete a private access resource.
diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/PrivateAccessesGetAPrivateEndpointConnectionSamples.java b/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/PrivateAccessesGetAPrivateEndpointConnectionSamples.java
index ee4e35c0a8ac..130a1fdc30f8 100644
--- a/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/PrivateAccessesGetAPrivateEndpointConnectionSamples.java
+++ b/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/PrivateAccessesGetAPrivateEndpointConnectionSamples.java
@@ -9,7 +9,7 @@
*/
public final class PrivateAccessesGetAPrivateEndpointConnectionSamples {
/*
- * x-ms-original-file: 2026-05-01-preview/PrivateAccesses_GetAPrivateEndpointConnection.json
+ * x-ms-original-file: 2026-08-01-preview/PrivateAccesses_GetAPrivateEndpointConnection.json
*/
/**
* Sample code: Get information about a private endpoint connection under a private access resource.
diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/PrivateAccessesGetByResourceGroupSamples.java b/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/PrivateAccessesGetByResourceGroupSamples.java
index 67139b3a693c..705f10120990 100644
--- a/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/PrivateAccessesGetByResourceGroupSamples.java
+++ b/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/PrivateAccessesGetByResourceGroupSamples.java
@@ -9,7 +9,7 @@
*/
public final class PrivateAccessesGetByResourceGroupSamples {
/*
- * x-ms-original-file: 2026-05-01-preview/PrivateAccesses_Get_Get_A_Private_Access_Resource.json
+ * x-ms-original-file: 2026-08-01-preview/PrivateAccesses_Get_Get_A_Private_Access_Resource.json
*/
/**
* Sample code: Get a private access resource.
@@ -23,7 +23,7 @@ public static void getAPrivateAccessResource(com.azure.resourcemanager.chaos.Cha
/*
* x-ms-original-file:
- * 2026-05-01-preview/PrivateAccesses_Get_Get_A_Private_Access_Resource_With_Private_Endpoint.json
+ * 2026-08-01-preview/PrivateAccesses_Get_Get_A_Private_Access_Resource_With_Private_Endpoint.json
*/
/**
* Sample code: Get a private access resource with private endpoint.
diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/PrivateAccessesGetPrivateLinkResourcesSamples.java b/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/PrivateAccessesGetPrivateLinkResourcesSamples.java
index 80e55d97afcd..5f1004c2bf1a 100644
--- a/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/PrivateAccessesGetPrivateLinkResourcesSamples.java
+++ b/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/PrivateAccessesGetPrivateLinkResourcesSamples.java
@@ -9,7 +9,7 @@
*/
public final class PrivateAccessesGetPrivateLinkResourcesSamples {
/*
- * x-ms-original-file: 2026-05-01-preview/PrivateAccesses_GetPrivateLinkResources.json
+ * x-ms-original-file: 2026-08-01-preview/PrivateAccesses_GetPrivateLinkResources.json
*/
/**
* Sample code: List all possible private link resources under private access resource.
diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/PrivateAccessesListByResourceGroupSamples.java b/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/PrivateAccessesListByResourceGroupSamples.java
index 54d65c6350d4..8581af4ea465 100644
--- a/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/PrivateAccessesListByResourceGroupSamples.java
+++ b/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/PrivateAccessesListByResourceGroupSamples.java
@@ -9,7 +9,7 @@
*/
public final class PrivateAccessesListByResourceGroupSamples {
/*
- * x-ms-original-file: 2026-05-01-preview/PrivateAccesses_List.json
+ * x-ms-original-file: 2026-08-01-preview/PrivateAccesses_List.json
*/
/**
* Sample code: List all private access in a resource group.
diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/PrivateAccessesListPrivateEndpointConnectionsSamples.java b/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/PrivateAccessesListPrivateEndpointConnectionsSamples.java
index 0f7fd6e50c15..dce2e059a589 100644
--- a/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/PrivateAccessesListPrivateEndpointConnectionsSamples.java
+++ b/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/PrivateAccessesListPrivateEndpointConnectionsSamples.java
@@ -9,7 +9,7 @@
*/
public final class PrivateAccessesListPrivateEndpointConnectionsSamples {
/*
- * x-ms-original-file: 2026-05-01-preview/PrivateAccesses_ListPrivateEndpointConnections.json
+ * x-ms-original-file: 2026-08-01-preview/PrivateAccesses_ListPrivateEndpointConnections.json
*/
/**
* Sample code: List all private endpoint connections under a private access resource.
diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/PrivateAccessesListSamples.java b/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/PrivateAccessesListSamples.java
index 72cd2603ab49..7fc7ab559388 100644
--- a/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/PrivateAccessesListSamples.java
+++ b/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/PrivateAccessesListSamples.java
@@ -9,7 +9,7 @@
*/
public final class PrivateAccessesListSamples {
/*
- * x-ms-original-file: 2026-05-01-preview/PrivateAccesses_ListAll.json
+ * x-ms-original-file: 2026-08-01-preview/PrivateAccesses_ListAll.json
*/
/**
* Sample code: List all private accesses in a subscription.
diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/PrivateAccessesUpdateSamples.java b/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/PrivateAccessesUpdateSamples.java
index 19cdbc24ac7f..ff94f224fb20 100644
--- a/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/PrivateAccessesUpdateSamples.java
+++ b/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/PrivateAccessesUpdateSamples.java
@@ -13,7 +13,7 @@
*/
public final class PrivateAccessesUpdateSamples {
/*
- * x-ms-original-file: 2026-05-01-preview/PrivateAccesses_Update.json
+ * x-ms-original-file: 2026-08-01-preview/PrivateAccesses_Update.json
*/
/**
* Sample code: Update a private access resource's tags.
diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/ScenarioConfigurationsCreateOrUpdateSamples.java b/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/ScenarioConfigurationsCreateOrUpdateSamples.java
index b8fdb4964eb4..7d4b939f1b1b 100644
--- a/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/ScenarioConfigurationsCreateOrUpdateSamples.java
+++ b/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/ScenarioConfigurationsCreateOrUpdateSamples.java
@@ -4,9 +4,9 @@
package com.azure.resourcemanager.chaos.generated;
-import com.azure.resourcemanager.chaos.models.ConfigurationExclusions;
-import com.azure.resourcemanager.chaos.models.ConfigurationFilters;
import com.azure.resourcemanager.chaos.models.KeyValuePair;
+import com.azure.resourcemanager.chaos.models.ResourceTargeting;
+import com.azure.resourcemanager.chaos.models.ResourceTargetingCriteria;
import com.azure.resourcemanager.chaos.models.ScenarioConfigurationProperties;
import java.util.Arrays;
@@ -15,7 +15,7 @@
*/
public final class ScenarioConfigurationsCreateOrUpdateSamples {
/*
- * x-ms-original-file: 2026-05-01-preview/ScenarioConfigurations_CreateOrUpdate_With_Physical_Zones.json
+ * x-ms-original-file: 2026-08-01-preview/ScenarioConfigurations_CreateOrUpdate_With_Physical_Zones.json
*/
/**
* Sample code: Create or update a scenario configuration with physical zone targeting.
@@ -30,15 +30,15 @@ public static void createOrUpdateAScenarioConfigurationWithPhysicalZoneTargeting
.withProperties(new ScenarioConfigurationProperties().withScenarioId(
"/subscriptions/6b052e15-03d3-4f17-b2e1-be7f07588291/resourceGroups/exampleRG/providers/Microsoft.Chaos/workspaces/exampleWorkspace/scenarios/12345678-1234-1234-1234-123456789012")
.withParameters(Arrays.asList(new KeyValuePair().withKey("fakeTokenPlaceholder").withValue("PT10M")))
- .withExclusions(new ConfigurationExclusions().withResources(Arrays.asList(
- "/subscriptions/6b052e15-03d3-4f17-b2e1-be7f07588291/resourceGroups/exampleRG/providers/Microsoft.Compute/virtualMachines/protectedVM")))
- .withFilters(new ConfigurationFilters().withLocations(Arrays.asList("westus2"))
- .withPhysicalZones(Arrays.asList("westus2-az1"))))
+ .withResourceTargeting(new ResourceTargeting()
+ .withInclude(new ResourceTargetingCriteria().withPhysicalZones(Arrays.asList("westus2-az1")))
+ .withExclude(new ResourceTargetingCriteria().withResources(Arrays.asList(
+ "/subscriptions/6b052e15-03d3-4f17-b2e1-be7f07588291/resourceGroups/exampleRG/providers/Microsoft.Compute/virtualMachines/protectedVM")))))
.create();
}
/*
- * x-ms-original-file: 2026-05-01-preview/ScenarioConfigurations_CreateOrUpdate.json
+ * x-ms-original-file: 2026-08-01-preview/ScenarioConfigurations_CreateOrUpdate.json
*/
/**
* Sample code: Create or update a scenario configuration.
@@ -55,12 +55,15 @@ public static void createOrUpdateAScenarioConfiguration(com.azure.resourcemanage
new KeyValuePair().withKey("fakeTokenPlaceholder")
.withValue(
"[\"/subscriptions/6b052e15-03d3-4f17-b2e1-be7f07588291/resourceGroups/exampleRG/providers/Microsoft.Compute/virtualMachines/vm1\",\"/subscriptions/6b052e15-03d3-4f17-b2e1-be7f07588291/resourceGroups/exampleRG/providers/Microsoft.Compute/virtualMachines/vm2\"]")))
- .withExclusions(new ConfigurationExclusions().withResources(Arrays.asList(
- "/subscriptions/6b052e15-03d3-4f17-b2e1-be7f07588291/resourceGroups/exampleRG/providers/Microsoft.Compute/virtualMachines/protectedVM"))
- .withTags(Arrays.asList(new KeyValuePair().withKey("fakeTokenPlaceholder").withValue("production")))
- .withTypes(Arrays.asList("Microsoft.Compute/virtualMachineScaleSets")))
- .withFilters(
- new ConfigurationFilters().withLocations(Arrays.asList("eastus")).withZones(Arrays.asList("1"))))
+ .withResourceTargeting(new ResourceTargeting()
+ .withInclude(new ResourceTargetingCriteria().withLocations(Arrays.asList("eastus"))
+ .withZones(Arrays.asList("1")))
+ .withExclude(new ResourceTargetingCriteria()
+ .withTypes(Arrays.asList("Microsoft.Compute/virtualMachineScaleSets"))
+ .withTags(
+ Arrays.asList(new KeyValuePair().withKey("fakeTokenPlaceholder").withValue("production")))
+ .withResources(Arrays.asList(
+ "/subscriptions/6b052e15-03d3-4f17-b2e1-be7f07588291/resourceGroups/exampleRG/providers/Microsoft.Compute/virtualMachines/protectedVM")))))
.create();
}
}
diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/ScenarioConfigurationsDeleteSamples.java b/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/ScenarioConfigurationsDeleteSamples.java
index 5157e7b806a1..2853c4981f71 100644
--- a/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/ScenarioConfigurationsDeleteSamples.java
+++ b/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/ScenarioConfigurationsDeleteSamples.java
@@ -9,7 +9,7 @@
*/
public final class ScenarioConfigurationsDeleteSamples {
/*
- * x-ms-original-file: 2026-05-01-preview/ScenarioConfigurations_Delete.json
+ * x-ms-original-file: 2026-08-01-preview/ScenarioConfigurations_Delete.json
*/
/**
* Sample code: Delete a scenario configuration.
diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/ScenarioConfigurationsExecuteSamples.java b/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/ScenarioConfigurationsExecuteSamples.java
index 19386f70ca51..997a1104dfe2 100644
--- a/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/ScenarioConfigurationsExecuteSamples.java
+++ b/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/ScenarioConfigurationsExecuteSamples.java
@@ -9,7 +9,7 @@
*/
public final class ScenarioConfigurationsExecuteSamples {
/*
- * x-ms-original-file: 2026-05-01-preview/ScenarioConfigurations_Execute.json
+ * x-ms-original-file: 2026-08-01-preview/ScenarioConfigurations_Execute.json
*/
/**
* Sample code: Execute the scenario execution with the given scenario configuration.
diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/ScenarioConfigurationsFixResourcePermissionsSamples.java b/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/ScenarioConfigurationsFixResourcePermissionsSamples.java
index db6125ec7708..4132c09a158d 100644
--- a/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/ScenarioConfigurationsFixResourcePermissionsSamples.java
+++ b/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/ScenarioConfigurationsFixResourcePermissionsSamples.java
@@ -9,7 +9,7 @@
*/
public final class ScenarioConfigurationsFixResourcePermissionsSamples {
/*
- * x-ms-original-file: 2026-05-01-preview/ScenarioConfigurations_FixResourcePermissions.json
+ * x-ms-original-file: 2026-08-01-preview/ScenarioConfigurations_FixResourcePermissions.json
*/
/**
* Sample code: Fixes resource permissions for the given scenario configuration.
diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/ScenarioConfigurationsGetSamples.java b/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/ScenarioConfigurationsGetSamples.java
index 6f1855b315b7..735687234e5f 100644
--- a/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/ScenarioConfigurationsGetSamples.java
+++ b/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/ScenarioConfigurationsGetSamples.java
@@ -9,7 +9,7 @@
*/
public final class ScenarioConfigurationsGetSamples {
/*
- * x-ms-original-file: 2026-05-01-preview/ScenarioConfigurations_Get.json
+ * x-ms-original-file: 2026-08-01-preview/ScenarioConfigurations_Get.json
*/
/**
* Sample code: Get a scenario configuration.
diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/ScenarioConfigurationsListAllSamples.java b/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/ScenarioConfigurationsListAllSamples.java
index 589da9dea289..c54fa7a7e2ed 100644
--- a/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/ScenarioConfigurationsListAllSamples.java
+++ b/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/ScenarioConfigurationsListAllSamples.java
@@ -9,7 +9,7 @@
*/
public final class ScenarioConfigurationsListAllSamples {
/*
- * x-ms-original-file: 2026-05-01-preview/ScenarioConfigurations_ListAll.json
+ * x-ms-original-file: 2026-08-01-preview/ScenarioConfigurations_ListAll.json
*/
/**
* Sample code: Get a list of scenario configurations.
diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/ScenarioConfigurationsValidateSamples.java b/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/ScenarioConfigurationsValidateSamples.java
index c0d8219e2109..0ed24ebdf9ef 100644
--- a/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/ScenarioConfigurationsValidateSamples.java
+++ b/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/ScenarioConfigurationsValidateSamples.java
@@ -9,7 +9,7 @@
*/
public final class ScenarioConfigurationsValidateSamples {
/*
- * x-ms-original-file: 2026-05-01-preview/ScenarioConfigurations_Validate.json
+ * x-ms-original-file: 2026-08-01-preview/ScenarioConfigurations_Validate.json
*/
/**
* Sample code: Validate the given scenario configuration.
diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/ScenarioRunsCancelSamples.java b/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/ScenarioRunsCancelSamples.java
index 09eb4ffcd57e..532b70f9a39d 100644
--- a/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/ScenarioRunsCancelSamples.java
+++ b/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/ScenarioRunsCancelSamples.java
@@ -9,7 +9,7 @@
*/
public final class ScenarioRunsCancelSamples {
/*
- * x-ms-original-file: 2026-05-01-preview/ScenarioRuns_Cancel.json
+ * x-ms-original-file: 2026-08-01-preview/ScenarioRuns_Cancel.json
*/
/**
* Sample code: Cancel a running scenario run.
diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/ScenarioRunsGetSamples.java b/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/ScenarioRunsGetSamples.java
index d6032884cf77..da12a8cc49cf 100644
--- a/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/ScenarioRunsGetSamples.java
+++ b/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/ScenarioRunsGetSamples.java
@@ -9,7 +9,7 @@
*/
public final class ScenarioRunsGetSamples {
/*
- * x-ms-original-file: 2026-05-01-preview/ScenarioRuns_Get.json
+ * x-ms-original-file: 2026-08-01-preview/ScenarioRuns_Get.json
*/
/**
* Sample code: Get a scenario run.
diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/ScenarioRunsListAllSamples.java b/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/ScenarioRunsListAllSamples.java
index 676e711038b4..1bc39107c739 100644
--- a/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/ScenarioRunsListAllSamples.java
+++ b/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/ScenarioRunsListAllSamples.java
@@ -9,7 +9,7 @@
*/
public final class ScenarioRunsListAllSamples {
/*
- * x-ms-original-file: 2026-05-01-preview/ScenarioRuns_ListAll.json
+ * x-ms-original-file: 2026-08-01-preview/ScenarioRuns_ListAll.json
*/
/**
* Sample code: Get a list of scenario runs.
diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/ScenariosCreateOrUpdateSamples.java b/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/ScenariosCreateOrUpdateSamples.java
index 00b36adfa5ff..636fe9db8b71 100644
--- a/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/ScenariosCreateOrUpdateSamples.java
+++ b/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/ScenariosCreateOrUpdateSamples.java
@@ -17,7 +17,7 @@
*/
public final class ScenariosCreateOrUpdateSamples {
/*
- * x-ms-original-file: 2026-05-01-preview/Scenarios_CreateOrUpdate.json
+ * x-ms-original-file: 2026-08-01-preview/Scenarios_CreateOrUpdate.json
*/
/**
* Sample code: Create or update a scenario.
diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/ScenariosDeleteSamples.java b/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/ScenariosDeleteSamples.java
index a9a586a15322..475e2d3c1fb6 100644
--- a/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/ScenariosDeleteSamples.java
+++ b/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/ScenariosDeleteSamples.java
@@ -9,7 +9,7 @@
*/
public final class ScenariosDeleteSamples {
/*
- * x-ms-original-file: 2026-05-01-preview/Scenarios_Delete.json
+ * x-ms-original-file: 2026-08-01-preview/Scenarios_Delete.json
*/
/**
* Sample code: Delete a Scenario in a workspace.
diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/ScenariosGetSamples.java b/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/ScenariosGetSamples.java
index c8a8b505dea8..5903d67d6fe5 100644
--- a/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/ScenariosGetSamples.java
+++ b/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/ScenariosGetSamples.java
@@ -9,7 +9,7 @@
*/
public final class ScenariosGetSamples {
/*
- * x-ms-original-file: 2026-05-01-preview/Scenarios_Get.json
+ * x-ms-original-file: 2026-08-01-preview/Scenarios_Get.json
*/
/**
* Sample code: Get a scenario.
diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/ScenariosListAllSamples.java b/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/ScenariosListAllSamples.java
index c06ff7474679..56b331b8cce7 100644
--- a/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/ScenariosListAllSamples.java
+++ b/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/ScenariosListAllSamples.java
@@ -9,7 +9,7 @@
*/
public final class ScenariosListAllSamples {
/*
- * x-ms-original-file: 2026-05-01-preview/Scenarios_ListAll.json
+ * x-ms-original-file: 2026-08-01-preview/Scenarios_ListAll.json
*/
/**
* Sample code: Get a list of scenarios.
diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/TargetTypesGetSamples.java b/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/TargetTypesGetSamples.java
index 3764e6f58dcf..c14869da685e 100644
--- a/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/TargetTypesGetSamples.java
+++ b/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/TargetTypesGetSamples.java
@@ -9,7 +9,7 @@
*/
public final class TargetTypesGetSamples {
/*
- * x-ms-original-file: 2026-05-01-preview/TargetTypes_Get.json
+ * x-ms-original-file: 2026-08-01-preview/TargetTypes_Get.json
*/
/**
* Sample code: Get a Target Type for westus2 location.
diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/TargetTypesListSamples.java b/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/TargetTypesListSamples.java
index c3989b6ea744..a9ead791bef7 100644
--- a/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/TargetTypesListSamples.java
+++ b/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/TargetTypesListSamples.java
@@ -9,7 +9,7 @@
*/
public final class TargetTypesListSamples {
/*
- * x-ms-original-file: 2026-05-01-preview/TargetTypes_List.json
+ * x-ms-original-file: 2026-08-01-preview/TargetTypes_List.json
*/
/**
* Sample code: List all Target Types for westus2 location.
diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/TargetsCreateOrUpdateSamples.java b/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/TargetsCreateOrUpdateSamples.java
index 39a5d17d1d45..6872c1e48952 100644
--- a/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/TargetsCreateOrUpdateSamples.java
+++ b/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/TargetsCreateOrUpdateSamples.java
@@ -13,7 +13,7 @@
*/
public final class TargetsCreateOrUpdateSamples {
/*
- * x-ms-original-file: 2026-05-01-preview/Targets_CreateOrUpdate.json
+ * x-ms-original-file: 2026-08-01-preview/Targets_CreateOrUpdate.json
*/
/**
* Sample code: Create/update a Target that extends a virtual machine resource.
diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/TargetsDeleteSamples.java b/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/TargetsDeleteSamples.java
index ecec48e9e951..32f0c27a00eb 100644
--- a/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/TargetsDeleteSamples.java
+++ b/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/TargetsDeleteSamples.java
@@ -9,7 +9,7 @@
*/
public final class TargetsDeleteSamples {
/*
- * x-ms-original-file: 2026-05-01-preview/Targets_Delete.json
+ * x-ms-original-file: 2026-08-01-preview/Targets_Delete.json
*/
/**
* Sample code: Delete a Target that extends a virtual machine resource.
diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/TargetsGetSamples.java b/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/TargetsGetSamples.java
index 0ac1fc116479..e74c02122da1 100644
--- a/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/TargetsGetSamples.java
+++ b/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/TargetsGetSamples.java
@@ -9,7 +9,7 @@
*/
public final class TargetsGetSamples {
/*
- * x-ms-original-file: 2026-05-01-preview/Targets_Get.json
+ * x-ms-original-file: 2026-08-01-preview/Targets_Get.json
*/
/**
* Sample code: Get a Target that extends a virtual machine resource.
diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/TargetsListSamples.java b/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/TargetsListSamples.java
index 2c8fcefc4b7e..5f218ede69e0 100644
--- a/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/TargetsListSamples.java
+++ b/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/TargetsListSamples.java
@@ -9,7 +9,7 @@
*/
public final class TargetsListSamples {
/*
- * x-ms-original-file: 2026-05-01-preview/Targets_List.json
+ * x-ms-original-file: 2026-08-01-preview/Targets_List.json
*/
/**
* Sample code: List all Targets that extend a virtual machine resource.
diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/WorkspacesCreateOrUpdateSamples.java b/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/WorkspacesCreateOrUpdateSamples.java
index 9f1c71dc0ac4..538b081bb347 100644
--- a/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/WorkspacesCreateOrUpdateSamples.java
+++ b/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/WorkspacesCreateOrUpdateSamples.java
@@ -17,7 +17,7 @@
*/
public final class WorkspacesCreateOrUpdateSamples {
/*
- * x-ms-original-file: 2026-05-01-preview/Workspaces_CreateOrUpdate.json
+ * x-ms-original-file: 2026-08-01-preview/Workspaces_CreateOrUpdate.json
*/
/**
* Sample code: Create/update a workspace in a resource group.
diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/WorkspacesDeleteSamples.java b/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/WorkspacesDeleteSamples.java
index 9229bcc0e582..a0ddfbe443d2 100644
--- a/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/WorkspacesDeleteSamples.java
+++ b/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/WorkspacesDeleteSamples.java
@@ -9,7 +9,7 @@
*/
public final class WorkspacesDeleteSamples {
/*
- * x-ms-original-file: 2026-05-01-preview/Workspaces_Delete.json
+ * x-ms-original-file: 2026-08-01-preview/Workspaces_Delete.json
*/
/**
* Sample code: Delete a Workspace in a resource group.
diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/WorkspacesDiscoverSamples.java b/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/WorkspacesDiscoverSamples.java
new file mode 100644
index 000000000000..7f937a6b5184
--- /dev/null
+++ b/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/WorkspacesDiscoverSamples.java
@@ -0,0 +1,22 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.chaos.generated;
+
+/**
+ * Samples for Workspaces Discover.
+ */
+public final class WorkspacesDiscoverSamples {
+ /*
+ * x-ms-original-file: 2026-08-01-preview/Workspaces_Discover.json
+ */
+ /**
+ * Sample code: Trigger resource discovery for the workspace.
+ *
+ * @param manager Entry point to ChaosManager.
+ */
+ public static void triggerResourceDiscoveryForTheWorkspace(com.azure.resourcemanager.chaos.ChaosManager manager) {
+ manager.workspaces().discover("exampleRG", "exampleWorkspace", com.azure.core.util.Context.NONE);
+ }
+}
diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/WorkspacesEvaluateSamples.java b/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/WorkspacesEvaluateSamples.java
new file mode 100644
index 000000000000..16d4333a265b
--- /dev/null
+++ b/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/WorkspacesEvaluateSamples.java
@@ -0,0 +1,22 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.chaos.generated;
+
+/**
+ * Samples for Workspaces Evaluate.
+ */
+public final class WorkspacesEvaluateSamples {
+ /*
+ * x-ms-original-file: 2026-08-01-preview/Workspaces_Evaluate.json
+ */
+ /**
+ * Sample code: Trigger scenario evaluation for the workspace.
+ *
+ * @param manager Entry point to ChaosManager.
+ */
+ public static void triggerScenarioEvaluationForTheWorkspace(com.azure.resourcemanager.chaos.ChaosManager manager) {
+ manager.workspaces().evaluate("exampleRG", "exampleWorkspace", com.azure.core.util.Context.NONE);
+ }
+}
diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/WorkspacesGetByResourceGroupSamples.java b/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/WorkspacesGetByResourceGroupSamples.java
index fbcb7324c9fb..c081e7503e3a 100644
--- a/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/WorkspacesGetByResourceGroupSamples.java
+++ b/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/WorkspacesGetByResourceGroupSamples.java
@@ -9,7 +9,7 @@
*/
public final class WorkspacesGetByResourceGroupSamples {
/*
- * x-ms-original-file: 2026-05-01-preview/Workspaces_Get.json
+ * x-ms-original-file: 2026-08-01-preview/Workspaces_Get.json
*/
/**
* Sample code: Get a Workspace in a resource group.
diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/WorkspacesListByResourceGroupSamples.java b/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/WorkspacesListByResourceGroupSamples.java
index 7b8e2d8676b0..1f43a6b7ccfb 100644
--- a/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/WorkspacesListByResourceGroupSamples.java
+++ b/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/WorkspacesListByResourceGroupSamples.java
@@ -9,7 +9,7 @@
*/
public final class WorkspacesListByResourceGroupSamples {
/*
- * x-ms-original-file: 2026-05-01-preview/Workspaces_List.json
+ * x-ms-original-file: 2026-08-01-preview/Workspaces_List.json
*/
/**
* Sample code: List all Workspaces in a resource group.
diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/WorkspacesListSamples.java b/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/WorkspacesListSamples.java
index 56d8643a2331..e647ba5ddf46 100644
--- a/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/WorkspacesListSamples.java
+++ b/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/WorkspacesListSamples.java
@@ -9,7 +9,7 @@
*/
public final class WorkspacesListSamples {
/*
- * x-ms-original-file: 2026-05-01-preview/Workspaces_ListAll.json
+ * x-ms-original-file: 2026-08-01-preview/Workspaces_ListAll.json
*/
/**
* Sample code: List all Workspaces in a subscription.
diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/WorkspacesRefreshRecommendationsSamples.java b/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/WorkspacesRefreshRecommendationsSamples.java
deleted file mode 100644
index d592d8547015..000000000000
--- a/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/WorkspacesRefreshRecommendationsSamples.java
+++ /dev/null
@@ -1,23 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) TypeSpec Code Generator.
-
-package com.azure.resourcemanager.chaos.generated;
-
-/**
- * Samples for Workspaces RefreshRecommendations.
- */
-public final class WorkspacesRefreshRecommendationsSamples {
- /*
- * x-ms-original-file: 2026-05-01-preview/Workspaces_RefreshRecommendations.json
- */
- /**
- * Sample code: Refresh recommendations for all scenarios in a workspace.
- *
- * @param manager Entry point to ChaosManager.
- */
- public static void
- refreshRecommendationsForAllScenariosInAWorkspace(com.azure.resourcemanager.chaos.ChaosManager manager) {
- manager.workspaces().refreshRecommendations("exampleRG", "exampleWorkspace", com.azure.core.util.Context.NONE);
- }
-}
diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/WorkspacesUpdateSamples.java b/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/WorkspacesUpdateSamples.java
index 7ef806981de9..3ef8eaa92f86 100644
--- a/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/WorkspacesUpdateSamples.java
+++ b/sdk/chaos/azure-resourcemanager-chaos/src/samples/java/com/azure/resourcemanager/chaos/generated/WorkspacesUpdateSamples.java
@@ -16,7 +16,7 @@
*/
public final class WorkspacesUpdateSamples {
/*
- * x-ms-original-file: 2026-05-01-preview/Workspaces_Update.json
+ * x-ms-original-file: 2026-08-01-preview/Workspaces_Update.json
*/
/**
* Sample code: Update a Workspace in a resource group.
diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/ActionDependencyTests.java b/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/ActionDependencyTests.java
index 801f5cee1d30..947a84c6f277 100644
--- a/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/ActionDependencyTests.java
+++ b/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/ActionDependencyTests.java
@@ -14,21 +14,21 @@ public final class ActionDependencyTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
ActionDependency model
- = BinaryData.fromString("{\"type\":\"Action\",\"name\":\"nlvxbcuii\",\"onActionLifecycle\":\"Start\"}")
+ = BinaryData.fromString("{\"type\":\"Action\",\"name\":\"bcuiiz\",\"onActionLifecycle\":\"Running\"}")
.toObject(ActionDependency.class);
Assertions.assertEquals(ActionDependencyType.ACTION, model.type());
- Assertions.assertEquals("nlvxbcuii", model.name());
- Assertions.assertEquals(ActionLifecycle.START, model.onActionLifecycle());
+ Assertions.assertEquals("bcuiiz", model.name());
+ Assertions.assertEquals(ActionLifecycle.RUNNING, model.onActionLifecycle());
}
@org.junit.jupiter.api.Test
public void testSerialize() throws Exception {
ActionDependency model = new ActionDependency().withType(ActionDependencyType.ACTION)
- .withName("nlvxbcuii")
- .withOnActionLifecycle(ActionLifecycle.START);
+ .withName("bcuiiz")
+ .withOnActionLifecycle(ActionLifecycle.RUNNING);
model = BinaryData.fromObject(model).toObject(ActionDependency.class);
Assertions.assertEquals(ActionDependencyType.ACTION, model.type());
- Assertions.assertEquals("nlvxbcuii", model.name());
- Assertions.assertEquals(ActionLifecycle.START, model.onActionLifecycle());
+ Assertions.assertEquals("bcuiiz", model.name());
+ Assertions.assertEquals(ActionLifecycle.RUNNING, model.onActionLifecycle());
}
}
diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/ActionVersionsGetWithResponseMockTests.java b/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/ActionVersionsGetWithResponseMockTests.java
index cb798109a845..c7601bfb4882 100644
--- a/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/ActionVersionsGetWithResponseMockTests.java
+++ b/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/ActionVersionsGetWithResponseMockTests.java
@@ -20,7 +20,7 @@ public final class ActionVersionsGetWithResponseMockTests {
@Test
public void testGetWithResponse() throws Exception {
String responseStr
- = "{\"properties\":{\"canonicalId\":\"elpkpbafvafhlbyl\",\"displayName\":\"bevxrhyzd\",\"description\":\"rsofpltdbmairrh\",\"actionName\":\"fnrac\",\"version\":\"pqigtuujwouhd\",\"actionType\":\"Discrete\",\"supportedTargetTypes\":[{\"targetType\":\"bjb\",\"requiredPermissions\":[\"ybvitvqkjyaznumt\",\"gmuwdchozfnkf\"]},{\"targetType\":\"lv\",\"requiredPermissions\":[\"akizvoaikna\",\"lnuwiguy\",\"lykwphvxz\"]},{\"targetType\":\"xhmpejtlkex\",\"requiredPermissions\":[\"wiv\",\"cqhrxhxknlccrmm\",\"yupiju\"]},{\"targetType\":\"qjfkakfqfrkemyi\",\"requiredPermissions\":[\"dxjascowvfdj\",\"pdxphlkksnmgzvyf\",\"jd\"]}],\"parametersSchema\":{},\"recommendedRoles\":[\"nwsithuqolyahluq\",\"qulsutrjbhxykfhy\",\"ezvqq\",\"g\"]},\"id\":\"ftbcvexreuquow\",\"name\":\"ljvfwhreagk\",\"type\":\"yxvrqtvbczsul\"}";
+ = "{\"properties\":{\"canonicalId\":\"ytiq\",\"displayName\":\"bqerzwx\",\"description\":\"txtd\",\"actionName\":\"kvlbpktgdstyoua\",\"version\":\"ewres\",\"actionType\":\"Continuous\",\"supportedTargetTypes\":[{\"targetType\":\"mmuteyxeyguq\",\"requiredPermissions\":[\"jiitnspxlzdesygr\",\"jwaiuf\"]},{\"targetType\":\"raybfueqfr\",\"requiredPermissions\":[\"ydgr\",\"ydkygywezskieca\",\"ygzmxieqvdsmak\"]},{\"targetType\":\"xq\",\"requiredPermissions\":[\"y\",\"xalybxawoijpo\"]}],\"parametersSchema\":{},\"recommendedRoles\":[\"xpkk\"]},\"id\":\"djodqhy\",\"name\":\"incnr\",\"type\":\"mehllizhceu\"}";
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));
ActionVersion response = manager.actionVersions()
- .getWithResponse("ziu", "fbzkk", "tnhqsycl", com.azure.core.util.Context.NONE)
+ .getWithResponse("tujwjju", "wbeqrkuor", "tssruqnmdvhazc", com.azure.core.util.Context.NONE)
.getValue();
}
diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/ActionVersionsListMockTests.java b/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/ActionVersionsListMockTests.java
index 170a5ed9f8b6..06e28c4ae7a6 100644
--- a/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/ActionVersionsListMockTests.java
+++ b/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/ActionVersionsListMockTests.java
@@ -21,7 +21,7 @@ public final class ActionVersionsListMockTests {
@Test
public void testList() throws Exception {
String responseStr
- = "{\"value\":[{\"properties\":{\"canonicalId\":\"ujcngo\",\"displayName\":\"yedmzrgj\",\"description\":\"knubnoitp\",\"actionName\":\"ztrgdgxvcoq\",\"version\":\"sw\",\"actionType\":\"Cancelable\",\"supportedTargetTypes\":[{\"targetType\":\"itweialwvskbuh\",\"requiredPermissions\":[\"aq\"]},{\"targetType\":\"ltcoqc\",\"requiredPermissions\":[\"dsxzakuejkmvb\",\"ztjofqcvovjufyc\",\"jmlbemyejiriux\"]}],\"parametersSchema\":{},\"recommendedRoles\":[\"ortudawlpjfel\",\"erppt\"]},\"id\":\"gqnzm\",\"name\":\"h\",\"type\":\"ilialwcjgc\"}]}";
+ = "{\"value\":[{\"properties\":{\"canonicalId\":\"swzsnuyemlowuo\",\"displayName\":\"lxlnwyrmo\",\"description\":\"blgmokzkltrfowtd\",\"actionName\":\"fmvlihcvjdrqc\",\"version\":\"idhftu\",\"actionType\":\"Continuous\",\"supportedTargetTypes\":[{\"targetType\":\"wyojbfqzdkfnjyi\",\"requiredPermissions\":[\"fratqxmbjroumzz\"]},{\"targetType\":\"al\",\"requiredPermissions\":[\"huzgfxo\",\"jtpusllywpvtiotz\",\"pdbollg\",\"yfqiuasig\"]}],\"parametersSchema\":{},\"recommendedRoles\":[\"ocnequygdjboqgrm\",\"qjkqevadrmmwi\",\"awvcmjzkxiid\",\"scz\"]},\"id\":\"oswoqiqazugamx\",\"name\":\"krrcoiisbamnpp\",\"type\":\"cekuz\"}]}";
HttpClient httpClient
= response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
@@ -30,8 +30,8 @@ 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.actionVersions()
- .list("dgglmepjpfs", "ykgsangpszng", "fpgylkve", com.azure.core.util.Context.NONE);
+ PagedIterable response
+ = manager.actionVersions().list("oqodkadpp", "ibngqladyw", "xwhydtluvv", com.azure.core.util.Context.NONE);
}
}
diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/ActionsGetWithResponseMockTests.java b/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/ActionsGetWithResponseMockTests.java
index cec2678e77e3..8247371d8547 100644
--- a/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/ActionsGetWithResponseMockTests.java
+++ b/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/ActionsGetWithResponseMockTests.java
@@ -20,7 +20,7 @@ public final class ActionsGetWithResponseMockTests {
@Test
public void testGetWithResponse() throws Exception {
String responseStr
- = "{\"properties\":{\"canonicalId\":\"kkileplkc\",\"displayName\":\"knh\",\"description\":\"bbaedorvvm\",\"actionName\":\"loyg\",\"version\":\"gwumgxdgdhpa\",\"actionType\":\"Continuous\",\"supportedTargetTypes\":[{\"targetType\":\"ddvjsaqwotmmw\",\"requiredPermissions\":[\"olsrsxapt\",\"f\",\"excgjokjljnhvl\",\"jbekpeeksnbksdq\"]}],\"parametersSchema\":{},\"recommendedRoles\":[\"klxesl\",\"hhus\"]},\"id\":\"poq\",\"name\":\"avnwqj\",\"type\":\"g\"}";
+ = "{\"properties\":{\"canonicalId\":\"nrlyxnuc\",\"displayName\":\"p\",\"description\":\"lkwq\",\"actionName\":\"tv\",\"version\":\"sdtcjbctvivuzqym\",\"actionType\":\"Continuous\",\"supportedTargetTypes\":[{\"targetType\":\"tgitsqhzvbrzc\",\"requiredPermissions\":[\"nfzndscxmxeat\",\"db\",\"wnrdjyibqbnaom\",\"jrmkuhmaxljalf\"]}],\"parametersSchema\":{},\"recommendedRoles\":[\"mobcan\",\"de\"]},\"id\":\"qcwgaxfgvaknokz\",\"name\":\"jjzr\",\"type\":\"tixldzyyfytpqs\"}";
HttpClient httpClient
= response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
@@ -29,8 +29,9 @@ public void testGetWithResponse() throws Exception {
.authenticate(tokenRequestContext -> Mono.just(new AccessToken("this_is_a_token", OffsetDateTime.MAX)),
new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD));
- Action response
- = manager.actions().getWithResponse("syeipqd", "mjtgrqg", com.azure.core.util.Context.NONE).getValue();
+ Action response = manager.actions()
+ .getWithResponse("skndnelqkaadlknw", "oanniyopetxi", com.azure.core.util.Context.NONE)
+ .getValue();
}
}
diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/ActionsListMockTests.java b/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/ActionsListMockTests.java
index e886bb2c1998..cba393c93575 100644
--- a/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/ActionsListMockTests.java
+++ b/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/ActionsListMockTests.java
@@ -21,7 +21,7 @@ public final class ActionsListMockTests {
@Test
public void testList() throws Exception {
String responseStr
- = "{\"value\":[{\"properties\":{\"canonicalId\":\"kns\",\"displayName\":\"wushcdp\",\"description\":\"pn\",\"actionName\":\"mgjfbpkuwxeoio\",\"version\":\"izfavkjzwf\",\"actionType\":\"Cancelable\",\"supportedTargetTypes\":[{\"targetType\":\"mmfz\",\"requiredPermissions\":[\"wxrzxmdewsrsxkrp\",\"bjazejwwviy\",\"y\"]}],\"parametersSchema\":{},\"recommendedRoles\":[\"brnnhjxsqw\",\"hqkb\"]},\"id\":\"etpozycyqiq\",\"name\":\"hgf\",\"type\":\"etzlexbsfledynoj\"}]}";
+ = "{\"value\":[{\"properties\":{\"canonicalId\":\"yqlkju\",\"displayName\":\"mbmslzoyov\",\"description\":\"dbpqvybefgvm\",\"actionName\":\"okcvtlubses\",\"version\":\"cua\",\"actionType\":\"Continuous\",\"supportedTargetTypes\":[{\"targetType\":\"lpi\",\"requiredPermissions\":[\"ycndzf\",\"ivjreuyk\",\"bmnwa\",\"ltbxoeeonqlnfw\"]},{\"targetType\":\"ymvqdbpbhfckdvez\",\"requiredPermissions\":[\"ssbzhddubbnqfbl\",\"kalehp\",\"vawu\"]},{\"targetType\":\"qjtiogqgdm\",\"requiredPermissions\":[\"ctteajohi\"]},{\"targetType\":\"spnbonhpcz\",\"requiredPermissions\":[\"ktpv\"]}],\"parametersSchema\":{},\"recommendedRoles\":[\"sehch\",\"hufmpq\",\"mqyjgy\"]},\"id\":\"ulodsaeuzanhsfnh\",\"name\":\"enwphpzfngq\",\"type\":\"clid\"}]}";
HttpClient httpClient
= response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
@@ -30,8 +30,7 @@ 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.actions().list("knlejjjkxybwfd", "kjbztensvkzykj", com.azure.core.util.Context.NONE);
+ PagedIterable response = manager.actions().list("x", "mmpuj", com.azure.core.util.Context.NONE);
}
}
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 bf74b4a423a8..0bbcccd60797 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\":\"ionszonwp\",\"targetType\":\"ajinnixjawrtmjfj\",\"description\":\"ccxlzhcoxovnek\",\"parametersSchema\":\"nlusfnrd\",\"urn\":\"xtxrdcqtjvidt\",\"provisioningState\":\"Running\"},\"id\":\"uslvyjtcvuwkasi\",\"name\":\"iesfuug\",\"type\":\"tuqfecjxeygtu\"}";
+ = "{\"properties\":{\"publisher\":\"stmhqykizmd\",\"targetType\":\"aoaf\",\"description\":\"uqvoxmycjimryv\",\"parametersSchema\":\"cwwp\",\"urn\":\"zgwe\",\"provisioningState\":\"Deleting\"},\"id\":\"xwefohecbvopwndy\",\"name\":\"leallklm\",\"type\":\"khlowkxxpv\"}";
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("hppubowsepdfgkmt", "herngb", "c", "uahokq", "obkauxofsh", "phwpnulaiywzej",
- new CapabilityInner(), com.azure.core.util.Context.NONE)
+ .createOrUpdateWithResponse("oshbragapyy", "mfsvbpav", "opfppdbwnupgah", "kuma", "jcaacfdmmcpugm",
+ "hqepvufhbzehewh", 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 cba45a086fbc..e9634651c0d6 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,7 +28,7 @@ public void testDeleteWithResponse() throws Exception {
new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD));
manager.capabilities()
- .deleteWithResponse("xu", "cbuewmrswnjlxuz", "hwpusxj", "aqehg", "dohzjq", "tu",
+ .deleteWithResponse("rdfjmzsyzfhotl", "ikcyyc", "unsjlpjrtwszhvvu", "c", "hvtrrmhwrbfdpyf", "ubhvj",
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 7d271130c5a8..7ccc54c91006 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\":\"phuartv\",\"targetType\":\"ukyefchnmnahmnxh\",\"description\":\"jqirwrw\",\"parametersSchema\":\"oxffif\",\"urn\":\"wrsnewmozqvbu\",\"provisioningState\":\"Updating\"},\"id\":\"m\",\"name\":\"sycxhxzgaz\",\"type\":\"taboidvmf\"}";
+ = "{\"properties\":{\"publisher\":\"cyknapqofyuicd\",\"targetType\":\"bd\",\"description\":\"wwgbdv\",\"parametersSchema\":\"idmhmwf\",\"urn\":\"lfmu\",\"provisioningState\":\"Updating\"},\"id\":\"kccrrvwey\",\"name\":\"xoy\",\"type\":\"ukphaimmoiroq\"}";
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("wpktvqylkmqpzoyh", "fbcgwgcloxoebqin", "ipnwj", "ujqlafcbahh", "zpofoiyjwpfilk",
- "kkholvdndvia", com.azure.core.util.Context.NONE)
+ .getWithResponse("klobdxnazpmk", "lmv", "vfxzopjh", "zxlioh", "d", "dtfgxqbawpcbb",
+ 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 aa8acd2f9cc5..a4ecc44d7862 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\":\"rwd\",\"targetType\":\"zeqyjleziun\",\"description\":\"dfzantkwcegy\",\"parametersSchema\":\"lbnseqac\",\"urn\":\"vpilg\",\"provisioningState\":\"Failed\"},\"id\":\"jagmdi\",\"name\":\"gueiookjbsahrtdt\",\"type\":\"delqacslmoto\"}]}";
+ = "{\"value\":[{\"properties\":{\"publisher\":\"hotj\",\"targetType\":\"lpxuzzjgnrefq\",\"description\":\"qotoihiqakydiwfb\",\"parametersSchema\":\"wpzdqtvhcspo\",\"urn\":\"qaxsipietgbebjf\",\"provisioningState\":\"Running\"},\"id\":\"oichdlpnfpubnt\",\"name\":\"batzviqsows\",\"type\":\"aelcat\"}]}";
HttpClient httpClient
= response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
@@ -31,7 +31,8 @@ public void testList() throws Exception {
new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD));
PagedIterable response = manager.capabilities()
- .list("o", "gebx", "cnwfepbnwgfmxjg", "g", "jbgdlfgtdysnaquf", "qbctqha", com.azure.core.util.Context.NONE);
+ .list("lrocuyzlwh", "memhooclutnpq", "emc", "jk", "mykyujxsglhs", "rryejylmbkzudnig",
+ com.azure.core.util.Context.NONE);
}
}
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 67cf12273dc2..7d0b4a2b6ccb 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\":\"wwgbdv\",\"targetType\":\"idmhmwf\",\"displayName\":\"lfmu\",\"description\":\"pckc\",\"parametersSchema\":\"rv\",\"urn\":\"yoxoy\",\"kind\":\"k\",\"azureRbacActions\":[\"immoiroqboshbrag\",\"pyyrmfs\",\"bpav\"],\"azureRbacDataActions\":[\"fppdbwnu\",\"gahxkumasjcaa\"],\"requiredAzureRoleDefinitionIds\":[\"mmcpug\",\"ehqepvufhbzehe\",\"hoqhnl\",\"qnbldxe\"],\"runtimeProperties\":{\"kind\":\"gschorimkrsrr\"}},\"id\":\"ucsofldpuviyf\",\"name\":\"aabeolhbhlvbmxuq\",\"type\":\"bsxtkcudfbsfarfs\"}";
+ = "{\"properties\":{\"publisher\":\"dvlvhbwrnfxtgdd\",\"targetType\":\"th\",\"displayName\":\"n\",\"description\":\"aoyankcoeqswa\",\"parametersSchema\":\"ltytmhdr\",\"urn\":\"nnhdrl\",\"kind\":\"gjc\",\"azureRbacActions\":[\"uxhemlwywaeeczg\",\"bukklels\"],\"azureRbacDataActions\":[\"lycsxz\",\"jks\",\"lsmdesqplpvmjc\"],\"requiredAzureRoleDefinitionIds\":[\"wb\",\"dyvt\",\"owx\",\"gpiudeug\"],\"runtimeProperties\":{\"kind\":\"zec\"}},\"id\":\"xw\",\"name\":\"ufykhvuhxepmru\",\"type\":\"znabaobns\"}";
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", "ofyuicd", "zb", com.azure.core.util.Context.NONE)
+ .getWithResponse("nsq", "wxwcomli", "ytwvczcswkacve", 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 7aee68d4a68c..b517f68baed3 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\":\"saoafcluqvox\",\"targetType\":\"cjimryvwgcwwpbmz\",\"displayName\":\"esyds\",\"description\":\"efoh\",\"parametersSchema\":\"bvopwndyqle\",\"urn\":\"lklmtkhlo\",\"kind\":\"x\",\"azureRbacActions\":[\"br\",\"fjmzsyzfho\",\"lhikcyychunsj\",\"pjrtws\"],\"azureRbacDataActions\":[\"vuicp\"],\"requiredAzureRoleDefinitionIds\":[\"rrmhwrbfdp\",\"f\"],\"runtimeProperties\":{\"kind\":\"hvj\"}},\"id\":\"r\",\"name\":\"cuyzlwhhmemhoocl\",\"type\":\"tnpqmemczjk\"}]}";
+ = "{\"value\":[{\"properties\":{\"publisher\":\"pemmucfxhik\",\"targetType\":\"lrmymyincqlhri\",\"displayName\":\"sl\",\"description\":\"iiovgqcgxu\",\"parametersSchema\":\"qkctotiowlxte\",\"urn\":\"ptjgwdt\",\"kind\":\"kranblwphqlkcc\",\"azureRbacActions\":[\"ygqwahoiu\",\"wgniipr\"],\"azureRbacDataActions\":[\"awuwzdufypivls\",\"bjpmcubk\",\"ifoxxkubvphav\",\"mhbrbqgvg\"],\"requiredAzureRoleDefinitionIds\":[\"bbttefjo\",\"nssqyzqed\",\"kdfrdbiqmrjgeihf\",\"lg\"],\"runtimeProperties\":{\"kind\":\"iwzcxmjpbyeph\"}},\"id\":\"t\",\"name\":\"ljvrcmyfqipgxhnp\",\"type\":\"myqwcab\"}]}";
HttpClient httpClient
= response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
@@ -30,8 +30,8 @@ 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.capabilityTypes().list("owlkjxnqpv", "gf", "tmhqykiz", com.azure.core.util.Context.NONE);
+ PagedIterable response = manager.capabilityTypes()
+ .list("ujdjltymkmvg", "ihywartspph", "ixkykxd", com.azure.core.util.Context.NONE);
}
}
diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/ConfigurationFiltersTests.java b/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/ConfigurationFiltersTests.java
deleted file mode 100644
index 3d4ea97f4160..000000000000
--- a/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/ConfigurationFiltersTests.java
+++ /dev/null
@@ -1,34 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) TypeSpec Code Generator.
-
-package com.azure.resourcemanager.chaos.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.chaos.models.ConfigurationFilters;
-import java.util.Arrays;
-import org.junit.jupiter.api.Assertions;
-
-public final class ConfigurationFiltersTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- ConfigurationFilters model = BinaryData.fromString(
- "{\"locations\":[\"i\",\"xgvelfclduccbird\",\"vuwcobiegstmnin\",\"jizcilnghgs\"],\"zones\":[\"jtbxqmuluxlx\",\"zvners\",\"ycucrwnamikzeb\",\"qbsms\"],\"physicalZones\":[\"qgfuhokzru\"]}")
- .toObject(ConfigurationFilters.class);
- Assertions.assertEquals("i", model.locations().get(0));
- Assertions.assertEquals("jtbxqmuluxlx", model.zones().get(0));
- Assertions.assertEquals("qgfuhokzru", model.physicalZones().get(0));
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- ConfigurationFilters model = new ConfigurationFilters()
- .withLocations(Arrays.asList("i", "xgvelfclduccbird", "vuwcobiegstmnin", "jizcilnghgs"))
- .withZones(Arrays.asList("jtbxqmuluxlx", "zvners", "ycucrwnamikzeb", "qbsms"))
- .withPhysicalZones(Arrays.asList("qgfuhokzru"));
- model = BinaryData.fromObject(model).toObject(ConfigurationFilters.class);
- Assertions.assertEquals("i", model.locations().get(0));
- Assertions.assertEquals("jtbxqmuluxlx", model.zones().get(0));
- Assertions.assertEquals("qgfuhokzru", model.physicalZones().get(0));
- }
-}
diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/ConnectionInnerTests.java b/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/ConnectionInnerTests.java
new file mode 100644
index 000000000000..3526d47e2b01
--- /dev/null
+++ b/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/ConnectionInnerTests.java
@@ -0,0 +1,47 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.chaos.generated;
+
+import com.azure.core.util.BinaryData;
+import com.azure.resourcemanager.chaos.fluent.models.ConnectionInner;
+import com.azure.resourcemanager.chaos.models.ConnectionKind;
+import com.azure.resourcemanager.chaos.models.ConnectionProperties;
+import org.junit.jupiter.api.Assertions;
+
+public final class ConnectionInnerTests {
+ @org.junit.jupiter.api.Test
+ public void testDeserialize() throws Exception {
+ ConnectionInner model = BinaryData.fromString(
+ "{\"properties\":{\"kind\":\"ChaosAgent\",\"targetResourceId\":\"qy\",\"principalId\":\"eziunjxdfzant\",\"tenantId\":\"cegyamlbnseqacj\",\"certificateSubjectName\":\"pilguooqjag\",\"certificateIssuer\":\"itgueiookjbs\",\"dstsPrincipal\":\"rtdtpdelq\",\"dataPlaneEndpoint\":\"slmot\",\"status\":\"Connected\",\"provisioningState\":\"Canceled\"},\"id\":\"o\",\"name\":\"vcjkgd\",\"type\":\"razftxejwabmdujt\"}")
+ .toObject(ConnectionInner.class);
+ Assertions.assertEquals(ConnectionKind.CHAOS_AGENT, model.properties().kind());
+ Assertions.assertEquals("qy", model.properties().targetResourceId());
+ Assertions.assertEquals("eziunjxdfzant", model.properties().principalId());
+ Assertions.assertEquals("cegyamlbnseqacj", model.properties().tenantId());
+ Assertions.assertEquals("pilguooqjag", model.properties().certificateSubjectName());
+ Assertions.assertEquals("itgueiookjbs", model.properties().certificateIssuer());
+ Assertions.assertEquals("rtdtpdelq", model.properties().dstsPrincipal());
+ }
+
+ @org.junit.jupiter.api.Test
+ public void testSerialize() throws Exception {
+ ConnectionInner model
+ = new ConnectionInner().withProperties(new ConnectionProperties().withKind(ConnectionKind.CHAOS_AGENT)
+ .withTargetResourceId("qy")
+ .withPrincipalId("eziunjxdfzant")
+ .withTenantId("cegyamlbnseqacj")
+ .withCertificateSubjectName("pilguooqjag")
+ .withCertificateIssuer("itgueiookjbs")
+ .withDstsPrincipal("rtdtpdelq"));
+ model = BinaryData.fromObject(model).toObject(ConnectionInner.class);
+ Assertions.assertEquals(ConnectionKind.CHAOS_AGENT, model.properties().kind());
+ Assertions.assertEquals("qy", model.properties().targetResourceId());
+ Assertions.assertEquals("eziunjxdfzant", model.properties().principalId());
+ Assertions.assertEquals("cegyamlbnseqacj", model.properties().tenantId());
+ Assertions.assertEquals("pilguooqjag", model.properties().certificateSubjectName());
+ Assertions.assertEquals("itgueiookjbs", model.properties().certificateIssuer());
+ Assertions.assertEquals("rtdtpdelq", model.properties().dstsPrincipal());
+ }
+}
diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/ConnectionListResultTests.java b/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/ConnectionListResultTests.java
new file mode 100644
index 000000000000..379793c8f8a2
--- /dev/null
+++ b/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/ConnectionListResultTests.java
@@ -0,0 +1,27 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.chaos.generated;
+
+import com.azure.core.util.BinaryData;
+import com.azure.resourcemanager.chaos.implementation.models.ConnectionListResult;
+import com.azure.resourcemanager.chaos.models.ConnectionKind;
+import org.junit.jupiter.api.Assertions;
+
+public final class ConnectionListResultTests {
+ @org.junit.jupiter.api.Test
+ public void testDeserialize() throws Exception {
+ ConnectionListResult model = BinaryData.fromString(
+ "{\"value\":[{\"properties\":{\"kind\":\"AksExtension\",\"targetResourceId\":\"ansharujtjiqxfz\",\"principalId\":\"qttv\",\"tenantId\":\"pqhjpenuygbqeqq\",\"certificateSubjectName\":\"ewvnqvcdlgu\",\"certificateIssuer\":\"cmfdjwnlax\",\"dstsPrincipal\":\"njqikcz\",\"dataPlaneEndpoint\":\"itacgxmfcsserx\",\"status\":\"Pending\",\"provisioningState\":\"Canceled\"},\"id\":\"hlwntsjgq\",\"name\":\"sxypruuu\",\"type\":\"bnchrsziz\"},{\"properties\":{\"kind\":\"ChaosAgent\",\"targetResourceId\":\"elyetndnbf\",\"principalId\":\"ggagfln\",\"tenantId\":\"mtrwah\",\"certificateSubjectName\":\"mu\",\"certificateIssuer\":\"tb\",\"dstsPrincipal\":\"plrohkpigq\",\"dataPlaneEndpoint\":\"suckzm\",\"status\":\"Revoked\",\"provisioningState\":\"Succeeded\"},\"id\":\"oxaxm\",\"name\":\"e\",\"type\":\"alhhjnhgwydyynfs\"},{\"properties\":{\"kind\":\"Csfi\",\"targetResourceId\":\"gbv\",\"principalId\":\"anarfdlpukhpyrne\",\"tenantId\":\"jcpeogkhnmg\",\"certificateSubjectName\":\"ouxddbhfhpfpazj\",\"certificateIssuer\":\"ywjxh\",\"dstsPrincipal\":\"ulontacnpqwteht\",\"dataPlaneEndpoint\":\"vrh\",\"status\":\"Connected\",\"provisioningState\":\"Running\"},\"id\":\"gwxhnsduugwbsreu\",\"name\":\"fqkfuarenl\",\"type\":\"hhtklnvnafvvkyfe\"},{\"properties\":{\"kind\":\"AksExtension\",\"targetResourceId\":\"jboslcqxypok\",\"principalId\":\"minqcym\",\"tenantId\":\"ngnbdxxew\",\"certificateSubjectName\":\"invudbch\",\"certificateIssuer\":\"dtvqe\",\"dstsPrincipal\":\"qct\",\"dataPlaneEndpoint\":\"xdtddmflhuytxzv\",\"status\":\"Disconnected\",\"provisioningState\":\"Updating\"},\"id\":\"bannovvoxczytp\",\"name\":\"wnwvroevytlyokr\",\"type\":\"rouuxvnsasbcry\"}],\"nextLink\":\"dizr\"}")
+ .toObject(ConnectionListResult.class);
+ Assertions.assertEquals(ConnectionKind.AKS_EXTENSION, model.value().get(0).properties().kind());
+ Assertions.assertEquals("ansharujtjiqxfz", model.value().get(0).properties().targetResourceId());
+ Assertions.assertEquals("qttv", model.value().get(0).properties().principalId());
+ Assertions.assertEquals("pqhjpenuygbqeqq", model.value().get(0).properties().tenantId());
+ Assertions.assertEquals("ewvnqvcdlgu", model.value().get(0).properties().certificateSubjectName());
+ Assertions.assertEquals("cmfdjwnlax", model.value().get(0).properties().certificateIssuer());
+ Assertions.assertEquals("njqikcz", model.value().get(0).properties().dstsPrincipal());
+ Assertions.assertEquals("dizr", model.nextLink());
+ }
+}
diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/ConnectionPropertiesTests.java b/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/ConnectionPropertiesTests.java
new file mode 100644
index 000000000000..cda620b1c3c3
--- /dev/null
+++ b/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/ConnectionPropertiesTests.java
@@ -0,0 +1,45 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.chaos.generated;
+
+import com.azure.core.util.BinaryData;
+import com.azure.resourcemanager.chaos.models.ConnectionKind;
+import com.azure.resourcemanager.chaos.models.ConnectionProperties;
+import org.junit.jupiter.api.Assertions;
+
+public final class ConnectionPropertiesTests {
+ @org.junit.jupiter.api.Test
+ public void testDeserialize() throws Exception {
+ ConnectionProperties model = BinaryData.fromString(
+ "{\"kind\":\"ChaosAgent\",\"targetResourceId\":\"cope\",\"principalId\":\"m\",\"tenantId\":\"rbuhhlky\",\"certificateSubjectName\":\"tqsrogtuwkff\",\"certificateIssuer\":\"ktsysidfvclglxn\",\"dstsPrincipal\":\"ijtk\",\"dataPlaneEndpoint\":\"sqo\",\"status\":\"Revoked\",\"provisioningState\":\"Updating\"}")
+ .toObject(ConnectionProperties.class);
+ Assertions.assertEquals(ConnectionKind.CHAOS_AGENT, model.kind());
+ Assertions.assertEquals("cope", model.targetResourceId());
+ Assertions.assertEquals("m", model.principalId());
+ Assertions.assertEquals("rbuhhlky", model.tenantId());
+ Assertions.assertEquals("tqsrogtuwkff", model.certificateSubjectName());
+ Assertions.assertEquals("ktsysidfvclglxn", model.certificateIssuer());
+ Assertions.assertEquals("ijtk", model.dstsPrincipal());
+ }
+
+ @org.junit.jupiter.api.Test
+ public void testSerialize() throws Exception {
+ ConnectionProperties model = new ConnectionProperties().withKind(ConnectionKind.CHAOS_AGENT)
+ .withTargetResourceId("cope")
+ .withPrincipalId("m")
+ .withTenantId("rbuhhlky")
+ .withCertificateSubjectName("tqsrogtuwkff")
+ .withCertificateIssuer("ktsysidfvclglxn")
+ .withDstsPrincipal("ijtk");
+ model = BinaryData.fromObject(model).toObject(ConnectionProperties.class);
+ Assertions.assertEquals(ConnectionKind.CHAOS_AGENT, model.kind());
+ Assertions.assertEquals("cope", model.targetResourceId());
+ Assertions.assertEquals("m", model.principalId());
+ Assertions.assertEquals("rbuhhlky", model.tenantId());
+ Assertions.assertEquals("tqsrogtuwkff", model.certificateSubjectName());
+ Assertions.assertEquals("ktsysidfvclglxn", model.certificateIssuer());
+ Assertions.assertEquals("ijtk", model.dstsPrincipal());
+ }
+}
diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/ConnectionsCreateOrUpdateWithResponseMockTests.java b/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/ConnectionsCreateOrUpdateWithResponseMockTests.java
new file mode 100644
index 000000000000..9403e3e91752
--- /dev/null
+++ b/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/ConnectionsCreateOrUpdateWithResponseMockTests.java
@@ -0,0 +1,55 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.chaos.generated;
+
+import com.azure.core.credential.AccessToken;
+import com.azure.core.http.HttpClient;
+import com.azure.core.management.profile.AzureProfile;
+import com.azure.core.models.AzureCloud;
+import com.azure.core.test.http.MockHttpResponse;
+import com.azure.resourcemanager.chaos.ChaosManager;
+import com.azure.resourcemanager.chaos.models.Connection;
+import com.azure.resourcemanager.chaos.models.ConnectionKind;
+import com.azure.resourcemanager.chaos.models.ConnectionProperties;
+import java.nio.charset.StandardCharsets;
+import java.time.OffsetDateTime;
+import org.junit.jupiter.api.Assertions;
+import org.junit.jupiter.api.Test;
+import reactor.core.publisher.Mono;
+
+public final class ConnectionsCreateOrUpdateWithResponseMockTests {
+ @Test
+ public void testCreateOrUpdateWithResponse() throws Exception {
+ String responseStr
+ = "{\"properties\":{\"kind\":\"AksExtension\",\"targetResourceId\":\"kdidjc\",\"principalId\":\"rmpwctofld\",\"tenantId\":\"acdhztxkbr\",\"certificateSubjectName\":\"drwjiy\",\"certificateIssuer\":\"hfjsrwqrxetf\",\"dstsPrincipal\":\"wvrrmdqn\",\"dataPlaneEndpoint\":\"cnawth\",\"status\":\"Pending\",\"provisioningState\":\"Updating\"},\"id\":\"u\",\"name\":\"eamc\",\"type\":\"hudfjecehok\"}";
+
+ HttpClient httpClient
+ = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
+ ChaosManager manager = ChaosManager.configure()
+ .withHttpClient(httpClient)
+ .authenticate(tokenRequestContext -> Mono.just(new AccessToken("this_is_a_token", OffsetDateTime.MAX)),
+ new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD));
+
+ Connection response = manager.connections()
+ .define("xolriy")
+ .withExistingWorkspace("wjcciklhsy", "krdre")
+ .withProperties(new ConnectionProperties().withKind(ConnectionKind.CSFI)
+ .withTargetResourceId("beivdlhydwbdbfg")
+ .withPrincipalId("punytjl")
+ .withTenantId("smmpathubt")
+ .withCertificateSubjectName("deani")
+ .withCertificateIssuer("llbvgwzsfftedous")
+ .withDstsPrincipal("tjtgravaqogfkb"))
+ .create();
+
+ Assertions.assertEquals(ConnectionKind.AKS_EXTENSION, response.properties().kind());
+ Assertions.assertEquals("kdidjc", response.properties().targetResourceId());
+ Assertions.assertEquals("rmpwctofld", response.properties().principalId());
+ Assertions.assertEquals("acdhztxkbr", response.properties().tenantId());
+ Assertions.assertEquals("drwjiy", response.properties().certificateSubjectName());
+ Assertions.assertEquals("hfjsrwqrxetf", response.properties().certificateIssuer());
+ Assertions.assertEquals("wvrrmdqn", response.properties().dstsPrincipal());
+ }
+}
diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/ConnectionsDeleteWithResponseMockTests.java b/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/ConnectionsDeleteWithResponseMockTests.java
new file mode 100644
index 000000000000..499b9e7f790d
--- /dev/null
+++ b/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/ConnectionsDeleteWithResponseMockTests.java
@@ -0,0 +1,34 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.chaos.generated;
+
+import com.azure.core.credential.AccessToken;
+import com.azure.core.http.HttpClient;
+import com.azure.core.management.profile.AzureProfile;
+import com.azure.core.models.AzureCloud;
+import com.azure.core.test.http.MockHttpResponse;
+import com.azure.resourcemanager.chaos.ChaosManager;
+import java.nio.charset.StandardCharsets;
+import java.time.OffsetDateTime;
+import org.junit.jupiter.api.Test;
+import reactor.core.publisher.Mono;
+
+public final class ConnectionsDeleteWithResponseMockTests {
+ @Test
+ public void testDeleteWithResponse() throws Exception {
+ String responseStr = "{}";
+
+ HttpClient httpClient
+ = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
+ ChaosManager manager = ChaosManager.configure()
+ .withHttpClient(httpClient)
+ .authenticate(tokenRequestContext -> Mono.just(new AccessToken("this_is_a_token", OffsetDateTime.MAX)),
+ new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD));
+
+ manager.connections()
+ .deleteWithResponse("jhffbxrqrkij", "euqlsdxeqztv", "wmwwmjswen", com.azure.core.util.Context.NONE);
+
+ }
+}
diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/ConnectionsGetWithResponseMockTests.java b/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/ConnectionsGetWithResponseMockTests.java
new file mode 100644
index 000000000000..fde9f1b999ee
--- /dev/null
+++ b/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/ConnectionsGetWithResponseMockTests.java
@@ -0,0 +1,46 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.chaos.generated;
+
+import com.azure.core.credential.AccessToken;
+import com.azure.core.http.HttpClient;
+import com.azure.core.management.profile.AzureProfile;
+import com.azure.core.models.AzureCloud;
+import com.azure.core.test.http.MockHttpResponse;
+import com.azure.resourcemanager.chaos.ChaosManager;
+import com.azure.resourcemanager.chaos.models.Connection;
+import com.azure.resourcemanager.chaos.models.ConnectionKind;
+import java.nio.charset.StandardCharsets;
+import java.time.OffsetDateTime;
+import org.junit.jupiter.api.Assertions;
+import org.junit.jupiter.api.Test;
+import reactor.core.publisher.Mono;
+
+public final class ConnectionsGetWithResponseMockTests {
+ @Test
+ public void testGetWithResponse() throws Exception {
+ String responseStr
+ = "{\"properties\":{\"kind\":\"Csfi\",\"targetResourceId\":\"k\",\"principalId\":\"syaowuzowp\",\"tenantId\":\"hdkcprgu\",\"certificateSubjectName\":\"rztiochlutixmqr\",\"certificateIssuer\":\"jizcbfzmcrunfhiu\",\"dstsPrincipal\":\"mfbcpaqktkrum\",\"dataPlaneEndpoint\":\"ed\",\"status\":\"Disconnected\",\"provisioningState\":\"Succeeded\"},\"id\":\"xo\",\"name\":\"qkxiuxqggvqrn\",\"type\":\"yhlwcjsqg\"}";
+
+ HttpClient httpClient
+ = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
+ ChaosManager manager = ChaosManager.configure()
+ .withHttpClient(httpClient)
+ .authenticate(tokenRequestContext -> Mono.just(new AccessToken("this_is_a_token", OffsetDateTime.MAX)),
+ new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD));
+
+ Connection response = manager.connections()
+ .getWithResponse("bmqimi", "mqruqguhfupe", "asvvoqsbpkfl", com.azure.core.util.Context.NONE)
+ .getValue();
+
+ Assertions.assertEquals(ConnectionKind.CSFI, response.properties().kind());
+ Assertions.assertEquals("k", response.properties().targetResourceId());
+ Assertions.assertEquals("syaowuzowp", response.properties().principalId());
+ Assertions.assertEquals("hdkcprgu", response.properties().tenantId());
+ Assertions.assertEquals("rztiochlutixmqr", response.properties().certificateSubjectName());
+ Assertions.assertEquals("jizcbfzmcrunfhiu", response.properties().certificateIssuer());
+ Assertions.assertEquals("mfbcpaqktkrum", response.properties().dstsPrincipal());
+ }
+}
diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/ConnectionsListAllMockTests.java b/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/ConnectionsListAllMockTests.java
new file mode 100644
index 000000000000..9674f141f817
--- /dev/null
+++ b/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/ConnectionsListAllMockTests.java
@@ -0,0 +1,46 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.chaos.generated;
+
+import com.azure.core.credential.AccessToken;
+import com.azure.core.http.HttpClient;
+import com.azure.core.http.rest.PagedIterable;
+import com.azure.core.management.profile.AzureProfile;
+import com.azure.core.models.AzureCloud;
+import com.azure.core.test.http.MockHttpResponse;
+import com.azure.resourcemanager.chaos.ChaosManager;
+import com.azure.resourcemanager.chaos.models.Connection;
+import com.azure.resourcemanager.chaos.models.ConnectionKind;
+import java.nio.charset.StandardCharsets;
+import java.time.OffsetDateTime;
+import org.junit.jupiter.api.Assertions;
+import org.junit.jupiter.api.Test;
+import reactor.core.publisher.Mono;
+
+public final class ConnectionsListAllMockTests {
+ @Test
+ public void testListAll() throws Exception {
+ String responseStr
+ = "{\"value\":[{\"properties\":{\"kind\":\"ChaosAgent\",\"targetResourceId\":\"ht\",\"principalId\":\"lhsvidmytzlnglxp\",\"tenantId\":\"vyoanfbcswqagywv\",\"certificateSubjectName\":\"igvjrktp\",\"certificateIssuer\":\"eukyaw\",\"dstsPrincipal\":\"pmwhqnuc\",\"dataPlaneEndpoint\":\"lhsidsjtdl\",\"status\":\"Disconnected\",\"provisioningState\":\"Succeeded\"},\"id\":\"gazlsvbz\",\"name\":\"cpuo\",\"type\":\"e\"}]}";
+
+ HttpClient httpClient
+ = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
+ ChaosManager manager = ChaosManager.configure()
+ .withHttpClient(httpClient)
+ .authenticate(tokenRequestContext -> Mono.just(new AccessToken("this_is_a_token", OffsetDateTime.MAX)),
+ new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD));
+
+ PagedIterable response
+ = manager.connections().listAll("wwa", "ecleqioulndhzyo", com.azure.core.util.Context.NONE);
+
+ Assertions.assertEquals(ConnectionKind.CHAOS_AGENT, response.iterator().next().properties().kind());
+ Assertions.assertEquals("ht", response.iterator().next().properties().targetResourceId());
+ Assertions.assertEquals("lhsvidmytzlnglxp", response.iterator().next().properties().principalId());
+ Assertions.assertEquals("vyoanfbcswqagywv", response.iterator().next().properties().tenantId());
+ Assertions.assertEquals("igvjrktp", response.iterator().next().properties().certificateSubjectName());
+ Assertions.assertEquals("eukyaw", response.iterator().next().properties().certificateIssuer());
+ Assertions.assertEquals("pmwhqnuc", response.iterator().next().properties().dstsPrincipal());
+ }
+}
diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/DiscoveredResourceInnerTests.java b/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/DiscoveredResourceInnerTests.java
index 42260af1848c..5349f2aebf60 100644
--- a/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/DiscoveredResourceInnerTests.java
+++ b/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/DiscoveredResourceInnerTests.java
@@ -11,7 +11,7 @@ public final class DiscoveredResourceInnerTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
DiscoveredResourceInner model = BinaryData.fromString(
- "{\"properties\":{\"namespace\":\"jh\",\"resourceName\":\"mgixhcmavmqfou\",\"resourceType\":\"or\",\"fullyQualifiedIdentifier\":\"cgyypro\",\"discoveredAt\":\"2021-06-17T04:22:53Z\",\"scope\":\"ypundmbxhugc\"},\"id\":\"k\",\"name\":\"vlgo\",\"type\":\"bmftpmdt\"}")
+ "{\"properties\":{\"namespace\":\"d\",\"resourceName\":\"bxhugcmjkavlgorb\",\"resourceType\":\"ftpmdtzfjltfv\",\"fullyQualifiedIdentifier\":\"zcyjtot\",\"discoveredAt\":\"2021-03-11T07:33:33Z\",\"scope\":\"opv\"},\"id\":\"dbzqgqqihed\",\"name\":\"vqwt\",\"type\":\"mkyi\"}")
.toObject(DiscoveredResourceInner.class);
}
}
diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/DiscoveredResourceListResultTests.java b/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/DiscoveredResourceListResultTests.java
index b3522d6344a1..35d4847df28e 100644
--- a/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/DiscoveredResourceListResultTests.java
+++ b/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/DiscoveredResourceListResultTests.java
@@ -12,8 +12,8 @@ public final class DiscoveredResourceListResultTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
DiscoveredResourceListResult model = BinaryData.fromString(
- "{\"value\":[{\"properties\":{\"namespace\":\"cw\",\"resourceName\":\"hohsd\",\"resourceType\":\"mcdzsufcohdxbz\",\"fullyQualifiedIdentifier\":\"mcmuapc\",\"discoveredAt\":\"2021-08-04T10:09:35Z\",\"scope\":\"dbevwqqxeysko\"},\"id\":\"zinkfkbgbzbowxeq\",\"name\":\"clj\",\"type\":\"ygvkzqkjj\"},{\"properties\":{\"namespace\":\"kbzefezrxcczurt\",\"resourceName\":\"e\",\"resourceType\":\"pqxbkwvzgnzvdf\",\"fullyQualifiedIdentifier\":\"zdix\",\"discoveredAt\":\"2021-06-11T17:56:37Z\",\"scope\":\"q\"},\"id\":\"odawopqhewjptmcg\",\"name\":\"bostzel\",\"type\":\"dlat\"},{\"properties\":{\"namespace\":\"mzlbiojlvfhrb\",\"resourceName\":\"pn\",\"resourceType\":\"qvcww\",\"fullyQualifiedIdentifier\":\"yurmochpprprs\",\"discoveredAt\":\"2021-04-15T20:59:55Z\",\"scope\":\"okayzejnhlbkp\"},\"id\":\"pcpil\",\"name\":\"hahzvechndbnwi\",\"type\":\"hol\"},{\"properties\":{\"namespace\":\"jwiuubwefqsfapaq\",\"resourceName\":\"ferr\",\"resourceType\":\"wexjkmfxapjwogq\",\"fullyQualifiedIdentifier\":\"nobpudcdabtqwpw\",\"discoveredAt\":\"2021-08-19T12:15:22Z\",\"scope\":\"wbzasqbuclj\"},\"id\":\"yexaoguy\",\"name\":\"i\",\"type\":\"ids\"}],\"nextLink\":\"ultxijjumfq\"}")
+ "{\"value\":[{\"properties\":{\"namespace\":\"pcvhdbevwqqxeys\",\"resourceName\":\"onqzinkfkbgbzbow\",\"resourceType\":\"eqocljmygvk\",\"fullyQualifiedIdentifier\":\"qkjjeokbz\",\"discoveredAt\":\"2021-01-22T09:03:48Z\",\"scope\":\"ezrxcczurtleipqx\"},\"id\":\"wvz\",\"name\":\"nzvdfbzdixzmq\",\"type\":\"noda\"},{\"properties\":{\"namespace\":\"pqhe\",\"resourceName\":\"jptmcgsbost\",\"resourceType\":\"eln\",\"fullyQualifiedIdentifier\":\"la\",\"discoveredAt\":\"2021-05-21T16:50:39Z\",\"scope\":\"tmzlbiojlv\"},\"id\":\"rbbpneqvcwwyy\",\"name\":\"r\",\"type\":\"ochpprpr\"},{\"properties\":{\"namespace\":\"mo\",\"resourceName\":\"ayzejnhlbkpbz\",\"resourceType\":\"cpilj\",\"fullyQualifiedIdentifier\":\"a\",\"discoveredAt\":\"2021-06-17T22:30:47Z\",\"scope\":\"vechndbnwiehole\"},\"id\":\"wiuub\",\"name\":\"efqsfapaqtferrqw\",\"type\":\"x\"},{\"properties\":{\"namespace\":\"mfxapjwogqqno\",\"resourceName\":\"pud\",\"resourceType\":\"dabtqwp\",\"fullyQualifiedIdentifier\":\"yawbzasqbu\",\"discoveredAt\":\"2021-02-26T06:14:46Z\",\"scope\":\"jg\"},\"id\":\"exaoguya\",\"name\":\"p\",\"type\":\"dsdaultxijjumf\"}],\"nextLink\":\"azlnqnmcjngzqdqx\"}")
.toObject(DiscoveredResourceListResult.class);
- Assertions.assertEquals("ultxijjumfq", model.nextLink());
+ Assertions.assertEquals("azlnqnmcjngzqdqx", model.nextLink());
}
}
diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/DiscoveredResourcePropertiesTests.java b/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/DiscoveredResourcePropertiesTests.java
index 2240a275d19b..cbc08c21e46d 100644
--- a/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/DiscoveredResourcePropertiesTests.java
+++ b/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/DiscoveredResourcePropertiesTests.java
@@ -11,7 +11,7 @@ public final class DiscoveredResourcePropertiesTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
DiscoveredResourceProperties model = BinaryData.fromString(
- "{\"namespace\":\"fjltfvnzcyjtotp\",\"resourceName\":\"opv\",\"resourceType\":\"bdb\",\"fullyQualifiedIdentifier\":\"qgqqihedsvqwthmk\",\"discoveredAt\":\"2021-06-02T15:24:18Z\",\"scope\":\"bcysih\"}")
+ "{\"namespace\":\"cysihs\",\"resourceName\":\"qcwdhoh\",\"resourceType\":\"dtmcd\",\"fullyQualifiedIdentifier\":\"sufco\",\"discoveredAt\":\"2021-08-20T05:33:05Z\",\"scope\":\"xbzlmc\"}")
.toObject(DiscoveredResourceProperties.class);
}
}
diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/DiscoveredResourcesGetWithResponseMockTests.java b/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/DiscoveredResourcesGetWithResponseMockTests.java
index b6193366288c..adcac3abc371 100644
--- a/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/DiscoveredResourcesGetWithResponseMockTests.java
+++ b/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/DiscoveredResourcesGetWithResponseMockTests.java
@@ -20,7 +20,7 @@ public final class DiscoveredResourcesGetWithResponseMockTests {
@Test
public void testGetWithResponse() throws Exception {
String responseStr
- = "{\"properties\":{\"namespace\":\"lhjym\",\"resourceName\":\"cgqtag\",\"resourceType\":\"rclsso\",\"fullyQualifiedIdentifier\":\"jomevtfycnlb\",\"discoveredAt\":\"2021-08-10T19:14:01Z\",\"scope\":\"jcodkkgjiiytssi\"},\"id\":\"z\",\"name\":\"cufqbvntnrgmqs\",\"type\":\"rhcekxgnly\"}";
+ = "{\"properties\":{\"namespace\":\"wynefx\",\"resourceName\":\"x\",\"resourceType\":\"fciatxtjrr\",\"fullyQualifiedIdentifier\":\"kmdskjhhxd\",\"discoveredAt\":\"2021-11-16T15:47:25Z\",\"scope\":\"jfoxcxscvslxl\"},\"id\":\"a\",\"name\":\"krmukmyjmkxett\",\"type\":\"slojfkqidnqt\"}";
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));
DiscoveredResource response = manager.discoveredResources()
- .getWithResponse("kaobrl", "pgsn", "agnchjhgemuowaky", com.azure.core.util.Context.NONE)
+ .getWithResponse("uhspfefyihduy", "uyld", "hmtybkcgsuthhll", com.azure.core.util.Context.NONE)
.getValue();
}
diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/DiscoveredResourcesListByWorkspaceMockTests.java b/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/DiscoveredResourcesListByWorkspaceMockTests.java
index ff58f974cb23..041a77943e8a 100644
--- a/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/DiscoveredResourcesListByWorkspaceMockTests.java
+++ b/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/DiscoveredResourcesListByWorkspaceMockTests.java
@@ -21,7 +21,7 @@ public final class DiscoveredResourcesListByWorkspaceMockTests {
@Test
public void testListByWorkspace() throws Exception {
String responseStr
- = "{\"value\":[{\"properties\":{\"namespace\":\"lwxlboncqbazq\",\"resourceName\":\"cqchygtvxbyjane\",\"resourceType\":\"ubdpkxyqvgxi\",\"fullyQualifiedIdentifier\":\"od\",\"discoveredAt\":\"2021-10-03T22:46:30Z\",\"scope\":\"vohkxdxuws\"},\"id\":\"fmcwnosb\",\"name\":\"lehgcvkbc\",\"type\":\"njolgjyyxpv\"}]}";
+ = "{\"value\":[{\"properties\":{\"namespace\":\"biipsnawwlqkznx\",\"resourceName\":\"hllxricctkw\",\"resourceType\":\"uqqoaj\",\"fullyQualifiedIdentifier\":\"eiyglesrwvaexhdc\",\"discoveredAt\":\"2021-09-11T21:48:17Z\",\"scope\":\"ceqnkbrupobehd\"},\"id\":\"jzacvumepjpbibn\",\"name\":\"pphepifexl\",\"type\":\"qirccj\"}]}";
HttpClient httpClient
= response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
@@ -30,8 +30,8 @@ public void testListByWorkspace() throws Exception {
.authenticate(tokenRequestContext -> Mono.just(new AccessToken("this_is_a_token", OffsetDateTime.MAX)),
new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD));
- PagedIterable response
- = manager.discoveredResources().listByWorkspace("mxcpwzvmdoks", "dt", com.azure.core.util.Context.NONE);
+ PagedIterable response = manager.discoveredResources()
+ .listByWorkspace("qxjhqxcsqhtkbtnq", "rngl", com.azure.core.util.Context.NONE);
}
}
diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/EntraIdentityTests.java b/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/EntraIdentityTests.java
index 99ae6be56c7a..c4a6e8576711 100644
--- a/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/EntraIdentityTests.java
+++ b/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/EntraIdentityTests.java
@@ -10,7 +10,7 @@
public final class EntraIdentityTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
- EntraIdentity model
- = BinaryData.fromString("{\"objectId\":\"nlb\",\"tenantId\":\"jkwrusnkq\"}").toObject(EntraIdentity.class);
+ EntraIdentity model = BinaryData.fromString("{\"objectId\":\"yn\",\"tenantId\":\"nlqwzdvpiwhx\"}")
+ .toObject(EntraIdentity.class);
}
}
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 0b54d20956dd..8c769431e10c 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
@@ -32,7 +32,7 @@ public final class ExperimentsCreateOrUpdateMockTests {
@Test
public void testCreateOrUpdate() throws Exception {
String responseStr
- = "{\"identity\":{\"principalId\":\"ltgrdogypxrxv\",\"tenantId\":\"ihwuhvctafsrbxrb\",\"type\":\"None\",\"userAssignedIdentities\":{\"klsbsbqqqagw\":{\"principalId\":\"wxihs\",\"clientId\":\"xwqagnepzw\"},\"wjqo\":{\"principalId\":\"xaomzisglrrc\",\"clientId\":\"zkhhltnjadhqo\"}}},\"properties\":{\"provisioningState\":\"Succeeded\",\"steps\":[{\"name\":\"yfbpcmsplb\",\"branches\":[{\"name\":\"rueqthwm\",\"actions\":[]},{\"name\":\"nmbscbbx\",\"actions\":[]},{\"name\":\"gdhxi\",\"actions\":[]}]},{\"name\":\"d\",\"branches\":[{\"name\":\"pedbwdpyqy\",\"actions\":[]},{\"name\":\"bxubmdna\",\"actions\":[]},{\"name\":\"cbq\",\"actions\":[]},{\"name\":\"remj\",\"actions\":[]}]}],\"selectors\":[{\"type\":\"ChaosTargetSelector\",\"id\":\"aqacigeleohd\",\"filter\":{\"type\":\"ChaosTargetFilter\"}},{\"type\":\"ChaosTargetSelector\",\"id\":\"qvwzkjopwbeonrl\",\"filter\":{\"type\":\"ChaosTargetFilter\"}},{\"type\":\"ChaosTargetSelector\",\"id\":\"zdqyb\",\"filter\":{\"type\":\"ChaosTargetFilter\"}}],\"customerDataStorage\":{\"storageAccountResourceId\":\"kxcpt\",\"blobContainerName\":\"qfyiaseqchkr\"}},\"location\":\"zrazisgyk\",\"tags\":{\"mnrxxbsojkl\":\"mvanbwzo\"},\"id\":\"nhmdptysprqs\",\"name\":\"nzxojpslsvjgpli\",\"type\":\"fiqwoy\"}";
+ = "{\"identity\":{\"principalId\":\"ijymrhbguzozky\",\"tenantId\":\"nfnzhhh\",\"type\":\"None\",\"userAssignedIdentities\":{\"pyc\":{\"principalId\":\"fjkutycyarnroo\",\"clientId\":\"uabzoghkt\"},\"zptwrlohap\":{\"principalId\":\"coe\",\"clientId\":\"nhzqrottjzcfy\"},\"xpjb\":{\"principalId\":\"nfszpyglqdhmrjz\",\"clientId\":\"l\"},\"vsqxfxjelgcmpzqj\":{\"principalId\":\"psjoqcjenk\",\"clientId\":\"fq\"}}},\"properties\":{\"provisioningState\":\"Succeeded\",\"steps\":[{\"name\":\"xuwyvc\",\"branches\":[{\"name\":\"oyvivbsiz\",\"actions\":[]}]},{\"name\":\"sjsz\",\"branches\":[{\"name\":\"scmnlziji\",\"actions\":[]}]}],\"selectors\":[{\"type\":\"ChaosTargetSelector\",\"id\":\"ehgmvflnwyv\",\"filter\":{\"type\":\"ChaosTargetFilter\"}},{\"type\":\"ChaosTargetSelector\",\"id\":\"xrerlniylylyf\",\"filter\":{\"type\":\"ChaosTargetFilter\"}}],\"customerDataStorage\":{\"storageAccountResourceId\":\"tgqztwhghmup\",\"blobContainerName\":\"yjtcdxabbujftab\"}},\"location\":\"bbklqpxzuca\",\"tags\":{\"a\":\"dwwnl\",\"gookrtalvnb\":\"wxudgn\",\"yrdnqod\":\"gpbemeluclvdjju\",\"ipemchgavscz\":\"ahhxhqfaqnvzoqg\"},\"id\":\"ejdtxptl\",\"name\":\"h\",\"type\":\"zhomewjjstliu\"}";
HttpClient httpClient
= response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
@@ -42,39 +42,45 @@ public void testCreateOrUpdate() throws Exception {
new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD));
Experiment response = manager.experiments()
- .define("cisiz")
- .withRegion("lgtrczzy")
- .withExistingResourceGroup("jlrxwtoaukhfk")
- .withSteps(Arrays.asList(
- new ChaosExperimentStep().withName("auf")
- .withBranches(Arrays.asList(
- new ChaosExperimentBranch().withName("hhvnewgnxkymp").withActions(Arrays.asList()),
- new ChaosExperimentBranch().withName("anxrj").withActions(Arrays.asList()),
- new ChaosExperimentBranch().withName("ixt").withActions(Arrays.asList()))),
- new ChaosExperimentStep().withName("bta")
+ .define("mbtsuahxsg")
+ .withRegion("jauj")
+ .withExistingResourceGroup("vf")
+ .withSteps(Arrays.asList(new ChaosExperimentStep().withName("mwineof")
+ .withBranches(Arrays.asList(new ChaosExperimentBranch().withName("kak").withActions(Arrays.asList()))),
+ new ChaosExperimentStep().withName("oldtvevboclzhz")
+ .withBranches(Arrays.asList(new ChaosExperimentBranch().withName("n").withActions(Arrays.asList()),
+ new ChaosExperimentBranch().withName("uxgvttxpnr").withActions(Arrays.asList()),
+ new ChaosExperimentBranch().withName("pzaamrdixtreki").withActions(Arrays.asList()))),
+ new ChaosExperimentStep().withName("swyskbruffg")
.withBranches(
- Arrays.asList(new ChaosExperimentBranch().withName("pnyghs").withActions(Arrays.asList()),
- new ChaosExperimentBranch().withName("xcy").withActions(Arrays.asList()),
- new ChaosExperimentBranch().withName("hkgmnsg").withActions(Arrays.asList())))))
+ Arrays.asList(new ChaosExperimentBranch().withName("ukkutvl").withActions(Arrays.asList()),
+ new ChaosExperimentBranch().withName("hrpqhv").withActions(Arrays.asList()),
+ new ChaosExperimentBranch().withName("blcouqehbhbcdszi").withActions(Arrays.asList()),
+ new ChaosExperimentBranch().withName("yr").withActions(Arrays.asList()))),
+ new ChaosExperimentStep().withName("ndo")
+ .withBranches(
+ Arrays.asList(new ChaosExperimentBranch().withName("mbltoo").withActions(Arrays.asList()),
+ new ChaosExperimentBranch().withName("mkfqlwxldy").withActions(Arrays.asList()),
+ new ChaosExperimentBranch().withName("alsygao").withActions(Arrays.asList()),
+ new ChaosExperimentBranch().withName("njpnnbmj").withActions(Arrays.asList())))))
.withSelectors(
- Arrays.asList(new ChaosTargetSelector().withId("xycphdrwjjkh").withFilter(new ChaosTargetFilter()),
- new ChaosTargetSelector().withId("omacluzvxnqmhr").withFilter(new ChaosTargetFilter())))
- .withTags(mapOf("defxrdc", "zjijpvuaurkihcir"))
+ Arrays.asList(new ChaosTargetSelector().withId("ibjgsjjxxahm").withFilter(new ChaosTargetFilter()),
+ new ChaosTargetSelector().withId("ad").withFilter(new ChaosTargetFilter())))
+ .withTags(mapOf("ekaum", "nnggiycwkdtaawxw", "bzmqkratbn", "rq"))
.withIdentity(new ResourceIdentity().withType(ManagedServiceIdentityType.SYSTEM_ASSIGNED)
- .withUserAssignedIdentities(mapOf("dlrgms", new UserAssignedIdentity())))
- .withCustomerDataStorage(
- new CustomerDataStorageProperties().withStorageAccountResourceId("fwmkoisqcssffxui")
- .withBlobContainerName("csypobkdqzrdzsyl"))
+ .withUserAssignedIdentities(mapOf("vjogjonmcyefo", new UserAssignedIdentity())))
+ .withCustomerDataStorage(new CustomerDataStorageProperties().withStorageAccountResourceId("gxyivpinbmh")
+ .withBlobContainerName("jijkgqxnhmbke"))
.create();
- Assertions.assertEquals("zrazisgyk", response.location());
- Assertions.assertEquals("mvanbwzo", response.tags().get("mnrxxbsojkl"));
+ Assertions.assertEquals("bbklqpxzuca", response.location());
+ Assertions.assertEquals("dwwnl", response.tags().get("a"));
Assertions.assertEquals(ManagedServiceIdentityType.NONE, response.identity().type());
- Assertions.assertEquals("yfbpcmsplb", response.steps().get(0).name());
- Assertions.assertEquals("rueqthwm", response.steps().get(0).branches().get(0).name());
- Assertions.assertEquals("aqacigeleohd", response.selectors().get(0).id());
- Assertions.assertEquals("kxcpt", response.customerDataStorage().storageAccountResourceId());
- Assertions.assertEquals("qfyiaseqchkr", response.customerDataStorage().blobContainerName());
+ Assertions.assertEquals("xuwyvc", response.steps().get(0).name());
+ Assertions.assertEquals("oyvivbsiz", response.steps().get(0).branches().get(0).name());
+ Assertions.assertEquals("ehgmvflnwyv", response.selectors().get(0).id());
+ Assertions.assertEquals("tgqztwhghmup", response.customerDataStorage().storageAccountResourceId());
+ Assertions.assertEquals("yjtcdxabbujftab", response.customerDataStorage().blobContainerName());
}
// 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 6bb08ce61d46..a92986520fca 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\":\"havpmhbrbqgvg\",\"id\":\"pbbttefjoknss\",\"name\":\"zqedikdfrdbi\",\"properties\":{\"status\":\"jgeihfqlggwfi\",\"startedAt\":\"2021-11-27T16:20:17Z\",\"stoppedAt\":\"2021-03-10T16:18:21Z\",\"provisioningState\":\"Running\",\"failureReason\":\"yephmgtvljvrcmyf\",\"lastActionAt\":\"2021-07-04T14:58:40Z\",\"runInformation\":{\"steps\":[{\"stepName\":\"pomyqwcabvnuile\",\"stepId\":\"aswlp\",\"status\":\"gm\",\"branches\":[{},{},{}]}]}}}";
+ = "{\"type\":\"peuknijd\",\"id\":\"yespydjfbocyv\",\"name\":\"ulrtywikdmh\",\"properties\":{\"status\":\"uflgbhgauacdixm\",\"startedAt\":\"2021-04-01T08:16:50Z\",\"stoppedAt\":\"2021-09-01T23:44:15Z\",\"provisioningState\":\"Succeeded\",\"failureReason\":\"qg\",\"lastActionAt\":\"2021-08-22T18:10:50Z\",\"runInformation\":{\"steps\":[{\"stepName\":\"eoqbvjhvefgwbmqj\",\"stepId\":\"ntasfaymxbu\",\"status\":\"zealbmqkyo\",\"branches\":[{},{}]}]}}}";
HttpClient httpClient
= response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
@@ -30,8 +30,7 @@ public void testExecutionDetailsWithResponse() throws Exception {
new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD));
ExperimentExecutionDetails response = manager.experiments()
- .executionDetailsWithResponse("gniiprglvaw", "wzdufypivlsbb", "pmcubkmifoxxkub",
- com.azure.core.util.Context.NONE)
+ .executionDetailsWithResponse("rweft", "wqejpmvsse", "aepwamcxtcz", 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 eda93a4fe835..221deb01ad8e 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\":\"hotj\",\"tenantId\":\"lpxuzzjgnrefq\",\"type\":\"None\",\"userAssignedIdentities\":{\"odaqaxsi\":{\"principalId\":\"oihiqak\",\"clientId\":\"iwfbrkwpzdqtvhcs\"},\"pubntnbatz\":{\"principalId\":\"etgbebjfulb\",\"clientId\":\"ichdlpn\"}}},\"properties\":{\"provisioningState\":\"Canceled\",\"steps\":[{\"name\":\"owsaaelcattcjuh\",\"branches\":[{\"name\":\"rvkmjcwmjvlgfggc\",\"actions\":[]},{\"name\":\"kyylizr\",\"actions\":[]}]},{\"name\":\"bjpsfxsfuztlvtm\",\"branches\":[{\"name\":\"gbwidqlvh\",\"actions\":[]}]}],\"selectors\":[{\"type\":\"ChaosTargetSelector\",\"id\":\"oveofizrvjfnmj\",\"filter\":{\"type\":\"ChaosTargetFilter\"}},{\"type\":\"ChaosTargetSelector\",\"id\":\"lwyzgib\",\"filter\":{\"type\":\"ChaosTargetFilter\"}}],\"customerDataStorage\":{\"storageAccountResourceId\":\"rllfojuidjpuuyj\",\"blobContainerName\":\"ejikzoeovvtzejet\"}},\"location\":\"ln\",\"tags\":{\"zolxrzvhqjwtr\":\"yjuzkdb\"},\"id\":\"tgvgzp\",\"name\":\"rrkolawjmjs\",\"type\":\"wro\"}";
+ = "{\"identity\":{\"principalId\":\"mrmfjl\",\"tenantId\":\"wtoaukhfk\",\"type\":\"SystemAssigned\",\"userAssignedIdentities\":{\"cgyee\":{\"principalId\":\"zmoaeds\",\"clientId\":\"wuived\"},\"guamlj\":{\"principalId\":\"ei\",\"clientId\":\"psmgo\"}}},\"properties\":{\"provisioningState\":\"Updating\",\"steps\":[{\"name\":\"msplzgaufcshhvn\",\"branches\":[{\"name\":\"gnxkympqan\",\"actions\":[]},{\"name\":\"rjkixtw\",\"actions\":[]},{\"name\":\"taoypnyghshxc\",\"actions\":[]},{\"name\":\"lhkgmnsghp\",\"actions\":[]}]},{\"name\":\"ycphdrwjjkhvyo\",\"branches\":[{\"name\":\"c\",\"actions\":[]}]},{\"name\":\"u\",\"branches\":[{\"name\":\"xnqmhrpqpdfwm\",\"actions\":[]},{\"name\":\"oi\",\"actions\":[]},{\"name\":\"qc\",\"actions\":[]}]},{\"name\":\"sffxui\",\"branches\":[{\"name\":\"csypobkdqzrdzsyl\",\"actions\":[]}]}],\"selectors\":[{\"type\":\"ChaosTargetSelector\",\"id\":\"lgtrczzy\",\"filter\":{\"type\":\"ChaosTargetFilter\"}}],\"customerDataStorage\":{\"storageAccountResourceId\":\"ji\",\"blobContainerName\":\"vuaurk\"}},\"location\":\"ci\",\"tags\":{\"ja\":\"efxrdcoxnbk\",\"qltgrd\":\"urnnqbnqbpiz\"},\"id\":\"gypxrxvbfihwuhvc\",\"name\":\"a\",\"type\":\"s\"}";
HttpClient httpClient
= response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
@@ -32,16 +32,16 @@ public void testGetByResourceGroupWithResponse() throws Exception {
new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD));
Experiment response = manager.experiments()
- .getByResourceGroupWithResponse("mykyujxsglhs", "rryejylmbkzudnig", com.azure.core.util.Context.NONE)
+ .getByResourceGroupWithResponse("nuilee", "aswlp", com.azure.core.util.Context.NONE)
.getValue();
- Assertions.assertEquals("ln", response.location());
- Assertions.assertEquals("yjuzkdb", response.tags().get("zolxrzvhqjwtr"));
- Assertions.assertEquals(ManagedServiceIdentityType.NONE, response.identity().type());
- Assertions.assertEquals("owsaaelcattcjuh", response.steps().get(0).name());
- Assertions.assertEquals("rvkmjcwmjvlgfggc", response.steps().get(0).branches().get(0).name());
- Assertions.assertEquals("oveofizrvjfnmj", response.selectors().get(0).id());
- Assertions.assertEquals("rllfojuidjpuuyj", response.customerDataStorage().storageAccountResourceId());
- Assertions.assertEquals("ejikzoeovvtzejet", response.customerDataStorage().blobContainerName());
+ Assertions.assertEquals("ci", response.location());
+ Assertions.assertEquals("efxrdcoxnbk", response.tags().get("ja"));
+ Assertions.assertEquals(ManagedServiceIdentityType.SYSTEM_ASSIGNED, response.identity().type());
+ Assertions.assertEquals("msplzgaufcshhvn", response.steps().get(0).name());
+ Assertions.assertEquals("gnxkympqan", response.steps().get(0).branches().get(0).name());
+ Assertions.assertEquals("lgtrczzy", response.selectors().get(0).id());
+ Assertions.assertEquals("ji", response.customerDataStorage().storageAccountResourceId());
+ Assertions.assertEquals("vuaurk", response.customerDataStorage().blobContainerName());
}
}
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 eb05eeca2b13..10faff1e506b 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\":\"znabaobns\",\"startedAt\":\"2021-11-13T05:24:12Z\",\"stoppedAt\":\"2021-05-03T18:13:03Z\",\"provisioningState\":\"Running\"},\"id\":\"mkmvguihywartspp\",\"name\":\"kixkykxdssjpemm\",\"type\":\"cfxhikkflrmy\"}";
+ = "{\"properties\":{\"status\":\"vmaonurjt\",\"startedAt\":\"2021-05-12T05:44:48Z\",\"stoppedAt\":\"2021-03-13T14:20:43Z\",\"provisioningState\":\"Deleting\"},\"id\":\"ecmslclbl\",\"name\":\"jxl\",\"type\":\"bsjuscvsfx\"}";
HttpClient httpClient
= response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
@@ -30,8 +30,7 @@ public void testGetExecutionWithResponse() throws Exception {
new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD));
ExperimentExecution response = manager.experiments()
- .getExecutionWithResponse("ewbidyvteowxv", "piudeugfsxzecpa", "wkufykhvuhxepm",
- com.azure.core.util.Context.NONE)
+ .getExecutionWithResponse("etnjuhpsprkz", "aupia", "cxnafbwqrooh", 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 cd7262d17ced..ad98b55debf1 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\":\"cgxuugqkctotiowl\",\"startedAt\":\"2021-11-29T21:05:01Z\",\"stoppedAt\":\"2021-04-30T15:47:40Z\",\"provisioningState\":\"Updating\"},\"id\":\"gwdtgukran\",\"name\":\"lwphqlkccuzgyg\",\"type\":\"wahoiul\"}]}";
+ = "{\"value\":[{\"properties\":{\"status\":\"ztgeqmgqzgwld\",\"startedAt\":\"2021-05-02T02:18:46Z\",\"stoppedAt\":\"2021-03-27T03:55:09Z\",\"provisioningState\":\"Failed\"},\"id\":\"ecfehuwa\",\"name\":\"a\",\"type\":\"uhicqllizstacsjv\"}]}";
HttpClient httpClient
= response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
@@ -30,8 +30,8 @@ public void testListAllExecutions() throws Exception {
.authenticate(tokenRequestContext -> Mono.just(new AccessToken("this_is_a_token", OffsetDateTime.MAX)),
new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD));
- PagedIterable response
- = manager.experiments().listAllExecutions("yincql", "riswslmiiio", com.azure.core.util.Context.NONE);
+ PagedIterable response = manager.experiments()
+ .listAllExecutions("gctmgxuupbezq", "cydrtceukdqkk", 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 243fb78e8ec5..41da5fe71045 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\":\"hlgmltxdwhmoz\",\"tenantId\":\"gzvlnsnn\",\"type\":\"SystemAssigned,UserAssigned\",\"userAssignedIdentities\":{\"vl\":{\"principalId\":\"folpymwamxqzra\",\"clientId\":\"gdphtvdula\"},\"updwv\":{\"principalId\":\"c\",\"clientId\":\"srlzknmzlan\"}}},\"properties\":{\"provisioningState\":\"Running\",\"steps\":[{\"name\":\"nzqtpjhmqrhvt\",\"branches\":[{\"name\":\"aiwdcxsmlzzhz\",\"actions\":[]},{\"name\":\"txetlgydl\",\"actions\":[]},{\"name\":\"qvlnnpxybafiqgea\",\"actions\":[]},{\"name\":\"rbgjekglkl\",\"actions\":[]}]},{\"name\":\"yulidwcwvm\",\"branches\":[{\"name\":\"gj\",\"actions\":[]}]},{\"name\":\"nfhjirwgdnqzbr\",\"branches\":[{\"name\":\"spzhzmtksjc\",\"actions\":[]},{\"name\":\"tdigsxcdglj\",\"actions\":[]},{\"name\":\"lkeuac\",\"actions\":[]},{\"name\":\"tomflrytswfpf\",\"actions\":[]}]}],\"selectors\":[{\"type\":\"ChaosTargetSelector\",\"id\":\"gycxnmskwhqjjys\",\"filter\":{\"type\":\"ChaosTargetFilter\"}},{\"type\":\"ChaosTargetSelector\",\"id\":\"rlpshhkv\",\"filter\":{\"type\":\"ChaosTargetFilter\"}},{\"type\":\"ChaosTargetSelector\",\"id\":\"dwqslsrhmpqvw\",\"filter\":{\"type\":\"ChaosTargetFilter\"}},{\"type\":\"ChaosTargetSelector\",\"id\":\"kondcb\",\"filter\":{\"type\":\"ChaosTargetFilter\"}}],\"customerDataStorage\":{\"storageAccountResourceId\":\"uvqejosovyrrle\",\"blobContainerName\":\"sinuqtljqobbpih\"}},\"location\":\"cecybmrqbrjbbmpx\",\"tags\":{\"rexcrseqwjksghu\":\"yk\",\"ggsvoujkxibdaf\":\"gzhxog\",\"xfbvfb\":\"rkmdyom\"},\"id\":\"dy\",\"name\":\"rhpw\",\"type\":\"gddeimaw\"}]}";
+ = "{\"value\":[{\"identity\":{\"principalId\":\"bqqqagwwrxa\",\"tenantId\":\"zisglrrczezkhh\",\"type\":\"SystemAssigned\",\"userAssignedIdentities\":{\"byrrueqth\":{\"principalId\":\"dhqoawj\",\"clientId\":\"yueayfbpcmsp\"},\"opedbwdpyqyybxub\":{\"principalId\":\"gnmbscbbxigdhx\",\"clientId\":\"d\"},\"jelaqacigele\":{\"principalId\":\"nafcbq\",\"clientId\":\"e\"}}},\"properties\":{\"provisioningState\":\"Running\",\"steps\":[{\"name\":\"vqvwzkjopwbe\",\"branches\":[{\"name\":\"r\",\"actions\":[]},{\"name\":\"kwzdqybxcea\",\"actions\":[]},{\"name\":\"xcptsoqfyiaseqc\",\"actions\":[]}]},{\"name\":\"krtt\",\"branches\":[{\"name\":\"azisgyk\",\"actions\":[]},{\"name\":\"uem\",\"actions\":[]}]},{\"name\":\"anbwzohmnrxxbso\",\"branches\":[{\"name\":\"linhmdptysprqs\",\"actions\":[]},{\"name\":\"nzxojpslsvjgpli\",\"actions\":[]},{\"name\":\"fiqwoy\",\"actions\":[]},{\"name\":\"qvapcohhoucq\",\"actions\":[]}]},{\"name\":\"q\",\"branches\":[{\"name\":\"xcxzrzdcgdzben\",\"actions\":[]}]}],\"selectors\":[{\"type\":\"ChaosTargetSelector\",\"id\":\"bcawetz\",\"filter\":{\"type\":\"ChaosTargetFilter\"}},{\"type\":\"ChaosTargetSelector\",\"id\":\"dtjwfljhznamt\",\"filter\":{\"type\":\"ChaosTargetFilter\"}},{\"type\":\"ChaosTargetSelector\",\"id\":\"tmzwcjjn\",\"filter\":{\"type\":\"ChaosTargetFilter\"}},{\"type\":\"ChaosTargetSelector\",\"id\":\"tjzmi\",\"filter\":{\"type\":\"ChaosTargetFilter\"}}],\"customerDataStorage\":{\"storageAccountResourceId\":\"gat\",\"blobContainerName\":\"uvbxngr\"}},\"location\":\"wggahttzlswvaj\",\"tags\":{\"x\":\"t\",\"unwqr\":\"oqza\",\"uocnjrohmbpyr\":\"zfrgqhaohcm\",\"ocxnehvsmtodl\":\"xameblydyvkfkm\"},\"id\":\"pyapucygvoav\",\"name\":\"unssxlghieegjl\",\"type\":\"vvpa\"}]}";
HttpClient httpClient
= response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
@@ -33,18 +33,16 @@ public void testListByResourceGroup() throws Exception {
new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD));
PagedIterable response = manager.experiments()
- .listByResourceGroup("cdxfzzzwyjafitl", false, "uy", com.azure.core.util.Context.NONE);
+ .listByResourceGroup("bxrblmliowxihspn", true, "qagnepzwakl", com.azure.core.util.Context.NONE);
- Assertions.assertEquals("cecybmrqbrjbbmpx", response.iterator().next().location());
- Assertions.assertEquals("yk", response.iterator().next().tags().get("rexcrseqwjksghu"));
- Assertions.assertEquals(ManagedServiceIdentityType.SYSTEM_ASSIGNED_USER_ASSIGNED,
+ Assertions.assertEquals("wggahttzlswvaj", response.iterator().next().location());
+ Assertions.assertEquals("t", response.iterator().next().tags().get("x"));
+ Assertions.assertEquals(ManagedServiceIdentityType.SYSTEM_ASSIGNED,
response.iterator().next().identity().type());
- Assertions.assertEquals("nzqtpjhmqrhvt", response.iterator().next().steps().get(0).name());
- Assertions.assertEquals("aiwdcxsmlzzhz", response.iterator().next().steps().get(0).branches().get(0).name());
- Assertions.assertEquals("gycxnmskwhqjjys", response.iterator().next().selectors().get(0).id());
- Assertions.assertEquals("uvqejosovyrrle",
- response.iterator().next().customerDataStorage().storageAccountResourceId());
- Assertions.assertEquals("sinuqtljqobbpih",
- response.iterator().next().customerDataStorage().blobContainerName());
+ Assertions.assertEquals("vqvwzkjopwbe", response.iterator().next().steps().get(0).name());
+ Assertions.assertEquals("r", response.iterator().next().steps().get(0).branches().get(0).name());
+ Assertions.assertEquals("bcawetz", response.iterator().next().selectors().get(0).id());
+ Assertions.assertEquals("gat", response.iterator().next().customerDataStorage().storageAccountResourceId());
+ Assertions.assertEquals("uvbxngr", response.iterator().next().customerDataStorage().blobContainerName());
}
}
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 55566eab5fb1..0da9c751e911 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\":\"ikjcjcazt\",\"tenantId\":\"snsqowxwcoml\",\"type\":\"SystemAssigned\",\"userAssignedIdentities\":{\"fdv\":{\"principalId\":\"vc\",\"clientId\":\"swkacvej\"}}},\"properties\":{\"provisioningState\":\"Creating\",\"steps\":[{\"name\":\"wrnfxtgdd\",\"branches\":[{\"name\":\"th\",\"actions\":[]}]}],\"selectors\":[{\"type\":\"ChaosTargetSelector\",\"id\":\"n\",\"filter\":{\"type\":\"ChaosTargetFilter\"}}],\"customerDataStorage\":{\"storageAccountResourceId\":\"yank\",\"blobContainerName\":\"eqswanklty\"}},\"location\":\"hdroznnh\",\"tags\":{\"sggux\":\"ktgj\",\"ywaeeczgf\":\"eml\"},\"id\":\"ukklelss\",\"name\":\"blycsxzujksr\",\"type\":\"smdesqplpvmjcd\"}]}";
+ = "{\"value\":[{\"identity\":{\"principalId\":\"gdhg\",\"tenantId\":\"i\",\"type\":\"SystemAssigned,UserAssigned\",\"userAssignedIdentities\":{\"pibkephuu\":{\"principalId\":\"wrq\",\"clientId\":\"ulopmjnlexwhcb\"},\"uczkgofxyfsruc\":{\"principalId\":\"rctat\",\"clientId\":\"intqpbrlcyr\"}}},\"properties\":{\"provisioningState\":\"Canceled\",\"steps\":[{\"name\":\"pcjttbstvjeaqn\",\"branches\":[{\"name\":\"vvf\",\"actions\":[]},{\"name\":\"oxmlghktuidv\",\"actions\":[]}]},{\"name\":\"ma\",\"branches\":[{\"name\":\"pdwwexymzvlazi\",\"actions\":[]},{\"name\":\"bhpwvqsgnyy\",\"actions\":[]},{\"name\":\"uzivensrpmeyyvp\",\"actions\":[]},{\"name\":\"patlbijp\",\"actions\":[]}]},{\"name\":\"gsksrfhf\",\"branches\":[{\"name\":\"lmknbnxwcdom\",\"actions\":[]}]},{\"name\":\"pvfqawz\",\"branches\":[{\"name\":\"brttuiacl\",\"actions\":[]}]}],\"selectors\":[{\"type\":\"ChaosTargetSelector\",\"id\":\"exhajlfn\",\"filter\":{\"type\":\"ChaosTargetFilter\"}},{\"type\":\"ChaosTargetSelector\",\"id\":\"iqfyuttdi\",\"filter\":{\"type\":\"ChaosTargetFilter\"}}],\"customerDataStorage\":{\"storageAccountResourceId\":\"vnwsw\",\"blobContainerName\":\"xkyctwwgzwx\"}},\"location\":\"mecvogygzyvneeza\",\"tags\":{\"jjjavfqnvhnq\":\"htmoqqtlffhzbkr\"},\"id\":\"ewdogiyetesy\",\"name\":\"vidbztjhqtfb\",\"type\":\"vnynkb\"}]}";
HttpClient httpClient
= response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
@@ -33,16 +33,16 @@ public void testList() throws Exception {
new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD));
PagedIterable response
- = manager.experiments().list(false, "vgkk", com.azure.core.util.Context.NONE);
+ = manager.experiments().list(true, "ksgbuxan", com.azure.core.util.Context.NONE);
- Assertions.assertEquals("hdroznnh", response.iterator().next().location());
- Assertions.assertEquals("ktgj", response.iterator().next().tags().get("sggux"));
- Assertions.assertEquals(ManagedServiceIdentityType.SYSTEM_ASSIGNED,
+ Assertions.assertEquals("mecvogygzyvneeza", response.iterator().next().location());
+ Assertions.assertEquals("htmoqqtlffhzbkr", response.iterator().next().tags().get("jjjavfqnvhnq"));
+ Assertions.assertEquals(ManagedServiceIdentityType.SYSTEM_ASSIGNED_USER_ASSIGNED,
response.iterator().next().identity().type());
- Assertions.assertEquals("wrnfxtgdd", response.iterator().next().steps().get(0).name());
- Assertions.assertEquals("th", response.iterator().next().steps().get(0).branches().get(0).name());
- Assertions.assertEquals("n", response.iterator().next().selectors().get(0).id());
- Assertions.assertEquals("yank", response.iterator().next().customerDataStorage().storageAccountResourceId());
- Assertions.assertEquals("eqswanklty", response.iterator().next().customerDataStorage().blobContainerName());
+ Assertions.assertEquals("pcjttbstvjeaqn", response.iterator().next().steps().get(0).name());
+ Assertions.assertEquals("vvf", response.iterator().next().steps().get(0).branches().get(0).name());
+ Assertions.assertEquals("exhajlfn", response.iterator().next().selectors().get(0).id());
+ Assertions.assertEquals("vnwsw", response.iterator().next().customerDataStorage().storageAccountResourceId());
+ Assertions.assertEquals("xkyctwwgzwx", response.iterator().next().customerDataStorage().blobContainerName());
}
}
diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/ExternalResourceTests.java b/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/ExternalResourceTests.java
index b03aa91bafd8..860a75ae4e08 100644
--- a/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/ExternalResourceTests.java
+++ b/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/ExternalResourceTests.java
@@ -11,15 +11,14 @@
public final class ExternalResourceTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
- ExternalResource model
- = BinaryData.fromString("{\"resourceId\":\"wfansnvpdi\"}").toObject(ExternalResource.class);
- Assertions.assertEquals("wfansnvpdi", model.resourceId());
+ ExternalResource model = BinaryData.fromString("{\"resourceId\":\"f\"}").toObject(ExternalResource.class);
+ Assertions.assertEquals("f", model.resourceId());
}
@org.junit.jupiter.api.Test
public void testSerialize() throws Exception {
- ExternalResource model = new ExternalResource().withResourceId("wfansnvpdi");
+ ExternalResource model = new ExternalResource().withResourceId("f");
model = BinaryData.fromObject(model).toObject(ExternalResource.class);
- Assertions.assertEquals("wfansnvpdi", model.resourceId());
+ Assertions.assertEquals("f", model.resourceId());
}
}
diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/OperationsListMockTests.java b/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/OperationsListMockTests.java
index 66a7422cab94..0c6266ed7726 100644
--- a/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/OperationsListMockTests.java
+++ b/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/OperationsListMockTests.java
@@ -21,7 +21,7 @@ public final class OperationsListMockTests {
@Test
public void testList() throws Exception {
String responseStr
- = "{\"value\":[{\"name\":\"nfxofvcj\",\"isDataAction\":false,\"display\":{\"provider\":\"azftxejwabmdujtm\",\"resource\":\"op\",\"operation\":\"c\",\"description\":\"urbuhhlkyqltq\"},\"origin\":\"user,system\",\"actionType\":\"Internal\"}]}";
+ = "{\"value\":[{\"name\":\"ju\",\"isDataAction\":false,\"display\":{\"provider\":\"k\",\"resource\":\"cwmjvlg\",\"operation\":\"gcvkyyli\",\"description\":\"zbj\"},\"origin\":\"user\",\"actionType\":\"Internal\"}]}";
HttpClient httpClient
= response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/PermissionErrorTests.java b/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/PermissionErrorTests.java
index 2ec2a9de43c7..a260f923c3f5 100644
--- a/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/PermissionErrorTests.java
+++ b/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/PermissionErrorTests.java
@@ -11,7 +11,7 @@ public final class PermissionErrorTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
PermissionError model = BinaryData.fromString(
- "{\"resourceId\":\"ktcqio\",\"missingPermissions\":[\"gbzahgxqdlyr\",\"ltlaprltzkatbhj\",\"znnbsoqeqalarvl\",\"gunbtgfebwlnbm\"],\"requiredPermissions\":[\"reeudzqavb\",\"dqmjxly\"],\"recommendedRoles\":[\"glgou\"],\"identity\":{\"objectId\":\"lmjjyuo\",\"tenantId\":\"qtobaxkjeyt\"}}")
+ "{\"resourceId\":\"xff\",\"missingPermissions\":[\"hkwfbkgozxwop\",\"bydpizqaclnapxb\",\"yg\",\"ugjknf\"],\"requiredPermissions\":[\"fcttuxuuyilfl\",\"oiquvrehmrnjhvs\"],\"recommendedRoles\":[\"ztczytq\",\"t\",\"h\"],\"identity\":{\"objectId\":\"unfprnjletlxs\",\"tenantId\":\"rpddouifamo\"},\"errorMessage\":\"z\"}")
.toObject(PermissionError.class);
}
}
diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/PermissionsFixSummaryTests.java b/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/PermissionsFixSummaryTests.java
index 2a5396756778..32e8f972ca94 100644
--- a/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/PermissionsFixSummaryTests.java
+++ b/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/PermissionsFixSummaryTests.java
@@ -12,7 +12,7 @@ public final class PermissionsFixSummaryTests {
public void testDeserialize() throws Exception {
PermissionsFixSummary model = BinaryData
.fromString(
- "{\"totalRequired\":21303775,\"succeeded\":517502566,\"failed\":1115734201,\"skipped\":1138354387}")
+ "{\"totalRequired\":1970813350,\"succeeded\":1755183867,\"failed\":109325859,\"skipped\":495711129}")
.toObject(PermissionsFixSummary.class);
}
}
diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/PhysicalToLogicalZoneMappingTests.java b/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/PhysicalToLogicalZoneMappingTests.java
index dca787fd1d5c..54433465ecc6 100644
--- a/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/PhysicalToLogicalZoneMappingTests.java
+++ b/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/PhysicalToLogicalZoneMappingTests.java
@@ -11,7 +11,7 @@ public final class PhysicalToLogicalZoneMappingTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
PhysicalToLogicalZoneMapping model
- = BinaryData.fromString("{\"physicalZone\":\"vczkcnyxrxmunjd\",\"logicalZone\":\"vg\"}")
+ = BinaryData.fromString("{\"physicalZone\":\"btozipqwje\",\"logicalZone\":\"mur\"}")
.toObject(PhysicalToLogicalZoneMapping.class);
}
}
diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/PrivateAccessesCreateOrUpdateMockTests.java b/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/PrivateAccessesCreateOrUpdateMockTests.java
index 96e308a7d22b..0d3eccafb661 100644
--- a/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/PrivateAccessesCreateOrUpdateMockTests.java
+++ b/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/PrivateAccessesCreateOrUpdateMockTests.java
@@ -25,7 +25,7 @@ public final class PrivateAccessesCreateOrUpdateMockTests {
@Test
public void testCreateOrUpdate() throws Exception {
String responseStr
- = "{\"properties\":{\"provisioningState\":\"Succeeded\",\"privateEndpointConnections\":[{\"properties\":{\"groupIds\":[\"kceysfaqegplw\"],\"privateEndpoint\":{},\"privateLinkServiceConnectionState\":{},\"provisioningState\":\"Succeeded\"},\"id\":\"ddkvbxgkqu\",\"name\":\"ybwptda\",\"type\":\"arvvlfnt\"}],\"publicNetworkAccess\":\"Enabled\"},\"location\":\"oiwenazerohzrsq\",\"tags\":{\"sdpcvess\":\"xkdnwqapf\",\"ekvalblhtjq\":\"zhhkuuipldqqc\",\"eh\":\"qyv\",\"mxhzzysevus\":\"a\"},\"id\":\"ivzrrryveimipsk\",\"name\":\"yzatvfuzkaft\",\"type\":\"vvruxwi\"}";
+ = "{\"properties\":{\"provisioningState\":\"Succeeded\",\"privateEndpointConnections\":[{\"properties\":{\"groupIds\":[\"fv\",\"n\",\"pmil\",\"pnwy\"],\"privateEndpoint\":{},\"privateLinkServiceConnectionState\":{},\"provisioningState\":\"Failed\"},\"id\":\"l\",\"name\":\"sauzpjlx\",\"type\":\"ehuxiqhzlraym\"},{\"properties\":{\"groupIds\":[\"skihmxrfd\",\"ajrednwyyshtuw\",\"mevuafpwzy\",\"frkgwltxeq\"],\"privateEndpoint\":{},\"privateLinkServiceConnectionState\":{},\"provisioningState\":\"Creating\"},\"id\":\"dyimsfay\",\"name\":\"rpravkjogeslab\",\"type\":\"smjkwynqxaekqsy\"}],\"publicNetworkAccess\":\"Enabled\"},\"location\":\"tqpkevmy\",\"tags\":{\"gxannnoytzposewx\":\"crspxklurccl\",\"dfaifyzyzeyuube\":\"gpxvkqmaupxvpi\",\"l\":\"ds\",\"gvdihoynkrxwetwk\":\"ytoithgygvfl\"},\"id\":\"rcyrucpcunnu\",\"name\":\"dqumoenodnai\",\"type\":\"nhq\"}";
HttpClient httpClient
= response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
@@ -35,15 +35,16 @@ public void testCreateOrUpdate() throws Exception {
new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD));
PrivateAccess response = manager.privateAccesses()
- .define("h")
- .withRegion("watmqa")
- .withExistingResourceGroup("owftptnuwjtks")
- .withProperties(new PrivateAccessProperties().withPublicNetworkAccess(PublicNetworkAccessOption.DISABLED))
- .withTags(mapOf("zcbyfq", "eatgroeshoy", "uvjmv", "kfaoytehq"))
+ .define("mxitpfinzcpd")
+ .withRegion("pkzfbojxj")
+ .withExistingResourceGroup("jiuazjc")
+ .withProperties(new PrivateAccessProperties().withPublicNetworkAccess(PublicNetworkAccessOption.ENABLED))
+ .withTags(mapOf("ofalickduoiqtam", "myqwixvcpwnkwywz", "xrwzawnvsbcf", "yvsk", "wrzregzgyufu",
+ "zagxnvhycvdi", "weryekzk", "rw"))
.create();
- Assertions.assertEquals("oiwenazerohzrsq", response.location());
- Assertions.assertEquals("xkdnwqapf", response.tags().get("sdpcvess"));
+ Assertions.assertEquals("tqpkevmy", response.location());
+ Assertions.assertEquals("crspxklurccl", response.tags().get("gxannnoytzposewx"));
Assertions.assertEquals(PublicNetworkAccessOption.ENABLED, response.properties().publicNetworkAccess());
}
diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/PrivateAccessesGetAPrivateEndpointConnectionWithResponseMockTests.java b/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/PrivateAccessesGetAPrivateEndpointConnectionWithResponseMockTests.java
index 57f9cf1bd59b..0cc8ef0b09ee 100644
--- a/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/PrivateAccessesGetAPrivateEndpointConnectionWithResponseMockTests.java
+++ b/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/PrivateAccessesGetAPrivateEndpointConnectionWithResponseMockTests.java
@@ -22,7 +22,7 @@ public final class PrivateAccessesGetAPrivateEndpointConnectionWithResponseMockT
@Test
public void testGetAPrivateEndpointConnectionWithResponse() throws Exception {
String responseStr
- = "{\"properties\":{\"groupIds\":[\"luclvdjjuk\",\"rdnqodxahhxhqf\",\"qnvzoqgyipemch\"],\"privateEndpoint\":{\"id\":\"sczuejdtxptlghwz\"},\"privateLinkServiceConnectionState\":{\"status\":\"Approved\",\"description\":\"wjjstliuhqa\",\"actionsRequired\":\"oaiancznvodrrs\"},\"provisioningState\":\"Running\"},\"id\":\"ydkxr\",\"name\":\"vvbxiwkgfbqljnq\",\"type\":\"hychocokuleh\"}";
+ = "{\"properties\":{\"groupIds\":[\"ofqcvovjufycsjm\",\"bemyeji\",\"iuxegth\",\"rtudawlpjfel\"],\"privateEndpoint\":{\"id\":\"pptcbgqnzmnhii\"},\"privateLinkServiceConnectionState\":{\"status\":\"Approved\",\"description\":\"w\",\"actionsRequired\":\"gckbb\"},\"provisioningState\":\"Failed\"},\"id\":\"zpraoxn\",\"name\":\"uffatsgftipwc\",\"type\":\"byubhiqdxyurnpn\"}";
HttpClient httpClient
= response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
@@ -32,14 +32,13 @@ public void testGetAPrivateEndpointConnectionWithResponse() throws Exception {
new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD));
PrivateEndpointConnection response = manager.privateAccesses()
- .getAPrivateEndpointConnectionWithResponse("wnlzafwxu", "gnhgook", "talvnbwgp",
+ .getAPrivateEndpointConnectionWithResponse("vskbuhzacaq", "yltcoqcuj", "dsxzakuejkmvb",
com.azure.core.util.Context.NONE)
.getValue();
Assertions.assertEquals(PrivateEndpointServiceConnectionStatus.APPROVED,
response.properties().privateLinkServiceConnectionState().status());
- Assertions.assertEquals("wjjstliuhqa", response.properties().privateLinkServiceConnectionState().description());
- Assertions.assertEquals("oaiancznvodrrs",
- response.properties().privateLinkServiceConnectionState().actionsRequired());
+ Assertions.assertEquals("w", response.properties().privateLinkServiceConnectionState().description());
+ Assertions.assertEquals("gckbb", response.properties().privateLinkServiceConnectionState().actionsRequired());
}
}
diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/PrivateAccessesGetByResourceGroupWithResponseMockTests.java b/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/PrivateAccessesGetByResourceGroupWithResponseMockTests.java
index dab212cb219d..c734c44779d7 100644
--- a/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/PrivateAccessesGetByResourceGroupWithResponseMockTests.java
+++ b/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/PrivateAccessesGetByResourceGroupWithResponseMockTests.java
@@ -22,7 +22,7 @@ public final class PrivateAccessesGetByResourceGroupWithResponseMockTests {
@Test
public void testGetByResourceGroupWithResponse() throws Exception {
String responseStr
- = "{\"properties\":{\"provisioningState\":\"Deleting\",\"privateEndpointConnections\":[{\"properties\":{\"groupIds\":[\"dcgdzbenribca\",\"etzqd\",\"tjwfljhznamtua\"],\"privateEndpoint\":{},\"privateLinkServiceConnectionState\":{},\"provisioningState\":\"Running\"},\"id\":\"jj\",\"name\":\"cqtjzmi\",\"type\":\"vgbgatzuuvbxng\"}],\"publicNetworkAccess\":\"Enabled\"},\"location\":\"ggahtt\",\"tags\":{\"utlxjoqzasunwqrj\":\"wvajq\",\"uocnjrohmbpyr\":\"frgqhaohcm\"},\"id\":\"xameblydyvkfkm\",\"name\":\"ocxnehvsmtodl\",\"type\":\"pyapucygvoav\"}";
+ = "{\"properties\":{\"provisioningState\":\"Running\",\"privateEndpointConnections\":[{\"properties\":{\"groupIds\":[\"rxvvbxi\"],\"privateEndpoint\":{},\"privateLinkServiceConnectionState\":{},\"provisioningState\":\"Updating\"},\"id\":\"qljnqkhychoco\",\"name\":\"ulehurqlr\",\"type\":\"ffaweyur\"},{\"properties\":{\"groupIds\":[\"jdxravjuqdbrx\"],\"privateEndpoint\":{},\"privateLinkServiceConnectionState\":{},\"provisioningState\":\"Creating\"},\"id\":\"bapxkiyfjjkb\",\"name\":\"jbuscg\",\"type\":\"uusioycblev\"}],\"publicNetworkAccess\":\"Enabled\"},\"location\":\"ujyxkyxlzgsj\",\"tags\":{\"jlzqsczpgvdwnapf\":\"zltafhbzffovwm\"},\"id\":\"qwowftptnuw\",\"name\":\"tkschgcgqyhl\",\"type\":\"seyqrhvyeldotjv\"}";
HttpClient httpClient
= response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
@@ -32,11 +32,11 @@ public void testGetByResourceGroupWithResponse() throws Exception {
new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD));
PrivateAccess response = manager.privateAccesses()
- .getByResourceGroupWithResponse("qvapcohhoucq", "q", com.azure.core.util.Context.NONE)
+ .getByResourceGroupWithResponse("qawmoaianc", "nvodrrs", com.azure.core.util.Context.NONE)
.getValue();
- Assertions.assertEquals("ggahtt", response.location());
- Assertions.assertEquals("wvajq", response.tags().get("utlxjoqzasunwqrj"));
+ Assertions.assertEquals("ujyxkyxlzgsj", response.location());
+ Assertions.assertEquals("zltafhbzffovwm", response.tags().get("jlzqsczpgvdwnapf"));
Assertions.assertEquals(PublicNetworkAccessOption.ENABLED, response.properties().publicNetworkAccess());
}
}
diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/PrivateAccessesGetPrivateLinkResourcesWithResponseMockTests.java b/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/PrivateAccessesGetPrivateLinkResourcesWithResponseMockTests.java
index d278c9d7d48a..b0bdc0e9cfc0 100644
--- a/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/PrivateAccessesGetPrivateLinkResourcesWithResponseMockTests.java
+++ b/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/PrivateAccessesGetPrivateLinkResourcesWithResponseMockTests.java
@@ -21,7 +21,7 @@ public final class PrivateAccessesGetPrivateLinkResourcesWithResponseMockTests {
@Test
public void testGetPrivateLinkResourcesWithResponse() throws Exception {
String responseStr
- = "{\"value\":[{\"properties\":{\"groupId\":\"yojwyvfkmbtsu\",\"requiredMembers\":[\"sgxjc\",\"mzrrscubiwsdrn\",\"xqw\"],\"requiredZoneNames\":[\"ffjxcjrmmuabwib\",\"jogjonmc\",\"e\"],\"provisioningState\":\"Succeeded\"},\"location\":\"bamwineo\",\"tags\":{\"oldtvevboclzhz\":\"kak\"},\"id\":\"knyuxgvttxpn\",\"name\":\"upzaamrdixtre\",\"type\":\"ids\"},{\"properties\":{\"groupId\":\"skbruffgllukkut\",\"requiredMembers\":[\"hrpqhv\"],\"requiredZoneNames\":[\"couqehb\",\"bcdsziryrandoyp\",\"blto\",\"rmkfqlwxldykals\"],\"provisioningState\":\"Updating\"},\"location\":\"lnjpnnbmjksibjgs\",\"tags\":{\"vpinbmhwbj\":\"xahmrnadzyqegxy\",\"jauj\":\"jkgqxnhmbkez\",\"ggiycwkdtaawxwf\":\"aan\",\"mrrqmbzmqkratb\":\"ka\"},\"id\":\"xwbjs\",\"name\":\"dbirkfpksokdgo\",\"type\":\"ewijymrhbguz\"},{\"properties\":{\"groupId\":\"kyewnfnzhhhqo\",\"requiredMembers\":[\"fjkutycyarnroo\",\"g\",\"abzoghktdpyczhco\",\"ocnhzqrottjzcfyj\"],\"requiredZoneNames\":[\"wrlohapqinfszpyg\",\"qdhmrjzralcxpjby\",\"psjoqcjenk\"],\"provisioningState\":\"Failed\"},\"location\":\"zv\",\"tags\":{\"mpzqjhhhq\":\"fxjelg\",\"bsizus\":\"uwyvcacoyvi\",\"lzijiufehgmvflnw\":\"szlbscm\",\"kxrerlniylylyfwx\":\"v\"},\"id\":\"utgqztwh\",\"name\":\"hmupgxyjtcdxabbu\",\"type\":\"ftabenbbklqp\"}],\"nextLink\":\"ucafedd\"}";
+ = "{\"value\":[{\"properties\":{\"groupId\":\"jazejwwviyoyp\",\"requiredMembers\":[\"brnnhjxsqw\",\"hqkb\"],\"requiredZoneNames\":[\"t\",\"ozycy\",\"iqyhgfse\"],\"provisioningState\":\"Deleting\"},\"location\":\"xbsfledynoj\",\"tags\":{\"ljselp\":\"uwfbzkkdtnhqsy\",\"bevxrhyzd\":\"pbafvafhlbylc\",\"pl\":\"wrso\",\"cwnpqigtuujwouhd\":\"dbmairrhvhfnr\"},\"id\":\"wsigrbjbxsj\",\"name\":\"bvitvqkjya\",\"type\":\"nu\"},{\"properties\":{\"groupId\":\"ggmuwdcho\",\"requiredMembers\":[\"kfexlv\"],\"requiredZoneNames\":[\"akizvoaikna\",\"lnuwiguy\",\"lykwphvxz\"],\"provisioningState\":\"Deleting\"},\"location\":\"mpe\",\"tags\":{\"aonwivkcqhrxh\":\"ke\",\"jubyqjfkakfq\":\"knlccrmmkyup\",\"yildudxjascow\":\"rke\",\"jkpdxphlkksnm\":\"f\"},\"id\":\"zvyfijdkzuqnwsi\",\"name\":\"huqol\",\"type\":\"ah\"},{\"properties\":{\"groupId\":\"qwqul\",\"requiredMembers\":[\"rjb\",\"xykfhyq\",\"zvqqugdrftbcvexr\"],\"requiredZoneNames\":[\"uowtljvfwhrea\",\"khyxvrqtvbcz\",\"ulmdgglm\",\"pjpfseykgs\"],\"provisioningState\":\"Canceled\"},\"location\":\"szngafpgyl\",\"tags\":{\"jcngoadyed\":\"cj\",\"ubn\":\"zrgjfok\"},\"id\":\"itpkpztrgdg\",\"name\":\"vcoqraswugyxpqi\",\"type\":\"we\"}],\"nextLink\":\"l\"}";
HttpClient httpClient
= response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
@@ -31,12 +31,12 @@ public void testGetPrivateLinkResourcesWithResponse() throws Exception {
new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD));
PrivateLinkResourceListResult response = manager.privateAccesses()
- .getPrivateLinkResourcesWithResponse("hntasfaymx", "ulpzealb", com.azure.core.util.Context.NONE)
+ .getPrivateLinkResourcesWithResponse("dew", "rsxkr", com.azure.core.util.Context.NONE)
.getValue();
- Assertions.assertEquals("bamwineo", response.value().get(0).location());
- Assertions.assertEquals("kak", response.value().get(0).tags().get("oldtvevboclzhz"));
- Assertions.assertEquals("ffjxcjrmmuabwib", response.value().get(0).properties().requiredZoneNames().get(0));
- Assertions.assertEquals("ucafedd", response.nextLink());
+ Assertions.assertEquals("xbsfledynoj", response.value().get(0).location());
+ Assertions.assertEquals("uwfbzkkdtnhqsy", response.value().get(0).tags().get("ljselp"));
+ Assertions.assertEquals("t", response.value().get(0).properties().requiredZoneNames().get(0));
+ Assertions.assertEquals("l", response.nextLink());
}
}
diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/PrivateAccessesListByResourceGroupMockTests.java b/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/PrivateAccessesListByResourceGroupMockTests.java
index 58feacd0ec75..3959d70a70c1 100644
--- a/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/PrivateAccessesListByResourceGroupMockTests.java
+++ b/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/PrivateAccessesListByResourceGroupMockTests.java
@@ -23,7 +23,7 @@ public final class PrivateAccessesListByResourceGroupMockTests {
@Test
public void testListByResourceGroup() throws Exception {
String responseStr
- = "{\"value\":[{\"properties\":{\"provisioningState\":\"Canceled\",\"privateEndpointConnections\":[{\"properties\":{\"groupIds\":[\"antuygdhgaqipirp\",\"wrq\",\"fulopmjnlexwhcb\"],\"privateEndpoint\":{},\"privateLinkServiceConnectionState\":{},\"provisioningState\":\"Creating\"},\"id\":\"e\",\"name\":\"hu\",\"type\":\"uerct\"},{\"properties\":{\"groupIds\":[\"intqpbrlcyr\",\"uczkgofxyfsruc\",\"crrpcjttbstvje\"],\"privateEndpoint\":{},\"privateLinkServiceConnectionState\":{},\"provisioningState\":\"Creating\"},\"id\":\"vvf\",\"name\":\"oxmlghktuidv\",\"type\":\"ma\"},{\"properties\":{\"groupIds\":[\"wwexymzvlazipbh\",\"wvqsgny\"],\"privateEndpoint\":{},\"privateLinkServiceConnectionState\":{},\"provisioningState\":\"Updating\"},\"id\":\"vensrpm\",\"name\":\"yyvpkpatlb\",\"type\":\"jp\"}],\"publicNetworkAccess\":\"Disabled\"},\"location\":\"srfhf\",\"tags\":{\"qa\":\"mknbnxwcdommpv\",\"hajlfn\":\"zfgbrttuiaclkie\",\"b\":\"hiqfyuttdiy\"},\"id\":\"vnwsw\",\"name\":\"txkyctwwgzwxjlm\",\"type\":\"cvogygzyvne\"}]}";
+ = "{\"value\":[{\"properties\":{\"provisioningState\":\"Failed\",\"privateEndpointConnections\":[{\"properties\":{\"groupIds\":[\"ndlqvtwknvgmmbu\",\"tywatmqaq\",\"ueatgroe\"],\"privateEndpoint\":{},\"privateLinkServiceConnectionState\":{},\"provisioningState\":\"Updating\"},\"id\":\"zcbyfq\",\"name\":\"kfaoytehq\",\"type\":\"uvjmv\"},{\"properties\":{\"groupIds\":[\"wckygr\",\"ejnndljdju\",\"kb\"],\"privateEndpoint\":{},\"privateLinkServiceConnectionState\":{},\"provisioningState\":\"Deleting\"},\"id\":\"n\",\"name\":\"ceysfaqeg\",\"type\":\"lwryshwddkvbxgkq\"},{\"properties\":{\"groupIds\":[\"w\",\"tdacarvvlfn\",\"ymtpo\",\"wenaz\"],\"privateEndpoint\":{},\"privateLinkServiceConnectionState\":{},\"provisioningState\":\"Canceled\"},\"id\":\"rs\",\"name\":\"a\",\"type\":\"sxkdnwqapfgsdpc\"}],\"publicNetworkAccess\":\"Disabled\"},\"location\":\"mzhhkuuipldqqc\",\"tags\":{\"yvwehtaemxh\":\"valblhtjqv\"},\"id\":\"zysevusxi\",\"name\":\"zrrryv\",\"type\":\"imipskdyzatvfuz\"}]}";
HttpClient httpClient
= response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
@@ -33,10 +33,10 @@ public void testListByResourceGroup() throws Exception {
new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD));
PagedIterable response
- = manager.privateAccesses().listByResourceGroup("unssxlghieegjl", "vvpa", com.azure.core.util.Context.NONE);
+ = manager.privateAccesses().listByResourceGroup("kwiswskukjtas", "vwisp", com.azure.core.util.Context.NONE);
- Assertions.assertEquals("srfhf", response.iterator().next().location());
- Assertions.assertEquals("mknbnxwcdommpv", response.iterator().next().tags().get("qa"));
+ Assertions.assertEquals("mzhhkuuipldqqc", response.iterator().next().location());
+ Assertions.assertEquals("valblhtjqv", response.iterator().next().tags().get("yvwehtaemxh"));
Assertions.assertEquals(PublicNetworkAccessOption.DISABLED,
response.iterator().next().properties().publicNetworkAccess());
}
diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/PrivateAccessesListMockTests.java b/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/PrivateAccessesListMockTests.java
index 868097026e50..bbc8a094b5a1 100644
--- a/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/PrivateAccessesListMockTests.java
+++ b/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/PrivateAccessesListMockTests.java
@@ -23,7 +23,7 @@ public final class PrivateAccessesListMockTests {
@Test
public void testList() throws Exception {
String responseStr
- = "{\"value\":[{\"properties\":{\"provisioningState\":\"Updating\",\"privateEndpointConnections\":[{\"properties\":{\"groupIds\":[\"javfqn\",\"hnqoewdo\"],\"privateEndpoint\":{},\"privateLinkServiceConnectionState\":{},\"provisioningState\":\"Succeeded\"},\"id\":\"esypvidbztjh\",\"name\":\"t\",\"type\":\"b\"},{\"properties\":{\"groupIds\":[\"nkbw\",\"tnjuhpsprkzyaupi\",\"ccxnafbwqroohtuo\"],\"privateEndpoint\":{},\"privateLinkServiceConnectionState\":{},\"provisioningState\":\"Failed\"},\"id\":\"urjtumghi\",\"name\":\"pv\",\"type\":\"cmslclblyjxltbs\"},{\"properties\":{\"groupIds\":[\"vsfxigctmgxuupbe\"],\"privateEndpoint\":{},\"privateLinkServiceConnectionState\":{},\"provisioningState\":\"Deleting\"},\"id\":\"drtc\",\"name\":\"ukdqkkyihztg\",\"type\":\"qm\"},{\"properties\":{\"groupIds\":[\"wldoychi\",\"lcecfeh\"],\"privateEndpoint\":{},\"privateLinkServiceConnectionState\":{},\"provisioningState\":\"Running\"},\"id\":\"guh\",\"name\":\"cqlliz\",\"type\":\"tac\"}],\"publicNetworkAccess\":\"Disabled\"},\"location\":\"rweft\",\"tags\":{\"cxtczhupeukn\":\"ejpmvssehaepwa\",\"c\":\"jduyyespydjfb\",\"hulrtywikdmhla\":\"v\",\"ufr\":\"uflgbhgauacdixm\"},\"id\":\"ryjqgdkf\",\"name\":\"ozo\",\"type\":\"oqbvjhvefgwbmqj\"}]}";
+ = "{\"value\":[{\"properties\":{\"provisioningState\":\"Canceled\",\"privateEndpointConnections\":[{\"properties\":{\"groupIds\":[\"tgrqgdgkkile\",\"lkcsmknhwtbbae\",\"orvvmqfloygbdgw\",\"mgxdgdhpabgd\"],\"privateEndpoint\":{},\"privateLinkServiceConnectionState\":{},\"provisioningState\":\"Deleting\"},\"id\":\"vjsaqwotm\",\"name\":\"wllcolsr\",\"type\":\"xaptefhexcgjok\"},{\"properties\":{\"groupIds\":[\"hv\",\"qjbek\",\"eeksnbksdqhjvyk\"],\"privateEndpoint\":{},\"privateLinkServiceConnectionState\":{},\"provisioningState\":\"Updating\"},\"id\":\"khh\",\"name\":\"stcpoqmavnwqjw\",\"type\":\"o\"}],\"publicNetworkAccess\":\"Enabled\"},\"location\":\"jjjkxybwfdbk\",\"tags\":{\"jknsxfwu\":\"tensvkzykj\",\"bpkuwxeoio\":\"hcdpkupnqrmgj\",\"av\":\"fiz\",\"yay\":\"jzwfb\"},\"id\":\"mmfz\",\"name\":\"bfw\",\"type\":\"rzx\"}]}";
HttpClient httpClient
= response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
@@ -33,11 +33,11 @@ public void testList() throws Exception {
new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD));
PagedIterable response
- = manager.privateAccesses().list("zaifghtmoqqtlff", com.azure.core.util.Context.NONE);
+ = manager.privateAccesses().list("aftjvvruxwigsy", com.azure.core.util.Context.NONE);
- Assertions.assertEquals("rweft", response.iterator().next().location());
- Assertions.assertEquals("ejpmvssehaepwa", response.iterator().next().tags().get("cxtczhupeukn"));
- Assertions.assertEquals(PublicNetworkAccessOption.DISABLED,
+ Assertions.assertEquals("jjjkxybwfdbk", response.iterator().next().location());
+ Assertions.assertEquals("tensvkzykj", response.iterator().next().tags().get("jknsxfwu"));
+ Assertions.assertEquals(PublicNetworkAccessOption.ENABLED,
response.iterator().next().properties().publicNetworkAccess());
}
}
diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/PrivateAccessesListPrivateEndpointConnectionsMockTests.java b/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/PrivateAccessesListPrivateEndpointConnectionsMockTests.java
index 2c83854b8246..515fe2852ba6 100644
--- a/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/PrivateAccessesListPrivateEndpointConnectionsMockTests.java
+++ b/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/PrivateAccessesListPrivateEndpointConnectionsMockTests.java
@@ -23,7 +23,7 @@ public final class PrivateAccessesListPrivateEndpointConnectionsMockTests {
@Test
public void testListPrivateEndpointConnections() throws Exception {
String responseStr
- = "{\"value\":[{\"properties\":{\"groupIds\":[\"xmrgchbapxkiy\",\"jjk\",\"ajb\"],\"privateEndpoint\":{\"id\":\"gd\"},\"privateLinkServiceConnectionState\":{\"status\":\"Rejected\",\"description\":\"oycblevpmc\",\"actionsRequired\":\"jy\"},\"provisioningState\":\"Updating\"},\"id\":\"lzgsjgkzzlt\",\"name\":\"fhbzffovwmbjlzq\",\"type\":\"czpgvdwnapfdq\"}]}";
+ = "{\"value\":[{\"properties\":{\"groupIds\":[\"ui\"],\"privateEndpoint\":{\"id\":\"vatvcrkd\"},\"privateLinkServiceConnectionState\":{\"status\":\"Approved\",\"description\":\"qxvhcsyhzlwxa\",\"actionsRequired\":\"ov\"},\"provisioningState\":\"Canceled\"},\"id\":\"dndsbdweade\",\"name\":\"zmwntopagt\",\"type\":\"mvmmagoaqylkjz\"}]}";
HttpClient httpClient
= response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
@@ -33,13 +33,13 @@ public void testListPrivateEndpointConnections() throws Exception {
new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD));
PagedIterable response = manager.privateAccesses()
- .listPrivateEndpointConnections("rqlrqffawe", "urkphyjdxravju", com.azure.core.util.Context.NONE);
+ .listPrivateEndpointConnections("hza", "ccnuhiig", com.azure.core.util.Context.NONE);
- Assertions.assertEquals(PrivateEndpointServiceConnectionStatus.REJECTED,
+ Assertions.assertEquals(PrivateEndpointServiceConnectionStatus.APPROVED,
response.iterator().next().properties().privateLinkServiceConnectionState().status());
- Assertions.assertEquals("oycblevpmc",
+ Assertions.assertEquals("qxvhcsyhzlwxa",
response.iterator().next().properties().privateLinkServiceConnectionState().description());
- Assertions.assertEquals("jy",
+ Assertions.assertEquals("ov",
response.iterator().next().properties().privateLinkServiceConnectionState().actionsRequired());
}
}
diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/RecommendationTests.java b/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/RecommendationTests.java
index 6fcd16cb3cc6..bc693fe08a4d 100644
--- a/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/RecommendationTests.java
+++ b/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/RecommendationTests.java
@@ -11,8 +11,7 @@ public final class RecommendationTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
Recommendation model = BinaryData
- .fromString(
- "{\"recommendationStatus\":\"EvaluationCancelled\",\"evaluationRunAt\":\"2021-09-26T09:40:12Z\"}")
+ .fromString("{\"recommendationStatus\":\"EvaluationFailed\",\"evaluationRunAt\":\"2021-03-29T19:39:52Z\"}")
.toObject(Recommendation.class);
}
}
diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/RunAfterTests.java b/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/RunAfterTests.java
index 03004b972625..52691ad3eb38 100644
--- a/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/RunAfterTests.java
+++ b/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/RunAfterTests.java
@@ -17,34 +17,24 @@ public final class RunAfterTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
RunAfter model = BinaryData.fromString(
- "{\"behavior\":\"Any\",\"items\":[{\"type\":\"Action\",\"name\":\"cmjdmspof\",\"onActionLifecycle\":\"Skipped\"},{\"type\":\"Action\",\"name\":\"hryl\",\"onActionLifecycle\":\"Running\"},{\"type\":\"Action\",\"name\":\"rz\",\"onActionLifecycle\":\"Success\"},{\"type\":\"Action\",\"name\":\"edm\",\"onActionLifecycle\":\"Start\"}]}")
+ "{\"behavior\":\"All\",\"items\":[{\"type\":\"Action\",\"name\":\"gbzjedmstkv\",\"onActionLifecycle\":\"Success\"}]}")
.toObject(RunAfter.class);
- Assertions.assertEquals(RunAfterBehavior.ANY, model.behavior());
+ Assertions.assertEquals(RunAfterBehavior.ALL, model.behavior());
Assertions.assertEquals(ActionDependencyType.ACTION, model.items().get(0).type());
- Assertions.assertEquals("cmjdmspof", model.items().get(0).name());
- Assertions.assertEquals(ActionLifecycle.SKIPPED, model.items().get(0).onActionLifecycle());
+ Assertions.assertEquals("gbzjedmstkv", model.items().get(0).name());
+ Assertions.assertEquals(ActionLifecycle.SUCCESS, model.items().get(0).onActionLifecycle());
}
@org.junit.jupiter.api.Test
public void testSerialize() throws Exception {
- RunAfter model = new RunAfter().withBehavior(RunAfterBehavior.ANY)
- .withItems(Arrays.asList(
- new ActionDependency().withType(ActionDependencyType.ACTION)
- .withName("cmjdmspof")
- .withOnActionLifecycle(ActionLifecycle.SKIPPED),
- new ActionDependency().withType(ActionDependencyType.ACTION)
- .withName("hryl")
- .withOnActionLifecycle(ActionLifecycle.RUNNING),
- new ActionDependency().withType(ActionDependencyType.ACTION)
- .withName("rz")
- .withOnActionLifecycle(ActionLifecycle.SUCCESS),
- new ActionDependency().withType(ActionDependencyType.ACTION)
- .withName("edm")
- .withOnActionLifecycle(ActionLifecycle.START)));
+ RunAfter model = new RunAfter().withBehavior(RunAfterBehavior.ALL)
+ .withItems(Arrays.asList(new ActionDependency().withType(ActionDependencyType.ACTION)
+ .withName("gbzjedmstkv")
+ .withOnActionLifecycle(ActionLifecycle.SUCCESS)));
model = BinaryData.fromObject(model).toObject(RunAfter.class);
- Assertions.assertEquals(RunAfterBehavior.ANY, model.behavior());
+ Assertions.assertEquals(RunAfterBehavior.ALL, model.behavior());
Assertions.assertEquals(ActionDependencyType.ACTION, model.items().get(0).type());
- Assertions.assertEquals("cmjdmspof", model.items().get(0).name());
- Assertions.assertEquals(ActionLifecycle.SKIPPED, model.items().get(0).onActionLifecycle());
+ Assertions.assertEquals("gbzjedmstkv", model.items().get(0).name());
+ Assertions.assertEquals(ActionLifecycle.SUCCESS, model.items().get(0).onActionLifecycle());
}
}
diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/ScenarioEvaluationResultItemTests.java b/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/ScenarioEvaluationResultItemTests.java
deleted file mode 100644
index 06fbc23c3580..000000000000
--- a/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/ScenarioEvaluationResultItemTests.java
+++ /dev/null
@@ -1,21 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) TypeSpec Code Generator.
-
-package com.azure.resourcemanager.chaos.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.chaos.models.RecommendationStatus;
-import com.azure.resourcemanager.chaos.models.ScenarioEvaluationResultItem;
-import org.junit.jupiter.api.Assertions;
-
-public final class ScenarioEvaluationResultItemTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- ScenarioEvaluationResultItem model
- = BinaryData.fromString("{\"scenarioName\":\"asiibmiybnnust\",\"evaluationResult\":\"NotEvaluated\"}")
- .toObject(ScenarioEvaluationResultItem.class);
- Assertions.assertEquals("asiibmiybnnust", model.scenarioName());
- Assertions.assertEquals(RecommendationStatus.NOT_EVALUATED, model.evaluationResult());
- }
-}
diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/ScenarioParameterTests.java b/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/ScenarioParameterTests.java
index 07aafbaadee0..d77208d33380 100644
--- a/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/ScenarioParameterTests.java
+++ b/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/ScenarioParameterTests.java
@@ -13,27 +13,27 @@ public final class ScenarioParameterTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
ScenarioParameter model = BinaryData.fromString(
- "{\"name\":\"embnkbw\",\"type\":\"array\",\"default\":\"xk\",\"required\":true,\"description\":\"ihebwtsw\"}")
+ "{\"name\":\"xk\",\"type\":\"array\",\"default\":\"qihebw\",\"required\":true,\"description\":\"zuwfmdur\"}")
.toObject(ScenarioParameter.class);
- Assertions.assertEquals("embnkbw", model.name());
+ Assertions.assertEquals("xk", model.name());
Assertions.assertEquals(ParameterType.ARRAY, model.type());
- Assertions.assertEquals("xk", model.defaultProperty());
+ Assertions.assertEquals("qihebw", model.defaultProperty());
Assertions.assertTrue(model.required());
- Assertions.assertEquals("ihebwtsw", model.description());
+ Assertions.assertEquals("zuwfmdur", model.description());
}
@org.junit.jupiter.api.Test
public void testSerialize() throws Exception {
- ScenarioParameter model = new ScenarioParameter().withName("embnkbw")
+ ScenarioParameter model = new ScenarioParameter().withName("xk")
.withType(ParameterType.ARRAY)
- .withDefaultProperty("xk")
+ .withDefaultProperty("qihebw")
.withRequired(true)
- .withDescription("ihebwtsw");
+ .withDescription("zuwfmdur");
model = BinaryData.fromObject(model).toObject(ScenarioParameter.class);
- Assertions.assertEquals("embnkbw", model.name());
+ Assertions.assertEquals("xk", model.name());
Assertions.assertEquals(ParameterType.ARRAY, model.type());
- Assertions.assertEquals("xk", model.defaultProperty());
+ Assertions.assertEquals("qihebw", model.defaultProperty());
Assertions.assertTrue(model.required());
- Assertions.assertEquals("ihebwtsw", model.description());
+ Assertions.assertEquals("zuwfmdur", model.description());
}
}
diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/ScenarioRunResourceTests.java b/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/ScenarioRunResourceTests.java
index 78882f9e91be..ef1cbf183af1 100644
--- a/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/ScenarioRunResourceTests.java
+++ b/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/ScenarioRunResourceTests.java
@@ -10,6 +10,7 @@
public final class ScenarioRunResourceTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
- ScenarioRunResource model = BinaryData.fromString("{\"id\":\"twk\"}").toObject(ScenarioRunResource.class);
+ ScenarioRunResource model
+ = BinaryData.fromString("{\"id\":\"gratzvzbglbyvict\"}").toObject(ScenarioRunResource.class);
}
}
diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/ScenarioRunSummaryActionTests.java b/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/ScenarioRunSummaryActionTests.java
index 1a21e2ce5132..21a8a7fa1a71 100644
--- a/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/ScenarioRunSummaryActionTests.java
+++ b/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/ScenarioRunSummaryActionTests.java
@@ -11,7 +11,7 @@ public final class ScenarioRunSummaryActionTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
ScenarioRunSummaryAction model = BinaryData.fromString(
- "{\"resources\":[{\"id\":\"enx\"},{\"id\":\"ulkpakd\"}],\"actionUrn\":\"ifmjnn\",\"state\":\"Pending\",\"startedAt\":\"2021-07-19T21:58:59Z\",\"completedAt\":\"2020-12-24T01:47:50Z\"}")
+ "{\"resources\":[{\"id\":\"lrjvmtyg\"}],\"actionUrn\":\"bmzyospsps\",\"state\":\"Canceling\",\"startedAt\":\"2021-11-10T17:31:52Z\",\"completedAt\":\"2021-02-11T14:20:08Z\"}")
.toObject(ScenarioRunSummaryAction.class);
}
}
diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/ScenariosDeleteWithResponseMockTests.java b/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/ScenariosDeleteWithResponseMockTests.java
index fe56ece0e02c..91d7df9d158f 100644
--- a/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/ScenariosDeleteWithResponseMockTests.java
+++ b/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/ScenariosDeleteWithResponseMockTests.java
@@ -27,7 +27,7 @@ public void testDeleteWithResponse() throws Exception {
.authenticate(tokenRequestContext -> Mono.just(new AccessToken("this_is_a_token", OffsetDateTime.MAX)),
new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD));
- manager.scenarios().deleteWithResponse("xhqf", "qkaye", "sxtlg", com.azure.core.util.Context.NONE);
+ manager.scenarios().deleteWithResponse("wtthaokgksk", "i", "bs", com.azure.core.util.Context.NONE);
}
}
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 a82a209d5eb0..47137482624c 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\":\"sgftipwc\",\"description\":\"yubhiqdx\",\"propertiesSchema\":\"rnpnuhzafccnuh\",\"resourceTypes\":[\"byl\",\"ui\"]},\"id\":\"xvatvcr\",\"name\":\"dlbnbqxvhcsy\",\"type\":\"zlwxaeaovur\"}";
+ = "{\"properties\":{\"displayName\":\"arxqiubx\",\"description\":\"kecpxdazvdh\",\"propertiesSchema\":\"mmkoszudb\",\"resourceTypes\":[\"ntrpcaqkiof\"]},\"id\":\"tfmhklbnldpvcb\",\"name\":\"hez\",\"type\":\"quwusq\"}";
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("bbcccgz", "raoxnyuff", com.azure.core.util.Context.NONE)
+ .getWithResponse("dsbezaxyfu", "zxuizhyhnepkpe", 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 22867ad700cf..0a43327de02f 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\":\"tmvmmagoaqylkjz\",\"description\":\"iua\",\"propertiesSchema\":\"cgm\",\"resourceTypes\":[\"pfinzcpdltkrlg\",\"mtbdrvcqgu\",\"fzhompheq\",\"urelyujlfyoump\"]},\"id\":\"yec\",\"name\":\"cdigpt\",\"type\":\"jbrzmqxucyc\"}]}";
+ = "{\"value\":[{\"properties\":{\"displayName\":\"tvlmbjwcolbmxlb\",\"description\":\"tpc\",\"propertiesSchema\":\"hprzrvxhmtfho\",\"resourceTypes\":[\"zcmjhngxnoqrxt\",\"isn\",\"evhdlmydid\"]},\"id\":\"epfwwt\",\"name\":\"f\",\"type\":\"o\"}]}";
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("xdndsbdweaderzm", "ntopa", com.azure.core.util.Context.NONE);
+ = manager.targetTypes().list("utrpbr", "uyu", 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 79073f312953..51d68dbc4ad7 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
@@ -25,7 +25,7 @@ public final class TargetsCreateOrUpdateWithResponseMockTests {
@Test
public void testCreateOrUpdateWithResponse() throws Exception {
String responseStr
- = "{\"properties\":{\"pfpazjzoywjxhpdu\":\"\\\"dataddbhf\\\"\",\"tehtuevrhrljyoog\":\"\\\"dataontacnpq\\\"\",\"sd\":\"\\\"dataxh\\\"\"},\"location\":\"gwbsreurf\",\"id\":\"fuarenlvhht\",\"name\":\"lnvnafvvkyfedev\",\"type\":\"bo\"}";
+ = "{\"properties\":{\"hlaiwd\":\"\\\"datav\\\"\",\"hzdtxetlgydlh\":\"\\\"dataxsmlz\\\"\",\"b\":\"\\\"datavlnnpx\\\"\",\"gjekglklby\":\"\\\"datafiqgeaar\\\"\"},\"location\":\"idwcwvmzegjon\",\"id\":\"jirwgdnqzbrfk\",\"name\":\"pzhz\",\"type\":\"tk\"}";
HttpClient httpClient
= response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
@@ -34,19 +34,18 @@ public void testCreateOrUpdateWithResponse() throws Exception {
.authenticate(tokenRequestContext -> Mono.just(new AccessToken("this_is_a_token", OffsetDateTime.MAX)),
new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD));
- Target response
- = manager.targets()
- .createOrUpdateWithResponse("ikczvvitacgxmf", "sserxhtvsoxhlwn", "sjgqrsxyp", "uuuybnchrsziz", "yuel",
- new TargetInner().withProperties(mapOf("nb",
- BinaryData.fromBytes("\"datatn\"".getBytes(StandardCharsets.UTF_8)), "lgmtrwahzjmucf",
- BinaryData.fromBytes("\"dataqyggagfl\"".getBytes(StandardCharsets.UTF_8)), "fusuckzmkwklsno",
- BinaryData.fromBytes("\"databyrplrohkpig\"".getBytes(StandardCharsets.UTF_8)),
- "hjnhgwydyynfsvk", BinaryData.fromBytes("\"dataaxmqeqal\"".getBytes(StandardCharsets.UTF_8))))
- .withLocation("bvqt"),
- com.azure.core.util.Context.NONE)
- .getValue();
+ Target response = manager.targets()
+ .createOrUpdateWithResponse("tjklntikyjuzk", "bqzolxr", "vhqjwtrhtgvg", "pcrrk", "lawjmjsmwrok",
+ new TargetInner()
+ .withProperties(mapOf("nuchlgmltxdwhmo",
+ BinaryData.fromBytes("\"dataxfzzzwyjafitlhgu\"".getBytes(StandardCharsets.UTF_8)), "zvlnsnnjz",
+ BinaryData.fromBytes("\"dataus\"".getBytes(StandardCharsets.UTF_8)), "mwamxqzragpgdph",
+ BinaryData.fromBytes("\"datapafolp\"".getBytes(StandardCharsets.UTF_8))))
+ .withLocation("dulajvlejchcs"),
+ com.azure.core.util.Context.NONE)
+ .getValue();
- Assertions.assertEquals("gwbsreurf", response.location());
+ Assertions.assertEquals("idwcwvmzegjon", 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 8ab5938bcc58..0f96a94b7185 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,8 @@ public void testDeleteWithResponse() throws Exception {
new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD));
manager.targets()
- .deleteWithResponse("lcqxypokk", "minqcym", "zng", "bdxxe", "unin", com.azure.core.util.Context.NONE);
+ .deleteWithResponse("jcitdigsxcdglj", "lkeuac", "tomflrytswfpf", "dgycxnmskwhqjjy", "lurlpshhkvp",
+ 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 11c9168ce4ed..500d069d9ae9 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\":{\"rogtuwkf\":\"\\\"dataurbuhhlkyqltq\\\"\",\"sysidfvclglxnf\":\"\\\"datadjk\\\"\",\"usqogsfikayia\":\"\\\"dataijtk\\\"\",\"qxfzyjqttvwk\":\"\\\"datasharujtj\\\"\"},\"location\":\"hjpenuygbq\",\"id\":\"qekewvnqvcd\",\"name\":\"guaucmfdjwnla\",\"type\":\"punj\"}";
+ = "{\"properties\":{\"yzgib\":\"\\\"datajmvl\\\"\"},\"location\":\"ujr\",\"id\":\"fojuidjpuuyj\",\"name\":\"c\",\"type\":\"jikzoeovvtzej\"}";
HttpClient httpClient
= response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
@@ -31,9 +31,9 @@ public void testGetWithResponse() throws Exception {
new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD));
Target response = manager.targets()
- .getWithResponse("bnfxofvc", "k", "dirazf", "xejw", "bmdujtmvcopexc", com.azure.core.util.Context.NONE)
+ .getWithResponse("fuzt", "vtmva", "bwidql", "hukoveofizrv", "f", com.azure.core.util.Context.NONE)
.getValue();
- Assertions.assertEquals("hjpenuygbq", response.location());
+ Assertions.assertEquals("ujr", 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 6a5dc0e53a07..f16789042e8e 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\":{\"wnwvroevytlyokr\":\"\\\"dataoxczytp\\\"\",\"o\":\"\\\"datarouuxvnsasbcry\\\"\",\"xnazpmkml\":\"\\\"dataizrxklob\\\"\"},\"location\":\"evfxzopjhbzxlioh\",\"id\":\"dd\",\"name\":\"fg\",\"type\":\"qbawpcbbnzqcykn\"}]}";
+ = "{\"value\":[{\"properties\":{\"lvykfrex\":\"\\\"datacecybmrqbrjbbmpx\\\"\",\"xog\":\"\\\"datarseqwjksghudgz\\\"\",\"rkmdyom\":\"\\\"dataggsvoujkxibdaf\\\"\"},\"location\":\"fbvfbhdy\",\"id\":\"hpwpgddeimawzovg\",\"name\":\"kumuikjcjca\",\"type\":\"tbw\"}]}";
HttpClient httpClient
= response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
@@ -32,8 +32,9 @@ public void testList() throws Exception {
new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD));
PagedIterable response = manager.targets()
- .list("udbchaqdtv", "ec", "qct", "xxdtddmflh", "ytxzvtznapxbanno", com.azure.core.util.Context.NONE);
+ .list("dwqslsrhmpqvw", "skondcbrwimu", "qejo", "ovyrrleaesinu", "tljqobbpih",
+ com.azure.core.util.Context.NONE);
- Assertions.assertEquals("evfxzopjhbzxlioh", response.iterator().next().location());
+ Assertions.assertEquals("fbvfbhdy", response.iterator().next().location());
}
}
diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/TemplateEvaluationResultItemTests.java b/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/TemplateEvaluationResultItemTests.java
new file mode 100644
index 000000000000..06479de9211d
--- /dev/null
+++ b/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/TemplateEvaluationResultItemTests.java
@@ -0,0 +1,22 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.chaos.generated;
+
+import com.azure.core.util.BinaryData;
+import com.azure.resourcemanager.chaos.models.RecommendationStatus;
+import com.azure.resourcemanager.chaos.models.TemplateEvaluationResultItem;
+import org.junit.jupiter.api.Assertions;
+
+public final class TemplateEvaluationResultItemTests {
+ @org.junit.jupiter.api.Test
+ public void testDeserialize() throws Exception {
+ TemplateEvaluationResultItem model = BinaryData.fromString(
+ "{\"templateId\":\"avmqfoudor\",\"templateName\":\"gyyprotwy\",\"evaluationResult\":\"EvaluationCancelled\"}")
+ .toObject(TemplateEvaluationResultItem.class);
+ Assertions.assertEquals("avmqfoudor", model.templateId());
+ Assertions.assertEquals("gyyprotwy", model.templateName());
+ Assertions.assertEquals(RecommendationStatus.EVALUATION_CANCELLED, model.evaluationResult());
+ }
+}
diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/WorkspacesCreateOrUpdateMockTests.java b/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/WorkspacesCreateOrUpdateMockTests.java
index a94b7cf5b8c1..452f65dc0c75 100644
--- a/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/WorkspacesCreateOrUpdateMockTests.java
+++ b/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/WorkspacesCreateOrUpdateMockTests.java
@@ -28,7 +28,7 @@ public final class WorkspacesCreateOrUpdateMockTests {
@Test
public void testCreateOrUpdate() throws Exception {
String responseStr
- = "{\"identity\":{\"principalId\":\"kzxuiz\",\"tenantId\":\"hnepkpeti\",\"type\":\"None\",\"userAssignedIdentities\":{\"nsntrpcaqki\":{\"principalId\":\"ubxdukecpxdazvdh\",\"clientId\":\"mmkoszudb\"},\"pvcbhhe\":{\"principalId\":\"kb\",\"clientId\":\"mhklbnl\"},\"r\":{\"principalId\":\"quwusq\",\"clientId\":\"trpb\"},\"b\":{\"principalId\":\"uuatvlmbjwcol\",\"clientId\":\"x\"}}},\"properties\":{\"provisioningState\":\"Succeeded\",\"communicationEndpoint\":\"cpahprzrvxhm\",\"scopes\":[\"hocn\",\"zcmjhngxnoqrxt\",\"isn\"]},\"location\":\"vhdl\",\"tags\":{\"tjfdoesxxhmw\":\"idwhepfw\"},\"id\":\"dbckyo\",\"name\":\"kxkxhnegk\",\"type\":\"jzrbhtmeplv\"}";
+ = "{\"identity\":{\"principalId\":\"eh\",\"tenantId\":\"ddacbcbgydlqidy\",\"type\":\"SystemAssigned\",\"userAssignedIdentities\":{\"swbnfddepldwqjns\":{\"principalId\":\"tyrilkfbnrqqxvz\",\"clientId\":\"bnfnqtxjtoma\"},\"carycsjjzyvoaqa\":{\"principalId\":\"ygleexa\",\"clientId\":\"mywhsb\"},\"rbhmpfulubef\":{\"principalId\":\"vehzp\",\"clientId\":\"mk\"},\"ctnkjjwgcwnph\":{\"principalId\":\"bpmfbfununmpzkrv\",\"clientId\":\"ifkdschlzvf\"}}},\"properties\":{\"provisioningState\":\"Succeeded\",\"communicationEndpoint\":\"y\",\"scopes\":[\"ogmhmjpj\",\"cdf\",\"dqwty\",\"ev\"]},\"location\":\"mseharx\",\"tags\":{\"wjhrsidqpxlbtpa\":\"qnrxtmbpjptn\",\"ngatwmy\":\"f\",\"mfjhpycvjqdvdwkq\":\"yutrymd\"},\"id\":\"ldrlefgnaavua\",\"name\":\"n\",\"type\":\"etaoutnpdc\"}";
HttpClient httpClient
= response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
@@ -37,22 +37,23 @@ public void testCreateOrUpdate() throws Exception {
.authenticate(tokenRequestContext -> Mono.just(new AccessToken("this_is_a_token", OffsetDateTime.MAX)),
new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD));
- Workspace response = manager.workspaces()
- .define("vadswzs")
- .withRegion("d")
- .withExistingResourceGroup("qladywrxwhydtlu")
- .withProperties(new WorkspaceProperties()
- .withScopes(Arrays.asList("ixh", "fratqxmbjroumzz", "valqjrhuzgfxo", "jtpusllywpvtiotz")))
- .withTags(mapOf("qiuasigrows", "lgry", "equygdjboqgrmtq", "c", "uawvcmjzk", "kqevadrmmw", "zugamxzkrrcoiis",
- "iidisczskoswoqiq"))
- .withIdentity(new ResourceIdentity().withType(ManagedServiceIdentityType.SYSTEM_ASSIGNED)
- .withUserAssignedIdentities(mapOf("dhftukvhdxlwy", new UserAssignedIdentity())))
- .create();
+ Workspace response
+ = manager.workspaces()
+ .define("dvwnjkgvfnmxa")
+ .withRegion("bc")
+ .withExistingResourceGroup("pnx")
+ .withProperties(
+ new WorkspaceProperties().withScopes(Arrays.asList("lqxsjxtelex", "vuqbozoo", "zqocarku")))
+ .withTags(mapOf("nx", "t", "llhdyzm", "wqy", "nxakckyw", "ckze", "zvkiwrsiwdy", "mxgaabjkdtfohfao"))
+ .withIdentity(new ResourceIdentity().withType(ManagedServiceIdentityType.SYSTEM_ASSIGNED_USER_ASSIGNED)
+ .withUserAssignedIdentities(mapOf("cnulgmnhjevdy", new UserAssignedIdentity(), "liizjixlqfhef",
+ new UserAssignedIdentity())))
+ .create();
- Assertions.assertEquals("vhdl", response.location());
- Assertions.assertEquals("idwhepfw", response.tags().get("tjfdoesxxhmw"));
- Assertions.assertEquals(ManagedServiceIdentityType.NONE, response.identity().type());
- Assertions.assertEquals("hocn", response.properties().scopes().get(0));
+ Assertions.assertEquals("mseharx", response.location());
+ Assertions.assertEquals("qnrxtmbpjptn", response.tags().get("wjhrsidqpxlbtpa"));
+ Assertions.assertEquals(ManagedServiceIdentityType.SYSTEM_ASSIGNED, response.identity().type());
+ Assertions.assertEquals("ogmhmjpj", response.properties().scopes().get(0));
}
// Use "Map.of" if available
diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/WorkspacesGetByResourceGroupWithResponseMockTests.java b/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/WorkspacesGetByResourceGroupWithResponseMockTests.java
index 1592a827dbbf..2c93a330d8d0 100644
--- a/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/WorkspacesGetByResourceGroupWithResponseMockTests.java
+++ b/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/WorkspacesGetByResourceGroupWithResponseMockTests.java
@@ -22,7 +22,7 @@ public final class WorkspacesGetByResourceGroupWithResponseMockTests {
@Test
public void testGetByResourceGroupWithResponse() throws Exception {
String responseStr
- = "{\"identity\":{\"principalId\":\"xklurcclfgxannno\",\"tenantId\":\"zposewxigpxvkqm\",\"type\":\"SystemAssigned\",\"userAssignedIdentities\":{\"hgygvfltgvd\":{\"principalId\":\"pifdfaifyzyzeyu\",\"clientId\":\"eidszlfytoi\"},\"moenodnaien\":{\"principalId\":\"oynkrxwetwkdrcyr\",\"clientId\":\"pcunnuzdq\"}}},\"properties\":{\"provisioningState\":\"Creating\",\"communicationEndpoint\":\"knd\",\"scopes\":[\"lqkaadlknwf\",\"anniyopetxivcnr\",\"yxnu\"]},\"location\":\"ephblkwqpatvbqs\",\"tags\":{\"vivuzqymtuowo\":\"jbc\",\"banf\":\"tgitsqhzvbrzc\"},\"id\":\"ndscxmxeatk\",\"name\":\"bmwnrdjyibqb\",\"type\":\"aomhjrmkuhmaxl\"}";
+ = "{\"identity\":{\"principalId\":\"gvpyigdaqqilzdc\",\"tenantId\":\"wjoe\",\"type\":\"SystemAssigned,UserAssigned\",\"userAssignedIdentities\":{\"jqqacdmkx\":{\"principalId\":\"caifpaurww\",\"clientId\":\"l\"},\"xrtuicds\":{\"principalId\":\"dcvjwc\",\"clientId\":\"iakeciqc\"}}},\"properties\":{\"provisioningState\":\"Canceled\",\"communicationEndpoint\":\"m\",\"scopes\":[\"zhzzwvywrg\"]},\"location\":\"gydgrpxncakiq\",\"tags\":{\"lmf\":\"djrkclamggl\",\"ykglt\":\"jdoq\",\"tlgflwfgz\":\"gxhqfgqkayejs\"},\"id\":\"iucijjcea\",\"name\":\"lijjjrtvam\",\"type\":\"a\"}";
HttpClient httpClient
= response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
@@ -32,12 +32,12 @@ public void testGetByResourceGroupWithResponse() throws Exception {
new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD));
Workspace response = manager.workspaces()
- .getByResourceGroupWithResponse("aekqsykvwj", "qpkevmyltjc", com.azure.core.util.Context.NONE)
+ .getByResourceGroupWithResponse("rpdltbq", "tqjfgxxsaet", com.azure.core.util.Context.NONE)
.getValue();
- Assertions.assertEquals("ephblkwqpatvbqs", response.location());
- Assertions.assertEquals("jbc", response.tags().get("vivuzqymtuowo"));
- Assertions.assertEquals(ManagedServiceIdentityType.SYSTEM_ASSIGNED, response.identity().type());
- Assertions.assertEquals("lqkaadlknwf", response.properties().scopes().get(0));
+ Assertions.assertEquals("gydgrpxncakiq", response.location());
+ Assertions.assertEquals("djrkclamggl", response.tags().get("lmf"));
+ Assertions.assertEquals(ManagedServiceIdentityType.SYSTEM_ASSIGNED_USER_ASSIGNED, response.identity().type());
+ Assertions.assertEquals("zhzzwvywrg", response.properties().scopes().get(0));
}
}
diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/WorkspacesListByResourceGroupMockTests.java b/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/WorkspacesListByResourceGroupMockTests.java
index 867876f97783..6eeb94405937 100644
--- a/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/WorkspacesListByResourceGroupMockTests.java
+++ b/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/WorkspacesListByResourceGroupMockTests.java
@@ -23,7 +23,7 @@ public final class WorkspacesListByResourceGroupMockTests {
@Test
public void testListByResourceGroup() throws Exception {
String responseStr
- = "{\"value\":[{\"identity\":{\"principalId\":\"knokzw\",\"tenantId\":\"zrltixldzyyf\",\"type\":\"None\",\"userAssignedIdentities\":{\"zoyovwzdbpq\":{\"principalId\":\"ixymmpujivyql\",\"clientId\":\"uvsmbms\"}}},\"properties\":{\"provisioningState\":\"Updating\",\"communicationEndpoint\":\"fgvmx\",\"scopes\":[\"kcvtl\",\"bse\",\"kvcuartrhunl\"]},\"location\":\"rykycndzfqivjr\",\"tags\":{\"wagltbxoeeonqlnf\":\"kbbm\",\"zcrcssbzhddubbnq\":\"myymvqdbpbhfckdv\",\"h\":\"b\",\"wugiqjti\":\"alehpav\"},\"id\":\"gqgdminictteajoh\",\"name\":\"ygspnbonhpczykm\",\"type\":\"tp\"}]}";
+ = "{\"value\":[{\"identity\":{\"principalId\":\"gqogjwpindedva\",\"tenantId\":\"xbhmed\",\"type\":\"None\",\"userAssignedIdentities\":{\"vwypusuvjsl\":{\"principalId\":\"ywfcfxzi\",\"clientId\":\"zi\"},\"vxadqacfrgnawbab\":{\"principalId\":\"wci\",\"clientId\":\"jsllfryvd\"},\"je\":{\"principalId\":\"bktyjmfc\",\"clientId\":\"fsyqkfrbzgowoxq\"}}},\"properties\":{\"provisioningState\":\"Failed\",\"communicationEndpoint\":\"nyq\",\"scopes\":[\"hlusrvxisi\",\"jceagb\",\"qvlsumywzas\"]},\"location\":\"gon\",\"tags\":{\"puby\":\"fq\",\"vop\":\"nclkfkeeb\",\"uoqujlyeg\":\"m\",\"gflqqbtnyjp\":\"avn\"},\"id\":\"lxdbfvabmvms\",\"name\":\"baevwjcnkottl\",\"type\":\"uhvajmailfemjjza\"}]}";
HttpClient httpClient
= response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
@@ -32,12 +32,12 @@ public void testListByResourceGroup() throws Exception {
.authenticate(tokenRequestContext -> Mono.just(new AccessToken("this_is_a_token", OffsetDateTime.MAX)),
new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD));
- PagedIterable response = manager.workspaces()
- .listByResourceGroup("alfihcjmobcancd", "xxqcwgaxf", com.azure.core.util.Context.NONE);
+ PagedIterable response
+ = manager.workspaces().listByResourceGroup("zknxkv", "cxetyvkunmignoh", com.azure.core.util.Context.NONE);
- Assertions.assertEquals("rykycndzfqivjr", response.iterator().next().location());
- Assertions.assertEquals("kbbm", response.iterator().next().tags().get("wagltbxoeeonqlnf"));
+ Assertions.assertEquals("gon", response.iterator().next().location());
+ Assertions.assertEquals("fq", response.iterator().next().tags().get("puby"));
Assertions.assertEquals(ManagedServiceIdentityType.NONE, response.iterator().next().identity().type());
- Assertions.assertEquals("kcvtl", response.iterator().next().properties().scopes().get(0));
+ Assertions.assertEquals("hlusrvxisi", response.iterator().next().properties().scopes().get(0));
}
}
diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/WorkspacesListMockTests.java b/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/WorkspacesListMockTests.java
index ce3c5c48a78d..40f0c9833eca 100644
--- a/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/WorkspacesListMockTests.java
+++ b/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/generated/WorkspacesListMockTests.java
@@ -23,7 +23,7 @@ public final class WorkspacesListMockTests {
@Test
public void testList() throws Exception {
String responseStr
- = "{\"value\":[{\"identity\":{\"principalId\":\"yjgyd\",\"tenantId\":\"lod\",\"type\":\"SystemAssigned\",\"userAssignedIdentities\":{\"fngq\":{\"principalId\":\"a\",\"clientId\":\"sfnhsenwphp\"},\"tssruqnmdvhazc\":{\"principalId\":\"lidftujwjj\",\"clientId\":\"wbeqrkuor\"},\"ytxtdgu\":{\"principalId\":\"ytiq\",\"clientId\":\"bqerzwx\"},\"gmmuteyxey\":{\"principalId\":\"lbpktg\",\"clientId\":\"tyouambewreswmow\"}}},\"properties\":{\"provisioningState\":\"Updating\",\"communicationEndpoint\":\"gijiitnspxlzd\",\"scopes\":[\"ygr\",\"jwaiuf\"]},\"location\":\"raybfueqfr\",\"tags\":{\"ydkygywezskieca\":\"ydgr\",\"ixqcahyhxalybxaw\":\"ygzmxieqvdsmak\",\"jodqhykincn\":\"ijpodtblxpkkwj\"},\"id\":\"emehllizh\",\"name\":\"eumoqod\",\"type\":\"adppyibn\"}]}";
+ = "{\"value\":[{\"identity\":{\"principalId\":\"mvrscmqerndbrny\",\"tenantId\":\"fltfnnxr\",\"type\":\"None\",\"userAssignedIdentities\":{\"kfkxbbcbrwjiut\":{\"principalId\":\"ynnfmuiii\",\"clientId\":\"pfoh\"},\"rsrziuctix\":{\"principalId\":\"jizbeew\",\"clientId\":\"ymrvzbju\"},\"apezkiswqjmdghs\":{\"principalId\":\"d\",\"clientId\":\"ifrevk\"},\"sqqzlgcndhz\":{\"principalId\":\"arybjufptbjc\",\"clientId\":\"nciuiyqvldaswvpp\"}}},\"properties\":{\"provisioningState\":\"Deleting\",\"communicationEndpoint\":\"cfsrhkhgsn\",\"scopes\":[\"wwkpphefsb\"]},\"location\":\"lbzxomeikjc\",\"tags\":{\"qbxyxoyfpuqqi\":\"acnmwpfsuqtaaz\"},\"id\":\"ezxlhdjzqdca\",\"name\":\"wvpsoz\",\"type\":\"iihjriybmrzo\"}]}";
HttpClient httpClient
= response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
@@ -32,13 +32,11 @@ public void testList() throws Exception {
.authenticate(tokenRequestContext -> Mono.just(new AccessToken("this_is_a_token", OffsetDateTime.MAX)),
new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD));
- PagedIterable