diff --git a/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/CHANGELOG.md b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/CHANGELOG.md
index 1bd464ca9616..6e224751e536 100644
--- a/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/CHANGELOG.md
+++ b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/CHANGELOG.md
@@ -1,14 +1,135 @@
# Release History
-## 2.1.0-beta.1 (Unreleased)
+## 2.1.0-beta.1 (2026-08-21)
-### Features Added
+- Azure Resource Manager IoT Firmware Defense client library for Java. This package contains Microsoft Azure SDK for IoT Firmware Defense Management SDK. Firmware & IoT Security REST API. Package api-version 2026-06-01-preview. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).
### Breaking Changes
-### Bugs Fixed
+#### `models.PairedKey` was modified
+
+* `validate()` was removed
+
+#### `models.WorkspaceUpdate` was modified
+
+* `validate()` was removed
+
+#### `models.CryptoCertificateSummaryResource` was modified
+
+* `validate()` was removed
+
+#### `models.BinaryHardeningSummaryResource` was modified
+
+* `validate()` was removed
+
+#### `models.Sku` was modified
+
+* `validate()` was removed
+
+#### `models.CryptoCertificateEntity` was modified
+
+* `validate()` was removed
+
+#### `models.CveLink` was modified
+
+* `validate()` was removed
+
+#### `models.FirmwareSummary` was modified
+
+* `validate()` was removed
+
+#### `models.CvssScore` was modified
+
+* `validate()` was removed
+
+#### `models.StatusMessage` was modified
+
+* `validate()` was removed
+
+#### `models.CveComponent` was modified
+
+* `validate()` was removed
+
+#### `models.CveSummary` was modified
+
+* `validate()` was removed
+
+#### `models.BinaryHardeningFeatures` was modified
+
+* `validate()` was removed
+
+#### `models.SummaryResourceProperties` was modified
+
+* `validate()` was removed
+
+#### `models.FirmwareUpdateDefinition` was modified
+
+* `validate()` was removed
+
+#### `models.OperationDisplay` was modified
+
+* `validate()` was removed
+
+#### `models.CryptoKeySummaryResource` was modified
+
+* `validate()` was removed
+
+#### `models.GenerateUploadUrlRequest` was modified
+
+* `validate()` was removed
+
+### Features Added
+
+* `models.UnsafeFunctionCallsResource` was added
+
+* `models.CweProperties` was added
+
+* `models.SbomSummaryResource` was added
+
+* `models.UnsafeFunctionCalls` was added
+
+* `models.EpssProperties` was added
+
+* `models.CveSummaryResource` was added
+
+* `models.PasswordHashSummaryResource` was added
+
+* `models.KevProperties` was added
+
+* `models.UnsafeFunctionCallsResult` was added
+
+* `models.UnsafeFunctionCallsSummaryResource` was added
+
+* `models.RansomwareCampaignUse` was added
+
+* `models.FunctionCall` was added
+
+* `models.ExploitMaturityLevel` was added
+
+#### `models.CveResource` was modified
+
+* `effectiveVectorString()` was added
+* `effectiveExploitMaturity()` was added
+* `fixedInVersions()` was added
+* `kev()` was added
+* `cwes()` was added
+* `epss()` was added
+
+#### `IoTFirmwareDefenseManager` was modified
+
+* `unsafeFunctionCalls()` was added
+
+#### `models.SummaryType` was modified
+
+* `CVE` was added
+* `PASSWORD_HASH` was added
+* `UNSAFE_FUNCTION_CALLS` was added
+* `SBOM` was added
+
+#### `models.CvssScore` was modified
-### Other Changes
+* `exploitMaturity()` was added
+* `vectorString()` was added
## 2.0.0 (2025-08-29)
diff --git a/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/README.md b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/README.md
index 9f568b70ce48..8a1c09a78841 100644
--- a/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/README.md
+++ b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/README.md
@@ -2,7 +2,7 @@
Azure Resource Manager IoT Firmware Defense client library for Java.
-This package contains Microsoft Azure SDK for IoT Firmware Defense Management SDK. Firmware & IoT Security REST API. Package api-version 2025-08-02. 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 IoT Firmware Defense Management SDK. Firmware & IoT Security REST API. Package api-version 2026-06-01-preview. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).
## We'd love to hear your feedback
@@ -32,7 +32,7 @@ Various documentation is available to help you get started
com.azure.resourcemanager
azure-resourcemanager-iotfirmwaredefense
- 1.2.0
+ 2.1.0-beta.1
```
[//]: # ({x-version-update-end})
diff --git a/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/SAMPLE.md b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/SAMPLE.md
index 59287953134e..3f90826267bf 100644
--- a/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/SAMPLE.md
+++ b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/SAMPLE.md
@@ -42,6 +42,10 @@
- [Get](#summaries_get)
- [ListByFirmware](#summaries_listbyfirmware)
+## UnsafeFunctionCalls
+
+- [ListByFirmware](#unsafefunctioncalls_listbyfirmware)
+
## UsageMetrics
- [Get](#usagemetrics_get)
@@ -64,7 +68,7 @@
*/
public final class BinaryHardeningListByFirmwareSamples {
/*
- * x-ms-original-file: 2025-08-02/BinaryHardening_ListByFirmware_MinimumSet_Gen.json
+ * x-ms-original-file: 2026-06-01-preview/BinaryHardening_ListByFirmware_MinimumSet_Gen.json
*/
/**
* Sample code: BinaryHardening_ListByFirmware_MinimumSet_Gen.
@@ -79,7 +83,7 @@ public final class BinaryHardeningListByFirmwareSamples {
}
/*
- * x-ms-original-file: 2025-08-02/BinaryHardening_ListByFirmware_MaximumSet_Gen.json
+ * x-ms-original-file: 2026-06-01-preview/BinaryHardening_ListByFirmware_MaximumSet_Gen.json
*/
/**
* Sample code: BinaryHardening_ListByFirmware_MaximumSet_Gen - generated by [MaximumSet] rule.
@@ -103,7 +107,7 @@ public final class BinaryHardeningListByFirmwareSamples {
*/
public final class CryptoCertificatesListByFirmwareSamples {
/*
- * x-ms-original-file: 2025-08-02/CryptoCertificates_ListByFirmware_MaximumSet_Gen.json
+ * x-ms-original-file: 2026-06-01-preview/CryptoCertificates_ListByFirmware_MaximumSet_Gen.json
*/
/**
* Sample code: CryptoCertificates_ListByFirmware_MaximumSet_Gen - generated by [MaximumSet] rule.
@@ -118,7 +122,7 @@ public final class CryptoCertificatesListByFirmwareSamples {
}
/*
- * x-ms-original-file: 2025-08-02/CryptoCertificates_ListByFirmware_MinimumSet_Gen.json
+ * x-ms-original-file: 2026-06-01-preview/CryptoCertificates_ListByFirmware_MinimumSet_Gen.json
*/
/**
* Sample code: CryptoCertificates_ListByFirmware_MinimumSet_Gen.
@@ -142,7 +146,7 @@ public final class CryptoCertificatesListByFirmwareSamples {
*/
public final class CryptoKeysListByFirmwareSamples {
/*
- * x-ms-original-file: 2025-08-02/CryptoKeys_ListByFirmware_MaximumSet_Gen.json
+ * x-ms-original-file: 2026-06-01-preview/CryptoKeys_ListByFirmware_MaximumSet_Gen.json
*/
/**
* Sample code: CryptoKeys_ListByFirmware_MaximumSet_Gen - generated by [MaximumSet] rule.
@@ -157,7 +161,7 @@ public final class CryptoKeysListByFirmwareSamples {
}
/*
- * x-ms-original-file: 2025-08-02/CryptoKeys_ListByFirmware_MinimumSet_Gen.json
+ * x-ms-original-file: 2026-06-01-preview/CryptoKeys_ListByFirmware_MinimumSet_Gen.json
*/
/**
* Sample code: CryptoKeys_ListByFirmware_MinimumSet_Gen.
@@ -181,7 +185,7 @@ public final class CryptoKeysListByFirmwareSamples {
*/
public final class CvesListByFirmwareSamples {
/*
- * x-ms-original-file: 2025-08-02/Cves_ListByFirmware_MaximumSet_Gen.json
+ * x-ms-original-file: 2026-06-01-preview/Cves_ListByFirmware_MaximumSet_Gen.json
*/
/**
* Sample code: Cves_ListByFirmware_MaximumSet_Gen - generated by [MaximumSet] rule.
@@ -196,7 +200,7 @@ public final class CvesListByFirmwareSamples {
}
/*
- * x-ms-original-file: 2025-08-02/Cves_ListByFirmware_MinimumSet_Gen.json
+ * x-ms-original-file: 2026-06-01-preview/Cves_ListByFirmware_MinimumSet_Gen.json
*/
/**
* Sample code: Cves_ListByFirmware_MinimumSet_Gen.
@@ -224,7 +228,7 @@ import java.util.Arrays;
*/
public final class FirmwaresCreateSamples {
/*
- * x-ms-original-file: 2025-08-02/Firmwares_Create_MinimumSet_Gen.json
+ * x-ms-original-file: 2026-06-01-preview/Firmwares_Create_MinimumSet_Gen.json
*/
/**
* Sample code: Firmwares_Create_MinimumSet_Gen.
@@ -237,7 +241,7 @@ public final class FirmwaresCreateSamples {
}
/*
- * x-ms-original-file: 2025-08-02/Firmwares_Create_MaximumSet_Gen.json
+ * x-ms-original-file: 2026-06-01-preview/Firmwares_Create_MaximumSet_Gen.json
*/
/**
* Sample code: Firmwares_Create_MaximumSet_Gen - generated by [MaximumSet] rule.
@@ -271,7 +275,7 @@ public final class FirmwaresCreateSamples {
*/
public final class FirmwaresDeleteSamples {
/*
- * x-ms-original-file: 2025-08-02/Firmwares_Delete_MinimumSet_Gen.json
+ * x-ms-original-file: 2026-06-01-preview/Firmwares_Delete_MinimumSet_Gen.json
*/
/**
* Sample code: Firmwares_Delete_MinimumSet_Gen.
@@ -285,7 +289,7 @@ public final class FirmwaresDeleteSamples {
}
/*
- * x-ms-original-file: 2025-08-02/Firmwares_Delete_MaximumSet_Gen.json
+ * x-ms-original-file: 2026-06-01-preview/Firmwares_Delete_MaximumSet_Gen.json
*/
/**
* Sample code: Firmwares_Delete_MaximumSet_Gen - generated by [MaximumSet] rule.
@@ -309,7 +313,7 @@ public final class FirmwaresDeleteSamples {
*/
public final class FirmwaresGetSamples {
/*
- * x-ms-original-file: 2025-08-02/Firmwares_Get_MinimumSet_Gen.json
+ * x-ms-original-file: 2026-06-01-preview/Firmwares_Get_MinimumSet_Gen.json
*/
/**
* Sample code: Firmwares_Get_MinimumSet_Gen.
@@ -323,7 +327,7 @@ public final class FirmwaresGetSamples {
}
/*
- * x-ms-original-file: 2025-08-02/Firmwares_Get_MaximumSet_Gen.json
+ * x-ms-original-file: 2026-06-01-preview/Firmwares_Get_MaximumSet_Gen.json
*/
/**
* Sample code: Firmwares_Get_MaximumSet_Gen - generated by [MaximumSet] rule.
@@ -347,7 +351,7 @@ public final class FirmwaresGetSamples {
*/
public final class FirmwaresListByWorkspaceSamples {
/*
- * x-ms-original-file: 2025-08-02/Firmwares_ListByWorkspace_MinimumSet_Gen.json
+ * x-ms-original-file: 2026-06-01-preview/Firmwares_ListByWorkspace_MinimumSet_Gen.json
*/
/**
* Sample code: Firmwares_ListByWorkspace_MinimumSet_Gen.
@@ -360,7 +364,7 @@ public final class FirmwaresListByWorkspaceSamples {
}
/*
- * x-ms-original-file: 2025-08-02/Firmwares_ListByWorkspace_MaximumSet_Gen.json
+ * x-ms-original-file: 2026-06-01-preview/Firmwares_ListByWorkspace_MaximumSet_Gen.json
*/
/**
* Sample code: Firmwares_ListByWorkspace_MaximumSet_Gen - generated by [MaximumSet] rule.
@@ -388,7 +392,7 @@ import java.util.Arrays;
*/
public final class FirmwaresUpdateSamples {
/*
- * x-ms-original-file: 2025-08-02/Firmwares_Update_MaximumSet_Gen.json
+ * x-ms-original-file: 2026-06-01-preview/Firmwares_Update_MaximumSet_Gen.json
*/
/**
* Sample code: Firmwares_Update_MaximumSet_Gen - generated by [MaximumSet] rule.
@@ -416,7 +420,7 @@ public final class FirmwaresUpdateSamples {
}
/*
- * x-ms-original-file: 2025-08-02/Firmwares_Update_MinimumSet_Gen.json
+ * x-ms-original-file: 2026-06-01-preview/Firmwares_Update_MinimumSet_Gen.json
*/
/**
* Sample code: Firmwares_Update_MinimumSet_Gen.
@@ -441,7 +445,7 @@ public final class FirmwaresUpdateSamples {
*/
public final class OperationsListSamples {
/*
- * x-ms-original-file: 2025-08-02/Operations_List_MaximumSet_Gen.json
+ * x-ms-original-file: 2026-06-01-preview/Operations_List_MaximumSet_Gen.json
*/
/**
* Sample code: Operations_List_MaximumSet_Gen - generated by [MaximumSet] rule.
@@ -454,7 +458,7 @@ public final class OperationsListSamples {
}
/*
- * x-ms-original-file: 2025-08-02/Operations_List_MinimumSet_Gen.json
+ * x-ms-original-file: 2026-06-01-preview/Operations_List_MinimumSet_Gen.json
*/
/**
* Sample code: Operations_List_MaximumSet_Gen - generated by [MinimumSet] rule.
@@ -476,7 +480,7 @@ public final class OperationsListSamples {
*/
public final class PasswordHashesListByFirmwareSamples {
/*
- * x-ms-original-file: 2025-08-02/PasswordHashes_ListByFirmware_MaximumSet_Gen.json
+ * x-ms-original-file: 2026-06-01-preview/PasswordHashes_ListByFirmware_MaximumSet_Gen.json
*/
/**
* Sample code: PasswordHashes_ListByFirmware_MaximumSet_Gen - generated by [MaximumSet] rule.
@@ -491,7 +495,7 @@ public final class PasswordHashesListByFirmwareSamples {
}
/*
- * x-ms-original-file: 2025-08-02/PasswordHashes_ListByFirmware_MinimumSet_Gen.json
+ * x-ms-original-file: 2026-06-01-preview/PasswordHashes_ListByFirmware_MinimumSet_Gen.json
*/
/**
* Sample code: PasswordHashes_ListByFirmware_MinimumSet_Gen.
@@ -515,7 +519,7 @@ public final class PasswordHashesListByFirmwareSamples {
*/
public final class SbomComponentsListByFirmwareSamples {
/*
- * x-ms-original-file: 2025-08-02/SbomComponents_ListByFirmware_MaximumSet_Gen.json
+ * x-ms-original-file: 2026-06-01-preview/SbomComponents_ListByFirmware_MaximumSet_Gen.json
*/
/**
* Sample code: SbomComponents_ListByFirmware_MaximumSet_Gen - generated by [MaximumSet] rule.
@@ -530,7 +534,7 @@ public final class SbomComponentsListByFirmwareSamples {
}
/*
- * x-ms-original-file: 2025-08-02/SbomComponents_ListByFirmware_MinimumSet_Gen.json
+ * x-ms-original-file: 2026-06-01-preview/SbomComponents_ListByFirmware_MinimumSet_Gen.json
*/
/**
* Sample code: SbomComponents_ListByFirmware_MinimumSet_Gen.
@@ -556,7 +560,7 @@ import com.azure.resourcemanager.iotfirmwaredefense.models.SummaryType;
*/
public final class SummariesGetSamples {
/*
- * x-ms-original-file: 2025-08-02/Summaries_Get_MaximumSet_Gen.json
+ * x-ms-original-file: 2026-06-01-preview/Summaries_Get_MaximumSet_Gen.json
*/
/**
* Sample code: Summaries_Get_MaximumSet_Gen - generated by [MaximumSet] rule.
@@ -571,7 +575,7 @@ public final class SummariesGetSamples {
}
/*
- * x-ms-original-file: 2025-08-02/Summaries_Get_MinimumSet_Gen.json
+ * x-ms-original-file: 2026-06-01-preview/Summaries_Get_MinimumSet_Gen.json
*/
/**
* Sample code: Summaries_Get_MinimumSet_Gen.
@@ -595,7 +599,7 @@ public final class SummariesGetSamples {
*/
public final class SummariesListByFirmwareSamples {
/*
- * x-ms-original-file: 2025-08-02/Summaries_ListByFirmware_MaximumSet_Gen.json
+ * x-ms-original-file: 2026-06-01-preview/Summaries_ListByFirmware_MaximumSet_Gen.json
*/
/**
* Sample code: Summaries_ListByFirmware_MaximumSet_Gen - generated by [MaximumSet] rule.
@@ -610,7 +614,7 @@ public final class SummariesListByFirmwareSamples {
}
/*
- * x-ms-original-file: 2025-08-02/Summaries_ListByFirmware_MinimumSet_Gen.json
+ * x-ms-original-file: 2026-06-01-preview/Summaries_ListByFirmware_MinimumSet_Gen.json
*/
/**
* Sample code: Summaries_ListByFirmware_MinimumSet_Gen.
@@ -626,6 +630,45 @@ public final class SummariesListByFirmwareSamples {
}
```
+### UnsafeFunctionCalls_ListByFirmware
+
+```java
+/**
+ * Samples for UnsafeFunctionCalls ListByFirmware.
+ */
+public final class UnsafeFunctionCallsListByFirmwareSamples {
+ /*
+ * x-ms-original-file: 2026-06-01-preview/UnsafeFunctionCalls_ListByFirmware_MinimumSet_Gen.json
+ */
+ /**
+ * Sample code: UnsafeFunctionCalls_ListByFirmware_MinimumSet_Gen.
+ *
+ * @param manager Entry point to IoTFirmwareDefenseManager.
+ */
+ public static void unsafeFunctionCallsListByFirmwareMinimumSetGen(
+ com.azure.resourcemanager.iotfirmwaredefense.IoTFirmwareDefenseManager manager) {
+ manager.unsafeFunctionCalls()
+ .listByFirmware("FirmwareAnalysisRG", "default", "00000000-0000-0000-0000-000000000000",
+ com.azure.core.util.Context.NONE);
+ }
+
+ /*
+ * x-ms-original-file: 2026-06-01-preview/UnsafeFunctionCalls_ListByFirmware_MaximumSet_Gen.json
+ */
+ /**
+ * Sample code: UnsafeFunctionCalls_ListByFirmware_MaximumSet_Gen - generated by [MaximumSet] rule.
+ *
+ * @param manager Entry point to IoTFirmwareDefenseManager.
+ */
+ public static void unsafeFunctionCallsListByFirmwareMaximumSetGenGeneratedByMaximumSetRule(
+ com.azure.resourcemanager.iotfirmwaredefense.IoTFirmwareDefenseManager manager) {
+ manager.unsafeFunctionCalls()
+ .listByFirmware("rgiotfirmwaredefense", "exampleWorkspaceName", "00000000-0000-0000-0000-000000000000",
+ com.azure.core.util.Context.NONE);
+ }
+}
+```
+
### UsageMetrics_Get
```java
@@ -634,7 +677,7 @@ public final class SummariesListByFirmwareSamples {
*/
public final class UsageMetricsGetSamples {
/*
- * x-ms-original-file: 2025-08-02/UsageMetrics_Get_MaximumSet_Gen.json
+ * x-ms-original-file: 2026-06-01-preview/UsageMetrics_Get_MaximumSet_Gen.json
*/
/**
* Sample code: UsageMetrics_Get - generated by [MaximumSet] rule.
@@ -658,7 +701,7 @@ public final class UsageMetricsGetSamples {
*/
public final class UsageMetricsListByWorkspaceSamples {
/*
- * x-ms-original-file: 2025-08-02/UsageMetrics_ListByWorkspace_MaximumSet_Gen.json
+ * x-ms-original-file: 2026-06-01-preview/UsageMetrics_ListByWorkspace_MaximumSet_Gen.json
*/
/**
* Sample code: UsageMetrics_ListByWorkspace - generated by [MaximumSet] rule.
@@ -686,7 +729,7 @@ import java.util.Map;
*/
public final class WorkspacesCreateSamples {
/*
- * x-ms-original-file: 2025-08-02/Workspaces_Create_MinimumSet_Gen.json
+ * x-ms-original-file: 2026-06-01-preview/Workspaces_Create_MinimumSet_Gen.json
*/
/**
* Sample code: Workspaces_Create_MinimumSet_Gen.
@@ -703,7 +746,7 @@ public final class WorkspacesCreateSamples {
}
/*
- * x-ms-original-file: 2025-08-02/Workspaces_Create_MaximumSet_Gen.json
+ * x-ms-original-file: 2026-06-01-preview/Workspaces_Create_MaximumSet_Gen.json
*/
/**
* Sample code: Workspaces_Create_MaximumSet_Gen - generated by [MaximumSet] rule.
@@ -744,7 +787,7 @@ public final class WorkspacesCreateSamples {
*/
public final class WorkspacesDeleteSamples {
/*
- * x-ms-original-file: 2025-08-02/Workspaces_Delete_MaximumSet_Gen.json
+ * x-ms-original-file: 2026-06-01-preview/Workspaces_Delete_MaximumSet_Gen.json
*/
/**
* Sample code: Workspaces_Delete_MaximumSet_Gen - generated by [MaximumSet] rule.
@@ -757,7 +800,7 @@ public final class WorkspacesDeleteSamples {
}
/*
- * x-ms-original-file: 2025-08-02/Workspaces_Delete_MinimumSet_Gen.json
+ * x-ms-original-file: 2026-06-01-preview/Workspaces_Delete_MinimumSet_Gen.json
*/
/**
* Sample code: Workspaces_Delete_MinimumSet_Gen.
@@ -781,7 +824,7 @@ import com.azure.resourcemanager.iotfirmwaredefense.models.GenerateUploadUrlRequ
*/
public final class WorkspacesGenerateUploadUrlSamples {
/*
- * x-ms-original-file: 2025-08-02/Workspaces_GenerateUploadUrl_MinimumSet_Gen.json
+ * x-ms-original-file: 2026-06-01-preview/Workspaces_GenerateUploadUrl_MinimumSet_Gen.json
*/
/**
* Sample code: Workspaces_GenerateUploadUrl_MinimumSet_Gen.
@@ -797,7 +840,7 @@ public final class WorkspacesGenerateUploadUrlSamples {
}
/*
- * x-ms-original-file: 2025-08-02/Workspaces_GenerateUploadUrl_MaximumSet_Gen.json
+ * x-ms-original-file: 2026-06-01-preview/Workspaces_GenerateUploadUrl_MaximumSet_Gen.json
*/
/**
* Sample code: Workspaces_GenerateUploadUrl_MaximumSet_Gen - generated by [MaximumSet] rule.
@@ -822,7 +865,7 @@ public final class WorkspacesGenerateUploadUrlSamples {
*/
public final class WorkspacesGetByResourceGroupSamples {
/*
- * x-ms-original-file: 2025-08-02/Workspaces_Get_MaximumSet_Gen.json
+ * x-ms-original-file: 2026-06-01-preview/Workspaces_Get_MaximumSet_Gen.json
*/
/**
* Sample code: Workspaces_Get_MaximumSet_Gen - generated by [MaximumSet] rule.
@@ -837,7 +880,7 @@ public final class WorkspacesGetByResourceGroupSamples {
}
/*
- * x-ms-original-file: 2025-08-02/Workspaces_Get_MinimumSet_Gen.json
+ * x-ms-original-file: 2026-06-01-preview/Workspaces_Get_MinimumSet_Gen.json
*/
/**
* Sample code: Workspaces_Get_MinimumSet_Gen.
@@ -859,7 +902,7 @@ public final class WorkspacesGetByResourceGroupSamples {
*/
public final class WorkspacesListSamples {
/*
- * x-ms-original-file: 2025-08-02/Workspaces_ListBySubscription_MaximumSet_Gen.json
+ * x-ms-original-file: 2026-06-01-preview/Workspaces_ListBySubscription_MaximumSet_Gen.json
*/
/**
* Sample code: Workspaces_ListBySubscription_MaximumSet_Gen - generated by [MaximumSet] rule.
@@ -872,7 +915,7 @@ public final class WorkspacesListSamples {
}
/*
- * x-ms-original-file: 2025-08-02/Workspaces_ListBySubscription_MinimumSet_Gen.json
+ * x-ms-original-file: 2026-06-01-preview/Workspaces_ListBySubscription_MinimumSet_Gen.json
*/
/**
* Sample code: Workspaces_ListBySubscription_MaximumSet_Gen - generated by [MinimumSet] rule.
@@ -894,7 +937,7 @@ public final class WorkspacesListSamples {
*/
public final class WorkspacesListByResourceGroupSamples {
/*
- * x-ms-original-file: 2025-08-02/Workspaces_ListByResourceGroup_MinimumSet_Gen.json
+ * x-ms-original-file: 2026-06-01-preview/Workspaces_ListByResourceGroup_MinimumSet_Gen.json
*/
/**
* Sample code: Workspaces_ListByResourceGroup_MinimumSet.
@@ -907,7 +950,7 @@ public final class WorkspacesListByResourceGroupSamples {
}
/*
- * x-ms-original-file: 2025-08-02/Workspaces_ListByResourceGroup_MaximumSet_Gen.json
+ * x-ms-original-file: 2026-06-01-preview/Workspaces_ListByResourceGroup_MaximumSet_Gen.json
*/
/**
* Sample code: Workspaces_ListByResourceGroup_MaximumSet_Gen - generated by [MaximumSet] rule.
@@ -935,7 +978,7 @@ import java.util.Map;
*/
public final class WorkspacesUpdateSamples {
/*
- * x-ms-original-file: 2025-08-02/Workspaces_Update_MaximumSet_Gen.json
+ * x-ms-original-file: 2026-06-01-preview/Workspaces_Update_MaximumSet_Gen.json
*/
/**
* Sample code: Workspaces_Update_MaximumSet_Gen - generated by [MaximumSet] rule.
@@ -956,7 +999,7 @@ public final class WorkspacesUpdateSamples {
}
/*
- * x-ms-original-file: 2025-08-02/Workspaces_Update_MinimumSet_Gen.json
+ * x-ms-original-file: 2026-06-01-preview/Workspaces_Update_MinimumSet_Gen.json
*/
/**
* Sample code: Workspaces_Update_MinimumSet_Gen.
diff --git a/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/pom.xml b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/pom.xml
index 872e10404a09..99bb2079e9c6 100644
--- a/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/pom.xml
+++ b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/pom.xml
@@ -3,7 +3,7 @@
~ Licensed under the MIT License.
~ Code generated by Microsoft (R) TypeSpec Code Generator.
-->
-
+
4.0.0
com.azure
@@ -18,7 +18,7 @@
jar
Microsoft Azure SDK for IoT Firmware Defense Management
- This package contains Microsoft Azure SDK for IoT Firmware Defense Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. Firmware & IoT Security REST API. Package api-version 2025-08-02.
+ This package contains Microsoft Azure SDK for IoT Firmware Defense Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. Firmware & IoT Security REST API. Package api-version 2026-06-01-preview.
https://github.com/Azure/azure-sdk-for-java
@@ -45,6 +45,7 @@
UTF-8
0
0
+ true
diff --git a/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/main/java/com/azure/resourcemanager/iotfirmwaredefense/IoTFirmwareDefenseManager.java b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/main/java/com/azure/resourcemanager/iotfirmwaredefense/IoTFirmwareDefenseManager.java
index 1871a6f84b4f..72a9524da7aa 100644
--- a/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/main/java/com/azure/resourcemanager/iotfirmwaredefense/IoTFirmwareDefenseManager.java
+++ b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/main/java/com/azure/resourcemanager/iotfirmwaredefense/IoTFirmwareDefenseManager.java
@@ -35,6 +35,7 @@
import com.azure.resourcemanager.iotfirmwaredefense.implementation.PasswordHashesImpl;
import com.azure.resourcemanager.iotfirmwaredefense.implementation.SbomComponentsImpl;
import com.azure.resourcemanager.iotfirmwaredefense.implementation.SummariesImpl;
+import com.azure.resourcemanager.iotfirmwaredefense.implementation.UnsafeFunctionCallsImpl;
import com.azure.resourcemanager.iotfirmwaredefense.implementation.UsageMetricsImpl;
import com.azure.resourcemanager.iotfirmwaredefense.implementation.WorkspacesImpl;
import com.azure.resourcemanager.iotfirmwaredefense.models.BinaryHardenings;
@@ -46,6 +47,7 @@
import com.azure.resourcemanager.iotfirmwaredefense.models.PasswordHashes;
import com.azure.resourcemanager.iotfirmwaredefense.models.SbomComponents;
import com.azure.resourcemanager.iotfirmwaredefense.models.Summaries;
+import com.azure.resourcemanager.iotfirmwaredefense.models.UnsafeFunctionCalls;
import com.azure.resourcemanager.iotfirmwaredefense.models.UsageMetrics;
import com.azure.resourcemanager.iotfirmwaredefense.models.Workspaces;
import java.time.Duration;
@@ -83,6 +85,8 @@ public final class IoTFirmwareDefenseManager {
private UsageMetrics usageMetrics;
+ private UnsafeFunctionCalls unsafeFunctionCalls;
+
private final IoTFirmwareDefenseMgmtClient clientObject;
private IoTFirmwareDefenseManager(HttpPipeline httpPipeline, AzureProfile profile, Duration defaultPollInterval) {
@@ -430,6 +434,18 @@ public UsageMetrics usageMetrics() {
return usageMetrics;
}
+ /**
+ * Gets the resource collection API of UnsafeFunctionCalls.
+ *
+ * @return Resource collection API of UnsafeFunctionCalls.
+ */
+ public UnsafeFunctionCalls unsafeFunctionCalls() {
+ if (this.unsafeFunctionCalls == null) {
+ this.unsafeFunctionCalls = new UnsafeFunctionCallsImpl(clientObject.getUnsafeFunctionCalls(), this);
+ }
+ return unsafeFunctionCalls;
+ }
+
/**
* Gets wrapped service client IoTFirmwareDefenseMgmtClient providing direct access to the underlying auto-generated
* API implementation, based on Azure REST API.
diff --git a/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/main/java/com/azure/resourcemanager/iotfirmwaredefense/fluent/IoTFirmwareDefenseMgmtClient.java b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/main/java/com/azure/resourcemanager/iotfirmwaredefense/fluent/IoTFirmwareDefenseMgmtClient.java
index cd872fd747c8..f5dba6ba6c38 100644
--- a/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/main/java/com/azure/resourcemanager/iotfirmwaredefense/fluent/IoTFirmwareDefenseMgmtClient.java
+++ b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/main/java/com/azure/resourcemanager/iotfirmwaredefense/fluent/IoTFirmwareDefenseMgmtClient.java
@@ -122,4 +122,11 @@ public interface IoTFirmwareDefenseMgmtClient {
* @return the UsageMetricsClient object.
*/
UsageMetricsClient getUsageMetrics();
+
+ /**
+ * Gets the UnsafeFunctionCallsClient object to access its operations.
+ *
+ * @return the UnsafeFunctionCallsClient object.
+ */
+ UnsafeFunctionCallsClient getUnsafeFunctionCalls();
}
diff --git a/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/main/java/com/azure/resourcemanager/iotfirmwaredefense/fluent/UnsafeFunctionCallsClient.java b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/main/java/com/azure/resourcemanager/iotfirmwaredefense/fluent/UnsafeFunctionCallsClient.java
new file mode 100644
index 000000000000..fb55dce87ca8
--- /dev/null
+++ b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/main/java/com/azure/resourcemanager/iotfirmwaredefense/fluent/UnsafeFunctionCallsClient.java
@@ -0,0 +1,49 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.iotfirmwaredefense.fluent;
+
+import com.azure.core.annotation.ReturnType;
+import com.azure.core.annotation.ServiceMethod;
+import com.azure.core.http.rest.PagedIterable;
+import com.azure.core.util.Context;
+import com.azure.resourcemanager.iotfirmwaredefense.fluent.models.UnsafeFunctionCallsResourceInner;
+
+/**
+ * An instance of this class provides access to all the operations defined in UnsafeFunctionCallsClient.
+ */
+public interface UnsafeFunctionCallsClient {
+ /**
+ * Lists unsafe function call analysis results of a firmware.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName The name of the firmware analysis workspace.
+ * @param firmwareId The id of the firmware.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response of a UnsafeFunctionCallsResource list operation as paginated response with
+ * {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByFirmware(String resourceGroupName, String workspaceName,
+ String firmwareId);
+
+ /**
+ * Lists unsafe function call analysis results of a firmware.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName The name of the firmware analysis workspace.
+ * @param firmwareId The id of the firmware.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response of a UnsafeFunctionCallsResource list operation as paginated response with
+ * {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByFirmware(String resourceGroupName, String workspaceName,
+ String firmwareId, Context context);
+}
diff --git a/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/main/java/com/azure/resourcemanager/iotfirmwaredefense/fluent/models/CveResourceInner.java b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/main/java/com/azure/resourcemanager/iotfirmwaredefense/fluent/models/CveResourceInner.java
index fae613924075..471cfc2b8613 100644
--- a/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/main/java/com/azure/resourcemanager/iotfirmwaredefense/fluent/models/CveResourceInner.java
+++ b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/main/java/com/azure/resourcemanager/iotfirmwaredefense/fluent/models/CveResourceInner.java
@@ -13,6 +13,10 @@
import com.azure.resourcemanager.iotfirmwaredefense.models.CveComponent;
import com.azure.resourcemanager.iotfirmwaredefense.models.CveLink;
import com.azure.resourcemanager.iotfirmwaredefense.models.CvssScore;
+import com.azure.resourcemanager.iotfirmwaredefense.models.CweProperties;
+import com.azure.resourcemanager.iotfirmwaredefense.models.EpssProperties;
+import com.azure.resourcemanager.iotfirmwaredefense.models.ExploitMaturityLevel;
+import com.azure.resourcemanager.iotfirmwaredefense.models.KevProperties;
import com.azure.resourcemanager.iotfirmwaredefense.models.ProvisioningState;
import java.io.IOException;
import java.util.List;
@@ -165,7 +169,7 @@ public CveComponent component() {
}
/**
- * Get the cvssScore property: Legacy property for the effective CVE score.
+ * Get the cvssScore property: Legacy property for the effective CVE score (deprecated).
*
* @return the cvssScore value.
*/
@@ -174,7 +178,7 @@ public String cvssScore() {
}
/**
- * Get the cvssV2Score property: Legacy property for the CVE CVSS version 2 score, if one existed.
+ * Get the cvssV2Score property: Legacy property for the CVE CVSS version 2 score, if one existed. (deprecated).
*
* @return the cvssV2Score value.
*/
@@ -183,7 +187,7 @@ public String cvssV2Score() {
}
/**
- * Get the cvssV3Score property: Legacy property for the CVE CVSS version 3 score, if one existed.
+ * Get the cvssV3Score property: Legacy property for the CVE CVSS version 3 score, if one existed. (deprecated).
*
* @return the cvssV3Score value.
*/
@@ -193,7 +197,7 @@ public String cvssV3Score() {
/**
* Get the cvssVersion property: Legacy property for the what CVSS version score was stored in the cvssScore
- * property.
+ * property (deprecated).
*
* @return the cvssVersion value.
*/
@@ -219,6 +223,24 @@ public Integer effectiveCvssVersion() {
return this.innerProperties() == null ? null : this.innerProperties().effectiveCvssVersion();
}
+ /**
+ * Get the effectiveVectorString property: The CVSS vector string for the effectiveCvssVersion.
+ *
+ * @return the effectiveVectorString value.
+ */
+ public String effectiveVectorString() {
+ return this.innerProperties() == null ? null : this.innerProperties().effectiveVectorString();
+ }
+
+ /**
+ * Get the effectiveExploitMaturity property: The CVSS exploit maturity value for the effectiveCvssVersion.
+ *
+ * @return the effectiveExploitMaturity value.
+ */
+ public ExploitMaturityLevel effectiveExploitMaturity() {
+ return this.innerProperties() == null ? null : this.innerProperties().effectiveExploitMaturity();
+ }
+
/**
* Get the cvssScores property: All known CVSS scores for the CVE.
*
@@ -246,6 +268,42 @@ public String description() {
return this.innerProperties() == null ? null : this.innerProperties().description();
}
+ /**
+ * Get the epss property: EPSS (Exploit Prediction Scoring System) information related to this CVE.
+ *
+ * @return the epss value.
+ */
+ public EpssProperties epss() {
+ return this.innerProperties() == null ? null : this.innerProperties().epss();
+ }
+
+ /**
+ * Get the cwes property: CWE (Common Weakness Enumeration) information related to this CVE.
+ *
+ * @return the cwes value.
+ */
+ public List cwes() {
+ return this.innerProperties() == null ? null : this.innerProperties().cwes();
+ }
+
+ /**
+ * Get the kev property: KEV (Known Exploited Vulnerabilities) information related to this CVE.
+ *
+ * @return the kev value.
+ */
+ public KevProperties kev() {
+ return this.innerProperties() == null ? null : this.innerProperties().kev();
+ }
+
+ /**
+ * Get the fixedInVersions property: The component versions in which this weakness was fixed, if any.
+ *
+ * @return the fixedInVersions value.
+ */
+ public List fixedInVersions() {
+ return this.innerProperties() == null ? null : this.innerProperties().fixedInVersions();
+ }
+
/**
* Get the provisioningState property: The status of the last operation.
*
diff --git a/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/main/java/com/azure/resourcemanager/iotfirmwaredefense/fluent/models/CveResult.java b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/main/java/com/azure/resourcemanager/iotfirmwaredefense/fluent/models/CveResult.java
index ac11ed711604..628aa06bbdb2 100644
--- a/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/main/java/com/azure/resourcemanager/iotfirmwaredefense/fluent/models/CveResult.java
+++ b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/main/java/com/azure/resourcemanager/iotfirmwaredefense/fluent/models/CveResult.java
@@ -12,6 +12,10 @@
import com.azure.resourcemanager.iotfirmwaredefense.models.CveComponent;
import com.azure.resourcemanager.iotfirmwaredefense.models.CveLink;
import com.azure.resourcemanager.iotfirmwaredefense.models.CvssScore;
+import com.azure.resourcemanager.iotfirmwaredefense.models.CweProperties;
+import com.azure.resourcemanager.iotfirmwaredefense.models.EpssProperties;
+import com.azure.resourcemanager.iotfirmwaredefense.models.ExploitMaturityLevel;
+import com.azure.resourcemanager.iotfirmwaredefense.models.KevProperties;
import com.azure.resourcemanager.iotfirmwaredefense.models.ProvisioningState;
import java.io.IOException;
import java.util.List;
@@ -57,22 +61,22 @@ public final class CveResult implements JsonSerializable {
private CveComponent component;
/*
- * Legacy property for the effective CVE score.
+ * Legacy property for the effective CVE score (deprecated).
*/
private String cvssScore;
/*
- * Legacy property for the CVE CVSS version 2 score, if one existed.
+ * Legacy property for the CVE CVSS version 2 score, if one existed. (deprecated)
*/
private String cvssV2Score;
/*
- * Legacy property for the CVE CVSS version 3 score, if one existed.
+ * Legacy property for the CVE CVSS version 3 score, if one existed. (deprecated)
*/
private String cvssV3Score;
/*
- * Legacy property for the what CVSS version score was stored in the cvssScore property
+ * Legacy property for the what CVSS version score was stored in the cvssScore property (deprecated).
*/
private String cvssVersion;
@@ -86,6 +90,16 @@ public final class CveResult implements JsonSerializable {
*/
private Integer effectiveCvssVersion;
+ /*
+ * The CVSS vector string for the effectiveCvssVersion.
+ */
+ private String effectiveVectorString;
+
+ /*
+ * The CVSS exploit maturity value for the effectiveCvssVersion.
+ */
+ private ExploitMaturityLevel effectiveExploitMaturity;
+
/*
* All known CVSS scores for the CVE.
*/
@@ -101,6 +115,26 @@ public final class CveResult implements JsonSerializable {
*/
private String description;
+ /*
+ * EPSS (Exploit Prediction Scoring System) information related to this CVE.
+ */
+ private EpssProperties epss;
+
+ /*
+ * CWE (Common Weakness Enumeration) information related to this CVE.
+ */
+ private List cwes;
+
+ /*
+ * KEV (Known Exploited Vulnerabilities) information related to this CVE.
+ */
+ private KevProperties kev;
+
+ /*
+ * The component versions in which this weakness was fixed, if any.
+ */
+ private List fixedInVersions;
+
/*
* The status of the last operation.
*/
@@ -176,7 +210,7 @@ public CveComponent component() {
}
/**
- * Get the cvssScore property: Legacy property for the effective CVE score.
+ * Get the cvssScore property: Legacy property for the effective CVE score (deprecated).
*
* @return the cvssScore value.
*/
@@ -185,7 +219,7 @@ public String cvssScore() {
}
/**
- * Get the cvssV2Score property: Legacy property for the CVE CVSS version 2 score, if one existed.
+ * Get the cvssV2Score property: Legacy property for the CVE CVSS version 2 score, if one existed. (deprecated).
*
* @return the cvssV2Score value.
*/
@@ -194,7 +228,7 @@ public String cvssV2Score() {
}
/**
- * Get the cvssV3Score property: Legacy property for the CVE CVSS version 3 score, if one existed.
+ * Get the cvssV3Score property: Legacy property for the CVE CVSS version 3 score, if one existed. (deprecated).
*
* @return the cvssV3Score value.
*/
@@ -204,7 +238,7 @@ public String cvssV3Score() {
/**
* Get the cvssVersion property: Legacy property for the what CVSS version score was stored in the cvssScore
- * property.
+ * property (deprecated).
*
* @return the cvssVersion value.
*/
@@ -230,6 +264,24 @@ public Integer effectiveCvssVersion() {
return this.effectiveCvssVersion;
}
+ /**
+ * Get the effectiveVectorString property: The CVSS vector string for the effectiveCvssVersion.
+ *
+ * @return the effectiveVectorString value.
+ */
+ public String effectiveVectorString() {
+ return this.effectiveVectorString;
+ }
+
+ /**
+ * Get the effectiveExploitMaturity property: The CVSS exploit maturity value for the effectiveCvssVersion.
+ *
+ * @return the effectiveExploitMaturity value.
+ */
+ public ExploitMaturityLevel effectiveExploitMaturity() {
+ return this.effectiveExploitMaturity;
+ }
+
/**
* Get the cvssScores property: All known CVSS scores for the CVE.
*
@@ -257,6 +309,42 @@ public String description() {
return this.description;
}
+ /**
+ * Get the epss property: EPSS (Exploit Prediction Scoring System) information related to this CVE.
+ *
+ * @return the epss value.
+ */
+ public EpssProperties epss() {
+ return this.epss;
+ }
+
+ /**
+ * Get the cwes property: CWE (Common Weakness Enumeration) information related to this CVE.
+ *
+ * @return the cwes value.
+ */
+ public List cwes() {
+ return this.cwes;
+ }
+
+ /**
+ * Get the kev property: KEV (Known Exploited Vulnerabilities) information related to this CVE.
+ *
+ * @return the kev value.
+ */
+ public KevProperties kev() {
+ return this.kev;
+ }
+
+ /**
+ * Get the fixedInVersions property: The component versions in which this weakness was fixed, if any.
+ *
+ * @return the fixedInVersions value.
+ */
+ public List fixedInVersions() {
+ return this.fixedInVersions;
+ }
+
/**
* Get the provisioningState property: The status of the last operation.
*
@@ -285,8 +373,16 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
jsonWriter.writeStringField("cvssVersion", this.cvssVersion);
jsonWriter.writeNumberField("effectiveCvssScore", this.effectiveCvssScore);
jsonWriter.writeNumberField("effectiveCvssVersion", this.effectiveCvssVersion);
+ jsonWriter.writeStringField("effectiveVectorString", this.effectiveVectorString);
+ jsonWriter.writeStringField("effectiveExploitMaturity",
+ this.effectiveExploitMaturity == null ? null : this.effectiveExploitMaturity.toString());
jsonWriter.writeArrayField("cvssScores", this.cvssScores, (writer, element) -> writer.writeJson(element));
jsonWriter.writeStringField("description", this.description);
+ jsonWriter.writeJsonField("epss", this.epss);
+ jsonWriter.writeArrayField("cwes", this.cwes, (writer, element) -> writer.writeJson(element));
+ jsonWriter.writeJsonField("kev", this.kev);
+ jsonWriter.writeArrayField("fixedInVersions", this.fixedInVersions,
+ (writer, element) -> writer.writeString(element));
return jsonWriter.writeEndObject();
}
@@ -331,6 +427,11 @@ public static CveResult fromJson(JsonReader jsonReader) throws IOException {
deserializedCveResult.effectiveCvssScore = reader.getNullable(JsonReader::getDouble);
} else if ("effectiveCvssVersion".equals(fieldName)) {
deserializedCveResult.effectiveCvssVersion = reader.getNullable(JsonReader::getInt);
+ } else if ("effectiveVectorString".equals(fieldName)) {
+ deserializedCveResult.effectiveVectorString = reader.getString();
+ } else if ("effectiveExploitMaturity".equals(fieldName)) {
+ deserializedCveResult.effectiveExploitMaturity
+ = ExploitMaturityLevel.fromString(reader.getString());
} else if ("cvssScores".equals(fieldName)) {
List cvssScores = reader.readArray(reader1 -> CvssScore.fromJson(reader1));
deserializedCveResult.cvssScores = cvssScores;
@@ -339,6 +440,16 @@ public static CveResult fromJson(JsonReader jsonReader) throws IOException {
deserializedCveResult.links = links;
} else if ("description".equals(fieldName)) {
deserializedCveResult.description = reader.getString();
+ } else if ("epss".equals(fieldName)) {
+ deserializedCveResult.epss = EpssProperties.fromJson(reader);
+ } else if ("cwes".equals(fieldName)) {
+ List cwes = reader.readArray(reader1 -> CweProperties.fromJson(reader1));
+ deserializedCveResult.cwes = cwes;
+ } else if ("kev".equals(fieldName)) {
+ deserializedCveResult.kev = KevProperties.fromJson(reader);
+ } else if ("fixedInVersions".equals(fieldName)) {
+ List fixedInVersions = reader.readArray(reader1 -> reader1.getString());
+ deserializedCveResult.fixedInVersions = fixedInVersions;
} else if ("provisioningState".equals(fieldName)) {
deserializedCveResult.provisioningState = ProvisioningState.fromString(reader.getString());
} else {
diff --git a/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/main/java/com/azure/resourcemanager/iotfirmwaredefense/fluent/models/UnsafeFunctionCallsResourceInner.java b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/main/java/com/azure/resourcemanager/iotfirmwaredefense/fluent/models/UnsafeFunctionCallsResourceInner.java
new file mode 100644
index 000000000000..790c057a0b58
--- /dev/null
+++ b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/main/java/com/azure/resourcemanager/iotfirmwaredefense/fluent/models/UnsafeFunctionCallsResourceInner.java
@@ -0,0 +1,146 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.iotfirmwaredefense.fluent.models;
+
+import com.azure.core.annotation.Immutable;
+import com.azure.core.management.ProxyResource;
+import com.azure.core.management.SystemData;
+import com.azure.json.JsonReader;
+import com.azure.json.JsonToken;
+import com.azure.json.JsonWriter;
+import com.azure.resourcemanager.iotfirmwaredefense.models.UnsafeFunctionCallsResult;
+import java.io.IOException;
+
+/**
+ * The object representing a firmware analysis unsafe function calls result resource.
+ */
+@Immutable
+public final class UnsafeFunctionCallsResourceInner extends ProxyResource {
+ /*
+ * The resource-specific properties for this resource.
+ */
+ private UnsafeFunctionCallsResult properties;
+
+ /*
+ * Azure Resource Manager metadata containing createdBy and modifiedBy information.
+ */
+ private SystemData systemData;
+
+ /*
+ * The type of the resource.
+ */
+ private String type;
+
+ /*
+ * The name of the resource.
+ */
+ private String name;
+
+ /*
+ * Fully qualified resource Id for the resource.
+ */
+ private String id;
+
+ /**
+ * Creates an instance of UnsafeFunctionCallsResourceInner class.
+ */
+ private UnsafeFunctionCallsResourceInner() {
+ }
+
+ /**
+ * Get the properties property: The resource-specific properties for this resource.
+ *
+ * @return the properties value.
+ */
+ public UnsafeFunctionCallsResult properties() {
+ return this.properties;
+ }
+
+ /**
+ * Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
+ *
+ * @return the systemData value.
+ */
+ public SystemData systemData() {
+ return this.systemData;
+ }
+
+ /**
+ * Get the type property: The type of the resource.
+ *
+ * @return the type value.
+ */
+ @Override
+ public String type() {
+ return this.type;
+ }
+
+ /**
+ * Get the name property: The name of the resource.
+ *
+ * @return the name value.
+ */
+ @Override
+ public String name() {
+ return this.name;
+ }
+
+ /**
+ * Get the id property: Fully qualified resource Id for the resource.
+ *
+ * @return the id value.
+ */
+ @Override
+ public String id() {
+ return this.id;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ @Override
+ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
+ jsonWriter.writeStartObject();
+ jsonWriter.writeJsonField("properties", this.properties);
+ return jsonWriter.writeEndObject();
+ }
+
+ /**
+ * Reads an instance of UnsafeFunctionCallsResourceInner from the JsonReader.
+ *
+ * @param jsonReader The JsonReader being read.
+ * @return An instance of UnsafeFunctionCallsResourceInner if the JsonReader was pointing to an instance of it, or
+ * null if it was pointing to JSON null.
+ * @throws IllegalStateException If the deserialized JSON object was missing any required properties.
+ * @throws IOException If an error occurs while reading the UnsafeFunctionCallsResourceInner.
+ */
+ public static UnsafeFunctionCallsResourceInner fromJson(JsonReader jsonReader) throws IOException {
+ return jsonReader.readObject(reader -> {
+ UnsafeFunctionCallsResourceInner deserializedUnsafeFunctionCallsResourceInner
+ = new UnsafeFunctionCallsResourceInner();
+ while (reader.nextToken() != JsonToken.END_OBJECT) {
+ String fieldName = reader.getFieldName();
+ reader.nextToken();
+
+ if ("id".equals(fieldName)) {
+ deserializedUnsafeFunctionCallsResourceInner.id = reader.getString();
+ } else if ("name".equals(fieldName)) {
+ deserializedUnsafeFunctionCallsResourceInner.name = reader.getString();
+ } else if ("type".equals(fieldName)) {
+ deserializedUnsafeFunctionCallsResourceInner.type = reader.getString();
+ } else if ("properties".equals(fieldName)) {
+ deserializedUnsafeFunctionCallsResourceInner.properties
+ = UnsafeFunctionCallsResult.fromJson(reader);
+ } else if ("systemData".equals(fieldName)) {
+ deserializedUnsafeFunctionCallsResourceInner.systemData = SystemData.fromJson(reader);
+ } else {
+ reader.skipChildren();
+ }
+ }
+
+ return deserializedUnsafeFunctionCallsResourceInner;
+ });
+ }
+}
diff --git a/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/main/java/com/azure/resourcemanager/iotfirmwaredefense/implementation/CveResourceImpl.java b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/main/java/com/azure/resourcemanager/iotfirmwaredefense/implementation/CveResourceImpl.java
index b9cf3db64894..de4ffccf8932 100644
--- a/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/main/java/com/azure/resourcemanager/iotfirmwaredefense/implementation/CveResourceImpl.java
+++ b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/main/java/com/azure/resourcemanager/iotfirmwaredefense/implementation/CveResourceImpl.java
@@ -10,6 +10,10 @@
import com.azure.resourcemanager.iotfirmwaredefense.models.CveLink;
import com.azure.resourcemanager.iotfirmwaredefense.models.CveResource;
import com.azure.resourcemanager.iotfirmwaredefense.models.CvssScore;
+import com.azure.resourcemanager.iotfirmwaredefense.models.CweProperties;
+import com.azure.resourcemanager.iotfirmwaredefense.models.EpssProperties;
+import com.azure.resourcemanager.iotfirmwaredefense.models.ExploitMaturityLevel;
+import com.azure.resourcemanager.iotfirmwaredefense.models.KevProperties;
import com.azure.resourcemanager.iotfirmwaredefense.models.ProvisioningState;
import java.util.Collections;
import java.util.List;
@@ -93,6 +97,14 @@ public Integer effectiveCvssVersion() {
return this.innerModel().effectiveCvssVersion();
}
+ public String effectiveVectorString() {
+ return this.innerModel().effectiveVectorString();
+ }
+
+ public ExploitMaturityLevel effectiveExploitMaturity() {
+ return this.innerModel().effectiveExploitMaturity();
+ }
+
public List cvssScores() {
List inner = this.innerModel().cvssScores();
if (inner != null) {
@@ -115,6 +127,32 @@ public String description() {
return this.innerModel().description();
}
+ public EpssProperties epss() {
+ return this.innerModel().epss();
+ }
+
+ public List cwes() {
+ List inner = this.innerModel().cwes();
+ if (inner != null) {
+ return Collections.unmodifiableList(inner);
+ } else {
+ return Collections.emptyList();
+ }
+ }
+
+ public KevProperties kev() {
+ return this.innerModel().kev();
+ }
+
+ public List fixedInVersions() {
+ List inner = this.innerModel().fixedInVersions();
+ if (inner != null) {
+ return Collections.unmodifiableList(inner);
+ } else {
+ return Collections.emptyList();
+ }
+ }
+
public ProvisioningState provisioningState() {
return this.innerModel().provisioningState();
}
diff --git a/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/main/java/com/azure/resourcemanager/iotfirmwaredefense/implementation/IoTFirmwareDefenseMgmtClientImpl.java b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/main/java/com/azure/resourcemanager/iotfirmwaredefense/implementation/IoTFirmwareDefenseMgmtClientImpl.java
index f0ff04eb8728..88585819ff8c 100644
--- a/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/main/java/com/azure/resourcemanager/iotfirmwaredefense/implementation/IoTFirmwareDefenseMgmtClientImpl.java
+++ b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/main/java/com/azure/resourcemanager/iotfirmwaredefense/implementation/IoTFirmwareDefenseMgmtClientImpl.java
@@ -36,6 +36,7 @@
import com.azure.resourcemanager.iotfirmwaredefense.fluent.PasswordHashesClient;
import com.azure.resourcemanager.iotfirmwaredefense.fluent.SbomComponentsClient;
import com.azure.resourcemanager.iotfirmwaredefense.fluent.SummariesClient;
+import com.azure.resourcemanager.iotfirmwaredefense.fluent.UnsafeFunctionCallsClient;
import com.azure.resourcemanager.iotfirmwaredefense.fluent.UsageMetricsClient;
import com.azure.resourcemanager.iotfirmwaredefense.fluent.WorkspacesClient;
import java.io.IOException;
@@ -290,6 +291,20 @@ public UsageMetricsClient getUsageMetrics() {
return this.usageMetrics;
}
+ /**
+ * The UnsafeFunctionCallsClient object to access its operations.
+ */
+ private final UnsafeFunctionCallsClient unsafeFunctionCalls;
+
+ /**
+ * Gets the UnsafeFunctionCallsClient object to access its operations.
+ *
+ * @return the UnsafeFunctionCallsClient object.
+ */
+ public UnsafeFunctionCallsClient getUnsafeFunctionCalls() {
+ return this.unsafeFunctionCalls;
+ }
+
/**
* Initializes an instance of IoTFirmwareDefenseMgmtClient client.
*
@@ -307,7 +322,7 @@ public UsageMetricsClient getUsageMetrics() {
this.defaultPollInterval = defaultPollInterval;
this.endpoint = endpoint;
this.subscriptionId = subscriptionId;
- this.apiVersion = "2025-08-02";
+ this.apiVersion = "2026-06-01-preview";
this.operations = new OperationsClientImpl(this);
this.firmwares = new FirmwaresClientImpl(this);
this.workspaces = new WorkspacesClientImpl(this);
@@ -319,6 +334,7 @@ public UsageMetricsClient getUsageMetrics() {
this.sbomComponents = new SbomComponentsClientImpl(this);
this.summaries = new SummariesClientImpl(this);
this.usageMetrics = new UsageMetricsClientImpl(this);
+ this.unsafeFunctionCalls = new UnsafeFunctionCallsClientImpl(this);
}
/**
diff --git a/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/main/java/com/azure/resourcemanager/iotfirmwaredefense/implementation/UnsafeFunctionCallsClientImpl.java b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/main/java/com/azure/resourcemanager/iotfirmwaredefense/implementation/UnsafeFunctionCallsClientImpl.java
new file mode 100644
index 000000000000..3840744bf809
--- /dev/null
+++ b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/main/java/com/azure/resourcemanager/iotfirmwaredefense/implementation/UnsafeFunctionCallsClientImpl.java
@@ -0,0 +1,285 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.iotfirmwaredefense.implementation;
+
+import com.azure.core.annotation.ExpectedResponses;
+import com.azure.core.annotation.Get;
+import com.azure.core.annotation.HeaderParam;
+import com.azure.core.annotation.Headers;
+import com.azure.core.annotation.Host;
+import com.azure.core.annotation.HostParam;
+import com.azure.core.annotation.PathParam;
+import com.azure.core.annotation.QueryParam;
+import com.azure.core.annotation.ReturnType;
+import com.azure.core.annotation.ServiceInterface;
+import com.azure.core.annotation.ServiceMethod;
+import com.azure.core.annotation.UnexpectedResponseExceptionType;
+import com.azure.core.http.rest.PagedFlux;
+import com.azure.core.http.rest.PagedIterable;
+import com.azure.core.http.rest.PagedResponse;
+import com.azure.core.http.rest.PagedResponseBase;
+import com.azure.core.http.rest.Response;
+import com.azure.core.http.rest.RestProxy;
+import com.azure.core.management.exception.ManagementException;
+import com.azure.core.util.Context;
+import com.azure.core.util.FluxUtil;
+import com.azure.resourcemanager.iotfirmwaredefense.fluent.UnsafeFunctionCallsClient;
+import com.azure.resourcemanager.iotfirmwaredefense.fluent.models.UnsafeFunctionCallsResourceInner;
+import com.azure.resourcemanager.iotfirmwaredefense.implementation.models.UnsafeFunctionCallsResourceListResult;
+import reactor.core.publisher.Mono;
+
+/**
+ * An instance of this class provides access to all the operations defined in UnsafeFunctionCallsClient.
+ */
+public final class UnsafeFunctionCallsClientImpl implements UnsafeFunctionCallsClient {
+ /**
+ * The proxy service used to perform REST calls.
+ */
+ private final UnsafeFunctionCallsService service;
+
+ /**
+ * The service client containing this operation class.
+ */
+ private final IoTFirmwareDefenseMgmtClientImpl client;
+
+ /**
+ * Initializes an instance of UnsafeFunctionCallsClientImpl.
+ *
+ * @param client the instance of the service client containing this operation class.
+ */
+ UnsafeFunctionCallsClientImpl(IoTFirmwareDefenseMgmtClientImpl client) {
+ this.service = RestProxy.create(UnsafeFunctionCallsService.class, client.getHttpPipeline(),
+ client.getSerializerAdapter());
+ this.client = client;
+ }
+
+ /**
+ * The interface defining all the services for IoTFirmwareDefenseMgmtClientUnsafeFunctionCalls to be used by the
+ * proxy service to perform REST calls.
+ */
+ @Host("{endpoint}")
+ @ServiceInterface(name = "IoTFirmwareDefenseMgmtClientUnsafeFunctionCalls")
+ public interface UnsafeFunctionCallsService {
+ @Headers({ "Content-Type: application/json" })
+ @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTFirmwareDefense/workspaces/{workspaceName}/firmwares/{firmwareId}/unsafeFunctionCalls")
+ @ExpectedResponses({ 200 })
+ @UnexpectedResponseExceptionType(ManagementException.class)
+ Mono> listByFirmware(@HostParam("endpoint") String endpoint,
+ @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId,
+ @PathParam("resourceGroupName") String resourceGroupName, @PathParam("workspaceName") String workspaceName,
+ @PathParam("firmwareId") String firmwareId, @HeaderParam("Accept") String accept, Context context);
+
+ @Headers({ "Content-Type: application/json" })
+ @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTFirmwareDefense/workspaces/{workspaceName}/firmwares/{firmwareId}/unsafeFunctionCalls")
+ @ExpectedResponses({ 200 })
+ @UnexpectedResponseExceptionType(ManagementException.class)
+ Response listByFirmwareSync(@HostParam("endpoint") String endpoint,
+ @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId,
+ @PathParam("resourceGroupName") String resourceGroupName, @PathParam("workspaceName") String workspaceName,
+ @PathParam("firmwareId") String firmwareId, @HeaderParam("Accept") String accept, Context context);
+
+ @Headers({ "Content-Type: application/json" })
+ @Get("{nextLink}")
+ @ExpectedResponses({ 200 })
+ @UnexpectedResponseExceptionType(ManagementException.class)
+ Mono> listByFirmwareNext(
+ @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint,
+ @HeaderParam("Accept") String accept, Context context);
+
+ @Headers({ "Content-Type: application/json" })
+ @Get("{nextLink}")
+ @ExpectedResponses({ 200 })
+ @UnexpectedResponseExceptionType(ManagementException.class)
+ Response listByFirmwareNextSync(
+ @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint,
+ @HeaderParam("Accept") String accept, Context context);
+ }
+
+ /**
+ * Lists unsafe function call analysis results of a firmware.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName The name of the firmware analysis workspace.
+ * @param firmwareId The id of the firmware.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response of a UnsafeFunctionCallsResource list operation along with {@link PagedResponse} on
+ * successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono>
+ listByFirmwareSinglePageAsync(String resourceGroupName, String workspaceName, String firmwareId) {
+ final String accept = "application/json";
+ return FluxUtil
+ .withContext(context -> service.listByFirmware(this.client.getEndpoint(), this.client.getApiVersion(),
+ this.client.getSubscriptionId(), resourceGroupName, workspaceName, firmwareId, accept, context))
+ .>map(res -> new PagedResponseBase<>(res.getRequest(),
+ res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null))
+ .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly()));
+ }
+
+ /**
+ * Lists unsafe function call analysis results of a firmware.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName The name of the firmware analysis workspace.
+ * @param firmwareId The id of the firmware.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response of a UnsafeFunctionCallsResource list operation as paginated response with
+ * {@link PagedFlux}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ private PagedFlux listByFirmwareAsync(String resourceGroupName,
+ String workspaceName, String firmwareId) {
+ return new PagedFlux<>(() -> listByFirmwareSinglePageAsync(resourceGroupName, workspaceName, firmwareId),
+ nextLink -> listByFirmwareNextSinglePageAsync(nextLink));
+ }
+
+ /**
+ * Lists unsafe function call analysis results of a firmware.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName The name of the firmware analysis workspace.
+ * @param firmwareId The id of the firmware.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response of a UnsafeFunctionCallsResource list operation along with {@link PagedResponse}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private PagedResponse listByFirmwareSinglePage(String resourceGroupName,
+ String workspaceName, String firmwareId) {
+ final String accept = "application/json";
+ Response res
+ = service.listByFirmwareSync(this.client.getEndpoint(), this.client.getApiVersion(),
+ this.client.getSubscriptionId(), resourceGroupName, workspaceName, firmwareId, accept, Context.NONE);
+ return new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(),
+ res.getValue().nextLink(), null);
+ }
+
+ /**
+ * Lists unsafe function call analysis results of a firmware.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName The name of the firmware analysis workspace.
+ * @param firmwareId The id of the firmware.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response of a UnsafeFunctionCallsResource list operation along with {@link PagedResponse}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private PagedResponse listByFirmwareSinglePage(String resourceGroupName,
+ String workspaceName, String firmwareId, Context context) {
+ final String accept = "application/json";
+ Response res
+ = service.listByFirmwareSync(this.client.getEndpoint(), this.client.getApiVersion(),
+ this.client.getSubscriptionId(), resourceGroupName, workspaceName, firmwareId, accept, context);
+ return new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(),
+ res.getValue().nextLink(), null);
+ }
+
+ /**
+ * Lists unsafe function call analysis results of a firmware.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName The name of the firmware analysis workspace.
+ * @param firmwareId The id of the firmware.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response of a UnsafeFunctionCallsResource list operation as paginated response with
+ * {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ public PagedIterable listByFirmware(String resourceGroupName,
+ String workspaceName, String firmwareId) {
+ return new PagedIterable<>(() -> listByFirmwareSinglePage(resourceGroupName, workspaceName, firmwareId),
+ nextLink -> listByFirmwareNextSinglePage(nextLink));
+ }
+
+ /**
+ * Lists unsafe function call analysis results of a firmware.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName The name of the firmware analysis workspace.
+ * @param firmwareId The id of the firmware.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response of a UnsafeFunctionCallsResource list operation as paginated response with
+ * {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ public PagedIterable listByFirmware(String resourceGroupName,
+ String workspaceName, String firmwareId, Context context) {
+ return new PagedIterable<>(
+ () -> listByFirmwareSinglePage(resourceGroupName, workspaceName, firmwareId, context),
+ nextLink -> listByFirmwareNextSinglePage(nextLink, context));
+ }
+
+ /**
+ * Get the next page of items.
+ *
+ * @param nextLink The URL to get the next list of items.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response of a UnsafeFunctionCallsResource list operation along with {@link PagedResponse} on
+ * successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono> listByFirmwareNextSinglePageAsync(String nextLink) {
+ final String accept = "application/json";
+ return FluxUtil
+ .withContext(context -> service.listByFirmwareNext(nextLink, this.client.getEndpoint(), accept, context))
+ .>map(res -> new PagedResponseBase<>(res.getRequest(),
+ res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null))
+ .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly()));
+ }
+
+ /**
+ * Get the next page of items.
+ *
+ * @param nextLink The URL to get the next list of items.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response of a UnsafeFunctionCallsResource list operation along with {@link PagedResponse}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private PagedResponse listByFirmwareNextSinglePage(String nextLink) {
+ final String accept = "application/json";
+ Response res
+ = service.listByFirmwareNextSync(nextLink, this.client.getEndpoint(), accept, Context.NONE);
+ return new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(),
+ res.getValue().nextLink(), null);
+ }
+
+ /**
+ * Get the next page of items.
+ *
+ * @param nextLink The URL to get the next list of items.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response of a UnsafeFunctionCallsResource list operation along with {@link PagedResponse}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private PagedResponse listByFirmwareNextSinglePage(String nextLink,
+ Context context) {
+ final String accept = "application/json";
+ Response res
+ = service.listByFirmwareNextSync(nextLink, this.client.getEndpoint(), accept, context);
+ return new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(),
+ res.getValue().nextLink(), null);
+ }
+}
diff --git a/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/main/java/com/azure/resourcemanager/iotfirmwaredefense/implementation/UnsafeFunctionCallsImpl.java b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/main/java/com/azure/resourcemanager/iotfirmwaredefense/implementation/UnsafeFunctionCallsImpl.java
new file mode 100644
index 000000000000..fccc88ce9b37
--- /dev/null
+++ b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/main/java/com/azure/resourcemanager/iotfirmwaredefense/implementation/UnsafeFunctionCallsImpl.java
@@ -0,0 +1,51 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.iotfirmwaredefense.implementation;
+
+import com.azure.core.http.rest.PagedIterable;
+import com.azure.core.util.Context;
+import com.azure.core.util.logging.ClientLogger;
+import com.azure.resourcemanager.iotfirmwaredefense.fluent.UnsafeFunctionCallsClient;
+import com.azure.resourcemanager.iotfirmwaredefense.fluent.models.UnsafeFunctionCallsResourceInner;
+import com.azure.resourcemanager.iotfirmwaredefense.models.UnsafeFunctionCalls;
+import com.azure.resourcemanager.iotfirmwaredefense.models.UnsafeFunctionCallsResource;
+
+public final class UnsafeFunctionCallsImpl implements UnsafeFunctionCalls {
+ private static final ClientLogger LOGGER = new ClientLogger(UnsafeFunctionCallsImpl.class);
+
+ private final UnsafeFunctionCallsClient innerClient;
+
+ private final com.azure.resourcemanager.iotfirmwaredefense.IoTFirmwareDefenseManager serviceManager;
+
+ public UnsafeFunctionCallsImpl(UnsafeFunctionCallsClient innerClient,
+ com.azure.resourcemanager.iotfirmwaredefense.IoTFirmwareDefenseManager serviceManager) {
+ this.innerClient = innerClient;
+ this.serviceManager = serviceManager;
+ }
+
+ public PagedIterable listByFirmware(String resourceGroupName, String workspaceName,
+ String firmwareId) {
+ PagedIterable inner
+ = this.serviceClient().listByFirmware(resourceGroupName, workspaceName, firmwareId);
+ return ResourceManagerUtils.mapPage(inner,
+ inner1 -> new UnsafeFunctionCallsResourceImpl(inner1, this.manager()));
+ }
+
+ public PagedIterable listByFirmware(String resourceGroupName, String workspaceName,
+ String firmwareId, Context context) {
+ PagedIterable inner
+ = this.serviceClient().listByFirmware(resourceGroupName, workspaceName, firmwareId, context);
+ return ResourceManagerUtils.mapPage(inner,
+ inner1 -> new UnsafeFunctionCallsResourceImpl(inner1, this.manager()));
+ }
+
+ private UnsafeFunctionCallsClient serviceClient() {
+ return this.innerClient;
+ }
+
+ private com.azure.resourcemanager.iotfirmwaredefense.IoTFirmwareDefenseManager manager() {
+ return this.serviceManager;
+ }
+}
diff --git a/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/main/java/com/azure/resourcemanager/iotfirmwaredefense/implementation/UnsafeFunctionCallsResourceImpl.java b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/main/java/com/azure/resourcemanager/iotfirmwaredefense/implementation/UnsafeFunctionCallsResourceImpl.java
new file mode 100644
index 000000000000..4d663669e55f
--- /dev/null
+++ b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/main/java/com/azure/resourcemanager/iotfirmwaredefense/implementation/UnsafeFunctionCallsResourceImpl.java
@@ -0,0 +1,50 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.iotfirmwaredefense.implementation;
+
+import com.azure.core.management.SystemData;
+import com.azure.resourcemanager.iotfirmwaredefense.fluent.models.UnsafeFunctionCallsResourceInner;
+import com.azure.resourcemanager.iotfirmwaredefense.models.UnsafeFunctionCallsResource;
+import com.azure.resourcemanager.iotfirmwaredefense.models.UnsafeFunctionCallsResult;
+
+public final class UnsafeFunctionCallsResourceImpl implements UnsafeFunctionCallsResource {
+ private UnsafeFunctionCallsResourceInner innerObject;
+
+ private final com.azure.resourcemanager.iotfirmwaredefense.IoTFirmwareDefenseManager serviceManager;
+
+ UnsafeFunctionCallsResourceImpl(UnsafeFunctionCallsResourceInner innerObject,
+ com.azure.resourcemanager.iotfirmwaredefense.IoTFirmwareDefenseManager serviceManager) {
+ this.innerObject = innerObject;
+ this.serviceManager = serviceManager;
+ }
+
+ public String id() {
+ return this.innerModel().id();
+ }
+
+ public String name() {
+ return this.innerModel().name();
+ }
+
+ public String type() {
+ return this.innerModel().type();
+ }
+
+ public UnsafeFunctionCallsResult properties() {
+ return this.innerModel().properties();
+ }
+
+ public SystemData systemData() {
+ return this.innerModel().systemData();
+ }
+
+ public UnsafeFunctionCallsResourceInner innerModel() {
+ return this.innerObject;
+ }
+
+ private com.azure.resourcemanager.iotfirmwaredefense.IoTFirmwareDefenseManager manager() {
+ return this.serviceManager;
+ }
+}
diff --git a/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/main/java/com/azure/resourcemanager/iotfirmwaredefense/implementation/models/UnsafeFunctionCallsResourceListResult.java b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/main/java/com/azure/resourcemanager/iotfirmwaredefense/implementation/models/UnsafeFunctionCallsResourceListResult.java
new file mode 100644
index 000000000000..e7fcc6f5f5fa
--- /dev/null
+++ b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/main/java/com/azure/resourcemanager/iotfirmwaredefense/implementation/models/UnsafeFunctionCallsResourceListResult.java
@@ -0,0 +1,98 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.iotfirmwaredefense.implementation.models;
+
+import com.azure.core.annotation.Immutable;
+import com.azure.json.JsonReader;
+import com.azure.json.JsonSerializable;
+import com.azure.json.JsonToken;
+import com.azure.json.JsonWriter;
+import com.azure.resourcemanager.iotfirmwaredefense.fluent.models.UnsafeFunctionCallsResourceInner;
+import java.io.IOException;
+import java.util.List;
+
+/**
+ * The response of a UnsafeFunctionCallsResource list operation.
+ */
+@Immutable
+public final class UnsafeFunctionCallsResourceListResult
+ implements JsonSerializable {
+ /*
+ * The UnsafeFunctionCallsResource items on this page
+ */
+ private List value;
+
+ /*
+ * The link to the next page of items
+ */
+ private String nextLink;
+
+ /**
+ * Creates an instance of UnsafeFunctionCallsResourceListResult class.
+ */
+ private UnsafeFunctionCallsResourceListResult() {
+ }
+
+ /**
+ * Get the value property: The UnsafeFunctionCallsResource items on this page.
+ *
+ * @return the value value.
+ */
+ public List value() {
+ return this.value;
+ }
+
+ /**
+ * Get the nextLink property: The link to the next page of items.
+ *
+ * @return the nextLink value.
+ */
+ public String nextLink() {
+ return this.nextLink;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ @Override
+ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
+ jsonWriter.writeStartObject();
+ jsonWriter.writeArrayField("value", this.value, (writer, element) -> writer.writeJson(element));
+ jsonWriter.writeStringField("nextLink", this.nextLink);
+ return jsonWriter.writeEndObject();
+ }
+
+ /**
+ * Reads an instance of UnsafeFunctionCallsResourceListResult from the JsonReader.
+ *
+ * @param jsonReader The JsonReader being read.
+ * @return An instance of UnsafeFunctionCallsResourceListResult if the JsonReader was pointing to an instance of it,
+ * or null if it was pointing to JSON null.
+ * @throws IllegalStateException If the deserialized JSON object was missing any required properties.
+ * @throws IOException If an error occurs while reading the UnsafeFunctionCallsResourceListResult.
+ */
+ public static UnsafeFunctionCallsResourceListResult fromJson(JsonReader jsonReader) throws IOException {
+ return jsonReader.readObject(reader -> {
+ UnsafeFunctionCallsResourceListResult deserializedUnsafeFunctionCallsResourceListResult
+ = new UnsafeFunctionCallsResourceListResult();
+ while (reader.nextToken() != JsonToken.END_OBJECT) {
+ String fieldName = reader.getFieldName();
+ reader.nextToken();
+
+ if ("value".equals(fieldName)) {
+ List value
+ = reader.readArray(reader1 -> UnsafeFunctionCallsResourceInner.fromJson(reader1));
+ deserializedUnsafeFunctionCallsResourceListResult.value = value;
+ } else if ("nextLink".equals(fieldName)) {
+ deserializedUnsafeFunctionCallsResourceListResult.nextLink = reader.getString();
+ } else {
+ reader.skipChildren();
+ }
+ }
+
+ return deserializedUnsafeFunctionCallsResourceListResult;
+ });
+ }
+}
diff --git a/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/main/java/com/azure/resourcemanager/iotfirmwaredefense/models/CveResource.java b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/main/java/com/azure/resourcemanager/iotfirmwaredefense/models/CveResource.java
index dbcc429650db..8973dda7fe91 100644
--- a/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/main/java/com/azure/resourcemanager/iotfirmwaredefense/models/CveResource.java
+++ b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/main/java/com/azure/resourcemanager/iotfirmwaredefense/models/CveResource.java
@@ -90,21 +90,21 @@ public interface CveResource {
CveComponent component();
/**
- * Gets the cvssScore property: Legacy property for the effective CVE score.
+ * Gets the cvssScore property: Legacy property for the effective CVE score (deprecated).
*
* @return the cvssScore value.
*/
String cvssScore();
/**
- * Gets the cvssV2Score property: Legacy property for the CVE CVSS version 2 score, if one existed.
+ * Gets the cvssV2Score property: Legacy property for the CVE CVSS version 2 score, if one existed. (deprecated).
*
* @return the cvssV2Score value.
*/
String cvssV2Score();
/**
- * Gets the cvssV3Score property: Legacy property for the CVE CVSS version 3 score, if one existed.
+ * Gets the cvssV3Score property: Legacy property for the CVE CVSS version 3 score, if one existed. (deprecated).
*
* @return the cvssV3Score value.
*/
@@ -112,7 +112,7 @@ public interface CveResource {
/**
* Gets the cvssVersion property: Legacy property for the what CVSS version score was stored in the cvssScore
- * property.
+ * property (deprecated).
*
* @return the cvssVersion value.
*/
@@ -132,6 +132,20 @@ public interface CveResource {
*/
Integer effectiveCvssVersion();
+ /**
+ * Gets the effectiveVectorString property: The CVSS vector string for the effectiveCvssVersion.
+ *
+ * @return the effectiveVectorString value.
+ */
+ String effectiveVectorString();
+
+ /**
+ * Gets the effectiveExploitMaturity property: The CVSS exploit maturity value for the effectiveCvssVersion.
+ *
+ * @return the effectiveExploitMaturity value.
+ */
+ ExploitMaturityLevel effectiveExploitMaturity();
+
/**
* Gets the cvssScores property: All known CVSS scores for the CVE.
*
@@ -153,6 +167,34 @@ public interface CveResource {
*/
String description();
+ /**
+ * Gets the epss property: EPSS (Exploit Prediction Scoring System) information related to this CVE.
+ *
+ * @return the epss value.
+ */
+ EpssProperties epss();
+
+ /**
+ * Gets the cwes property: CWE (Common Weakness Enumeration) information related to this CVE.
+ *
+ * @return the cwes value.
+ */
+ List cwes();
+
+ /**
+ * Gets the kev property: KEV (Known Exploited Vulnerabilities) information related to this CVE.
+ *
+ * @return the kev value.
+ */
+ KevProperties kev();
+
+ /**
+ * Gets the fixedInVersions property: The component versions in which this weakness was fixed, if any.
+ *
+ * @return the fixedInVersions value.
+ */
+ List fixedInVersions();
+
/**
* Gets the provisioningState property: The status of the last operation.
*
diff --git a/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/main/java/com/azure/resourcemanager/iotfirmwaredefense/models/CveSummary.java b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/main/java/com/azure/resourcemanager/iotfirmwaredefense/models/CveSummary.java
index 4a6cf2bae80d..bd74d8eeab3f 100644
--- a/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/main/java/com/azure/resourcemanager/iotfirmwaredefense/models/CveSummary.java
+++ b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/main/java/com/azure/resourcemanager/iotfirmwaredefense/models/CveSummary.java
@@ -11,7 +11,7 @@
import java.io.IOException;
/**
- * Properties for a CVE analysis summary.
+ * Properties for a CVE (Common Vulnerabilities and Exposures) analysis summary (deprecated).
*/
@Immutable
public final class CveSummary extends SummaryResourceProperties {
diff --git a/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/main/java/com/azure/resourcemanager/iotfirmwaredefense/models/CveSummaryResource.java b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/main/java/com/azure/resourcemanager/iotfirmwaredefense/models/CveSummaryResource.java
new file mode 100644
index 000000000000..8aecb78f70b8
--- /dev/null
+++ b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/main/java/com/azure/resourcemanager/iotfirmwaredefense/models/CveSummaryResource.java
@@ -0,0 +1,196 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.iotfirmwaredefense.models;
+
+import com.azure.core.annotation.Immutable;
+import com.azure.json.JsonReader;
+import com.azure.json.JsonToken;
+import com.azure.json.JsonWriter;
+import java.io.IOException;
+
+/**
+ * Properties for a CVE analysis summary.
+ */
+@Immutable
+public final class CveSummaryResource extends SummaryResourceProperties {
+ /*
+ * The type of summary.
+ */
+ private SummaryType summaryType = SummaryType.CVE;
+
+ /*
+ * Total number of CVEs found.
+ */
+ private Long totalCveCount;
+
+ /*
+ * The total number of critical severity CVEs detected
+ */
+ private Long criticalCveCount;
+
+ /*
+ * The total number of high severity CVEs detected
+ */
+ private Long highCveCount;
+
+ /*
+ * The total number of medium severity CVEs detected
+ */
+ private Long mediumCveCount;
+
+ /*
+ * The total number of low severity CVEs detected
+ */
+ private Long lowCveCount;
+
+ /*
+ * The total number of unknown severity CVEs detected
+ */
+ private Long unknownCveCount;
+
+ /*
+ * Schema version of the CVE data for this firmware.
+ */
+ private String schemaVersion;
+
+ /**
+ * Creates an instance of CveSummaryResource class.
+ */
+ private CveSummaryResource() {
+ }
+
+ /**
+ * Get the summaryType property: The type of summary.
+ *
+ * @return the summaryType value.
+ */
+ @Override
+ public SummaryType summaryType() {
+ return this.summaryType;
+ }
+
+ /**
+ * Get the totalCveCount property: Total number of CVEs found.
+ *
+ * @return the totalCveCount value.
+ */
+ public Long totalCveCount() {
+ return this.totalCveCount;
+ }
+
+ /**
+ * Get the criticalCveCount property: The total number of critical severity CVEs detected.
+ *
+ * @return the criticalCveCount value.
+ */
+ public Long criticalCveCount() {
+ return this.criticalCveCount;
+ }
+
+ /**
+ * Get the highCveCount property: The total number of high severity CVEs detected.
+ *
+ * @return the highCveCount value.
+ */
+ public Long highCveCount() {
+ return this.highCveCount;
+ }
+
+ /**
+ * Get the mediumCveCount property: The total number of medium severity CVEs detected.
+ *
+ * @return the mediumCveCount value.
+ */
+ public Long mediumCveCount() {
+ return this.mediumCveCount;
+ }
+
+ /**
+ * Get the lowCveCount property: The total number of low severity CVEs detected.
+ *
+ * @return the lowCveCount value.
+ */
+ public Long lowCveCount() {
+ return this.lowCveCount;
+ }
+
+ /**
+ * Get the unknownCveCount property: The total number of unknown severity CVEs detected.
+ *
+ * @return the unknownCveCount value.
+ */
+ public Long unknownCveCount() {
+ return this.unknownCveCount;
+ }
+
+ /**
+ * Get the schemaVersion property: Schema version of the CVE data for this firmware.
+ *
+ * @return the schemaVersion value.
+ */
+ public String schemaVersion() {
+ return this.schemaVersion;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ @Override
+ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
+ jsonWriter.writeStartObject();
+ jsonWriter.writeStringField("summaryType", this.summaryType == null ? null : this.summaryType.toString());
+ jsonWriter.writeNumberField("totalCveCount", this.totalCveCount);
+ jsonWriter.writeNumberField("criticalCveCount", this.criticalCveCount);
+ jsonWriter.writeNumberField("highCveCount", this.highCveCount);
+ jsonWriter.writeNumberField("mediumCveCount", this.mediumCveCount);
+ jsonWriter.writeNumberField("lowCveCount", this.lowCveCount);
+ jsonWriter.writeNumberField("unknownCveCount", this.unknownCveCount);
+ jsonWriter.writeStringField("schemaVersion", this.schemaVersion);
+ return jsonWriter.writeEndObject();
+ }
+
+ /**
+ * Reads an instance of CveSummaryResource from the JsonReader.
+ *
+ * @param jsonReader The JsonReader being read.
+ * @return An instance of CveSummaryResource if the JsonReader was pointing to an instance of it, or null if it was
+ * pointing to JSON null.
+ * @throws IOException If an error occurs while reading the CveSummaryResource.
+ */
+ public static CveSummaryResource fromJson(JsonReader jsonReader) throws IOException {
+ return jsonReader.readObject(reader -> {
+ CveSummaryResource deserializedCveSummaryResource = new CveSummaryResource();
+ while (reader.nextToken() != JsonToken.END_OBJECT) {
+ String fieldName = reader.getFieldName();
+ reader.nextToken();
+
+ if ("provisioningState".equals(fieldName)) {
+ deserializedCveSummaryResource
+ .withProvisioningState(ProvisioningState.fromString(reader.getString()));
+ } else if ("summaryType".equals(fieldName)) {
+ deserializedCveSummaryResource.summaryType = SummaryType.fromString(reader.getString());
+ } else if ("totalCveCount".equals(fieldName)) {
+ deserializedCveSummaryResource.totalCveCount = reader.getNullable(JsonReader::getLong);
+ } else if ("criticalCveCount".equals(fieldName)) {
+ deserializedCveSummaryResource.criticalCveCount = reader.getNullable(JsonReader::getLong);
+ } else if ("highCveCount".equals(fieldName)) {
+ deserializedCveSummaryResource.highCveCount = reader.getNullable(JsonReader::getLong);
+ } else if ("mediumCveCount".equals(fieldName)) {
+ deserializedCveSummaryResource.mediumCveCount = reader.getNullable(JsonReader::getLong);
+ } else if ("lowCveCount".equals(fieldName)) {
+ deserializedCveSummaryResource.lowCveCount = reader.getNullable(JsonReader::getLong);
+ } else if ("unknownCveCount".equals(fieldName)) {
+ deserializedCveSummaryResource.unknownCveCount = reader.getNullable(JsonReader::getLong);
+ } else if ("schemaVersion".equals(fieldName)) {
+ deserializedCveSummaryResource.schemaVersion = reader.getString();
+ } else {
+ reader.skipChildren();
+ }
+ }
+
+ return deserializedCveSummaryResource;
+ });
+ }
+}
diff --git a/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/main/java/com/azure/resourcemanager/iotfirmwaredefense/models/CvssScore.java b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/main/java/com/azure/resourcemanager/iotfirmwaredefense/models/CvssScore.java
index 50eff36cc26e..b1ba4d6740bf 100644
--- a/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/main/java/com/azure/resourcemanager/iotfirmwaredefense/models/CvssScore.java
+++ b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/main/java/com/azure/resourcemanager/iotfirmwaredefense/models/CvssScore.java
@@ -26,6 +26,17 @@ public final class CvssScore implements JsonSerializable {
*/
private Double score;
+ /*
+ * The CVSS vector for the specified score
+ */
+ private String vectorString;
+
+ /*
+ * The likelihood of the vulnerability being attacked based on information regarding the availability of
+ * exploitation code/processes and the state of exploitation techniques.
+ */
+ private ExploitMaturityLevel exploitMaturity;
+
/**
* Creates an instance of CvssScore class.
*/
@@ -50,6 +61,25 @@ public Double score() {
return this.score;
}
+ /**
+ * Get the vectorString property: The CVSS vector for the specified score.
+ *
+ * @return the vectorString value.
+ */
+ public String vectorString() {
+ return this.vectorString;
+ }
+
+ /**
+ * Get the exploitMaturity property: The likelihood of the vulnerability being attacked based on information
+ * regarding the availability of exploitation code/processes and the state of exploitation techniques.
+ *
+ * @return the exploitMaturity value.
+ */
+ public ExploitMaturityLevel exploitMaturity() {
+ return this.exploitMaturity;
+ }
+
/**
* {@inheritDoc}
*/
@@ -58,6 +88,9 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
jsonWriter.writeStartObject();
jsonWriter.writeIntField("version", this.version);
jsonWriter.writeNumberField("score", this.score);
+ jsonWriter.writeStringField("vectorString", this.vectorString);
+ jsonWriter.writeStringField("exploitMaturity",
+ this.exploitMaturity == null ? null : this.exploitMaturity.toString());
return jsonWriter.writeEndObject();
}
@@ -81,6 +114,10 @@ public static CvssScore fromJson(JsonReader jsonReader) throws IOException {
deserializedCvssScore.version = reader.getInt();
} else if ("score".equals(fieldName)) {
deserializedCvssScore.score = reader.getNullable(JsonReader::getDouble);
+ } else if ("vectorString".equals(fieldName)) {
+ deserializedCvssScore.vectorString = reader.getString();
+ } else if ("exploitMaturity".equals(fieldName)) {
+ deserializedCvssScore.exploitMaturity = ExploitMaturityLevel.fromString(reader.getString());
} else {
reader.skipChildren();
}
diff --git a/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/main/java/com/azure/resourcemanager/iotfirmwaredefense/models/CweProperties.java b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/main/java/com/azure/resourcemanager/iotfirmwaredefense/models/CweProperties.java
new file mode 100644
index 000000000000..e0e033dc8685
--- /dev/null
+++ b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/main/java/com/azure/resourcemanager/iotfirmwaredefense/models/CweProperties.java
@@ -0,0 +1,108 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.iotfirmwaredefense.models;
+
+import com.azure.core.annotation.Immutable;
+import com.azure.json.JsonReader;
+import com.azure.json.JsonSerializable;
+import com.azure.json.JsonToken;
+import com.azure.json.JsonWriter;
+import java.io.IOException;
+
+/**
+ * CWE (Common Weakness Enumeration) data related to a CVE.
+ */
+@Immutable
+public final class CweProperties implements JsonSerializable {
+ /*
+ * The id of the CWE.
+ */
+ private String cweId;
+
+ /*
+ * The name of the CWE.
+ */
+ private String cweName;
+
+ /*
+ * The description of the CWE.
+ */
+ private String description;
+
+ /**
+ * Creates an instance of CweProperties class.
+ */
+ private CweProperties() {
+ }
+
+ /**
+ * Get the cweId property: The id of the CWE.
+ *
+ * @return the cweId value.
+ */
+ public String cweId() {
+ return this.cweId;
+ }
+
+ /**
+ * Get the cweName property: The name of the CWE.
+ *
+ * @return the cweName value.
+ */
+ public String cweName() {
+ return this.cweName;
+ }
+
+ /**
+ * Get the description property: The description of the CWE.
+ *
+ * @return the description value.
+ */
+ public String description() {
+ return this.description;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ @Override
+ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
+ jsonWriter.writeStartObject();
+ jsonWriter.writeStringField("cweId", this.cweId);
+ jsonWriter.writeStringField("cweName", this.cweName);
+ jsonWriter.writeStringField("description", this.description);
+ return jsonWriter.writeEndObject();
+ }
+
+ /**
+ * Reads an instance of CweProperties from the JsonReader.
+ *
+ * @param jsonReader The JsonReader being read.
+ * @return An instance of CweProperties if the JsonReader was pointing to an instance of it, or null if it was
+ * pointing to JSON null.
+ * @throws IOException If an error occurs while reading the CweProperties.
+ */
+ public static CweProperties fromJson(JsonReader jsonReader) throws IOException {
+ return jsonReader.readObject(reader -> {
+ CweProperties deserializedCweProperties = new CweProperties();
+ while (reader.nextToken() != JsonToken.END_OBJECT) {
+ String fieldName = reader.getFieldName();
+ reader.nextToken();
+
+ if ("cweId".equals(fieldName)) {
+ deserializedCweProperties.cweId = reader.getString();
+ } else if ("cweName".equals(fieldName)) {
+ deserializedCweProperties.cweName = reader.getString();
+ } else if ("description".equals(fieldName)) {
+ deserializedCweProperties.description = reader.getString();
+ } else {
+ reader.skipChildren();
+ }
+ }
+
+ return deserializedCweProperties;
+ });
+ }
+}
diff --git a/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/main/java/com/azure/resourcemanager/iotfirmwaredefense/models/EpssProperties.java b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/main/java/com/azure/resourcemanager/iotfirmwaredefense/models/EpssProperties.java
new file mode 100644
index 000000000000..bf9b5bd32b4a
--- /dev/null
+++ b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/main/java/com/azure/resourcemanager/iotfirmwaredefense/models/EpssProperties.java
@@ -0,0 +1,91 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.iotfirmwaredefense.models;
+
+import com.azure.core.annotation.Immutable;
+import com.azure.json.JsonReader;
+import com.azure.json.JsonSerializable;
+import com.azure.json.JsonToken;
+import com.azure.json.JsonWriter;
+import java.io.IOException;
+
+/**
+ * EPSS (Exploit Prediction Scoring System) data related to a CVE.
+ */
+@Immutable
+public final class EpssProperties implements JsonSerializable {
+ /*
+ * The probability of observing exploitation activity in the next 30 days.
+ */
+ private Double score;
+
+ /*
+ * The rank ordering of probabilities from high to low.
+ */
+ private Double percentile;
+
+ /**
+ * Creates an instance of EpssProperties class.
+ */
+ private EpssProperties() {
+ }
+
+ /**
+ * Get the score property: The probability of observing exploitation activity in the next 30 days.
+ *
+ * @return the score value.
+ */
+ public Double score() {
+ return this.score;
+ }
+
+ /**
+ * Get the percentile property: The rank ordering of probabilities from high to low.
+ *
+ * @return the percentile value.
+ */
+ public Double percentile() {
+ return this.percentile;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ @Override
+ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
+ jsonWriter.writeStartObject();
+ jsonWriter.writeNumberField("score", this.score);
+ jsonWriter.writeNumberField("percentile", this.percentile);
+ return jsonWriter.writeEndObject();
+ }
+
+ /**
+ * Reads an instance of EpssProperties from the JsonReader.
+ *
+ * @param jsonReader The JsonReader being read.
+ * @return An instance of EpssProperties if the JsonReader was pointing to an instance of it, or null if it was
+ * pointing to JSON null.
+ * @throws IOException If an error occurs while reading the EpssProperties.
+ */
+ public static EpssProperties fromJson(JsonReader jsonReader) throws IOException {
+ return jsonReader.readObject(reader -> {
+ EpssProperties deserializedEpssProperties = new EpssProperties();
+ while (reader.nextToken() != JsonToken.END_OBJECT) {
+ String fieldName = reader.getFieldName();
+ reader.nextToken();
+
+ if ("score".equals(fieldName)) {
+ deserializedEpssProperties.score = reader.getNullable(JsonReader::getDouble);
+ } else if ("percentile".equals(fieldName)) {
+ deserializedEpssProperties.percentile = reader.getNullable(JsonReader::getDouble);
+ } else {
+ reader.skipChildren();
+ }
+ }
+
+ return deserializedEpssProperties;
+ });
+ }
+}
diff --git a/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/main/java/com/azure/resourcemanager/iotfirmwaredefense/models/ExploitMaturityLevel.java b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/main/java/com/azure/resourcemanager/iotfirmwaredefense/models/ExploitMaturityLevel.java
new file mode 100644
index 000000000000..04e8504ee27c
--- /dev/null
+++ b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/main/java/com/azure/resourcemanager/iotfirmwaredefense/models/ExploitMaturityLevel.java
@@ -0,0 +1,69 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.iotfirmwaredefense.models;
+
+import com.azure.core.util.ExpandableStringEnum;
+import java.util.Collection;
+
+/**
+ * String to indicate the exploit maturity of a CVE for the given CVSS score.
+ */
+public final class ExploitMaturityLevel extends ExpandableStringEnum {
+ /**
+ * Reliable threat intelligence is not available to determine Exploit Maturity characteristics. This is the default
+ * value and is equivalent to Attacked (A) for the purposes of the calculation of the score by assuming the worst
+ * case.
+ */
+ public static final ExploitMaturityLevel NOT_DEFINED = fromString("NOT_DEFINED");
+
+ /**
+ * Based on available threat intelligence either of the following must apply: attacks targeting this vulnerability
+ * (attempted or successful) have been reported, or solutions to simplify attempts to exploit the vulnerability are
+ * publicly or privately available.
+ */
+ public static final ExploitMaturityLevel ATTACKED = fromString("ATTACKED");
+
+ /**
+ * Based on available threat intelligence each of the following must apply: proof-of-concept exploit code is
+ * publicly available, no knowledge of reported attempts to exploit this vulnerability, and no knowledge of publicly
+ * available solutions used to simplify attempts to exploit the vulnerability.
+ */
+ public static final ExploitMaturityLevel PROOF_OF_CONCEPT = fromString("PROOF_OF_CONCEPT");
+
+ /**
+ * Based on available threat intelligence each of the following must apply: no knowledge of publicly available
+ * proof-of-concept exploit code, no knowledge of reported attempts to exploit this vulnerability, and no knowledge
+ * of publicly available solutions used to simplify attempts to exploit the vulnerability.
+ */
+ public static final ExploitMaturityLevel UNREPORTED = fromString("UNREPORTED");
+
+ /**
+ * Creates a new instance of ExploitMaturityLevel value.
+ *
+ * @deprecated Use the {@link #fromString(String)} factory method.
+ */
+ @Deprecated
+ public ExploitMaturityLevel() {
+ }
+
+ /**
+ * Creates or finds a ExploitMaturityLevel from its string representation.
+ *
+ * @param name a name to look for.
+ * @return the corresponding ExploitMaturityLevel.
+ */
+ public static ExploitMaturityLevel fromString(String name) {
+ return fromString(name, ExploitMaturityLevel.class);
+ }
+
+ /**
+ * Gets known ExploitMaturityLevel values.
+ *
+ * @return known ExploitMaturityLevel values.
+ */
+ public static Collection values() {
+ return values(ExploitMaturityLevel.class);
+ }
+}
diff --git a/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/main/java/com/azure/resourcemanager/iotfirmwaredefense/models/FunctionCall.java b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/main/java/com/azure/resourcemanager/iotfirmwaredefense/models/FunctionCall.java
new file mode 100644
index 000000000000..5d0158e191b9
--- /dev/null
+++ b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/main/java/com/azure/resourcemanager/iotfirmwaredefense/models/FunctionCall.java
@@ -0,0 +1,92 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.iotfirmwaredefense.models;
+
+import com.azure.core.annotation.Immutable;
+import com.azure.json.JsonReader;
+import com.azure.json.JsonSerializable;
+import com.azure.json.JsonToken;
+import com.azure.json.JsonWriter;
+import java.io.IOException;
+
+/**
+ * Function call count for a specific function.
+ */
+@Immutable
+public final class FunctionCall implements JsonSerializable {
+ /*
+ * The name of the function.
+ */
+ private String functionName;
+
+ /*
+ * The number of calls to this function within a single binary.
+ */
+ private long count;
+
+ /**
+ * Creates an instance of FunctionCall class.
+ */
+ private FunctionCall() {
+ }
+
+ /**
+ * Get the functionName property: The name of the function.
+ *
+ * @return the functionName value.
+ */
+ public String functionName() {
+ return this.functionName;
+ }
+
+ /**
+ * Get the count property: The number of calls to this function within a single binary.
+ *
+ * @return the count value.
+ */
+ public long count() {
+ return this.count;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ @Override
+ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
+ jsonWriter.writeStartObject();
+ jsonWriter.writeStringField("functionName", this.functionName);
+ jsonWriter.writeLongField("count", this.count);
+ return jsonWriter.writeEndObject();
+ }
+
+ /**
+ * Reads an instance of FunctionCall from the JsonReader.
+ *
+ * @param jsonReader The JsonReader being read.
+ * @return An instance of FunctionCall if the JsonReader was pointing to an instance of it, or null if it was
+ * pointing to JSON null.
+ * @throws IllegalStateException If the deserialized JSON object was missing any required properties.
+ * @throws IOException If an error occurs while reading the FunctionCall.
+ */
+ public static FunctionCall fromJson(JsonReader jsonReader) throws IOException {
+ return jsonReader.readObject(reader -> {
+ FunctionCall deserializedFunctionCall = new FunctionCall();
+ while (reader.nextToken() != JsonToken.END_OBJECT) {
+ String fieldName = reader.getFieldName();
+ reader.nextToken();
+
+ if ("functionName".equals(fieldName)) {
+ deserializedFunctionCall.functionName = reader.getString();
+ } else if ("count".equals(fieldName)) {
+ deserializedFunctionCall.count = reader.getLong();
+ } else {
+ reader.skipChildren();
+ }
+ }
+
+ return deserializedFunctionCall;
+ });
+ }
+}
diff --git a/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/main/java/com/azure/resourcemanager/iotfirmwaredefense/models/KevProperties.java b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/main/java/com/azure/resourcemanager/iotfirmwaredefense/models/KevProperties.java
new file mode 100644
index 000000000000..bfc007de097e
--- /dev/null
+++ b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/main/java/com/azure/resourcemanager/iotfirmwaredefense/models/KevProperties.java
@@ -0,0 +1,137 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.iotfirmwaredefense.models;
+
+import com.azure.core.annotation.Immutable;
+import com.azure.core.util.CoreUtils;
+import com.azure.json.JsonReader;
+import com.azure.json.JsonSerializable;
+import com.azure.json.JsonToken;
+import com.azure.json.JsonWriter;
+import java.io.IOException;
+import java.time.OffsetDateTime;
+import java.time.format.DateTimeFormatter;
+
+/**
+ * KEV (Known Exploited Vulnerabilities) data related to a CVE, published by CISA.
+ */
+@Immutable
+public final class KevProperties implements JsonSerializable {
+ /*
+ * Indication if the vulnerability is known to have been leveraged as part of a ransomware campaign.
+ */
+ private RansomwareCampaignUse knownRansomwareCampaignUse;
+
+ /*
+ * The date the vulnerability was added to the KEV catalog.
+ */
+ private OffsetDateTime dateAdded;
+
+ /*
+ * The date the required action is due.
+ */
+ private OffsetDateTime remediationDueDate;
+
+ /*
+ * The required action to address the vulnerability.
+ */
+ private String requiredAction;
+
+ /**
+ * Creates an instance of KevProperties class.
+ */
+ private KevProperties() {
+ }
+
+ /**
+ * Get the knownRansomwareCampaignUse property: Indication if the vulnerability is known to have been leveraged as
+ * part of a ransomware campaign.
+ *
+ * @return the knownRansomwareCampaignUse value.
+ */
+ public RansomwareCampaignUse knownRansomwareCampaignUse() {
+ return this.knownRansomwareCampaignUse;
+ }
+
+ /**
+ * Get the dateAdded property: The date the vulnerability was added to the KEV catalog.
+ *
+ * @return the dateAdded value.
+ */
+ public OffsetDateTime dateAdded() {
+ return this.dateAdded;
+ }
+
+ /**
+ * Get the remediationDueDate property: The date the required action is due.
+ *
+ * @return the remediationDueDate value.
+ */
+ public OffsetDateTime remediationDueDate() {
+ return this.remediationDueDate;
+ }
+
+ /**
+ * Get the requiredAction property: The required action to address the vulnerability.
+ *
+ * @return the requiredAction value.
+ */
+ public String requiredAction() {
+ return this.requiredAction;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ @Override
+ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
+ jsonWriter.writeStartObject();
+ jsonWriter.writeStringField("knownRansomwareCampaignUse",
+ this.knownRansomwareCampaignUse == null ? null : this.knownRansomwareCampaignUse.toString());
+ jsonWriter.writeStringField("dateAdded",
+ this.dateAdded == null ? null : DateTimeFormatter.ISO_OFFSET_DATE_TIME.format(this.dateAdded));
+ jsonWriter.writeStringField("remediationDueDate",
+ this.remediationDueDate == null
+ ? null
+ : DateTimeFormatter.ISO_OFFSET_DATE_TIME.format(this.remediationDueDate));
+ jsonWriter.writeStringField("requiredAction", this.requiredAction);
+ return jsonWriter.writeEndObject();
+ }
+
+ /**
+ * Reads an instance of KevProperties from the JsonReader.
+ *
+ * @param jsonReader The JsonReader being read.
+ * @return An instance of KevProperties if the JsonReader was pointing to an instance of it, or null if it was
+ * pointing to JSON null.
+ * @throws IOException If an error occurs while reading the KevProperties.
+ */
+ public static KevProperties fromJson(JsonReader jsonReader) throws IOException {
+ return jsonReader.readObject(reader -> {
+ KevProperties deserializedKevProperties = new KevProperties();
+ while (reader.nextToken() != JsonToken.END_OBJECT) {
+ String fieldName = reader.getFieldName();
+ reader.nextToken();
+
+ if ("knownRansomwareCampaignUse".equals(fieldName)) {
+ deserializedKevProperties.knownRansomwareCampaignUse
+ = RansomwareCampaignUse.fromString(reader.getString());
+ } else if ("dateAdded".equals(fieldName)) {
+ deserializedKevProperties.dateAdded = reader
+ .getNullable(nonNullReader -> CoreUtils.parseBestOffsetDateTime(nonNullReader.getString()));
+ } else if ("remediationDueDate".equals(fieldName)) {
+ deserializedKevProperties.remediationDueDate = reader
+ .getNullable(nonNullReader -> CoreUtils.parseBestOffsetDateTime(nonNullReader.getString()));
+ } else if ("requiredAction".equals(fieldName)) {
+ deserializedKevProperties.requiredAction = reader.getString();
+ } else {
+ reader.skipChildren();
+ }
+ }
+
+ return deserializedKevProperties;
+ });
+ }
+}
diff --git a/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/main/java/com/azure/resourcemanager/iotfirmwaredefense/models/PasswordHashSummaryResource.java b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/main/java/com/azure/resourcemanager/iotfirmwaredefense/models/PasswordHashSummaryResource.java
new file mode 100644
index 000000000000..8d0130163f4e
--- /dev/null
+++ b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/main/java/com/azure/resourcemanager/iotfirmwaredefense/models/PasswordHashSummaryResource.java
@@ -0,0 +1,95 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.iotfirmwaredefense.models;
+
+import com.azure.core.annotation.Immutable;
+import com.azure.json.JsonReader;
+import com.azure.json.JsonToken;
+import com.azure.json.JsonWriter;
+import java.io.IOException;
+
+/**
+ * Properties for Password hash analysis summary.
+ */
+@Immutable
+public final class PasswordHashSummaryResource extends SummaryResourceProperties {
+ /*
+ * The type of summary.
+ */
+ private SummaryType summaryType = SummaryType.PASSWORD_HASH;
+
+ /*
+ * Total number of password hashes found.
+ */
+ private Long totalPasswordHashCount;
+
+ /**
+ * Creates an instance of PasswordHashSummaryResource class.
+ */
+ private PasswordHashSummaryResource() {
+ }
+
+ /**
+ * Get the summaryType property: The type of summary.
+ *
+ * @return the summaryType value.
+ */
+ @Override
+ public SummaryType summaryType() {
+ return this.summaryType;
+ }
+
+ /**
+ * Get the totalPasswordHashCount property: Total number of password hashes found.
+ *
+ * @return the totalPasswordHashCount value.
+ */
+ public Long totalPasswordHashCount() {
+ return this.totalPasswordHashCount;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ @Override
+ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
+ jsonWriter.writeStartObject();
+ jsonWriter.writeStringField("summaryType", this.summaryType == null ? null : this.summaryType.toString());
+ jsonWriter.writeNumberField("totalPasswordHashCount", this.totalPasswordHashCount);
+ return jsonWriter.writeEndObject();
+ }
+
+ /**
+ * Reads an instance of PasswordHashSummaryResource from the JsonReader.
+ *
+ * @param jsonReader The JsonReader being read.
+ * @return An instance of PasswordHashSummaryResource if the JsonReader was pointing to an instance of it, or null
+ * if it was pointing to JSON null.
+ * @throws IOException If an error occurs while reading the PasswordHashSummaryResource.
+ */
+ public static PasswordHashSummaryResource fromJson(JsonReader jsonReader) throws IOException {
+ return jsonReader.readObject(reader -> {
+ PasswordHashSummaryResource deserializedPasswordHashSummaryResource = new PasswordHashSummaryResource();
+ while (reader.nextToken() != JsonToken.END_OBJECT) {
+ String fieldName = reader.getFieldName();
+ reader.nextToken();
+
+ if ("provisioningState".equals(fieldName)) {
+ deserializedPasswordHashSummaryResource
+ .withProvisioningState(ProvisioningState.fromString(reader.getString()));
+ } else if ("summaryType".equals(fieldName)) {
+ deserializedPasswordHashSummaryResource.summaryType = SummaryType.fromString(reader.getString());
+ } else if ("totalPasswordHashCount".equals(fieldName)) {
+ deserializedPasswordHashSummaryResource.totalPasswordHashCount
+ = reader.getNullable(JsonReader::getLong);
+ } else {
+ reader.skipChildren();
+ }
+ }
+
+ return deserializedPasswordHashSummaryResource;
+ });
+ }
+}
diff --git a/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/main/java/com/azure/resourcemanager/iotfirmwaredefense/models/RansomwareCampaignUse.java b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/main/java/com/azure/resourcemanager/iotfirmwaredefense/models/RansomwareCampaignUse.java
new file mode 100644
index 000000000000..6eadc0059509
--- /dev/null
+++ b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/main/java/com/azure/resourcemanager/iotfirmwaredefense/models/RansomwareCampaignUse.java
@@ -0,0 +1,51 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.iotfirmwaredefense.models;
+
+import com.azure.core.util.ExpandableStringEnum;
+import java.util.Collection;
+
+/**
+ * String to indicate if a vulnerability is known to have been leveraged as part of a ransomware campaign.
+ */
+public final class RansomwareCampaignUse extends ExpandableStringEnum {
+ /**
+ * CISA knows the vulnerability to have been leveraged in a ransomware campaign.
+ */
+ public static final RansomwareCampaignUse KNOWN = fromString("Known");
+
+ /**
+ * CISA lacks confirmation the vulnerability has been utilized for ransomware.
+ */
+ public static final RansomwareCampaignUse UNKNOWN = fromString("Unknown");
+
+ /**
+ * Creates a new instance of RansomwareCampaignUse value.
+ *
+ * @deprecated Use the {@link #fromString(String)} factory method.
+ */
+ @Deprecated
+ public RansomwareCampaignUse() {
+ }
+
+ /**
+ * Creates or finds a RansomwareCampaignUse from its string representation.
+ *
+ * @param name a name to look for.
+ * @return the corresponding RansomwareCampaignUse.
+ */
+ public static RansomwareCampaignUse fromString(String name) {
+ return fromString(name, RansomwareCampaignUse.class);
+ }
+
+ /**
+ * Gets known RansomwareCampaignUse values.
+ *
+ * @return known RansomwareCampaignUse values.
+ */
+ public static Collection values() {
+ return values(RansomwareCampaignUse.class);
+ }
+}
diff --git a/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/main/java/com/azure/resourcemanager/iotfirmwaredefense/models/SbomSummaryResource.java b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/main/java/com/azure/resourcemanager/iotfirmwaredefense/models/SbomSummaryResource.java
new file mode 100644
index 000000000000..ec54bd13dc73
--- /dev/null
+++ b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/main/java/com/azure/resourcemanager/iotfirmwaredefense/models/SbomSummaryResource.java
@@ -0,0 +1,94 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.iotfirmwaredefense.models;
+
+import com.azure.core.annotation.Immutable;
+import com.azure.json.JsonReader;
+import com.azure.json.JsonToken;
+import com.azure.json.JsonWriter;
+import java.io.IOException;
+
+/**
+ * Properties for SBOM analysis summary.
+ */
+@Immutable
+public final class SbomSummaryResource extends SummaryResourceProperties {
+ /*
+ * The type of summary.
+ */
+ private SummaryType summaryType = SummaryType.SBOM;
+
+ /*
+ * Total number of SBOM components found.
+ */
+ private Long totalComponentCount;
+
+ /**
+ * Creates an instance of SbomSummaryResource class.
+ */
+ private SbomSummaryResource() {
+ }
+
+ /**
+ * Get the summaryType property: The type of summary.
+ *
+ * @return the summaryType value.
+ */
+ @Override
+ public SummaryType summaryType() {
+ return this.summaryType;
+ }
+
+ /**
+ * Get the totalComponentCount property: Total number of SBOM components found.
+ *
+ * @return the totalComponentCount value.
+ */
+ public Long totalComponentCount() {
+ return this.totalComponentCount;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ @Override
+ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
+ jsonWriter.writeStartObject();
+ jsonWriter.writeStringField("summaryType", this.summaryType == null ? null : this.summaryType.toString());
+ jsonWriter.writeNumberField("totalComponentCount", this.totalComponentCount);
+ return jsonWriter.writeEndObject();
+ }
+
+ /**
+ * Reads an instance of SbomSummaryResource from the JsonReader.
+ *
+ * @param jsonReader The JsonReader being read.
+ * @return An instance of SbomSummaryResource if the JsonReader was pointing to an instance of it, or null if it was
+ * pointing to JSON null.
+ * @throws IOException If an error occurs while reading the SbomSummaryResource.
+ */
+ public static SbomSummaryResource fromJson(JsonReader jsonReader) throws IOException {
+ return jsonReader.readObject(reader -> {
+ SbomSummaryResource deserializedSbomSummaryResource = new SbomSummaryResource();
+ while (reader.nextToken() != JsonToken.END_OBJECT) {
+ String fieldName = reader.getFieldName();
+ reader.nextToken();
+
+ if ("provisioningState".equals(fieldName)) {
+ deserializedSbomSummaryResource
+ .withProvisioningState(ProvisioningState.fromString(reader.getString()));
+ } else if ("summaryType".equals(fieldName)) {
+ deserializedSbomSummaryResource.summaryType = SummaryType.fromString(reader.getString());
+ } else if ("totalComponentCount".equals(fieldName)) {
+ deserializedSbomSummaryResource.totalComponentCount = reader.getNullable(JsonReader::getLong);
+ } else {
+ reader.skipChildren();
+ }
+ }
+
+ return deserializedSbomSummaryResource;
+ });
+ }
+}
diff --git a/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/main/java/com/azure/resourcemanager/iotfirmwaredefense/models/SummaryResourceProperties.java b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/main/java/com/azure/resourcemanager/iotfirmwaredefense/models/SummaryResourceProperties.java
index dd9d0ef3f08b..3b21d8bee68f 100644
--- a/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/main/java/com/azure/resourcemanager/iotfirmwaredefense/models/SummaryResourceProperties.java
+++ b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/main/java/com/azure/resourcemanager/iotfirmwaredefense/models/SummaryResourceProperties.java
@@ -105,6 +105,14 @@ public static SummaryResourceProperties fromJson(JsonReader jsonReader) throws I
return CryptoCertificateSummaryResource.fromJson(readerToUse.reset());
} else if ("CryptoKey".equals(discriminatorValue)) {
return CryptoKeySummaryResource.fromJson(readerToUse.reset());
+ } else if ("CVE".equals(discriminatorValue)) {
+ return CveSummaryResource.fromJson(readerToUse.reset());
+ } else if ("SBOM".equals(discriminatorValue)) {
+ return SbomSummaryResource.fromJson(readerToUse.reset());
+ } else if ("PasswordHash".equals(discriminatorValue)) {
+ return PasswordHashSummaryResource.fromJson(readerToUse.reset());
+ } else if ("UnsafeFunctionCalls".equals(discriminatorValue)) {
+ return UnsafeFunctionCallsSummaryResource.fromJson(readerToUse.reset());
} else {
return fromJsonKnownDiscriminator(readerToUse.reset());
}
diff --git a/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/main/java/com/azure/resourcemanager/iotfirmwaredefense/models/SummaryType.java b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/main/java/com/azure/resourcemanager/iotfirmwaredefense/models/SummaryType.java
index be6d69e2d727..8e87845dac55 100644
--- a/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/main/java/com/azure/resourcemanager/iotfirmwaredefense/models/SummaryType.java
+++ b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/main/java/com/azure/resourcemanager/iotfirmwaredefense/models/SummaryType.java
@@ -17,7 +17,8 @@ public final class SummaryType extends ExpandableStringEnum {
public static final SummaryType FIRMWARE = fromString("Firmware");
/**
- * The summary contains information about the Common Vulnerabilities and Exposures analysis results.
+ * The summary contains information about the CVE (Common Vulnerabilities and Exposures) analysis results
+ * (deprecated).
*/
public static final SummaryType COMMON_VULNERABILITIES_AND_EXPOSURES
= fromString("CommonVulnerabilitiesAndExposures");
@@ -37,6 +38,26 @@ public final class SummaryType extends ExpandableStringEnum {
*/
public static final SummaryType CRYPTO_KEY = fromString("CryptoKey");
+ /**
+ * The summary contains information about the CVE analysis results.
+ */
+ public static final SummaryType CVE = fromString("CVE");
+
+ /**
+ * The summary contains information about the SBOM (Software Bill of Materials) analysis results.
+ */
+ public static final SummaryType SBOM = fromString("SBOM");
+
+ /**
+ * The summary contains information about the password hash analysis results.
+ */
+ public static final SummaryType PASSWORD_HASH = fromString("PasswordHash");
+
+ /**
+ * The summary contains information about the unsafe function call analysis results.
+ */
+ public static final SummaryType UNSAFE_FUNCTION_CALLS = fromString("UnsafeFunctionCalls");
+
/**
* Creates a new instance of SummaryType value.
*
diff --git a/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/main/java/com/azure/resourcemanager/iotfirmwaredefense/models/UnsafeFunctionCalls.java b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/main/java/com/azure/resourcemanager/iotfirmwaredefense/models/UnsafeFunctionCalls.java
new file mode 100644
index 000000000000..92b3b38f0294
--- /dev/null
+++ b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/main/java/com/azure/resourcemanager/iotfirmwaredefense/models/UnsafeFunctionCalls.java
@@ -0,0 +1,44 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.iotfirmwaredefense.models;
+
+import com.azure.core.http.rest.PagedIterable;
+import com.azure.core.util.Context;
+
+/**
+ * Resource collection API of UnsafeFunctionCalls.
+ */
+public interface UnsafeFunctionCalls {
+ /**
+ * Lists unsafe function call analysis results of a firmware.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName The name of the firmware analysis workspace.
+ * @param firmwareId The id of the firmware.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response of a UnsafeFunctionCallsResource list operation as paginated response with
+ * {@link PagedIterable}.
+ */
+ PagedIterable listByFirmware(String resourceGroupName, String workspaceName,
+ String firmwareId);
+
+ /**
+ * Lists unsafe function call analysis results of a firmware.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName The name of the firmware analysis workspace.
+ * @param firmwareId The id of the firmware.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response of a UnsafeFunctionCallsResource list operation as paginated response with
+ * {@link PagedIterable}.
+ */
+ PagedIterable listByFirmware(String resourceGroupName, String workspaceName,
+ String firmwareId, Context context);
+}
diff --git a/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/main/java/com/azure/resourcemanager/iotfirmwaredefense/models/UnsafeFunctionCallsResource.java b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/main/java/com/azure/resourcemanager/iotfirmwaredefense/models/UnsafeFunctionCallsResource.java
new file mode 100644
index 000000000000..1c730b3b8167
--- /dev/null
+++ b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/main/java/com/azure/resourcemanager/iotfirmwaredefense/models/UnsafeFunctionCallsResource.java
@@ -0,0 +1,56 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.iotfirmwaredefense.models;
+
+import com.azure.core.management.SystemData;
+import com.azure.resourcemanager.iotfirmwaredefense.fluent.models.UnsafeFunctionCallsResourceInner;
+
+/**
+ * An immutable client-side representation of UnsafeFunctionCallsResource.
+ */
+public interface UnsafeFunctionCallsResource {
+ /**
+ * Gets the id property: Fully qualified resource Id for the resource.
+ *
+ * @return the id value.
+ */
+ String id();
+
+ /**
+ * Gets the name property: The name of the resource.
+ *
+ * @return the name value.
+ */
+ String name();
+
+ /**
+ * Gets the type property: The type of the resource.
+ *
+ * @return the type value.
+ */
+ String type();
+
+ /**
+ * Gets the properties property: The resource-specific properties for this resource.
+ *
+ * @return the properties value.
+ */
+ UnsafeFunctionCallsResult properties();
+
+ /**
+ * Gets the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
+ *
+ * @return the systemData value.
+ */
+ SystemData systemData();
+
+ /**
+ * Gets the inner com.azure.resourcemanager.iotfirmwaredefense.fluent.models.UnsafeFunctionCallsResourceInner
+ * object.
+ *
+ * @return the inner object.
+ */
+ UnsafeFunctionCallsResourceInner innerModel();
+}
diff --git a/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/main/java/com/azure/resourcemanager/iotfirmwaredefense/models/UnsafeFunctionCallsResult.java b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/main/java/com/azure/resourcemanager/iotfirmwaredefense/models/UnsafeFunctionCallsResult.java
new file mode 100644
index 000000000000..b6ecbf21be0a
--- /dev/null
+++ b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/main/java/com/azure/resourcemanager/iotfirmwaredefense/models/UnsafeFunctionCallsResult.java
@@ -0,0 +1,165 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.iotfirmwaredefense.models;
+
+import com.azure.core.annotation.Immutable;
+import com.azure.json.JsonReader;
+import com.azure.json.JsonSerializable;
+import com.azure.json.JsonToken;
+import com.azure.json.JsonWriter;
+import java.io.IOException;
+import java.util.List;
+
+/**
+ * Unsafe function call analysis results for a binary.
+ */
+@Immutable
+public final class UnsafeFunctionCallsResult implements JsonSerializable {
+ /*
+ * The name of the binary in the firmware.
+ */
+ private String fileName;
+
+ /*
+ * The full path to the binary in the firmware.
+ */
+ private String filePath;
+
+ /*
+ * List of unsafe function calls and their counts in the binary.
+ */
+ private List unsafeFunctionCalls;
+
+ /*
+ * Total unsafe function call count in the binary.
+ */
+ private Long totalUnsafeCallCount;
+
+ /*
+ * Total number of network-related function calls in the binary.
+ */
+ private Long totalNetworkCallCount;
+
+ /*
+ * The status of the last operation.
+ */
+ private ProvisioningState provisioningState;
+
+ /**
+ * Creates an instance of UnsafeFunctionCallsResult class.
+ */
+ private UnsafeFunctionCallsResult() {
+ }
+
+ /**
+ * Get the fileName property: The name of the binary in the firmware.
+ *
+ * @return the fileName value.
+ */
+ public String fileName() {
+ return this.fileName;
+ }
+
+ /**
+ * Get the filePath property: The full path to the binary in the firmware.
+ *
+ * @return the filePath value.
+ */
+ public String filePath() {
+ return this.filePath;
+ }
+
+ /**
+ * Get the unsafeFunctionCalls property: List of unsafe function calls and their counts in the binary.
+ *
+ * @return the unsafeFunctionCalls value.
+ */
+ public List unsafeFunctionCalls() {
+ return this.unsafeFunctionCalls;
+ }
+
+ /**
+ * Get the totalUnsafeCallCount property: Total unsafe function call count in the binary.
+ *
+ * @return the totalUnsafeCallCount value.
+ */
+ public Long totalUnsafeCallCount() {
+ return this.totalUnsafeCallCount;
+ }
+
+ /**
+ * Get the totalNetworkCallCount property: Total number of network-related function calls in the binary.
+ *
+ * @return the totalNetworkCallCount value.
+ */
+ public Long totalNetworkCallCount() {
+ return this.totalNetworkCallCount;
+ }
+
+ /**
+ * Get the provisioningState property: The status of the last operation.
+ *
+ * @return the provisioningState value.
+ */
+ public ProvisioningState provisioningState() {
+ return this.provisioningState;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ @Override
+ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
+ jsonWriter.writeStartObject();
+ jsonWriter.writeStringField("fileName", this.fileName);
+ jsonWriter.writeStringField("filePath", this.filePath);
+ jsonWriter.writeArrayField("unsafeFunctionCalls", this.unsafeFunctionCalls,
+ (writer, element) -> writer.writeJson(element));
+ jsonWriter.writeNumberField("totalUnsafeCallCount", this.totalUnsafeCallCount);
+ jsonWriter.writeNumberField("totalNetworkCallCount", this.totalNetworkCallCount);
+ return jsonWriter.writeEndObject();
+ }
+
+ /**
+ * Reads an instance of UnsafeFunctionCallsResult from the JsonReader.
+ *
+ * @param jsonReader The JsonReader being read.
+ * @return An instance of UnsafeFunctionCallsResult if the JsonReader was pointing to an instance of it, or null if
+ * it was pointing to JSON null.
+ * @throws IOException If an error occurs while reading the UnsafeFunctionCallsResult.
+ */
+ public static UnsafeFunctionCallsResult fromJson(JsonReader jsonReader) throws IOException {
+ return jsonReader.readObject(reader -> {
+ UnsafeFunctionCallsResult deserializedUnsafeFunctionCallsResult = new UnsafeFunctionCallsResult();
+ while (reader.nextToken() != JsonToken.END_OBJECT) {
+ String fieldName = reader.getFieldName();
+ reader.nextToken();
+
+ if ("fileName".equals(fieldName)) {
+ deserializedUnsafeFunctionCallsResult.fileName = reader.getString();
+ } else if ("filePath".equals(fieldName)) {
+ deserializedUnsafeFunctionCallsResult.filePath = reader.getString();
+ } else if ("unsafeFunctionCalls".equals(fieldName)) {
+ List unsafeFunctionCalls
+ = reader.readArray(reader1 -> FunctionCall.fromJson(reader1));
+ deserializedUnsafeFunctionCallsResult.unsafeFunctionCalls = unsafeFunctionCalls;
+ } else if ("totalUnsafeCallCount".equals(fieldName)) {
+ deserializedUnsafeFunctionCallsResult.totalUnsafeCallCount
+ = reader.getNullable(JsonReader::getLong);
+ } else if ("totalNetworkCallCount".equals(fieldName)) {
+ deserializedUnsafeFunctionCallsResult.totalNetworkCallCount
+ = reader.getNullable(JsonReader::getLong);
+ } else if ("provisioningState".equals(fieldName)) {
+ deserializedUnsafeFunctionCallsResult.provisioningState
+ = ProvisioningState.fromString(reader.getString());
+ } else {
+ reader.skipChildren();
+ }
+ }
+
+ return deserializedUnsafeFunctionCallsResult;
+ });
+ }
+}
diff --git a/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/main/java/com/azure/resourcemanager/iotfirmwaredefense/models/UnsafeFunctionCallsSummaryResource.java b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/main/java/com/azure/resourcemanager/iotfirmwaredefense/models/UnsafeFunctionCallsSummaryResource.java
new file mode 100644
index 000000000000..f5e9301155a7
--- /dev/null
+++ b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/main/java/com/azure/resourcemanager/iotfirmwaredefense/models/UnsafeFunctionCallsSummaryResource.java
@@ -0,0 +1,153 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.iotfirmwaredefense.models;
+
+import com.azure.core.annotation.Immutable;
+import com.azure.json.JsonReader;
+import com.azure.json.JsonToken;
+import com.azure.json.JsonWriter;
+import java.io.IOException;
+import java.util.List;
+
+/**
+ * Properties for unsafe function calls analysis summary.
+ */
+@Immutable
+public final class UnsafeFunctionCallsSummaryResource extends SummaryResourceProperties {
+ /*
+ * The type of summary.
+ */
+ private SummaryType summaryType = SummaryType.UNSAFE_FUNCTION_CALLS;
+
+ /*
+ * Total number of files analyzed for unsafe function calls.
+ */
+ private Long totalFileCount;
+
+ /*
+ * Total number of unsafe function calls found.
+ */
+ private Long totalUnsafeCallCount;
+
+ /*
+ * Total number of network calls found.
+ */
+ private Long totalNetworkCallCount;
+
+ /*
+ * Total unsafe function call counts per function across all binaries.
+ */
+ private List unsafeCallTotals;
+
+ /**
+ * Creates an instance of UnsafeFunctionCallsSummaryResource class.
+ */
+ private UnsafeFunctionCallsSummaryResource() {
+ }
+
+ /**
+ * Get the summaryType property: The type of summary.
+ *
+ * @return the summaryType value.
+ */
+ @Override
+ public SummaryType summaryType() {
+ return this.summaryType;
+ }
+
+ /**
+ * Get the totalFileCount property: Total number of files analyzed for unsafe function calls.
+ *
+ * @return the totalFileCount value.
+ */
+ public Long totalFileCount() {
+ return this.totalFileCount;
+ }
+
+ /**
+ * Get the totalUnsafeCallCount property: Total number of unsafe function calls found.
+ *
+ * @return the totalUnsafeCallCount value.
+ */
+ public Long totalUnsafeCallCount() {
+ return this.totalUnsafeCallCount;
+ }
+
+ /**
+ * Get the totalNetworkCallCount property: Total number of network calls found.
+ *
+ * @return the totalNetworkCallCount value.
+ */
+ public Long totalNetworkCallCount() {
+ return this.totalNetworkCallCount;
+ }
+
+ /**
+ * Get the unsafeCallTotals property: Total unsafe function call counts per function across all binaries.
+ *
+ * @return the unsafeCallTotals value.
+ */
+ public List unsafeCallTotals() {
+ return this.unsafeCallTotals;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ @Override
+ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
+ jsonWriter.writeStartObject();
+ jsonWriter.writeStringField("summaryType", this.summaryType == null ? null : this.summaryType.toString());
+ jsonWriter.writeNumberField("totalFileCount", this.totalFileCount);
+ jsonWriter.writeNumberField("totalUnsafeCallCount", this.totalUnsafeCallCount);
+ jsonWriter.writeNumberField("totalNetworkCallCount", this.totalNetworkCallCount);
+ jsonWriter.writeArrayField("unsafeCallTotals", this.unsafeCallTotals,
+ (writer, element) -> writer.writeJson(element));
+ return jsonWriter.writeEndObject();
+ }
+
+ /**
+ * Reads an instance of UnsafeFunctionCallsSummaryResource from the JsonReader.
+ *
+ * @param jsonReader The JsonReader being read.
+ * @return An instance of UnsafeFunctionCallsSummaryResource if the JsonReader was pointing to an instance of it, or
+ * null if it was pointing to JSON null.
+ * @throws IOException If an error occurs while reading the UnsafeFunctionCallsSummaryResource.
+ */
+ public static UnsafeFunctionCallsSummaryResource fromJson(JsonReader jsonReader) throws IOException {
+ return jsonReader.readObject(reader -> {
+ UnsafeFunctionCallsSummaryResource deserializedUnsafeFunctionCallsSummaryResource
+ = new UnsafeFunctionCallsSummaryResource();
+ while (reader.nextToken() != JsonToken.END_OBJECT) {
+ String fieldName = reader.getFieldName();
+ reader.nextToken();
+
+ if ("provisioningState".equals(fieldName)) {
+ deserializedUnsafeFunctionCallsSummaryResource
+ .withProvisioningState(ProvisioningState.fromString(reader.getString()));
+ } else if ("summaryType".equals(fieldName)) {
+ deserializedUnsafeFunctionCallsSummaryResource.summaryType
+ = SummaryType.fromString(reader.getString());
+ } else if ("totalFileCount".equals(fieldName)) {
+ deserializedUnsafeFunctionCallsSummaryResource.totalFileCount
+ = reader.getNullable(JsonReader::getLong);
+ } else if ("totalUnsafeCallCount".equals(fieldName)) {
+ deserializedUnsafeFunctionCallsSummaryResource.totalUnsafeCallCount
+ = reader.getNullable(JsonReader::getLong);
+ } else if ("totalNetworkCallCount".equals(fieldName)) {
+ deserializedUnsafeFunctionCallsSummaryResource.totalNetworkCallCount
+ = reader.getNullable(JsonReader::getLong);
+ } else if ("unsafeCallTotals".equals(fieldName)) {
+ List unsafeCallTotals = reader.readArray(reader1 -> FunctionCall.fromJson(reader1));
+ deserializedUnsafeFunctionCallsSummaryResource.unsafeCallTotals = unsafeCallTotals;
+ } else {
+ reader.skipChildren();
+ }
+ }
+
+ return deserializedUnsafeFunctionCallsSummaryResource;
+ });
+ }
+}
diff --git a/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/main/resources/META-INF/azure-resourcemanager-iotfirmwaredefense_metadata.json b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/main/resources/META-INF/azure-resourcemanager-iotfirmwaredefense_metadata.json
index a0ef7918ff4c..cc92be228bbc 100644
--- a/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/main/resources/META-INF/azure-resourcemanager-iotfirmwaredefense_metadata.json
+++ b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/main/resources/META-INF/azure-resourcemanager-iotfirmwaredefense_metadata.json
@@ -1 +1 @@
-{"flavor":"azure","apiVersions":{"Microsoft.IoTFirmwareDefense":"2025-08-02"},"crossLanguageDefinitions":{"com.azure.resourcemanager.iotfirmwaredefense.fluent.BinaryHardeningsClient":"Microsoft.IoTFirmwareDefense.BinaryHardening","com.azure.resourcemanager.iotfirmwaredefense.fluent.BinaryHardeningsClient.listByFirmware":"Microsoft.IoTFirmwareDefense.BinaryHardening.listByFirmware","com.azure.resourcemanager.iotfirmwaredefense.fluent.CryptoCertificatesClient":"Microsoft.IoTFirmwareDefense.CryptoCertificates","com.azure.resourcemanager.iotfirmwaredefense.fluent.CryptoCertificatesClient.listByFirmware":"Microsoft.IoTFirmwareDefense.CryptoCertificates.listByFirmware","com.azure.resourcemanager.iotfirmwaredefense.fluent.CryptoKeysClient":"Microsoft.IoTFirmwareDefense.CryptoKeys","com.azure.resourcemanager.iotfirmwaredefense.fluent.CryptoKeysClient.listByFirmware":"Microsoft.IoTFirmwareDefense.CryptoKeys.listByFirmware","com.azure.resourcemanager.iotfirmwaredefense.fluent.CvesClient":"Microsoft.IoTFirmwareDefense.Cves","com.azure.resourcemanager.iotfirmwaredefense.fluent.CvesClient.listByFirmware":"Microsoft.IoTFirmwareDefense.Cves.listByFirmware","com.azure.resourcemanager.iotfirmwaredefense.fluent.FirmwaresClient":"Microsoft.IoTFirmwareDefense.Firmwares","com.azure.resourcemanager.iotfirmwaredefense.fluent.FirmwaresClient.create":"Microsoft.IoTFirmwareDefense.Firmwares.create","com.azure.resourcemanager.iotfirmwaredefense.fluent.FirmwaresClient.createWithResponse":"Microsoft.IoTFirmwareDefense.Firmwares.create","com.azure.resourcemanager.iotfirmwaredefense.fluent.FirmwaresClient.delete":"Microsoft.IoTFirmwareDefense.Firmwares.delete","com.azure.resourcemanager.iotfirmwaredefense.fluent.FirmwaresClient.deleteWithResponse":"Microsoft.IoTFirmwareDefense.Firmwares.delete","com.azure.resourcemanager.iotfirmwaredefense.fluent.FirmwaresClient.get":"Microsoft.IoTFirmwareDefense.Firmwares.get","com.azure.resourcemanager.iotfirmwaredefense.fluent.FirmwaresClient.getWithResponse":"Microsoft.IoTFirmwareDefense.Firmwares.get","com.azure.resourcemanager.iotfirmwaredefense.fluent.FirmwaresClient.listByWorkspace":"Microsoft.IoTFirmwareDefense.Firmwares.listByWorkspace","com.azure.resourcemanager.iotfirmwaredefense.fluent.FirmwaresClient.update":"Microsoft.IoTFirmwareDefense.Firmwares.update","com.azure.resourcemanager.iotfirmwaredefense.fluent.FirmwaresClient.updateWithResponse":"Microsoft.IoTFirmwareDefense.Firmwares.update","com.azure.resourcemanager.iotfirmwaredefense.fluent.IoTFirmwareDefenseMgmtClient":"Microsoft.IoTFirmwareDefense","com.azure.resourcemanager.iotfirmwaredefense.fluent.OperationsClient":"Microsoft.IoTFirmwareDefense.Operations","com.azure.resourcemanager.iotfirmwaredefense.fluent.OperationsClient.list":"Azure.ResourceManager.Operations.list","com.azure.resourcemanager.iotfirmwaredefense.fluent.PasswordHashesClient":"Microsoft.IoTFirmwareDefense.PasswordHashes","com.azure.resourcemanager.iotfirmwaredefense.fluent.PasswordHashesClient.listByFirmware":"Microsoft.IoTFirmwareDefense.PasswordHashes.listByFirmware","com.azure.resourcemanager.iotfirmwaredefense.fluent.SbomComponentsClient":"Microsoft.IoTFirmwareDefense.SbomComponents","com.azure.resourcemanager.iotfirmwaredefense.fluent.SbomComponentsClient.listByFirmware":"Microsoft.IoTFirmwareDefense.SbomComponents.listByFirmware","com.azure.resourcemanager.iotfirmwaredefense.fluent.SummariesClient":"Microsoft.IoTFirmwareDefense.Summaries","com.azure.resourcemanager.iotfirmwaredefense.fluent.SummariesClient.get":"Microsoft.IoTFirmwareDefense.Summaries.get","com.azure.resourcemanager.iotfirmwaredefense.fluent.SummariesClient.getWithResponse":"Microsoft.IoTFirmwareDefense.Summaries.get","com.azure.resourcemanager.iotfirmwaredefense.fluent.SummariesClient.listByFirmware":"Microsoft.IoTFirmwareDefense.Summaries.listByFirmware","com.azure.resourcemanager.iotfirmwaredefense.fluent.UsageMetricsClient":"Microsoft.IoTFirmwareDefense.UsageMetrics","com.azure.resourcemanager.iotfirmwaredefense.fluent.UsageMetricsClient.get":"Microsoft.IoTFirmwareDefense.UsageMetrics.get","com.azure.resourcemanager.iotfirmwaredefense.fluent.UsageMetricsClient.getWithResponse":"Microsoft.IoTFirmwareDefense.UsageMetrics.get","com.azure.resourcemanager.iotfirmwaredefense.fluent.UsageMetricsClient.listByWorkspace":"Microsoft.IoTFirmwareDefense.UsageMetrics.listByWorkspace","com.azure.resourcemanager.iotfirmwaredefense.fluent.WorkspacesClient":"Microsoft.IoTFirmwareDefense.Workspaces","com.azure.resourcemanager.iotfirmwaredefense.fluent.WorkspacesClient.beginDelete":"Microsoft.IoTFirmwareDefense.Workspaces.delete","com.azure.resourcemanager.iotfirmwaredefense.fluent.WorkspacesClient.create":"Microsoft.IoTFirmwareDefense.Workspaces.create","com.azure.resourcemanager.iotfirmwaredefense.fluent.WorkspacesClient.createWithResponse":"Microsoft.IoTFirmwareDefense.Workspaces.create","com.azure.resourcemanager.iotfirmwaredefense.fluent.WorkspacesClient.delete":"Microsoft.IoTFirmwareDefense.Workspaces.delete","com.azure.resourcemanager.iotfirmwaredefense.fluent.WorkspacesClient.generateUploadUrl":"Microsoft.IoTFirmwareDefense.Workspaces.generateUploadUrl","com.azure.resourcemanager.iotfirmwaredefense.fluent.WorkspacesClient.generateUploadUrlWithResponse":"Microsoft.IoTFirmwareDefense.Workspaces.generateUploadUrl","com.azure.resourcemanager.iotfirmwaredefense.fluent.WorkspacesClient.getByResourceGroup":"Microsoft.IoTFirmwareDefense.Workspaces.get","com.azure.resourcemanager.iotfirmwaredefense.fluent.WorkspacesClient.getByResourceGroupWithResponse":"Microsoft.IoTFirmwareDefense.Workspaces.get","com.azure.resourcemanager.iotfirmwaredefense.fluent.WorkspacesClient.list":"Microsoft.IoTFirmwareDefense.Workspaces.listBySubscription","com.azure.resourcemanager.iotfirmwaredefense.fluent.WorkspacesClient.listByResourceGroup":"Microsoft.IoTFirmwareDefense.Workspaces.listByResourceGroup","com.azure.resourcemanager.iotfirmwaredefense.fluent.WorkspacesClient.update":"Microsoft.IoTFirmwareDefense.Workspaces.update","com.azure.resourcemanager.iotfirmwaredefense.fluent.WorkspacesClient.updateWithResponse":"Microsoft.IoTFirmwareDefense.Workspaces.update","com.azure.resourcemanager.iotfirmwaredefense.fluent.models.BinaryHardeningResourceInner":"Microsoft.IoTFirmwareDefense.BinaryHardeningResource","com.azure.resourcemanager.iotfirmwaredefense.fluent.models.BinaryHardeningResult":"Microsoft.IoTFirmwareDefense.BinaryHardeningResult","com.azure.resourcemanager.iotfirmwaredefense.fluent.models.CryptoCertificate":"Microsoft.IoTFirmwareDefense.CryptoCertificate","com.azure.resourcemanager.iotfirmwaredefense.fluent.models.CryptoCertificateResourceInner":"Microsoft.IoTFirmwareDefense.CryptoCertificateResource","com.azure.resourcemanager.iotfirmwaredefense.fluent.models.CryptoKey":"Microsoft.IoTFirmwareDefense.CryptoKey","com.azure.resourcemanager.iotfirmwaredefense.fluent.models.CryptoKeyResourceInner":"Microsoft.IoTFirmwareDefense.CryptoKeyResource","com.azure.resourcemanager.iotfirmwaredefense.fluent.models.CveResourceInner":"Microsoft.IoTFirmwareDefense.CveResource","com.azure.resourcemanager.iotfirmwaredefense.fluent.models.CveResult":"Microsoft.IoTFirmwareDefense.CveResult","com.azure.resourcemanager.iotfirmwaredefense.fluent.models.FirmwareInner":"Microsoft.IoTFirmwareDefense.Firmware","com.azure.resourcemanager.iotfirmwaredefense.fluent.models.FirmwareProperties":"Microsoft.IoTFirmwareDefense.FirmwareProperties","com.azure.resourcemanager.iotfirmwaredefense.fluent.models.OperationInner":"Azure.ResourceManager.CommonTypes.Operation","com.azure.resourcemanager.iotfirmwaredefense.fluent.models.PasswordHash":"Microsoft.IoTFirmwareDefense.PasswordHash","com.azure.resourcemanager.iotfirmwaredefense.fluent.models.PasswordHashResourceInner":"Microsoft.IoTFirmwareDefense.PasswordHashResource","com.azure.resourcemanager.iotfirmwaredefense.fluent.models.SbomComponent":"Microsoft.IoTFirmwareDefense.SbomComponent","com.azure.resourcemanager.iotfirmwaredefense.fluent.models.SbomComponentResourceInner":"Microsoft.IoTFirmwareDefense.SbomComponentResource","com.azure.resourcemanager.iotfirmwaredefense.fluent.models.SummaryResourceInner":"Microsoft.IoTFirmwareDefense.SummaryResource","com.azure.resourcemanager.iotfirmwaredefense.fluent.models.UrlTokenInner":"Microsoft.IoTFirmwareDefense.UrlToken","com.azure.resourcemanager.iotfirmwaredefense.fluent.models.UsageMetricInner":"Microsoft.IoTFirmwareDefense.UsageMetric","com.azure.resourcemanager.iotfirmwaredefense.fluent.models.UsageMetricProperties":"Microsoft.IoTFirmwareDefense.UsageMetricProperties","com.azure.resourcemanager.iotfirmwaredefense.fluent.models.WorkspaceInner":"Microsoft.IoTFirmwareDefense.Workspace","com.azure.resourcemanager.iotfirmwaredefense.fluent.models.WorkspaceProperties":"Microsoft.IoTFirmwareDefense.WorkspaceProperties","com.azure.resourcemanager.iotfirmwaredefense.implementation.IoTFirmwareDefenseMgmtClientBuilder":"Microsoft.IoTFirmwareDefense","com.azure.resourcemanager.iotfirmwaredefense.implementation.models.BinaryHardeningResourceListResult":"Azure.ResourceManager.ResourceListResult","com.azure.resourcemanager.iotfirmwaredefense.implementation.models.CryptoCertificateResourceListResult":"Azure.ResourceManager.ResourceListResult","com.azure.resourcemanager.iotfirmwaredefense.implementation.models.CryptoKeyResourceListResult":"Azure.ResourceManager.ResourceListResult","com.azure.resourcemanager.iotfirmwaredefense.implementation.models.CveResourceListResult":"Azure.ResourceManager.ResourceListResult","com.azure.resourcemanager.iotfirmwaredefense.implementation.models.FirmwareListResult":"Azure.ResourceManager.ResourceListResult","com.azure.resourcemanager.iotfirmwaredefense.implementation.models.OperationListResult":"Azure.ResourceManager.CommonTypes.OperationListResult","com.azure.resourcemanager.iotfirmwaredefense.implementation.models.PasswordHashResourceListResult":"Azure.ResourceManager.ResourceListResult","com.azure.resourcemanager.iotfirmwaredefense.implementation.models.SbomComponentResourceListResult":"Azure.ResourceManager.ResourceListResult","com.azure.resourcemanager.iotfirmwaredefense.implementation.models.SummaryResourceListResult":"Azure.ResourceManager.ResourceListResult","com.azure.resourcemanager.iotfirmwaredefense.implementation.models.UsageMetricListResult":"Azure.ResourceManager.ResourceListResult","com.azure.resourcemanager.iotfirmwaredefense.implementation.models.WorkspaceListResult":"Azure.ResourceManager.ResourceListResult","com.azure.resourcemanager.iotfirmwaredefense.models.ActionType":"Azure.ResourceManager.CommonTypes.ActionType","com.azure.resourcemanager.iotfirmwaredefense.models.BinaryHardeningFeatures":"Microsoft.IoTFirmwareDefense.BinaryHardeningFeatures","com.azure.resourcemanager.iotfirmwaredefense.models.BinaryHardeningSummaryResource":"Microsoft.IoTFirmwareDefense.BinaryHardeningSummaryResource","com.azure.resourcemanager.iotfirmwaredefense.models.CertificateUsage":"Microsoft.IoTFirmwareDefense.CertificateUsage","com.azure.resourcemanager.iotfirmwaredefense.models.CryptoCertificateEntity":"Microsoft.IoTFirmwareDefense.CryptoCertificateEntity","com.azure.resourcemanager.iotfirmwaredefense.models.CryptoCertificateSummaryResource":"Microsoft.IoTFirmwareDefense.CryptoCertificateSummaryResource","com.azure.resourcemanager.iotfirmwaredefense.models.CryptoKeySummaryResource":"Microsoft.IoTFirmwareDefense.CryptoKeySummaryResource","com.azure.resourcemanager.iotfirmwaredefense.models.CryptoKeyType":"Microsoft.IoTFirmwareDefense.CryptoKeyType","com.azure.resourcemanager.iotfirmwaredefense.models.CveComponent":"Microsoft.IoTFirmwareDefense.CveComponent","com.azure.resourcemanager.iotfirmwaredefense.models.CveLink":"Microsoft.IoTFirmwareDefense.CveLink","com.azure.resourcemanager.iotfirmwaredefense.models.CveSummary":"Microsoft.IoTFirmwareDefense.CveSummary","com.azure.resourcemanager.iotfirmwaredefense.models.CvssScore":"Microsoft.IoTFirmwareDefense.CvssScore","com.azure.resourcemanager.iotfirmwaredefense.models.ExecutableClass":"Microsoft.IoTFirmwareDefense.ExecutableClass","com.azure.resourcemanager.iotfirmwaredefense.models.FirmwareSummary":"Microsoft.IoTFirmwareDefense.FirmwareSummary","com.azure.resourcemanager.iotfirmwaredefense.models.FirmwareUpdateDefinition":"Microsoft.IoTFirmwareDefense.FirmwareUpdateDefinition","com.azure.resourcemanager.iotfirmwaredefense.models.GenerateUploadUrlRequest":"Microsoft.IoTFirmwareDefense.GenerateUploadUrlRequest","com.azure.resourcemanager.iotfirmwaredefense.models.OperationDisplay":"Azure.ResourceManager.CommonTypes.OperationDisplay","com.azure.resourcemanager.iotfirmwaredefense.models.Origin":"Azure.ResourceManager.CommonTypes.Origin","com.azure.resourcemanager.iotfirmwaredefense.models.PairedKey":"Microsoft.IoTFirmwareDefense.PairedKey","com.azure.resourcemanager.iotfirmwaredefense.models.ProvisioningState":"Microsoft.IoTFirmwareDefense.ProvisioningState","com.azure.resourcemanager.iotfirmwaredefense.models.Sku":"Azure.ResourceManager.CommonTypes.Sku","com.azure.resourcemanager.iotfirmwaredefense.models.SkuTier":"Azure.ResourceManager.CommonTypes.SkuTier","com.azure.resourcemanager.iotfirmwaredefense.models.Status":"Microsoft.IoTFirmwareDefense.Status","com.azure.resourcemanager.iotfirmwaredefense.models.StatusMessage":"Microsoft.IoTFirmwareDefense.StatusMessage","com.azure.resourcemanager.iotfirmwaredefense.models.SummaryResourceProperties":"Microsoft.IoTFirmwareDefense.SummaryResourceProperties","com.azure.resourcemanager.iotfirmwaredefense.models.SummaryType":"Microsoft.IoTFirmwareDefense.SummaryType","com.azure.resourcemanager.iotfirmwaredefense.models.WorkspaceUpdate":"Azure.ResourceManager.Foundations.ResourceUpdateModel"},"generatedFiles":["src/main/java/com/azure/resourcemanager/iotfirmwaredefense/IoTFirmwareDefenseManager.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/fluent/BinaryHardeningsClient.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/fluent/CryptoCertificatesClient.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/fluent/CryptoKeysClient.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/fluent/CvesClient.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/fluent/FirmwaresClient.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/fluent/IoTFirmwareDefenseMgmtClient.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/fluent/OperationsClient.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/fluent/PasswordHashesClient.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/fluent/SbomComponentsClient.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/fluent/SummariesClient.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/fluent/UsageMetricsClient.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/fluent/WorkspacesClient.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/fluent/models/BinaryHardeningResourceInner.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/fluent/models/BinaryHardeningResult.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/fluent/models/CryptoCertificate.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/fluent/models/CryptoCertificateResourceInner.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/fluent/models/CryptoKey.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/fluent/models/CryptoKeyResourceInner.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/fluent/models/CveResourceInner.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/fluent/models/CveResult.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/fluent/models/FirmwareInner.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/fluent/models/FirmwareProperties.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/fluent/models/OperationInner.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/fluent/models/PasswordHash.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/fluent/models/PasswordHashResourceInner.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/fluent/models/SbomComponent.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/fluent/models/SbomComponentResourceInner.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/fluent/models/SummaryResourceInner.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/fluent/models/UrlTokenInner.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/fluent/models/UsageMetricInner.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/fluent/models/UsageMetricProperties.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/fluent/models/WorkspaceInner.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/fluent/models/WorkspaceProperties.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/fluent/models/package-info.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/fluent/package-info.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/implementation/BinaryHardeningResourceImpl.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/implementation/BinaryHardeningsClientImpl.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/implementation/BinaryHardeningsImpl.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/implementation/CryptoCertificateResourceImpl.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/implementation/CryptoCertificatesClientImpl.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/implementation/CryptoCertificatesImpl.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/implementation/CryptoKeyResourceImpl.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/implementation/CryptoKeysClientImpl.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/implementation/CryptoKeysImpl.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/implementation/CveResourceImpl.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/implementation/CvesClientImpl.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/implementation/CvesImpl.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/implementation/FirmwareImpl.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/implementation/FirmwaresClientImpl.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/implementation/FirmwaresImpl.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/implementation/IoTFirmwareDefenseMgmtClientBuilder.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/implementation/IoTFirmwareDefenseMgmtClientImpl.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/implementation/OperationImpl.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/implementation/OperationsClientImpl.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/implementation/OperationsImpl.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/implementation/PasswordHashResourceImpl.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/implementation/PasswordHashesClientImpl.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/implementation/PasswordHashesImpl.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/implementation/ResourceManagerUtils.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/implementation/SbomComponentResourceImpl.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/implementation/SbomComponentsClientImpl.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/implementation/SbomComponentsImpl.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/implementation/SummariesClientImpl.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/implementation/SummariesImpl.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/implementation/SummaryResourceImpl.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/implementation/UrlTokenImpl.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/implementation/UsageMetricImpl.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/implementation/UsageMetricsClientImpl.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/implementation/UsageMetricsImpl.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/implementation/WorkspaceImpl.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/implementation/WorkspacesClientImpl.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/implementation/WorkspacesImpl.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/implementation/models/BinaryHardeningResourceListResult.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/implementation/models/CryptoCertificateResourceListResult.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/implementation/models/CryptoKeyResourceListResult.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/implementation/models/CveResourceListResult.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/implementation/models/FirmwareListResult.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/implementation/models/OperationListResult.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/implementation/models/PasswordHashResourceListResult.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/implementation/models/SbomComponentResourceListResult.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/implementation/models/SummaryResourceListResult.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/implementation/models/UsageMetricListResult.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/implementation/models/WorkspaceListResult.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/implementation/package-info.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/models/ActionType.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/models/BinaryHardeningFeatures.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/models/BinaryHardeningResource.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/models/BinaryHardeningSummaryResource.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/models/BinaryHardenings.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/models/CertificateUsage.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/models/CryptoCertificateEntity.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/models/CryptoCertificateResource.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/models/CryptoCertificateSummaryResource.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/models/CryptoCertificates.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/models/CryptoKeyResource.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/models/CryptoKeySummaryResource.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/models/CryptoKeyType.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/models/CryptoKeys.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/models/CveComponent.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/models/CveLink.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/models/CveResource.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/models/CveSummary.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/models/Cves.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/models/CvssScore.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/models/ExecutableClass.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/models/Firmware.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/models/FirmwareSummary.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/models/FirmwareUpdateDefinition.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/models/Firmwares.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/models/GenerateUploadUrlRequest.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/models/Operation.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/models/OperationDisplay.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/models/Operations.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/models/Origin.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/models/PairedKey.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/models/PasswordHashResource.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/models/PasswordHashes.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/models/ProvisioningState.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/models/SbomComponentResource.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/models/SbomComponents.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/models/Sku.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/models/SkuTier.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/models/Status.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/models/StatusMessage.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/models/Summaries.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/models/SummaryResource.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/models/SummaryResourceProperties.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/models/SummaryType.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/models/UrlToken.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/models/UsageMetric.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/models/UsageMetrics.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/models/Workspace.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/models/WorkspaceUpdate.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/models/Workspaces.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/models/package-info.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/package-info.java","src/main/java/module-info.java"]}
\ No newline at end of file
+{"flavor":"azure","apiVersions":{"Microsoft.IoTFirmwareDefense":"2026-06-01-preview"},"crossLanguagePackageId":"Microsoft.IoTFirmwareDefense","crossLanguageVersion":"f13592507223","crossLanguageDefinitions":{"com.azure.resourcemanager.iotfirmwaredefense.fluent.BinaryHardeningsClient":"Microsoft.IoTFirmwareDefense.BinaryHardening","com.azure.resourcemanager.iotfirmwaredefense.fluent.BinaryHardeningsClient.listByFirmware":"Microsoft.IoTFirmwareDefense.BinaryHardening.listByFirmware","com.azure.resourcemanager.iotfirmwaredefense.fluent.CryptoCertificatesClient":"Microsoft.IoTFirmwareDefense.CryptoCertificates","com.azure.resourcemanager.iotfirmwaredefense.fluent.CryptoCertificatesClient.listByFirmware":"Microsoft.IoTFirmwareDefense.CryptoCertificates.listByFirmware","com.azure.resourcemanager.iotfirmwaredefense.fluent.CryptoKeysClient":"Microsoft.IoTFirmwareDefense.CryptoKeys","com.azure.resourcemanager.iotfirmwaredefense.fluent.CryptoKeysClient.listByFirmware":"Microsoft.IoTFirmwareDefense.CryptoKeys.listByFirmware","com.azure.resourcemanager.iotfirmwaredefense.fluent.CvesClient":"Microsoft.IoTFirmwareDefense.Cves","com.azure.resourcemanager.iotfirmwaredefense.fluent.CvesClient.listByFirmware":"Microsoft.IoTFirmwareDefense.Cves.listByFirmware","com.azure.resourcemanager.iotfirmwaredefense.fluent.FirmwaresClient":"Microsoft.IoTFirmwareDefense.Firmwares","com.azure.resourcemanager.iotfirmwaredefense.fluent.FirmwaresClient.create":"Microsoft.IoTFirmwareDefense.Firmwares.create","com.azure.resourcemanager.iotfirmwaredefense.fluent.FirmwaresClient.createWithResponse":"Microsoft.IoTFirmwareDefense.Firmwares.create","com.azure.resourcemanager.iotfirmwaredefense.fluent.FirmwaresClient.delete":"Microsoft.IoTFirmwareDefense.Firmwares.delete","com.azure.resourcemanager.iotfirmwaredefense.fluent.FirmwaresClient.deleteWithResponse":"Microsoft.IoTFirmwareDefense.Firmwares.delete","com.azure.resourcemanager.iotfirmwaredefense.fluent.FirmwaresClient.get":"Microsoft.IoTFirmwareDefense.Firmwares.get","com.azure.resourcemanager.iotfirmwaredefense.fluent.FirmwaresClient.getWithResponse":"Microsoft.IoTFirmwareDefense.Firmwares.get","com.azure.resourcemanager.iotfirmwaredefense.fluent.FirmwaresClient.listByWorkspace":"Microsoft.IoTFirmwareDefense.Firmwares.listByWorkspace","com.azure.resourcemanager.iotfirmwaredefense.fluent.FirmwaresClient.update":"Microsoft.IoTFirmwareDefense.Firmwares.update","com.azure.resourcemanager.iotfirmwaredefense.fluent.FirmwaresClient.updateWithResponse":"Microsoft.IoTFirmwareDefense.Firmwares.update","com.azure.resourcemanager.iotfirmwaredefense.fluent.IoTFirmwareDefenseMgmtClient":"Microsoft.IoTFirmwareDefense","com.azure.resourcemanager.iotfirmwaredefense.fluent.OperationsClient":"Microsoft.IoTFirmwareDefense.Operations","com.azure.resourcemanager.iotfirmwaredefense.fluent.OperationsClient.list":"Azure.ResourceManager.Operations.list","com.azure.resourcemanager.iotfirmwaredefense.fluent.PasswordHashesClient":"Microsoft.IoTFirmwareDefense.PasswordHashes","com.azure.resourcemanager.iotfirmwaredefense.fluent.PasswordHashesClient.listByFirmware":"Microsoft.IoTFirmwareDefense.PasswordHashes.listByFirmware","com.azure.resourcemanager.iotfirmwaredefense.fluent.SbomComponentsClient":"Microsoft.IoTFirmwareDefense.SbomComponents","com.azure.resourcemanager.iotfirmwaredefense.fluent.SbomComponentsClient.listByFirmware":"Microsoft.IoTFirmwareDefense.SbomComponents.listByFirmware","com.azure.resourcemanager.iotfirmwaredefense.fluent.SummariesClient":"Microsoft.IoTFirmwareDefense.Summaries","com.azure.resourcemanager.iotfirmwaredefense.fluent.SummariesClient.get":"Microsoft.IoTFirmwareDefense.Summaries.get","com.azure.resourcemanager.iotfirmwaredefense.fluent.SummariesClient.getWithResponse":"Microsoft.IoTFirmwareDefense.Summaries.get","com.azure.resourcemanager.iotfirmwaredefense.fluent.SummariesClient.listByFirmware":"Microsoft.IoTFirmwareDefense.Summaries.listByFirmware","com.azure.resourcemanager.iotfirmwaredefense.fluent.UnsafeFunctionCallsClient":"Microsoft.IoTFirmwareDefense.UnsafeFunctionCalls","com.azure.resourcemanager.iotfirmwaredefense.fluent.UnsafeFunctionCallsClient.listByFirmware":"Microsoft.IoTFirmwareDefense.UnsafeFunctionCalls.listByFirmware","com.azure.resourcemanager.iotfirmwaredefense.fluent.UsageMetricsClient":"Microsoft.IoTFirmwareDefense.UsageMetrics","com.azure.resourcemanager.iotfirmwaredefense.fluent.UsageMetricsClient.get":"Microsoft.IoTFirmwareDefense.UsageMetrics.get","com.azure.resourcemanager.iotfirmwaredefense.fluent.UsageMetricsClient.getWithResponse":"Microsoft.IoTFirmwareDefense.UsageMetrics.get","com.azure.resourcemanager.iotfirmwaredefense.fluent.UsageMetricsClient.listByWorkspace":"Microsoft.IoTFirmwareDefense.UsageMetrics.listByWorkspace","com.azure.resourcemanager.iotfirmwaredefense.fluent.WorkspacesClient":"Microsoft.IoTFirmwareDefense.Workspaces","com.azure.resourcemanager.iotfirmwaredefense.fluent.WorkspacesClient.beginDelete":"Microsoft.IoTFirmwareDefense.Workspaces.delete","com.azure.resourcemanager.iotfirmwaredefense.fluent.WorkspacesClient.create":"Microsoft.IoTFirmwareDefense.Workspaces.create","com.azure.resourcemanager.iotfirmwaredefense.fluent.WorkspacesClient.createWithResponse":"Microsoft.IoTFirmwareDefense.Workspaces.create","com.azure.resourcemanager.iotfirmwaredefense.fluent.WorkspacesClient.delete":"Microsoft.IoTFirmwareDefense.Workspaces.delete","com.azure.resourcemanager.iotfirmwaredefense.fluent.WorkspacesClient.generateUploadUrl":"Microsoft.IoTFirmwareDefense.Workspaces.generateUploadUrl","com.azure.resourcemanager.iotfirmwaredefense.fluent.WorkspacesClient.generateUploadUrlWithResponse":"Microsoft.IoTFirmwareDefense.Workspaces.generateUploadUrl","com.azure.resourcemanager.iotfirmwaredefense.fluent.WorkspacesClient.getByResourceGroup":"Microsoft.IoTFirmwareDefense.Workspaces.get","com.azure.resourcemanager.iotfirmwaredefense.fluent.WorkspacesClient.getByResourceGroupWithResponse":"Microsoft.IoTFirmwareDefense.Workspaces.get","com.azure.resourcemanager.iotfirmwaredefense.fluent.WorkspacesClient.list":"Microsoft.IoTFirmwareDefense.Workspaces.listBySubscription","com.azure.resourcemanager.iotfirmwaredefense.fluent.WorkspacesClient.listByResourceGroup":"Microsoft.IoTFirmwareDefense.Workspaces.listByResourceGroup","com.azure.resourcemanager.iotfirmwaredefense.fluent.WorkspacesClient.update":"Microsoft.IoTFirmwareDefense.Workspaces.update","com.azure.resourcemanager.iotfirmwaredefense.fluent.WorkspacesClient.updateWithResponse":"Microsoft.IoTFirmwareDefense.Workspaces.update","com.azure.resourcemanager.iotfirmwaredefense.fluent.models.BinaryHardeningResourceInner":"Microsoft.IoTFirmwareDefense.BinaryHardeningResource","com.azure.resourcemanager.iotfirmwaredefense.fluent.models.BinaryHardeningResult":"Microsoft.IoTFirmwareDefense.BinaryHardeningResult","com.azure.resourcemanager.iotfirmwaredefense.fluent.models.CryptoCertificate":"Microsoft.IoTFirmwareDefense.CryptoCertificate","com.azure.resourcemanager.iotfirmwaredefense.fluent.models.CryptoCertificateResourceInner":"Microsoft.IoTFirmwareDefense.CryptoCertificateResource","com.azure.resourcemanager.iotfirmwaredefense.fluent.models.CryptoKey":"Microsoft.IoTFirmwareDefense.CryptoKey","com.azure.resourcemanager.iotfirmwaredefense.fluent.models.CryptoKeyResourceInner":"Microsoft.IoTFirmwareDefense.CryptoKeyResource","com.azure.resourcemanager.iotfirmwaredefense.fluent.models.CveResourceInner":"Microsoft.IoTFirmwareDefense.CveResource","com.azure.resourcemanager.iotfirmwaredefense.fluent.models.CveResult":"Microsoft.IoTFirmwareDefense.CveResult","com.azure.resourcemanager.iotfirmwaredefense.fluent.models.FirmwareInner":"Microsoft.IoTFirmwareDefense.Firmware","com.azure.resourcemanager.iotfirmwaredefense.fluent.models.FirmwareProperties":"Microsoft.IoTFirmwareDefense.FirmwareProperties","com.azure.resourcemanager.iotfirmwaredefense.fluent.models.OperationInner":"Azure.ResourceManager.CommonTypes.Operation","com.azure.resourcemanager.iotfirmwaredefense.fluent.models.PasswordHash":"Microsoft.IoTFirmwareDefense.PasswordHash","com.azure.resourcemanager.iotfirmwaredefense.fluent.models.PasswordHashResourceInner":"Microsoft.IoTFirmwareDefense.PasswordHashResource","com.azure.resourcemanager.iotfirmwaredefense.fluent.models.SbomComponent":"Microsoft.IoTFirmwareDefense.SbomComponent","com.azure.resourcemanager.iotfirmwaredefense.fluent.models.SbomComponentResourceInner":"Microsoft.IoTFirmwareDefense.SbomComponentResource","com.azure.resourcemanager.iotfirmwaredefense.fluent.models.SummaryResourceInner":"Microsoft.IoTFirmwareDefense.SummaryResource","com.azure.resourcemanager.iotfirmwaredefense.fluent.models.UnsafeFunctionCallsResourceInner":"Microsoft.IoTFirmwareDefense.UnsafeFunctionCallsResource","com.azure.resourcemanager.iotfirmwaredefense.fluent.models.UrlTokenInner":"Microsoft.IoTFirmwareDefense.UrlToken","com.azure.resourcemanager.iotfirmwaredefense.fluent.models.UsageMetricInner":"Microsoft.IoTFirmwareDefense.UsageMetric","com.azure.resourcemanager.iotfirmwaredefense.fluent.models.UsageMetricProperties":"Microsoft.IoTFirmwareDefense.UsageMetricProperties","com.azure.resourcemanager.iotfirmwaredefense.fluent.models.WorkspaceInner":"Microsoft.IoTFirmwareDefense.Workspace","com.azure.resourcemanager.iotfirmwaredefense.fluent.models.WorkspaceProperties":"Microsoft.IoTFirmwareDefense.WorkspaceProperties","com.azure.resourcemanager.iotfirmwaredefense.implementation.IoTFirmwareDefenseMgmtClientBuilder":"Microsoft.IoTFirmwareDefense","com.azure.resourcemanager.iotfirmwaredefense.implementation.models.BinaryHardeningResourceListResult":"Azure.ResourceManager.ResourceListResult","com.azure.resourcemanager.iotfirmwaredefense.implementation.models.CryptoCertificateResourceListResult":"Azure.ResourceManager.ResourceListResult","com.azure.resourcemanager.iotfirmwaredefense.implementation.models.CryptoKeyResourceListResult":"Azure.ResourceManager.ResourceListResult","com.azure.resourcemanager.iotfirmwaredefense.implementation.models.CveResourceListResult":"Azure.ResourceManager.ResourceListResult","com.azure.resourcemanager.iotfirmwaredefense.implementation.models.FirmwareListResult":"Azure.ResourceManager.ResourceListResult","com.azure.resourcemanager.iotfirmwaredefense.implementation.models.OperationListResult":"Azure.ResourceManager.CommonTypes.OperationListResult","com.azure.resourcemanager.iotfirmwaredefense.implementation.models.PasswordHashResourceListResult":"Azure.ResourceManager.ResourceListResult","com.azure.resourcemanager.iotfirmwaredefense.implementation.models.SbomComponentResourceListResult":"Azure.ResourceManager.ResourceListResult","com.azure.resourcemanager.iotfirmwaredefense.implementation.models.SummaryResourceListResult":"Azure.ResourceManager.ResourceListResult","com.azure.resourcemanager.iotfirmwaredefense.implementation.models.UnsafeFunctionCallsResourceListResult":"Azure.ResourceManager.ResourceListResult","com.azure.resourcemanager.iotfirmwaredefense.implementation.models.UsageMetricListResult":"Azure.ResourceManager.ResourceListResult","com.azure.resourcemanager.iotfirmwaredefense.implementation.models.WorkspaceListResult":"Azure.ResourceManager.ResourceListResult","com.azure.resourcemanager.iotfirmwaredefense.models.ActionType":"Azure.ResourceManager.CommonTypes.ActionType","com.azure.resourcemanager.iotfirmwaredefense.models.BinaryHardeningFeatures":"Microsoft.IoTFirmwareDefense.BinaryHardeningFeatures","com.azure.resourcemanager.iotfirmwaredefense.models.BinaryHardeningSummaryResource":"Microsoft.IoTFirmwareDefense.BinaryHardeningSummaryResource","com.azure.resourcemanager.iotfirmwaredefense.models.CertificateUsage":"Microsoft.IoTFirmwareDefense.CertificateUsage","com.azure.resourcemanager.iotfirmwaredefense.models.CryptoCertificateEntity":"Microsoft.IoTFirmwareDefense.CryptoCertificateEntity","com.azure.resourcemanager.iotfirmwaredefense.models.CryptoCertificateSummaryResource":"Microsoft.IoTFirmwareDefense.CryptoCertificateSummaryResource","com.azure.resourcemanager.iotfirmwaredefense.models.CryptoKeySummaryResource":"Microsoft.IoTFirmwareDefense.CryptoKeySummaryResource","com.azure.resourcemanager.iotfirmwaredefense.models.CryptoKeyType":"Microsoft.IoTFirmwareDefense.CryptoKeyType","com.azure.resourcemanager.iotfirmwaredefense.models.CveComponent":"Microsoft.IoTFirmwareDefense.CveComponent","com.azure.resourcemanager.iotfirmwaredefense.models.CveLink":"Microsoft.IoTFirmwareDefense.CveLink","com.azure.resourcemanager.iotfirmwaredefense.models.CveSummary":"Microsoft.IoTFirmwareDefense.CveSummary","com.azure.resourcemanager.iotfirmwaredefense.models.CveSummaryResource":"Microsoft.IoTFirmwareDefense.CveSummaryResource","com.azure.resourcemanager.iotfirmwaredefense.models.CvssScore":"Microsoft.IoTFirmwareDefense.CvssScore","com.azure.resourcemanager.iotfirmwaredefense.models.CweProperties":"Microsoft.IoTFirmwareDefense.CweProperties","com.azure.resourcemanager.iotfirmwaredefense.models.EpssProperties":"Microsoft.IoTFirmwareDefense.EpssProperties","com.azure.resourcemanager.iotfirmwaredefense.models.ExecutableClass":"Microsoft.IoTFirmwareDefense.ExecutableClass","com.azure.resourcemanager.iotfirmwaredefense.models.ExploitMaturityLevel":"Microsoft.IoTFirmwareDefense.ExploitMaturityLevel","com.azure.resourcemanager.iotfirmwaredefense.models.FirmwareSummary":"Microsoft.IoTFirmwareDefense.FirmwareSummary","com.azure.resourcemanager.iotfirmwaredefense.models.FirmwareUpdateDefinition":"Microsoft.IoTFirmwareDefense.FirmwareUpdateDefinition","com.azure.resourcemanager.iotfirmwaredefense.models.FunctionCall":"Microsoft.IoTFirmwareDefense.FunctionCall","com.azure.resourcemanager.iotfirmwaredefense.models.GenerateUploadUrlRequest":"Microsoft.IoTFirmwareDefense.GenerateUploadUrlRequest","com.azure.resourcemanager.iotfirmwaredefense.models.KevProperties":"Microsoft.IoTFirmwareDefense.KevProperties","com.azure.resourcemanager.iotfirmwaredefense.models.OperationDisplay":"Azure.ResourceManager.CommonTypes.OperationDisplay","com.azure.resourcemanager.iotfirmwaredefense.models.Origin":"Azure.ResourceManager.CommonTypes.Origin","com.azure.resourcemanager.iotfirmwaredefense.models.PairedKey":"Microsoft.IoTFirmwareDefense.PairedKey","com.azure.resourcemanager.iotfirmwaredefense.models.PasswordHashSummaryResource":"Microsoft.IoTFirmwareDefense.PasswordHashSummaryResource","com.azure.resourcemanager.iotfirmwaredefense.models.ProvisioningState":"Microsoft.IoTFirmwareDefense.ProvisioningState","com.azure.resourcemanager.iotfirmwaredefense.models.RansomwareCampaignUse":"Microsoft.IoTFirmwareDefense.RansomwareCampaignUse","com.azure.resourcemanager.iotfirmwaredefense.models.SbomSummaryResource":"Microsoft.IoTFirmwareDefense.SbomSummaryResource","com.azure.resourcemanager.iotfirmwaredefense.models.Sku":"Azure.ResourceManager.CommonTypes.Sku","com.azure.resourcemanager.iotfirmwaredefense.models.SkuTier":"Azure.ResourceManager.CommonTypes.SkuTier","com.azure.resourcemanager.iotfirmwaredefense.models.Status":"Microsoft.IoTFirmwareDefense.Status","com.azure.resourcemanager.iotfirmwaredefense.models.StatusMessage":"Microsoft.IoTFirmwareDefense.StatusMessage","com.azure.resourcemanager.iotfirmwaredefense.models.SummaryResourceProperties":"Microsoft.IoTFirmwareDefense.SummaryResourceProperties","com.azure.resourcemanager.iotfirmwaredefense.models.SummaryType":"Microsoft.IoTFirmwareDefense.SummaryType","com.azure.resourcemanager.iotfirmwaredefense.models.UnsafeFunctionCallsResult":"Microsoft.IoTFirmwareDefense.UnsafeFunctionCallsResult","com.azure.resourcemanager.iotfirmwaredefense.models.UnsafeFunctionCallsSummaryResource":"Microsoft.IoTFirmwareDefense.UnsafeFunctionCallsSummaryResource","com.azure.resourcemanager.iotfirmwaredefense.models.WorkspaceUpdate":"Azure.ResourceManager.Foundations.ResourceUpdateModel"},"generatedFiles":["src/main/java/com/azure/resourcemanager/iotfirmwaredefense/IoTFirmwareDefenseManager.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/fluent/BinaryHardeningsClient.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/fluent/CryptoCertificatesClient.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/fluent/CryptoKeysClient.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/fluent/CvesClient.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/fluent/FirmwaresClient.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/fluent/IoTFirmwareDefenseMgmtClient.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/fluent/OperationsClient.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/fluent/PasswordHashesClient.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/fluent/SbomComponentsClient.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/fluent/SummariesClient.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/fluent/UnsafeFunctionCallsClient.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/fluent/UsageMetricsClient.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/fluent/WorkspacesClient.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/fluent/models/BinaryHardeningResourceInner.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/fluent/models/BinaryHardeningResult.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/fluent/models/CryptoCertificate.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/fluent/models/CryptoCertificateResourceInner.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/fluent/models/CryptoKey.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/fluent/models/CryptoKeyResourceInner.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/fluent/models/CveResourceInner.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/fluent/models/CveResult.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/fluent/models/FirmwareInner.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/fluent/models/FirmwareProperties.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/fluent/models/OperationInner.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/fluent/models/PasswordHash.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/fluent/models/PasswordHashResourceInner.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/fluent/models/SbomComponent.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/fluent/models/SbomComponentResourceInner.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/fluent/models/SummaryResourceInner.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/fluent/models/UnsafeFunctionCallsResourceInner.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/fluent/models/UrlTokenInner.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/fluent/models/UsageMetricInner.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/fluent/models/UsageMetricProperties.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/fluent/models/WorkspaceInner.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/fluent/models/WorkspaceProperties.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/fluent/models/package-info.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/fluent/package-info.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/implementation/BinaryHardeningResourceImpl.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/implementation/BinaryHardeningsClientImpl.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/implementation/BinaryHardeningsImpl.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/implementation/CryptoCertificateResourceImpl.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/implementation/CryptoCertificatesClientImpl.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/implementation/CryptoCertificatesImpl.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/implementation/CryptoKeyResourceImpl.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/implementation/CryptoKeysClientImpl.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/implementation/CryptoKeysImpl.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/implementation/CveResourceImpl.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/implementation/CvesClientImpl.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/implementation/CvesImpl.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/implementation/FirmwareImpl.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/implementation/FirmwaresClientImpl.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/implementation/FirmwaresImpl.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/implementation/IoTFirmwareDefenseMgmtClientBuilder.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/implementation/IoTFirmwareDefenseMgmtClientImpl.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/implementation/OperationImpl.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/implementation/OperationsClientImpl.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/implementation/OperationsImpl.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/implementation/PasswordHashResourceImpl.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/implementation/PasswordHashesClientImpl.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/implementation/PasswordHashesImpl.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/implementation/ResourceManagerUtils.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/implementation/SbomComponentResourceImpl.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/implementation/SbomComponentsClientImpl.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/implementation/SbomComponentsImpl.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/implementation/SummariesClientImpl.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/implementation/SummariesImpl.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/implementation/SummaryResourceImpl.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/implementation/UnsafeFunctionCallsClientImpl.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/implementation/UnsafeFunctionCallsImpl.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/implementation/UnsafeFunctionCallsResourceImpl.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/implementation/UrlTokenImpl.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/implementation/UsageMetricImpl.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/implementation/UsageMetricsClientImpl.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/implementation/UsageMetricsImpl.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/implementation/WorkspaceImpl.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/implementation/WorkspacesClientImpl.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/implementation/WorkspacesImpl.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/implementation/models/BinaryHardeningResourceListResult.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/implementation/models/CryptoCertificateResourceListResult.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/implementation/models/CryptoKeyResourceListResult.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/implementation/models/CveResourceListResult.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/implementation/models/FirmwareListResult.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/implementation/models/OperationListResult.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/implementation/models/PasswordHashResourceListResult.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/implementation/models/SbomComponentResourceListResult.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/implementation/models/SummaryResourceListResult.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/implementation/models/UnsafeFunctionCallsResourceListResult.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/implementation/models/UsageMetricListResult.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/implementation/models/WorkspaceListResult.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/implementation/package-info.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/models/ActionType.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/models/BinaryHardeningFeatures.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/models/BinaryHardeningResource.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/models/BinaryHardeningSummaryResource.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/models/BinaryHardenings.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/models/CertificateUsage.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/models/CryptoCertificateEntity.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/models/CryptoCertificateResource.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/models/CryptoCertificateSummaryResource.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/models/CryptoCertificates.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/models/CryptoKeyResource.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/models/CryptoKeySummaryResource.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/models/CryptoKeyType.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/models/CryptoKeys.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/models/CveComponent.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/models/CveLink.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/models/CveResource.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/models/CveSummary.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/models/CveSummaryResource.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/models/Cves.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/models/CvssScore.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/models/CweProperties.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/models/EpssProperties.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/models/ExecutableClass.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/models/ExploitMaturityLevel.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/models/Firmware.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/models/FirmwareSummary.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/models/FirmwareUpdateDefinition.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/models/Firmwares.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/models/FunctionCall.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/models/GenerateUploadUrlRequest.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/models/KevProperties.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/models/Operation.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/models/OperationDisplay.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/models/Operations.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/models/Origin.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/models/PairedKey.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/models/PasswordHashResource.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/models/PasswordHashSummaryResource.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/models/PasswordHashes.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/models/ProvisioningState.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/models/RansomwareCampaignUse.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/models/SbomComponentResource.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/models/SbomComponents.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/models/SbomSummaryResource.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/models/Sku.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/models/SkuTier.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/models/Status.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/models/StatusMessage.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/models/Summaries.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/models/SummaryResource.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/models/SummaryResourceProperties.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/models/SummaryType.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/models/UnsafeFunctionCalls.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/models/UnsafeFunctionCallsResource.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/models/UnsafeFunctionCallsResult.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/models/UnsafeFunctionCallsSummaryResource.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/models/UrlToken.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/models/UsageMetric.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/models/UsageMetrics.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/models/Workspace.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/models/WorkspaceUpdate.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/models/Workspaces.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/models/package-info.java","src/main/java/com/azure/resourcemanager/iotfirmwaredefense/package-info.java","src/main/java/module-info.java"]}
\ No newline at end of file
diff --git a/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/main/resources/META-INF/native-image/com.azure.resourcemanager/azure-resourcemanager-iotfirmwaredefense/proxy-config.json b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/main/resources/META-INF/native-image/com.azure.resourcemanager/azure-resourcemanager-iotfirmwaredefense/proxy-config.json
index 127483dff856..69f5f65423ae 100644
--- a/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/main/resources/META-INF/native-image/com.azure.resourcemanager/azure-resourcemanager-iotfirmwaredefense/proxy-config.json
+++ b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/main/resources/META-INF/native-image/com.azure.resourcemanager/azure-resourcemanager-iotfirmwaredefense/proxy-config.json
@@ -1 +1 @@
-[["com.azure.resourcemanager.iotfirmwaredefense.implementation.BinaryHardeningsClientImpl$BinaryHardeningsService"],["com.azure.resourcemanager.iotfirmwaredefense.implementation.CryptoCertificatesClientImpl$CryptoCertificatesService"],["com.azure.resourcemanager.iotfirmwaredefense.implementation.CryptoKeysClientImpl$CryptoKeysService"],["com.azure.resourcemanager.iotfirmwaredefense.implementation.CvesClientImpl$CvesService"],["com.azure.resourcemanager.iotfirmwaredefense.implementation.FirmwaresClientImpl$FirmwaresService"],["com.azure.resourcemanager.iotfirmwaredefense.implementation.OperationsClientImpl$OperationsService"],["com.azure.resourcemanager.iotfirmwaredefense.implementation.PasswordHashesClientImpl$PasswordHashesService"],["com.azure.resourcemanager.iotfirmwaredefense.implementation.SbomComponentsClientImpl$SbomComponentsService"],["com.azure.resourcemanager.iotfirmwaredefense.implementation.SummariesClientImpl$SummariesService"],["com.azure.resourcemanager.iotfirmwaredefense.implementation.UsageMetricsClientImpl$UsageMetricsService"],["com.azure.resourcemanager.iotfirmwaredefense.implementation.WorkspacesClientImpl$WorkspacesService"]]
\ No newline at end of file
+[["com.azure.resourcemanager.iotfirmwaredefense.implementation.BinaryHardeningsClientImpl$BinaryHardeningsService"],["com.azure.resourcemanager.iotfirmwaredefense.implementation.CryptoCertificatesClientImpl$CryptoCertificatesService"],["com.azure.resourcemanager.iotfirmwaredefense.implementation.CryptoKeysClientImpl$CryptoKeysService"],["com.azure.resourcemanager.iotfirmwaredefense.implementation.CvesClientImpl$CvesService"],["com.azure.resourcemanager.iotfirmwaredefense.implementation.FirmwaresClientImpl$FirmwaresService"],["com.azure.resourcemanager.iotfirmwaredefense.implementation.OperationsClientImpl$OperationsService"],["com.azure.resourcemanager.iotfirmwaredefense.implementation.PasswordHashesClientImpl$PasswordHashesService"],["com.azure.resourcemanager.iotfirmwaredefense.implementation.SbomComponentsClientImpl$SbomComponentsService"],["com.azure.resourcemanager.iotfirmwaredefense.implementation.SummariesClientImpl$SummariesService"],["com.azure.resourcemanager.iotfirmwaredefense.implementation.UnsafeFunctionCallsClientImpl$UnsafeFunctionCallsService"],["com.azure.resourcemanager.iotfirmwaredefense.implementation.UsageMetricsClientImpl$UsageMetricsService"],["com.azure.resourcemanager.iotfirmwaredefense.implementation.WorkspacesClientImpl$WorkspacesService"]]
\ No newline at end of file
diff --git a/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/samples/java/com/azure/resourcemanager/iotfirmwaredefense/generated/BinaryHardeningListByFirmwareSamples.java b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/samples/java/com/azure/resourcemanager/iotfirmwaredefense/generated/BinaryHardeningListByFirmwareSamples.java
index 664791f9261b..2335dc36f331 100644
--- a/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/samples/java/com/azure/resourcemanager/iotfirmwaredefense/generated/BinaryHardeningListByFirmwareSamples.java
+++ b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/samples/java/com/azure/resourcemanager/iotfirmwaredefense/generated/BinaryHardeningListByFirmwareSamples.java
@@ -9,7 +9,7 @@
*/
public final class BinaryHardeningListByFirmwareSamples {
/*
- * x-ms-original-file: 2025-08-02/BinaryHardening_ListByFirmware_MinimumSet_Gen.json
+ * x-ms-original-file: 2026-06-01-preview/BinaryHardening_ListByFirmware_MinimumSet_Gen.json
*/
/**
* Sample code: BinaryHardening_ListByFirmware_MinimumSet_Gen.
@@ -24,7 +24,7 @@ public static void binaryHardeningListByFirmwareMinimumSetGen(
}
/*
- * x-ms-original-file: 2025-08-02/BinaryHardening_ListByFirmware_MaximumSet_Gen.json
+ * x-ms-original-file: 2026-06-01-preview/BinaryHardening_ListByFirmware_MaximumSet_Gen.json
*/
/**
* Sample code: BinaryHardening_ListByFirmware_MaximumSet_Gen - generated by [MaximumSet] rule.
diff --git a/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/samples/java/com/azure/resourcemanager/iotfirmwaredefense/generated/CryptoCertificatesListByFirmwareSamples.java b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/samples/java/com/azure/resourcemanager/iotfirmwaredefense/generated/CryptoCertificatesListByFirmwareSamples.java
index 9edfa8c23e14..ad6ad232f9c6 100644
--- a/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/samples/java/com/azure/resourcemanager/iotfirmwaredefense/generated/CryptoCertificatesListByFirmwareSamples.java
+++ b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/samples/java/com/azure/resourcemanager/iotfirmwaredefense/generated/CryptoCertificatesListByFirmwareSamples.java
@@ -9,7 +9,7 @@
*/
public final class CryptoCertificatesListByFirmwareSamples {
/*
- * x-ms-original-file: 2025-08-02/CryptoCertificates_ListByFirmware_MaximumSet_Gen.json
+ * x-ms-original-file: 2026-06-01-preview/CryptoCertificates_ListByFirmware_MaximumSet_Gen.json
*/
/**
* Sample code: CryptoCertificates_ListByFirmware_MaximumSet_Gen - generated by [MaximumSet] rule.
@@ -24,7 +24,7 @@ public static void cryptoCertificatesListByFirmwareMaximumSetGenGeneratedByMaxim
}
/*
- * x-ms-original-file: 2025-08-02/CryptoCertificates_ListByFirmware_MinimumSet_Gen.json
+ * x-ms-original-file: 2026-06-01-preview/CryptoCertificates_ListByFirmware_MinimumSet_Gen.json
*/
/**
* Sample code: CryptoCertificates_ListByFirmware_MinimumSet_Gen.
diff --git a/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/samples/java/com/azure/resourcemanager/iotfirmwaredefense/generated/CryptoKeysListByFirmwareSamples.java b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/samples/java/com/azure/resourcemanager/iotfirmwaredefense/generated/CryptoKeysListByFirmwareSamples.java
index c91640529778..d74920399009 100644
--- a/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/samples/java/com/azure/resourcemanager/iotfirmwaredefense/generated/CryptoKeysListByFirmwareSamples.java
+++ b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/samples/java/com/azure/resourcemanager/iotfirmwaredefense/generated/CryptoKeysListByFirmwareSamples.java
@@ -9,7 +9,7 @@
*/
public final class CryptoKeysListByFirmwareSamples {
/*
- * x-ms-original-file: 2025-08-02/CryptoKeys_ListByFirmware_MaximumSet_Gen.json
+ * x-ms-original-file: 2026-06-01-preview/CryptoKeys_ListByFirmware_MaximumSet_Gen.json
*/
/**
* Sample code: CryptoKeys_ListByFirmware_MaximumSet_Gen - generated by [MaximumSet] rule.
@@ -24,7 +24,7 @@ public static void cryptoKeysListByFirmwareMaximumSetGenGeneratedByMaximumSetRul
}
/*
- * x-ms-original-file: 2025-08-02/CryptoKeys_ListByFirmware_MinimumSet_Gen.json
+ * x-ms-original-file: 2026-06-01-preview/CryptoKeys_ListByFirmware_MinimumSet_Gen.json
*/
/**
* Sample code: CryptoKeys_ListByFirmware_MinimumSet_Gen.
diff --git a/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/samples/java/com/azure/resourcemanager/iotfirmwaredefense/generated/CvesListByFirmwareSamples.java b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/samples/java/com/azure/resourcemanager/iotfirmwaredefense/generated/CvesListByFirmwareSamples.java
index 33257a5192ac..f0a289862c77 100644
--- a/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/samples/java/com/azure/resourcemanager/iotfirmwaredefense/generated/CvesListByFirmwareSamples.java
+++ b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/samples/java/com/azure/resourcemanager/iotfirmwaredefense/generated/CvesListByFirmwareSamples.java
@@ -9,7 +9,7 @@
*/
public final class CvesListByFirmwareSamples {
/*
- * x-ms-original-file: 2025-08-02/Cves_ListByFirmware_MaximumSet_Gen.json
+ * x-ms-original-file: 2026-06-01-preview/Cves_ListByFirmware_MaximumSet_Gen.json
*/
/**
* Sample code: Cves_ListByFirmware_MaximumSet_Gen - generated by [MaximumSet] rule.
@@ -24,7 +24,7 @@ public static void cvesListByFirmwareMaximumSetGenGeneratedByMaximumSetRule(
}
/*
- * x-ms-original-file: 2025-08-02/Cves_ListByFirmware_MinimumSet_Gen.json
+ * x-ms-original-file: 2026-06-01-preview/Cves_ListByFirmware_MinimumSet_Gen.json
*/
/**
* Sample code: Cves_ListByFirmware_MinimumSet_Gen.
diff --git a/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/samples/java/com/azure/resourcemanager/iotfirmwaredefense/generated/FirmwaresCreateSamples.java b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/samples/java/com/azure/resourcemanager/iotfirmwaredefense/generated/FirmwaresCreateSamples.java
index 8fb01b47f7c4..1ed549afc41f 100644
--- a/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/samples/java/com/azure/resourcemanager/iotfirmwaredefense/generated/FirmwaresCreateSamples.java
+++ b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/samples/java/com/azure/resourcemanager/iotfirmwaredefense/generated/FirmwaresCreateSamples.java
@@ -13,7 +13,7 @@
*/
public final class FirmwaresCreateSamples {
/*
- * x-ms-original-file: 2025-08-02/Firmwares_Create_MinimumSet_Gen.json
+ * x-ms-original-file: 2026-06-01-preview/Firmwares_Create_MinimumSet_Gen.json
*/
/**
* Sample code: Firmwares_Create_MinimumSet_Gen.
@@ -26,7 +26,7 @@ public final class FirmwaresCreateSamples {
}
/*
- * x-ms-original-file: 2025-08-02/Firmwares_Create_MaximumSet_Gen.json
+ * x-ms-original-file: 2026-06-01-preview/Firmwares_Create_MaximumSet_Gen.json
*/
/**
* Sample code: Firmwares_Create_MaximumSet_Gen - generated by [MaximumSet] rule.
diff --git a/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/samples/java/com/azure/resourcemanager/iotfirmwaredefense/generated/FirmwaresDeleteSamples.java b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/samples/java/com/azure/resourcemanager/iotfirmwaredefense/generated/FirmwaresDeleteSamples.java
index 000f0dcd553b..78bf0ee129a6 100644
--- a/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/samples/java/com/azure/resourcemanager/iotfirmwaredefense/generated/FirmwaresDeleteSamples.java
+++ b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/samples/java/com/azure/resourcemanager/iotfirmwaredefense/generated/FirmwaresDeleteSamples.java
@@ -9,7 +9,7 @@
*/
public final class FirmwaresDeleteSamples {
/*
- * x-ms-original-file: 2025-08-02/Firmwares_Delete_MinimumSet_Gen.json
+ * x-ms-original-file: 2026-06-01-preview/Firmwares_Delete_MinimumSet_Gen.json
*/
/**
* Sample code: Firmwares_Delete_MinimumSet_Gen.
@@ -23,7 +23,7 @@ public final class FirmwaresDeleteSamples {
}
/*
- * x-ms-original-file: 2025-08-02/Firmwares_Delete_MaximumSet_Gen.json
+ * x-ms-original-file: 2026-06-01-preview/Firmwares_Delete_MaximumSet_Gen.json
*/
/**
* Sample code: Firmwares_Delete_MaximumSet_Gen - generated by [MaximumSet] rule.
diff --git a/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/samples/java/com/azure/resourcemanager/iotfirmwaredefense/generated/FirmwaresGetSamples.java b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/samples/java/com/azure/resourcemanager/iotfirmwaredefense/generated/FirmwaresGetSamples.java
index faa3a0555119..f695e2c612ed 100644
--- a/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/samples/java/com/azure/resourcemanager/iotfirmwaredefense/generated/FirmwaresGetSamples.java
+++ b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/samples/java/com/azure/resourcemanager/iotfirmwaredefense/generated/FirmwaresGetSamples.java
@@ -9,7 +9,7 @@
*/
public final class FirmwaresGetSamples {
/*
- * x-ms-original-file: 2025-08-02/Firmwares_Get_MinimumSet_Gen.json
+ * x-ms-original-file: 2026-06-01-preview/Firmwares_Get_MinimumSet_Gen.json
*/
/**
* Sample code: Firmwares_Get_MinimumSet_Gen.
@@ -23,7 +23,7 @@ public final class FirmwaresGetSamples {
}
/*
- * x-ms-original-file: 2025-08-02/Firmwares_Get_MaximumSet_Gen.json
+ * x-ms-original-file: 2026-06-01-preview/Firmwares_Get_MaximumSet_Gen.json
*/
/**
* Sample code: Firmwares_Get_MaximumSet_Gen - generated by [MaximumSet] rule.
diff --git a/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/samples/java/com/azure/resourcemanager/iotfirmwaredefense/generated/FirmwaresListByWorkspaceSamples.java b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/samples/java/com/azure/resourcemanager/iotfirmwaredefense/generated/FirmwaresListByWorkspaceSamples.java
index e089e5f34ab9..d89027ea2903 100644
--- a/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/samples/java/com/azure/resourcemanager/iotfirmwaredefense/generated/FirmwaresListByWorkspaceSamples.java
+++ b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/samples/java/com/azure/resourcemanager/iotfirmwaredefense/generated/FirmwaresListByWorkspaceSamples.java
@@ -9,7 +9,7 @@
*/
public final class FirmwaresListByWorkspaceSamples {
/*
- * x-ms-original-file: 2025-08-02/Firmwares_ListByWorkspace_MinimumSet_Gen.json
+ * x-ms-original-file: 2026-06-01-preview/Firmwares_ListByWorkspace_MinimumSet_Gen.json
*/
/**
* Sample code: Firmwares_ListByWorkspace_MinimumSet_Gen.
@@ -22,7 +22,7 @@ public static void firmwaresListByWorkspaceMinimumSetGen(
}
/*
- * x-ms-original-file: 2025-08-02/Firmwares_ListByWorkspace_MaximumSet_Gen.json
+ * x-ms-original-file: 2026-06-01-preview/Firmwares_ListByWorkspace_MaximumSet_Gen.json
*/
/**
* Sample code: Firmwares_ListByWorkspace_MaximumSet_Gen - generated by [MaximumSet] rule.
diff --git a/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/samples/java/com/azure/resourcemanager/iotfirmwaredefense/generated/FirmwaresUpdateSamples.java b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/samples/java/com/azure/resourcemanager/iotfirmwaredefense/generated/FirmwaresUpdateSamples.java
index 39035bd369ae..9d5761850f42 100644
--- a/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/samples/java/com/azure/resourcemanager/iotfirmwaredefense/generated/FirmwaresUpdateSamples.java
+++ b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/samples/java/com/azure/resourcemanager/iotfirmwaredefense/generated/FirmwaresUpdateSamples.java
@@ -14,7 +14,7 @@
*/
public final class FirmwaresUpdateSamples {
/*
- * x-ms-original-file: 2025-08-02/Firmwares_Update_MaximumSet_Gen.json
+ * x-ms-original-file: 2026-06-01-preview/Firmwares_Update_MaximumSet_Gen.json
*/
/**
* Sample code: Firmwares_Update_MaximumSet_Gen - generated by [MaximumSet] rule.
@@ -42,7 +42,7 @@ public static void firmwaresUpdateMaximumSetGenGeneratedByMaximumSetRule(
}
/*
- * x-ms-original-file: 2025-08-02/Firmwares_Update_MinimumSet_Gen.json
+ * x-ms-original-file: 2026-06-01-preview/Firmwares_Update_MinimumSet_Gen.json
*/
/**
* Sample code: Firmwares_Update_MinimumSet_Gen.
diff --git a/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/samples/java/com/azure/resourcemanager/iotfirmwaredefense/generated/OperationsListSamples.java b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/samples/java/com/azure/resourcemanager/iotfirmwaredefense/generated/OperationsListSamples.java
index b82f9e199e4d..9b73974d8ba5 100644
--- a/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/samples/java/com/azure/resourcemanager/iotfirmwaredefense/generated/OperationsListSamples.java
+++ b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/samples/java/com/azure/resourcemanager/iotfirmwaredefense/generated/OperationsListSamples.java
@@ -9,7 +9,7 @@
*/
public final class OperationsListSamples {
/*
- * x-ms-original-file: 2025-08-02/Operations_List_MaximumSet_Gen.json
+ * x-ms-original-file: 2026-06-01-preview/Operations_List_MaximumSet_Gen.json
*/
/**
* Sample code: Operations_List_MaximumSet_Gen - generated by [MaximumSet] rule.
@@ -22,7 +22,7 @@ public static void operationsListMaximumSetGenGeneratedByMaximumSetRule(
}
/*
- * x-ms-original-file: 2025-08-02/Operations_List_MinimumSet_Gen.json
+ * x-ms-original-file: 2026-06-01-preview/Operations_List_MinimumSet_Gen.json
*/
/**
* Sample code: Operations_List_MaximumSet_Gen - generated by [MinimumSet] rule.
diff --git a/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/samples/java/com/azure/resourcemanager/iotfirmwaredefense/generated/PasswordHashesListByFirmwareSamples.java b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/samples/java/com/azure/resourcemanager/iotfirmwaredefense/generated/PasswordHashesListByFirmwareSamples.java
index 6bc1a3376337..90de6b35527c 100644
--- a/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/samples/java/com/azure/resourcemanager/iotfirmwaredefense/generated/PasswordHashesListByFirmwareSamples.java
+++ b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/samples/java/com/azure/resourcemanager/iotfirmwaredefense/generated/PasswordHashesListByFirmwareSamples.java
@@ -9,7 +9,7 @@
*/
public final class PasswordHashesListByFirmwareSamples {
/*
- * x-ms-original-file: 2025-08-02/PasswordHashes_ListByFirmware_MaximumSet_Gen.json
+ * x-ms-original-file: 2026-06-01-preview/PasswordHashes_ListByFirmware_MaximumSet_Gen.json
*/
/**
* Sample code: PasswordHashes_ListByFirmware_MaximumSet_Gen - generated by [MaximumSet] rule.
@@ -24,7 +24,7 @@ public static void passwordHashesListByFirmwareMaximumSetGenGeneratedByMaximumSe
}
/*
- * x-ms-original-file: 2025-08-02/PasswordHashes_ListByFirmware_MinimumSet_Gen.json
+ * x-ms-original-file: 2026-06-01-preview/PasswordHashes_ListByFirmware_MinimumSet_Gen.json
*/
/**
* Sample code: PasswordHashes_ListByFirmware_MinimumSet_Gen.
diff --git a/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/samples/java/com/azure/resourcemanager/iotfirmwaredefense/generated/SbomComponentsListByFirmwareSamples.java b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/samples/java/com/azure/resourcemanager/iotfirmwaredefense/generated/SbomComponentsListByFirmwareSamples.java
index 40cea0d02aeb..0893462a463e 100644
--- a/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/samples/java/com/azure/resourcemanager/iotfirmwaredefense/generated/SbomComponentsListByFirmwareSamples.java
+++ b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/samples/java/com/azure/resourcemanager/iotfirmwaredefense/generated/SbomComponentsListByFirmwareSamples.java
@@ -9,7 +9,7 @@
*/
public final class SbomComponentsListByFirmwareSamples {
/*
- * x-ms-original-file: 2025-08-02/SbomComponents_ListByFirmware_MaximumSet_Gen.json
+ * x-ms-original-file: 2026-06-01-preview/SbomComponents_ListByFirmware_MaximumSet_Gen.json
*/
/**
* Sample code: SbomComponents_ListByFirmware_MaximumSet_Gen - generated by [MaximumSet] rule.
@@ -24,7 +24,7 @@ public static void sbomComponentsListByFirmwareMaximumSetGenGeneratedByMaximumSe
}
/*
- * x-ms-original-file: 2025-08-02/SbomComponents_ListByFirmware_MinimumSet_Gen.json
+ * x-ms-original-file: 2026-06-01-preview/SbomComponents_ListByFirmware_MinimumSet_Gen.json
*/
/**
* Sample code: SbomComponents_ListByFirmware_MinimumSet_Gen.
diff --git a/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/samples/java/com/azure/resourcemanager/iotfirmwaredefense/generated/SummariesGetSamples.java b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/samples/java/com/azure/resourcemanager/iotfirmwaredefense/generated/SummariesGetSamples.java
index 7f26e5a08019..db30fa74833e 100644
--- a/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/samples/java/com/azure/resourcemanager/iotfirmwaredefense/generated/SummariesGetSamples.java
+++ b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/samples/java/com/azure/resourcemanager/iotfirmwaredefense/generated/SummariesGetSamples.java
@@ -11,7 +11,7 @@
*/
public final class SummariesGetSamples {
/*
- * x-ms-original-file: 2025-08-02/Summaries_Get_MaximumSet_Gen.json
+ * x-ms-original-file: 2026-06-01-preview/Summaries_Get_MaximumSet_Gen.json
*/
/**
* Sample code: Summaries_Get_MaximumSet_Gen - generated by [MaximumSet] rule.
@@ -26,7 +26,7 @@ public static void summariesGetMaximumSetGenGeneratedByMaximumSetRule(
}
/*
- * x-ms-original-file: 2025-08-02/Summaries_Get_MinimumSet_Gen.json
+ * x-ms-original-file: 2026-06-01-preview/Summaries_Get_MinimumSet_Gen.json
*/
/**
* Sample code: Summaries_Get_MinimumSet_Gen.
diff --git a/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/samples/java/com/azure/resourcemanager/iotfirmwaredefense/generated/SummariesListByFirmwareSamples.java b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/samples/java/com/azure/resourcemanager/iotfirmwaredefense/generated/SummariesListByFirmwareSamples.java
index 086ce3c1f0f8..bcf24f9e1474 100644
--- a/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/samples/java/com/azure/resourcemanager/iotfirmwaredefense/generated/SummariesListByFirmwareSamples.java
+++ b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/samples/java/com/azure/resourcemanager/iotfirmwaredefense/generated/SummariesListByFirmwareSamples.java
@@ -9,7 +9,7 @@
*/
public final class SummariesListByFirmwareSamples {
/*
- * x-ms-original-file: 2025-08-02/Summaries_ListByFirmware_MaximumSet_Gen.json
+ * x-ms-original-file: 2026-06-01-preview/Summaries_ListByFirmware_MaximumSet_Gen.json
*/
/**
* Sample code: Summaries_ListByFirmware_MaximumSet_Gen - generated by [MaximumSet] rule.
@@ -24,7 +24,7 @@ public static void summariesListByFirmwareMaximumSetGenGeneratedByMaximumSetRule
}
/*
- * x-ms-original-file: 2025-08-02/Summaries_ListByFirmware_MinimumSet_Gen.json
+ * x-ms-original-file: 2026-06-01-preview/Summaries_ListByFirmware_MinimumSet_Gen.json
*/
/**
* Sample code: Summaries_ListByFirmware_MinimumSet_Gen.
diff --git a/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/samples/java/com/azure/resourcemanager/iotfirmwaredefense/generated/UnsafeFunctionCallsListByFirmwareSamples.java b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/samples/java/com/azure/resourcemanager/iotfirmwaredefense/generated/UnsafeFunctionCallsListByFirmwareSamples.java
new file mode 100644
index 000000000000..92261a2a3f56
--- /dev/null
+++ b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/samples/java/com/azure/resourcemanager/iotfirmwaredefense/generated/UnsafeFunctionCallsListByFirmwareSamples.java
@@ -0,0 +1,40 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.iotfirmwaredefense.generated;
+
+/**
+ * Samples for UnsafeFunctionCalls ListByFirmware.
+ */
+public final class UnsafeFunctionCallsListByFirmwareSamples {
+ /*
+ * x-ms-original-file: 2026-06-01-preview/UnsafeFunctionCalls_ListByFirmware_MinimumSet_Gen.json
+ */
+ /**
+ * Sample code: UnsafeFunctionCalls_ListByFirmware_MinimumSet_Gen.
+ *
+ * @param manager Entry point to IoTFirmwareDefenseManager.
+ */
+ public static void unsafeFunctionCallsListByFirmwareMinimumSetGen(
+ com.azure.resourcemanager.iotfirmwaredefense.IoTFirmwareDefenseManager manager) {
+ manager.unsafeFunctionCalls()
+ .listByFirmware("FirmwareAnalysisRG", "default", "00000000-0000-0000-0000-000000000000",
+ com.azure.core.util.Context.NONE);
+ }
+
+ /*
+ * x-ms-original-file: 2026-06-01-preview/UnsafeFunctionCalls_ListByFirmware_MaximumSet_Gen.json
+ */
+ /**
+ * Sample code: UnsafeFunctionCalls_ListByFirmware_MaximumSet_Gen - generated by [MaximumSet] rule.
+ *
+ * @param manager Entry point to IoTFirmwareDefenseManager.
+ */
+ public static void unsafeFunctionCallsListByFirmwareMaximumSetGenGeneratedByMaximumSetRule(
+ com.azure.resourcemanager.iotfirmwaredefense.IoTFirmwareDefenseManager manager) {
+ manager.unsafeFunctionCalls()
+ .listByFirmware("rgiotfirmwaredefense", "exampleWorkspaceName", "00000000-0000-0000-0000-000000000000",
+ com.azure.core.util.Context.NONE);
+ }
+}
diff --git a/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/samples/java/com/azure/resourcemanager/iotfirmwaredefense/generated/UsageMetricsGetSamples.java b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/samples/java/com/azure/resourcemanager/iotfirmwaredefense/generated/UsageMetricsGetSamples.java
index d0525c2f14d6..c703c7d56948 100644
--- a/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/samples/java/com/azure/resourcemanager/iotfirmwaredefense/generated/UsageMetricsGetSamples.java
+++ b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/samples/java/com/azure/resourcemanager/iotfirmwaredefense/generated/UsageMetricsGetSamples.java
@@ -9,7 +9,7 @@
*/
public final class UsageMetricsGetSamples {
/*
- * x-ms-original-file: 2025-08-02/UsageMetrics_Get_MaximumSet_Gen.json
+ * x-ms-original-file: 2026-06-01-preview/UsageMetrics_Get_MaximumSet_Gen.json
*/
/**
* Sample code: UsageMetrics_Get - generated by [MaximumSet] rule.
diff --git a/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/samples/java/com/azure/resourcemanager/iotfirmwaredefense/generated/UsageMetricsListByWorkspaceSamples.java b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/samples/java/com/azure/resourcemanager/iotfirmwaredefense/generated/UsageMetricsListByWorkspaceSamples.java
index 7f2a29a0d572..302323be74e3 100644
--- a/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/samples/java/com/azure/resourcemanager/iotfirmwaredefense/generated/UsageMetricsListByWorkspaceSamples.java
+++ b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/samples/java/com/azure/resourcemanager/iotfirmwaredefense/generated/UsageMetricsListByWorkspaceSamples.java
@@ -9,7 +9,7 @@
*/
public final class UsageMetricsListByWorkspaceSamples {
/*
- * x-ms-original-file: 2025-08-02/UsageMetrics_ListByWorkspace_MaximumSet_Gen.json
+ * x-ms-original-file: 2026-06-01-preview/UsageMetrics_ListByWorkspace_MaximumSet_Gen.json
*/
/**
* Sample code: UsageMetrics_ListByWorkspace - generated by [MaximumSet] rule.
diff --git a/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/samples/java/com/azure/resourcemanager/iotfirmwaredefense/generated/WorkspacesCreateSamples.java b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/samples/java/com/azure/resourcemanager/iotfirmwaredefense/generated/WorkspacesCreateSamples.java
index 6fd7c11e16c0..ed65d3ce7940 100644
--- a/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/samples/java/com/azure/resourcemanager/iotfirmwaredefense/generated/WorkspacesCreateSamples.java
+++ b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/samples/java/com/azure/resourcemanager/iotfirmwaredefense/generated/WorkspacesCreateSamples.java
@@ -14,7 +14,7 @@
*/
public final class WorkspacesCreateSamples {
/*
- * x-ms-original-file: 2025-08-02/Workspaces_Create_MinimumSet_Gen.json
+ * x-ms-original-file: 2026-06-01-preview/Workspaces_Create_MinimumSet_Gen.json
*/
/**
* Sample code: Workspaces_Create_MinimumSet_Gen.
@@ -31,7 +31,7 @@ public final class WorkspacesCreateSamples {
}
/*
- * x-ms-original-file: 2025-08-02/Workspaces_Create_MaximumSet_Gen.json
+ * x-ms-original-file: 2026-06-01-preview/Workspaces_Create_MaximumSet_Gen.json
*/
/**
* Sample code: Workspaces_Create_MaximumSet_Gen - generated by [MaximumSet] rule.
diff --git a/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/samples/java/com/azure/resourcemanager/iotfirmwaredefense/generated/WorkspacesDeleteSamples.java b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/samples/java/com/azure/resourcemanager/iotfirmwaredefense/generated/WorkspacesDeleteSamples.java
index 7e2620d26397..c753243be876 100644
--- a/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/samples/java/com/azure/resourcemanager/iotfirmwaredefense/generated/WorkspacesDeleteSamples.java
+++ b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/samples/java/com/azure/resourcemanager/iotfirmwaredefense/generated/WorkspacesDeleteSamples.java
@@ -9,7 +9,7 @@
*/
public final class WorkspacesDeleteSamples {
/*
- * x-ms-original-file: 2025-08-02/Workspaces_Delete_MaximumSet_Gen.json
+ * x-ms-original-file: 2026-06-01-preview/Workspaces_Delete_MaximumSet_Gen.json
*/
/**
* Sample code: Workspaces_Delete_MaximumSet_Gen - generated by [MaximumSet] rule.
@@ -22,7 +22,7 @@ public static void workspacesDeleteMaximumSetGenGeneratedByMaximumSetRule(
}
/*
- * x-ms-original-file: 2025-08-02/Workspaces_Delete_MinimumSet_Gen.json
+ * x-ms-original-file: 2026-06-01-preview/Workspaces_Delete_MinimumSet_Gen.json
*/
/**
* Sample code: Workspaces_Delete_MinimumSet_Gen.
diff --git a/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/samples/java/com/azure/resourcemanager/iotfirmwaredefense/generated/WorkspacesGenerateUploadUrlSamples.java b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/samples/java/com/azure/resourcemanager/iotfirmwaredefense/generated/WorkspacesGenerateUploadUrlSamples.java
index 70a4bddbd4b7..620779f7af39 100644
--- a/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/samples/java/com/azure/resourcemanager/iotfirmwaredefense/generated/WorkspacesGenerateUploadUrlSamples.java
+++ b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/samples/java/com/azure/resourcemanager/iotfirmwaredefense/generated/WorkspacesGenerateUploadUrlSamples.java
@@ -11,7 +11,7 @@
*/
public final class WorkspacesGenerateUploadUrlSamples {
/*
- * x-ms-original-file: 2025-08-02/Workspaces_GenerateUploadUrl_MinimumSet_Gen.json
+ * x-ms-original-file: 2026-06-01-preview/Workspaces_GenerateUploadUrl_MinimumSet_Gen.json
*/
/**
* Sample code: Workspaces_GenerateUploadUrl_MinimumSet_Gen.
@@ -27,7 +27,7 @@ public static void workspacesGenerateUploadUrlMinimumSetGen(
}
/*
- * x-ms-original-file: 2025-08-02/Workspaces_GenerateUploadUrl_MaximumSet_Gen.json
+ * x-ms-original-file: 2026-06-01-preview/Workspaces_GenerateUploadUrl_MaximumSet_Gen.json
*/
/**
* Sample code: Workspaces_GenerateUploadUrl_MaximumSet_Gen - generated by [MaximumSet] rule.
diff --git a/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/samples/java/com/azure/resourcemanager/iotfirmwaredefense/generated/WorkspacesGetByResourceGroupSamples.java b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/samples/java/com/azure/resourcemanager/iotfirmwaredefense/generated/WorkspacesGetByResourceGroupSamples.java
index 82152fd3a7f6..4fbf8ebbcf34 100644
--- a/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/samples/java/com/azure/resourcemanager/iotfirmwaredefense/generated/WorkspacesGetByResourceGroupSamples.java
+++ b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/samples/java/com/azure/resourcemanager/iotfirmwaredefense/generated/WorkspacesGetByResourceGroupSamples.java
@@ -9,7 +9,7 @@
*/
public final class WorkspacesGetByResourceGroupSamples {
/*
- * x-ms-original-file: 2025-08-02/Workspaces_Get_MaximumSet_Gen.json
+ * x-ms-original-file: 2026-06-01-preview/Workspaces_Get_MaximumSet_Gen.json
*/
/**
* Sample code: Workspaces_Get_MaximumSet_Gen - generated by [MaximumSet] rule.
@@ -24,7 +24,7 @@ public static void workspacesGetMaximumSetGenGeneratedByMaximumSetRule(
}
/*
- * x-ms-original-file: 2025-08-02/Workspaces_Get_MinimumSet_Gen.json
+ * x-ms-original-file: 2026-06-01-preview/Workspaces_Get_MinimumSet_Gen.json
*/
/**
* Sample code: Workspaces_Get_MinimumSet_Gen.
diff --git a/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/samples/java/com/azure/resourcemanager/iotfirmwaredefense/generated/WorkspacesListByResourceGroupSamples.java b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/samples/java/com/azure/resourcemanager/iotfirmwaredefense/generated/WorkspacesListByResourceGroupSamples.java
index 40a27991f9f3..7f24f948ccb1 100644
--- a/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/samples/java/com/azure/resourcemanager/iotfirmwaredefense/generated/WorkspacesListByResourceGroupSamples.java
+++ b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/samples/java/com/azure/resourcemanager/iotfirmwaredefense/generated/WorkspacesListByResourceGroupSamples.java
@@ -9,7 +9,7 @@
*/
public final class WorkspacesListByResourceGroupSamples {
/*
- * x-ms-original-file: 2025-08-02/Workspaces_ListByResourceGroup_MinimumSet_Gen.json
+ * x-ms-original-file: 2026-06-01-preview/Workspaces_ListByResourceGroup_MinimumSet_Gen.json
*/
/**
* Sample code: Workspaces_ListByResourceGroup_MinimumSet.
@@ -22,7 +22,7 @@ public static void workspacesListByResourceGroupMinimumSet(
}
/*
- * x-ms-original-file: 2025-08-02/Workspaces_ListByResourceGroup_MaximumSet_Gen.json
+ * x-ms-original-file: 2026-06-01-preview/Workspaces_ListByResourceGroup_MaximumSet_Gen.json
*/
/**
* Sample code: Workspaces_ListByResourceGroup_MaximumSet_Gen - generated by [MaximumSet] rule.
diff --git a/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/samples/java/com/azure/resourcemanager/iotfirmwaredefense/generated/WorkspacesListSamples.java b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/samples/java/com/azure/resourcemanager/iotfirmwaredefense/generated/WorkspacesListSamples.java
index c4cac1045f4f..6822742cc4af 100644
--- a/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/samples/java/com/azure/resourcemanager/iotfirmwaredefense/generated/WorkspacesListSamples.java
+++ b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/samples/java/com/azure/resourcemanager/iotfirmwaredefense/generated/WorkspacesListSamples.java
@@ -9,7 +9,7 @@
*/
public final class WorkspacesListSamples {
/*
- * x-ms-original-file: 2025-08-02/Workspaces_ListBySubscription_MaximumSet_Gen.json
+ * x-ms-original-file: 2026-06-01-preview/Workspaces_ListBySubscription_MaximumSet_Gen.json
*/
/**
* Sample code: Workspaces_ListBySubscription_MaximumSet_Gen - generated by [MaximumSet] rule.
@@ -22,7 +22,7 @@ public static void workspacesListBySubscriptionMaximumSetGenGeneratedByMaximumSe
}
/*
- * x-ms-original-file: 2025-08-02/Workspaces_ListBySubscription_MinimumSet_Gen.json
+ * x-ms-original-file: 2026-06-01-preview/Workspaces_ListBySubscription_MinimumSet_Gen.json
*/
/**
* Sample code: Workspaces_ListBySubscription_MaximumSet_Gen - generated by [MinimumSet] rule.
diff --git a/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/samples/java/com/azure/resourcemanager/iotfirmwaredefense/generated/WorkspacesUpdateSamples.java b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/samples/java/com/azure/resourcemanager/iotfirmwaredefense/generated/WorkspacesUpdateSamples.java
index 24407760f80b..2d507bc4c348 100644
--- a/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/samples/java/com/azure/resourcemanager/iotfirmwaredefense/generated/WorkspacesUpdateSamples.java
+++ b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/samples/java/com/azure/resourcemanager/iotfirmwaredefense/generated/WorkspacesUpdateSamples.java
@@ -15,7 +15,7 @@
*/
public final class WorkspacesUpdateSamples {
/*
- * x-ms-original-file: 2025-08-02/Workspaces_Update_MaximumSet_Gen.json
+ * x-ms-original-file: 2026-06-01-preview/Workspaces_Update_MaximumSet_Gen.json
*/
/**
* Sample code: Workspaces_Update_MaximumSet_Gen - generated by [MaximumSet] rule.
@@ -36,7 +36,7 @@ public static void workspacesUpdateMaximumSetGenGeneratedByMaximumSetRule(
}
/*
- * x-ms-original-file: 2025-08-02/Workspaces_Update_MinimumSet_Gen.json
+ * x-ms-original-file: 2026-06-01-preview/Workspaces_Update_MinimumSet_Gen.json
*/
/**
* Sample code: Workspaces_Update_MinimumSet_Gen.
diff --git a/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/test/java/com/azure/resourcemanager/iotfirmwaredefense/generated/BinaryHardeningSummaryResourceTests.java b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/test/java/com/azure/resourcemanager/iotfirmwaredefense/generated/BinaryHardeningSummaryResourceTests.java
index 0fba1511cb75..05c1be4e5a20 100644
--- a/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/test/java/com/azure/resourcemanager/iotfirmwaredefense/generated/BinaryHardeningSummaryResourceTests.java
+++ b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/test/java/com/azure/resourcemanager/iotfirmwaredefense/generated/BinaryHardeningSummaryResourceTests.java
@@ -12,13 +12,13 @@ public final class BinaryHardeningSummaryResourceTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
BinaryHardeningSummaryResource model = BinaryData.fromString(
- "{\"summaryType\":\"BinaryHardening\",\"totalFiles\":1248291372184779781,\"notExecutableStackCount\":5418002986537845043,\"positionIndependentExecutableCount\":692631569824073211,\"relocationReadOnlyCount\":9032907208555956547,\"stackCanaryCount\":4855611501955594368,\"strippedBinaryCount\":3414804703443363087,\"provisioningState\":\"Failed\"}")
+ "{\"summaryType\":\"BinaryHardening\",\"totalFiles\":7606552657334268394,\"notExecutableStackCount\":1971349718738257268,\"positionIndependentExecutableCount\":8489866471664933355,\"relocationReadOnlyCount\":8674928390516574118,\"stackCanaryCount\":250164414285445387,\"strippedBinaryCount\":960595332999400866,\"provisioningState\":\"Extracting\"}")
.toObject(BinaryHardeningSummaryResource.class);
- Assertions.assertEquals(1248291372184779781L, model.totalFiles());
- Assertions.assertEquals(5418002986537845043L, model.notExecutableStackCount());
- Assertions.assertEquals(692631569824073211L, model.positionIndependentExecutableCount());
- Assertions.assertEquals(9032907208555956547L, model.relocationReadOnlyCount());
- Assertions.assertEquals(4855611501955594368L, model.stackCanaryCount());
- Assertions.assertEquals(3414804703443363087L, model.strippedBinaryCount());
+ Assertions.assertEquals(7606552657334268394L, model.totalFiles());
+ Assertions.assertEquals(1971349718738257268L, model.notExecutableStackCount());
+ Assertions.assertEquals(8489866471664933355L, model.positionIndependentExecutableCount());
+ Assertions.assertEquals(8674928390516574118L, model.relocationReadOnlyCount());
+ Assertions.assertEquals(250164414285445387L, model.stackCanaryCount());
+ Assertions.assertEquals(960595332999400866L, model.strippedBinaryCount());
}
}
diff --git a/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/test/java/com/azure/resourcemanager/iotfirmwaredefense/generated/BinaryHardeningsListByFirmwareMockTests.java b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/test/java/com/azure/resourcemanager/iotfirmwaredefense/generated/BinaryHardeningsListByFirmwareMockTests.java
index e12a2242991c..fe97b13d5ce9 100644
--- a/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/test/java/com/azure/resourcemanager/iotfirmwaredefense/generated/BinaryHardeningsListByFirmwareMockTests.java
+++ b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/test/java/com/azure/resourcemanager/iotfirmwaredefense/generated/BinaryHardeningsListByFirmwareMockTests.java
@@ -23,7 +23,7 @@ public final class BinaryHardeningsListByFirmwareMockTests {
@Test
public void testListByFirmware() throws Exception {
String responseStr
- = "{\"value\":[{\"properties\":{\"binaryHardeningId\":\"smond\",\"securityHardeningFeatures\":{\"noExecute\":true,\"positionIndependentExecutable\":true,\"relocationReadOnly\":true,\"canary\":false,\"stripped\":true},\"executableArchitecture\":\"pkwhojvpa\",\"filePath\":\"gxysmocmbqfqvm\",\"executableClass\":\"x86\",\"runpath\":\"zapvhelx\",\"rpath\":\"glyatddckcbcuej\",\"provisioningState\":\"Analyzing\"},\"id\":\"ciqibrhosx\",\"name\":\"dqrhzoymib\",\"type\":\"rq\"}]}";
+ = "{\"value\":[{\"properties\":{\"binaryHardeningId\":\"ae\",\"securityHardeningFeatures\":{\"noExecute\":false,\"positionIndependentExecutable\":false,\"relocationReadOnly\":true,\"canary\":true,\"stripped\":true},\"executableArchitecture\":\"qzpiyyl\",\"filePath\":\"lnswhcc\",\"executableClass\":\"x86\",\"runpath\":\"aivwitqscywu\",\"rpath\":\"woluhczbwemhair\",\"provisioningState\":\"Pending\"},\"id\":\"z\",\"name\":\"wmsweypqwd\",\"type\":\"ggicccnxqhue\"}]}";
HttpClient httpClient
= response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
@@ -33,18 +33,18 @@ public void testListByFirmware() throws Exception {
new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD));
PagedIterable response = manager.binaryHardenings()
- .listByFirmware("yhrfouyftaakcpw", "yzvqt", "nubexk", com.azure.core.util.Context.NONE);
+ .listByFirmware("bminrfdwoyuhhzi", "iefozbhdmsml", "zqhof", com.azure.core.util.Context.NONE);
- Assertions.assertEquals("smond", response.iterator().next().binaryHardeningId());
- Assertions.assertTrue(response.iterator().next().securityHardeningFeatures().noExecute());
- Assertions.assertTrue(response.iterator().next().securityHardeningFeatures().positionIndependentExecutable());
+ Assertions.assertEquals("ae", response.iterator().next().binaryHardeningId());
+ Assertions.assertFalse(response.iterator().next().securityHardeningFeatures().noExecute());
+ Assertions.assertFalse(response.iterator().next().securityHardeningFeatures().positionIndependentExecutable());
Assertions.assertTrue(response.iterator().next().securityHardeningFeatures().relocationReadOnly());
- Assertions.assertFalse(response.iterator().next().securityHardeningFeatures().canary());
+ Assertions.assertTrue(response.iterator().next().securityHardeningFeatures().canary());
Assertions.assertTrue(response.iterator().next().securityHardeningFeatures().stripped());
- Assertions.assertEquals("pkwhojvpa", response.iterator().next().executableArchitecture());
- Assertions.assertEquals("gxysmocmbqfqvm", response.iterator().next().filePath());
+ Assertions.assertEquals("qzpiyyl", response.iterator().next().executableArchitecture());
+ Assertions.assertEquals("lnswhcc", response.iterator().next().filePath());
Assertions.assertEquals(ExecutableClass.X86, response.iterator().next().executableClass());
- Assertions.assertEquals("zapvhelx", response.iterator().next().runpath());
- Assertions.assertEquals("glyatddckcbcuej", response.iterator().next().rpath());
+ Assertions.assertEquals("aivwitqscywu", response.iterator().next().runpath());
+ Assertions.assertEquals("woluhczbwemhair", response.iterator().next().rpath());
}
}
diff --git a/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/test/java/com/azure/resourcemanager/iotfirmwaredefense/generated/CveComponentTests.java b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/test/java/com/azure/resourcemanager/iotfirmwaredefense/generated/CveComponentTests.java
index 175f65b3dcd2..4b5a7d856ef8 100644
--- a/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/test/java/com/azure/resourcemanager/iotfirmwaredefense/generated/CveComponentTests.java
+++ b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/test/java/com/azure/resourcemanager/iotfirmwaredefense/generated/CveComponentTests.java
@@ -11,11 +11,11 @@
public final class CveComponentTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
- CveComponent model
- = BinaryData.fromString("{\"componentId\":\"tyq\",\"name\":\"lbbovplw\",\"version\":\"hvgyuguosvmk\"}")
- .toObject(CveComponent.class);
- Assertions.assertEquals("tyq", model.componentId());
- Assertions.assertEquals("lbbovplw", model.name());
- Assertions.assertEquals("hvgyuguosvmk", model.version());
+ CveComponent model = BinaryData
+ .fromString("{\"componentId\":\"vkr\",\"name\":\"wbxqzvszjfau\",\"version\":\"fdxxivetvtcqaqtd\"}")
+ .toObject(CveComponent.class);
+ Assertions.assertEquals("vkr", model.componentId());
+ Assertions.assertEquals("wbxqzvszjfau", model.name());
+ Assertions.assertEquals("fdxxivetvtcqaqtd", model.version());
}
}
diff --git a/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/test/java/com/azure/resourcemanager/iotfirmwaredefense/generated/CveLinkTests.java b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/test/java/com/azure/resourcemanager/iotfirmwaredefense/generated/CveLinkTests.java
index f3c911105915..c8b1e6ee76c3 100644
--- a/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/test/java/com/azure/resourcemanager/iotfirmwaredefense/generated/CveLinkTests.java
+++ b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/test/java/com/azure/resourcemanager/iotfirmwaredefense/generated/CveLinkTests.java
@@ -11,9 +11,8 @@
public final class CveLinkTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
- CveLink model
- = BinaryData.fromString("{\"href\":\"kkfpl\",\"label\":\"gsxnkjzkdeslpv\"}").toObject(CveLink.class);
- Assertions.assertEquals("kkfpl", model.href());
- Assertions.assertEquals("gsxnkjzkdeslpv", model.label());
+ CveLink model = BinaryData.fromString("{\"href\":\"tkblmpewww\",\"label\":\"krvrns\"}").toObject(CveLink.class);
+ Assertions.assertEquals("tkblmpewww", model.href());
+ Assertions.assertEquals("krvrns", model.label());
}
}
diff --git a/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/test/java/com/azure/resourcemanager/iotfirmwaredefense/generated/CveResourceInnerTests.java b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/test/java/com/azure/resourcemanager/iotfirmwaredefense/generated/CveResourceInnerTests.java
index 51a1ba3eb5de..5781d2c9951a 100644
--- a/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/test/java/com/azure/resourcemanager/iotfirmwaredefense/generated/CveResourceInnerTests.java
+++ b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/test/java/com/azure/resourcemanager/iotfirmwaredefense/generated/CveResourceInnerTests.java
@@ -6,31 +6,48 @@
import com.azure.core.util.BinaryData;
import com.azure.resourcemanager.iotfirmwaredefense.fluent.models.CveResourceInner;
+import com.azure.resourcemanager.iotfirmwaredefense.models.ExploitMaturityLevel;
+import com.azure.resourcemanager.iotfirmwaredefense.models.RansomwareCampaignUse;
+import java.time.OffsetDateTime;
import org.junit.jupiter.api.Assertions;
public final class CveResourceInnerTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
CveResourceInner model = BinaryData.fromString(
- "{\"properties\":{\"cveId\":\"eun\",\"componentId\":\"qhgyxzkonocukok\",\"componentName\":\"axuconuq\",\"componentVersion\":\"fkbey\",\"severity\":\"wrmjmwvvjektc\",\"cveName\":\"enhwlrs\",\"component\":{\"componentId\":\"zpwv\",\"name\":\"dqgbiqylihkaetc\",\"version\":\"vfcivfsnkymuc\"},\"cvssScore\":\"hjfbebrjcxe\",\"cvssV2Score\":\"uwutttxfvjrbi\",\"cvssV3Score\":\"hxepcyvahfnlj\",\"cvssVersion\":\"qxj\",\"effectiveCvssScore\":45.9964588316922,\"effectiveCvssVersion\":1970519416,\"cvssScores\":[{\"version\":528662531,\"score\":60.2726973374229},{\"version\":792619615,\"score\":75.79938532718504}],\"links\":[{\"href\":\"cltbgsncghkjesz\",\"label\":\"bijhtxfvgxbf\"}],\"description\":\"xnehmpvec\",\"provisioningState\":\"Canceled\"},\"id\":\"ebfqkkrbm\",\"name\":\"ukgri\",\"type\":\"flz\"}")
+ "{\"properties\":{\"cveId\":\"zhlrqjb\",\"componentId\":\"kfrlhrxsbky\",\"componentName\":\"ycanuzbpzkafku\",\"componentVersion\":\"crnwbmeh\",\"severity\":\"eyvjusrtslhspkde\",\"cveName\":\"aofmxagkvtme\",\"component\":{\"componentId\":\"krh\",\"name\":\"vljua\",\"version\":\"quhcdhmduala\"},\"cvssScore\":\"qpv\",\"cvssV2Score\":\"dmwsrcrgvxpvgomz\",\"cvssV3Score\":\"misgwbnb\",\"cvssVersion\":\"ldawkzbaliourqha\",\"effectiveCvssScore\":50.710878881745415,\"effectiveCvssVersion\":1375924345,\"effectiveVectorString\":\"sfwxosowzxc\",\"effectiveExploitMaturity\":\"NOT_DEFINED\",\"cvssScores\":[{\"version\":559757947,\"score\":19.32626693592068,\"vectorString\":\"ebwpucwwfvo\",\"exploitMaturity\":\"ATTACKED\"},{\"version\":812601807,\"score\":46.67335949895842,\"vectorString\":\"ivyhzceuojgjrwju\",\"exploitMaturity\":\"ATTACKED\"},{\"version\":798957461,\"score\":86.80580319212577,\"vectorString\":\"ytdxwit\",\"exploitMaturity\":\"NOT_DEFINED\"}],\"links\":[{\"href\":\"gqwgxhniskxfbkp\",\"label\":\"gklwn\"},{\"href\":\"hjdauwhvylwz\",\"label\":\"dhxujznbmpo\"},{\"href\":\"wpr\",\"label\":\"lve\"}],\"description\":\"lupj\",\"epss\":{\"score\":51.07742785273444,\"percentile\":67.89578859974978},\"cwes\":[{\"cweId\":\"s\",\"cweName\":\"jriplrbpbewtghf\",\"description\":\"lcgwxzvlvqh\"}],\"kev\":{\"knownRansomwareCampaignUse\":\"Unknown\",\"dateAdded\":\"2021-11-14T02:33:08Z\",\"remediationDueDate\":\"2021-03-26T15:32:51Z\",\"requiredAction\":\"xiebwwaloayqcg\"},\"fixedInVersions\":[\"zjuzgwyz\",\"htxongmtsavjc\",\"pwxqp\",\"rknftguvriuhprwm\"],\"provisioningState\":\"Succeeded\"},\"id\":\"qtayri\",\"name\":\"wroyqbexrmcq\",\"type\":\"bycnojvkn\"}")
.toObject(CveResourceInner.class);
- Assertions.assertEquals("eun", model.cveId());
- Assertions.assertEquals("qhgyxzkonocukok", model.componentId());
- Assertions.assertEquals("axuconuq", model.componentName());
- Assertions.assertEquals("fkbey", model.componentVersion());
- Assertions.assertEquals("wrmjmwvvjektc", model.severity());
- Assertions.assertEquals("enhwlrs", model.cveName());
- Assertions.assertEquals("zpwv", model.component().componentId());
- Assertions.assertEquals("dqgbiqylihkaetc", model.component().name());
- Assertions.assertEquals("vfcivfsnkymuc", model.component().version());
- Assertions.assertEquals("hjfbebrjcxe", model.cvssScore());
- Assertions.assertEquals("uwutttxfvjrbi", model.cvssV2Score());
- Assertions.assertEquals("hxepcyvahfnlj", model.cvssV3Score());
- Assertions.assertEquals("qxj", model.cvssVersion());
- Assertions.assertEquals(45.9964588316922D, model.effectiveCvssScore());
- Assertions.assertEquals(1970519416, model.effectiveCvssVersion());
- Assertions.assertEquals(528662531, model.cvssScores().get(0).version());
- Assertions.assertEquals(60.2726973374229D, model.cvssScores().get(0).score());
- Assertions.assertEquals("xnehmpvec", model.description());
+ Assertions.assertEquals("zhlrqjb", model.cveId());
+ Assertions.assertEquals("kfrlhrxsbky", model.componentId());
+ Assertions.assertEquals("ycanuzbpzkafku", model.componentName());
+ Assertions.assertEquals("crnwbmeh", model.componentVersion());
+ Assertions.assertEquals("eyvjusrtslhspkde", model.severity());
+ Assertions.assertEquals("aofmxagkvtme", model.cveName());
+ Assertions.assertEquals("krh", model.component().componentId());
+ Assertions.assertEquals("vljua", model.component().name());
+ Assertions.assertEquals("quhcdhmduala", model.component().version());
+ Assertions.assertEquals("qpv", model.cvssScore());
+ Assertions.assertEquals("dmwsrcrgvxpvgomz", model.cvssV2Score());
+ Assertions.assertEquals("misgwbnb", model.cvssV3Score());
+ Assertions.assertEquals("ldawkzbaliourqha", model.cvssVersion());
+ Assertions.assertEquals(50.710878881745415D, model.effectiveCvssScore());
+ Assertions.assertEquals(1375924345, model.effectiveCvssVersion());
+ Assertions.assertEquals("sfwxosowzxc", model.effectiveVectorString());
+ Assertions.assertEquals(ExploitMaturityLevel.NOT_DEFINED, model.effectiveExploitMaturity());
+ Assertions.assertEquals(559757947, model.cvssScores().get(0).version());
+ Assertions.assertEquals(19.32626693592068D, model.cvssScores().get(0).score());
+ Assertions.assertEquals("ebwpucwwfvo", model.cvssScores().get(0).vectorString());
+ Assertions.assertEquals(ExploitMaturityLevel.ATTACKED, model.cvssScores().get(0).exploitMaturity());
+ Assertions.assertEquals("lupj", model.description());
+ Assertions.assertEquals(51.07742785273444D, model.epss().score());
+ Assertions.assertEquals(67.89578859974978D, model.epss().percentile());
+ Assertions.assertEquals("s", model.cwes().get(0).cweId());
+ Assertions.assertEquals("jriplrbpbewtghf", model.cwes().get(0).cweName());
+ Assertions.assertEquals("lcgwxzvlvqh", model.cwes().get(0).description());
+ Assertions.assertEquals(RansomwareCampaignUse.UNKNOWN, model.kev().knownRansomwareCampaignUse());
+ Assertions.assertEquals(OffsetDateTime.parse("2021-11-14T02:33:08Z"), model.kev().dateAdded());
+ Assertions.assertEquals(OffsetDateTime.parse("2021-03-26T15:32:51Z"), model.kev().remediationDueDate());
+ Assertions.assertEquals("xiebwwaloayqcg", model.kev().requiredAction());
+ Assertions.assertEquals("zjuzgwyz", model.fixedInVersions().get(0));
}
}
diff --git a/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/test/java/com/azure/resourcemanager/iotfirmwaredefense/generated/CveResourceListResultTests.java b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/test/java/com/azure/resourcemanager/iotfirmwaredefense/generated/CveResourceListResultTests.java
index b680e8311511..690ec2f4b512 100644
--- a/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/test/java/com/azure/resourcemanager/iotfirmwaredefense/generated/CveResourceListResultTests.java
+++ b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/test/java/com/azure/resourcemanager/iotfirmwaredefense/generated/CveResourceListResultTests.java
@@ -6,13 +6,16 @@
import com.azure.core.util.BinaryData;
import com.azure.resourcemanager.iotfirmwaredefense.implementation.models.CveResourceListResult;
+import com.azure.resourcemanager.iotfirmwaredefense.models.ExploitMaturityLevel;
+import com.azure.resourcemanager.iotfirmwaredefense.models.RansomwareCampaignUse;
+import java.time.OffsetDateTime;
import org.junit.jupiter.api.Assertions;
public final class CveResourceListResultTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
CveResourceListResult model = BinaryData.fromString(
- "{\"value\":[{\"properties\":{\"cveId\":\"wnfnbacf\",\"componentId\":\"nlebxetqgtzxd\",\"componentName\":\"qbqqwxr\",\"componentVersion\":\"eallnwsubisnj\",\"severity\":\"pmng\",\"cveName\":\"scxaq\",\"component\":{\"componentId\":\"chcbonqvpkvlrxnj\",\"name\":\"seiphe\",\"version\":\"lokeyy\"},\"cvssScore\":\"nj\",\"cvssV2Score\":\"lwtgrhpdj\",\"cvssV3Score\":\"umasxazjpq\",\"cvssVersion\":\"gual\",\"effectiveCvssScore\":62.19358841158077,\"effectiveCvssVersion\":15253955,\"cvssScores\":[{\"version\":497531730,\"score\":1.3349752178198782},{\"version\":514021855,\"score\":63.32915383545625}],\"links\":[{\"href\":\"fhotw\",\"label\":\"ynpwlbj\"},{\"href\":\"gacftadeh\",\"label\":\"ltyfsop\"}],\"description\":\"suesnzw\",\"provisioningState\":\"Canceled\"},\"id\":\"avo\",\"name\":\"xzdmohctb\",\"type\":\"vudwx\"},{\"properties\":{\"cveId\":\"nvowgujju\",\"componentId\":\"dkcglhsl\",\"componentName\":\"jdyggdtji\",\"componentVersion\":\"b\",\"severity\":\"ofqweykhmenevfye\",\"cveName\":\"whybcib\",\"component\":{\"componentId\":\"dcsi\",\"name\":\"nnaamdectehfiqsc\",\"version\":\"ypvhezrkg\"},\"cvssScore\":\"c\",\"cvssV2Score\":\"efovgmk\",\"cvssV3Score\":\"leyyvx\",\"cvssVersion\":\"jpkcattpng\",\"effectiveCvssScore\":74.10779336324474,\"effectiveCvssVersion\":1512877841,\"cvssScores\":[{\"version\":822789925,\"score\":83.81705679723066},{\"version\":1112494803,\"score\":67.39580270198024}],\"links\":[{\"href\":\"sounqecanoaeu\",\"label\":\"hy\"},{\"href\":\"trpmo\",\"label\":\"mcmatuokthfuiu\"}],\"description\":\"dsfcpkvxodpuoz\",\"provisioningState\":\"Extracting\"},\"id\":\"dagfuaxbezyiuok\",\"name\":\"twhrdxwzywqsm\",\"type\":\"surex\"},{\"properties\":{\"cveId\":\"ryocfsfksymdd\",\"componentId\":\"tki\",\"componentName\":\"xhqyudxorrqnb\",\"componentVersion\":\"czvyifq\",\"severity\":\"kdvjsll\",\"cveName\":\"vvdfwatkpnpul\",\"component\":{\"componentId\":\"bczw\",\"name\":\"uwiqzb\",\"version\":\"vsovmyokac\"},\"cvssScore\":\"kwlhzdo\",\"cvssV2Score\":\"xjmflbvv\",\"cvssV3Score\":\"hrk\",\"cvssVersion\":\"iwwzjuqk\",\"effectiveCvssScore\":7.702550911852724,\"effectiveCvssVersion\":2114864042,\"cvssScores\":[{\"version\":481973669,\"score\":77.08143476611616}],\"links\":[{\"href\":\"hsauuimjmvxied\",\"label\":\"gidyjrrf\"}],\"description\":\"aos\",\"provisioningState\":\"Succeeded\"},\"id\":\"sonpclhocohs\",\"name\":\"kevle\",\"type\":\"gz\"},{\"properties\":{\"cveId\":\"hfmvfaxkffe\",\"componentId\":\"th\",\"componentName\":\"m\",\"componentVersion\":\"yvshxmz\",\"severity\":\"bzoggigrx\",\"cveName\":\"ur\",\"component\":{\"componentId\":\"xjnspy\",\"name\":\"tko\",\"version\":\"kouknvudwtiu\"},\"cvssScore\":\"ldngkpoci\",\"cvssV2Score\":\"z\",\"cvssV3Score\":\"o\",\"cvssVersion\":\"ukgjnpiucgygevq\",\"effectiveCvssScore\":96.58484617586141,\"effectiveCvssVersion\":599264802,\"cvssScores\":[{\"version\":51531430,\"score\":97.34558320100591},{\"version\":2078386445,\"score\":87.63677628699703},{\"version\":1971484471,\"score\":14.028674072023083},{\"version\":2075884745,\"score\":31.257858580401965}],\"links\":[{\"href\":\"eoejzic\",\"label\":\"fsj\"},{\"href\":\"gzfbishcbk\",\"label\":\"jdeyeamdpha\"},{\"href\":\"lpbuxwgipwhonowk\",\"label\":\"hwankixzbinjepu\"}],\"description\":\"mryw\",\"provisioningState\":\"Extracting\"},\"id\":\"qftiy\",\"name\":\"zrnkcqvyxlwh\",\"type\":\"lsicohoqqnwv\"}],\"nextLink\":\"yav\"}")
+ "{\"value\":[{\"properties\":{\"cveId\":\"wnfnbacf\",\"componentId\":\"nlebxetqgtzxd\",\"componentName\":\"qbqqwxr\",\"componentVersion\":\"eallnwsubisnj\",\"severity\":\"pmng\",\"cveName\":\"scxaq\",\"component\":{\"componentId\":\"chcbonqvpkvlrxnj\",\"name\":\"seiphe\",\"version\":\"lokeyy\"},\"cvssScore\":\"nj\",\"cvssV2Score\":\"lwtgrhpdj\",\"cvssV3Score\":\"umasxazjpq\",\"cvssVersion\":\"gual\",\"effectiveCvssScore\":62.19358841158077,\"effectiveCvssVersion\":15253955,\"effectiveVectorString\":\"jzzvdud\",\"effectiveExploitMaturity\":\"PROOF_OF_CONCEPT\",\"cvssScores\":[{\"version\":1125077483,\"score\":40.559712891579714,\"vectorString\":\"mcy\",\"exploitMaturity\":\"UNREPORTED\"}],\"links\":[{\"href\":\"npgacftade\",\"label\":\"nltyfsoppusuesnz\"},{\"href\":\"ej\",\"label\":\"vorxzdmohct\"}],\"description\":\"vudwx\",\"epss\":{\"score\":55.669054520456484,\"percentile\":4.719201911762438},\"cwes\":[{\"cweId\":\"ugw\",\"cweName\":\"cglhslazjdyggdt\",\"description\":\"xhbkuofq\"},{\"cweId\":\"yk\",\"cweName\":\"enevfyexfwhybci\",\"description\":\"yvdcsitynnaa\"},{\"cweId\":\"ectehf\",\"cweName\":\"scjeypv\",\"description\":\"zrkgqhcjrefovg\"},{\"cweId\":\"qsl\",\"cweName\":\"yvxyqjp\",\"description\":\"attpngjcrcczsq\"}],\"kev\":{\"knownRansomwareCampaignUse\":\"Unknown\",\"dateAdded\":\"2021-11-23T05:20:04Z\",\"remediationDueDate\":\"2021-03-30T22:07:42Z\",\"requiredAction\":\"nysounqe\"},\"fixedInVersions\":[\"oaeupfhyhltrpmo\"],\"provisioningState\":\"Pending\"},\"id\":\"matuok\",\"name\":\"hfuiuaodsfc\",\"type\":\"kvxod\"},{\"properties\":{\"cveId\":\"zmyzydagf\",\"componentId\":\"xbezyiuokktwh\",\"componentName\":\"xw\",\"componentVersion\":\"wqsmbsur\",\"severity\":\"imoryocfsfksym\",\"cveName\":\"ys\",\"component\":{\"componentId\":\"iuxhqyudxorr\",\"name\":\"b\",\"version\":\"czvyifq\"},\"cvssScore\":\"kdvjsll\",\"cvssV2Score\":\"vvdfwatkpnpul\",\"cvssV3Score\":\"xbczwtruwiqz\",\"cvssVersion\":\"j\",\"effectiveCvssScore\":15.571206362680334,\"effectiveCvssVersion\":79438477,\"effectiveVectorString\":\"kacspkw\",\"effectiveExploitMaturity\":\"UNREPORTED\",\"cvssScores\":[{\"version\":1687920757,\"score\":46.78969770766594,\"vectorString\":\"flbvvnchrkcciwwz\",\"exploitMaturity\":\"NOT_DEFINED\"},{\"version\":962380204,\"score\":17.090889926292764,\"vectorString\":\"jiwkuofoskghsau\",\"exploitMaturity\":\"UNREPORTED\"},{\"version\":1525008184,\"score\":72.84241434645037,\"vectorString\":\"eduugi\",\"exploitMaturity\":\"PROOF_OF_CONCEPT\"}],\"links\":[{\"href\":\"byao\",\"label\":\"e\"},{\"href\":\"sonpclhocohs\",\"label\":\"ev\"},{\"href\":\"ggzfbu\",\"label\":\"mvfaxkffeiith\"},{\"href\":\"m\",\"label\":\"yvshxmz\"}],\"description\":\"bzoggigrx\",\"epss\":{\"score\":19.78820035734389,\"percentile\":66.63632297737686},\"cwes\":[{\"cweId\":\"pydptko\",\"cweName\":\"kouknvudwtiu\",\"description\":\"ldngkpoci\"},{\"cweId\":\"z\",\"cweName\":\"o\",\"description\":\"ukgjnpiucgygevq\"},{\"cweId\":\"typmrbpizcdrqjsd\",\"cweName\":\"dnfyhxdeoejzicwi\",\"description\":\"jttgzf\"},{\"cweId\":\"shcbkhajdeyeamdp\",\"cweName\":\"g\",\"description\":\"pbuxwgipwhon\"}],\"kev\":{\"knownRansomwareCampaignUse\":\"Unknown\",\"dateAdded\":\"2021-09-21T08:55:02Z\",\"remediationDueDate\":\"2021-05-17T00:15:40Z\",\"requiredAction\":\"kix\"},\"fixedInVersions\":[\"njeputtmrywn\",\"zoqftiyqzrnkcqvy\"],\"provisioningState\":\"Analyzing\"},\"id\":\"zlsico\",\"name\":\"oqqnwvlryav\",\"type\":\"hheunmmqhgyx\"},{\"properties\":{\"cveId\":\"noc\",\"componentId\":\"oklyaxuconuq\",\"componentName\":\"fkbey\",\"componentVersion\":\"wrmjmwvvjektc\",\"severity\":\"enhwlrs\",\"cveName\":\"rzpwvlqdqgbiq\",\"component\":{\"componentId\":\"hkaetcktvfc\",\"name\":\"fsnkymuctq\",\"version\":\"fbebrjcxer\"},\"cvssScore\":\"wutttxfvjrbi\",\"cvssV2Score\":\"hxepcyvahfnlj\",\"cvssV3Score\":\"qxj\",\"cvssVersion\":\"ujqgidok\",\"effectiveCvssScore\":68.45461354011539,\"effectiveCvssVersion\":1769769453,\"effectiveVectorString\":\"gvcl\",\"effectiveExploitMaturity\":\"PROOF_OF_CONCEPT\",\"cvssScores\":[{\"version\":142984166,\"score\":56.956647834644016,\"vectorString\":\"esz\",\"exploitMaturity\":\"PROOF_OF_CONCEPT\"},{\"version\":1537141479,\"score\":96.69349841949034,\"vectorString\":\"fvgxbfsmxneh\",\"exploitMaturity\":\"UNREPORTED\"}],\"links\":[{\"href\":\"godebfqkkrbmpu\",\"label\":\"riwflzlfb\"},{\"href\":\"puz\",\"label\":\"ispnqzahmgkbrp\"}],\"description\":\"dhibnuq\",\"epss\":{\"score\":11.663722143962174,\"percentile\":52.96609609141011},\"cwes\":[{\"cweId\":\"qagnbuyn\",\"cweName\":\"jggmebfsiarbu\",\"description\":\"cvpnazzmhjrunmpx\"}],\"kev\":{\"knownRansomwareCampaignUse\":\"Known\",\"dateAdded\":\"2021-07-16T15:39:21Z\",\"remediationDueDate\":\"2021-04-21T20:03:01Z\",\"requiredAction\":\"ankxmyskpbhenb\"},\"fixedInVersions\":[\"xywnytnrsynlqidy\"],\"provisioningState\":\"Canceled\"},\"id\":\"zfcl\",\"name\":\"aaxdbabphlwrq\",\"type\":\"fkts\"},{\"properties\":{\"cveId\":\"ucoc\",\"componentId\":\"yyazttbt\",\"componentName\":\"rq\",\"componentVersion\":\"edckzywbiexzfey\",\"severity\":\"axibxujw\",\"cveName\":\"qwalmuzyoxaepd\",\"component\":{\"componentId\":\"ancuxrhd\",\"name\":\"avxbniwdjswztsdb\",\"version\":\"nxytxh\"},\"cvssScore\":\"xbzpfzab\",\"cvssV2Score\":\"cuh\",\"cvssV3Score\":\"tcty\",\"cvssVersion\":\"klbb\",\"effectiveCvssScore\":72.04720181447293,\"effectiveCvssVersion\":1043675485,\"effectiveVectorString\":\"hvgyuguosvmk\",\"effectiveExploitMaturity\":\"NOT_DEFINED\",\"cvssScores\":[{\"version\":406049393,\"score\":68.0099504189762,\"vectorString\":\"l\",\"exploitMaturity\":\"UNREPORTED\"},{\"version\":1737094412,\"score\":84.04422719105101,\"vectorString\":\"zkd\",\"exploitMaturity\":\"ATTACKED\"}],\"links\":[{\"href\":\"opwi\",\"label\":\"ghxpkdw\"},{\"href\":\"aiuebbaumnyqu\",\"label\":\"deoj\"},{\"href\":\"bckhsmtxpsi\",\"label\":\"tfhvpesapskrdqmh\"}],\"description\":\"dhtldwkyz\",\"epss\":{\"score\":39.05126018584553,\"percentile\":50.88877240463914},\"cwes\":[{\"cweId\":\"svlxotogtwrup\",\"cweName\":\"xvnmicykvceov\",\"description\":\"lo\"},{\"cweId\":\"oty\",\"cweName\":\"fcnj\",\"description\":\"cn\"},{\"cweId\":\"hbttkphyw\",\"cweName\":\"vjtoqnermclfp\",\"description\":\"hoxus\"}],\"kev\":{\"knownRansomwareCampaignUse\":\"Known\",\"dateAdded\":\"2021-07-09T19:26:39Z\",\"remediationDueDate\":\"2021-05-19T18:27:36Z\",\"requiredAction\":\"sbj\"},\"fixedInVersions\":[\"qugxywpmueefjzwf\"],\"provisioningState\":\"Extracting\"},\"id\":\"jidsuyonobglaoc\",\"name\":\"xtccmg\",\"type\":\"udxytlmoyrx\"}],\"nextLink\":\"fudwpznt\"}")
.toObject(CveResourceListResult.class);
Assertions.assertEquals("wnfnbacf", model.value().get(0).cveId());
Assertions.assertEquals("nlebxetqgtzxd", model.value().get(0).componentId());
@@ -29,9 +32,25 @@ public void testDeserialize() throws Exception {
Assertions.assertEquals("gual", model.value().get(0).cvssVersion());
Assertions.assertEquals(62.19358841158077D, model.value().get(0).effectiveCvssScore());
Assertions.assertEquals(15253955, model.value().get(0).effectiveCvssVersion());
- Assertions.assertEquals(497531730, model.value().get(0).cvssScores().get(0).version());
- Assertions.assertEquals(1.3349752178198782D, model.value().get(0).cvssScores().get(0).score());
- Assertions.assertEquals("suesnzw", model.value().get(0).description());
- Assertions.assertEquals("yav", model.nextLink());
+ Assertions.assertEquals("jzzvdud", model.value().get(0).effectiveVectorString());
+ Assertions.assertEquals(ExploitMaturityLevel.PROOF_OF_CONCEPT, model.value().get(0).effectiveExploitMaturity());
+ Assertions.assertEquals(1125077483, model.value().get(0).cvssScores().get(0).version());
+ Assertions.assertEquals(40.559712891579714D, model.value().get(0).cvssScores().get(0).score());
+ Assertions.assertEquals("mcy", model.value().get(0).cvssScores().get(0).vectorString());
+ Assertions.assertEquals(ExploitMaturityLevel.UNREPORTED,
+ model.value().get(0).cvssScores().get(0).exploitMaturity());
+ Assertions.assertEquals("vudwx", model.value().get(0).description());
+ Assertions.assertEquals(55.669054520456484D, model.value().get(0).epss().score());
+ Assertions.assertEquals(4.719201911762438D, model.value().get(0).epss().percentile());
+ Assertions.assertEquals("ugw", model.value().get(0).cwes().get(0).cweId());
+ Assertions.assertEquals("cglhslazjdyggdt", model.value().get(0).cwes().get(0).cweName());
+ Assertions.assertEquals("xhbkuofq", model.value().get(0).cwes().get(0).description());
+ Assertions.assertEquals(RansomwareCampaignUse.UNKNOWN, model.value().get(0).kev().knownRansomwareCampaignUse());
+ Assertions.assertEquals(OffsetDateTime.parse("2021-11-23T05:20:04Z"), model.value().get(0).kev().dateAdded());
+ Assertions.assertEquals(OffsetDateTime.parse("2021-03-30T22:07:42Z"),
+ model.value().get(0).kev().remediationDueDate());
+ Assertions.assertEquals("nysounqe", model.value().get(0).kev().requiredAction());
+ Assertions.assertEquals("oaeupfhyhltrpmo", model.value().get(0).fixedInVersions().get(0));
+ Assertions.assertEquals("fudwpznt", model.nextLink());
}
}
diff --git a/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/test/java/com/azure/resourcemanager/iotfirmwaredefense/generated/CveResultTests.java b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/test/java/com/azure/resourcemanager/iotfirmwaredefense/generated/CveResultTests.java
index 84fdba90bd8e..ceb09a790873 100644
--- a/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/test/java/com/azure/resourcemanager/iotfirmwaredefense/generated/CveResultTests.java
+++ b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/test/java/com/azure/resourcemanager/iotfirmwaredefense/generated/CveResultTests.java
@@ -6,31 +6,48 @@
import com.azure.core.util.BinaryData;
import com.azure.resourcemanager.iotfirmwaredefense.fluent.models.CveResult;
+import com.azure.resourcemanager.iotfirmwaredefense.models.ExploitMaturityLevel;
+import com.azure.resourcemanager.iotfirmwaredefense.models.RansomwareCampaignUse;
+import java.time.OffsetDateTime;
import org.junit.jupiter.api.Assertions;
public final class CveResultTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
CveResult model = BinaryData.fromString(
- "{\"cveId\":\"bxzpuzycisp\",\"componentId\":\"zahmgkbrpyydhibn\",\"componentName\":\"qkpikadrgvtqagnb\",\"componentVersion\":\"nhijggmebfsi\",\"severity\":\"butr\",\"cveName\":\"pnazzm\",\"component\":{\"componentId\":\"unmpxttd\",\"name\":\"rbnlankxmyskp\",\"version\":\"enbtkcxywny\"},\"cvssScore\":\"rsyn\",\"cvssV2Score\":\"idybyxczf\",\"cvssV3Score\":\"haaxdbabphl\",\"cvssVersion\":\"qlfktsths\",\"effectiveCvssScore\":97.37790907791091,\"effectiveCvssVersion\":2095135848,\"cvssScores\":[{\"version\":591118108,\"score\":0.7795706754973097},{\"version\":315012503,\"score\":21.232437081965404},{\"version\":279083940,\"score\":89.81625927320248},{\"version\":1833989004,\"score\":88.20154440709435}],\"links\":[{\"href\":\"biexzfeyu\",\"label\":\"xibxujwbhqwalm\"},{\"href\":\"yoxa\",\"label\":\"dkzjancuxrh\"},{\"href\":\"bavxbniwdjswzt\",\"label\":\"bpg\"},{\"href\":\"ytxhp\",\"label\":\"bzpfzab\"}],\"description\":\"cuh\",\"provisioningState\":\"Extracting\"}")
+ "{\"cveId\":\"fqsgzvahapjy\",\"componentId\":\"pvgqzcjrvxdjzlm\",\"componentName\":\"xkvugfhzov\",\"componentVersion\":\"jvzunluthnnp\",\"severity\":\"xipeilpjzuaejx\",\"cveName\":\"ltskzbbtd\",\"component\":{\"componentId\":\"veekgpwozuhkfp\",\"name\":\"jyofdxluusdtto\",\"version\":\"aboekqv\"},\"cvssScore\":\"lns\",\"cvssV2Score\":\"bxwyjsflhhcaa\",\"cvssV3Score\":\"jixisxyawjoyaqcs\",\"cvssVersion\":\"jpkiidzyexznelix\",\"effectiveCvssScore\":16.42737179588487,\"effectiveCvssVersion\":644635434,\"effectiveVectorString\":\"lhbnxkna\",\"effectiveExploitMaturity\":\"UNREPORTED\",\"cvssScores\":[{\"version\":23596643,\"score\":68.84973632605254,\"vectorString\":\"pnapnyiropuh\",\"exploitMaturity\":\"ATTACKED\"}],\"links\":[{\"href\":\"ylgqgitxmedjvcsl\",\"label\":\"qwwncw\"},{\"href\":\"hxg\",\"label\":\"rmgucnap\"}],\"description\":\"eoellwptfdygp\",\"epss\":{\"score\":75.47198249090982,\"percentile\":82.87767785926287},\"cwes\":[{\"cweId\":\"qrhhu\",\"cweName\":\"pppcqeqxo\",\"description\":\"dahzxctobg\"}],\"kev\":{\"knownRansomwareCampaignUse\":\"Known\",\"dateAdded\":\"2021-01-09T02:06:20Z\",\"remediationDueDate\":\"2021-12-06T20:28:15Z\",\"requiredAction\":\"stmgrcfbunrmfqjh\"},\"fixedInVersions\":[\"bpvjymjhx\",\"j\",\"n\"],\"provisioningState\":\"Succeeded\"}")
.toObject(CveResult.class);
- Assertions.assertEquals("bxzpuzycisp", model.cveId());
- Assertions.assertEquals("zahmgkbrpyydhibn", model.componentId());
- Assertions.assertEquals("qkpikadrgvtqagnb", model.componentName());
- Assertions.assertEquals("nhijggmebfsi", model.componentVersion());
- Assertions.assertEquals("butr", model.severity());
- Assertions.assertEquals("pnazzm", model.cveName());
- Assertions.assertEquals("unmpxttd", model.component().componentId());
- Assertions.assertEquals("rbnlankxmyskp", model.component().name());
- Assertions.assertEquals("enbtkcxywny", model.component().version());
- Assertions.assertEquals("rsyn", model.cvssScore());
- Assertions.assertEquals("idybyxczf", model.cvssV2Score());
- Assertions.assertEquals("haaxdbabphl", model.cvssV3Score());
- Assertions.assertEquals("qlfktsths", model.cvssVersion());
- Assertions.assertEquals(97.37790907791091D, model.effectiveCvssScore());
- Assertions.assertEquals(2095135848, model.effectiveCvssVersion());
- Assertions.assertEquals(591118108, model.cvssScores().get(0).version());
- Assertions.assertEquals(0.7795706754973097D, model.cvssScores().get(0).score());
- Assertions.assertEquals("cuh", model.description());
+ Assertions.assertEquals("fqsgzvahapjy", model.cveId());
+ Assertions.assertEquals("pvgqzcjrvxdjzlm", model.componentId());
+ Assertions.assertEquals("xkvugfhzov", model.componentName());
+ Assertions.assertEquals("jvzunluthnnp", model.componentVersion());
+ Assertions.assertEquals("xipeilpjzuaejx", model.severity());
+ Assertions.assertEquals("ltskzbbtd", model.cveName());
+ Assertions.assertEquals("veekgpwozuhkfp", model.component().componentId());
+ Assertions.assertEquals("jyofdxluusdtto", model.component().name());
+ Assertions.assertEquals("aboekqv", model.component().version());
+ Assertions.assertEquals("lns", model.cvssScore());
+ Assertions.assertEquals("bxwyjsflhhcaa", model.cvssV2Score());
+ Assertions.assertEquals("jixisxyawjoyaqcs", model.cvssV3Score());
+ Assertions.assertEquals("jpkiidzyexznelix", model.cvssVersion());
+ Assertions.assertEquals(16.42737179588487D, model.effectiveCvssScore());
+ Assertions.assertEquals(644635434, model.effectiveCvssVersion());
+ Assertions.assertEquals("lhbnxkna", model.effectiveVectorString());
+ Assertions.assertEquals(ExploitMaturityLevel.UNREPORTED, model.effectiveExploitMaturity());
+ Assertions.assertEquals(23596643, model.cvssScores().get(0).version());
+ Assertions.assertEquals(68.84973632605254D, model.cvssScores().get(0).score());
+ Assertions.assertEquals("pnapnyiropuh", model.cvssScores().get(0).vectorString());
+ Assertions.assertEquals(ExploitMaturityLevel.ATTACKED, model.cvssScores().get(0).exploitMaturity());
+ Assertions.assertEquals("eoellwptfdygp", model.description());
+ Assertions.assertEquals(75.47198249090982D, model.epss().score());
+ Assertions.assertEquals(82.87767785926287D, model.epss().percentile());
+ Assertions.assertEquals("qrhhu", model.cwes().get(0).cweId());
+ Assertions.assertEquals("pppcqeqxo", model.cwes().get(0).cweName());
+ Assertions.assertEquals("dahzxctobg", model.cwes().get(0).description());
+ Assertions.assertEquals(RansomwareCampaignUse.KNOWN, model.kev().knownRansomwareCampaignUse());
+ Assertions.assertEquals(OffsetDateTime.parse("2021-01-09T02:06:20Z"), model.kev().dateAdded());
+ Assertions.assertEquals(OffsetDateTime.parse("2021-12-06T20:28:15Z"), model.kev().remediationDueDate());
+ Assertions.assertEquals("stmgrcfbunrmfqjh", model.kev().requiredAction());
+ Assertions.assertEquals("bpvjymjhx", model.fixedInVersions().get(0));
}
}
diff --git a/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/test/java/com/azure/resourcemanager/iotfirmwaredefense/generated/CveSummaryResourceTests.java b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/test/java/com/azure/resourcemanager/iotfirmwaredefense/generated/CveSummaryResourceTests.java
new file mode 100644
index 000000000000..535cdb0ba442
--- /dev/null
+++ b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/test/java/com/azure/resourcemanager/iotfirmwaredefense/generated/CveSummaryResourceTests.java
@@ -0,0 +1,25 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.iotfirmwaredefense.generated;
+
+import com.azure.core.util.BinaryData;
+import com.azure.resourcemanager.iotfirmwaredefense.models.CveSummaryResource;
+import org.junit.jupiter.api.Assertions;
+
+public final class CveSummaryResourceTests {
+ @org.junit.jupiter.api.Test
+ public void testDeserialize() throws Exception {
+ CveSummaryResource model = BinaryData.fromString(
+ "{\"summaryType\":\"CVE\",\"totalCveCount\":5666801951543654616,\"criticalCveCount\":9091677111595049669,\"highCveCount\":6834800268886491051,\"mediumCveCount\":758398116524411728,\"lowCveCount\":2084595584241101757,\"unknownCveCount\":788094577217246114,\"schemaVersion\":\"ohfwds\",\"provisioningState\":\"Analyzing\"}")
+ .toObject(CveSummaryResource.class);
+ Assertions.assertEquals(5666801951543654616L, model.totalCveCount());
+ Assertions.assertEquals(9091677111595049669L, model.criticalCveCount());
+ Assertions.assertEquals(6834800268886491051L, model.highCveCount());
+ Assertions.assertEquals(758398116524411728L, model.mediumCveCount());
+ Assertions.assertEquals(2084595584241101757L, model.lowCveCount());
+ Assertions.assertEquals(788094577217246114L, model.unknownCveCount());
+ Assertions.assertEquals("ohfwds", model.schemaVersion());
+ }
+}
diff --git a/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/test/java/com/azure/resourcemanager/iotfirmwaredefense/generated/CveSummaryTests.java b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/test/java/com/azure/resourcemanager/iotfirmwaredefense/generated/CveSummaryTests.java
index 9b758f6a5f29..f159dfbb5337 100644
--- a/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/test/java/com/azure/resourcemanager/iotfirmwaredefense/generated/CveSummaryTests.java
+++ b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/test/java/com/azure/resourcemanager/iotfirmwaredefense/generated/CveSummaryTests.java
@@ -12,12 +12,12 @@ public final class CveSummaryTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
CveSummary model = BinaryData.fromString(
- "{\"summaryType\":\"CommonVulnerabilitiesAndExposures\",\"criticalCveCount\":7888839879044625152,\"highCveCount\":7224326417185039390,\"mediumCveCount\":8997830980671290094,\"lowCveCount\":6020102037259892671,\"unknownCveCount\":2699715212989118591,\"provisioningState\":\"Analyzing\"}")
+ "{\"summaryType\":\"CommonVulnerabilitiesAndExposures\",\"criticalCveCount\":4142035688524662408,\"highCveCount\":6387595634350478550,\"mediumCveCount\":7376414013893695115,\"lowCveCount\":4679929570751619388,\"unknownCveCount\":6266011921490350927,\"provisioningState\":\"Succeeded\"}")
.toObject(CveSummary.class);
- Assertions.assertEquals(7888839879044625152L, model.criticalCveCount());
- Assertions.assertEquals(7224326417185039390L, model.highCveCount());
- Assertions.assertEquals(8997830980671290094L, model.mediumCveCount());
- Assertions.assertEquals(6020102037259892671L, model.lowCveCount());
- Assertions.assertEquals(2699715212989118591L, model.unknownCveCount());
+ Assertions.assertEquals(4142035688524662408L, model.criticalCveCount());
+ Assertions.assertEquals(6387595634350478550L, model.highCveCount());
+ Assertions.assertEquals(7376414013893695115L, model.mediumCveCount());
+ Assertions.assertEquals(4679929570751619388L, model.lowCveCount());
+ Assertions.assertEquals(6266011921490350927L, model.unknownCveCount());
}
}
diff --git a/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/test/java/com/azure/resourcemanager/iotfirmwaredefense/generated/CvesListByFirmwareMockTests.java b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/test/java/com/azure/resourcemanager/iotfirmwaredefense/generated/CvesListByFirmwareMockTests.java
index 78054133e0a8..9897f3d3598e 100644
--- a/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/test/java/com/azure/resourcemanager/iotfirmwaredefense/generated/CvesListByFirmwareMockTests.java
+++ b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/test/java/com/azure/resourcemanager/iotfirmwaredefense/generated/CvesListByFirmwareMockTests.java
@@ -12,6 +12,8 @@
import com.azure.core.test.http.MockHttpResponse;
import com.azure.resourcemanager.iotfirmwaredefense.IoTFirmwareDefenseManager;
import com.azure.resourcemanager.iotfirmwaredefense.models.CveResource;
+import com.azure.resourcemanager.iotfirmwaredefense.models.ExploitMaturityLevel;
+import com.azure.resourcemanager.iotfirmwaredefense.models.RansomwareCampaignUse;
import java.nio.charset.StandardCharsets;
import java.time.OffsetDateTime;
import org.junit.jupiter.api.Assertions;
@@ -22,7 +24,7 @@ public final class CvesListByFirmwareMockTests {
@Test
public void testListByFirmware() throws Exception {
String responseStr
- = "{\"value\":[{\"properties\":{\"cveId\":\"ntorzihleosjswsr\",\"componentId\":\"lyzrpzbchckqqzqi\",\"componentName\":\"iysui\",\"componentVersion\":\"ynkedyatrwyhqmib\",\"severity\":\"hwit\",\"cveName\":\"ypyynpcdpumnzg\",\"component\":{\"componentId\":\"nmabik\",\"name\":\"orgjhxbldt\",\"version\":\"wrlkdmtn\"},\"cvssScore\":\"ok\",\"cvssV2Score\":\"llxdyhgs\",\"cvssV3Score\":\"cogjltdtbn\",\"cvssVersion\":\"adoocrkvc\",\"effectiveCvssScore\":60.81064694065468,\"effectiveCvssVersion\":44638091,\"cvssScores\":[{\"version\":924007604,\"score\":4.904957361431183}],\"links\":[{\"href\":\"zikywgg\",\"label\":\"allatmelwuipic\"}],\"description\":\"zkzivgvvcnay\",\"provisioningState\":\"Failed\"},\"id\":\"nxxmueedndrdv\",\"name\":\"tkwqqtchealm\",\"type\":\"mtdaa\"}]}";
+ = "{\"value\":[{\"properties\":{\"cveId\":\"zbzkdvncjabudurg\",\"componentId\":\"kmokz\",\"componentName\":\"jk\",\"componentVersion\":\"fhmouwq\",\"severity\":\"zrfze\",\"cveName\":\"ebizikayuh\",\"component\":{\"componentId\":\"jbsybbqw\",\"name\":\"t\",\"version\":\"gmfpgvmp\"},\"cvssScore\":\"as\",\"cvssV2Score\":\"haq\",\"cvssV3Score\":\"ss\",\"cvssVersion\":\"u\",\"effectiveCvssScore\":31.752490870226723,\"effectiveCvssVersion\":1417218644,\"effectiveVectorString\":\"zpdrhneu\",\"effectiveExploitMaturity\":\"PROOF_OF_CONCEPT\",\"cvssScores\":[{\"version\":150720980,\"score\":46.75817493443919,\"vectorString\":\"sibircgpi\",\"exploitMaturity\":\"PROOF_OF_CONCEPT\"}],\"links\":[{\"href\":\"j\",\"label\":\"nlfzxiavrmbz\"},{\"href\":\"okixrjqcir\",\"label\":\"pfrlazsz\"},{\"href\":\"woiindf\",\"label\":\"pj\"}],\"description\":\"wbtlhflsjcdh\",\"epss\":{\"score\":62.8989040444914,\"percentile\":50.68858907198115},\"cwes\":[{\"cweId\":\"ljagrqmqhl\",\"cweName\":\"riiiojnalghfkv\",\"description\":\"sexso\"},{\"cweId\":\"el\",\"cweName\":\"hhahhxvrhmzkwpjg\",\"description\":\"spughftqsxhq\"},{\"cweId\":\"j\",\"cweName\":\"kndxdigrjgu\",\"description\":\"zdmsyqtfi\"}],\"kev\":{\"knownRansomwareCampaignUse\":\"Unknown\",\"dateAdded\":\"2021-07-29T01:31:48Z\",\"remediationDueDate\":\"2021-08-12T19:36:43Z\",\"requiredAction\":\"gamv\"},\"fixedInVersions\":[\"o\"],\"provisioningState\":\"Failed\"},\"id\":\"udphqamvdkfwyn\",\"name\":\"cvtbv\",\"type\":\"ayhmtnvyqiatkz\"}]}";
HttpClient httpClient
= response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
@@ -31,26 +33,45 @@ public void testListByFirmware() throws Exception {
.authenticate(tokenRequestContext -> Mono.just(new AccessToken("this_is_a_token", OffsetDateTime.MAX)),
new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD));
- PagedIterable response
- = manager.cves().listByFirmware("qkvpuvksgplsakn", "n", "synljphuopxodl", com.azure.core.util.Context.NONE);
+ PagedIterable response = manager.cves()
+ .listByFirmware("nyhgbijtji", "fxzsjabibsyst", "wfsdjpvkvpbj", com.azure.core.util.Context.NONE);
- Assertions.assertEquals("ntorzihleosjswsr", response.iterator().next().cveId());
- Assertions.assertEquals("lyzrpzbchckqqzqi", response.iterator().next().componentId());
- Assertions.assertEquals("iysui", response.iterator().next().componentName());
- Assertions.assertEquals("ynkedyatrwyhqmib", response.iterator().next().componentVersion());
- Assertions.assertEquals("hwit", response.iterator().next().severity());
- Assertions.assertEquals("ypyynpcdpumnzg", response.iterator().next().cveName());
- Assertions.assertEquals("nmabik", response.iterator().next().component().componentId());
- Assertions.assertEquals("orgjhxbldt", response.iterator().next().component().name());
- Assertions.assertEquals("wrlkdmtn", response.iterator().next().component().version());
- Assertions.assertEquals("ok", response.iterator().next().cvssScore());
- Assertions.assertEquals("llxdyhgs", response.iterator().next().cvssV2Score());
- Assertions.assertEquals("cogjltdtbn", response.iterator().next().cvssV3Score());
- Assertions.assertEquals("adoocrkvc", response.iterator().next().cvssVersion());
- Assertions.assertEquals(60.81064694065468D, response.iterator().next().effectiveCvssScore());
- Assertions.assertEquals(44638091, response.iterator().next().effectiveCvssVersion());
- Assertions.assertEquals(924007604, response.iterator().next().cvssScores().get(0).version());
- Assertions.assertEquals(4.904957361431183D, response.iterator().next().cvssScores().get(0).score());
- Assertions.assertEquals("zkzivgvvcnay", response.iterator().next().description());
+ Assertions.assertEquals("zbzkdvncjabudurg", response.iterator().next().cveId());
+ Assertions.assertEquals("kmokz", response.iterator().next().componentId());
+ Assertions.assertEquals("jk", response.iterator().next().componentName());
+ Assertions.assertEquals("fhmouwq", response.iterator().next().componentVersion());
+ Assertions.assertEquals("zrfze", response.iterator().next().severity());
+ Assertions.assertEquals("ebizikayuh", response.iterator().next().cveName());
+ Assertions.assertEquals("jbsybbqw", response.iterator().next().component().componentId());
+ Assertions.assertEquals("t", response.iterator().next().component().name());
+ Assertions.assertEquals("gmfpgvmp", response.iterator().next().component().version());
+ Assertions.assertEquals("as", response.iterator().next().cvssScore());
+ Assertions.assertEquals("haq", response.iterator().next().cvssV2Score());
+ Assertions.assertEquals("ss", response.iterator().next().cvssV3Score());
+ Assertions.assertEquals("u", response.iterator().next().cvssVersion());
+ Assertions.assertEquals(31.752490870226723D, response.iterator().next().effectiveCvssScore());
+ Assertions.assertEquals(1417218644, response.iterator().next().effectiveCvssVersion());
+ Assertions.assertEquals("zpdrhneu", response.iterator().next().effectiveVectorString());
+ Assertions.assertEquals(ExploitMaturityLevel.PROOF_OF_CONCEPT,
+ response.iterator().next().effectiveExploitMaturity());
+ Assertions.assertEquals(150720980, response.iterator().next().cvssScores().get(0).version());
+ Assertions.assertEquals(46.75817493443919D, response.iterator().next().cvssScores().get(0).score());
+ Assertions.assertEquals("sibircgpi", response.iterator().next().cvssScores().get(0).vectorString());
+ Assertions.assertEquals(ExploitMaturityLevel.PROOF_OF_CONCEPT,
+ response.iterator().next().cvssScores().get(0).exploitMaturity());
+ Assertions.assertEquals("wbtlhflsjcdh", response.iterator().next().description());
+ Assertions.assertEquals(62.8989040444914D, response.iterator().next().epss().score());
+ Assertions.assertEquals(50.68858907198115D, response.iterator().next().epss().percentile());
+ Assertions.assertEquals("ljagrqmqhl", response.iterator().next().cwes().get(0).cweId());
+ Assertions.assertEquals("riiiojnalghfkv", response.iterator().next().cwes().get(0).cweName());
+ Assertions.assertEquals("sexso", response.iterator().next().cwes().get(0).description());
+ Assertions.assertEquals(RansomwareCampaignUse.UNKNOWN,
+ response.iterator().next().kev().knownRansomwareCampaignUse());
+ Assertions.assertEquals(OffsetDateTime.parse("2021-07-29T01:31:48Z"),
+ response.iterator().next().kev().dateAdded());
+ Assertions.assertEquals(OffsetDateTime.parse("2021-08-12T19:36:43Z"),
+ response.iterator().next().kev().remediationDueDate());
+ Assertions.assertEquals("gamv", response.iterator().next().kev().requiredAction());
+ Assertions.assertEquals("o", response.iterator().next().fixedInVersions().get(0));
}
}
diff --git a/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/test/java/com/azure/resourcemanager/iotfirmwaredefense/generated/CvssScoreTests.java b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/test/java/com/azure/resourcemanager/iotfirmwaredefense/generated/CvssScoreTests.java
index 5bcae2e9cb63..64088e1e5f19 100644
--- a/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/test/java/com/azure/resourcemanager/iotfirmwaredefense/generated/CvssScoreTests.java
+++ b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/test/java/com/azure/resourcemanager/iotfirmwaredefense/generated/CvssScoreTests.java
@@ -6,14 +6,18 @@
import com.azure.core.util.BinaryData;
import com.azure.resourcemanager.iotfirmwaredefense.models.CvssScore;
+import com.azure.resourcemanager.iotfirmwaredefense.models.ExploitMaturityLevel;
import org.junit.jupiter.api.Assertions;
public final class CvssScoreTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
- CvssScore model
- = BinaryData.fromString("{\"version\":439757511,\"score\":21.929462733995752}").toObject(CvssScore.class);
- Assertions.assertEquals(439757511, model.version());
- Assertions.assertEquals(21.929462733995752D, model.score());
+ CvssScore model = BinaryData.fromString(
+ "{\"version\":1895244941,\"score\":75.30674083437194,\"vectorString\":\"vwvxyslqbhsfx\",\"exploitMaturity\":\"NOT_DEFINED\"}")
+ .toObject(CvssScore.class);
+ Assertions.assertEquals(1895244941, model.version());
+ Assertions.assertEquals(75.30674083437194D, model.score());
+ Assertions.assertEquals("vwvxyslqbhsfx", model.vectorString());
+ Assertions.assertEquals(ExploitMaturityLevel.NOT_DEFINED, model.exploitMaturity());
}
}
diff --git a/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/test/java/com/azure/resourcemanager/iotfirmwaredefense/generated/CwePropertiesTests.java b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/test/java/com/azure/resourcemanager/iotfirmwaredefense/generated/CwePropertiesTests.java
new file mode 100644
index 000000000000..c041e6f35b3a
--- /dev/null
+++ b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/test/java/com/azure/resourcemanager/iotfirmwaredefense/generated/CwePropertiesTests.java
@@ -0,0 +1,21 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.iotfirmwaredefense.generated;
+
+import com.azure.core.util.BinaryData;
+import com.azure.resourcemanager.iotfirmwaredefense.models.CweProperties;
+import org.junit.jupiter.api.Assertions;
+
+public final class CwePropertiesTests {
+ @org.junit.jupiter.api.Test
+ public void testDeserialize() throws Exception {
+ CweProperties model
+ = BinaryData.fromString("{\"cweId\":\"crsbfovasr\",\"cweName\":\"v\",\"description\":\"hsqfsubcgjbirxbp\"}")
+ .toObject(CweProperties.class);
+ Assertions.assertEquals("crsbfovasr", model.cweId());
+ Assertions.assertEquals("v", model.cweName());
+ Assertions.assertEquals("hsqfsubcgjbirxbp", model.description());
+ }
+}
diff --git a/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/test/java/com/azure/resourcemanager/iotfirmwaredefense/generated/EpssPropertiesTests.java b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/test/java/com/azure/resourcemanager/iotfirmwaredefense/generated/EpssPropertiesTests.java
new file mode 100644
index 000000000000..46a91827e530
--- /dev/null
+++ b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/test/java/com/azure/resourcemanager/iotfirmwaredefense/generated/EpssPropertiesTests.java
@@ -0,0 +1,19 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.iotfirmwaredefense.generated;
+
+import com.azure.core.util.BinaryData;
+import com.azure.resourcemanager.iotfirmwaredefense.models.EpssProperties;
+import org.junit.jupiter.api.Assertions;
+
+public final class EpssPropertiesTests {
+ @org.junit.jupiter.api.Test
+ public void testDeserialize() throws Exception {
+ EpssProperties model = BinaryData.fromString("{\"score\":81.30636963126993,\"percentile\":63.213526033589716}")
+ .toObject(EpssProperties.class);
+ Assertions.assertEquals(81.30636963126993D, model.score());
+ Assertions.assertEquals(63.213526033589716D, model.percentile());
+ }
+}
diff --git a/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/test/java/com/azure/resourcemanager/iotfirmwaredefense/generated/FirmwareSummaryTests.java b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/test/java/com/azure/resourcemanager/iotfirmwaredefense/generated/FirmwareSummaryTests.java
index a76141fbe2b5..2b6e56a76157 100644
--- a/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/test/java/com/azure/resourcemanager/iotfirmwaredefense/generated/FirmwareSummaryTests.java
+++ b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/test/java/com/azure/resourcemanager/iotfirmwaredefense/generated/FirmwareSummaryTests.java
@@ -12,14 +12,14 @@ public final class FirmwareSummaryTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
FirmwareSummary model = BinaryData.fromString(
- "{\"summaryType\":\"Firmware\",\"extractedSize\":3036268179431574452,\"fileSize\":4253810910381406422,\"extractedFileCount\":834189001666840770,\"componentCount\":5663355853068180050,\"binaryCount\":4407430111323762488,\"analysisTimeSeconds\":416543254607758865,\"rootFileSystems\":853590458031501964,\"provisioningState\":\"Failed\"}")
+ "{\"summaryType\":\"Firmware\",\"extractedSize\":9118429342651119617,\"fileSize\":2032891691540283618,\"extractedFileCount\":3898811101398882532,\"componentCount\":6983157428169854223,\"binaryCount\":3813824125962693379,\"analysisTimeSeconds\":7617442549431453664,\"rootFileSystems\":411911013999749991,\"provisioningState\":\"Analyzing\"}")
.toObject(FirmwareSummary.class);
- Assertions.assertEquals(3036268179431574452L, model.extractedSize());
- Assertions.assertEquals(4253810910381406422L, model.fileSize());
- Assertions.assertEquals(834189001666840770L, model.extractedFileCount());
- Assertions.assertEquals(5663355853068180050L, model.componentCount());
- Assertions.assertEquals(4407430111323762488L, model.binaryCount());
- Assertions.assertEquals(416543254607758865L, model.analysisTimeSeconds());
- Assertions.assertEquals(853590458031501964L, model.rootFileSystems());
+ Assertions.assertEquals(9118429342651119617L, model.extractedSize());
+ Assertions.assertEquals(2032891691540283618L, model.fileSize());
+ Assertions.assertEquals(3898811101398882532L, model.extractedFileCount());
+ Assertions.assertEquals(6983157428169854223L, model.componentCount());
+ Assertions.assertEquals(3813824125962693379L, model.binaryCount());
+ Assertions.assertEquals(7617442549431453664L, model.analysisTimeSeconds());
+ Assertions.assertEquals(411911013999749991L, model.rootFileSystems());
}
}
diff --git a/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/test/java/com/azure/resourcemanager/iotfirmwaredefense/generated/FirmwaresDeleteWithResponseMockTests.java b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/test/java/com/azure/resourcemanager/iotfirmwaredefense/generated/FirmwaresDeleteWithResponseMockTests.java
index 0b97b61f43e3..f7f5cfa38618 100644
--- a/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/test/java/com/azure/resourcemanager/iotfirmwaredefense/generated/FirmwaresDeleteWithResponseMockTests.java
+++ b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/test/java/com/azure/resourcemanager/iotfirmwaredefense/generated/FirmwaresDeleteWithResponseMockTests.java
@@ -27,7 +27,7 @@ public void testDeleteWithResponse() throws Exception {
.authenticate(tokenRequestContext -> Mono.just(new AccessToken("this_is_a_token", OffsetDateTime.MAX)),
new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD));
- manager.firmwares().deleteWithResponse("xgk", "rmgucnap", "t", com.azure.core.util.Context.NONE);
+ manager.firmwares().deleteWithResponse("lddxbjhwua", "nozj", "sphyoulpjrvxa", com.azure.core.util.Context.NONE);
}
}
diff --git a/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/test/java/com/azure/resourcemanager/iotfirmwaredefense/generated/FunctionCallTests.java b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/test/java/com/azure/resourcemanager/iotfirmwaredefense/generated/FunctionCallTests.java
new file mode 100644
index 000000000000..24c1aaa4513c
--- /dev/null
+++ b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/test/java/com/azure/resourcemanager/iotfirmwaredefense/generated/FunctionCallTests.java
@@ -0,0 +1,19 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.iotfirmwaredefense.generated;
+
+import com.azure.core.util.BinaryData;
+import com.azure.resourcemanager.iotfirmwaredefense.models.FunctionCall;
+import org.junit.jupiter.api.Assertions;
+
+public final class FunctionCallTests {
+ @org.junit.jupiter.api.Test
+ public void testDeserialize() throws Exception {
+ FunctionCall model = BinaryData.fromString("{\"functionName\":\"gwq\",\"count\":6708401784750325686}")
+ .toObject(FunctionCall.class);
+ Assertions.assertEquals("gwq", model.functionName());
+ Assertions.assertEquals(6708401784750325686L, model.count());
+ }
+}
diff --git a/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/test/java/com/azure/resourcemanager/iotfirmwaredefense/generated/KevPropertiesTests.java b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/test/java/com/azure/resourcemanager/iotfirmwaredefense/generated/KevPropertiesTests.java
new file mode 100644
index 000000000000..813355f183aa
--- /dev/null
+++ b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/test/java/com/azure/resourcemanager/iotfirmwaredefense/generated/KevPropertiesTests.java
@@ -0,0 +1,24 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.iotfirmwaredefense.generated;
+
+import com.azure.core.util.BinaryData;
+import com.azure.resourcemanager.iotfirmwaredefense.models.KevProperties;
+import com.azure.resourcemanager.iotfirmwaredefense.models.RansomwareCampaignUse;
+import java.time.OffsetDateTime;
+import org.junit.jupiter.api.Assertions;
+
+public final class KevPropertiesTests {
+ @org.junit.jupiter.api.Test
+ public void testDeserialize() throws Exception {
+ KevProperties model = BinaryData.fromString(
+ "{\"knownRansomwareCampaignUse\":\"Unknown\",\"dateAdded\":\"2021-08-04T15:53:59Z\",\"remediationDueDate\":\"2021-05-01T17:10:45Z\",\"requiredAction\":\"twss\"}")
+ .toObject(KevProperties.class);
+ Assertions.assertEquals(RansomwareCampaignUse.UNKNOWN, model.knownRansomwareCampaignUse());
+ Assertions.assertEquals(OffsetDateTime.parse("2021-08-04T15:53:59Z"), model.dateAdded());
+ Assertions.assertEquals(OffsetDateTime.parse("2021-05-01T17:10:45Z"), model.remediationDueDate());
+ Assertions.assertEquals("twss", model.requiredAction());
+ }
+}
diff --git a/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/test/java/com/azure/resourcemanager/iotfirmwaredefense/generated/OperationsListMockTests.java b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/test/java/com/azure/resourcemanager/iotfirmwaredefense/generated/OperationsListMockTests.java
index 9f1202c7c761..100dc80b09d4 100644
--- a/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/test/java/com/azure/resourcemanager/iotfirmwaredefense/generated/OperationsListMockTests.java
+++ b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/test/java/com/azure/resourcemanager/iotfirmwaredefense/generated/OperationsListMockTests.java
@@ -21,7 +21,7 @@ public final class OperationsListMockTests {
@Test
public void testList() throws Exception {
String responseStr
- = "{\"value\":[{\"name\":\"e\",\"isDataAction\":false,\"display\":{\"provider\":\"ozuhkfp\",\"resource\":\"jyofdxluusdtto\",\"operation\":\"aboekqv\",\"description\":\"lns\"},\"origin\":\"user\",\"actionType\":\"Internal\"}]}";
+ = "{\"value\":[{\"name\":\"zkzivgvvcnay\",\"isDataAction\":true,\"display\":{\"provider\":\"xxmueedn\",\"resource\":\"dvstkw\",\"operation\":\"tchealmf\",\"description\":\"d\"},\"origin\":\"user\",\"actionType\":\"Internal\"}]}";
HttpClient httpClient
= response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
diff --git a/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/test/java/com/azure/resourcemanager/iotfirmwaredefense/generated/SbomComponentResourceInnerTests.java b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/test/java/com/azure/resourcemanager/iotfirmwaredefense/generated/SbomComponentResourceInnerTests.java
index 11d48954ff7c..22657d614569 100644
--- a/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/test/java/com/azure/resourcemanager/iotfirmwaredefense/generated/SbomComponentResourceInnerTests.java
+++ b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/test/java/com/azure/resourcemanager/iotfirmwaredefense/generated/SbomComponentResourceInnerTests.java
@@ -12,12 +12,12 @@ public final class SbomComponentResourceInnerTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
SbomComponentResourceInner model = BinaryData.fromString(
- "{\"properties\":{\"componentId\":\"fmisg\",\"componentName\":\"nbbelda\",\"version\":\"zbaliourqha\",\"license\":\"uhashsfwx\",\"filePaths\":[\"w\",\"xcug\"],\"provisioningState\":\"Extracting\"},\"id\":\"oxdjebwpuc\",\"name\":\"wfvovbv\",\"type\":\"euecivyhzceuoj\"}")
+ "{\"properties\":{\"componentId\":\"hxsrzdzucersc\",\"componentName\":\"t\",\"version\":\"vfiwjmygtdss\",\"license\":\"wtmwerio\",\"filePaths\":[\"yqsemwa\"],\"provisioningState\":\"Failed\"},\"id\":\"shhszhedplvwiw\",\"name\":\"bmwmbesldnkw\",\"type\":\"tppjflcx\"}")
.toObject(SbomComponentResourceInner.class);
- Assertions.assertEquals("fmisg", model.componentId());
- Assertions.assertEquals("nbbelda", model.componentName());
- Assertions.assertEquals("zbaliourqha", model.version());
- Assertions.assertEquals("uhashsfwx", model.license());
- Assertions.assertEquals("w", model.filePaths().get(0));
+ Assertions.assertEquals("hxsrzdzucersc", model.componentId());
+ Assertions.assertEquals("t", model.componentName());
+ Assertions.assertEquals("vfiwjmygtdss", model.version());
+ Assertions.assertEquals("wtmwerio", model.license());
+ Assertions.assertEquals("yqsemwa", model.filePaths().get(0));
}
}
diff --git a/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/test/java/com/azure/resourcemanager/iotfirmwaredefense/generated/SbomComponentResourceListResultTests.java b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/test/java/com/azure/resourcemanager/iotfirmwaredefense/generated/SbomComponentResourceListResultTests.java
index 0bf05d7bcf27..e2848baa77f4 100644
--- a/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/test/java/com/azure/resourcemanager/iotfirmwaredefense/generated/SbomComponentResourceListResultTests.java
+++ b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/test/java/com/azure/resourcemanager/iotfirmwaredefense/generated/SbomComponentResourceListResultTests.java
@@ -12,13 +12,13 @@ public final class SbomComponentResourceListResultTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
SbomComponentResourceListResult model = BinaryData.fromString(
- "{\"value\":[{\"properties\":{\"componentId\":\"deoj\",\"componentName\":\"bckhsmtxpsi\",\"version\":\"tfhvpesapskrdqmh\",\"license\":\"dhtldwkyz\",\"filePaths\":[\"tkncwsc\",\"svlxotogtwrup\"],\"provisioningState\":\"Canceled\"},\"id\":\"nmic\",\"name\":\"kvceoveilovnotyf\",\"type\":\"fcnj\"},{\"properties\":{\"componentId\":\"nxdhbt\",\"componentName\":\"phywpnvj\",\"version\":\"qnermclfplphoxu\",\"license\":\"rpabg\",\"filePaths\":[\"sbj\",\"azqugxywpmueefj\"],\"provisioningState\":\"Succeeded\"},\"id\":\"kqujidsuyono\",\"name\":\"glaocq\",\"type\":\"tcc\"},{\"properties\":{\"componentId\":\"udxytlmoyrx\",\"componentName\":\"fudwpznt\",\"version\":\"dzhlrq\",\"license\":\"hckfrlhrx\",\"filePaths\":[\"yvpycanuzbpzk\"],\"provisioningState\":\"Analyzing\"},\"id\":\"wbcrnwbmehhseyv\",\"name\":\"us\",\"type\":\"tslhspkdeem\"},{\"properties\":{\"componentId\":\"mx\",\"componentName\":\"kv\",\"version\":\"elmqk\",\"license\":\"ahvljuaha\",\"filePaths\":[\"c\",\"hmdua\",\"aex\"],\"provisioningState\":\"Pending\"},\"id\":\"adm\",\"name\":\"sr\",\"type\":\"r\"}],\"nextLink\":\"xpvgo\"}")
+ "{\"value\":[{\"properties\":{\"componentId\":\"wj\",\"componentName\":\"gdrjervnaenqpe\",\"version\":\"ndoygmifthnzdnd\",\"license\":\"gnayqigynduh\",\"filePaths\":[\"qlkth\",\"maqolbgycduie\",\"tgccymvaolpss\"],\"provisioningState\":\"Canceled\"},\"id\":\"mmdnbbglzps\",\"name\":\"iydmcwyhzdxs\",\"type\":\"adbzmnvdfznud\"}],\"nextLink\":\"dvxzbncblylpst\"}")
.toObject(SbomComponentResourceListResult.class);
- Assertions.assertEquals("deoj", model.value().get(0).componentId());
- Assertions.assertEquals("bckhsmtxpsi", model.value().get(0).componentName());
- Assertions.assertEquals("tfhvpesapskrdqmh", model.value().get(0).version());
- Assertions.assertEquals("dhtldwkyz", model.value().get(0).license());
- Assertions.assertEquals("tkncwsc", model.value().get(0).filePaths().get(0));
- Assertions.assertEquals("xpvgo", model.nextLink());
+ Assertions.assertEquals("wj", model.value().get(0).componentId());
+ Assertions.assertEquals("gdrjervnaenqpe", model.value().get(0).componentName());
+ Assertions.assertEquals("ndoygmifthnzdnd", model.value().get(0).version());
+ Assertions.assertEquals("gnayqigynduh", model.value().get(0).license());
+ Assertions.assertEquals("qlkth", model.value().get(0).filePaths().get(0));
+ Assertions.assertEquals("dvxzbncblylpst", model.nextLink());
}
}
diff --git a/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/test/java/com/azure/resourcemanager/iotfirmwaredefense/generated/SbomComponentTests.java b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/test/java/com/azure/resourcemanager/iotfirmwaredefense/generated/SbomComponentTests.java
index e0e2fd8ff61d..26fd5a7d90d6 100644
--- a/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/test/java/com/azure/resourcemanager/iotfirmwaredefense/generated/SbomComponentTests.java
+++ b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/test/java/com/azure/resourcemanager/iotfirmwaredefense/generated/SbomComponentTests.java
@@ -12,12 +12,12 @@ public final class SbomComponentTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
SbomComponent model = BinaryData.fromString(
- "{\"componentId\":\"rw\",\"componentName\":\"eiotwmcdytdx\",\"version\":\"txnrjaw\",\"license\":\"wgxhn\",\"filePaths\":[\"x\",\"bkpyc\",\"klwndnhjdauwhv\",\"l\"],\"provisioningState\":\"Failed\"}")
+ "{\"componentId\":\"aokonzmnsik\",\"componentName\":\"kqze\",\"version\":\"kdltfzxmhhvhg\",\"license\":\"eodkwobda\",\"filePaths\":[\"ibqdxbxwakbogqx\",\"dlkzgxhuri\",\"lbpodxunk\"],\"provisioningState\":\"Extracting\"}")
.toObject(SbomComponent.class);
- Assertions.assertEquals("rw", model.componentId());
- Assertions.assertEquals("eiotwmcdytdx", model.componentName());
- Assertions.assertEquals("txnrjaw", model.version());
- Assertions.assertEquals("wgxhn", model.license());
- Assertions.assertEquals("x", model.filePaths().get(0));
+ Assertions.assertEquals("aokonzmnsik", model.componentId());
+ Assertions.assertEquals("kqze", model.componentName());
+ Assertions.assertEquals("kdltfzxmhhvhg", model.version());
+ Assertions.assertEquals("eodkwobda", model.license());
+ Assertions.assertEquals("ibqdxbxwakbogqx", model.filePaths().get(0));
}
}
diff --git a/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/test/java/com/azure/resourcemanager/iotfirmwaredefense/generated/SbomComponentsListByFirmwareMockTests.java b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/test/java/com/azure/resourcemanager/iotfirmwaredefense/generated/SbomComponentsListByFirmwareMockTests.java
index 252d33fa3a77..adebca666c5a 100644
--- a/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/test/java/com/azure/resourcemanager/iotfirmwaredefense/generated/SbomComponentsListByFirmwareMockTests.java
+++ b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/test/java/com/azure/resourcemanager/iotfirmwaredefense/generated/SbomComponentsListByFirmwareMockTests.java
@@ -22,7 +22,7 @@ public final class SbomComponentsListByFirmwareMockTests {
@Test
public void testListByFirmware() throws Exception {
String responseStr
- = "{\"value\":[{\"properties\":{\"componentId\":\"ikf\",\"componentName\":\"wneaiv\",\"version\":\"czelpcirel\",\"license\":\"eae\",\"filePaths\":[\"bfatklddxbjhwu\",\"an\"],\"provisioningState\":\"Analyzing\"},\"id\":\"sphyoulpjrvxa\",\"name\":\"l\",\"type\":\"vimjwos\"}]}";
+ = "{\"value\":[{\"properties\":{\"componentId\":\"qvpsvuoymg\",\"componentName\":\"elvezrypq\",\"version\":\"feo\",\"license\":\"rqwky\",\"filePaths\":[\"bopgxedkowepbqp\"],\"provisioningState\":\"Analyzing\"},\"id\":\"bwccsnjvcdwxlpqe\",\"name\":\"ftnkhtj\",\"type\":\"y\"}]}";
HttpClient httpClient
= response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
@@ -31,13 +31,13 @@ public void testListByFirmware() throws Exception {
.authenticate(tokenRequestContext -> Mono.just(new AccessToken("this_is_a_token", OffsetDateTime.MAX)),
new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD));
- PagedIterable response
- = manager.sbomComponents().listByFirmware("wi", "fnjhfjxwmszkkfo", "rey", com.azure.core.util.Context.NONE);
+ PagedIterable response = manager.sbomComponents()
+ .listByFirmware("vdnkfxusem", "wzrmuh", "pfcqdp", com.azure.core.util.Context.NONE);
- Assertions.assertEquals("ikf", response.iterator().next().componentId());
- Assertions.assertEquals("wneaiv", response.iterator().next().componentName());
- Assertions.assertEquals("czelpcirel", response.iterator().next().version());
- Assertions.assertEquals("eae", response.iterator().next().license());
- Assertions.assertEquals("bfatklddxbjhwu", response.iterator().next().filePaths().get(0));
+ Assertions.assertEquals("qvpsvuoymg", response.iterator().next().componentId());
+ Assertions.assertEquals("elvezrypq", response.iterator().next().componentName());
+ Assertions.assertEquals("feo", response.iterator().next().version());
+ Assertions.assertEquals("rqwky", response.iterator().next().license());
+ Assertions.assertEquals("bopgxedkowepbqp", response.iterator().next().filePaths().get(0));
}
}
diff --git a/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/test/java/com/azure/resourcemanager/iotfirmwaredefense/generated/SbomSummaryResourceTests.java b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/test/java/com/azure/resourcemanager/iotfirmwaredefense/generated/SbomSummaryResourceTests.java
new file mode 100644
index 000000000000..bc61ed3679dd
--- /dev/null
+++ b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/test/java/com/azure/resourcemanager/iotfirmwaredefense/generated/SbomSummaryResourceTests.java
@@ -0,0 +1,19 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.iotfirmwaredefense.generated;
+
+import com.azure.core.util.BinaryData;
+import com.azure.resourcemanager.iotfirmwaredefense.models.SbomSummaryResource;
+import org.junit.jupiter.api.Assertions;
+
+public final class SbomSummaryResourceTests {
+ @org.junit.jupiter.api.Test
+ public void testDeserialize() throws Exception {
+ SbomSummaryResource model = BinaryData.fromString(
+ "{\"summaryType\":\"SBOM\",\"totalComponentCount\":4626193574706169830,\"provisioningState\":\"Extracting\"}")
+ .toObject(SbomSummaryResource.class);
+ Assertions.assertEquals(4626193574706169830L, model.totalComponentCount());
+ }
+}
diff --git a/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/test/java/com/azure/resourcemanager/iotfirmwaredefense/generated/SummariesGetWithResponseMockTests.java b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/test/java/com/azure/resourcemanager/iotfirmwaredefense/generated/SummariesGetWithResponseMockTests.java
index 7efd6bbefcc8..56721e1e7fba 100644
--- a/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/test/java/com/azure/resourcemanager/iotfirmwaredefense/generated/SummariesGetWithResponseMockTests.java
+++ b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/test/java/com/azure/resourcemanager/iotfirmwaredefense/generated/SummariesGetWithResponseMockTests.java
@@ -21,7 +21,7 @@ public final class SummariesGetWithResponseMockTests {
@Test
public void testGetWithResponse() throws Exception {
String responseStr
- = "{\"properties\":{\"summaryType\":\"SummaryResourceProperties\",\"provisioningState\":\"Extracting\"},\"id\":\"yf\",\"name\":\"hdgqggeb\",\"type\":\"unygaeqid\"}";
+ = "{\"properties\":{\"summaryType\":\"SummaryResourceProperties\",\"provisioningState\":\"Pending\"},\"id\":\"oqrvqqaatjin\",\"name\":\"vgoup\",\"type\":\"fiibfggjioolvr\"}";
HttpClient httpClient
= response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
@@ -31,7 +31,8 @@ public void testGetWithResponse() throws Exception {
new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD));
SummaryResource response = manager.summaries()
- .getWithResponse("tx", "tcs", "fcktqumiekke", SummaryType.CRYPTO_KEY, com.azure.core.util.Context.NONE)
+ .getWithResponse("ngwfqatm", "dhtmdvypgikd", "szywkbirryu",
+ SummaryType.COMMON_VULNERABILITIES_AND_EXPOSURES, com.azure.core.util.Context.NONE)
.getValue();
}
diff --git a/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/test/java/com/azure/resourcemanager/iotfirmwaredefense/generated/SummariesListByFirmwareMockTests.java b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/test/java/com/azure/resourcemanager/iotfirmwaredefense/generated/SummariesListByFirmwareMockTests.java
index 815ef94f1f6e..37ff023d06e7 100644
--- a/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/test/java/com/azure/resourcemanager/iotfirmwaredefense/generated/SummariesListByFirmwareMockTests.java
+++ b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/test/java/com/azure/resourcemanager/iotfirmwaredefense/generated/SummariesListByFirmwareMockTests.java
@@ -21,7 +21,7 @@ public final class SummariesListByFirmwareMockTests {
@Test
public void testListByFirmware() throws Exception {
String responseStr
- = "{\"value\":[{\"properties\":{\"summaryType\":\"SummaryResourceProperties\",\"provisioningState\":\"Analyzing\"},\"id\":\"wdmjsjqbjhhyx\",\"name\":\"rw\",\"type\":\"yc\"}]}";
+ = "{\"value\":[{\"properties\":{\"summaryType\":\"SummaryResourceProperties\",\"provisioningState\":\"Failed\"},\"id\":\"vjayvblmhvkzu\",\"name\":\"bxvvyhg\",\"type\":\"opbyrqufegxu\"}]}";
HttpClient httpClient
= response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
@@ -31,7 +31,7 @@ public void testListByFirmware() throws Exception {
new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD));
PagedIterable response
- = manager.summaries().listByFirmware("qfatpxllrxcyjm", "a", "su", com.azure.core.util.Context.NONE);
+ = manager.summaries().listByFirmware("x", "v", "kkgll", com.azure.core.util.Context.NONE);
}
}
diff --git a/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/test/java/com/azure/resourcemanager/iotfirmwaredefense/generated/SummaryResourceInnerTests.java b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/test/java/com/azure/resourcemanager/iotfirmwaredefense/generated/SummaryResourceInnerTests.java
index 07e1d53905c6..abd0120e8b36 100644
--- a/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/test/java/com/azure/resourcemanager/iotfirmwaredefense/generated/SummaryResourceInnerTests.java
+++ b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/test/java/com/azure/resourcemanager/iotfirmwaredefense/generated/SummaryResourceInnerTests.java
@@ -11,7 +11,7 @@ public final class SummaryResourceInnerTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
SummaryResourceInner model = BinaryData.fromString(
- "{\"properties\":{\"summaryType\":\"SummaryResourceProperties\",\"provisioningState\":\"Failed\"},\"id\":\"ujznb\",\"name\":\"pow\",\"type\":\"wpr\"}")
+ "{\"properties\":{\"summaryType\":\"SummaryResourceProperties\",\"provisioningState\":\"Succeeded\"},\"id\":\"yyntwl\",\"name\":\"bqtkoievseotgqr\",\"type\":\"ltmuwlauwzizx\"}")
.toObject(SummaryResourceInner.class);
}
}
diff --git a/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/test/java/com/azure/resourcemanager/iotfirmwaredefense/generated/SummaryResourceListResultTests.java b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/test/java/com/azure/resourcemanager/iotfirmwaredefense/generated/SummaryResourceListResultTests.java
index fb85f36540a9..b04b79e3b911 100644
--- a/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/test/java/com/azure/resourcemanager/iotfirmwaredefense/generated/SummaryResourceListResultTests.java
+++ b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/test/java/com/azure/resourcemanager/iotfirmwaredefense/generated/SummaryResourceListResultTests.java
@@ -12,8 +12,8 @@ public final class SummaryResourceListResultTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
SummaryResourceListResult model = BinaryData.fromString(
- "{\"value\":[{\"properties\":{\"summaryType\":\"SummaryResourceProperties\",\"provisioningState\":\"Canceled\"},\"id\":\"wrtz\",\"name\":\"uzgwyzmhtx\",\"type\":\"ngmtsavjcb\"},{\"properties\":{\"summaryType\":\"SummaryResourceProperties\",\"provisioningState\":\"Analyzing\"},\"id\":\"srknftguv\",\"name\":\"iuhprwmdyvxqta\",\"type\":\"riwwroy\"}],\"nextLink\":\"exrmcqibycnojvk\"}")
+ "{\"value\":[{\"properties\":{\"summaryType\":\"SummaryResourceProperties\",\"provisioningState\":\"Extracting\"},\"id\":\"cvkcvqvpkeqdcv\",\"name\":\"rhvoods\",\"type\":\"tbobz\"},{\"properties\":{\"summaryType\":\"SummaryResourceProperties\",\"provisioningState\":\"Pending\"},\"id\":\"wvnhdldwmgx\",\"name\":\"xrslpm\",\"type\":\"twuoegrpkhjwni\"},{\"properties\":{\"summaryType\":\"SummaryResourceProperties\",\"provisioningState\":\"Canceled\"},\"id\":\"i\",\"name\":\"pdggkzzlvm\",\"type\":\"mpaxmodfvuefywsb\"}],\"nextLink\":\"vmwy\"}")
.toObject(SummaryResourceListResult.class);
- Assertions.assertEquals("exrmcqibycnojvk", model.nextLink());
+ Assertions.assertEquals("vmwy", model.nextLink());
}
}
diff --git a/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/test/java/com/azure/resourcemanager/iotfirmwaredefense/generated/SummaryResourcePropertiesTests.java b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/test/java/com/azure/resourcemanager/iotfirmwaredefense/generated/SummaryResourcePropertiesTests.java
index 04a9432fdc3f..1b2eb5b8474b 100644
--- a/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/test/java/com/azure/resourcemanager/iotfirmwaredefense/generated/SummaryResourcePropertiesTests.java
+++ b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/test/java/com/azure/resourcemanager/iotfirmwaredefense/generated/SummaryResourcePropertiesTests.java
@@ -11,7 +11,7 @@ public final class SummaryResourcePropertiesTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
SummaryResourceProperties model = BinaryData
- .fromString("{\"summaryType\":\"SummaryResourceProperties\",\"provisioningState\":\"Extracting\"}")
+ .fromString("{\"summaryType\":\"SummaryResourceProperties\",\"provisioningState\":\"Succeeded\"}")
.toObject(SummaryResourceProperties.class);
}
}
diff --git a/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/test/java/com/azure/resourcemanager/iotfirmwaredefense/generated/UnsafeFunctionCallsListByFirmwareMockTests.java b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/test/java/com/azure/resourcemanager/iotfirmwaredefense/generated/UnsafeFunctionCallsListByFirmwareMockTests.java
new file mode 100644
index 000000000000..996948b015bc
--- /dev/null
+++ b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/test/java/com/azure/resourcemanager/iotfirmwaredefense/generated/UnsafeFunctionCallsListByFirmwareMockTests.java
@@ -0,0 +1,46 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.iotfirmwaredefense.generated;
+
+import com.azure.core.credential.AccessToken;
+import com.azure.core.http.HttpClient;
+import com.azure.core.http.rest.PagedIterable;
+import com.azure.core.management.profile.AzureProfile;
+import com.azure.core.models.AzureCloud;
+import com.azure.core.test.http.MockHttpResponse;
+import com.azure.resourcemanager.iotfirmwaredefense.IoTFirmwareDefenseManager;
+import com.azure.resourcemanager.iotfirmwaredefense.models.UnsafeFunctionCallsResource;
+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 UnsafeFunctionCallsListByFirmwareMockTests {
+ @Test
+ public void testListByFirmware() throws Exception {
+ String responseStr
+ = "{\"value\":[{\"properties\":{\"fileName\":\"kmcwaekrrjreafx\",\"filePath\":\"gumhjglikkxws\",\"unsafeFunctionCalls\":[{\"functionName\":\"bq\",\"count\":5257661976935925415},{\"functionName\":\"zlmvfelfktgp\",\"count\":4113846236467073097},{\"functionName\":\"pwjxezn\",\"count\":7588777355425280777},{\"functionName\":\"brnjwmw\",\"count\":2107599618781521807}],\"totalUnsafeCallCount\":2791971078148352021,\"totalNetworkCallCount\":7475026912824042888,\"provisioningState\":\"Pending\"},\"id\":\"kagfhsxtt\",\"name\":\"ugzxnf\",\"type\":\"azpxdtnkdmkqjjl\"}]}";
+
+ HttpClient httpClient
+ = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
+ IoTFirmwareDefenseManager manager = IoTFirmwareDefenseManager.configure()
+ .withHttpClient(httpClient)
+ .authenticate(tokenRequestContext -> Mono.just(new AccessToken("this_is_a_token", OffsetDateTime.MAX)),
+ new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD));
+
+ PagedIterable response
+ = manager.unsafeFunctionCalls().listByFirmware("y", "s", "ronzmyhgfip", com.azure.core.util.Context.NONE);
+
+ Assertions.assertEquals("kmcwaekrrjreafx", response.iterator().next().properties().fileName());
+ Assertions.assertEquals("gumhjglikkxws", response.iterator().next().properties().filePath());
+ Assertions.assertEquals("bq",
+ response.iterator().next().properties().unsafeFunctionCalls().get(0).functionName());
+ Assertions.assertEquals(5257661976935925415L,
+ response.iterator().next().properties().unsafeFunctionCalls().get(0).count());
+ Assertions.assertEquals(2791971078148352021L, response.iterator().next().properties().totalUnsafeCallCount());
+ Assertions.assertEquals(7475026912824042888L, response.iterator().next().properties().totalNetworkCallCount());
+ }
+}
diff --git a/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/test/java/com/azure/resourcemanager/iotfirmwaredefense/generated/UnsafeFunctionCallsResourceInnerTests.java b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/test/java/com/azure/resourcemanager/iotfirmwaredefense/generated/UnsafeFunctionCallsResourceInnerTests.java
new file mode 100644
index 000000000000..95b33d3bf454
--- /dev/null
+++ b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/test/java/com/azure/resourcemanager/iotfirmwaredefense/generated/UnsafeFunctionCallsResourceInnerTests.java
@@ -0,0 +1,24 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.iotfirmwaredefense.generated;
+
+import com.azure.core.util.BinaryData;
+import com.azure.resourcemanager.iotfirmwaredefense.fluent.models.UnsafeFunctionCallsResourceInner;
+import org.junit.jupiter.api.Assertions;
+
+public final class UnsafeFunctionCallsResourceInnerTests {
+ @org.junit.jupiter.api.Test
+ public void testDeserialize() throws Exception {
+ UnsafeFunctionCallsResourceInner model = BinaryData.fromString(
+ "{\"properties\":{\"fileName\":\"yatrwy\",\"filePath\":\"mibzyhwitsmypyyn\",\"unsafeFunctionCalls\":[{\"functionName\":\"pumnz\",\"count\":4287611654348954436},{\"functionName\":\"z\",\"count\":6201567455513420761},{\"functionName\":\"biknsorgjhxbld\",\"count\":5010497086451999823}],\"totalUnsafeCallCount\":6465269091452268459,\"totalNetworkCallCount\":5164469784309037154,\"provisioningState\":\"Failed\"},\"id\":\"vokotllxdyh\",\"name\":\"syocogjltdtbnnha\",\"type\":\"oocrkvcikhnv\"}")
+ .toObject(UnsafeFunctionCallsResourceInner.class);
+ Assertions.assertEquals("yatrwy", model.properties().fileName());
+ Assertions.assertEquals("mibzyhwitsmypyyn", model.properties().filePath());
+ Assertions.assertEquals("pumnz", model.properties().unsafeFunctionCalls().get(0).functionName());
+ Assertions.assertEquals(4287611654348954436L, model.properties().unsafeFunctionCalls().get(0).count());
+ Assertions.assertEquals(6465269091452268459L, model.properties().totalUnsafeCallCount());
+ Assertions.assertEquals(5164469784309037154L, model.properties().totalNetworkCallCount());
+ }
+}
diff --git a/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/test/java/com/azure/resourcemanager/iotfirmwaredefense/generated/UnsafeFunctionCallsResourceListResultTests.java b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/test/java/com/azure/resourcemanager/iotfirmwaredefense/generated/UnsafeFunctionCallsResourceListResultTests.java
new file mode 100644
index 000000000000..45e029a26562
--- /dev/null
+++ b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/test/java/com/azure/resourcemanager/iotfirmwaredefense/generated/UnsafeFunctionCallsResourceListResultTests.java
@@ -0,0 +1,27 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.iotfirmwaredefense.generated;
+
+import com.azure.core.util.BinaryData;
+import com.azure.resourcemanager.iotfirmwaredefense.implementation.models.UnsafeFunctionCallsResourceListResult;
+import org.junit.jupiter.api.Assertions;
+
+public final class UnsafeFunctionCallsResourceListResultTests {
+ @org.junit.jupiter.api.Test
+ public void testDeserialize() throws Exception {
+ UnsafeFunctionCallsResourceListResult model = BinaryData.fromString(
+ "{\"value\":[{\"properties\":{\"fileName\":\"hwflu\",\"filePath\":\"dtmhrkwofyyvoqa\",\"unsafeFunctionCalls\":[{\"functionName\":\"expbtg\",\"count\":4540666018291396484},{\"functionName\":\"wo\",\"count\":9041165437785220318},{\"functionName\":\"ashrt\",\"count\":9149907061758969702}],\"totalUnsafeCallCount\":6553380675095809006,\"totalNetworkCallCount\":8545363856594134553,\"provisioningState\":\"Pending\"},\"id\":\"ulpiuj\",\"name\":\"aasipqi\",\"type\":\"obyu\"},{\"properties\":{\"fileName\":\"pqlpq\",\"filePath\":\"ciuqgbdb\",\"unsafeFunctionCalls\":[{\"functionName\":\"uvfbtkuwh\",\"count\":6118466794604247060},{\"functionName\":\"ykojoxafnndlpic\",\"count\":7042197231037180697},{\"functionName\":\"ymkcdyhb\",\"count\":5424299492153823992},{\"functionName\":\"pwdreqnovvqf\",\"count\":8526417198675254199}],\"totalUnsafeCallCount\":7634939329767832498,\"totalNetworkCallCount\":1933870116168073993,\"provisioningState\":\"Extracting\"},\"id\":\"rsndsytgadgvra\",\"name\":\"aeneqnzarrwl\",\"type\":\"uu\"},{\"properties\":{\"fileName\":\"qkacewii\",\"filePath\":\"pubjibw\",\"unsafeFunctionCalls\":[{\"functionName\":\"tohqkvpuvksgp\",\"count\":2213751776230831712}],\"totalUnsafeCallCount\":5337598632696999903,\"totalNetworkCallCount\":3402828126111711911,\"provisioningState\":\"Canceled\"},\"id\":\"jphuopxodlqi\",\"name\":\"ntorzihleosjswsr\",\"type\":\"slyzrpzbchckqq\"}],\"nextLink\":\"ioxiysuiizyn\"}")
+ .toObject(UnsafeFunctionCallsResourceListResult.class);
+ Assertions.assertEquals("hwflu", model.value().get(0).properties().fileName());
+ Assertions.assertEquals("dtmhrkwofyyvoqa", model.value().get(0).properties().filePath());
+ Assertions.assertEquals("expbtg",
+ model.value().get(0).properties().unsafeFunctionCalls().get(0).functionName());
+ Assertions.assertEquals(4540666018291396484L,
+ model.value().get(0).properties().unsafeFunctionCalls().get(0).count());
+ Assertions.assertEquals(6553380675095809006L, model.value().get(0).properties().totalUnsafeCallCount());
+ Assertions.assertEquals(8545363856594134553L, model.value().get(0).properties().totalNetworkCallCount());
+ Assertions.assertEquals("ioxiysuiizyn", model.nextLink());
+ }
+}
diff --git a/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/test/java/com/azure/resourcemanager/iotfirmwaredefense/generated/UnsafeFunctionCallsResultTests.java b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/test/java/com/azure/resourcemanager/iotfirmwaredefense/generated/UnsafeFunctionCallsResultTests.java
new file mode 100644
index 000000000000..de2808f8821e
--- /dev/null
+++ b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/test/java/com/azure/resourcemanager/iotfirmwaredefense/generated/UnsafeFunctionCallsResultTests.java
@@ -0,0 +1,24 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.iotfirmwaredefense.generated;
+
+import com.azure.core.util.BinaryData;
+import com.azure.resourcemanager.iotfirmwaredefense.models.UnsafeFunctionCallsResult;
+import org.junit.jupiter.api.Assertions;
+
+public final class UnsafeFunctionCallsResultTests {
+ @org.junit.jupiter.api.Test
+ public void testDeserialize() throws Exception {
+ UnsafeFunctionCallsResult model = BinaryData.fromString(
+ "{\"fileName\":\"mqg\",\"filePath\":\"queziky\",\"unsafeFunctionCalls\":[{\"functionName\":\"xkalla\",\"count\":3546472897541130769}],\"totalUnsafeCallCount\":5796358058175213416,\"totalNetworkCallCount\":3900047479392463058,\"provisioningState\":\"Extracting\"}")
+ .toObject(UnsafeFunctionCallsResult.class);
+ Assertions.assertEquals("mqg", model.fileName());
+ Assertions.assertEquals("queziky", model.filePath());
+ Assertions.assertEquals("xkalla", model.unsafeFunctionCalls().get(0).functionName());
+ Assertions.assertEquals(3546472897541130769L, model.unsafeFunctionCalls().get(0).count());
+ Assertions.assertEquals(5796358058175213416L, model.totalUnsafeCallCount());
+ Assertions.assertEquals(3900047479392463058L, model.totalNetworkCallCount());
+ }
+}
diff --git a/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/test/java/com/azure/resourcemanager/iotfirmwaredefense/generated/UnsafeFunctionCallsSummaryResourceTests.java b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/test/java/com/azure/resourcemanager/iotfirmwaredefense/generated/UnsafeFunctionCallsSummaryResourceTests.java
new file mode 100644
index 000000000000..7a915657b4fd
--- /dev/null
+++ b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/test/java/com/azure/resourcemanager/iotfirmwaredefense/generated/UnsafeFunctionCallsSummaryResourceTests.java
@@ -0,0 +1,23 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.iotfirmwaredefense.generated;
+
+import com.azure.core.util.BinaryData;
+import com.azure.resourcemanager.iotfirmwaredefense.models.UnsafeFunctionCallsSummaryResource;
+import org.junit.jupiter.api.Assertions;
+
+public final class UnsafeFunctionCallsSummaryResourceTests {
+ @org.junit.jupiter.api.Test
+ public void testDeserialize() throws Exception {
+ UnsafeFunctionCallsSummaryResource model = BinaryData.fromString(
+ "{\"summaryType\":\"UnsafeFunctionCalls\",\"totalFileCount\":8223750660917060648,\"totalUnsafeCallCount\":8486438671495128315,\"totalNetworkCallCount\":1134026374959990041,\"unsafeCallTotals\":[{\"functionName\":\"wkfvhqcrailvp\",\"count\":6001857334849017698},{\"functionName\":\"fuflrwdmhdlx\",\"count\":3801840058654544074},{\"functionName\":\"xsaga\",\"count\":9162325256105339144}],\"provisioningState\":\"Succeeded\"}")
+ .toObject(UnsafeFunctionCallsSummaryResource.class);
+ Assertions.assertEquals(8223750660917060648L, model.totalFileCount());
+ Assertions.assertEquals(8486438671495128315L, model.totalUnsafeCallCount());
+ Assertions.assertEquals(1134026374959990041L, model.totalNetworkCallCount());
+ Assertions.assertEquals("wkfvhqcrailvp", model.unsafeCallTotals().get(0).functionName());
+ Assertions.assertEquals(6001857334849017698L, model.unsafeCallTotals().get(0).count());
+ }
+}
diff --git a/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/test/java/com/azure/resourcemanager/iotfirmwaredefense/generated/UsageMetricInnerTests.java b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/test/java/com/azure/resourcemanager/iotfirmwaredefense/generated/UsageMetricInnerTests.java
index 3b290d5f3c62..abaf23d92a1b 100644
--- a/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/test/java/com/azure/resourcemanager/iotfirmwaredefense/generated/UsageMetricInnerTests.java
+++ b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/test/java/com/azure/resourcemanager/iotfirmwaredefense/generated/UsageMetricInnerTests.java
@@ -11,7 +11,7 @@ public final class UsageMetricInnerTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
UsageMetricInner model = BinaryData.fromString(
- "{\"properties\":{\"monthlyFirmwareUploadCount\":35726863806871709,\"totalFirmwareCount\":1560146384184244309,\"provisioningState\":\"Succeeded\"},\"id\":\"ah\",\"name\":\"pjyzhpv\",\"type\":\"qzcjrvxdj\"}")
+ "{\"properties\":{\"monthlyFirmwareUploadCount\":5745486884853604754,\"totalFirmwareCount\":5310362210667414821,\"provisioningState\":\"Failed\"},\"id\":\"akcp\",\"name\":\"iyzvqtmnub\",\"type\":\"xkp\"}")
.toObject(UsageMetricInner.class);
}
}
diff --git a/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/test/java/com/azure/resourcemanager/iotfirmwaredefense/generated/UsageMetricListResultTests.java b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/test/java/com/azure/resourcemanager/iotfirmwaredefense/generated/UsageMetricListResultTests.java
index 9d7f5c0ec318..7747bb3c4553 100644
--- a/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/test/java/com/azure/resourcemanager/iotfirmwaredefense/generated/UsageMetricListResultTests.java
+++ b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/test/java/com/azure/resourcemanager/iotfirmwaredefense/generated/UsageMetricListResultTests.java
@@ -12,8 +12,8 @@ public final class UsageMetricListResultTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
UsageMetricListResult model = BinaryData.fromString(
- "{\"value\":[{\"properties\":{\"monthlyFirmwareUploadCount\":8451132931226635993,\"totalFirmwareCount\":6340547465391917507,\"provisioningState\":\"Canceled\"},\"id\":\"wjvzunluthnn\",\"name\":\"rnxipei\",\"type\":\"pjzu\"}],\"nextLink\":\"jxdultskzbbtdzu\"}")
+ "{\"value\":[{\"properties\":{\"monthlyFirmwareUploadCount\":4327896689449869677,\"totalFirmwareCount\":2698439393081810654,\"provisioningState\":\"Extracting\"},\"id\":\"mg\",\"name\":\"opkwhojv\",\"type\":\"ajqgxy\"},{\"properties\":{\"monthlyFirmwareUploadCount\":7500274521983784453,\"totalFirmwareCount\":8191946554711009380,\"provisioningState\":\"Canceled\"},\"id\":\"vmkcx\",\"name\":\"zapvhelx\",\"type\":\"rgly\"},{\"properties\":{\"monthlyFirmwareUploadCount\":1729923694834862702,\"totalFirmwareCount\":3729632374595732416,\"provisioningState\":\"Canceled\"},\"id\":\"uejrjxgc\",\"name\":\"qibrhosxsdqrhzoy\",\"type\":\"i\"}],\"nextLink\":\"rq\"}")
.toObject(UsageMetricListResult.class);
- Assertions.assertEquals("jxdultskzbbtdzu", model.nextLink());
+ Assertions.assertEquals("rq", model.nextLink());
}
}
diff --git a/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/test/java/com/azure/resourcemanager/iotfirmwaredefense/generated/UsageMetricPropertiesTests.java b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/test/java/com/azure/resourcemanager/iotfirmwaredefense/generated/UsageMetricPropertiesTests.java
index 541b75897d80..afcc663d7c62 100644
--- a/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/test/java/com/azure/resourcemanager/iotfirmwaredefense/generated/UsageMetricPropertiesTests.java
+++ b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/test/java/com/azure/resourcemanager/iotfirmwaredefense/generated/UsageMetricPropertiesTests.java
@@ -11,7 +11,7 @@ public final class UsageMetricPropertiesTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
UsageMetricProperties model = BinaryData.fromString(
- "{\"monthlyFirmwareUploadCount\":5187964781233598590,\"totalFirmwareCount\":6071942572000377997,\"provisioningState\":\"Analyzing\"}")
+ "{\"monthlyFirmwareUploadCount\":6799001413428276597,\"totalFirmwareCount\":4236701346011139908,\"provisioningState\":\"Pending\"}")
.toObject(UsageMetricProperties.class);
}
}
diff --git a/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/test/java/com/azure/resourcemanager/iotfirmwaredefense/generated/UsageMetricsGetWithResponseMockTests.java b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/test/java/com/azure/resourcemanager/iotfirmwaredefense/generated/UsageMetricsGetWithResponseMockTests.java
index ebdfacc20dd8..11ef104a290c 100644
--- a/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/test/java/com/azure/resourcemanager/iotfirmwaredefense/generated/UsageMetricsGetWithResponseMockTests.java
+++ b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/test/java/com/azure/resourcemanager/iotfirmwaredefense/generated/UsageMetricsGetWithResponseMockTests.java
@@ -20,7 +20,7 @@ public final class UsageMetricsGetWithResponseMockTests {
@Test
public void testGetWithResponse() throws Exception {
String responseStr
- = "{\"properties\":{\"monthlyFirmwareUploadCount\":1349349327808665603,\"totalFirmwareCount\":2758860525004415394,\"provisioningState\":\"Extracting\"},\"id\":\"ofwq\",\"name\":\"zqalkrmnjijpx\",\"type\":\"cqqudf\"}";
+ = "{\"properties\":{\"monthlyFirmwareUploadCount\":7791829863251083462,\"totalFirmwareCount\":5424244248696838673,\"provisioningState\":\"Failed\"},\"id\":\"mhrixkwmyijejve\",\"name\":\"rh\",\"type\":\"pna\"}";
HttpClient httpClient
= response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
@@ -29,9 +29,8 @@ public void testGetWithResponse() throws Exception {
.authenticate(tokenRequestContext -> Mono.just(new AccessToken("this_is_a_token", OffsetDateTime.MAX)),
new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD));
- UsageMetric response = manager.usageMetrics()
- .getWithResponse("duhpk", "kgymareqnajxqug", "hky", com.azure.core.util.Context.NONE)
- .getValue();
+ UsageMetric response
+ = manager.usageMetrics().getWithResponse("wz", "bnhlmc", "l", com.azure.core.util.Context.NONE).getValue();
}
}
diff --git a/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/test/java/com/azure/resourcemanager/iotfirmwaredefense/generated/UsageMetricsListByWorkspaceMockTests.java b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/test/java/com/azure/resourcemanager/iotfirmwaredefense/generated/UsageMetricsListByWorkspaceMockTests.java
index bddde27a1bef..d66c5c92cf21 100644
--- a/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/test/java/com/azure/resourcemanager/iotfirmwaredefense/generated/UsageMetricsListByWorkspaceMockTests.java
+++ b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/test/java/com/azure/resourcemanager/iotfirmwaredefense/generated/UsageMetricsListByWorkspaceMockTests.java
@@ -21,7 +21,7 @@ public final class UsageMetricsListByWorkspaceMockTests {
@Test
public void testListByWorkspace() throws Exception {
String responseStr
- = "{\"value\":[{\"properties\":{\"monthlyFirmwareUploadCount\":8341703790132949746,\"totalFirmwareCount\":4327719867716518141,\"provisioningState\":\"Extracting\"},\"id\":\"sexnevfdnw\",\"name\":\"wmewzsyy\",\"type\":\"euzsoi\"}]}";
+ = "{\"value\":[{\"properties\":{\"monthlyFirmwareUploadCount\":882899193030330530,\"totalFirmwareCount\":7555109980359143051,\"provisioningState\":\"Pending\"},\"id\":\"cxzbfvoowvr\",\"name\":\"mtg\",\"type\":\"qp\"}]}";
HttpClient httpClient
= response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
@@ -30,8 +30,8 @@ public void testListByWorkspace() throws Exception {
.authenticate(tokenRequestContext -> Mono.just(new AccessToken("this_is_a_token", OffsetDateTime.MAX)),
new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD));
- PagedIterable response
- = manager.usageMetrics().listByWorkspace("byxbaaabjy", "ayffim", com.azure.core.util.Context.NONE);
+ PagedIterable response = manager.usageMetrics()
+ .listByWorkspace("xexccbdreaxhcexd", "rvqahqkghtpwi", com.azure.core.util.Context.NONE);
}
}
diff --git a/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/test/java/com/azure/resourcemanager/iotfirmwaredefense/generated/WorkspacesCreateWithResponseMockTests.java b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/test/java/com/azure/resourcemanager/iotfirmwaredefense/generated/WorkspacesCreateWithResponseMockTests.java
index d93778e172ca..8770acc68280 100644
--- a/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/test/java/com/azure/resourcemanager/iotfirmwaredefense/generated/WorkspacesCreateWithResponseMockTests.java
+++ b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/test/java/com/azure/resourcemanager/iotfirmwaredefense/generated/WorkspacesCreateWithResponseMockTests.java
@@ -25,7 +25,7 @@ public final class WorkspacesCreateWithResponseMockTests {
@Test
public void testCreateWithResponse() throws Exception {
String responseStr
- = "{\"properties\":{\"provisioningState\":\"Failed\"},\"sku\":{\"name\":\"hfwdsjnkaljutiis\",\"tier\":\"Standard\",\"size\":\"fgdkzzew\",\"family\":\"vhqcrail\",\"capacity\":70247298},\"location\":\"pfuflrw\",\"tags\":{\"gafcnihgwqapnedg\":\"dlxyjrxs\",\"cvdrhvoodsot\":\"bcvkcvqvpkeq\",\"wmgxcxrsl\":\"obzdopcjwvnhdl\",\"rpkhjwn\":\"mutwuoe\"},\"id\":\"yqsluic\",\"name\":\"dggkzzlvmbmpa\",\"type\":\"modfvuefywsbpfvm\"}";
+ = "{\"properties\":{\"provisioningState\":\"Succeeded\"},\"sku\":{\"name\":\"vexztvbtqgs\",\"tier\":\"Basic\",\"size\":\"yzkoowtlmngu\",\"family\":\"wqaldsyu\",\"capacity\":1074129183},\"location\":\"erqf\",\"tags\":{\"utwpfhp\":\"yznkby\",\"tdlmkkzevd\":\"gmhrskdsnfdsdoak\",\"gvbbejdcng\":\"hewpusdsttwv\"},\"id\":\"qmoa\",\"name\":\"ufgmjzrwrdg\",\"type\":\"twaenuuzko\"}";
HttpClient httpClient
= response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
@@ -35,24 +35,25 @@ public void testCreateWithResponse() throws Exception {
new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD));
Workspace response = manager.workspaces()
- .define("tmuwlauwzi")
- .withRegion("xe")
- .withExistingResourceGroup("l")
- .withTags(mapOf("glkfg", "zbtbhj", "dyhtozfikdowwquu", "hdneuelfph"))
- .withSku(new Sku().withName("gcj")
- .withTier(SkuTier.FREE)
- .withSize("muvp")
- .withFamily("tdum")
- .withCapacity(95905507))
+ .define("a")
+ .withRegion("rvtp")
+ .withExistingResourceGroup("dsg")
+ .withTags(mapOf("ndo", "jmqlgkfb", "jitcjedftwwaez", "ongbjcnt", "i", "ojvdcpzfoqo", "oxciqopidoamcio",
+ "ybxarzgszu"))
+ .withSku(new Sku().withName("grauwjuetaebur")
+ .withTier(SkuTier.BASIC)
+ .withSize("ovsm")
+ .withFamily("xwabmqoe")
+ .withCapacity(1641212216))
.create();
- Assertions.assertEquals("pfuflrw", response.location());
- Assertions.assertEquals("dlxyjrxs", response.tags().get("gafcnihgwqapnedg"));
- Assertions.assertEquals("hfwdsjnkaljutiis", response.sku().name());
- Assertions.assertEquals(SkuTier.STANDARD, response.sku().tier());
- Assertions.assertEquals("fgdkzzew", response.sku().size());
- Assertions.assertEquals("vhqcrail", response.sku().family());
- Assertions.assertEquals(70247298, response.sku().capacity());
+ Assertions.assertEquals("erqf", response.location());
+ Assertions.assertEquals("yznkby", response.tags().get("utwpfhp"));
+ Assertions.assertEquals("vexztvbtqgs", response.sku().name());
+ Assertions.assertEquals(SkuTier.BASIC, response.sku().tier());
+ Assertions.assertEquals("yzkoowtlmngu", response.sku().size());
+ Assertions.assertEquals("wqaldsyu", response.sku().family());
+ Assertions.assertEquals(1074129183, response.sku().capacity());
}
// Use "Map.of" if available
diff --git a/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/test/java/com/azure/resourcemanager/iotfirmwaredefense/generated/WorkspacesGenerateUploadUrlWithResponseMockTests.java b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/test/java/com/azure/resourcemanager/iotfirmwaredefense/generated/WorkspacesGenerateUploadUrlWithResponseMockTests.java
index 29447a8df9f6..a7612a7bfff3 100644
--- a/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/test/java/com/azure/resourcemanager/iotfirmwaredefense/generated/WorkspacesGenerateUploadUrlWithResponseMockTests.java
+++ b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/test/java/com/azure/resourcemanager/iotfirmwaredefense/generated/WorkspacesGenerateUploadUrlWithResponseMockTests.java
@@ -20,7 +20,7 @@
public final class WorkspacesGenerateUploadUrlWithResponseMockTests {
@Test
public void testGenerateUploadUrlWithResponse() throws Exception {
- String responseStr = "{\"url\":\"q\"}";
+ String responseStr = "{\"url\":\"tor\"}";
HttpClient httpClient
= response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
@@ -30,8 +30,8 @@ public void testGenerateUploadUrlWithResponse() throws Exception {
new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD));
UrlToken response = manager.workspaces()
- .generateUploadUrlWithResponse("bxmubyynt", "lrb",
- new GenerateUploadUrlRequest().withFirmwareId("koievseo"), com.azure.core.util.Context.NONE)
+ .generateUploadUrlWithResponse("vkg", "u", new GenerateUploadUrlRequest().withFirmwareId("dknnqvsazn"),
+ com.azure.core.util.Context.NONE)
.getValue();
}
diff --git a/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/test/java/com/azure/resourcemanager/iotfirmwaredefense/generated/WorkspacesGetByResourceGroupWithResponseMockTests.java b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/test/java/com/azure/resourcemanager/iotfirmwaredefense/generated/WorkspacesGetByResourceGroupWithResponseMockTests.java
index 8fcc8080d819..fa2382b918f9 100644
--- a/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/test/java/com/azure/resourcemanager/iotfirmwaredefense/generated/WorkspacesGetByResourceGroupWithResponseMockTests.java
+++ b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/test/java/com/azure/resourcemanager/iotfirmwaredefense/generated/WorkspacesGetByResourceGroupWithResponseMockTests.java
@@ -22,7 +22,7 @@ public final class WorkspacesGetByResourceGroupWithResponseMockTests {
@Test
public void testGetByResourceGroupWithResponse() throws Exception {
String responseStr
- = "{\"properties\":{\"provisioningState\":\"Analyzing\"},\"sku\":{\"name\":\"rxbpyb\",\"tier\":\"Premium\",\"size\":\"jfdtwssotftpvj\",\"family\":\"exilzznfqqnvwpmq\",\"capacity\":1628769376},\"location\":\"oujmkcjhwqytj\",\"tags\":{\"jewgdrjerv\":\"n\"},\"id\":\"aen\",\"name\":\"pehindoygm\",\"type\":\"fthnzdn\"}";
+ = "{\"properties\":{\"provisioningState\":\"Succeeded\"},\"sku\":{\"name\":\"dnw\",\"tier\":\"Basic\",\"size\":\"wzsyyceuzs\",\"family\":\"bjudpfrxtrthzv\",\"capacity\":1946200201},\"location\":\"wkqbrqu\",\"tags\":{\"r\":\"xhexiilivpdti\",\"yfxrx\":\"tdqoaxoruzfgsq\",\"ptramxj\":\"l\"},\"id\":\"zwl\",\"name\":\"nwxuqlcvydyp\",\"type\":\"tdooaoj\"}";
HttpClient httpClient
= response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
@@ -32,15 +32,15 @@ public void testGetByResourceGroupWithResponse() throws Exception {
new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD));
Workspace response = manager.workspaces()
- .getByResourceGroupWithResponse("bfovasrruvwbhsq", "sub", com.azure.core.util.Context.NONE)
+ .getByResourceGroupWithResponse("vayffimrzrt", "zqogse", com.azure.core.util.Context.NONE)
.getValue();
- Assertions.assertEquals("oujmkcjhwqytj", response.location());
- Assertions.assertEquals("n", response.tags().get("jewgdrjerv"));
- Assertions.assertEquals("rxbpyb", response.sku().name());
- Assertions.assertEquals(SkuTier.PREMIUM, response.sku().tier());
- Assertions.assertEquals("jfdtwssotftpvj", response.sku().size());
- Assertions.assertEquals("exilzznfqqnvwpmq", response.sku().family());
- Assertions.assertEquals(1628769376, response.sku().capacity());
+ Assertions.assertEquals("wkqbrqu", response.location());
+ Assertions.assertEquals("xhexiilivpdti", response.tags().get("r"));
+ Assertions.assertEquals("dnw", response.sku().name());
+ Assertions.assertEquals(SkuTier.BASIC, response.sku().tier());
+ Assertions.assertEquals("wzsyyceuzs", response.sku().size());
+ Assertions.assertEquals("bjudpfrxtrthzv", response.sku().family());
+ Assertions.assertEquals(1946200201, response.sku().capacity());
}
}
diff --git a/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/test/java/com/azure/resourcemanager/iotfirmwaredefense/generated/WorkspacesListByResourceGroupMockTests.java b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/test/java/com/azure/resourcemanager/iotfirmwaredefense/generated/WorkspacesListByResourceGroupMockTests.java
index a027c64c1e33..08d6fde0f817 100644
--- a/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/test/java/com/azure/resourcemanager/iotfirmwaredefense/generated/WorkspacesListByResourceGroupMockTests.java
+++ b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/test/java/com/azure/resourcemanager/iotfirmwaredefense/generated/WorkspacesListByResourceGroupMockTests.java
@@ -23,7 +23,7 @@ public final class WorkspacesListByResourceGroupMockTests {
@Test
public void testListByResourceGroup() throws Exception {
String responseStr
- = "{\"value\":[{\"properties\":{\"provisioningState\":\"Succeeded\"},\"sku\":{\"name\":\"igynduhavhqlk\",\"tier\":\"Free\",\"size\":\"aqolbgycduiertg\",\"family\":\"y\",\"capacity\":1297199271},\"location\":\"l\",\"tags\":{\"dnbbglzps\":\"lqlfm\",\"adbzmnvdfznud\":\"iydmcwyhzdxs\",\"xzb\":\"od\"},\"id\":\"cblylpstdbhhxsr\",\"name\":\"dzu\",\"type\":\"erscdntne\"}]}";
+ = "{\"value\":[{\"properties\":{\"provisioningState\":\"Extracting\"},\"sku\":{\"name\":\"emmsbvdkc\",\"tier\":\"Basic\",\"size\":\"jinfw\",\"family\":\"fltkacjv\",\"capacity\":1511151002},\"location\":\"lfoakg\",\"tags\":{\"pulpqblylsyxk\":\"pagao\",\"zuempsbzkf\":\"jnsjervtiagxsd\",\"dxrbuukzcle\":\"beyvpnqicvinvkjj\"},\"id\":\"yhmlwpaztzp\",\"name\":\"fn\",\"type\":\"ckw\"}]}";
HttpClient httpClient
= response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
@@ -33,14 +33,14 @@ public void testListByResourceGroup() throws Exception {
new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD));
PagedIterable response
- = manager.workspaces().listByResourceGroup("sl", com.azure.core.util.Context.NONE);
+ = manager.workspaces().listByResourceGroup("niodkooeb", com.azure.core.util.Context.NONE);
- Assertions.assertEquals("l", response.iterator().next().location());
- Assertions.assertEquals("lqlfm", response.iterator().next().tags().get("dnbbglzps"));
- Assertions.assertEquals("igynduhavhqlk", response.iterator().next().sku().name());
- Assertions.assertEquals(SkuTier.FREE, response.iterator().next().sku().tier());
- Assertions.assertEquals("aqolbgycduiertg", response.iterator().next().sku().size());
- Assertions.assertEquals("y", response.iterator().next().sku().family());
- Assertions.assertEquals(1297199271, response.iterator().next().sku().capacity());
+ Assertions.assertEquals("lfoakg", response.iterator().next().location());
+ Assertions.assertEquals("pagao", response.iterator().next().tags().get("pulpqblylsyxk"));
+ Assertions.assertEquals("emmsbvdkc", response.iterator().next().sku().name());
+ Assertions.assertEquals(SkuTier.BASIC, response.iterator().next().sku().tier());
+ Assertions.assertEquals("jinfw", response.iterator().next().sku().size());
+ Assertions.assertEquals("fltkacjv", response.iterator().next().sku().family());
+ Assertions.assertEquals(1511151002, response.iterator().next().sku().capacity());
}
}
diff --git a/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/test/java/com/azure/resourcemanager/iotfirmwaredefense/generated/WorkspacesListMockTests.java b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/test/java/com/azure/resourcemanager/iotfirmwaredefense/generated/WorkspacesListMockTests.java
index ada63a0b5939..624ed5a0c9b1 100644
--- a/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/test/java/com/azure/resourcemanager/iotfirmwaredefense/generated/WorkspacesListMockTests.java
+++ b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/test/java/com/azure/resourcemanager/iotfirmwaredefense/generated/WorkspacesListMockTests.java
@@ -23,7 +23,7 @@ public final class WorkspacesListMockTests {
@Test
public void testList() throws Exception {
String responseStr
- = "{\"value\":[{\"properties\":{\"provisioningState\":\"Succeeded\"},\"sku\":{\"name\":\"mygtdssls\",\"tier\":\"Standard\",\"size\":\"eriofzpyqs\",\"family\":\"wab\",\"capacity\":334511461},\"location\":\"hhszh\",\"tags\":{\"nkww\":\"lvwiwubmwmbesl\",\"flcxoga\":\"pp\",\"mkqzeqqkdltfzxmh\":\"konzmnsik\",\"gureodkwobdag\":\"v\"},\"id\":\"tibqdxbxwakb\",\"name\":\"gqxndlkzgxhuripl\",\"type\":\"podxunkb\"}]}";
+ = "{\"value\":[{\"properties\":{\"provisioningState\":\"Analyzing\"},\"sku\":{\"name\":\"hxx\",\"tier\":\"Free\",\"size\":\"a\",\"family\":\"feqztppriol\",\"capacity\":621148688},\"location\":\"altol\",\"tags\":{\"dcfhucqdpf\":\"wsobqwcsdbn\",\"vxb\":\"vglsbjjca\",\"udutnco\":\"t\"},\"id\":\"mr\",\"name\":\"xqtvcofu\",\"type\":\"f\"}]}";
HttpClient httpClient
= response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
@@ -34,12 +34,12 @@ public void testList() throws Exception {
PagedIterable response = manager.workspaces().list(com.azure.core.util.Context.NONE);
- Assertions.assertEquals("hhszh", response.iterator().next().location());
- Assertions.assertEquals("lvwiwubmwmbesl", response.iterator().next().tags().get("nkww"));
- Assertions.assertEquals("mygtdssls", response.iterator().next().sku().name());
- Assertions.assertEquals(SkuTier.STANDARD, response.iterator().next().sku().tier());
- Assertions.assertEquals("eriofzpyqs", response.iterator().next().sku().size());
- Assertions.assertEquals("wab", response.iterator().next().sku().family());
- Assertions.assertEquals(334511461, response.iterator().next().sku().capacity());
+ Assertions.assertEquals("altol", response.iterator().next().location());
+ Assertions.assertEquals("wsobqwcsdbn", response.iterator().next().tags().get("dcfhucqdpf"));
+ Assertions.assertEquals("hxx", response.iterator().next().sku().name());
+ Assertions.assertEquals(SkuTier.FREE, response.iterator().next().sku().tier());
+ Assertions.assertEquals("a", response.iterator().next().sku().size());
+ Assertions.assertEquals("feqztppriol", response.iterator().next().sku().family());
+ Assertions.assertEquals(621148688, response.iterator().next().sku().capacity());
}
}
diff --git a/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/tsp-location.yaml b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/tsp-location.yaml
index aa5e42a345b4..1ea7aef0631e 100644
--- a/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/tsp-location.yaml
+++ b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/tsp-location.yaml
@@ -1,4 +1,4 @@
-directory: specification/fist/IotFirmwareDefense.Management
-commit: 05584a1019e75159b0dc70a6751afaa2c77868e6
+directory: specification/fist/resource-manager/Microsoft.IoTFirmwareDefense/IoTFirmwareDefense
+commit: 4362bdee9aba8de72a82c14063e3bd5f3e55c3bf
repo: Azure/azure-rest-api-specs
additionalDirectories: