diff --git a/sdk/scvmm/azure-resourcemanager-scvmm/CHANGELOG.md b/sdk/scvmm/azure-resourcemanager-scvmm/CHANGELOG.md
index d8d0a6b22065c..157b96380646c 100644
--- a/sdk/scvmm/azure-resourcemanager-scvmm/CHANGELOG.md
+++ b/sdk/scvmm/azure-resourcemanager-scvmm/CHANGELOG.md
@@ -1,14 +1,32 @@
# Release History
-## 1.1.0-beta.1 (Unreleased)
+## 1.0.0-beta.1 (2024-08-15)
-### Features Added
-
-### Breaking Changes
+- Azure Resource Manager Scvmm client library for Java. This package contains Microsoft Azure SDK for Scvmm Management SDK. SCVMM Client. Package tag package-2024-06. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).
-### Bugs Fixed
+### Features Added
-### Other Changes
+#### `models.GuestAgentProperties` was modified
+
+* `privateLinkScopeResourceId()` was added
+* `withPrivateLinkScopeResourceId(java.lang.String)` was added
+
+#### `models.OsProfileForVmInstance` was modified
+
+* `withRunOnceCommands(java.lang.String)` was added
+* `withDomainUsername(java.lang.String)` was added
+* `domainUsername()` was added
+* `withDomainPassword(java.lang.String)` was added
+* `workgroup()` was added
+* `withTimezone(java.lang.Integer)` was added
+* `productKey()` was added
+* `runOnceCommands()` was added
+* `domainName()` was added
+* `domainPassword()` was added
+* `timezone()` was added
+* `withDomainName(java.lang.String)` was added
+* `withWorkgroup(java.lang.String)` was added
+* `withProductKey(java.lang.String)` was added
## 1.0.0 (2024-06-26)
diff --git a/sdk/scvmm/azure-resourcemanager-scvmm/README.md b/sdk/scvmm/azure-resourcemanager-scvmm/README.md
index d95947c8ea27e..569aa975959f9 100644
--- a/sdk/scvmm/azure-resourcemanager-scvmm/README.md
+++ b/sdk/scvmm/azure-resourcemanager-scvmm/README.md
@@ -2,7 +2,7 @@
Azure Resource Manager Scvmm client library for Java.
-This package contains Microsoft Azure SDK for Scvmm Management SDK. SCVMM Client. Package tag package-2023-10. 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 Scvmm Management SDK. SCVMM Client. Package tag package-2024-06. 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-scvmm
- 1.0.0
+ 1.1.0-beta.1
```
[//]: # ({x-version-update-end})
diff --git a/sdk/scvmm/azure-resourcemanager-scvmm/SAMPLE.md b/sdk/scvmm/azure-resourcemanager-scvmm/SAMPLE.md
index ee8b2ac276666..3937e21c1e4b2 100644
--- a/sdk/scvmm/azure-resourcemanager-scvmm/SAMPLE.md
+++ b/sdk/scvmm/azure-resourcemanager-scvmm/SAMPLE.md
@@ -95,7 +95,7 @@ import java.util.Map;
*/
public final class AvailabilitySetsCreateOrUpdateSamples {
/*
- * x-ms-original-file: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/
+ * x-ms-original-file: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2024-06-01/examples/
* AvailabilitySets_CreateOrUpdate_MinimumSet_Gen.json
*/
/**
@@ -113,7 +113,7 @@ public final class AvailabilitySetsCreateOrUpdateSamples {
}
/*
- * x-ms-original-file: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/
+ * x-ms-original-file: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2024-06-01/examples/
* AvailabilitySets_CreateOrUpdate_MaximumSet_Gen.json
*/
/**
@@ -160,7 +160,7 @@ import com.azure.resourcemanager.scvmm.models.ForceDelete;
*/
public final class AvailabilitySetsDeleteSamples {
/*
- * x-ms-original-file: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/
+ * x-ms-original-file: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2024-06-01/examples/
* AvailabilitySets_Delete_MaximumSet_Gen.json
*/
/**
@@ -173,7 +173,7 @@ public final class AvailabilitySetsDeleteSamples {
}
/*
- * x-ms-original-file: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/
+ * x-ms-original-file: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2024-06-01/examples/
* AvailabilitySets_Delete_MinimumSet_Gen.json
*/
/**
@@ -195,7 +195,7 @@ public final class AvailabilitySetsDeleteSamples {
*/
public final class AvailabilitySetsGetByResourceGroupSamples {
/*
- * x-ms-original-file: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/
+ * x-ms-original-file: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2024-06-01/examples/
* AvailabilitySets_Get_MinimumSet_Gen.json
*/
/**
@@ -208,7 +208,7 @@ public final class AvailabilitySetsGetByResourceGroupSamples {
}
/*
- * x-ms-original-file: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/
+ * x-ms-original-file: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2024-06-01/examples/
* AvailabilitySets_Get_MaximumSet_Gen.json
*/
/**
@@ -230,7 +230,7 @@ public final class AvailabilitySetsGetByResourceGroupSamples {
*/
public final class AvailabilitySetsListSamples {
/*
- * x-ms-original-file: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/
+ * x-ms-original-file: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2024-06-01/examples/
* AvailabilitySets_ListBySubscription_MinimumSet_Gen.json
*/
/**
@@ -244,7 +244,7 @@ public final class AvailabilitySetsListSamples {
}
/*
- * x-ms-original-file: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/
+ * x-ms-original-file: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2024-06-01/examples/
* AvailabilitySets_ListBySubscription_MaximumSet_Gen.json
*/
/**
@@ -267,7 +267,7 @@ public final class AvailabilitySetsListSamples {
*/
public final class AvailabilitySetsListByResourceGroupSamples {
/*
- * x-ms-original-file: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/
+ * x-ms-original-file: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2024-06-01/examples/
* AvailabilitySets_ListByResourceGroup_MinimumSet_Gen.json
*/
/**
@@ -281,7 +281,7 @@ public final class AvailabilitySetsListByResourceGroupSamples {
}
/*
- * x-ms-original-file: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/
+ * x-ms-original-file: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2024-06-01/examples/
* AvailabilitySets_ListByResourceGroup_MaximumSet_Gen.json
*/
/**
@@ -308,7 +308,7 @@ import java.util.Map;
*/
public final class AvailabilitySetsUpdateSamples {
/*
- * x-ms-original-file: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/
+ * x-ms-original-file: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2024-06-01/examples/
* AvailabilitySets_Update_MinimumSet_Gen.json
*/
/**
@@ -324,7 +324,7 @@ public final class AvailabilitySetsUpdateSamples {
}
/*
- * x-ms-original-file: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/
+ * x-ms-original-file: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2024-06-01/examples/
* AvailabilitySets_Update_MaximumSet_Gen.json
*/
/**
@@ -366,7 +366,7 @@ import java.util.Map;
*/
public final class CloudsCreateOrUpdateSamples {
/*
- * x-ms-original-file: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/
+ * x-ms-original-file: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2024-06-01/examples/
* Clouds_CreateOrUpdate_MinimumSet_Gen.json
*/
/**
@@ -384,7 +384,7 @@ public final class CloudsCreateOrUpdateSamples {
}
/*
- * x-ms-original-file: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/
+ * x-ms-original-file: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2024-06-01/examples/
* Clouds_CreateOrUpdate_MaximumSet_Gen.json
*/
/**
@@ -433,7 +433,7 @@ import com.azure.resourcemanager.scvmm.models.ForceDelete;
public final class CloudsDeleteSamples {
/*
* x-ms-original-file:
- * specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/Clouds_Delete_MaximumSet_Gen.json
+ * specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2024-06-01/examples/Clouds_Delete_MaximumSet_Gen.json
*/
/**
* Sample code: Clouds_Delete_MaximumSet.
@@ -446,7 +446,7 @@ public final class CloudsDeleteSamples {
/*
* x-ms-original-file:
- * specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/Clouds_Delete_MinimumSet_Gen.json
+ * specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2024-06-01/examples/Clouds_Delete_MinimumSet_Gen.json
*/
/**
* Sample code: Clouds_Delete_MinimumSet.
@@ -468,7 +468,7 @@ public final class CloudsDeleteSamples {
public final class CloudsGetByResourceGroupSamples {
/*
* x-ms-original-file:
- * specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/Clouds_Get_MaximumSet_Gen.json
+ * specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2024-06-01/examples/Clouds_Get_MaximumSet_Gen.json
*/
/**
* Sample code: Clouds_Get_MaximumSet.
@@ -481,7 +481,7 @@ public final class CloudsGetByResourceGroupSamples {
/*
* x-ms-original-file:
- * specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/Clouds_Get_MinimumSet_Gen.json
+ * specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2024-06-01/examples/Clouds_Get_MinimumSet_Gen.json
*/
/**
* Sample code: Clouds_Get_MinimumSet.
@@ -502,7 +502,7 @@ public final class CloudsGetByResourceGroupSamples {
*/
public final class CloudsListSamples {
/*
- * x-ms-original-file: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/
+ * x-ms-original-file: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2024-06-01/examples/
* Clouds_ListBySubscription_MinimumSet_Gen.json
*/
/**
@@ -515,7 +515,7 @@ public final class CloudsListSamples {
}
/*
- * x-ms-original-file: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/
+ * x-ms-original-file: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2024-06-01/examples/
* Clouds_ListBySubscription_MaximumSet_Gen.json
*/
/**
@@ -537,7 +537,7 @@ public final class CloudsListSamples {
*/
public final class CloudsListByResourceGroupSamples {
/*
- * x-ms-original-file: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/
+ * x-ms-original-file: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2024-06-01/examples/
* Clouds_ListByResourceGroup_MaximumSet_Gen.json
*/
/**
@@ -550,7 +550,7 @@ public final class CloudsListByResourceGroupSamples {
}
/*
- * x-ms-original-file: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/
+ * x-ms-original-file: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2024-06-01/examples/
* Clouds_ListByResourceGroup_MinimumSet_Gen.json
*/
/**
@@ -577,7 +577,7 @@ import java.util.Map;
public final class CloudsUpdateSamples {
/*
* x-ms-original-file:
- * specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/Clouds_Update_MinimumSet_Gen.json
+ * specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2024-06-01/examples/Clouds_Update_MinimumSet_Gen.json
*/
/**
* Sample code: Clouds_Update_MinimumSet.
@@ -593,7 +593,7 @@ public final class CloudsUpdateSamples {
/*
* x-ms-original-file:
- * specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/Clouds_Update_MaximumSet_Gen.json
+ * specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2024-06-01/examples/Clouds_Update_MaximumSet_Gen.json
*/
/**
* Sample code: Clouds_Update_MaximumSet.
@@ -636,7 +636,7 @@ import com.azure.resourcemanager.scvmm.models.ProvisioningAction;
public final class GuestAgentsCreateSamples {
/*
* x-ms-original-file:
- * specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/GuestAgents_Create_MinimumSet_Gen
+ * specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2024-06-01/examples/GuestAgents_Create_MinimumSet_Gen
* .json
*/
/**
@@ -650,7 +650,7 @@ public final class GuestAgentsCreateSamples {
/*
* x-ms-original-file:
- * specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/GuestAgents_Create_MaximumSet_Gen
+ * specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2024-06-01/examples/GuestAgents_Create_MaximumSet_Gen
* .json
*/
/**
@@ -680,7 +680,7 @@ public final class GuestAgentsCreateSamples {
public final class GuestAgentsDeleteSamples {
/*
* x-ms-original-file:
- * specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/GuestAgents_Delete_MaximumSet_Gen
+ * specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2024-06-01/examples/GuestAgents_Delete_MaximumSet_Gen
* .json
*/
/**
@@ -694,7 +694,7 @@ public final class GuestAgentsDeleteSamples {
/*
* x-ms-original-file:
- * specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/GuestAgents_Delete_MinimumSet_Gen
+ * specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2024-06-01/examples/GuestAgents_Delete_MinimumSet_Gen
* .json
*/
/**
@@ -717,7 +717,7 @@ public final class GuestAgentsDeleteSamples {
public final class GuestAgentsGetSamples {
/*
* x-ms-original-file:
- * specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/GuestAgents_Get_MaximumSet_Gen.
+ * specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2024-06-01/examples/GuestAgents_Get_MaximumSet_Gen.
* json
*/
/**
@@ -731,7 +731,7 @@ public final class GuestAgentsGetSamples {
/*
* x-ms-original-file:
- * specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/GuestAgents_Get_MinimumSet_Gen.
+ * specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2024-06-01/examples/GuestAgents_Get_MinimumSet_Gen.
* json
*/
/**
@@ -753,7 +753,7 @@ public final class GuestAgentsGetSamples {
*/
public final class GuestAgentsListByVirtualMachineInstanceSamples {
/*
- * x-ms-original-file: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/
+ * x-ms-original-file: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2024-06-01/examples/
* GuestAgents_ListByVirtualMachineInstance_MaximumSet_Gen.json
*/
/**
@@ -767,7 +767,7 @@ public final class GuestAgentsListByVirtualMachineInstanceSamples {
}
/*
- * x-ms-original-file: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/
+ * x-ms-original-file: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2024-06-01/examples/
* GuestAgents_ListByVirtualMachineInstance_MinimumSet_Gen.json
*/
/**
@@ -792,7 +792,7 @@ import com.azure.resourcemanager.scvmm.models.InventoryItemProperties;
*/
public final class InventoryItemsCreateSamples {
/*
- * x-ms-original-file: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/
+ * x-ms-original-file: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2024-06-01/examples/
* InventoryItems_Create_MinimumSet_Gen.json
*/
/**
@@ -808,7 +808,7 @@ public final class InventoryItemsCreateSamples {
}
/*
- * x-ms-original-file: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/
+ * x-ms-original-file: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2024-06-01/examples/
* InventoryItems_Create_MaximumSet_Gen.json
*/
/**
@@ -835,7 +835,7 @@ public final class InventoryItemsCreateSamples {
*/
public final class InventoryItemsDeleteSamples {
/*
- * x-ms-original-file: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/
+ * x-ms-original-file: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2024-06-01/examples/
* InventoryItems_Delete_MaximumSet_Gen.json
*/
/**
@@ -850,7 +850,7 @@ public final class InventoryItemsDeleteSamples {
}
/*
- * x-ms-original-file: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/
+ * x-ms-original-file: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2024-06-01/examples/
* InventoryItems_Delete_MinimumSet_Gen.json
*/
/**
@@ -875,7 +875,7 @@ public final class InventoryItemsDeleteSamples {
public final class InventoryItemsGetSamples {
/*
* x-ms-original-file:
- * specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/InventoryItems_Get_MinimumSet_Gen
+ * specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2024-06-01/examples/InventoryItems_Get_MinimumSet_Gen
* .json
*/
/**
@@ -890,7 +890,7 @@ public final class InventoryItemsGetSamples {
/*
* x-ms-original-file:
- * specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/InventoryItems_Get_MaximumSet_Gen
+ * specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2024-06-01/examples/InventoryItems_Get_MaximumSet_Gen
* .json
*/
/**
@@ -913,7 +913,7 @@ public final class InventoryItemsGetSamples {
*/
public final class InventoryItemsListByVmmServerSamples {
/*
- * x-ms-original-file: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/
+ * x-ms-original-file: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2024-06-01/examples/
* InventoryItems_ListByVmmServer_MaximumSet_Gen.json
*/
/**
@@ -926,7 +926,7 @@ public final class InventoryItemsListByVmmServerSamples {
}
/*
- * x-ms-original-file: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/
+ * x-ms-original-file: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2024-06-01/examples/
* InventoryItems_ListByVmmServer_MinimumSet_Gen.json
*/
/**
@@ -949,7 +949,7 @@ public final class InventoryItemsListByVmmServerSamples {
public final class OperationsListSamples {
/*
* x-ms-original-file:
- * specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/Operations_List_MinimumSet_Gen.
+ * specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2024-06-01/examples/Operations_List_MinimumSet_Gen.
* json
*/
/**
@@ -963,7 +963,7 @@ public final class OperationsListSamples {
/*
* x-ms-original-file:
- * specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/Operations_List_MaximumSet_Gen.
+ * specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2024-06-01/examples/Operations_List_MaximumSet_Gen.
* json
*/
/**
@@ -987,7 +987,7 @@ import com.azure.resourcemanager.scvmm.models.VirtualMachineCreateCheckpoint;
*/
public final class VirtualMachineInstancesCreateCheckpointSamples {
/*
- * x-ms-original-file: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/
+ * x-ms-original-file: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2024-06-01/examples/
* VirtualMachineInstances_CreateCheckpoint_MaximumSet_Gen.json
*/
/**
@@ -1003,7 +1003,7 @@ public final class VirtualMachineInstancesCreateCheckpointSamples {
}
/*
- * x-ms-original-file: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/
+ * x-ms-original-file: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2024-06-01/examples/
* VirtualMachineInstances_CreateCheckpoint_MinimumSet_Gen.json
*/
/**
@@ -1045,7 +1045,7 @@ import java.util.Arrays;
*/
public final class VirtualMachineInstancesCreateOrUpdateSamples {
/*
- * x-ms-original-file: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/
+ * x-ms-original-file: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2024-06-01/examples/
* VirtualMachineInstances_CreateOrUpdate_MaximumSet_Gen.json
*/
/**
@@ -1062,7 +1062,14 @@ public final class VirtualMachineInstancesCreateOrUpdateSamples {
"/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/availabilitySets/availabilitySetResourceName")
.withName("lwbhaseo")))
.withOsProfile(new OsProfileForVmInstance().withAdminPassword("fakeTokenPlaceholder")
- .withComputerName("uuxpcxuxcufllc"))
+ .withComputerName("uuxpcxuxcufllc")
+ .withDomainName("vblzsoqxzlrygdulnefexjdezo")
+ .withDomainUsername("sn")
+ .withDomainPassword("fakeTokenPlaceholder")
+ .withWorkgroup("bsqftibgcnnjpvmuxligk")
+ .withProductKey("fakeTokenPlaceholder")
+ .withTimezone(4)
+ .withRunOnceCommands("byxpnluptiwxycbbybsf;qwerty"))
.withHardwareProfile(new HardwareProfile().withMemoryMB(5)
.withCpuCount(22)
.withLimitCpuForMigration(LimitCpuForMigration.TRUE)
@@ -1108,7 +1115,7 @@ public final class VirtualMachineInstancesCreateOrUpdateSamples {
}
/*
- * x-ms-original-file: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/
+ * x-ms-original-file: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2024-06-01/examples/
* VirtualMachineInstances_CreateOrUpdate_MinimumSet_Gen.json
*/
/**
@@ -1137,7 +1144,7 @@ import com.azure.resourcemanager.scvmm.models.ForceDelete;
*/
public final class VirtualMachineInstancesDeleteSamples {
/*
- * x-ms-original-file: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/
+ * x-ms-original-file: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2024-06-01/examples/
* VirtualMachineInstances_Delete_MaximumSet_Gen.json
*/
/**
@@ -1151,7 +1158,7 @@ public final class VirtualMachineInstancesDeleteSamples {
}
/*
- * x-ms-original-file: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/
+ * x-ms-original-file: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2024-06-01/examples/
* VirtualMachineInstances_Delete_MinimumSet_Gen.json
*/
/**
@@ -1175,7 +1182,7 @@ import com.azure.resourcemanager.scvmm.models.VirtualMachineDeleteCheckpoint;
*/
public final class VirtualMachineInstancesDeleteCheckpointSamples {
/*
- * x-ms-original-file: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/
+ * x-ms-original-file: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2024-06-01/examples/
* VirtualMachineInstances_DeleteCheckpoint_MaximumSet_Gen.json
*/
/**
@@ -1192,7 +1199,7 @@ public final class VirtualMachineInstancesDeleteCheckpointSamples {
}
/*
- * x-ms-original-file: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/
+ * x-ms-original-file: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2024-06-01/examples/
* VirtualMachineInstances_DeleteCheckpoint_MinimumSet_Gen.json
*/
/**
@@ -1216,7 +1223,7 @@ public final class VirtualMachineInstancesDeleteCheckpointSamples {
*/
public final class VirtualMachineInstancesGetSamples {
/*
- * x-ms-original-file: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/
+ * x-ms-original-file: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2024-06-01/examples/
* VirtualMachineInstances_Get_MinimumSet_Gen.json
*/
/**
@@ -1229,7 +1236,7 @@ public final class VirtualMachineInstancesGetSamples {
}
/*
- * x-ms-original-file: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/
+ * x-ms-original-file: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2024-06-01/examples/
* VirtualMachineInstances_Get_MaximumSet_Gen.json
*/
/**
@@ -1251,7 +1258,7 @@ public final class VirtualMachineInstancesGetSamples {
*/
public final class VirtualMachineInstancesListSamples {
/*
- * x-ms-original-file: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/
+ * x-ms-original-file: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2024-06-01/examples/
* VirtualMachineInstances_List_MaximumSet_Gen.json
*/
/**
@@ -1264,7 +1271,7 @@ public final class VirtualMachineInstancesListSamples {
}
/*
- * x-ms-original-file: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/
+ * x-ms-original-file: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2024-06-01/examples/
* VirtualMachineInstances_List_MinimumSet_Gen.json
*/
/**
@@ -1286,7 +1293,7 @@ public final class VirtualMachineInstancesListSamples {
*/
public final class VirtualMachineInstancesRestartSamples {
/*
- * x-ms-original-file: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/
+ * x-ms-original-file: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2024-06-01/examples/
* VirtualMachineInstances_Restart_MaximumSet_Gen.json
*/
/**
@@ -1299,7 +1306,7 @@ public final class VirtualMachineInstancesRestartSamples {
}
/*
- * x-ms-original-file: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/
+ * x-ms-original-file: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2024-06-01/examples/
* VirtualMachineInstances_Restart_MinimumSet_Gen.json
*/
/**
@@ -1323,7 +1330,7 @@ import com.azure.resourcemanager.scvmm.models.VirtualMachineRestoreCheckpoint;
*/
public final class VirtualMachineInstancesRestoreCheckpointSamples {
/*
- * x-ms-original-file: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/
+ * x-ms-original-file: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2024-06-01/examples/
* VirtualMachineInstances_RestoreCheckpoint_MinimumSet_Gen.json
*/
/**
@@ -1339,7 +1346,7 @@ public final class VirtualMachineInstancesRestoreCheckpointSamples {
}
/*
- * x-ms-original-file: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/
+ * x-ms-original-file: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2024-06-01/examples/
* VirtualMachineInstances_RestoreCheckpoint_MaximumSet_Gen.json
*/
/**
@@ -1364,7 +1371,7 @@ public final class VirtualMachineInstancesRestoreCheckpointSamples {
*/
public final class VirtualMachineInstancesStartSamples {
/*
- * x-ms-original-file: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/
+ * x-ms-original-file: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2024-06-01/examples/
* VirtualMachineInstances_Start_MinimumSet_Gen.json
*/
/**
@@ -1377,7 +1384,7 @@ public final class VirtualMachineInstancesStartSamples {
}
/*
- * x-ms-original-file: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/
+ * x-ms-original-file: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2024-06-01/examples/
* VirtualMachineInstances_Start_MaximumSet_Gen.json
*/
/**
@@ -1402,7 +1409,7 @@ import com.azure.resourcemanager.scvmm.models.StopVirtualMachineOptions;
*/
public final class VirtualMachineInstancesStopSamples {
/*
- * x-ms-original-file: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/
+ * x-ms-original-file: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2024-06-01/examples/
* VirtualMachineInstances_Stop_MaximumSet_Gen.json
*/
/**
@@ -1417,7 +1424,7 @@ public final class VirtualMachineInstancesStopSamples {
}
/*
- * x-ms-original-file: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/
+ * x-ms-original-file: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2024-06-01/examples/
* VirtualMachineInstances_Stop_MinimumSet_Gen.json
*/
/**
@@ -1455,7 +1462,7 @@ import java.util.Arrays;
*/
public final class VirtualMachineInstancesUpdateSamples {
/*
- * x-ms-original-file: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/
+ * x-ms-original-file: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2024-06-01/examples/
* VirtualMachineInstances_Update_MinimumSet_Gen.json
*/
/**
@@ -1469,7 +1476,7 @@ public final class VirtualMachineInstancesUpdateSamples {
}
/*
- * x-ms-original-file: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/
+ * x-ms-original-file: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2024-06-01/examples/
* VirtualMachineInstances_Update_MaximumSet_Gen.json
*/
/**
@@ -1528,7 +1535,7 @@ import java.util.Map;
*/
public final class VirtualMachineTemplatesCreateOrUpdateSamples {
/*
- * x-ms-original-file: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/
+ * x-ms-original-file: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2024-06-01/examples/
* VirtualMachineTemplates_CreateOrUpdate_MinimumSet_Gen.json
*/
/**
@@ -1547,7 +1554,7 @@ public final class VirtualMachineTemplatesCreateOrUpdateSamples {
}
/*
- * x-ms-original-file: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/
+ * x-ms-original-file: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2024-06-01/examples/
* VirtualMachineTemplates_CreateOrUpdate_MaximumSet_Gen.json
*/
/**
@@ -1596,7 +1603,7 @@ import com.azure.resourcemanager.scvmm.models.ForceDelete;
*/
public final class VirtualMachineTemplatesDeleteSamples {
/*
- * x-ms-original-file: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/
+ * x-ms-original-file: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2024-06-01/examples/
* VirtualMachineTemplates_Delete_MinimumSet_Gen.json
*/
/**
@@ -1609,7 +1616,7 @@ public final class VirtualMachineTemplatesDeleteSamples {
}
/*
- * x-ms-original-file: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/
+ * x-ms-original-file: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2024-06-01/examples/
* VirtualMachineTemplates_Delete_MaximumSet_Gen.json
*/
/**
@@ -1631,7 +1638,7 @@ public final class VirtualMachineTemplatesDeleteSamples {
*/
public final class VirtualMachineTemplatesGetByResourceGroupSamples {
/*
- * x-ms-original-file: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/
+ * x-ms-original-file: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2024-06-01/examples/
* VirtualMachineTemplates_Get_MinimumSet_Gen.json
*/
/**
@@ -1645,7 +1652,7 @@ public final class VirtualMachineTemplatesGetByResourceGroupSamples {
}
/*
- * x-ms-original-file: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/
+ * x-ms-original-file: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2024-06-01/examples/
* VirtualMachineTemplates_Get_MaximumSet_Gen.json
*/
/**
@@ -1668,7 +1675,7 @@ public final class VirtualMachineTemplatesGetByResourceGroupSamples {
*/
public final class VirtualMachineTemplatesListSamples {
/*
- * x-ms-original-file: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/
+ * x-ms-original-file: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2024-06-01/examples/
* VirtualMachineTemplates_ListBySubscription_MaximumSet_Gen.json
*/
/**
@@ -1682,7 +1689,7 @@ public final class VirtualMachineTemplatesListSamples {
}
/*
- * x-ms-original-file: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/
+ * x-ms-original-file: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2024-06-01/examples/
* VirtualMachineTemplates_ListBySubscription_MinimumSet_Gen.json
*/
/**
@@ -1705,7 +1712,7 @@ public final class VirtualMachineTemplatesListSamples {
*/
public final class VirtualMachineTemplatesListByResourceGroupSamples {
/*
- * x-ms-original-file: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/
+ * x-ms-original-file: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2024-06-01/examples/
* VirtualMachineTemplates_ListByResourceGroup_MinimumSet_Gen.json
*/
/**
@@ -1719,7 +1726,7 @@ public final class VirtualMachineTemplatesListByResourceGroupSamples {
}
/*
- * x-ms-original-file: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/
+ * x-ms-original-file: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2024-06-01/examples/
* VirtualMachineTemplates_ListByResourceGroup_MaximumSet_Gen.json
*/
/**
@@ -1746,7 +1753,7 @@ import java.util.Map;
*/
public final class VirtualMachineTemplatesUpdateSamples {
/*
- * x-ms-original-file: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/
+ * x-ms-original-file: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2024-06-01/examples/
* VirtualMachineTemplates_Update_MaximumSet_Gen.json
*/
/**
@@ -1762,7 +1769,7 @@ public final class VirtualMachineTemplatesUpdateSamples {
}
/*
- * x-ms-original-file: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/
+ * x-ms-original-file: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2024-06-01/examples/
* VirtualMachineTemplates_Update_MinimumSet_Gen.json
*/
/**
@@ -1804,7 +1811,7 @@ import java.util.Map;
*/
public final class VirtualNetworksCreateOrUpdateSamples {
/*
- * x-ms-original-file: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/
+ * x-ms-original-file: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2024-06-01/examples/
* VirtualNetworks_CreateOrUpdate_MaximumSet_Gen.json
*/
/**
@@ -1829,7 +1836,7 @@ public final class VirtualNetworksCreateOrUpdateSamples {
}
/*
- * x-ms-original-file: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/
+ * x-ms-original-file: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2024-06-01/examples/
* VirtualNetworks_CreateOrUpdate_MinimumSet_Gen.json
*/
/**
@@ -1870,7 +1877,7 @@ import com.azure.resourcemanager.scvmm.models.ForceDelete;
*/
public final class VirtualNetworksDeleteSamples {
/*
- * x-ms-original-file: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/
+ * x-ms-original-file: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2024-06-01/examples/
* VirtualNetworks_Delete_MaximumSet_Gen.json
*/
/**
@@ -1883,7 +1890,7 @@ public final class VirtualNetworksDeleteSamples {
}
/*
- * x-ms-original-file: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/
+ * x-ms-original-file: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2024-06-01/examples/
* VirtualNetworks_Delete_MinimumSet_Gen.json
*/
/**
@@ -1905,7 +1912,7 @@ public final class VirtualNetworksDeleteSamples {
*/
public final class VirtualNetworksGetByResourceGroupSamples {
/*
- * x-ms-original-file: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/
+ * x-ms-original-file: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2024-06-01/examples/
* VirtualNetworks_Get_MaximumSet_Gen.json
*/
/**
@@ -1918,7 +1925,7 @@ public final class VirtualNetworksGetByResourceGroupSamples {
}
/*
- * x-ms-original-file: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/
+ * x-ms-original-file: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2024-06-01/examples/
* VirtualNetworks_Get_MinimumSet_Gen.json
*/
/**
@@ -1940,7 +1947,7 @@ public final class VirtualNetworksGetByResourceGroupSamples {
*/
public final class VirtualNetworksListSamples {
/*
- * x-ms-original-file: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/
+ * x-ms-original-file: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2024-06-01/examples/
* VirtualNetworks_ListBySubscription_MinimumSet_Gen.json
*/
/**
@@ -1954,7 +1961,7 @@ public final class VirtualNetworksListSamples {
}
/*
- * x-ms-original-file: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/
+ * x-ms-original-file: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2024-06-01/examples/
* VirtualNetworks_ListBySubscription_MaximumSet_Gen.json
*/
/**
@@ -1977,7 +1984,7 @@ public final class VirtualNetworksListSamples {
*/
public final class VirtualNetworksListByResourceGroupSamples {
/*
- * x-ms-original-file: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/
+ * x-ms-original-file: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2024-06-01/examples/
* VirtualNetworks_ListByResourceGroup_MinimumSet_Gen.json
*/
/**
@@ -1991,7 +1998,7 @@ public final class VirtualNetworksListByResourceGroupSamples {
}
/*
- * x-ms-original-file: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/
+ * x-ms-original-file: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2024-06-01/examples/
* VirtualNetworks_ListByResourceGroup_MaximumSet_Gen.json
*/
/**
@@ -2018,7 +2025,7 @@ import java.util.Map;
*/
public final class VirtualNetworksUpdateSamples {
/*
- * x-ms-original-file: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/
+ * x-ms-original-file: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2024-06-01/examples/
* VirtualNetworks_Update_MinimumSet_Gen.json
*/
/**
@@ -2034,7 +2041,7 @@ public final class VirtualNetworksUpdateSamples {
}
/*
- * x-ms-original-file: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/
+ * x-ms-original-file: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2024-06-01/examples/
* VirtualNetworks_Update_MaximumSet_Gen.json
*/
/**
@@ -2071,7 +2078,7 @@ public final class VirtualNetworksUpdateSamples {
*/
public final class VmInstanceHybridIdentityMetadatasGetSamples {
/*
- * x-ms-original-file: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/
+ * x-ms-original-file: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2024-06-01/examples/
* VmInstanceHybridIdentityMetadatas_Get_MinimumSet_Gen.json
*/
/**
@@ -2085,7 +2092,7 @@ public final class VmInstanceHybridIdentityMetadatasGetSamples {
}
/*
- * x-ms-original-file: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/
+ * x-ms-original-file: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2024-06-01/examples/
* VmInstanceHybridIdentityMetadatas_Get_MaximumSet_Gen.json
*/
/**
@@ -2108,7 +2115,7 @@ public final class VmInstanceHybridIdentityMetadatasGetSamples {
*/
public final class VmInstanceHybridIdentityMetadatasListByVirtualMachineInstanceSamples {
/*
- * x-ms-original-file: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/
+ * x-ms-original-file: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2024-06-01/examples/
* VmInstanceHybridIdentityMetadatas_ListByVirtualMachineInstance_MaximumSet_Gen.json
*/
/**
@@ -2123,7 +2130,7 @@ public final class VmInstanceHybridIdentityMetadatasListByVirtualMachineInstance
}
/*
- * x-ms-original-file: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/
+ * x-ms-original-file: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2024-06-01/examples/
* VmInstanceHybridIdentityMetadatas_ListByVirtualMachineInstance_MinimumSet_Gen.json
*/
/**
@@ -2153,7 +2160,7 @@ import java.util.Map;
*/
public final class VmmServersCreateOrUpdateSamples {
/*
- * x-ms-original-file: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/
+ * x-ms-original-file: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2024-06-01/examples/
* VmmServers_CreateOrUpdate_MinimumSet_Gen.json
*/
/**
@@ -2171,7 +2178,7 @@ public final class VmmServersCreateOrUpdateSamples {
}
/*
- * x-ms-original-file: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/
+ * x-ms-original-file: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2024-06-01/examples/
* VmmServers_CreateOrUpdate_MaximumSet_Gen.json
*/
/**
@@ -2221,7 +2228,7 @@ import com.azure.resourcemanager.scvmm.models.ForceDelete;
public final class VmmServersDeleteSamples {
/*
* x-ms-original-file:
- * specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VmmServers_Delete_MaximumSet_Gen.
+ * specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2024-06-01/examples/VmmServers_Delete_MaximumSet_Gen.
* json
*/
/**
@@ -2235,7 +2242,7 @@ public final class VmmServersDeleteSamples {
/*
* x-ms-original-file:
- * specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VmmServers_Delete_MinimumSet_Gen.
+ * specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2024-06-01/examples/VmmServers_Delete_MinimumSet_Gen.
* json
*/
/**
@@ -2258,7 +2265,7 @@ public final class VmmServersDeleteSamples {
public final class VmmServersGetByResourceGroupSamples {
/*
* x-ms-original-file:
- * specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VmmServers_Get_MinimumSet_Gen.
+ * specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2024-06-01/examples/VmmServers_Get_MinimumSet_Gen.
* json
*/
/**
@@ -2272,7 +2279,7 @@ public final class VmmServersGetByResourceGroupSamples {
/*
* x-ms-original-file:
- * specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VmmServers_Get_MaximumSet_Gen.
+ * specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2024-06-01/examples/VmmServers_Get_MaximumSet_Gen.
* json
*/
/**
@@ -2294,7 +2301,7 @@ public final class VmmServersGetByResourceGroupSamples {
*/
public final class VmmServersListSamples {
/*
- * x-ms-original-file: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/
+ * x-ms-original-file: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2024-06-01/examples/
* VmmServers_ListBySubscription_MaximumSet_Gen.json
*/
/**
@@ -2307,7 +2314,7 @@ public final class VmmServersListSamples {
}
/*
- * x-ms-original-file: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/
+ * x-ms-original-file: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2024-06-01/examples/
* VmmServers_ListBySubscription_MinimumSet_Gen.json
*/
/**
@@ -2329,7 +2336,7 @@ public final class VmmServersListSamples {
*/
public final class VmmServersListByResourceGroupSamples {
/*
- * x-ms-original-file: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/
+ * x-ms-original-file: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2024-06-01/examples/
* VmmServers_ListByResourceGroup_MinimumSet_Gen.json
*/
/**
@@ -2342,7 +2349,7 @@ public final class VmmServersListByResourceGroupSamples {
}
/*
- * x-ms-original-file: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/
+ * x-ms-original-file: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2024-06-01/examples/
* VmmServers_ListByResourceGroup_MaximumSet_Gen.json
*/
/**
@@ -2369,7 +2376,7 @@ import java.util.Map;
public final class VmmServersUpdateSamples {
/*
* x-ms-original-file:
- * specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VmmServers_Update_MinimumSet_Gen.
+ * specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2024-06-01/examples/VmmServers_Update_MinimumSet_Gen.
* json
*/
/**
@@ -2386,7 +2393,7 @@ public final class VmmServersUpdateSamples {
/*
* x-ms-original-file:
- * specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/VmmServers_Update_MaximumSet_Gen.
+ * specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2024-06-01/examples/VmmServers_Update_MaximumSet_Gen.
* json
*/
/**
diff --git a/sdk/scvmm/azure-resourcemanager-scvmm/pom.xml b/sdk/scvmm/azure-resourcemanager-scvmm/pom.xml
index b0d8a7b35841d..8cb8563ea3637 100644
--- a/sdk/scvmm/azure-resourcemanager-scvmm/pom.xml
+++ b/sdk/scvmm/azure-resourcemanager-scvmm/pom.xml
@@ -18,7 +18,7 @@
jar
Microsoft Azure SDK for Scvmm Management
- This package contains Microsoft Azure SDK for Scvmm Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. SCVMM Client. Package tag package-2023-10.
+ This package contains Microsoft Azure SDK for Scvmm Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. SCVMM Client. Package tag package-2024-06.
https://github.com/Azure/azure-sdk-for-java
@@ -45,6 +45,7 @@
UTF-8
0
0
+ true
diff --git a/sdk/scvmm/azure-resourcemanager-scvmm/src/main/java/com/azure/resourcemanager/scvmm/ScvmmManager.java b/sdk/scvmm/azure-resourcemanager-scvmm/src/main/java/com/azure/resourcemanager/scvmm/ScvmmManager.java
index 11e2df4a9505c..7ec92bd8f3d11 100644
--- a/sdk/scvmm/azure-resourcemanager-scvmm/src/main/java/com/azure/resourcemanager/scvmm/ScvmmManager.java
+++ b/sdk/scvmm/azure-resourcemanager-scvmm/src/main/java/com/azure/resourcemanager/scvmm/ScvmmManager.java
@@ -241,7 +241,7 @@ public ScvmmManager authenticate(TokenCredential credential, AzureProfile profil
.append("-")
.append("com.azure.resourcemanager.scvmm")
.append("/")
- .append("1.0.0");
+ .append("1.0.0-beta.1");
if (!Configuration.getGlobalConfiguration().get("AZURE_TELEMETRY_DISABLED", false)) {
userAgentBuilder.append(" (")
.append(Configuration.getGlobalConfiguration().get("java.version"))
diff --git a/sdk/scvmm/azure-resourcemanager-scvmm/src/main/java/com/azure/resourcemanager/scvmm/implementation/ScvmmClientImpl.java b/sdk/scvmm/azure-resourcemanager-scvmm/src/main/java/com/azure/resourcemanager/scvmm/implementation/ScvmmClientImpl.java
index 1c3d599499627..67e3a5da50ad9 100644
--- a/sdk/scvmm/azure-resourcemanager-scvmm/src/main/java/com/azure/resourcemanager/scvmm/implementation/ScvmmClientImpl.java
+++ b/sdk/scvmm/azure-resourcemanager-scvmm/src/main/java/com/azure/resourcemanager/scvmm/implementation/ScvmmClientImpl.java
@@ -289,7 +289,7 @@ public InventoryItemsClient getInventoryItems() {
this.defaultPollInterval = defaultPollInterval;
this.subscriptionId = subscriptionId;
this.endpoint = endpoint;
- this.apiVersion = "2023-10-07";
+ this.apiVersion = "2024-06-01";
this.virtualMachineInstances = new VirtualMachineInstancesClientImpl(this);
this.guestAgents = new GuestAgentsClientImpl(this);
this.vmInstanceHybridIdentityMetadatas = new VmInstanceHybridIdentityMetadatasClientImpl(this);
diff --git a/sdk/scvmm/azure-resourcemanager-scvmm/src/main/java/com/azure/resourcemanager/scvmm/models/GuestAgentProperties.java b/sdk/scvmm/azure-resourcemanager-scvmm/src/main/java/com/azure/resourcemanager/scvmm/models/GuestAgentProperties.java
index 170c9bf544f8d..32bf2980860cb 100644
--- a/sdk/scvmm/azure-resourcemanager-scvmm/src/main/java/com/azure/resourcemanager/scvmm/models/GuestAgentProperties.java
+++ b/sdk/scvmm/azure-resourcemanager-scvmm/src/main/java/com/azure/resourcemanager/scvmm/models/GuestAgentProperties.java
@@ -51,6 +51,11 @@ public final class GuestAgentProperties implements JsonSerializable Map mapOf(Object... inputs) {
- Map map = new HashMap<>();
- for (int i = 0; i < inputs.length; i += 2) {
- String key = (String) inputs[i];
- T value = (T) inputs[i + 1];
- map.put(key, value);
- }
- return map;
- }
-}
diff --git a/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/AvailabilitySetListItemTests.java b/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/AvailabilitySetListItemTests.java
deleted file mode 100644
index b04dc8eba205a..0000000000000
--- a/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/AvailabilitySetListItemTests.java
+++ /dev/null
@@ -1,27 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.scvmm.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.scvmm.models.AvailabilitySetListItem;
-import org.junit.jupiter.api.Assertions;
-
-public final class AvailabilitySetListItemTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- AvailabilitySetListItem model
- = BinaryData.fromString("{\"id\":\"hmofc\",\"name\":\"smy\"}").toObject(AvailabilitySetListItem.class);
- Assertions.assertEquals("hmofc", model.id());
- Assertions.assertEquals("smy", model.name());
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- AvailabilitySetListItem model = new AvailabilitySetListItem().withId("hmofc").withName("smy");
- model = BinaryData.fromObject(model).toObject(AvailabilitySetListItem.class);
- Assertions.assertEquals("hmofc", model.id());
- Assertions.assertEquals("smy", model.name());
- }
-}
diff --git a/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/AvailabilitySetListResultTests.java b/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/AvailabilitySetListResultTests.java
deleted file mode 100644
index edcf4a007b940..0000000000000
--- a/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/AvailabilitySetListResultTests.java
+++ /dev/null
@@ -1,24 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.scvmm.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.scvmm.models.AvailabilitySetListResult;
-import org.junit.jupiter.api.Assertions;
-
-public final class AvailabilitySetListResultTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- AvailabilitySetListResult model = BinaryData.fromString(
- "{\"value\":[{\"properties\":{\"availabilitySetName\":\"hrbnlankxmyskpbh\",\"vmmServerId\":\"btkcxywnytnrsyn\",\"provisioningState\":\"Updating\"},\"extendedLocation\":{\"type\":\"ybyxc\",\"name\":\"clha\"},\"location\":\"dbabp\",\"tags\":{\"yazttbtwwrqpue\":\"rqlfktsthsucocmn\",\"xibxujwbhqwalm\":\"ckzywbiexzfeyue\",\"ux\":\"zyoxaepdkzjan\",\"zt\":\"hdwbavxbniwdjs\"},\"id\":\"dbpgnxytxhp\",\"name\":\"xbzpfzab\",\"type\":\"lcuhxwtctyqiklb\"},{\"properties\":{\"availabilitySetName\":\"plwzbhvgyugu\",\"vmmServerId\":\"vmkfssxqu\",\"provisioningState\":\"Failed\"},\"extendedLocation\":{\"type\":\"l\",\"name\":\"gsxnkjzkdeslpv\"},\"location\":\"pwiyig\",\"tags\":{\"upedeojnabckhs\":\"kdwzbaiuebbaumny\",\"ie\":\"txp\"},\"id\":\"tfhvpesapskrdqmh\",\"name\":\"jdhtldwkyzxu\",\"type\":\"tkncwsc\"},{\"properties\":{\"availabilitySetName\":\"lxotogtwrupq\",\"vmmServerId\":\"vnm\",\"provisioningState\":\"Updating\"},\"extendedLocation\":{\"type\":\"vce\",\"name\":\"eil\"},\"location\":\"notyfjfcnjbkcn\",\"tags\":{\"h\":\"bttk\",\"jtoqne\":\"wpn\",\"abgy\":\"mclfplphoxuscr\"},\"id\":\"psbjta\",\"name\":\"qugxywpmueefjzwf\",\"type\":\"kqujidsuyono\"}],\"nextLink\":\"laocqxtccmg\"}")
- .toObject(AvailabilitySetListResult.class);
- Assertions.assertEquals("dbabp", model.value().get(0).location());
- Assertions.assertEquals("rqlfktsthsucocmn", model.value().get(0).tags().get("yazttbtwwrqpue"));
- Assertions.assertEquals("hrbnlankxmyskpbh", model.value().get(0).properties().availabilitySetName());
- Assertions.assertEquals("btkcxywnytnrsyn", model.value().get(0).properties().vmmServerId());
- Assertions.assertEquals("ybyxc", model.value().get(0).extendedLocation().type());
- Assertions.assertEquals("clha", model.value().get(0).extendedLocation().name());
- }
-}
diff --git a/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/AvailabilitySetPropertiesTests.java b/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/AvailabilitySetPropertiesTests.java
deleted file mode 100644
index 3472679389c83..0000000000000
--- a/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/AvailabilitySetPropertiesTests.java
+++ /dev/null
@@ -1,30 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.scvmm.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.scvmm.models.AvailabilitySetProperties;
-import org.junit.jupiter.api.Assertions;
-
-public final class AvailabilitySetPropertiesTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- AvailabilitySetProperties model = BinaryData
- .fromString(
- "{\"availabilitySetName\":\"hvljuahaquh\",\"vmmServerId\":\"hmdua\",\"provisioningState\":\"Failed\"}")
- .toObject(AvailabilitySetProperties.class);
- Assertions.assertEquals("hvljuahaquh", model.availabilitySetName());
- Assertions.assertEquals("hmdua", model.vmmServerId());
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- AvailabilitySetProperties model
- = new AvailabilitySetProperties().withAvailabilitySetName("hvljuahaquh").withVmmServerId("hmdua");
- model = BinaryData.fromObject(model).toObject(AvailabilitySetProperties.class);
- Assertions.assertEquals("hvljuahaquh", model.availabilitySetName());
- Assertions.assertEquals("hmdua", model.vmmServerId());
- }
-}
diff --git a/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/AvailabilitySetTagsUpdateTests.java b/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/AvailabilitySetTagsUpdateTests.java
deleted file mode 100644
index 42678a4ec7586..0000000000000
--- a/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/AvailabilitySetTagsUpdateTests.java
+++ /dev/null
@@ -1,39 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.scvmm.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.scvmm.models.AvailabilitySetTagsUpdate;
-import java.util.HashMap;
-import java.util.Map;
-import org.junit.jupiter.api.Assertions;
-
-public final class AvailabilitySetTagsUpdateTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- AvailabilitySetTagsUpdate model
- = BinaryData.fromString("{\"tags\":{\"g\":\"hgkfmin\"}}").toObject(AvailabilitySetTagsUpdate.class);
- Assertions.assertEquals("hgkfmin", model.tags().get("g"));
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- AvailabilitySetTagsUpdate model = new AvailabilitySetTagsUpdate().withTags(mapOf("g", "hgkfmin"));
- model = BinaryData.fromObject(model).toObject(AvailabilitySetTagsUpdate.class);
- Assertions.assertEquals("hgkfmin", model.tags().get("g"));
- }
-
- // Use "Map.of" if available
- @SuppressWarnings("unchecked")
- private static Map mapOf(Object... inputs) {
- Map map = new HashMap<>();
- for (int i = 0; i < inputs.length; i += 2) {
- String key = (String) inputs[i];
- T value = (T) inputs[i + 1];
- map.put(key, value);
- }
- return map;
- }
-}
diff --git a/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/AvailabilitySetsCreateOrUpdateMockTests.java b/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/AvailabilitySetsCreateOrUpdateMockTests.java
deleted file mode 100644
index 3887dbafbaa30..0000000000000
--- a/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/AvailabilitySetsCreateOrUpdateMockTests.java
+++ /dev/null
@@ -1,66 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.scvmm.generated;
-
-import com.azure.core.credential.AccessToken;
-import com.azure.core.http.HttpClient;
-import com.azure.core.management.AzureEnvironment;
-import com.azure.core.management.profile.AzureProfile;
-import com.azure.core.test.http.MockHttpResponse;
-import com.azure.resourcemanager.scvmm.ScvmmManager;
-import com.azure.resourcemanager.scvmm.models.AvailabilitySet;
-import com.azure.resourcemanager.scvmm.models.AvailabilitySetProperties;
-import com.azure.resourcemanager.scvmm.models.ExtendedLocation;
-import java.nio.charset.StandardCharsets;
-import java.time.OffsetDateTime;
-import java.util.HashMap;
-import java.util.Map;
-import org.junit.jupiter.api.Assertions;
-import org.junit.jupiter.api.Test;
-import reactor.core.publisher.Mono;
-
-public final class AvailabilitySetsCreateOrUpdateMockTests {
- @Test
- public void testCreateOrUpdate() throws Exception {
- String responseStr
- = "{\"properties\":{\"availabilitySetName\":\"v\",\"vmmServerId\":\"eexavo\",\"provisioningState\":\"Succeeded\"},\"extendedLocation\":{\"type\":\"lecdmdqbw\",\"name\":\"pqtgsfjac\"},\"location\":\"lhhxudbxvodhtnsi\",\"tags\":{\"ckdlpag\":\"hzmme\",\"xdfgsftufqobr\":\"rcxfailcfxwmdb\",\"knh\":\"lnacgcc\"},\"id\":\"kizvytn\",\"name\":\"zvulj\",\"type\":\"aaeranokqgukk\"}";
-
- HttpClient httpClient
- = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
- ScvmmManager manager = ScvmmManager.configure()
- .withHttpClient(httpClient)
- .authenticate(tokenRequestContext -> Mono.just(new AccessToken("this_is_a_token", OffsetDateTime.MAX)),
- new AzureProfile("", "", AzureEnvironment.AZURE));
-
- AvailabilitySet response = manager.availabilitySets()
- .define("yxkyxvx")
- .withRegion("lnsrmffe")
- .withExistingResourceGroup("jjidjk")
- .withExtendedLocation(new ExtendedLocation().withType("jbnkpp").withName("nenlsvxeizzg"))
- .withTags(mapOf("iymerteeammxqi", "ckt", "zddrt", "kk", "ojbmxv", "g", "cuijpxt", "vrefdeesv"))
- .withProperties(
- new AvailabilitySetProperties().withAvailabilitySetName("lbj").withVmmServerId("nljlageuaulx"))
- .create();
-
- Assertions.assertEquals("lhhxudbxvodhtnsi", response.location());
- Assertions.assertEquals("hzmme", response.tags().get("ckdlpag"));
- Assertions.assertEquals("v", response.properties().availabilitySetName());
- Assertions.assertEquals("eexavo", response.properties().vmmServerId());
- Assertions.assertEquals("lecdmdqbw", response.extendedLocation().type());
- Assertions.assertEquals("pqtgsfjac", response.extendedLocation().name());
- }
-
- // Use "Map.of" if available
- @SuppressWarnings("unchecked")
- private static Map mapOf(Object... inputs) {
- Map map = new HashMap<>();
- for (int i = 0; i < inputs.length; i += 2) {
- String key = (String) inputs[i];
- T value = (T) inputs[i + 1];
- map.put(key, value);
- }
- return map;
- }
-}
diff --git a/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/AvailabilitySetsGetByResourceGroupWithResponseMockTests.java b/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/AvailabilitySetsGetByResourceGroupWithResponseMockTests.java
deleted file mode 100644
index dae9a33777d53..0000000000000
--- a/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/AvailabilitySetsGetByResourceGroupWithResponseMockTests.java
+++ /dev/null
@@ -1,44 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.scvmm.generated;
-
-import com.azure.core.credential.AccessToken;
-import com.azure.core.http.HttpClient;
-import com.azure.core.management.AzureEnvironment;
-import com.azure.core.management.profile.AzureProfile;
-import com.azure.core.test.http.MockHttpResponse;
-import com.azure.resourcemanager.scvmm.ScvmmManager;
-import com.azure.resourcemanager.scvmm.models.AvailabilitySet;
-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 AvailabilitySetsGetByResourceGroupWithResponseMockTests {
- @Test
- public void testGetByResourceGroupWithResponse() throws Exception {
- String responseStr
- = "{\"properties\":{\"availabilitySetName\":\"qvmmbn\",\"vmmServerId\":\"fr\",\"provisioningState\":\"Accepted\"},\"extendedLocation\":{\"type\":\"zmegnitgvk\",\"name\":\"zyqdrfegcealzx\"},\"location\":\"cansymoyqhlwigd\",\"tags\":{\"ajuwas\":\"kbxgom\",\"hzbezkgi\":\"vdaeyyguxakjsq\",\"vvjskgfmocwahp\":\"sidxasicdd\"},\"id\":\"gat\",\"name\":\"eaahhvjhhn\",\"type\":\"kzyb\"}";
-
- HttpClient httpClient
- = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
- ScvmmManager manager = ScvmmManager.configure()
- .withHttpClient(httpClient)
- .authenticate(tokenRequestContext -> Mono.just(new AccessToken("this_is_a_token", OffsetDateTime.MAX)),
- new AzureProfile("", "", AzureEnvironment.AZURE));
-
- AvailabilitySet response = manager.availabilitySets()
- .getByResourceGroupWithResponse("m", "yefrpmpdnqqska", com.azure.core.util.Context.NONE)
- .getValue();
-
- Assertions.assertEquals("cansymoyqhlwigd", response.location());
- Assertions.assertEquals("kbxgom", response.tags().get("ajuwas"));
- Assertions.assertEquals("qvmmbn", response.properties().availabilitySetName());
- Assertions.assertEquals("fr", response.properties().vmmServerId());
- Assertions.assertEquals("zmegnitgvk", response.extendedLocation().type());
- Assertions.assertEquals("zyqdrfegcealzx", response.extendedLocation().name());
- }
-}
diff --git a/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/AvailabilitySetsListByResourceGroupMockTests.java b/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/AvailabilitySetsListByResourceGroupMockTests.java
deleted file mode 100644
index 7a026d9a8f447..0000000000000
--- a/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/AvailabilitySetsListByResourceGroupMockTests.java
+++ /dev/null
@@ -1,44 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.scvmm.generated;
-
-import com.azure.core.credential.AccessToken;
-import com.azure.core.http.HttpClient;
-import com.azure.core.http.rest.PagedIterable;
-import com.azure.core.management.AzureEnvironment;
-import com.azure.core.management.profile.AzureProfile;
-import com.azure.core.test.http.MockHttpResponse;
-import com.azure.resourcemanager.scvmm.ScvmmManager;
-import com.azure.resourcemanager.scvmm.models.AvailabilitySet;
-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 AvailabilitySetsListByResourceGroupMockTests {
- @Test
- public void testListByResourceGroup() throws Exception {
- String responseStr
- = "{\"value\":[{\"properties\":{\"availabilitySetName\":\"vmuvgpmu\",\"vmmServerId\":\"qsxvmhf\",\"provisioningState\":\"Failed\"},\"extendedLocation\":{\"type\":\"yihsasbhudypohyu\",\"name\":\"slynsqyrpfoo\"},\"location\":\"lttymsjn\",\"tags\":{\"ilaxhn\":\"dnfwqzdzg\",\"wivkxo\":\"hqlyvijo\",\"ti\":\"zunbixx\"},\"id\":\"vcpwpgclrc\",\"name\":\"vtsoxf\",\"type\":\"kenx\"}]}";
-
- HttpClient httpClient
- = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
- ScvmmManager manager = ScvmmManager.configure()
- .withHttpClient(httpClient)
- .authenticate(tokenRequestContext -> Mono.just(new AccessToken("this_is_a_token", OffsetDateTime.MAX)),
- new AzureProfile("", "", AzureEnvironment.AZURE));
-
- PagedIterable response
- = manager.availabilitySets().listByResourceGroup("hhzjhfj", com.azure.core.util.Context.NONE);
-
- Assertions.assertEquals("lttymsjn", response.iterator().next().location());
- Assertions.assertEquals("dnfwqzdzg", response.iterator().next().tags().get("ilaxhn"));
- Assertions.assertEquals("vmuvgpmu", response.iterator().next().properties().availabilitySetName());
- Assertions.assertEquals("qsxvmhf", response.iterator().next().properties().vmmServerId());
- Assertions.assertEquals("yihsasbhudypohyu", response.iterator().next().extendedLocation().type());
- Assertions.assertEquals("slynsqyrpfoo", response.iterator().next().extendedLocation().name());
- }
-}
diff --git a/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/AvailabilitySetsListMockTests.java b/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/AvailabilitySetsListMockTests.java
deleted file mode 100644
index 64aba48070906..0000000000000
--- a/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/AvailabilitySetsListMockTests.java
+++ /dev/null
@@ -1,43 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.scvmm.generated;
-
-import com.azure.core.credential.AccessToken;
-import com.azure.core.http.HttpClient;
-import com.azure.core.http.rest.PagedIterable;
-import com.azure.core.management.AzureEnvironment;
-import com.azure.core.management.profile.AzureProfile;
-import com.azure.core.test.http.MockHttpResponse;
-import com.azure.resourcemanager.scvmm.ScvmmManager;
-import com.azure.resourcemanager.scvmm.models.AvailabilitySet;
-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 AvailabilitySetsListMockTests {
- @Test
- public void testList() throws Exception {
- String responseStr
- = "{\"value\":[{\"properties\":{\"availabilitySetName\":\"cf\",\"vmmServerId\":\"rxgkne\",\"provisioningState\":\"Deleting\"},\"extendedLocation\":{\"type\":\"nzqodfvpg\",\"name\":\"oxgsgbpfgzdjtx\"},\"location\":\"flbqvgaq\",\"tags\":{\"cqusr\":\"a\",\"lduycv\":\"vetnwsdtutn\"},\"id\":\"zhyrmewipmve\",\"name\":\"dxukuqgsjjxundxg\",\"type\":\"etw\"}]}";
-
- HttpClient httpClient
- = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
- ScvmmManager manager = ScvmmManager.configure()
- .withHttpClient(httpClient)
- .authenticate(tokenRequestContext -> Mono.just(new AccessToken("this_is_a_token", OffsetDateTime.MAX)),
- new AzureProfile("", "", AzureEnvironment.AZURE));
-
- PagedIterable response = manager.availabilitySets().list(com.azure.core.util.Context.NONE);
-
- Assertions.assertEquals("flbqvgaq", response.iterator().next().location());
- Assertions.assertEquals("a", response.iterator().next().tags().get("cqusr"));
- Assertions.assertEquals("cf", response.iterator().next().properties().availabilitySetName());
- Assertions.assertEquals("rxgkne", response.iterator().next().properties().vmmServerId());
- Assertions.assertEquals("nzqodfvpg", response.iterator().next().extendedLocation().type());
- Assertions.assertEquals("oxgsgbpfgzdjtx", response.iterator().next().extendedLocation().name());
- }
-}
diff --git a/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/CheckpointTests.java b/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/CheckpointTests.java
deleted file mode 100644
index 6d45d53d67e9d..0000000000000
--- a/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/CheckpointTests.java
+++ /dev/null
@@ -1,35 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.scvmm.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.scvmm.models.Checkpoint;
-import org.junit.jupiter.api.Assertions;
-
-public final class CheckpointTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- Checkpoint model = BinaryData.fromString(
- "{\"parentCheckpointID\":\"qex\",\"checkpointID\":\"ocxscpaierhhbcs\",\"name\":\"ummajtjaod\",\"description\":\"bnbdxkqpxokajion\"}")
- .toObject(Checkpoint.class);
- Assertions.assertEquals("qex", model.parentCheckpointId());
- Assertions.assertEquals("ocxscpaierhhbcs", model.checkpointId());
- Assertions.assertEquals("ummajtjaod", model.name());
- Assertions.assertEquals("bnbdxkqpxokajion", model.description());
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- Checkpoint model = new Checkpoint().withParentCheckpointId("qex")
- .withCheckpointId("ocxscpaierhhbcs")
- .withName("ummajtjaod")
- .withDescription("bnbdxkqpxokajion");
- model = BinaryData.fromObject(model).toObject(Checkpoint.class);
- Assertions.assertEquals("qex", model.parentCheckpointId());
- Assertions.assertEquals("ocxscpaierhhbcs", model.checkpointId());
- Assertions.assertEquals("ummajtjaod", model.name());
- Assertions.assertEquals("bnbdxkqpxokajion", model.description());
- }
-}
diff --git a/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/CloudCapacityTests.java b/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/CloudCapacityTests.java
deleted file mode 100644
index a58f33317a4d8..0000000000000
--- a/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/CloudCapacityTests.java
+++ /dev/null
@@ -1,24 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.scvmm.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.scvmm.models.CloudCapacity;
-
-public final class CloudCapacityTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- CloudCapacity model = BinaryData
- .fromString(
- "{\"cpuCount\":6996015407661494971,\"memoryMB\":3431932886317561144,\"vmCount\":5668149621351966733}")
- .toObject(CloudCapacity.class);
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- CloudCapacity model = new CloudCapacity();
- model = BinaryData.fromObject(model).toObject(CloudCapacity.class);
- }
-}
diff --git a/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/CloudInnerTests.java b/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/CloudInnerTests.java
deleted file mode 100644
index 5237b761ae0f1..0000000000000
--- a/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/CloudInnerTests.java
+++ /dev/null
@@ -1,58 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.scvmm.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.scvmm.fluent.models.CloudInner;
-import com.azure.resourcemanager.scvmm.models.CloudProperties;
-import com.azure.resourcemanager.scvmm.models.ExtendedLocation;
-import java.util.HashMap;
-import java.util.Map;
-import org.junit.jupiter.api.Assertions;
-
-public final class CloudInnerTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- CloudInner model = BinaryData.fromString(
- "{\"properties\":{\"inventoryItemId\":\"ivkrtsw\",\"uuid\":\"qzvszjf\",\"vmmServerId\":\"vjfdx\",\"cloudName\":\"vetvt\",\"cloudCapacity\":{\"cpuCount\":3989982721308647052,\"memoryMB\":6414157962649478285,\"vmCount\":4668269847268047385},\"storageQoSPolicies\":[{\"name\":\"vxysl\",\"id\":\"hsfxoblytkb\",\"iopsMaximum\":1261547703522273379,\"iopsMinimum\":6710979409785542965,\"bandwidthLimit\":3820765705092103463,\"policyId\":\"vrnsvshqjohxc\"},{\"name\":\"bfovasrruvwbhsq\",\"id\":\"ubcgjbirxb\",\"iopsMaximum\":5990216587260133822,\"iopsMinimum\":9066736792193838127,\"bandwidthLimit\":2236269397517718606,\"policyId\":\"w\"},{\"name\":\"otftpvjzbexilz\",\"id\":\"fqqnvwpmqtaruo\",\"iopsMaximum\":6347695881931305668,\"iopsMinimum\":4269295539164353927,\"bandwidthLimit\":6824806013048148325,\"policyId\":\"jrybnwjewgdrjer\"},{\"name\":\"aen\",\"id\":\"eh\",\"iopsMaximum\":2926817929583465327,\"iopsMinimum\":781592580513390645,\"bandwidthLimit\":6991523348113589059,\"policyId\":\"nzdndslgna\"}],\"provisioningState\":\"Accepted\"},\"extendedLocation\":{\"type\":\"ynduha\",\"name\":\"qlkth\"},\"location\":\"aqolbgycduiertg\",\"tags\":{\"lqlfm\":\"mvaolps\"},\"id\":\"dnbbglzps\",\"name\":\"iydmcwyhzdxs\",\"type\":\"adbzmnvdfznud\"}")
- .toObject(CloudInner.class);
- Assertions.assertEquals("aqolbgycduiertg", model.location());
- Assertions.assertEquals("mvaolps", model.tags().get("lqlfm"));
- Assertions.assertEquals("ivkrtsw", model.properties().inventoryItemId());
- Assertions.assertEquals("qzvszjf", model.properties().uuid());
- Assertions.assertEquals("vjfdx", model.properties().vmmServerId());
- Assertions.assertEquals("ynduha", model.extendedLocation().type());
- Assertions.assertEquals("qlkth", model.extendedLocation().name());
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- CloudInner model = new CloudInner().withLocation("aqolbgycduiertg")
- .withTags(mapOf("lqlfm", "mvaolps"))
- .withProperties(
- new CloudProperties().withInventoryItemId("ivkrtsw").withUuid("qzvszjf").withVmmServerId("vjfdx"))
- .withExtendedLocation(new ExtendedLocation().withType("ynduha").withName("qlkth"));
- model = BinaryData.fromObject(model).toObject(CloudInner.class);
- Assertions.assertEquals("aqolbgycduiertg", model.location());
- Assertions.assertEquals("mvaolps", model.tags().get("lqlfm"));
- Assertions.assertEquals("ivkrtsw", model.properties().inventoryItemId());
- Assertions.assertEquals("qzvszjf", model.properties().uuid());
- Assertions.assertEquals("vjfdx", model.properties().vmmServerId());
- Assertions.assertEquals("ynduha", model.extendedLocation().type());
- Assertions.assertEquals("qlkth", model.extendedLocation().name());
- }
-
- // Use "Map.of" if available
- @SuppressWarnings("unchecked")
- private static Map mapOf(Object... inputs) {
- Map map = new HashMap<>();
- for (int i = 0; i < inputs.length; i += 2) {
- String key = (String) inputs[i];
- T value = (T) inputs[i + 1];
- map.put(key, value);
- }
- return map;
- }
-}
diff --git a/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/CloudInventoryItemTests.java b/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/CloudInventoryItemTests.java
deleted file mode 100644
index f63a0c8a6a0a2..0000000000000
--- a/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/CloudInventoryItemTests.java
+++ /dev/null
@@ -1,23 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.scvmm.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.scvmm.models.CloudInventoryItem;
-
-public final class CloudInventoryItemTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- CloudInventoryItem model = BinaryData.fromString(
- "{\"inventoryType\":\"Cloud\",\"managedResourceId\":\"iivwzjbhyzsxjrka\",\"uuid\":\"trnegvmnvuqeqvld\",\"inventoryItemName\":\"astjbkkdmflvestm\",\"provisioningState\":\"Deleting\"}")
- .toObject(CloudInventoryItem.class);
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- CloudInventoryItem model = new CloudInventoryItem();
- model = BinaryData.fromObject(model).toObject(CloudInventoryItem.class);
- }
-}
diff --git a/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/CloudListResultTests.java b/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/CloudListResultTests.java
deleted file mode 100644
index 5eaf514620153..0000000000000
--- a/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/CloudListResultTests.java
+++ /dev/null
@@ -1,25 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.scvmm.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.scvmm.models.CloudListResult;
-import org.junit.jupiter.api.Assertions;
-
-public final class CloudListResultTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- CloudListResult model = BinaryData.fromString(
- "{\"value\":[{\"properties\":{\"inventoryItemId\":\"vfadmws\",\"uuid\":\"r\",\"vmmServerId\":\"xpvgo\",\"cloudName\":\"lf\",\"cloudCapacity\":{\"cpuCount\":3141876003584230040,\"memoryMB\":7679233497718407318,\"vmCount\":365691236561868989},\"storageQoSPolicies\":[{\"name\":\"k\",\"id\":\"ali\",\"iopsMaximum\":54169882983487255,\"iopsMinimum\":6778562451936395688,\"bandwidthLimit\":131133871653701525,\"policyId\":\"shsfwxosowzxcu\"}],\"provisioningState\":\"Created\"},\"extendedLocation\":{\"type\":\"ooxdjebwpuc\",\"name\":\"fvovbvmeuecivy\"},\"location\":\"ce\",\"tags\":{\"x\":\"gjrwjueiotwmcdyt\",\"nrjawgqwg\":\"it\",\"klwndnhjdauwhv\":\"hniskxfbkpyc\",\"zbtd\":\"l\"},\"id\":\"xujznbmpowu\",\"name\":\"przqlveu\",\"type\":\"lupj\"},{\"properties\":{\"inventoryItemId\":\"fxobbcsws\",\"uuid\":\"jriplrbpbewtghf\",\"vmmServerId\":\"lcgwxzvlvqh\",\"cloudName\":\"begibtnmxiebwwa\",\"cloudCapacity\":{\"cpuCount\":6525239708045322977,\"memoryMB\":7151462329487158065,\"vmCount\":6136339981043942378},\"storageQoSPolicies\":[{\"name\":\"gwyzm\",\"id\":\"xongmtsavjcbpwxq\",\"iopsMaximum\":8746825901777553134,\"iopsMinimum\":5242300752961630966,\"bandwidthLimit\":2094806440159682328,\"policyId\":\"iuhprwmdyvxqta\"},{\"name\":\"iwwroyqbexrmc\",\"id\":\"bycnojvkn\",\"iopsMaximum\":3613497258699833567,\"iopsMinimum\":3533117585190130257,\"bandwidthLimit\":2097123359842677496,\"policyId\":\"pjyzhpv\"},{\"name\":\"zcjrvxdjzlmwlx\",\"id\":\"ug\",\"iopsMaximum\":8948733559998471922,\"iopsMinimum\":6856642650959955968,\"bandwidthLimit\":7305517021128699895,\"policyId\":\"nluthnnp\"}],\"provisioningState\":\"Accepted\"},\"extendedLocation\":{\"type\":\"peilpjzuaejxdu\",\"name\":\"skzbb\"},\"location\":\"zumveekgpwo\",\"tags\":{\"yofd\":\"kfpbs\",\"dttouwaboekqvkel\":\"luu\"},\"id\":\"smv\",\"name\":\"xwyjsflhhc\",\"type\":\"aln\"},{\"properties\":{\"inventoryItemId\":\"isxyawjoyaqcslyj\",\"uuid\":\"iidzyexzne\",\"vmmServerId\":\"xhnrztfolhb\",\"cloudName\":\"knalaulppg\",\"cloudCapacity\":{\"cpuCount\":4103777440618573927,\"memoryMB\":2247931820360130707,\"vmCount\":7714445110480603377},\"storageQoSPolicies\":[{\"name\":\"hpigv\",\"id\":\"ylgqgitxmedjvcsl\",\"iopsMaximum\":5849348987172300465,\"iopsMinimum\":3200172025781612030,\"bandwidthLimit\":1124312331123717294,\"policyId\":\"xgk\"}],\"provisioningState\":\"Canceled\"},\"extendedLocation\":{\"type\":\"ucnapkteoellwp\",\"name\":\"d\"},\"location\":\"pfqbuaceopzf\",\"tags\":{\"qeqxo\":\"huaoppp\",\"ahzxctobgbk\":\"z\"},\"id\":\"moizpos\",\"name\":\"mgrcfbu\",\"type\":\"rmfqjhhkxbpvj\"}],\"nextLink\":\"jhxxjyn\"}")
- .toObject(CloudListResult.class);
- Assertions.assertEquals("ce", model.value().get(0).location());
- Assertions.assertEquals("gjrwjueiotwmcdyt", model.value().get(0).tags().get("x"));
- Assertions.assertEquals("vfadmws", model.value().get(0).properties().inventoryItemId());
- Assertions.assertEquals("r", model.value().get(0).properties().uuid());
- Assertions.assertEquals("xpvgo", model.value().get(0).properties().vmmServerId());
- Assertions.assertEquals("ooxdjebwpuc", model.value().get(0).extendedLocation().type());
- Assertions.assertEquals("fvovbvmeuecivy", model.value().get(0).extendedLocation().name());
- }
-}
diff --git a/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/CloudPropertiesTests.java b/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/CloudPropertiesTests.java
deleted file mode 100644
index 6fb887667bf0f..0000000000000
--- a/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/CloudPropertiesTests.java
+++ /dev/null
@@ -1,32 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.scvmm.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.scvmm.models.CloudProperties;
-import org.junit.jupiter.api.Assertions;
-
-public final class CloudPropertiesTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- CloudProperties model = BinaryData.fromString(
- "{\"inventoryItemId\":\"dvxzbncblylpst\",\"uuid\":\"hh\",\"vmmServerId\":\"rzdzucerscdnt\",\"cloudName\":\"vfiwjmygtdss\",\"cloudCapacity\":{\"cpuCount\":4029880181936290822,\"memoryMB\":2056289881259732229,\"vmCount\":3002295961372287593},\"storageQoSPolicies\":[{\"name\":\"qsemwabne\",\"id\":\"hhszh\",\"iopsMaximum\":6111204244847646570,\"iopsMinimum\":6033840789921327792,\"bandwidthLimit\":2247461655033792564,\"policyId\":\"wmbesldnkw\"}],\"provisioningState\":\"Succeeded\"}")
- .toObject(CloudProperties.class);
- Assertions.assertEquals("dvxzbncblylpst", model.inventoryItemId());
- Assertions.assertEquals("hh", model.uuid());
- Assertions.assertEquals("rzdzucerscdnt", model.vmmServerId());
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- CloudProperties model = new CloudProperties().withInventoryItemId("dvxzbncblylpst")
- .withUuid("hh")
- .withVmmServerId("rzdzucerscdnt");
- model = BinaryData.fromObject(model).toObject(CloudProperties.class);
- Assertions.assertEquals("dvxzbncblylpst", model.inventoryItemId());
- Assertions.assertEquals("hh", model.uuid());
- Assertions.assertEquals("rzdzucerscdnt", model.vmmServerId());
- }
-}
diff --git a/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/CloudTagsUpdateTests.java b/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/CloudTagsUpdateTests.java
deleted file mode 100644
index 6558a4444b35e..0000000000000
--- a/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/CloudTagsUpdateTests.java
+++ /dev/null
@@ -1,41 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.scvmm.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.scvmm.models.CloudTagsUpdate;
-import java.util.HashMap;
-import java.util.Map;
-import org.junit.jupiter.api.Assertions;
-
-public final class CloudTagsUpdateTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- CloudTagsUpdate model = BinaryData.fromString(
- "{\"tags\":{\"lahb\":\"fttsttk\",\"qtgqqqxhrnxr\":\"actxtgzukxitm\",\"okqdzfvaz\":\"cpjuisa\",\"ajlkatnw\":\"vjlfrqtt\"}}")
- .toObject(CloudTagsUpdate.class);
- Assertions.assertEquals("fttsttk", model.tags().get("lahb"));
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- CloudTagsUpdate model = new CloudTagsUpdate().withTags(
- mapOf("lahb", "fttsttk", "qtgqqqxhrnxr", "actxtgzukxitm", "okqdzfvaz", "cpjuisa", "ajlkatnw", "vjlfrqtt"));
- model = BinaryData.fromObject(model).toObject(CloudTagsUpdate.class);
- Assertions.assertEquals("fttsttk", model.tags().get("lahb"));
- }
-
- // Use "Map.of" if available
- @SuppressWarnings("unchecked")
- private static Map mapOf(Object... inputs) {
- Map map = new HashMap<>();
- for (int i = 0; i < inputs.length; i += 2) {
- String key = (String) inputs[i];
- T value = (T) inputs[i + 1];
- map.put(key, value);
- }
- return map;
- }
-}
diff --git a/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/CloudsCreateOrUpdateMockTests.java b/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/CloudsCreateOrUpdateMockTests.java
deleted file mode 100644
index 1de594c9d9991..0000000000000
--- a/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/CloudsCreateOrUpdateMockTests.java
+++ /dev/null
@@ -1,68 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.scvmm.generated;
-
-import com.azure.core.credential.AccessToken;
-import com.azure.core.http.HttpClient;
-import com.azure.core.management.AzureEnvironment;
-import com.azure.core.management.profile.AzureProfile;
-import com.azure.core.test.http.MockHttpResponse;
-import com.azure.resourcemanager.scvmm.ScvmmManager;
-import com.azure.resourcemanager.scvmm.models.Cloud;
-import com.azure.resourcemanager.scvmm.models.CloudProperties;
-import com.azure.resourcemanager.scvmm.models.ExtendedLocation;
-import java.nio.charset.StandardCharsets;
-import java.time.OffsetDateTime;
-import java.util.HashMap;
-import java.util.Map;
-import org.junit.jupiter.api.Assertions;
-import org.junit.jupiter.api.Test;
-import reactor.core.publisher.Mono;
-
-public final class CloudsCreateOrUpdateMockTests {
- @Test
- public void testCreateOrUpdate() throws Exception {
- String responseStr
- = "{\"properties\":{\"inventoryItemId\":\"vpbdbzqgq\",\"uuid\":\"hedsvqwthmkyib\",\"vmmServerId\":\"sihsgqcwdhohsd\",\"cloudName\":\"cdzsu\",\"cloudCapacity\":{\"cpuCount\":7117215511818462498,\"memoryMB\":6915667068183243162,\"vmCount\":7808079684010366581},\"storageQoSPolicies\":[{\"name\":\"pcvhdbevwqqxeys\",\"id\":\"nqzi\",\"iopsMaximum\":4259363860416490102,\"iopsMinimum\":1183436721296067733,\"bandwidthLimit\":4864080345534775106,\"policyId\":\"xeqoc\"},{\"name\":\"mygvkzqkj\",\"id\":\"okbzef\",\"iopsMaximum\":2200731602352647038,\"iopsMinimum\":8813876269554898921,\"bandwidthLimit\":4509675475426678163,\"policyId\":\"e\"},{\"name\":\"q\",\"id\":\"kwv\",\"iopsMaximum\":5672897057063193378,\"iopsMinimum\":1846786260892387923,\"bandwidthLimit\":4435864913823432479,\"policyId\":\"xzmqpnodawop\"},{\"name\":\"ewjptmcg\",\"id\":\"ostzelndlatu\",\"iopsMaximum\":6922803194395266051,\"iopsMinimum\":879063471631285932,\"bandwidthLimit\":8308748747055589302,\"policyId\":\"hrbbpneqvcwwyy\"}],\"provisioningState\":\"Succeeded\"},\"extendedLocation\":{\"type\":\"chpp\",\"name\":\"rsnm\"},\"location\":\"ayzejnhlbkpbz\",\"tags\":{\"echndbnwieholew\":\"iljhahz\",\"efqsfapaqtferrqw\":\"wiuub\",\"kmfx\":\"x\"},\"id\":\"pjwogqqno\",\"name\":\"pud\",\"type\":\"dabtqwp\"}";
-
- HttpClient httpClient
- = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
- ScvmmManager manager = ScvmmManager.configure()
- .withHttpClient(httpClient)
- .authenticate(tokenRequestContext -> Mono.just(new AccessToken("this_is_a_token", OffsetDateTime.MAX)),
- new AzureProfile("", "", AzureEnvironment.AZURE));
-
- Cloud response = manager.clouds()
- .define("hpc")
- .withRegion("uciqdsme")
- .withExistingResourceGroup("lzo")
- .withExtendedLocation(new ExtendedLocation().withType("ypoq").withName("hlqhykprlpy"))
- .withTags(mapOf("asiibmiybnnust", "tdfuxt", "nmgixh", "nlj", "oudorhcgyyp", "mavmq", "hu", "otwypundmb"))
- .withProperties(new CloudProperties().withInventoryItemId("mdxotngfdgu")
- .withUuid("yzihgrkyuizabsn")
- .withVmmServerId("pphoj"))
- .create();
-
- Assertions.assertEquals("ayzejnhlbkpbz", response.location());
- Assertions.assertEquals("iljhahz", response.tags().get("echndbnwieholew"));
- Assertions.assertEquals("vpbdbzqgq", response.properties().inventoryItemId());
- Assertions.assertEquals("hedsvqwthmkyib", response.properties().uuid());
- Assertions.assertEquals("sihsgqcwdhohsd", response.properties().vmmServerId());
- Assertions.assertEquals("chpp", response.extendedLocation().type());
- Assertions.assertEquals("rsnm", response.extendedLocation().name());
- }
-
- // Use "Map.of" if available
- @SuppressWarnings("unchecked")
- private static Map mapOf(Object... inputs) {
- Map map = new HashMap<>();
- for (int i = 0; i < inputs.length; i += 2) {
- String key = (String) inputs[i];
- T value = (T) inputs[i + 1];
- map.put(key, value);
- }
- return map;
- }
-}
diff --git a/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/CloudsGetByResourceGroupWithResponseMockTests.java b/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/CloudsGetByResourceGroupWithResponseMockTests.java
deleted file mode 100644
index eb42aeaf63047..0000000000000
--- a/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/CloudsGetByResourceGroupWithResponseMockTests.java
+++ /dev/null
@@ -1,45 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.scvmm.generated;
-
-import com.azure.core.credential.AccessToken;
-import com.azure.core.http.HttpClient;
-import com.azure.core.management.AzureEnvironment;
-import com.azure.core.management.profile.AzureProfile;
-import com.azure.core.test.http.MockHttpResponse;
-import com.azure.resourcemanager.scvmm.ScvmmManager;
-import com.azure.resourcemanager.scvmm.models.Cloud;
-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 CloudsGetByResourceGroupWithResponseMockTests {
- @Test
- public void testGetByResourceGroupWithResponse() throws Exception {
- String responseStr
- = "{\"properties\":{\"inventoryItemId\":\"izbfhfovvacq\",\"uuid\":\"tuodxeszabbelaw\",\"vmmServerId\":\"ua\",\"cloudName\":\"zkwrrwoyc\",\"cloudCapacity\":{\"cpuCount\":3200915566855533052,\"memoryMB\":2884775904635449436,\"vmCount\":2467395859679855860},\"storageQoSPolicies\":[{\"name\":\"ywuhpsvfuur\",\"id\":\"lwexxwl\",\"iopsMaximum\":5454533877839303334,\"iopsMinimum\":9199175945719514627,\"bandwidthLimit\":6869025053356818243,\"policyId\":\"gepqtybbwwpg\"},{\"name\":\"k\",\"id\":\"zyvli\",\"iopsMaximum\":7764041210336820295,\"iopsMinimum\":8287274670039182556,\"bandwidthLimit\":848870221890738563,\"policyId\":\"nxm\"},{\"name\":\"uxswqrntvl\",\"id\":\"jpsttexoq\",\"iopsMaximum\":5287210425103137929,\"iopsMinimum\":5284910564957842889,\"bandwidthLimit\":62183573876209376,\"policyId\":\"uncuw\"}],\"provisioningState\":\"Provisioning\"},\"extendedLocation\":{\"type\":\"kcdqzhlct\",\"name\":\"unqndyfpchrqb\"},\"location\":\"jrcg\",\"tags\":{\"qqoli\":\"dcwboxjum\",\"aiouaubrjt\":\"r\",\"fuojrngif\":\"oq\"},\"id\":\"rzpasccbiuimzdly\",\"name\":\"dfqwmkyoq\",\"type\":\"fdvruz\"}";
-
- HttpClient httpClient
- = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
- ScvmmManager manager = ScvmmManager.configure()
- .withHttpClient(httpClient)
- .authenticate(tokenRequestContext -> Mono.just(new AccessToken("this_is_a_token", OffsetDateTime.MAX)),
- new AzureProfile("", "", AzureEnvironment.AZURE));
-
- Cloud response = manager.clouds()
- .getByResourceGroupWithResponse("xcudchxgsr", "oldforobw", com.azure.core.util.Context.NONE)
- .getValue();
-
- Assertions.assertEquals("jrcg", response.location());
- Assertions.assertEquals("dcwboxjum", response.tags().get("qqoli"));
- Assertions.assertEquals("izbfhfovvacq", response.properties().inventoryItemId());
- Assertions.assertEquals("tuodxeszabbelaw", response.properties().uuid());
- Assertions.assertEquals("ua", response.properties().vmmServerId());
- Assertions.assertEquals("kcdqzhlct", response.extendedLocation().type());
- Assertions.assertEquals("unqndyfpchrqb", response.extendedLocation().name());
- }
-}
diff --git a/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/CloudsListByResourceGroupMockTests.java b/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/CloudsListByResourceGroupMockTests.java
deleted file mode 100644
index 5ef7956cdb1d1..0000000000000
--- a/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/CloudsListByResourceGroupMockTests.java
+++ /dev/null
@@ -1,45 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.scvmm.generated;
-
-import com.azure.core.credential.AccessToken;
-import com.azure.core.http.HttpClient;
-import com.azure.core.http.rest.PagedIterable;
-import com.azure.core.management.AzureEnvironment;
-import com.azure.core.management.profile.AzureProfile;
-import com.azure.core.test.http.MockHttpResponse;
-import com.azure.resourcemanager.scvmm.ScvmmManager;
-import com.azure.resourcemanager.scvmm.models.Cloud;
-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 CloudsListByResourceGroupMockTests {
- @Test
- public void testListByResourceGroup() throws Exception {
- String responseStr
- = "{\"value\":[{\"properties\":{\"inventoryItemId\":\"wm\",\"uuid\":\"mebwjscjpah\",\"vmmServerId\":\"veabfqxnmwmqtib\",\"cloudName\":\"ijddtvqc\",\"cloudCapacity\":{\"cpuCount\":3995165957523237174,\"memoryMB\":4810009338488600409,\"vmCount\":3344718342128535077},\"storageQoSPolicies\":[{\"name\":\"eekpndz\",\"id\":\"pmudqmeqwig\",\"iopsMaximum\":1602038748333470502,\"iopsMinimum\":2895883377575243380,\"bandwidthLimit\":191813532014871887,\"policyId\":\"e\"},{\"name\":\"pmzznrtffya\",\"id\":\"tmhheioqa\",\"iopsMaximum\":730726349973993242,\"iopsMinimum\":7801083553230678005,\"bandwidthLimit\":4758857143001364501,\"policyId\":\"xpdlcgqlsis\"},{\"name\":\"qfrddgam\",\"id\":\"hiosrsjuiv\",\"iopsMaximum\":455092351262610963,\"iopsMinimum\":572361619606348416,\"bandwidthLimit\":7426719311659683930,\"policyId\":\"hcz\"},{\"name\":\"rxzbujr\",\"id\":\"hqvwrevkhgnlnzon\",\"iopsMaximum\":432499304266915638,\"iopsMinimum\":2005313689678276388,\"bandwidthLimit\":6253741023246690907,\"policyId\":\"jtszcof\"}],\"provisioningState\":\"Succeeded\"},\"extendedLocation\":{\"type\":\"tdhgbjkvrelj\",\"name\":\"murvzm\"},\"location\":\"vuanashcxlp\",\"tags\":{\"zsdbccxjmon\":\"rbdkelvidiz\",\"uqj\":\"dgnwncypuuwwlt\"},\"id\":\"tzenk\",\"name\":\"if\",\"type\":\"zhmkdasvflyh\"}]}";
-
- HttpClient httpClient
- = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
- ScvmmManager manager = ScvmmManager.configure()
- .withHttpClient(httpClient)
- .authenticate(tokenRequestContext -> Mono.just(new AccessToken("this_is_a_token", OffsetDateTime.MAX)),
- new AzureProfile("", "", AzureEnvironment.AZURE));
-
- PagedIterable response
- = manager.clouds().listByResourceGroup("fuzboyjathwtzolb", com.azure.core.util.Context.NONE);
-
- Assertions.assertEquals("vuanashcxlp", response.iterator().next().location());
- Assertions.assertEquals("rbdkelvidiz", response.iterator().next().tags().get("zsdbccxjmon"));
- Assertions.assertEquals("wm", response.iterator().next().properties().inventoryItemId());
- Assertions.assertEquals("mebwjscjpah", response.iterator().next().properties().uuid());
- Assertions.assertEquals("veabfqxnmwmqtib", response.iterator().next().properties().vmmServerId());
- Assertions.assertEquals("tdhgbjkvrelj", response.iterator().next().extendedLocation().type());
- Assertions.assertEquals("murvzm", response.iterator().next().extendedLocation().name());
- }
-}
diff --git a/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/CloudsListMockTests.java b/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/CloudsListMockTests.java
deleted file mode 100644
index 42a9a58e3b4b3..0000000000000
--- a/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/CloudsListMockTests.java
+++ /dev/null
@@ -1,44 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.scvmm.generated;
-
-import com.azure.core.credential.AccessToken;
-import com.azure.core.http.HttpClient;
-import com.azure.core.http.rest.PagedIterable;
-import com.azure.core.management.AzureEnvironment;
-import com.azure.core.management.profile.AzureProfile;
-import com.azure.core.test.http.MockHttpResponse;
-import com.azure.resourcemanager.scvmm.ScvmmManager;
-import com.azure.resourcemanager.scvmm.models.Cloud;
-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 CloudsListMockTests {
- @Test
- public void testList() throws Exception {
- String responseStr
- = "{\"value\":[{\"properties\":{\"inventoryItemId\":\"vbroylaxxu\",\"uuid\":\"disdosfjbjsvgj\",\"vmmServerId\":\"hryvy\",\"cloudName\":\"t\",\"cloudCapacity\":{\"cpuCount\":87313434350967654,\"memoryMB\":4633131497917723717,\"vmCount\":3545804393254840755},\"storageQoSPolicies\":[{\"name\":\"tmvpdvjdhtt\",\"id\":\"efedxihchrphkm\",\"iopsMaximum\":3787352834540927110,\"iopsMinimum\":3614573403784565190,\"bandwidthLimit\":2282885407091220390,\"policyId\":\"bg\"},{\"name\":\"kylkdghrj\",\"id\":\"utlwxezwzhok\",\"iopsMaximum\":7624149688717867785,\"iopsMinimum\":2062475772346184475,\"bandwidthLimit\":5204919757963226438,\"policyId\":\"hgppipifhpfeoa\"},{\"name\":\"gcxtxj\",\"id\":\"heafidlt\",\"iopsMaximum\":2005438621034770208,\"iopsMinimum\":5739341399228629925,\"bandwidthLimit\":3530960182442104157,\"policyId\":\"h\"},{\"name\":\"ftxfkf\",\"id\":\"gpr\",\"iopsMaximum\":2543866141895923842,\"iopsMinimum\":5566902972165714794,\"bandwidthLimit\":7370264401437151122,\"policyId\":\"tgdqohmcwsldriz\"}],\"provisioningState\":\"Created\"},\"extendedLocation\":{\"type\":\"bra\",\"name\":\"libph\"},\"location\":\"zmizakakan\",\"tags\":{\"joylh\":\"dnjzh\"},\"id\":\"lmuoyxprimrsopte\",\"name\":\"cjmeislstvasy\",\"type\":\"wxdzaumweoohgu\"}]}";
-
- HttpClient httpClient
- = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
- ScvmmManager manager = ScvmmManager.configure()
- .withHttpClient(httpClient)
- .authenticate(tokenRequestContext -> Mono.just(new AccessToken("this_is_a_token", OffsetDateTime.MAX)),
- new AzureProfile("", "", AzureEnvironment.AZURE));
-
- PagedIterable response = manager.clouds().list(com.azure.core.util.Context.NONE);
-
- Assertions.assertEquals("zmizakakan", response.iterator().next().location());
- Assertions.assertEquals("dnjzh", response.iterator().next().tags().get("joylh"));
- Assertions.assertEquals("vbroylaxxu", response.iterator().next().properties().inventoryItemId());
- Assertions.assertEquals("disdosfjbjsvgj", response.iterator().next().properties().uuid());
- Assertions.assertEquals("hryvy", response.iterator().next().properties().vmmServerId());
- Assertions.assertEquals("bra", response.iterator().next().extendedLocation().type());
- Assertions.assertEquals("libph", response.iterator().next().extendedLocation().name());
- }
-}
diff --git a/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/ExtendedLocationTests.java b/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/ExtendedLocationTests.java
deleted file mode 100644
index a18e18ebec92a..0000000000000
--- a/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/ExtendedLocationTests.java
+++ /dev/null
@@ -1,27 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.scvmm.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.scvmm.models.ExtendedLocation;
-import org.junit.jupiter.api.Assertions;
-
-public final class ExtendedLocationTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- ExtendedLocation model
- = BinaryData.fromString("{\"type\":\"mexgstxgcp\",\"name\":\"gmaajrm\"}").toObject(ExtendedLocation.class);
- Assertions.assertEquals("mexgstxgcp", model.type());
- Assertions.assertEquals("gmaajrm", model.name());
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- ExtendedLocation model = new ExtendedLocation().withType("mexgstxgcp").withName("gmaajrm");
- model = BinaryData.fromObject(model).toObject(ExtendedLocation.class);
- Assertions.assertEquals("mexgstxgcp", model.type());
- Assertions.assertEquals("gmaajrm", model.name());
- }
-}
diff --git a/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/GuestAgentsDeleteWithResponseMockTests.java b/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/GuestAgentsDeleteWithResponseMockTests.java
deleted file mode 100644
index 495e021d60d53..0000000000000
--- a/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/GuestAgentsDeleteWithResponseMockTests.java
+++ /dev/null
@@ -1,33 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.scvmm.generated;
-
-import com.azure.core.credential.AccessToken;
-import com.azure.core.http.HttpClient;
-import com.azure.core.management.AzureEnvironment;
-import com.azure.core.management.profile.AzureProfile;
-import com.azure.core.test.http.MockHttpResponse;
-import com.azure.resourcemanager.scvmm.ScvmmManager;
-import java.nio.charset.StandardCharsets;
-import java.time.OffsetDateTime;
-import org.junit.jupiter.api.Test;
-import reactor.core.publisher.Mono;
-
-public final class GuestAgentsDeleteWithResponseMockTests {
- @Test
- public void testDeleteWithResponse() throws Exception {
- String responseStr = "{}";
-
- HttpClient httpClient
- = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
- ScvmmManager manager = ScvmmManager.configure()
- .withHttpClient(httpClient)
- .authenticate(tokenRequestContext -> Mono.just(new AccessToken("this_is_a_token", OffsetDateTime.MAX)),
- new AzureProfile("", "", AzureEnvironment.AZURE));
-
- manager.guestAgents().deleteWithResponse("aaomylweazu", com.azure.core.util.Context.NONE);
-
- }
-}
diff --git a/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/HardwareProfileTests.java b/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/HardwareProfileTests.java
deleted file mode 100644
index a9888219042ec..0000000000000
--- a/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/HardwareProfileTests.java
+++ /dev/null
@@ -1,43 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.scvmm.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.scvmm.models.DynamicMemoryEnabled;
-import com.azure.resourcemanager.scvmm.models.HardwareProfile;
-import com.azure.resourcemanager.scvmm.models.LimitCpuForMigration;
-import org.junit.jupiter.api.Assertions;
-
-public final class HardwareProfileTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- HardwareProfile model = BinaryData.fromString(
- "{\"memoryMB\":1950851050,\"cpuCount\":1983903346,\"limitCpuForMigration\":\"true\",\"dynamicMemoryEnabled\":\"false\",\"dynamicMemoryMaxMB\":2056372142,\"dynamicMemoryMinMB\":1492414283,\"isHighlyAvailable\":\"true\"}")
- .toObject(HardwareProfile.class);
- Assertions.assertEquals(1950851050, model.memoryMB());
- Assertions.assertEquals(1983903346, model.cpuCount());
- Assertions.assertEquals(LimitCpuForMigration.TRUE, model.limitCpuForMigration());
- Assertions.assertEquals(DynamicMemoryEnabled.FALSE, model.dynamicMemoryEnabled());
- Assertions.assertEquals(2056372142, model.dynamicMemoryMaxMB());
- Assertions.assertEquals(1492414283, model.dynamicMemoryMinMB());
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- HardwareProfile model = new HardwareProfile().withMemoryMB(1950851050)
- .withCpuCount(1983903346)
- .withLimitCpuForMigration(LimitCpuForMigration.TRUE)
- .withDynamicMemoryEnabled(DynamicMemoryEnabled.FALSE)
- .withDynamicMemoryMaxMB(2056372142)
- .withDynamicMemoryMinMB(1492414283);
- model = BinaryData.fromObject(model).toObject(HardwareProfile.class);
- Assertions.assertEquals(1950851050, model.memoryMB());
- Assertions.assertEquals(1983903346, model.cpuCount());
- Assertions.assertEquals(LimitCpuForMigration.TRUE, model.limitCpuForMigration());
- Assertions.assertEquals(DynamicMemoryEnabled.FALSE, model.dynamicMemoryEnabled());
- Assertions.assertEquals(2056372142, model.dynamicMemoryMaxMB());
- Assertions.assertEquals(1492414283, model.dynamicMemoryMinMB());
- }
-}
diff --git a/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/HardwareProfileUpdateTests.java b/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/HardwareProfileUpdateTests.java
deleted file mode 100644
index e9b909f7c7e0e..0000000000000
--- a/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/HardwareProfileUpdateTests.java
+++ /dev/null
@@ -1,43 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.scvmm.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.scvmm.models.DynamicMemoryEnabled;
-import com.azure.resourcemanager.scvmm.models.HardwareProfileUpdate;
-import com.azure.resourcemanager.scvmm.models.LimitCpuForMigration;
-import org.junit.jupiter.api.Assertions;
-
-public final class HardwareProfileUpdateTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- HardwareProfileUpdate model = BinaryData.fromString(
- "{\"memoryMB\":330627677,\"cpuCount\":1964386727,\"limitCpuForMigration\":\"false\",\"dynamicMemoryEnabled\":\"false\",\"dynamicMemoryMaxMB\":8313214,\"dynamicMemoryMinMB\":5520044}")
- .toObject(HardwareProfileUpdate.class);
- Assertions.assertEquals(330627677, model.memoryMB());
- Assertions.assertEquals(1964386727, model.cpuCount());
- Assertions.assertEquals(LimitCpuForMigration.FALSE, model.limitCpuForMigration());
- Assertions.assertEquals(DynamicMemoryEnabled.FALSE, model.dynamicMemoryEnabled());
- Assertions.assertEquals(8313214, model.dynamicMemoryMaxMB());
- Assertions.assertEquals(5520044, model.dynamicMemoryMinMB());
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- HardwareProfileUpdate model = new HardwareProfileUpdate().withMemoryMB(330627677)
- .withCpuCount(1964386727)
- .withLimitCpuForMigration(LimitCpuForMigration.FALSE)
- .withDynamicMemoryEnabled(DynamicMemoryEnabled.FALSE)
- .withDynamicMemoryMaxMB(8313214)
- .withDynamicMemoryMinMB(5520044);
- model = BinaryData.fromObject(model).toObject(HardwareProfileUpdate.class);
- Assertions.assertEquals(330627677, model.memoryMB());
- Assertions.assertEquals(1964386727, model.cpuCount());
- Assertions.assertEquals(LimitCpuForMigration.FALSE, model.limitCpuForMigration());
- Assertions.assertEquals(DynamicMemoryEnabled.FALSE, model.dynamicMemoryEnabled());
- Assertions.assertEquals(8313214, model.dynamicMemoryMaxMB());
- Assertions.assertEquals(5520044, model.dynamicMemoryMinMB());
- }
-}
diff --git a/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/HttpProxyConfigurationTests.java b/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/HttpProxyConfigurationTests.java
deleted file mode 100644
index 80b81654de9e3..0000000000000
--- a/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/HttpProxyConfigurationTests.java
+++ /dev/null
@@ -1,25 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.scvmm.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.scvmm.models.HttpProxyConfiguration;
-import org.junit.jupiter.api.Assertions;
-
-public final class HttpProxyConfigurationTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- HttpProxyConfiguration model
- = BinaryData.fromString("{\"httpsProxy\":\"cgygev\"}").toObject(HttpProxyConfiguration.class);
- Assertions.assertEquals("cgygev", model.httpsProxy());
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- HttpProxyConfiguration model = new HttpProxyConfiguration().withHttpsProxy("cgygev");
- model = BinaryData.fromObject(model).toObject(HttpProxyConfiguration.class);
- Assertions.assertEquals("cgygev", model.httpsProxy());
- }
-}
diff --git a/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/InfrastructureProfileTests.java b/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/InfrastructureProfileTests.java
deleted file mode 100644
index bbe67cf5cf259..0000000000000
--- a/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/InfrastructureProfileTests.java
+++ /dev/null
@@ -1,50 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.scvmm.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.scvmm.models.InfrastructureProfile;
-import org.junit.jupiter.api.Assertions;
-
-public final class InfrastructureProfileTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- InfrastructureProfile model = BinaryData.fromString(
- "{\"inventoryItemId\":\"muouqfp\",\"vmmServerId\":\"zw\",\"cloudId\":\"g\",\"templateId\":\"tnwu\",\"vmName\":\"gazxuf\",\"uuid\":\"uckyf\",\"lastRestoredVMCheckpoint\":{\"parentCheckpointID\":\"fidfvzw\",\"checkpointID\":\"uht\",\"name\":\"wisdkft\",\"description\":\"xmnteiwaop\"},\"checkpoints\":[{\"parentCheckpointID\":\"jcmmxdcufufsrp\",\"checkpointID\":\"zidnsezcxtbzsgfy\",\"name\":\"sne\",\"description\":\"dwzjeiach\"},{\"parentCheckpointID\":\"osfln\",\"checkpointID\":\"sfqpteehz\",\"name\":\"ypyqrimzinp\",\"description\":\"wjdk\"},{\"parentCheckpointID\":\"soodqxhcrmnoh\",\"checkpointID\":\"ckwhds\",\"name\":\"fiyipjxsqwpgrj\",\"description\":\"norcjxvsnbyxqab\"},{\"parentCheckpointID\":\"ocpcy\",\"checkpointID\":\"urzafb\",\"name\":\"j\",\"description\":\"btoqcjmkljavbqid\"}],\"checkpointType\":\"ajzyul\",\"generation\":144447336,\"biosGuid\":\"jkrlkhbzhfepg\"}")
- .toObject(InfrastructureProfile.class);
- Assertions.assertEquals("muouqfp", model.inventoryItemId());
- Assertions.assertEquals("zw", model.vmmServerId());
- Assertions.assertEquals("g", model.cloudId());
- Assertions.assertEquals("tnwu", model.templateId());
- Assertions.assertEquals("gazxuf", model.vmName());
- Assertions.assertEquals("uckyf", model.uuid());
- Assertions.assertEquals("ajzyul", model.checkpointType());
- Assertions.assertEquals(144447336, model.generation());
- Assertions.assertEquals("jkrlkhbzhfepg", model.biosGuid());
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- InfrastructureProfile model = new InfrastructureProfile().withInventoryItemId("muouqfp")
- .withVmmServerId("zw")
- .withCloudId("g")
- .withTemplateId("tnwu")
- .withVmName("gazxuf")
- .withUuid("uckyf")
- .withCheckpointType("ajzyul")
- .withGeneration(144447336)
- .withBiosGuid("jkrlkhbzhfepg");
- model = BinaryData.fromObject(model).toObject(InfrastructureProfile.class);
- Assertions.assertEquals("muouqfp", model.inventoryItemId());
- Assertions.assertEquals("zw", model.vmmServerId());
- Assertions.assertEquals("g", model.cloudId());
- Assertions.assertEquals("tnwu", model.templateId());
- Assertions.assertEquals("gazxuf", model.vmName());
- Assertions.assertEquals("uckyf", model.uuid());
- Assertions.assertEquals("ajzyul", model.checkpointType());
- Assertions.assertEquals(144447336, model.generation());
- Assertions.assertEquals("jkrlkhbzhfepg", model.biosGuid());
- }
-}
diff --git a/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/InfrastructureProfileUpdateTests.java b/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/InfrastructureProfileUpdateTests.java
deleted file mode 100644
index 426c2f0abff8f..0000000000000
--- a/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/InfrastructureProfileUpdateTests.java
+++ /dev/null
@@ -1,25 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.scvmm.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.scvmm.models.InfrastructureProfileUpdate;
-import org.junit.jupiter.api.Assertions;
-
-public final class InfrastructureProfileUpdateTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- InfrastructureProfileUpdate model = BinaryData.fromString("{\"checkpointType\":\"wkuofoskghsauu\"}")
- .toObject(InfrastructureProfileUpdate.class);
- Assertions.assertEquals("wkuofoskghsauu", model.checkpointType());
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- InfrastructureProfileUpdate model = new InfrastructureProfileUpdate().withCheckpointType("wkuofoskghsauu");
- model = BinaryData.fromObject(model).toObject(InfrastructureProfileUpdate.class);
- Assertions.assertEquals("wkuofoskghsauu", model.checkpointType());
- }
-}
diff --git a/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/InventoryItemDetailsTests.java b/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/InventoryItemDetailsTests.java
deleted file mode 100644
index 94cdc36534f17..0000000000000
--- a/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/InventoryItemDetailsTests.java
+++ /dev/null
@@ -1,29 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.scvmm.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.scvmm.models.InventoryItemDetails;
-import org.junit.jupiter.api.Assertions;
-
-public final class InventoryItemDetailsTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- InventoryItemDetails model
- = BinaryData.fromString("{\"inventoryItemId\":\"ril\",\"inventoryItemName\":\"apeewchpxlkt\"}")
- .toObject(InventoryItemDetails.class);
- Assertions.assertEquals("ril", model.inventoryItemId());
- Assertions.assertEquals("apeewchpxlkt", model.inventoryItemName());
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- InventoryItemDetails model
- = new InventoryItemDetails().withInventoryItemId("ril").withInventoryItemName("apeewchpxlkt");
- model = BinaryData.fromObject(model).toObject(InventoryItemDetails.class);
- Assertions.assertEquals("ril", model.inventoryItemId());
- Assertions.assertEquals("apeewchpxlkt", model.inventoryItemName());
- }
-}
diff --git a/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/InventoryItemInnerTests.java b/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/InventoryItemInnerTests.java
deleted file mode 100644
index a9a7cfc5cfbcb..0000000000000
--- a/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/InventoryItemInnerTests.java
+++ /dev/null
@@ -1,28 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.scvmm.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.scvmm.fluent.models.InventoryItemInner;
-import com.azure.resourcemanager.scvmm.models.InventoryItemProperties;
-import org.junit.jupiter.api.Assertions;
-
-public final class InventoryItemInnerTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- InventoryItemInner model = BinaryData.fromString(
- "{\"properties\":{\"inventoryType\":\"InventoryItemProperties\",\"managedResourceId\":\"i\",\"uuid\":\"fhoqca\",\"inventoryItemName\":\"wdaomdjvlpjxxkzb\",\"provisioningState\":\"Provisioning\"},\"kind\":\"eivsiykzkdnc\",\"id\":\"xonbzoggculapz\",\"name\":\"y\",\"type\":\"pgogtqxepny\"}")
- .toObject(InventoryItemInner.class);
- Assertions.assertEquals("eivsiykzkdnc", model.kind());
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- InventoryItemInner model
- = new InventoryItemInner().withProperties(new InventoryItemProperties()).withKind("eivsiykzkdnc");
- model = BinaryData.fromObject(model).toObject(InventoryItemInner.class);
- Assertions.assertEquals("eivsiykzkdnc", model.kind());
- }
-}
diff --git a/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/InventoryItemListResultTests.java b/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/InventoryItemListResultTests.java
deleted file mode 100644
index 2b7a88c59c4da..0000000000000
--- a/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/InventoryItemListResultTests.java
+++ /dev/null
@@ -1,19 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.scvmm.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.scvmm.models.InventoryItemListResult;
-import org.junit.jupiter.api.Assertions;
-
-public final class InventoryItemListResultTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- InventoryItemListResult model = BinaryData.fromString(
- "{\"value\":[{\"properties\":{\"inventoryType\":\"InventoryItemProperties\",\"managedResourceId\":\"lma\",\"uuid\":\"tcyohpfkyrk\",\"inventoryItemName\":\"dg\",\"provisioningState\":\"Failed\"},\"kind\":\"jkmnwq\",\"id\":\"obaiyhddviaceg\",\"name\":\"n\",\"type\":\"ntfpmvmemfnc\"},{\"properties\":{\"inventoryType\":\"InventoryItemProperties\",\"managedResourceId\":\"vvbalx\",\"uuid\":\"lchpodbzevwrdn\",\"inventoryItemName\":\"ukuv\",\"provisioningState\":\"Updating\"},\"kind\":\"wsmystuluqypf\",\"id\":\"lerchpq\",\"name\":\"mfpjbabw\",\"type\":\"dfc\"}],\"nextLink\":\"spuunnoxyhkxgq\"}")
- .toObject(InventoryItemListResult.class);
- Assertions.assertEquals("jkmnwq", model.value().get(0).kind());
- }
-}
diff --git a/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/InventoryItemPropertiesTests.java b/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/InventoryItemPropertiesTests.java
deleted file mode 100644
index 4791760e06040..0000000000000
--- a/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/InventoryItemPropertiesTests.java
+++ /dev/null
@@ -1,23 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.scvmm.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.scvmm.models.InventoryItemProperties;
-
-public final class InventoryItemPropertiesTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- InventoryItemProperties model = BinaryData.fromString(
- "{\"inventoryType\":\"InventoryItemProperties\",\"managedResourceId\":\"fuajly\",\"uuid\":\"lvofqzhvfcibyfmo\",\"inventoryItemName\":\"xrkjpvdw\",\"provisioningState\":\"Accepted\"}")
- .toObject(InventoryItemProperties.class);
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- InventoryItemProperties model = new InventoryItemProperties();
- model = BinaryData.fromObject(model).toObject(InventoryItemProperties.class);
- }
-}
diff --git a/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/InventoryItemsCreateWithResponseMockTests.java b/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/InventoryItemsCreateWithResponseMockTests.java
deleted file mode 100644
index 97d1a1fdccf30..0000000000000
--- a/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/InventoryItemsCreateWithResponseMockTests.java
+++ /dev/null
@@ -1,43 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.scvmm.generated;
-
-import com.azure.core.credential.AccessToken;
-import com.azure.core.http.HttpClient;
-import com.azure.core.management.AzureEnvironment;
-import com.azure.core.management.profile.AzureProfile;
-import com.azure.core.test.http.MockHttpResponse;
-import com.azure.resourcemanager.scvmm.ScvmmManager;
-import com.azure.resourcemanager.scvmm.models.InventoryItem;
-import com.azure.resourcemanager.scvmm.models.InventoryItemProperties;
-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 InventoryItemsCreateWithResponseMockTests {
- @Test
- public void testCreateWithResponse() throws Exception {
- String responseStr
- = "{\"properties\":{\"inventoryType\":\"InventoryItemProperties\",\"managedResourceId\":\"eftkwqe\",\"uuid\":\"mvss\",\"inventoryItemName\":\"aepwamcxtcz\",\"provisioningState\":\"Provisioning\"},\"kind\":\"uknijduyye\",\"id\":\"ydjfb\",\"name\":\"c\",\"type\":\"v\"}";
-
- HttpClient httpClient
- = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
- ScvmmManager manager = ScvmmManager.configure()
- .withHttpClient(httpClient)
- .authenticate(tokenRequestContext -> Mono.just(new AccessToken("this_is_a_token", OffsetDateTime.MAX)),
- new AzureProfile("", "", AzureEnvironment.AZURE));
-
- InventoryItem response = manager.inventoryItems()
- .define("mghihp")
- .withExistingVmmServer("cxnafbwqrooh", "uovmaonurjt")
- .withProperties(new InventoryItemProperties())
- .withKind("eukdqkkyih")
- .create();
-
- Assertions.assertEquals("uknijduyye", response.kind());
- }
-}
diff --git a/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/InventoryItemsDeleteWithResponseMockTests.java b/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/InventoryItemsDeleteWithResponseMockTests.java
deleted file mode 100644
index da8371ecd41cc..0000000000000
--- a/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/InventoryItemsDeleteWithResponseMockTests.java
+++ /dev/null
@@ -1,34 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.scvmm.generated;
-
-import com.azure.core.credential.AccessToken;
-import com.azure.core.http.HttpClient;
-import com.azure.core.management.AzureEnvironment;
-import com.azure.core.management.profile.AzureProfile;
-import com.azure.core.test.http.MockHttpResponse;
-import com.azure.resourcemanager.scvmm.ScvmmManager;
-import java.nio.charset.StandardCharsets;
-import java.time.OffsetDateTime;
-import org.junit.jupiter.api.Test;
-import reactor.core.publisher.Mono;
-
-public final class InventoryItemsDeleteWithResponseMockTests {
- @Test
- public void testDeleteWithResponse() throws Exception {
- String responseStr = "{}";
-
- HttpClient httpClient
- = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
- ScvmmManager manager = ScvmmManager.configure()
- .withHttpClient(httpClient)
- .authenticate(tokenRequestContext -> Mono.just(new AccessToken("this_is_a_token", OffsetDateTime.MAX)),
- new AzureProfile("", "", AzureEnvironment.AZURE));
-
- manager.inventoryItems()
- .deleteWithResponse("vnynkb", "etnjuhpsprkz", "aupia", com.azure.core.util.Context.NONE);
-
- }
-}
diff --git a/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/InventoryItemsGetWithResponseMockTests.java b/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/InventoryItemsGetWithResponseMockTests.java
deleted file mode 100644
index e88b95778aa8b..0000000000000
--- a/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/InventoryItemsGetWithResponseMockTests.java
+++ /dev/null
@@ -1,39 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.scvmm.generated;
-
-import com.azure.core.credential.AccessToken;
-import com.azure.core.http.HttpClient;
-import com.azure.core.management.AzureEnvironment;
-import com.azure.core.management.profile.AzureProfile;
-import com.azure.core.test.http.MockHttpResponse;
-import com.azure.resourcemanager.scvmm.ScvmmManager;
-import com.azure.resourcemanager.scvmm.models.InventoryItem;
-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 InventoryItemsGetWithResponseMockTests {
- @Test
- public void testGetWithResponse() throws Exception {
- String responseStr
- = "{\"properties\":{\"inventoryType\":\"InventoryItemProperties\",\"managedResourceId\":\"og\",\"uuid\":\"zyvneezaifghtmo\",\"inventoryItemName\":\"tlffhzbkr\",\"provisioningState\":\"Canceled\"},\"kind\":\"avfqnvhnqoewdogi\",\"id\":\"tesypvidbztjh\",\"name\":\"t\",\"type\":\"b\"}";
-
- HttpClient httpClient
- = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
- ScvmmManager manager = ScvmmManager.configure()
- .withHttpClient(httpClient)
- .authenticate(tokenRequestContext -> Mono.just(new AccessToken("this_is_a_token", OffsetDateTime.MAX)),
- new AzureProfile("", "", AzureEnvironment.AZURE));
-
- InventoryItem response = manager.inventoryItems()
- .getWithResponse("b", "vnwsw", "txkyctwwgzwxjlm", com.azure.core.util.Context.NONE)
- .getValue();
-
- Assertions.assertEquals("avfqnvhnqoewdogi", response.kind());
- }
-}
diff --git a/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/InventoryItemsListByVmmServerMockTests.java b/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/InventoryItemsListByVmmServerMockTests.java
deleted file mode 100644
index 97a6703370287..0000000000000
--- a/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/InventoryItemsListByVmmServerMockTests.java
+++ /dev/null
@@ -1,39 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.scvmm.generated;
-
-import com.azure.core.credential.AccessToken;
-import com.azure.core.http.HttpClient;
-import com.azure.core.http.rest.PagedIterable;
-import com.azure.core.management.AzureEnvironment;
-import com.azure.core.management.profile.AzureProfile;
-import com.azure.core.test.http.MockHttpResponse;
-import com.azure.resourcemanager.scvmm.ScvmmManager;
-import com.azure.resourcemanager.scvmm.models.InventoryItem;
-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 InventoryItemsListByVmmServerMockTests {
- @Test
- public void testListByVmmServer() throws Exception {
- String responseStr
- = "{\"value\":[{\"properties\":{\"inventoryType\":\"InventoryItemProperties\",\"managedResourceId\":\"ziven\",\"uuid\":\"pmeyyvpkpatlbijp\",\"inventoryItemName\":\"sksrfhfvolmknbn\",\"provisioningState\":\"Deleting\"},\"kind\":\"ommpvfqaw\",\"id\":\"gbrt\",\"name\":\"uiaclkiexhajlfn\",\"type\":\"hiqfyuttdiy\"}]}";
-
- HttpClient httpClient
- = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
- ScvmmManager manager = ScvmmManager.configure()
- .withHttpClient(httpClient)
- .authenticate(tokenRequestContext -> Mono.just(new AccessToken("this_is_a_token", OffsetDateTime.MAX)),
- new AzureProfile("", "", AzureEnvironment.AZURE));
-
- PagedIterable response
- = manager.inventoryItems().listByVmmServer("mzvlazipbh", "wvqsgny", com.azure.core.util.Context.NONE);
-
- Assertions.assertEquals("ommpvfqaw", response.iterator().next().kind());
- }
-}
diff --git a/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/NetworkInterfaceTests.java b/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/NetworkInterfaceTests.java
deleted file mode 100644
index 0cbf99deffc01..0000000000000
--- a/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/NetworkInterfaceTests.java
+++ /dev/null
@@ -1,45 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.scvmm.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.scvmm.models.AllocationMethod;
-import com.azure.resourcemanager.scvmm.models.NetworkInterface;
-import org.junit.jupiter.api.Assertions;
-
-public final class NetworkInterfaceTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- NetworkInterface model = BinaryData.fromString(
- "{\"name\":\"si\",\"displayName\":\"evcciqihnhun\",\"ipv4Addresses\":[\"jzrnf\",\"gxg\",\"spemvtzfk\",\"fublj\"],\"ipv6Addresses\":[\"qeof\",\"aeqjhqjbasvms\",\"jqul\",\"gsntnbybkzgcwr\"],\"macAddress\":\"lxxwrljdouskc\",\"virtualNetworkId\":\"kocrcjdkwtnhx\",\"networkName\":\"jbiksqrglssai\",\"ipv4AddressType\":\"Dynamic\",\"ipv6AddressType\":\"Static\",\"macAddressType\":\"Static\",\"nicId\":\"ljfmppee\"}")
- .toObject(NetworkInterface.class);
- Assertions.assertEquals("si", model.name());
- Assertions.assertEquals("lxxwrljdouskc", model.macAddress());
- Assertions.assertEquals("kocrcjdkwtnhx", model.virtualNetworkId());
- Assertions.assertEquals(AllocationMethod.DYNAMIC, model.ipv4AddressType());
- Assertions.assertEquals(AllocationMethod.STATIC, model.ipv6AddressType());
- Assertions.assertEquals(AllocationMethod.STATIC, model.macAddressType());
- Assertions.assertEquals("ljfmppee", model.nicId());
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- NetworkInterface model = new NetworkInterface().withName("si")
- .withMacAddress("lxxwrljdouskc")
- .withVirtualNetworkId("kocrcjdkwtnhx")
- .withIpv4AddressType(AllocationMethod.DYNAMIC)
- .withIpv6AddressType(AllocationMethod.STATIC)
- .withMacAddressType(AllocationMethod.STATIC)
- .withNicId("ljfmppee");
- model = BinaryData.fromObject(model).toObject(NetworkInterface.class);
- Assertions.assertEquals("si", model.name());
- Assertions.assertEquals("lxxwrljdouskc", model.macAddress());
- Assertions.assertEquals("kocrcjdkwtnhx", model.virtualNetworkId());
- Assertions.assertEquals(AllocationMethod.DYNAMIC, model.ipv4AddressType());
- Assertions.assertEquals(AllocationMethod.STATIC, model.ipv6AddressType());
- Assertions.assertEquals(AllocationMethod.STATIC, model.macAddressType());
- Assertions.assertEquals("ljfmppee", model.nicId());
- }
-}
diff --git a/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/NetworkInterfaceUpdateTests.java b/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/NetworkInterfaceUpdateTests.java
deleted file mode 100644
index 808db74768c02..0000000000000
--- a/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/NetworkInterfaceUpdateTests.java
+++ /dev/null
@@ -1,45 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.scvmm.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.scvmm.models.AllocationMethod;
-import com.azure.resourcemanager.scvmm.models.NetworkInterfaceUpdate;
-import org.junit.jupiter.api.Assertions;
-
-public final class NetworkInterfaceUpdateTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- NetworkInterfaceUpdate model = BinaryData.fromString(
- "{\"name\":\"xodpuozmyzydagfu\",\"macAddress\":\"bezy\",\"virtualNetworkId\":\"okktwhrdxw\",\"ipv4AddressType\":\"Dynamic\",\"ipv6AddressType\":\"Dynamic\",\"macAddressType\":\"Static\",\"nicId\":\"ureximoryocfs\"}")
- .toObject(NetworkInterfaceUpdate.class);
- Assertions.assertEquals("xodpuozmyzydagfu", model.name());
- Assertions.assertEquals("bezy", model.macAddress());
- Assertions.assertEquals("okktwhrdxw", model.virtualNetworkId());
- Assertions.assertEquals(AllocationMethod.DYNAMIC, model.ipv4AddressType());
- Assertions.assertEquals(AllocationMethod.DYNAMIC, model.ipv6AddressType());
- Assertions.assertEquals(AllocationMethod.STATIC, model.macAddressType());
- Assertions.assertEquals("ureximoryocfs", model.nicId());
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- NetworkInterfaceUpdate model = new NetworkInterfaceUpdate().withName("xodpuozmyzydagfu")
- .withMacAddress("bezy")
- .withVirtualNetworkId("okktwhrdxw")
- .withIpv4AddressType(AllocationMethod.DYNAMIC)
- .withIpv6AddressType(AllocationMethod.DYNAMIC)
- .withMacAddressType(AllocationMethod.STATIC)
- .withNicId("ureximoryocfs");
- model = BinaryData.fromObject(model).toObject(NetworkInterfaceUpdate.class);
- Assertions.assertEquals("xodpuozmyzydagfu", model.name());
- Assertions.assertEquals("bezy", model.macAddress());
- Assertions.assertEquals("okktwhrdxw", model.virtualNetworkId());
- Assertions.assertEquals(AllocationMethod.DYNAMIC, model.ipv4AddressType());
- Assertions.assertEquals(AllocationMethod.DYNAMIC, model.ipv6AddressType());
- Assertions.assertEquals(AllocationMethod.STATIC, model.macAddressType());
- Assertions.assertEquals("ureximoryocfs", model.nicId());
- }
-}
diff --git a/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/NetworkProfileTests.java b/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/NetworkProfileTests.java
deleted file mode 100644
index 021f39a7fd638..0000000000000
--- a/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/NetworkProfileTests.java
+++ /dev/null
@@ -1,62 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.scvmm.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.scvmm.models.AllocationMethod;
-import com.azure.resourcemanager.scvmm.models.NetworkInterface;
-import com.azure.resourcemanager.scvmm.models.NetworkProfile;
-import java.util.Arrays;
-import org.junit.jupiter.api.Assertions;
-
-public final class NetworkProfileTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- NetworkProfile model = BinaryData.fromString(
- "{\"networkInterfaces\":[{\"name\":\"zwuxzd\",\"displayName\":\"a\",\"ipv4Addresses\":[\"hmwhfpmrqo\",\"mt\",\"kknryrtihf\",\"tijbpzvgnwzsymgl\"],\"ipv6Addresses\":[\"cyzkohdbihanuf\",\"fcbjysagithxqha\",\"ifpikxwczby\",\"cnpqxuhivyqniwby\"],\"macAddress\":\"k\",\"virtualNetworkId\":\"dumjgrtfwvuk\",\"networkName\":\"audccsnhs\",\"ipv4AddressType\":\"Static\",\"ipv6AddressType\":\"Dynamic\",\"macAddressType\":\"Dynamic\",\"nicId\":\"ryhtnapczwlokjy\"},{\"name\":\"kkvnipjox\",\"displayName\":\"nchgej\",\"ipv4Addresses\":[\"dmailzydehojw\",\"ahuxinpm\",\"njaqwixjspro\"],\"ipv6Addresses\":[\"putegjvwmfd\",\"t\",\"cmdv\",\"jhulsuuvmkjo\"],\"macAddress\":\"rwfndiod\",\"virtualNetworkId\":\"slwejdpvw\",\"networkName\":\"oqpsoa\",\"ipv4AddressType\":\"Dynamic\",\"ipv6AddressType\":\"Static\",\"macAddressType\":\"Dynamic\",\"nicId\":\"j\"},{\"name\":\"hbcryffdfdosyge\",\"displayName\":\"aojakhmsbzjhcrz\",\"ipv4Addresses\":[\"phlxa\",\"lthqtrgqjbp\",\"zfsinzgvf\"],\"ipv6Addresses\":[\"wzo\",\"xjtfelluwfzit\",\"np\",\"qfpjk\"],\"macAddress\":\"xofpdvhpfxxypi\",\"virtualNetworkId\":\"nmayhuybb\",\"networkName\":\"odepoogin\",\"ipv4AddressType\":\"Static\",\"ipv6AddressType\":\"Dynamic\",\"macAddressType\":\"Static\",\"nicId\":\"gnarxzxtheo\"}]}")
- .toObject(NetworkProfile.class);
- Assertions.assertEquals("zwuxzd", model.networkInterfaces().get(0).name());
- Assertions.assertEquals("k", model.networkInterfaces().get(0).macAddress());
- Assertions.assertEquals("dumjgrtfwvuk", model.networkInterfaces().get(0).virtualNetworkId());
- Assertions.assertEquals(AllocationMethod.STATIC, model.networkInterfaces().get(0).ipv4AddressType());
- Assertions.assertEquals(AllocationMethod.DYNAMIC, model.networkInterfaces().get(0).ipv6AddressType());
- Assertions.assertEquals(AllocationMethod.DYNAMIC, model.networkInterfaces().get(0).macAddressType());
- Assertions.assertEquals("ryhtnapczwlokjy", model.networkInterfaces().get(0).nicId());
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- NetworkProfile model = new NetworkProfile().withNetworkInterfaces(Arrays.asList(
- new NetworkInterface().withName("zwuxzd")
- .withMacAddress("k")
- .withVirtualNetworkId("dumjgrtfwvuk")
- .withIpv4AddressType(AllocationMethod.STATIC)
- .withIpv6AddressType(AllocationMethod.DYNAMIC)
- .withMacAddressType(AllocationMethod.DYNAMIC)
- .withNicId("ryhtnapczwlokjy"),
- new NetworkInterface().withName("kkvnipjox")
- .withMacAddress("rwfndiod")
- .withVirtualNetworkId("slwejdpvw")
- .withIpv4AddressType(AllocationMethod.DYNAMIC)
- .withIpv6AddressType(AllocationMethod.STATIC)
- .withMacAddressType(AllocationMethod.DYNAMIC)
- .withNicId("j"),
- new NetworkInterface().withName("hbcryffdfdosyge")
- .withMacAddress("xofpdvhpfxxypi")
- .withVirtualNetworkId("nmayhuybb")
- .withIpv4AddressType(AllocationMethod.STATIC)
- .withIpv6AddressType(AllocationMethod.DYNAMIC)
- .withMacAddressType(AllocationMethod.STATIC)
- .withNicId("gnarxzxtheo")));
- model = BinaryData.fromObject(model).toObject(NetworkProfile.class);
- Assertions.assertEquals("zwuxzd", model.networkInterfaces().get(0).name());
- Assertions.assertEquals("k", model.networkInterfaces().get(0).macAddress());
- Assertions.assertEquals("dumjgrtfwvuk", model.networkInterfaces().get(0).virtualNetworkId());
- Assertions.assertEquals(AllocationMethod.STATIC, model.networkInterfaces().get(0).ipv4AddressType());
- Assertions.assertEquals(AllocationMethod.DYNAMIC, model.networkInterfaces().get(0).ipv6AddressType());
- Assertions.assertEquals(AllocationMethod.DYNAMIC, model.networkInterfaces().get(0).macAddressType());
- Assertions.assertEquals("ryhtnapczwlokjy", model.networkInterfaces().get(0).nicId());
- }
-}
diff --git a/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/NetworkProfileUpdateTests.java b/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/NetworkProfileUpdateTests.java
deleted file mode 100644
index 4826dc0975e43..0000000000000
--- a/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/NetworkProfileUpdateTests.java
+++ /dev/null
@@ -1,48 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.scvmm.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.scvmm.models.AllocationMethod;
-import com.azure.resourcemanager.scvmm.models.NetworkInterfaceUpdate;
-import com.azure.resourcemanager.scvmm.models.NetworkProfileUpdate;
-import java.util.Arrays;
-import org.junit.jupiter.api.Assertions;
-
-public final class NetworkProfileUpdateTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- NetworkProfileUpdate model = BinaryData.fromString(
- "{\"networkInterfaces\":[{\"name\":\"ae\",\"macAddress\":\"fhyhltrpmopjmcma\",\"virtualNetworkId\":\"okth\",\"ipv4AddressType\":\"Dynamic\",\"ipv6AddressType\":\"Static\",\"macAddressType\":\"Static\",\"nicId\":\"fcp\"}]}")
- .toObject(NetworkProfileUpdate.class);
- Assertions.assertEquals("ae", model.networkInterfaces().get(0).name());
- Assertions.assertEquals("fhyhltrpmopjmcma", model.networkInterfaces().get(0).macAddress());
- Assertions.assertEquals("okth", model.networkInterfaces().get(0).virtualNetworkId());
- Assertions.assertEquals(AllocationMethod.DYNAMIC, model.networkInterfaces().get(0).ipv4AddressType());
- Assertions.assertEquals(AllocationMethod.STATIC, model.networkInterfaces().get(0).ipv6AddressType());
- Assertions.assertEquals(AllocationMethod.STATIC, model.networkInterfaces().get(0).macAddressType());
- Assertions.assertEquals("fcp", model.networkInterfaces().get(0).nicId());
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- NetworkProfileUpdate model
- = new NetworkProfileUpdate().withNetworkInterfaces(Arrays.asList(new NetworkInterfaceUpdate().withName("ae")
- .withMacAddress("fhyhltrpmopjmcma")
- .withVirtualNetworkId("okth")
- .withIpv4AddressType(AllocationMethod.DYNAMIC)
- .withIpv6AddressType(AllocationMethod.STATIC)
- .withMacAddressType(AllocationMethod.STATIC)
- .withNicId("fcp")));
- model = BinaryData.fromObject(model).toObject(NetworkProfileUpdate.class);
- Assertions.assertEquals("ae", model.networkInterfaces().get(0).name());
- Assertions.assertEquals("fhyhltrpmopjmcma", model.networkInterfaces().get(0).macAddress());
- Assertions.assertEquals("okth", model.networkInterfaces().get(0).virtualNetworkId());
- Assertions.assertEquals(AllocationMethod.DYNAMIC, model.networkInterfaces().get(0).ipv4AddressType());
- Assertions.assertEquals(AllocationMethod.STATIC, model.networkInterfaces().get(0).ipv6AddressType());
- Assertions.assertEquals(AllocationMethod.STATIC, model.networkInterfaces().get(0).macAddressType());
- Assertions.assertEquals("fcp", model.networkInterfaces().get(0).nicId());
- }
-}
diff --git a/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/OperationDisplayTests.java b/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/OperationDisplayTests.java
deleted file mode 100644
index 1f0dad0099031..0000000000000
--- a/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/OperationDisplayTests.java
+++ /dev/null
@@ -1,18 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.scvmm.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.scvmm.models.OperationDisplay;
-
-public final class OperationDisplayTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- OperationDisplay model = BinaryData
- .fromString(
- "{\"provider\":\"gg\",\"resource\":\"bfs\",\"operation\":\"rbu\",\"description\":\"cvpnazzmhjrunmpx\"}")
- .toObject(OperationDisplay.class);
- }
-}
diff --git a/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/OperationInnerTests.java b/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/OperationInnerTests.java
deleted file mode 100644
index 3b4ddee8d2536..0000000000000
--- a/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/OperationInnerTests.java
+++ /dev/null
@@ -1,17 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.scvmm.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.scvmm.fluent.models.OperationInner;
-
-public final class OperationInnerTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- OperationInner model = BinaryData.fromString(
- "{\"name\":\"pvecxgodeb\",\"isDataAction\":false,\"display\":{\"provider\":\"bmpukgriwflz\",\"resource\":\"bxzpuzycisp\",\"operation\":\"zahmgkbrpyydhibn\",\"description\":\"qkpikadrgvtqagnb\"},\"origin\":\"user,system\",\"actionType\":\"Internal\"}")
- .toObject(OperationInner.class);
- }
-}
diff --git a/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/OperationListResultTests.java b/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/OperationListResultTests.java
deleted file mode 100644
index 991393632ac2f..0000000000000
--- a/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/OperationListResultTests.java
+++ /dev/null
@@ -1,17 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.scvmm.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.scvmm.models.OperationListResult;
-
-public final class OperationListResultTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- OperationListResult model = BinaryData.fromString(
- "{\"value\":[{\"name\":\"kix\",\"isDataAction\":false,\"display\":{\"provider\":\"eputtmrywnuzoqf\",\"resource\":\"yqzrnkcqvyxlw\",\"operation\":\"lsicohoqqnwv\",\"description\":\"yav\"},\"origin\":\"system\",\"actionType\":\"Internal\"},{\"name\":\"mmqhgyxzkonocuk\",\"isDataAction\":false,\"display\":{\"provider\":\"xuconu\",\"resource\":\"zf\",\"operation\":\"eyp\",\"description\":\"rmjmwvvjektc\"},\"origin\":\"user\",\"actionType\":\"Internal\"},{\"name\":\"lrsf\",\"isDataAction\":false,\"display\":{\"provider\":\"v\",\"resource\":\"dqgbiqylihkaetc\",\"operation\":\"vfcivfsnkymuc\",\"description\":\"hjfbebrjcxe\"},\"origin\":\"system\",\"actionType\":\"Internal\"},{\"name\":\"ttxfvjr\",\"isDataAction\":false,\"display\":{\"provider\":\"xepcyvahfn\",\"resource\":\"kyqxjvuujqgidokg\",\"operation\":\"jyoxgvclt\",\"description\":\"sncghkjeszz\"},\"origin\":\"system\",\"actionType\":\"Internal\"}],\"nextLink\":\"xfvgxbfsmxne\"}")
- .toObject(OperationListResult.class);
- }
-}
diff --git a/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/OperationsListMockTests.java b/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/OperationsListMockTests.java
deleted file mode 100644
index 9e058a45439fe..0000000000000
--- a/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/OperationsListMockTests.java
+++ /dev/null
@@ -1,36 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.scvmm.generated;
-
-import com.azure.core.credential.AccessToken;
-import com.azure.core.http.HttpClient;
-import com.azure.core.http.rest.PagedIterable;
-import com.azure.core.management.AzureEnvironment;
-import com.azure.core.management.profile.AzureProfile;
-import com.azure.core.test.http.MockHttpResponse;
-import com.azure.resourcemanager.scvmm.ScvmmManager;
-import com.azure.resourcemanager.scvmm.models.Operation;
-import java.nio.charset.StandardCharsets;
-import java.time.OffsetDateTime;
-import org.junit.jupiter.api.Test;
-import reactor.core.publisher.Mono;
-
-public final class OperationsListMockTests {
- @Test
- public void testList() throws Exception {
- String responseStr
- = "{\"value\":[{\"name\":\"immbcx\",\"isDataAction\":true,\"display\":{\"provider\":\"orxvxcjzhqiz\",\"resource\":\"pxtgqscjav\",\"operation\":\"juhdqazkmtgguwpi\",\"description\":\"ajc\"},\"origin\":\"user,system\",\"actionType\":\"Internal\"}]}";
-
- HttpClient httpClient
- = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
- ScvmmManager manager = ScvmmManager.configure()
- .withHttpClient(httpClient)
- .authenticate(tokenRequestContext -> Mono.just(new AccessToken("this_is_a_token", OffsetDateTime.MAX)),
- new AzureProfile("", "", AzureEnvironment.AZURE));
-
- PagedIterable response = manager.operations().list(com.azure.core.util.Context.NONE);
-
- }
-}
diff --git a/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/StopVirtualMachineOptionsTests.java b/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/StopVirtualMachineOptionsTests.java
deleted file mode 100644
index 34a7584f8d96c..0000000000000
--- a/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/StopVirtualMachineOptionsTests.java
+++ /dev/null
@@ -1,26 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.scvmm.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.scvmm.models.SkipShutdown;
-import com.azure.resourcemanager.scvmm.models.StopVirtualMachineOptions;
-import org.junit.jupiter.api.Assertions;
-
-public final class StopVirtualMachineOptionsTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- StopVirtualMachineOptions model
- = BinaryData.fromString("{\"skipShutdown\":\"false\"}").toObject(StopVirtualMachineOptions.class);
- Assertions.assertEquals(SkipShutdown.FALSE, model.skipShutdown());
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- StopVirtualMachineOptions model = new StopVirtualMachineOptions().withSkipShutdown(SkipShutdown.FALSE);
- model = BinaryData.fromObject(model).toObject(StopVirtualMachineOptions.class);
- Assertions.assertEquals(SkipShutdown.FALSE, model.skipShutdown());
- }
-}
diff --git a/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/StorageProfileTests.java b/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/StorageProfileTests.java
deleted file mode 100644
index 2ad2c09cfcadf..0000000000000
--- a/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/StorageProfileTests.java
+++ /dev/null
@@ -1,74 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.scvmm.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.scvmm.models.CreateDiffDisk;
-import com.azure.resourcemanager.scvmm.models.StorageProfile;
-import com.azure.resourcemanager.scvmm.models.StorageQosPolicyDetails;
-import com.azure.resourcemanager.scvmm.models.VirtualDisk;
-import java.util.Arrays;
-import org.junit.jupiter.api.Assertions;
-
-public final class StorageProfileTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- StorageProfile model = BinaryData.fromString(
- "{\"disks\":[{\"name\":\"xsabkyqdu\",\"displayName\":\"itcjczdz\",\"diskId\":\"ndhkrw\",\"diskSizeGB\":881924894,\"maxDiskSizeGB\":176871010,\"bus\":1872271759,\"lun\":223251370,\"busType\":\"vwrwj\",\"vhdType\":\"usnhutje\",\"volumeType\":\"mrldhu\",\"vhdFormatType\":\"zzd\",\"templateDiskId\":\"qxhocdgeablgphut\",\"storageQoSPolicy\":{\"name\":\"dvkaozw\",\"id\":\"ftyhxhurokf\"},\"createDiffDisk\":\"false\"},{\"name\":\"lniwpwcukjfkgiaw\",\"displayName\":\"lryplwckbasyy\",\"diskId\":\"ddhsgcbacphe\",\"diskSizeGB\":370872808,\"maxDiskSizeGB\":2065161762,\"bus\":2116203102,\"lun\":813482060,\"busType\":\"l\",\"vhdType\":\"dlikwyqkgfgibma\",\"volumeType\":\"akeqs\",\"vhdFormatType\":\"yb\",\"templateDiskId\":\"qedqytbciqfoufl\",\"storageQoSPolicy\":{\"name\":\"kzsmodm\",\"id\":\"ougpbkwt\"},\"createDiffDisk\":\"false\"}]}")
- .toObject(StorageProfile.class);
- Assertions.assertEquals("xsabkyqdu", model.disks().get(0).name());
- Assertions.assertEquals("ndhkrw", model.disks().get(0).diskId());
- Assertions.assertEquals(881924894, model.disks().get(0).diskSizeGB());
- Assertions.assertEquals(1872271759, model.disks().get(0).bus());
- Assertions.assertEquals(223251370, model.disks().get(0).lun());
- Assertions.assertEquals("vwrwj", model.disks().get(0).busType());
- Assertions.assertEquals("usnhutje", model.disks().get(0).vhdType());
- Assertions.assertEquals("qxhocdgeablgphut", model.disks().get(0).templateDiskId());
- Assertions.assertEquals("dvkaozw", model.disks().get(0).storageQosPolicy().name());
- Assertions.assertEquals("ftyhxhurokf", model.disks().get(0).storageQosPolicy().id());
- Assertions.assertEquals(CreateDiffDisk.FALSE, model.disks().get(0).createDiffDisk());
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- StorageProfile model
- = new StorageProfile()
- .withDisks(
- Arrays.asList(
- new VirtualDisk().withName("xsabkyqdu")
- .withDiskId("ndhkrw")
- .withDiskSizeGB(881924894)
- .withBus(1872271759)
- .withLun(223251370)
- .withBusType("vwrwj")
- .withVhdType("usnhutje")
- .withTemplateDiskId("qxhocdgeablgphut")
- .withStorageQosPolicy(
- new StorageQosPolicyDetails().withName("dvkaozw").withId("ftyhxhurokf"))
- .withCreateDiffDisk(CreateDiffDisk.FALSE),
- new VirtualDisk().withName("lniwpwcukjfkgiaw")
- .withDiskId("ddhsgcbacphe")
- .withDiskSizeGB(370872808)
- .withBus(2116203102)
- .withLun(813482060)
- .withBusType("l")
- .withVhdType("dlikwyqkgfgibma")
- .withTemplateDiskId("qedqytbciqfoufl")
- .withStorageQosPolicy(new StorageQosPolicyDetails().withName("kzsmodm").withId("ougpbkwt"))
- .withCreateDiffDisk(CreateDiffDisk.FALSE)));
- model = BinaryData.fromObject(model).toObject(StorageProfile.class);
- Assertions.assertEquals("xsabkyqdu", model.disks().get(0).name());
- Assertions.assertEquals("ndhkrw", model.disks().get(0).diskId());
- Assertions.assertEquals(881924894, model.disks().get(0).diskSizeGB());
- Assertions.assertEquals(1872271759, model.disks().get(0).bus());
- Assertions.assertEquals(223251370, model.disks().get(0).lun());
- Assertions.assertEquals("vwrwj", model.disks().get(0).busType());
- Assertions.assertEquals("usnhutje", model.disks().get(0).vhdType());
- Assertions.assertEquals("qxhocdgeablgphut", model.disks().get(0).templateDiskId());
- Assertions.assertEquals("dvkaozw", model.disks().get(0).storageQosPolicy().name());
- Assertions.assertEquals("ftyhxhurokf", model.disks().get(0).storageQosPolicy().id());
- Assertions.assertEquals(CreateDiffDisk.FALSE, model.disks().get(0).createDiffDisk());
- }
-}
diff --git a/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/StorageProfileUpdateTests.java b/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/StorageProfileUpdateTests.java
deleted file mode 100644
index 282e0075487de..0000000000000
--- a/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/StorageProfileUpdateTests.java
+++ /dev/null
@@ -1,53 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.scvmm.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.scvmm.models.StorageProfileUpdate;
-import com.azure.resourcemanager.scvmm.models.StorageQosPolicyDetails;
-import com.azure.resourcemanager.scvmm.models.VirtualDiskUpdate;
-import java.util.Arrays;
-import org.junit.jupiter.api.Assertions;
-
-public final class StorageProfileUpdateTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- StorageProfileUpdate model = BinaryData.fromString(
- "{\"disks\":[{\"name\":\"mddystkiiux\",\"diskId\":\"yudxorrqnbp\",\"diskSizeGB\":999035629,\"bus\":2085551487,\"lun\":2041227856,\"busType\":\"rvkdvjsllrm\",\"vhdType\":\"d\",\"storageQoSPolicy\":{\"name\":\"t\",\"id\":\"n\"}}]}")
- .toObject(StorageProfileUpdate.class);
- Assertions.assertEquals("mddystkiiux", model.disks().get(0).name());
- Assertions.assertEquals("yudxorrqnbp", model.disks().get(0).diskId());
- Assertions.assertEquals(999035629, model.disks().get(0).diskSizeGB());
- Assertions.assertEquals(2085551487, model.disks().get(0).bus());
- Assertions.assertEquals(2041227856, model.disks().get(0).lun());
- Assertions.assertEquals("rvkdvjsllrm", model.disks().get(0).busType());
- Assertions.assertEquals("d", model.disks().get(0).vhdType());
- Assertions.assertEquals("t", model.disks().get(0).storageQosPolicy().name());
- Assertions.assertEquals("n", model.disks().get(0).storageQosPolicy().id());
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- StorageProfileUpdate model
- = new StorageProfileUpdate().withDisks(Arrays.asList(new VirtualDiskUpdate().withName("mddystkiiux")
- .withDiskId("yudxorrqnbp")
- .withDiskSizeGB(999035629)
- .withBus(2085551487)
- .withLun(2041227856)
- .withBusType("rvkdvjsllrm")
- .withVhdType("d")
- .withStorageQosPolicy(new StorageQosPolicyDetails().withName("t").withId("n"))));
- model = BinaryData.fromObject(model).toObject(StorageProfileUpdate.class);
- Assertions.assertEquals("mddystkiiux", model.disks().get(0).name());
- Assertions.assertEquals("yudxorrqnbp", model.disks().get(0).diskId());
- Assertions.assertEquals(999035629, model.disks().get(0).diskSizeGB());
- Assertions.assertEquals(2085551487, model.disks().get(0).bus());
- Assertions.assertEquals(2041227856, model.disks().get(0).lun());
- Assertions.assertEquals("rvkdvjsllrm", model.disks().get(0).busType());
- Assertions.assertEquals("d", model.disks().get(0).vhdType());
- Assertions.assertEquals("t", model.disks().get(0).storageQosPolicy().name());
- Assertions.assertEquals("n", model.disks().get(0).storageQosPolicy().id());
- }
-}
diff --git a/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/StorageQosPolicyDetailsTests.java b/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/StorageQosPolicyDetailsTests.java
deleted file mode 100644
index abdf4992d0547..0000000000000
--- a/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/StorageQosPolicyDetailsTests.java
+++ /dev/null
@@ -1,27 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.scvmm.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.scvmm.models.StorageQosPolicyDetails;
-import org.junit.jupiter.api.Assertions;
-
-public final class StorageQosPolicyDetailsTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- StorageQosPolicyDetails model = BinaryData.fromString("{\"name\":\"bnwbxgjvtbvpyssz\",\"id\":\"rujqg\"}")
- .toObject(StorageQosPolicyDetails.class);
- Assertions.assertEquals("bnwbxgjvtbvpyssz", model.name());
- Assertions.assertEquals("rujqg", model.id());
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- StorageQosPolicyDetails model = new StorageQosPolicyDetails().withName("bnwbxgjvtbvpyssz").withId("rujqg");
- model = BinaryData.fromObject(model).toObject(StorageQosPolicyDetails.class);
- Assertions.assertEquals("bnwbxgjvtbvpyssz", model.name());
- Assertions.assertEquals("rujqg", model.id());
- }
-}
diff --git a/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/StorageQosPolicyTests.java b/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/StorageQosPolicyTests.java
deleted file mode 100644
index 46b07e7014124..0000000000000
--- a/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/StorageQosPolicyTests.java
+++ /dev/null
@@ -1,41 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.scvmm.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.scvmm.models.StorageQosPolicy;
-import org.junit.jupiter.api.Assertions;
-
-public final class StorageQosPolicyTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- StorageQosPolicy model = BinaryData.fromString(
- "{\"name\":\"konzmnsik\",\"id\":\"kqze\",\"iopsMaximum\":4891735483783264620,\"iopsMinimum\":3222886554645871935,\"bandwidthLimit\":2941591087358508203,\"policyId\":\"hvhgureod\"}")
- .toObject(StorageQosPolicy.class);
- Assertions.assertEquals("konzmnsik", model.name());
- Assertions.assertEquals("kqze", model.id());
- Assertions.assertEquals(4891735483783264620L, model.iopsMaximum());
- Assertions.assertEquals(3222886554645871935L, model.iopsMinimum());
- Assertions.assertEquals(2941591087358508203L, model.bandwidthLimit());
- Assertions.assertEquals("hvhgureod", model.policyId());
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- StorageQosPolicy model = new StorageQosPolicy().withName("konzmnsik")
- .withId("kqze")
- .withIopsMaximum(4891735483783264620L)
- .withIopsMinimum(3222886554645871935L)
- .withBandwidthLimit(2941591087358508203L)
- .withPolicyId("hvhgureod");
- model = BinaryData.fromObject(model).toObject(StorageQosPolicy.class);
- Assertions.assertEquals("konzmnsik", model.name());
- Assertions.assertEquals("kqze", model.id());
- Assertions.assertEquals(4891735483783264620L, model.iopsMaximum());
- Assertions.assertEquals(3222886554645871935L, model.iopsMinimum());
- Assertions.assertEquals(2941591087358508203L, model.bandwidthLimit());
- Assertions.assertEquals("hvhgureod", model.policyId());
- }
-}
diff --git a/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/VirtualDiskTests.java b/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/VirtualDiskTests.java
deleted file mode 100644
index 904ba797e3352..0000000000000
--- a/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/VirtualDiskTests.java
+++ /dev/null
@@ -1,57 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.scvmm.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.scvmm.models.CreateDiffDisk;
-import com.azure.resourcemanager.scvmm.models.StorageQosPolicyDetails;
-import com.azure.resourcemanager.scvmm.models.VirtualDisk;
-import org.junit.jupiter.api.Assertions;
-
-public final class VirtualDiskTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- VirtualDisk model = BinaryData.fromString(
- "{\"name\":\"uqktap\",\"displayName\":\"wgcu\",\"diskId\":\"tumkdosvqwhbm\",\"diskSizeGB\":1497620633,\"maxDiskSizeGB\":398280406,\"bus\":1089342550,\"lun\":763703494,\"busType\":\"bmbexppbhtqqro\",\"vhdType\":\"p\",\"volumeType\":\"s\",\"vhdFormatType\":\"gbquxigj\",\"templateDiskId\":\"gzjaoyfhrtxilne\",\"storageQoSPolicy\":{\"name\":\"jysvl\",\"id\":\"uvfqawrlyxwj\"},\"createDiffDisk\":\"false\"}")
- .toObject(VirtualDisk.class);
- Assertions.assertEquals("uqktap", model.name());
- Assertions.assertEquals("tumkdosvqwhbm", model.diskId());
- Assertions.assertEquals(1497620633, model.diskSizeGB());
- Assertions.assertEquals(1089342550, model.bus());
- Assertions.assertEquals(763703494, model.lun());
- Assertions.assertEquals("bmbexppbhtqqro", model.busType());
- Assertions.assertEquals("p", model.vhdType());
- Assertions.assertEquals("gzjaoyfhrtxilne", model.templateDiskId());
- Assertions.assertEquals("jysvl", model.storageQosPolicy().name());
- Assertions.assertEquals("uvfqawrlyxwj", model.storageQosPolicy().id());
- Assertions.assertEquals(CreateDiffDisk.FALSE, model.createDiffDisk());
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- VirtualDisk model = new VirtualDisk().withName("uqktap")
- .withDiskId("tumkdosvqwhbm")
- .withDiskSizeGB(1497620633)
- .withBus(1089342550)
- .withLun(763703494)
- .withBusType("bmbexppbhtqqro")
- .withVhdType("p")
- .withTemplateDiskId("gzjaoyfhrtxilne")
- .withStorageQosPolicy(new StorageQosPolicyDetails().withName("jysvl").withId("uvfqawrlyxwj"))
- .withCreateDiffDisk(CreateDiffDisk.FALSE);
- model = BinaryData.fromObject(model).toObject(VirtualDisk.class);
- Assertions.assertEquals("uqktap", model.name());
- Assertions.assertEquals("tumkdosvqwhbm", model.diskId());
- Assertions.assertEquals(1497620633, model.diskSizeGB());
- Assertions.assertEquals(1089342550, model.bus());
- Assertions.assertEquals(763703494, model.lun());
- Assertions.assertEquals("bmbexppbhtqqro", model.busType());
- Assertions.assertEquals("p", model.vhdType());
- Assertions.assertEquals("gzjaoyfhrtxilne", model.templateDiskId());
- Assertions.assertEquals("jysvl", model.storageQosPolicy().name());
- Assertions.assertEquals("uvfqawrlyxwj", model.storageQosPolicy().id());
- Assertions.assertEquals(CreateDiffDisk.FALSE, model.createDiffDisk());
- }
-}
diff --git a/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/VirtualDiskUpdateTests.java b/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/VirtualDiskUpdateTests.java
deleted file mode 100644
index d3676dff3177e..0000000000000
--- a/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/VirtualDiskUpdateTests.java
+++ /dev/null
@@ -1,50 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.scvmm.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.scvmm.models.StorageQosPolicyDetails;
-import com.azure.resourcemanager.scvmm.models.VirtualDiskUpdate;
-import org.junit.jupiter.api.Assertions;
-
-public final class VirtualDiskUpdateTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- VirtualDiskUpdate model = BinaryData.fromString(
- "{\"name\":\"lexxbczwtru\",\"diskId\":\"qzbqjvsov\",\"diskSizeGB\":1785684937,\"bus\":1778259828,\"lun\":1485053733,\"busType\":\"kwlhzdo\",\"vhdType\":\"xjmflbvv\",\"storageQoSPolicy\":{\"name\":\"rkcciwwzjuqk\",\"id\":\"sa\"}}")
- .toObject(VirtualDiskUpdate.class);
- Assertions.assertEquals("lexxbczwtru", model.name());
- Assertions.assertEquals("qzbqjvsov", model.diskId());
- Assertions.assertEquals(1785684937, model.diskSizeGB());
- Assertions.assertEquals(1778259828, model.bus());
- Assertions.assertEquals(1485053733, model.lun());
- Assertions.assertEquals("kwlhzdo", model.busType());
- Assertions.assertEquals("xjmflbvv", model.vhdType());
- Assertions.assertEquals("rkcciwwzjuqk", model.storageQosPolicy().name());
- Assertions.assertEquals("sa", model.storageQosPolicy().id());
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- VirtualDiskUpdate model = new VirtualDiskUpdate().withName("lexxbczwtru")
- .withDiskId("qzbqjvsov")
- .withDiskSizeGB(1785684937)
- .withBus(1778259828)
- .withLun(1485053733)
- .withBusType("kwlhzdo")
- .withVhdType("xjmflbvv")
- .withStorageQosPolicy(new StorageQosPolicyDetails().withName("rkcciwwzjuqk").withId("sa"));
- model = BinaryData.fromObject(model).toObject(VirtualDiskUpdate.class);
- Assertions.assertEquals("lexxbczwtru", model.name());
- Assertions.assertEquals("qzbqjvsov", model.diskId());
- Assertions.assertEquals(1785684937, model.diskSizeGB());
- Assertions.assertEquals(1778259828, model.bus());
- Assertions.assertEquals(1485053733, model.lun());
- Assertions.assertEquals("kwlhzdo", model.busType());
- Assertions.assertEquals("xjmflbvv", model.vhdType());
- Assertions.assertEquals("rkcciwwzjuqk", model.storageQosPolicy().name());
- Assertions.assertEquals("sa", model.storageQosPolicy().id());
- }
-}
diff --git a/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/VirtualMachineCreateCheckpointTests.java b/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/VirtualMachineCreateCheckpointTests.java
deleted file mode 100644
index 80eb03b877bc1..0000000000000
--- a/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/VirtualMachineCreateCheckpointTests.java
+++ /dev/null
@@ -1,29 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.scvmm.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.scvmm.models.VirtualMachineCreateCheckpoint;
-import org.junit.jupiter.api.Assertions;
-
-public final class VirtualMachineCreateCheckpointTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- VirtualMachineCreateCheckpoint model
- = BinaryData.fromString("{\"name\":\"jmvxie\",\"description\":\"ugidyjrr\"}")
- .toObject(VirtualMachineCreateCheckpoint.class);
- Assertions.assertEquals("jmvxie", model.name());
- Assertions.assertEquals("ugidyjrr", model.description());
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- VirtualMachineCreateCheckpoint model
- = new VirtualMachineCreateCheckpoint().withName("jmvxie").withDescription("ugidyjrr");
- model = BinaryData.fromObject(model).toObject(VirtualMachineCreateCheckpoint.class);
- Assertions.assertEquals("jmvxie", model.name());
- Assertions.assertEquals("ugidyjrr", model.description());
- }
-}
diff --git a/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/VirtualMachineDeleteCheckpointTests.java b/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/VirtualMachineDeleteCheckpointTests.java
deleted file mode 100644
index 85ee7e7c14998..0000000000000
--- a/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/VirtualMachineDeleteCheckpointTests.java
+++ /dev/null
@@ -1,25 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.scvmm.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.scvmm.models.VirtualMachineDeleteCheckpoint;
-import org.junit.jupiter.api.Assertions;
-
-public final class VirtualMachineDeleteCheckpointTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- VirtualMachineDeleteCheckpoint model
- = BinaryData.fromString("{\"id\":\"y\"}").toObject(VirtualMachineDeleteCheckpoint.class);
- Assertions.assertEquals("y", model.id());
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- VirtualMachineDeleteCheckpoint model = new VirtualMachineDeleteCheckpoint().withId("y");
- model = BinaryData.fromObject(model).toObject(VirtualMachineDeleteCheckpoint.class);
- Assertions.assertEquals("y", model.id());
- }
-}
diff --git a/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/VirtualMachineInstanceUpdatePropertiesTests.java b/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/VirtualMachineInstanceUpdatePropertiesTests.java
deleted file mode 100644
index dac6c305e7504..0000000000000
--- a/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/VirtualMachineInstanceUpdatePropertiesTests.java
+++ /dev/null
@@ -1,135 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.scvmm.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.scvmm.models.AllocationMethod;
-import com.azure.resourcemanager.scvmm.models.AvailabilitySetListItem;
-import com.azure.resourcemanager.scvmm.models.DynamicMemoryEnabled;
-import com.azure.resourcemanager.scvmm.models.HardwareProfileUpdate;
-import com.azure.resourcemanager.scvmm.models.InfrastructureProfileUpdate;
-import com.azure.resourcemanager.scvmm.models.LimitCpuForMigration;
-import com.azure.resourcemanager.scvmm.models.NetworkInterfaceUpdate;
-import com.azure.resourcemanager.scvmm.models.NetworkProfileUpdate;
-import com.azure.resourcemanager.scvmm.models.StorageProfileUpdate;
-import com.azure.resourcemanager.scvmm.models.StorageQosPolicyDetails;
-import com.azure.resourcemanager.scvmm.models.VirtualDiskUpdate;
-import com.azure.resourcemanager.scvmm.models.VirtualMachineInstanceUpdateProperties;
-import java.util.Arrays;
-import org.junit.jupiter.api.Assertions;
-
-public final class VirtualMachineInstanceUpdatePropertiesTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- VirtualMachineInstanceUpdateProperties model = BinaryData.fromString(
- "{\"availabilitySets\":[{\"id\":\"jampmngnzscxaqw\",\"name\":\"chcbonqvpkvlrxnj\"},{\"id\":\"seiphe\",\"name\":\"lokeyy\"},{\"id\":\"nj\",\"name\":\"lwtgrhpdj\"}],\"hardwareProfile\":{\"memoryMB\":1270874920,\"cpuCount\":1786348929,\"limitCpuForMigration\":\"false\",\"dynamicMemoryEnabled\":\"true\",\"dynamicMemoryMaxMB\":958851014,\"dynamicMemoryMinMB\":184362773},\"networkProfile\":{\"networkInterfaces\":[{\"name\":\"hb\",\"macAddress\":\"hejjz\",\"virtualNetworkId\":\"dudgwdslfhot\",\"ipv4AddressType\":\"Static\",\"ipv6AddressType\":\"Static\",\"macAddressType\":\"Static\",\"nicId\":\"bjnpg\"},{\"name\":\"ftadehxnltyfs\",\"macAddress\":\"pusuesn\",\"virtualNetworkId\":\"dejbavo\",\"ipv4AddressType\":\"Static\",\"ipv6AddressType\":\"Dynamic\",\"macAddressType\":\"Static\",\"nicId\":\"tbqvudw\"}]},\"storageProfile\":{\"disks\":[{\"name\":\"vo\",\"diskId\":\"ujjugwdkcglh\",\"diskSizeGB\":1950035591,\"bus\":3147535,\"lun\":24046342,\"busType\":\"gdtjixhbkuofqwey\",\"vhdType\":\"menevfyexfwh\",\"storageQoSPolicy\":{\"name\":\"i\",\"id\":\"yvdcsitynnaa\"}},{\"name\":\"ectehf\",\"diskId\":\"scjeypv\",\"diskSizeGB\":1363658384,\"bus\":902064602,\"lun\":177141497,\"busType\":\"c\",\"vhdType\":\"efovgmk\",\"storageQoSPolicy\":{\"name\":\"eyyvxyqjpkcat\",\"id\":\"ngj\"}}]},\"infrastructureProfile\":{\"checkpointType\":\"czsqpjhvm\"}}")
- .toObject(VirtualMachineInstanceUpdateProperties.class);
- Assertions.assertEquals("jampmngnzscxaqw", model.availabilitySets().get(0).id());
- Assertions.assertEquals("chcbonqvpkvlrxnj", model.availabilitySets().get(0).name());
- Assertions.assertEquals(1270874920, model.hardwareProfile().memoryMB());
- Assertions.assertEquals(1786348929, model.hardwareProfile().cpuCount());
- Assertions.assertEquals(LimitCpuForMigration.FALSE, model.hardwareProfile().limitCpuForMigration());
- Assertions.assertEquals(DynamicMemoryEnabled.TRUE, model.hardwareProfile().dynamicMemoryEnabled());
- Assertions.assertEquals(958851014, model.hardwareProfile().dynamicMemoryMaxMB());
- Assertions.assertEquals(184362773, model.hardwareProfile().dynamicMemoryMinMB());
- Assertions.assertEquals("hb", model.networkProfile().networkInterfaces().get(0).name());
- Assertions.assertEquals("hejjz", model.networkProfile().networkInterfaces().get(0).macAddress());
- Assertions.assertEquals("dudgwdslfhot", model.networkProfile().networkInterfaces().get(0).virtualNetworkId());
- Assertions.assertEquals(AllocationMethod.STATIC,
- model.networkProfile().networkInterfaces().get(0).ipv4AddressType());
- Assertions.assertEquals(AllocationMethod.STATIC,
- model.networkProfile().networkInterfaces().get(0).ipv6AddressType());
- Assertions.assertEquals(AllocationMethod.STATIC,
- model.networkProfile().networkInterfaces().get(0).macAddressType());
- Assertions.assertEquals("bjnpg", model.networkProfile().networkInterfaces().get(0).nicId());
- Assertions.assertEquals("vo", model.storageProfile().disks().get(0).name());
- Assertions.assertEquals("ujjugwdkcglh", model.storageProfile().disks().get(0).diskId());
- Assertions.assertEquals(1950035591, model.storageProfile().disks().get(0).diskSizeGB());
- Assertions.assertEquals(3147535, model.storageProfile().disks().get(0).bus());
- Assertions.assertEquals(24046342, model.storageProfile().disks().get(0).lun());
- Assertions.assertEquals("gdtjixhbkuofqwey", model.storageProfile().disks().get(0).busType());
- Assertions.assertEquals("menevfyexfwh", model.storageProfile().disks().get(0).vhdType());
- Assertions.assertEquals("i", model.storageProfile().disks().get(0).storageQosPolicy().name());
- Assertions.assertEquals("yvdcsitynnaa", model.storageProfile().disks().get(0).storageQosPolicy().id());
- Assertions.assertEquals("czsqpjhvm", model.infrastructureProfile().checkpointType());
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- VirtualMachineInstanceUpdateProperties model = new VirtualMachineInstanceUpdateProperties()
- .withAvailabilitySets(
- Arrays.asList(new AvailabilitySetListItem().withId("jampmngnzscxaqw").withName("chcbonqvpkvlrxnj"),
- new AvailabilitySetListItem().withId("seiphe").withName("lokeyy"),
- new AvailabilitySetListItem().withId("nj").withName("lwtgrhpdj")))
- .withHardwareProfile(new HardwareProfileUpdate().withMemoryMB(1270874920)
- .withCpuCount(1786348929)
- .withLimitCpuForMigration(LimitCpuForMigration.FALSE)
- .withDynamicMemoryEnabled(DynamicMemoryEnabled.TRUE)
- .withDynamicMemoryMaxMB(958851014)
- .withDynamicMemoryMinMB(184362773))
- .withNetworkProfile(new NetworkProfileUpdate().withNetworkInterfaces(Arrays.asList(
- new NetworkInterfaceUpdate().withName("hb")
- .withMacAddress("hejjz")
- .withVirtualNetworkId("dudgwdslfhot")
- .withIpv4AddressType(AllocationMethod.STATIC)
- .withIpv6AddressType(AllocationMethod.STATIC)
- .withMacAddressType(AllocationMethod.STATIC)
- .withNicId("bjnpg"),
- new NetworkInterfaceUpdate().withName("ftadehxnltyfs")
- .withMacAddress("pusuesn")
- .withVirtualNetworkId("dejbavo")
- .withIpv4AddressType(AllocationMethod.STATIC)
- .withIpv6AddressType(AllocationMethod.DYNAMIC)
- .withMacAddressType(AllocationMethod.STATIC)
- .withNicId("tbqvudw"))))
- .withStorageProfile(new StorageProfileUpdate().withDisks(Arrays.asList(
- new VirtualDiskUpdate().withName("vo")
- .withDiskId("ujjugwdkcglh")
- .withDiskSizeGB(1950035591)
- .withBus(3147535)
- .withLun(24046342)
- .withBusType("gdtjixhbkuofqwey")
- .withVhdType("menevfyexfwh")
- .withStorageQosPolicy(new StorageQosPolicyDetails().withName("i").withId("yvdcsitynnaa")),
- new VirtualDiskUpdate().withName("ectehf")
- .withDiskId("scjeypv")
- .withDiskSizeGB(1363658384)
- .withBus(902064602)
- .withLun(177141497)
- .withBusType("c")
- .withVhdType("efovgmk")
- .withStorageQosPolicy(new StorageQosPolicyDetails().withName("eyyvxyqjpkcat").withId("ngj")))))
- .withInfrastructureProfile(new InfrastructureProfileUpdate().withCheckpointType("czsqpjhvm"));
- model = BinaryData.fromObject(model).toObject(VirtualMachineInstanceUpdateProperties.class);
- Assertions.assertEquals("jampmngnzscxaqw", model.availabilitySets().get(0).id());
- Assertions.assertEquals("chcbonqvpkvlrxnj", model.availabilitySets().get(0).name());
- Assertions.assertEquals(1270874920, model.hardwareProfile().memoryMB());
- Assertions.assertEquals(1786348929, model.hardwareProfile().cpuCount());
- Assertions.assertEquals(LimitCpuForMigration.FALSE, model.hardwareProfile().limitCpuForMigration());
- Assertions.assertEquals(DynamicMemoryEnabled.TRUE, model.hardwareProfile().dynamicMemoryEnabled());
- Assertions.assertEquals(958851014, model.hardwareProfile().dynamicMemoryMaxMB());
- Assertions.assertEquals(184362773, model.hardwareProfile().dynamicMemoryMinMB());
- Assertions.assertEquals("hb", model.networkProfile().networkInterfaces().get(0).name());
- Assertions.assertEquals("hejjz", model.networkProfile().networkInterfaces().get(0).macAddress());
- Assertions.assertEquals("dudgwdslfhot", model.networkProfile().networkInterfaces().get(0).virtualNetworkId());
- Assertions.assertEquals(AllocationMethod.STATIC,
- model.networkProfile().networkInterfaces().get(0).ipv4AddressType());
- Assertions.assertEquals(AllocationMethod.STATIC,
- model.networkProfile().networkInterfaces().get(0).ipv6AddressType());
- Assertions.assertEquals(AllocationMethod.STATIC,
- model.networkProfile().networkInterfaces().get(0).macAddressType());
- Assertions.assertEquals("bjnpg", model.networkProfile().networkInterfaces().get(0).nicId());
- Assertions.assertEquals("vo", model.storageProfile().disks().get(0).name());
- Assertions.assertEquals("ujjugwdkcglh", model.storageProfile().disks().get(0).diskId());
- Assertions.assertEquals(1950035591, model.storageProfile().disks().get(0).diskSizeGB());
- Assertions.assertEquals(3147535, model.storageProfile().disks().get(0).bus());
- Assertions.assertEquals(24046342, model.storageProfile().disks().get(0).lun());
- Assertions.assertEquals("gdtjixhbkuofqwey", model.storageProfile().disks().get(0).busType());
- Assertions.assertEquals("menevfyexfwh", model.storageProfile().disks().get(0).vhdType());
- Assertions.assertEquals("i", model.storageProfile().disks().get(0).storageQosPolicy().name());
- Assertions.assertEquals("yvdcsitynnaa", model.storageProfile().disks().get(0).storageQosPolicy().id());
- Assertions.assertEquals("czsqpjhvm", model.infrastructureProfile().checkpointType());
- }
-}
diff --git a/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/VirtualMachineInstanceUpdateTests.java b/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/VirtualMachineInstanceUpdateTests.java
deleted file mode 100644
index 55e80cb18bd3a..0000000000000
--- a/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/VirtualMachineInstanceUpdateTests.java
+++ /dev/null
@@ -1,149 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.scvmm.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.scvmm.models.AllocationMethod;
-import com.azure.resourcemanager.scvmm.models.AvailabilitySetListItem;
-import com.azure.resourcemanager.scvmm.models.DynamicMemoryEnabled;
-import com.azure.resourcemanager.scvmm.models.HardwareProfileUpdate;
-import com.azure.resourcemanager.scvmm.models.InfrastructureProfileUpdate;
-import com.azure.resourcemanager.scvmm.models.LimitCpuForMigration;
-import com.azure.resourcemanager.scvmm.models.NetworkInterfaceUpdate;
-import com.azure.resourcemanager.scvmm.models.NetworkProfileUpdate;
-import com.azure.resourcemanager.scvmm.models.StorageProfileUpdate;
-import com.azure.resourcemanager.scvmm.models.StorageQosPolicyDetails;
-import com.azure.resourcemanager.scvmm.models.VirtualDiskUpdate;
-import com.azure.resourcemanager.scvmm.models.VirtualMachineInstanceUpdate;
-import com.azure.resourcemanager.scvmm.models.VirtualMachineInstanceUpdateProperties;
-import java.util.Arrays;
-import org.junit.jupiter.api.Assertions;
-
-public final class VirtualMachineInstanceUpdateTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- VirtualMachineInstanceUpdate model = BinaryData.fromString(
- "{\"properties\":{\"availabilitySets\":[{\"id\":\"rlovmclwhijcoej\",\"name\":\"bzaqsqsycbkbfk\"},{\"id\":\"kdkexxp\",\"name\":\"fmxa\"},{\"id\":\"fjpgddtocjjxhvp\",\"name\":\"uexhdzx\"},{\"id\":\"qeojnxqbzvddntw\",\"name\":\"eic\"}],\"hardwareProfile\":{\"memoryMB\":1604770276,\"cpuCount\":537336258,\"limitCpuForMigration\":\"true\",\"dynamicMemoryEnabled\":\"false\",\"dynamicMemoryMaxMB\":2037494020,\"dynamicMemoryMinMB\":2040818894},\"networkProfile\":{\"networkInterfaces\":[{\"name\":\"yd\",\"macAddress\":\"lmjthjq\",\"virtualNetworkId\":\"pyeicxm\",\"ipv4AddressType\":\"Dynamic\",\"ipv6AddressType\":\"Dynamic\",\"macAddressType\":\"Dynamic\",\"nicId\":\"hix\"},{\"name\":\"gdtopbobjogh\",\"macAddress\":\"w\",\"virtualNetworkId\":\"m\",\"ipv4AddressType\":\"Static\",\"ipv6AddressType\":\"Dynamic\",\"macAddressType\":\"Static\",\"nicId\":\"vtpgvdfgiotkf\"}]},\"storageProfile\":{\"disks\":[{\"name\":\"ln\",\"diskId\":\"lefgugnxk\",\"diskSizeGB\":1788312026,\"bus\":435751453,\"lun\":423857841,\"busType\":\"thz\",\"vhdType\":\"qdrabhjybigehoqf\",\"storageQoSPolicy\":{\"name\":\"skanyk\",\"id\":\"lcuiywgqywgndr\"}},{\"name\":\"nhzgpphrcgyn\",\"diskId\":\"cpecfvmmcoofs\",\"diskSizeGB\":1165207027,\"bus\":164546469,\"lun\":903903169,\"busType\":\"qjqabcypmivkwl\",\"vhdType\":\"vccfw\",\"storageQoSPolicy\":{\"name\":\"bacfionlebxetq\",\"id\":\"zxdpnqbqqw\"}}]},\"infrastructureProfile\":{\"checkpointType\":\"feallnwsu\"}}}")
- .toObject(VirtualMachineInstanceUpdate.class);
- Assertions.assertEquals("rlovmclwhijcoej", model.properties().availabilitySets().get(0).id());
- Assertions.assertEquals("bzaqsqsycbkbfk", model.properties().availabilitySets().get(0).name());
- Assertions.assertEquals(1604770276, model.properties().hardwareProfile().memoryMB());
- Assertions.assertEquals(537336258, model.properties().hardwareProfile().cpuCount());
- Assertions.assertEquals(LimitCpuForMigration.TRUE, model.properties().hardwareProfile().limitCpuForMigration());
- Assertions.assertEquals(DynamicMemoryEnabled.FALSE,
- model.properties().hardwareProfile().dynamicMemoryEnabled());
- Assertions.assertEquals(2037494020, model.properties().hardwareProfile().dynamicMemoryMaxMB());
- Assertions.assertEquals(2040818894, model.properties().hardwareProfile().dynamicMemoryMinMB());
- Assertions.assertEquals("yd", model.properties().networkProfile().networkInterfaces().get(0).name());
- Assertions.assertEquals("lmjthjq", model.properties().networkProfile().networkInterfaces().get(0).macAddress());
- Assertions.assertEquals("pyeicxm",
- model.properties().networkProfile().networkInterfaces().get(0).virtualNetworkId());
- Assertions.assertEquals(AllocationMethod.DYNAMIC,
- model.properties().networkProfile().networkInterfaces().get(0).ipv4AddressType());
- Assertions.assertEquals(AllocationMethod.DYNAMIC,
- model.properties().networkProfile().networkInterfaces().get(0).ipv6AddressType());
- Assertions.assertEquals(AllocationMethod.DYNAMIC,
- model.properties().networkProfile().networkInterfaces().get(0).macAddressType());
- Assertions.assertEquals("hix", model.properties().networkProfile().networkInterfaces().get(0).nicId());
- Assertions.assertEquals("ln", model.properties().storageProfile().disks().get(0).name());
- Assertions.assertEquals("lefgugnxk", model.properties().storageProfile().disks().get(0).diskId());
- Assertions.assertEquals(1788312026, model.properties().storageProfile().disks().get(0).diskSizeGB());
- Assertions.assertEquals(435751453, model.properties().storageProfile().disks().get(0).bus());
- Assertions.assertEquals(423857841, model.properties().storageProfile().disks().get(0).lun());
- Assertions.assertEquals("thz", model.properties().storageProfile().disks().get(0).busType());
- Assertions.assertEquals("qdrabhjybigehoqf", model.properties().storageProfile().disks().get(0).vhdType());
- Assertions.assertEquals("skanyk", model.properties().storageProfile().disks().get(0).storageQosPolicy().name());
- Assertions.assertEquals("lcuiywgqywgndr",
- model.properties().storageProfile().disks().get(0).storageQosPolicy().id());
- Assertions.assertEquals("feallnwsu", model.properties().infrastructureProfile().checkpointType());
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- VirtualMachineInstanceUpdate model
- = new VirtualMachineInstanceUpdate().withProperties(new VirtualMachineInstanceUpdateProperties()
- .withAvailabilitySets(
- Arrays.asList(new AvailabilitySetListItem().withId("rlovmclwhijcoej").withName("bzaqsqsycbkbfk"),
- new AvailabilitySetListItem().withId("kdkexxp").withName("fmxa"),
- new AvailabilitySetListItem().withId("fjpgddtocjjxhvp").withName("uexhdzx"),
- new AvailabilitySetListItem().withId("qeojnxqbzvddntw").withName("eic")))
- .withHardwareProfile(new HardwareProfileUpdate().withMemoryMB(1604770276)
- .withCpuCount(537336258)
- .withLimitCpuForMigration(LimitCpuForMigration.TRUE)
- .withDynamicMemoryEnabled(DynamicMemoryEnabled.FALSE)
- .withDynamicMemoryMaxMB(2037494020)
- .withDynamicMemoryMinMB(2040818894))
- .withNetworkProfile(new NetworkProfileUpdate().withNetworkInterfaces(Arrays.asList(
- new NetworkInterfaceUpdate().withName("yd")
- .withMacAddress("lmjthjq")
- .withVirtualNetworkId("pyeicxm")
- .withIpv4AddressType(AllocationMethod.DYNAMIC)
- .withIpv6AddressType(AllocationMethod.DYNAMIC)
- .withMacAddressType(AllocationMethod.DYNAMIC)
- .withNicId("hix"),
- new NetworkInterfaceUpdate().withName("gdtopbobjogh")
- .withMacAddress("w")
- .withVirtualNetworkId("m")
- .withIpv4AddressType(AllocationMethod.STATIC)
- .withIpv6AddressType(AllocationMethod.DYNAMIC)
- .withMacAddressType(AllocationMethod.STATIC)
- .withNicId("vtpgvdfgiotkf"))))
- .withStorageProfile(
- new StorageProfileUpdate()
- .withDisks(
- Arrays.asList(
- new VirtualDiskUpdate().withName("ln")
- .withDiskId("lefgugnxk")
- .withDiskSizeGB(1788312026)
- .withBus(435751453)
- .withLun(423857841)
- .withBusType("thz")
- .withVhdType("qdrabhjybigehoqf")
- .withStorageQosPolicy(
- new StorageQosPolicyDetails().withName("skanyk").withId("lcuiywgqywgndr")),
- new VirtualDiskUpdate().withName("nhzgpphrcgyn")
- .withDiskId("cpecfvmmcoofs")
- .withDiskSizeGB(1165207027)
- .withBus(164546469)
- .withLun(903903169)
- .withBusType("qjqabcypmivkwl")
- .withVhdType("vccfw")
- .withStorageQosPolicy(new StorageQosPolicyDetails().withName("bacfionlebxetq")
- .withId("zxdpnqbqqw")))))
- .withInfrastructureProfile(new InfrastructureProfileUpdate().withCheckpointType("feallnwsu")));
- model = BinaryData.fromObject(model).toObject(VirtualMachineInstanceUpdate.class);
- Assertions.assertEquals("rlovmclwhijcoej", model.properties().availabilitySets().get(0).id());
- Assertions.assertEquals("bzaqsqsycbkbfk", model.properties().availabilitySets().get(0).name());
- Assertions.assertEquals(1604770276, model.properties().hardwareProfile().memoryMB());
- Assertions.assertEquals(537336258, model.properties().hardwareProfile().cpuCount());
- Assertions.assertEquals(LimitCpuForMigration.TRUE, model.properties().hardwareProfile().limitCpuForMigration());
- Assertions.assertEquals(DynamicMemoryEnabled.FALSE,
- model.properties().hardwareProfile().dynamicMemoryEnabled());
- Assertions.assertEquals(2037494020, model.properties().hardwareProfile().dynamicMemoryMaxMB());
- Assertions.assertEquals(2040818894, model.properties().hardwareProfile().dynamicMemoryMinMB());
- Assertions.assertEquals("yd", model.properties().networkProfile().networkInterfaces().get(0).name());
- Assertions.assertEquals("lmjthjq", model.properties().networkProfile().networkInterfaces().get(0).macAddress());
- Assertions.assertEquals("pyeicxm",
- model.properties().networkProfile().networkInterfaces().get(0).virtualNetworkId());
- Assertions.assertEquals(AllocationMethod.DYNAMIC,
- model.properties().networkProfile().networkInterfaces().get(0).ipv4AddressType());
- Assertions.assertEquals(AllocationMethod.DYNAMIC,
- model.properties().networkProfile().networkInterfaces().get(0).ipv6AddressType());
- Assertions.assertEquals(AllocationMethod.DYNAMIC,
- model.properties().networkProfile().networkInterfaces().get(0).macAddressType());
- Assertions.assertEquals("hix", model.properties().networkProfile().networkInterfaces().get(0).nicId());
- Assertions.assertEquals("ln", model.properties().storageProfile().disks().get(0).name());
- Assertions.assertEquals("lefgugnxk", model.properties().storageProfile().disks().get(0).diskId());
- Assertions.assertEquals(1788312026, model.properties().storageProfile().disks().get(0).diskSizeGB());
- Assertions.assertEquals(435751453, model.properties().storageProfile().disks().get(0).bus());
- Assertions.assertEquals(423857841, model.properties().storageProfile().disks().get(0).lun());
- Assertions.assertEquals("thz", model.properties().storageProfile().disks().get(0).busType());
- Assertions.assertEquals("qdrabhjybigehoqf", model.properties().storageProfile().disks().get(0).vhdType());
- Assertions.assertEquals("skanyk", model.properties().storageProfile().disks().get(0).storageQosPolicy().name());
- Assertions.assertEquals("lcuiywgqywgndr",
- model.properties().storageProfile().disks().get(0).storageQosPolicy().id());
- Assertions.assertEquals("feallnwsu", model.properties().infrastructureProfile().checkpointType());
- }
-}
diff --git a/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/VirtualMachineInventoryItemTests.java b/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/VirtualMachineInventoryItemTests.java
deleted file mode 100644
index 91e1ba79e0267..0000000000000
--- a/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/VirtualMachineInventoryItemTests.java
+++ /dev/null
@@ -1,34 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.scvmm.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.scvmm.models.InventoryItemDetails;
-import com.azure.resourcemanager.scvmm.models.VirtualMachineInventoryItem;
-import java.util.Arrays;
-import org.junit.jupiter.api.Assertions;
-
-public final class VirtualMachineInventoryItemTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- VirtualMachineInventoryItem model = BinaryData.fromString(
- "{\"inventoryType\":\"VirtualMachine\",\"osType\":\"Windows\",\"osName\":\"iycslevuf\",\"osVersion\":\"tcktyhjtqedcgzu\",\"powerState\":\"mmrqz\",\"ipAddresses\":[\"jvpglydzgk\",\"vqeevtoep\",\"yutnwytpzdmov\",\"vf\"],\"cloud\":{\"inventoryItemId\":\"wzqa\",\"inventoryItemName\":\"lgzurig\"},\"biosGuid\":\"ecxn\",\"managedMachineResourceId\":\"icokpv\",\"managedResourceId\":\"lqtmldgxob\",\"uuid\":\"rclnpkc\",\"inventoryItemName\":\"yzriykhy\",\"provisioningState\":\"Accepted\"}")
- .toObject(VirtualMachineInventoryItem.class);
- Assertions.assertEquals("jvpglydzgk", model.ipAddresses().get(0));
- Assertions.assertEquals("wzqa", model.cloud().inventoryItemId());
- Assertions.assertEquals("lgzurig", model.cloud().inventoryItemName());
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- VirtualMachineInventoryItem model = new VirtualMachineInventoryItem()
- .withIpAddresses(Arrays.asList("jvpglydzgk", "vqeevtoep", "yutnwytpzdmov", "vf"))
- .withCloud(new InventoryItemDetails().withInventoryItemId("wzqa").withInventoryItemName("lgzurig"));
- model = BinaryData.fromObject(model).toObject(VirtualMachineInventoryItem.class);
- Assertions.assertEquals("jvpglydzgk", model.ipAddresses().get(0));
- Assertions.assertEquals("wzqa", model.cloud().inventoryItemId());
- Assertions.assertEquals("lgzurig", model.cloud().inventoryItemName());
- }
-}
diff --git a/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/VirtualMachineRestoreCheckpointTests.java b/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/VirtualMachineRestoreCheckpointTests.java
deleted file mode 100644
index 173f49b9cb868..0000000000000
--- a/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/VirtualMachineRestoreCheckpointTests.java
+++ /dev/null
@@ -1,25 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.scvmm.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.scvmm.models.VirtualMachineRestoreCheckpoint;
-import org.junit.jupiter.api.Assertions;
-
-public final class VirtualMachineRestoreCheckpointTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- VirtualMachineRestoreCheckpoint model
- = BinaryData.fromString("{\"id\":\"lpbuxwgipwhonowk\"}").toObject(VirtualMachineRestoreCheckpoint.class);
- Assertions.assertEquals("lpbuxwgipwhonowk", model.id());
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- VirtualMachineRestoreCheckpoint model = new VirtualMachineRestoreCheckpoint().withId("lpbuxwgipwhonowk");
- model = BinaryData.fromObject(model).toObject(VirtualMachineRestoreCheckpoint.class);
- Assertions.assertEquals("lpbuxwgipwhonowk", model.id());
- }
-}
diff --git a/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/VirtualMachineTemplateInnerTests.java b/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/VirtualMachineTemplateInnerTests.java
deleted file mode 100644
index e524d2bcdf40e..0000000000000
--- a/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/VirtualMachineTemplateInnerTests.java
+++ /dev/null
@@ -1,59 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.scvmm.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.scvmm.fluent.models.VirtualMachineTemplateInner;
-import com.azure.resourcemanager.scvmm.models.ExtendedLocation;
-import com.azure.resourcemanager.scvmm.models.VirtualMachineTemplateProperties;
-import java.util.HashMap;
-import java.util.Map;
-import org.junit.jupiter.api.Assertions;
-
-public final class VirtualMachineTemplateInnerTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- VirtualMachineTemplateInner model = BinaryData.fromString(
- "{\"properties\":{\"inventoryItemId\":\"rhneuyowq\",\"uuid\":\"wyt\",\"vmmServerId\":\"ib\",\"osType\":\"Linux\",\"osName\":\"pikpz\",\"computerName\":\"ejzanlfz\",\"memoryMB\":386879497,\"cpuCount\":1297052787,\"limitCpuForMigration\":\"true\",\"dynamicMemoryEnabled\":\"true\",\"isCustomizable\":\"false\",\"dynamicMemoryMaxMB\":185109829,\"dynamicMemoryMinMB\":988966310,\"isHighlyAvailable\":\"true\",\"generation\":1122267125,\"networkInterfaces\":[{\"name\":\"pfrlazsz\",\"displayName\":\"woiindf\",\"ipv4Addresses\":[\"jylwbtlhflsj\"],\"ipv6Addresses\":[\"szfjvfbgofelja\",\"rqmq\"],\"macAddress\":\"dvriiiojnal\",\"virtualNetworkId\":\"fk\",\"networkName\":\"vsexsowuelu\",\"ipv4AddressType\":\"Static\",\"ipv6AddressType\":\"Static\",\"macAddressType\":\"Static\",\"nicId\":\"rhmzkwpj\"},{\"name\":\"wspughftqsxhqx\",\"displayName\":\"xukndxdigr\",\"ipv4Addresses\":[\"ufzdmsyq\",\"fi\",\"whbotzingamv\",\"phoszqz\"],\"ipv6Addresses\":[\"hqamvdkf\",\"ynwcvtbv\",\"ayhmtnvyqiatkz\",\"pcnp\"],\"macAddress\":\"cjaesgvvs\",\"virtualNetworkId\":\"yajguqfhwygzlv\",\"networkName\":\"kfxu\",\"ipv4AddressType\":\"Static\",\"ipv6AddressType\":\"Dynamic\",\"macAddressType\":\"Static\",\"nicId\":\"uh\"}],\"disks\":[{\"name\":\"qdpsqxqvpsvu\",\"displayName\":\"mgccelvezrypq\",\"diskId\":\"feo\",\"diskSizeGB\":1208971148,\"maxDiskSizeGB\":1007513685,\"bus\":835251373,\"lun\":137094818,\"busType\":\"bopgxedkowepbqp\",\"vhdType\":\"fkbw\",\"volumeType\":\"snjvcdwxlpqekftn\",\"vhdFormatType\":\"tjsyin\",\"templateDiskId\":\"fq\",\"storageQoSPolicy\":{\"name\":\"tdhtmdvyp\",\"id\":\"kdgszywkbirr\"},\"createDiffDisk\":\"true\"},{\"name\":\"lhkjoqrvqq\",\"displayName\":\"t\",\"diskId\":\"nrvgoupmfiibfgg\",\"diskSizeGB\":615385800,\"maxDiskSizeGB\":364570184,\"bus\":466932926,\"lun\":176109120,\"busType\":\"v\",\"vhdType\":\"k\",\"volumeType\":\"lqwjygvjayvblm\",\"vhdFormatType\":\"k\",\"templateDiskId\":\"hbxvvyhgsopbyrqu\",\"storageQoSPolicy\":{\"name\":\"xuvw\",\"id\":\"bnhlmc\"},\"createDiffDisk\":\"true\"}],\"provisioningState\":\"Created\"},\"extendedLocation\":{\"type\":\"itvgbmhrixkwm\",\"name\":\"jejveg\"},\"location\":\"bpnaixexccbdre\",\"tags\":{\"qkghtpwijnhy\":\"cexdrrvqa\",\"owvrvmtgjqppyos\":\"svfycxzbfv\",\"sxkm\":\"ronzmyhgfip\"},\"id\":\"waekrrjreafxtsgu\",\"name\":\"hjglikk\",\"type\":\"wslolbqp\"}")
- .toObject(VirtualMachineTemplateInner.class);
- Assertions.assertEquals("bpnaixexccbdre", model.location());
- Assertions.assertEquals("cexdrrvqa", model.tags().get("qkghtpwijnhy"));
- Assertions.assertEquals("rhneuyowq", model.properties().inventoryItemId());
- Assertions.assertEquals("wyt", model.properties().uuid());
- Assertions.assertEquals("ib", model.properties().vmmServerId());
- Assertions.assertEquals("itvgbmhrixkwm", model.extendedLocation().type());
- Assertions.assertEquals("jejveg", model.extendedLocation().name());
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- VirtualMachineTemplateInner model = new VirtualMachineTemplateInner().withLocation("bpnaixexccbdre")
- .withTags(mapOf("qkghtpwijnhy", "cexdrrvqa", "owvrvmtgjqppyos", "svfycxzbfv", "sxkm", "ronzmyhgfip"))
- .withProperties(new VirtualMachineTemplateProperties().withInventoryItemId("rhneuyowq")
- .withUuid("wyt")
- .withVmmServerId("ib"))
- .withExtendedLocation(new ExtendedLocation().withType("itvgbmhrixkwm").withName("jejveg"));
- model = BinaryData.fromObject(model).toObject(VirtualMachineTemplateInner.class);
- Assertions.assertEquals("bpnaixexccbdre", model.location());
- Assertions.assertEquals("cexdrrvqa", model.tags().get("qkghtpwijnhy"));
- Assertions.assertEquals("rhneuyowq", model.properties().inventoryItemId());
- Assertions.assertEquals("wyt", model.properties().uuid());
- Assertions.assertEquals("ib", model.properties().vmmServerId());
- Assertions.assertEquals("itvgbmhrixkwm", model.extendedLocation().type());
- Assertions.assertEquals("jejveg", model.extendedLocation().name());
- }
-
- // Use "Map.of" if available
- @SuppressWarnings("unchecked")
- private static Map mapOf(Object... inputs) {
- Map map = new HashMap<>();
- for (int i = 0; i < inputs.length; i += 2) {
- String key = (String) inputs[i];
- T value = (T) inputs[i + 1];
- map.put(key, value);
- }
- return map;
- }
-}
diff --git a/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/VirtualMachineTemplateInventoryItemTests.java b/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/VirtualMachineTemplateInventoryItemTests.java
deleted file mode 100644
index 0f216d0d6428c..0000000000000
--- a/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/VirtualMachineTemplateInventoryItemTests.java
+++ /dev/null
@@ -1,23 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.scvmm.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.scvmm.models.VirtualMachineTemplateInventoryItem;
-
-public final class VirtualMachineTemplateInventoryItemTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- VirtualMachineTemplateInventoryItem model = BinaryData.fromString(
- "{\"inventoryType\":\"VirtualMachineTemplate\",\"cpuCount\":638538203,\"memoryMB\":156446182,\"osType\":\"Windows\",\"osName\":\"vkjlmxhom\",\"managedResourceId\":\"nhdwdigumbnra\",\"uuid\":\"zzp\",\"inventoryItemName\":\"a\",\"provisioningState\":\"Provisioning\"}")
- .toObject(VirtualMachineTemplateInventoryItem.class);
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- VirtualMachineTemplateInventoryItem model = new VirtualMachineTemplateInventoryItem();
- model = BinaryData.fromObject(model).toObject(VirtualMachineTemplateInventoryItem.class);
- }
-}
diff --git a/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/VirtualMachineTemplateListResultTests.java b/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/VirtualMachineTemplateListResultTests.java
deleted file mode 100644
index 14b5b5d38db4e..0000000000000
--- a/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/VirtualMachineTemplateListResultTests.java
+++ /dev/null
@@ -1,25 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.scvmm.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.scvmm.models.VirtualMachineTemplateListResult;
-import org.junit.jupiter.api.Assertions;
-
-public final class VirtualMachineTemplateListResultTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- VirtualMachineTemplateListResult model = BinaryData.fromString(
- "{\"value\":[{\"properties\":{\"inventoryItemId\":\"dagxtibqd\",\"uuid\":\"xwak\",\"vmmServerId\":\"gqxndlkzgxhuripl\",\"osType\":\"Linux\",\"osName\":\"xunkbebxmubyynt\",\"computerName\":\"rbqtkoie\",\"memoryMB\":1053107000,\"cpuCount\":921402224,\"limitCpuForMigration\":\"true\",\"dynamicMemoryEnabled\":\"true\",\"isCustomizable\":\"false\",\"dynamicMemoryMaxMB\":98779693,\"dynamicMemoryMinMB\":1887219641,\"isHighlyAvailable\":\"true\",\"generation\":284153241,\"networkInterfaces\":[{\"name\":\"bm\",\"displayName\":\"cjefuzmu\",\"ipv4Addresses\":[\"ttdumorppxebmnzb\",\"bhjpglkfgohdne\",\"el\"],\"ipv6Addresses\":[\"sdyhtozfikdowwq\"],\"macAddress\":\"v\",\"virtualNetworkId\":\"xclvit\",\"networkName\":\"qzonosggbhcohf\",\"ipv4AddressType\":\"Dynamic\",\"ipv6AddressType\":\"Dynamic\",\"macAddressType\":\"Static\",\"nicId\":\"jutiiswacff\"}],\"disks\":[{\"name\":\"zewk\",\"displayName\":\"hqcrailvpnpp\",\"diskId\":\"flrwd\",\"diskSizeGB\":1982601986,\"maxDiskSizeGB\":1444401866,\"bus\":885184868,\"lun\":1095036678,\"busType\":\"agafcnihgwqap\",\"vhdType\":\"dgfbcvkcvqvpke\",\"volumeType\":\"cvdrhvoodsot\",\"vhdFormatType\":\"bzdopcj\",\"templateDiskId\":\"nhdldwmgxcx\",\"storageQoSPolicy\":{},\"createDiffDisk\":\"true\"}],\"provisioningState\":\"Failed\"},\"extendedLocation\":{\"type\":\"wuoegrpk\",\"name\":\"wniyqsluicpd\"},\"location\":\"kzzlvmbmpaxmodf\",\"tags\":{\"sbpfvmwyhr\":\"fy\"},\"id\":\"ouyftaakc\",\"name\":\"wiyzvqtmnubexkp\",\"type\":\"ksmond\"},{\"properties\":{\"inventoryItemId\":\"uxvypomgkopkwh\",\"uuid\":\"v\",\"vmmServerId\":\"jqg\",\"osType\":\"Other\",\"osName\":\"ocmbqfqvmkcxoza\",\"computerName\":\"helxprglya\",\"memoryMB\":1462356590,\"cpuCount\":1586709440,\"limitCpuForMigration\":\"false\",\"dynamicMemoryEnabled\":\"true\",\"isCustomizable\":\"false\",\"dynamicMemoryMaxMB\":465544934,\"dynamicMemoryMinMB\":1949252963,\"isHighlyAvailable\":\"true\",\"generation\":785036468,\"networkInterfaces\":[{\"name\":\"osx\",\"displayName\":\"qrhzoymibmrqyib\",\"ipv4Addresses\":[\"fluszdtm\",\"rkwofyyvoqa\"],\"ipv6Addresses\":[\"expbtg\",\"wbwo\",\"nwashrtd\"],\"macAddress\":\"cnqxwbpokulpi\",\"virtualNetworkId\":\"waasip\",\"networkName\":\"iobyu\",\"ipv4AddressType\":\"Dynamic\",\"ipv6AddressType\":\"Static\",\"macAddressType\":\"Static\",\"nicId\":\"wcciuqgbdbu\"}],\"disks\":[{\"name\":\"fbtkuwhhmhyk\",\"displayName\":\"oxafn\",\"diskId\":\"lpichk\",\"diskSizeGB\":1847154217,\"maxDiskSizeGB\":1638328793,\"bus\":1909436106,\"lun\":103737339,\"busType\":\"kkpwdreqnovvq\",\"vhdType\":\"vljxywsu\",\"volumeType\":\"yrs\",\"vhdFormatType\":\"sytgadgvraea\",\"templateDiskId\":\"e\",\"storageQoSPolicy\":{},\"createDiffDisk\":\"true\"},{\"name\":\"rwlqu\",\"displayName\":\"jfqka\",\"diskId\":\"wiipfpub\",\"diskSizeGB\":1516044260,\"maxDiskSizeGB\":1113434704,\"bus\":254804801,\"lun\":1572357139,\"busType\":\"qkvpuvksgplsakn\",\"vhdType\":\"fsynljphuop\",\"volumeType\":\"dlqiyntorzih\",\"vhdFormatType\":\"osjswsr\",\"templateDiskId\":\"lyzrpzbchckqqzqi\",\"storageQoSPolicy\":{},\"createDiffDisk\":\"false\"},{\"name\":\"uiizynke\",\"displayName\":\"atrwyhqmibzyh\",\"diskId\":\"tsmypyynpcdp\",\"diskSizeGB\":874382237,\"maxDiskSizeGB\":66905695,\"bus\":944462660,\"lun\":1547081847,\"busType\":\"abikns\",\"vhdType\":\"gj\",\"volumeType\":\"bldtlww\",\"vhdFormatType\":\"kdmtncvokotll\",\"templateDiskId\":\"yhgsy\",\"storageQoSPolicy\":{},\"createDiffDisk\":\"false\"}],\"provisioningState\":\"Updating\"},\"extendedLocation\":{\"type\":\"dtbnnha\",\"name\":\"ocrkvcikh\"},\"location\":\"p\",\"tags\":{\"wggxkallat\":\"gxqquezik\",\"cjzkzivgvvcna\":\"elwuipi\",\"drd\":\"rhyrnxxmueed\"},\"id\":\"stkwqqtch\",\"name\":\"alm\",\"type\":\"mtdaa\"},{\"properties\":{\"inventoryItemId\":\"v\",\"uuid\":\"gpiohgwxrtfudxe\",\"vmmServerId\":\"gyqagvrvmnpkuk\",\"osType\":\"Windows\",\"osName\":\"dblx\",\"computerName\":\"imfnjhfjx\",\"memoryMB\":205109580,\"cpuCount\":1343784830,\"limitCpuForMigration\":\"false\",\"dynamicMemoryEnabled\":\"true\",\"isCustomizable\":\"false\",\"dynamicMemoryMaxMB\":1631223460,\"dynamicMemoryMinMB\":520152641,\"isHighlyAvailable\":\"true\",\"generation\":2032728059,\"networkInterfaces\":[{\"name\":\"eaivxwczel\",\"displayName\":\"irels\",\"ipv4Addresses\":[\"enwabfatk\",\"ddxbjhwuaanoz\"],\"ipv6Addresses\":[\"ph\",\"oulpjrv\",\"ag\",\"rvimjwosytxitcsk\"],\"macAddress\":\"k\",\"virtualNetworkId\":\"umiekkezzi\",\"networkName\":\"ly\",\"ipv4AddressType\":\"Dynamic\",\"ipv6AddressType\":\"Static\",\"macAddressType\":\"Dynamic\",\"nicId\":\"ebdunyg\"},{\"name\":\"qidbqfatpxllrxcy\",\"displayName\":\"oadsuvar\",\"ipv4Addresses\":[\"dmjsjqb\",\"hhyxxrw\",\"yc\",\"duhpk\"],\"ipv6Addresses\":[\"ymareqnajxqugj\",\"ky\"],\"macAddress\":\"beddgssofw\",\"virtualNetworkId\":\"zqalkrmnjijpx\",\"networkName\":\"q\",\"ipv4AddressType\":\"Static\",\"ipv6AddressType\":\"Static\",\"macAddressType\":\"Static\",\"nicId\":\"baaa\"}],\"disks\":[{\"name\":\"ayffim\",\"displayName\":\"rtuzqogs\",\"diskId\":\"nevfdnw\",\"diskSizeGB\":2059840008,\"maxDiskSizeGB\":377160768,\"bus\":1440499034,\"lun\":10547913,\"busType\":\"euzsoi\",\"vhdType\":\"ud\",\"volumeType\":\"rx\",\"vhdFormatType\":\"thzvaytdwkqbrqu\",\"templateDiskId\":\"axhexiilivp\",\"storageQoSPolicy\":{},\"createDiffDisk\":\"true\"},{\"name\":\"q\",\"displayName\":\"qoaxoruzfgs\",\"diskId\":\"yfxrx\",\"diskSizeGB\":1104175771,\"maxDiskSizeGB\":2043686923,\"bus\":137172163,\"lun\":699446772,\"busType\":\"ezw\",\"vhdType\":\"nwxuqlcvydyp\",\"volumeType\":\"dooaojkniodko\",\"vhdFormatType\":\"bw\",\"templateDiskId\":\"jhemms\",\"storageQoSPolicy\":{},\"createDiffDisk\":\"false\"},{\"name\":\"rodtjinfwjlfl\",\"displayName\":\"acjvefkd\",\"diskId\":\"oakggkfpag\",\"diskSizeGB\":577549105,\"maxDiskSizeGB\":1739461107,\"bus\":1784212142,\"lun\":1177485669,\"busType\":\"ylsyxkqjnsje\",\"vhdType\":\"tiagx\",\"volumeType\":\"sz\",\"vhdFormatType\":\"mpsbzkfzbeyv\",\"templateDiskId\":\"qi\",\"storageQoSPolicy\":{},\"createDiffDisk\":\"false\"}],\"provisioningState\":\"Failed\"},\"extendedLocation\":{\"type\":\"jxdxrbuukz\",\"name\":\"ewyhml\"},\"location\":\"aztz\",\"tags\":{\"fz\":\"ncckw\"},\"id\":\"whxxbuyqax\",\"name\":\"feqztppriol\",\"type\":\"or\"},{\"properties\":{\"inventoryItemId\":\"tolmncwsobqw\",\"uuid\":\"dbnw\",\"vmmServerId\":\"fhucqdpfuv\",\"osType\":\"Windows\",\"osName\":\"jjcanvxbvtv\",\"computerName\":\"utncorm\",\"memoryMB\":1945766703,\"cpuCount\":1218996877,\"limitCpuForMigration\":\"false\",\"dynamicMemoryEnabled\":\"false\",\"isCustomizable\":\"true\",\"dynamicMemoryMaxMB\":1364369199,\"dynamicMemoryMinMB\":2052668715,\"isHighlyAvailable\":\"true\",\"generation\":1902610413,\"networkInterfaces\":[{\"name\":\"nnqvsa\",\"displayName\":\"qntorudsgsahmkyc\",\"ipv4Addresses\":[\"uwjuetaeburuvdmo\",\"s\",\"zlxwabmqoefkifr\"],\"ipv6Addresses\":[\"u\",\"ujmqlgkfbtndoa\",\"n\",\"bjcntujitc\"],\"macAddress\":\"df\",\"virtualNetworkId\":\"waezkojvd\",\"networkName\":\"zfoqouicybxar\",\"ipv4AddressType\":\"Static\",\"ipv6AddressType\":\"Dynamic\",\"macAddressType\":\"Static\",\"nicId\":\"ciqopidoa\"},{\"name\":\"iodhkhazxkhnz\",\"displayName\":\"nlwntoe\",\"ipv4Addresses\":[\"dwbwhkszzcmrvexz\",\"vbtqgsfraoyzk\",\"owtlmnguxawqald\"],\"ipv6Addresses\":[\"uximerqfobw\",\"znkbykutwpfhpagm\"],\"macAddress\":\"skdsnfdsdoakg\",\"virtualNetworkId\":\"lmkk\",\"networkName\":\"vdlhewpusdsttwv\",\"ipv4AddressType\":\"Static\",\"ipv6AddressType\":\"Dynamic\",\"macAddressType\":\"Dynamic\",\"nicId\":\"cngqqmoakufgmjz\"},{\"name\":\"rdgrtw\",\"displayName\":\"nuuzkopbm\",\"ipv4Addresses\":[\"fdwoyuhh\",\"iuiefozbhdmsm\"],\"ipv6Addresses\":[\"qhoftrmaequiah\",\"icslfaoq\"],\"macAddress\":\"iyylhalnswhccsp\",\"virtualNetworkId\":\"aivwitqscywu\",\"networkName\":\"woluhczbwemhair\",\"ipv4AddressType\":\"Static\",\"ipv6AddressType\":\"Dynamic\",\"macAddressType\":\"Static\",\"nicId\":\"swe\"}],\"disks\":[{\"name\":\"dxggicccnxqhuexm\",\"displayName\":\"tlstvlzywem\",\"diskId\":\"rncsdtclu\",\"diskSizeGB\":2121256273,\"maxDiskSizeGB\":1137275627,\"bus\":1674447280,\"lun\":1861224364,\"busType\":\"gusl\",\"vhdType\":\"adcy\",\"volumeType\":\"ukyhejhzis\",\"vhdFormatType\":\"fpel\",\"templateDiskId\":\"p\",\"storageQoSPolicy\":{},\"createDiffDisk\":\"true\"},{\"name\":\"pqvujzraehtwdwrf\",\"displayName\":\"wib\",\"diskId\":\"cdl\",\"diskSizeGB\":1538697515,\"maxDiskSizeGB\":523065183,\"bus\":206253573,\"lun\":137143614,\"busType\":\"stwit\",\"vhdType\":\"hevxcced\",\"volumeType\":\"nmdyodnwzxl\",\"vhdFormatType\":\"cvnhltiugc\",\"templateDiskId\":\"avvwxqi\",\"storageQoSPolicy\":{},\"createDiffDisk\":\"true\"},{\"name\":\"y\",\"displayName\":\"xwlmdjr\",\"diskId\":\"fgbvfvpdbo\",\"diskSizeGB\":2095776205,\"maxDiskSizeGB\":1592823352,\"bus\":218756340,\"lun\":1933405509,\"busType\":\"krribdeibqi\",\"vhdType\":\"kghv\",\"volumeType\":\"dzwmkrefajpj\",\"vhdFormatType\":\"wkqnyhg\",\"templateDiskId\":\"j\",\"storageQoSPolicy\":{},\"createDiffDisk\":\"true\"}],\"provisioningState\":\"Provisioning\"},\"extendedLocation\":{\"type\":\"sjabibs\",\"name\":\"tawfsdjpvkvp\"},\"location\":\"xbkzbzkdvncj\",\"tags\":{\"jjklff\":\"durgkakmokz\",\"bizikayuhq\":\"mouwqlgzrfzeey\",\"wrv\":\"bjbsybb\"},\"id\":\"ldgmfpgvmpip\",\"name\":\"slthaq\",\"type\":\"x\"}],\"nextLink\":\"mwutwbdsre\"}")
- .toObject(VirtualMachineTemplateListResult.class);
- Assertions.assertEquals("kzzlvmbmpaxmodf", model.value().get(0).location());
- Assertions.assertEquals("fy", model.value().get(0).tags().get("sbpfvmwyhr"));
- Assertions.assertEquals("dagxtibqd", model.value().get(0).properties().inventoryItemId());
- Assertions.assertEquals("xwak", model.value().get(0).properties().uuid());
- Assertions.assertEquals("gqxndlkzgxhuripl", model.value().get(0).properties().vmmServerId());
- Assertions.assertEquals("wuoegrpk", model.value().get(0).extendedLocation().type());
- Assertions.assertEquals("wniyqsluicpd", model.value().get(0).extendedLocation().name());
- }
-}
diff --git a/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/VirtualMachineTemplatePropertiesTests.java b/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/VirtualMachineTemplatePropertiesTests.java
deleted file mode 100644
index bb4e2d737bc73..0000000000000
--- a/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/VirtualMachineTemplatePropertiesTests.java
+++ /dev/null
@@ -1,33 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.scvmm.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.scvmm.models.VirtualMachineTemplateProperties;
-import org.junit.jupiter.api.Assertions;
-
-public final class VirtualMachineTemplatePropertiesTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- VirtualMachineTemplateProperties model = BinaryData.fromString(
- "{\"inventoryItemId\":\"zlmvfelfktgp\",\"uuid\":\"rpw\",\"vmmServerId\":\"eznoig\",\"osType\":\"Linux\",\"osName\":\"w\",\"computerName\":\"kpnb\",\"memoryMB\":1716189852,\"cpuCount\":1901897096,\"limitCpuForMigration\":\"true\",\"dynamicMemoryEnabled\":\"false\",\"isCustomizable\":\"false\",\"dynamicMemoryMaxMB\":959686247,\"dynamicMemoryMinMB\":1162521892,\"isHighlyAvailable\":\"false\",\"generation\":1479780432,\"networkInterfaces\":[{\"name\":\"nfaazpxdtnkdmkq\",\"displayName\":\"lwuenvrkp\",\"ipv4Addresses\":[\"aibrebqaaysjkixq\",\"nqttezl\",\"fffiak\",\"jpqqmted\"],\"ipv6Addresses\":[\"mjihyeozphv\"],\"macAddress\":\"uyqncygupkvipmd\",\"virtualNetworkId\":\"wx\",\"networkName\":\"pevzhfst\",\"ipv4AddressType\":\"Dynamic\",\"ipv6AddressType\":\"Dynamic\",\"macAddressType\":\"Static\",\"nicId\":\"bypel\"},{\"name\":\"uvhixbjxyfwn\",\"displayName\":\"r\",\"ipv4Addresses\":[\"lsttpkiwkkbnuj\"],\"ipv6Addresses\":[\"vtylbfpncu\",\"doiwi\",\"thtywub\",\"cbihwqk\"],\"macAddress\":\"dntwjchrdgo\",\"virtualNetworkId\":\"xum\",\"networkName\":\"ton\",\"ipv4AddressType\":\"Dynamic\",\"ipv6AddressType\":\"Dynamic\",\"macAddressType\":\"Static\",\"nicId\":\"dlwggytsbwtovv\"}],\"disks\":[{\"name\":\"inqfiufxqknpirgn\",\"displayName\":\"ttwqmsni\",\"diskId\":\"cdm\",\"diskSizeGB\":266606002,\"maxDiskSizeGB\":235273121,\"bus\":803649154,\"lun\":1533423181,\"busType\":\"k\",\"vhdType\":\"frddhcrati\",\"volumeType\":\"ronasxift\",\"vhdFormatType\":\"qyzhf\",\"templateDiskId\":\"esgogc\",\"storageQoSPolicy\":{\"name\":\"nnxk\",\"id\":\"gnyhmossxkkg\"},\"createDiffDisk\":\"false\"},{\"name\":\"gh\",\"displayName\":\"bdhqxvcxgf\",\"diskId\":\"dsofbshrns\",\"diskSizeGB\":1330323698,\"maxDiskSizeGB\":1537279832,\"bus\":333268682,\"lun\":1290029311,\"busType\":\"bycnunvjsrtkf\",\"vhdType\":\"nopqgikyzirtx\",\"volumeType\":\"uxzejntpsew\",\"vhdFormatType\":\"oi\",\"templateDiskId\":\"ukry\",\"storageQoSPolicy\":{\"name\":\"qmi\",\"id\":\"xorgg\"},\"createDiffDisk\":\"false\"},{\"name\":\"aomtbghhavgrvkff\",\"displayName\":\"jzhpjbibgjmfx\",\"diskId\":\"vfcluyovwxnbkfe\",\"diskSizeGB\":1782319370,\"maxDiskSizeGB\":357757853,\"bus\":740528384,\"lun\":1673017156,\"busType\":\"g\",\"vhdType\":\"ujb\",\"volumeType\":\"omvzzbtd\",\"vhdFormatType\":\"vp\",\"templateDiskId\":\"yujviylwdshfssn\",\"storageQoSPolicy\":{\"name\":\"ye\",\"id\":\"ymsgaojfmwnc\"},\"createDiffDisk\":\"false\"}],\"provisioningState\":\"Failed\"}")
- .toObject(VirtualMachineTemplateProperties.class);
- Assertions.assertEquals("zlmvfelfktgp", model.inventoryItemId());
- Assertions.assertEquals("rpw", model.uuid());
- Assertions.assertEquals("eznoig", model.vmmServerId());
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- VirtualMachineTemplateProperties model
- = new VirtualMachineTemplateProperties().withInventoryItemId("zlmvfelfktgp")
- .withUuid("rpw")
- .withVmmServerId("eznoig");
- model = BinaryData.fromObject(model).toObject(VirtualMachineTemplateProperties.class);
- Assertions.assertEquals("zlmvfelfktgp", model.inventoryItemId());
- Assertions.assertEquals("rpw", model.uuid());
- Assertions.assertEquals("eznoig", model.vmmServerId());
- }
-}
diff --git a/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/VirtualMachineTemplateTagsUpdateTests.java b/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/VirtualMachineTemplateTagsUpdateTests.java
deleted file mode 100644
index e2d021a59d7c9..0000000000000
--- a/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/VirtualMachineTemplateTagsUpdateTests.java
+++ /dev/null
@@ -1,41 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.scvmm.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.scvmm.models.VirtualMachineTemplateTagsUpdate;
-import java.util.HashMap;
-import java.util.Map;
-import org.junit.jupiter.api.Assertions;
-
-public final class VirtualMachineTemplateTagsUpdateTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- VirtualMachineTemplateTagsUpdate model
- = BinaryData.fromString("{\"tags\":{\"cxkdmligovi\":\"opidkqqfkuv\",\"goorbteo\":\"rxkpmloazuruoc\"}}")
- .toObject(VirtualMachineTemplateTagsUpdate.class);
- Assertions.assertEquals("opidkqqfkuv", model.tags().get("cxkdmligovi"));
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- VirtualMachineTemplateTagsUpdate model = new VirtualMachineTemplateTagsUpdate()
- .withTags(mapOf("cxkdmligovi", "opidkqqfkuv", "goorbteo", "rxkpmloazuruoc"));
- model = BinaryData.fromObject(model).toObject(VirtualMachineTemplateTagsUpdate.class);
- Assertions.assertEquals("opidkqqfkuv", model.tags().get("cxkdmligovi"));
- }
-
- // Use "Map.of" if available
- @SuppressWarnings("unchecked")
- private static Map mapOf(Object... inputs) {
- Map map = new HashMap<>();
- for (int i = 0; i < inputs.length; i += 2) {
- String key = (String) inputs[i];
- T value = (T) inputs[i + 1];
- map.put(key, value);
- }
- return map;
- }
-}
diff --git a/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/VirtualMachineTemplatesCreateOrUpdateMockTests.java b/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/VirtualMachineTemplatesCreateOrUpdateMockTests.java
deleted file mode 100644
index c4ed8df7f74be..0000000000000
--- a/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/VirtualMachineTemplatesCreateOrUpdateMockTests.java
+++ /dev/null
@@ -1,69 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.scvmm.generated;
-
-import com.azure.core.credential.AccessToken;
-import com.azure.core.http.HttpClient;
-import com.azure.core.management.AzureEnvironment;
-import com.azure.core.management.profile.AzureProfile;
-import com.azure.core.test.http.MockHttpResponse;
-import com.azure.resourcemanager.scvmm.ScvmmManager;
-import com.azure.resourcemanager.scvmm.models.ExtendedLocation;
-import com.azure.resourcemanager.scvmm.models.VirtualMachineTemplate;
-import com.azure.resourcemanager.scvmm.models.VirtualMachineTemplateProperties;
-import java.nio.charset.StandardCharsets;
-import java.time.OffsetDateTime;
-import java.util.HashMap;
-import java.util.Map;
-import org.junit.jupiter.api.Assertions;
-import org.junit.jupiter.api.Test;
-import reactor.core.publisher.Mono;
-
-public final class VirtualMachineTemplatesCreateOrUpdateMockTests {
- @Test
- public void testCreateOrUpdate() throws Exception {
- String responseStr
- = "{\"properties\":{\"inventoryItemId\":\"rhv\",\"uuid\":\"laiwdcxsmlzzh\",\"vmmServerId\":\"txetlgydl\",\"osType\":\"Linux\",\"osName\":\"n\",\"computerName\":\"xybafiqgea\",\"memoryMB\":755954714,\"cpuCount\":1031040752,\"limitCpuForMigration\":\"false\",\"dynamicMemoryEnabled\":\"false\",\"isCustomizable\":\"false\",\"dynamicMemoryMaxMB\":344545687,\"dynamicMemoryMinMB\":1514866149,\"isHighlyAvailable\":\"true\",\"generation\":2131258889,\"networkInterfaces\":[{\"name\":\"zegjonfhjirwgdn\",\"displayName\":\"brfkspz\",\"ipv4Addresses\":[\"tk\",\"jcitdigsxcdglj\",\"lkeuac\",\"tomflrytswfpf\"],\"ipv6Addresses\":[\"ycxnmskw\",\"qjjyslurl\",\"shhkvpedw\",\"slsrhmpq\"],\"macAddress\":\"wskondcbrwimuvqe\",\"virtualNetworkId\":\"so\",\"networkName\":\"rrleaesinuqt\",\"ipv4AddressType\":\"Static\",\"ipv6AddressType\":\"Static\",\"macAddressType\":\"Dynamic\",\"nicId\":\"hehcecybmrqb\"},{\"name\":\"bbmpxdlvykfre\",\"displayName\":\"rseqwjksghudgz\",\"ipv4Addresses\":[\"gjggsv\",\"u\",\"kxibdafh\",\"kmdyomkxfbvfbh\"],\"ipv6Addresses\":[\"rhpw\"],\"macAddress\":\"ddei\",\"virtualNetworkId\":\"wzovgk\",\"networkName\":\"muikjcjcaztbws\",\"ipv4AddressType\":\"Dynamic\",\"ipv6AddressType\":\"Dynamic\",\"macAddressType\":\"Dynamic\",\"nicId\":\"omlik\"}],\"disks\":[{\"name\":\"czcswka\",\"displayName\":\"ejyfdvlvhbwrnfx\",\"diskId\":\"ddpqt\",\"diskSizeGB\":277353032,\"maxDiskSizeGB\":1265914547,\"bus\":1175019303,\"lun\":1049399081,\"busType\":\"nkcoeqswankltyt\",\"vhdType\":\"droznn\",\"volumeType\":\"rlktgjcsggu\",\"vhdFormatType\":\"eml\",\"templateDiskId\":\"waeeczgfb\",\"storageQoSPolicy\":{\"name\":\"lelssxblycsxzujk\",\"id\":\"lsmdesqplpvmjc\"},\"createDiffDisk\":\"false\"},{\"name\":\"bidyv\",\"displayName\":\"owx\",\"diskId\":\"piudeugfsxzecpa\",\"diskSizeGB\":1953646440,\"maxDiskSizeGB\":1277972193,\"bus\":1188038408,\"lun\":814359275,\"busType\":\"hxepmrutzna\",\"vhdType\":\"obns\",\"volumeType\":\"jdjltymkmvgui\",\"vhdFormatType\":\"wartspphkixkykxd\",\"templateDiskId\":\"j\",\"storageQoSPolicy\":{\"name\":\"mucfxhikkf\",\"id\":\"mymyincqlhri\"},\"createDiffDisk\":\"true\"},{\"name\":\"miii\",\"displayName\":\"gqcg\",\"diskId\":\"ugqkctotiowlxteq\",\"diskSizeGB\":234322459,\"maxDiskSizeGB\":452524587,\"bus\":1297111913,\"lun\":1109620342,\"busType\":\"kranblwphqlkcc\",\"vhdType\":\"gygqwah\",\"volumeType\":\"ulwgniiprglvawuw\",\"vhdFormatType\":\"ufypiv\",\"templateDiskId\":\"bbjpmcubkmif\",\"storageQoSPolicy\":{\"name\":\"ku\",\"id\":\"phavpmhbrb\"},\"createDiffDisk\":\"false\"}],\"provisioningState\":\"Succeeded\"},\"extendedLocation\":{\"type\":\"pbbttefjoknss\",\"name\":\"zqedikdfrdbi\"},\"location\":\"rjgeih\",\"tags\":{\"xmjpbyep\":\"ggwfiwz\"},\"id\":\"mgtvlj\",\"name\":\"rc\",\"type\":\"yfqi\"}";
-
- HttpClient httpClient
- = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
- ScvmmManager manager = ScvmmManager.configure()
- .withHttpClient(httpClient)
- .authenticate(tokenRequestContext -> Mono.just(new AccessToken("this_is_a_token", OffsetDateTime.MAX)),
- new AzureProfile("", "", AzureEnvironment.AZURE));
-
- VirtualMachineTemplate response = manager.virtualMachineTemplates()
- .define("nwvroevytlyokrr")
- .withRegion("kolawjmjsmwrokc")
- .withExistingResourceGroup("voxczytpr")
- .withExtendedLocation(new ExtendedLocation().withType("zvhqjwtrhtgvg").withName("c"))
- .withTags(mapOf("afitlhguynuchlg", "zzzwy", "gzvlnsnn", "ltxdwhmozu", "agpgdph", "zfpafolpymwamxqz",
- "ejchcsrlz", "vdulajv"))
- .withProperties(new VirtualMachineTemplateProperties().withInventoryItemId("uxvnsasbcrymodi")
- .withUuid("xkl")
- .withVmmServerId("d"))
- .create();
-
- Assertions.assertEquals("rjgeih", response.location());
- Assertions.assertEquals("ggwfiwz", response.tags().get("xmjpbyep"));
- Assertions.assertEquals("rhv", response.properties().inventoryItemId());
- Assertions.assertEquals("laiwdcxsmlzzh", response.properties().uuid());
- Assertions.assertEquals("txetlgydl", response.properties().vmmServerId());
- Assertions.assertEquals("pbbttefjoknss", response.extendedLocation().type());
- Assertions.assertEquals("zqedikdfrdbi", response.extendedLocation().name());
- }
-
- // Use "Map.of" if available
- @SuppressWarnings("unchecked")
- private static Map mapOf(Object... inputs) {
- Map map = new HashMap<>();
- for (int i = 0; i < inputs.length; i += 2) {
- String key = (String) inputs[i];
- T value = (T) inputs[i + 1];
- map.put(key, value);
- }
- return map;
- }
-}
diff --git a/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/VirtualMachineTemplatesGetByResourceGroupWithResponseMockTests.java b/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/VirtualMachineTemplatesGetByResourceGroupWithResponseMockTests.java
deleted file mode 100644
index 96602563d37b7..0000000000000
--- a/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/VirtualMachineTemplatesGetByResourceGroupWithResponseMockTests.java
+++ /dev/null
@@ -1,45 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.scvmm.generated;
-
-import com.azure.core.credential.AccessToken;
-import com.azure.core.http.HttpClient;
-import com.azure.core.management.AzureEnvironment;
-import com.azure.core.management.profile.AzureProfile;
-import com.azure.core.test.http.MockHttpResponse;
-import com.azure.resourcemanager.scvmm.ScvmmManager;
-import com.azure.resourcemanager.scvmm.models.VirtualMachineTemplate;
-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 VirtualMachineTemplatesGetByResourceGroupWithResponseMockTests {
- @Test
- public void testGetByResourceGroupWithResponse() throws Exception {
- String responseStr
- = "{\"properties\":{\"inventoryItemId\":\"lafcbahh\",\"uuid\":\"pofoi\",\"vmmServerId\":\"w\",\"osType\":\"Windows\",\"osName\":\"kmkkholvdnd\",\"computerName\":\"auo\",\"memoryMB\":1485385595,\"cpuCount\":1546671556,\"limitCpuForMigration\":\"true\",\"dynamicMemoryEnabled\":\"true\",\"isCustomizable\":\"false\",\"dynamicMemoryMaxMB\":1848545940,\"dynamicMemoryMinMB\":2049992940,\"isHighlyAvailable\":\"false\",\"generation\":2060279442,\"networkInterfaces\":[{\"name\":\"mnxhkxjqirwrweo\",\"displayName\":\"ffifhx\",\"ipv4Addresses\":[\"newmozqvb\",\"bqmamhsycxhxzgaz\",\"taboidvmf\"],\"ipv6Addresses\":[\"pubowsepdfg\"],\"macAddress\":\"tdherngbtcjuahok\",\"virtualNetworkId\":\"obkauxofsh\",\"networkName\":\"hwpnulaiywzejywh\",\"ipv4AddressType\":\"Static\",\"ipv6AddressType\":\"Static\",\"macAddressType\":\"Dynamic\",\"nicId\":\"l\"},{\"name\":\"npdwr\",\"displayName\":\"afgfugsnn\",\"ipv4Addresses\":[\"et\",\"fypococtfjgti\"],\"ipv6Addresses\":[\"vzuyturmlmu\",\"wolba\"],\"macAddress\":\"ropions\",\"virtualNetworkId\":\"nw\",\"networkName\":\"gajinnixjawrtmj\",\"ipv4AddressType\":\"Dynamic\",\"ipv6AddressType\":\"Static\",\"macAddressType\":\"Static\",\"nicId\":\"zhcoxovnekhe\"},{\"name\":\"usfnr\",\"displayName\":\"jxtxrdc\",\"ipv4Addresses\":[\"vidttgepuslvyjt\",\"vuwkasiziesfuugh\"],\"ipv6Addresses\":[\"fecjxeygtuhx\",\"ic\",\"uewmrswnjlxuzrhw\",\"usxjbaqehg\"],\"macAddress\":\"ohzjqatucoigeb\",\"virtualNetworkId\":\"cnwfepbnwgfmxjg\",\"networkName\":\"bjb\",\"ipv4AddressType\":\"Static\",\"ipv6AddressType\":\"Static\",\"macAddressType\":\"Dynamic\",\"nicId\":\"snaquf\"},{\"name\":\"bctqhamzjrwd\",\"displayName\":\"zeqyjleziun\",\"ipv4Addresses\":[\"fza\",\"tkw\",\"eg\"],\"ipv6Addresses\":[\"lbnseqac\",\"jvpilguooqja\"],\"macAddress\":\"d\",\"virtualNetworkId\":\"gueiookjbsahrtdt\",\"networkName\":\"elqacslmot\",\"ipv4AddressType\":\"Dynamic\",\"ipv6AddressType\":\"Dynamic\",\"macAddressType\":\"Dynamic\",\"nicId\":\"vcjkgd\"}],\"disks\":[{\"name\":\"f\",\"displayName\":\"ejwabmdujtmvco\",\"diskId\":\"xcmjurbu\",\"diskSizeGB\":662695114,\"maxDiskSizeGB\":2003888088,\"bus\":997520556,\"lun\":1508910298,\"busType\":\"rogtuwkf\",\"vhdType\":\"jk\",\"volumeType\":\"ysidfvclgl\",\"vhdFormatType\":\"fuijtkbus\",\"templateDiskId\":\"gsfikayiansha\",\"storageQoSPolicy\":{\"name\":\"t\",\"id\":\"qxfzyjqttvwk\"},\"createDiffDisk\":\"false\"},{\"name\":\"penuy\",\"displayName\":\"qeqqekewvnqvcdl\",\"diskId\":\"a\",\"diskSizeGB\":1607576677,\"maxDiskSizeGB\":1323683698,\"bus\":1722049750,\"lun\":1773834271,\"busType\":\"xpunjqi\",\"vhdType\":\"zvvitacgxmfcs\",\"volumeType\":\"rxhtvso\",\"vhdFormatType\":\"lwntsjgqrs\",\"templateDiskId\":\"p\",\"storageQoSPolicy\":{\"name\":\"u\",\"id\":\"nchrszizoyu\"},\"createDiffDisk\":\"true\"},{\"name\":\"tn\",\"displayName\":\"bf\",\"diskId\":\"ggagfln\",\"diskSizeGB\":1468230412,\"maxDiskSizeGB\":1408591251,\"bus\":505064528,\"lun\":1643103479,\"busType\":\"mu\",\"vhdType\":\"tb\",\"volumeType\":\"plrohkpigq\",\"vhdFormatType\":\"suckzm\",\"templateDiskId\":\"klsnoxaxmqeqa\",\"storageQoSPolicy\":{\"name\":\"jnhgwydyyn\",\"id\":\"vkh\"},\"createDiffDisk\":\"false\"},{\"name\":\"ta\",\"displayName\":\"rfdl\",\"diskId\":\"kh\",\"diskSizeGB\":685959660,\"maxDiskSizeGB\":1532018074,\"bus\":2014408725,\"lun\":1539061935,\"busType\":\"eogkhnmgbro\",\"vhdType\":\"ddbhf\",\"volumeType\":\"fpazjzoywjxhpd\",\"vhdFormatType\":\"ontacnpq\",\"templateDiskId\":\"ehtuevrhr\",\"storageQoSPolicy\":{\"name\":\"oogwxhnsduugwb\",\"id\":\"e\"},\"createDiffDisk\":\"false\"}],\"provisioningState\":\"Updating\"},\"extendedLocation\":{\"type\":\"uarenlv\",\"name\":\"tklnvnafvvkyfed\"},\"location\":\"jboslcqxypok\",\"tags\":{\"unin\":\"inqcymczngnbdxxe\",\"ec\":\"udbchaqdtv\"},\"id\":\"qct\",\"name\":\"xxdtddmflh\",\"type\":\"ytxzvtznapxbanno\"}";
-
- HttpClient httpClient
- = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
- ScvmmManager manager = ScvmmManager.configure()
- .withHttpClient(httpClient)
- .authenticate(tokenRequestContext -> Mono.just(new AccessToken("this_is_a_token", OffsetDateTime.MAX)),
- new AzureProfile("", "", AzureEnvironment.AZURE));
-
- VirtualMachineTemplate response = manager.virtualMachineTemplates()
- .getByResourceGroupWithResponse("xoe", "qinjipnwjf", com.azure.core.util.Context.NONE)
- .getValue();
-
- Assertions.assertEquals("jboslcqxypok", response.location());
- Assertions.assertEquals("inqcymczngnbdxxe", response.tags().get("unin"));
- Assertions.assertEquals("lafcbahh", response.properties().inventoryItemId());
- Assertions.assertEquals("pofoi", response.properties().uuid());
- Assertions.assertEquals("w", response.properties().vmmServerId());
- Assertions.assertEquals("uarenlv", response.extendedLocation().type());
- Assertions.assertEquals("tklnvnafvvkyfed", response.extendedLocation().name());
- }
-}
diff --git a/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/VirtualMachineTemplatesListByResourceGroupMockTests.java b/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/VirtualMachineTemplatesListByResourceGroupMockTests.java
deleted file mode 100644
index f0d58ea1b5e8a..0000000000000
--- a/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/VirtualMachineTemplatesListByResourceGroupMockTests.java
+++ /dev/null
@@ -1,45 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.scvmm.generated;
-
-import com.azure.core.credential.AccessToken;
-import com.azure.core.http.HttpClient;
-import com.azure.core.http.rest.PagedIterable;
-import com.azure.core.management.AzureEnvironment;
-import com.azure.core.management.profile.AzureProfile;
-import com.azure.core.test.http.MockHttpResponse;
-import com.azure.resourcemanager.scvmm.ScvmmManager;
-import com.azure.resourcemanager.scvmm.models.VirtualMachineTemplate;
-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 VirtualMachineTemplatesListByResourceGroupMockTests {
- @Test
- public void testListByResourceGroup() throws Exception {
- String responseStr
- = "{\"value\":[{\"properties\":{\"inventoryItemId\":\"ywwpgjxsnptfuj\",\"uuid\":\"cg\",\"vmmServerId\":\"o\",\"osType\":\"Other\",\"osName\":\"aqutdewemxswvruu\",\"computerName\":\"zjgehkfkim\",\"memoryMB\":355142126,\"cpuCount\":2101404470,\"limitCpuForMigration\":\"true\",\"dynamicMemoryEnabled\":\"true\",\"isCustomizable\":\"false\",\"dynamicMemoryMaxMB\":1426347910,\"dynamicMemoryMinMB\":758637615,\"isHighlyAvailable\":\"false\",\"generation\":800032229,\"networkInterfaces\":[{\"name\":\"monstshiyxgve\",\"displayName\":\"clduc\",\"ipv4Addresses\":[\"rds\",\"uwc\",\"b\"],\"ipv6Addresses\":[\"stmninwjizcilng\",\"gshejjtbxqmulux\",\"xqzv\",\"ers\"],\"macAddress\":\"cucrwnamikze\",\"virtualNetworkId\":\"qbsms\",\"networkName\":\"iqg\",\"ipv4AddressType\":\"Dynamic\",\"ipv6AddressType\":\"Dynamic\",\"macAddressType\":\"Dynamic\",\"nicId\":\"swhvhczznvfbycj\"},{\"name\":\"jww\",\"displayName\":\"z\",\"ipv4Addresses\":[\"wmxqhndvnoamlds\",\"haohdjhhflzokxc\",\"xpelnjetagltsx\",\"atftgzpnpbsw\"],\"ipv6Addresses\":[\"loccsrmozihm\",\"pgawtxxpkyjcxcjx\",\"rytfmpcycil\"],\"macAddress\":\"caykggnoxuz\",\"virtualNetworkId\":\"ksxwpnd\",\"networkName\":\"pfnznthjtwkj\",\"ipv4AddressType\":\"Static\",\"ipv6AddressType\":\"Static\",\"macAddressType\":\"Dynamic\",\"nicId\":\"oamktcq\"},{\"name\":\"smgbzahgxqdl\",\"displayName\":\"tlt\",\"ipv4Addresses\":[\"rltzkatbhjmz\",\"nbsoqeqalarv\",\"agunbtgfebw\",\"nbmhyree\"],\"ipv6Addresses\":[\"qavbpdqmj\",\"lyyzglgouwtlmjj\",\"uojqt\"],\"macAddress\":\"axkjeytunlbfjk\",\"virtualNetworkId\":\"u\",\"networkName\":\"kqbh\",\"ipv4AddressType\":\"Dynamic\",\"ipv6AddressType\":\"Dynamic\",\"macAddressType\":\"Dynamic\",\"nicId\":\"hdenxaulk\"},{\"name\":\"kdk\",\"displayName\":\"mjnnawtq\",\"ipv4Addresses\":[\"xuckpggqoweyir\",\"hlisngw\",\"lqqmpiz\"],\"ipv6Addresses\":[\"n\"],\"macAddress\":\"xpxiwfcngjs\",\"virtualNetworkId\":\"sii\",\"networkName\":\"mkzjvkviir\",\"ipv4AddressType\":\"Static\",\"ipv6AddressType\":\"Dynamic\",\"macAddressType\":\"Dynamic\",\"nicId\":\"pgratzvzbglbyvi\"}],\"disks\":[{\"name\":\"brxkjzwr\",\"displayName\":\"ffm\",\"diskId\":\"kwfbkgo\",\"diskSizeGB\":277381231,\"maxDiskSizeGB\":1082965161,\"bus\":1662564263,\"lun\":1179999545,\"busType\":\"izqaclnapxbiyg\",\"vhdType\":\"gjkn\",\"volumeType\":\"mfcttux\",\"vhdFormatType\":\"yilflqoiquvrehmr\",\"templateDiskId\":\"hvsujztc\",\"storageQoSPolicy\":{\"name\":\"qjtwhauu\",\"id\":\"prnjletlxsmr\"},\"createDiffDisk\":\"true\"},{\"name\":\"uifamowaziynknlq\",\"displayName\":\"dvpiwh\",\"diskId\":\"szdtmaajquh\",\"diskSizeGB\":578758071,\"maxDiskSizeGB\":1621545899,\"bus\":1529964299,\"lun\":521294772,\"busType\":\"g\",\"vhdType\":\"mzyospspshck\",\"volumeType\":\"yjpmspbpssdfppyo\",\"vhdFormatType\":\"ieyujtvc\",\"templateDiskId\":\"cnyxrxmunjd\",\"storageQoSPolicy\":{\"name\":\"lnkvxlx\",\"id\":\"glqivbgkcv\"},\"createDiffDisk\":\"false\"},{\"name\":\"vuqd\",\"displayName\":\"voniypfp\",\"diskId\":\"cpzgpxtiv\",\"diskSizeGB\":1447599159,\"maxDiskSizeGB\":666978054,\"bus\":711664414,\"lun\":1731512826,\"busType\":\"jxgpnrhgovfg\",\"vhdType\":\"kqmhhaowjr\",\"volumeType\":\"vuporqzdfuydzv\",\"vhdFormatType\":\"vxcnqmxqps\",\"templateDiskId\":\"kmvkhl\",\"storageQoSPolicy\":{\"name\":\"hbemzq\",\"id\":\"sz\"},\"createDiffDisk\":\"false\"},{\"name\":\"tglxx\",\"displayName\":\"jfpgpicrmn\",\"diskId\":\"rgmqgjs\",\"diskSizeGB\":1587486803,\"maxDiskSizeGB\":1307017173,\"bus\":704061882,\"lun\":1162167874,\"busType\":\"odth\",\"vhdType\":\"qgvriibakcla\",\"volumeType\":\"fr\",\"vhdFormatType\":\"ousxauzlwvsgmw\",\"templateDiskId\":\"qf\",\"storageQoSPolicy\":{\"name\":\"vux\",\"id\":\"kjsvthnwpzteko\"},\"createDiffDisk\":\"true\"}],\"provisioningState\":\"Created\"},\"extendedLocation\":{\"type\":\"attgplu\",\"name\":\"otangcfhnykzc\"},\"location\":\"swvxwlmzqwmv\",\"tags\":{\"cvclxynpdk\":\"jmxmcuqud\",\"neiknpg\":\"gfabuiyjibuzphdu\",\"btozipqwje\":\"xgjiuqh\",\"xxgewpk\":\"mur\"},\"id\":\"vqylkmqpzoyhl\",\"name\":\"bcg\",\"type\":\"gcl\"}]}";
-
- HttpClient httpClient
- = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
- ScvmmManager manager = ScvmmManager.configure()
- .withHttpClient(httpClient)
- .authenticate(tokenRequestContext -> Mono.just(new AccessToken("this_is_a_token", OffsetDateTime.MAX)),
- new AzureProfile("", "", AzureEnvironment.AZURE));
-
- PagedIterable response
- = manager.virtualMachineTemplates().listByResourceGroup("bffmbmxz", com.azure.core.util.Context.NONE);
-
- Assertions.assertEquals("swvxwlmzqwmv", response.iterator().next().location());
- Assertions.assertEquals("jmxmcuqud", response.iterator().next().tags().get("cvclxynpdk"));
- Assertions.assertEquals("ywwpgjxsnptfuj", response.iterator().next().properties().inventoryItemId());
- Assertions.assertEquals("cg", response.iterator().next().properties().uuid());
- Assertions.assertEquals("o", response.iterator().next().properties().vmmServerId());
- Assertions.assertEquals("attgplu", response.iterator().next().extendedLocation().type());
- Assertions.assertEquals("otangcfhnykzc", response.iterator().next().extendedLocation().name());
- }
-}
diff --git a/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/VirtualMachineTemplatesListMockTests.java b/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/VirtualMachineTemplatesListMockTests.java
deleted file mode 100644
index f24b872b74fa1..0000000000000
--- a/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/VirtualMachineTemplatesListMockTests.java
+++ /dev/null
@@ -1,45 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.scvmm.generated;
-
-import com.azure.core.credential.AccessToken;
-import com.azure.core.http.HttpClient;
-import com.azure.core.http.rest.PagedIterable;
-import com.azure.core.management.AzureEnvironment;
-import com.azure.core.management.profile.AzureProfile;
-import com.azure.core.test.http.MockHttpResponse;
-import com.azure.resourcemanager.scvmm.ScvmmManager;
-import com.azure.resourcemanager.scvmm.models.VirtualMachineTemplate;
-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 VirtualMachineTemplatesListMockTests {
- @Test
- public void testList() throws Exception {
- String responseStr
- = "{\"value\":[{\"properties\":{\"inventoryItemId\":\"wbzasqbuclj\",\"uuid\":\"yexaoguy\",\"vmmServerId\":\"p\",\"osType\":\"Other\",\"osName\":\"ault\",\"computerName\":\"jjum\",\"memoryMB\":605011869,\"cpuCount\":129557013,\"limitCpuForMigration\":\"true\",\"dynamicMemoryEnabled\":\"true\",\"isCustomizable\":\"false\",\"dynamicMemoryMaxMB\":714307587,\"dynamicMemoryMinMB\":1485575169,\"isHighlyAvailable\":\"false\",\"generation\":1855012181,\"networkInterfaces\":[{\"name\":\"wgnyfusfzsvtui\",\"displayName\":\"hajqglcfh\",\"ipv4Addresses\":[\"qryxyn\",\"nzrdpsovwxz\",\"ptgoeiybbabp\"],\"ipv6Addresses\":[\"f\"],\"macAddress\":\"kvntjlrigjkskyri\",\"virtualNetworkId\":\"vzidsxwaab\",\"networkName\":\"ifrygzn\",\"ipv4AddressType\":\"Dynamic\",\"ipv6AddressType\":\"Dynamic\",\"macAddressType\":\"Static\",\"nicId\":\"zob\"},{\"name\":\"pxl\",\"displayName\":\"lnelxieixynl\",\"ipv4Addresses\":[\"cwcrojphs\",\"hcawjutifdwfmv\",\"gorqjbttzh\",\"aglkafhon\"],\"ipv6Addresses\":[\"jeick\",\"zvcpopm\"],\"macAddress\":\"lnwcltyjed\",\"virtualNetworkId\":\"xm\",\"networkName\":\"mkqscaz\",\"ipv4AddressType\":\"Static\",\"ipv6AddressType\":\"Static\",\"macAddressType\":\"Dynamic\",\"nicId\":\"uamwabzxrvxc\"},{\"name\":\"hsphaivmxyas\",\"displayName\":\"vgsgzwywakoihkn\",\"ipv4Addresses\":[\"blmljh\",\"nymzotqyr\",\"uzcbmqq\"],\"ipv6Addresses\":[\"vwf\"],\"macAddress\":\"ayxonsupeujl\",\"virtualNetworkId\":\"nh\",\"networkName\":\"sqltnzo\",\"ipv4AddressType\":\"Static\",\"ipv6AddressType\":\"Static\",\"macAddressType\":\"Dynamic\",\"nicId\":\"fyq\"}],\"disks\":[{\"name\":\"qoxwd\",\"displayName\":\"dbxiqx\",\"diskId\":\"iqbi\",\"diskSizeGB\":1213641430,\"maxDiskSizeGB\":2002140945,\"bus\":1099420861,\"lun\":152537554,\"busType\":\"hfqpofv\",\"vhdType\":\"cblembnkbwv\",\"volumeType\":\"xk\",\"vhdFormatType\":\"vqihebwtswbzuwf\",\"templateDiskId\":\"urageg\",\"storageQoSPolicy\":{\"name\":\"cjfelisdjubgg\",\"id\":\"igkxkbsazga\"},\"createDiffDisk\":\"true\"},{\"name\":\"yrcmjdmspofap\",\"displayName\":\"hryl\",\"diskId\":\"ofrzgb\",\"diskSizeGB\":726767515,\"maxDiskSizeGB\":981780547,\"bus\":1946171356,\"lun\":2142933776,\"busType\":\"l\",\"vhdType\":\"bcuiiz\",\"volumeType\":\"twfans\",\"vhdFormatType\":\"pdibmikostbzbki\",\"templateDiskId\":\"uqn\",\"storageQoSPolicy\":{\"name\":\"hzfylsgcrpfbc\",\"id\":\"ezzcez\"},\"createDiffDisk\":\"false\"}],\"provisioningState\":\"Updating\"},\"extendedLocation\":{\"type\":\"wl\",\"name\":\"jwetnpsihcla\"},\"location\":\"va\",\"tags\":{\"tcmwqkchc\":\"trsqqw\"},\"id\":\"waxfewzjkj\",\"name\":\"xfdeqvhpsyl\",\"type\":\"ksh\"}]}";
-
- HttpClient httpClient
- = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
- ScvmmManager manager = ScvmmManager.configure()
- .withHttpClient(httpClient)
- .authenticate(tokenRequestContext -> Mono.just(new AccessToken("this_is_a_token", OffsetDateTime.MAX)),
- new AzureProfile("", "", AzureEnvironment.AZURE));
-
- PagedIterable response
- = manager.virtualMachineTemplates().list(com.azure.core.util.Context.NONE);
-
- Assertions.assertEquals("va", response.iterator().next().location());
- Assertions.assertEquals("trsqqw", response.iterator().next().tags().get("tcmwqkchc"));
- Assertions.assertEquals("wbzasqbuclj", response.iterator().next().properties().inventoryItemId());
- Assertions.assertEquals("yexaoguy", response.iterator().next().properties().uuid());
- Assertions.assertEquals("p", response.iterator().next().properties().vmmServerId());
- Assertions.assertEquals("wl", response.iterator().next().extendedLocation().type());
- Assertions.assertEquals("jwetnpsihcla", response.iterator().next().extendedLocation().name());
- }
-}
diff --git a/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/VirtualNetworkInnerTests.java b/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/VirtualNetworkInnerTests.java
deleted file mode 100644
index 52346dd2230bb..0000000000000
--- a/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/VirtualNetworkInnerTests.java
+++ /dev/null
@@ -1,59 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.scvmm.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.scvmm.fluent.models.VirtualNetworkInner;
-import com.azure.resourcemanager.scvmm.models.ExtendedLocation;
-import com.azure.resourcemanager.scvmm.models.VirtualNetworkProperties;
-import java.util.HashMap;
-import java.util.Map;
-import org.junit.jupiter.api.Assertions;
-
-public final class VirtualNetworkInnerTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- VirtualNetworkInner model = BinaryData.fromString(
- "{\"properties\":{\"inventoryItemId\":\"vwpklvxwmygdxp\",\"uuid\":\"qchiszep\",\"vmmServerId\":\"bjcrxgibbdaxco\",\"networkName\":\"ozauorsukokwb\",\"provisioningState\":\"Failed\"},\"extendedLocation\":{\"type\":\"lvnuuepzlrph\",\"name\":\"soldweyuqdunv\"},\"location\":\"nrwrbiork\",\"tags\":{\"sivfomilo\":\"ywjhhgdnhx\",\"ao\":\"ggdufiqndieu\"},\"id\":\"jchvcyy\",\"name\":\"s\",\"type\":\"gdotcubiipuipwo\"}")
- .toObject(VirtualNetworkInner.class);
- Assertions.assertEquals("nrwrbiork", model.location());
- Assertions.assertEquals("ywjhhgdnhx", model.tags().get("sivfomilo"));
- Assertions.assertEquals("vwpklvxwmygdxp", model.properties().inventoryItemId());
- Assertions.assertEquals("qchiszep", model.properties().uuid());
- Assertions.assertEquals("bjcrxgibbdaxco", model.properties().vmmServerId());
- Assertions.assertEquals("lvnuuepzlrph", model.extendedLocation().type());
- Assertions.assertEquals("soldweyuqdunv", model.extendedLocation().name());
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- VirtualNetworkInner model = new VirtualNetworkInner().withLocation("nrwrbiork")
- .withTags(mapOf("sivfomilo", "ywjhhgdnhx", "ao", "ggdufiqndieu"))
- .withProperties(new VirtualNetworkProperties().withInventoryItemId("vwpklvxwmygdxp")
- .withUuid("qchiszep")
- .withVmmServerId("bjcrxgibbdaxco"))
- .withExtendedLocation(new ExtendedLocation().withType("lvnuuepzlrph").withName("soldweyuqdunv"));
- model = BinaryData.fromObject(model).toObject(VirtualNetworkInner.class);
- Assertions.assertEquals("nrwrbiork", model.location());
- Assertions.assertEquals("ywjhhgdnhx", model.tags().get("sivfomilo"));
- Assertions.assertEquals("vwpklvxwmygdxp", model.properties().inventoryItemId());
- Assertions.assertEquals("qchiszep", model.properties().uuid());
- Assertions.assertEquals("bjcrxgibbdaxco", model.properties().vmmServerId());
- Assertions.assertEquals("lvnuuepzlrph", model.extendedLocation().type());
- Assertions.assertEquals("soldweyuqdunv", model.extendedLocation().name());
- }
-
- // Use "Map.of" if available
- @SuppressWarnings("unchecked")
- private static Map mapOf(Object... inputs) {
- Map map = new HashMap<>();
- for (int i = 0; i < inputs.length; i += 2) {
- String key = (String) inputs[i];
- T value = (T) inputs[i + 1];
- map.put(key, value);
- }
- return map;
- }
-}
diff --git a/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/VirtualNetworkInventoryItemTests.java b/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/VirtualNetworkInventoryItemTests.java
deleted file mode 100644
index 063a8768f0625..0000000000000
--- a/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/VirtualNetworkInventoryItemTests.java
+++ /dev/null
@@ -1,23 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.scvmm.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.scvmm.models.VirtualNetworkInventoryItem;
-
-public final class VirtualNetworkInventoryItemTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- VirtualNetworkInventoryItem model = BinaryData.fromString(
- "{\"inventoryType\":\"VirtualNetwork\",\"managedResourceId\":\"zhezwwvaiq\",\"uuid\":\"vv\",\"inventoryItemName\":\"nk\",\"provisioningState\":\"Provisioning\"}")
- .toObject(VirtualNetworkInventoryItem.class);
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- VirtualNetworkInventoryItem model = new VirtualNetworkInventoryItem();
- model = BinaryData.fromObject(model).toObject(VirtualNetworkInventoryItem.class);
- }
-}
diff --git a/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/VirtualNetworkListResultTests.java b/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/VirtualNetworkListResultTests.java
deleted file mode 100644
index c9b8be6394ca0..0000000000000
--- a/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/VirtualNetworkListResultTests.java
+++ /dev/null
@@ -1,25 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.scvmm.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.scvmm.models.VirtualNetworkListResult;
-import org.junit.jupiter.api.Assertions;
-
-public final class VirtualNetworkListResultTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- VirtualNetworkListResult model = BinaryData.fromString(
- "{\"value\":[{\"properties\":{\"inventoryItemId\":\"ctymoxoftp\",\"uuid\":\"iwyczuh\",\"vmmServerId\":\"cpqjlihhyu\",\"networkName\":\"skasdvlmfwdgzxu\",\"provisioningState\":\"Failed\"},\"extendedLocation\":{\"type\":\"pamrsr\",\"name\":\"zvxurisjnhny\"},\"location\":\"ifqjz\",\"tags\":{\"upauut\":\"rhublwpcesutrg\",\"qg\":\"woqhihe\",\"foimwkslircizjxv\":\"zpnfqntcypsxj\"},\"id\":\"dfcea\",\"name\":\"vlhv\",\"type\":\"gdyftumrtwna\"},{\"properties\":{\"inventoryItemId\":\"lbiw\",\"uuid\":\"jgcyztsfmznba\",\"vmmServerId\":\"ph\",\"networkName\":\"qnrnrpxehuwryk\",\"provisioningState\":\"Provisioning\"},\"extendedLocation\":{\"type\":\"fmviklby\",\"name\":\"khbejdznxc\"},\"location\":\"srhnjivo\",\"tags\":{\"jdftuljltd\":\"novqfzge\",\"zuo\":\"ceamtm\",\"ssxmojms\":\"ejwcwwqiok\",\"jpr\":\"p\"},\"id\":\"kwcf\",\"name\":\"ql\",\"type\":\"yxgtczh\"},{\"properties\":{\"inventoryItemId\":\"bsdshmkxmaehvbbx\",\"uuid\":\"iplt\",\"vmmServerId\":\"htba\",\"networkName\":\"gx\",\"provisioningState\":\"Succeeded\"},\"extendedLocation\":{\"type\":\"kpyklyhp\",\"name\":\"odpvruudlgzib\"},\"location\":\"ostgkts\",\"tags\":{\"odqkdlwwqfb\":\"xeclzedqbcvhzlhp\",\"lmbtxhwgfwsrt\":\"mlkxtrqjfs\",\"kh\":\"wcoezbrhub\",\"ookk\":\"dyg\"},\"id\":\"fqjbvleo\",\"name\":\"fmluiqtqzfavyvn\",\"type\":\"qybaryeua\"},{\"properties\":{\"inventoryItemId\":\"qabqgzslesjcb\",\"uuid\":\"rnntiewdjcv\",\"vmmServerId\":\"uwrbehwagoh\",\"networkName\":\"f\",\"provisioningState\":\"Updating\"},\"extendedLocation\":{\"type\":\"qem\",\"name\":\"hmxtdr\"},\"location\":\"utacoe\",\"tags\":{\"guaadraufactkahz\":\"ewzcjznmwcp\",\"jjziuxxpsh\":\"v\"},\"id\":\"eekulfgslqubkwd\",\"name\":\"enr\",\"type\":\"sutujba\"}],\"nextLink\":\"juohminyflnorw\"}")
- .toObject(VirtualNetworkListResult.class);
- Assertions.assertEquals("ifqjz", model.value().get(0).location());
- Assertions.assertEquals("rhublwpcesutrg", model.value().get(0).tags().get("upauut"));
- Assertions.assertEquals("ctymoxoftp", model.value().get(0).properties().inventoryItemId());
- Assertions.assertEquals("iwyczuh", model.value().get(0).properties().uuid());
- Assertions.assertEquals("cpqjlihhyu", model.value().get(0).properties().vmmServerId());
- Assertions.assertEquals("pamrsr", model.value().get(0).extendedLocation().type());
- Assertions.assertEquals("zvxurisjnhny", model.value().get(0).extendedLocation().name());
- }
-}
diff --git a/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/VirtualNetworkPropertiesTests.java b/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/VirtualNetworkPropertiesTests.java
deleted file mode 100644
index 334e18890fb57..0000000000000
--- a/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/VirtualNetworkPropertiesTests.java
+++ /dev/null
@@ -1,32 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.scvmm.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.scvmm.models.VirtualNetworkProperties;
-import org.junit.jupiter.api.Assertions;
-
-public final class VirtualNetworkPropertiesTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- VirtualNetworkProperties model = BinaryData.fromString(
- "{\"inventoryItemId\":\"nmacj\",\"uuid\":\"nizshqvcim\",\"vmmServerId\":\"vfgmblrrilby\",\"networkName\":\"xsmiccwrwfscjf\",\"provisioningState\":\"Provisioning\"}")
- .toObject(VirtualNetworkProperties.class);
- Assertions.assertEquals("nmacj", model.inventoryItemId());
- Assertions.assertEquals("nizshqvcim", model.uuid());
- Assertions.assertEquals("vfgmblrrilby", model.vmmServerId());
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- VirtualNetworkProperties model = new VirtualNetworkProperties().withInventoryItemId("nmacj")
- .withUuid("nizshqvcim")
- .withVmmServerId("vfgmblrrilby");
- model = BinaryData.fromObject(model).toObject(VirtualNetworkProperties.class);
- Assertions.assertEquals("nmacj", model.inventoryItemId());
- Assertions.assertEquals("nizshqvcim", model.uuid());
- Assertions.assertEquals("vfgmblrrilby", model.vmmServerId());
- }
-}
diff --git a/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/VirtualNetworkTagsUpdateTests.java b/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/VirtualNetworkTagsUpdateTests.java
deleted file mode 100644
index b588f5094a485..0000000000000
--- a/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/VirtualNetworkTagsUpdateTests.java
+++ /dev/null
@@ -1,41 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.scvmm.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.scvmm.models.VirtualNetworkTagsUpdate;
-import java.util.HashMap;
-import java.util.Map;
-import org.junit.jupiter.api.Assertions;
-
-public final class VirtualNetworkTagsUpdateTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- VirtualNetworkTagsUpdate model
- = BinaryData.fromString("{\"tags\":{\"vvjgslor\":\"hjxa\",\"yw\":\"il\",\"gkxnyedabg\":\"t\"}}")
- .toObject(VirtualNetworkTagsUpdate.class);
- Assertions.assertEquals("hjxa", model.tags().get("vvjgslor"));
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- VirtualNetworkTagsUpdate model
- = new VirtualNetworkTagsUpdate().withTags(mapOf("vvjgslor", "hjxa", "yw", "il", "gkxnyedabg", "t"));
- model = BinaryData.fromObject(model).toObject(VirtualNetworkTagsUpdate.class);
- Assertions.assertEquals("hjxa", model.tags().get("vvjgslor"));
- }
-
- // Use "Map.of" if available
- @SuppressWarnings("unchecked")
- private static Map mapOf(Object... inputs) {
- Map map = new HashMap<>();
- for (int i = 0; i < inputs.length; i += 2) {
- String key = (String) inputs[i];
- T value = (T) inputs[i + 1];
- map.put(key, value);
- }
- return map;
- }
-}
diff --git a/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/VirtualNetworksCreateOrUpdateMockTests.java b/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/VirtualNetworksCreateOrUpdateMockTests.java
deleted file mode 100644
index a1be844a70a1d..0000000000000
--- a/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/VirtualNetworksCreateOrUpdateMockTests.java
+++ /dev/null
@@ -1,68 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.scvmm.generated;
-
-import com.azure.core.credential.AccessToken;
-import com.azure.core.http.HttpClient;
-import com.azure.core.management.AzureEnvironment;
-import com.azure.core.management.profile.AzureProfile;
-import com.azure.core.test.http.MockHttpResponse;
-import com.azure.resourcemanager.scvmm.ScvmmManager;
-import com.azure.resourcemanager.scvmm.models.ExtendedLocation;
-import com.azure.resourcemanager.scvmm.models.VirtualNetwork;
-import com.azure.resourcemanager.scvmm.models.VirtualNetworkProperties;
-import java.nio.charset.StandardCharsets;
-import java.time.OffsetDateTime;
-import java.util.HashMap;
-import java.util.Map;
-import org.junit.jupiter.api.Assertions;
-import org.junit.jupiter.api.Test;
-import reactor.core.publisher.Mono;
-
-public final class VirtualNetworksCreateOrUpdateMockTests {
- @Test
- public void testCreateOrUpdate() throws Exception {
- String responseStr
- = "{\"properties\":{\"inventoryItemId\":\"vbxngr\",\"uuid\":\"wggahttzlswvaj\",\"vmmServerId\":\"utlxjoqzasunwqrj\",\"networkName\":\"rg\",\"provisioningState\":\"Succeeded\"},\"extendedLocation\":{\"type\":\"hcmbuocnjrohmbp\",\"name\":\"yx\"},\"location\":\"eblydyv\",\"tags\":{\"ocxnehvsmtodl\":\"m\",\"unssxlghieegjl\":\"pyapucygvoav\"},\"id\":\"vvpa\",\"name\":\"eksgbuxantuygd\",\"type\":\"gaqi\"}";
-
- HttpClient httpClient
- = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
- ScvmmManager manager = ScvmmManager.configure()
- .withHttpClient(httpClient)
- .authenticate(tokenRequestContext -> Mono.just(new AccessToken("this_is_a_token", OffsetDateTime.MAX)),
- new AzureProfile("", "", AzureEnvironment.AZURE));
-
- VirtualNetwork response = manager.virtualNetworks()
- .define("krtt")
- .withRegion("pcohhoucqpqojx")
- .withExistingResourceGroup("xcptsoqfyiaseqc")
- .withExtendedLocation(new ExtendedLocation().withType("gnzxojpslsvj").withName("liufiqwoyxq"))
- .withTags(mapOf("tzqdd", "rzdcgdzbenribcaw", "mzwcjjncqt", "jwfljhznamtua"))
- .withProperties(new VirtualNetworkProperties().withInventoryItemId("zisgykiuemvanb")
- .withUuid("ohmn")
- .withVmmServerId("xbsojkli"))
- .create();
-
- Assertions.assertEquals("eblydyv", response.location());
- Assertions.assertEquals("m", response.tags().get("ocxnehvsmtodl"));
- Assertions.assertEquals("vbxngr", response.properties().inventoryItemId());
- Assertions.assertEquals("wggahttzlswvaj", response.properties().uuid());
- Assertions.assertEquals("utlxjoqzasunwqrj", response.properties().vmmServerId());
- Assertions.assertEquals("hcmbuocnjrohmbp", response.extendedLocation().type());
- Assertions.assertEquals("yx", response.extendedLocation().name());
- }
-
- // Use "Map.of" if available
- @SuppressWarnings("unchecked")
- private static Map mapOf(Object... inputs) {
- Map map = new HashMap<>();
- for (int i = 0; i < inputs.length; i += 2) {
- String key = (String) inputs[i];
- T value = (T) inputs[i + 1];
- map.put(key, value);
- }
- return map;
- }
-}
diff --git a/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/VirtualNetworksGetByResourceGroupWithResponseMockTests.java b/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/VirtualNetworksGetByResourceGroupWithResponseMockTests.java
deleted file mode 100644
index c9ece26bbdba4..0000000000000
--- a/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/VirtualNetworksGetByResourceGroupWithResponseMockTests.java
+++ /dev/null
@@ -1,45 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.scvmm.generated;
-
-import com.azure.core.credential.AccessToken;
-import com.azure.core.http.HttpClient;
-import com.azure.core.management.AzureEnvironment;
-import com.azure.core.management.profile.AzureProfile;
-import com.azure.core.test.http.MockHttpResponse;
-import com.azure.resourcemanager.scvmm.ScvmmManager;
-import com.azure.resourcemanager.scvmm.models.VirtualNetwork;
-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 VirtualNetworksGetByResourceGroupWithResponseMockTests {
- @Test
- public void testGetByResourceGroupWithResponse() throws Exception {
- String responseStr
- = "{\"properties\":{\"inventoryItemId\":\"qagwwrxaomz\",\"uuid\":\"glrrczez\",\"vmmServerId\":\"hltnjadhqoawjq\",\"networkName\":\"ueayfbpcmsplb\",\"provisioningState\":\"Provisioning\"},\"extendedLocation\":{\"type\":\"eqthwmg\",\"name\":\"b\"},\"location\":\"bbxi\",\"tags\":{\"wdpyq\":\"xiidloped\",\"cbq\":\"ybxubmdna\",\"laqacigele\":\"remj\"},\"id\":\"hdbvqvwzkjop\",\"name\":\"beonrlkwzdq\",\"type\":\"bxcea\"}";
-
- HttpClient httpClient
- = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
- ScvmmManager manager = ScvmmManager.configure()
- .withHttpClient(httpClient)
- .authenticate(tokenRequestContext -> Mono.just(new AccessToken("this_is_a_token", OffsetDateTime.MAX)),
- new AzureProfile("", "", AzureEnvironment.AZURE));
-
- VirtualNetwork response = manager.virtualNetworks()
- .getByResourceGroupWithResponse("wqagnepzwa", "lsbs", com.azure.core.util.Context.NONE)
- .getValue();
-
- Assertions.assertEquals("bbxi", response.location());
- Assertions.assertEquals("xiidloped", response.tags().get("wdpyq"));
- Assertions.assertEquals("qagwwrxaomz", response.properties().inventoryItemId());
- Assertions.assertEquals("glrrczez", response.properties().uuid());
- Assertions.assertEquals("hltnjadhqoawjq", response.properties().vmmServerId());
- Assertions.assertEquals("eqthwmg", response.extendedLocation().type());
- Assertions.assertEquals("b", response.extendedLocation().name());
- }
-}
diff --git a/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/VirtualNetworksListByResourceGroupMockTests.java b/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/VirtualNetworksListByResourceGroupMockTests.java
deleted file mode 100644
index 58b9ff6b4edcb..0000000000000
--- a/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/VirtualNetworksListByResourceGroupMockTests.java
+++ /dev/null
@@ -1,45 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.scvmm.generated;
-
-import com.azure.core.credential.AccessToken;
-import com.azure.core.http.HttpClient;
-import com.azure.core.http.rest.PagedIterable;
-import com.azure.core.management.AzureEnvironment;
-import com.azure.core.management.profile.AzureProfile;
-import com.azure.core.test.http.MockHttpResponse;
-import com.azure.resourcemanager.scvmm.ScvmmManager;
-import com.azure.resourcemanager.scvmm.models.VirtualNetwork;
-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 VirtualNetworksListByResourceGroupMockTests {
- @Test
- public void testListByResourceGroup() throws Exception {
- String responseStr
- = "{\"value\":[{\"properties\":{\"inventoryItemId\":\"vxnqmhrpqpd\",\"uuid\":\"mkoisqcssf\",\"vmmServerId\":\"uifmc\",\"networkName\":\"p\",\"provisioningState\":\"Deleting\"},\"extendedLocation\":{\"type\":\"qzrdzsylollg\",\"name\":\"czzydmxzjij\"},\"location\":\"uaurkihcir\",\"tags\":{\"dcoxnbk\":\"fx\",\"urnnqbnqbpiz\":\"ja\",\"gypxrxvbfihwuhvc\":\"qltgrd\"},\"id\":\"a\",\"name\":\"s\",\"type\":\"bxrblmliowxihspn\"}]}";
-
- HttpClient httpClient
- = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
- ScvmmManager manager = ScvmmManager.configure()
- .withHttpClient(httpClient)
- .authenticate(tokenRequestContext -> Mono.just(new AccessToken("this_is_a_token", OffsetDateTime.MAX)),
- new AzureProfile("", "", AzureEnvironment.AZURE));
-
- PagedIterable response
- = manager.virtualNetworks().listByResourceGroup("ac", com.azure.core.util.Context.NONE);
-
- Assertions.assertEquals("uaurkihcir", response.iterator().next().location());
- Assertions.assertEquals("fx", response.iterator().next().tags().get("dcoxnbk"));
- Assertions.assertEquals("vxnqmhrpqpd", response.iterator().next().properties().inventoryItemId());
- Assertions.assertEquals("mkoisqcssf", response.iterator().next().properties().uuid());
- Assertions.assertEquals("uifmc", response.iterator().next().properties().vmmServerId());
- Assertions.assertEquals("qzrdzsylollg", response.iterator().next().extendedLocation().type());
- Assertions.assertEquals("czzydmxzjij", response.iterator().next().extendedLocation().name());
- }
-}
diff --git a/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/VirtualNetworksListMockTests.java b/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/VirtualNetworksListMockTests.java
deleted file mode 100644
index 29546d4eae8d3..0000000000000
--- a/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/VirtualNetworksListMockTests.java
+++ /dev/null
@@ -1,44 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.scvmm.generated;
-
-import com.azure.core.credential.AccessToken;
-import com.azure.core.http.HttpClient;
-import com.azure.core.http.rest.PagedIterable;
-import com.azure.core.management.AzureEnvironment;
-import com.azure.core.management.profile.AzureProfile;
-import com.azure.core.test.http.MockHttpResponse;
-import com.azure.resourcemanager.scvmm.ScvmmManager;
-import com.azure.resourcemanager.scvmm.models.VirtualNetwork;
-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 VirtualNetworksListMockTests {
- @Test
- public void testList() throws Exception {
- String responseStr
- = "{\"value\":[{\"properties\":{\"inventoryItemId\":\"hnp\",\"uuid\":\"yqwcabvnuil\",\"vmmServerId\":\"yaswlpaugmr\",\"networkName\":\"jlrxwtoaukhfk\",\"provisioningState\":\"Canceled\"},\"extendedLocation\":{\"type\":\"izmoaeds\",\"name\":\"wuived\"},\"location\":\"gyeewxeiq\",\"tags\":{\"amljdlrgmsplzgau\":\"mgomg\",\"ewgnxkympqanxrj\":\"cshhv\",\"bta\":\"ixt\"},\"id\":\"ypnyghshxc\",\"name\":\"lhkgmnsghp\",\"type\":\"ycphdrwjjkhvyo\"}]}";
-
- HttpClient httpClient
- = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
- ScvmmManager manager = ScvmmManager.configure()
- .withHttpClient(httpClient)
- .authenticate(tokenRequestContext -> Mono.just(new AccessToken("this_is_a_token", OffsetDateTime.MAX)),
- new AzureProfile("", "", AzureEnvironment.AZURE));
-
- PagedIterable response = manager.virtualNetworks().list(com.azure.core.util.Context.NONE);
-
- Assertions.assertEquals("gyeewxeiq", response.iterator().next().location());
- Assertions.assertEquals("mgomg", response.iterator().next().tags().get("amljdlrgmsplzgau"));
- Assertions.assertEquals("hnp", response.iterator().next().properties().inventoryItemId());
- Assertions.assertEquals("yqwcabvnuil", response.iterator().next().properties().uuid());
- Assertions.assertEquals("yaswlpaugmr", response.iterator().next().properties().vmmServerId());
- Assertions.assertEquals("izmoaeds", response.iterator().next().extendedLocation().type());
- Assertions.assertEquals("wuived", response.iterator().next().extendedLocation().name());
- }
-}
diff --git a/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/VmmServerTagsUpdateTests.java b/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/VmmServerTagsUpdateTests.java
deleted file mode 100644
index 3d1e9a934ebdb..0000000000000
--- a/sdk/scvmm/azure-resourcemanager-scvmm/src/test/java/com/azure/resourcemanager/scvmm/generated/VmmServerTagsUpdateTests.java
+++ /dev/null
@@ -1,41 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.scvmm.generated;
-
-import com.azure.core.util.BinaryData;
-import com.azure.resourcemanager.scvmm.models.VmmServerTagsUpdate;
-import java.util.HashMap;
-import java.util.Map;
-import org.junit.jupiter.api.Assertions;
-
-public final class VmmServerTagsUpdateTests {
- @org.junit.jupiter.api.Test
- public void testDeserialize() throws Exception {
- VmmServerTagsUpdate model
- = BinaryData.fromString("{\"tags\":{\"ewbcihxuuw\":\"dtj\",\"yxccyb\":\"c\",\"px\":\"payakkud\"}}")
- .toObject(VmmServerTagsUpdate.class);
- Assertions.assertEquals("dtj", model.tags().get("ewbcihxuuw"));
- }
-
- @org.junit.jupiter.api.Test
- public void testSerialize() throws Exception {
- VmmServerTagsUpdate model
- = new VmmServerTagsUpdate().withTags(mapOf("ewbcihxuuw", "dtj", "yxccyb", "c", "px", "payakkud"));
- model = BinaryData.fromObject(model).toObject(VmmServerTagsUpdate.class);
- Assertions.assertEquals("dtj", model.tags().get("ewbcihxuuw"));
- }
-
- // Use "Map.of" if available
- @SuppressWarnings("unchecked")
- private static Map mapOf(Object... inputs) {
- Map map = new HashMap<>();
- for (int i = 0; i < inputs.length; i += 2) {
- String key = (String) inputs[i];
- T value = (T) inputs[i + 1];
- map.put(key, value);
- }
- return map;
- }
-}