diff --git a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/CHANGELOG.md b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/CHANGELOG.md
index bfb66d763bb4..00cf19482c3a 100644
--- a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/CHANGELOG.md
+++ b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/CHANGELOG.md
@@ -1,14 +1,103 @@
# Release History
-## 1.2.0-beta.1 (Unreleased)
+## 1.2.0-beta.1 (2026-05-19)
-### Features Added
+- Azure Resource Manager Service Fabric Managed Clusters client library for Java. This package contains Microsoft Azure SDK for Service Fabric Managed Clusters Management SDK. Service Fabric Managed Clusters Management Client. Package api-version 2026-05-01-preview. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).
### Breaking Changes
-### Bugs Fixed
+#### `models.ManagedApplyMaintenanceWindows` was modified
-### Other Changes
+* `postWithResponse(java.lang.String,java.lang.String,com.azure.core.util.Context)` was removed
+
+### Features Added
+
+* `models.SfmcOperationStatus` was added
+
+* `models.FaultSimulationContentWrapper` was added
+
+* `models.HostEndpointSettings` was added
+
+* `models.FaultSimulationStatus` was added
+
+* `models.ZoneFaultSimulationContent` was added
+
+* `models.FaultSimulationDetails` was added
+
+* `models.ApplyMaintenanceWindowRequest` was added
+
+* `models.ScaleInPolicyMode` was added
+
+* `models.FaultSimulation` was added
+
+* `models.NodeTypeFaultSimulation` was added
+
+* `models.FaultKind` was added
+
+* `models.FaultSimulationContent` was added
+
+* `models.FaultSimulationIdContent` was added
+
+* `models.ProxyAgentSettings` was added
+
+* `models.FaultSimulationConstraints` was added
+
+* `models.ScaleInPolicy` was added
+
+#### `models.NodeType$Definition` was modified
+
+* `withScaleInPolicy(models.ScaleInPolicy)` was added
+* `withProxyAgentSettings(models.ProxyAgentSettings)` was added
+
+#### `models.NodeTypes` was modified
+
+* `listFaultSimulation(java.lang.String,java.lang.String,java.lang.String)` was added
+* `getFaultSimulationWithResponse(java.lang.String,java.lang.String,java.lang.String,models.FaultSimulationIdContent,com.azure.core.util.Context)` was added
+* `stopFaultSimulation(java.lang.String,java.lang.String,java.lang.String,models.FaultSimulationIdContent)` was added
+* `startFaultSimulation(java.lang.String,java.lang.String,java.lang.String,models.FaultSimulationContentWrapper,com.azure.core.util.Context)` was added
+* `getFaultSimulation(java.lang.String,java.lang.String,java.lang.String,models.FaultSimulationIdContent)` was added
+* `startFaultSimulation(java.lang.String,java.lang.String,java.lang.String,models.FaultSimulationContentWrapper)` was added
+* `listFaultSimulation(java.lang.String,java.lang.String,java.lang.String,com.azure.core.util.Context)` was added
+* `stopFaultSimulation(java.lang.String,java.lang.String,java.lang.String,models.FaultSimulationIdContent,com.azure.core.util.Context)` was added
+
+#### `models.ManagedClusters` was modified
+
+* `startFaultSimulation(java.lang.String,java.lang.String,models.FaultSimulationContentWrapper)` was added
+* `listFaultSimulation(java.lang.String,java.lang.String)` was added
+* `stopFaultSimulation(java.lang.String,java.lang.String,models.FaultSimulationIdContent,com.azure.core.util.Context)` was added
+* `startFaultSimulation(java.lang.String,java.lang.String,models.FaultSimulationContentWrapper,com.azure.core.util.Context)` was added
+* `stopFaultSimulation(java.lang.String,java.lang.String,models.FaultSimulationIdContent)` was added
+* `getFaultSimulationWithResponse(java.lang.String,java.lang.String,models.FaultSimulationIdContent,com.azure.core.util.Context)` was added
+* `getFaultSimulation(java.lang.String,java.lang.String,models.FaultSimulationIdContent)` was added
+* `listFaultSimulation(java.lang.String,java.lang.String,com.azure.core.util.Context)` was added
+
+#### `models.NodeType` was modified
+
+* `proxyAgentSettings()` was added
+* `stopFaultSimulation(models.FaultSimulationIdContent,com.azure.core.util.Context)` was added
+* `getFaultSimulationWithResponse(models.FaultSimulationIdContent,com.azure.core.util.Context)` was added
+* `listFaultSimulation(com.azure.core.util.Context)` was added
+* `startFaultSimulation(models.FaultSimulationContentWrapper)` was added
+* `stopFaultSimulation(models.FaultSimulationIdContent)` was added
+* `scaleInPolicy()` was added
+* `getFaultSimulation(models.FaultSimulationIdContent)` was added
+* `listFaultSimulation()` was added
+* `startFaultSimulation(models.FaultSimulationContentWrapper,com.azure.core.util.Context)` was added
+
+#### `models.ManagedApplyMaintenanceWindows` was modified
+
+* `postWithResponse(java.lang.String,java.lang.String,models.ApplyMaintenanceWindowRequest,com.azure.core.util.Context)` was added
+
+#### `models.ManagedCluster` was modified
+
+* `getFaultSimulation(models.FaultSimulationIdContent)` was added
+* `listFaultSimulation()` was added
+* `startFaultSimulation(models.FaultSimulationContentWrapper)` was added
+* `listFaultSimulation(com.azure.core.util.Context)` was added
+* `stopFaultSimulation(models.FaultSimulationIdContent)` was added
+* `startFaultSimulation(models.FaultSimulationContentWrapper,com.azure.core.util.Context)` was added
+* `stopFaultSimulation(models.FaultSimulationIdContent,com.azure.core.util.Context)` was added
+* `getFaultSimulationWithResponse(models.FaultSimulationIdContent,com.azure.core.util.Context)` was added
## 1.1.0 (2026-02-26)
diff --git a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/README.md b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/README.md
index 40cd51af04dd..2fff4c245c02 100644
--- a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/README.md
+++ b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/README.md
@@ -2,7 +2,7 @@
Azure Resource Manager Service Fabric Managed Clusters client library for Java.
-This package contains Microsoft Azure SDK for Service Fabric Managed Clusters Management SDK. Service Fabric Managed Clusters Management Client. Package api-version 2026-02-01. 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 Service Fabric Managed Clusters Management SDK. Service Fabric Managed Clusters 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).
## 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-servicefabricmanagedclusters
- 1.1.0
+ 1.2.0-beta.1
```
[//]: # ({x-version-update-end})
diff --git a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/SAMPLE.md b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/SAMPLE.md
index 6e05538618c9..506e42ceda31 100644
--- a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/SAMPLE.md
+++ b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/SAMPLE.md
@@ -51,8 +51,12 @@
- [CreateOrUpdate](#managedclusters_createorupdate)
- [Delete](#managedclusters_delete)
- [GetByResourceGroup](#managedclusters_getbyresourcegroup)
+- [GetFaultSimulation](#managedclusters_getfaultsimulation)
- [List](#managedclusters_list)
- [ListByResourceGroup](#managedclusters_listbyresourcegroup)
+- [ListFaultSimulation](#managedclusters_listfaultsimulation)
+- [StartFaultSimulation](#managedclusters_startfaultsimulation)
+- [StopFaultSimulation](#managedclusters_stopfaultsimulation)
- [Update](#managedclusters_update)
## ManagedMaintenanceWindowStatuses
@@ -75,11 +79,15 @@
- [Delete](#nodetypes_delete)
- [DeleteNode](#nodetypes_deletenode)
- [Get](#nodetypes_get)
+- [GetFaultSimulation](#nodetypes_getfaultsimulation)
- [ListByManagedClusters](#nodetypes_listbymanagedclusters)
+- [ListFaultSimulation](#nodetypes_listfaultsimulation)
- [Redeploy](#nodetypes_redeploy)
- [Reimage](#nodetypes_reimage)
- [Restart](#nodetypes_restart)
- [Start](#nodetypes_start)
+- [StartFaultSimulation](#nodetypes_startfaultsimulation)
+- [StopFaultSimulation](#nodetypes_stopfaultsimulation)
- [Update](#nodetypes_update)
## Operations
@@ -102,7 +110,7 @@
*/
public final class ApplicationTypeVersionsCreateOrUpdateSamples {
/*
- * x-ms-original-file: 2026-02-01/ApplicationTypeVersionPutOperation_example.json
+ * x-ms-original-file: 2026-05-01-preview/ApplicationTypeVersionPutOperation_example.json
*/
/**
* Sample code: Put an application type version.
@@ -129,7 +137,7 @@ public final class ApplicationTypeVersionsCreateOrUpdateSamples {
*/
public final class ApplicationTypeVersionsDeleteSamples {
/*
- * x-ms-original-file: 2026-02-01/ApplicationTypeVersionDeleteOperation_example.json
+ * x-ms-original-file: 2026-05-01-preview/ApplicationTypeVersionDeleteOperation_example.json
*/
/**
* Sample code: Delete an application type version.
@@ -152,7 +160,7 @@ public final class ApplicationTypeVersionsDeleteSamples {
*/
public final class ApplicationTypeVersionsGetSamples {
/*
- * x-ms-original-file: 2026-02-01/ApplicationTypeVersionGetOperation_example.json
+ * x-ms-original-file: 2026-05-01-preview/ApplicationTypeVersionGetOperation_example.json
*/
/**
* Sample code: Get an application type version.
@@ -175,7 +183,7 @@ public final class ApplicationTypeVersionsGetSamples {
*/
public final class ApplicationTypeVersionsListByApplicationTypeSamples {
/*
- * x-ms-original-file: 2026-02-01/ApplicationTypeVersionListOperation_example.json
+ * x-ms-original-file: 2026-05-01-preview/ApplicationTypeVersionListOperation_example.json
*/
/**
* Sample code: Get a list of application type version resources.
@@ -202,7 +210,7 @@ import java.util.Map;
*/
public final class ApplicationTypeVersionsUpdateSamples {
/*
- * x-ms-original-file: 2026-02-01/ApplicationTypeVersionPatchOperation_example.json
+ * x-ms-original-file: 2026-05-01-preview/ApplicationTypeVersionPatchOperation_example.json
*/
/**
* Sample code: Patch an application type version.
@@ -239,7 +247,7 @@ public final class ApplicationTypeVersionsUpdateSamples {
*/
public final class ApplicationTypesCreateOrUpdateSamples {
/*
- * x-ms-original-file: 2026-02-01/ApplicationTypeNamePutOperation_example.json
+ * x-ms-original-file: 2026-05-01-preview/ApplicationTypeNamePutOperation_example.json
*/
/**
* Sample code: Put an application type.
@@ -265,7 +273,7 @@ public final class ApplicationTypesCreateOrUpdateSamples {
*/
public final class ApplicationTypesDeleteSamples {
/*
- * x-ms-original-file: 2026-02-01/ApplicationTypeNameDeleteOperation_example.json
+ * x-ms-original-file: 2026-05-01-preview/ApplicationTypeNameDeleteOperation_example.json
*/
/**
* Sample code: Delete an application type.
@@ -287,7 +295,7 @@ public final class ApplicationTypesDeleteSamples {
*/
public final class ApplicationTypesGetSamples {
/*
- * x-ms-original-file: 2026-02-01/ApplicationTypeNameGetOperation_example.json
+ * x-ms-original-file: 2026-05-01-preview/ApplicationTypeNameGetOperation_example.json
*/
/**
* Sample code: Get an application type.
@@ -309,7 +317,7 @@ public final class ApplicationTypesGetSamples {
*/
public final class ApplicationTypesListSamples {
/*
- * x-ms-original-file: 2026-02-01/ApplicationTypeNameListOperation_example.json
+ * x-ms-original-file: 2026-05-01-preview/ApplicationTypeNameListOperation_example.json
*/
/**
* Sample code: Get a list of application type name resources.
@@ -335,7 +343,7 @@ import java.util.Map;
*/
public final class ApplicationTypesUpdateSamples {
/*
- * x-ms-original-file: 2026-02-01/ApplicationTypeNamePatchOperation_example.json
+ * x-ms-original-file: 2026-05-01-preview/ApplicationTypeNamePatchOperation_example.json
*/
/**
* Sample code: Patch an application type.
@@ -381,7 +389,7 @@ import java.util.Map;
*/
public final class ApplicationsCreateOrUpdateSamples {
/*
- * x-ms-original-file: 2026-02-01/ApplicationPutOperation_example_max.json
+ * x-ms-original-file: 2026-05-01-preview/ApplicationPutOperation_example_max.json
*/
/**
* Sample code: Put an application with maximum parameters.
@@ -424,7 +432,7 @@ public final class ApplicationsCreateOrUpdateSamples {
}
/*
- * x-ms-original-file: 2026-02-01/ApplicationPutOperation_example_min.json
+ * x-ms-original-file: 2026-05-01-preview/ApplicationPutOperation_example_min.json
*/
/**
* Sample code: Put an application with minimum parameters.
@@ -464,7 +472,7 @@ public final class ApplicationsCreateOrUpdateSamples {
*/
public final class ApplicationsDeleteSamples {
/*
- * x-ms-original-file: 2026-02-01/ApplicationDeleteOperation_example.json
+ * x-ms-original-file: 2026-05-01-preview/ApplicationDeleteOperation_example.json
*/
/**
* Sample code: Delete an application.
@@ -489,7 +497,7 @@ import com.azure.resourcemanager.servicefabricmanagedclusters.models.HealthFilte
*/
public final class ApplicationsFetchHealthSamples {
/*
- * x-ms-original-file: 2026-02-01/ApplicationActionFetchHealth_example.json
+ * x-ms-original-file: 2026-05-01-preview/ApplicationActionFetchHealth_example.json
*/
/**
* Sample code: Fetch application health.
@@ -518,7 +526,7 @@ public final class ApplicationsFetchHealthSamples {
*/
public final class ApplicationsGetSamples {
/*
- * x-ms-original-file: 2026-02-01/ApplicationGetOperation_example.json
+ * x-ms-original-file: 2026-05-01-preview/ApplicationGetOperation_example.json
*/
/**
* Sample code: Get an application.
@@ -540,7 +548,7 @@ public final class ApplicationsGetSamples {
*/
public final class ApplicationsListSamples {
/*
- * x-ms-original-file: 2026-02-01/ApplicationListOperation_example.json
+ * x-ms-original-file: 2026-05-01-preview/ApplicationListOperation_example.json
*/
/**
* Sample code: Get a list of application resources.
@@ -562,7 +570,7 @@ public final class ApplicationsListSamples {
*/
public final class ApplicationsReadUpgradeSamples {
/*
- * x-ms-original-file: 2026-02-01/ApplicationActionGetUpgrade_example.json
+ * x-ms-original-file: 2026-05-01-preview/ApplicationActionGetUpgrade_example.json
*/
/**
* Sample code: Get an application upgrade.
@@ -586,7 +594,7 @@ import com.azure.resourcemanager.servicefabricmanagedclusters.models.RestartDepl
*/
public final class ApplicationsRestartDeployedCodePackageSamples {
/*
- * x-ms-original-file: 2026-02-01/ApplicationActionRestartDeployedCodePackage_example.json
+ * x-ms-original-file: 2026-05-01-preview/ApplicationActionRestartDeployedCodePackage_example.json
*/
/**
* Sample code: Restart deployed code package.
@@ -617,7 +625,7 @@ import com.azure.resourcemanager.servicefabricmanagedclusters.models.RuntimeResu
*/
public final class ApplicationsResumeUpgradeSamples {
/*
- * x-ms-original-file: 2026-02-01/ApplicationActionResumeUpgrade_example.json
+ * x-ms-original-file: 2026-05-01-preview/ApplicationActionResumeUpgrade_example.json
*/
/**
* Sample code: Resume upgrade.
@@ -642,7 +650,7 @@ public final class ApplicationsResumeUpgradeSamples {
*/
public final class ApplicationsStartRollbackSamples {
/*
- * x-ms-original-file: 2026-02-01/ApplicationActionStartRollback_example.json
+ * x-ms-original-file: 2026-05-01-preview/ApplicationActionStartRollback_example.json
*/
/**
* Sample code: Start an application upgrade rollback.
@@ -669,7 +677,7 @@ import java.util.Map;
*/
public final class ApplicationsUpdateSamples {
/*
- * x-ms-original-file: 2026-02-01/ApplicationPatchOperation_example.json
+ * x-ms-original-file: 2026-05-01-preview/ApplicationPatchOperation_example.json
*/
/**
* Sample code: Patch an application.
@@ -720,7 +728,7 @@ import java.util.Map;
*/
public final class ApplicationsUpdateUpgradeSamples {
/*
- * x-ms-original-file: 2026-02-01/ApplicationActionUpdateUpgrade_example.json
+ * x-ms-original-file: 2026-05-01-preview/ApplicationActionUpdateUpgrade_example.json
*/
/**
* Sample code: Update an application upgrade.
@@ -772,12 +780,14 @@ public final class ApplicationsUpdateUpgradeSamples {
### ManagedApplyMaintenanceWindow_Post
```java
+import com.azure.resourcemanager.servicefabricmanagedclusters.models.ApplyMaintenanceWindowRequest;
+
/**
* Samples for ManagedApplyMaintenanceWindow Post.
*/
public final class ManagedApplyMaintenanceWindowPostSamples {
/*
- * x-ms-original-file: 2026-02-01/ManagedApplyMaintenanceWindowPost_example.json
+ * x-ms-original-file: 2026-05-01-preview/ManagedApplyMaintenanceWindowPost_example.json
*/
/**
* Sample code: Apply Maintenance Window Status.
@@ -787,7 +797,11 @@ public final class ManagedApplyMaintenanceWindowPostSamples {
public static void applyMaintenanceWindowStatus(
com.azure.resourcemanager.servicefabricmanagedclusters.ServiceFabricManagedClustersManager manager) {
manager.managedApplyMaintenanceWindows()
- .postWithResponse("resourceGroup1", "mycluster1", com.azure.core.util.Context.NONE);
+ .postWithResponse("resourceGroup1", "mycluster1",
+ new ApplyMaintenanceWindowRequest().withStartDateTime("2026-04-07 13:00")
+ .withDuration("08:30")
+ .withTimeZone("Pacific Standard Time"),
+ com.azure.core.util.Context.NONE);
}
}
```
@@ -800,7 +814,7 @@ public final class ManagedApplyMaintenanceWindowPostSamples {
*/
public final class ManagedAzResiliencyStatusesGetSamples {
/*
- * x-ms-original-file: 2026-02-01/managedAzResiliencyStatusGet_example.json
+ * x-ms-original-file: 2026-05-01-preview/managedAzResiliencyStatusGet_example.json
*/
/**
* Sample code: Az Resiliency status of Base Resources.
@@ -823,7 +837,7 @@ public final class ManagedAzResiliencyStatusesGetSamples {
*/
public final class ManagedClusterVersionGetSamples {
/*
- * x-ms-original-file: 2026-02-01/ManagedClusterVersionGet_example.json
+ * x-ms-original-file: 2026-05-01-preview/ManagedClusterVersionGet_example.json
*/
/**
* Sample code: Get cluster version.
@@ -847,7 +861,7 @@ import com.azure.resourcemanager.servicefabricmanagedclusters.models.ManagedClus
*/
public final class ManagedClusterVersionGetByEnvironmentSamples {
/*
- * x-ms-original-file: 2026-02-01/ManagedClusterVersionGetByEnvironment_example.json
+ * x-ms-original-file: 2026-05-01-preview/ManagedClusterVersionGetByEnvironment_example.json
*/
/**
* Sample code: Get cluster version by environment.
@@ -871,7 +885,7 @@ public final class ManagedClusterVersionGetByEnvironmentSamples {
*/
public final class ManagedClusterVersionListSamples {
/*
- * x-ms-original-file: 2026-02-01/ManagedClusterVersionList_example.json
+ * x-ms-original-file: 2026-05-01-preview/ManagedClusterVersionList_example.json
*/
/**
* Sample code: List cluster versions.
@@ -895,7 +909,7 @@ import com.azure.resourcemanager.servicefabricmanagedclusters.models.ManagedClus
*/
public final class ManagedClusterVersionListByEnvironmentSamples {
/*
- * x-ms-original-file: 2026-02-01/ManagedClusterVersionListByEnvironment.json
+ * x-ms-original-file: 2026-05-01-preview/ManagedClusterVersionListByEnvironment.json
*/
/**
* Sample code: List cluster versions by environment.
@@ -949,7 +963,7 @@ import java.util.Map;
*/
public final class ManagedClustersCreateOrUpdateSamples {
/*
- * x-ms-original-file: 2026-02-01/ManagedClusterPutOperation_example_max.json
+ * x-ms-original-file: 2026-05-01-preview/ManagedClusterPutOperation_example_max.json
*/
/**
* Sample code: Put a cluster with maximum parameters.
@@ -1059,7 +1073,7 @@ public final class ManagedClustersCreateOrUpdateSamples {
}
/*
- * x-ms-original-file: 2026-02-01/ManagedClusterPutOperation_example_min.json
+ * x-ms-original-file: 2026-05-01-preview/ManagedClusterPutOperation_example_min.json
*/
/**
* Sample code: Put a cluster with minimum parameters.
@@ -1106,7 +1120,7 @@ public final class ManagedClustersCreateOrUpdateSamples {
*/
public final class ManagedClustersDeleteSamples {
/*
- * x-ms-original-file: 2026-02-01/ManagedClusterDeleteOperation_example.json
+ * x-ms-original-file: 2026-05-01-preview/ManagedClusterDeleteOperation_example.json
*/
/**
* Sample code: Delete a cluster.
@@ -1128,7 +1142,7 @@ public final class ManagedClustersDeleteSamples {
*/
public final class ManagedClustersGetByResourceGroupSamples {
/*
- * x-ms-original-file: 2026-02-01/ManagedClusterGetOperation_example.json
+ * x-ms-original-file: 2026-05-01-preview/ManagedClusterGetOperation_example.json
*/
/**
* Sample code: Get a cluster.
@@ -1143,6 +1157,33 @@ public final class ManagedClustersGetByResourceGroupSamples {
}
```
+### ManagedClusters_GetFaultSimulation
+
+```java
+import com.azure.resourcemanager.servicefabricmanagedclusters.models.FaultSimulationIdContent;
+
+/**
+ * Samples for ManagedClusters GetFaultSimulation.
+ */
+public final class ManagedClustersGetFaultSimulationSamples {
+ /*
+ * x-ms-original-file: 2026-05-01-preview/faultSimulation/ManagedClusterGetFaultSimulation_example.json
+ */
+ /**
+ * Sample code: Get Managed Cluster Fault Simulation.
+ *
+ * @param manager Entry point to ServiceFabricManagedClustersManager.
+ */
+ public static void getManagedClusterFaultSimulation(
+ com.azure.resourcemanager.servicefabricmanagedclusters.ServiceFabricManagedClustersManager manager) {
+ manager.managedClusters()
+ .getFaultSimulationWithResponse("resRg", "myCluster",
+ new FaultSimulationIdContent().withSimulationId("aec13cc2-1d39-4ba6-a1a8-2fc35b00643c"),
+ com.azure.core.util.Context.NONE);
+ }
+}
+```
+
### ManagedClusters_List
```java
@@ -1151,7 +1192,7 @@ public final class ManagedClustersGetByResourceGroupSamples {
*/
public final class ManagedClustersListSamples {
/*
- * x-ms-original-file: 2026-02-01/ManagedClusterListBySubscriptionOperation_example.json
+ * x-ms-original-file: 2026-05-01-preview/ManagedClusterListBySubscriptionOperation_example.json
*/
/**
* Sample code: List managed clusters.
@@ -1173,7 +1214,7 @@ public final class ManagedClustersListSamples {
*/
public final class ManagedClustersListByResourceGroupSamples {
/*
- * x-ms-original-file: 2026-02-01/ManagedClusterListByResourceGroupOperation_example.json
+ * x-ms-original-file: 2026-05-01-preview/ManagedClusterListByResourceGroupOperation_example.json
*/
/**
* Sample code: List cluster by resource group.
@@ -1187,6 +1228,83 @@ public final class ManagedClustersListByResourceGroupSamples {
}
```
+### ManagedClusters_ListFaultSimulation
+
+```java
+/**
+ * Samples for ManagedClusters ListFaultSimulation.
+ */
+public final class ManagedClustersListFaultSimulationSamples {
+ /*
+ * x-ms-original-file: 2026-05-01-preview/faultSimulation/ManagedClusterListFaultSimulation_example.json
+ */
+ /**
+ * Sample code: List Managed Cluster Fault Simulation.
+ *
+ * @param manager Entry point to ServiceFabricManagedClustersManager.
+ */
+ public static void listManagedClusterFaultSimulation(
+ com.azure.resourcemanager.servicefabricmanagedclusters.ServiceFabricManagedClustersManager manager) {
+ manager.managedClusters().listFaultSimulation("resRg", "myCluster", com.azure.core.util.Context.NONE);
+ }
+}
+```
+
+### ManagedClusters_StartFaultSimulation
+
+```java
+import com.azure.resourcemanager.servicefabricmanagedclusters.models.FaultSimulationContentWrapper;
+import com.azure.resourcemanager.servicefabricmanagedclusters.models.ZoneFaultSimulationContent;
+import java.util.Arrays;
+
+/**
+ * Samples for ManagedClusters StartFaultSimulation.
+ */
+public final class ManagedClustersStartFaultSimulationSamples {
+ /*
+ * x-ms-original-file: 2026-05-01-preview/faultSimulation/ManagedClusterStartFaultSimulation_example.json
+ */
+ /**
+ * Sample code: Start Managed Cluster Fault Simulation.
+ *
+ * @param manager Entry point to ServiceFabricManagedClustersManager.
+ */
+ public static void startManagedClusterFaultSimulation(
+ com.azure.resourcemanager.servicefabricmanagedclusters.ServiceFabricManagedClustersManager manager) {
+ manager.managedClusters()
+ .startFaultSimulation("resRg", "myCluster", new FaultSimulationContentWrapper().withParameters(
+ new ZoneFaultSimulationContent().withZones(Arrays.asList("2"))), com.azure.core.util.Context.NONE);
+ }
+}
+```
+
+### ManagedClusters_StopFaultSimulation
+
+```java
+import com.azure.resourcemanager.servicefabricmanagedclusters.models.FaultSimulationIdContent;
+
+/**
+ * Samples for ManagedClusters StopFaultSimulation.
+ */
+public final class ManagedClustersStopFaultSimulationSamples {
+ /*
+ * x-ms-original-file: 2026-05-01-preview/faultSimulation/ManagedClusterStopFaultSimulation_example.json
+ */
+ /**
+ * Sample code: Stop Managed Cluster Fault Simulation.
+ *
+ * @param manager Entry point to ServiceFabricManagedClustersManager.
+ */
+ public static void stopManagedClusterFaultSimulation(
+ com.azure.resourcemanager.servicefabricmanagedclusters.ServiceFabricManagedClustersManager manager) {
+ manager.managedClusters()
+ .stopFaultSimulation("resRg", "myCluster",
+ new FaultSimulationIdContent().withSimulationId("1bb61ba9-8a41-4d73-b5f0-7fc93b1edfe3"),
+ com.azure.core.util.Context.NONE);
+ }
+}
+```
+
### ManagedClusters_Update
```java
@@ -1199,7 +1317,7 @@ import java.util.Map;
*/
public final class ManagedClustersUpdateSamples {
/*
- * x-ms-original-file: 2026-02-01/ManagedClusterPatchOperation_example.json
+ * x-ms-original-file: 2026-05-01-preview/ManagedClusterPatchOperation_example.json
*/
/**
* Sample code: Patch a managed cluster.
@@ -1236,7 +1354,7 @@ public final class ManagedClustersUpdateSamples {
*/
public final class ManagedMaintenanceWindowStatusesGetSamples {
/*
- * x-ms-original-file: 2026-02-01/ManagedMaintenanceWindowStatusGet_example.json
+ * x-ms-original-file: 2026-05-01-preview/ManagedMaintenanceWindowStatusGet_example.json
*/
/**
* Sample code: Get Maintenance Window Status.
@@ -1259,7 +1377,7 @@ public final class ManagedMaintenanceWindowStatusesGetSamples {
*/
public final class ManagedUnsupportedVMSizesGetSamples {
/*
- * x-ms-original-file: 2026-02-01/managedUnsupportedVMSizesGet_example.json
+ * x-ms-original-file: 2026-05-01-preview/managedUnsupportedVMSizesGet_example.json
*/
/**
* Sample code: Get unsupported vm sizes.
@@ -1282,7 +1400,7 @@ public final class ManagedUnsupportedVMSizesGetSamples {
*/
public final class ManagedUnsupportedVMSizesListSamples {
/*
- * x-ms-original-file: 2026-02-01/managedUnsupportedVMSizesList_example.json
+ * x-ms-original-file: 2026-05-01-preview/managedUnsupportedVMSizesList_example.json
*/
/**
* Sample code: List unsupported vm sizes.
@@ -1304,7 +1422,7 @@ public final class ManagedUnsupportedVMSizesListSamples {
*/
public final class NodeTypeSkusListSamples {
/*
- * x-ms-original-file: 2026-02-01/NodeTypeSkusListOperation_example.json
+ * x-ms-original-file: 2026-05-01-preview/NodeTypeSkusListOperation_example.json
*/
/**
* Sample code: List a node type SKUs.
@@ -1328,11 +1446,15 @@ import com.azure.resourcemanager.servicefabricmanagedclusters.models.AdditionalN
import com.azure.resourcemanager.servicefabricmanagedclusters.models.DiskType;
import com.azure.resourcemanager.servicefabricmanagedclusters.models.EvictionPolicyType;
import com.azure.resourcemanager.servicefabricmanagedclusters.models.FrontendConfiguration;
+import com.azure.resourcemanager.servicefabricmanagedclusters.models.HostEndpointSettings;
import com.azure.resourcemanager.servicefabricmanagedclusters.models.IpConfiguration;
import com.azure.resourcemanager.servicefabricmanagedclusters.models.IpConfigurationPublicIpAddressConfiguration;
import com.azure.resourcemanager.servicefabricmanagedclusters.models.IpTag;
import com.azure.resourcemanager.servicefabricmanagedclusters.models.PrivateIpAddressVersion;
+import com.azure.resourcemanager.servicefabricmanagedclusters.models.ProxyAgentSettings;
import com.azure.resourcemanager.servicefabricmanagedclusters.models.PublicIpAddressVersion;
+import com.azure.resourcemanager.servicefabricmanagedclusters.models.ScaleInPolicy;
+import com.azure.resourcemanager.servicefabricmanagedclusters.models.ScaleInPolicyMode;
import com.azure.resourcemanager.servicefabricmanagedclusters.models.SecurityEncryptionType;
import com.azure.resourcemanager.servicefabricmanagedclusters.models.SecurityType;
import com.azure.resourcemanager.servicefabricmanagedclusters.models.VaultCertificate;
@@ -1354,7 +1476,7 @@ import java.util.Map;
*/
public final class NodeTypesCreateOrUpdateSamples {
/*
- * x-ms-original-file: 2026-02-01/NodeTypePutOperationStateless_example.json
+ * x-ms-original-file: 2026-05-01-preview/NodeTypePutOperationStateless_example.json
*/
/**
* Sample code: Put an stateless node type with temporary disk for service fabric.
@@ -1389,7 +1511,7 @@ public final class NodeTypesCreateOrUpdateSamples {
}
/*
- * x-ms-original-file: 2026-02-01/NodeTypePutOperation_example_max.json
+ * x-ms-original-file: 2026-05-01-preview/NodeTypePutOperation_example_max.json
*/
/**
* Sample code: Put a node type with maximum parameters.
@@ -1502,11 +1624,19 @@ public final class NodeTypesCreateOrUpdateSamples {
.withTreatFailureAsDeploymentFailure(false)))
.withIsOutboundOnly(true)
.withEnableResilientEphemeralOsDisk(true)
+ .withScaleInPolicy(new ScaleInPolicy().withMode(ScaleInPolicyMode.DEFAULT))
+ .withProxyAgentSettings(new ProxyAgentSettings().withEnabled(true)
+ .withKeyIncarnationId(17)
+ .withWireServer(new HostEndpointSettings().withMode("Audit")
+ .withInVMAccessControlProfileReferenceId("someReferenceId"))
+ .withImds(new HostEndpointSettings().withMode("Audit")
+ .withInVMAccessControlProfileReferenceId("someReferenceId"))
+ .withAddProxyAgentExtension(true))
.create();
}
/*
- * x-ms-original-file: 2026-02-01/NodeTypePutOperationAutoScale_example.json
+ * x-ms-original-file: 2026-05-01-preview/NodeTypePutOperationAutoScale_example.json
*/
/**
* Sample code: Put a node type with auto-scale parameters.
@@ -1552,7 +1682,7 @@ public final class NodeTypesCreateOrUpdateSamples {
}
/*
- * x-ms-original-file: 2026-02-01/NodeTypePutOperation_example_min.json
+ * x-ms-original-file: 2026-05-01-preview/NodeTypePutOperation_example_min.json
*/
/**
* Sample code: Put a node type with minimum parameters.
@@ -1576,7 +1706,7 @@ public final class NodeTypesCreateOrUpdateSamples {
}
/*
- * x-ms-original-file: 2026-02-01/NodeTypePutOperationDedicatedHost_example.json
+ * x-ms-original-file: 2026-05-01-preview/NodeTypePutOperationDedicatedHost_example.json
*/
/**
* Sample code: Put node type with dedicated hosts.
@@ -1606,7 +1736,7 @@ public final class NodeTypesCreateOrUpdateSamples {
}
/*
- * x-ms-original-file: 2026-02-01/NodeTypePutOperationVmImagePlan_example.json
+ * x-ms-original-file: 2026-05-01-preview/NodeTypePutOperationVmImagePlan_example.json
*/
/**
* Sample code: Put node type with vm image plan.
@@ -1633,7 +1763,7 @@ public final class NodeTypesCreateOrUpdateSamples {
}
/*
- * x-ms-original-file: 2026-02-01/NodeTypePutOperationCustomSharedGalleriesImage_example.json
+ * x-ms-original-file: 2026-05-01-preview/NodeTypePutOperationCustomSharedGalleriesImage_example.json
*/
/**
* Sample code: Put node type with shared galleries custom vm image.
@@ -1655,7 +1785,7 @@ public final class NodeTypesCreateOrUpdateSamples {
}
/*
- * x-ms-original-file: 2026-02-01/NodeTypePutOperationCustomImage_example.json
+ * x-ms-original-file: 2026-05-01-preview/NodeTypePutOperationCustomImage_example.json
*/
/**
* Sample code: Put node type with custom vm image.
@@ -1701,7 +1831,7 @@ import java.util.Arrays;
*/
public final class NodeTypesDeallocateSamples {
/*
- * x-ms-original-file: 2026-02-01/DeallocateNodes_example.json
+ * x-ms-original-file: 2026-05-01-preview/DeallocateNodes_example.json
*/
/**
* Sample code: Deallocate nodes.
@@ -1726,7 +1856,7 @@ public final class NodeTypesDeallocateSamples {
*/
public final class NodeTypesDeleteSamples {
/*
- * x-ms-original-file: 2026-02-01/NodeTypeDeleteOperation_example.json
+ * x-ms-original-file: 2026-05-01-preview/NodeTypeDeleteOperation_example.json
*/
/**
* Sample code: Delete a node type.
@@ -1751,7 +1881,7 @@ import java.util.Arrays;
*/
public final class NodeTypesDeleteNodeSamples {
/*
- * x-ms-original-file: 2026-02-01/DeleteNodes_example.json
+ * x-ms-original-file: 2026-05-01-preview/DeleteNodes_example.json
*/
/**
* Sample code: Delete nodes.
@@ -1776,7 +1906,7 @@ public final class NodeTypesDeleteNodeSamples {
*/
public final class NodeTypesGetSamples {
/*
- * x-ms-original-file: 2026-02-01/NodeTypeGetOperation_example.json
+ * x-ms-original-file: 2026-05-01-preview/NodeTypeGetOperation_example.json
*/
/**
* Sample code: Get a node type.
@@ -1790,6 +1920,33 @@ public final class NodeTypesGetSamples {
}
```
+### NodeTypes_GetFaultSimulation
+
+```java
+import com.azure.resourcemanager.servicefabricmanagedclusters.models.FaultSimulationIdContent;
+
+/**
+ * Samples for NodeTypes GetFaultSimulation.
+ */
+public final class NodeTypesGetFaultSimulationSamples {
+ /*
+ * x-ms-original-file: 2026-05-01-preview/faultSimulation/NodeTypeGetFaultSimulation_example.json
+ */
+ /**
+ * Sample code: Get Node Type Fault Simulation.
+ *
+ * @param manager Entry point to ServiceFabricManagedClustersManager.
+ */
+ public static void getNodeTypeFaultSimulation(
+ com.azure.resourcemanager.servicefabricmanagedclusters.ServiceFabricManagedClustersManager manager) {
+ manager.nodeTypes()
+ .getFaultSimulationWithResponse("resRg", "myCluster", "BE",
+ new FaultSimulationIdContent().withSimulationId("aec13cc2-1d39-4ba6-a1a8-2fc35b00643c"),
+ com.azure.core.util.Context.NONE);
+ }
+}
+```
+
### NodeTypes_ListByManagedClusters
```java
@@ -1798,7 +1955,7 @@ public final class NodeTypesGetSamples {
*/
public final class NodeTypesListByManagedClustersSamples {
/*
- * x-ms-original-file: 2026-02-01/NodeTypeListOperation_example.json
+ * x-ms-original-file: 2026-05-01-preview/NodeTypeListOperation_example.json
*/
/**
* Sample code: List node type of the specified managed cluster.
@@ -1812,6 +1969,28 @@ public final class NodeTypesListByManagedClustersSamples {
}
```
+### NodeTypes_ListFaultSimulation
+
+```java
+/**
+ * Samples for NodeTypes ListFaultSimulation.
+ */
+public final class NodeTypesListFaultSimulationSamples {
+ /*
+ * x-ms-original-file: 2026-05-01-preview/faultSimulation/NodeTypeListFaultSimulation_example.json
+ */
+ /**
+ * Sample code: List Node Type Fault Simulation.
+ *
+ * @param manager Entry point to ServiceFabricManagedClustersManager.
+ */
+ public static void listNodeTypeFaultSimulation(
+ com.azure.resourcemanager.servicefabricmanagedclusters.ServiceFabricManagedClustersManager manager) {
+ manager.nodeTypes().listFaultSimulation("resRg", "myCluster", "BE", com.azure.core.util.Context.NONE);
+ }
+}
+```
+
### NodeTypes_Redeploy
```java
@@ -1824,7 +2003,7 @@ import java.util.Arrays;
*/
public final class NodeTypesRedeploySamples {
/*
- * x-ms-original-file: 2026-02-01/RedeployNodes_UD_example.json
+ * x-ms-original-file: 2026-05-01-preview/RedeployNodes_UD_example.json
*/
/**
* Sample code: Redeploy all nodes by upgrade domain.
@@ -1840,7 +2019,7 @@ public final class NodeTypesRedeploySamples {
}
/*
- * x-ms-original-file: 2026-02-01/RedeployNodes_example.json
+ * x-ms-original-file: 2026-05-01-preview/RedeployNodes_example.json
*/
/**
* Sample code: Redeploy nodes.
@@ -1869,7 +2048,7 @@ import java.util.Arrays;
*/
public final class NodeTypesReimageSamples {
/*
- * x-ms-original-file: 2026-02-01/ReimageNodes_example.json
+ * x-ms-original-file: 2026-05-01-preview/ReimageNodes_example.json
*/
/**
* Sample code: Reimage nodes.
@@ -1885,7 +2064,7 @@ public final class NodeTypesReimageSamples {
}
/*
- * x-ms-original-file: 2026-02-01/ReimageNodes_UD_example.json
+ * x-ms-original-file: 2026-05-01-preview/ReimageNodes_UD_example.json
*/
/**
* Sample code: Reimage all nodes by upgrade domain.
@@ -1913,7 +2092,7 @@ import java.util.Arrays;
*/
public final class NodeTypesRestartSamples {
/*
- * x-ms-original-file: 2026-02-01/RestartNodes_example.json
+ * x-ms-original-file: 2026-05-01-preview/RestartNodes_example.json
*/
/**
* Sample code: Restart nodes.
@@ -1941,7 +2120,7 @@ import java.util.Arrays;
*/
public final class NodeTypesStartSamples {
/*
- * x-ms-original-file: 2026-02-01/StartNodes_example.json
+ * x-ms-original-file: 2026-05-01-preview/StartNodes_example.json
*/
/**
* Sample code: Start nodes.
@@ -1957,6 +2136,61 @@ public final class NodeTypesStartSamples {
}
```
+### NodeTypes_StartFaultSimulation
+
+```java
+import com.azure.resourcemanager.servicefabricmanagedclusters.models.FaultSimulationContentWrapper;
+import com.azure.resourcemanager.servicefabricmanagedclusters.models.ZoneFaultSimulationContent;
+import java.util.Arrays;
+
+/**
+ * Samples for NodeTypes StartFaultSimulation.
+ */
+public final class NodeTypesStartFaultSimulationSamples {
+ /*
+ * x-ms-original-file: 2026-05-01-preview/faultSimulation/NodeTypeStartFaultSimulation_example.json
+ */
+ /**
+ * Sample code: Start Node Type Fault Simulation.
+ *
+ * @param manager Entry point to ServiceFabricManagedClustersManager.
+ */
+ public static void startNodeTypeFaultSimulation(
+ com.azure.resourcemanager.servicefabricmanagedclusters.ServiceFabricManagedClustersManager manager) {
+ manager.nodeTypes()
+ .startFaultSimulation("resRg", "myCluster", "BE", new FaultSimulationContentWrapper().withParameters(
+ new ZoneFaultSimulationContent().withZones(Arrays.asList("2"))), com.azure.core.util.Context.NONE);
+ }
+}
+```
+
+### NodeTypes_StopFaultSimulation
+
+```java
+import com.azure.resourcemanager.servicefabricmanagedclusters.models.FaultSimulationIdContent;
+
+/**
+ * Samples for NodeTypes StopFaultSimulation.
+ */
+public final class NodeTypesStopFaultSimulationSamples {
+ /*
+ * x-ms-original-file: 2026-05-01-preview/faultSimulation/NodeTypeStopFaultSimulation_example.json
+ */
+ /**
+ * Sample code: Stop Node Type Fault Simulation.
+ *
+ * @param manager Entry point to ServiceFabricManagedClustersManager.
+ */
+ public static void stopNodeTypeFaultSimulation(
+ com.azure.resourcemanager.servicefabricmanagedclusters.ServiceFabricManagedClustersManager manager) {
+ manager.nodeTypes()
+ .stopFaultSimulation("resRg", "myCluster", "BE",
+ new FaultSimulationIdContent().withSimulationId("1bb61ba9-8a41-4d73-b5f0-7fc93b1edfe3"),
+ com.azure.core.util.Context.NONE);
+ }
+}
+```
+
### NodeTypes_Update
```java
@@ -1970,7 +2204,7 @@ import java.util.Map;
*/
public final class NodeTypesUpdateSamples {
/*
- * x-ms-original-file: 2026-02-01/NodeTypePatchOperation_example.json
+ * x-ms-original-file: 2026-05-01-preview/NodeTypePatchOperation_example.json
*/
/**
* Sample code: Patch a node type.
@@ -1986,7 +2220,7 @@ public final class NodeTypesUpdateSamples {
}
/*
- * x-ms-original-file: 2026-02-01/NodeTypePatchOperationAutoScale_example.json
+ * x-ms-original-file: 2026-05-01-preview/NodeTypePatchOperationAutoScale_example.json
*/
/**
* Sample code: Patch a node type while auto-scaling.
@@ -2026,7 +2260,7 @@ public final class NodeTypesUpdateSamples {
*/
public final class OperationsListSamples {
/*
- * x-ms-original-file: 2026-02-01/OperationsList_example.json
+ * x-ms-original-file: 2026-05-01-preview/OperationsList_example.json
*/
/**
* Sample code: List the operations for the provider.
@@ -2064,7 +2298,7 @@ import java.util.Map;
*/
public final class ServicesCreateOrUpdateSamples {
/*
- * x-ms-original-file: 2026-02-01/ServicePutOperation_example_min.json
+ * x-ms-original-file: 2026-05-01-preview/ServicePutOperation_example_min.json
*/
/**
* Sample code: Put a service with minimum parameters.
@@ -2084,7 +2318,7 @@ public final class ServicesCreateOrUpdateSamples {
}
/*
- * x-ms-original-file: 2026-02-01/ServicePutOperation_example_max.json
+ * x-ms-original-file: 2026-05-01-preview/ServicePutOperation_example_max.json
*/
/**
* Sample code: Put a service with maximum parameters.
@@ -2148,7 +2382,7 @@ public final class ServicesCreateOrUpdateSamples {
*/
public final class ServicesDeleteSamples {
/*
- * x-ms-original-file: 2026-02-01/ServiceDeleteOperation_example.json
+ * x-ms-original-file: 2026-05-01-preview/ServiceDeleteOperation_example.json
*/
/**
* Sample code: Delete a service.
@@ -2170,7 +2404,7 @@ public final class ServicesDeleteSamples {
*/
public final class ServicesGetSamples {
/*
- * x-ms-original-file: 2026-02-01/ServiceGetOperation_example.json
+ * x-ms-original-file: 2026-05-01-preview/ServiceGetOperation_example.json
*/
/**
* Sample code: Get a service.
@@ -2193,7 +2427,7 @@ public final class ServicesGetSamples {
*/
public final class ServicesListByApplicationsSamples {
/*
- * x-ms-original-file: 2026-02-01/ServiceListOperation_example.json
+ * x-ms-original-file: 2026-05-01-preview/ServiceListOperation_example.json
*/
/**
* Sample code: Get a list of service resources.
@@ -2219,7 +2453,7 @@ import java.util.Arrays;
*/
public final class ServicesRestartReplicaSamples {
/*
- * x-ms-original-file: 2026-02-01/ServiceActionRestartReplica_example.json
+ * x-ms-original-file: 2026-05-01-preview/ServiceActionRestartReplica_example.json
*/
/**
* Sample code: Restart replicas.
@@ -2252,7 +2486,7 @@ import java.util.Map;
*/
public final class ServicesUpdateSamples {
/*
- * x-ms-original-file: 2026-02-01/ServicePatchOperation_example.json
+ * x-ms-original-file: 2026-05-01-preview/ServicePatchOperation_example.json
*/
/**
* Sample code: Patch a service.
diff --git a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/pom.xml b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/pom.xml
index 754fc11bd354..2449dd9a59a4 100644
--- a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/pom.xml
+++ b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/pom.xml
@@ -18,7 +18,7 @@
jar
Microsoft Azure SDK for Service Fabric Managed Clusters Management
- This package contains Microsoft Azure SDK for Service Fabric Managed Clusters Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. Service Fabric Managed Clusters Management Client. Package api-version 2026-02-01.
+ This package contains Microsoft Azure SDK for Service Fabric Managed Clusters Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. Service Fabric Managed Clusters Management Client. Package api-version 2026-05-01-preview.
https://github.com/Azure/azure-sdk-for-java
diff --git a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/fluent/ManagedApplyMaintenanceWindowsClient.java b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/fluent/ManagedApplyMaintenanceWindowsClient.java
index 4d8e3eace9c3..abd18ce409fc 100644
--- a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/fluent/ManagedApplyMaintenanceWindowsClient.java
+++ b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/fluent/ManagedApplyMaintenanceWindowsClient.java
@@ -8,17 +8,18 @@
import com.azure.core.annotation.ServiceMethod;
import com.azure.core.http.rest.Response;
import com.azure.core.util.Context;
+import com.azure.resourcemanager.servicefabricmanagedclusters.models.ApplyMaintenanceWindowRequest;
/**
* An instance of this class provides access to all the operations defined in ManagedApplyMaintenanceWindowsClient.
*/
public interface ManagedApplyMaintenanceWindowsClient {
/**
- * Action to Apply Maintenance window on the Service Fabric Managed Clusters, right now. Any pending update will be
- * applied.
+ * Action to Apply Maintenance window on the Service Fabric Managed Clusters. Any pending update will be applied.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param clusterName The name of the cluster resource.
+ * @param body The content of the action request.
* @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.
@@ -26,11 +27,11 @@ public interface ManagedApplyMaintenanceWindowsClient {
* @return the {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response postWithResponse(String resourceGroupName, String clusterName, Context context);
+ Response postWithResponse(String resourceGroupName, String clusterName, ApplyMaintenanceWindowRequest body,
+ Context context);
/**
- * Action to Apply Maintenance window on the Service Fabric Managed Clusters, right now. Any pending update will be
- * applied.
+ * Action to Apply Maintenance window on the Service Fabric Managed Clusters. Any pending update will be applied.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param clusterName The name of the cluster resource.
diff --git a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/fluent/ManagedClustersClient.java b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/fluent/ManagedClustersClient.java
index 4d11c2b36fbb..597530237f79 100644
--- a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/fluent/ManagedClustersClient.java
+++ b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/fluent/ManagedClustersClient.java
@@ -11,7 +11,10 @@
import com.azure.core.management.polling.PollResult;
import com.azure.core.util.Context;
import com.azure.core.util.polling.SyncPoller;
+import com.azure.resourcemanager.servicefabricmanagedclusters.fluent.models.FaultSimulationInner;
import com.azure.resourcemanager.servicefabricmanagedclusters.fluent.models.ManagedClusterInner;
+import com.azure.resourcemanager.servicefabricmanagedclusters.models.FaultSimulationContentWrapper;
+import com.azure.resourcemanager.servicefabricmanagedclusters.models.FaultSimulationIdContent;
import com.azure.resourcemanager.servicefabricmanagedclusters.models.ManagedClusterUpdateParameters;
/**
@@ -274,4 +277,187 @@ ManagedClusterInner update(String resourceGroupName, String clusterName, Managed
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable list(Context context);
+
+ /**
+ * Gets a fault simulation by the simulationId.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the cluster resource.
+ * @param parameters parameter with fault simulation 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 fault simulation by the simulationId along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getFaultSimulationWithResponse(String resourceGroupName, String clusterName,
+ FaultSimulationIdContent parameters, Context context);
+
+ /**
+ * Gets a fault simulation by the simulationId.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the cluster resource.
+ * @param parameters parameter with fault simulation 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 fault simulation by the simulationId.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ FaultSimulationInner getFaultSimulation(String resourceGroupName, String clusterName,
+ FaultSimulationIdContent parameters);
+
+ /**
+ * Gets the list of recent fault simulations for the cluster.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the cluster resource.
+ * @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 list of recent fault simulations for the cluster as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listFaultSimulation(String resourceGroupName, String clusterName);
+
+ /**
+ * Gets the list of recent fault simulations for the cluster.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the cluster resource.
+ * @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 list of recent fault simulations for the cluster as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listFaultSimulation(String resourceGroupName, String clusterName,
+ Context context);
+
+ /**
+ * Starts a fault simulation on the cluster.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the cluster resource.
+ * @param parameters parameters describing the fault simulation.
+ * @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, FaultSimulationInner> beginStartFaultSimulation(
+ String resourceGroupName, String clusterName, FaultSimulationContentWrapper parameters);
+
+ /**
+ * Starts a fault simulation on the cluster.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the cluster resource.
+ * @param parameters parameters describing the fault simulation.
+ * @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, FaultSimulationInner> beginStartFaultSimulation(
+ String resourceGroupName, String clusterName, FaultSimulationContentWrapper parameters, Context context);
+
+ /**
+ * Starts a fault simulation on the cluster.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the cluster resource.
+ * @param parameters parameters describing the fault simulation.
+ * @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)
+ FaultSimulationInner startFaultSimulation(String resourceGroupName, String clusterName,
+ FaultSimulationContentWrapper parameters);
+
+ /**
+ * Starts a fault simulation on the cluster.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the cluster resource.
+ * @param parameters parameters describing the fault simulation.
+ * @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)
+ FaultSimulationInner startFaultSimulation(String resourceGroupName, String clusterName,
+ FaultSimulationContentWrapper parameters, Context context);
+
+ /**
+ * Stops a fault simulation on the cluster.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the cluster resource.
+ * @param parameters parameter with fault simulation 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 the {@link SyncPoller} for polling of long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, FaultSimulationInner>
+ beginStopFaultSimulation(String resourceGroupName, String clusterName, FaultSimulationIdContent parameters);
+
+ /**
+ * Stops a fault simulation on the cluster.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the cluster resource.
+ * @param parameters parameter with fault simulation 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 SyncPoller} for polling of long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, FaultSimulationInner> beginStopFaultSimulation(
+ String resourceGroupName, String clusterName, FaultSimulationIdContent parameters, Context context);
+
+ /**
+ * Stops a fault simulation on the cluster.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the cluster resource.
+ * @param parameters parameter with fault simulation 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 the response.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ FaultSimulationInner stopFaultSimulation(String resourceGroupName, String clusterName,
+ FaultSimulationIdContent parameters);
+
+ /**
+ * Stops a fault simulation on the cluster.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the cluster resource.
+ * @param parameters parameter with fault simulation 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 response.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ FaultSimulationInner stopFaultSimulation(String resourceGroupName, String clusterName,
+ FaultSimulationIdContent parameters, Context context);
}
diff --git a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/fluent/ManagedUnsupportedVMSizesClient.java b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/fluent/ManagedUnsupportedVMSizesClient.java
index 0c069c2c8c26..c567289abfcb 100644
--- a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/fluent/ManagedUnsupportedVMSizesClient.java
+++ b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/fluent/ManagedUnsupportedVMSizesClient.java
@@ -18,7 +18,7 @@ public interface ManagedUnsupportedVMSizesClient {
/**
* Get unsupported vm size for Service Fabric Managed Clusters.
*
- * @param location The location for the cluster code versions. This is different from cluster location.
+ * @param location The location for the unsupported VM sizes. This is different from cluster location.
* @param vmSize VM Size name.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -32,7 +32,7 @@ public interface ManagedUnsupportedVMSizesClient {
/**
* Get unsupported vm size for Service Fabric Managed Clusters.
*
- * @param location The location for the cluster code versions. This is different from cluster location.
+ * @param location The location for the unsupported VM sizes. This is different from cluster location.
* @param vmSize VM Size name.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -45,7 +45,7 @@ public interface ManagedUnsupportedVMSizesClient {
/**
* Get the lists of unsupported vm sizes for Service Fabric Managed Clusters.
*
- * @param location The location for the cluster code versions. This is different from cluster location.
+ * @param location The location for the unsupported VM sizes. This is different from cluster location.
* @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.
@@ -58,7 +58,7 @@ public interface ManagedUnsupportedVMSizesClient {
/**
* Get the lists of unsupported vm sizes for Service Fabric Managed Clusters.
*
- * @param location The location for the cluster code versions. This is different from cluster location.
+ * @param location The location for the unsupported VM sizes. This is different from cluster location.
* @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.
diff --git a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/fluent/NodeTypesClient.java b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/fluent/NodeTypesClient.java
index bd4c4988687c..3785d7672a0b 100644
--- a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/fluent/NodeTypesClient.java
+++ b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/fluent/NodeTypesClient.java
@@ -11,7 +11,10 @@
import com.azure.core.management.polling.PollResult;
import com.azure.core.util.Context;
import com.azure.core.util.polling.SyncPoller;
+import com.azure.resourcemanager.servicefabricmanagedclusters.fluent.models.FaultSimulationInner;
import com.azure.resourcemanager.servicefabricmanagedclusters.fluent.models.NodeTypeInner;
+import com.azure.resourcemanager.servicefabricmanagedclusters.models.FaultSimulationContentWrapper;
+import com.azure.resourcemanager.servicefabricmanagedclusters.models.FaultSimulationIdContent;
import com.azure.resourcemanager.servicefabricmanagedclusters.models.NodeTypeActionParameters;
import com.azure.resourcemanager.servicefabricmanagedclusters.models.NodeTypeUpdateParameters;
@@ -675,4 +678,202 @@ SyncPoller, Void> beginStart(String resourceGroupName, String c
@ServiceMethod(returns = ReturnType.SINGLE)
void start(String resourceGroupName, String clusterName, String nodeTypeName, NodeTypeActionParameters parameters,
Context context);
+
+ /**
+ * Starts a fault simulation on the node type.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the cluster resource.
+ * @param nodeTypeName The name of the node type.
+ * @param parameters parameters describing the fault simulation.
+ * @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, FaultSimulationInner> beginStartFaultSimulation(
+ String resourceGroupName, String clusterName, String nodeTypeName, FaultSimulationContentWrapper parameters);
+
+ /**
+ * Starts a fault simulation on the node type.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the cluster resource.
+ * @param nodeTypeName The name of the node type.
+ * @param parameters parameters describing the fault simulation.
+ * @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, FaultSimulationInner> beginStartFaultSimulation(
+ String resourceGroupName, String clusterName, String nodeTypeName, FaultSimulationContentWrapper parameters,
+ Context context);
+
+ /**
+ * Starts a fault simulation on the node type.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the cluster resource.
+ * @param nodeTypeName The name of the node type.
+ * @param parameters parameters describing the fault simulation.
+ * @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)
+ FaultSimulationInner startFaultSimulation(String resourceGroupName, String clusterName, String nodeTypeName,
+ FaultSimulationContentWrapper parameters);
+
+ /**
+ * Starts a fault simulation on the node type.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the cluster resource.
+ * @param nodeTypeName The name of the node type.
+ * @param parameters parameters describing the fault simulation.
+ * @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)
+ FaultSimulationInner startFaultSimulation(String resourceGroupName, String clusterName, String nodeTypeName,
+ FaultSimulationContentWrapper parameters, Context context);
+
+ /**
+ * Stops a fault simulation on the node type.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the cluster resource.
+ * @param nodeTypeName The name of the node type.
+ * @param parameters parameter with fault simulation 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 the {@link SyncPoller} for polling of long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, FaultSimulationInner> beginStopFaultSimulation(
+ String resourceGroupName, String clusterName, String nodeTypeName, FaultSimulationIdContent parameters);
+
+ /**
+ * Stops a fault simulation on the node type.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the cluster resource.
+ * @param nodeTypeName The name of the node type.
+ * @param parameters parameter with fault simulation 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 SyncPoller} for polling of long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, FaultSimulationInner> beginStopFaultSimulation(
+ String resourceGroupName, String clusterName, String nodeTypeName, FaultSimulationIdContent parameters,
+ Context context);
+
+ /**
+ * Stops a fault simulation on the node type.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the cluster resource.
+ * @param nodeTypeName The name of the node type.
+ * @param parameters parameter with fault simulation 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 the response.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ FaultSimulationInner stopFaultSimulation(String resourceGroupName, String clusterName, String nodeTypeName,
+ FaultSimulationIdContent parameters);
+
+ /**
+ * Stops a fault simulation on the node type.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the cluster resource.
+ * @param nodeTypeName The name of the node type.
+ * @param parameters parameter with fault simulation 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 response.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ FaultSimulationInner stopFaultSimulation(String resourceGroupName, String clusterName, String nodeTypeName,
+ FaultSimulationIdContent parameters, Context context);
+
+ /**
+ * Gets a fault simulation by the simulationId.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the cluster resource.
+ * @param nodeTypeName The name of the node type.
+ * @param parameters parameter with fault simulation 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 fault simulation by the simulationId along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getFaultSimulationWithResponse(String resourceGroupName, String clusterName,
+ String nodeTypeName, FaultSimulationIdContent parameters, Context context);
+
+ /**
+ * Gets a fault simulation by the simulationId.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the cluster resource.
+ * @param nodeTypeName The name of the node type.
+ * @param parameters parameter with fault simulation 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 fault simulation by the simulationId.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ FaultSimulationInner getFaultSimulation(String resourceGroupName, String clusterName, String nodeTypeName,
+ FaultSimulationIdContent parameters);
+
+ /**
+ * Gets the list of recent fault simulations for the node type.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the cluster resource.
+ * @param nodeTypeName The name of the node type.
+ * @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 list of recent fault simulations for the node type as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listFaultSimulation(String resourceGroupName, String clusterName,
+ String nodeTypeName);
+
+ /**
+ * Gets the list of recent fault simulations for the node type.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the cluster resource.
+ * @param nodeTypeName The name of the node type.
+ * @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 list of recent fault simulations for the node type as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listFaultSimulation(String resourceGroupName, String clusterName,
+ String nodeTypeName, Context context);
}
diff --git a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/fluent/models/FaultSimulationInner.java b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/fluent/models/FaultSimulationInner.java
new file mode 100644
index 000000000000..a922c753e3ac
--- /dev/null
+++ b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/fluent/models/FaultSimulationInner.java
@@ -0,0 +1,151 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.servicefabricmanagedclusters.fluent.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 com.azure.resourcemanager.servicefabricmanagedclusters.models.FaultSimulationDetails;
+import com.azure.resourcemanager.servicefabricmanagedclusters.models.FaultSimulationStatus;
+import java.io.IOException;
+import java.time.OffsetDateTime;
+import java.time.format.DateTimeFormatter;
+
+/**
+ * Fault simulation object with status.
+ */
+@Immutable
+public final class FaultSimulationInner implements JsonSerializable {
+ /*
+ * unique identifier for the fault simulation.
+ */
+ private String simulationId;
+
+ /*
+ * Fault simulation status
+ */
+ private FaultSimulationStatus status;
+
+ /*
+ * The start time of the fault simulation.
+ */
+ private OffsetDateTime startTime;
+
+ /*
+ * The end time of the fault simulation.
+ */
+ private OffsetDateTime endTime;
+
+ /*
+ * Fault simulation details
+ */
+ private FaultSimulationDetails details;
+
+ /**
+ * Creates an instance of FaultSimulationInner class.
+ */
+ private FaultSimulationInner() {
+ }
+
+ /**
+ * Get the simulationId property: unique identifier for the fault simulation.
+ *
+ * @return the simulationId value.
+ */
+ public String simulationId() {
+ return this.simulationId;
+ }
+
+ /**
+ * Get the status property: Fault simulation status.
+ *
+ * @return the status value.
+ */
+ public FaultSimulationStatus status() {
+ return this.status;
+ }
+
+ /**
+ * Get the startTime property: The start time of the fault simulation.
+ *
+ * @return the startTime value.
+ */
+ public OffsetDateTime startTime() {
+ return this.startTime;
+ }
+
+ /**
+ * Get the endTime property: The end time of the fault simulation.
+ *
+ * @return the endTime value.
+ */
+ public OffsetDateTime endTime() {
+ return this.endTime;
+ }
+
+ /**
+ * Get the details property: Fault simulation details.
+ *
+ * @return the details value.
+ */
+ public FaultSimulationDetails details() {
+ return this.details;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ @Override
+ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
+ jsonWriter.writeStartObject();
+ jsonWriter.writeStringField("simulationId", this.simulationId);
+ jsonWriter.writeStringField("status", this.status == null ? null : this.status.toString());
+ jsonWriter.writeStringField("startTime",
+ this.startTime == null ? null : DateTimeFormatter.ISO_OFFSET_DATE_TIME.format(this.startTime));
+ jsonWriter.writeStringField("endTime",
+ this.endTime == null ? null : DateTimeFormatter.ISO_OFFSET_DATE_TIME.format(this.endTime));
+ jsonWriter.writeJsonField("details", this.details);
+ return jsonWriter.writeEndObject();
+ }
+
+ /**
+ * Reads an instance of FaultSimulationInner from the JsonReader.
+ *
+ * @param jsonReader The JsonReader being read.
+ * @return An instance of FaultSimulationInner 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 FaultSimulationInner.
+ */
+ public static FaultSimulationInner fromJson(JsonReader jsonReader) throws IOException {
+ return jsonReader.readObject(reader -> {
+ FaultSimulationInner deserializedFaultSimulationInner = new FaultSimulationInner();
+ while (reader.nextToken() != JsonToken.END_OBJECT) {
+ String fieldName = reader.getFieldName();
+ reader.nextToken();
+
+ if ("simulationId".equals(fieldName)) {
+ deserializedFaultSimulationInner.simulationId = reader.getString();
+ } else if ("status".equals(fieldName)) {
+ deserializedFaultSimulationInner.status = FaultSimulationStatus.fromString(reader.getString());
+ } else if ("startTime".equals(fieldName)) {
+ deserializedFaultSimulationInner.startTime = reader
+ .getNullable(nonNullReader -> CoreUtils.parseBestOffsetDateTime(nonNullReader.getString()));
+ } else if ("endTime".equals(fieldName)) {
+ deserializedFaultSimulationInner.endTime = reader
+ .getNullable(nonNullReader -> CoreUtils.parseBestOffsetDateTime(nonNullReader.getString()));
+ } else if ("details".equals(fieldName)) {
+ deserializedFaultSimulationInner.details = FaultSimulationDetails.fromJson(reader);
+ } else {
+ reader.skipChildren();
+ }
+ }
+
+ return deserializedFaultSimulationInner;
+ });
+ }
+}
diff --git a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/fluent/models/NodeTypeInner.java b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/fluent/models/NodeTypeInner.java
index 35e47ae8d1ea..d0c0d66088ce 100644
--- a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/fluent/models/NodeTypeInner.java
+++ b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/fluent/models/NodeTypeInner.java
@@ -19,6 +19,8 @@
import com.azure.resourcemanager.servicefabricmanagedclusters.models.NetworkSecurityRule;
import com.azure.resourcemanager.servicefabricmanagedclusters.models.NodeTypeNatConfig;
import com.azure.resourcemanager.servicefabricmanagedclusters.models.NodeTypeSku;
+import com.azure.resourcemanager.servicefabricmanagedclusters.models.ProxyAgentSettings;
+import com.azure.resourcemanager.servicefabricmanagedclusters.models.ScaleInPolicy;
import com.azure.resourcemanager.servicefabricmanagedclusters.models.SecurityEncryptionType;
import com.azure.resourcemanager.servicefabricmanagedclusters.models.SecurityType;
import com.azure.resourcemanager.servicefabricmanagedclusters.models.VaultSecretGroup;
@@ -1509,6 +1511,56 @@ public NodeTypeInner withEnableResilientEphemeralOsDisk(Boolean enableResilientE
return this;
}
+ /**
+ * Get the scaleInPolicy property: Specifies the scale in policy for the node type, which will be used when scale in
+ * happens on the cluster. If not specified, the default is Default which means the platform will decide which nodes
+ * to remove during scale in.
+ *
+ * @return the scaleInPolicy value.
+ */
+ public ScaleInPolicy scaleInPolicy() {
+ return this.innerProperties() == null ? null : this.innerProperties().scaleInPolicy();
+ }
+
+ /**
+ * Set the scaleInPolicy property: Specifies the scale in policy for the node type, which will be used when scale in
+ * happens on the cluster. If not specified, the default is Default which means the platform will decide which nodes
+ * to remove during scale in.
+ *
+ * @param scaleInPolicy the scaleInPolicy value to set.
+ * @return the NodeTypeInner object itself.
+ */
+ public NodeTypeInner withScaleInPolicy(ScaleInPolicy scaleInPolicy) {
+ if (this.innerProperties() == null) {
+ this.innerProperties = new NodeTypeProperties();
+ }
+ this.innerProperties().withScaleInPolicy(scaleInPolicy);
+ return this;
+ }
+
+ /**
+ * Get the proxyAgentSettings property: Specifies the settings for the proxy agent on the node type.
+ *
+ * @return the proxyAgentSettings value.
+ */
+ public ProxyAgentSettings proxyAgentSettings() {
+ return this.innerProperties() == null ? null : this.innerProperties().proxyAgentSettings();
+ }
+
+ /**
+ * Set the proxyAgentSettings property: Specifies the settings for the proxy agent on the node type.
+ *
+ * @param proxyAgentSettings the proxyAgentSettings value to set.
+ * @return the NodeTypeInner object itself.
+ */
+ public NodeTypeInner withProxyAgentSettings(ProxyAgentSettings proxyAgentSettings) {
+ if (this.innerProperties() == null) {
+ this.innerProperties = new NodeTypeProperties();
+ }
+ this.innerProperties().withProxyAgentSettings(proxyAgentSettings);
+ return this;
+ }
+
/**
* {@inheritDoc}
*/
diff --git a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/fluent/models/NodeTypeProperties.java b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/fluent/models/NodeTypeProperties.java
index 127e07f2ff37..69158ffc77cd 100644
--- a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/fluent/models/NodeTypeProperties.java
+++ b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/fluent/models/NodeTypeProperties.java
@@ -17,6 +17,8 @@
import com.azure.resourcemanager.servicefabricmanagedclusters.models.ManagedResourceProvisioningState;
import com.azure.resourcemanager.servicefabricmanagedclusters.models.NetworkSecurityRule;
import com.azure.resourcemanager.servicefabricmanagedclusters.models.NodeTypeNatConfig;
+import com.azure.resourcemanager.servicefabricmanagedclusters.models.ProxyAgentSettings;
+import com.azure.resourcemanager.servicefabricmanagedclusters.models.ScaleInPolicy;
import com.azure.resourcemanager.servicefabricmanagedclusters.models.SecurityEncryptionType;
import com.azure.resourcemanager.servicefabricmanagedclusters.models.SecurityType;
import com.azure.resourcemanager.servicefabricmanagedclusters.models.VaultSecretGroup;
@@ -338,6 +340,17 @@ public final class NodeTypeProperties implements JsonSerializable> post(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion,
@PathParam("subscriptionId") String subscriptionId,
@PathParam("resourceGroupName") String resourceGroupName, @PathParam("clusterName") String clusterName,
- Context context);
+ @BodyParam("application/json") ApplyMaintenanceWindowRequest body, Context context);
@Headers({ "Accept: application/json;q=0.9", "Content-Type: application/json" })
@Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}/applyMaintenanceWindow")
@@ -71,31 +73,31 @@ Mono> post(@HostParam("endpoint") String endpoint, @QueryParam("a
Response postSync(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion,
@PathParam("subscriptionId") String subscriptionId,
@PathParam("resourceGroupName") String resourceGroupName, @PathParam("clusterName") String clusterName,
- Context context);
+ @BodyParam("application/json") ApplyMaintenanceWindowRequest body, Context context);
}
/**
- * Action to Apply Maintenance window on the Service Fabric Managed Clusters, right now. Any pending update will be
- * applied.
+ * Action to Apply Maintenance window on the Service Fabric Managed Clusters. Any pending update will be applied.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param clusterName The name of the cluster resource.
+ * @param body The content of the action request.
* @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> postWithResponseAsync(String resourceGroupName, String clusterName) {
+ private Mono> postWithResponseAsync(String resourceGroupName, String clusterName,
+ ApplyMaintenanceWindowRequest body) {
return FluxUtil
.withContext(context -> service.post(this.client.getEndpoint(), this.client.getApiVersion(),
- this.client.getSubscriptionId(), resourceGroupName, clusterName, context))
+ this.client.getSubscriptionId(), resourceGroupName, clusterName, body, context))
.contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly()));
}
/**
- * Action to Apply Maintenance window on the Service Fabric Managed Clusters, right now. Any pending update will be
- * applied.
+ * Action to Apply Maintenance window on the Service Fabric Managed Clusters. Any pending update will be applied.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param clusterName The name of the cluster resource.
@@ -106,15 +108,16 @@ private Mono> postWithResponseAsync(String resourceGroupName, Str
*/
@ServiceMethod(returns = ReturnType.SINGLE)
private Mono postAsync(String resourceGroupName, String clusterName) {
- return postWithResponseAsync(resourceGroupName, clusterName).flatMap(ignored -> Mono.empty());
+ final ApplyMaintenanceWindowRequest body = null;
+ return postWithResponseAsync(resourceGroupName, clusterName, body).flatMap(ignored -> Mono.empty());
}
/**
- * Action to Apply Maintenance window on the Service Fabric Managed Clusters, right now. Any pending update will be
- * applied.
+ * Action to Apply Maintenance window on the Service Fabric Managed Clusters. Any pending update will be applied.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param clusterName The name of the cluster resource.
+ * @param body The content of the action request.
* @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.
@@ -122,14 +125,14 @@ private Mono postAsync(String resourceGroupName, String clusterName) {
* @return the {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- public Response postWithResponse(String resourceGroupName, String clusterName, Context context) {
+ public Response postWithResponse(String resourceGroupName, String clusterName,
+ ApplyMaintenanceWindowRequest body, Context context) {
return service.postSync(this.client.getEndpoint(), this.client.getApiVersion(), this.client.getSubscriptionId(),
- resourceGroupName, clusterName, context);
+ resourceGroupName, clusterName, body, context);
}
/**
- * Action to Apply Maintenance window on the Service Fabric Managed Clusters, right now. Any pending update will be
- * applied.
+ * Action to Apply Maintenance window on the Service Fabric Managed Clusters. Any pending update will be applied.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param clusterName The name of the cluster resource.
@@ -139,6 +142,7 @@ public Response postWithResponse(String resourceGroupName, String clusterN
*/
@ServiceMethod(returns = ReturnType.SINGLE)
public void post(String resourceGroupName, String clusterName) {
- postWithResponse(resourceGroupName, clusterName, Context.NONE);
+ final ApplyMaintenanceWindowRequest body = null;
+ postWithResponse(resourceGroupName, clusterName, body, Context.NONE);
}
}
diff --git a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/implementation/ManagedApplyMaintenanceWindowsImpl.java b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/implementation/ManagedApplyMaintenanceWindowsImpl.java
index d5c52b0caaf2..a43acea655c5 100644
--- a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/implementation/ManagedApplyMaintenanceWindowsImpl.java
+++ b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/implementation/ManagedApplyMaintenanceWindowsImpl.java
@@ -8,6 +8,7 @@
import com.azure.core.util.Context;
import com.azure.core.util.logging.ClientLogger;
import com.azure.resourcemanager.servicefabricmanagedclusters.fluent.ManagedApplyMaintenanceWindowsClient;
+import com.azure.resourcemanager.servicefabricmanagedclusters.models.ApplyMaintenanceWindowRequest;
import com.azure.resourcemanager.servicefabricmanagedclusters.models.ManagedApplyMaintenanceWindows;
public final class ManagedApplyMaintenanceWindowsImpl implements ManagedApplyMaintenanceWindows {
@@ -23,8 +24,9 @@ public ManagedApplyMaintenanceWindowsImpl(ManagedApplyMaintenanceWindowsClient i
this.serviceManager = serviceManager;
}
- public Response postWithResponse(String resourceGroupName, String clusterName, Context context) {
- return this.serviceClient().postWithResponse(resourceGroupName, clusterName, context);
+ public Response postWithResponse(String resourceGroupName, String clusterName,
+ ApplyMaintenanceWindowRequest body, Context context) {
+ return this.serviceClient().postWithResponse(resourceGroupName, clusterName, body, context);
}
public void post(String resourceGroupName, String clusterName) {
diff --git a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/implementation/ManagedClusterImpl.java b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/implementation/ManagedClusterImpl.java
index 0753a2696b85..0533fd40fb3a 100644
--- a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/implementation/ManagedClusterImpl.java
+++ b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/implementation/ManagedClusterImpl.java
@@ -4,6 +4,8 @@
package com.azure.resourcemanager.servicefabricmanagedclusters.implementation;
+import com.azure.core.http.rest.PagedIterable;
+import com.azure.core.http.rest.Response;
import com.azure.core.management.Region;
import com.azure.core.management.SystemData;
import com.azure.core.util.Context;
@@ -16,6 +18,9 @@
import com.azure.resourcemanager.servicefabricmanagedclusters.models.ClusterUpgradeCadence;
import com.azure.resourcemanager.servicefabricmanagedclusters.models.ClusterUpgradeMode;
import com.azure.resourcemanager.servicefabricmanagedclusters.models.ClusterUpgradePolicy;
+import com.azure.resourcemanager.servicefabricmanagedclusters.models.FaultSimulation;
+import com.azure.resourcemanager.servicefabricmanagedclusters.models.FaultSimulationContentWrapper;
+import com.azure.resourcemanager.servicefabricmanagedclusters.models.FaultSimulationIdContent;
import com.azure.resourcemanager.servicefabricmanagedclusters.models.IpTag;
import com.azure.resourcemanager.servicefabricmanagedclusters.models.LoadBalancingRule;
import com.azure.resourcemanager.servicefabricmanagedclusters.models.ManagedCluster;
@@ -390,6 +395,42 @@ public ManagedCluster refresh(Context context) {
return this;
}
+ public Response getFaultSimulationWithResponse(FaultSimulationIdContent parameters,
+ Context context) {
+ return serviceManager.managedClusters()
+ .getFaultSimulationWithResponse(resourceGroupName, clusterName, parameters, context);
+ }
+
+ public FaultSimulation getFaultSimulation(FaultSimulationIdContent parameters) {
+ return serviceManager.managedClusters().getFaultSimulation(resourceGroupName, clusterName, parameters);
+ }
+
+ public PagedIterable listFaultSimulation() {
+ return serviceManager.managedClusters().listFaultSimulation(resourceGroupName, clusterName);
+ }
+
+ public PagedIterable listFaultSimulation(Context context) {
+ return serviceManager.managedClusters().listFaultSimulation(resourceGroupName, clusterName, context);
+ }
+
+ public FaultSimulation startFaultSimulation(FaultSimulationContentWrapper parameters) {
+ return serviceManager.managedClusters().startFaultSimulation(resourceGroupName, clusterName, parameters);
+ }
+
+ public FaultSimulation startFaultSimulation(FaultSimulationContentWrapper parameters, Context context) {
+ return serviceManager.managedClusters()
+ .startFaultSimulation(resourceGroupName, clusterName, parameters, context);
+ }
+
+ public FaultSimulation stopFaultSimulation(FaultSimulationIdContent parameters) {
+ return serviceManager.managedClusters().stopFaultSimulation(resourceGroupName, clusterName, parameters);
+ }
+
+ public FaultSimulation stopFaultSimulation(FaultSimulationIdContent parameters, Context context) {
+ return serviceManager.managedClusters()
+ .stopFaultSimulation(resourceGroupName, clusterName, parameters, context);
+ }
+
public ManagedClusterImpl withRegion(Region location) {
this.innerModel().withLocation(location.toString());
return this;
diff --git a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/implementation/ManagedClustersClientImpl.java b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/implementation/ManagedClustersClientImpl.java
index 292b5543ec5c..5d6e69f0a13d 100644
--- a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/implementation/ManagedClustersClientImpl.java
+++ b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/implementation/ManagedClustersClientImpl.java
@@ -14,6 +14,7 @@
import com.azure.core.annotation.HostParam;
import com.azure.core.annotation.Patch;
import com.azure.core.annotation.PathParam;
+import com.azure.core.annotation.Post;
import com.azure.core.annotation.Put;
import com.azure.core.annotation.QueryParam;
import com.azure.core.annotation.ReturnType;
@@ -34,8 +35,12 @@
import com.azure.core.util.polling.PollerFlux;
import com.azure.core.util.polling.SyncPoller;
import com.azure.resourcemanager.servicefabricmanagedclusters.fluent.ManagedClustersClient;
+import com.azure.resourcemanager.servicefabricmanagedclusters.fluent.models.FaultSimulationInner;
import com.azure.resourcemanager.servicefabricmanagedclusters.fluent.models.ManagedClusterInner;
+import com.azure.resourcemanager.servicefabricmanagedclusters.implementation.models.FaultSimulationListResult;
import com.azure.resourcemanager.servicefabricmanagedclusters.implementation.models.ManagedClusterListResult;
+import com.azure.resourcemanager.servicefabricmanagedclusters.models.FaultSimulationContentWrapper;
+import com.azure.resourcemanager.servicefabricmanagedclusters.models.FaultSimulationIdContent;
import com.azure.resourcemanager.servicefabricmanagedclusters.models.ManagedClusterUpdateParameters;
import java.nio.ByteBuffer;
import reactor.core.publisher.Flux;
@@ -179,6 +184,82 @@ Response listSync(@HostParam("endpoint") String endpoi
@QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId,
@HeaderParam("Accept") String accept, Context context);
+ @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}/getFaultSimulation")
+ @ExpectedResponses({ 200 })
+ @UnexpectedResponseExceptionType(ManagementException.class)
+ Mono> getFaultSimulation(@HostParam("endpoint") String endpoint,
+ @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId,
+ @PathParam("resourceGroupName") String resourceGroupName, @PathParam("clusterName") String clusterName,
+ @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept,
+ @BodyParam("application/json") FaultSimulationIdContent parameters, Context context);
+
+ @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}/getFaultSimulation")
+ @ExpectedResponses({ 200 })
+ @UnexpectedResponseExceptionType(ManagementException.class)
+ Response getFaultSimulationSync(@HostParam("endpoint") String endpoint,
+ @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId,
+ @PathParam("resourceGroupName") String resourceGroupName, @PathParam("clusterName") String clusterName,
+ @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept,
+ @BodyParam("application/json") FaultSimulationIdContent parameters, Context context);
+
+ @Headers({ "Content-Type: application/json" })
+ @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}/listFaultSimulation")
+ @ExpectedResponses({ 200 })
+ @UnexpectedResponseExceptionType(ManagementException.class)
+ Mono> listFaultSimulation(@HostParam("endpoint") String endpoint,
+ @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId,
+ @PathParam("resourceGroupName") String resourceGroupName, @PathParam("clusterName") String clusterName,
+ @HeaderParam("Accept") String accept, Context context);
+
+ @Headers({ "Content-Type: application/json" })
+ @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}/listFaultSimulation")
+ @ExpectedResponses({ 200 })
+ @UnexpectedResponseExceptionType(ManagementException.class)
+ Response listFaultSimulationSync(@HostParam("endpoint") String endpoint,
+ @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId,
+ @PathParam("resourceGroupName") String resourceGroupName, @PathParam("clusterName") String clusterName,
+ @HeaderParam("Accept") String accept, Context context);
+
+ @Headers({ "Accept: application/json;q=0.9" })
+ @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}/startFaultSimulation")
+ @ExpectedResponses({ 202 })
+ @UnexpectedResponseExceptionType(ManagementException.class)
+ Mono>> startFaultSimulation(@HostParam("endpoint") String endpoint,
+ @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId,
+ @PathParam("resourceGroupName") String resourceGroupName, @PathParam("clusterName") String clusterName,
+ @HeaderParam("Content-Type") String contentType,
+ @BodyParam("application/json") FaultSimulationContentWrapper parameters, Context context);
+
+ @Headers({ "Accept: application/json;q=0.9" })
+ @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}/startFaultSimulation")
+ @ExpectedResponses({ 202 })
+ @UnexpectedResponseExceptionType(ManagementException.class)
+ Response startFaultSimulationSync(@HostParam("endpoint") String endpoint,
+ @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId,
+ @PathParam("resourceGroupName") String resourceGroupName, @PathParam("clusterName") String clusterName,
+ @HeaderParam("Content-Type") String contentType,
+ @BodyParam("application/json") FaultSimulationContentWrapper parameters, Context context);
+
+ @Headers({ "Accept: application/json;q=0.9" })
+ @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}/stopFaultSimulation")
+ @ExpectedResponses({ 202 })
+ @UnexpectedResponseExceptionType(ManagementException.class)
+ Mono>> stopFaultSimulation(@HostParam("endpoint") String endpoint,
+ @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId,
+ @PathParam("resourceGroupName") String resourceGroupName, @PathParam("clusterName") String clusterName,
+ @HeaderParam("Content-Type") String contentType,
+ @BodyParam("application/json") FaultSimulationIdContent parameters, Context context);
+
+ @Headers({ "Accept: application/json;q=0.9" })
+ @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}/stopFaultSimulation")
+ @ExpectedResponses({ 202 })
+ @UnexpectedResponseExceptionType(ManagementException.class)
+ Response stopFaultSimulationSync(@HostParam("endpoint") String endpoint,
+ @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId,
+ @PathParam("resourceGroupName") String resourceGroupName, @PathParam("clusterName") String clusterName,
+ @HeaderParam("Content-Type") String contentType,
+ @BodyParam("application/json") FaultSimulationIdContent parameters, Context context);
+
@Headers({ "Content-Type: application/json" })
@Get("{nextLink}")
@ExpectedResponses({ 200 })
@@ -210,6 +291,22 @@ Mono> listBySubscriptionNext(
Response listBySubscriptionNextSync(
@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)
+ Mono> listFaultSimulationNext(
+ @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 listFaultSimulationNextSync(
+ @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint,
+ @HeaderParam("Accept") String accept, Context context);
}
/**
@@ -995,6 +1092,548 @@ public PagedIterable list(Context context) {
nextLink -> listBySubscriptionNextSinglePage(nextLink, context));
}
+ /**
+ * Gets a fault simulation by the simulationId.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the cluster resource.
+ * @param parameters parameter with fault simulation id.
+ * @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 fault simulation by the simulationId along with {@link Response} on successful completion of
+ * {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono> getFaultSimulationWithResponseAsync(String resourceGroupName,
+ String clusterName, FaultSimulationIdContent parameters) {
+ final String contentType = "application/json";
+ final String accept = "application/json";
+ return FluxUtil
+ .withContext(context -> service.getFaultSimulation(this.client.getEndpoint(), this.client.getApiVersion(),
+ this.client.getSubscriptionId(), resourceGroupName, clusterName, contentType, accept, parameters,
+ context))
+ .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly()));
+ }
+
+ /**
+ * Gets a fault simulation by the simulationId.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the cluster resource.
+ * @param parameters parameter with fault simulation id.
+ * @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 fault simulation by the simulationId on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono getFaultSimulationAsync(String resourceGroupName, String clusterName,
+ FaultSimulationIdContent parameters) {
+ return getFaultSimulationWithResponseAsync(resourceGroupName, clusterName, parameters)
+ .flatMap(res -> Mono.justOrEmpty(res.getValue()));
+ }
+
+ /**
+ * Gets a fault simulation by the simulationId.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the cluster resource.
+ * @param parameters parameter with fault simulation id.
+ * @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 fault simulation by the simulationId along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public Response getFaultSimulationWithResponse(String resourceGroupName, String clusterName,
+ FaultSimulationIdContent parameters, Context context) {
+ final String contentType = "application/json";
+ final String accept = "application/json";
+ return service.getFaultSimulationSync(this.client.getEndpoint(), this.client.getApiVersion(),
+ this.client.getSubscriptionId(), resourceGroupName, clusterName, contentType, accept, parameters, context);
+ }
+
+ /**
+ * Gets a fault simulation by the simulationId.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the cluster resource.
+ * @param parameters parameter with fault simulation id.
+ * @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 fault simulation by the simulationId.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public FaultSimulationInner getFaultSimulation(String resourceGroupName, String clusterName,
+ FaultSimulationIdContent parameters) {
+ return getFaultSimulationWithResponse(resourceGroupName, clusterName, parameters, Context.NONE).getValue();
+ }
+
+ /**
+ * Gets the list of recent fault simulations for the cluster.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the cluster resource.
+ * @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 list of recent fault simulations for the cluster along with {@link PagedResponse} on successful
+ * completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono> listFaultSimulationSinglePageAsync(String resourceGroupName,
+ String clusterName) {
+ final String accept = "application/json";
+ return FluxUtil
+ .withContext(context -> service.listFaultSimulation(this.client.getEndpoint(), this.client.getApiVersion(),
+ this.client.getSubscriptionId(), resourceGroupName, clusterName, 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()));
+ }
+
+ /**
+ * Gets the list of recent fault simulations for the cluster.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the cluster resource.
+ * @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 list of recent fault simulations for the cluster as paginated response with {@link PagedFlux}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ private PagedFlux listFaultSimulationAsync(String resourceGroupName, String clusterName) {
+ return new PagedFlux<>(() -> listFaultSimulationSinglePageAsync(resourceGroupName, clusterName),
+ nextLink -> listFaultSimulationNextSinglePageAsync(nextLink));
+ }
+
+ /**
+ * Gets the list of recent fault simulations for the cluster.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the cluster resource.
+ * @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 list of recent fault simulations for the cluster along with {@link PagedResponse}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private PagedResponse listFaultSimulationSinglePage(String resourceGroupName,
+ String clusterName) {
+ final String accept = "application/json";
+ Response res
+ = service.listFaultSimulationSync(this.client.getEndpoint(), this.client.getApiVersion(),
+ this.client.getSubscriptionId(), resourceGroupName, clusterName, accept, Context.NONE);
+ return new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(),
+ res.getValue().nextLink(), null);
+ }
+
+ /**
+ * Gets the list of recent fault simulations for the cluster.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the cluster resource.
+ * @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 list of recent fault simulations for the cluster along with {@link PagedResponse}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private PagedResponse listFaultSimulationSinglePage(String resourceGroupName,
+ String clusterName, Context context) {
+ final String accept = "application/json";
+ Response res
+ = service.listFaultSimulationSync(this.client.getEndpoint(), this.client.getApiVersion(),
+ this.client.getSubscriptionId(), resourceGroupName, clusterName, accept, context);
+ return new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(),
+ res.getValue().nextLink(), null);
+ }
+
+ /**
+ * Gets the list of recent fault simulations for the cluster.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the cluster resource.
+ * @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 list of recent fault simulations for the cluster as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ public PagedIterable listFaultSimulation(String resourceGroupName, String clusterName) {
+ return new PagedIterable<>(() -> listFaultSimulationSinglePage(resourceGroupName, clusterName),
+ nextLink -> listFaultSimulationNextSinglePage(nextLink));
+ }
+
+ /**
+ * Gets the list of recent fault simulations for the cluster.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the cluster resource.
+ * @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 list of recent fault simulations for the cluster as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ public PagedIterable listFaultSimulation(String resourceGroupName, String clusterName,
+ Context context) {
+ return new PagedIterable<>(() -> listFaultSimulationSinglePage(resourceGroupName, clusterName, context),
+ nextLink -> listFaultSimulationNextSinglePage(nextLink, context));
+ }
+
+ /**
+ * Starts a fault simulation on the cluster.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the cluster resource.
+ * @param parameters parameters describing the fault simulation.
+ * @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>> startFaultSimulationWithResponseAsync(String resourceGroupName,
+ String clusterName, FaultSimulationContentWrapper parameters) {
+ final String contentType = "application/json";
+ return FluxUtil
+ .withContext(context -> service.startFaultSimulation(this.client.getEndpoint(), this.client.getApiVersion(),
+ this.client.getSubscriptionId(), resourceGroupName, clusterName, contentType, parameters, context))
+ .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly()));
+ }
+
+ /**
+ * Starts a fault simulation on the cluster.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the cluster resource.
+ * @param parameters parameters describing the fault simulation.
+ * @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 startFaultSimulationWithResponse(String resourceGroupName, String clusterName,
+ FaultSimulationContentWrapper parameters) {
+ final String contentType = "application/json";
+ return service.startFaultSimulationSync(this.client.getEndpoint(), this.client.getApiVersion(),
+ this.client.getSubscriptionId(), resourceGroupName, clusterName, contentType, parameters, Context.NONE);
+ }
+
+ /**
+ * Starts a fault simulation on the cluster.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the cluster resource.
+ * @param parameters parameters describing the fault simulation.
+ * @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 startFaultSimulationWithResponse(String resourceGroupName, String clusterName,
+ FaultSimulationContentWrapper parameters, Context context) {
+ final String contentType = "application/json";
+ return service.startFaultSimulationSync(this.client.getEndpoint(), this.client.getApiVersion(),
+ this.client.getSubscriptionId(), resourceGroupName, clusterName, contentType, parameters, context);
+ }
+
+ /**
+ * Starts a fault simulation on the cluster.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the cluster resource.
+ * @param parameters parameters describing the fault simulation.
+ * @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, FaultSimulationInner> beginStartFaultSimulationAsync(
+ String resourceGroupName, String clusterName, FaultSimulationContentWrapper parameters) {
+ Mono>> mono
+ = startFaultSimulationWithResponseAsync(resourceGroupName, clusterName, parameters);
+ return this.client.getLroResult(mono, this.client.getHttpPipeline(),
+ FaultSimulationInner.class, FaultSimulationInner.class, this.client.getContext());
+ }
+
+ /**
+ * Starts a fault simulation on the cluster.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the cluster resource.
+ * @param parameters parameters describing the fault simulation.
+ * @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, FaultSimulationInner> beginStartFaultSimulation(
+ String resourceGroupName, String clusterName, FaultSimulationContentWrapper parameters) {
+ Response response = startFaultSimulationWithResponse(resourceGroupName, clusterName, parameters);
+ return this.client.getLroResult(response,
+ FaultSimulationInner.class, FaultSimulationInner.class, Context.NONE);
+ }
+
+ /**
+ * Starts a fault simulation on the cluster.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the cluster resource.
+ * @param parameters parameters describing the fault simulation.
+ * @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, FaultSimulationInner> beginStartFaultSimulation(
+ String resourceGroupName, String clusterName, FaultSimulationContentWrapper parameters, Context context) {
+ Response response
+ = startFaultSimulationWithResponse(resourceGroupName, clusterName, parameters, context);
+ return this.client.getLroResult(response,
+ FaultSimulationInner.class, FaultSimulationInner.class, context);
+ }
+
+ /**
+ * Starts a fault simulation on the cluster.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the cluster resource.
+ * @param parameters parameters describing the fault simulation.
+ * @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 startFaultSimulationAsync(String resourceGroupName, String clusterName,
+ FaultSimulationContentWrapper parameters) {
+ return beginStartFaultSimulationAsync(resourceGroupName, clusterName, parameters).last()
+ .flatMap(this.client::getLroFinalResultOrError);
+ }
+
+ /**
+ * Starts a fault simulation on the cluster.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the cluster resource.
+ * @param parameters parameters describing the fault simulation.
+ * @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 FaultSimulationInner startFaultSimulation(String resourceGroupName, String clusterName,
+ FaultSimulationContentWrapper parameters) {
+ return beginStartFaultSimulation(resourceGroupName, clusterName, parameters).getFinalResult();
+ }
+
+ /**
+ * Starts a fault simulation on the cluster.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the cluster resource.
+ * @param parameters parameters describing the fault simulation.
+ * @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 FaultSimulationInner startFaultSimulation(String resourceGroupName, String clusterName,
+ FaultSimulationContentWrapper parameters, Context context) {
+ return beginStartFaultSimulation(resourceGroupName, clusterName, parameters, context).getFinalResult();
+ }
+
+ /**
+ * Stops a fault simulation on the cluster.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the cluster resource.
+ * @param parameters parameter with fault simulation id.
+ * @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>> stopFaultSimulationWithResponseAsync(String resourceGroupName,
+ String clusterName, FaultSimulationIdContent parameters) {
+ final String contentType = "application/json";
+ return FluxUtil
+ .withContext(context -> service.stopFaultSimulation(this.client.getEndpoint(), this.client.getApiVersion(),
+ this.client.getSubscriptionId(), resourceGroupName, clusterName, contentType, parameters, context))
+ .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly()));
+ }
+
+ /**
+ * Stops a fault simulation on the cluster.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the cluster resource.
+ * @param parameters parameter with fault simulation id.
+ * @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 stopFaultSimulationWithResponse(String resourceGroupName, String clusterName,
+ FaultSimulationIdContent parameters) {
+ final String contentType = "application/json";
+ return service.stopFaultSimulationSync(this.client.getEndpoint(), this.client.getApiVersion(),
+ this.client.getSubscriptionId(), resourceGroupName, clusterName, contentType, parameters, Context.NONE);
+ }
+
+ /**
+ * Stops a fault simulation on the cluster.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the cluster resource.
+ * @param parameters parameter with fault simulation id.
+ * @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 stopFaultSimulationWithResponse(String resourceGroupName, String clusterName,
+ FaultSimulationIdContent parameters, Context context) {
+ final String contentType = "application/json";
+ return service.stopFaultSimulationSync(this.client.getEndpoint(), this.client.getApiVersion(),
+ this.client.getSubscriptionId(), resourceGroupName, clusterName, contentType, parameters, context);
+ }
+
+ /**
+ * Stops a fault simulation on the cluster.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the cluster resource.
+ * @param parameters parameter with fault simulation id.
+ * @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, FaultSimulationInner> beginStopFaultSimulationAsync(
+ String resourceGroupName, String clusterName, FaultSimulationIdContent parameters) {
+ Mono>> mono
+ = stopFaultSimulationWithResponseAsync(resourceGroupName, clusterName, parameters);
+ return this.client.getLroResult(mono, this.client.getHttpPipeline(),
+ FaultSimulationInner.class, FaultSimulationInner.class, this.client.getContext());
+ }
+
+ /**
+ * Stops a fault simulation on the cluster.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the cluster resource.
+ * @param parameters parameter with fault simulation id.
+ * @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, FaultSimulationInner>
+ beginStopFaultSimulation(String resourceGroupName, String clusterName, FaultSimulationIdContent parameters) {
+ Response response = stopFaultSimulationWithResponse(resourceGroupName, clusterName, parameters);
+ return this.client.getLroResult(response,
+ FaultSimulationInner.class, FaultSimulationInner.class, Context.NONE);
+ }
+
+ /**
+ * Stops a fault simulation on the cluster.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the cluster resource.
+ * @param parameters parameter with fault simulation id.
+ * @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, FaultSimulationInner> beginStopFaultSimulation(
+ String resourceGroupName, String clusterName, FaultSimulationIdContent parameters, Context context) {
+ Response response
+ = stopFaultSimulationWithResponse(resourceGroupName, clusterName, parameters, context);
+ return this.client.getLroResult(response,
+ FaultSimulationInner.class, FaultSimulationInner.class, context);
+ }
+
+ /**
+ * Stops a fault simulation on the cluster.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the cluster resource.
+ * @param parameters parameter with fault simulation id.
+ * @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 stopFaultSimulationAsync(String resourceGroupName, String clusterName,
+ FaultSimulationIdContent parameters) {
+ return beginStopFaultSimulationAsync(resourceGroupName, clusterName, parameters).last()
+ .flatMap(this.client::getLroFinalResultOrError);
+ }
+
+ /**
+ * Stops a fault simulation on the cluster.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the cluster resource.
+ * @param parameters parameter with fault simulation id.
+ * @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 FaultSimulationInner stopFaultSimulation(String resourceGroupName, String clusterName,
+ FaultSimulationIdContent parameters) {
+ return beginStopFaultSimulation(resourceGroupName, clusterName, parameters).getFinalResult();
+ }
+
+ /**
+ * Stops a fault simulation on the cluster.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the cluster resource.
+ * @param parameters parameter with fault simulation id.
+ * @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 FaultSimulationInner stopFaultSimulation(String resourceGroupName, String clusterName,
+ FaultSimulationIdContent parameters, Context context) {
+ return beginStopFaultSimulation(resourceGroupName, clusterName, parameters, context).getFinalResult();
+ }
+
/**
* Get the next page of items.
*
@@ -1114,4 +1753,62 @@ private PagedResponse listBySubscriptionNextSinglePage(Stri
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.
+ * @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 list of recent fault simulations for the cluster along with {@link PagedResponse} on successful
+ * completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono> listFaultSimulationNextSinglePageAsync(String nextLink) {
+ final String accept = "application/json";
+ return FluxUtil
+ .withContext(
+ context -> service.listFaultSimulationNext(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 the list of recent fault simulations for the cluster along with {@link PagedResponse}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private PagedResponse listFaultSimulationNextSinglePage(String nextLink) {
+ final String accept = "application/json";
+ Response res
+ = service.listFaultSimulationNextSync(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 the list of recent fault simulations for the cluster along with {@link PagedResponse}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private PagedResponse listFaultSimulationNextSinglePage(String nextLink, Context context) {
+ final String accept = "application/json";
+ Response res
+ = service.listFaultSimulationNextSync(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/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/implementation/ManagedClustersImpl.java b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/implementation/ManagedClustersImpl.java
index 704ceda46cf6..8bef7391cea1 100644
--- a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/implementation/ManagedClustersImpl.java
+++ b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/implementation/ManagedClustersImpl.java
@@ -10,7 +10,11 @@
import com.azure.core.util.Context;
import com.azure.core.util.logging.ClientLogger;
import com.azure.resourcemanager.servicefabricmanagedclusters.fluent.ManagedClustersClient;
+import com.azure.resourcemanager.servicefabricmanagedclusters.fluent.models.FaultSimulationInner;
import com.azure.resourcemanager.servicefabricmanagedclusters.fluent.models.ManagedClusterInner;
+import com.azure.resourcemanager.servicefabricmanagedclusters.models.FaultSimulation;
+import com.azure.resourcemanager.servicefabricmanagedclusters.models.FaultSimulationContentWrapper;
+import com.azure.resourcemanager.servicefabricmanagedclusters.models.FaultSimulationIdContent;
import com.azure.resourcemanager.servicefabricmanagedclusters.models.ManagedCluster;
import com.azure.resourcemanager.servicefabricmanagedclusters.models.ManagedClusters;
@@ -72,6 +76,82 @@ public PagedIterable list(Context context) {
return ResourceManagerUtils.mapPage(inner, inner1 -> new ManagedClusterImpl(inner1, this.manager()));
}
+ public Response getFaultSimulationWithResponse(String resourceGroupName, String clusterName,
+ FaultSimulationIdContent parameters, Context context) {
+ Response inner
+ = this.serviceClient().getFaultSimulationWithResponse(resourceGroupName, clusterName, parameters, context);
+ return new SimpleResponse<>(inner.getRequest(), inner.getStatusCode(), inner.getHeaders(),
+ new FaultSimulationImpl(inner.getValue(), this.manager()));
+ }
+
+ public FaultSimulation getFaultSimulation(String resourceGroupName, String clusterName,
+ FaultSimulationIdContent parameters) {
+ FaultSimulationInner inner
+ = this.serviceClient().getFaultSimulation(resourceGroupName, clusterName, parameters);
+ if (inner != null) {
+ return new FaultSimulationImpl(inner, this.manager());
+ } else {
+ return null;
+ }
+ }
+
+ public PagedIterable listFaultSimulation(String resourceGroupName, String clusterName) {
+ PagedIterable inner
+ = this.serviceClient().listFaultSimulation(resourceGroupName, clusterName);
+ return ResourceManagerUtils.mapPage(inner, inner1 -> new FaultSimulationImpl(inner1, this.manager()));
+ }
+
+ public PagedIterable listFaultSimulation(String resourceGroupName, String clusterName,
+ Context context) {
+ PagedIterable inner
+ = this.serviceClient().listFaultSimulation(resourceGroupName, clusterName, context);
+ return ResourceManagerUtils.mapPage(inner, inner1 -> new FaultSimulationImpl(inner1, this.manager()));
+ }
+
+ public FaultSimulation startFaultSimulation(String resourceGroupName, String clusterName,
+ FaultSimulationContentWrapper parameters) {
+ FaultSimulationInner inner
+ = this.serviceClient().startFaultSimulation(resourceGroupName, clusterName, parameters);
+ if (inner != null) {
+ return new FaultSimulationImpl(inner, this.manager());
+ } else {
+ return null;
+ }
+ }
+
+ public FaultSimulation startFaultSimulation(String resourceGroupName, String clusterName,
+ FaultSimulationContentWrapper parameters, Context context) {
+ FaultSimulationInner inner
+ = this.serviceClient().startFaultSimulation(resourceGroupName, clusterName, parameters, context);
+ if (inner != null) {
+ return new FaultSimulationImpl(inner, this.manager());
+ } else {
+ return null;
+ }
+ }
+
+ public FaultSimulation stopFaultSimulation(String resourceGroupName, String clusterName,
+ FaultSimulationIdContent parameters) {
+ FaultSimulationInner inner
+ = this.serviceClient().stopFaultSimulation(resourceGroupName, clusterName, parameters);
+ if (inner != null) {
+ return new FaultSimulationImpl(inner, this.manager());
+ } else {
+ return null;
+ }
+ }
+
+ public FaultSimulation stopFaultSimulation(String resourceGroupName, String clusterName,
+ FaultSimulationIdContent parameters, Context context) {
+ FaultSimulationInner inner
+ = this.serviceClient().stopFaultSimulation(resourceGroupName, clusterName, parameters, context);
+ if (inner != null) {
+ return new FaultSimulationImpl(inner, this.manager());
+ } else {
+ return null;
+ }
+ }
+
public ManagedCluster getById(String id) {
String resourceGroupName = ResourceManagerUtils.getValueFromIdByName(id, "resourceGroups");
if (resourceGroupName == null) {
diff --git a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/implementation/ManagedUnsupportedVMSizesClientImpl.java b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/implementation/ManagedUnsupportedVMSizesClientImpl.java
index aa68d4b5d8ce..25b1ac48ebc5 100644
--- a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/implementation/ManagedUnsupportedVMSizesClientImpl.java
+++ b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/implementation/ManagedUnsupportedVMSizesClientImpl.java
@@ -114,7 +114,7 @@ Response listNextSync(@PathParam(value = "nextLink", encod
/**
* Get unsupported vm size for Service Fabric Managed Clusters.
*
- * @param location The location for the cluster code versions. This is different from cluster location.
+ * @param location The location for the unsupported VM sizes. This is different from cluster location.
* @param vmSize VM Size name.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
@@ -134,7 +134,7 @@ private Mono> getWithResponseAsync(String location,
/**
* Get unsupported vm size for Service Fabric Managed Clusters.
*
- * @param location The location for the cluster code versions. This is different from cluster location.
+ * @param location The location for the unsupported VM sizes. This is different from cluster location.
* @param vmSize VM Size name.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
@@ -149,7 +149,7 @@ private Mono getAsync(String location, String vmSize) {
/**
* Get unsupported vm size for Service Fabric Managed Clusters.
*
- * @param location The location for the cluster code versions. This is different from cluster location.
+ * @param location The location for the unsupported VM sizes. This is different from cluster location.
* @param vmSize VM Size name.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -167,7 +167,7 @@ public Response getWithResponse(String location, String vmSi
/**
* Get unsupported vm size for Service Fabric Managed Clusters.
*
- * @param location The location for the cluster code versions. This is different from cluster location.
+ * @param location The location for the unsupported VM sizes. This is different from cluster location.
* @param vmSize VM Size name.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
@@ -182,7 +182,7 @@ public ManagedVMSizeInner get(String location, String vmSize) {
/**
* Get the lists of unsupported vm sizes for Service Fabric Managed Clusters.
*
- * @param location The location for the cluster code versions. This is different from cluster location.
+ * @param location The location for the unsupported VM sizes. This is different from cluster location.
* @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.
@@ -203,7 +203,7 @@ private Mono> listSinglePageAsync(String locat
/**
* Get the lists of unsupported vm sizes for Service Fabric Managed Clusters.
*
- * @param location The location for the cluster code versions. This is different from cluster location.
+ * @param location The location for the unsupported VM sizes. This is different from cluster location.
* @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.
@@ -218,7 +218,7 @@ private PagedFlux listAsync(String location) {
/**
* Get the lists of unsupported vm sizes for Service Fabric Managed Clusters.
*
- * @param location The location for the cluster code versions. This is different from cluster location.
+ * @param location The location for the unsupported VM sizes. This is different from cluster location.
* @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.
@@ -236,7 +236,7 @@ private PagedResponse listSinglePage(String location) {
/**
* Get the lists of unsupported vm sizes for Service Fabric Managed Clusters.
*
- * @param location The location for the cluster code versions. This is different from cluster location.
+ * @param location The location for the unsupported VM sizes. This is different from cluster location.
* @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.
@@ -255,7 +255,7 @@ private PagedResponse listSinglePage(String location, Contex
/**
* Get the lists of unsupported vm sizes for Service Fabric Managed Clusters.
*
- * @param location The location for the cluster code versions. This is different from cluster location.
+ * @param location The location for the unsupported VM sizes. This is different from cluster location.
* @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.
@@ -270,7 +270,7 @@ public PagedIterable list(String location) {
/**
* Get the lists of unsupported vm sizes for Service Fabric Managed Clusters.
*
- * @param location The location for the cluster code versions. This is different from cluster location.
+ * @param location The location for the unsupported VM sizes. This is different from cluster location.
* @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.
diff --git a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/implementation/NodeTypeImpl.java b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/implementation/NodeTypeImpl.java
index 16c7e7552f3c..b92350f6502e 100644
--- a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/implementation/NodeTypeImpl.java
+++ b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/implementation/NodeTypeImpl.java
@@ -4,6 +4,8 @@
package com.azure.resourcemanager.servicefabricmanagedclusters.implementation;
+import com.azure.core.http.rest.PagedIterable;
+import com.azure.core.http.rest.Response;
import com.azure.core.management.SystemData;
import com.azure.core.util.Context;
import com.azure.resourcemanager.servicefabricmanagedclusters.fluent.models.NodeTypeInner;
@@ -11,6 +13,9 @@
import com.azure.resourcemanager.servicefabricmanagedclusters.models.DiskType;
import com.azure.resourcemanager.servicefabricmanagedclusters.models.EndpointRangeDescription;
import com.azure.resourcemanager.servicefabricmanagedclusters.models.EvictionPolicyType;
+import com.azure.resourcemanager.servicefabricmanagedclusters.models.FaultSimulation;
+import com.azure.resourcemanager.servicefabricmanagedclusters.models.FaultSimulationContentWrapper;
+import com.azure.resourcemanager.servicefabricmanagedclusters.models.FaultSimulationIdContent;
import com.azure.resourcemanager.servicefabricmanagedclusters.models.FrontendConfiguration;
import com.azure.resourcemanager.servicefabricmanagedclusters.models.ManagedResourceProvisioningState;
import com.azure.resourcemanager.servicefabricmanagedclusters.models.NetworkSecurityRule;
@@ -19,6 +24,8 @@
import com.azure.resourcemanager.servicefabricmanagedclusters.models.NodeTypeNatConfig;
import com.azure.resourcemanager.servicefabricmanagedclusters.models.NodeTypeSku;
import com.azure.resourcemanager.servicefabricmanagedclusters.models.NodeTypeUpdateParameters;
+import com.azure.resourcemanager.servicefabricmanagedclusters.models.ProxyAgentSettings;
+import com.azure.resourcemanager.servicefabricmanagedclusters.models.ScaleInPolicy;
import com.azure.resourcemanager.servicefabricmanagedclusters.models.SecurityEncryptionType;
import com.azure.resourcemanager.servicefabricmanagedclusters.models.SecurityType;
import com.azure.resourcemanager.servicefabricmanagedclusters.models.VaultSecretGroup;
@@ -343,6 +350,14 @@ public Boolean enableResilientEphemeralOsDisk() {
return this.innerModel().enableResilientEphemeralOsDisk();
}
+ public ScaleInPolicy scaleInPolicy() {
+ return this.innerModel().scaleInPolicy();
+ }
+
+ public ProxyAgentSettings proxyAgentSettings() {
+ return this.innerModel().proxyAgentSettings();
+ }
+
public String resourceGroupName() {
return resourceGroupName;
}
@@ -482,6 +497,43 @@ public void start(NodeTypeActionParameters parameters, Context context) {
serviceManager.nodeTypes().start(resourceGroupName, clusterName, nodeTypeName, parameters, context);
}
+ public FaultSimulation startFaultSimulation(FaultSimulationContentWrapper parameters) {
+ return serviceManager.nodeTypes()
+ .startFaultSimulation(resourceGroupName, clusterName, nodeTypeName, parameters);
+ }
+
+ public FaultSimulation startFaultSimulation(FaultSimulationContentWrapper parameters, Context context) {
+ return serviceManager.nodeTypes()
+ .startFaultSimulation(resourceGroupName, clusterName, nodeTypeName, parameters, context);
+ }
+
+ public FaultSimulation stopFaultSimulation(FaultSimulationIdContent parameters) {
+ return serviceManager.nodeTypes().stopFaultSimulation(resourceGroupName, clusterName, nodeTypeName, parameters);
+ }
+
+ public FaultSimulation stopFaultSimulation(FaultSimulationIdContent parameters, Context context) {
+ return serviceManager.nodeTypes()
+ .stopFaultSimulation(resourceGroupName, clusterName, nodeTypeName, parameters, context);
+ }
+
+ public Response getFaultSimulationWithResponse(FaultSimulationIdContent parameters,
+ Context context) {
+ return serviceManager.nodeTypes()
+ .getFaultSimulationWithResponse(resourceGroupName, clusterName, nodeTypeName, parameters, context);
+ }
+
+ public FaultSimulation getFaultSimulation(FaultSimulationIdContent parameters) {
+ return serviceManager.nodeTypes().getFaultSimulation(resourceGroupName, clusterName, nodeTypeName, parameters);
+ }
+
+ public PagedIterable listFaultSimulation() {
+ return serviceManager.nodeTypes().listFaultSimulation(resourceGroupName, clusterName, nodeTypeName);
+ }
+
+ public PagedIterable listFaultSimulation(Context context) {
+ return serviceManager.nodeTypes().listFaultSimulation(resourceGroupName, clusterName, nodeTypeName, context);
+ }
+
public NodeTypeImpl withTags(Map tags) {
if (isInCreateMode()) {
this.innerModel().withTags(tags);
@@ -768,6 +820,16 @@ public NodeTypeImpl withEnableResilientEphemeralOsDisk(Boolean enableResilientEp
return this;
}
+ public NodeTypeImpl withScaleInPolicy(ScaleInPolicy scaleInPolicy) {
+ this.innerModel().withScaleInPolicy(scaleInPolicy);
+ return this;
+ }
+
+ public NodeTypeImpl withProxyAgentSettings(ProxyAgentSettings proxyAgentSettings) {
+ this.innerModel().withProxyAgentSettings(proxyAgentSettings);
+ return this;
+ }
+
private boolean isInCreateMode() {
return this.innerModel() == null || this.innerModel().id() == null;
}
diff --git a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/implementation/NodeTypesClientImpl.java b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/implementation/NodeTypesClientImpl.java
index b143296d850b..30813c9a5ec2 100644
--- a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/implementation/NodeTypesClientImpl.java
+++ b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/implementation/NodeTypesClientImpl.java
@@ -35,8 +35,12 @@
import com.azure.core.util.polling.PollerFlux;
import com.azure.core.util.polling.SyncPoller;
import com.azure.resourcemanager.servicefabricmanagedclusters.fluent.NodeTypesClient;
+import com.azure.resourcemanager.servicefabricmanagedclusters.fluent.models.FaultSimulationInner;
import com.azure.resourcemanager.servicefabricmanagedclusters.fluent.models.NodeTypeInner;
+import com.azure.resourcemanager.servicefabricmanagedclusters.implementation.models.FaultSimulationListResult;
import com.azure.resourcemanager.servicefabricmanagedclusters.implementation.models.NodeTypeListResult;
+import com.azure.resourcemanager.servicefabricmanagedclusters.models.FaultSimulationContentWrapper;
+import com.azure.resourcemanager.servicefabricmanagedclusters.models.FaultSimulationIdContent;
import com.azure.resourcemanager.servicefabricmanagedclusters.models.NodeTypeActionParameters;
import com.azure.resourcemanager.servicefabricmanagedclusters.models.NodeTypeUpdateParameters;
import java.nio.ByteBuffer;
@@ -289,6 +293,84 @@ Response startSync(@HostParam("endpoint") String endpoint,
@PathParam("nodeTypeName") String nodeTypeName, @HeaderParam("Content-Type") String contentType,
@BodyParam("application/json") NodeTypeActionParameters parameters, Context context);
+ @Headers({ "Accept: application/json;q=0.9" })
+ @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}/nodeTypes/{nodeTypeName}/startFaultSimulation")
+ @ExpectedResponses({ 202 })
+ @UnexpectedResponseExceptionType(ManagementException.class)
+ Mono>> startFaultSimulation(@HostParam("endpoint") String endpoint,
+ @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId,
+ @PathParam("resourceGroupName") String resourceGroupName, @PathParam("clusterName") String clusterName,
+ @PathParam("nodeTypeName") String nodeTypeName, @HeaderParam("Content-Type") String contentType,
+ @BodyParam("application/json") FaultSimulationContentWrapper parameters, Context context);
+
+ @Headers({ "Accept: application/json;q=0.9" })
+ @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}/nodeTypes/{nodeTypeName}/startFaultSimulation")
+ @ExpectedResponses({ 202 })
+ @UnexpectedResponseExceptionType(ManagementException.class)
+ Response startFaultSimulationSync(@HostParam("endpoint") String endpoint,
+ @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId,
+ @PathParam("resourceGroupName") String resourceGroupName, @PathParam("clusterName") String clusterName,
+ @PathParam("nodeTypeName") String nodeTypeName, @HeaderParam("Content-Type") String contentType,
+ @BodyParam("application/json") FaultSimulationContentWrapper parameters, Context context);
+
+ @Headers({ "Accept: application/json;q=0.9" })
+ @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}/nodeTypes/{nodeTypeName}/stopFaultSimulation")
+ @ExpectedResponses({ 202 })
+ @UnexpectedResponseExceptionType(ManagementException.class)
+ Mono>> stopFaultSimulation(@HostParam("endpoint") String endpoint,
+ @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId,
+ @PathParam("resourceGroupName") String resourceGroupName, @PathParam("clusterName") String clusterName,
+ @PathParam("nodeTypeName") String nodeTypeName, @HeaderParam("Content-Type") String contentType,
+ @BodyParam("application/json") FaultSimulationIdContent parameters, Context context);
+
+ @Headers({ "Accept: application/json;q=0.9" })
+ @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}/nodeTypes/{nodeTypeName}/stopFaultSimulation")
+ @ExpectedResponses({ 202 })
+ @UnexpectedResponseExceptionType(ManagementException.class)
+ Response stopFaultSimulationSync(@HostParam("endpoint") String endpoint,
+ @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId,
+ @PathParam("resourceGroupName") String resourceGroupName, @PathParam("clusterName") String clusterName,
+ @PathParam("nodeTypeName") String nodeTypeName, @HeaderParam("Content-Type") String contentType,
+ @BodyParam("application/json") FaultSimulationIdContent parameters, Context context);
+
+ @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}/nodeTypes/{nodeTypeName}/getFaultSimulation")
+ @ExpectedResponses({ 200 })
+ @UnexpectedResponseExceptionType(ManagementException.class)
+ Mono> getFaultSimulation(@HostParam("endpoint") String endpoint,
+ @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId,
+ @PathParam("resourceGroupName") String resourceGroupName, @PathParam("clusterName") String clusterName,
+ @PathParam("nodeTypeName") String nodeTypeName, @HeaderParam("Content-Type") String contentType,
+ @HeaderParam("Accept") String accept, @BodyParam("application/json") FaultSimulationIdContent parameters,
+ Context context);
+
+ @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}/nodeTypes/{nodeTypeName}/getFaultSimulation")
+ @ExpectedResponses({ 200 })
+ @UnexpectedResponseExceptionType(ManagementException.class)
+ Response getFaultSimulationSync(@HostParam("endpoint") String endpoint,
+ @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId,
+ @PathParam("resourceGroupName") String resourceGroupName, @PathParam("clusterName") String clusterName,
+ @PathParam("nodeTypeName") String nodeTypeName, @HeaderParam("Content-Type") String contentType,
+ @HeaderParam("Accept") String accept, @BodyParam("application/json") FaultSimulationIdContent parameters,
+ Context context);
+
+ @Headers({ "Content-Type: application/json" })
+ @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}/nodeTypes/{nodeTypeName}/listFaultSimulation")
+ @ExpectedResponses({ 200 })
+ @UnexpectedResponseExceptionType(ManagementException.class)
+ Mono> listFaultSimulation(@HostParam("endpoint") String endpoint,
+ @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId,
+ @PathParam("resourceGroupName") String resourceGroupName, @PathParam("clusterName") String clusterName,
+ @PathParam("nodeTypeName") String nodeTypeName, @HeaderParam("Accept") String accept, Context context);
+
+ @Headers({ "Content-Type: application/json" })
+ @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}/nodeTypes/{nodeTypeName}/listFaultSimulation")
+ @ExpectedResponses({ 200 })
+ @UnexpectedResponseExceptionType(ManagementException.class)
+ Response listFaultSimulationSync(@HostParam("endpoint") String endpoint,
+ @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId,
+ @PathParam("resourceGroupName") String resourceGroupName, @PathParam("clusterName") String clusterName,
+ @PathParam("nodeTypeName") String nodeTypeName, @HeaderParam("Accept") String accept, Context context);
+
@Headers({ "Content-Type: application/json" })
@Get("{nextLink}")
@ExpectedResponses({ 200 })
@@ -304,6 +386,22 @@ Mono> listByManagedClustersNext(
Response listByManagedClustersNextSync(
@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)
+ Mono> listFaultSimulationNext(
+ @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 listFaultSimulationNextSync(
+ @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint,
+ @HeaderParam("Accept") String accept, Context context);
}
/**
@@ -2191,59 +2289,704 @@ public void start(String resourceGroupName, String clusterName, String nodeTypeN
}
/**
- * Get the next page of items.
+ * Starts a fault simulation on the node type.
*
- * @param nextLink The URL to get the next list of items.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the cluster resource.
+ * @param nodeTypeName The name of the node type.
+ * @param parameters parameters describing the fault simulation.
* @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 all Node types of the specified managed cluster along with {@link PagedResponse} on successful completion
- * of {@link Mono}.
+ * @return the {@link Response} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- private Mono> listByManagedClustersNextSinglePageAsync(String nextLink) {
- final String accept = "application/json";
+ private Mono>> startFaultSimulationWithResponseAsync(String resourceGroupName,
+ String clusterName, String nodeTypeName, FaultSimulationContentWrapper parameters) {
+ final String contentType = "application/json";
return FluxUtil
- .withContext(
- context -> service.listByManagedClustersNext(nextLink, this.client.getEndpoint(), accept, context))
- .>map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(),
- res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null))
+ .withContext(context -> service.startFaultSimulation(this.client.getEndpoint(), this.client.getApiVersion(),
+ this.client.getSubscriptionId(), resourceGroupName, clusterName, nodeTypeName, contentType, parameters,
+ context))
.contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly()));
}
/**
- * Get the next page of items.
+ * Starts a fault simulation on the node type.
*
- * @param nextLink The URL to get the next list of items.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the cluster resource.
+ * @param nodeTypeName The name of the node type.
+ * @param parameters parameters describing the fault simulation.
* @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 all Node types of the specified managed cluster along with {@link PagedResponse}.
+ * @return the response body along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- private PagedResponse listByManagedClustersNextSinglePage(String nextLink) {
- final String accept = "application/json";
- Response res
- = service.listByManagedClustersNextSync(nextLink, this.client.getEndpoint(), accept, Context.NONE);
- return new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(),
- res.getValue().nextLink(), null);
+ private Response startFaultSimulationWithResponse(String resourceGroupName, String clusterName,
+ String nodeTypeName, FaultSimulationContentWrapper parameters) {
+ final String contentType = "application/json";
+ return service.startFaultSimulationSync(this.client.getEndpoint(), this.client.getApiVersion(),
+ this.client.getSubscriptionId(), resourceGroupName, clusterName, nodeTypeName, contentType, parameters,
+ Context.NONE);
}
/**
- * Get the next page of items.
+ * Starts a fault simulation on the node type.
*
- * @param nextLink The URL to get the next list of items.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the cluster resource.
+ * @param nodeTypeName The name of the node type.
+ * @param parameters parameters describing the fault simulation.
* @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 all Node types of the specified managed cluster along with {@link PagedResponse}.
+ * @return the response body along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- private PagedResponse listByManagedClustersNextSinglePage(String nextLink, Context context) {
- final String accept = "application/json";
- Response res
- = service.listByManagedClustersNextSync(nextLink, this.client.getEndpoint(), accept, context);
+ private Response startFaultSimulationWithResponse(String resourceGroupName, String clusterName,
+ String nodeTypeName, FaultSimulationContentWrapper parameters, Context context) {
+ final String contentType = "application/json";
+ return service.startFaultSimulationSync(this.client.getEndpoint(), this.client.getApiVersion(),
+ this.client.getSubscriptionId(), resourceGroupName, clusterName, nodeTypeName, contentType, parameters,
+ context);
+ }
+
+ /**
+ * Starts a fault simulation on the node type.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the cluster resource.
+ * @param nodeTypeName The name of the node type.
+ * @param parameters parameters describing the fault simulation.
+ * @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, FaultSimulationInner> beginStartFaultSimulationAsync(
+ String resourceGroupName, String clusterName, String nodeTypeName, FaultSimulationContentWrapper parameters) {
+ Mono>> mono
+ = startFaultSimulationWithResponseAsync(resourceGroupName, clusterName, nodeTypeName, parameters);
+ return this.client.getLroResult(mono, this.client.getHttpPipeline(),
+ FaultSimulationInner.class, FaultSimulationInner.class, this.client.getContext());
+ }
+
+ /**
+ * Starts a fault simulation on the node type.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the cluster resource.
+ * @param nodeTypeName The name of the node type.
+ * @param parameters parameters describing the fault simulation.
+ * @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, FaultSimulationInner> beginStartFaultSimulation(
+ String resourceGroupName, String clusterName, String nodeTypeName, FaultSimulationContentWrapper parameters) {
+ Response response
+ = startFaultSimulationWithResponse(resourceGroupName, clusterName, nodeTypeName, parameters);
+ return this.client.getLroResult(response,
+ FaultSimulationInner.class, FaultSimulationInner.class, Context.NONE);
+ }
+
+ /**
+ * Starts a fault simulation on the node type.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the cluster resource.
+ * @param nodeTypeName The name of the node type.
+ * @param parameters parameters describing the fault simulation.
+ * @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, FaultSimulationInner> beginStartFaultSimulation(
+ String resourceGroupName, String clusterName, String nodeTypeName, FaultSimulationContentWrapper parameters,
+ Context context) {
+ Response response
+ = startFaultSimulationWithResponse(resourceGroupName, clusterName, nodeTypeName, parameters, context);
+ return this.client.getLroResult(response,
+ FaultSimulationInner.class, FaultSimulationInner.class, context);
+ }
+
+ /**
+ * Starts a fault simulation on the node type.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the cluster resource.
+ * @param nodeTypeName The name of the node type.
+ * @param parameters parameters describing the fault simulation.
+ * @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 startFaultSimulationAsync(String resourceGroupName, String clusterName,
+ String nodeTypeName, FaultSimulationContentWrapper parameters) {
+ return beginStartFaultSimulationAsync(resourceGroupName, clusterName, nodeTypeName, parameters).last()
+ .flatMap(this.client::getLroFinalResultOrError);
+ }
+
+ /**
+ * Starts a fault simulation on the node type.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the cluster resource.
+ * @param nodeTypeName The name of the node type.
+ * @param parameters parameters describing the fault simulation.
+ * @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 FaultSimulationInner startFaultSimulation(String resourceGroupName, String clusterName, String nodeTypeName,
+ FaultSimulationContentWrapper parameters) {
+ return beginStartFaultSimulation(resourceGroupName, clusterName, nodeTypeName, parameters).getFinalResult();
+ }
+
+ /**
+ * Starts a fault simulation on the node type.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the cluster resource.
+ * @param nodeTypeName The name of the node type.
+ * @param parameters parameters describing the fault simulation.
+ * @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 FaultSimulationInner startFaultSimulation(String resourceGroupName, String clusterName, String nodeTypeName,
+ FaultSimulationContentWrapper parameters, Context context) {
+ return beginStartFaultSimulation(resourceGroupName, clusterName, nodeTypeName, parameters, context)
+ .getFinalResult();
+ }
+
+ /**
+ * Stops a fault simulation on the node type.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the cluster resource.
+ * @param nodeTypeName The name of the node type.
+ * @param parameters parameter with fault simulation id.
+ * @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>> stopFaultSimulationWithResponseAsync(String resourceGroupName,
+ String clusterName, String nodeTypeName, FaultSimulationIdContent parameters) {
+ final String contentType = "application/json";
+ return FluxUtil
+ .withContext(context -> service.stopFaultSimulation(this.client.getEndpoint(), this.client.getApiVersion(),
+ this.client.getSubscriptionId(), resourceGroupName, clusterName, nodeTypeName, contentType, parameters,
+ context))
+ .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly()));
+ }
+
+ /**
+ * Stops a fault simulation on the node type.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the cluster resource.
+ * @param nodeTypeName The name of the node type.
+ * @param parameters parameter with fault simulation id.
+ * @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 stopFaultSimulationWithResponse(String resourceGroupName, String clusterName,
+ String nodeTypeName, FaultSimulationIdContent parameters) {
+ final String contentType = "application/json";
+ return service.stopFaultSimulationSync(this.client.getEndpoint(), this.client.getApiVersion(),
+ this.client.getSubscriptionId(), resourceGroupName, clusterName, nodeTypeName, contentType, parameters,
+ Context.NONE);
+ }
+
+ /**
+ * Stops a fault simulation on the node type.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the cluster resource.
+ * @param nodeTypeName The name of the node type.
+ * @param parameters parameter with fault simulation id.
+ * @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 stopFaultSimulationWithResponse(String resourceGroupName, String clusterName,
+ String nodeTypeName, FaultSimulationIdContent parameters, Context context) {
+ final String contentType = "application/json";
+ return service.stopFaultSimulationSync(this.client.getEndpoint(), this.client.getApiVersion(),
+ this.client.getSubscriptionId(), resourceGroupName, clusterName, nodeTypeName, contentType, parameters,
+ context);
+ }
+
+ /**
+ * Stops a fault simulation on the node type.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the cluster resource.
+ * @param nodeTypeName The name of the node type.
+ * @param parameters parameter with fault simulation id.
+ * @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, FaultSimulationInner> beginStopFaultSimulationAsync(
+ String resourceGroupName, String clusterName, String nodeTypeName, FaultSimulationIdContent parameters) {
+ Mono>> mono
+ = stopFaultSimulationWithResponseAsync(resourceGroupName, clusterName, nodeTypeName, parameters);
+ return this.client.getLroResult(mono, this.client.getHttpPipeline(),
+ FaultSimulationInner.class, FaultSimulationInner.class, this.client.getContext());
+ }
+
+ /**
+ * Stops a fault simulation on the node type.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the cluster resource.
+ * @param nodeTypeName The name of the node type.
+ * @param parameters parameter with fault simulation id.
+ * @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, FaultSimulationInner> beginStopFaultSimulation(
+ String resourceGroupName, String clusterName, String nodeTypeName, FaultSimulationIdContent parameters) {
+ Response response
+ = stopFaultSimulationWithResponse(resourceGroupName, clusterName, nodeTypeName, parameters);
+ return this.client.getLroResult(response,
+ FaultSimulationInner.class, FaultSimulationInner.class, Context.NONE);
+ }
+
+ /**
+ * Stops a fault simulation on the node type.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the cluster resource.
+ * @param nodeTypeName The name of the node type.
+ * @param parameters parameter with fault simulation id.
+ * @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, FaultSimulationInner> beginStopFaultSimulation(
+ String resourceGroupName, String clusterName, String nodeTypeName, FaultSimulationIdContent parameters,
+ Context context) {
+ Response response
+ = stopFaultSimulationWithResponse(resourceGroupName, clusterName, nodeTypeName, parameters, context);
+ return this.client.getLroResult(response,
+ FaultSimulationInner.class, FaultSimulationInner.class, context);
+ }
+
+ /**
+ * Stops a fault simulation on the node type.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the cluster resource.
+ * @param nodeTypeName The name of the node type.
+ * @param parameters parameter with fault simulation id.
+ * @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 stopFaultSimulationAsync(String resourceGroupName, String clusterName,
+ String nodeTypeName, FaultSimulationIdContent parameters) {
+ return beginStopFaultSimulationAsync(resourceGroupName, clusterName, nodeTypeName, parameters).last()
+ .flatMap(this.client::getLroFinalResultOrError);
+ }
+
+ /**
+ * Stops a fault simulation on the node type.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the cluster resource.
+ * @param nodeTypeName The name of the node type.
+ * @param parameters parameter with fault simulation id.
+ * @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 FaultSimulationInner stopFaultSimulation(String resourceGroupName, String clusterName, String nodeTypeName,
+ FaultSimulationIdContent parameters) {
+ return beginStopFaultSimulation(resourceGroupName, clusterName, nodeTypeName, parameters).getFinalResult();
+ }
+
+ /**
+ * Stops a fault simulation on the node type.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the cluster resource.
+ * @param nodeTypeName The name of the node type.
+ * @param parameters parameter with fault simulation id.
+ * @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 FaultSimulationInner stopFaultSimulation(String resourceGroupName, String clusterName, String nodeTypeName,
+ FaultSimulationIdContent parameters, Context context) {
+ return beginStopFaultSimulation(resourceGroupName, clusterName, nodeTypeName, parameters, context)
+ .getFinalResult();
+ }
+
+ /**
+ * Gets a fault simulation by the simulationId.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the cluster resource.
+ * @param nodeTypeName The name of the node type.
+ * @param parameters parameter with fault simulation id.
+ * @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 fault simulation by the simulationId along with {@link Response} on successful completion of
+ * {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono> getFaultSimulationWithResponseAsync(String resourceGroupName,
+ String clusterName, String nodeTypeName, FaultSimulationIdContent parameters) {
+ final String contentType = "application/json";
+ final String accept = "application/json";
+ return FluxUtil
+ .withContext(context -> service.getFaultSimulation(this.client.getEndpoint(), this.client.getApiVersion(),
+ this.client.getSubscriptionId(), resourceGroupName, clusterName, nodeTypeName, contentType, accept,
+ parameters, context))
+ .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly()));
+ }
+
+ /**
+ * Gets a fault simulation by the simulationId.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the cluster resource.
+ * @param nodeTypeName The name of the node type.
+ * @param parameters parameter with fault simulation id.
+ * @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 fault simulation by the simulationId on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono getFaultSimulationAsync(String resourceGroupName, String clusterName,
+ String nodeTypeName, FaultSimulationIdContent parameters) {
+ return getFaultSimulationWithResponseAsync(resourceGroupName, clusterName, nodeTypeName, parameters)
+ .flatMap(res -> Mono.justOrEmpty(res.getValue()));
+ }
+
+ /**
+ * Gets a fault simulation by the simulationId.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the cluster resource.
+ * @param nodeTypeName The name of the node type.
+ * @param parameters parameter with fault simulation id.
+ * @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 fault simulation by the simulationId along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public Response getFaultSimulationWithResponse(String resourceGroupName, String clusterName,
+ String nodeTypeName, FaultSimulationIdContent parameters, Context context) {
+ final String contentType = "application/json";
+ final String accept = "application/json";
+ return service.getFaultSimulationSync(this.client.getEndpoint(), this.client.getApiVersion(),
+ this.client.getSubscriptionId(), resourceGroupName, clusterName, nodeTypeName, contentType, accept,
+ parameters, context);
+ }
+
+ /**
+ * Gets a fault simulation by the simulationId.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the cluster resource.
+ * @param nodeTypeName The name of the node type.
+ * @param parameters parameter with fault simulation id.
+ * @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 fault simulation by the simulationId.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public FaultSimulationInner getFaultSimulation(String resourceGroupName, String clusterName, String nodeTypeName,
+ FaultSimulationIdContent parameters) {
+ return getFaultSimulationWithResponse(resourceGroupName, clusterName, nodeTypeName, parameters, Context.NONE)
+ .getValue();
+ }
+
+ /**
+ * Gets the list of recent fault simulations for the node type.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the cluster resource.
+ * @param nodeTypeName The name of the node type.
+ * @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 list of recent fault simulations for the node type along with {@link PagedResponse} on successful
+ * completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono> listFaultSimulationSinglePageAsync(String resourceGroupName,
+ String clusterName, String nodeTypeName) {
+ final String accept = "application/json";
+ return FluxUtil
+ .withContext(context -> service.listFaultSimulation(this.client.getEndpoint(), this.client.getApiVersion(),
+ this.client.getSubscriptionId(), resourceGroupName, clusterName, nodeTypeName, 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()));
+ }
+
+ /**
+ * Gets the list of recent fault simulations for the node type.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the cluster resource.
+ * @param nodeTypeName The name of the node type.
+ * @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 list of recent fault simulations for the node type as paginated response with {@link PagedFlux}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ private PagedFlux listFaultSimulationAsync(String resourceGroupName, String clusterName,
+ String nodeTypeName) {
+ return new PagedFlux<>(() -> listFaultSimulationSinglePageAsync(resourceGroupName, clusterName, nodeTypeName),
+ nextLink -> listFaultSimulationNextSinglePageAsync(nextLink));
+ }
+
+ /**
+ * Gets the list of recent fault simulations for the node type.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the cluster resource.
+ * @param nodeTypeName The name of the node type.
+ * @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 list of recent fault simulations for the node type along with {@link PagedResponse}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private PagedResponse listFaultSimulationSinglePage(String resourceGroupName,
+ String clusterName, String nodeTypeName) {
+ final String accept = "application/json";
+ Response res
+ = service.listFaultSimulationSync(this.client.getEndpoint(), this.client.getApiVersion(),
+ this.client.getSubscriptionId(), resourceGroupName, clusterName, nodeTypeName, accept, Context.NONE);
+ return new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(),
+ res.getValue().nextLink(), null);
+ }
+
+ /**
+ * Gets the list of recent fault simulations for the node type.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the cluster resource.
+ * @param nodeTypeName The name of the node type.
+ * @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 list of recent fault simulations for the node type along with {@link PagedResponse}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private PagedResponse listFaultSimulationSinglePage(String resourceGroupName,
+ String clusterName, String nodeTypeName, Context context) {
+ final String accept = "application/json";
+ Response res
+ = service.listFaultSimulationSync(this.client.getEndpoint(), this.client.getApiVersion(),
+ this.client.getSubscriptionId(), resourceGroupName, clusterName, nodeTypeName, accept, context);
+ return new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(),
+ res.getValue().nextLink(), null);
+ }
+
+ /**
+ * Gets the list of recent fault simulations for the node type.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the cluster resource.
+ * @param nodeTypeName The name of the node type.
+ * @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 list of recent fault simulations for the node type as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ public PagedIterable listFaultSimulation(String resourceGroupName, String clusterName,
+ String nodeTypeName) {
+ return new PagedIterable<>(() -> listFaultSimulationSinglePage(resourceGroupName, clusterName, nodeTypeName),
+ nextLink -> listFaultSimulationNextSinglePage(nextLink));
+ }
+
+ /**
+ * Gets the list of recent fault simulations for the node type.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the cluster resource.
+ * @param nodeTypeName The name of the node type.
+ * @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 list of recent fault simulations for the node type as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ public PagedIterable listFaultSimulation(String resourceGroupName, String clusterName,
+ String nodeTypeName, Context context) {
+ return new PagedIterable<>(
+ () -> listFaultSimulationSinglePage(resourceGroupName, clusterName, nodeTypeName, context),
+ nextLink -> listFaultSimulationNextSinglePage(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 all Node types of the specified managed cluster along with {@link PagedResponse} on successful completion
+ * of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono> listByManagedClustersNextSinglePageAsync(String nextLink) {
+ final String accept = "application/json";
+ return FluxUtil
+ .withContext(
+ context -> service.listByManagedClustersNext(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 all Node types of the specified managed cluster along with {@link PagedResponse}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private PagedResponse listByManagedClustersNextSinglePage(String nextLink) {
+ final String accept = "application/json";
+ Response res
+ = service.listByManagedClustersNextSync(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 all Node types of the specified managed cluster along with {@link PagedResponse}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private PagedResponse listByManagedClustersNextSinglePage(String nextLink, Context context) {
+ final String accept = "application/json";
+ Response res
+ = service.listByManagedClustersNextSync(nextLink, this.client.getEndpoint(), accept, context);
+ 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.
+ * @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 list of recent fault simulations for the node type along with {@link PagedResponse} on successful
+ * completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono> listFaultSimulationNextSinglePageAsync(String nextLink) {
+ final String accept = "application/json";
+ return FluxUtil
+ .withContext(
+ context -> service.listFaultSimulationNext(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 the list of recent fault simulations for the node type along with {@link PagedResponse}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private PagedResponse listFaultSimulationNextSinglePage(String nextLink) {
+ final String accept = "application/json";
+ Response res
+ = service.listFaultSimulationNextSync(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 the list of recent fault simulations for the node type along with {@link PagedResponse}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private PagedResponse listFaultSimulationNextSinglePage(String nextLink, Context context) {
+ final String accept = "application/json";
+ Response res
+ = service.listFaultSimulationNextSync(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/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/implementation/NodeTypesImpl.java b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/implementation/NodeTypesImpl.java
index e5deaaa7007d..394673242377 100644
--- a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/implementation/NodeTypesImpl.java
+++ b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/implementation/NodeTypesImpl.java
@@ -10,7 +10,11 @@
import com.azure.core.util.Context;
import com.azure.core.util.logging.ClientLogger;
import com.azure.resourcemanager.servicefabricmanagedclusters.fluent.NodeTypesClient;
+import com.azure.resourcemanager.servicefabricmanagedclusters.fluent.models.FaultSimulationInner;
import com.azure.resourcemanager.servicefabricmanagedclusters.fluent.models.NodeTypeInner;
+import com.azure.resourcemanager.servicefabricmanagedclusters.models.FaultSimulation;
+import com.azure.resourcemanager.servicefabricmanagedclusters.models.FaultSimulationContentWrapper;
+import com.azure.resourcemanager.servicefabricmanagedclusters.models.FaultSimulationIdContent;
import com.azure.resourcemanager.servicefabricmanagedclusters.models.NodeType;
import com.azure.resourcemanager.servicefabricmanagedclusters.models.NodeTypeActionParameters;
import com.azure.resourcemanager.servicefabricmanagedclusters.models.NodeTypes;
@@ -125,6 +129,83 @@ public void start(String resourceGroupName, String clusterName, String nodeTypeN
this.serviceClient().start(resourceGroupName, clusterName, nodeTypeName, parameters, context);
}
+ public FaultSimulation startFaultSimulation(String resourceGroupName, String clusterName, String nodeTypeName,
+ FaultSimulationContentWrapper parameters) {
+ FaultSimulationInner inner
+ = this.serviceClient().startFaultSimulation(resourceGroupName, clusterName, nodeTypeName, parameters);
+ if (inner != null) {
+ return new FaultSimulationImpl(inner, this.manager());
+ } else {
+ return null;
+ }
+ }
+
+ public FaultSimulation startFaultSimulation(String resourceGroupName, String clusterName, String nodeTypeName,
+ FaultSimulationContentWrapper parameters, Context context) {
+ FaultSimulationInner inner = this.serviceClient()
+ .startFaultSimulation(resourceGroupName, clusterName, nodeTypeName, parameters, context);
+ if (inner != null) {
+ return new FaultSimulationImpl(inner, this.manager());
+ } else {
+ return null;
+ }
+ }
+
+ public FaultSimulation stopFaultSimulation(String resourceGroupName, String clusterName, String nodeTypeName,
+ FaultSimulationIdContent parameters) {
+ FaultSimulationInner inner
+ = this.serviceClient().stopFaultSimulation(resourceGroupName, clusterName, nodeTypeName, parameters);
+ if (inner != null) {
+ return new FaultSimulationImpl(inner, this.manager());
+ } else {
+ return null;
+ }
+ }
+
+ public FaultSimulation stopFaultSimulation(String resourceGroupName, String clusterName, String nodeTypeName,
+ FaultSimulationIdContent parameters, Context context) {
+ FaultSimulationInner inner = this.serviceClient()
+ .stopFaultSimulation(resourceGroupName, clusterName, nodeTypeName, parameters, context);
+ if (inner != null) {
+ return new FaultSimulationImpl(inner, this.manager());
+ } else {
+ return null;
+ }
+ }
+
+ public Response getFaultSimulationWithResponse(String resourceGroupName, String clusterName,
+ String nodeTypeName, FaultSimulationIdContent parameters, Context context) {
+ Response inner = this.serviceClient()
+ .getFaultSimulationWithResponse(resourceGroupName, clusterName, nodeTypeName, parameters, context);
+ return new SimpleResponse<>(inner.getRequest(), inner.getStatusCode(), inner.getHeaders(),
+ new FaultSimulationImpl(inner.getValue(), this.manager()));
+ }
+
+ public FaultSimulation getFaultSimulation(String resourceGroupName, String clusterName, String nodeTypeName,
+ FaultSimulationIdContent parameters) {
+ FaultSimulationInner inner
+ = this.serviceClient().getFaultSimulation(resourceGroupName, clusterName, nodeTypeName, parameters);
+ if (inner != null) {
+ return new FaultSimulationImpl(inner, this.manager());
+ } else {
+ return null;
+ }
+ }
+
+ public PagedIterable listFaultSimulation(String resourceGroupName, String clusterName,
+ String nodeTypeName) {
+ PagedIterable inner
+ = this.serviceClient().listFaultSimulation(resourceGroupName, clusterName, nodeTypeName);
+ return ResourceManagerUtils.mapPage(inner, inner1 -> new FaultSimulationImpl(inner1, this.manager()));
+ }
+
+ public PagedIterable listFaultSimulation(String resourceGroupName, String clusterName,
+ String nodeTypeName, Context context) {
+ PagedIterable inner
+ = this.serviceClient().listFaultSimulation(resourceGroupName, clusterName, nodeTypeName, context);
+ return ResourceManagerUtils.mapPage(inner, inner1 -> new FaultSimulationImpl(inner1, this.manager()));
+ }
+
public NodeType getById(String id) {
String resourceGroupName = ResourceManagerUtils.getValueFromIdByName(id, "resourceGroups");
if (resourceGroupName == null) {
diff --git a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/implementation/ServiceFabricManagedClustersMgmtClientImpl.java b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/implementation/ServiceFabricManagedClustersMgmtClientImpl.java
index 12960ad83947..be0a2f81c0dc 100644
--- a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/implementation/ServiceFabricManagedClustersMgmtClientImpl.java
+++ b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/implementation/ServiceFabricManagedClustersMgmtClientImpl.java
@@ -337,7 +337,7 @@ public NodeTypeSkusClient getNodeTypeSkus() {
this.defaultPollInterval = defaultPollInterval;
this.endpoint = endpoint;
this.subscriptionId = subscriptionId;
- this.apiVersion = "2026-02-01";
+ this.apiVersion = "2026-05-01-preview";
this.operations = new OperationsClientImpl(this);
this.applications = new ApplicationsClientImpl(this);
this.applicationTypes = new ApplicationTypesClientImpl(this);
diff --git a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/implementation/models/FaultSimulationListResult.java b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/implementation/models/FaultSimulationListResult.java
new file mode 100644
index 000000000000..954cf6819918
--- /dev/null
+++ b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/implementation/models/FaultSimulationListResult.java
@@ -0,0 +1,96 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.servicefabricmanagedclusters.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.servicefabricmanagedclusters.fluent.models.FaultSimulationInner;
+import java.io.IOException;
+import java.util.List;
+
+/**
+ * Fault simulation list results.
+ */
+@Immutable
+public final class FaultSimulationListResult implements JsonSerializable {
+ /*
+ * The FaultSimulation items on this page
+ */
+ private List value;
+
+ /*
+ * The link to the next page of items
+ */
+ private String nextLink;
+
+ /**
+ * Creates an instance of FaultSimulationListResult class.
+ */
+ private FaultSimulationListResult() {
+ }
+
+ /**
+ * Get the value property: The FaultSimulation 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 FaultSimulationListResult from the JsonReader.
+ *
+ * @param jsonReader The JsonReader being read.
+ * @return An instance of FaultSimulationListResult 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 FaultSimulationListResult.
+ */
+ public static FaultSimulationListResult fromJson(JsonReader jsonReader) throws IOException {
+ return jsonReader.readObject(reader -> {
+ FaultSimulationListResult deserializedFaultSimulationListResult = new FaultSimulationListResult();
+ while (reader.nextToken() != JsonToken.END_OBJECT) {
+ String fieldName = reader.getFieldName();
+ reader.nextToken();
+
+ if ("value".equals(fieldName)) {
+ List value
+ = reader.readArray(reader1 -> FaultSimulationInner.fromJson(reader1));
+ deserializedFaultSimulationListResult.value = value;
+ } else if ("nextLink".equals(fieldName)) {
+ deserializedFaultSimulationListResult.nextLink = reader.getString();
+ } else {
+ reader.skipChildren();
+ }
+ }
+
+ return deserializedFaultSimulationListResult;
+ });
+ }
+}
diff --git a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/ApplyMaintenanceWindowRequest.java b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/ApplyMaintenanceWindowRequest.java
new file mode 100644
index 000000000000..ce35e15f4fc7
--- /dev/null
+++ b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/ApplyMaintenanceWindowRequest.java
@@ -0,0 +1,154 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.servicefabricmanagedclusters.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;
+
+/**
+ * Describes the request to apply a maintenance window on a Service Fabric Managed Cluster.
+ */
+@Fluent
+public final class ApplyMaintenanceWindowRequest implements JsonSerializable {
+ /*
+ * Effective start date of the maintenance window in yyyy-MM-dd HH:mm format. If not provided, defaults to the
+ * current time.
+ */
+ private String startDateTime;
+
+ /*
+ * Duration of the maintenance window in hh:mm format. If not provided, defaults to 5 hours. Example: 08:30 for 8
+ * and a half hours.
+ */
+ private String duration;
+
+ /*
+ * Name of the timezone. List of timezones can be obtained by executing [System.TimeZoneInfo]::GetSystemTimeZones()
+ * in PowerShell. If not provided, defaults to UTC. Example: Pacific Standard Time, UTC, W. Europe Standard Time,
+ * Korea Standard Time, Central Australia Standard Time.
+ */
+ private String timeZone;
+
+ /**
+ * Creates an instance of ApplyMaintenanceWindowRequest class.
+ */
+ public ApplyMaintenanceWindowRequest() {
+ }
+
+ /**
+ * Get the startDateTime property: Effective start date of the maintenance window in yyyy-MM-dd HH:mm format. If not
+ * provided, defaults to the current time.
+ *
+ * @return the startDateTime value.
+ */
+ public String startDateTime() {
+ return this.startDateTime;
+ }
+
+ /**
+ * Set the startDateTime property: Effective start date of the maintenance window in yyyy-MM-dd HH:mm format. If not
+ * provided, defaults to the current time.
+ *
+ * @param startDateTime the startDateTime value to set.
+ * @return the ApplyMaintenanceWindowRequest object itself.
+ */
+ public ApplyMaintenanceWindowRequest withStartDateTime(String startDateTime) {
+ this.startDateTime = startDateTime;
+ return this;
+ }
+
+ /**
+ * Get the duration property: Duration of the maintenance window in hh:mm format. If not provided, defaults to 5
+ * hours. Example: 08:30 for 8 and a half hours.
+ *
+ * @return the duration value.
+ */
+ public String duration() {
+ return this.duration;
+ }
+
+ /**
+ * Set the duration property: Duration of the maintenance window in hh:mm format. If not provided, defaults to 5
+ * hours. Example: 08:30 for 8 and a half hours.
+ *
+ * @param duration the duration value to set.
+ * @return the ApplyMaintenanceWindowRequest object itself.
+ */
+ public ApplyMaintenanceWindowRequest withDuration(String duration) {
+ this.duration = duration;
+ return this;
+ }
+
+ /**
+ * Get the timeZone property: Name of the timezone. List of timezones can be obtained by executing
+ * [System.TimeZoneInfo]::GetSystemTimeZones() in PowerShell. If not provided, defaults to UTC. Example: Pacific
+ * Standard Time, UTC, W. Europe Standard Time, Korea Standard Time, Central Australia Standard Time.
+ *
+ * @return the timeZone value.
+ */
+ public String timeZone() {
+ return this.timeZone;
+ }
+
+ /**
+ * Set the timeZone property: Name of the timezone. List of timezones can be obtained by executing
+ * [System.TimeZoneInfo]::GetSystemTimeZones() in PowerShell. If not provided, defaults to UTC. Example: Pacific
+ * Standard Time, UTC, W. Europe Standard Time, Korea Standard Time, Central Australia Standard Time.
+ *
+ * @param timeZone the timeZone value to set.
+ * @return the ApplyMaintenanceWindowRequest object itself.
+ */
+ public ApplyMaintenanceWindowRequest withTimeZone(String timeZone) {
+ this.timeZone = timeZone;
+ return this;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ @Override
+ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
+ jsonWriter.writeStartObject();
+ jsonWriter.writeStringField("startDateTime", this.startDateTime);
+ jsonWriter.writeStringField("duration", this.duration);
+ jsonWriter.writeStringField("timeZone", this.timeZone);
+ return jsonWriter.writeEndObject();
+ }
+
+ /**
+ * Reads an instance of ApplyMaintenanceWindowRequest from the JsonReader.
+ *
+ * @param jsonReader The JsonReader being read.
+ * @return An instance of ApplyMaintenanceWindowRequest 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 ApplyMaintenanceWindowRequest.
+ */
+ public static ApplyMaintenanceWindowRequest fromJson(JsonReader jsonReader) throws IOException {
+ return jsonReader.readObject(reader -> {
+ ApplyMaintenanceWindowRequest deserializedApplyMaintenanceWindowRequest
+ = new ApplyMaintenanceWindowRequest();
+ while (reader.nextToken() != JsonToken.END_OBJECT) {
+ String fieldName = reader.getFieldName();
+ reader.nextToken();
+
+ if ("startDateTime".equals(fieldName)) {
+ deserializedApplyMaintenanceWindowRequest.startDateTime = reader.getString();
+ } else if ("duration".equals(fieldName)) {
+ deserializedApplyMaintenanceWindowRequest.duration = reader.getString();
+ } else if ("timeZone".equals(fieldName)) {
+ deserializedApplyMaintenanceWindowRequest.timeZone = reader.getString();
+ } else {
+ reader.skipChildren();
+ }
+ }
+
+ return deserializedApplyMaintenanceWindowRequest;
+ });
+ }
+}
diff --git a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/FaultKind.java b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/FaultKind.java
new file mode 100644
index 000000000000..79516d3b58ff
--- /dev/null
+++ b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/FaultKind.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.servicefabricmanagedclusters.models;
+
+import com.azure.core.util.ExpandableStringEnum;
+import java.util.Collection;
+
+/**
+ * The kind of fault simulation.
+ */
+public final class FaultKind extends ExpandableStringEnum {
+ /**
+ * Simulates an availability zone down.
+ */
+ public static final FaultKind ZONE = fromString("Zone");
+
+ /**
+ * Creates a new instance of FaultKind value.
+ *
+ * @deprecated Use the {@link #fromString(String)} factory method.
+ */
+ @Deprecated
+ public FaultKind() {
+ }
+
+ /**
+ * Creates or finds a FaultKind from its string representation.
+ *
+ * @param name a name to look for.
+ * @return the corresponding FaultKind.
+ */
+ public static FaultKind fromString(String name) {
+ return fromString(name, FaultKind.class);
+ }
+
+ /**
+ * Gets known FaultKind values.
+ *
+ * @return known FaultKind values.
+ */
+ public static Collection values() {
+ return values(FaultKind.class);
+ }
+}
diff --git a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/FaultSimulation.java b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/FaultSimulation.java
new file mode 100644
index 000000000000..c869e510eee2
--- /dev/null
+++ b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/FaultSimulation.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.servicefabricmanagedclusters.models;
+
+import com.azure.resourcemanager.servicefabricmanagedclusters.fluent.models.FaultSimulationInner;
+import java.time.OffsetDateTime;
+
+/**
+ * An immutable client-side representation of FaultSimulation.
+ */
+public interface FaultSimulation {
+ /**
+ * Gets the simulationId property: unique identifier for the fault simulation.
+ *
+ * @return the simulationId value.
+ */
+ String simulationId();
+
+ /**
+ * Gets the status property: Fault simulation status.
+ *
+ * @return the status value.
+ */
+ FaultSimulationStatus status();
+
+ /**
+ * Gets the startTime property: The start time of the fault simulation.
+ *
+ * @return the startTime value.
+ */
+ OffsetDateTime startTime();
+
+ /**
+ * Gets the endTime property: The end time of the fault simulation.
+ *
+ * @return the endTime value.
+ */
+ OffsetDateTime endTime();
+
+ /**
+ * Gets the details property: Fault simulation details.
+ *
+ * @return the details value.
+ */
+ FaultSimulationDetails details();
+
+ /**
+ * Gets the inner com.azure.resourcemanager.servicefabricmanagedclusters.fluent.models.FaultSimulationInner object.
+ *
+ * @return the inner object.
+ */
+ FaultSimulationInner innerModel();
+}
diff --git a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/FaultSimulationConstraints.java b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/FaultSimulationConstraints.java
new file mode 100644
index 000000000000..fa14c834a65b
--- /dev/null
+++ b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/FaultSimulationConstraints.java
@@ -0,0 +1,92 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.servicefabricmanagedclusters.models;
+
+import com.azure.core.annotation.Fluent;
+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.time.format.DateTimeFormatter;
+
+/**
+ * Constraints for Fault Simulation action.
+ */
+@Fluent
+public final class FaultSimulationConstraints implements JsonSerializable {
+ /*
+ * The absolute expiration timestamp (UTC) after which this fault simulation should be stopped if it's still active.
+ */
+ private OffsetDateTime expirationTime;
+
+ /**
+ * Creates an instance of FaultSimulationConstraints class.
+ */
+ public FaultSimulationConstraints() {
+ }
+
+ /**
+ * Get the expirationTime property: The absolute expiration timestamp (UTC) after which this fault simulation should
+ * be stopped if it's still active.
+ *
+ * @return the expirationTime value.
+ */
+ public OffsetDateTime expirationTime() {
+ return this.expirationTime;
+ }
+
+ /**
+ * Set the expirationTime property: The absolute expiration timestamp (UTC) after which this fault simulation should
+ * be stopped if it's still active.
+ *
+ * @param expirationTime the expirationTime value to set.
+ * @return the FaultSimulationConstraints object itself.
+ */
+ public FaultSimulationConstraints withExpirationTime(OffsetDateTime expirationTime) {
+ this.expirationTime = expirationTime;
+ return this;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ @Override
+ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
+ jsonWriter.writeStartObject();
+ jsonWriter.writeStringField("expirationTime",
+ this.expirationTime == null ? null : DateTimeFormatter.ISO_OFFSET_DATE_TIME.format(this.expirationTime));
+ return jsonWriter.writeEndObject();
+ }
+
+ /**
+ * Reads an instance of FaultSimulationConstraints from the JsonReader.
+ *
+ * @param jsonReader The JsonReader being read.
+ * @return An instance of FaultSimulationConstraints 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 FaultSimulationConstraints.
+ */
+ public static FaultSimulationConstraints fromJson(JsonReader jsonReader) throws IOException {
+ return jsonReader.readObject(reader -> {
+ FaultSimulationConstraints deserializedFaultSimulationConstraints = new FaultSimulationConstraints();
+ while (reader.nextToken() != JsonToken.END_OBJECT) {
+ String fieldName = reader.getFieldName();
+ reader.nextToken();
+
+ if ("expirationTime".equals(fieldName)) {
+ deserializedFaultSimulationConstraints.expirationTime = reader
+ .getNullable(nonNullReader -> CoreUtils.parseBestOffsetDateTime(nonNullReader.getString()));
+ } else {
+ reader.skipChildren();
+ }
+ }
+
+ return deserializedFaultSimulationConstraints;
+ });
+ }
+}
diff --git a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/FaultSimulationContent.java b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/FaultSimulationContent.java
new file mode 100644
index 000000000000..cb5a005607ee
--- /dev/null
+++ b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/FaultSimulationContent.java
@@ -0,0 +1,155 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.servicefabricmanagedclusters.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;
+
+/**
+ * Parameters for Fault Simulation action.
+ */
+@Fluent
+public class FaultSimulationContent implements JsonSerializable {
+ /*
+ * The kind of fault to be simulated.
+ */
+ private FaultKind faultKind = FaultKind.fromString("FaultSimulationContent");
+
+ /*
+ * Force the action to go through without any check on the cluster.
+ */
+ private Boolean force;
+
+ /*
+ * Constraints for Fault Simulation action.
+ */
+ private FaultSimulationConstraints constraints;
+
+ /**
+ * Creates an instance of FaultSimulationContent class.
+ */
+ public FaultSimulationContent() {
+ }
+
+ /**
+ * Get the faultKind property: The kind of fault to be simulated.
+ *
+ * @return the faultKind value.
+ */
+ public FaultKind faultKind() {
+ return this.faultKind;
+ }
+
+ /**
+ * Get the force property: Force the action to go through without any check on the cluster.
+ *
+ * @return the force value.
+ */
+ public Boolean force() {
+ return this.force;
+ }
+
+ /**
+ * Set the force property: Force the action to go through without any check on the cluster.
+ *
+ * @param force the force value to set.
+ * @return the FaultSimulationContent object itself.
+ */
+ public FaultSimulationContent withForce(Boolean force) {
+ this.force = force;
+ return this;
+ }
+
+ /**
+ * Get the constraints property: Constraints for Fault Simulation action.
+ *
+ * @return the constraints value.
+ */
+ public FaultSimulationConstraints constraints() {
+ return this.constraints;
+ }
+
+ /**
+ * Set the constraints property: Constraints for Fault Simulation action.
+ *
+ * @param constraints the constraints value to set.
+ * @return the FaultSimulationContent object itself.
+ */
+ public FaultSimulationContent withConstraints(FaultSimulationConstraints constraints) {
+ this.constraints = constraints;
+ return this;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ @Override
+ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
+ jsonWriter.writeStartObject();
+ jsonWriter.writeStringField("faultKind", this.faultKind == null ? null : this.faultKind.toString());
+ jsonWriter.writeBooleanField("force", this.force);
+ jsonWriter.writeJsonField("constraints", this.constraints);
+ return jsonWriter.writeEndObject();
+ }
+
+ /**
+ * Reads an instance of FaultSimulationContent from the JsonReader.
+ *
+ * @param jsonReader The JsonReader being read.
+ * @return An instance of FaultSimulationContent 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 FaultSimulationContent.
+ */
+ public static FaultSimulationContent fromJson(JsonReader jsonReader) throws IOException {
+ return jsonReader.readObject(reader -> {
+ String discriminatorValue = null;
+ try (JsonReader readerToUse = reader.bufferObject()) {
+ readerToUse.nextToken(); // Prepare for reading
+ while (readerToUse.nextToken() != JsonToken.END_OBJECT) {
+ String fieldName = readerToUse.getFieldName();
+ readerToUse.nextToken();
+ if ("faultKind".equals(fieldName)) {
+ discriminatorValue = readerToUse.getString();
+ break;
+ } else {
+ readerToUse.skipChildren();
+ }
+ }
+ // Use the discriminator value to determine which subtype should be deserialized.
+ if ("Zone".equals(discriminatorValue)) {
+ return ZoneFaultSimulationContent.fromJson(readerToUse.reset());
+ } else {
+ return fromJsonKnownDiscriminator(readerToUse.reset());
+ }
+ }
+ });
+ }
+
+ static FaultSimulationContent fromJsonKnownDiscriminator(JsonReader jsonReader) throws IOException {
+ return jsonReader.readObject(reader -> {
+ FaultSimulationContent deserializedFaultSimulationContent = new FaultSimulationContent();
+ while (reader.nextToken() != JsonToken.END_OBJECT) {
+ String fieldName = reader.getFieldName();
+ reader.nextToken();
+
+ if ("faultKind".equals(fieldName)) {
+ deserializedFaultSimulationContent.faultKind = FaultKind.fromString(reader.getString());
+ } else if ("force".equals(fieldName)) {
+ deserializedFaultSimulationContent.force = reader.getNullable(JsonReader::getBoolean);
+ } else if ("constraints".equals(fieldName)) {
+ deserializedFaultSimulationContent.constraints = FaultSimulationConstraints.fromJson(reader);
+ } else {
+ reader.skipChildren();
+ }
+ }
+
+ return deserializedFaultSimulationContent;
+ });
+ }
+}
diff --git a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/FaultSimulationContentWrapper.java b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/FaultSimulationContentWrapper.java
new file mode 100644
index 000000000000..468cf6552bfa
--- /dev/null
+++ b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/FaultSimulationContentWrapper.java
@@ -0,0 +1,87 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.servicefabricmanagedclusters.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;
+
+/**
+ * Fault Simulation Request for Start action.
+ */
+@Fluent
+public final class FaultSimulationContentWrapper implements JsonSerializable {
+ /*
+ * Parameters for Fault Simulation start action.
+ */
+ private FaultSimulationContent parameters;
+
+ /**
+ * Creates an instance of FaultSimulationContentWrapper class.
+ */
+ public FaultSimulationContentWrapper() {
+ }
+
+ /**
+ * Get the parameters property: Parameters for Fault Simulation start action.
+ *
+ * @return the parameters value.
+ */
+ public FaultSimulationContent parameters() {
+ return this.parameters;
+ }
+
+ /**
+ * Set the parameters property: Parameters for Fault Simulation start action.
+ *
+ * @param parameters the parameters value to set.
+ * @return the FaultSimulationContentWrapper object itself.
+ */
+ public FaultSimulationContentWrapper withParameters(FaultSimulationContent parameters) {
+ this.parameters = parameters;
+ return this;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ @Override
+ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
+ jsonWriter.writeStartObject();
+ jsonWriter.writeJsonField("parameters", this.parameters);
+ return jsonWriter.writeEndObject();
+ }
+
+ /**
+ * Reads an instance of FaultSimulationContentWrapper from the JsonReader.
+ *
+ * @param jsonReader The JsonReader being read.
+ * @return An instance of FaultSimulationContentWrapper 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 FaultSimulationContentWrapper.
+ */
+ public static FaultSimulationContentWrapper fromJson(JsonReader jsonReader) throws IOException {
+ return jsonReader.readObject(reader -> {
+ FaultSimulationContentWrapper deserializedFaultSimulationContentWrapper
+ = new FaultSimulationContentWrapper();
+ while (reader.nextToken() != JsonToken.END_OBJECT) {
+ String fieldName = reader.getFieldName();
+ reader.nextToken();
+
+ if ("parameters".equals(fieldName)) {
+ deserializedFaultSimulationContentWrapper.parameters = FaultSimulationContent.fromJson(reader);
+ } else {
+ reader.skipChildren();
+ }
+ }
+
+ return deserializedFaultSimulationContentWrapper;
+ });
+ }
+}
diff --git a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/FaultSimulationDetails.java b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/FaultSimulationDetails.java
new file mode 100644
index 000000000000..c72172418e5f
--- /dev/null
+++ b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/FaultSimulationDetails.java
@@ -0,0 +1,130 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.servicefabricmanagedclusters.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;
+import java.util.List;
+
+/**
+ * Details for Fault Simulation.
+ */
+@Immutable
+public final class FaultSimulationDetails implements JsonSerializable {
+ /*
+ * unique identifier for the cluster resource.
+ */
+ private String clusterId;
+
+ /*
+ * unique identifier for the operation associated with the fault simulation.
+ */
+ private String operationId;
+
+ /*
+ * List of node type simulations associated with the cluster fault simulation.
+ */
+ private List nodeTypeFaultSimulation;
+
+ /*
+ * Fault simulation parameters.
+ */
+ private FaultSimulationContent parameters;
+
+ /**
+ * Creates an instance of FaultSimulationDetails class.
+ */
+ private FaultSimulationDetails() {
+ }
+
+ /**
+ * Get the clusterId property: unique identifier for the cluster resource.
+ *
+ * @return the clusterId value.
+ */
+ public String clusterId() {
+ return this.clusterId;
+ }
+
+ /**
+ * Get the operationId property: unique identifier for the operation associated with the fault simulation.
+ *
+ * @return the operationId value.
+ */
+ public String operationId() {
+ return this.operationId;
+ }
+
+ /**
+ * Get the nodeTypeFaultSimulation property: List of node type simulations associated with the cluster fault
+ * simulation.
+ *
+ * @return the nodeTypeFaultSimulation value.
+ */
+ public List nodeTypeFaultSimulation() {
+ return this.nodeTypeFaultSimulation;
+ }
+
+ /**
+ * Get the parameters property: Fault simulation parameters.
+ *
+ * @return the parameters value.
+ */
+ public FaultSimulationContent parameters() {
+ return this.parameters;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ @Override
+ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
+ jsonWriter.writeStartObject();
+ jsonWriter.writeStringField("clusterId", this.clusterId);
+ jsonWriter.writeStringField("operationId", this.operationId);
+ jsonWriter.writeArrayField("nodeTypeFaultSimulation", this.nodeTypeFaultSimulation,
+ (writer, element) -> writer.writeJson(element));
+ jsonWriter.writeJsonField("parameters", this.parameters);
+ return jsonWriter.writeEndObject();
+ }
+
+ /**
+ * Reads an instance of FaultSimulationDetails from the JsonReader.
+ *
+ * @param jsonReader The JsonReader being read.
+ * @return An instance of FaultSimulationDetails 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 FaultSimulationDetails.
+ */
+ public static FaultSimulationDetails fromJson(JsonReader jsonReader) throws IOException {
+ return jsonReader.readObject(reader -> {
+ FaultSimulationDetails deserializedFaultSimulationDetails = new FaultSimulationDetails();
+ while (reader.nextToken() != JsonToken.END_OBJECT) {
+ String fieldName = reader.getFieldName();
+ reader.nextToken();
+
+ if ("clusterId".equals(fieldName)) {
+ deserializedFaultSimulationDetails.clusterId = reader.getString();
+ } else if ("operationId".equals(fieldName)) {
+ deserializedFaultSimulationDetails.operationId = reader.getString();
+ } else if ("nodeTypeFaultSimulation".equals(fieldName)) {
+ List nodeTypeFaultSimulation
+ = reader.readArray(reader1 -> NodeTypeFaultSimulation.fromJson(reader1));
+ deserializedFaultSimulationDetails.nodeTypeFaultSimulation = nodeTypeFaultSimulation;
+ } else if ("parameters".equals(fieldName)) {
+ deserializedFaultSimulationDetails.parameters = FaultSimulationContent.fromJson(reader);
+ } else {
+ reader.skipChildren();
+ }
+ }
+
+ return deserializedFaultSimulationDetails;
+ });
+ }
+}
diff --git a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/FaultSimulationIdContent.java b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/FaultSimulationIdContent.java
new file mode 100644
index 000000000000..a3b75058c2fd
--- /dev/null
+++ b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/FaultSimulationIdContent.java
@@ -0,0 +1,86 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.servicefabricmanagedclusters.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;
+
+/**
+ * Parameters for Fault Simulation id.
+ */
+@Fluent
+public final class FaultSimulationIdContent implements JsonSerializable {
+ /*
+ * unique identifier for the fault simulation.
+ */
+ private String simulationId;
+
+ /**
+ * Creates an instance of FaultSimulationIdContent class.
+ */
+ public FaultSimulationIdContent() {
+ }
+
+ /**
+ * Get the simulationId property: unique identifier for the fault simulation.
+ *
+ * @return the simulationId value.
+ */
+ public String simulationId() {
+ return this.simulationId;
+ }
+
+ /**
+ * Set the simulationId property: unique identifier for the fault simulation.
+ *
+ * @param simulationId the simulationId value to set.
+ * @return the FaultSimulationIdContent object itself.
+ */
+ public FaultSimulationIdContent withSimulationId(String simulationId) {
+ this.simulationId = simulationId;
+ return this;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ @Override
+ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
+ jsonWriter.writeStartObject();
+ jsonWriter.writeStringField("simulationId", this.simulationId);
+ return jsonWriter.writeEndObject();
+ }
+
+ /**
+ * Reads an instance of FaultSimulationIdContent from the JsonReader.
+ *
+ * @param jsonReader The JsonReader being read.
+ * @return An instance of FaultSimulationIdContent 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 FaultSimulationIdContent.
+ */
+ public static FaultSimulationIdContent fromJson(JsonReader jsonReader) throws IOException {
+ return jsonReader.readObject(reader -> {
+ FaultSimulationIdContent deserializedFaultSimulationIdContent = new FaultSimulationIdContent();
+ while (reader.nextToken() != JsonToken.END_OBJECT) {
+ String fieldName = reader.getFieldName();
+ reader.nextToken();
+
+ if ("simulationId".equals(fieldName)) {
+ deserializedFaultSimulationIdContent.simulationId = reader.getString();
+ } else {
+ reader.skipChildren();
+ }
+ }
+
+ return deserializedFaultSimulationIdContent;
+ });
+ }
+}
diff --git a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/FaultSimulationStatus.java b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/FaultSimulationStatus.java
new file mode 100644
index 000000000000..a888868f083f
--- /dev/null
+++ b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/FaultSimulationStatus.java
@@ -0,0 +1,77 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.servicefabricmanagedclusters.models;
+
+import com.azure.core.util.ExpandableStringEnum;
+import java.util.Collection;
+
+/**
+ * Fault simulation status.
+ */
+public final class FaultSimulationStatus extends ExpandableStringEnum {
+ /**
+ * Indicates the fault simulation is starting. The simulation will have this status while the start operation is in
+ * progress.
+ */
+ public static final FaultSimulationStatus STARTING = fromString("Starting");
+
+ /**
+ * Indicates the fault simulation is active. The simulation will have this status after the start operation has
+ * completed successfully.
+ */
+ public static final FaultSimulationStatus ACTIVE = fromString("Active");
+
+ /**
+ * Indicates the fault simulation is stopping. The simulation will have this status while the stop operation is in
+ * progress.
+ */
+ public static final FaultSimulationStatus STOPPING = fromString("Stopping");
+
+ /**
+ * Indicates the fault simulation is done. The simulation will have this status after the stop operation has
+ * completed successfully.
+ */
+ public static final FaultSimulationStatus DONE = fromString("Done");
+
+ /**
+ * Indicates the fault simulation has failed on start. The simulation will have this status after the start
+ * operation fails.
+ */
+ public static final FaultSimulationStatus START_FAILED = fromString("StartFailed");
+
+ /**
+ * Indicates the fault simulation has failed on stop. The simulation will have this status after the stop operation
+ * fails.
+ */
+ public static final FaultSimulationStatus STOP_FAILED = fromString("StopFailed");
+
+ /**
+ * Creates a new instance of FaultSimulationStatus value.
+ *
+ * @deprecated Use the {@link #fromString(String)} factory method.
+ */
+ @Deprecated
+ public FaultSimulationStatus() {
+ }
+
+ /**
+ * Creates or finds a FaultSimulationStatus from its string representation.
+ *
+ * @param name a name to look for.
+ * @return the corresponding FaultSimulationStatus.
+ */
+ public static FaultSimulationStatus fromString(String name) {
+ return fromString(name, FaultSimulationStatus.class);
+ }
+
+ /**
+ * Gets known FaultSimulationStatus values.
+ *
+ * @return known FaultSimulationStatus values.
+ */
+ public static Collection values() {
+ return values(FaultSimulationStatus.class);
+ }
+}
diff --git a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/HostEndpointSettings.java b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/HostEndpointSettings.java
new file mode 100644
index 000000000000..fcc9bc7eacca
--- /dev/null
+++ b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/HostEndpointSettings.java
@@ -0,0 +1,128 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.servicefabricmanagedclusters.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;
+
+/**
+ * Specifies particular host endpoint settings.
+ */
+@Fluent
+public final class HostEndpointSettings implements JsonSerializable {
+ /*
+ * Specifies the execution mode. In Audit mode, the system acts as if it is enforcing the access control policy,
+ * including emitting access denial entries in the logs but it does not actually deny any requests to host
+ * endpoints. In Enforce mode, the system will enforce the access control and it is the recommended mode of
+ * operation.
+ */
+ private String mode;
+
+ /*
+ * Specifies the InVMAccessControlProfileVersion resource id in the format of
+ * /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/providers/Microsoft.Compute/galleries/{
+ * galleryName}/inVMAccessControlProfiles/{profile}/versions/{version}
+ */
+ private String inVMAccessControlProfileReferenceId;
+
+ /**
+ * Creates an instance of HostEndpointSettings class.
+ */
+ public HostEndpointSettings() {
+ }
+
+ /**
+ * Get the mode property: Specifies the execution mode. In Audit mode, the system acts as if it is enforcing the
+ * access control policy, including emitting access denial entries in the logs but it does not actually deny any
+ * requests to host endpoints. In Enforce mode, the system will enforce the access control and it is the recommended
+ * mode of operation.
+ *
+ * @return the mode value.
+ */
+ public String mode() {
+ return this.mode;
+ }
+
+ /**
+ * Set the mode property: Specifies the execution mode. In Audit mode, the system acts as if it is enforcing the
+ * access control policy, including emitting access denial entries in the logs but it does not actually deny any
+ * requests to host endpoints. In Enforce mode, the system will enforce the access control and it is the recommended
+ * mode of operation.
+ *
+ * @param mode the mode value to set.
+ * @return the HostEndpointSettings object itself.
+ */
+ public HostEndpointSettings withMode(String mode) {
+ this.mode = mode;
+ return this;
+ }
+
+ /**
+ * Get the inVMAccessControlProfileReferenceId property: Specifies the InVMAccessControlProfileVersion resource id
+ * in the format of
+ * /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/inVMAccessControlProfiles/{profile}/versions/{version}.
+ *
+ * @return the inVMAccessControlProfileReferenceId value.
+ */
+ public String inVMAccessControlProfileReferenceId() {
+ return this.inVMAccessControlProfileReferenceId;
+ }
+
+ /**
+ * Set the inVMAccessControlProfileReferenceId property: Specifies the InVMAccessControlProfileVersion resource id
+ * in the format of
+ * /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/inVMAccessControlProfiles/{profile}/versions/{version}.
+ *
+ * @param inVMAccessControlProfileReferenceId the inVMAccessControlProfileReferenceId value to set.
+ * @return the HostEndpointSettings object itself.
+ */
+ public HostEndpointSettings withInVMAccessControlProfileReferenceId(String inVMAccessControlProfileReferenceId) {
+ this.inVMAccessControlProfileReferenceId = inVMAccessControlProfileReferenceId;
+ return this;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ @Override
+ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
+ jsonWriter.writeStartObject();
+ jsonWriter.writeStringField("mode", this.mode);
+ jsonWriter.writeStringField("inVMAccessControlProfileReferenceId", this.inVMAccessControlProfileReferenceId);
+ return jsonWriter.writeEndObject();
+ }
+
+ /**
+ * Reads an instance of HostEndpointSettings from the JsonReader.
+ *
+ * @param jsonReader The JsonReader being read.
+ * @return An instance of HostEndpointSettings 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 HostEndpointSettings.
+ */
+ public static HostEndpointSettings fromJson(JsonReader jsonReader) throws IOException {
+ return jsonReader.readObject(reader -> {
+ HostEndpointSettings deserializedHostEndpointSettings = new HostEndpointSettings();
+ while (reader.nextToken() != JsonToken.END_OBJECT) {
+ String fieldName = reader.getFieldName();
+ reader.nextToken();
+
+ if ("mode".equals(fieldName)) {
+ deserializedHostEndpointSettings.mode = reader.getString();
+ } else if ("inVMAccessControlProfileReferenceId".equals(fieldName)) {
+ deserializedHostEndpointSettings.inVMAccessControlProfileReferenceId = reader.getString();
+ } else {
+ reader.skipChildren();
+ }
+ }
+
+ return deserializedHostEndpointSettings;
+ });
+ }
+}
diff --git a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/ManagedApplyMaintenanceWindows.java b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/ManagedApplyMaintenanceWindows.java
index 526f82dc7f65..21fab2d7abba 100644
--- a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/ManagedApplyMaintenanceWindows.java
+++ b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/ManagedApplyMaintenanceWindows.java
@@ -12,22 +12,22 @@
*/
public interface ManagedApplyMaintenanceWindows {
/**
- * Action to Apply Maintenance window on the Service Fabric Managed Clusters, right now. Any pending update will be
- * applied.
+ * Action to Apply Maintenance window on the Service Fabric Managed Clusters. Any pending update will be applied.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param clusterName The name of the cluster resource.
+ * @param body The content of the action request.
* @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 postWithResponse(String resourceGroupName, String clusterName, Context context);
+ Response postWithResponse(String resourceGroupName, String clusterName, ApplyMaintenanceWindowRequest body,
+ Context context);
/**
- * Action to Apply Maintenance window on the Service Fabric Managed Clusters, right now. Any pending update will be
- * applied.
+ * Action to Apply Maintenance window on the Service Fabric Managed Clusters. Any pending update will be applied.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param clusterName The name of the cluster resource.
diff --git a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/ManagedCluster.java b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/ManagedCluster.java
index ce9ffa73b261..894fbaf836e7 100644
--- a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/ManagedCluster.java
+++ b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/ManagedCluster.java
@@ -4,6 +4,8 @@
package com.azure.resourcemanager.servicefabricmanagedclusters.models;
+import com.azure.core.http.rest.PagedIterable;
+import com.azure.core.http.rest.Response;
import com.azure.core.management.Region;
import com.azure.core.management.SystemData;
import com.azure.core.util.Context;
@@ -1173,4 +1175,93 @@ interface WithTags {
* @return the refreshed resource.
*/
ManagedCluster refresh(Context context);
+
+ /**
+ * Gets a fault simulation by the simulationId.
+ *
+ * @param parameters parameter with fault simulation 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 fault simulation by the simulationId along with {@link Response}.
+ */
+ Response getFaultSimulationWithResponse(FaultSimulationIdContent parameters, Context context);
+
+ /**
+ * Gets a fault simulation by the simulationId.
+ *
+ * @param parameters parameter with fault simulation 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 fault simulation by the simulationId.
+ */
+ FaultSimulation getFaultSimulation(FaultSimulationIdContent parameters);
+
+ /**
+ * Gets the list of recent fault simulations for the cluster.
+ *
+ * @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 list of recent fault simulations for the cluster as paginated response with {@link PagedIterable}.
+ */
+ PagedIterable listFaultSimulation();
+
+ /**
+ * Gets the list of recent fault simulations for the cluster.
+ *
+ * @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 list of recent fault simulations for the cluster as paginated response with {@link PagedIterable}.
+ */
+ PagedIterable listFaultSimulation(Context context);
+
+ /**
+ * Starts a fault simulation on the cluster.
+ *
+ * @param parameters parameters describing the fault simulation.
+ * @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.
+ */
+ FaultSimulation startFaultSimulation(FaultSimulationContentWrapper parameters);
+
+ /**
+ * Starts a fault simulation on the cluster.
+ *
+ * @param parameters parameters describing the fault simulation.
+ * @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.
+ */
+ FaultSimulation startFaultSimulation(FaultSimulationContentWrapper parameters, Context context);
+
+ /**
+ * Stops a fault simulation on the cluster.
+ *
+ * @param parameters parameter with fault simulation 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 the response.
+ */
+ FaultSimulation stopFaultSimulation(FaultSimulationIdContent parameters);
+
+ /**
+ * Stops a fault simulation on the cluster.
+ *
+ * @param parameters parameter with fault simulation 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 response.
+ */
+ FaultSimulation stopFaultSimulation(FaultSimulationIdContent parameters, Context context);
}
diff --git a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/ManagedClusters.java b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/ManagedClusters.java
index 42b9c78fe427..6bb8275aad43 100644
--- a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/ManagedClusters.java
+++ b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/ManagedClusters.java
@@ -112,6 +112,118 @@ Response getByResourceGroupWithResponse(String resourceGroupName
*/
PagedIterable list(Context context);
+ /**
+ * Gets a fault simulation by the simulationId.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the cluster resource.
+ * @param parameters parameter with fault simulation 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 fault simulation by the simulationId along with {@link Response}.
+ */
+ Response getFaultSimulationWithResponse(String resourceGroupName, String clusterName,
+ FaultSimulationIdContent parameters, Context context);
+
+ /**
+ * Gets a fault simulation by the simulationId.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the cluster resource.
+ * @param parameters parameter with fault simulation 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 fault simulation by the simulationId.
+ */
+ FaultSimulation getFaultSimulation(String resourceGroupName, String clusterName,
+ FaultSimulationIdContent parameters);
+
+ /**
+ * Gets the list of recent fault simulations for the cluster.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the cluster resource.
+ * @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 list of recent fault simulations for the cluster as paginated response with {@link PagedIterable}.
+ */
+ PagedIterable listFaultSimulation(String resourceGroupName, String clusterName);
+
+ /**
+ * Gets the list of recent fault simulations for the cluster.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the cluster resource.
+ * @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 list of recent fault simulations for the cluster as paginated response with {@link PagedIterable}.
+ */
+ PagedIterable listFaultSimulation(String resourceGroupName, String clusterName, Context context);
+
+ /**
+ * Starts a fault simulation on the cluster.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the cluster resource.
+ * @param parameters parameters describing the fault simulation.
+ * @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.
+ */
+ FaultSimulation startFaultSimulation(String resourceGroupName, String clusterName,
+ FaultSimulationContentWrapper parameters);
+
+ /**
+ * Starts a fault simulation on the cluster.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the cluster resource.
+ * @param parameters parameters describing the fault simulation.
+ * @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.
+ */
+ FaultSimulation startFaultSimulation(String resourceGroupName, String clusterName,
+ FaultSimulationContentWrapper parameters, Context context);
+
+ /**
+ * Stops a fault simulation on the cluster.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the cluster resource.
+ * @param parameters parameter with fault simulation 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 the response.
+ */
+ FaultSimulation stopFaultSimulation(String resourceGroupName, String clusterName,
+ FaultSimulationIdContent parameters);
+
+ /**
+ * Stops a fault simulation on the cluster.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the cluster resource.
+ * @param parameters parameter with fault simulation 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 response.
+ */
+ FaultSimulation stopFaultSimulation(String resourceGroupName, String clusterName,
+ FaultSimulationIdContent parameters, Context context);
+
/**
* Get a Service Fabric managed cluster resource created or in the process of being created in the specified
* resource group.
diff --git a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/ManagedUnsupportedVMSizes.java b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/ManagedUnsupportedVMSizes.java
index 4341bb7ed14b..b0a5df2c6733 100644
--- a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/ManagedUnsupportedVMSizes.java
+++ b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/ManagedUnsupportedVMSizes.java
@@ -15,7 +15,7 @@ public interface ManagedUnsupportedVMSizes {
/**
* Get unsupported vm size for Service Fabric Managed Clusters.
*
- * @param location The location for the cluster code versions. This is different from cluster location.
+ * @param location The location for the unsupported VM sizes. This is different from cluster location.
* @param vmSize VM Size name.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -28,7 +28,7 @@ public interface ManagedUnsupportedVMSizes {
/**
* Get unsupported vm size for Service Fabric Managed Clusters.
*
- * @param location The location for the cluster code versions. This is different from cluster location.
+ * @param location The location for the unsupported VM sizes. This is different from cluster location.
* @param vmSize VM Size name.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -40,7 +40,7 @@ public interface ManagedUnsupportedVMSizes {
/**
* Get the lists of unsupported vm sizes for Service Fabric Managed Clusters.
*
- * @param location The location for the cluster code versions. This is different from cluster location.
+ * @param location The location for the unsupported VM sizes. This is different from cluster location.
* @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.
@@ -52,7 +52,7 @@ public interface ManagedUnsupportedVMSizes {
/**
* Get the lists of unsupported vm sizes for Service Fabric Managed Clusters.
*
- * @param location The location for the cluster code versions. This is different from cluster location.
+ * @param location The location for the unsupported VM sizes. This is different from cluster location.
* @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.
diff --git a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/NodeType.java b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/NodeType.java
index 2adc9b651d72..44221969fd70 100644
--- a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/NodeType.java
+++ b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/NodeType.java
@@ -4,6 +4,8 @@
package com.azure.resourcemanager.servicefabricmanagedclusters.models;
+import com.azure.core.http.rest.PagedIterable;
+import com.azure.core.http.rest.Response;
import com.azure.core.management.SystemData;
import com.azure.core.util.Context;
import com.azure.resourcemanager.servicefabricmanagedclusters.fluent.models.NodeTypeInner;
@@ -490,6 +492,22 @@ public interface NodeType {
*/
Boolean enableResilientEphemeralOsDisk();
+ /**
+ * Gets the scaleInPolicy property: Specifies the scale in policy for the node type, which will be used when scale
+ * in happens on the cluster. If not specified, the default is Default which means the platform will decide which
+ * nodes to remove during scale in.
+ *
+ * @return the scaleInPolicy value.
+ */
+ ScaleInPolicy scaleInPolicy();
+
+ /**
+ * Gets the proxyAgentSettings property: Specifies the settings for the proxy agent on the node type.
+ *
+ * @return the proxyAgentSettings value.
+ */
+ ProxyAgentSettings proxyAgentSettings();
+
/**
* Gets the name of the resource group.
*
@@ -562,7 +580,8 @@ interface WithCreate extends DefinitionStages.WithTags, DefinitionStages.WithSku
DefinitionStages.WithServiceArtifactReferenceId, DefinitionStages.WithDscpConfigurationId,
DefinitionStages.WithAdditionalNetworkInterfaceConfigurations, DefinitionStages.WithComputerNamePrefix,
DefinitionStages.WithVmApplications, DefinitionStages.WithZoneBalance, DefinitionStages.WithIsOutboundOnly,
- DefinitionStages.WithEnableResilientEphemeralOsDisk {
+ DefinitionStages.WithEnableResilientEphemeralOsDisk, DefinitionStages.WithScaleInPolicy,
+ DefinitionStages.WithProxyAgentSettings {
/**
* Executes the create request.
*
@@ -1416,6 +1435,36 @@ interface WithEnableResilientEphemeralOsDisk {
*/
WithCreate withEnableResilientEphemeralOsDisk(Boolean enableResilientEphemeralOsDisk);
}
+
+ /**
+ * The stage of the NodeType definition allowing to specify scaleInPolicy.
+ */
+ interface WithScaleInPolicy {
+ /**
+ * Specifies the scaleInPolicy property: Specifies the scale in policy for the node type, which will be used
+ * when scale in happens on the cluster. If not specified, the default is Default which means the platform
+ * will decide which nodes to remove during scale in..
+ *
+ * @param scaleInPolicy Specifies the scale in policy for the node type, which will be used when scale in
+ * happens on the cluster. If not specified, the default is Default which means the platform will decide
+ * which nodes to remove during scale in.
+ * @return the next definition stage.
+ */
+ WithCreate withScaleInPolicy(ScaleInPolicy scaleInPolicy);
+ }
+
+ /**
+ * The stage of the NodeType definition allowing to specify proxyAgentSettings.
+ */
+ interface WithProxyAgentSettings {
+ /**
+ * Specifies the proxyAgentSettings property: Specifies the settings for the proxy agent on the node type..
+ *
+ * @param proxyAgentSettings Specifies the settings for the proxy agent on the node type.
+ * @return the next definition stage.
+ */
+ WithCreate withProxyAgentSettings(ProxyAgentSettings proxyAgentSettings);
+ }
}
/**
@@ -1628,4 +1677,93 @@ interface WithSku {
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
*/
void start(NodeTypeActionParameters parameters, Context context);
+
+ /**
+ * Starts a fault simulation on the node type.
+ *
+ * @param parameters parameters describing the fault simulation.
+ * @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.
+ */
+ FaultSimulation startFaultSimulation(FaultSimulationContentWrapper parameters);
+
+ /**
+ * Starts a fault simulation on the node type.
+ *
+ * @param parameters parameters describing the fault simulation.
+ * @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.
+ */
+ FaultSimulation startFaultSimulation(FaultSimulationContentWrapper parameters, Context context);
+
+ /**
+ * Stops a fault simulation on the node type.
+ *
+ * @param parameters parameter with fault simulation 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 the response.
+ */
+ FaultSimulation stopFaultSimulation(FaultSimulationIdContent parameters);
+
+ /**
+ * Stops a fault simulation on the node type.
+ *
+ * @param parameters parameter with fault simulation 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 response.
+ */
+ FaultSimulation stopFaultSimulation(FaultSimulationIdContent parameters, Context context);
+
+ /**
+ * Gets a fault simulation by the simulationId.
+ *
+ * @param parameters parameter with fault simulation 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 fault simulation by the simulationId along with {@link Response}.
+ */
+ Response getFaultSimulationWithResponse(FaultSimulationIdContent parameters, Context context);
+
+ /**
+ * Gets a fault simulation by the simulationId.
+ *
+ * @param parameters parameter with fault simulation 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 fault simulation by the simulationId.
+ */
+ FaultSimulation getFaultSimulation(FaultSimulationIdContent parameters);
+
+ /**
+ * Gets the list of recent fault simulations for the node type.
+ *
+ * @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 list of recent fault simulations for the node type as paginated response with {@link PagedIterable}.
+ */
+ PagedIterable listFaultSimulation();
+
+ /**
+ * Gets the list of recent fault simulations for the node type.
+ *
+ * @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 list of recent fault simulations for the node type as paginated response with {@link PagedIterable}.
+ */
+ PagedIterable listFaultSimulation(Context context);
}
diff --git a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/NodeTypeFaultSimulation.java b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/NodeTypeFaultSimulation.java
new file mode 100644
index 000000000000..d40b2fcbd10a
--- /dev/null
+++ b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/NodeTypeFaultSimulation.java
@@ -0,0 +1,127 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.servicefabricmanagedclusters.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;
+
+/**
+ * Node type fault simulation object with status.
+ */
+@Immutable
+public final class NodeTypeFaultSimulation implements JsonSerializable {
+ /*
+ * Node type name.
+ */
+ private String nodeTypeName;
+
+ /*
+ * Fault simulation status
+ */
+ private FaultSimulationStatus status;
+
+ /*
+ * Current or latest asynchronous operation identifier on the node type.
+ */
+ private String operationId;
+
+ /*
+ * Current or latest asynchronous operation status on the node type
+ */
+ private SfmcOperationStatus operationStatus;
+
+ /**
+ * Creates an instance of NodeTypeFaultSimulation class.
+ */
+ private NodeTypeFaultSimulation() {
+ }
+
+ /**
+ * Get the nodeTypeName property: Node type name.
+ *
+ * @return the nodeTypeName value.
+ */
+ public String nodeTypeName() {
+ return this.nodeTypeName;
+ }
+
+ /**
+ * Get the status property: Fault simulation status.
+ *
+ * @return the status value.
+ */
+ public FaultSimulationStatus status() {
+ return this.status;
+ }
+
+ /**
+ * Get the operationId property: Current or latest asynchronous operation identifier on the node type.
+ *
+ * @return the operationId value.
+ */
+ public String operationId() {
+ return this.operationId;
+ }
+
+ /**
+ * Get the operationStatus property: Current or latest asynchronous operation status on the node type.
+ *
+ * @return the operationStatus value.
+ */
+ public SfmcOperationStatus operationStatus() {
+ return this.operationStatus;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ @Override
+ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
+ jsonWriter.writeStartObject();
+ jsonWriter.writeStringField("nodeTypeName", this.nodeTypeName);
+ jsonWriter.writeStringField("status", this.status == null ? null : this.status.toString());
+ jsonWriter.writeStringField("operationId", this.operationId);
+ jsonWriter.writeStringField("operationStatus",
+ this.operationStatus == null ? null : this.operationStatus.toString());
+ return jsonWriter.writeEndObject();
+ }
+
+ /**
+ * Reads an instance of NodeTypeFaultSimulation from the JsonReader.
+ *
+ * @param jsonReader The JsonReader being read.
+ * @return An instance of NodeTypeFaultSimulation 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 NodeTypeFaultSimulation.
+ */
+ public static NodeTypeFaultSimulation fromJson(JsonReader jsonReader) throws IOException {
+ return jsonReader.readObject(reader -> {
+ NodeTypeFaultSimulation deserializedNodeTypeFaultSimulation = new NodeTypeFaultSimulation();
+ while (reader.nextToken() != JsonToken.END_OBJECT) {
+ String fieldName = reader.getFieldName();
+ reader.nextToken();
+
+ if ("nodeTypeName".equals(fieldName)) {
+ deserializedNodeTypeFaultSimulation.nodeTypeName = reader.getString();
+ } else if ("status".equals(fieldName)) {
+ deserializedNodeTypeFaultSimulation.status = FaultSimulationStatus.fromString(reader.getString());
+ } else if ("operationId".equals(fieldName)) {
+ deserializedNodeTypeFaultSimulation.operationId = reader.getString();
+ } else if ("operationStatus".equals(fieldName)) {
+ deserializedNodeTypeFaultSimulation.operationStatus
+ = SfmcOperationStatus.fromString(reader.getString());
+ } else {
+ reader.skipChildren();
+ }
+ }
+
+ return deserializedNodeTypeFaultSimulation;
+ });
+ }
+}
diff --git a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/NodeTypes.java b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/NodeTypes.java
index 9ef129a701fb..14866858614f 100644
--- a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/NodeTypes.java
+++ b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/NodeTypes.java
@@ -275,6 +275,128 @@ void restart(String resourceGroupName, String clusterName, String nodeTypeName,
void start(String resourceGroupName, String clusterName, String nodeTypeName, NodeTypeActionParameters parameters,
Context context);
+ /**
+ * Starts a fault simulation on the node type.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the cluster resource.
+ * @param nodeTypeName The name of the node type.
+ * @param parameters parameters describing the fault simulation.
+ * @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.
+ */
+ FaultSimulation startFaultSimulation(String resourceGroupName, String clusterName, String nodeTypeName,
+ FaultSimulationContentWrapper parameters);
+
+ /**
+ * Starts a fault simulation on the node type.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the cluster resource.
+ * @param nodeTypeName The name of the node type.
+ * @param parameters parameters describing the fault simulation.
+ * @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.
+ */
+ FaultSimulation startFaultSimulation(String resourceGroupName, String clusterName, String nodeTypeName,
+ FaultSimulationContentWrapper parameters, Context context);
+
+ /**
+ * Stops a fault simulation on the node type.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the cluster resource.
+ * @param nodeTypeName The name of the node type.
+ * @param parameters parameter with fault simulation 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 the response.
+ */
+ FaultSimulation stopFaultSimulation(String resourceGroupName, String clusterName, String nodeTypeName,
+ FaultSimulationIdContent parameters);
+
+ /**
+ * Stops a fault simulation on the node type.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the cluster resource.
+ * @param nodeTypeName The name of the node type.
+ * @param parameters parameter with fault simulation 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 response.
+ */
+ FaultSimulation stopFaultSimulation(String resourceGroupName, String clusterName, String nodeTypeName,
+ FaultSimulationIdContent parameters, Context context);
+
+ /**
+ * Gets a fault simulation by the simulationId.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the cluster resource.
+ * @param nodeTypeName The name of the node type.
+ * @param parameters parameter with fault simulation 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 fault simulation by the simulationId along with {@link Response}.
+ */
+ Response getFaultSimulationWithResponse(String resourceGroupName, String clusterName,
+ String nodeTypeName, FaultSimulationIdContent parameters, Context context);
+
+ /**
+ * Gets a fault simulation by the simulationId.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the cluster resource.
+ * @param nodeTypeName The name of the node type.
+ * @param parameters parameter with fault simulation 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 fault simulation by the simulationId.
+ */
+ FaultSimulation getFaultSimulation(String resourceGroupName, String clusterName, String nodeTypeName,
+ FaultSimulationIdContent parameters);
+
+ /**
+ * Gets the list of recent fault simulations for the node type.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the cluster resource.
+ * @param nodeTypeName The name of the node type.
+ * @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 list of recent fault simulations for the node type as paginated response with {@link PagedIterable}.
+ */
+ PagedIterable listFaultSimulation(String resourceGroupName, String clusterName,
+ String nodeTypeName);
+
+ /**
+ * Gets the list of recent fault simulations for the node type.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the cluster resource.
+ * @param nodeTypeName The name of the node type.
+ * @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 list of recent fault simulations for the node type as paginated response with {@link PagedIterable}.
+ */
+ PagedIterable listFaultSimulation(String resourceGroupName, String clusterName,
+ String nodeTypeName, Context context);
+
/**
* Get a Service Fabric node type of a given managed cluster.
*
diff --git a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/ProxyAgentSettings.java b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/ProxyAgentSettings.java
new file mode 100644
index 000000000000..8382958636e8
--- /dev/null
+++ b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/ProxyAgentSettings.java
@@ -0,0 +1,209 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.servicefabricmanagedclusters.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;
+
+/**
+ * Specifies ProxyAgent settings for the virtual machine or virtual machine scale set.
+ */
+@Fluent
+public final class ProxyAgentSettings implements JsonSerializable {
+ /*
+ * Specifies whether ProxyAgent feature should be enabled on the virtual machine or virtual machine scale set.
+ */
+ private Boolean enabled;
+
+ /*
+ * Increasing the value of this property allows users to reset the key used for securing communication channel
+ * between guest and host.
+ */
+ private Integer keyIncarnationId;
+
+ /*
+ * Specifies the Wire Server endpoint settings while creating the virtual machine or virtual machine scale set.
+ */
+ private HostEndpointSettings wireServer;
+
+ /*
+ * Specifies the IMDS endpoint settings while creating the virtual machine or virtual machine scale set.
+ */
+ private HostEndpointSettings imds;
+
+ /*
+ * Specify whether to implicitly install the ProxyAgent Extension. This option is currently applicable only for
+ * Linux Os.
+ */
+ private Boolean addProxyAgentExtension;
+
+ /**
+ * Creates an instance of ProxyAgentSettings class.
+ */
+ public ProxyAgentSettings() {
+ }
+
+ /**
+ * Get the enabled property: Specifies whether ProxyAgent feature should be enabled on the virtual machine or
+ * virtual machine scale set.
+ *
+ * @return the enabled value.
+ */
+ public Boolean enabled() {
+ return this.enabled;
+ }
+
+ /**
+ * Set the enabled property: Specifies whether ProxyAgent feature should be enabled on the virtual machine or
+ * virtual machine scale set.
+ *
+ * @param enabled the enabled value to set.
+ * @return the ProxyAgentSettings object itself.
+ */
+ public ProxyAgentSettings withEnabled(Boolean enabled) {
+ this.enabled = enabled;
+ return this;
+ }
+
+ /**
+ * Get the keyIncarnationId property: Increasing the value of this property allows users to reset the key used for
+ * securing communication channel between guest and host.
+ *
+ * @return the keyIncarnationId value.
+ */
+ public Integer keyIncarnationId() {
+ return this.keyIncarnationId;
+ }
+
+ /**
+ * Set the keyIncarnationId property: Increasing the value of this property allows users to reset the key used for
+ * securing communication channel between guest and host.
+ *
+ * @param keyIncarnationId the keyIncarnationId value to set.
+ * @return the ProxyAgentSettings object itself.
+ */
+ public ProxyAgentSettings withKeyIncarnationId(Integer keyIncarnationId) {
+ this.keyIncarnationId = keyIncarnationId;
+ return this;
+ }
+
+ /**
+ * Get the wireServer property: Specifies the Wire Server endpoint settings while creating the virtual machine or
+ * virtual machine scale set.
+ *
+ * @return the wireServer value.
+ */
+ public HostEndpointSettings wireServer() {
+ return this.wireServer;
+ }
+
+ /**
+ * Set the wireServer property: Specifies the Wire Server endpoint settings while creating the virtual machine or
+ * virtual machine scale set.
+ *
+ * @param wireServer the wireServer value to set.
+ * @return the ProxyAgentSettings object itself.
+ */
+ public ProxyAgentSettings withWireServer(HostEndpointSettings wireServer) {
+ this.wireServer = wireServer;
+ return this;
+ }
+
+ /**
+ * Get the imds property: Specifies the IMDS endpoint settings while creating the virtual machine or virtual machine
+ * scale set.
+ *
+ * @return the imds value.
+ */
+ public HostEndpointSettings imds() {
+ return this.imds;
+ }
+
+ /**
+ * Set the imds property: Specifies the IMDS endpoint settings while creating the virtual machine or virtual machine
+ * scale set.
+ *
+ * @param imds the imds value to set.
+ * @return the ProxyAgentSettings object itself.
+ */
+ public ProxyAgentSettings withImds(HostEndpointSettings imds) {
+ this.imds = imds;
+ return this;
+ }
+
+ /**
+ * Get the addProxyAgentExtension property: Specify whether to implicitly install the ProxyAgent Extension. This
+ * option is currently applicable only for Linux Os.
+ *
+ * @return the addProxyAgentExtension value.
+ */
+ public Boolean addProxyAgentExtension() {
+ return this.addProxyAgentExtension;
+ }
+
+ /**
+ * Set the addProxyAgentExtension property: Specify whether to implicitly install the ProxyAgent Extension. This
+ * option is currently applicable only for Linux Os.
+ *
+ * @param addProxyAgentExtension the addProxyAgentExtension value to set.
+ * @return the ProxyAgentSettings object itself.
+ */
+ public ProxyAgentSettings withAddProxyAgentExtension(Boolean addProxyAgentExtension) {
+ this.addProxyAgentExtension = addProxyAgentExtension;
+ return this;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ @Override
+ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
+ jsonWriter.writeStartObject();
+ jsonWriter.writeBooleanField("enabled", this.enabled);
+ jsonWriter.writeNumberField("keyIncarnationId", this.keyIncarnationId);
+ jsonWriter.writeJsonField("wireServer", this.wireServer);
+ jsonWriter.writeJsonField("imds", this.imds);
+ jsonWriter.writeBooleanField("addProxyAgentExtension", this.addProxyAgentExtension);
+ return jsonWriter.writeEndObject();
+ }
+
+ /**
+ * Reads an instance of ProxyAgentSettings from the JsonReader.
+ *
+ * @param jsonReader The JsonReader being read.
+ * @return An instance of ProxyAgentSettings 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 ProxyAgentSettings.
+ */
+ public static ProxyAgentSettings fromJson(JsonReader jsonReader) throws IOException {
+ return jsonReader.readObject(reader -> {
+ ProxyAgentSettings deserializedProxyAgentSettings = new ProxyAgentSettings();
+ while (reader.nextToken() != JsonToken.END_OBJECT) {
+ String fieldName = reader.getFieldName();
+ reader.nextToken();
+
+ if ("enabled".equals(fieldName)) {
+ deserializedProxyAgentSettings.enabled = reader.getNullable(JsonReader::getBoolean);
+ } else if ("keyIncarnationId".equals(fieldName)) {
+ deserializedProxyAgentSettings.keyIncarnationId = reader.getNullable(JsonReader::getInt);
+ } else if ("wireServer".equals(fieldName)) {
+ deserializedProxyAgentSettings.wireServer = HostEndpointSettings.fromJson(reader);
+ } else if ("imds".equals(fieldName)) {
+ deserializedProxyAgentSettings.imds = HostEndpointSettings.fromJson(reader);
+ } else if ("addProxyAgentExtension".equals(fieldName)) {
+ deserializedProxyAgentSettings.addProxyAgentExtension = reader.getNullable(JsonReader::getBoolean);
+ } else {
+ reader.skipChildren();
+ }
+ }
+
+ return deserializedProxyAgentSettings;
+ });
+ }
+}
diff --git a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/ScaleInPolicy.java b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/ScaleInPolicy.java
new file mode 100644
index 000000000000..d2c19b770512
--- /dev/null
+++ b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/ScaleInPolicy.java
@@ -0,0 +1,85 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.servicefabricmanagedclusters.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;
+
+/**
+ * Scale in policy for a node type. This is used to specify the mode for scale in operations on a node type.
+ */
+@Fluent
+public final class ScaleInPolicy implements JsonSerializable {
+ /*
+ * The scale in policy mode for a node type.
+ */
+ private ScaleInPolicyMode mode;
+
+ /**
+ * Creates an instance of ScaleInPolicy class.
+ */
+ public ScaleInPolicy() {
+ }
+
+ /**
+ * Get the mode property: The scale in policy mode for a node type.
+ *
+ * @return the mode value.
+ */
+ public ScaleInPolicyMode mode() {
+ return this.mode;
+ }
+
+ /**
+ * Set the mode property: The scale in policy mode for a node type.
+ *
+ * @param mode the mode value to set.
+ * @return the ScaleInPolicy object itself.
+ */
+ public ScaleInPolicy withMode(ScaleInPolicyMode mode) {
+ this.mode = mode;
+ return this;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ @Override
+ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
+ jsonWriter.writeStartObject();
+ jsonWriter.writeStringField("mode", this.mode == null ? null : this.mode.toString());
+ return jsonWriter.writeEndObject();
+ }
+
+ /**
+ * Reads an instance of ScaleInPolicy from the JsonReader.
+ *
+ * @param jsonReader The JsonReader being read.
+ * @return An instance of ScaleInPolicy 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 ScaleInPolicy.
+ */
+ public static ScaleInPolicy fromJson(JsonReader jsonReader) throws IOException {
+ return jsonReader.readObject(reader -> {
+ ScaleInPolicy deserializedScaleInPolicy = new ScaleInPolicy();
+ while (reader.nextToken() != JsonToken.END_OBJECT) {
+ String fieldName = reader.getFieldName();
+ reader.nextToken();
+
+ if ("mode".equals(fieldName)) {
+ deserializedScaleInPolicy.mode = ScaleInPolicyMode.fromString(reader.getString());
+ } else {
+ reader.skipChildren();
+ }
+ }
+
+ return deserializedScaleInPolicy;
+ });
+ }
+}
diff --git a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/ScaleInPolicyMode.java b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/ScaleInPolicyMode.java
new file mode 100644
index 000000000000..1580853ce964
--- /dev/null
+++ b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/ScaleInPolicyMode.java
@@ -0,0 +1,58 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.servicefabricmanagedclusters.models;
+
+import com.azure.core.util.ExpandableStringEnum;
+import java.util.Collection;
+
+/**
+ * Specifies the scale in policy mode for a node type.
+ */
+public final class ScaleInPolicyMode extends ExpandableStringEnum {
+ /**
+ * Default scale in policy mode where the system will choose which nodes to remove when scaling in.
+ */
+ public static final ScaleInPolicyMode DEFAULT = fromString("Default");
+
+ /**
+ * OldestNodeFirst scale in policy mode where the oldest node in the node type will be removed first when scaling
+ * in.
+ */
+ public static final ScaleInPolicyMode OLDEST_NODE_FIRST = fromString("OldestNodeFirst");
+
+ /**
+ * NewestNodeFirst scale in policy mode where the newest node in the node type will be removed first when scaling
+ * in.
+ */
+ public static final ScaleInPolicyMode NEWEST_NODE_FIRST = fromString("NewestNodeFirst");
+
+ /**
+ * Creates a new instance of ScaleInPolicyMode value.
+ *
+ * @deprecated Use the {@link #fromString(String)} factory method.
+ */
+ @Deprecated
+ public ScaleInPolicyMode() {
+ }
+
+ /**
+ * Creates or finds a ScaleInPolicyMode from its string representation.
+ *
+ * @param name a name to look for.
+ * @return the corresponding ScaleInPolicyMode.
+ */
+ public static ScaleInPolicyMode fromString(String name) {
+ return fromString(name, ScaleInPolicyMode.class);
+ }
+
+ /**
+ * Gets known ScaleInPolicyMode values.
+ *
+ * @return known ScaleInPolicyMode values.
+ */
+ public static Collection values() {
+ return values(ScaleInPolicyMode.class);
+ }
+}
diff --git a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/SfmcOperationStatus.java b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/SfmcOperationStatus.java
new file mode 100644
index 000000000000..63f1c0b87588
--- /dev/null
+++ b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/SfmcOperationStatus.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.servicefabricmanagedclusters.models;
+
+import com.azure.core.util.ExpandableStringEnum;
+import java.util.Collection;
+
+/**
+ * Sfmc operation status.
+ */
+public final class SfmcOperationStatus extends ExpandableStringEnum {
+ /**
+ * Operation created.
+ */
+ public static final SfmcOperationStatus CREATED = fromString("Created");
+
+ /**
+ * Operation started.
+ */
+ public static final SfmcOperationStatus STARTED = fromString("Started");
+
+ /**
+ * Operation succeeded.
+ */
+ public static final SfmcOperationStatus SUCCEEDED = fromString("Succeeded");
+
+ /**
+ * Operation failed.
+ */
+ public static final SfmcOperationStatus FAILED = fromString("Failed");
+
+ /**
+ * Operation aborted.
+ */
+ public static final SfmcOperationStatus ABORTED = fromString("Aborted");
+
+ /**
+ * Operation canceled.
+ */
+ public static final SfmcOperationStatus CANCELED = fromString("Canceled");
+
+ /**
+ * Creates a new instance of SfmcOperationStatus value.
+ *
+ * @deprecated Use the {@link #fromString(String)} factory method.
+ */
+ @Deprecated
+ public SfmcOperationStatus() {
+ }
+
+ /**
+ * Creates or finds a SfmcOperationStatus from its string representation.
+ *
+ * @param name a name to look for.
+ * @return the corresponding SfmcOperationStatus.
+ */
+ public static SfmcOperationStatus fromString(String name) {
+ return fromString(name, SfmcOperationStatus.class);
+ }
+
+ /**
+ * Gets known SfmcOperationStatus values.
+ *
+ * @return known SfmcOperationStatus values.
+ */
+ public static Collection values() {
+ return values(SfmcOperationStatus.class);
+ }
+}
diff --git a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/ZoneFaultSimulationContent.java b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/ZoneFaultSimulationContent.java
new file mode 100644
index 000000000000..c927135bc1d9
--- /dev/null
+++ b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/ZoneFaultSimulationContent.java
@@ -0,0 +1,128 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.servicefabricmanagedclusters.models;
+
+import com.azure.core.annotation.Fluent;
+import com.azure.json.JsonReader;
+import com.azure.json.JsonToken;
+import com.azure.json.JsonWriter;
+import java.io.IOException;
+import java.util.List;
+
+/**
+ * Parameters for Zone Fault Simulation action.
+ */
+@Fluent
+public final class ZoneFaultSimulationContent extends FaultSimulationContent {
+ /*
+ * The kind of fault to be simulated.
+ */
+ private FaultKind faultKind = FaultKind.ZONE;
+
+ /*
+ * Indicates the zones of the fault simulation.
+ */
+ private List zones;
+
+ /**
+ * Creates an instance of ZoneFaultSimulationContent class.
+ */
+ public ZoneFaultSimulationContent() {
+ }
+
+ /**
+ * Get the faultKind property: The kind of fault to be simulated.
+ *
+ * @return the faultKind value.
+ */
+ @Override
+ public FaultKind faultKind() {
+ return this.faultKind;
+ }
+
+ /**
+ * Get the zones property: Indicates the zones of the fault simulation.
+ *
+ * @return the zones value.
+ */
+ public List zones() {
+ return this.zones;
+ }
+
+ /**
+ * Set the zones property: Indicates the zones of the fault simulation.
+ *
+ * @param zones the zones value to set.
+ * @return the ZoneFaultSimulationContent object itself.
+ */
+ public ZoneFaultSimulationContent withZones(List zones) {
+ this.zones = zones;
+ return this;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ @Override
+ public ZoneFaultSimulationContent withForce(Boolean force) {
+ super.withForce(force);
+ return this;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ @Override
+ public ZoneFaultSimulationContent withConstraints(FaultSimulationConstraints constraints) {
+ super.withConstraints(constraints);
+ return this;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ @Override
+ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
+ jsonWriter.writeStartObject();
+ jsonWriter.writeBooleanField("force", force());
+ jsonWriter.writeJsonField("constraints", constraints());
+ jsonWriter.writeStringField("faultKind", this.faultKind == null ? null : this.faultKind.toString());
+ jsonWriter.writeArrayField("zones", this.zones, (writer, element) -> writer.writeString(element));
+ return jsonWriter.writeEndObject();
+ }
+
+ /**
+ * Reads an instance of ZoneFaultSimulationContent from the JsonReader.
+ *
+ * @param jsonReader The JsonReader being read.
+ * @return An instance of ZoneFaultSimulationContent 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 ZoneFaultSimulationContent.
+ */
+ public static ZoneFaultSimulationContent fromJson(JsonReader jsonReader) throws IOException {
+ return jsonReader.readObject(reader -> {
+ ZoneFaultSimulationContent deserializedZoneFaultSimulationContent = new ZoneFaultSimulationContent();
+ while (reader.nextToken() != JsonToken.END_OBJECT) {
+ String fieldName = reader.getFieldName();
+ reader.nextToken();
+
+ if ("force".equals(fieldName)) {
+ deserializedZoneFaultSimulationContent.withForce(reader.getNullable(JsonReader::getBoolean));
+ } else if ("constraints".equals(fieldName)) {
+ deserializedZoneFaultSimulationContent.withConstraints(FaultSimulationConstraints.fromJson(reader));
+ } else if ("faultKind".equals(fieldName)) {
+ deserializedZoneFaultSimulationContent.faultKind = FaultKind.fromString(reader.getString());
+ } else if ("zones".equals(fieldName)) {
+ List zones = reader.readArray(reader1 -> reader1.getString());
+ deserializedZoneFaultSimulationContent.zones = zones;
+ } else {
+ reader.skipChildren();
+ }
+ }
+
+ return deserializedZoneFaultSimulationContent;
+ });
+ }
+}
diff --git a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/main/resources/META-INF/azure-resourcemanager-servicefabricmanagedclusters_metadata.json b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/main/resources/META-INF/azure-resourcemanager-servicefabricmanagedclusters_metadata.json
index 8e8dc72a8ebe..0f1b4ca17f19 100644
--- a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/main/resources/META-INF/azure-resourcemanager-servicefabricmanagedclusters_metadata.json
+++ b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/main/resources/META-INF/azure-resourcemanager-servicefabricmanagedclusters_metadata.json
@@ -1 +1 @@
-{"flavor":"azure","apiVersions":{"Microsoft.ServiceFabric":"2026-02-01"},"crossLanguageDefinitions":{"com.azure.resourcemanager.servicefabricmanagedclusters.fluent.ApplicationTypeVersionsClient":"Microsoft.ServiceFabric.ApplicationTypeVersions","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.ApplicationTypeVersionsClient.beginCreateOrUpdate":"Microsoft.ServiceFabric.ApplicationTypeVersions.createOrUpdate","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.ApplicationTypeVersionsClient.beginDelete":"Microsoft.ServiceFabric.ApplicationTypeVersions.delete","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.ApplicationTypeVersionsClient.createOrUpdate":"Microsoft.ServiceFabric.ApplicationTypeVersions.createOrUpdate","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.ApplicationTypeVersionsClient.delete":"Microsoft.ServiceFabric.ApplicationTypeVersions.delete","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.ApplicationTypeVersionsClient.get":"Microsoft.ServiceFabric.ApplicationTypeVersions.get","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.ApplicationTypeVersionsClient.getWithResponse":"Microsoft.ServiceFabric.ApplicationTypeVersions.get","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.ApplicationTypeVersionsClient.listByApplicationTypes":"Microsoft.ServiceFabric.ApplicationTypeVersions.listByApplicationTypes","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.ApplicationTypeVersionsClient.update":"Microsoft.ServiceFabric.ApplicationTypeVersions.update","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.ApplicationTypeVersionsClient.updateWithResponse":"Microsoft.ServiceFabric.ApplicationTypeVersions.update","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.ApplicationTypesClient":"Microsoft.ServiceFabric.ApplicationTypes","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.ApplicationTypesClient.beginDelete":"Microsoft.ServiceFabric.ApplicationTypes.delete","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.ApplicationTypesClient.createOrUpdate":"Microsoft.ServiceFabric.ApplicationTypes.createOrUpdate","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.ApplicationTypesClient.createOrUpdateWithResponse":"Microsoft.ServiceFabric.ApplicationTypes.createOrUpdate","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.ApplicationTypesClient.delete":"Microsoft.ServiceFabric.ApplicationTypes.delete","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.ApplicationTypesClient.get":"Microsoft.ServiceFabric.ApplicationTypes.get","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.ApplicationTypesClient.getWithResponse":"Microsoft.ServiceFabric.ApplicationTypes.get","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.ApplicationTypesClient.list":"Microsoft.ServiceFabric.ApplicationTypes.list","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.ApplicationTypesClient.update":"Microsoft.ServiceFabric.ApplicationTypes.update","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.ApplicationTypesClient.updateWithResponse":"Microsoft.ServiceFabric.ApplicationTypes.update","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.ApplicationsClient":"Microsoft.ServiceFabric.Applications","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.ApplicationsClient.beginCreateOrUpdate":"Microsoft.ServiceFabric.Applications.createOrUpdate","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.ApplicationsClient.beginDelete":"Microsoft.ServiceFabric.Applications.delete","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.ApplicationsClient.beginFetchHealth":"Microsoft.ServiceFabric.Applications.fetchHealth","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.ApplicationsClient.beginReadUpgrade":"Microsoft.ServiceFabric.Applications.readUpgrade","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.ApplicationsClient.beginRestartDeployedCodePackage":"Microsoft.ServiceFabric.Applications.restartDeployedCodePackage","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.ApplicationsClient.beginResumeUpgrade":"Microsoft.ServiceFabric.Applications.resumeUpgrade","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.ApplicationsClient.beginStartRollback":"Microsoft.ServiceFabric.Applications.startRollback","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.ApplicationsClient.beginUpdate":"Microsoft.ServiceFabric.Applications.update","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.ApplicationsClient.beginUpdateUpgrade":"Microsoft.ServiceFabric.Applications.updateUpgrade","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.ApplicationsClient.createOrUpdate":"Microsoft.ServiceFabric.Applications.createOrUpdate","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.ApplicationsClient.delete":"Microsoft.ServiceFabric.Applications.delete","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.ApplicationsClient.fetchHealth":"Microsoft.ServiceFabric.Applications.fetchHealth","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.ApplicationsClient.get":"Microsoft.ServiceFabric.Applications.get","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.ApplicationsClient.getWithResponse":"Microsoft.ServiceFabric.Applications.get","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.ApplicationsClient.list":"Microsoft.ServiceFabric.Applications.list","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.ApplicationsClient.readUpgrade":"Microsoft.ServiceFabric.Applications.readUpgrade","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.ApplicationsClient.restartDeployedCodePackage":"Microsoft.ServiceFabric.Applications.restartDeployedCodePackage","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.ApplicationsClient.resumeUpgrade":"Microsoft.ServiceFabric.Applications.resumeUpgrade","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.ApplicationsClient.startRollback":"Microsoft.ServiceFabric.Applications.startRollback","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.ApplicationsClient.update":"Microsoft.ServiceFabric.Applications.update","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.ApplicationsClient.updateUpgrade":"Microsoft.ServiceFabric.Applications.updateUpgrade","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.ManagedApplyMaintenanceWindowsClient":"Microsoft.ServiceFabric.ManagedApplyMaintenanceWindow","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.ManagedApplyMaintenanceWindowsClient.post":"Microsoft.ServiceFabric.ManagedApplyMaintenanceWindow.post","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.ManagedApplyMaintenanceWindowsClient.postWithResponse":"Microsoft.ServiceFabric.ManagedApplyMaintenanceWindow.post","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.ManagedAzResiliencyStatusesClient":"Microsoft.ServiceFabric.ManagedAzResiliencyStatus","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.ManagedAzResiliencyStatusesClient.get":"Microsoft.ServiceFabric.ManagedAzResiliencyStatus.get","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.ManagedAzResiliencyStatusesClient.getWithResponse":"Microsoft.ServiceFabric.ManagedAzResiliencyStatus.get","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.ManagedClusterVersionsClient":"Microsoft.ServiceFabric.ManagedClusterVersion","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.ManagedClusterVersionsClient.get":"Microsoft.ServiceFabric.ManagedClusterVersion.get","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.ManagedClusterVersionsClient.getByEnvironment":"Microsoft.ServiceFabric.ManagedClusterVersion.getByEnvironment","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.ManagedClusterVersionsClient.getByEnvironmentWithResponse":"Microsoft.ServiceFabric.ManagedClusterVersion.getByEnvironment","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.ManagedClusterVersionsClient.getWithResponse":"Microsoft.ServiceFabric.ManagedClusterVersion.get","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.ManagedClusterVersionsClient.list":"Microsoft.ServiceFabric.ManagedClusterVersion.list","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.ManagedClusterVersionsClient.listByEnvironment":"Microsoft.ServiceFabric.ManagedClusterVersion.listByEnvironment","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.ManagedClusterVersionsClient.listByEnvironmentWithResponse":"Microsoft.ServiceFabric.ManagedClusterVersion.listByEnvironment","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.ManagedClusterVersionsClient.listWithResponse":"Microsoft.ServiceFabric.ManagedClusterVersion.list","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.ManagedClustersClient":"Microsoft.ServiceFabric.ManagedClusters","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.ManagedClustersClient.beginCreateOrUpdate":"Microsoft.ServiceFabric.ManagedClusters.createOrUpdate","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.ManagedClustersClient.beginDelete":"Microsoft.ServiceFabric.ManagedClusters.delete","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.ManagedClustersClient.beginUpdate":"Microsoft.ServiceFabric.ManagedClusters.update","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.ManagedClustersClient.createOrUpdate":"Microsoft.ServiceFabric.ManagedClusters.createOrUpdate","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.ManagedClustersClient.delete":"Microsoft.ServiceFabric.ManagedClusters.delete","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.ManagedClustersClient.getByResourceGroup":"Microsoft.ServiceFabric.ManagedClusters.get","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.ManagedClustersClient.getByResourceGroupWithResponse":"Microsoft.ServiceFabric.ManagedClusters.get","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.ManagedClustersClient.list":"Microsoft.ServiceFabric.ManagedClusters.listBySubscription","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.ManagedClustersClient.listByResourceGroup":"Microsoft.ServiceFabric.ManagedClusters.listByResourceGroup","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.ManagedClustersClient.update":"Microsoft.ServiceFabric.ManagedClusters.update","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.ManagedMaintenanceWindowStatusesClient":"Microsoft.ServiceFabric.ManagedMaintenanceWindowStatus","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.ManagedMaintenanceWindowStatusesClient.get":"Microsoft.ServiceFabric.ManagedMaintenanceWindowStatus.get","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.ManagedMaintenanceWindowStatusesClient.getWithResponse":"Microsoft.ServiceFabric.ManagedMaintenanceWindowStatus.get","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.ManagedUnsupportedVMSizesClient":"Microsoft.ServiceFabric.ManagedUnsupportedVMSizes","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.ManagedUnsupportedVMSizesClient.get":"Microsoft.ServiceFabric.ManagedUnsupportedVMSizes.get","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.ManagedUnsupportedVMSizesClient.getWithResponse":"Microsoft.ServiceFabric.ManagedUnsupportedVMSizes.get","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.ManagedUnsupportedVMSizesClient.list":"Microsoft.ServiceFabric.ManagedUnsupportedVMSizes.list","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.NodeTypeSkusClient":"Microsoft.ServiceFabric.NodeTypeSkus","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.NodeTypeSkusClient.list":"Microsoft.ServiceFabric.NodeTypeSkus.list","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.NodeTypesClient":"Microsoft.ServiceFabric.NodeTypes","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.NodeTypesClient.beginCreateOrUpdate":"Microsoft.ServiceFabric.NodeTypes.createOrUpdate","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.NodeTypesClient.beginDeallocate":"Microsoft.ServiceFabric.NodeTypes.deallocate","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.NodeTypesClient.beginDelete":"Microsoft.ServiceFabric.NodeTypes.delete","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.NodeTypesClient.beginDeleteNode":"Microsoft.ServiceFabric.NodeTypes.deleteNode","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.NodeTypesClient.beginRedeploy":"Microsoft.ServiceFabric.NodeTypes.redeploy","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.NodeTypesClient.beginReimage":"Microsoft.ServiceFabric.NodeTypes.reimage","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.NodeTypesClient.beginRestart":"Microsoft.ServiceFabric.NodeTypes.restart","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.NodeTypesClient.beginStart":"Microsoft.ServiceFabric.NodeTypes.start","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.NodeTypesClient.beginUpdate":"Microsoft.ServiceFabric.NodeTypes.update","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.NodeTypesClient.createOrUpdate":"Microsoft.ServiceFabric.NodeTypes.createOrUpdate","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.NodeTypesClient.deallocate":"Microsoft.ServiceFabric.NodeTypes.deallocate","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.NodeTypesClient.delete":"Microsoft.ServiceFabric.NodeTypes.delete","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.NodeTypesClient.deleteNode":"Microsoft.ServiceFabric.NodeTypes.deleteNode","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.NodeTypesClient.get":"Microsoft.ServiceFabric.NodeTypes.get","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.NodeTypesClient.getWithResponse":"Microsoft.ServiceFabric.NodeTypes.get","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.NodeTypesClient.listByManagedClusters":"Microsoft.ServiceFabric.NodeTypes.listByManagedClusters","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.NodeTypesClient.redeploy":"Microsoft.ServiceFabric.NodeTypes.redeploy","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.NodeTypesClient.reimage":"Microsoft.ServiceFabric.NodeTypes.reimage","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.NodeTypesClient.restart":"Microsoft.ServiceFabric.NodeTypes.restart","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.NodeTypesClient.start":"Microsoft.ServiceFabric.NodeTypes.start","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.NodeTypesClient.update":"Microsoft.ServiceFabric.NodeTypes.update","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.OperationsClient":"Microsoft.ServiceFabric.Operations","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.OperationsClient.list":"Microsoft.ServiceFabric.Operations.list","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.ServiceFabricManagedClustersMgmtClient":"Microsoft.ServiceFabric","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.ServicesClient":"Microsoft.ServiceFabric.Services","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.ServicesClient.beginCreateOrUpdate":"Microsoft.ServiceFabric.Services.createOrUpdate","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.ServicesClient.beginDelete":"Microsoft.ServiceFabric.Services.delete","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.ServicesClient.beginRestartReplica":"Microsoft.ServiceFabric.Services.restartReplica","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.ServicesClient.createOrUpdate":"Microsoft.ServiceFabric.Services.createOrUpdate","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.ServicesClient.delete":"Microsoft.ServiceFabric.Services.delete","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.ServicesClient.get":"Microsoft.ServiceFabric.Services.get","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.ServicesClient.getWithResponse":"Microsoft.ServiceFabric.Services.get","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.ServicesClient.listByApplications":"Microsoft.ServiceFabric.Services.listByApplications","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.ServicesClient.restartReplica":"Microsoft.ServiceFabric.Services.restartReplica","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.ServicesClient.update":"Microsoft.ServiceFabric.Services.update","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.ServicesClient.updateWithResponse":"Microsoft.ServiceFabric.Services.update","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.models.ApplicationResourceInner":"Microsoft.ServiceFabric.ApplicationResource","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.models.ApplicationResourceProperties":"Microsoft.ServiceFabric.ApplicationResourceProperties","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.models.ApplicationTypeResourceInner":"Microsoft.ServiceFabric.ApplicationTypeResource","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.models.ApplicationTypeResourceProperties":"Microsoft.ServiceFabric.ApplicationTypeResourceProperties","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.models.ApplicationTypeVersionResourceInner":"Microsoft.ServiceFabric.ApplicationTypeVersionResource","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.models.ApplicationTypeVersionResourceProperties":"Microsoft.ServiceFabric.ApplicationTypeVersionResourceProperties","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.models.ManagedAzResiliencyStatusInner":"Microsoft.ServiceFabric.ManagedAzResiliencyStatusContent","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.models.ManagedClusterCodeVersionResultInner":"Microsoft.ServiceFabric.ManagedClusterCodeVersionResult","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.models.ManagedClusterInner":"Microsoft.ServiceFabric.ManagedCluster","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.models.ManagedClusterProperties":"Microsoft.ServiceFabric.ManagedClusterProperties","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.models.ManagedClusterVersionDetails":"Microsoft.ServiceFabric.ManagedClusterVersionDetails","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.models.ManagedMaintenanceWindowStatusInner":"Microsoft.ServiceFabric.ManagedMaintenanceWindowStatusContent","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.models.ManagedVMSizeInner":"Microsoft.ServiceFabric.ManagedVMSize","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.models.NodeTypeAvailableSkuInner":"Microsoft.ServiceFabric.NodeTypeAvailableSku","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.models.NodeTypeInner":"Microsoft.ServiceFabric.NodeType","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.models.NodeTypeProperties":"Microsoft.ServiceFabric.NodeTypeProperties","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.models.OperationResultInner":"Microsoft.ServiceFabric.OperationResult","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.models.ServiceResourceInner":"Microsoft.ServiceFabric.ServiceResource","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.models.VMSSExtensionProperties":"Microsoft.ServiceFabric.VMSSExtensionProperties","com.azure.resourcemanager.servicefabricmanagedclusters.implementation.ServiceFabricManagedClustersMgmtClientBuilder":"Microsoft.ServiceFabric","com.azure.resourcemanager.servicefabricmanagedclusters.implementation.models.ApplicationResourceList":"Microsoft.ServiceFabric.ApplicationResourceList","com.azure.resourcemanager.servicefabricmanagedclusters.implementation.models.ApplicationTypeResourceList":"Microsoft.ServiceFabric.ApplicationTypeResourceList","com.azure.resourcemanager.servicefabricmanagedclusters.implementation.models.ApplicationTypeVersionResourceList":"Microsoft.ServiceFabric.ApplicationTypeVersionResourceList","com.azure.resourcemanager.servicefabricmanagedclusters.implementation.models.ManagedClusterListResult":"Azure.ResourceManager.ResourceListResult","com.azure.resourcemanager.servicefabricmanagedclusters.implementation.models.ManagedVMSizesResult":"Microsoft.ServiceFabric.ManagedVMSizesResult","com.azure.resourcemanager.servicefabricmanagedclusters.implementation.models.NodeTypeListResult":"Azure.ResourceManager.ResourceListResult","com.azure.resourcemanager.servicefabricmanagedclusters.implementation.models.NodeTypeListSkuResult":"Microsoft.ServiceFabric.NodeTypeListSkuResult","com.azure.resourcemanager.servicefabricmanagedclusters.implementation.models.OperationListResult":"Microsoft.ServiceFabric.OperationListResult","com.azure.resourcemanager.servicefabricmanagedclusters.implementation.models.ServiceResourceList":"Microsoft.ServiceFabric.ServiceResourceList","com.azure.resourcemanager.servicefabricmanagedclusters.models.Access":"Microsoft.ServiceFabric.Access","com.azure.resourcemanager.servicefabricmanagedclusters.models.AddRemoveIncrementalNamedPartitionScalingMechanism":"Microsoft.ServiceFabric.AddRemoveIncrementalNamedPartitionScalingMechanism","com.azure.resourcemanager.servicefabricmanagedclusters.models.AdditionalNetworkInterfaceConfiguration":"Microsoft.ServiceFabric.AdditionalNetworkInterfaceConfiguration","com.azure.resourcemanager.servicefabricmanagedclusters.models.ApplicationFetchHealthRequest":"Microsoft.ServiceFabric.ApplicationFetchHealthRequest","com.azure.resourcemanager.servicefabricmanagedclusters.models.ApplicationHealthPolicy":"Microsoft.ServiceFabric.ApplicationHealthPolicy","com.azure.resourcemanager.servicefabricmanagedclusters.models.ApplicationTypeUpdateParameters":"Microsoft.ServiceFabric.ApplicationTypeUpdateParameters","com.azure.resourcemanager.servicefabricmanagedclusters.models.ApplicationTypeVersionUpdateParameters":"Microsoft.ServiceFabric.ApplicationTypeVersionUpdateParameters","com.azure.resourcemanager.servicefabricmanagedclusters.models.ApplicationTypeVersionsCleanupPolicy":"Microsoft.ServiceFabric.ApplicationTypeVersionsCleanupPolicy","com.azure.resourcemanager.servicefabricmanagedclusters.models.ApplicationUpdateParameters":"Microsoft.ServiceFabric.ApplicationUpdateParameters","com.azure.resourcemanager.servicefabricmanagedclusters.models.ApplicationUpdateParametersProperties":"Microsoft.ServiceFabric.ApplicationUpdateParametersProperties","com.azure.resourcemanager.servicefabricmanagedclusters.models.ApplicationUpgradePolicy":"Microsoft.ServiceFabric.ApplicationUpgradePolicy","com.azure.resourcemanager.servicefabricmanagedclusters.models.ApplicationUserAssignedIdentity":"Microsoft.ServiceFabric.ApplicationUserAssignedIdentity","com.azure.resourcemanager.servicefabricmanagedclusters.models.AutoGeneratedDomainNameLabelScope":"Microsoft.ServiceFabric.AutoGeneratedDomainNameLabelScope","com.azure.resourcemanager.servicefabricmanagedclusters.models.AvailableOperationDisplay":"Microsoft.ServiceFabric.AvailableOperationDisplay","com.azure.resourcemanager.servicefabricmanagedclusters.models.AveragePartitionLoadScalingTrigger":"Microsoft.ServiceFabric.AveragePartitionLoadScalingTrigger","com.azure.resourcemanager.servicefabricmanagedclusters.models.AverageServiceLoadScalingTrigger":"Microsoft.ServiceFabric.AverageServiceLoadScalingTrigger","com.azure.resourcemanager.servicefabricmanagedclusters.models.AzureActiveDirectory":"Microsoft.ServiceFabric.AzureActiveDirectory","com.azure.resourcemanager.servicefabricmanagedclusters.models.ClientCertificate":"Microsoft.ServiceFabric.ClientCertificate","com.azure.resourcemanager.servicefabricmanagedclusters.models.ClusterHealthPolicy":"Microsoft.ServiceFabric.ClusterHealthPolicy","com.azure.resourcemanager.servicefabricmanagedclusters.models.ClusterMonitoringPolicy":"Microsoft.ServiceFabric.ClusterMonitoringPolicy","com.azure.resourcemanager.servicefabricmanagedclusters.models.ClusterState":"Microsoft.ServiceFabric.ClusterState","com.azure.resourcemanager.servicefabricmanagedclusters.models.ClusterUpgradeCadence":"Microsoft.ServiceFabric.ClusterUpgradeCadence","com.azure.resourcemanager.servicefabricmanagedclusters.models.ClusterUpgradeDeltaHealthPolicy":"Microsoft.ServiceFabric.ClusterUpgradeDeltaHealthPolicy","com.azure.resourcemanager.servicefabricmanagedclusters.models.ClusterUpgradeMode":"Microsoft.ServiceFabric.ClusterUpgradeMode","com.azure.resourcemanager.servicefabricmanagedclusters.models.ClusterUpgradePolicy":"Microsoft.ServiceFabric.ClusterUpgradePolicy","com.azure.resourcemanager.servicefabricmanagedclusters.models.Direction":"Microsoft.ServiceFabric.Direction","com.azure.resourcemanager.servicefabricmanagedclusters.models.DiskType":"Microsoft.ServiceFabric.DiskType","com.azure.resourcemanager.servicefabricmanagedclusters.models.EndpointRangeDescription":"Microsoft.ServiceFabric.EndpointRangeDescription","com.azure.resourcemanager.servicefabricmanagedclusters.models.EvictionPolicyType":"Microsoft.ServiceFabric.EvictionPolicyType","com.azure.resourcemanager.servicefabricmanagedclusters.models.FailureAction":"Microsoft.ServiceFabric.FailureAction","com.azure.resourcemanager.servicefabricmanagedclusters.models.FrontendConfiguration":"Microsoft.ServiceFabric.FrontendConfiguration","com.azure.resourcemanager.servicefabricmanagedclusters.models.HealthFilter":"Microsoft.ServiceFabric.HealthFilter","com.azure.resourcemanager.servicefabricmanagedclusters.models.IpAddressType":"Microsoft.ServiceFabric.IPAddressType","com.azure.resourcemanager.servicefabricmanagedclusters.models.IpConfiguration":"Microsoft.ServiceFabric.IpConfiguration","com.azure.resourcemanager.servicefabricmanagedclusters.models.IpConfigurationPublicIpAddressConfiguration":"Microsoft.ServiceFabric.PublicIPAddressConfiguration","com.azure.resourcemanager.servicefabricmanagedclusters.models.IpTag":"Microsoft.ServiceFabric.IpTag","com.azure.resourcemanager.servicefabricmanagedclusters.models.LoadBalancingRule":"Microsoft.ServiceFabric.LoadBalancingRule","com.azure.resourcemanager.servicefabricmanagedclusters.models.ManagedClusterAddOnFeature":"Microsoft.ServiceFabric.ManagedClusterAddOnFeature","com.azure.resourcemanager.servicefabricmanagedclusters.models.ManagedClusterUpdateParameters":"Microsoft.ServiceFabric.ManagedClusterUpdateParameters","com.azure.resourcemanager.servicefabricmanagedclusters.models.ManagedClusterVersionEnvironment":"Microsoft.ServiceFabric.ManagedClusterVersionEnvironment","com.azure.resourcemanager.servicefabricmanagedclusters.models.ManagedIdentity":"Microsoft.ServiceFabric.ManagedIdentity","com.azure.resourcemanager.servicefabricmanagedclusters.models.ManagedIdentityType":"Microsoft.ServiceFabric.ManagedIdentityType","com.azure.resourcemanager.servicefabricmanagedclusters.models.ManagedResourceProvisioningState":"Microsoft.ServiceFabric.ManagedResourceProvisioningState","com.azure.resourcemanager.servicefabricmanagedclusters.models.MoveCost":"Microsoft.ServiceFabric.MoveCost","com.azure.resourcemanager.servicefabricmanagedclusters.models.NamedPartitionScheme":"Microsoft.ServiceFabric.NamedPartitionScheme","com.azure.resourcemanager.servicefabricmanagedclusters.models.NetworkSecurityRule":"Microsoft.ServiceFabric.NetworkSecurityRule","com.azure.resourcemanager.servicefabricmanagedclusters.models.NodeTypeActionParameters":"Microsoft.ServiceFabric.NodeTypeActionParameters","com.azure.resourcemanager.servicefabricmanagedclusters.models.NodeTypeNatConfig":"Microsoft.ServiceFabric.NodeTypeNatConfig","com.azure.resourcemanager.servicefabricmanagedclusters.models.NodeTypeSku":"Microsoft.ServiceFabric.NodeTypeSku","com.azure.resourcemanager.servicefabricmanagedclusters.models.NodeTypeSkuCapacity":"Microsoft.ServiceFabric.NodeTypeSkuCapacity","com.azure.resourcemanager.servicefabricmanagedclusters.models.NodeTypeSkuScaleType":"Microsoft.ServiceFabric.NodeTypeSkuScaleType","com.azure.resourcemanager.servicefabricmanagedclusters.models.NodeTypeSupportedSku":"Microsoft.ServiceFabric.NodeTypeSupportedSku","com.azure.resourcemanager.servicefabricmanagedclusters.models.NodeTypeUpdateParameters":"Microsoft.ServiceFabric.NodeTypeUpdateParameters","com.azure.resourcemanager.servicefabricmanagedclusters.models.NsgProtocol":"Microsoft.ServiceFabric.NsgProtocol","com.azure.resourcemanager.servicefabricmanagedclusters.models.OsType":"Microsoft.ServiceFabric.OsType","com.azure.resourcemanager.servicefabricmanagedclusters.models.Partition":"Microsoft.ServiceFabric.Partition","com.azure.resourcemanager.servicefabricmanagedclusters.models.PartitionInstanceCountScaleMechanism":"Microsoft.ServiceFabric.PartitionInstanceCountScaleMechanism","com.azure.resourcemanager.servicefabricmanagedclusters.models.PartitionScheme":"Microsoft.ServiceFabric.PartitionScheme","com.azure.resourcemanager.servicefabricmanagedclusters.models.PrivateEndpointNetworkPolicies":"Microsoft.ServiceFabric.PrivateEndpointNetworkPolicies","com.azure.resourcemanager.servicefabricmanagedclusters.models.PrivateIpAddressVersion":"Microsoft.ServiceFabric.PrivateIPAddressVersion","com.azure.resourcemanager.servicefabricmanagedclusters.models.PrivateLinkServiceNetworkPolicies":"Microsoft.ServiceFabric.PrivateLinkServiceNetworkPolicies","com.azure.resourcemanager.servicefabricmanagedclusters.models.ProbeProtocol":"Microsoft.ServiceFabric.ProbeProtocol","com.azure.resourcemanager.servicefabricmanagedclusters.models.Protocol":"Microsoft.ServiceFabric.Protocol","com.azure.resourcemanager.servicefabricmanagedclusters.models.PublicIpAddressVersion":"Microsoft.ServiceFabric.PublicIPAddressVersion","com.azure.resourcemanager.servicefabricmanagedclusters.models.ResourceAzStatus":"Microsoft.ServiceFabric.ResourceAzStatus","com.azure.resourcemanager.servicefabricmanagedclusters.models.RestartDeployedCodePackageRequest":"Microsoft.ServiceFabric.RestartDeployedCodePackageRequest","com.azure.resourcemanager.servicefabricmanagedclusters.models.RestartKind":"Microsoft.ServiceFabric.RestartKind","com.azure.resourcemanager.servicefabricmanagedclusters.models.RestartReplicaRequest":"Microsoft.ServiceFabric.RestartReplicaRequest","com.azure.resourcemanager.servicefabricmanagedclusters.models.RollingUpgradeMode":"Microsoft.ServiceFabric.RollingUpgradeMode","com.azure.resourcemanager.servicefabricmanagedclusters.models.RollingUpgradeMonitoringPolicy":"Microsoft.ServiceFabric.RollingUpgradeMonitoringPolicy","com.azure.resourcemanager.servicefabricmanagedclusters.models.RuntimeApplicationHealthPolicy":"Microsoft.ServiceFabric.RuntimeApplicationHealthPolicy","com.azure.resourcemanager.servicefabricmanagedclusters.models.RuntimeFailureAction":"Microsoft.ServiceFabric.RuntimeFailureAction","com.azure.resourcemanager.servicefabricmanagedclusters.models.RuntimeResumeApplicationUpgradeParameters":"Microsoft.ServiceFabric.RuntimeResumeApplicationUpgradeParameters","com.azure.resourcemanager.servicefabricmanagedclusters.models.RuntimeRollingUpgradeMode":"Microsoft.ServiceFabric.RuntimeRollingUpgradeMode","com.azure.resourcemanager.servicefabricmanagedclusters.models.RuntimeRollingUpgradeUpdateMonitoringPolicy":"Microsoft.ServiceFabric.RuntimeRollingUpgradeUpdateMonitoringPolicy","com.azure.resourcemanager.servicefabricmanagedclusters.models.RuntimeServiceTypeHealthPolicy":"Microsoft.ServiceFabric.RuntimeServiceTypeHealthPolicy","com.azure.resourcemanager.servicefabricmanagedclusters.models.RuntimeUpdateApplicationUpgradeParameters":"Microsoft.ServiceFabric.RuntimeUpdateApplicationUpgradeParameters","com.azure.resourcemanager.servicefabricmanagedclusters.models.RuntimeUpgradeKind":"Microsoft.ServiceFabric.RuntimeUpgradeKind","com.azure.resourcemanager.servicefabricmanagedclusters.models.ScalingMechanism":"Microsoft.ServiceFabric.ScalingMechanism","com.azure.resourcemanager.servicefabricmanagedclusters.models.ScalingPolicy":"Microsoft.ServiceFabric.ScalingPolicy","com.azure.resourcemanager.servicefabricmanagedclusters.models.ScalingTrigger":"Microsoft.ServiceFabric.ScalingTrigger","com.azure.resourcemanager.servicefabricmanagedclusters.models.SecurityEncryptionType":"Microsoft.ServiceFabric.SecurityEncryptionType","com.azure.resourcemanager.servicefabricmanagedclusters.models.SecurityType":"Microsoft.ServiceFabric.SecurityType","com.azure.resourcemanager.servicefabricmanagedclusters.models.ServiceCorrelation":"Microsoft.ServiceFabric.ServiceCorrelation","com.azure.resourcemanager.servicefabricmanagedclusters.models.ServiceCorrelationScheme":"Microsoft.ServiceFabric.ServiceCorrelationScheme","com.azure.resourcemanager.servicefabricmanagedclusters.models.ServiceEndpoint":"Microsoft.ServiceFabric.ServiceEndpoint","com.azure.resourcemanager.servicefabricmanagedclusters.models.ServiceKind":"Microsoft.ServiceFabric.ServiceKind","com.azure.resourcemanager.servicefabricmanagedclusters.models.ServiceLoadMetric":"Microsoft.ServiceFabric.ServiceLoadMetric","com.azure.resourcemanager.servicefabricmanagedclusters.models.ServiceLoadMetricWeight":"Microsoft.ServiceFabric.ServiceLoadMetricWeight","com.azure.resourcemanager.servicefabricmanagedclusters.models.ServicePackageActivationMode":"Microsoft.ServiceFabric.ServicePackageActivationMode","com.azure.resourcemanager.servicefabricmanagedclusters.models.ServicePlacementInvalidDomainPolicy":"Microsoft.ServiceFabric.ServicePlacementInvalidDomainPolicy","com.azure.resourcemanager.servicefabricmanagedclusters.models.ServicePlacementNonPartiallyPlaceServicePolicy":"Microsoft.ServiceFabric.ServicePlacementNonPartiallyPlaceServicePolicy","com.azure.resourcemanager.servicefabricmanagedclusters.models.ServicePlacementPolicy":"Microsoft.ServiceFabric.ServicePlacementPolicy","com.azure.resourcemanager.servicefabricmanagedclusters.models.ServicePlacementPolicyType":"Microsoft.ServiceFabric.ServicePlacementPolicyType","com.azure.resourcemanager.servicefabricmanagedclusters.models.ServicePlacementPreferPrimaryDomainPolicy":"Microsoft.ServiceFabric.ServicePlacementPreferPrimaryDomainPolicy","com.azure.resourcemanager.servicefabricmanagedclusters.models.ServicePlacementRequireDomainDistributionPolicy":"Microsoft.ServiceFabric.ServicePlacementRequireDomainDistributionPolicy","com.azure.resourcemanager.servicefabricmanagedclusters.models.ServicePlacementRequiredDomainPolicy":"Microsoft.ServiceFabric.ServicePlacementRequiredDomainPolicy","com.azure.resourcemanager.servicefabricmanagedclusters.models.ServiceResourceProperties":"Microsoft.ServiceFabric.ServiceResourceProperties","com.azure.resourcemanager.servicefabricmanagedclusters.models.ServiceResourcePropertiesBase":"Microsoft.ServiceFabric.ServiceResourcePropertiesBase","com.azure.resourcemanager.servicefabricmanagedclusters.models.ServiceScalingMechanismKind":"Microsoft.ServiceFabric.ServiceScalingMechanismKind","com.azure.resourcemanager.servicefabricmanagedclusters.models.ServiceScalingTriggerKind":"Microsoft.ServiceFabric.ServiceScalingTriggerKind","com.azure.resourcemanager.servicefabricmanagedclusters.models.ServiceTypeHealthPolicy":"Microsoft.ServiceFabric.ServiceTypeHealthPolicy","com.azure.resourcemanager.servicefabricmanagedclusters.models.ServiceUpdateParameters":"Microsoft.ServiceFabric.ServiceUpdateParameters","com.azure.resourcemanager.servicefabricmanagedclusters.models.SettingsParameterDescription":"Microsoft.ServiceFabric.SettingsParameterDescription","com.azure.resourcemanager.servicefabricmanagedclusters.models.SettingsSectionDescription":"Microsoft.ServiceFabric.SettingsSectionDescription","com.azure.resourcemanager.servicefabricmanagedclusters.models.SingletonPartitionScheme":"Microsoft.ServiceFabric.SingletonPartitionScheme","com.azure.resourcemanager.servicefabricmanagedclusters.models.Sku":"Microsoft.ServiceFabric.Sku","com.azure.resourcemanager.servicefabricmanagedclusters.models.SkuName":"Microsoft.ServiceFabric.SkuName","com.azure.resourcemanager.servicefabricmanagedclusters.models.StatefulServiceProperties":"Microsoft.ServiceFabric.StatefulServiceProperties","com.azure.resourcemanager.servicefabricmanagedclusters.models.StatelessServiceProperties":"Microsoft.ServiceFabric.StatelessServiceProperties","com.azure.resourcemanager.servicefabricmanagedclusters.models.Subnet":"Microsoft.ServiceFabric.Subnet","com.azure.resourcemanager.servicefabricmanagedclusters.models.UniformInt64RangePartitionScheme":"Microsoft.ServiceFabric.UniformInt64RangePartitionScheme","com.azure.resourcemanager.servicefabricmanagedclusters.models.UpdateType":"Microsoft.ServiceFabric.UpdateType","com.azure.resourcemanager.servicefabricmanagedclusters.models.UserAssignedIdentity":"Microsoft.ServiceFabric.UserAssignedIdentity","com.azure.resourcemanager.servicefabricmanagedclusters.models.VMSize":"Microsoft.ServiceFabric.VMSize","com.azure.resourcemanager.servicefabricmanagedclusters.models.VaultCertificate":"Microsoft.ServiceFabric.VaultCertificate","com.azure.resourcemanager.servicefabricmanagedclusters.models.VaultSecretGroup":"Microsoft.ServiceFabric.VaultSecretGroup","com.azure.resourcemanager.servicefabricmanagedclusters.models.VmApplication":"Microsoft.ServiceFabric.VmApplication","com.azure.resourcemanager.servicefabricmanagedclusters.models.VmImagePlan":"Microsoft.ServiceFabric.VmImagePlan","com.azure.resourcemanager.servicefabricmanagedclusters.models.VmManagedIdentity":"Microsoft.ServiceFabric.VmManagedIdentity","com.azure.resourcemanager.servicefabricmanagedclusters.models.VmSetupAction":"Microsoft.ServiceFabric.VmSetupAction","com.azure.resourcemanager.servicefabricmanagedclusters.models.VmssDataDisk":"Microsoft.ServiceFabric.VmssDataDisk","com.azure.resourcemanager.servicefabricmanagedclusters.models.VmssExtension":"Microsoft.ServiceFabric.VMSSExtension","com.azure.resourcemanager.servicefabricmanagedclusters.models.VmssExtensionSetupOrder":"Microsoft.ServiceFabric.VmssExtensionSetupOrder","com.azure.resourcemanager.servicefabricmanagedclusters.models.ZonalUpdateMode":"Microsoft.ServiceFabric.ZonalUpdateMode"},"generatedFiles":["src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/ServiceFabricManagedClustersManager.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/fluent/ApplicationTypeVersionsClient.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/fluent/ApplicationTypesClient.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/fluent/ApplicationsClient.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/fluent/ManagedApplyMaintenanceWindowsClient.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/fluent/ManagedAzResiliencyStatusesClient.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/fluent/ManagedClusterVersionsClient.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/fluent/ManagedClustersClient.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/fluent/ManagedMaintenanceWindowStatusesClient.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/fluent/ManagedUnsupportedVMSizesClient.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/fluent/NodeTypeSkusClient.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/fluent/NodeTypesClient.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/fluent/OperationsClient.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/fluent/ServiceFabricManagedClustersMgmtClient.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/fluent/ServicesClient.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/fluent/models/ApplicationResourceInner.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/fluent/models/ApplicationResourceProperties.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/fluent/models/ApplicationTypeResourceInner.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/fluent/models/ApplicationTypeResourceProperties.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/fluent/models/ApplicationTypeVersionResourceInner.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/fluent/models/ApplicationTypeVersionResourceProperties.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/fluent/models/ManagedAzResiliencyStatusInner.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/fluent/models/ManagedClusterCodeVersionResultInner.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/fluent/models/ManagedClusterInner.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/fluent/models/ManagedClusterProperties.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/fluent/models/ManagedClusterVersionDetails.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/fluent/models/ManagedMaintenanceWindowStatusInner.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/fluent/models/ManagedVMSizeInner.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/fluent/models/NodeTypeAvailableSkuInner.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/fluent/models/NodeTypeInner.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/fluent/models/NodeTypeProperties.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/fluent/models/OperationResultInner.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/fluent/models/ServiceResourceInner.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/fluent/models/VMSSExtensionProperties.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/fluent/models/package-info.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/fluent/package-info.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/implementation/ApplicationResourceImpl.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/implementation/ApplicationTypeResourceImpl.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/implementation/ApplicationTypeVersionResourceImpl.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/implementation/ApplicationTypeVersionsClientImpl.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/implementation/ApplicationTypeVersionsImpl.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/implementation/ApplicationTypesClientImpl.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/implementation/ApplicationTypesImpl.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/implementation/ApplicationsClientImpl.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/implementation/ApplicationsImpl.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/implementation/ManagedApplyMaintenanceWindowsClientImpl.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/implementation/ManagedApplyMaintenanceWindowsImpl.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/implementation/ManagedAzResiliencyStatusImpl.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/implementation/ManagedAzResiliencyStatusesClientImpl.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/implementation/ManagedAzResiliencyStatusesImpl.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/implementation/ManagedClusterCodeVersionResultImpl.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/implementation/ManagedClusterImpl.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/implementation/ManagedClusterVersionsClientImpl.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/implementation/ManagedClusterVersionsImpl.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/implementation/ManagedClustersClientImpl.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/implementation/ManagedClustersImpl.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/implementation/ManagedMaintenanceWindowStatusImpl.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/implementation/ManagedMaintenanceWindowStatusesClientImpl.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/implementation/ManagedMaintenanceWindowStatusesImpl.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/implementation/ManagedUnsupportedVMSizesClientImpl.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/implementation/ManagedUnsupportedVMSizesImpl.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/implementation/ManagedVMSizeImpl.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/implementation/NodeTypeAvailableSkuImpl.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/implementation/NodeTypeImpl.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/implementation/NodeTypeSkusClientImpl.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/implementation/NodeTypeSkusImpl.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/implementation/NodeTypesClientImpl.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/implementation/NodeTypesImpl.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/implementation/OperationResultImpl.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/implementation/OperationsClientImpl.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/implementation/OperationsImpl.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/implementation/ResourceManagerUtils.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/implementation/ServiceFabricManagedClustersMgmtClientBuilder.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/implementation/ServiceFabricManagedClustersMgmtClientImpl.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/implementation/ServiceResourceImpl.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/implementation/ServicesClientImpl.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/implementation/ServicesImpl.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/implementation/models/ApplicationResourceList.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/implementation/models/ApplicationTypeResourceList.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/implementation/models/ApplicationTypeVersionResourceList.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/implementation/models/ManagedClusterListResult.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/implementation/models/ManagedVMSizesResult.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/implementation/models/NodeTypeListResult.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/implementation/models/NodeTypeListSkuResult.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/implementation/models/OperationListResult.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/implementation/models/ServiceResourceList.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/implementation/package-info.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/Access.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/AddRemoveIncrementalNamedPartitionScalingMechanism.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/AdditionalNetworkInterfaceConfiguration.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/ApplicationFetchHealthRequest.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/ApplicationHealthPolicy.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/ApplicationResource.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/ApplicationTypeResource.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/ApplicationTypeUpdateParameters.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/ApplicationTypeVersionResource.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/ApplicationTypeVersionUpdateParameters.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/ApplicationTypeVersions.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/ApplicationTypeVersionsCleanupPolicy.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/ApplicationTypes.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/ApplicationUpdateParameters.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/ApplicationUpdateParametersProperties.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/ApplicationUpgradePolicy.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/ApplicationUserAssignedIdentity.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/Applications.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/AutoGeneratedDomainNameLabelScope.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/AvailableOperationDisplay.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/AveragePartitionLoadScalingTrigger.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/AverageServiceLoadScalingTrigger.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/AzureActiveDirectory.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/ClientCertificate.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/ClusterHealthPolicy.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/ClusterMonitoringPolicy.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/ClusterState.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/ClusterUpgradeCadence.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/ClusterUpgradeDeltaHealthPolicy.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/ClusterUpgradeMode.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/ClusterUpgradePolicy.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/Direction.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/DiskType.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/EndpointRangeDescription.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/EvictionPolicyType.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/FailureAction.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/FrontendConfiguration.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/HealthFilter.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/IpAddressType.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/IpConfiguration.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/IpConfigurationPublicIpAddressConfiguration.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/IpTag.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/LoadBalancingRule.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/ManagedApplyMaintenanceWindows.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/ManagedAzResiliencyStatus.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/ManagedAzResiliencyStatuses.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/ManagedCluster.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/ManagedClusterAddOnFeature.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/ManagedClusterCodeVersionResult.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/ManagedClusterUpdateParameters.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/ManagedClusterVersionEnvironment.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/ManagedClusterVersions.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/ManagedClusters.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/ManagedIdentity.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/ManagedIdentityType.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/ManagedMaintenanceWindowStatus.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/ManagedMaintenanceWindowStatuses.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/ManagedResourceProvisioningState.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/ManagedUnsupportedVMSizes.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/ManagedVMSize.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/MoveCost.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/NamedPartitionScheme.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/NetworkSecurityRule.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/NodeType.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/NodeTypeActionParameters.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/NodeTypeAvailableSku.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/NodeTypeNatConfig.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/NodeTypeSku.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/NodeTypeSkuCapacity.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/NodeTypeSkuScaleType.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/NodeTypeSkus.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/NodeTypeSupportedSku.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/NodeTypeUpdateParameters.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/NodeTypes.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/NsgProtocol.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/OperationResult.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/Operations.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/OsType.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/Partition.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/PartitionInstanceCountScaleMechanism.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/PartitionScheme.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/PrivateEndpointNetworkPolicies.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/PrivateIpAddressVersion.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/PrivateLinkServiceNetworkPolicies.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/ProbeProtocol.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/Protocol.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/PublicIpAddressVersion.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/ResourceAzStatus.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/RestartDeployedCodePackageRequest.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/RestartKind.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/RestartReplicaRequest.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/RollingUpgradeMode.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/RollingUpgradeMonitoringPolicy.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/RuntimeApplicationHealthPolicy.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/RuntimeFailureAction.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/RuntimeResumeApplicationUpgradeParameters.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/RuntimeRollingUpgradeMode.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/RuntimeRollingUpgradeUpdateMonitoringPolicy.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/RuntimeServiceTypeHealthPolicy.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/RuntimeUpdateApplicationUpgradeParameters.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/RuntimeUpgradeKind.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/ScalingMechanism.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/ScalingPolicy.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/ScalingTrigger.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/SecurityEncryptionType.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/SecurityType.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/ServiceCorrelation.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/ServiceCorrelationScheme.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/ServiceEndpoint.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/ServiceKind.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/ServiceLoadMetric.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/ServiceLoadMetricWeight.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/ServicePackageActivationMode.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/ServicePlacementInvalidDomainPolicy.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/ServicePlacementNonPartiallyPlaceServicePolicy.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/ServicePlacementPolicy.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/ServicePlacementPolicyType.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/ServicePlacementPreferPrimaryDomainPolicy.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/ServicePlacementRequireDomainDistributionPolicy.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/ServicePlacementRequiredDomainPolicy.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/ServiceResource.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/ServiceResourceProperties.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/ServiceResourcePropertiesBase.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/ServiceScalingMechanismKind.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/ServiceScalingTriggerKind.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/ServiceTypeHealthPolicy.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/ServiceUpdateParameters.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/Services.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/SettingsParameterDescription.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/SettingsSectionDescription.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/SingletonPartitionScheme.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/Sku.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/SkuName.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/StatefulServiceProperties.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/StatelessServiceProperties.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/Subnet.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/UniformInt64RangePartitionScheme.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/UpdateType.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/UserAssignedIdentity.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/VMSize.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/VaultCertificate.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/VaultSecretGroup.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/VmApplication.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/VmImagePlan.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/VmManagedIdentity.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/VmSetupAction.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/VmssDataDisk.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/VmssExtension.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/VmssExtensionSetupOrder.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/ZonalUpdateMode.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/package-info.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/package-info.java","src/main/java/module-info.java"]}
\ No newline at end of file
+{"flavor":"azure","apiVersions":{"Microsoft.ServiceFabric":"2026-05-01-preview"},"crossLanguagePackageId":"Microsoft.ServiceFabric","crossLanguageVersion":"c14997994faa","crossLanguageDefinitions":{"com.azure.resourcemanager.servicefabricmanagedclusters.fluent.ApplicationTypeVersionsClient":"Microsoft.ServiceFabric.ApplicationTypeVersions","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.ApplicationTypeVersionsClient.beginCreateOrUpdate":"Microsoft.ServiceFabric.ApplicationTypeVersions.createOrUpdate","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.ApplicationTypeVersionsClient.beginDelete":"Microsoft.ServiceFabric.ApplicationTypeVersions.delete","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.ApplicationTypeVersionsClient.createOrUpdate":"Microsoft.ServiceFabric.ApplicationTypeVersions.createOrUpdate","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.ApplicationTypeVersionsClient.delete":"Microsoft.ServiceFabric.ApplicationTypeVersions.delete","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.ApplicationTypeVersionsClient.get":"Microsoft.ServiceFabric.ApplicationTypeVersions.get","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.ApplicationTypeVersionsClient.getWithResponse":"Microsoft.ServiceFabric.ApplicationTypeVersions.get","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.ApplicationTypeVersionsClient.listByApplicationTypes":"Microsoft.ServiceFabric.ApplicationTypeVersions.listByApplicationTypes","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.ApplicationTypeVersionsClient.update":"Microsoft.ServiceFabric.ApplicationTypeVersions.update","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.ApplicationTypeVersionsClient.updateWithResponse":"Microsoft.ServiceFabric.ApplicationTypeVersions.update","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.ApplicationTypesClient":"Microsoft.ServiceFabric.ApplicationTypes","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.ApplicationTypesClient.beginDelete":"Microsoft.ServiceFabric.ApplicationTypes.delete","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.ApplicationTypesClient.createOrUpdate":"Microsoft.ServiceFabric.ApplicationTypes.createOrUpdate","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.ApplicationTypesClient.createOrUpdateWithResponse":"Microsoft.ServiceFabric.ApplicationTypes.createOrUpdate","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.ApplicationTypesClient.delete":"Microsoft.ServiceFabric.ApplicationTypes.delete","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.ApplicationTypesClient.get":"Microsoft.ServiceFabric.ApplicationTypes.get","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.ApplicationTypesClient.getWithResponse":"Microsoft.ServiceFabric.ApplicationTypes.get","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.ApplicationTypesClient.list":"Microsoft.ServiceFabric.ApplicationTypes.list","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.ApplicationTypesClient.update":"Microsoft.ServiceFabric.ApplicationTypes.update","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.ApplicationTypesClient.updateWithResponse":"Microsoft.ServiceFabric.ApplicationTypes.update","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.ApplicationsClient":"Microsoft.ServiceFabric.Applications","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.ApplicationsClient.beginCreateOrUpdate":"Microsoft.ServiceFabric.Applications.createOrUpdate","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.ApplicationsClient.beginDelete":"Microsoft.ServiceFabric.Applications.delete","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.ApplicationsClient.beginFetchHealth":"Microsoft.ServiceFabric.Applications.fetchHealth","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.ApplicationsClient.beginReadUpgrade":"Microsoft.ServiceFabric.Applications.readUpgrade","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.ApplicationsClient.beginRestartDeployedCodePackage":"Microsoft.ServiceFabric.Applications.restartDeployedCodePackage","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.ApplicationsClient.beginResumeUpgrade":"Microsoft.ServiceFabric.Applications.resumeUpgrade","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.ApplicationsClient.beginStartRollback":"Microsoft.ServiceFabric.Applications.startRollback","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.ApplicationsClient.beginUpdate":"Microsoft.ServiceFabric.Applications.update","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.ApplicationsClient.beginUpdateUpgrade":"Microsoft.ServiceFabric.Applications.updateUpgrade","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.ApplicationsClient.createOrUpdate":"Microsoft.ServiceFabric.Applications.createOrUpdate","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.ApplicationsClient.delete":"Microsoft.ServiceFabric.Applications.delete","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.ApplicationsClient.fetchHealth":"Microsoft.ServiceFabric.Applications.fetchHealth","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.ApplicationsClient.get":"Microsoft.ServiceFabric.Applications.get","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.ApplicationsClient.getWithResponse":"Microsoft.ServiceFabric.Applications.get","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.ApplicationsClient.list":"Microsoft.ServiceFabric.Applications.list","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.ApplicationsClient.readUpgrade":"Microsoft.ServiceFabric.Applications.readUpgrade","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.ApplicationsClient.restartDeployedCodePackage":"Microsoft.ServiceFabric.Applications.restartDeployedCodePackage","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.ApplicationsClient.resumeUpgrade":"Microsoft.ServiceFabric.Applications.resumeUpgrade","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.ApplicationsClient.startRollback":"Microsoft.ServiceFabric.Applications.startRollback","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.ApplicationsClient.update":"Microsoft.ServiceFabric.Applications.update","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.ApplicationsClient.updateUpgrade":"Microsoft.ServiceFabric.Applications.updateUpgrade","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.ManagedApplyMaintenanceWindowsClient":"Microsoft.ServiceFabric.ManagedApplyMaintenanceWindow","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.ManagedApplyMaintenanceWindowsClient.post":"Microsoft.ServiceFabric.ManagedApplyMaintenanceWindow.post","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.ManagedApplyMaintenanceWindowsClient.postWithResponse":"Microsoft.ServiceFabric.ManagedApplyMaintenanceWindow.post","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.ManagedAzResiliencyStatusesClient":"Microsoft.ServiceFabric.ManagedAzResiliencyStatus","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.ManagedAzResiliencyStatusesClient.get":"Microsoft.ServiceFabric.ManagedAzResiliencyStatus.get","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.ManagedAzResiliencyStatusesClient.getWithResponse":"Microsoft.ServiceFabric.ManagedAzResiliencyStatus.get","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.ManagedClusterVersionsClient":"Microsoft.ServiceFabric.ManagedClusterVersion","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.ManagedClusterVersionsClient.get":"Microsoft.ServiceFabric.ManagedClusterVersion.get","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.ManagedClusterVersionsClient.getByEnvironment":"Microsoft.ServiceFabric.ManagedClusterVersion.getByEnvironment","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.ManagedClusterVersionsClient.getByEnvironmentWithResponse":"Microsoft.ServiceFabric.ManagedClusterVersion.getByEnvironment","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.ManagedClusterVersionsClient.getWithResponse":"Microsoft.ServiceFabric.ManagedClusterVersion.get","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.ManagedClusterVersionsClient.list":"Microsoft.ServiceFabric.ManagedClusterVersion.list","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.ManagedClusterVersionsClient.listByEnvironment":"Microsoft.ServiceFabric.ManagedClusterVersion.listByEnvironment","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.ManagedClusterVersionsClient.listByEnvironmentWithResponse":"Microsoft.ServiceFabric.ManagedClusterVersion.listByEnvironment","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.ManagedClusterVersionsClient.listWithResponse":"Microsoft.ServiceFabric.ManagedClusterVersion.list","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.ManagedClustersClient":"Microsoft.ServiceFabric.ManagedClusters","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.ManagedClustersClient.beginCreateOrUpdate":"Microsoft.ServiceFabric.ManagedClusters.createOrUpdate","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.ManagedClustersClient.beginDelete":"Microsoft.ServiceFabric.ManagedClusters.delete","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.ManagedClustersClient.beginStartFaultSimulation":"Microsoft.ServiceFabric.ManagedClusters.startFaultSimulation","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.ManagedClustersClient.beginStopFaultSimulation":"Microsoft.ServiceFabric.ManagedClusters.stopFaultSimulation","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.ManagedClustersClient.beginUpdate":"Microsoft.ServiceFabric.ManagedClusters.update","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.ManagedClustersClient.createOrUpdate":"Microsoft.ServiceFabric.ManagedClusters.createOrUpdate","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.ManagedClustersClient.delete":"Microsoft.ServiceFabric.ManagedClusters.delete","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.ManagedClustersClient.getByResourceGroup":"Microsoft.ServiceFabric.ManagedClusters.get","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.ManagedClustersClient.getByResourceGroupWithResponse":"Microsoft.ServiceFabric.ManagedClusters.get","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.ManagedClustersClient.getFaultSimulation":"Microsoft.ServiceFabric.ManagedClusters.getFaultSimulation","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.ManagedClustersClient.getFaultSimulationWithResponse":"Microsoft.ServiceFabric.ManagedClusters.getFaultSimulation","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.ManagedClustersClient.list":"Microsoft.ServiceFabric.ManagedClusters.listBySubscription","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.ManagedClustersClient.listByResourceGroup":"Microsoft.ServiceFabric.ManagedClusters.listByResourceGroup","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.ManagedClustersClient.listFaultSimulation":"Microsoft.ServiceFabric.ManagedClusters.listFaultSimulation","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.ManagedClustersClient.startFaultSimulation":"Microsoft.ServiceFabric.ManagedClusters.startFaultSimulation","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.ManagedClustersClient.stopFaultSimulation":"Microsoft.ServiceFabric.ManagedClusters.stopFaultSimulation","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.ManagedClustersClient.update":"Microsoft.ServiceFabric.ManagedClusters.update","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.ManagedMaintenanceWindowStatusesClient":"Microsoft.ServiceFabric.ManagedMaintenanceWindowStatus","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.ManagedMaintenanceWindowStatusesClient.get":"Microsoft.ServiceFabric.ManagedMaintenanceWindowStatus.get","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.ManagedMaintenanceWindowStatusesClient.getWithResponse":"Microsoft.ServiceFabric.ManagedMaintenanceWindowStatus.get","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.ManagedUnsupportedVMSizesClient":"Microsoft.ServiceFabric.ManagedUnsupportedVMSizes","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.ManagedUnsupportedVMSizesClient.get":"Microsoft.ServiceFabric.ManagedUnsupportedVMSizes.get","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.ManagedUnsupportedVMSizesClient.getWithResponse":"Microsoft.ServiceFabric.ManagedUnsupportedVMSizes.get","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.ManagedUnsupportedVMSizesClient.list":"Microsoft.ServiceFabric.ManagedUnsupportedVMSizes.list","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.NodeTypeSkusClient":"Microsoft.ServiceFabric.NodeTypeSkus","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.NodeTypeSkusClient.list":"Microsoft.ServiceFabric.NodeTypeSkus.list","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.NodeTypesClient":"Microsoft.ServiceFabric.NodeTypes","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.NodeTypesClient.beginCreateOrUpdate":"Microsoft.ServiceFabric.NodeTypes.createOrUpdate","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.NodeTypesClient.beginDeallocate":"Microsoft.ServiceFabric.NodeTypes.deallocate","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.NodeTypesClient.beginDelete":"Microsoft.ServiceFabric.NodeTypes.delete","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.NodeTypesClient.beginDeleteNode":"Microsoft.ServiceFabric.NodeTypes.deleteNode","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.NodeTypesClient.beginRedeploy":"Microsoft.ServiceFabric.NodeTypes.redeploy","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.NodeTypesClient.beginReimage":"Microsoft.ServiceFabric.NodeTypes.reimage","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.NodeTypesClient.beginRestart":"Microsoft.ServiceFabric.NodeTypes.restart","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.NodeTypesClient.beginStart":"Microsoft.ServiceFabric.NodeTypes.start","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.NodeTypesClient.beginStartFaultSimulation":"Microsoft.ServiceFabric.NodeTypes.startFaultSimulation","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.NodeTypesClient.beginStopFaultSimulation":"Microsoft.ServiceFabric.NodeTypes.stopFaultSimulation","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.NodeTypesClient.beginUpdate":"Microsoft.ServiceFabric.NodeTypes.update","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.NodeTypesClient.createOrUpdate":"Microsoft.ServiceFabric.NodeTypes.createOrUpdate","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.NodeTypesClient.deallocate":"Microsoft.ServiceFabric.NodeTypes.deallocate","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.NodeTypesClient.delete":"Microsoft.ServiceFabric.NodeTypes.delete","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.NodeTypesClient.deleteNode":"Microsoft.ServiceFabric.NodeTypes.deleteNode","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.NodeTypesClient.get":"Microsoft.ServiceFabric.NodeTypes.get","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.NodeTypesClient.getFaultSimulation":"Microsoft.ServiceFabric.NodeTypes.getFaultSimulation","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.NodeTypesClient.getFaultSimulationWithResponse":"Microsoft.ServiceFabric.NodeTypes.getFaultSimulation","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.NodeTypesClient.getWithResponse":"Microsoft.ServiceFabric.NodeTypes.get","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.NodeTypesClient.listByManagedClusters":"Microsoft.ServiceFabric.NodeTypes.listByManagedClusters","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.NodeTypesClient.listFaultSimulation":"Microsoft.ServiceFabric.NodeTypes.listFaultSimulation","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.NodeTypesClient.redeploy":"Microsoft.ServiceFabric.NodeTypes.redeploy","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.NodeTypesClient.reimage":"Microsoft.ServiceFabric.NodeTypes.reimage","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.NodeTypesClient.restart":"Microsoft.ServiceFabric.NodeTypes.restart","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.NodeTypesClient.start":"Microsoft.ServiceFabric.NodeTypes.start","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.NodeTypesClient.startFaultSimulation":"Microsoft.ServiceFabric.NodeTypes.startFaultSimulation","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.NodeTypesClient.stopFaultSimulation":"Microsoft.ServiceFabric.NodeTypes.stopFaultSimulation","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.NodeTypesClient.update":"Microsoft.ServiceFabric.NodeTypes.update","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.OperationsClient":"Microsoft.ServiceFabric.Operations","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.OperationsClient.list":"Microsoft.ServiceFabric.Operations.list","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.ServiceFabricManagedClustersMgmtClient":"Microsoft.ServiceFabric","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.ServicesClient":"Microsoft.ServiceFabric.Services","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.ServicesClient.beginCreateOrUpdate":"Microsoft.ServiceFabric.Services.createOrUpdate","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.ServicesClient.beginDelete":"Microsoft.ServiceFabric.Services.delete","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.ServicesClient.beginRestartReplica":"Microsoft.ServiceFabric.Services.restartReplica","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.ServicesClient.createOrUpdate":"Microsoft.ServiceFabric.Services.createOrUpdate","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.ServicesClient.delete":"Microsoft.ServiceFabric.Services.delete","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.ServicesClient.get":"Microsoft.ServiceFabric.Services.get","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.ServicesClient.getWithResponse":"Microsoft.ServiceFabric.Services.get","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.ServicesClient.listByApplications":"Microsoft.ServiceFabric.Services.listByApplications","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.ServicesClient.restartReplica":"Microsoft.ServiceFabric.Services.restartReplica","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.ServicesClient.update":"Microsoft.ServiceFabric.Services.update","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.ServicesClient.updateWithResponse":"Microsoft.ServiceFabric.Services.update","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.models.ApplicationResourceInner":"Microsoft.ServiceFabric.ApplicationResource","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.models.ApplicationResourceProperties":"Microsoft.ServiceFabric.ApplicationResourceProperties","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.models.ApplicationTypeResourceInner":"Microsoft.ServiceFabric.ApplicationTypeResource","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.models.ApplicationTypeResourceProperties":"Microsoft.ServiceFabric.ApplicationTypeResourceProperties","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.models.ApplicationTypeVersionResourceInner":"Microsoft.ServiceFabric.ApplicationTypeVersionResource","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.models.ApplicationTypeVersionResourceProperties":"Microsoft.ServiceFabric.ApplicationTypeVersionResourceProperties","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.models.FaultSimulationInner":"Microsoft.ServiceFabric.FaultSimulation","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.models.ManagedAzResiliencyStatusInner":"Microsoft.ServiceFabric.ManagedAzResiliencyStatusContent","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.models.ManagedClusterCodeVersionResultInner":"Microsoft.ServiceFabric.ManagedClusterCodeVersionResult","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.models.ManagedClusterInner":"Microsoft.ServiceFabric.ManagedCluster","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.models.ManagedClusterProperties":"Microsoft.ServiceFabric.ManagedClusterProperties","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.models.ManagedClusterVersionDetails":"Microsoft.ServiceFabric.ManagedClusterVersionDetails","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.models.ManagedMaintenanceWindowStatusInner":"Microsoft.ServiceFabric.ManagedMaintenanceWindowStatusContent","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.models.ManagedVMSizeInner":"Microsoft.ServiceFabric.ManagedVMSize","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.models.NodeTypeAvailableSkuInner":"Microsoft.ServiceFabric.NodeTypeAvailableSku","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.models.NodeTypeInner":"Microsoft.ServiceFabric.NodeType","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.models.NodeTypeProperties":"Microsoft.ServiceFabric.NodeTypeProperties","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.models.OperationResultInner":"Microsoft.ServiceFabric.OperationResult","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.models.ServiceResourceInner":"Microsoft.ServiceFabric.ServiceResource","com.azure.resourcemanager.servicefabricmanagedclusters.fluent.models.VMSSExtensionProperties":"Microsoft.ServiceFabric.VMSSExtensionProperties","com.azure.resourcemanager.servicefabricmanagedclusters.implementation.ServiceFabricManagedClustersMgmtClientBuilder":"Microsoft.ServiceFabric","com.azure.resourcemanager.servicefabricmanagedclusters.implementation.models.ApplicationResourceList":"Microsoft.ServiceFabric.ApplicationResourceList","com.azure.resourcemanager.servicefabricmanagedclusters.implementation.models.ApplicationTypeResourceList":"Microsoft.ServiceFabric.ApplicationTypeResourceList","com.azure.resourcemanager.servicefabricmanagedclusters.implementation.models.ApplicationTypeVersionResourceList":"Microsoft.ServiceFabric.ApplicationTypeVersionResourceList","com.azure.resourcemanager.servicefabricmanagedclusters.implementation.models.FaultSimulationListResult":"Microsoft.ServiceFabric.FaultSimulationListResult","com.azure.resourcemanager.servicefabricmanagedclusters.implementation.models.ManagedClusterListResult":"Azure.ResourceManager.ResourceListResult","com.azure.resourcemanager.servicefabricmanagedclusters.implementation.models.ManagedVMSizesResult":"Microsoft.ServiceFabric.ManagedVMSizesResult","com.azure.resourcemanager.servicefabricmanagedclusters.implementation.models.NodeTypeListResult":"Azure.ResourceManager.ResourceListResult","com.azure.resourcemanager.servicefabricmanagedclusters.implementation.models.NodeTypeListSkuResult":"Microsoft.ServiceFabric.NodeTypeListSkuResult","com.azure.resourcemanager.servicefabricmanagedclusters.implementation.models.OperationListResult":"Microsoft.ServiceFabric.OperationListResult","com.azure.resourcemanager.servicefabricmanagedclusters.implementation.models.ServiceResourceList":"Microsoft.ServiceFabric.ServiceResourceList","com.azure.resourcemanager.servicefabricmanagedclusters.models.Access":"Microsoft.ServiceFabric.Access","com.azure.resourcemanager.servicefabricmanagedclusters.models.AddRemoveIncrementalNamedPartitionScalingMechanism":"Microsoft.ServiceFabric.AddRemoveIncrementalNamedPartitionScalingMechanism","com.azure.resourcemanager.servicefabricmanagedclusters.models.AdditionalNetworkInterfaceConfiguration":"Microsoft.ServiceFabric.AdditionalNetworkInterfaceConfiguration","com.azure.resourcemanager.servicefabricmanagedclusters.models.ApplicationFetchHealthRequest":"Microsoft.ServiceFabric.ApplicationFetchHealthRequest","com.azure.resourcemanager.servicefabricmanagedclusters.models.ApplicationHealthPolicy":"Microsoft.ServiceFabric.ApplicationHealthPolicy","com.azure.resourcemanager.servicefabricmanagedclusters.models.ApplicationTypeUpdateParameters":"Microsoft.ServiceFabric.ApplicationTypeUpdateParameters","com.azure.resourcemanager.servicefabricmanagedclusters.models.ApplicationTypeVersionUpdateParameters":"Microsoft.ServiceFabric.ApplicationTypeVersionUpdateParameters","com.azure.resourcemanager.servicefabricmanagedclusters.models.ApplicationTypeVersionsCleanupPolicy":"Microsoft.ServiceFabric.ApplicationTypeVersionsCleanupPolicy","com.azure.resourcemanager.servicefabricmanagedclusters.models.ApplicationUpdateParameters":"Microsoft.ServiceFabric.ApplicationUpdateParameters","com.azure.resourcemanager.servicefabricmanagedclusters.models.ApplicationUpdateParametersProperties":"Microsoft.ServiceFabric.ApplicationUpdateParametersProperties","com.azure.resourcemanager.servicefabricmanagedclusters.models.ApplicationUpgradePolicy":"Microsoft.ServiceFabric.ApplicationUpgradePolicy","com.azure.resourcemanager.servicefabricmanagedclusters.models.ApplicationUserAssignedIdentity":"Microsoft.ServiceFabric.ApplicationUserAssignedIdentity","com.azure.resourcemanager.servicefabricmanagedclusters.models.ApplyMaintenanceWindowRequest":"Microsoft.ServiceFabric.ApplyMaintenanceWindowRequest","com.azure.resourcemanager.servicefabricmanagedclusters.models.AutoGeneratedDomainNameLabelScope":"Microsoft.ServiceFabric.AutoGeneratedDomainNameLabelScope","com.azure.resourcemanager.servicefabricmanagedclusters.models.AvailableOperationDisplay":"Microsoft.ServiceFabric.AvailableOperationDisplay","com.azure.resourcemanager.servicefabricmanagedclusters.models.AveragePartitionLoadScalingTrigger":"Microsoft.ServiceFabric.AveragePartitionLoadScalingTrigger","com.azure.resourcemanager.servicefabricmanagedclusters.models.AverageServiceLoadScalingTrigger":"Microsoft.ServiceFabric.AverageServiceLoadScalingTrigger","com.azure.resourcemanager.servicefabricmanagedclusters.models.AzureActiveDirectory":"Microsoft.ServiceFabric.AzureActiveDirectory","com.azure.resourcemanager.servicefabricmanagedclusters.models.ClientCertificate":"Microsoft.ServiceFabric.ClientCertificate","com.azure.resourcemanager.servicefabricmanagedclusters.models.ClusterHealthPolicy":"Microsoft.ServiceFabric.ClusterHealthPolicy","com.azure.resourcemanager.servicefabricmanagedclusters.models.ClusterMonitoringPolicy":"Microsoft.ServiceFabric.ClusterMonitoringPolicy","com.azure.resourcemanager.servicefabricmanagedclusters.models.ClusterState":"Microsoft.ServiceFabric.ClusterState","com.azure.resourcemanager.servicefabricmanagedclusters.models.ClusterUpgradeCadence":"Microsoft.ServiceFabric.ClusterUpgradeCadence","com.azure.resourcemanager.servicefabricmanagedclusters.models.ClusterUpgradeDeltaHealthPolicy":"Microsoft.ServiceFabric.ClusterUpgradeDeltaHealthPolicy","com.azure.resourcemanager.servicefabricmanagedclusters.models.ClusterUpgradeMode":"Microsoft.ServiceFabric.ClusterUpgradeMode","com.azure.resourcemanager.servicefabricmanagedclusters.models.ClusterUpgradePolicy":"Microsoft.ServiceFabric.ClusterUpgradePolicy","com.azure.resourcemanager.servicefabricmanagedclusters.models.Direction":"Microsoft.ServiceFabric.Direction","com.azure.resourcemanager.servicefabricmanagedclusters.models.DiskType":"Microsoft.ServiceFabric.DiskType","com.azure.resourcemanager.servicefabricmanagedclusters.models.EndpointRangeDescription":"Microsoft.ServiceFabric.EndpointRangeDescription","com.azure.resourcemanager.servicefabricmanagedclusters.models.EvictionPolicyType":"Microsoft.ServiceFabric.EvictionPolicyType","com.azure.resourcemanager.servicefabricmanagedclusters.models.FailureAction":"Microsoft.ServiceFabric.FailureAction","com.azure.resourcemanager.servicefabricmanagedclusters.models.FaultKind":"Microsoft.ServiceFabric.FaultKind","com.azure.resourcemanager.servicefabricmanagedclusters.models.FaultSimulationConstraints":"Microsoft.ServiceFabric.FaultSimulationConstraints","com.azure.resourcemanager.servicefabricmanagedclusters.models.FaultSimulationContent":"Microsoft.ServiceFabric.FaultSimulationContent","com.azure.resourcemanager.servicefabricmanagedclusters.models.FaultSimulationContentWrapper":"Microsoft.ServiceFabric.FaultSimulationContentWrapper","com.azure.resourcemanager.servicefabricmanagedclusters.models.FaultSimulationDetails":"Microsoft.ServiceFabric.FaultSimulationDetails","com.azure.resourcemanager.servicefabricmanagedclusters.models.FaultSimulationIdContent":"Microsoft.ServiceFabric.FaultSimulationIdContent","com.azure.resourcemanager.servicefabricmanagedclusters.models.FaultSimulationStatus":"Microsoft.ServiceFabric.FaultSimulationStatus","com.azure.resourcemanager.servicefabricmanagedclusters.models.FrontendConfiguration":"Microsoft.ServiceFabric.FrontendConfiguration","com.azure.resourcemanager.servicefabricmanagedclusters.models.HealthFilter":"Microsoft.ServiceFabric.HealthFilter","com.azure.resourcemanager.servicefabricmanagedclusters.models.HostEndpointSettings":"Microsoft.ServiceFabric.HostEndpointSettings","com.azure.resourcemanager.servicefabricmanagedclusters.models.IpAddressType":"Microsoft.ServiceFabric.IPAddressType","com.azure.resourcemanager.servicefabricmanagedclusters.models.IpConfiguration":"Microsoft.ServiceFabric.IpConfiguration","com.azure.resourcemanager.servicefabricmanagedclusters.models.IpConfigurationPublicIpAddressConfiguration":"Microsoft.ServiceFabric.PublicIPAddressConfiguration","com.azure.resourcemanager.servicefabricmanagedclusters.models.IpTag":"Microsoft.ServiceFabric.IpTag","com.azure.resourcemanager.servicefabricmanagedclusters.models.LoadBalancingRule":"Microsoft.ServiceFabric.LoadBalancingRule","com.azure.resourcemanager.servicefabricmanagedclusters.models.ManagedClusterAddOnFeature":"Microsoft.ServiceFabric.ManagedClusterAddOnFeature","com.azure.resourcemanager.servicefabricmanagedclusters.models.ManagedClusterUpdateParameters":"Microsoft.ServiceFabric.ManagedClusterUpdateParameters","com.azure.resourcemanager.servicefabricmanagedclusters.models.ManagedClusterVersionEnvironment":"Microsoft.ServiceFabric.ManagedClusterVersionEnvironment","com.azure.resourcemanager.servicefabricmanagedclusters.models.ManagedIdentity":"Microsoft.ServiceFabric.ManagedIdentity","com.azure.resourcemanager.servicefabricmanagedclusters.models.ManagedIdentityType":"Microsoft.ServiceFabric.ManagedIdentityType","com.azure.resourcemanager.servicefabricmanagedclusters.models.ManagedResourceProvisioningState":"Microsoft.ServiceFabric.ManagedResourceProvisioningState","com.azure.resourcemanager.servicefabricmanagedclusters.models.MoveCost":"Microsoft.ServiceFabric.MoveCost","com.azure.resourcemanager.servicefabricmanagedclusters.models.NamedPartitionScheme":"Microsoft.ServiceFabric.NamedPartitionScheme","com.azure.resourcemanager.servicefabricmanagedclusters.models.NetworkSecurityRule":"Microsoft.ServiceFabric.NetworkSecurityRule","com.azure.resourcemanager.servicefabricmanagedclusters.models.NodeTypeActionParameters":"Microsoft.ServiceFabric.NodeTypeActionParameters","com.azure.resourcemanager.servicefabricmanagedclusters.models.NodeTypeFaultSimulation":"Microsoft.ServiceFabric.NodeTypeFaultSimulation","com.azure.resourcemanager.servicefabricmanagedclusters.models.NodeTypeNatConfig":"Microsoft.ServiceFabric.NodeTypeNatConfig","com.azure.resourcemanager.servicefabricmanagedclusters.models.NodeTypeSku":"Microsoft.ServiceFabric.NodeTypeSku","com.azure.resourcemanager.servicefabricmanagedclusters.models.NodeTypeSkuCapacity":"Microsoft.ServiceFabric.NodeTypeSkuCapacity","com.azure.resourcemanager.servicefabricmanagedclusters.models.NodeTypeSkuScaleType":"Microsoft.ServiceFabric.NodeTypeSkuScaleType","com.azure.resourcemanager.servicefabricmanagedclusters.models.NodeTypeSupportedSku":"Microsoft.ServiceFabric.NodeTypeSupportedSku","com.azure.resourcemanager.servicefabricmanagedclusters.models.NodeTypeUpdateParameters":"Microsoft.ServiceFabric.NodeTypeUpdateParameters","com.azure.resourcemanager.servicefabricmanagedclusters.models.NsgProtocol":"Microsoft.ServiceFabric.NsgProtocol","com.azure.resourcemanager.servicefabricmanagedclusters.models.OsType":"Microsoft.ServiceFabric.OsType","com.azure.resourcemanager.servicefabricmanagedclusters.models.Partition":"Microsoft.ServiceFabric.Partition","com.azure.resourcemanager.servicefabricmanagedclusters.models.PartitionInstanceCountScaleMechanism":"Microsoft.ServiceFabric.PartitionInstanceCountScaleMechanism","com.azure.resourcemanager.servicefabricmanagedclusters.models.PartitionScheme":"Microsoft.ServiceFabric.PartitionScheme","com.azure.resourcemanager.servicefabricmanagedclusters.models.PrivateEndpointNetworkPolicies":"Microsoft.ServiceFabric.PrivateEndpointNetworkPolicies","com.azure.resourcemanager.servicefabricmanagedclusters.models.PrivateIpAddressVersion":"Microsoft.ServiceFabric.PrivateIPAddressVersion","com.azure.resourcemanager.servicefabricmanagedclusters.models.PrivateLinkServiceNetworkPolicies":"Microsoft.ServiceFabric.PrivateLinkServiceNetworkPolicies","com.azure.resourcemanager.servicefabricmanagedclusters.models.ProbeProtocol":"Microsoft.ServiceFabric.ProbeProtocol","com.azure.resourcemanager.servicefabricmanagedclusters.models.Protocol":"Microsoft.ServiceFabric.Protocol","com.azure.resourcemanager.servicefabricmanagedclusters.models.ProxyAgentSettings":"Microsoft.ServiceFabric.ProxyAgentSettings","com.azure.resourcemanager.servicefabricmanagedclusters.models.PublicIpAddressVersion":"Microsoft.ServiceFabric.PublicIPAddressVersion","com.azure.resourcemanager.servicefabricmanagedclusters.models.ResourceAzStatus":"Microsoft.ServiceFabric.ResourceAzStatus","com.azure.resourcemanager.servicefabricmanagedclusters.models.RestartDeployedCodePackageRequest":"Microsoft.ServiceFabric.RestartDeployedCodePackageRequest","com.azure.resourcemanager.servicefabricmanagedclusters.models.RestartKind":"Microsoft.ServiceFabric.RestartKind","com.azure.resourcemanager.servicefabricmanagedclusters.models.RestartReplicaRequest":"Microsoft.ServiceFabric.RestartReplicaRequest","com.azure.resourcemanager.servicefabricmanagedclusters.models.RollingUpgradeMode":"Microsoft.ServiceFabric.RollingUpgradeMode","com.azure.resourcemanager.servicefabricmanagedclusters.models.RollingUpgradeMonitoringPolicy":"Microsoft.ServiceFabric.RollingUpgradeMonitoringPolicy","com.azure.resourcemanager.servicefabricmanagedclusters.models.RuntimeApplicationHealthPolicy":"Microsoft.ServiceFabric.RuntimeApplicationHealthPolicy","com.azure.resourcemanager.servicefabricmanagedclusters.models.RuntimeFailureAction":"Microsoft.ServiceFabric.RuntimeFailureAction","com.azure.resourcemanager.servicefabricmanagedclusters.models.RuntimeResumeApplicationUpgradeParameters":"Microsoft.ServiceFabric.RuntimeResumeApplicationUpgradeParameters","com.azure.resourcemanager.servicefabricmanagedclusters.models.RuntimeRollingUpgradeMode":"Microsoft.ServiceFabric.RuntimeRollingUpgradeMode","com.azure.resourcemanager.servicefabricmanagedclusters.models.RuntimeRollingUpgradeUpdateMonitoringPolicy":"Microsoft.ServiceFabric.RuntimeRollingUpgradeUpdateMonitoringPolicy","com.azure.resourcemanager.servicefabricmanagedclusters.models.RuntimeServiceTypeHealthPolicy":"Microsoft.ServiceFabric.RuntimeServiceTypeHealthPolicy","com.azure.resourcemanager.servicefabricmanagedclusters.models.RuntimeUpdateApplicationUpgradeParameters":"Microsoft.ServiceFabric.RuntimeUpdateApplicationUpgradeParameters","com.azure.resourcemanager.servicefabricmanagedclusters.models.RuntimeUpgradeKind":"Microsoft.ServiceFabric.RuntimeUpgradeKind","com.azure.resourcemanager.servicefabricmanagedclusters.models.ScaleInPolicy":"Microsoft.ServiceFabric.ScaleInPolicy","com.azure.resourcemanager.servicefabricmanagedclusters.models.ScaleInPolicyMode":"Microsoft.ServiceFabric.ScaleInPolicyMode","com.azure.resourcemanager.servicefabricmanagedclusters.models.ScalingMechanism":"Microsoft.ServiceFabric.ScalingMechanism","com.azure.resourcemanager.servicefabricmanagedclusters.models.ScalingPolicy":"Microsoft.ServiceFabric.ScalingPolicy","com.azure.resourcemanager.servicefabricmanagedclusters.models.ScalingTrigger":"Microsoft.ServiceFabric.ScalingTrigger","com.azure.resourcemanager.servicefabricmanagedclusters.models.SecurityEncryptionType":"Microsoft.ServiceFabric.SecurityEncryptionType","com.azure.resourcemanager.servicefabricmanagedclusters.models.SecurityType":"Microsoft.ServiceFabric.SecurityType","com.azure.resourcemanager.servicefabricmanagedclusters.models.ServiceCorrelation":"Microsoft.ServiceFabric.ServiceCorrelation","com.azure.resourcemanager.servicefabricmanagedclusters.models.ServiceCorrelationScheme":"Microsoft.ServiceFabric.ServiceCorrelationScheme","com.azure.resourcemanager.servicefabricmanagedclusters.models.ServiceEndpoint":"Microsoft.ServiceFabric.ServiceEndpoint","com.azure.resourcemanager.servicefabricmanagedclusters.models.ServiceKind":"Microsoft.ServiceFabric.ServiceKind","com.azure.resourcemanager.servicefabricmanagedclusters.models.ServiceLoadMetric":"Microsoft.ServiceFabric.ServiceLoadMetric","com.azure.resourcemanager.servicefabricmanagedclusters.models.ServiceLoadMetricWeight":"Microsoft.ServiceFabric.ServiceLoadMetricWeight","com.azure.resourcemanager.servicefabricmanagedclusters.models.ServicePackageActivationMode":"Microsoft.ServiceFabric.ServicePackageActivationMode","com.azure.resourcemanager.servicefabricmanagedclusters.models.ServicePlacementInvalidDomainPolicy":"Microsoft.ServiceFabric.ServicePlacementInvalidDomainPolicy","com.azure.resourcemanager.servicefabricmanagedclusters.models.ServicePlacementNonPartiallyPlaceServicePolicy":"Microsoft.ServiceFabric.ServicePlacementNonPartiallyPlaceServicePolicy","com.azure.resourcemanager.servicefabricmanagedclusters.models.ServicePlacementPolicy":"Microsoft.ServiceFabric.ServicePlacementPolicy","com.azure.resourcemanager.servicefabricmanagedclusters.models.ServicePlacementPolicyType":"Microsoft.ServiceFabric.ServicePlacementPolicyType","com.azure.resourcemanager.servicefabricmanagedclusters.models.ServicePlacementPreferPrimaryDomainPolicy":"Microsoft.ServiceFabric.ServicePlacementPreferPrimaryDomainPolicy","com.azure.resourcemanager.servicefabricmanagedclusters.models.ServicePlacementRequireDomainDistributionPolicy":"Microsoft.ServiceFabric.ServicePlacementRequireDomainDistributionPolicy","com.azure.resourcemanager.servicefabricmanagedclusters.models.ServicePlacementRequiredDomainPolicy":"Microsoft.ServiceFabric.ServicePlacementRequiredDomainPolicy","com.azure.resourcemanager.servicefabricmanagedclusters.models.ServiceResourceProperties":"Microsoft.ServiceFabric.ServiceResourceProperties","com.azure.resourcemanager.servicefabricmanagedclusters.models.ServiceResourcePropertiesBase":"Microsoft.ServiceFabric.ServiceResourcePropertiesBase","com.azure.resourcemanager.servicefabricmanagedclusters.models.ServiceScalingMechanismKind":"Microsoft.ServiceFabric.ServiceScalingMechanismKind","com.azure.resourcemanager.servicefabricmanagedclusters.models.ServiceScalingTriggerKind":"Microsoft.ServiceFabric.ServiceScalingTriggerKind","com.azure.resourcemanager.servicefabricmanagedclusters.models.ServiceTypeHealthPolicy":"Microsoft.ServiceFabric.ServiceTypeHealthPolicy","com.azure.resourcemanager.servicefabricmanagedclusters.models.ServiceUpdateParameters":"Microsoft.ServiceFabric.ServiceUpdateParameters","com.azure.resourcemanager.servicefabricmanagedclusters.models.SettingsParameterDescription":"Microsoft.ServiceFabric.SettingsParameterDescription","com.azure.resourcemanager.servicefabricmanagedclusters.models.SettingsSectionDescription":"Microsoft.ServiceFabric.SettingsSectionDescription","com.azure.resourcemanager.servicefabricmanagedclusters.models.SfmcOperationStatus":"Microsoft.ServiceFabric.SfmcOperationStatus","com.azure.resourcemanager.servicefabricmanagedclusters.models.SingletonPartitionScheme":"Microsoft.ServiceFabric.SingletonPartitionScheme","com.azure.resourcemanager.servicefabricmanagedclusters.models.Sku":"Microsoft.ServiceFabric.Sku","com.azure.resourcemanager.servicefabricmanagedclusters.models.SkuName":"Microsoft.ServiceFabric.SkuName","com.azure.resourcemanager.servicefabricmanagedclusters.models.StatefulServiceProperties":"Microsoft.ServiceFabric.StatefulServiceProperties","com.azure.resourcemanager.servicefabricmanagedclusters.models.StatelessServiceProperties":"Microsoft.ServiceFabric.StatelessServiceProperties","com.azure.resourcemanager.servicefabricmanagedclusters.models.Subnet":"Microsoft.ServiceFabric.Subnet","com.azure.resourcemanager.servicefabricmanagedclusters.models.UniformInt64RangePartitionScheme":"Microsoft.ServiceFabric.UniformInt64RangePartitionScheme","com.azure.resourcemanager.servicefabricmanagedclusters.models.UpdateType":"Microsoft.ServiceFabric.UpdateType","com.azure.resourcemanager.servicefabricmanagedclusters.models.UserAssignedIdentity":"Microsoft.ServiceFabric.UserAssignedIdentity","com.azure.resourcemanager.servicefabricmanagedclusters.models.VMSize":"Microsoft.ServiceFabric.VMSize","com.azure.resourcemanager.servicefabricmanagedclusters.models.VaultCertificate":"Microsoft.ServiceFabric.VaultCertificate","com.azure.resourcemanager.servicefabricmanagedclusters.models.VaultSecretGroup":"Microsoft.ServiceFabric.VaultSecretGroup","com.azure.resourcemanager.servicefabricmanagedclusters.models.VmApplication":"Microsoft.ServiceFabric.VmApplication","com.azure.resourcemanager.servicefabricmanagedclusters.models.VmImagePlan":"Microsoft.ServiceFabric.VmImagePlan","com.azure.resourcemanager.servicefabricmanagedclusters.models.VmManagedIdentity":"Microsoft.ServiceFabric.VmManagedIdentity","com.azure.resourcemanager.servicefabricmanagedclusters.models.VmSetupAction":"Microsoft.ServiceFabric.VmSetupAction","com.azure.resourcemanager.servicefabricmanagedclusters.models.VmssDataDisk":"Microsoft.ServiceFabric.VmssDataDisk","com.azure.resourcemanager.servicefabricmanagedclusters.models.VmssExtension":"Microsoft.ServiceFabric.VMSSExtension","com.azure.resourcemanager.servicefabricmanagedclusters.models.VmssExtensionSetupOrder":"Microsoft.ServiceFabric.VmssExtensionSetupOrder","com.azure.resourcemanager.servicefabricmanagedclusters.models.ZonalUpdateMode":"Microsoft.ServiceFabric.ZonalUpdateMode","com.azure.resourcemanager.servicefabricmanagedclusters.models.ZoneFaultSimulationContent":"Microsoft.ServiceFabric.ZoneFaultSimulationContent"},"generatedFiles":["src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/ServiceFabricManagedClustersManager.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/fluent/ApplicationTypeVersionsClient.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/fluent/ApplicationTypesClient.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/fluent/ApplicationsClient.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/fluent/ManagedApplyMaintenanceWindowsClient.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/fluent/ManagedAzResiliencyStatusesClient.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/fluent/ManagedClusterVersionsClient.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/fluent/ManagedClustersClient.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/fluent/ManagedMaintenanceWindowStatusesClient.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/fluent/ManagedUnsupportedVMSizesClient.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/fluent/NodeTypeSkusClient.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/fluent/NodeTypesClient.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/fluent/OperationsClient.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/fluent/ServiceFabricManagedClustersMgmtClient.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/fluent/ServicesClient.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/fluent/models/ApplicationResourceInner.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/fluent/models/ApplicationResourceProperties.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/fluent/models/ApplicationTypeResourceInner.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/fluent/models/ApplicationTypeResourceProperties.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/fluent/models/ApplicationTypeVersionResourceInner.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/fluent/models/ApplicationTypeVersionResourceProperties.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/fluent/models/FaultSimulationInner.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/fluent/models/ManagedAzResiliencyStatusInner.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/fluent/models/ManagedClusterCodeVersionResultInner.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/fluent/models/ManagedClusterInner.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/fluent/models/ManagedClusterProperties.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/fluent/models/ManagedClusterVersionDetails.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/fluent/models/ManagedMaintenanceWindowStatusInner.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/fluent/models/ManagedVMSizeInner.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/fluent/models/NodeTypeAvailableSkuInner.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/fluent/models/NodeTypeInner.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/fluent/models/NodeTypeProperties.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/fluent/models/OperationResultInner.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/fluent/models/ServiceResourceInner.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/fluent/models/VMSSExtensionProperties.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/fluent/models/package-info.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/fluent/package-info.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/implementation/ApplicationResourceImpl.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/implementation/ApplicationTypeResourceImpl.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/implementation/ApplicationTypeVersionResourceImpl.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/implementation/ApplicationTypeVersionsClientImpl.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/implementation/ApplicationTypeVersionsImpl.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/implementation/ApplicationTypesClientImpl.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/implementation/ApplicationTypesImpl.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/implementation/ApplicationsClientImpl.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/implementation/ApplicationsImpl.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/implementation/FaultSimulationImpl.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/implementation/ManagedApplyMaintenanceWindowsClientImpl.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/implementation/ManagedApplyMaintenanceWindowsImpl.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/implementation/ManagedAzResiliencyStatusImpl.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/implementation/ManagedAzResiliencyStatusesClientImpl.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/implementation/ManagedAzResiliencyStatusesImpl.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/implementation/ManagedClusterCodeVersionResultImpl.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/implementation/ManagedClusterImpl.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/implementation/ManagedClusterVersionsClientImpl.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/implementation/ManagedClusterVersionsImpl.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/implementation/ManagedClustersClientImpl.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/implementation/ManagedClustersImpl.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/implementation/ManagedMaintenanceWindowStatusImpl.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/implementation/ManagedMaintenanceWindowStatusesClientImpl.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/implementation/ManagedMaintenanceWindowStatusesImpl.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/implementation/ManagedUnsupportedVMSizesClientImpl.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/implementation/ManagedUnsupportedVMSizesImpl.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/implementation/ManagedVMSizeImpl.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/implementation/NodeTypeAvailableSkuImpl.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/implementation/NodeTypeImpl.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/implementation/NodeTypeSkusClientImpl.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/implementation/NodeTypeSkusImpl.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/implementation/NodeTypesClientImpl.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/implementation/NodeTypesImpl.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/implementation/OperationResultImpl.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/implementation/OperationsClientImpl.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/implementation/OperationsImpl.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/implementation/ResourceManagerUtils.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/implementation/ServiceFabricManagedClustersMgmtClientBuilder.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/implementation/ServiceFabricManagedClustersMgmtClientImpl.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/implementation/ServiceResourceImpl.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/implementation/ServicesClientImpl.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/implementation/ServicesImpl.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/implementation/models/ApplicationResourceList.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/implementation/models/ApplicationTypeResourceList.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/implementation/models/ApplicationTypeVersionResourceList.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/implementation/models/FaultSimulationListResult.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/implementation/models/ManagedClusterListResult.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/implementation/models/ManagedVMSizesResult.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/implementation/models/NodeTypeListResult.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/implementation/models/NodeTypeListSkuResult.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/implementation/models/OperationListResult.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/implementation/models/ServiceResourceList.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/implementation/package-info.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/Access.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/AddRemoveIncrementalNamedPartitionScalingMechanism.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/AdditionalNetworkInterfaceConfiguration.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/ApplicationFetchHealthRequest.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/ApplicationHealthPolicy.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/ApplicationResource.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/ApplicationTypeResource.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/ApplicationTypeUpdateParameters.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/ApplicationTypeVersionResource.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/ApplicationTypeVersionUpdateParameters.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/ApplicationTypeVersions.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/ApplicationTypeVersionsCleanupPolicy.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/ApplicationTypes.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/ApplicationUpdateParameters.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/ApplicationUpdateParametersProperties.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/ApplicationUpgradePolicy.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/ApplicationUserAssignedIdentity.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/Applications.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/ApplyMaintenanceWindowRequest.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/AutoGeneratedDomainNameLabelScope.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/AvailableOperationDisplay.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/AveragePartitionLoadScalingTrigger.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/AverageServiceLoadScalingTrigger.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/AzureActiveDirectory.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/ClientCertificate.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/ClusterHealthPolicy.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/ClusterMonitoringPolicy.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/ClusterState.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/ClusterUpgradeCadence.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/ClusterUpgradeDeltaHealthPolicy.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/ClusterUpgradeMode.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/ClusterUpgradePolicy.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/Direction.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/DiskType.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/EndpointRangeDescription.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/EvictionPolicyType.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/FailureAction.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/FaultKind.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/FaultSimulation.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/FaultSimulationConstraints.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/FaultSimulationContent.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/FaultSimulationContentWrapper.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/FaultSimulationDetails.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/FaultSimulationIdContent.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/FaultSimulationStatus.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/FrontendConfiguration.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/HealthFilter.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/HostEndpointSettings.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/IpAddressType.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/IpConfiguration.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/IpConfigurationPublicIpAddressConfiguration.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/IpTag.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/LoadBalancingRule.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/ManagedApplyMaintenanceWindows.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/ManagedAzResiliencyStatus.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/ManagedAzResiliencyStatuses.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/ManagedCluster.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/ManagedClusterAddOnFeature.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/ManagedClusterCodeVersionResult.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/ManagedClusterUpdateParameters.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/ManagedClusterVersionEnvironment.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/ManagedClusterVersions.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/ManagedClusters.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/ManagedIdentity.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/ManagedIdentityType.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/ManagedMaintenanceWindowStatus.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/ManagedMaintenanceWindowStatuses.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/ManagedResourceProvisioningState.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/ManagedUnsupportedVMSizes.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/ManagedVMSize.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/MoveCost.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/NamedPartitionScheme.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/NetworkSecurityRule.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/NodeType.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/NodeTypeActionParameters.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/NodeTypeAvailableSku.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/NodeTypeFaultSimulation.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/NodeTypeNatConfig.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/NodeTypeSku.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/NodeTypeSkuCapacity.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/NodeTypeSkuScaleType.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/NodeTypeSkus.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/NodeTypeSupportedSku.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/NodeTypeUpdateParameters.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/NodeTypes.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/NsgProtocol.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/OperationResult.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/Operations.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/OsType.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/Partition.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/PartitionInstanceCountScaleMechanism.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/PartitionScheme.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/PrivateEndpointNetworkPolicies.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/PrivateIpAddressVersion.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/PrivateLinkServiceNetworkPolicies.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/ProbeProtocol.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/Protocol.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/ProxyAgentSettings.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/PublicIpAddressVersion.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/ResourceAzStatus.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/RestartDeployedCodePackageRequest.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/RestartKind.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/RestartReplicaRequest.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/RollingUpgradeMode.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/RollingUpgradeMonitoringPolicy.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/RuntimeApplicationHealthPolicy.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/RuntimeFailureAction.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/RuntimeResumeApplicationUpgradeParameters.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/RuntimeRollingUpgradeMode.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/RuntimeRollingUpgradeUpdateMonitoringPolicy.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/RuntimeServiceTypeHealthPolicy.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/RuntimeUpdateApplicationUpgradeParameters.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/RuntimeUpgradeKind.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/ScaleInPolicy.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/ScaleInPolicyMode.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/ScalingMechanism.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/ScalingPolicy.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/ScalingTrigger.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/SecurityEncryptionType.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/SecurityType.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/ServiceCorrelation.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/ServiceCorrelationScheme.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/ServiceEndpoint.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/ServiceKind.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/ServiceLoadMetric.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/ServiceLoadMetricWeight.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/ServicePackageActivationMode.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/ServicePlacementInvalidDomainPolicy.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/ServicePlacementNonPartiallyPlaceServicePolicy.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/ServicePlacementPolicy.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/ServicePlacementPolicyType.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/ServicePlacementPreferPrimaryDomainPolicy.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/ServicePlacementRequireDomainDistributionPolicy.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/ServicePlacementRequiredDomainPolicy.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/ServiceResource.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/ServiceResourceProperties.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/ServiceResourcePropertiesBase.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/ServiceScalingMechanismKind.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/ServiceScalingTriggerKind.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/ServiceTypeHealthPolicy.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/ServiceUpdateParameters.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/Services.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/SettingsParameterDescription.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/SettingsSectionDescription.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/SfmcOperationStatus.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/SingletonPartitionScheme.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/Sku.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/SkuName.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/StatefulServiceProperties.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/StatelessServiceProperties.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/Subnet.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/UniformInt64RangePartitionScheme.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/UpdateType.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/UserAssignedIdentity.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/VMSize.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/VaultCertificate.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/VaultSecretGroup.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/VmApplication.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/VmImagePlan.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/VmManagedIdentity.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/VmSetupAction.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/VmssDataDisk.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/VmssExtension.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/VmssExtensionSetupOrder.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/ZonalUpdateMode.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/ZoneFaultSimulationContent.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/models/package-info.java","src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/package-info.java","src/main/java/module-info.java"]}
\ No newline at end of file
diff --git a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ApplicationTypeVersionsCreateOrUpdateSamples.java b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ApplicationTypeVersionsCreateOrUpdateSamples.java
index 44c991174521..6960437968bd 100644
--- a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ApplicationTypeVersionsCreateOrUpdateSamples.java
+++ b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ApplicationTypeVersionsCreateOrUpdateSamples.java
@@ -9,7 +9,7 @@
*/
public final class ApplicationTypeVersionsCreateOrUpdateSamples {
/*
- * x-ms-original-file: 2026-02-01/ApplicationTypeVersionPutOperation_example.json
+ * x-ms-original-file: 2026-05-01-preview/ApplicationTypeVersionPutOperation_example.json
*/
/**
* Sample code: Put an application type version.
diff --git a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ApplicationTypeVersionsDeleteSamples.java b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ApplicationTypeVersionsDeleteSamples.java
index 201528fe1dd4..67dc266647ba 100644
--- a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ApplicationTypeVersionsDeleteSamples.java
+++ b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ApplicationTypeVersionsDeleteSamples.java
@@ -9,7 +9,7 @@
*/
public final class ApplicationTypeVersionsDeleteSamples {
/*
- * x-ms-original-file: 2026-02-01/ApplicationTypeVersionDeleteOperation_example.json
+ * x-ms-original-file: 2026-05-01-preview/ApplicationTypeVersionDeleteOperation_example.json
*/
/**
* Sample code: Delete an application type version.
diff --git a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ApplicationTypeVersionsGetSamples.java b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ApplicationTypeVersionsGetSamples.java
index 81bc3906c3db..040d612a1b61 100644
--- a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ApplicationTypeVersionsGetSamples.java
+++ b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ApplicationTypeVersionsGetSamples.java
@@ -9,7 +9,7 @@
*/
public final class ApplicationTypeVersionsGetSamples {
/*
- * x-ms-original-file: 2026-02-01/ApplicationTypeVersionGetOperation_example.json
+ * x-ms-original-file: 2026-05-01-preview/ApplicationTypeVersionGetOperation_example.json
*/
/**
* Sample code: Get an application type version.
diff --git a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ApplicationTypeVersionsListByApplicationTypeSamples.java b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ApplicationTypeVersionsListByApplicationTypeSamples.java
index aaf2c2231648..5fa124cc96e9 100644
--- a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ApplicationTypeVersionsListByApplicationTypeSamples.java
+++ b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ApplicationTypeVersionsListByApplicationTypeSamples.java
@@ -9,7 +9,7 @@
*/
public final class ApplicationTypeVersionsListByApplicationTypeSamples {
/*
- * x-ms-original-file: 2026-02-01/ApplicationTypeVersionListOperation_example.json
+ * x-ms-original-file: 2026-05-01-preview/ApplicationTypeVersionListOperation_example.json
*/
/**
* Sample code: Get a list of application type version resources.
diff --git a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ApplicationTypeVersionsUpdateSamples.java b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ApplicationTypeVersionsUpdateSamples.java
index 05e939f6a72b..894373262c26 100644
--- a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ApplicationTypeVersionsUpdateSamples.java
+++ b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ApplicationTypeVersionsUpdateSamples.java
@@ -13,7 +13,7 @@
*/
public final class ApplicationTypeVersionsUpdateSamples {
/*
- * x-ms-original-file: 2026-02-01/ApplicationTypeVersionPatchOperation_example.json
+ * x-ms-original-file: 2026-05-01-preview/ApplicationTypeVersionPatchOperation_example.json
*/
/**
* Sample code: Patch an application type version.
diff --git a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ApplicationTypesCreateOrUpdateSamples.java b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ApplicationTypesCreateOrUpdateSamples.java
index bad68c82de73..87a67e43f926 100644
--- a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ApplicationTypesCreateOrUpdateSamples.java
+++ b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ApplicationTypesCreateOrUpdateSamples.java
@@ -9,7 +9,7 @@
*/
public final class ApplicationTypesCreateOrUpdateSamples {
/*
- * x-ms-original-file: 2026-02-01/ApplicationTypeNamePutOperation_example.json
+ * x-ms-original-file: 2026-05-01-preview/ApplicationTypeNamePutOperation_example.json
*/
/**
* Sample code: Put an application type.
diff --git a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ApplicationTypesDeleteSamples.java b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ApplicationTypesDeleteSamples.java
index 3cfab4e15633..852ddc601755 100644
--- a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ApplicationTypesDeleteSamples.java
+++ b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ApplicationTypesDeleteSamples.java
@@ -9,7 +9,7 @@
*/
public final class ApplicationTypesDeleteSamples {
/*
- * x-ms-original-file: 2026-02-01/ApplicationTypeNameDeleteOperation_example.json
+ * x-ms-original-file: 2026-05-01-preview/ApplicationTypeNameDeleteOperation_example.json
*/
/**
* Sample code: Delete an application type.
diff --git a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ApplicationTypesGetSamples.java b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ApplicationTypesGetSamples.java
index 53eb83b0f574..48db60bb6419 100644
--- a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ApplicationTypesGetSamples.java
+++ b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ApplicationTypesGetSamples.java
@@ -9,7 +9,7 @@
*/
public final class ApplicationTypesGetSamples {
/*
- * x-ms-original-file: 2026-02-01/ApplicationTypeNameGetOperation_example.json
+ * x-ms-original-file: 2026-05-01-preview/ApplicationTypeNameGetOperation_example.json
*/
/**
* Sample code: Get an application type.
diff --git a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ApplicationTypesListSamples.java b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ApplicationTypesListSamples.java
index af4421059def..8ac3f157ee2a 100644
--- a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ApplicationTypesListSamples.java
+++ b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ApplicationTypesListSamples.java
@@ -9,7 +9,7 @@
*/
public final class ApplicationTypesListSamples {
/*
- * x-ms-original-file: 2026-02-01/ApplicationTypeNameListOperation_example.json
+ * x-ms-original-file: 2026-05-01-preview/ApplicationTypeNameListOperation_example.json
*/
/**
* Sample code: Get a list of application type name resources.
diff --git a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ApplicationTypesUpdateSamples.java b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ApplicationTypesUpdateSamples.java
index 1760db778301..39a66d690204 100644
--- a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ApplicationTypesUpdateSamples.java
+++ b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ApplicationTypesUpdateSamples.java
@@ -13,7 +13,7 @@
*/
public final class ApplicationTypesUpdateSamples {
/*
- * x-ms-original-file: 2026-02-01/ApplicationTypeNamePatchOperation_example.json
+ * x-ms-original-file: 2026-05-01-preview/ApplicationTypeNamePatchOperation_example.json
*/
/**
* Sample code: Patch an application type.
diff --git a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ApplicationsCreateOrUpdateSamples.java b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ApplicationsCreateOrUpdateSamples.java
index cabc3cc1916d..28a35083fa74 100644
--- a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ApplicationsCreateOrUpdateSamples.java
+++ b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ApplicationsCreateOrUpdateSamples.java
@@ -18,7 +18,7 @@
*/
public final class ApplicationsCreateOrUpdateSamples {
/*
- * x-ms-original-file: 2026-02-01/ApplicationPutOperation_example_max.json
+ * x-ms-original-file: 2026-05-01-preview/ApplicationPutOperation_example_max.json
*/
/**
* Sample code: Put an application with maximum parameters.
@@ -61,7 +61,7 @@ public static void putAnApplicationWithMaximumParameters(
}
/*
- * x-ms-original-file: 2026-02-01/ApplicationPutOperation_example_min.json
+ * x-ms-original-file: 2026-05-01-preview/ApplicationPutOperation_example_min.json
*/
/**
* Sample code: Put an application with minimum parameters.
diff --git a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ApplicationsDeleteSamples.java b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ApplicationsDeleteSamples.java
index fa9f05dbb476..978386802e4d 100644
--- a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ApplicationsDeleteSamples.java
+++ b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ApplicationsDeleteSamples.java
@@ -9,7 +9,7 @@
*/
public final class ApplicationsDeleteSamples {
/*
- * x-ms-original-file: 2026-02-01/ApplicationDeleteOperation_example.json
+ * x-ms-original-file: 2026-05-01-preview/ApplicationDeleteOperation_example.json
*/
/**
* Sample code: Delete an application.
diff --git a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ApplicationsFetchHealthSamples.java b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ApplicationsFetchHealthSamples.java
index 761ad515c210..dc133ff3b184 100644
--- a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ApplicationsFetchHealthSamples.java
+++ b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ApplicationsFetchHealthSamples.java
@@ -12,7 +12,7 @@
*/
public final class ApplicationsFetchHealthSamples {
/*
- * x-ms-original-file: 2026-02-01/ApplicationActionFetchHealth_example.json
+ * x-ms-original-file: 2026-05-01-preview/ApplicationActionFetchHealth_example.json
*/
/**
* Sample code: Fetch application health.
diff --git a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ApplicationsGetSamples.java b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ApplicationsGetSamples.java
index 4da1ea538c10..2c116b2f5194 100644
--- a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ApplicationsGetSamples.java
+++ b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ApplicationsGetSamples.java
@@ -9,7 +9,7 @@
*/
public final class ApplicationsGetSamples {
/*
- * x-ms-original-file: 2026-02-01/ApplicationGetOperation_example.json
+ * x-ms-original-file: 2026-05-01-preview/ApplicationGetOperation_example.json
*/
/**
* Sample code: Get an application.
diff --git a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ApplicationsListSamples.java b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ApplicationsListSamples.java
index 2212047141bf..3027a37308d5 100644
--- a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ApplicationsListSamples.java
+++ b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ApplicationsListSamples.java
@@ -9,7 +9,7 @@
*/
public final class ApplicationsListSamples {
/*
- * x-ms-original-file: 2026-02-01/ApplicationListOperation_example.json
+ * x-ms-original-file: 2026-05-01-preview/ApplicationListOperation_example.json
*/
/**
* Sample code: Get a list of application resources.
diff --git a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ApplicationsReadUpgradeSamples.java b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ApplicationsReadUpgradeSamples.java
index 485293effc9a..82528d74f488 100644
--- a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ApplicationsReadUpgradeSamples.java
+++ b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ApplicationsReadUpgradeSamples.java
@@ -9,7 +9,7 @@
*/
public final class ApplicationsReadUpgradeSamples {
/*
- * x-ms-original-file: 2026-02-01/ApplicationActionGetUpgrade_example.json
+ * x-ms-original-file: 2026-05-01-preview/ApplicationActionGetUpgrade_example.json
*/
/**
* Sample code: Get an application upgrade.
diff --git a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ApplicationsRestartDeployedCodePackageSamples.java b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ApplicationsRestartDeployedCodePackageSamples.java
index 6c5b407d83f7..3e8de26c6f91 100644
--- a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ApplicationsRestartDeployedCodePackageSamples.java
+++ b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ApplicationsRestartDeployedCodePackageSamples.java
@@ -11,7 +11,7 @@
*/
public final class ApplicationsRestartDeployedCodePackageSamples {
/*
- * x-ms-original-file: 2026-02-01/ApplicationActionRestartDeployedCodePackage_example.json
+ * x-ms-original-file: 2026-05-01-preview/ApplicationActionRestartDeployedCodePackage_example.json
*/
/**
* Sample code: Restart deployed code package.
diff --git a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ApplicationsResumeUpgradeSamples.java b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ApplicationsResumeUpgradeSamples.java
index 1f4acd0ecaf5..9b1a54250462 100644
--- a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ApplicationsResumeUpgradeSamples.java
+++ b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ApplicationsResumeUpgradeSamples.java
@@ -11,7 +11,7 @@
*/
public final class ApplicationsResumeUpgradeSamples {
/*
- * x-ms-original-file: 2026-02-01/ApplicationActionResumeUpgrade_example.json
+ * x-ms-original-file: 2026-05-01-preview/ApplicationActionResumeUpgrade_example.json
*/
/**
* Sample code: Resume upgrade.
diff --git a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ApplicationsStartRollbackSamples.java b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ApplicationsStartRollbackSamples.java
index be4c824f38e6..8a42606faca0 100644
--- a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ApplicationsStartRollbackSamples.java
+++ b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ApplicationsStartRollbackSamples.java
@@ -9,7 +9,7 @@
*/
public final class ApplicationsStartRollbackSamples {
/*
- * x-ms-original-file: 2026-02-01/ApplicationActionStartRollback_example.json
+ * x-ms-original-file: 2026-05-01-preview/ApplicationActionStartRollback_example.json
*/
/**
* Sample code: Start an application upgrade rollback.
diff --git a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ApplicationsUpdateSamples.java b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ApplicationsUpdateSamples.java
index 78ea77a5aff8..a8f1f4092238 100644
--- a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ApplicationsUpdateSamples.java
+++ b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ApplicationsUpdateSamples.java
@@ -14,7 +14,7 @@
*/
public final class ApplicationsUpdateSamples {
/*
- * x-ms-original-file: 2026-02-01/ApplicationPatchOperation_example.json
+ * x-ms-original-file: 2026-05-01-preview/ApplicationPatchOperation_example.json
*/
/**
* Sample code: Patch an application.
diff --git a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ApplicationsUpdateUpgradeSamples.java b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ApplicationsUpdateUpgradeSamples.java
index 2b1c03684545..65916d32991f 100644
--- a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ApplicationsUpdateUpgradeSamples.java
+++ b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ApplicationsUpdateUpgradeSamples.java
@@ -19,7 +19,7 @@
*/
public final class ApplicationsUpdateUpgradeSamples {
/*
- * x-ms-original-file: 2026-02-01/ApplicationActionUpdateUpgrade_example.json
+ * x-ms-original-file: 2026-05-01-preview/ApplicationActionUpdateUpgrade_example.json
*/
/**
* Sample code: Update an application upgrade.
diff --git a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ManagedApplyMaintenanceWindowPostSamples.java b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ManagedApplyMaintenanceWindowPostSamples.java
index e099aa67399f..034fbc105f55 100644
--- a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ManagedApplyMaintenanceWindowPostSamples.java
+++ b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ManagedApplyMaintenanceWindowPostSamples.java
@@ -4,12 +4,14 @@
package com.azure.resourcemanager.servicefabricmanagedclusters.generated;
+import com.azure.resourcemanager.servicefabricmanagedclusters.models.ApplyMaintenanceWindowRequest;
+
/**
* Samples for ManagedApplyMaintenanceWindow Post.
*/
public final class ManagedApplyMaintenanceWindowPostSamples {
/*
- * x-ms-original-file: 2026-02-01/ManagedApplyMaintenanceWindowPost_example.json
+ * x-ms-original-file: 2026-05-01-preview/ManagedApplyMaintenanceWindowPost_example.json
*/
/**
* Sample code: Apply Maintenance Window Status.
@@ -19,6 +21,10 @@ public final class ManagedApplyMaintenanceWindowPostSamples {
public static void applyMaintenanceWindowStatus(
com.azure.resourcemanager.servicefabricmanagedclusters.ServiceFabricManagedClustersManager manager) {
manager.managedApplyMaintenanceWindows()
- .postWithResponse("resourceGroup1", "mycluster1", com.azure.core.util.Context.NONE);
+ .postWithResponse("resourceGroup1", "mycluster1",
+ new ApplyMaintenanceWindowRequest().withStartDateTime("2026-04-07 13:00")
+ .withDuration("08:30")
+ .withTimeZone("Pacific Standard Time"),
+ com.azure.core.util.Context.NONE);
}
}
diff --git a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ManagedAzResiliencyStatusesGetSamples.java b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ManagedAzResiliencyStatusesGetSamples.java
index 2d2c4171bbc4..806904645aa3 100644
--- a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ManagedAzResiliencyStatusesGetSamples.java
+++ b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ManagedAzResiliencyStatusesGetSamples.java
@@ -9,7 +9,7 @@
*/
public final class ManagedAzResiliencyStatusesGetSamples {
/*
- * x-ms-original-file: 2026-02-01/managedAzResiliencyStatusGet_example.json
+ * x-ms-original-file: 2026-05-01-preview/managedAzResiliencyStatusGet_example.json
*/
/**
* Sample code: Az Resiliency status of Base Resources.
diff --git a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ManagedClusterVersionGetByEnvironmentSamples.java b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ManagedClusterVersionGetByEnvironmentSamples.java
index a1d67bda1234..bfb324dfef22 100644
--- a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ManagedClusterVersionGetByEnvironmentSamples.java
+++ b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ManagedClusterVersionGetByEnvironmentSamples.java
@@ -11,7 +11,7 @@
*/
public final class ManagedClusterVersionGetByEnvironmentSamples {
/*
- * x-ms-original-file: 2026-02-01/ManagedClusterVersionGetByEnvironment_example.json
+ * x-ms-original-file: 2026-05-01-preview/ManagedClusterVersionGetByEnvironment_example.json
*/
/**
* Sample code: Get cluster version by environment.
diff --git a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ManagedClusterVersionGetSamples.java b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ManagedClusterVersionGetSamples.java
index a69f213e6a8f..251f4771b2d5 100644
--- a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ManagedClusterVersionGetSamples.java
+++ b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ManagedClusterVersionGetSamples.java
@@ -9,7 +9,7 @@
*/
public final class ManagedClusterVersionGetSamples {
/*
- * x-ms-original-file: 2026-02-01/ManagedClusterVersionGet_example.json
+ * x-ms-original-file: 2026-05-01-preview/ManagedClusterVersionGet_example.json
*/
/**
* Sample code: Get cluster version.
diff --git a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ManagedClusterVersionListByEnvironmentSamples.java b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ManagedClusterVersionListByEnvironmentSamples.java
index d70954b8088f..551212852070 100644
--- a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ManagedClusterVersionListByEnvironmentSamples.java
+++ b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ManagedClusterVersionListByEnvironmentSamples.java
@@ -11,7 +11,7 @@
*/
public final class ManagedClusterVersionListByEnvironmentSamples {
/*
- * x-ms-original-file: 2026-02-01/ManagedClusterVersionListByEnvironment.json
+ * x-ms-original-file: 2026-05-01-preview/ManagedClusterVersionListByEnvironment.json
*/
/**
* Sample code: List cluster versions by environment.
diff --git a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ManagedClusterVersionListSamples.java b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ManagedClusterVersionListSamples.java
index 855cd827f4cc..38c66c67c562 100644
--- a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ManagedClusterVersionListSamples.java
+++ b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ManagedClusterVersionListSamples.java
@@ -9,7 +9,7 @@
*/
public final class ManagedClusterVersionListSamples {
/*
- * x-ms-original-file: 2026-02-01/ManagedClusterVersionList_example.json
+ * x-ms-original-file: 2026-05-01-preview/ManagedClusterVersionList_example.json
*/
/**
* Sample code: List cluster versions.
diff --git a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ManagedClustersCreateOrUpdateSamples.java b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ManagedClustersCreateOrUpdateSamples.java
index 74eeb8715aec..ee27d66f9101 100644
--- a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ManagedClustersCreateOrUpdateSamples.java
+++ b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ManagedClustersCreateOrUpdateSamples.java
@@ -39,7 +39,7 @@
*/
public final class ManagedClustersCreateOrUpdateSamples {
/*
- * x-ms-original-file: 2026-02-01/ManagedClusterPutOperation_example_max.json
+ * x-ms-original-file: 2026-05-01-preview/ManagedClusterPutOperation_example_max.json
*/
/**
* Sample code: Put a cluster with maximum parameters.
@@ -149,7 +149,7 @@ public static void putAClusterWithMaximumParameters(
}
/*
- * x-ms-original-file: 2026-02-01/ManagedClusterPutOperation_example_min.json
+ * x-ms-original-file: 2026-05-01-preview/ManagedClusterPutOperation_example_min.json
*/
/**
* Sample code: Put a cluster with minimum parameters.
diff --git a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ManagedClustersDeleteSamples.java b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ManagedClustersDeleteSamples.java
index 4514193cd656..4d3277e3d80f 100644
--- a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ManagedClustersDeleteSamples.java
+++ b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ManagedClustersDeleteSamples.java
@@ -9,7 +9,7 @@
*/
public final class ManagedClustersDeleteSamples {
/*
- * x-ms-original-file: 2026-02-01/ManagedClusterDeleteOperation_example.json
+ * x-ms-original-file: 2026-05-01-preview/ManagedClusterDeleteOperation_example.json
*/
/**
* Sample code: Delete a cluster.
diff --git a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ManagedClustersGetByResourceGroupSamples.java b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ManagedClustersGetByResourceGroupSamples.java
index 64368cafc12f..c584b5ba70c6 100644
--- a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ManagedClustersGetByResourceGroupSamples.java
+++ b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ManagedClustersGetByResourceGroupSamples.java
@@ -9,7 +9,7 @@
*/
public final class ManagedClustersGetByResourceGroupSamples {
/*
- * x-ms-original-file: 2026-02-01/ManagedClusterGetOperation_example.json
+ * x-ms-original-file: 2026-05-01-preview/ManagedClusterGetOperation_example.json
*/
/**
* Sample code: Get a cluster.
diff --git a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ManagedClustersGetFaultSimulationSamples.java b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ManagedClustersGetFaultSimulationSamples.java
new file mode 100644
index 000000000000..b499ae3ea98e
--- /dev/null
+++ b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ManagedClustersGetFaultSimulationSamples.java
@@ -0,0 +1,28 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.servicefabricmanagedclusters.generated;
+
+import com.azure.resourcemanager.servicefabricmanagedclusters.models.FaultSimulationIdContent;
+
+/**
+ * Samples for ManagedClusters GetFaultSimulation.
+ */
+public final class ManagedClustersGetFaultSimulationSamples {
+ /*
+ * x-ms-original-file: 2026-05-01-preview/faultSimulation/ManagedClusterGetFaultSimulation_example.json
+ */
+ /**
+ * Sample code: Get Managed Cluster Fault Simulation.
+ *
+ * @param manager Entry point to ServiceFabricManagedClustersManager.
+ */
+ public static void getManagedClusterFaultSimulation(
+ com.azure.resourcemanager.servicefabricmanagedclusters.ServiceFabricManagedClustersManager manager) {
+ manager.managedClusters()
+ .getFaultSimulationWithResponse("resRg", "myCluster",
+ new FaultSimulationIdContent().withSimulationId("aec13cc2-1d39-4ba6-a1a8-2fc35b00643c"),
+ com.azure.core.util.Context.NONE);
+ }
+}
diff --git a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ManagedClustersListByResourceGroupSamples.java b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ManagedClustersListByResourceGroupSamples.java
index 496e3eb6179e..1ad5e9db908a 100644
--- a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ManagedClustersListByResourceGroupSamples.java
+++ b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ManagedClustersListByResourceGroupSamples.java
@@ -9,7 +9,7 @@
*/
public final class ManagedClustersListByResourceGroupSamples {
/*
- * x-ms-original-file: 2026-02-01/ManagedClusterListByResourceGroupOperation_example.json
+ * x-ms-original-file: 2026-05-01-preview/ManagedClusterListByResourceGroupOperation_example.json
*/
/**
* Sample code: List cluster by resource group.
diff --git a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ManagedClustersListFaultSimulationSamples.java b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ManagedClustersListFaultSimulationSamples.java
new file mode 100644
index 000000000000..01ce96fb564c
--- /dev/null
+++ b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ManagedClustersListFaultSimulationSamples.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.servicefabricmanagedclusters.generated;
+
+/**
+ * Samples for ManagedClusters ListFaultSimulation.
+ */
+public final class ManagedClustersListFaultSimulationSamples {
+ /*
+ * x-ms-original-file: 2026-05-01-preview/faultSimulation/ManagedClusterListFaultSimulation_example.json
+ */
+ /**
+ * Sample code: List Managed Cluster Fault Simulation.
+ *
+ * @param manager Entry point to ServiceFabricManagedClustersManager.
+ */
+ public static void listManagedClusterFaultSimulation(
+ com.azure.resourcemanager.servicefabricmanagedclusters.ServiceFabricManagedClustersManager manager) {
+ manager.managedClusters().listFaultSimulation("resRg", "myCluster", com.azure.core.util.Context.NONE);
+ }
+}
diff --git a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ManagedClustersListSamples.java b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ManagedClustersListSamples.java
index d678127ebb83..e2bd293642c0 100644
--- a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ManagedClustersListSamples.java
+++ b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ManagedClustersListSamples.java
@@ -9,7 +9,7 @@
*/
public final class ManagedClustersListSamples {
/*
- * x-ms-original-file: 2026-02-01/ManagedClusterListBySubscriptionOperation_example.json
+ * x-ms-original-file: 2026-05-01-preview/ManagedClusterListBySubscriptionOperation_example.json
*/
/**
* Sample code: List managed clusters.
diff --git a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ManagedClustersStartFaultSimulationSamples.java b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ManagedClustersStartFaultSimulationSamples.java
new file mode 100644
index 000000000000..3e2a96bc8ffd
--- /dev/null
+++ b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ManagedClustersStartFaultSimulationSamples.java
@@ -0,0 +1,29 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.servicefabricmanagedclusters.generated;
+
+import com.azure.resourcemanager.servicefabricmanagedclusters.models.FaultSimulationContentWrapper;
+import com.azure.resourcemanager.servicefabricmanagedclusters.models.ZoneFaultSimulationContent;
+import java.util.Arrays;
+
+/**
+ * Samples for ManagedClusters StartFaultSimulation.
+ */
+public final class ManagedClustersStartFaultSimulationSamples {
+ /*
+ * x-ms-original-file: 2026-05-01-preview/faultSimulation/ManagedClusterStartFaultSimulation_example.json
+ */
+ /**
+ * Sample code: Start Managed Cluster Fault Simulation.
+ *
+ * @param manager Entry point to ServiceFabricManagedClustersManager.
+ */
+ public static void startManagedClusterFaultSimulation(
+ com.azure.resourcemanager.servicefabricmanagedclusters.ServiceFabricManagedClustersManager manager) {
+ manager.managedClusters()
+ .startFaultSimulation("resRg", "myCluster", new FaultSimulationContentWrapper().withParameters(
+ new ZoneFaultSimulationContent().withZones(Arrays.asList("2"))), com.azure.core.util.Context.NONE);
+ }
+}
diff --git a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ManagedClustersStopFaultSimulationSamples.java b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ManagedClustersStopFaultSimulationSamples.java
new file mode 100644
index 000000000000..c83967952119
--- /dev/null
+++ b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ManagedClustersStopFaultSimulationSamples.java
@@ -0,0 +1,28 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.servicefabricmanagedclusters.generated;
+
+import com.azure.resourcemanager.servicefabricmanagedclusters.models.FaultSimulationIdContent;
+
+/**
+ * Samples for ManagedClusters StopFaultSimulation.
+ */
+public final class ManagedClustersStopFaultSimulationSamples {
+ /*
+ * x-ms-original-file: 2026-05-01-preview/faultSimulation/ManagedClusterStopFaultSimulation_example.json
+ */
+ /**
+ * Sample code: Stop Managed Cluster Fault Simulation.
+ *
+ * @param manager Entry point to ServiceFabricManagedClustersManager.
+ */
+ public static void stopManagedClusterFaultSimulation(
+ com.azure.resourcemanager.servicefabricmanagedclusters.ServiceFabricManagedClustersManager manager) {
+ manager.managedClusters()
+ .stopFaultSimulation("resRg", "myCluster",
+ new FaultSimulationIdContent().withSimulationId("1bb61ba9-8a41-4d73-b5f0-7fc93b1edfe3"),
+ com.azure.core.util.Context.NONE);
+ }
+}
diff --git a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ManagedClustersUpdateSamples.java b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ManagedClustersUpdateSamples.java
index fe3b9799f7db..3ee505abb0c3 100644
--- a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ManagedClustersUpdateSamples.java
+++ b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ManagedClustersUpdateSamples.java
@@ -13,7 +13,7 @@
*/
public final class ManagedClustersUpdateSamples {
/*
- * x-ms-original-file: 2026-02-01/ManagedClusterPatchOperation_example.json
+ * x-ms-original-file: 2026-05-01-preview/ManagedClusterPatchOperation_example.json
*/
/**
* Sample code: Patch a managed cluster.
diff --git a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ManagedMaintenanceWindowStatusesGetSamples.java b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ManagedMaintenanceWindowStatusesGetSamples.java
index 444221be5837..5d4f190c2bea 100644
--- a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ManagedMaintenanceWindowStatusesGetSamples.java
+++ b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ManagedMaintenanceWindowStatusesGetSamples.java
@@ -9,7 +9,7 @@
*/
public final class ManagedMaintenanceWindowStatusesGetSamples {
/*
- * x-ms-original-file: 2026-02-01/ManagedMaintenanceWindowStatusGet_example.json
+ * x-ms-original-file: 2026-05-01-preview/ManagedMaintenanceWindowStatusGet_example.json
*/
/**
* Sample code: Get Maintenance Window Status.
diff --git a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ManagedUnsupportedVMSizesGetSamples.java b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ManagedUnsupportedVMSizesGetSamples.java
index 20f97fe227ea..f51846ec1928 100644
--- a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ManagedUnsupportedVMSizesGetSamples.java
+++ b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ManagedUnsupportedVMSizesGetSamples.java
@@ -9,7 +9,7 @@
*/
public final class ManagedUnsupportedVMSizesGetSamples {
/*
- * x-ms-original-file: 2026-02-01/managedUnsupportedVMSizesGet_example.json
+ * x-ms-original-file: 2026-05-01-preview/managedUnsupportedVMSizesGet_example.json
*/
/**
* Sample code: Get unsupported vm sizes.
diff --git a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ManagedUnsupportedVMSizesListSamples.java b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ManagedUnsupportedVMSizesListSamples.java
index 393e5f87d088..b27a1b7feeab 100644
--- a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ManagedUnsupportedVMSizesListSamples.java
+++ b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ManagedUnsupportedVMSizesListSamples.java
@@ -9,7 +9,7 @@
*/
public final class ManagedUnsupportedVMSizesListSamples {
/*
- * x-ms-original-file: 2026-02-01/managedUnsupportedVMSizesList_example.json
+ * x-ms-original-file: 2026-05-01-preview/managedUnsupportedVMSizesList_example.json
*/
/**
* Sample code: List unsupported vm sizes.
diff --git a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/NodeTypeSkusListSamples.java b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/NodeTypeSkusListSamples.java
index ee79fdf39748..0a091be950c7 100644
--- a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/NodeTypeSkusListSamples.java
+++ b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/NodeTypeSkusListSamples.java
@@ -9,7 +9,7 @@
*/
public final class NodeTypeSkusListSamples {
/*
- * x-ms-original-file: 2026-02-01/NodeTypeSkusListOperation_example.json
+ * x-ms-original-file: 2026-05-01-preview/NodeTypeSkusListOperation_example.json
*/
/**
* Sample code: List a node type SKUs.
diff --git a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/NodeTypesCreateOrUpdateSamples.java b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/NodeTypesCreateOrUpdateSamples.java
index 6106085355dd..f2a03d7962c2 100644
--- a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/NodeTypesCreateOrUpdateSamples.java
+++ b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/NodeTypesCreateOrUpdateSamples.java
@@ -11,11 +11,15 @@
import com.azure.resourcemanager.servicefabricmanagedclusters.models.DiskType;
import com.azure.resourcemanager.servicefabricmanagedclusters.models.EvictionPolicyType;
import com.azure.resourcemanager.servicefabricmanagedclusters.models.FrontendConfiguration;
+import com.azure.resourcemanager.servicefabricmanagedclusters.models.HostEndpointSettings;
import com.azure.resourcemanager.servicefabricmanagedclusters.models.IpConfiguration;
import com.azure.resourcemanager.servicefabricmanagedclusters.models.IpConfigurationPublicIpAddressConfiguration;
import com.azure.resourcemanager.servicefabricmanagedclusters.models.IpTag;
import com.azure.resourcemanager.servicefabricmanagedclusters.models.PrivateIpAddressVersion;
+import com.azure.resourcemanager.servicefabricmanagedclusters.models.ProxyAgentSettings;
import com.azure.resourcemanager.servicefabricmanagedclusters.models.PublicIpAddressVersion;
+import com.azure.resourcemanager.servicefabricmanagedclusters.models.ScaleInPolicy;
+import com.azure.resourcemanager.servicefabricmanagedclusters.models.ScaleInPolicyMode;
import com.azure.resourcemanager.servicefabricmanagedclusters.models.SecurityEncryptionType;
import com.azure.resourcemanager.servicefabricmanagedclusters.models.SecurityType;
import com.azure.resourcemanager.servicefabricmanagedclusters.models.VaultCertificate;
@@ -37,7 +41,7 @@
*/
public final class NodeTypesCreateOrUpdateSamples {
/*
- * x-ms-original-file: 2026-02-01/NodeTypePutOperationStateless_example.json
+ * x-ms-original-file: 2026-05-01-preview/NodeTypePutOperationStateless_example.json
*/
/**
* Sample code: Put an stateless node type with temporary disk for service fabric.
@@ -72,7 +76,7 @@ public static void putAnStatelessNodeTypeWithTemporaryDiskForServiceFabric(
}
/*
- * x-ms-original-file: 2026-02-01/NodeTypePutOperation_example_max.json
+ * x-ms-original-file: 2026-05-01-preview/NodeTypePutOperation_example_max.json
*/
/**
* Sample code: Put a node type with maximum parameters.
@@ -185,11 +189,19 @@ public static void putANodeTypeWithMaximumParameters(
.withTreatFailureAsDeploymentFailure(false)))
.withIsOutboundOnly(true)
.withEnableResilientEphemeralOsDisk(true)
+ .withScaleInPolicy(new ScaleInPolicy().withMode(ScaleInPolicyMode.DEFAULT))
+ .withProxyAgentSettings(new ProxyAgentSettings().withEnabled(true)
+ .withKeyIncarnationId(17)
+ .withWireServer(new HostEndpointSettings().withMode("Audit")
+ .withInVMAccessControlProfileReferenceId("someReferenceId"))
+ .withImds(new HostEndpointSettings().withMode("Audit")
+ .withInVMAccessControlProfileReferenceId("someReferenceId"))
+ .withAddProxyAgentExtension(true))
.create();
}
/*
- * x-ms-original-file: 2026-02-01/NodeTypePutOperationAutoScale_example.json
+ * x-ms-original-file: 2026-05-01-preview/NodeTypePutOperationAutoScale_example.json
*/
/**
* Sample code: Put a node type with auto-scale parameters.
@@ -235,7 +247,7 @@ public static void putANodeTypeWithAutoScaleParameters(
}
/*
- * x-ms-original-file: 2026-02-01/NodeTypePutOperation_example_min.json
+ * x-ms-original-file: 2026-05-01-preview/NodeTypePutOperation_example_min.json
*/
/**
* Sample code: Put a node type with minimum parameters.
@@ -259,7 +271,7 @@ public static void putANodeTypeWithMinimumParameters(
}
/*
- * x-ms-original-file: 2026-02-01/NodeTypePutOperationDedicatedHost_example.json
+ * x-ms-original-file: 2026-05-01-preview/NodeTypePutOperationDedicatedHost_example.json
*/
/**
* Sample code: Put node type with dedicated hosts.
@@ -289,7 +301,7 @@ public static void putNodeTypeWithDedicatedHosts(
}
/*
- * x-ms-original-file: 2026-02-01/NodeTypePutOperationVmImagePlan_example.json
+ * x-ms-original-file: 2026-05-01-preview/NodeTypePutOperationVmImagePlan_example.json
*/
/**
* Sample code: Put node type with vm image plan.
@@ -316,7 +328,7 @@ public static void putNodeTypeWithVmImagePlan(
}
/*
- * x-ms-original-file: 2026-02-01/NodeTypePutOperationCustomSharedGalleriesImage_example.json
+ * x-ms-original-file: 2026-05-01-preview/NodeTypePutOperationCustomSharedGalleriesImage_example.json
*/
/**
* Sample code: Put node type with shared galleries custom vm image.
@@ -338,7 +350,7 @@ public static void putNodeTypeWithSharedGalleriesCustomVmImage(
}
/*
- * x-ms-original-file: 2026-02-01/NodeTypePutOperationCustomImage_example.json
+ * x-ms-original-file: 2026-05-01-preview/NodeTypePutOperationCustomImage_example.json
*/
/**
* Sample code: Put node type with custom vm image.
diff --git a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/NodeTypesDeallocateSamples.java b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/NodeTypesDeallocateSamples.java
index 84b279540073..b25ce2b08127 100644
--- a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/NodeTypesDeallocateSamples.java
+++ b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/NodeTypesDeallocateSamples.java
@@ -12,7 +12,7 @@
*/
public final class NodeTypesDeallocateSamples {
/*
- * x-ms-original-file: 2026-02-01/DeallocateNodes_example.json
+ * x-ms-original-file: 2026-05-01-preview/DeallocateNodes_example.json
*/
/**
* Sample code: Deallocate nodes.
diff --git a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/NodeTypesDeleteNodeSamples.java b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/NodeTypesDeleteNodeSamples.java
index b46cbb73d96e..347ee23c3df0 100644
--- a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/NodeTypesDeleteNodeSamples.java
+++ b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/NodeTypesDeleteNodeSamples.java
@@ -12,7 +12,7 @@
*/
public final class NodeTypesDeleteNodeSamples {
/*
- * x-ms-original-file: 2026-02-01/DeleteNodes_example.json
+ * x-ms-original-file: 2026-05-01-preview/DeleteNodes_example.json
*/
/**
* Sample code: Delete nodes.
diff --git a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/NodeTypesDeleteSamples.java b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/NodeTypesDeleteSamples.java
index 9aacf9a338ea..90a82ad8cf04 100644
--- a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/NodeTypesDeleteSamples.java
+++ b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/NodeTypesDeleteSamples.java
@@ -9,7 +9,7 @@
*/
public final class NodeTypesDeleteSamples {
/*
- * x-ms-original-file: 2026-02-01/NodeTypeDeleteOperation_example.json
+ * x-ms-original-file: 2026-05-01-preview/NodeTypeDeleteOperation_example.json
*/
/**
* Sample code: Delete a node type.
diff --git a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/NodeTypesGetFaultSimulationSamples.java b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/NodeTypesGetFaultSimulationSamples.java
new file mode 100644
index 000000000000..f58adbbd773d
--- /dev/null
+++ b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/NodeTypesGetFaultSimulationSamples.java
@@ -0,0 +1,28 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.servicefabricmanagedclusters.generated;
+
+import com.azure.resourcemanager.servicefabricmanagedclusters.models.FaultSimulationIdContent;
+
+/**
+ * Samples for NodeTypes GetFaultSimulation.
+ */
+public final class NodeTypesGetFaultSimulationSamples {
+ /*
+ * x-ms-original-file: 2026-05-01-preview/faultSimulation/NodeTypeGetFaultSimulation_example.json
+ */
+ /**
+ * Sample code: Get Node Type Fault Simulation.
+ *
+ * @param manager Entry point to ServiceFabricManagedClustersManager.
+ */
+ public static void getNodeTypeFaultSimulation(
+ com.azure.resourcemanager.servicefabricmanagedclusters.ServiceFabricManagedClustersManager manager) {
+ manager.nodeTypes()
+ .getFaultSimulationWithResponse("resRg", "myCluster", "BE",
+ new FaultSimulationIdContent().withSimulationId("aec13cc2-1d39-4ba6-a1a8-2fc35b00643c"),
+ com.azure.core.util.Context.NONE);
+ }
+}
diff --git a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/NodeTypesGetSamples.java b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/NodeTypesGetSamples.java
index 655e0058f212..9642dabbb600 100644
--- a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/NodeTypesGetSamples.java
+++ b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/NodeTypesGetSamples.java
@@ -9,7 +9,7 @@
*/
public final class NodeTypesGetSamples {
/*
- * x-ms-original-file: 2026-02-01/NodeTypeGetOperation_example.json
+ * x-ms-original-file: 2026-05-01-preview/NodeTypeGetOperation_example.json
*/
/**
* Sample code: Get a node type.
diff --git a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/NodeTypesListByManagedClustersSamples.java b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/NodeTypesListByManagedClustersSamples.java
index 59b33a1c2565..94484fbbc63c 100644
--- a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/NodeTypesListByManagedClustersSamples.java
+++ b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/NodeTypesListByManagedClustersSamples.java
@@ -9,7 +9,7 @@
*/
public final class NodeTypesListByManagedClustersSamples {
/*
- * x-ms-original-file: 2026-02-01/NodeTypeListOperation_example.json
+ * x-ms-original-file: 2026-05-01-preview/NodeTypeListOperation_example.json
*/
/**
* Sample code: List node type of the specified managed cluster.
diff --git a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/NodeTypesListFaultSimulationSamples.java b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/NodeTypesListFaultSimulationSamples.java
new file mode 100644
index 000000000000..60cd5750291f
--- /dev/null
+++ b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/NodeTypesListFaultSimulationSamples.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.servicefabricmanagedclusters.generated;
+
+/**
+ * Samples for NodeTypes ListFaultSimulation.
+ */
+public final class NodeTypesListFaultSimulationSamples {
+ /*
+ * x-ms-original-file: 2026-05-01-preview/faultSimulation/NodeTypeListFaultSimulation_example.json
+ */
+ /**
+ * Sample code: List Node Type Fault Simulation.
+ *
+ * @param manager Entry point to ServiceFabricManagedClustersManager.
+ */
+ public static void listNodeTypeFaultSimulation(
+ com.azure.resourcemanager.servicefabricmanagedclusters.ServiceFabricManagedClustersManager manager) {
+ manager.nodeTypes().listFaultSimulation("resRg", "myCluster", "BE", com.azure.core.util.Context.NONE);
+ }
+}
diff --git a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/NodeTypesRedeploySamples.java b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/NodeTypesRedeploySamples.java
index c06b8d388dd5..5409bdcbf6ab 100644
--- a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/NodeTypesRedeploySamples.java
+++ b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/NodeTypesRedeploySamples.java
@@ -13,7 +13,7 @@
*/
public final class NodeTypesRedeploySamples {
/*
- * x-ms-original-file: 2026-02-01/RedeployNodes_UD_example.json
+ * x-ms-original-file: 2026-05-01-preview/RedeployNodes_UD_example.json
*/
/**
* Sample code: Redeploy all nodes by upgrade domain.
@@ -29,7 +29,7 @@ public static void redeployAllNodesByUpgradeDomain(
}
/*
- * x-ms-original-file: 2026-02-01/RedeployNodes_example.json
+ * x-ms-original-file: 2026-05-01-preview/RedeployNodes_example.json
*/
/**
* Sample code: Redeploy nodes.
diff --git a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/NodeTypesReimageSamples.java b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/NodeTypesReimageSamples.java
index e664dbc6382c..3fdcba2b9b2e 100644
--- a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/NodeTypesReimageSamples.java
+++ b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/NodeTypesReimageSamples.java
@@ -13,7 +13,7 @@
*/
public final class NodeTypesReimageSamples {
/*
- * x-ms-original-file: 2026-02-01/ReimageNodes_example.json
+ * x-ms-original-file: 2026-05-01-preview/ReimageNodes_example.json
*/
/**
* Sample code: Reimage nodes.
@@ -29,7 +29,7 @@ public static void reimageNodes(
}
/*
- * x-ms-original-file: 2026-02-01/ReimageNodes_UD_example.json
+ * x-ms-original-file: 2026-05-01-preview/ReimageNodes_UD_example.json
*/
/**
* Sample code: Reimage all nodes by upgrade domain.
diff --git a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/NodeTypesRestartSamples.java b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/NodeTypesRestartSamples.java
index 52d9165507e3..f345a86721e6 100644
--- a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/NodeTypesRestartSamples.java
+++ b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/NodeTypesRestartSamples.java
@@ -12,7 +12,7 @@
*/
public final class NodeTypesRestartSamples {
/*
- * x-ms-original-file: 2026-02-01/RestartNodes_example.json
+ * x-ms-original-file: 2026-05-01-preview/RestartNodes_example.json
*/
/**
* Sample code: Restart nodes.
diff --git a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/NodeTypesStartFaultSimulationSamples.java b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/NodeTypesStartFaultSimulationSamples.java
new file mode 100644
index 000000000000..81487bc1ca90
--- /dev/null
+++ b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/NodeTypesStartFaultSimulationSamples.java
@@ -0,0 +1,29 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.servicefabricmanagedclusters.generated;
+
+import com.azure.resourcemanager.servicefabricmanagedclusters.models.FaultSimulationContentWrapper;
+import com.azure.resourcemanager.servicefabricmanagedclusters.models.ZoneFaultSimulationContent;
+import java.util.Arrays;
+
+/**
+ * Samples for NodeTypes StartFaultSimulation.
+ */
+public final class NodeTypesStartFaultSimulationSamples {
+ /*
+ * x-ms-original-file: 2026-05-01-preview/faultSimulation/NodeTypeStartFaultSimulation_example.json
+ */
+ /**
+ * Sample code: Start Node Type Fault Simulation.
+ *
+ * @param manager Entry point to ServiceFabricManagedClustersManager.
+ */
+ public static void startNodeTypeFaultSimulation(
+ com.azure.resourcemanager.servicefabricmanagedclusters.ServiceFabricManagedClustersManager manager) {
+ manager.nodeTypes()
+ .startFaultSimulation("resRg", "myCluster", "BE", new FaultSimulationContentWrapper().withParameters(
+ new ZoneFaultSimulationContent().withZones(Arrays.asList("2"))), com.azure.core.util.Context.NONE);
+ }
+}
diff --git a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/NodeTypesStartSamples.java b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/NodeTypesStartSamples.java
index a39010b3f6df..3419caf67c52 100644
--- a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/NodeTypesStartSamples.java
+++ b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/NodeTypesStartSamples.java
@@ -12,7 +12,7 @@
*/
public final class NodeTypesStartSamples {
/*
- * x-ms-original-file: 2026-02-01/StartNodes_example.json
+ * x-ms-original-file: 2026-05-01-preview/StartNodes_example.json
*/
/**
* Sample code: Start nodes.
diff --git a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/NodeTypesStopFaultSimulationSamples.java b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/NodeTypesStopFaultSimulationSamples.java
new file mode 100644
index 000000000000..eefc94e77743
--- /dev/null
+++ b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/NodeTypesStopFaultSimulationSamples.java
@@ -0,0 +1,28 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.servicefabricmanagedclusters.generated;
+
+import com.azure.resourcemanager.servicefabricmanagedclusters.models.FaultSimulationIdContent;
+
+/**
+ * Samples for NodeTypes StopFaultSimulation.
+ */
+public final class NodeTypesStopFaultSimulationSamples {
+ /*
+ * x-ms-original-file: 2026-05-01-preview/faultSimulation/NodeTypeStopFaultSimulation_example.json
+ */
+ /**
+ * Sample code: Stop Node Type Fault Simulation.
+ *
+ * @param manager Entry point to ServiceFabricManagedClustersManager.
+ */
+ public static void stopNodeTypeFaultSimulation(
+ com.azure.resourcemanager.servicefabricmanagedclusters.ServiceFabricManagedClustersManager manager) {
+ manager.nodeTypes()
+ .stopFaultSimulation("resRg", "myCluster", "BE",
+ new FaultSimulationIdContent().withSimulationId("1bb61ba9-8a41-4d73-b5f0-7fc93b1edfe3"),
+ com.azure.core.util.Context.NONE);
+ }
+}
diff --git a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/NodeTypesUpdateSamples.java b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/NodeTypesUpdateSamples.java
index 75233e538d48..23e70e3cc7a7 100644
--- a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/NodeTypesUpdateSamples.java
+++ b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/NodeTypesUpdateSamples.java
@@ -14,7 +14,7 @@
*/
public final class NodeTypesUpdateSamples {
/*
- * x-ms-original-file: 2026-02-01/NodeTypePatchOperation_example.json
+ * x-ms-original-file: 2026-05-01-preview/NodeTypePatchOperation_example.json
*/
/**
* Sample code: Patch a node type.
@@ -30,7 +30,7 @@ public static void patchANodeType(
}
/*
- * x-ms-original-file: 2026-02-01/NodeTypePatchOperationAutoScale_example.json
+ * x-ms-original-file: 2026-05-01-preview/NodeTypePatchOperationAutoScale_example.json
*/
/**
* Sample code: Patch a node type while auto-scaling.
diff --git a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/OperationsListSamples.java b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/OperationsListSamples.java
index 007ab9a91a54..8a7d8515cdbe 100644
--- a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/OperationsListSamples.java
+++ b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/OperationsListSamples.java
@@ -9,7 +9,7 @@
*/
public final class OperationsListSamples {
/*
- * x-ms-original-file: 2026-02-01/OperationsList_example.json
+ * x-ms-original-file: 2026-05-01-preview/OperationsList_example.json
*/
/**
* Sample code: List the operations for the provider.
diff --git a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ServicesCreateOrUpdateSamples.java b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ServicesCreateOrUpdateSamples.java
index 85e7ddf4c025..5f81fd7a46b7 100644
--- a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ServicesCreateOrUpdateSamples.java
+++ b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ServicesCreateOrUpdateSamples.java
@@ -25,7 +25,7 @@
*/
public final class ServicesCreateOrUpdateSamples {
/*
- * x-ms-original-file: 2026-02-01/ServicePutOperation_example_min.json
+ * x-ms-original-file: 2026-05-01-preview/ServicePutOperation_example_min.json
*/
/**
* Sample code: Put a service with minimum parameters.
@@ -45,7 +45,7 @@ public static void putAServiceWithMinimumParameters(
}
/*
- * x-ms-original-file: 2026-02-01/ServicePutOperation_example_max.json
+ * x-ms-original-file: 2026-05-01-preview/ServicePutOperation_example_max.json
*/
/**
* Sample code: Put a service with maximum parameters.
diff --git a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ServicesDeleteSamples.java b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ServicesDeleteSamples.java
index b3ad3407de30..f1f115f0b94d 100644
--- a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ServicesDeleteSamples.java
+++ b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ServicesDeleteSamples.java
@@ -9,7 +9,7 @@
*/
public final class ServicesDeleteSamples {
/*
- * x-ms-original-file: 2026-02-01/ServiceDeleteOperation_example.json
+ * x-ms-original-file: 2026-05-01-preview/ServiceDeleteOperation_example.json
*/
/**
* Sample code: Delete a service.
diff --git a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ServicesGetSamples.java b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ServicesGetSamples.java
index bb5d992e6e5e..c028ebc63a74 100644
--- a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ServicesGetSamples.java
+++ b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ServicesGetSamples.java
@@ -9,7 +9,7 @@
*/
public final class ServicesGetSamples {
/*
- * x-ms-original-file: 2026-02-01/ServiceGetOperation_example.json
+ * x-ms-original-file: 2026-05-01-preview/ServiceGetOperation_example.json
*/
/**
* Sample code: Get a service.
diff --git a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ServicesListByApplicationsSamples.java b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ServicesListByApplicationsSamples.java
index 56b517f61930..fa821aad2d4b 100644
--- a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ServicesListByApplicationsSamples.java
+++ b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ServicesListByApplicationsSamples.java
@@ -9,7 +9,7 @@
*/
public final class ServicesListByApplicationsSamples {
/*
- * x-ms-original-file: 2026-02-01/ServiceListOperation_example.json
+ * x-ms-original-file: 2026-05-01-preview/ServiceListOperation_example.json
*/
/**
* Sample code: Get a list of service resources.
diff --git a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ServicesRestartReplicaSamples.java b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ServicesRestartReplicaSamples.java
index 62f2f87da0d6..4f4198be6ccd 100644
--- a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ServicesRestartReplicaSamples.java
+++ b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ServicesRestartReplicaSamples.java
@@ -13,7 +13,7 @@
*/
public final class ServicesRestartReplicaSamples {
/*
- * x-ms-original-file: 2026-02-01/ServiceActionRestartReplica_example.json
+ * x-ms-original-file: 2026-05-01-preview/ServiceActionRestartReplica_example.json
*/
/**
* Sample code: Restart replicas.
diff --git a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ServicesUpdateSamples.java b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ServicesUpdateSamples.java
index 142bfadc30a1..9003931fb3ef 100644
--- a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ServicesUpdateSamples.java
+++ b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/samples/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ServicesUpdateSamples.java
@@ -13,7 +13,7 @@
*/
public final class ServicesUpdateSamples {
/*
- * x-ms-original-file: 2026-02-01/ServicePatchOperation_example.json
+ * x-ms-original-file: 2026-05-01-preview/ServicePatchOperation_example.json
*/
/**
* Sample code: Patch a service.
diff --git a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/AdditionalNetworkInterfaceConfigurationTests.java b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/AdditionalNetworkInterfaceConfigurationTests.java
index eb99a305a8e2..2534c0eeeb59 100644
--- a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/AdditionalNetworkInterfaceConfigurationTests.java
+++ b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/AdditionalNetworkInterfaceConfigurationTests.java
@@ -19,24 +19,23 @@ public final class AdditionalNetworkInterfaceConfigurationTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
AdditionalNetworkInterfaceConfiguration model = BinaryData.fromString(
- "{\"name\":\"ueluqhhahhxvrhmz\",\"enableAcceleratedNetworking\":true,\"dscpConfiguration\":{\"id\":\"wws\"},\"ipConfigurations\":[{\"name\":\"ghftqsxhqxujxuk\",\"applicationGatewayBackendAddressPools\":[{\"id\":\"igrjguufzdm\"},{\"id\":\"qtfihwhbotzinga\"}],\"loadBalancerBackendAddressPools\":[{\"id\":\"ho\"}],\"loadBalancerInboundNatPools\":[{\"id\":\"udphqamvdkfwyn\"},{\"id\":\"vtbvkayh\"}],\"subnet\":{\"id\":\"vyqia\"},\"privateIPAddressVersion\":\"IPv6\",\"publicIPAddressConfiguration\":{\"name\":\"pcnp\",\"ipTags\":[{\"ipTagType\":\"jaesgvvsccya\",\"tag\":\"g\"},{\"ipTagType\":\"qfhwyg\",\"tag\":\"lvdnkfx\"},{\"ipTagType\":\"semdwzrmu\",\"tag\":\"apfcqdpsq\"}],\"publicIPAddressVersion\":\"IPv6\"}},{\"name\":\"psvuoymgc\",\"applicationGatewayBackendAddressPools\":[{\"id\":\"ezrypql\"}],\"loadBalancerBackendAddressPools\":[{\"id\":\"kerqwkyh\"},{\"id\":\"bopgxedkowepbqp\"},{\"id\":\"fkbw\"},{\"id\":\"snjvcdwxlpqekftn\"}],\"loadBalancerInboundNatPools\":[{\"id\":\"syingwfqatmtdht\"},{\"id\":\"vypgikdg\"}],\"subnet\":{\"id\":\"w\"},\"privateIPAddressVersion\":\"IPv6\",\"publicIPAddressConfiguration\":{\"name\":\"ryuzh\",\"ipTags\":[{\"ipTagType\":\"joqrvqqaatj\",\"tag\":\"nrvgoupmfiibfgg\"}],\"publicIPAddressVersion\":\"IPv4\"}}]}")
+ "{\"name\":\"ool\",\"enableAcceleratedNetworking\":true,\"dscpConfiguration\":{\"id\":\"iwkkbn\"},\"ipConfigurations\":[{\"name\":\"rywvtylbfpn\",\"applicationGatewayBackendAddressPools\":[{\"id\":\"oiwiithtywub\"}],\"loadBalancerBackendAddressPools\":[{\"id\":\"h\"},{\"id\":\"knfd\"},{\"id\":\"wjchrdg\"}],\"loadBalancerInboundNatPools\":[{\"id\":\"umwctondz\"},{\"id\":\"uu\"},{\"id\":\"dlwggytsbwtovv\"}],\"subnet\":{\"id\":\"einqf\"},\"privateIPAddressVersion\":\"IPv6\",\"publicIPAddressConfiguration\":{\"name\":\"qknp\",\"ipTags\":[{\"ipTagType\":\"nepttwqmsni\",\"tag\":\"fcdmqnrojlpijn\"},{\"ipTagType\":\"rxfrddhc\",\"tag\":\"atiz\"},{\"ipTagType\":\"ronasxift\",\"tag\":\"zq\"}],\"publicIPAddressVersion\":\"IPv6\"}},{\"name\":\"f\",\"applicationGatewayBackendAddressPools\":[{\"id\":\"gogczhonnxkrlgny\"},{\"id\":\"ossxk\"}],\"loadBalancerBackendAddressPools\":[{\"id\":\"rrghxjbdhqxvcxgf\"},{\"id\":\"dsofbshrns\"}],\"loadBalancerInboundNatPools\":[{\"id\":\"wdvzyy\"},{\"id\":\"cnunvjsr\"}],\"subnet\":{\"id\":\"awnopqgikyzirtxd\"},\"privateIPAddressVersion\":\"IPv4\",\"publicIPAddressConfiguration\":{\"name\":\"ejnt\",\"ipTags\":[{\"ipTagType\":\"wgioilqukry\",\"tag\":\"xtqmieoxor\"},{\"ipTagType\":\"gufhyaomtbg\",\"tag\":\"havgrvk\"},{\"ipTagType\":\"fo\",\"tag\":\"jzhpjbibgjmfx\"},{\"ipTagType\":\"mv\",\"tag\":\"cluyovwxnbkf\"}],\"publicIPAddressVersion\":\"IPv6\"}},{\"name\":\"xscyhwzdgirujbz\",\"applicationGatewayBackendAddressPools\":[{\"id\":\"zzbtdcqvpniyujvi\"},{\"id\":\"wdsh\"},{\"id\":\"snrbgyefrymsgao\"}],\"loadBalancerBackendAddressPools\":[{\"id\":\"nc\"}],\"loadBalancerInboundNatPools\":[{\"id\":\"fhir\"},{\"id\":\"ymoxoftpipiwyczu\"},{\"id\":\"a\"}],\"subnet\":{\"id\":\"jlihhyus\"},\"privateIPAddressVersion\":\"IPv4\",\"publicIPAddressConfiguration\":{\"name\":\"sdvlmfwdgzxulucv\",\"ipTags\":[{\"ipTagType\":\"rsre\",\"tag\":\"zvxurisjnhny\"},{\"ipTagType\":\"xifqjzgxm\",\"tag\":\"hu\"},{\"ipTagType\":\"lw\",\"tag\":\"cesutrgjupauut\"},{\"ipTagType\":\"woqhihe\",\"tag\":\"qg\"}],\"publicIPAddressVersion\":\"IPv6\"}},{\"name\":\"nfqn\",\"applicationGatewayBackendAddressPools\":[{\"id\":\"sx\"},{\"id\":\"foimwkslircizjxv\"},{\"id\":\"fceacvlhvygd\"}],\"loadBalancerBackendAddressPools\":[{\"id\":\"mrtwna\"}],\"loadBalancerInboundNatPools\":[{\"id\":\"biwkojgcyzt\"}],\"subnet\":{\"id\":\"z\"},\"privateIPAddressVersion\":\"IPv6\",\"publicIPAddressConfiguration\":{\"name\":\"qphchqnrnrpxehuw\",\"ipTags\":[{\"ipTagType\":\"qgaifmviklbydv\",\"tag\":\"hbejdznxcvdsrhnj\"}],\"publicIPAddressVersion\":\"IPv6\"}}]}")
.toObject(AdditionalNetworkInterfaceConfiguration.class);
- Assertions.assertEquals("ueluqhhahhxvrhmz", model.name());
+ Assertions.assertEquals("ool", model.name());
Assertions.assertTrue(model.enableAcceleratedNetworking());
- Assertions.assertEquals("wws", model.dscpConfiguration().id());
- Assertions.assertEquals("ghftqsxhqxujxuk", model.ipConfigurations().get(0).name());
- Assertions.assertEquals("igrjguufzdm",
+ Assertions.assertEquals("iwkkbn", model.dscpConfiguration().id());
+ Assertions.assertEquals("rywvtylbfpn", model.ipConfigurations().get(0).name());
+ Assertions.assertEquals("oiwiithtywub",
model.ipConfigurations().get(0).applicationGatewayBackendAddressPools().get(0).id());
- Assertions.assertEquals("ho", model.ipConfigurations().get(0).loadBalancerBackendAddressPools().get(0).id());
- Assertions.assertEquals("udphqamvdkfwyn",
- model.ipConfigurations().get(0).loadBalancerInboundNatPools().get(0).id());
- Assertions.assertEquals("vyqia", model.ipConfigurations().get(0).subnet().id());
+ Assertions.assertEquals("h", model.ipConfigurations().get(0).loadBalancerBackendAddressPools().get(0).id());
+ Assertions.assertEquals("umwctondz", model.ipConfigurations().get(0).loadBalancerInboundNatPools().get(0).id());
+ Assertions.assertEquals("einqf", model.ipConfigurations().get(0).subnet().id());
Assertions.assertEquals(PrivateIpAddressVersion.IPV6,
model.ipConfigurations().get(0).privateIpAddressVersion());
- Assertions.assertEquals("pcnp", model.ipConfigurations().get(0).publicIpAddressConfiguration().name());
- Assertions.assertEquals("jaesgvvsccya",
+ Assertions.assertEquals("qknp", model.ipConfigurations().get(0).publicIpAddressConfiguration().name());
+ Assertions.assertEquals("nepttwqmsni",
model.ipConfigurations().get(0).publicIpAddressConfiguration().ipTags().get(0).ipTagType());
- Assertions.assertEquals("g",
+ Assertions.assertEquals("fcdmqnrojlpijn",
model.ipConfigurations().get(0).publicIpAddressConfiguration().ipTags().get(0).tag());
Assertions.assertEquals(PublicIpAddressVersion.IPV6,
model.ipConfigurations().get(0).publicIpAddressConfiguration().publicIpAddressVersion());
@@ -44,56 +43,84 @@ public void testDeserialize() throws Exception {
@org.junit.jupiter.api.Test
public void testSerialize() throws Exception {
- AdditionalNetworkInterfaceConfiguration model
- = new AdditionalNetworkInterfaceConfiguration().withName("ueluqhhahhxvrhmz")
- .withEnableAcceleratedNetworking(true)
- .withDscpConfiguration(new SubResource().withId("wws"))
- .withIpConfigurations(Arrays.asList(
- new IpConfiguration().withName("ghftqsxhqxujxuk")
- .withApplicationGatewayBackendAddressPools(Arrays.asList(
- new SubResource().withId("igrjguufzdm"), new SubResource().withId("qtfihwhbotzinga")))
- .withLoadBalancerBackendAddressPools(Arrays.asList(new SubResource().withId("ho")))
- .withLoadBalancerInboundNatPools(Arrays
- .asList(new SubResource().withId("udphqamvdkfwyn"), new SubResource().withId("vtbvkayh")))
- .withSubnet(new SubResource().withId("vyqia"))
- .withPrivateIpAddressVersion(PrivateIpAddressVersion.IPV6)
- .withPublicIpAddressConfiguration(
- new IpConfigurationPublicIpAddressConfiguration().withName("pcnp")
- .withIpTags(Arrays.asList(new IpTag().withIpTagType("jaesgvvsccya").withTag("g"),
- new IpTag().withIpTagType("qfhwyg").withTag("lvdnkfx"),
- new IpTag().withIpTagType("semdwzrmu").withTag("apfcqdpsq")))
- .withPublicIpAddressVersion(PublicIpAddressVersion.IPV6)),
- new IpConfiguration().withName("psvuoymgc")
- .withApplicationGatewayBackendAddressPools(Arrays.asList(new SubResource().withId("ezrypql")))
- .withLoadBalancerBackendAddressPools(Arrays.asList(new SubResource().withId("kerqwkyh"),
- new SubResource().withId("bopgxedkowepbqp"), new SubResource().withId("fkbw"),
- new SubResource().withId("snjvcdwxlpqekftn")))
- .withLoadBalancerInboundNatPools(Arrays.asList(new SubResource().withId("syingwfqatmtdht"),
- new SubResource().withId("vypgikdg")))
- .withSubnet(new SubResource().withId("w"))
- .withPrivateIpAddressVersion(PrivateIpAddressVersion.IPV6)
- .withPublicIpAddressConfiguration(
- new IpConfigurationPublicIpAddressConfiguration().withName("ryuzh")
- .withIpTags(
- Arrays.asList(new IpTag().withIpTagType("joqrvqqaatj").withTag("nrvgoupmfiibfgg")))
- .withPublicIpAddressVersion(PublicIpAddressVersion.IPV4))));
+ AdditionalNetworkInterfaceConfiguration model = new AdditionalNetworkInterfaceConfiguration().withName("ool")
+ .withEnableAcceleratedNetworking(true)
+ .withDscpConfiguration(new SubResource().withId("iwkkbn"))
+ .withIpConfigurations(Arrays.asList(
+ new IpConfiguration().withName("rywvtylbfpn")
+ .withApplicationGatewayBackendAddressPools(Arrays.asList(new SubResource().withId("oiwiithtywub")))
+ .withLoadBalancerBackendAddressPools(Arrays.asList(new SubResource().withId("h"),
+ new SubResource().withId("knfd"), new SubResource().withId("wjchrdg")))
+ .withLoadBalancerInboundNatPools(Arrays.asList(new SubResource().withId("umwctondz"),
+ new SubResource().withId("uu"), new SubResource().withId("dlwggytsbwtovv")))
+ .withSubnet(new SubResource().withId("einqf"))
+ .withPrivateIpAddressVersion(PrivateIpAddressVersion.IPV6)
+ .withPublicIpAddressConfiguration(new IpConfigurationPublicIpAddressConfiguration()
+ .withName("qknp")
+ .withIpTags(
+ Arrays.asList(new IpTag().withIpTagType("nepttwqmsni").withTag("fcdmqnrojlpijn"),
+ new IpTag().withIpTagType("rxfrddhc").withTag("atiz"),
+ new IpTag().withIpTagType("ronasxift").withTag("zq")))
+ .withPublicIpAddressVersion(PublicIpAddressVersion.IPV6)),
+ new IpConfiguration().withName("f")
+ .withApplicationGatewayBackendAddressPools(
+ Arrays.asList(new SubResource().withId("gogczhonnxkrlgny"), new SubResource().withId("ossxk")))
+ .withLoadBalancerBackendAddressPools(Arrays.asList(new SubResource().withId("rrghxjbdhqxvcxgf"),
+ new SubResource().withId("dsofbshrns")))
+ .withLoadBalancerInboundNatPools(
+ Arrays.asList(new SubResource().withId("wdvzyy"), new SubResource().withId("cnunvjsr")))
+ .withSubnet(new SubResource().withId("awnopqgikyzirtxd"))
+ .withPrivateIpAddressVersion(PrivateIpAddressVersion.IPV4)
+ .withPublicIpAddressConfiguration(new IpConfigurationPublicIpAddressConfiguration().withName("ejnt")
+ .withIpTags(Arrays.asList(new IpTag().withIpTagType("wgioilqukry").withTag("xtqmieoxor"),
+ new IpTag().withIpTagType("gufhyaomtbg").withTag("havgrvk"),
+ new IpTag().withIpTagType("fo").withTag("jzhpjbibgjmfx"),
+ new IpTag().withIpTagType("mv").withTag("cluyovwxnbkf")))
+ .withPublicIpAddressVersion(PublicIpAddressVersion.IPV6)),
+ new IpConfiguration().withName("xscyhwzdgirujbz")
+ .withApplicationGatewayBackendAddressPools(
+ Arrays.asList(new SubResource().withId("zzbtdcqvpniyujvi"), new SubResource().withId("wdsh"),
+ new SubResource().withId("snrbgyefrymsgao")))
+ .withLoadBalancerBackendAddressPools(Arrays.asList(new SubResource().withId("nc")))
+ .withLoadBalancerInboundNatPools(Arrays.asList(new SubResource().withId("fhir"),
+ new SubResource().withId("ymoxoftpipiwyczu"), new SubResource().withId("a")))
+ .withSubnet(new SubResource().withId("jlihhyus"))
+ .withPrivateIpAddressVersion(PrivateIpAddressVersion.IPV4)
+ .withPublicIpAddressConfiguration(
+ new IpConfigurationPublicIpAddressConfiguration().withName("sdvlmfwdgzxulucv")
+ .withIpTags(Arrays.asList(new IpTag().withIpTagType("rsre").withTag("zvxurisjnhny"),
+ new IpTag().withIpTagType("xifqjzgxm").withTag("hu"),
+ new IpTag().withIpTagType("lw").withTag("cesutrgjupauut"),
+ new IpTag().withIpTagType("woqhihe").withTag("qg")))
+ .withPublicIpAddressVersion(PublicIpAddressVersion.IPV6)),
+ new IpConfiguration().withName("nfqn")
+ .withApplicationGatewayBackendAddressPools(Arrays.asList(new SubResource().withId("sx"),
+ new SubResource().withId("foimwkslircizjxv"), new SubResource().withId("fceacvlhvygd")))
+ .withLoadBalancerBackendAddressPools(Arrays.asList(new SubResource().withId("mrtwna")))
+ .withLoadBalancerInboundNatPools(Arrays.asList(new SubResource().withId("biwkojgcyzt")))
+ .withSubnet(new SubResource().withId("z"))
+ .withPrivateIpAddressVersion(PrivateIpAddressVersion.IPV6)
+ .withPublicIpAddressConfiguration(
+ new IpConfigurationPublicIpAddressConfiguration().withName("qphchqnrnrpxehuw")
+ .withIpTags(
+ Arrays.asList(new IpTag().withIpTagType("qgaifmviklbydv").withTag("hbejdznxcvdsrhnj")))
+ .withPublicIpAddressVersion(PublicIpAddressVersion.IPV6))));
model = BinaryData.fromObject(model).toObject(AdditionalNetworkInterfaceConfiguration.class);
- Assertions.assertEquals("ueluqhhahhxvrhmz", model.name());
+ Assertions.assertEquals("ool", model.name());
Assertions.assertTrue(model.enableAcceleratedNetworking());
- Assertions.assertEquals("wws", model.dscpConfiguration().id());
- Assertions.assertEquals("ghftqsxhqxujxuk", model.ipConfigurations().get(0).name());
- Assertions.assertEquals("igrjguufzdm",
+ Assertions.assertEquals("iwkkbn", model.dscpConfiguration().id());
+ Assertions.assertEquals("rywvtylbfpn", model.ipConfigurations().get(0).name());
+ Assertions.assertEquals("oiwiithtywub",
model.ipConfigurations().get(0).applicationGatewayBackendAddressPools().get(0).id());
- Assertions.assertEquals("ho", model.ipConfigurations().get(0).loadBalancerBackendAddressPools().get(0).id());
- Assertions.assertEquals("udphqamvdkfwyn",
- model.ipConfigurations().get(0).loadBalancerInboundNatPools().get(0).id());
- Assertions.assertEquals("vyqia", model.ipConfigurations().get(0).subnet().id());
+ Assertions.assertEquals("h", model.ipConfigurations().get(0).loadBalancerBackendAddressPools().get(0).id());
+ Assertions.assertEquals("umwctondz", model.ipConfigurations().get(0).loadBalancerInboundNatPools().get(0).id());
+ Assertions.assertEquals("einqf", model.ipConfigurations().get(0).subnet().id());
Assertions.assertEquals(PrivateIpAddressVersion.IPV6,
model.ipConfigurations().get(0).privateIpAddressVersion());
- Assertions.assertEquals("pcnp", model.ipConfigurations().get(0).publicIpAddressConfiguration().name());
- Assertions.assertEquals("jaesgvvsccya",
+ Assertions.assertEquals("qknp", model.ipConfigurations().get(0).publicIpAddressConfiguration().name());
+ Assertions.assertEquals("nepttwqmsni",
model.ipConfigurations().get(0).publicIpAddressConfiguration().ipTags().get(0).ipTagType());
- Assertions.assertEquals("g",
+ Assertions.assertEquals("fcdmqnrojlpijn",
model.ipConfigurations().get(0).publicIpAddressConfiguration().ipTags().get(0).tag());
Assertions.assertEquals(PublicIpAddressVersion.IPV6,
model.ipConfigurations().get(0).publicIpAddressConfiguration().publicIpAddressVersion());
diff --git a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ApplicationTypeVersionsCreateOrUpdateMockTests.java b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ApplicationTypeVersionsCreateOrUpdateMockTests.java
index f035f94af0be..1d0adb8f6174 100644
--- a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ApplicationTypeVersionsCreateOrUpdateMockTests.java
+++ b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ApplicationTypeVersionsCreateOrUpdateMockTests.java
@@ -23,7 +23,7 @@ public final class ApplicationTypeVersionsCreateOrUpdateMockTests {
@Test
public void testCreateOrUpdate() throws Exception {
String responseStr
- = "{\"properties\":{\"provisioningState\":\"Succeeded\",\"appPackageUrl\":\"avft\"},\"tags\":{\"civmmg\":\"dqazkmtgguwpijra\",\"fiwrxgkn\":\"f\",\"oxgsgbpfgzdjtx\":\"uvyinzqodfvpgs\",\"qvlgafcqusrdvetn\":\"zflbqvg\"},\"location\":\"dtutnwldu\",\"id\":\"vuzhyr\",\"name\":\"ewipm\",\"type\":\"ekdxuku\"}";
+ = "{\"properties\":{\"provisioningState\":\"Succeeded\",\"appPackageUrl\":\"hnomdrkywuh\"},\"tags\":{\"lalniex\":\"fuurutlwexx\",\"gdakchz\":\"srzpgepqtybbww\"},\"location\":\"lixqnrkcxkjibn\",\"id\":\"ysux\",\"name\":\"wq\",\"type\":\"ntvlwijpsttexo\"}";
HttpClient httpClient
= response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
@@ -33,16 +33,17 @@ public void testCreateOrUpdate() throws Exception {
new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD));
ApplicationTypeVersionResource response = manager.applicationTypeVersions()
- .define("wpfaj")
- .withExistingApplicationType("qxzhem", "yhohujswtwkozzwc", "lkb")
- .withRegion("djhlimm")
- .withTags(mapOf("azul", "imlnwiaaomylw", "jhlfzswpchwahf", "sethwwn", "wlyxgncxyk", "ousnfepgfewe"))
- .withAppPackageUrl("vkcdmxzr")
+ .define("szcofizeht")
+ .withExistingApplicationType("czexrxzbujrtrhqv", "revkhgnlnzo", "zlrpiqywncvj")
+ .withRegion("hxgsrboldfor")
+ .withTags(
+ mapOf("lvidizozs", "erbdk", "n", "bccxjmonfdgn", "keifzzhmkdasv", "ypuuwwltvuqjctze", "cu", "lyhb"))
+ .withAppPackageUrl("vzmlovuanashcxl")
.create();
- Assertions.assertEquals("dqazkmtgguwpijra", response.tags().get("civmmg"));
- Assertions.assertEquals("dtutnwldu", response.location());
- Assertions.assertEquals("avft", response.appPackageUrl());
+ Assertions.assertEquals("fuurutlwexx", response.tags().get("lalniex"));
+ Assertions.assertEquals("lixqnrkcxkjibn", response.location());
+ Assertions.assertEquals("hnomdrkywuh", response.appPackageUrl());
}
// Use "Map.of" if available
diff --git a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ApplicationTypeVersionsGetWithResponseMockTests.java b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ApplicationTypeVersionsGetWithResponseMockTests.java
index 45dfd7a21169..46dd1948ffbd 100644
--- a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ApplicationTypeVersionsGetWithResponseMockTests.java
+++ b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ApplicationTypeVersionsGetWithResponseMockTests.java
@@ -21,7 +21,7 @@ public final class ApplicationTypeVersionsGetWithResponseMockTests {
@Test
public void testGetWithResponse() throws Exception {
String responseStr
- = "{\"properties\":{\"provisioningState\":\"gmvecactxmw\",\"appPackageUrl\":\"teyowclu\"},\"tags\":{\"mpjw\":\"ekqvgqouwif\",\"sphuagrttikteus\":\"ivqikfxcvhr\"},\"location\":\"zkvyklx\",\"id\":\"yja\",\"name\":\"fmmfblcqcu\",\"type\":\"bgq\"}";
+ = "{\"properties\":{\"provisioningState\":\"prhptillu\",\"appPackageUrl\":\"biqtgdq\"},\"tags\":{\"etpwbralll\":\"cwsldri\",\"p\":\"bphbqzmizakakank\",\"zhajoylhjlmuo\":\"n\",\"eecjmeis\":\"xprimrsop\"},\"location\":\"tvasy\",\"id\":\"xdza\",\"name\":\"mweoohgu\",\"type\":\"fuzboyjathwtzolb\"}";
HttpClient httpClient
= response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
@@ -31,11 +31,12 @@ public void testGetWithResponse() throws Exception {
new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD));
ApplicationTypeVersionResource response = manager.applicationTypeVersions()
- .getWithResponse("pe", "ojyqdhcuplcplcw", "hihihlhzdsqtzbsr", "nowc", com.azure.core.util.Context.NONE)
+ .getWithResponse("ifhpf", "oajvgcxtxjcs", "eafidltugsresm", "ssjhoiftxfkf",
+ com.azure.core.util.Context.NONE)
.getValue();
- Assertions.assertEquals("ekqvgqouwif", response.tags().get("mpjw"));
- Assertions.assertEquals("zkvyklx", response.location());
- Assertions.assertEquals("teyowclu", response.appPackageUrl());
+ Assertions.assertEquals("cwsldri", response.tags().get("etpwbralll"));
+ Assertions.assertEquals("tvasy", response.location());
+ Assertions.assertEquals("biqtgdq", response.appPackageUrl());
}
}
diff --git a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ApplicationTypeVersionsListByApplicationTypesMockTests.java b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ApplicationTypeVersionsListByApplicationTypesMockTests.java
index 0217e57ef8e9..fb70c6b52366 100644
--- a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ApplicationTypeVersionsListByApplicationTypesMockTests.java
+++ b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ApplicationTypeVersionsListByApplicationTypesMockTests.java
@@ -22,7 +22,7 @@ public final class ApplicationTypeVersionsListByApplicationTypesMockTests {
@Test
public void testListByApplicationTypes() throws Exception {
String responseStr
- = "{\"value\":[{\"properties\":{\"provisioningState\":\"ypxiutcxap\",\"appPackageUrl\":\"hyrpetogebjoxs\"},\"tags\":{\"brqnkkzjcjb\":\"nhl\"},\"location\":\"gaehvvibrxjjst\",\"id\":\"beitpkx\",\"name\":\"tmo\",\"type\":\"bklftidgfcwqmpim\"}]}";
+ = "{\"value\":[{\"properties\":{\"provisioningState\":\"mwmqtibx\",\"appPackageUrl\":\"ijddtvqc\"},\"tags\":{\"ukm\":\"dija\",\"dqmeqwigpibudq\":\"sieekpndzaapm\",\"ybpmzznrtffyaq\":\"yxeb\",\"hvseufuqyrx\":\"tmhheioqa\"},\"location\":\"lcgqlsismj\",\"id\":\"rddga\",\"name\":\"quhiosrsjuivf\",\"type\":\"disyirnxz\"}]}";
HttpClient httpClient
= response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
@@ -32,10 +32,10 @@ public void testListByApplicationTypes() throws Exception {
new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD));
PagedIterable response = manager.applicationTypeVersions()
- .listByApplicationTypes("brta", "metttwgd", "lqxihhrmooiz", com.azure.core.util.Context.NONE);
+ .listByApplicationTypes("emwmdxmebwjs", "jpahlxvea", "f", com.azure.core.util.Context.NONE);
- Assertions.assertEquals("nhl", response.iterator().next().tags().get("brqnkkzjcjb"));
- Assertions.assertEquals("gaehvvibrxjjst", response.iterator().next().location());
- Assertions.assertEquals("hyrpetogebjoxs", response.iterator().next().appPackageUrl());
+ Assertions.assertEquals("dija", response.iterator().next().tags().get("ukm"));
+ Assertions.assertEquals("lcgqlsismj", response.iterator().next().location());
+ Assertions.assertEquals("ijddtvqc", response.iterator().next().appPackageUrl());
}
}
diff --git a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ApplicationTypesCreateOrUpdateWithResponseMockTests.java b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ApplicationTypesCreateOrUpdateWithResponseMockTests.java
index ae3526adab07..5542d0903e85 100644
--- a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ApplicationTypesCreateOrUpdateWithResponseMockTests.java
+++ b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ApplicationTypesCreateOrUpdateWithResponseMockTests.java
@@ -23,7 +23,7 @@ public final class ApplicationTypesCreateOrUpdateWithResponseMockTests {
@Test
public void testCreateOrUpdateWithResponse() throws Exception {
String responseStr
- = "{\"properties\":{\"provisioningState\":\"ocqwogfnzjvus\"},\"tags\":{\"ylfsbtk\":\"dmozu\"},\"location\":\"pysownbt\",\"id\":\"bugrj\",\"name\":\"cto\",\"type\":\"cmisofie\"}";
+ = "{\"properties\":{\"provisioningState\":\"mvpdvjdhttzaef\"},\"tags\":{\"dfzpbgtgkylkdg\":\"ihchrphkmcrjdqn\"},\"location\":\"jeuut\",\"id\":\"xezw\",\"name\":\"hokvbwnh\",\"type\":\"tqlgehgppi\"}";
HttpClient httpClient
= response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
@@ -33,15 +33,14 @@ public void testCreateOrUpdateWithResponse() throws Exception {
new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD));
ApplicationTypeResource response = manager.applicationTypes()
- .define("bunzozudh")
- .withExistingManagedCluster("spave", "hrv")
- .withRegion("ieknl")
- .withTags(mapOf("aeoisrvh", "nbzydvfvfcj", "ukiscvwmzhw", "gorf", "nzeyqxtjj", "lefaxvxilcbtgn",
- "vodggxdbee", "zqlqhyc"))
+ .define("kdlpa")
+ .withExistingManagedCluster("z", "mes")
+ .withRegion("disdosfjbjsvgj")
+ .withTags(mapOf("fqob", "ft", "cgcckknhxkizvyt", "jln", "r", "rzvul", "roylaxxu", "aeranokqgukkjqnv"))
.create();
- Assertions.assertEquals("dmozu", response.tags().get("ylfsbtk"));
- Assertions.assertEquals("pysownbt", response.location());
+ Assertions.assertEquals("ihchrphkmcrjdqn", response.tags().get("dfzpbgtgkylkdg"));
+ Assertions.assertEquals("jeuut", response.location());
}
// Use "Map.of" if available
diff --git a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ApplicationTypesGetWithResponseMockTests.java b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ApplicationTypesGetWithResponseMockTests.java
index eeb52471f185..48416600706f 100644
--- a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ApplicationTypesGetWithResponseMockTests.java
+++ b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ApplicationTypesGetWithResponseMockTests.java
@@ -21,7 +21,7 @@ public final class ApplicationTypesGetWithResponseMockTests {
@Test
public void testGetWithResponse() throws Exception {
String responseStr
- = "{\"properties\":{\"provisioningState\":\"yavluwmncstt\"},\"tags\":{\"vpo\":\"y\",\"huzqgn\":\"krsgsgb\"},\"location\":\"gkynscliqh\",\"id\":\"h\",\"name\":\"nk\",\"type\":\"mtk\"}";
+ = "{\"properties\":{\"provisioningState\":\"fmocwahpq\"},\"tags\":{\"akz\":\"jeaahhvjhh\",\"xvxevblbjednljla\":\"bbjjidjksyxk\",\"smjbnkppxyn\":\"euaulxu\"},\"location\":\"lsvxeizz\",\"id\":\"klnsrmffey\",\"name\":\"xcktpiymerteeamm\",\"type\":\"qiekkkzddrt\"}";
HttpClient httpClient
= response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
@@ -31,10 +31,10 @@ public void testGetWithResponse() throws Exception {
new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD));
ApplicationTypeResource response = manager.applicationTypes()
- .getWithResponse("jazysdzhezwwvaiq", "uvvfonkp", "hqyikvy", com.azure.core.util.Context.NONE)
+ .getWithResponse("y", "uxakjsqzhzbezk", "imsidxasicddyvvj", com.azure.core.util.Context.NONE)
.getValue();
- Assertions.assertEquals("y", response.tags().get("vpo"));
- Assertions.assertEquals("gkynscliqh", response.location());
+ Assertions.assertEquals("jeaahhvjhh", response.tags().get("akz"));
+ Assertions.assertEquals("lsvxeizz", response.location());
}
}
diff --git a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ApplicationTypesListMockTests.java b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ApplicationTypesListMockTests.java
index ec876b0bef3f..ef5a50707408 100644
--- a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ApplicationTypesListMockTests.java
+++ b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ApplicationTypesListMockTests.java
@@ -22,7 +22,7 @@ public final class ApplicationTypesListMockTests {
@Test
public void testList() throws Exception {
String responseStr
- = "{\"value\":[{\"properties\":{\"provisioningState\":\"hfrbbc\"},\"tags\":{\"ykvgtrdcnifmz\":\"agtltdhlfkqoj\"},\"location\":\"dymbrny\",\"id\":\"xmprafwg\",\"name\":\"khocxvdfffwaf\",\"type\":\"roud\"}]}";
+ = "{\"value\":[{\"properties\":{\"provisioningState\":\"efdeesve\"},\"tags\":{\"sawddjibabxvi\":\"jpxtxsuwprtuj\",\"tfgle\":\"itvtzeexavo\"},\"location\":\"m\",\"id\":\"bwpypqtgsfjacb\",\"name\":\"lhhxudbxvodhtnsi\",\"type\":\"ud\"}]}";
HttpClient httpClient
= response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
@@ -32,9 +32,9 @@ public void testList() throws Exception {
new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD));
PagedIterable response
- = manager.applicationTypes().list("bo", "ppnvdxz", com.azure.core.util.Context.NONE);
+ = manager.applicationTypes().list("g", "ojbmxv", com.azure.core.util.Context.NONE);
- Assertions.assertEquals("agtltdhlfkqoj", response.iterator().next().tags().get("ykvgtrdcnifmz"));
- Assertions.assertEquals("dymbrny", response.iterator().next().location());
+ Assertions.assertEquals("jpxtxsuwprtuj", response.iterator().next().tags().get("sawddjibabxvi"));
+ Assertions.assertEquals("m", response.iterator().next().location());
}
}
diff --git a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ApplicationsCreateOrUpdateMockTests.java b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ApplicationsCreateOrUpdateMockTests.java
index 9284e1058596..ca2b3052cf06 100644
--- a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ApplicationsCreateOrUpdateMockTests.java
+++ b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ApplicationsCreateOrUpdateMockTests.java
@@ -34,7 +34,7 @@ public final class ApplicationsCreateOrUpdateMockTests {
@Test
public void testCreateOrUpdate() throws Exception {
String responseStr
- = "{\"properties\":{\"managedIdentities\":[{\"name\":\"drihpfhoqcaaewda\",\"principalId\":\"mdjvlpj\"},{\"name\":\"xkzb\",\"principalId\":\"msgeivsiykzk\"}],\"provisioningState\":\"Succeeded\",\"version\":\"bzo\",\"parameters\":{\"ogtqxepnylbf\":\"ulapzwyrp\",\"cib\":\"ajlyjtlvofqzhv\",\"uxrkjp\":\"fmo\",\"wiivwzjbhyzsx\":\"dwxf\"},\"upgradePolicy\":{\"applicationHealthPolicy\":{\"considerWarningAsError\":true,\"maxPercentUnhealthyDeployedApplications\":857914437,\"defaultServiceTypeHealthPolicy\":{\"maxPercentUnhealthyServices\":2010544463,\"maxPercentUnhealthyPartitionsPerService\":1753999923,\"maxPercentUnhealthyReplicasPerPartition\":426068094},\"serviceTypeHealthPolicyMap\":{\"vuqeqvldspast\":{\"maxPercentUnhealthyServices\":1243501701,\"maxPercentUnhealthyPartitionsPerService\":1525920075,\"maxPercentUnhealthyReplicasPerPartition\":983606156},\"dmflv\":{\"maxPercentUnhealthyServices\":900352978,\"maxPercentUnhealthyPartitionsPerService\":1481750195,\"maxPercentUnhealthyReplicasPerPartition\":1155931033},\"jlxr\":{\"maxPercentUnhealthyServices\":922777,\"maxPercentUnhealthyPartitionsPerService\":1294255388,\"maxPercentUnhealthyReplicasPerPartition\":1941406807}}},\"forceRestart\":true,\"rollingUpgradeMonitoringPolicy\":{\"failureAction\":\"Manual\",\"healthCheckWaitDuration\":\"apeewchpxlkt\",\"healthCheckStableDuration\":\"kuziycsle\",\"healthCheckRetryTimeout\":\"ufuztcktyhjtq\",\"upgradeTimeout\":\"dcgzul\",\"upgradeDomainTimeout\":\"mmrqz\"},\"instanceCloseDelayDuration\":9007359622737683059,\"upgradeMode\":\"Monitored\",\"upgradeReplicaSetCheckTimeout\":6630814331855742678,\"recreateApplication\":false}},\"tags\":{\"ytp\":\"rvqeevtoepryutn\"},\"identity\":{\"principalId\":\"o\",\"tenantId\":\"vf\",\"type\":\"SystemAssigned\",\"userAssignedIdentities\":{\"xndticokpvzmlqtm\":{\"principalId\":\"adflgzu\",\"clientId\":\"glae\"},\"iykhy\":{\"principalId\":\"gxobfirclnp\",\"clientId\":\"iayz\"}}},\"location\":\"fvjlboxqvkjlmx\",\"id\":\"mdy\",\"name\":\"hdwdi\",\"type\":\"umbnraauzzp\"}";
+ = "{\"properties\":{\"managedIdentities\":[{\"name\":\"ajnjwltlwtjj\",\"principalId\":\"uktalhsnvkcdmxz\"},{\"name\":\"poaimlnwiaaomyl\",\"principalId\":\"eazulcs\"},{\"name\":\"thwwn\",\"principalId\":\"jhlfzswpchwahf\"},{\"name\":\"ousnfepgfewe\",\"principalId\":\"wlyxgncxyk\"}],\"provisioningState\":\"Succeeded\",\"version\":\"x\",\"parameters\":{\"qizxfpxtgqscjavf\":\"cporxvxcjz\",\"r\":\"juhdqazkmtgguwpi\",\"f\":\"jcivmmg\",\"uvyinzqodfvpgs\":\"fiwrxgkn\"},\"upgradePolicy\":{\"applicationHealthPolicy\":{\"considerWarningAsError\":true,\"maxPercentUnhealthyDeployedApplications\":537154841,\"defaultServiceTypeHealthPolicy\":{\"maxPercentUnhealthyServices\":1694962997,\"maxPercentUnhealthyPartitionsPerService\":243452563,\"maxPercentUnhealthyReplicasPerPartition\":58598702},\"serviceTypeHealthPolicyMap\":{\"xvzflbqv\":{\"maxPercentUnhealthyServices\":369289727,\"maxPercentUnhealthyPartitionsPerService\":1170150782,\"maxPercentUnhealthyReplicasPerPartition\":506317415},\"lgafcqusrdve\":{\"maxPercentUnhealthyServices\":879778472,\"maxPercentUnhealthyPartitionsPerService\":1973485152,\"maxPercentUnhealthyReplicasPerPartition\":302801804},\"dtutnwldu\":{\"maxPercentUnhealthyServices\":1349436155,\"maxPercentUnhealthyPartitionsPerService\":203429878,\"maxPercentUnhealthyReplicasPerPartition\":999562740}}},\"forceRestart\":false,\"rollingUpgradeMonitoringPolicy\":{\"failureAction\":\"Manual\",\"healthCheckWaitDuration\":\"hyrmewipmvekdx\",\"healthCheckStableDuration\":\"kuqgsjjxundxgket\",\"healthCheckRetryTimeout\":\"zhhzjhfjmhvvmu\",\"upgradeTimeout\":\"gpmuneqsxvmhfbuz\",\"upgradeDomainTimeout\":\"yihsasbhudypohyu\"},\"instanceCloseDelayDuration\":3611131723683837588,\"upgradeMode\":\"UnmonitoredAuto\",\"upgradeReplicaSetCheckTimeout\":4161112268986926288,\"recreateApplication\":false}},\"tags\":{\"msjnygqdnfw\":\"obrltt\",\"ijouwivkxoyzunb\":\"zdzgtilaxhnfhqly\",\"wpgclrcivt\":\"xxrtikvc\"},\"identity\":{\"principalId\":\"frkenxpmyyefrp\",\"tenantId\":\"dnqqskawaoqvmmb\",\"type\":\"None\",\"userAssignedIdentities\":{\"zyqdrfegcealzx\":{\"principalId\":\"qlkzme\",\"clientId\":\"itgvkx\"}}},\"location\":\"cansymoyqhlwigd\",\"id\":\"bkbxgomfa\",\"name\":\"uwasqvd\",\"type\":\"e\"}";
HttpClient httpClient
= response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
@@ -44,109 +44,112 @@ public void testCreateOrUpdate() throws Exception {
new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD));
ApplicationResource response = manager.applications()
- .define("fgcviz")
- .withExistingManagedCluster("ksbpimlqoljx", "cgxxlxs")
- .withRegion("sjcswsmystuluqyp")
- .withTags(mapOf("stcyohpfkyrkdbd", "wjplma", "nobaiyhddviacegf", "iogsjkmnwq"))
- .withIdentity(new ManagedIdentity().withType(ManagedIdentityType.SYSTEM_ASSIGNED)
- .withUserAssignedIdentities(mapOf("hfuk", new UserAssignedIdentity())))
+ .define("khocxvdfffwaf")
+ .withExistingManagedCluster("suxmpraf", "g")
+ .withRegion("ft")
+ .withTags(mapOf("uqovekqvgqouwif", "actxmwoteyowc"))
+ .withIdentity(new ManagedIdentity().withType(ManagedIdentityType.SYSTEM_ASSIGNED_USER_ASSIGNED)
+ .withUserAssignedIdentities(
+ mapOf("fmmfblcqcu", new UserAssignedIdentity(), "hrmooi", new UserAssignedIdentity(), "vnh",
+ new UserAssignedIdentity(), "qbeitpkxztmoob", new UserAssignedIdentity())))
.withManagedIdentities(
- Arrays.asList(new ApplicationUserAssignedIdentity().withName("l").withPrincipalId("w"),
- new ApplicationUserAssignedIdentity().withName("youpfgfbkj").withPrincipalId("bdyhgkfminsgowz"),
- new ApplicationUserAssignedIdentity().withName("ttsttktlahbqact").withPrincipalId("tgzukxitmmqt")))
- .withVersion("savokqdzf")
- .withParameters(mapOf("nwxyiop", "ivjlfrqttbajlka"))
+ Arrays.asList(new ApplicationUserAssignedIdentity().withName("daspavehhrvk").withPrincipalId("unzo"),
+ new ApplicationUserAssignedIdentity().withName("ud").withPrincipalId("cxgkmoyxcdyui"),
+ new ApplicationUserAssignedIdentity().withName("hmfdnbzydvfvfcj").withPrincipalId("aeoisrvh")))
+ .withVersion("zhwplefaxvxilc")
+ .withParameters(mapOf("jfzqlqhycavodgg", "nhnzeyqxt", "nlrariaawiuagy", "dbeesmie"))
.withUpgradePolicy(new ApplicationUpgradePolicy()
.withApplicationHealthPolicy(new ApplicationHealthPolicy().withConsiderWarningAsError(false)
- .withMaxPercentUnhealthyDeployedApplications(1150651693)
+ .withMaxPercentUnhealthyDeployedApplications(225178915)
.withDefaultServiceTypeHealthPolicy(
- new ServiceTypeHealthPolicy().withMaxPercentUnhealthyServices(128266879)
- .withMaxPercentUnhealthyPartitionsPerService(1078913468)
- .withMaxPercentUnhealthyReplicasPerPartition(901895840))
- .withServiceTypeHealthPolicyMap(mapOf("mligov",
- new ServiceTypeHealthPolicy().withMaxPercentUnhealthyServices(2024292145)
- .withMaxPercentUnhealthyPartitionsPerService(71458526)
- .withMaxPercentUnhealthyReplicasPerPartition(997116324),
- "kpmloa",
- new ServiceTypeHealthPolicy().withMaxPercentUnhealthyServices(835258440)
- .withMaxPercentUnhealthyPartitionsPerService(1544456346)
- .withMaxPercentUnhealthyReplicasPerPartition(483872150),
- "ocbgoorbteoyb",
- new ServiceTypeHealthPolicy().withMaxPercentUnhealthyServices(1919581142)
- .withMaxPercentUnhealthyPartitionsPerService(1825240652)
- .withMaxPercentUnhealthyReplicasPerPartition(181073134))))
+ new ServiceTypeHealthPolicy().withMaxPercentUnhealthyServices(803078065)
+ .withMaxPercentUnhealthyPartitionsPerService(293972975)
+ .withMaxPercentUnhealthyReplicasPerPartition(902070673))
+ .withServiceTypeHealthPolicyMap(mapOf("tcojocqwo",
+ new ServiceTypeHealthPolicy().withMaxPercentUnhealthyServices(1120939728)
+ .withMaxPercentUnhealthyPartitionsPerService(690539216)
+ .withMaxPercentUnhealthyReplicasPerPartition(377400220),
+ "jvusfzldmozux",
+ new ServiceTypeHealthPolicy().withMaxPercentUnhealthyServices(842850517)
+ .withMaxPercentUnhealthyPartitionsPerService(711693254)
+ .withMaxPercentUnhealthyReplicasPerPartition(681423135),
+ "btkadpysownbtgkb",
+ new ServiceTypeHealthPolicy().withMaxPercentUnhealthyServices(1126537021)
+ .withMaxPercentUnhealthyPartitionsPerService(1764292422)
+ .withMaxPercentUnhealthyReplicasPerPartition(2095359903))))
.withForceRestart(false)
.withRollingUpgradeMonitoringPolicy(
new RollingUpgradeMonitoringPolicy().withFailureAction(FailureAction.MANUAL)
- .withHealthCheckWaitDuration("kvvjgslordilmyww")
- .withHealthCheckStableDuration("kgkxn")
- .withHealthCheckRetryTimeout("edabgyvudtjue")
- .withUpgradeTimeout("bcihxuuwhc")
- .withUpgradeDomainTimeout("yxccyb"))
- .withInstanceCloseDelayDuration(1876161227592944321L)
+ .withHealthCheckWaitDuration("cto")
+ .withHealthCheckStableDuration("cmisofie")
+ .withHealthCheckRetryTimeout("pe")
+ .withUpgradeTimeout("ojyqdhcuplcplcw")
+ .withUpgradeDomainTimeout("hihihlhzdsqtzbsr"))
+ .withInstanceCloseDelayDuration(719840227364776101L)
.withUpgradeMode(RollingUpgradeMode.MONITORED)
- .withUpgradeReplicaSetCheckTimeout(8794325641258946576L)
+ .withUpgradeReplicaSetCheckTimeout(4912715799442068283L)
.withRecreateApplication(false))
.create();
- Assertions.assertEquals("rvqeevtoepryutn", response.tags().get("ytp"));
- Assertions.assertEquals(ManagedIdentityType.SYSTEM_ASSIGNED, response.identity().type());
- Assertions.assertEquals("fvjlboxqvkjlmx", response.location());
- Assertions.assertEquals("drihpfhoqcaaewda", response.managedIdentities().get(0).name());
- Assertions.assertEquals("mdjvlpj", response.managedIdentities().get(0).principalId());
- Assertions.assertEquals("bzo", response.version());
- Assertions.assertEquals("ulapzwyrp", response.parameters().get("ogtqxepnylbf"));
+ Assertions.assertEquals("obrltt", response.tags().get("msjnygqdnfw"));
+ Assertions.assertEquals(ManagedIdentityType.NONE, response.identity().type());
+ Assertions.assertEquals("cansymoyqhlwigd", response.location());
+ Assertions.assertEquals("ajnjwltlwtjj", response.managedIdentities().get(0).name());
+ Assertions.assertEquals("uktalhsnvkcdmxz", response.managedIdentities().get(0).principalId());
+ Assertions.assertEquals("x", response.version());
+ Assertions.assertEquals("cporxvxcjz", response.parameters().get("qizxfpxtgqscjavf"));
Assertions.assertTrue(response.upgradePolicy().applicationHealthPolicy().considerWarningAsError());
- Assertions.assertEquals(857914437,
+ Assertions.assertEquals(537154841,
response.upgradePolicy().applicationHealthPolicy().maxPercentUnhealthyDeployedApplications());
- Assertions.assertEquals(2010544463,
+ Assertions.assertEquals(1694962997,
response.upgradePolicy()
.applicationHealthPolicy()
.defaultServiceTypeHealthPolicy()
.maxPercentUnhealthyServices());
- Assertions.assertEquals(1753999923,
+ Assertions.assertEquals(243452563,
response.upgradePolicy()
.applicationHealthPolicy()
.defaultServiceTypeHealthPolicy()
.maxPercentUnhealthyPartitionsPerService());
- Assertions.assertEquals(426068094,
+ Assertions.assertEquals(58598702,
response.upgradePolicy()
.applicationHealthPolicy()
.defaultServiceTypeHealthPolicy()
.maxPercentUnhealthyReplicasPerPartition());
- Assertions.assertEquals(1243501701,
+ Assertions.assertEquals(369289727,
response.upgradePolicy()
.applicationHealthPolicy()
.serviceTypeHealthPolicyMap()
- .get("vuqeqvldspast")
+ .get("xvzflbqv")
.maxPercentUnhealthyServices());
- Assertions.assertEquals(1525920075,
+ Assertions.assertEquals(1170150782,
response.upgradePolicy()
.applicationHealthPolicy()
.serviceTypeHealthPolicyMap()
- .get("vuqeqvldspast")
+ .get("xvzflbqv")
.maxPercentUnhealthyPartitionsPerService());
- Assertions.assertEquals(983606156,
+ Assertions.assertEquals(506317415,
response.upgradePolicy()
.applicationHealthPolicy()
.serviceTypeHealthPolicyMap()
- .get("vuqeqvldspast")
+ .get("xvzflbqv")
.maxPercentUnhealthyReplicasPerPartition());
- Assertions.assertTrue(response.upgradePolicy().forceRestart());
+ Assertions.assertFalse(response.upgradePolicy().forceRestart());
Assertions.assertEquals(FailureAction.MANUAL,
response.upgradePolicy().rollingUpgradeMonitoringPolicy().failureAction());
- Assertions.assertEquals("apeewchpxlkt",
+ Assertions.assertEquals("hyrmewipmvekdx",
response.upgradePolicy().rollingUpgradeMonitoringPolicy().healthCheckWaitDuration());
- Assertions.assertEquals("kuziycsle",
+ Assertions.assertEquals("kuqgsjjxundxgket",
response.upgradePolicy().rollingUpgradeMonitoringPolicy().healthCheckStableDuration());
- Assertions.assertEquals("ufuztcktyhjtq",
+ Assertions.assertEquals("zhhzjhfjmhvvmu",
response.upgradePolicy().rollingUpgradeMonitoringPolicy().healthCheckRetryTimeout());
- Assertions.assertEquals("dcgzul", response.upgradePolicy().rollingUpgradeMonitoringPolicy().upgradeTimeout());
- Assertions.assertEquals("mmrqz",
+ Assertions.assertEquals("gpmuneqsxvmhfbuz",
+ response.upgradePolicy().rollingUpgradeMonitoringPolicy().upgradeTimeout());
+ Assertions.assertEquals("yihsasbhudypohyu",
response.upgradePolicy().rollingUpgradeMonitoringPolicy().upgradeDomainTimeout());
- Assertions.assertEquals(9007359622737683059L, response.upgradePolicy().instanceCloseDelayDuration());
- Assertions.assertEquals(RollingUpgradeMode.MONITORED, response.upgradePolicy().upgradeMode());
- Assertions.assertEquals(6630814331855742678L, response.upgradePolicy().upgradeReplicaSetCheckTimeout());
+ Assertions.assertEquals(3611131723683837588L, response.upgradePolicy().instanceCloseDelayDuration());
+ Assertions.assertEquals(RollingUpgradeMode.UNMONITORED_AUTO, response.upgradePolicy().upgradeMode());
+ Assertions.assertEquals(4161112268986926288L, response.upgradePolicy().upgradeReplicaSetCheckTimeout());
Assertions.assertFalse(response.upgradePolicy().recreateApplication());
}
diff --git a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ApplicationsGetWithResponseMockTests.java b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ApplicationsGetWithResponseMockTests.java
index 6b121b4dcebf..b5f9e4e97b27 100644
--- a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ApplicationsGetWithResponseMockTests.java
+++ b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ApplicationsGetWithResponseMockTests.java
@@ -24,7 +24,7 @@ public final class ApplicationsGetWithResponseMockTests {
@Test
public void testGetWithResponse() throws Exception {
String responseStr
- = "{\"properties\":{\"managedIdentities\":[{\"name\":\"pqjlihhyusps\",\"principalId\":\"asdvl\"},{\"name\":\"fwdgzxulucvp\",\"principalId\":\"mrsreuzvxurisjnh\"},{\"name\":\"ytxifqjzgxmrh\",\"principalId\":\"blwpcesutrgj\"}],\"provisioningState\":\"auutpwoqhihe\",\"version\":\"g\",\"parameters\":{\"cypsxjv\":\"nfqn\",\"zjxvydfcea\":\"oimwkslirc\",\"gdyftumrtwna\":\"vlhv\"},\"upgradePolicy\":{\"applicationHealthPolicy\":{\"considerWarningAsError\":false,\"maxPercentUnhealthyDeployedApplications\":786702902,\"defaultServiceTypeHealthPolicy\":{\"maxPercentUnhealthyServices\":1538951172,\"maxPercentUnhealthyPartitionsPerService\":171945561,\"maxPercentUnhealthyReplicasPerPartition\":1632414232},\"serviceTypeHealthPolicyMap\":{\"tsf\":{\"maxPercentUnhealthyServices\":1395476305,\"maxPercentUnhealthyPartitionsPerService\":1848766300,\"maxPercentUnhealthyReplicasPerPartition\":974683865},\"aeqphchqnr\":{\"maxPercentUnhealthyServices\":227185061,\"maxPercentUnhealthyPartitionsPerService\":672857926,\"maxPercentUnhealthyReplicasPerPartition\":1877991674},\"ehuwrykqgaifmvik\":{\"maxPercentUnhealthyServices\":1219456707,\"maxPercentUnhealthyPartitionsPerService\":969252607,\"maxPercentUnhealthyReplicasPerPartition\":98859103},\"vkhbejdznx\":{\"maxPercentUnhealthyServices\":625982031,\"maxPercentUnhealthyPartitionsPerService\":654040507,\"maxPercentUnhealthyReplicasPerPartition\":703238637}}},\"forceRestart\":false,\"rollingUpgradeMonitoringPolicy\":{\"failureAction\":\"Rollback\",\"healthCheckWaitDuration\":\"hnjivo\",\"healthCheckStableDuration\":\"v\",\"healthCheckRetryTimeout\":\"novqfzge\",\"upgradeTimeout\":\"jdftuljltd\",\"upgradeDomainTimeout\":\"ceamtm\"},\"instanceCloseDelayDuration\":553401034248194073,\"upgradeMode\":\"UnmonitoredAuto\",\"upgradeReplicaSetCheckTimeout\":3152262055981737836,\"recreateApplication\":false}},\"tags\":{\"vk\":\"oknssxmojmsvpkjp\",\"jyxgtczh\":\"cfzq\",\"hmkxmaehvbb\":\"ydbsd\"},\"identity\":{\"principalId\":\"iplt\",\"tenantId\":\"htba\",\"type\":\"None\",\"userAssignedIdentities\":{\"gzibthostgktstv\":{\"principalId\":\"rc\",\"clientId\":\"yklyhpluodpvruud\"},\"dqkdlwwqfbu\":{\"principalId\":\"eclze\",\"clientId\":\"bcvhzlhpl\"}}},\"location\":\"kxtrq\",\"id\":\"smlmbtxhwgfwsrta\",\"name\":\"coezbrhubskh\",\"type\":\"dyg\"}";
+ = "{\"properties\":{\"managedIdentities\":[{\"name\":\"fku\",\"principalId\":\"s\"},{\"name\":\"xkdmligo\",\"principalId\":\"ibrxkp\"},{\"name\":\"loazuruocbgoo\",\"principalId\":\"bteoybf\"},{\"name\":\"jxakv\",\"principalId\":\"jgslordilmyww\"}],\"provisioningState\":\"gkxnyedabg\",\"version\":\"udtjuewbc\",\"parameters\":{\"bvpa\":\"uuwhcjyxcc\",\"px\":\"akkud\"},\"upgradePolicy\":{\"applicationHealthPolicy\":{\"considerWarningAsError\":false,\"maxPercentUnhealthyDeployedApplications\":710163355,\"defaultServiceTypeHealthPolicy\":{\"maxPercentUnhealthyServices\":848315700,\"maxPercentUnhealthyPartitionsPerService\":167130524,\"maxPercentUnhealthyReplicasPerPartition\":1698521905},\"serviceTypeHealthPolicyMap\":{\"pfkyrkdbdgiogsj\":{\"maxPercentUnhealthyServices\":2097030241,\"maxPercentUnhealthyPartitionsPerService\":1840695765,\"maxPercentUnhealthyReplicasPerPartition\":1027576008},\"qjnobaiyhddviac\":{\"maxPercentUnhealthyServices\":1141536781,\"maxPercentUnhealthyPartitionsPerService\":1929785909,\"maxPercentUnhealthyReplicasPerPartition\":1552096962},\"m\":{\"maxPercentUnhealthyServices\":1955095413,\"maxPercentUnhealthyPartitionsPerService\":1399696261,\"maxPercentUnhealthyReplicasPerPartition\":229604659},\"mvmemfnczd\":{\"maxPercentUnhealthyServices\":1471640459,\"maxPercentUnhealthyPartitionsPerService\":864919134,\"maxPercentUnhealthyReplicasPerPartition\":1554775027}}},\"forceRestart\":true,\"rollingUpgradeMonitoringPolicy\":{\"failureAction\":\"Manual\",\"healthCheckWaitDuration\":\"lxlllchpo\",\"healthCheckStableDuration\":\"bzevwrd\",\"healthCheckRetryTimeout\":\"hfuk\",\"upgradeTimeout\":\"vsjcswsmystuluqy\",\"upgradeDomainTimeout\":\"fcvlerch\"},\"instanceCloseDelayDuration\":1650502109420360278,\"upgradeMode\":\"UnmonitoredAuto\",\"upgradeReplicaSetCheckTimeout\":2348039047945974059,\"recreateApplication\":false}},\"tags\":{\"kxgqddrih\":\"fcxsspuunnoxy\"},\"identity\":{\"principalId\":\"oqcaaewdaomdj\",\"tenantId\":\"pjxxkzb\",\"type\":\"SystemAssigned\",\"userAssignedIdentities\":{\"y\":{\"principalId\":\"vsiykzkdncjdxon\",\"clientId\":\"oggculapz\"},\"hvfcibyfmow\":{\"principalId\":\"gogtqxepnylbf\",\"clientId\":\"jlyjtlvofq\"},\"yzsxjrkambtrne\":{\"principalId\":\"rkjpvdwxfzwii\",\"clientId\":\"zjb\"}}},\"location\":\"mnvuqe\",\"id\":\"lds\",\"name\":\"astjbkkdmflvestm\",\"type\":\"lx\"}";
HttpClient httpClient
= response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
@@ -34,68 +34,68 @@ public void testGetWithResponse() throws Exception {
new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD));
ApplicationResource response = manager.applications()
- .getWithResponse("rfh", "rctym", "xoftpipiwyczu", com.azure.core.util.Context.NONE)
+ .getWithResponse("juisavokqdzf", "azivjlfrqttbajl", "atnwxyiopi", com.azure.core.util.Context.NONE)
.getValue();
- Assertions.assertEquals("oknssxmojmsvpkjp", response.tags().get("vk"));
- Assertions.assertEquals(ManagedIdentityType.NONE, response.identity().type());
- Assertions.assertEquals("kxtrq", response.location());
- Assertions.assertEquals("pqjlihhyusps", response.managedIdentities().get(0).name());
- Assertions.assertEquals("asdvl", response.managedIdentities().get(0).principalId());
- Assertions.assertEquals("g", response.version());
- Assertions.assertEquals("nfqn", response.parameters().get("cypsxjv"));
+ Assertions.assertEquals("fcxsspuunnoxy", response.tags().get("kxgqddrih"));
+ Assertions.assertEquals(ManagedIdentityType.SYSTEM_ASSIGNED, response.identity().type());
+ Assertions.assertEquals("mnvuqe", response.location());
+ Assertions.assertEquals("fku", response.managedIdentities().get(0).name());
+ Assertions.assertEquals("s", response.managedIdentities().get(0).principalId());
+ Assertions.assertEquals("udtjuewbc", response.version());
+ Assertions.assertEquals("uuwhcjyxcc", response.parameters().get("bvpa"));
Assertions.assertFalse(response.upgradePolicy().applicationHealthPolicy().considerWarningAsError());
- Assertions.assertEquals(786702902,
+ Assertions.assertEquals(710163355,
response.upgradePolicy().applicationHealthPolicy().maxPercentUnhealthyDeployedApplications());
- Assertions.assertEquals(1538951172,
+ Assertions.assertEquals(848315700,
response.upgradePolicy()
.applicationHealthPolicy()
.defaultServiceTypeHealthPolicy()
.maxPercentUnhealthyServices());
- Assertions.assertEquals(171945561,
+ Assertions.assertEquals(167130524,
response.upgradePolicy()
.applicationHealthPolicy()
.defaultServiceTypeHealthPolicy()
.maxPercentUnhealthyPartitionsPerService());
- Assertions.assertEquals(1632414232,
+ Assertions.assertEquals(1698521905,
response.upgradePolicy()
.applicationHealthPolicy()
.defaultServiceTypeHealthPolicy()
.maxPercentUnhealthyReplicasPerPartition());
- Assertions.assertEquals(1395476305,
+ Assertions.assertEquals(2097030241,
response.upgradePolicy()
.applicationHealthPolicy()
.serviceTypeHealthPolicyMap()
- .get("tsf")
+ .get("pfkyrkdbdgiogsj")
.maxPercentUnhealthyServices());
- Assertions.assertEquals(1848766300,
+ Assertions.assertEquals(1840695765,
response.upgradePolicy()
.applicationHealthPolicy()
.serviceTypeHealthPolicyMap()
- .get("tsf")
+ .get("pfkyrkdbdgiogsj")
.maxPercentUnhealthyPartitionsPerService());
- Assertions.assertEquals(974683865,
+ Assertions.assertEquals(1027576008,
response.upgradePolicy()
.applicationHealthPolicy()
.serviceTypeHealthPolicyMap()
- .get("tsf")
+ .get("pfkyrkdbdgiogsj")
.maxPercentUnhealthyReplicasPerPartition());
- Assertions.assertFalse(response.upgradePolicy().forceRestart());
- Assertions.assertEquals(FailureAction.ROLLBACK,
+ Assertions.assertTrue(response.upgradePolicy().forceRestart());
+ Assertions.assertEquals(FailureAction.MANUAL,
response.upgradePolicy().rollingUpgradeMonitoringPolicy().failureAction());
- Assertions.assertEquals("hnjivo",
+ Assertions.assertEquals("lxlllchpo",
response.upgradePolicy().rollingUpgradeMonitoringPolicy().healthCheckWaitDuration());
- Assertions.assertEquals("v",
+ Assertions.assertEquals("bzevwrd",
response.upgradePolicy().rollingUpgradeMonitoringPolicy().healthCheckStableDuration());
- Assertions.assertEquals("novqfzge",
+ Assertions.assertEquals("hfuk",
response.upgradePolicy().rollingUpgradeMonitoringPolicy().healthCheckRetryTimeout());
- Assertions.assertEquals("jdftuljltd",
+ Assertions.assertEquals("vsjcswsmystuluqy",
response.upgradePolicy().rollingUpgradeMonitoringPolicy().upgradeTimeout());
- Assertions.assertEquals("ceamtm",
+ Assertions.assertEquals("fcvlerch",
response.upgradePolicy().rollingUpgradeMonitoringPolicy().upgradeDomainTimeout());
- Assertions.assertEquals(553401034248194073L, response.upgradePolicy().instanceCloseDelayDuration());
+ Assertions.assertEquals(1650502109420360278L, response.upgradePolicy().instanceCloseDelayDuration());
Assertions.assertEquals(RollingUpgradeMode.UNMONITORED_AUTO, response.upgradePolicy().upgradeMode());
- Assertions.assertEquals(3152262055981737836L, response.upgradePolicy().upgradeReplicaSetCheckTimeout());
+ Assertions.assertEquals(2348039047945974059L, response.upgradePolicy().upgradeReplicaSetCheckTimeout());
Assertions.assertFalse(response.upgradePolicy().recreateApplication());
}
}
diff --git a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ApplicationsListMockTests.java b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ApplicationsListMockTests.java
index 9d68942c20a4..de3440c2aa79 100644
--- a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ApplicationsListMockTests.java
+++ b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ApplicationsListMockTests.java
@@ -25,7 +25,7 @@ public final class ApplicationsListMockTests {
@Test
public void testList() throws Exception {
String responseStr
- = "{\"value\":[{\"properties\":{\"managedIdentities\":[{\"name\":\"uiqtqzfavy\",\"principalId\":\"nqqyba\"},{\"name\":\"yeua\",\"principalId\":\"jkqa\"},{\"name\":\"qgzsles\",\"principalId\":\"cbhernntiewdj\"},{\"name\":\"vbquwr\",\"principalId\":\"ehwagoh\"}],\"provisioningState\":\"f\",\"version\":\"mrqemvvhmx\",\"parameters\":{\"ewzcjznmwcp\":\"jfutacoebj\",\"v\":\"guaadraufactkahz\"},\"upgradePolicy\":{\"applicationHealthPolicy\":{\"considerWarningAsError\":true,\"maxPercentUnhealthyDeployedApplications\":1614999854,\"defaultServiceTypeHealthPolicy\":{\"maxPercentUnhealthyServices\":347971797,\"maxPercentUnhealthyPartitionsPerService\":749001599,\"maxPercentUnhealthyReplicasPerPartition\":1493738450},\"serviceTypeHealthPolicyMap\":{\"kulfg\":{\"maxPercentUnhealthyServices\":1959547059,\"maxPercentUnhealthyPartitionsPerService\":1820009051,\"maxPercentUnhealthyReplicasPerPartition\":196518772},\"bkwdlenrds\":{\"maxPercentUnhealthyServices\":382484088,\"maxPercentUnhealthyPartitionsPerService\":1157333655,\"maxPercentUnhealthyReplicasPerPartition\":1782711093}}},\"forceRestart\":true,\"rollingUpgradeMonitoringPolicy\":{\"failureAction\":\"Manual\",\"healthCheckWaitDuration\":\"a\",\"healthCheckStableDuration\":\"pjuohminyfl\",\"healthCheckRetryTimeout\":\"orwmduvwpklv\",\"upgradeTimeout\":\"w\",\"upgradeDomainTimeout\":\"ygdxpgpqchis\"},\"instanceCloseDelayDuration\":6722199430636683135,\"upgradeMode\":\"UnmonitoredAuto\",\"upgradeReplicaSetCheckTimeout\":7411307117167855340,\"recreateApplication\":false}},\"tags\":{\"okwbqplh\":\"bdaxconfozauorsu\",\"phwzsoldweyuqdu\":\"vnuuepzl\"},\"identity\":{\"principalId\":\"nnrwrbiork\",\"tenantId\":\"lywjhh\",\"type\":\"SystemAssigned\",\"userAssignedIdentities\":{\"euzaof\":{\"principalId\":\"sivfomilo\",\"clientId\":\"gdufiqnd\"},\"cje\":{\"principalId\":\"hvcyyysfg\",\"clientId\":\"tcubiipuipwoqonm\"},\"b\":{\"principalId\":\"izsh\",\"clientId\":\"cimpevfg\"},\"rwfscjfnynszquj\":{\"principalId\":\"rilbywdx\",\"clientId\":\"icc\"}}},\"location\":\"dvoqyt\",\"id\":\"yo\",\"name\":\"bblgyavut\",\"type\":\"thjoxoism\"}]}";
+ = "{\"value\":[{\"properties\":{\"managedIdentities\":[{\"name\":\"kuziycsle\",\"principalId\":\"ufuztcktyhjtq\"}],\"provisioningState\":\"cgzulwmmrqzzr\",\"version\":\"vpglydz\",\"parameters\":{\"yutnwytpzdmov\":\"vqeevtoep\",\"aawzqadfl\":\"vf\",\"riglaec\":\"z\",\"kpvzmlq\":\"ndtic\"},\"upgradePolicy\":{\"applicationHealthPolicy\":{\"considerWarningAsError\":true,\"maxPercentUnhealthyDeployedApplications\":763019330,\"defaultServiceTypeHealthPolicy\":{\"maxPercentUnhealthyServices\":403916626,\"maxPercentUnhealthyPartitionsPerService\":456968385,\"maxPercentUnhealthyReplicasPerPartition\":1135591058},\"serviceTypeHealthPolicyMap\":{\"pkc\":{\"maxPercentUnhealthyServices\":1763053171,\"maxPercentUnhealthyPartitionsPerService\":2041776052,\"maxPercentUnhealthyReplicasPerPartition\":1047219235},\"riykhyawfvjlbox\":{\"maxPercentUnhealthyServices\":1115944872,\"maxPercentUnhealthyPartitionsPerService\":1931804941,\"maxPercentUnhealthyReplicasPerPartition\":1763691901}}},\"forceRestart\":false,\"rollingUpgradeMonitoringPolicy\":{\"failureAction\":\"Manual\",\"healthCheckWaitDuration\":\"mxho\",\"healthCheckStableDuration\":\"dynhdwdigum\",\"healthCheckRetryTimeout\":\"nraauzz\",\"upgradeTimeout\":\"tj\",\"upgradeDomainTimeout\":\"zysdzh\"},\"instanceCloseDelayDuration\":6070245982200608768,\"upgradeMode\":\"UnmonitoredAuto\",\"upgradeReplicaSetCheckTimeout\":1821585547650833137,\"recreateApplication\":false}},\"tags\":{\"hqyikvy\":\"onkp\",\"vluwmncsttij\":\"auy\",\"vpo\":\"y\",\"huzqgn\":\"krsgsgb\"},\"identity\":{\"principalId\":\"kynscliqhzv\",\"tenantId\":\"nk\",\"type\":\"UserAssigned\",\"userAssignedIdentities\":{\"frbbc\":{\"principalId\":\"otppnv\",\"clientId\":\"zxhi\"}}},\"location\":\"qagt\",\"id\":\"dhlfkqojpykvgt\",\"name\":\"dcnifmz\",\"type\":\"sdymbrn\"}]}";
HttpClient httpClient
= response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
@@ -35,86 +35,86 @@ public void testList() throws Exception {
new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD));
PagedIterable response
- = manager.applications().list("ookk", "fqjbvleo", com.azure.core.util.Context.NONE);
+ = manager.applications().list("ril", "zapeewchpx", com.azure.core.util.Context.NONE);
- Assertions.assertEquals("bdaxconfozauorsu", response.iterator().next().tags().get("okwbqplh"));
- Assertions.assertEquals(ManagedIdentityType.SYSTEM_ASSIGNED, response.iterator().next().identity().type());
- Assertions.assertEquals("dvoqyt", response.iterator().next().location());
- Assertions.assertEquals("uiqtqzfavy", response.iterator().next().managedIdentities().get(0).name());
- Assertions.assertEquals("nqqyba", response.iterator().next().managedIdentities().get(0).principalId());
- Assertions.assertEquals("mrqemvvhmx", response.iterator().next().version());
- Assertions.assertEquals("jfutacoebj", response.iterator().next().parameters().get("ewzcjznmwcp"));
+ Assertions.assertEquals("onkp", response.iterator().next().tags().get("hqyikvy"));
+ Assertions.assertEquals(ManagedIdentityType.USER_ASSIGNED, response.iterator().next().identity().type());
+ Assertions.assertEquals("qagt", response.iterator().next().location());
+ Assertions.assertEquals("kuziycsle", response.iterator().next().managedIdentities().get(0).name());
+ Assertions.assertEquals("ufuztcktyhjtq", response.iterator().next().managedIdentities().get(0).principalId());
+ Assertions.assertEquals("vpglydz", response.iterator().next().version());
+ Assertions.assertEquals("vqeevtoep", response.iterator().next().parameters().get("yutnwytpzdmov"));
Assertions
.assertTrue(response.iterator().next().upgradePolicy().applicationHealthPolicy().considerWarningAsError());
- Assertions.assertEquals(1614999854,
+ Assertions.assertEquals(763019330,
response.iterator()
.next()
.upgradePolicy()
.applicationHealthPolicy()
.maxPercentUnhealthyDeployedApplications());
- Assertions.assertEquals(347971797,
+ Assertions.assertEquals(403916626,
response.iterator()
.next()
.upgradePolicy()
.applicationHealthPolicy()
.defaultServiceTypeHealthPolicy()
.maxPercentUnhealthyServices());
- Assertions.assertEquals(749001599,
+ Assertions.assertEquals(456968385,
response.iterator()
.next()
.upgradePolicy()
.applicationHealthPolicy()
.defaultServiceTypeHealthPolicy()
.maxPercentUnhealthyPartitionsPerService());
- Assertions.assertEquals(1493738450,
+ Assertions.assertEquals(1135591058,
response.iterator()
.next()
.upgradePolicy()
.applicationHealthPolicy()
.defaultServiceTypeHealthPolicy()
.maxPercentUnhealthyReplicasPerPartition());
- Assertions.assertEquals(1959547059,
+ Assertions.assertEquals(1763053171,
response.iterator()
.next()
.upgradePolicy()
.applicationHealthPolicy()
.serviceTypeHealthPolicyMap()
- .get("kulfg")
+ .get("pkc")
.maxPercentUnhealthyServices());
- Assertions.assertEquals(1820009051,
+ Assertions.assertEquals(2041776052,
response.iterator()
.next()
.upgradePolicy()
.applicationHealthPolicy()
.serviceTypeHealthPolicyMap()
- .get("kulfg")
+ .get("pkc")
.maxPercentUnhealthyPartitionsPerService());
- Assertions.assertEquals(196518772,
+ Assertions.assertEquals(1047219235,
response.iterator()
.next()
.upgradePolicy()
.applicationHealthPolicy()
.serviceTypeHealthPolicyMap()
- .get("kulfg")
+ .get("pkc")
.maxPercentUnhealthyReplicasPerPartition());
- Assertions.assertTrue(response.iterator().next().upgradePolicy().forceRestart());
+ Assertions.assertFalse(response.iterator().next().upgradePolicy().forceRestart());
Assertions.assertEquals(FailureAction.MANUAL,
response.iterator().next().upgradePolicy().rollingUpgradeMonitoringPolicy().failureAction());
- Assertions.assertEquals("a",
+ Assertions.assertEquals("mxho",
response.iterator().next().upgradePolicy().rollingUpgradeMonitoringPolicy().healthCheckWaitDuration());
- Assertions.assertEquals("pjuohminyfl",
+ Assertions.assertEquals("dynhdwdigum",
response.iterator().next().upgradePolicy().rollingUpgradeMonitoringPolicy().healthCheckStableDuration());
- Assertions.assertEquals("orwmduvwpklv",
+ Assertions.assertEquals("nraauzz",
response.iterator().next().upgradePolicy().rollingUpgradeMonitoringPolicy().healthCheckRetryTimeout());
- Assertions.assertEquals("w",
+ Assertions.assertEquals("tj",
response.iterator().next().upgradePolicy().rollingUpgradeMonitoringPolicy().upgradeTimeout());
- Assertions.assertEquals("ygdxpgpqchis",
+ Assertions.assertEquals("zysdzh",
response.iterator().next().upgradePolicy().rollingUpgradeMonitoringPolicy().upgradeDomainTimeout());
- Assertions.assertEquals(6722199430636683135L,
+ Assertions.assertEquals(6070245982200608768L,
response.iterator().next().upgradePolicy().instanceCloseDelayDuration());
Assertions.assertEquals(RollingUpgradeMode.UNMONITORED_AUTO,
response.iterator().next().upgradePolicy().upgradeMode());
- Assertions.assertEquals(7411307117167855340L,
+ Assertions.assertEquals(1821585547650833137L,
response.iterator().next().upgradePolicy().upgradeReplicaSetCheckTimeout());
Assertions.assertFalse(response.iterator().next().upgradePolicy().recreateApplication());
}
diff --git a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ApplyMaintenanceWindowRequestTests.java b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ApplyMaintenanceWindowRequestTests.java
new file mode 100644
index 000000000000..e7db79f690e4
--- /dev/null
+++ b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ApplyMaintenanceWindowRequestTests.java
@@ -0,0 +1,32 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.servicefabricmanagedclusters.generated;
+
+import com.azure.core.util.BinaryData;
+import com.azure.resourcemanager.servicefabricmanagedclusters.models.ApplyMaintenanceWindowRequest;
+import org.junit.jupiter.api.Assertions;
+
+public final class ApplyMaintenanceWindowRequestTests {
+ @org.junit.jupiter.api.Test
+ public void testDeserialize() throws Exception {
+ ApplyMaintenanceWindowRequest model
+ = BinaryData.fromString("{\"startDateTime\":\"krefajpjo\",\"duration\":\"kqnyh\",\"timeZone\":\"ij\"}")
+ .toObject(ApplyMaintenanceWindowRequest.class);
+ Assertions.assertEquals("krefajpjo", model.startDateTime());
+ Assertions.assertEquals("kqnyh", model.duration());
+ Assertions.assertEquals("ij", model.timeZone());
+ }
+
+ @org.junit.jupiter.api.Test
+ public void testSerialize() throws Exception {
+ ApplyMaintenanceWindowRequest model = new ApplyMaintenanceWindowRequest().withStartDateTime("krefajpjo")
+ .withDuration("kqnyh")
+ .withTimeZone("ij");
+ model = BinaryData.fromObject(model).toObject(ApplyMaintenanceWindowRequest.class);
+ Assertions.assertEquals("krefajpjo", model.startDateTime());
+ Assertions.assertEquals("kqnyh", model.duration());
+ Assertions.assertEquals("ij", model.timeZone());
+ }
+}
diff --git a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/EndpointRangeDescriptionTests.java b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/EndpointRangeDescriptionTests.java
index 7b0579bfb3fe..a944fc29d159 100644
--- a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/EndpointRangeDescriptionTests.java
+++ b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/EndpointRangeDescriptionTests.java
@@ -11,17 +11,18 @@
public final class EndpointRangeDescriptionTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
- EndpointRangeDescription model = BinaryData.fromString("{\"startPort\":625256157,\"endPort\":836619519}")
+ EndpointRangeDescription model = BinaryData.fromString("{\"startPort\":1393630743,\"endPort\":700198802}")
.toObject(EndpointRangeDescription.class);
- Assertions.assertEquals(625256157, model.startPort());
- Assertions.assertEquals(836619519, model.endPort());
+ Assertions.assertEquals(1393630743, model.startPort());
+ Assertions.assertEquals(700198802, model.endPort());
}
@org.junit.jupiter.api.Test
public void testSerialize() throws Exception {
- EndpointRangeDescription model = new EndpointRangeDescription().withStartPort(625256157).withEndPort(836619519);
+ EndpointRangeDescription model
+ = new EndpointRangeDescription().withStartPort(1393630743).withEndPort(700198802);
model = BinaryData.fromObject(model).toObject(EndpointRangeDescription.class);
- Assertions.assertEquals(625256157, model.startPort());
- Assertions.assertEquals(836619519, model.endPort());
+ Assertions.assertEquals(1393630743, model.startPort());
+ Assertions.assertEquals(700198802, model.endPort());
}
}
diff --git a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/FaultSimulationConstraintsTests.java b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/FaultSimulationConstraintsTests.java
new file mode 100644
index 000000000000..211cf70bb66b
--- /dev/null
+++ b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/FaultSimulationConstraintsTests.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.servicefabricmanagedclusters.generated;
+
+import com.azure.core.util.BinaryData;
+import com.azure.resourcemanager.servicefabricmanagedclusters.models.FaultSimulationConstraints;
+import java.time.OffsetDateTime;
+import org.junit.jupiter.api.Assertions;
+
+public final class FaultSimulationConstraintsTests {
+ @org.junit.jupiter.api.Test
+ public void testDeserialize() throws Exception {
+ FaultSimulationConstraints model = BinaryData.fromString("{\"expirationTime\":\"2021-08-26T13:15:20Z\"}")
+ .toObject(FaultSimulationConstraints.class);
+ Assertions.assertEquals(OffsetDateTime.parse("2021-08-26T13:15:20Z"), model.expirationTime());
+ }
+
+ @org.junit.jupiter.api.Test
+ public void testSerialize() throws Exception {
+ FaultSimulationConstraints model
+ = new FaultSimulationConstraints().withExpirationTime(OffsetDateTime.parse("2021-08-26T13:15:20Z"));
+ model = BinaryData.fromObject(model).toObject(FaultSimulationConstraints.class);
+ Assertions.assertEquals(OffsetDateTime.parse("2021-08-26T13:15:20Z"), model.expirationTime());
+ }
+}
diff --git a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/FaultSimulationContentTests.java b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/FaultSimulationContentTests.java
new file mode 100644
index 000000000000..58305196fedd
--- /dev/null
+++ b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/FaultSimulationContentTests.java
@@ -0,0 +1,32 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.servicefabricmanagedclusters.generated;
+
+import com.azure.core.util.BinaryData;
+import com.azure.resourcemanager.servicefabricmanagedclusters.models.FaultSimulationConstraints;
+import com.azure.resourcemanager.servicefabricmanagedclusters.models.FaultSimulationContent;
+import java.time.OffsetDateTime;
+import org.junit.jupiter.api.Assertions;
+
+public final class FaultSimulationContentTests {
+ @org.junit.jupiter.api.Test
+ public void testDeserialize() throws Exception {
+ FaultSimulationContent model = BinaryData.fromString(
+ "{\"faultKind\":\"FaultSimulationContent\",\"force\":true,\"constraints\":{\"expirationTime\":\"2021-12-03T02:45:56Z\"}}")
+ .toObject(FaultSimulationContent.class);
+ Assertions.assertTrue(model.force());
+ Assertions.assertEquals(OffsetDateTime.parse("2021-12-03T02:45:56Z"), model.constraints().expirationTime());
+ }
+
+ @org.junit.jupiter.api.Test
+ public void testSerialize() throws Exception {
+ FaultSimulationContent model = new FaultSimulationContent().withForce(true)
+ .withConstraints(
+ new FaultSimulationConstraints().withExpirationTime(OffsetDateTime.parse("2021-12-03T02:45:56Z")));
+ model = BinaryData.fromObject(model).toObject(FaultSimulationContent.class);
+ Assertions.assertTrue(model.force());
+ Assertions.assertEquals(OffsetDateTime.parse("2021-12-03T02:45:56Z"), model.constraints().expirationTime());
+ }
+}
diff --git a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/FaultSimulationContentWrapperTests.java b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/FaultSimulationContentWrapperTests.java
new file mode 100644
index 000000000000..695b02bba346
--- /dev/null
+++ b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/FaultSimulationContentWrapperTests.java
@@ -0,0 +1,36 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.servicefabricmanagedclusters.generated;
+
+import com.azure.core.util.BinaryData;
+import com.azure.resourcemanager.servicefabricmanagedclusters.models.FaultSimulationConstraints;
+import com.azure.resourcemanager.servicefabricmanagedclusters.models.FaultSimulationContent;
+import com.azure.resourcemanager.servicefabricmanagedclusters.models.FaultSimulationContentWrapper;
+import java.time.OffsetDateTime;
+import org.junit.jupiter.api.Assertions;
+
+public final class FaultSimulationContentWrapperTests {
+ @org.junit.jupiter.api.Test
+ public void testDeserialize() throws Exception {
+ FaultSimulationContentWrapper model = BinaryData.fromString(
+ "{\"parameters\":{\"faultKind\":\"FaultSimulationContent\",\"force\":true,\"constraints\":{\"expirationTime\":\"2021-08-04T06:20:25Z\"}}}")
+ .toObject(FaultSimulationContentWrapper.class);
+ Assertions.assertTrue(model.parameters().force());
+ Assertions.assertEquals(OffsetDateTime.parse("2021-08-04T06:20:25Z"),
+ model.parameters().constraints().expirationTime());
+ }
+
+ @org.junit.jupiter.api.Test
+ public void testSerialize() throws Exception {
+ FaultSimulationContentWrapper model
+ = new FaultSimulationContentWrapper().withParameters(new FaultSimulationContent().withForce(true)
+ .withConstraints(
+ new FaultSimulationConstraints().withExpirationTime(OffsetDateTime.parse("2021-08-04T06:20:25Z"))));
+ model = BinaryData.fromObject(model).toObject(FaultSimulationContentWrapper.class);
+ Assertions.assertTrue(model.parameters().force());
+ Assertions.assertEquals(OffsetDateTime.parse("2021-08-04T06:20:25Z"),
+ model.parameters().constraints().expirationTime());
+ }
+}
diff --git a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/FaultSimulationDetailsTests.java b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/FaultSimulationDetailsTests.java
new file mode 100644
index 000000000000..f830d45a4785
--- /dev/null
+++ b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/FaultSimulationDetailsTests.java
@@ -0,0 +1,30 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.servicefabricmanagedclusters.generated;
+
+import com.azure.core.util.BinaryData;
+import com.azure.resourcemanager.servicefabricmanagedclusters.models.FaultSimulationDetails;
+import com.azure.resourcemanager.servicefabricmanagedclusters.models.FaultSimulationStatus;
+import com.azure.resourcemanager.servicefabricmanagedclusters.models.SfmcOperationStatus;
+import java.time.OffsetDateTime;
+import org.junit.jupiter.api.Assertions;
+
+public final class FaultSimulationDetailsTests {
+ @org.junit.jupiter.api.Test
+ public void testDeserialize() throws Exception {
+ FaultSimulationDetails model = BinaryData.fromString(
+ "{\"clusterId\":\"wabm\",\"operationId\":\"efkifr\",\"nodeTypeFaultSimulation\":[{\"nodeTypeName\":\"qujmqlgkf\",\"status\":\"StopFailed\",\"operationId\":\"oaongbjc\",\"operationStatus\":\"Failed\"},{\"nodeTypeName\":\"i\",\"status\":\"Stopping\",\"operationId\":\"df\",\"operationStatus\":\"Created\"},{\"nodeTypeName\":\"ezkojvdcp\",\"status\":\"Active\",\"operationId\":\"ouicybxarzgszu\",\"operationStatus\":\"Created\"},{\"nodeTypeName\":\"iqopidoamciod\",\"status\":\"Starting\",\"operationId\":\"zxkhnzbonlwnto\",\"operationStatus\":\"Aborted\"}],\"parameters\":{\"faultKind\":\"FaultSimulationContent\",\"force\":false,\"constraints\":{\"expirationTime\":\"2021-09-24T01:53:24Z\"}}}")
+ .toObject(FaultSimulationDetails.class);
+ Assertions.assertEquals("wabm", model.clusterId());
+ Assertions.assertEquals("efkifr", model.operationId());
+ Assertions.assertEquals("qujmqlgkf", model.nodeTypeFaultSimulation().get(0).nodeTypeName());
+ Assertions.assertEquals(FaultSimulationStatus.STOP_FAILED, model.nodeTypeFaultSimulation().get(0).status());
+ Assertions.assertEquals("oaongbjc", model.nodeTypeFaultSimulation().get(0).operationId());
+ Assertions.assertEquals(SfmcOperationStatus.FAILED, model.nodeTypeFaultSimulation().get(0).operationStatus());
+ Assertions.assertFalse(model.parameters().force());
+ Assertions.assertEquals(OffsetDateTime.parse("2021-09-24T01:53:24Z"),
+ model.parameters().constraints().expirationTime());
+ }
+}
diff --git a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/FaultSimulationIdContentTests.java b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/FaultSimulationIdContentTests.java
new file mode 100644
index 000000000000..03657107ddfa
--- /dev/null
+++ b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/FaultSimulationIdContentTests.java
@@ -0,0 +1,25 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.servicefabricmanagedclusters.generated;
+
+import com.azure.core.util.BinaryData;
+import com.azure.resourcemanager.servicefabricmanagedclusters.models.FaultSimulationIdContent;
+import org.junit.jupiter.api.Assertions;
+
+public final class FaultSimulationIdContentTests {
+ @org.junit.jupiter.api.Test
+ public void testDeserialize() throws Exception {
+ FaultSimulationIdContent model
+ = BinaryData.fromString("{\"simulationId\":\"yhmlwpaztzp\"}").toObject(FaultSimulationIdContent.class);
+ Assertions.assertEquals("yhmlwpaztzp", model.simulationId());
+ }
+
+ @org.junit.jupiter.api.Test
+ public void testSerialize() throws Exception {
+ FaultSimulationIdContent model = new FaultSimulationIdContent().withSimulationId("yhmlwpaztzp");
+ model = BinaryData.fromObject(model).toObject(FaultSimulationIdContent.class);
+ Assertions.assertEquals("yhmlwpaztzp", model.simulationId());
+ }
+}
diff --git a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/FaultSimulationInnerTests.java b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/FaultSimulationInnerTests.java
new file mode 100644
index 000000000000..96c61a7b632a
--- /dev/null
+++ b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/FaultSimulationInnerTests.java
@@ -0,0 +1,35 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.servicefabricmanagedclusters.generated;
+
+import com.azure.core.util.BinaryData;
+import com.azure.resourcemanager.servicefabricmanagedclusters.fluent.models.FaultSimulationInner;
+import com.azure.resourcemanager.servicefabricmanagedclusters.models.FaultSimulationStatus;
+import com.azure.resourcemanager.servicefabricmanagedclusters.models.SfmcOperationStatus;
+import java.time.OffsetDateTime;
+import org.junit.jupiter.api.Assertions;
+
+public final class FaultSimulationInnerTests {
+ @org.junit.jupiter.api.Test
+ public void testDeserialize() throws Exception {
+ FaultSimulationInner model = BinaryData.fromString(
+ "{\"simulationId\":\"ncckw\",\"status\":\"Active\",\"startTime\":\"2021-06-29T06:08:24Z\",\"endTime\":\"2021-07-28T19:48:05Z\",\"details\":{\"clusterId\":\"uyqaxzfeqztppr\",\"operationId\":\"lxorjaltolmncws\",\"nodeTypeFaultSimulation\":[{\"nodeTypeName\":\"csdbnwdcfhuc\",\"status\":\"Done\",\"operationId\":\"uvglsbjjcanvx\",\"operationStatus\":\"Canceled\"},{\"nodeTypeName\":\"udutnco\",\"status\":\"Stopping\",\"operationId\":\"xqtvcofu\",\"operationStatus\":\"Started\"},{\"nodeTypeName\":\"kgjubgdknnqvsazn\",\"status\":\"Active\",\"operationId\":\"rudsg\",\"operationStatus\":\"Aborted\"},{\"nodeTypeName\":\"kycgrauwj\",\"status\":\"Starting\",\"operationId\":\"eburu\",\"operationStatus\":\"Canceled\"}],\"parameters\":{\"faultKind\":\"FaultSimulationContent\",\"force\":false,\"constraints\":{\"expirationTime\":\"2021-06-02T15:45:41Z\"}}}}")
+ .toObject(FaultSimulationInner.class);
+ Assertions.assertEquals("ncckw", model.simulationId());
+ Assertions.assertEquals(FaultSimulationStatus.ACTIVE, model.status());
+ Assertions.assertEquals(OffsetDateTime.parse("2021-06-29T06:08:24Z"), model.startTime());
+ Assertions.assertEquals(OffsetDateTime.parse("2021-07-28T19:48:05Z"), model.endTime());
+ Assertions.assertEquals("uyqaxzfeqztppr", model.details().clusterId());
+ Assertions.assertEquals("lxorjaltolmncws", model.details().operationId());
+ Assertions.assertEquals("csdbnwdcfhuc", model.details().nodeTypeFaultSimulation().get(0).nodeTypeName());
+ Assertions.assertEquals(FaultSimulationStatus.DONE, model.details().nodeTypeFaultSimulation().get(0).status());
+ Assertions.assertEquals("uvglsbjjcanvx", model.details().nodeTypeFaultSimulation().get(0).operationId());
+ Assertions.assertEquals(SfmcOperationStatus.CANCELED,
+ model.details().nodeTypeFaultSimulation().get(0).operationStatus());
+ Assertions.assertFalse(model.details().parameters().force());
+ Assertions.assertEquals(OffsetDateTime.parse("2021-06-02T15:45:41Z"),
+ model.details().parameters().constraints().expirationTime());
+ }
+}
diff --git a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/FaultSimulationListResultTests.java b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/FaultSimulationListResultTests.java
new file mode 100644
index 000000000000..71f177d1915d
--- /dev/null
+++ b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/FaultSimulationListResultTests.java
@@ -0,0 +1,39 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.servicefabricmanagedclusters.generated;
+
+import com.azure.core.util.BinaryData;
+import com.azure.resourcemanager.servicefabricmanagedclusters.implementation.models.FaultSimulationListResult;
+import com.azure.resourcemanager.servicefabricmanagedclusters.models.FaultSimulationStatus;
+import com.azure.resourcemanager.servicefabricmanagedclusters.models.SfmcOperationStatus;
+import java.time.OffsetDateTime;
+import org.junit.jupiter.api.Assertions;
+
+public final class FaultSimulationListResultTests {
+ @org.junit.jupiter.api.Test
+ public void testDeserialize() throws Exception {
+ FaultSimulationListResult model = BinaryData.fromString(
+ "{\"value\":[{\"simulationId\":\"wyznkbyku\",\"status\":\"StartFailed\",\"startTime\":\"2021-12-03T17:47:47Z\",\"endTime\":\"2021-10-22T08:31:17Z\",\"details\":{\"clusterId\":\"hrskdsnfd\",\"operationId\":\"oakgtdlmkkzev\",\"nodeTypeFaultSimulation\":[{\"nodeTypeName\":\"wpusdsttwvogv\",\"status\":\"Done\",\"operationId\":\"dcngqqmoakufgmj\",\"operationStatus\":\"Canceled\"},{\"nodeTypeName\":\"dgrtwaenuuzkopbm\",\"status\":\"Active\",\"operationId\":\"dwoyuhhziuiefoz\",\"operationStatus\":\"Started\"},{\"nodeTypeName\":\"smlmzqhoftrm\",\"status\":\"Starting\",\"operationId\":\"iahxicsl\",\"operationStatus\":\"Succeeded\"}],\"parameters\":{\"faultKind\":\"FaultSimulationContent\",\"force\":true,\"constraints\":{\"expirationTime\":\"2021-04-23T06:55:46Z\"}}}},{\"simulationId\":\"halns\",\"status\":\"Done\",\"startTime\":\"2021-07-18T12:17:06Z\",\"endTime\":\"2021-10-17T19:05:13Z\",\"details\":{\"clusterId\":\"ivwitqscywugg\",\"operationId\":\"luhczbw\",\"nodeTypeFaultSimulation\":[{\"nodeTypeName\":\"i\",\"status\":\"Starting\",\"operationId\":\"gzd\",\"operationStatus\":\"Succeeded\"},{\"nodeTypeName\":\"eypqwdxggicccn\",\"status\":\"Starting\",\"operationId\":\"exmk\",\"operationStatus\":\"Failed\"},{\"nodeTypeName\":\"tvlz\",\"status\":\"Starting\",\"operationId\":\"hz\",\"operationStatus\":\"Started\"},{\"nodeTypeName\":\"dtclusiypb\",\"status\":\"Done\",\"operationId\":\"tg\",\"operationStatus\":\"Created\"}],\"parameters\":{\"faultKind\":\"FaultSimulationContent\",\"force\":false,\"constraints\":{\"expirationTime\":\"2021-06-12T00:27:16Z\"}}}}],\"nextLink\":\"qukyhejhzi\"}")
+ .toObject(FaultSimulationListResult.class);
+ Assertions.assertEquals("wyznkbyku", model.value().get(0).simulationId());
+ Assertions.assertEquals(FaultSimulationStatus.START_FAILED, model.value().get(0).status());
+ Assertions.assertEquals(OffsetDateTime.parse("2021-12-03T17:47:47Z"), model.value().get(0).startTime());
+ Assertions.assertEquals(OffsetDateTime.parse("2021-10-22T08:31:17Z"), model.value().get(0).endTime());
+ Assertions.assertEquals("hrskdsnfd", model.value().get(0).details().clusterId());
+ Assertions.assertEquals("oakgtdlmkkzev", model.value().get(0).details().operationId());
+ Assertions.assertEquals("wpusdsttwvogv",
+ model.value().get(0).details().nodeTypeFaultSimulation().get(0).nodeTypeName());
+ Assertions.assertEquals(FaultSimulationStatus.DONE,
+ model.value().get(0).details().nodeTypeFaultSimulation().get(0).status());
+ Assertions.assertEquals("dcngqqmoakufgmj",
+ model.value().get(0).details().nodeTypeFaultSimulation().get(0).operationId());
+ Assertions.assertEquals(SfmcOperationStatus.CANCELED,
+ model.value().get(0).details().nodeTypeFaultSimulation().get(0).operationStatus());
+ Assertions.assertTrue(model.value().get(0).details().parameters().force());
+ Assertions.assertEquals(OffsetDateTime.parse("2021-04-23T06:55:46Z"),
+ model.value().get(0).details().parameters().constraints().expirationTime());
+ Assertions.assertEquals("qukyhejhzi", model.nextLink());
+ }
+}
diff --git a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/FrontendConfigurationTests.java b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/FrontendConfigurationTests.java
index 4b572facd3dd..bebe3ab5390f 100644
--- a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/FrontendConfigurationTests.java
+++ b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/FrontendConfigurationTests.java
@@ -13,24 +13,24 @@ public final class FrontendConfigurationTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
FrontendConfiguration model = BinaryData.fromString(
- "{\"ipAddressType\":\"IPv4\",\"loadBalancerBackendAddressPoolId\":\"frl\",\"loadBalancerInboundNatPoolId\":\"szrnwo\",\"applicationGatewayBackendAddressPoolId\":\"ndfpwpj\"}")
+ "{\"ipAddressType\":\"IPv4\",\"loadBalancerBackendAddressPoolId\":\"edltmmjihyeozp\",\"loadBalancerInboundNatPoolId\":\"wau\",\"applicationGatewayBackendAddressPoolId\":\"ncyg\"}")
.toObject(FrontendConfiguration.class);
Assertions.assertEquals(IpAddressType.IPV4, model.ipAddressType());
- Assertions.assertEquals("frl", model.loadBalancerBackendAddressPoolId());
- Assertions.assertEquals("szrnwo", model.loadBalancerInboundNatPoolId());
- Assertions.assertEquals("ndfpwpj", model.applicationGatewayBackendAddressPoolId());
+ Assertions.assertEquals("edltmmjihyeozp", model.loadBalancerBackendAddressPoolId());
+ Assertions.assertEquals("wau", model.loadBalancerInboundNatPoolId());
+ Assertions.assertEquals("ncyg", model.applicationGatewayBackendAddressPoolId());
}
@org.junit.jupiter.api.Test
public void testSerialize() throws Exception {
FrontendConfiguration model = new FrontendConfiguration().withIpAddressType(IpAddressType.IPV4)
- .withLoadBalancerBackendAddressPoolId("frl")
- .withLoadBalancerInboundNatPoolId("szrnwo")
- .withApplicationGatewayBackendAddressPoolId("ndfpwpj");
+ .withLoadBalancerBackendAddressPoolId("edltmmjihyeozp")
+ .withLoadBalancerInboundNatPoolId("wau")
+ .withApplicationGatewayBackendAddressPoolId("ncyg");
model = BinaryData.fromObject(model).toObject(FrontendConfiguration.class);
Assertions.assertEquals(IpAddressType.IPV4, model.ipAddressType());
- Assertions.assertEquals("frl", model.loadBalancerBackendAddressPoolId());
- Assertions.assertEquals("szrnwo", model.loadBalancerInboundNatPoolId());
- Assertions.assertEquals("ndfpwpj", model.applicationGatewayBackendAddressPoolId());
+ Assertions.assertEquals("edltmmjihyeozp", model.loadBalancerBackendAddressPoolId());
+ Assertions.assertEquals("wau", model.loadBalancerInboundNatPoolId());
+ Assertions.assertEquals("ncyg", model.applicationGatewayBackendAddressPoolId());
}
}
diff --git a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/HostEndpointSettingsTests.java b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/HostEndpointSettingsTests.java
new file mode 100644
index 000000000000..09c13d4dbd2f
--- /dev/null
+++ b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/HostEndpointSettingsTests.java
@@ -0,0 +1,29 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.servicefabricmanagedclusters.generated;
+
+import com.azure.core.util.BinaryData;
+import com.azure.resourcemanager.servicefabricmanagedclusters.models.HostEndpointSettings;
+import org.junit.jupiter.api.Assertions;
+
+public final class HostEndpointSettingsTests {
+ @org.junit.jupiter.api.Test
+ public void testDeserialize() throws Exception {
+ HostEndpointSettings model
+ = BinaryData.fromString("{\"mode\":\"xhwgfwsrtaw\",\"inVMAccessControlProfileReferenceId\":\"ezbrhubskh\"}")
+ .toObject(HostEndpointSettings.class);
+ Assertions.assertEquals("xhwgfwsrtaw", model.mode());
+ Assertions.assertEquals("ezbrhubskh", model.inVMAccessControlProfileReferenceId());
+ }
+
+ @org.junit.jupiter.api.Test
+ public void testSerialize() throws Exception {
+ HostEndpointSettings model
+ = new HostEndpointSettings().withMode("xhwgfwsrtaw").withInVMAccessControlProfileReferenceId("ezbrhubskh");
+ model = BinaryData.fromObject(model).toObject(HostEndpointSettings.class);
+ Assertions.assertEquals("xhwgfwsrtaw", model.mode());
+ Assertions.assertEquals("ezbrhubskh", model.inVMAccessControlProfileReferenceId());
+ }
+}
diff --git a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/IpConfigurationPublicIpAddressConfigurationTests.java b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/IpConfigurationPublicIpAddressConfigurationTests.java
index 7f9b4d79792a..0a75cd07ba91 100644
--- a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/IpConfigurationPublicIpAddressConfigurationTests.java
+++ b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/IpConfigurationPublicIpAddressConfigurationTests.java
@@ -15,27 +15,24 @@ public final class IpConfigurationPublicIpAddressConfigurationTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
IpConfigurationPublicIpAddressConfiguration model = BinaryData.fromString(
- "{\"name\":\"ronzmyhgfip\",\"ipTags\":[{\"ipTagType\":\"kmcwaekrrjreafx\",\"tag\":\"sgumhjglikkxwsl\"},{\"ipTagType\":\"lbqpvuzlmvfelf\",\"tag\":\"tgp\"},{\"ipTagType\":\"crpw\",\"tag\":\"xeznoi\"},{\"ipTagType\":\"brnjwmw\",\"tag\":\"pn\"}],\"publicIPAddressVersion\":\"IPv4\"}")
+ "{\"name\":\"yklyhpluodpvruud\",\"ipTags\":[{\"ipTagType\":\"ibthostgktstvd\",\"tag\":\"eclze\"}],\"publicIPAddressVersion\":\"IPv6\"}")
.toObject(IpConfigurationPublicIpAddressConfiguration.class);
- Assertions.assertEquals("ronzmyhgfip", model.name());
- Assertions.assertEquals("kmcwaekrrjreafx", model.ipTags().get(0).ipTagType());
- Assertions.assertEquals("sgumhjglikkxwsl", model.ipTags().get(0).tag());
- Assertions.assertEquals(PublicIpAddressVersion.IPV4, model.publicIpAddressVersion());
+ Assertions.assertEquals("yklyhpluodpvruud", model.name());
+ Assertions.assertEquals("ibthostgktstvd", model.ipTags().get(0).ipTagType());
+ Assertions.assertEquals("eclze", model.ipTags().get(0).tag());
+ Assertions.assertEquals(PublicIpAddressVersion.IPV6, model.publicIpAddressVersion());
}
@org.junit.jupiter.api.Test
public void testSerialize() throws Exception {
IpConfigurationPublicIpAddressConfiguration model
- = new IpConfigurationPublicIpAddressConfiguration().withName("ronzmyhgfip")
- .withIpTags(Arrays.asList(new IpTag().withIpTagType("kmcwaekrrjreafx").withTag("sgumhjglikkxwsl"),
- new IpTag().withIpTagType("lbqpvuzlmvfelf").withTag("tgp"),
- new IpTag().withIpTagType("crpw").withTag("xeznoi"),
- new IpTag().withIpTagType("brnjwmw").withTag("pn")))
- .withPublicIpAddressVersion(PublicIpAddressVersion.IPV4);
+ = new IpConfigurationPublicIpAddressConfiguration().withName("yklyhpluodpvruud")
+ .withIpTags(Arrays.asList(new IpTag().withIpTagType("ibthostgktstvd").withTag("eclze")))
+ .withPublicIpAddressVersion(PublicIpAddressVersion.IPV6);
model = BinaryData.fromObject(model).toObject(IpConfigurationPublicIpAddressConfiguration.class);
- Assertions.assertEquals("ronzmyhgfip", model.name());
- Assertions.assertEquals("kmcwaekrrjreafx", model.ipTags().get(0).ipTagType());
- Assertions.assertEquals("sgumhjglikkxwsl", model.ipTags().get(0).tag());
- Assertions.assertEquals(PublicIpAddressVersion.IPV4, model.publicIpAddressVersion());
+ Assertions.assertEquals("yklyhpluodpvruud", model.name());
+ Assertions.assertEquals("ibthostgktstvd", model.ipTags().get(0).ipTagType());
+ Assertions.assertEquals("eclze", model.ipTags().get(0).tag());
+ Assertions.assertEquals(PublicIpAddressVersion.IPV6, model.publicIpAddressVersion());
}
}
diff --git a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/IpConfigurationTests.java b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/IpConfigurationTests.java
index 06219082474e..03044e0de24e 100644
--- a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/IpConfigurationTests.java
+++ b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/IpConfigurationTests.java
@@ -18,46 +18,44 @@ public final class IpConfigurationTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
IpConfiguration model = BinaryData.fromString(
- "{\"name\":\"olvrw\",\"applicationGatewayBackendAddressPools\":[{\"id\":\"kkgll\"}],\"loadBalancerBackendAddressPools\":[{\"id\":\"gvjayvblmh\"},{\"id\":\"zuhbxvvyhgsopb\"},{\"id\":\"qufegxuvwzfbn\"}],\"loadBalancerInboundNatPools\":[{\"id\":\"tlpdn\"},{\"id\":\"tvgbmhrixkwmy\"},{\"id\":\"ejvegrhbpnaixex\"}],\"subnet\":{\"id\":\"dreaxh\"},\"privateIPAddressVersion\":\"IPv6\",\"publicIPAddressConfiguration\":{\"name\":\"rrvqa\",\"ipTags\":[{\"ipTagType\":\"ghtpw\",\"tag\":\"jnhyjsvf\"},{\"ipTagType\":\"cxzbfvoowvr\",\"tag\":\"mtg\"},{\"ipTagType\":\"qp\",\"tag\":\"y\"}],\"publicIPAddressVersion\":\"IPv6\"}}")
+ "{\"name\":\"lvtno\",\"applicationGatewayBackendAddressPools\":[{\"id\":\"gemjdftuljltdu\"}],\"loadBalancerBackendAddressPools\":[{\"id\":\"tmczuomejwcwwqi\"},{\"id\":\"nssxmojmsvpk\"}],\"loadBalancerInboundNatPools\":[{\"id\":\"kwcf\"},{\"id\":\"ljyxgtczhe\"}],\"subnet\":{\"id\":\"sdshmkxmaehvb\"},\"privateIPAddressVersion\":\"IPv6\",\"publicIPAddressConfiguration\":{\"name\":\"iplt\",\"ipTags\":[{\"ipTagType\":\"tbaxk\",\"tag\":\"xywr\"}],\"publicIPAddressVersion\":\"IPv6\"}}")
.toObject(IpConfiguration.class);
- Assertions.assertEquals("olvrw", model.name());
- Assertions.assertEquals("kkgll", model.applicationGatewayBackendAddressPools().get(0).id());
- Assertions.assertEquals("gvjayvblmh", model.loadBalancerBackendAddressPools().get(0).id());
- Assertions.assertEquals("tlpdn", model.loadBalancerInboundNatPools().get(0).id());
- Assertions.assertEquals("dreaxh", model.subnet().id());
+ Assertions.assertEquals("lvtno", model.name());
+ Assertions.assertEquals("gemjdftuljltdu", model.applicationGatewayBackendAddressPools().get(0).id());
+ Assertions.assertEquals("tmczuomejwcwwqi", model.loadBalancerBackendAddressPools().get(0).id());
+ Assertions.assertEquals("kwcf", model.loadBalancerInboundNatPools().get(0).id());
+ Assertions.assertEquals("sdshmkxmaehvb", model.subnet().id());
Assertions.assertEquals(PrivateIpAddressVersion.IPV6, model.privateIpAddressVersion());
- Assertions.assertEquals("rrvqa", model.publicIpAddressConfiguration().name());
- Assertions.assertEquals("ghtpw", model.publicIpAddressConfiguration().ipTags().get(0).ipTagType());
- Assertions.assertEquals("jnhyjsvf", model.publicIpAddressConfiguration().ipTags().get(0).tag());
+ Assertions.assertEquals("iplt", model.publicIpAddressConfiguration().name());
+ Assertions.assertEquals("tbaxk", model.publicIpAddressConfiguration().ipTags().get(0).ipTagType());
+ Assertions.assertEquals("xywr", model.publicIpAddressConfiguration().ipTags().get(0).tag());
Assertions.assertEquals(PublicIpAddressVersion.IPV6,
model.publicIpAddressConfiguration().publicIpAddressVersion());
}
@org.junit.jupiter.api.Test
public void testSerialize() throws Exception {
- IpConfiguration model = new IpConfiguration().withName("olvrw")
- .withApplicationGatewayBackendAddressPools(Arrays.asList(new SubResource().withId("kkgll")))
- .withLoadBalancerBackendAddressPools(Arrays.asList(new SubResource().withId("gvjayvblmh"),
- new SubResource().withId("zuhbxvvyhgsopb"), new SubResource().withId("qufegxuvwzfbn")))
- .withLoadBalancerInboundNatPools(Arrays.asList(new SubResource().withId("tlpdn"),
- new SubResource().withId("tvgbmhrixkwmy"), new SubResource().withId("ejvegrhbpnaixex")))
- .withSubnet(new SubResource().withId("dreaxh"))
+ IpConfiguration model = new IpConfiguration().withName("lvtno")
+ .withApplicationGatewayBackendAddressPools(Arrays.asList(new SubResource().withId("gemjdftuljltdu")))
+ .withLoadBalancerBackendAddressPools(
+ Arrays.asList(new SubResource().withId("tmczuomejwcwwqi"), new SubResource().withId("nssxmojmsvpk")))
+ .withLoadBalancerInboundNatPools(
+ Arrays.asList(new SubResource().withId("kwcf"), new SubResource().withId("ljyxgtczhe")))
+ .withSubnet(new SubResource().withId("sdshmkxmaehvb"))
.withPrivateIpAddressVersion(PrivateIpAddressVersion.IPV6)
- .withPublicIpAddressConfiguration(new IpConfigurationPublicIpAddressConfiguration().withName("rrvqa")
- .withIpTags(Arrays.asList(new IpTag().withIpTagType("ghtpw").withTag("jnhyjsvf"),
- new IpTag().withIpTagType("cxzbfvoowvr").withTag("mtg"),
- new IpTag().withIpTagType("qp").withTag("y")))
+ .withPublicIpAddressConfiguration(new IpConfigurationPublicIpAddressConfiguration().withName("iplt")
+ .withIpTags(Arrays.asList(new IpTag().withIpTagType("tbaxk").withTag("xywr")))
.withPublicIpAddressVersion(PublicIpAddressVersion.IPV6));
model = BinaryData.fromObject(model).toObject(IpConfiguration.class);
- Assertions.assertEquals("olvrw", model.name());
- Assertions.assertEquals("kkgll", model.applicationGatewayBackendAddressPools().get(0).id());
- Assertions.assertEquals("gvjayvblmh", model.loadBalancerBackendAddressPools().get(0).id());
- Assertions.assertEquals("tlpdn", model.loadBalancerInboundNatPools().get(0).id());
- Assertions.assertEquals("dreaxh", model.subnet().id());
+ Assertions.assertEquals("lvtno", model.name());
+ Assertions.assertEquals("gemjdftuljltdu", model.applicationGatewayBackendAddressPools().get(0).id());
+ Assertions.assertEquals("tmczuomejwcwwqi", model.loadBalancerBackendAddressPools().get(0).id());
+ Assertions.assertEquals("kwcf", model.loadBalancerInboundNatPools().get(0).id());
+ Assertions.assertEquals("sdshmkxmaehvb", model.subnet().id());
Assertions.assertEquals(PrivateIpAddressVersion.IPV6, model.privateIpAddressVersion());
- Assertions.assertEquals("rrvqa", model.publicIpAddressConfiguration().name());
- Assertions.assertEquals("ghtpw", model.publicIpAddressConfiguration().ipTags().get(0).ipTagType());
- Assertions.assertEquals("jnhyjsvf", model.publicIpAddressConfiguration().ipTags().get(0).tag());
+ Assertions.assertEquals("iplt", model.publicIpAddressConfiguration().name());
+ Assertions.assertEquals("tbaxk", model.publicIpAddressConfiguration().ipTags().get(0).ipTagType());
+ Assertions.assertEquals("xywr", model.publicIpAddressConfiguration().ipTags().get(0).tag());
Assertions.assertEquals(PublicIpAddressVersion.IPV6,
model.publicIpAddressConfiguration().publicIpAddressVersion());
}
diff --git a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ManagedApplyMaintenanceWindowsPostWithResponsMockTests.java b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ManagedApplyMaintenanceWindowsPostWithResponsMockTests.java
index 2c75e3ee52e3..78d64a4538cb 100644
--- a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ManagedApplyMaintenanceWindowsPostWithResponsMockTests.java
+++ b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ManagedApplyMaintenanceWindowsPostWithResponsMockTests.java
@@ -10,6 +10,7 @@
import com.azure.core.models.AzureCloud;
import com.azure.core.test.http.MockHttpResponse;
import com.azure.resourcemanager.servicefabricmanagedclusters.ServiceFabricManagedClustersManager;
+import com.azure.resourcemanager.servicefabricmanagedclusters.models.ApplyMaintenanceWindowRequest;
import java.nio.charset.StandardCharsets;
import java.time.OffsetDateTime;
import org.junit.jupiter.api.Test;
@@ -27,7 +28,12 @@ public void testPostWithResponse() throws Exception {
.authenticate(tokenRequestContext -> Mono.just(new AccessToken("this_is_a_token", OffsetDateTime.MAX)),
new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD));
- manager.managedApplyMaintenanceWindows().postWithResponse("p", "opv", com.azure.core.util.Context.NONE);
+ manager.managedApplyMaintenanceWindows()
+ .postWithResponse("t", "vzbglbyvi",
+ new ApplyMaintenanceWindowRequest().withStartDateTime("ctbrxkjzwrgxffm")
+ .withDuration("kwfbkgo")
+ .withTimeZone("wopdbydpiz"),
+ com.azure.core.util.Context.NONE);
}
}
diff --git a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ManagedAzResiliencyStatusInnerTests.java b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ManagedAzResiliencyStatusInnerTests.java
index dc6ea05fbad1..0ea7c08ff23b 100644
--- a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ManagedAzResiliencyStatusInnerTests.java
+++ b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ManagedAzResiliencyStatusInnerTests.java
@@ -11,7 +11,7 @@ public final class ManagedAzResiliencyStatusInnerTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
ManagedAzResiliencyStatusInner model = BinaryData.fromString(
- "{\"baseResourceStatus\":[{\"resourceName\":\"lw\",\"resourceType\":\"ztzp\",\"isZoneResilient\":false,\"details\":\"ckw\"},{\"resourceName\":\"zqwhxxbuyqaxzfeq\",\"resourceType\":\"ppriol\",\"isZoneResilient\":true,\"details\":\"altol\"},{\"resourceName\":\"cwsobqwcs\",\"resourceType\":\"nwdcfhu\",\"isZoneResilient\":false,\"details\":\"fuvglsbjjca\"}],\"isClusterZoneResilient\":false}")
+ "{\"baseResourceStatus\":[{\"resourceName\":\"p\",\"resourceType\":\"ksrpqv\",\"isZoneResilient\":false,\"details\":\"aehtwd\"},{\"resourceName\":\"ftswibyrcdlbhsh\",\"resourceType\":\"p\",\"isZoneResilient\":false,\"details\":\"twitykhev\"},{\"resourceName\":\"cedcpnmdy\",\"resourceType\":\"nwzxltjcv\",\"isZoneResilient\":true,\"details\":\"iugcxnavvwxq\"},{\"resourceName\":\"y\",\"resourceType\":\"nyowxwlmdjrkvfg\",\"isZoneResilient\":false,\"details\":\"p\"}],\"isClusterZoneResilient\":false}")
.toObject(ManagedAzResiliencyStatusInner.class);
}
}
diff --git a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ManagedAzResiliencyStatusesGetWithResponseMockTests.java b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ManagedAzResiliencyStatusesGetWithResponseMockTests.java
index ff0f8ce08803..165fa2ddbea2 100644
--- a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ManagedAzResiliencyStatusesGetWithResponseMockTests.java
+++ b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ManagedAzResiliencyStatusesGetWithResponseMockTests.java
@@ -20,7 +20,7 @@ public final class ManagedAzResiliencyStatusesGetWithResponseMockTests {
@Test
public void testGetWithResponse() throws Exception {
String responseStr
- = "{\"baseResourceStatus\":[{\"resourceName\":\"pyznuciqd\",\"resourceType\":\"ex\",\"isZoneResilient\":false,\"details\":\"fuxtyasiibmiybnn\"},{\"resourceName\":\"tgnljhnmgixhcmav\",\"resourceType\":\"foudor\",\"isZoneResilient\":true,\"details\":\"yprotwyp\"},{\"resourceName\":\"d\",\"resourceType\":\"xhugcm\",\"isZoneResilient\":false,\"details\":\"lgorb\"},{\"resourceName\":\"tp\",\"resourceType\":\"tzfjltf\",\"isZoneResilient\":false,\"details\":\"yj\"}],\"isClusterZoneResilient\":true}";
+ = "{\"baseResourceStatus\":[{\"resourceName\":\"jnnawtqa\",\"resourceType\":\"xuckpggqoweyir\",\"isZoneResilient\":false,\"details\":\"sn\"},{\"resourceName\":\"fl\",\"resourceType\":\"mpizru\",\"isZoneResilient\":false,\"details\":\"xpxiwfcngjs\"},{\"resourceName\":\"sii\",\"resourceType\":\"mkzjvkviir\",\"isZoneResilient\":true,\"details\":\"rwsdp\"}],\"isClusterZoneResilient\":false}";
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));
ManagedAzResiliencyStatus response = manager.managedAzResiliencyStatuses()
- .getWithResponse("inmfgvxirp", "hriypoqeyhlqhy", com.azure.core.util.Context.NONE)
+ .getWithResponse("enx", "ulkpakd", com.azure.core.util.Context.NONE)
.getValue();
}
diff --git a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ManagedClustersGetFaultSimulationWithResponseMockTests.java b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ManagedClustersGetFaultSimulationWithResponseMockTests.java
new file mode 100644
index 000000000000..3b301434715c
--- /dev/null
+++ b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ManagedClustersGetFaultSimulationWithResponseMockTests.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.servicefabricmanagedclusters.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.servicefabricmanagedclusters.ServiceFabricManagedClustersManager;
+import com.azure.resourcemanager.servicefabricmanagedclusters.models.FaultSimulation;
+import com.azure.resourcemanager.servicefabricmanagedclusters.models.FaultSimulationIdContent;
+import com.azure.resourcemanager.servicefabricmanagedclusters.models.FaultSimulationStatus;
+import com.azure.resourcemanager.servicefabricmanagedclusters.models.SfmcOperationStatus;
+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 ManagedClustersGetFaultSimulationWithResponseMockTests {
+ @Test
+ public void testGetFaultSimulationWithResponse() throws Exception {
+ String responseStr
+ = "{\"simulationId\":\"mikzeb\",\"status\":\"StartFailed\",\"startTime\":\"2021-08-14T09:18:40Z\",\"endTime\":\"2021-01-21T14:33:26Z\",\"details\":{\"clusterId\":\"qgfuhokzru\",\"operationId\":\"hvhcz\",\"nodeTypeFaultSimulation\":[{\"nodeTypeName\":\"bycjsxjwwix\",\"status\":\"Done\",\"operationId\":\"wmxqhndvnoamlds\",\"operationStatus\":\"Started\"},{\"nodeTypeName\":\"hdjhhflz\",\"status\":\"Starting\",\"operationId\":\"ox\",\"operationStatus\":\"Aborted\"}],\"parameters\":{\"faultKind\":\"FaultSimulationContent\",\"force\":false,\"constraints\":{\"expirationTime\":\"2021-09-27T19:01:20Z\"}}}}";
+
+ HttpClient httpClient
+ = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
+ ServiceFabricManagedClustersManager manager = ServiceFabricManagedClustersManager.configure()
+ .withHttpClient(httpClient)
+ .authenticate(tokenRequestContext -> Mono.just(new AccessToken("this_is_a_token", OffsetDateTime.MAX)),
+ new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD));
+
+ FaultSimulation response = manager.managedClusters()
+ .getFaultSimulationWithResponse("nghgshej", "tbxqmuluxlxq",
+ new FaultSimulationIdContent().withSimulationId("vnersbycucrw"), com.azure.core.util.Context.NONE)
+ .getValue();
+
+ Assertions.assertEquals("mikzeb", response.simulationId());
+ Assertions.assertEquals(FaultSimulationStatus.START_FAILED, response.status());
+ Assertions.assertEquals(OffsetDateTime.parse("2021-08-14T09:18:40Z"), response.startTime());
+ Assertions.assertEquals(OffsetDateTime.parse("2021-01-21T14:33:26Z"), response.endTime());
+ Assertions.assertEquals("qgfuhokzru", response.details().clusterId());
+ Assertions.assertEquals("hvhcz", response.details().operationId());
+ Assertions.assertEquals("bycjsxjwwix", response.details().nodeTypeFaultSimulation().get(0).nodeTypeName());
+ Assertions.assertEquals(FaultSimulationStatus.DONE,
+ response.details().nodeTypeFaultSimulation().get(0).status());
+ Assertions.assertEquals("wmxqhndvnoamlds", response.details().nodeTypeFaultSimulation().get(0).operationId());
+ Assertions.assertEquals(SfmcOperationStatus.STARTED,
+ response.details().nodeTypeFaultSimulation().get(0).operationStatus());
+ Assertions.assertFalse(response.details().parameters().force());
+ Assertions.assertEquals(OffsetDateTime.parse("2021-09-27T19:01:20Z"),
+ response.details().parameters().constraints().expirationTime());
+ }
+}
diff --git a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ManagedClustersListFaultSimulationMockTests.java b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ManagedClustersListFaultSimulationMockTests.java
new file mode 100644
index 000000000000..9748e61ec700
--- /dev/null
+++ b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ManagedClustersListFaultSimulationMockTests.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.servicefabricmanagedclusters.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.servicefabricmanagedclusters.ServiceFabricManagedClustersManager;
+import com.azure.resourcemanager.servicefabricmanagedclusters.models.FaultSimulation;
+import com.azure.resourcemanager.servicefabricmanagedclusters.models.FaultSimulationStatus;
+import com.azure.resourcemanager.servicefabricmanagedclusters.models.SfmcOperationStatus;
+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 ManagedClustersListFaultSimulationMockTests {
+ @Test
+ public void testListFaultSimulation() throws Exception {
+ String responseStr
+ = "{\"value\":[{\"simulationId\":\"npbs\",\"status\":\"Done\",\"startTime\":\"2021-09-23T08:24:57Z\",\"endTime\":\"2021-04-22T04:47:20Z\",\"details\":{\"clusterId\":\"rmozihmipgawt\",\"operationId\":\"pkyjcxcjxgrytfm\",\"nodeTypeFaultSimulation\":[{\"nodeTypeName\":\"ilrmcaykggnox\",\"status\":\"Done\",\"operationId\":\"ksxwpnd\",\"operationStatus\":\"Created\"},{\"nodeTypeName\":\"nznthjtw\",\"status\":\"Active\",\"operationId\":\"srxuzvoam\",\"operationStatus\":\"Started\"},{\"nodeTypeName\":\"iosmgbzahgxqdly\",\"status\":\"Active\",\"operationId\":\"laprlt\",\"operationStatus\":\"Created\"},{\"nodeTypeName\":\"bhjmznnb\",\"status\":\"Stopping\",\"operationId\":\"qalarvlagunbtg\",\"operationStatus\":\"Succeeded\"}],\"parameters\":{\"faultKind\":\"FaultSimulationContent\",\"force\":false,\"constraints\":{\"expirationTime\":\"2021-08-19T19:49:36Z\"}}}}]}";
+
+ HttpClient httpClient
+ = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
+ ServiceFabricManagedClustersManager manager = ServiceFabricManagedClustersManager.configure()
+ .withHttpClient(httpClient)
+ .authenticate(tokenRequestContext -> Mono.just(new AccessToken("this_is_a_token", OffsetDateTime.MAX)),
+ new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD));
+
+ PagedIterable response
+ = manager.managedClusters().listFaultSimulation("ltsxoatf", "g", com.azure.core.util.Context.NONE);
+
+ Assertions.assertEquals("npbs", response.iterator().next().simulationId());
+ Assertions.assertEquals(FaultSimulationStatus.DONE, response.iterator().next().status());
+ Assertions.assertEquals(OffsetDateTime.parse("2021-09-23T08:24:57Z"), response.iterator().next().startTime());
+ Assertions.assertEquals(OffsetDateTime.parse("2021-04-22T04:47:20Z"), response.iterator().next().endTime());
+ Assertions.assertEquals("rmozihmipgawt", response.iterator().next().details().clusterId());
+ Assertions.assertEquals("pkyjcxcjxgrytfm", response.iterator().next().details().operationId());
+ Assertions.assertEquals("ilrmcaykggnox",
+ response.iterator().next().details().nodeTypeFaultSimulation().get(0).nodeTypeName());
+ Assertions.assertEquals(FaultSimulationStatus.DONE,
+ response.iterator().next().details().nodeTypeFaultSimulation().get(0).status());
+ Assertions.assertEquals("ksxwpnd",
+ response.iterator().next().details().nodeTypeFaultSimulation().get(0).operationId());
+ Assertions.assertEquals(SfmcOperationStatus.CREATED,
+ response.iterator().next().details().nodeTypeFaultSimulation().get(0).operationStatus());
+ Assertions.assertFalse(response.iterator().next().details().parameters().force());
+ Assertions.assertEquals(OffsetDateTime.parse("2021-08-19T19:49:36Z"),
+ response.iterator().next().details().parameters().constraints().expirationTime());
+ }
+}
diff --git a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ManagedMaintenanceWindowStatusInnerTests.java b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ManagedMaintenanceWindowStatusInnerTests.java
index f9257e7f556f..1dc046d42183 100644
--- a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ManagedMaintenanceWindowStatusInnerTests.java
+++ b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ManagedMaintenanceWindowStatusInnerTests.java
@@ -11,7 +11,7 @@ public final class ManagedMaintenanceWindowStatusInnerTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
ManagedMaintenanceWindowStatusInner model = BinaryData.fromString(
- "{\"isWindowEnabled\":false,\"isRegionReady\":false,\"isWindowActive\":true,\"canApplyUpdates\":false,\"lastWindowStatusUpdateAtUTC\":\"2021-04-29T00:37:52Z\",\"lastWindowStartTimeUTC\":\"2021-06-13T19:03:44Z\",\"lastWindowEndTimeUTC\":\"2021-08-21T03:16:12Z\"}")
+ "{\"isWindowEnabled\":true,\"isRegionReady\":true,\"isWindowActive\":false,\"canApplyUpdates\":true,\"lastWindowStatusUpdateAtUTC\":\"2021-03-14T13:52:20Z\",\"lastWindowStartTimeUTC\":\"2021-09-22T23:43:14Z\",\"lastWindowEndTimeUTC\":\"2021-04-04T23:46:46Z\"}")
.toObject(ManagedMaintenanceWindowStatusInner.class);
}
}
diff --git a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ManagedMaintenanceWindowStatusesGetWithResponMockTests.java b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ManagedMaintenanceWindowStatusesGetWithResponMockTests.java
index 585c89a67073..49e247b14a90 100644
--- a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ManagedMaintenanceWindowStatusesGetWithResponMockTests.java
+++ b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ManagedMaintenanceWindowStatusesGetWithResponMockTests.java
@@ -20,7 +20,7 @@ public final class ManagedMaintenanceWindowStatusesGetWithResponMockTests {
@Test
public void testGetWithResponse() throws Exception {
String responseStr
- = "{\"isWindowEnabled\":false,\"isRegionReady\":false,\"isWindowActive\":false,\"canApplyUpdates\":false,\"lastWindowStatusUpdateAtUTC\":\"2021-11-04T09:46:52Z\",\"lastWindowStartTimeUTC\":\"2021-05-14T22:34:06Z\",\"lastWindowEndTimeUTC\":\"2021-09-14T21:14:21Z\"}";
+ = "{\"isWindowEnabled\":true,\"isRegionReady\":true,\"isWindowActive\":false,\"canApplyUpdates\":true,\"lastWindowStatusUpdateAtUTC\":\"2021-07-13T11:30:30Z\",\"lastWindowStartTimeUTC\":\"2021-03-10T09:25:33Z\",\"lastWindowEndTimeUTC\":\"2021-01-23T15:33:50Z\"}";
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));
ManagedMaintenanceWindowStatus response = manager.managedMaintenanceWindowStatuses()
- .getWithResponse("bdb", "qgqqihedsvqwthmk", com.azure.core.util.Context.NONE)
+ .getWithResponse("aclnapxbiygnugj", "nfsm", com.azure.core.util.Context.NONE)
.getValue();
}
diff --git a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ManagedUnsupportedVMSizesGetWithResponseMockTests.java b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ManagedUnsupportedVMSizesGetWithResponseMockTests.java
index 19450a536bdf..c3016321874b 100644
--- a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ManagedUnsupportedVMSizesGetWithResponseMockTests.java
+++ b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ManagedUnsupportedVMSizesGetWithResponseMockTests.java
@@ -20,7 +20,7 @@ public final class ManagedUnsupportedVMSizesGetWithResponseMockTests {
@Test
public void testGetWithResponse() throws Exception {
String responseStr
- = "{\"properties\":{\"size\":\"htd\"},\"id\":\"bjkvreljeamu\",\"name\":\"zmlovuanash\",\"type\":\"lpmjerb\"}";
+ = "{\"properties\":{\"size\":\"onmpqoxwdof\"},\"id\":\"xiqxeiiqbimh\",\"name\":\"wwinhehf\",\"type\":\"ofvwbcb\"}";
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));
ManagedVMSize response = manager.managedUnsupportedVMSizes()
- .getWithResponse("zonzlrpiqywnc", "jtszcof", com.azure.core.util.Context.NONE)
+ .getWithResponse("cvsql", "nzoibgsxgnx", com.azure.core.util.Context.NONE)
.getValue();
}
diff --git a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ManagedUnsupportedVMSizesListMockTests.java b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ManagedUnsupportedVMSizesListMockTests.java
index 3aee5e88b2d3..3256df5dace9 100644
--- a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ManagedUnsupportedVMSizesListMockTests.java
+++ b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ManagedUnsupportedVMSizesListMockTests.java
@@ -21,7 +21,7 @@ public final class ManagedUnsupportedVMSizesListMockTests {
@Test
public void testList() throws Exception {
String responseStr
- = "{\"value\":[{\"properties\":{\"size\":\"jmonfdgn\"},\"id\":\"cypuuwwlt\",\"name\":\"qjctzenkeif\",\"type\":\"hmkdasvfl\"}]}";
+ = "{\"value\":[{\"properties\":{\"size\":\"xk\"},\"id\":\"vqihebwtswbzuwf\",\"name\":\"urageg\",\"type\":\"vcjfelisdjubggb\"}]}";
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.managedUnsupportedVMSizes().list("kelvidizozsdb", com.azure.core.util.Context.NONE);
+ = manager.managedUnsupportedVMSizes().list("embnkbw", com.azure.core.util.Context.NONE);
}
}
diff --git a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/NodeTypeActionParametersTests.java b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/NodeTypeActionParametersTests.java
index babc23e512ba..18d3e6778d5f 100644
--- a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/NodeTypeActionParametersTests.java
+++ b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/NodeTypeActionParametersTests.java
@@ -13,23 +13,22 @@
public final class NodeTypeActionParametersTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
- NodeTypeActionParameters model = BinaryData.fromString(
- "{\"nodes\":[\"ogczhonnxkrlg\",\"yhmossxkkg\",\"h\",\"rghxjb\"],\"force\":true,\"updateType\":\"ByUpgradeDomain\"}")
- .toObject(NodeTypeActionParameters.class);
- Assertions.assertEquals("ogczhonnxkrlg", model.nodes().get(0));
- Assertions.assertTrue(model.force());
- Assertions.assertEquals(UpdateType.BY_UPGRADE_DOMAIN, model.updateType());
+ NodeTypeActionParameters model
+ = BinaryData.fromString("{\"nodes\":[\"bqplh\",\"vnuuepzl\"],\"force\":false,\"updateType\":\"Default\"}")
+ .toObject(NodeTypeActionParameters.class);
+ Assertions.assertEquals("bqplh", model.nodes().get(0));
+ Assertions.assertFalse(model.force());
+ Assertions.assertEquals(UpdateType.DEFAULT, model.updateType());
}
@org.junit.jupiter.api.Test
public void testSerialize() throws Exception {
- NodeTypeActionParameters model
- = new NodeTypeActionParameters().withNodes(Arrays.asList("ogczhonnxkrlg", "yhmossxkkg", "h", "rghxjb"))
- .withForce(true)
- .withUpdateType(UpdateType.BY_UPGRADE_DOMAIN);
+ NodeTypeActionParameters model = new NodeTypeActionParameters().withNodes(Arrays.asList("bqplh", "vnuuepzl"))
+ .withForce(false)
+ .withUpdateType(UpdateType.DEFAULT);
model = BinaryData.fromObject(model).toObject(NodeTypeActionParameters.class);
- Assertions.assertEquals("ogczhonnxkrlg", model.nodes().get(0));
- Assertions.assertTrue(model.force());
- Assertions.assertEquals(UpdateType.BY_UPGRADE_DOMAIN, model.updateType());
+ Assertions.assertEquals("bqplh", model.nodes().get(0));
+ Assertions.assertFalse(model.force());
+ Assertions.assertEquals(UpdateType.DEFAULT, model.updateType());
}
}
diff --git a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/NodeTypeAvailableSkuInnerTests.java b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/NodeTypeAvailableSkuInnerTests.java
index c31fead49e17..5d7c52084641 100644
--- a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/NodeTypeAvailableSkuInnerTests.java
+++ b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/NodeTypeAvailableSkuInnerTests.java
@@ -11,7 +11,7 @@ public final class NodeTypeAvailableSkuInnerTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
NodeTypeAvailableSkuInner model = BinaryData.fromString(
- "{\"resourceType\":\"txdyuxzejntpsew\",\"sku\":{\"name\":\"ilqu\",\"tier\":\"ydxtqm\"},\"capacity\":{\"minimum\":1174032525,\"maximum\":1222923392,\"default\":563118752,\"scaleType\":\"Manual\"}}")
+ "{\"resourceType\":\"voqyt\",\"sku\":{\"name\":\"owbb\",\"tier\":\"yavutpthjoxois\"},\"capacity\":{\"minimum\":1828523289,\"maximum\":409506451,\"default\":1784593893,\"scaleType\":\"Manual\"}}")
.toObject(NodeTypeAvailableSkuInner.class);
}
}
diff --git a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/NodeTypeFaultSimulationTests.java b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/NodeTypeFaultSimulationTests.java
new file mode 100644
index 000000000000..cd673ed92028
--- /dev/null
+++ b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/NodeTypeFaultSimulationTests.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.servicefabricmanagedclusters.generated;
+
+import com.azure.core.util.BinaryData;
+import com.azure.resourcemanager.servicefabricmanagedclusters.models.FaultSimulationStatus;
+import com.azure.resourcemanager.servicefabricmanagedclusters.models.NodeTypeFaultSimulation;
+import com.azure.resourcemanager.servicefabricmanagedclusters.models.SfmcOperationStatus;
+import org.junit.jupiter.api.Assertions;
+
+public final class NodeTypeFaultSimulationTests {
+ @org.junit.jupiter.api.Test
+ public void testDeserialize() throws Exception {
+ NodeTypeFaultSimulation model = BinaryData.fromString(
+ "{\"nodeTypeName\":\"szzcmrvexztv\",\"status\":\"StopFailed\",\"operationId\":\"sfraoyzko\",\"operationStatus\":\"Aborted\"}")
+ .toObject(NodeTypeFaultSimulation.class);
+ Assertions.assertEquals("szzcmrvexztv", model.nodeTypeName());
+ Assertions.assertEquals(FaultSimulationStatus.STOP_FAILED, model.status());
+ Assertions.assertEquals("sfraoyzko", model.operationId());
+ Assertions.assertEquals(SfmcOperationStatus.ABORTED, model.operationStatus());
+ }
+}
diff --git a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/NodeTypeListSkuResultTests.java b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/NodeTypeListSkuResultTests.java
index df96a58805ac..16eee2ca9f31 100644
--- a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/NodeTypeListSkuResultTests.java
+++ b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/NodeTypeListSkuResultTests.java
@@ -12,8 +12,8 @@ public final class NodeTypeListSkuResultTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
NodeTypeListSkuResult model = BinaryData.fromString(
- "{\"value\":[{\"resourceType\":\"gf\",\"sku\":{\"name\":\"sofbshrn\",\"tier\":\"buswdvzyy\"},\"capacity\":{\"minimum\":449257280,\"maximum\":81774332,\"default\":1155428031,\"scaleType\":\"Manual\"}}],\"nextLink\":\"kfawnopqgikyz\"}")
+ "{\"value\":[{\"resourceType\":\"l\",\"sku\":{\"name\":\"yuqdu\",\"tier\":\"mnnrwr\"},\"capacity\":{\"minimum\":512883777,\"maximum\":1740278069,\"default\":1451955961,\"scaleType\":\"Manual\"}},{\"resourceType\":\"hhg\",\"sku\":{\"name\":\"xmsivfomiloxggdu\",\"tier\":\"q\"},\"capacity\":{\"minimum\":1357028156,\"maximum\":569162481,\"default\":995066516,\"scaleType\":\"Manual\"}},{\"resourceType\":\"hvcyyysfg\",\"sku\":{\"name\":\"cubiipuipw\",\"tier\":\"onmacjekniz\"},\"capacity\":{\"minimum\":1660877225,\"maximum\":1591499316,\"default\":932128156,\"scaleType\":\"Automatic\"}},{\"resourceType\":\"gmblrri\",\"sku\":{\"name\":\"wdxsm\",\"tier\":\"cwrwfs\"},\"capacity\":{\"minimum\":163790859,\"maximum\":1976973593,\"default\":1665092740,\"scaleType\":\"Manual\"}}],\"nextLink\":\"i\"}")
.toObject(NodeTypeListSkuResult.class);
- Assertions.assertEquals("kfawnopqgikyz", model.nextLink());
+ Assertions.assertEquals("i", model.nextLink());
}
}
diff --git a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/NodeTypeNatConfigTests.java b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/NodeTypeNatConfigTests.java
index f78dbeeb2fcb..766d2fe19f57 100644
--- a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/NodeTypeNatConfigTests.java
+++ b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/NodeTypeNatConfigTests.java
@@ -13,21 +13,21 @@ public final class NodeTypeNatConfigTests {
public void testDeserialize() throws Exception {
NodeTypeNatConfig model = BinaryData
.fromString(
- "{\"backendPort\":1868624750,\"frontendPortRangeStart\":1304960075,\"frontendPortRangeEnd\":44629525}")
+ "{\"backendPort\":2130918233,\"frontendPortRangeStart\":852128353,\"frontendPortRangeEnd\":1875273166}")
.toObject(NodeTypeNatConfig.class);
- Assertions.assertEquals(1868624750, model.backendPort());
- Assertions.assertEquals(1304960075, model.frontendPortRangeStart());
- Assertions.assertEquals(44629525, model.frontendPortRangeEnd());
+ Assertions.assertEquals(2130918233, model.backendPort());
+ Assertions.assertEquals(852128353, model.frontendPortRangeStart());
+ Assertions.assertEquals(1875273166, model.frontendPortRangeEnd());
}
@org.junit.jupiter.api.Test
public void testSerialize() throws Exception {
- NodeTypeNatConfig model = new NodeTypeNatConfig().withBackendPort(1868624750)
- .withFrontendPortRangeStart(1304960075)
- .withFrontendPortRangeEnd(44629525);
+ NodeTypeNatConfig model = new NodeTypeNatConfig().withBackendPort(2130918233)
+ .withFrontendPortRangeStart(852128353)
+ .withFrontendPortRangeEnd(1875273166);
model = BinaryData.fromObject(model).toObject(NodeTypeNatConfig.class);
- Assertions.assertEquals(1868624750, model.backendPort());
- Assertions.assertEquals(1304960075, model.frontendPortRangeStart());
- Assertions.assertEquals(44629525, model.frontendPortRangeEnd());
+ Assertions.assertEquals(2130918233, model.backendPort());
+ Assertions.assertEquals(852128353, model.frontendPortRangeStart());
+ Assertions.assertEquals(1875273166, model.frontendPortRangeEnd());
}
}
diff --git a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/NodeTypeSkuCapacityTests.java b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/NodeTypeSkuCapacityTests.java
index 0ec8257567ad..42dcc791bde3 100644
--- a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/NodeTypeSkuCapacityTests.java
+++ b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/NodeTypeSkuCapacityTests.java
@@ -11,7 +11,7 @@ public final class NodeTypeSkuCapacityTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
NodeTypeSkuCapacity model = BinaryData
- .fromString("{\"minimum\":1786221046,\"maximum\":1302841922,\"default\":1525165459,\"scaleType\":\"None\"}")
+ .fromString("{\"minimum\":546640275,\"maximum\":27871888,\"default\":94477387,\"scaleType\":\"None\"}")
.toObject(NodeTypeSkuCapacity.class);
}
}
diff --git a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/NodeTypeSkuTests.java b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/NodeTypeSkuTests.java
index c210097b1703..ae8bcc231b84 100644
--- a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/NodeTypeSkuTests.java
+++ b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/NodeTypeSkuTests.java
@@ -11,20 +11,19 @@
public final class NodeTypeSkuTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
- NodeTypeSku model
- = BinaryData.fromString("{\"name\":\"ibreb\",\"tier\":\"aysjkixqtnqttez\",\"capacity\":880648467}")
- .toObject(NodeTypeSku.class);
- Assertions.assertEquals("ibreb", model.name());
- Assertions.assertEquals("aysjkixqtnqttez", model.tier());
- Assertions.assertEquals(880648467, model.capacity());
+ NodeTypeSku model = BinaryData.fromString("{\"name\":\"ygo\",\"tier\":\"kkqfqjbvle\",\"capacity\":151095052}")
+ .toObject(NodeTypeSku.class);
+ Assertions.assertEquals("ygo", model.name());
+ Assertions.assertEquals("kkqfqjbvle", model.tier());
+ Assertions.assertEquals(151095052, model.capacity());
}
@org.junit.jupiter.api.Test
public void testSerialize() throws Exception {
- NodeTypeSku model = new NodeTypeSku().withName("ibreb").withTier("aysjkixqtnqttez").withCapacity(880648467);
+ NodeTypeSku model = new NodeTypeSku().withName("ygo").withTier("kkqfqjbvle").withCapacity(151095052);
model = BinaryData.fromObject(model).toObject(NodeTypeSku.class);
- Assertions.assertEquals("ibreb", model.name());
- Assertions.assertEquals("aysjkixqtnqttez", model.tier());
- Assertions.assertEquals(880648467, model.capacity());
+ Assertions.assertEquals("ygo", model.name());
+ Assertions.assertEquals("kkqfqjbvle", model.tier());
+ Assertions.assertEquals(151095052, model.capacity());
}
}
diff --git a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/NodeTypeSkusListMockTests.java b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/NodeTypeSkusListMockTests.java
index 43f494dfdc76..9026eeb21b78 100644
--- a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/NodeTypeSkusListMockTests.java
+++ b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/NodeTypeSkusListMockTests.java
@@ -21,7 +21,7 @@ public final class NodeTypeSkusListMockTests {
@Test
public void testList() throws Exception {
String responseStr
- = "{\"value\":[{\"resourceType\":\"xs\",\"sku\":{\"name\":\"fujg\",\"tier\":\"gaao\"},\"capacity\":{\"minimum\":476503731,\"maximum\":276782508,\"default\":1296917092,\"scaleType\":\"None\"}}]}";
+ = "{\"value\":[{\"resourceType\":\"j\",\"sku\":{\"name\":\"vwkpqh\",\"tier\":\"enuygbq\"},\"capacity\":{\"minimum\":2014474860,\"maximum\":583877472,\"default\":1588755577,\"scaleType\":\"Manual\"}}]}";
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.nodeTypeSkus().list("ksh", "bffmbmxz", "rgywwp", com.azure.core.util.Context.NONE);
+ = manager.nodeTypeSkus().list("ians", "arujt", "iqxf", com.azure.core.util.Context.NONE);
}
}
diff --git a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/NodeTypeSupportedSkuTests.java b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/NodeTypeSupportedSkuTests.java
index 3cb4a6969d39..c7db919f3e17 100644
--- a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/NodeTypeSupportedSkuTests.java
+++ b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/NodeTypeSupportedSkuTests.java
@@ -10,7 +10,7 @@
public final class NodeTypeSupportedSkuTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
- NodeTypeSupportedSku model
- = BinaryData.fromString("{\"name\":\"yaomtb\",\"tier\":\"havgrvk\"}").toObject(NodeTypeSupportedSku.class);
+ NodeTypeSupportedSku model = BinaryData.fromString("{\"name\":\"ljxkcgxxlx\",\"tier\":\"fgcviz\"}")
+ .toObject(NodeTypeSupportedSku.class);
}
}
diff --git a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/NodeTypeUpdateParametersTests.java b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/NodeTypeUpdateParametersTests.java
index 96e70fe89a70..79c5844fc72b 100644
--- a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/NodeTypeUpdateParametersTests.java
+++ b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/NodeTypeUpdateParametersTests.java
@@ -15,24 +15,23 @@ public final class NodeTypeUpdateParametersTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
NodeTypeUpdateParameters model = BinaryData.fromString(
- "{\"tags\":{\"edltmmjihyeozp\":\"fiakpjpqqm\",\"qncygupkvi\":\"vwau\"},\"sku\":{\"name\":\"scw\",\"tier\":\"upev\",\"capacity\":1875273166}}")
+ "{\"tags\":{\"bar\":\"luiqtqzfavyvnqq\"},\"sku\":{\"name\":\"ayjkqa\",\"tier\":\"gzslesjcbhernnti\",\"capacity\":167991676}}")
.toObject(NodeTypeUpdateParameters.class);
- Assertions.assertEquals("fiakpjpqqm", model.tags().get("edltmmjihyeozp"));
- Assertions.assertEquals("scw", model.sku().name());
- Assertions.assertEquals("upev", model.sku().tier());
- Assertions.assertEquals(1875273166, model.sku().capacity());
+ Assertions.assertEquals("luiqtqzfavyvnqq", model.tags().get("bar"));
+ Assertions.assertEquals("ayjkqa", model.sku().name());
+ Assertions.assertEquals("gzslesjcbhernnti", model.sku().tier());
+ Assertions.assertEquals(167991676, model.sku().capacity());
}
@org.junit.jupiter.api.Test
public void testSerialize() throws Exception {
- NodeTypeUpdateParameters model
- = new NodeTypeUpdateParameters().withTags(mapOf("edltmmjihyeozp", "fiakpjpqqm", "qncygupkvi", "vwau"))
- .withSku(new NodeTypeSku().withName("scw").withTier("upev").withCapacity(1875273166));
+ NodeTypeUpdateParameters model = new NodeTypeUpdateParameters().withTags(mapOf("bar", "luiqtqzfavyvnqq"))
+ .withSku(new NodeTypeSku().withName("ayjkqa").withTier("gzslesjcbhernnti").withCapacity(167991676));
model = BinaryData.fromObject(model).toObject(NodeTypeUpdateParameters.class);
- Assertions.assertEquals("fiakpjpqqm", model.tags().get("edltmmjihyeozp"));
- Assertions.assertEquals("scw", model.sku().name());
- Assertions.assertEquals("upev", model.sku().tier());
- Assertions.assertEquals(1875273166, model.sku().capacity());
+ Assertions.assertEquals("luiqtqzfavyvnqq", model.tags().get("bar"));
+ Assertions.assertEquals("ayjkqa", model.sku().name());
+ Assertions.assertEquals("gzslesjcbhernnti", model.sku().tier());
+ Assertions.assertEquals(167991676, model.sku().capacity());
}
// Use "Map.of" if available
diff --git a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/NodeTypesGetFaultSimulationWithResponseMockTests.java b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/NodeTypesGetFaultSimulationWithResponseMockTests.java
new file mode 100644
index 000000000000..eef9aeb5eb4f
--- /dev/null
+++ b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/NodeTypesGetFaultSimulationWithResponseMockTests.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.servicefabricmanagedclusters.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.servicefabricmanagedclusters.ServiceFabricManagedClustersManager;
+import com.azure.resourcemanager.servicefabricmanagedclusters.models.FaultSimulation;
+import com.azure.resourcemanager.servicefabricmanagedclusters.models.FaultSimulationIdContent;
+import com.azure.resourcemanager.servicefabricmanagedclusters.models.FaultSimulationStatus;
+import com.azure.resourcemanager.servicefabricmanagedclusters.models.SfmcOperationStatus;
+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 NodeTypesGetFaultSimulationWithResponseMockTests {
+ @Test
+ public void testGetFaultSimulationWithResponse() throws Exception {
+ String responseStr
+ = "{\"simulationId\":\"gjiuqhibto\",\"status\":\"Stopping\",\"startTime\":\"2021-08-27T21:29:32Z\",\"endTime\":\"2021-05-10T15:06:25Z\",\"details\":{\"clusterId\":\"urrxxgewpktv\",\"operationId\":\"lkm\",\"nodeTypeFaultSimulation\":[{\"nodeTypeName\":\"yhlfb\",\"status\":\"Starting\",\"operationId\":\"cloxo\",\"operationStatus\":\"Canceled\"},{\"nodeTypeName\":\"njipnwjfujql\",\"status\":\"Done\",\"operationId\":\"ahhpzpofoiyjwpf\",\"operationStatus\":\"Failed\"},{\"nodeTypeName\":\"kkholvdndvia\",\"status\":\"Starting\",\"operationId\":\"huartv\",\"operationStatus\":\"Aborted\"}],\"parameters\":{\"faultKind\":\"FaultSimulationContent\",\"force\":false,\"constraints\":{\"expirationTime\":\"2021-04-19T12:08:32Z\"}}}}";
+
+ HttpClient httpClient
+ = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
+ ServiceFabricManagedClustersManager manager = ServiceFabricManagedClustersManager.configure()
+ .withHttpClient(httpClient)
+ .authenticate(tokenRequestContext -> Mono.just(new AccessToken("this_is_a_token", OffsetDateTime.MAX)),
+ new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD));
+
+ FaultSimulation response = manager.nodeTypes()
+ .getFaultSimulationWithResponse("xmcuqud", "cvclxynpdk", "gfabuiyjibuzphdu",
+ new FaultSimulationIdContent().withSimulationId("neiknpg"), com.azure.core.util.Context.NONE)
+ .getValue();
+
+ Assertions.assertEquals("gjiuqhibto", response.simulationId());
+ Assertions.assertEquals(FaultSimulationStatus.STOPPING, response.status());
+ Assertions.assertEquals(OffsetDateTime.parse("2021-08-27T21:29:32Z"), response.startTime());
+ Assertions.assertEquals(OffsetDateTime.parse("2021-05-10T15:06:25Z"), response.endTime());
+ Assertions.assertEquals("urrxxgewpktv", response.details().clusterId());
+ Assertions.assertEquals("lkm", response.details().operationId());
+ Assertions.assertEquals("yhlfb", response.details().nodeTypeFaultSimulation().get(0).nodeTypeName());
+ Assertions.assertEquals(FaultSimulationStatus.STARTING,
+ response.details().nodeTypeFaultSimulation().get(0).status());
+ Assertions.assertEquals("cloxo", response.details().nodeTypeFaultSimulation().get(0).operationId());
+ Assertions.assertEquals(SfmcOperationStatus.CANCELED,
+ response.details().nodeTypeFaultSimulation().get(0).operationStatus());
+ Assertions.assertFalse(response.details().parameters().force());
+ Assertions.assertEquals(OffsetDateTime.parse("2021-04-19T12:08:32Z"),
+ response.details().parameters().constraints().expirationTime());
+ }
+}
diff --git a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/NodeTypesListFaultSimulationMockTests.java b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/NodeTypesListFaultSimulationMockTests.java
new file mode 100644
index 000000000000..fae82b6e82ca
--- /dev/null
+++ b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/NodeTypesListFaultSimulationMockTests.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.servicefabricmanagedclusters.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.servicefabricmanagedclusters.ServiceFabricManagedClustersManager;
+import com.azure.resourcemanager.servicefabricmanagedclusters.models.FaultSimulation;
+import com.azure.resourcemanager.servicefabricmanagedclusters.models.FaultSimulationStatus;
+import com.azure.resourcemanager.servicefabricmanagedclusters.models.SfmcOperationStatus;
+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 NodeTypesListFaultSimulationMockTests {
+ @Test
+ public void testListFaultSimulation() throws Exception {
+ String responseStr
+ = "{\"value\":[{\"simulationId\":\"oxffif\",\"status\":\"Active\",\"startTime\":\"2021-03-12T15:59:07Z\",\"endTime\":\"2021-05-24T03:09:15Z\",\"details\":{\"clusterId\":\"ozqvbubqmam\",\"operationId\":\"ycxhxzgaztta\",\"nodeTypeFaultSimulation\":[{\"nodeTypeName\":\"vmfqhppubo\",\"status\":\"Stopping\",\"operationId\":\"dfgkmtdh\",\"operationStatus\":\"Started\"},{\"nodeTypeName\":\"btcjuah\",\"status\":\"Stopping\",\"operationId\":\"obkauxofsh\",\"operationStatus\":\"Started\"},{\"nodeTypeName\":\"pnulaiywzej\",\"status\":\"Starting\",\"operationId\":\"lwkojpllndnpdw\",\"operationStatus\":\"Failed\"}],\"parameters\":{\"faultKind\":\"FaultSimulationContent\",\"force\":true,\"constraints\":{\"expirationTime\":\"2020-12-25T16:05:30Z\"}}}}]}";
+
+ HttpClient httpClient
+ = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
+ ServiceFabricManagedClustersManager manager = ServiceFabricManagedClustersManager.configure()
+ .withHttpClient(httpClient)
+ .authenticate(tokenRequestContext -> Mono.just(new AccessToken("this_is_a_token", OffsetDateTime.MAX)),
+ new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD));
+
+ PagedIterable response
+ = manager.nodeTypes().listFaultSimulation("nmnahmnx", "k", "jqirwrw", com.azure.core.util.Context.NONE);
+
+ Assertions.assertEquals("oxffif", response.iterator().next().simulationId());
+ Assertions.assertEquals(FaultSimulationStatus.ACTIVE, response.iterator().next().status());
+ Assertions.assertEquals(OffsetDateTime.parse("2021-03-12T15:59:07Z"), response.iterator().next().startTime());
+ Assertions.assertEquals(OffsetDateTime.parse("2021-05-24T03:09:15Z"), response.iterator().next().endTime());
+ Assertions.assertEquals("ozqvbubqmam", response.iterator().next().details().clusterId());
+ Assertions.assertEquals("ycxhxzgaztta", response.iterator().next().details().operationId());
+ Assertions.assertEquals("vmfqhppubo",
+ response.iterator().next().details().nodeTypeFaultSimulation().get(0).nodeTypeName());
+ Assertions.assertEquals(FaultSimulationStatus.STOPPING,
+ response.iterator().next().details().nodeTypeFaultSimulation().get(0).status());
+ Assertions.assertEquals("dfgkmtdh",
+ response.iterator().next().details().nodeTypeFaultSimulation().get(0).operationId());
+ Assertions.assertEquals(SfmcOperationStatus.STARTED,
+ response.iterator().next().details().nodeTypeFaultSimulation().get(0).operationStatus());
+ Assertions.assertTrue(response.iterator().next().details().parameters().force());
+ Assertions.assertEquals(OffsetDateTime.parse("2020-12-25T16:05:30Z"),
+ response.iterator().next().details().parameters().constraints().expirationTime());
+ }
+}
diff --git a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/OperationsListMockTests.java b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/OperationsListMockTests.java
index f322f5290974..7dd499876eab 100644
--- a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/OperationsListMockTests.java
+++ b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/OperationsListMockTests.java
@@ -22,7 +22,7 @@ public final class OperationsListMockTests {
@Test
public void testList() throws Exception {
String responseStr
- = "{\"value\":[{\"name\":\"ibgjmfxumvfcl\",\"isDataAction\":true,\"display\":{\"provider\":\"xnbkfezzxscyhwzd\",\"resource\":\"rujbzbomvzzbtdc\",\"operation\":\"pniyujviyl\",\"description\":\"shfssnrbgyef\"},\"origin\":\"msgaoj\",\"nextLink\":\"wncot\"}]}";
+ = "{\"value\":[{\"name\":\"upfgfbk\",\"isDataAction\":true,\"display\":{\"provider\":\"hgkfmin\",\"resource\":\"owzfttsttkt\",\"operation\":\"hbq\",\"description\":\"tx\"},\"origin\":\"zukxitmmqtgqq\",\"nextLink\":\"hrnxrxc\"}]}";
HttpClient httpClient
= response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
@@ -33,13 +33,13 @@ public void testList() throws Exception {
PagedIterable response = manager.operations().list(com.azure.core.util.Context.NONE);
- Assertions.assertEquals("ibgjmfxumvfcl", response.iterator().next().name());
+ Assertions.assertEquals("upfgfbk", response.iterator().next().name());
Assertions.assertTrue(response.iterator().next().isDataAction());
- Assertions.assertEquals("xnbkfezzxscyhwzd", response.iterator().next().display().provider());
- Assertions.assertEquals("rujbzbomvzzbtdc", response.iterator().next().display().resource());
- Assertions.assertEquals("pniyujviyl", response.iterator().next().display().operation());
- Assertions.assertEquals("shfssnrbgyef", response.iterator().next().display().description());
- Assertions.assertEquals("msgaoj", response.iterator().next().origin());
- Assertions.assertEquals("wncot", response.iterator().next().nextLink());
+ Assertions.assertEquals("hgkfmin", response.iterator().next().display().provider());
+ Assertions.assertEquals("owzfttsttkt", response.iterator().next().display().resource());
+ Assertions.assertEquals("hbq", response.iterator().next().display().operation());
+ Assertions.assertEquals("tx", response.iterator().next().display().description());
+ Assertions.assertEquals("zukxitmmqtgqq", response.iterator().next().origin());
+ Assertions.assertEquals("hrnxrxc", response.iterator().next().nextLink());
}
}
diff --git a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ResourceAzStatusTests.java b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ResourceAzStatusTests.java
index fbc86215ccfe..c9cdaf424f7a 100644
--- a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ResourceAzStatusTests.java
+++ b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ResourceAzStatusTests.java
@@ -11,7 +11,7 @@ public final class ResourceAzStatusTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
ResourceAzStatus model = BinaryData.fromString(
- "{\"resourceName\":\"vtvudutncormr\",\"resourceType\":\"qtvcofudflvkgj\",\"isZoneResilient\":false,\"details\":\"knnqvsaznq\"}")
+ "{\"resourceName\":\"acizsjqlhkrr\",\"resourceType\":\"deibqip\",\"isZoneResilient\":true,\"details\":\"vxndz\"}")
.toObject(ResourceAzStatus.class);
}
}
diff --git a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ScaleInPolicyTests.java b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ScaleInPolicyTests.java
new file mode 100644
index 000000000000..48f84a711677
--- /dev/null
+++ b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ScaleInPolicyTests.java
@@ -0,0 +1,25 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.servicefabricmanagedclusters.generated;
+
+import com.azure.core.util.BinaryData;
+import com.azure.resourcemanager.servicefabricmanagedclusters.models.ScaleInPolicy;
+import com.azure.resourcemanager.servicefabricmanagedclusters.models.ScaleInPolicyMode;
+import org.junit.jupiter.api.Assertions;
+
+public final class ScaleInPolicyTests {
+ @org.junit.jupiter.api.Test
+ public void testDeserialize() throws Exception {
+ ScaleInPolicy model = BinaryData.fromString("{\"mode\":\"OldestNodeFirst\"}").toObject(ScaleInPolicy.class);
+ Assertions.assertEquals(ScaleInPolicyMode.OLDEST_NODE_FIRST, model.mode());
+ }
+
+ @org.junit.jupiter.api.Test
+ public void testSerialize() throws Exception {
+ ScaleInPolicy model = new ScaleInPolicy().withMode(ScaleInPolicyMode.OLDEST_NODE_FIRST);
+ model = BinaryData.fromObject(model).toObject(ScaleInPolicy.class);
+ Assertions.assertEquals(ScaleInPolicyMode.OLDEST_NODE_FIRST, model.mode());
+ }
+}
diff --git a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ServicesCreateOrUpdateMockTests.java b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ServicesCreateOrUpdateMockTests.java
index edf7d235443d..e49cb1fba031 100644
--- a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ServicesCreateOrUpdateMockTests.java
+++ b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ServicesCreateOrUpdateMockTests.java
@@ -36,7 +36,7 @@ public final class ServicesCreateOrUpdateMockTests {
@Test
public void testCreateOrUpdate() throws Exception {
String responseStr
- = "{\"properties\":{\"serviceKind\":\"ServiceResourceProperties\",\"provisioningState\":\"Succeeded\",\"serviceTypeName\":\"tqlgehgppi\",\"partitionDescription\":{\"partitionScheme\":\"Partition\"},\"servicePackageActivationMode\":\"ExclusiveProcess\",\"serviceDnsName\":\"pfeoajvgcxtxjcsh\",\"placementConstraints\":\"fidltug\",\"correlationScheme\":[{\"scheme\":\"AlignedAffinity\",\"serviceName\":\"mks\"},{\"scheme\":\"NonAlignedAffinity\",\"serviceName\":\"h\"},{\"scheme\":\"AlignedAffinity\",\"serviceName\":\"ftxfkf\"},{\"scheme\":\"NonAlignedAffinity\",\"serviceName\":\"gpr\"}],\"serviceLoadMetrics\":[{\"name\":\"ill\",\"weight\":\"Low\",\"primaryDefaultLoad\":851577525,\"secondaryDefaultLoad\":1110448286,\"defaultLoad\":13160998},{\"name\":\"ohmcwsld\",\"weight\":\"Low\",\"primaryDefaultLoad\":908971345,\"secondaryDefaultLoad\":1725340246,\"defaultLoad\":503142879},{\"name\":\"a\",\"weight\":\"Low\",\"primaryDefaultLoad\":1996411708,\"secondaryDefaultLoad\":1970354054,\"defaultLoad\":1461058147}],\"servicePlacementPolicies\":[{\"type\":\"ServicePlacementPolicy\"},{\"type\":\"ServicePlacementPolicy\"}],\"defaultMoveCost\":\"Medium\",\"scalingPolicies\":[{\"scalingMechanism\":{\"kind\":\"ScalingMechanism\"},\"scalingTrigger\":{\"kind\":\"ScalingTrigger\"}},{\"scalingMechanism\":{\"kind\":\"ScalingMechanism\"},\"scalingTrigger\":{\"kind\":\"ScalingTrigger\"}},{\"scalingMechanism\":{\"kind\":\"ScalingMechanism\"},\"scalingTrigger\":{\"kind\":\"ScalingTrigger\"}},{\"scalingMechanism\":{\"kind\":\"ScalingMechanism\"},\"scalingTrigger\":{\"kind\":\"ScalingTrigger\"}}]},\"tags\":{\"joylh\":\"ankjpdnjzh\"},\"location\":\"muoyxprimr\",\"id\":\"pteecjme\",\"name\":\"slstvasy\",\"type\":\"wxdzaumweoohgu\"}";
+ = "{\"properties\":{\"serviceKind\":\"ServiceResourceProperties\",\"provisioningState\":\"Succeeded\",\"serviceTypeName\":\"dbn\",\"partitionDescription\":{\"partitionScheme\":\"Partition\"},\"servicePackageActivationMode\":\"SharedProcess\",\"serviceDnsName\":\"olewjwi\",\"placementConstraints\":\"bwefqsfapaqtfer\",\"correlationScheme\":[{\"scheme\":\"AlignedAffinity\",\"serviceName\":\"x\"},{\"scheme\":\"AlignedAffinity\",\"serviceName\":\"mfxapjwogqqno\"},{\"scheme\":\"AlignedAffinity\",\"serviceName\":\"udcdabtqwpwyawb\"},{\"scheme\":\"NonAlignedAffinity\",\"serviceName\":\"sqbuc\"}],\"serviceLoadMetrics\":[{\"name\":\"kyexaoguyaipi\",\"weight\":\"High\",\"primaryDefaultLoad\":613769080,\"secondaryDefaultLoad\":327323278,\"defaultLoad\":1776533038},{\"name\":\"jjum\",\"weight\":\"Zero\",\"primaryDefaultLoad\":129557013,\"secondaryDefaultLoad\":813441118,\"defaultLoad\":483353553},{\"name\":\"mcjn\",\"weight\":\"Zero\",\"primaryDefaultLoad\":449577891,\"secondaryDefaultLoad\":277870835,\"defaultLoad\":277768247}],\"servicePlacementPolicies\":[{\"type\":\"ServicePlacementPolicy\"}],\"defaultMoveCost\":\"Zero\",\"scalingPolicies\":[{\"scalingMechanism\":{\"kind\":\"ScalingMechanism\"},\"scalingTrigger\":{\"kind\":\"ScalingTrigger\"}},{\"scalingMechanism\":{\"kind\":\"ScalingMechanism\"},\"scalingTrigger\":{\"kind\":\"ScalingTrigger\"}},{\"scalingMechanism\":{\"kind\":\"ScalingMechanism\"},\"scalingTrigger\":{\"kind\":\"ScalingTrigger\"}},{\"scalingMechanism\":{\"kind\":\"ScalingMechanism\"},\"scalingTrigger\":{\"kind\":\"ScalingTrigger\"}}]},\"tags\":{\"fh\":\"zsvtuikzhajqgl\",\"qryxyn\":\"l\",\"ptgoeiybbabp\":\"nzrdpsovwxz\"},\"location\":\"vf\",\"id\":\"kvntjlrigjkskyri\",\"name\":\"ovzidsx\",\"type\":\"aabzmif\"}";
HttpClient httpClient
= response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
@@ -46,64 +46,50 @@ public void testCreateOrUpdate() throws Exception {
new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD));
ServiceResource response = manager.services()
- .define("tfgle")
- .withExistingApplication("wprtu", "wsawddjibabxvi", "itvtzeexavo")
- .withRegion("ch")
- .withTags(mapOf("rwhryvycytd", "g", "pdvjdhttzaefedx", "lxgccknfnwmbtm"))
- .withProperties(new ServiceResourceProperties().withPlacementConstraints("odhtnsirudhzm")
- .withCorrelationScheme(Arrays.asList(
- new ServiceCorrelation().withScheme(ServiceCorrelationScheme.ALIGNED_AFFINITY)
- .withServiceName("kdlpa"),
- new ServiceCorrelation().withScheme(ServiceCorrelationScheme.NON_ALIGNED_AFFINITY)
- .withServiceName("rcxfailcfxwmdb")))
- .withServiceLoadMetrics(Arrays.asList(
- new ServiceLoadMetric().withName("fgsftufqob")
- .withWeight(ServiceLoadMetricWeight.LOW)
- .withPrimaryDefaultLoad(427496891)
- .withSecondaryDefaultLoad(1823557197)
- .withDefaultLoad(639402848),
- new ServiceLoadMetric().withName("kknhxkizvytnrzv")
- .withWeight(ServiceLoadMetricWeight.HIGH)
- .withPrimaryDefaultLoad(1308211330)
- .withSecondaryDefaultLoad(1841733117)
- .withDefaultLoad(1842483691),
- new ServiceLoadMetric().withName("nok")
- .withWeight(ServiceLoadMetricWeight.HIGH)
- .withPrimaryDefaultLoad(578630229)
- .withSecondaryDefaultLoad(811318318)
- .withDefaultLoad(380919763),
- new ServiceLoadMetric().withName("broyla")
- .withWeight(ServiceLoadMetricWeight.MEDIUM)
- .withPrimaryDefaultLoad(1120271954)
- .withSecondaryDefaultLoad(1187739755)
- .withDefaultLoad(1171006213)))
- .withServicePlacementPolicies(Arrays.asList(new ServicePlacementPolicy(), new ServicePlacementPolicy()))
- .withDefaultMoveCost(MoveCost.MEDIUM)
- .withScalingPolicies(Arrays.asList(new ScalingPolicy().withScalingMechanism(new ScalingMechanism())
- .withScalingTrigger(new ScalingTrigger())))
- .withServiceTypeName("b")
+ .define("clj")
+ .withExistingApplication("v", "qqxeyskon", "zinkfkbgbzbowxeq")
+ .withRegion("ppr")
+ .withTags(mapOf("jptmcgsbost", "pqhe", "la", "eln", "neqvcwwyyurmo", "utmzlbiojlvfhrbb"))
+ .withProperties(new ServiceResourceProperties().withPlacementConstraints("q")
+ .withCorrelationScheme(
+ Arrays.asList(new ServiceCorrelation().withScheme(ServiceCorrelationScheme.ALIGNED_AFFINITY)
+ .withServiceName("vz")))
+ .withServiceLoadMetrics(Arrays.asList(new ServiceLoadMetric().withName("v")
+ .withWeight(ServiceLoadMetricWeight.LOW)
+ .withPrimaryDefaultLoad(202407711)
+ .withSecondaryDefaultLoad(899715277)
+ .withDefaultLoad(1814010794)))
+ .withServicePlacementPolicies(Arrays.asList(new ServicePlacementPolicy(), new ServicePlacementPolicy(),
+ new ServicePlacementPolicy()))
+ .withDefaultMoveCost(MoveCost.HIGH)
+ .withScalingPolicies(Arrays.asList(
+ new ScalingPolicy().withScalingMechanism(new ScalingMechanism())
+ .withScalingTrigger(new ScalingTrigger()),
+ new ScalingPolicy().withScalingMechanism(new ScalingMechanism())
+ .withScalingTrigger(new ScalingTrigger())))
+ .withServiceTypeName("jeokbzefezrxccz")
.withPartitionDescription(new Partition())
- .withServicePackageActivationMode(ServicePackageActivationMode.SHARED_PROCESS)
- .withServiceDnsName("xudb"))
+ .withServicePackageActivationMode(ServicePackageActivationMode.EXCLUSIVE_PROCESS)
+ .withServiceDnsName("e"))
.create();
- Assertions.assertEquals("fidltug", response.properties().placementConstraints());
+ Assertions.assertEquals("bwefqsfapaqtfer", response.properties().placementConstraints());
Assertions.assertEquals(ServiceCorrelationScheme.ALIGNED_AFFINITY,
response.properties().correlationScheme().get(0).scheme());
- Assertions.assertEquals("mks", response.properties().correlationScheme().get(0).serviceName());
- Assertions.assertEquals("ill", response.properties().serviceLoadMetrics().get(0).name());
- Assertions.assertEquals(ServiceLoadMetricWeight.LOW,
+ Assertions.assertEquals("x", response.properties().correlationScheme().get(0).serviceName());
+ Assertions.assertEquals("kyexaoguyaipi", response.properties().serviceLoadMetrics().get(0).name());
+ Assertions.assertEquals(ServiceLoadMetricWeight.HIGH,
response.properties().serviceLoadMetrics().get(0).weight());
- Assertions.assertEquals(851577525, response.properties().serviceLoadMetrics().get(0).primaryDefaultLoad());
- Assertions.assertEquals(1110448286, response.properties().serviceLoadMetrics().get(0).secondaryDefaultLoad());
- Assertions.assertEquals(13160998, response.properties().serviceLoadMetrics().get(0).defaultLoad());
- Assertions.assertEquals(MoveCost.MEDIUM, response.properties().defaultMoveCost());
- Assertions.assertEquals("tqlgehgppi", response.properties().serviceTypeName());
- Assertions.assertEquals(ServicePackageActivationMode.EXCLUSIVE_PROCESS,
+ Assertions.assertEquals(613769080, response.properties().serviceLoadMetrics().get(0).primaryDefaultLoad());
+ Assertions.assertEquals(327323278, response.properties().serviceLoadMetrics().get(0).secondaryDefaultLoad());
+ Assertions.assertEquals(1776533038, response.properties().serviceLoadMetrics().get(0).defaultLoad());
+ Assertions.assertEquals(MoveCost.ZERO, response.properties().defaultMoveCost());
+ Assertions.assertEquals("dbn", response.properties().serviceTypeName());
+ Assertions.assertEquals(ServicePackageActivationMode.SHARED_PROCESS,
response.properties().servicePackageActivationMode());
- Assertions.assertEquals("pfeoajvgcxtxjcsh", response.properties().serviceDnsName());
- Assertions.assertEquals("ankjpdnjzh", response.tags().get("joylh"));
- Assertions.assertEquals("muoyxprimr", response.location());
+ Assertions.assertEquals("olewjwi", response.properties().serviceDnsName());
+ Assertions.assertEquals("zsvtuikzhajqgl", response.tags().get("fh"));
+ Assertions.assertEquals("vf", response.location());
}
// Use "Map.of" if available
diff --git a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ServicesGetWithResponseMockTests.java b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ServicesGetWithResponseMockTests.java
index 8ba454eabc67..db696896ba30 100644
--- a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ServicesGetWithResponseMockTests.java
+++ b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ServicesGetWithResponseMockTests.java
@@ -25,7 +25,7 @@ public final class ServicesGetWithResponseMockTests {
@Test
public void testGetWithResponse() throws Exception {
String responseStr
- = "{\"properties\":{\"serviceKind\":\"ServiceResourceProperties\",\"provisioningState\":\"xvmhf\",\"serviceTypeName\":\"uzjyihsasbhudypo\",\"partitionDescription\":{\"partitionScheme\":\"Partition\"},\"servicePackageActivationMode\":\"SharedProcess\",\"serviceDnsName\":\"ms\",\"placementConstraints\":\"nsqyrpfoobrltt\",\"correlationScheme\":[{\"scheme\":\"AlignedAffinity\",\"serviceName\":\"nygq\"},{\"scheme\":\"NonAlignedAffinity\",\"serviceName\":\"fwqzdz\"},{\"scheme\":\"AlignedAffinity\",\"serviceName\":\"ilaxhn\"},{\"scheme\":\"AlignedAffinity\",\"serviceName\":\"qlyvijo\"}],\"serviceLoadMetrics\":[{\"name\":\"vk\",\"weight\":\"High\",\"primaryDefaultLoad\":490725767,\"secondaryDefaultLoad\":1386333494,\"defaultLoad\":1975908496}],\"servicePlacementPolicies\":[{\"type\":\"ServicePlacementPolicy\"},{\"type\":\"ServicePlacementPolicy\"},{\"type\":\"ServicePlacementPolicy\"}],\"defaultMoveCost\":\"Low\",\"scalingPolicies\":[{\"scalingMechanism\":{\"kind\":\"ScalingMechanism\"},\"scalingTrigger\":{\"kind\":\"ScalingTrigger\"}},{\"scalingMechanism\":{\"kind\":\"ScalingMechanism\"},\"scalingTrigger\":{\"kind\":\"ScalingTrigger\"}},{\"scalingMechanism\":{\"kind\":\"ScalingMechanism\"},\"scalingTrigger\":{\"kind\":\"ScalingTrigger\"}}]},\"tags\":{\"oxfrkenxpmyyefr\":\"wpgclrcivt\",\"qvmmbn\":\"mpdnqqskawa\",\"qlkzme\":\"qfr\"},\"location\":\"itgvkx\",\"id\":\"yqdrf\",\"name\":\"gcealzxwh\",\"type\":\"ansym\"}";
+ = "{\"properties\":{\"serviceKind\":\"ServiceResourceProperties\",\"provisioningState\":\"rcgegydcwboxjum\",\"serviceTypeName\":\"qqoli\",\"partitionDescription\":{\"partitionScheme\":\"Partition\"},\"servicePackageActivationMode\":\"ExclusiveProcess\",\"serviceDnsName\":\"iouaubrjt\",\"placementConstraints\":\"qxfuojrngif\",\"correlationScheme\":[{\"scheme\":\"AlignedAffinity\",\"serviceName\":\"asccbiui\"}],\"serviceLoadMetrics\":[{\"name\":\"lyjdfqwm\",\"weight\":\"Zero\",\"primaryDefaultLoad\":1738814564,\"secondaryDefaultLoad\":1748884059,\"defaultLoad\":2092771919},{\"name\":\"uzslzojhpctfnmdx\",\"weight\":\"High\",\"primaryDefaultLoad\":120965041,\"secondaryDefaultLoad\":1293168350,\"defaultLoad\":1282016388}],\"servicePlacementPolicies\":[{\"type\":\"ServicePlacementPolicy\"},{\"type\":\"ServicePlacementPolicy\"},{\"type\":\"ServicePlacementPolicy\"},{\"type\":\"ServicePlacementPolicy\"}],\"defaultMoveCost\":\"Zero\",\"scalingPolicies\":[{\"scalingMechanism\":{\"kind\":\"ScalingMechanism\"},\"scalingTrigger\":{\"kind\":\"ScalingTrigger\"}},{\"scalingMechanism\":{\"kind\":\"ScalingMechanism\"},\"scalingTrigger\":{\"kind\":\"ScalingTrigger\"}},{\"scalingMechanism\":{\"kind\":\"ScalingMechanism\"},\"scalingTrigger\":{\"kind\":\"ScalingTrigger\"}},{\"scalingMechanism\":{\"kind\":\"ScalingMechanism\"},\"scalingTrigger\":{\"kind\":\"ScalingTrigger\"}}]},\"tags\":{\"absnmfpp\":\"yui\",\"yhsgz\":\"ojeevy\",\"qgleohibetnluank\":\"czbgomfgbeg\",\"acvbmqz\":\"rfxeeebtij\"},\"location\":\"q\",\"id\":\"aj\",\"name\":\"nw\",\"type\":\"acevehjkuyx\"}";
HttpClient httpClient
= response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
@@ -35,25 +35,25 @@ public void testGetWithResponse() throws Exception {
new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD));
ServiceResource response = manager.services()
- .getWithResponse("gsjj", "undxgketw", "hhzjhfj", "hvvmuvgpmun", com.azure.core.util.Context.NONE)
+ .getWithResponse("qpwcyyufmh", "uncuw", "qspkcdqzhlctd", "unqndyfpchrqb", com.azure.core.util.Context.NONE)
.getValue();
- Assertions.assertEquals("nsqyrpfoobrltt", response.properties().placementConstraints());
+ Assertions.assertEquals("qxfuojrngif", response.properties().placementConstraints());
Assertions.assertEquals(ServiceCorrelationScheme.ALIGNED_AFFINITY,
response.properties().correlationScheme().get(0).scheme());
- Assertions.assertEquals("nygq", response.properties().correlationScheme().get(0).serviceName());
- Assertions.assertEquals("vk", response.properties().serviceLoadMetrics().get(0).name());
- Assertions.assertEquals(ServiceLoadMetricWeight.HIGH,
+ Assertions.assertEquals("asccbiui", response.properties().correlationScheme().get(0).serviceName());
+ Assertions.assertEquals("lyjdfqwm", response.properties().serviceLoadMetrics().get(0).name());
+ Assertions.assertEquals(ServiceLoadMetricWeight.ZERO,
response.properties().serviceLoadMetrics().get(0).weight());
- Assertions.assertEquals(490725767, response.properties().serviceLoadMetrics().get(0).primaryDefaultLoad());
- Assertions.assertEquals(1386333494, response.properties().serviceLoadMetrics().get(0).secondaryDefaultLoad());
- Assertions.assertEquals(1975908496, response.properties().serviceLoadMetrics().get(0).defaultLoad());
- Assertions.assertEquals(MoveCost.LOW, response.properties().defaultMoveCost());
- Assertions.assertEquals("uzjyihsasbhudypo", response.properties().serviceTypeName());
- Assertions.assertEquals(ServicePackageActivationMode.SHARED_PROCESS,
+ Assertions.assertEquals(1738814564, response.properties().serviceLoadMetrics().get(0).primaryDefaultLoad());
+ Assertions.assertEquals(1748884059, response.properties().serviceLoadMetrics().get(0).secondaryDefaultLoad());
+ Assertions.assertEquals(2092771919, response.properties().serviceLoadMetrics().get(0).defaultLoad());
+ Assertions.assertEquals(MoveCost.ZERO, response.properties().defaultMoveCost());
+ Assertions.assertEquals("qqoli", response.properties().serviceTypeName());
+ Assertions.assertEquals(ServicePackageActivationMode.EXCLUSIVE_PROCESS,
response.properties().servicePackageActivationMode());
- Assertions.assertEquals("ms", response.properties().serviceDnsName());
- Assertions.assertEquals("wpgclrcivt", response.tags().get("oxfrkenxpmyyefr"));
- Assertions.assertEquals("itgvkx", response.location());
+ Assertions.assertEquals("iouaubrjt", response.properties().serviceDnsName());
+ Assertions.assertEquals("yui", response.tags().get("absnmfpp"));
+ Assertions.assertEquals("q", response.location());
}
}
diff --git a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ServicesListByApplicationsMockTests.java b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ServicesListByApplicationsMockTests.java
index f4b2c435dd0d..463aeecad559 100644
--- a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ServicesListByApplicationsMockTests.java
+++ b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ServicesListByApplicationsMockTests.java
@@ -26,7 +26,7 @@ public final class ServicesListByApplicationsMockTests {
@Test
public void testListByApplications() throws Exception {
String responseStr
- = "{\"value\":[{\"properties\":{\"serviceKind\":\"ServiceResourceProperties\",\"provisioningState\":\"kjsqzhzbezkgi\",\"serviceTypeName\":\"sidxasicdd\",\"partitionDescription\":{\"partitionScheme\":\"Partition\"},\"servicePackageActivationMode\":\"ExclusiveProcess\",\"serviceDnsName\":\"skgfmocwahpq\",\"placementConstraints\":\"tjeaahhvjhh\",\"correlationScheme\":[{\"scheme\":\"AlignedAffinity\",\"serviceName\":\"ybbjjidjksyx\"}],\"serviceLoadMetrics\":[{\"name\":\"vxevblb\",\"weight\":\"Zero\",\"primaryDefaultLoad\":901132598,\"secondaryDefaultLoad\":602295715,\"defaultLoad\":1767709112},{\"name\":\"euaulxu\",\"weight\":\"Low\",\"primaryDefaultLoad\":416674095,\"secondaryDefaultLoad\":1705117078,\"defaultLoad\":1698067391},{\"name\":\"xynenl\",\"weight\":\"Low\",\"primaryDefaultLoad\":2106245085,\"secondaryDefaultLoad\":380639738,\"defaultLoad\":913388828},{\"name\":\"klnsrmffey\",\"weight\":\"Zero\",\"primaryDefaultLoad\":750514021,\"secondaryDefaultLoad\":1565970230,\"defaultLoad\":1424863309}],\"servicePlacementPolicies\":[{\"type\":\"ServicePlacementPolicy\"},{\"type\":\"ServicePlacementPolicy\"}],\"defaultMoveCost\":\"Medium\",\"scalingPolicies\":[{\"scalingMechanism\":{\"kind\":\"ScalingMechanism\"},\"scalingTrigger\":{\"kind\":\"ScalingTrigger\"}},{\"scalingMechanism\":{\"kind\":\"ScalingMechanism\"},\"scalingTrigger\":{\"kind\":\"ScalingTrigger\"}}]},\"tags\":{\"doj\":\"xqiekkkzddrtk\"},\"location\":\"xv\",\"id\":\"refdee\",\"name\":\"vecuijpx\",\"type\":\"xs\"}]}";
+ = "{\"value\":[{\"properties\":{\"serviceKind\":\"ServiceResourceProperties\",\"provisioningState\":\"pghriypoqeyhl\",\"serviceTypeName\":\"h\",\"partitionDescription\":{\"partitionScheme\":\"Partition\"},\"servicePackageActivationMode\":\"SharedProcess\",\"serviceDnsName\":\"lpyznuciqdsmexi\",\"placementConstraints\":\"dfuxtya\",\"correlationScheme\":[{\"scheme\":\"NonAlignedAffinity\",\"serviceName\":\"miybnn\"}],\"serviceLoadMetrics\":[{\"name\":\"gnljhnmgixhcm\",\"weight\":\"Medium\",\"primaryDefaultLoad\":1356013965,\"secondaryDefaultLoad\":1277274936,\"defaultLoad\":308634203},{\"name\":\"rhc\",\"weight\":\"Low\",\"primaryDefaultLoad\":2013772338,\"secondaryDefaultLoad\":713166484,\"defaultLoad\":812539177},{\"name\":\"pundmbxhug\",\"weight\":\"Low\",\"primaryDefaultLoad\":914185865,\"secondaryDefaultLoad\":1134791831,\"defaultLoad\":493820197},{\"name\":\"rb\",\"weight\":\"Zero\",\"primaryDefaultLoad\":1074216267,\"secondaryDefaultLoad\":1682577006,\"defaultLoad\":1730011842}],\"servicePlacementPolicies\":[{\"type\":\"ServicePlacementPolicy\"},{\"type\":\"ServicePlacementPolicy\"}],\"defaultMoveCost\":\"Zero\",\"scalingPolicies\":[{\"scalingMechanism\":{\"kind\":\"ScalingMechanism\"},\"scalingTrigger\":{\"kind\":\"ScalingTrigger\"}},{\"scalingMechanism\":{\"kind\":\"ScalingMechanism\"},\"scalingTrigger\":{\"kind\":\"ScalingTrigger\"}},{\"scalingMechanism\":{\"kind\":\"ScalingMechanism\"},\"scalingTrigger\":{\"kind\":\"ScalingTrigger\"}}]},\"tags\":{\"otp\":\"yj\",\"bdb\":\"opv\",\"ibcysihsgqc\":\"qgqqihedsvqwthmk\"},\"location\":\"hohsd\",\"id\":\"cdzsu\",\"name\":\"cohdx\",\"type\":\"zlmcmuapcvhdb\"}]}";
HttpClient httpClient
= response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
@@ -35,29 +35,30 @@ public void testListByApplications() throws Exception {
.authenticate(tokenRequestContext -> Mono.just(new AccessToken("this_is_a_token", OffsetDateTime.MAX)),
new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD));
- PagedIterable response = manager.services()
- .listByApplications("yqhlwigdivbkbx", "omfaj", "wasqvdaeyyg", com.azure.core.util.Context.NONE);
+ PagedIterable response
+ = manager.services().listByApplications("afgaoqlt", "aeylinm", "gv", com.azure.core.util.Context.NONE);
- Assertions.assertEquals("tjeaahhvjhh", response.iterator().next().properties().placementConstraints());
- Assertions.assertEquals(ServiceCorrelationScheme.ALIGNED_AFFINITY,
+ Assertions.assertEquals("dfuxtya", response.iterator().next().properties().placementConstraints());
+ Assertions.assertEquals(ServiceCorrelationScheme.NON_ALIGNED_AFFINITY,
response.iterator().next().properties().correlationScheme().get(0).scheme());
- Assertions.assertEquals("ybbjjidjksyx",
+ Assertions.assertEquals("miybnn",
response.iterator().next().properties().correlationScheme().get(0).serviceName());
- Assertions.assertEquals("vxevblb", response.iterator().next().properties().serviceLoadMetrics().get(0).name());
- Assertions.assertEquals(ServiceLoadMetricWeight.ZERO,
+ Assertions.assertEquals("gnljhnmgixhcm",
+ response.iterator().next().properties().serviceLoadMetrics().get(0).name());
+ Assertions.assertEquals(ServiceLoadMetricWeight.MEDIUM,
response.iterator().next().properties().serviceLoadMetrics().get(0).weight());
- Assertions.assertEquals(901132598,
+ Assertions.assertEquals(1356013965,
response.iterator().next().properties().serviceLoadMetrics().get(0).primaryDefaultLoad());
- Assertions.assertEquals(602295715,
+ Assertions.assertEquals(1277274936,
response.iterator().next().properties().serviceLoadMetrics().get(0).secondaryDefaultLoad());
- Assertions.assertEquals(1767709112,
+ Assertions.assertEquals(308634203,
response.iterator().next().properties().serviceLoadMetrics().get(0).defaultLoad());
- Assertions.assertEquals(MoveCost.MEDIUM, response.iterator().next().properties().defaultMoveCost());
- Assertions.assertEquals("sidxasicdd", response.iterator().next().properties().serviceTypeName());
- Assertions.assertEquals(ServicePackageActivationMode.EXCLUSIVE_PROCESS,
+ Assertions.assertEquals(MoveCost.ZERO, response.iterator().next().properties().defaultMoveCost());
+ Assertions.assertEquals("h", response.iterator().next().properties().serviceTypeName());
+ Assertions.assertEquals(ServicePackageActivationMode.SHARED_PROCESS,
response.iterator().next().properties().servicePackageActivationMode());
- Assertions.assertEquals("skgfmocwahpq", response.iterator().next().properties().serviceDnsName());
- Assertions.assertEquals("xqiekkkzddrtk", response.iterator().next().tags().get("doj"));
- Assertions.assertEquals("xv", response.iterator().next().location());
+ Assertions.assertEquals("lpyznuciqdsmexi", response.iterator().next().properties().serviceDnsName());
+ Assertions.assertEquals("yj", response.iterator().next().tags().get("otp"));
+ Assertions.assertEquals("hohsd", response.iterator().next().location());
}
}
diff --git a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/VMSSExtensionPropertiesTests.java b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/VMSSExtensionPropertiesTests.java
index 8cb17f233020..3f5826e20af3 100644
--- a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/VMSSExtensionPropertiesTests.java
+++ b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/VMSSExtensionPropertiesTests.java
@@ -14,38 +14,38 @@ public final class VMSSExtensionPropertiesTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
VMSSExtensionProperties model = BinaryData.fromString(
- "{\"publisher\":\"ybbqwrv\",\"type\":\"ldgmfpgvmpip\",\"typeHandlerVersion\":\"slthaq\",\"autoUpgradeMinorVersion\":false,\"settings\":\"\\\"datamwutwbdsre\\\"\",\"protectedSettings\":\"\\\"datadrhneuyow\\\"\",\"forceUpdateTag\":\"d\",\"provisionAfterExtensions\":[\"i\"],\"provisioningState\":\"bi\",\"enableAutomaticUpgrade\":true,\"setupOrder\":[\"BeforeSFRuntime\",\"BeforeSFRuntime\",\"BeforeSFRuntime\"]}")
+ "{\"publisher\":\"brnjwmw\",\"type\":\"pn\",\"typeHandlerVersion\":\"saz\",\"autoUpgradeMinorVersion\":true,\"settings\":\"\\\"dataqkagfhsxt\\\"\",\"protectedSettings\":\"\\\"dataugzxnf\\\"\",\"forceUpdateTag\":\"zpxdt\",\"provisionAfterExtensions\":[\"mkqjj\"],\"provisioningState\":\"uenvrkp\",\"enableAutomaticUpgrade\":true,\"setupOrder\":[\"BeforeSFRuntime\",\"BeforeSFRuntime\"]}")
.toObject(VMSSExtensionProperties.class);
- Assertions.assertEquals("ybbqwrv", model.publisher());
- Assertions.assertEquals("ldgmfpgvmpip", model.type());
- Assertions.assertEquals("slthaq", model.typeHandlerVersion());
- Assertions.assertFalse(model.autoUpgradeMinorVersion());
- Assertions.assertEquals("d", model.forceUpdateTag());
- Assertions.assertEquals("i", model.provisionAfterExtensions().get(0));
+ Assertions.assertEquals("brnjwmw", model.publisher());
+ Assertions.assertEquals("pn", model.type());
+ Assertions.assertEquals("saz", model.typeHandlerVersion());
+ Assertions.assertTrue(model.autoUpgradeMinorVersion());
+ Assertions.assertEquals("zpxdt", model.forceUpdateTag());
+ Assertions.assertEquals("mkqjj", model.provisionAfterExtensions().get(0));
Assertions.assertTrue(model.enableAutomaticUpgrade());
Assertions.assertEquals(VmssExtensionSetupOrder.BEFORE_SFRUNTIME, model.setupOrder().get(0));
}
@org.junit.jupiter.api.Test
public void testSerialize() throws Exception {
- VMSSExtensionProperties model = new VMSSExtensionProperties().withPublisher("ybbqwrv")
- .withType("ldgmfpgvmpip")
- .withTypeHandlerVersion("slthaq")
- .withAutoUpgradeMinorVersion(false)
- .withSettings("\"datamwutwbdsre\"")
- .withProtectedSettings("\"datadrhneuyow\"")
- .withForceUpdateTag("d")
- .withProvisionAfterExtensions(Arrays.asList("i"))
+ VMSSExtensionProperties model = new VMSSExtensionProperties().withPublisher("brnjwmw")
+ .withType("pn")
+ .withTypeHandlerVersion("saz")
+ .withAutoUpgradeMinorVersion(true)
+ .withSettings("\"dataqkagfhsxt\"")
+ .withProtectedSettings("\"dataugzxnf\"")
+ .withForceUpdateTag("zpxdt")
+ .withProvisionAfterExtensions(Arrays.asList("mkqjj"))
.withEnableAutomaticUpgrade(true)
- .withSetupOrder(Arrays.asList(VmssExtensionSetupOrder.BEFORE_SFRUNTIME,
- VmssExtensionSetupOrder.BEFORE_SFRUNTIME, VmssExtensionSetupOrder.BEFORE_SFRUNTIME));
+ .withSetupOrder(
+ Arrays.asList(VmssExtensionSetupOrder.BEFORE_SFRUNTIME, VmssExtensionSetupOrder.BEFORE_SFRUNTIME));
model = BinaryData.fromObject(model).toObject(VMSSExtensionProperties.class);
- Assertions.assertEquals("ybbqwrv", model.publisher());
- Assertions.assertEquals("ldgmfpgvmpip", model.type());
- Assertions.assertEquals("slthaq", model.typeHandlerVersion());
- Assertions.assertFalse(model.autoUpgradeMinorVersion());
- Assertions.assertEquals("d", model.forceUpdateTag());
- Assertions.assertEquals("i", model.provisionAfterExtensions().get(0));
+ Assertions.assertEquals("brnjwmw", model.publisher());
+ Assertions.assertEquals("pn", model.type());
+ Assertions.assertEquals("saz", model.typeHandlerVersion());
+ Assertions.assertTrue(model.autoUpgradeMinorVersion());
+ Assertions.assertEquals("zpxdt", model.forceUpdateTag());
+ Assertions.assertEquals("mkqjj", model.provisionAfterExtensions().get(0));
Assertions.assertTrue(model.enableAutomaticUpgrade());
Assertions.assertEquals(VmssExtensionSetupOrder.BEFORE_SFRUNTIME, model.setupOrder().get(0));
}
diff --git a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/VaultCertificateTests.java b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/VaultCertificateTests.java
index d9228ffaf394..a658798c11bb 100644
--- a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/VaultCertificateTests.java
+++ b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/VaultCertificateTests.java
@@ -12,18 +12,18 @@ public final class VaultCertificateTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
VaultCertificate model
- = BinaryData.fromString("{\"certificateUrl\":\"hvxndzwmkrefajpj\",\"certificateStore\":\"rwkq\"}")
+ = BinaryData.fromString("{\"certificateUrl\":\"exdrrvqahqkg\",\"certificateStore\":\"tpwijnh\"}")
.toObject(VaultCertificate.class);
- Assertions.assertEquals("hvxndzwmkrefajpj", model.certificateUrl());
- Assertions.assertEquals("rwkq", model.certificateStore());
+ Assertions.assertEquals("exdrrvqahqkg", model.certificateUrl());
+ Assertions.assertEquals("tpwijnh", model.certificateStore());
}
@org.junit.jupiter.api.Test
public void testSerialize() throws Exception {
VaultCertificate model
- = new VaultCertificate().withCertificateUrl("hvxndzwmkrefajpj").withCertificateStore("rwkq");
+ = new VaultCertificate().withCertificateUrl("exdrrvqahqkg").withCertificateStore("tpwijnh");
model = BinaryData.fromObject(model).toObject(VaultCertificate.class);
- Assertions.assertEquals("hvxndzwmkrefajpj", model.certificateUrl());
- Assertions.assertEquals("rwkq", model.certificateStore());
+ Assertions.assertEquals("exdrrvqahqkg", model.certificateUrl());
+ Assertions.assertEquals("tpwijnh", model.certificateStore());
}
}
diff --git a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/VaultSecretGroupTests.java b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/VaultSecretGroupTests.java
index 6978929f92a2..6575e387635a 100644
--- a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/VaultSecretGroupTests.java
+++ b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/VaultSecretGroupTests.java
@@ -15,22 +15,22 @@ public final class VaultSecretGroupTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
VaultSecretGroup model = BinaryData.fromString(
- "{\"sourceVault\":{\"id\":\"byqunyow\"},\"vaultCertificates\":[{\"certificateUrl\":\"lmdjrkvfgbvfvpdb\",\"certificateStore\":\"daciz\"},{\"certificateUrl\":\"j\",\"certificateStore\":\"lhkrribdeibqipqk\"}]}")
+ "{\"sourceVault\":{\"id\":\"lmctlpd\"},\"vaultCertificates\":[{\"certificateUrl\":\"itvgbmhrixkwm\",\"certificateStore\":\"ijejvegrhbpn\"},{\"certificateUrl\":\"ixexcc\",\"certificateStore\":\"dreaxh\"}]}")
.toObject(VaultSecretGroup.class);
- Assertions.assertEquals("byqunyow", model.sourceVault().id());
- Assertions.assertEquals("lmdjrkvfgbvfvpdb", model.vaultCertificates().get(0).certificateUrl());
- Assertions.assertEquals("daciz", model.vaultCertificates().get(0).certificateStore());
+ Assertions.assertEquals("lmctlpd", model.sourceVault().id());
+ Assertions.assertEquals("itvgbmhrixkwm", model.vaultCertificates().get(0).certificateUrl());
+ Assertions.assertEquals("ijejvegrhbpn", model.vaultCertificates().get(0).certificateStore());
}
@org.junit.jupiter.api.Test
public void testSerialize() throws Exception {
- VaultSecretGroup model = new VaultSecretGroup().withSourceVault(new SubResource().withId("byqunyow"))
+ VaultSecretGroup model = new VaultSecretGroup().withSourceVault(new SubResource().withId("lmctlpd"))
.withVaultCertificates(Arrays.asList(
- new VaultCertificate().withCertificateUrl("lmdjrkvfgbvfvpdb").withCertificateStore("daciz"),
- new VaultCertificate().withCertificateUrl("j").withCertificateStore("lhkrribdeibqipqk")));
+ new VaultCertificate().withCertificateUrl("itvgbmhrixkwm").withCertificateStore("ijejvegrhbpn"),
+ new VaultCertificate().withCertificateUrl("ixexcc").withCertificateStore("dreaxh")));
model = BinaryData.fromObject(model).toObject(VaultSecretGroup.class);
- Assertions.assertEquals("byqunyow", model.sourceVault().id());
- Assertions.assertEquals("lmdjrkvfgbvfvpdb", model.vaultCertificates().get(0).certificateUrl());
- Assertions.assertEquals("daciz", model.vaultCertificates().get(0).certificateStore());
+ Assertions.assertEquals("lmctlpd", model.sourceVault().id());
+ Assertions.assertEquals("itvgbmhrixkwm", model.vaultCertificates().get(0).certificateUrl());
+ Assertions.assertEquals("ijejvegrhbpn", model.vaultCertificates().get(0).certificateStore());
}
}
diff --git a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/VmApplicationTests.java b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/VmApplicationTests.java
index 3d84ce7a8a94..dc57feb1cb9e 100644
--- a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/VmApplicationTests.java
+++ b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/VmApplicationTests.java
@@ -12,30 +12,30 @@ public final class VmApplicationTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
VmApplication model = BinaryData.fromString(
- "{\"configurationReference\":\"ejjoqkagfhsxtta\",\"enableAutomaticUpgrade\":false,\"order\":1620389391,\"packageReferenceId\":\"faazpxdtnkdmkqjj\",\"vmGalleryTags\":\"uenvrkp\",\"treatFailureAsDeploymentFailure\":true}")
+ "{\"configurationReference\":\"vh\",\"enableAutomaticUpgrade\":false,\"order\":1149174942,\"packageReferenceId\":\"odqkdlwwqfb\",\"vmGalleryTags\":\"lkxt\",\"treatFailureAsDeploymentFailure\":true}")
.toObject(VmApplication.class);
- Assertions.assertEquals("ejjoqkagfhsxtta", model.configurationReference());
+ Assertions.assertEquals("vh", model.configurationReference());
Assertions.assertFalse(model.enableAutomaticUpgrade());
- Assertions.assertEquals(1620389391, model.order());
- Assertions.assertEquals("faazpxdtnkdmkqjj", model.packageReferenceId());
- Assertions.assertEquals("uenvrkp", model.vmGalleryTags());
+ Assertions.assertEquals(1149174942, model.order());
+ Assertions.assertEquals("odqkdlwwqfb", model.packageReferenceId());
+ Assertions.assertEquals("lkxt", model.vmGalleryTags());
Assertions.assertTrue(model.treatFailureAsDeploymentFailure());
}
@org.junit.jupiter.api.Test
public void testSerialize() throws Exception {
- VmApplication model = new VmApplication().withConfigurationReference("ejjoqkagfhsxtta")
+ VmApplication model = new VmApplication().withConfigurationReference("vh")
.withEnableAutomaticUpgrade(false)
- .withOrder(1620389391)
- .withPackageReferenceId("faazpxdtnkdmkqjj")
- .withVmGalleryTags("uenvrkp")
+ .withOrder(1149174942)
+ .withPackageReferenceId("odqkdlwwqfb")
+ .withVmGalleryTags("lkxt")
.withTreatFailureAsDeploymentFailure(true);
model = BinaryData.fromObject(model).toObject(VmApplication.class);
- Assertions.assertEquals("ejjoqkagfhsxtta", model.configurationReference());
+ Assertions.assertEquals("vh", model.configurationReference());
Assertions.assertFalse(model.enableAutomaticUpgrade());
- Assertions.assertEquals(1620389391, model.order());
- Assertions.assertEquals("faazpxdtnkdmkqjj", model.packageReferenceId());
- Assertions.assertEquals("uenvrkp", model.vmGalleryTags());
+ Assertions.assertEquals(1149174942, model.order());
+ Assertions.assertEquals("odqkdlwwqfb", model.packageReferenceId());
+ Assertions.assertEquals("lkxt", model.vmGalleryTags());
Assertions.assertTrue(model.treatFailureAsDeploymentFailure());
}
}
diff --git a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/VmManagedIdentityTests.java b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/VmManagedIdentityTests.java
index bea95d328430..0abe4d03a43e 100644
--- a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/VmManagedIdentityTests.java
+++ b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/VmManagedIdentityTests.java
@@ -13,16 +13,16 @@ public final class VmManagedIdentityTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
VmManagedIdentity model
- = BinaryData.fromString("{\"userAssignedIdentities\":[\"ejzanlfz\",\"iavrm\",\"zonokixrjqci\"]}")
+ = BinaryData.fromString("{\"userAssignedIdentities\":[\"qaaysjkixqt\",\"qttezlwfffiakpjp\"]}")
.toObject(VmManagedIdentity.class);
- Assertions.assertEquals("ejzanlfz", model.userAssignedIdentities().get(0));
+ Assertions.assertEquals("qaaysjkixqt", model.userAssignedIdentities().get(0));
}
@org.junit.jupiter.api.Test
public void testSerialize() throws Exception {
VmManagedIdentity model
- = new VmManagedIdentity().withUserAssignedIdentities(Arrays.asList("ejzanlfz", "iavrm", "zonokixrjqci"));
+ = new VmManagedIdentity().withUserAssignedIdentities(Arrays.asList("qaaysjkixqt", "qttezlwfffiakpjp"));
model = BinaryData.fromObject(model).toObject(VmManagedIdentity.class);
- Assertions.assertEquals("ejzanlfz", model.userAssignedIdentities().get(0));
+ Assertions.assertEquals("qaaysjkixqt", model.userAssignedIdentities().get(0));
}
}
diff --git a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/VmssDataDiskTests.java b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/VmssDataDiskTests.java
index 89956257c506..38433bda53f2 100644
--- a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/VmssDataDiskTests.java
+++ b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/VmssDataDiskTests.java
@@ -13,24 +13,24 @@ public final class VmssDataDiskTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
VmssDataDisk model = BinaryData.fromString(
- "{\"lun\":1624424669,\"diskSizeGB\":1007403747,\"diskType\":\"Premium_LRS\",\"diskLetter\":\"tlhflsjcdhszf\"}")
+ "{\"lun\":210534625,\"diskSizeGB\":605018835,\"diskType\":\"Standard_LRS\",\"diskLetter\":\"ipmdscwx\"}")
.toObject(VmssDataDisk.class);
- Assertions.assertEquals(1624424669, model.lun());
- Assertions.assertEquals(1007403747, model.diskSizeGB());
- Assertions.assertEquals(DiskType.PREMIUM_LRS, model.diskType());
- Assertions.assertEquals("tlhflsjcdhszf", model.diskLetter());
+ Assertions.assertEquals(210534625, model.lun());
+ Assertions.assertEquals(605018835, model.diskSizeGB());
+ Assertions.assertEquals(DiskType.STANDARD_LRS, model.diskType());
+ Assertions.assertEquals("ipmdscwx", model.diskLetter());
}
@org.junit.jupiter.api.Test
public void testSerialize() throws Exception {
- VmssDataDisk model = new VmssDataDisk().withLun(1624424669)
- .withDiskSizeGB(1007403747)
- .withDiskType(DiskType.PREMIUM_LRS)
- .withDiskLetter("tlhflsjcdhszf");
+ VmssDataDisk model = new VmssDataDisk().withLun(210534625)
+ .withDiskSizeGB(605018835)
+ .withDiskType(DiskType.STANDARD_LRS)
+ .withDiskLetter("ipmdscwx");
model = BinaryData.fromObject(model).toObject(VmssDataDisk.class);
- Assertions.assertEquals(1624424669, model.lun());
- Assertions.assertEquals(1007403747, model.diskSizeGB());
- Assertions.assertEquals(DiskType.PREMIUM_LRS, model.diskType());
- Assertions.assertEquals("tlhflsjcdhszf", model.diskLetter());
+ Assertions.assertEquals(210534625, model.lun());
+ Assertions.assertEquals(605018835, model.diskSizeGB());
+ Assertions.assertEquals(DiskType.STANDARD_LRS, model.diskType());
+ Assertions.assertEquals("ipmdscwx", model.diskLetter());
}
}
diff --git a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/VmssExtensionTests.java b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/VmssExtensionTests.java
index a58c37bdc8d8..b3efb88837ca 100644
--- a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/VmssExtensionTests.java
+++ b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/VmssExtensionTests.java
@@ -14,40 +14,41 @@ public final class VmssExtensionTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
VmssExtension model = BinaryData.fromString(
- "{\"name\":\"yhgbijtjivfx\",\"properties\":{\"publisher\":\"sjabibs\",\"type\":\"stawfsdjpvkv\",\"typeHandlerVersion\":\"bjxbkzbzk\",\"autoUpgradeMinorVersion\":false,\"settings\":\"\\\"datajabudurgkakmo\\\"\",\"protectedSettings\":\"\\\"datahjjklff\\\"\",\"forceUpdateTag\":\"ouw\",\"provisionAfterExtensions\":[\"zrfze\"],\"provisioningState\":\"ebizikayuh\",\"enableAutomaticUpgrade\":false,\"setupOrder\":[\"BeforeSFRuntime\"]}}")
+ "{\"name\":\"jsvfycxzbfvoowv\",\"properties\":{\"publisher\":\"vmtgjqppy\",\"type\":\"s\",\"typeHandlerVersion\":\"ronzmyhgfip\",\"autoUpgradeMinorVersion\":true,\"settings\":\"\\\"datamcwaekrrjr\\\"\",\"protectedSettings\":\"\\\"datafxtsgum\\\"\",\"forceUpdateTag\":\"glikkxwslolb\",\"provisionAfterExtensions\":[\"uzlm\",\"felfktg\"],\"provisioningState\":\"crpw\",\"enableAutomaticUpgrade\":false,\"setupOrder\":[\"BeforeSFRuntime\",\"BeforeSFRuntime\",\"BeforeSFRuntime\"]}}")
.toObject(VmssExtension.class);
- Assertions.assertEquals("yhgbijtjivfx", model.name());
- Assertions.assertEquals("sjabibs", model.publisher());
- Assertions.assertEquals("stawfsdjpvkv", model.type());
- Assertions.assertEquals("bjxbkzbzk", model.typeHandlerVersion());
- Assertions.assertFalse(model.autoUpgradeMinorVersion());
- Assertions.assertEquals("ouw", model.forceUpdateTag());
- Assertions.assertEquals("zrfze", model.provisionAfterExtensions().get(0));
+ Assertions.assertEquals("jsvfycxzbfvoowv", model.name());
+ Assertions.assertEquals("vmtgjqppy", model.publisher());
+ Assertions.assertEquals("s", model.type());
+ Assertions.assertEquals("ronzmyhgfip", model.typeHandlerVersion());
+ Assertions.assertTrue(model.autoUpgradeMinorVersion());
+ Assertions.assertEquals("glikkxwslolb", model.forceUpdateTag());
+ Assertions.assertEquals("uzlm", model.provisionAfterExtensions().get(0));
Assertions.assertFalse(model.enableAutomaticUpgrade());
Assertions.assertEquals(VmssExtensionSetupOrder.BEFORE_SFRUNTIME, model.setupOrder().get(0));
}
@org.junit.jupiter.api.Test
public void testSerialize() throws Exception {
- VmssExtension model = new VmssExtension().withName("yhgbijtjivfx")
- .withPublisher("sjabibs")
- .withType("stawfsdjpvkv")
- .withTypeHandlerVersion("bjxbkzbzk")
- .withAutoUpgradeMinorVersion(false)
- .withSettings("\"datajabudurgkakmo\"")
- .withProtectedSettings("\"datahjjklff\"")
- .withForceUpdateTag("ouw")
- .withProvisionAfterExtensions(Arrays.asList("zrfze"))
+ VmssExtension model = new VmssExtension().withName("jsvfycxzbfvoowv")
+ .withPublisher("vmtgjqppy")
+ .withType("s")
+ .withTypeHandlerVersion("ronzmyhgfip")
+ .withAutoUpgradeMinorVersion(true)
+ .withSettings("\"datamcwaekrrjr\"")
+ .withProtectedSettings("\"datafxtsgum\"")
+ .withForceUpdateTag("glikkxwslolb")
+ .withProvisionAfterExtensions(Arrays.asList("uzlm", "felfktg"))
.withEnableAutomaticUpgrade(false)
- .withSetupOrder(Arrays.asList(VmssExtensionSetupOrder.BEFORE_SFRUNTIME));
+ .withSetupOrder(Arrays.asList(VmssExtensionSetupOrder.BEFORE_SFRUNTIME,
+ VmssExtensionSetupOrder.BEFORE_SFRUNTIME, VmssExtensionSetupOrder.BEFORE_SFRUNTIME));
model = BinaryData.fromObject(model).toObject(VmssExtension.class);
- Assertions.assertEquals("yhgbijtjivfx", model.name());
- Assertions.assertEquals("sjabibs", model.publisher());
- Assertions.assertEquals("stawfsdjpvkv", model.type());
- Assertions.assertEquals("bjxbkzbzk", model.typeHandlerVersion());
- Assertions.assertFalse(model.autoUpgradeMinorVersion());
- Assertions.assertEquals("ouw", model.forceUpdateTag());
- Assertions.assertEquals("zrfze", model.provisionAfterExtensions().get(0));
+ Assertions.assertEquals("jsvfycxzbfvoowv", model.name());
+ Assertions.assertEquals("vmtgjqppy", model.publisher());
+ Assertions.assertEquals("s", model.type());
+ Assertions.assertEquals("ronzmyhgfip", model.typeHandlerVersion());
+ Assertions.assertTrue(model.autoUpgradeMinorVersion());
+ Assertions.assertEquals("glikkxwslolb", model.forceUpdateTag());
+ Assertions.assertEquals("uzlm", model.provisionAfterExtensions().get(0));
Assertions.assertFalse(model.enableAutomaticUpgrade());
Assertions.assertEquals(VmssExtensionSetupOrder.BEFORE_SFRUNTIME, model.setupOrder().get(0));
}
diff --git a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ZoneFaultSimulationContentTests.java b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ZoneFaultSimulationContentTests.java
new file mode 100644
index 000000000000..7e915b205b04
--- /dev/null
+++ b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/generated/ZoneFaultSimulationContentTests.java
@@ -0,0 +1,36 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.servicefabricmanagedclusters.generated;
+
+import com.azure.core.util.BinaryData;
+import com.azure.resourcemanager.servicefabricmanagedclusters.models.FaultSimulationConstraints;
+import com.azure.resourcemanager.servicefabricmanagedclusters.models.ZoneFaultSimulationContent;
+import java.time.OffsetDateTime;
+import java.util.Arrays;
+import org.junit.jupiter.api.Assertions;
+
+public final class ZoneFaultSimulationContentTests {
+ @org.junit.jupiter.api.Test
+ public void testDeserialize() throws Exception {
+ ZoneFaultSimulationContent model = BinaryData.fromString(
+ "{\"faultKind\":\"Zone\",\"zones\":[\"wqaldsyu\"],\"force\":true,\"constraints\":{\"expirationTime\":\"2021-06-17T14:42:30Z\"}}")
+ .toObject(ZoneFaultSimulationContent.class);
+ Assertions.assertTrue(model.force());
+ Assertions.assertEquals(OffsetDateTime.parse("2021-06-17T14:42:30Z"), model.constraints().expirationTime());
+ Assertions.assertEquals("wqaldsyu", model.zones().get(0));
+ }
+
+ @org.junit.jupiter.api.Test
+ public void testSerialize() throws Exception {
+ ZoneFaultSimulationContent model = new ZoneFaultSimulationContent().withForce(true)
+ .withConstraints(
+ new FaultSimulationConstraints().withExpirationTime(OffsetDateTime.parse("2021-06-17T14:42:30Z")))
+ .withZones(Arrays.asList("wqaldsyu"));
+ model = BinaryData.fromObject(model).toObject(ZoneFaultSimulationContent.class);
+ Assertions.assertTrue(model.force());
+ Assertions.assertEquals(OffsetDateTime.parse("2021-06-17T14:42:30Z"), model.constraints().expirationTime());
+ Assertions.assertEquals("wqaldsyu", model.zones().get(0));
+ }
+}
diff --git a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/tsp-location.yaml b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/tsp-location.yaml
index d0c9b4621962..6e5ea7aa250e 100644
--- a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/tsp-location.yaml
+++ b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/tsp-location.yaml
@@ -1,4 +1,4 @@
directory: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters
-commit: ae2e623fa14ac3b038fb42fb8c96526e7bafba8b
+commit: cfd58963682948f5242b945bc6152c4e54c88c0c
repo: Azure/azure-rest-api-specs
additionalDirectories: