diff --git a/sdk/security/azure-resourcemanager-security/CHANGELOG.md b/sdk/security/azure-resourcemanager-security/CHANGELOG.md
index 33b7843e8f5e..211d0236a9a0 100644
--- a/sdk/security/azure-resourcemanager-security/CHANGELOG.md
+++ b/sdk/security/azure-resourcemanager-security/CHANGELOG.md
@@ -1,7 +1,8 @@
# Release History
-## 1.0.0-beta.2 (Unreleased)
+## 1.0.0-beta.1 (2022-02-23)
+- Azure Resource Manager Security client library for Java. This package contains Microsoft Azure SDK for Security Management SDK. API spec for Microsoft.Security (Azure Security Center) resource provider. Package tag package-2022-03. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).
## 1.0.0-beta.1 (2021-07-14)
diff --git a/sdk/security/azure-resourcemanager-security/README.md b/sdk/security/azure-resourcemanager-security/README.md
index dae5056f7c71..4f76ebff9fc5 100644
--- a/sdk/security/azure-resourcemanager-security/README.md
+++ b/sdk/security/azure-resourcemanager-security/README.md
@@ -2,7 +2,7 @@
Azure Resource Manager Security client library for Java.
-This package contains Microsoft Azure SDK for Security Management SDK. API spec for Microsoft.Security (Azure Security Center) resource provider. Package tag package-composite-v3. 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 Security Management SDK. API spec for Microsoft.Security (Azure Security Center) resource provider. Package tag package-2022-03. 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-security
- 1.0.0-beta.1
+ 1.0.0-beta.2
```
[//]: # ({x-version-update-end})
diff --git a/sdk/security/azure-resourcemanager-security/SAMPLE.md b/sdk/security/azure-resourcemanager-security/SAMPLE.md
index 0fe03d7c6216..93cd33042378 100644
--- a/sdk/security/azure-resourcemanager-security/SAMPLE.md
+++ b/sdk/security/azure-resourcemanager-security/SAMPLE.md
@@ -1,360 +1,78 @@
# Code snippets and samples
-### AdaptiveApplicationControls
+## Pricings
+
+- [Get](#pricings_get)
+- [List](#pricings_list)
+- [Update](#pricings_update)
+### Pricings_Get
+
+```java
+import com.azure.core.util.Context;
+
+/** Samples for Pricings Get. */
+public final class PricingsGetSamples {
+ /*
+ * x-ms-original-file: specification/security/resource-manager/Microsoft.Security/stable/2022-03-01/examples/Pricings/GetPricingByName_example.json
+ */
+ /**
+ * Sample code: Get pricings on subscription.
+ *
+ * @param manager Entry point to SecurityManager.
+ */
+ public static void getPricingsOnSubscription(com.azure.resourcemanager.security.SecurityManager manager) {
+ manager.pricings().getWithResponse("VirtualMachines", Context.NONE);
+ }
+}
+```
+
+### Pricings_List
+
+```java
+import com.azure.core.util.Context;
+
+/** Samples for Pricings List. */
+public final class PricingsListSamples {
+ /*
+ * x-ms-original-file: specification/security/resource-manager/Microsoft.Security/stable/2022-03-01/examples/Pricings/ListPricings_example.json
+ */
+ /**
+ * Sample code: Get pricings on subscription.
+ *
+ * @param manager Entry point to SecurityManager.
+ */
+ public static void getPricingsOnSubscription(com.azure.resourcemanager.security.SecurityManager manager) {
+ manager.pricings().listWithResponse(Context.NONE);
+ }
+}
+```
+
+### Pricings_Update
+
+```java
+import com.azure.core.util.Context;
+import com.azure.resourcemanager.security.fluent.models.PricingInner;
+import com.azure.resourcemanager.security.models.PricingTier;
+
+/** Samples for Pricings Update. */
+public final class PricingsUpdateSamples {
+ /*
+ * x-ms-original-file: specification/security/resource-manager/Microsoft.Security/stable/2022-03-01/examples/Pricings/PutPricingByName_example.json
+ */
+ /**
+ * Sample code: Update pricing on subscription.
+ *
+ * @param manager Entry point to SecurityManager.
+ */
+ public static void updatePricingOnSubscription(com.azure.resourcemanager.security.SecurityManager manager) {
+ manager
+ .pricings()
+ .updateWithResponse(
+ "VirtualMachines",
+ new PricingInner().withPricingTier(PricingTier.STANDARD).withSubPlan("P2"),
+ Context.NONE);
+ }
+}
+```
-- [Delete](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/AdaptiveApplicationControlsDeleteSamples.java)
-- [Get](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/AdaptiveApplicationControlsGetSamples.java)
-- [List](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/AdaptiveApplicationControlsListSamples.java)
-- [Put](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/AdaptiveApplicationControlsPutSamples.java)
-
-### AdaptiveNetworkHardenings
-
-- [Enforce](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/AdaptiveNetworkHardeningsEnforceSamples.java)
-- [Get](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/AdaptiveNetworkHardeningsGetSamples.java)
-- [ListByExtendedResource](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/AdaptiveNetworkHardeningsListByExtendedResourceSamples.java)
-
-### AdvancedThreatProtection
-
-- [Create](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/AdvancedThreatProtectionCreateSamples.java)
-- [Get](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/AdvancedThreatProtectionGetSamples.java)
-
-### Alerts
-
-- [GetResourceGroupLevel](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/AlertsGetResourceGroupLevelSamples.java)
-- [GetSubscriptionLevel](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/AlertsGetSubscriptionLevelSamples.java)
-- [List](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/AlertsListSamples.java)
-- [ListByResourceGroup](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/AlertsListByResourceGroupSamples.java)
-- [ListResourceGroupLevelByRegion](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/AlertsListResourceGroupLevelByRegionSamples.java)
-- [ListSubscriptionLevelByRegion](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/AlertsListSubscriptionLevelByRegionSamples.java)
-- [Simulate](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/AlertsSimulateSamples.java)
-- [UpdateResourceGroupLevelStateToActivate](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/AlertsUpdateResourceGroupLevelStateToActivateSamples.java)
-- [UpdateResourceGroupLevelStateToDismiss](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/AlertsUpdateResourceGroupLevelStateToDismissSamples.java)
-- [UpdateResourceGroupLevelStateToResolve](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/AlertsUpdateResourceGroupLevelStateToResolveSamples.java)
-- [UpdateSubscriptionLevelStateToActivate](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/AlertsUpdateSubscriptionLevelStateToActivateSamples.java)
-- [UpdateSubscriptionLevelStateToDismiss](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/AlertsUpdateSubscriptionLevelStateToDismissSamples.java)
-- [UpdateSubscriptionLevelStateToResolve](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/AlertsUpdateSubscriptionLevelStateToResolveSamples.java)
-
-### AlertsSuppressionRules
-
-- [Delete](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/AlertsSuppressionRulesDeleteSamples.java)
-- [Get](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/AlertsSuppressionRulesGetSamples.java)
-- [List](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/AlertsSuppressionRulesListSamples.java)
-- [Update](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/AlertsSuppressionRulesUpdateSamples.java)
-
-### AllowedConnections
-
-- [Get](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/AllowedConnectionsGetSamples.java)
-- [List](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/AllowedConnectionsListSamples.java)
-- [ListByHomeRegion](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/AllowedConnectionsListByHomeRegionSamples.java)
-
-### Assessments
-
-- [CreateOrUpdate](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/AssessmentsCreateOrUpdateSamples.java)
-- [Delete](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/AssessmentsDeleteSamples.java)
-- [Get](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/AssessmentsGetSamples.java)
-- [List](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/AssessmentsListSamples.java)
-
-### AssessmentsMetadata
-
-- [CreateInSubscription](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/AssessmentsMetadataCreateInSubscriptionSamples.java)
-- [DeleteInSubscription](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/AssessmentsMetadataDeleteInSubscriptionSamples.java)
-- [Get](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/AssessmentsMetadataGetSamples.java)
-- [GetInSubscription](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/AssessmentsMetadataGetInSubscriptionSamples.java)
-- [List](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/AssessmentsMetadataListSamples.java)
-- [ListBySubscription](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/AssessmentsMetadataListBySubscriptionSamples.java)
-
-### AutoProvisioningSettings
-
-- [Create](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/AutoProvisioningSettingsCreateSamples.java)
-- [Get](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/AutoProvisioningSettingsGetSamples.java)
-- [List](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/AutoProvisioningSettingsListSamples.java)
-
-### Automations
-
-- [CreateOrUpdate](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/AutomationsCreateOrUpdateSamples.java)
-- [Delete](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/AutomationsDeleteSamples.java)
-- [GetByResourceGroup](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/AutomationsGetByResourceGroupSamples.java)
-- [List](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/AutomationsListSamples.java)
-- [ListByResourceGroup](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/AutomationsListByResourceGroupSamples.java)
-- [Validate](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/AutomationsValidateSamples.java)
-
-### ComplianceResults
-
-- [Get](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/ComplianceResultsGetSamples.java)
-- [List](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/ComplianceResultsListSamples.java)
-
-### Compliances
-
-- [Get](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/CompliancesGetSamples.java)
-- [List](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/CompliancesListSamples.java)
-
-### Connectors
-
-- [CreateOrUpdate](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/ConnectorsCreateOrUpdateSamples.java)
-- [Delete](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/ConnectorsDeleteSamples.java)
-- [Get](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/ConnectorsGetSamples.java)
-- [List](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/ConnectorsListSamples.java)
-
-### Device
-
-- [Get](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/DeviceGetSamples.java)
-
-### DeviceSecurityGroups
-
-- [CreateOrUpdate](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/DeviceSecurityGroupsCreateOrUpdateSamples.java)
-- [Delete](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/DeviceSecurityGroupsDeleteSamples.java)
-- [Get](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/DeviceSecurityGroupsGetSamples.java)
-- [List](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/DeviceSecurityGroupsListSamples.java)
-
-### DevicesForHub
-
-- [List](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/DevicesForHubListSamples.java)
-
-### DevicesForSubscription
-
-- [List](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/DevicesForSubscriptionListSamples.java)
-
-### DiscoveredSecuritySolutions
-
-- [Get](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/DiscoveredSecuritySolutionsGetSamples.java)
-- [List](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/DiscoveredSecuritySolutionsListSamples.java)
-- [ListByHomeRegion](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/DiscoveredSecuritySolutionsListByHomeRegionSamples.java)
-
-### ExternalSecuritySolutions
-
-- [Get](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/ExternalSecuritySolutionsGetSamples.java)
-- [List](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/ExternalSecuritySolutionsListSamples.java)
-- [ListByHomeRegion](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/ExternalSecuritySolutionsListByHomeRegionSamples.java)
-
-### InformationProtectionPolicies
-
-- [CreateOrUpdate](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/InformationProtectionPoliciesCreateOrUpdateSamples.java)
-- [Get](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/InformationProtectionPoliciesGetSamples.java)
-- [List](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/InformationProtectionPoliciesListSamples.java)
-
-### IngestionSettings
-
-- [Create](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/IngestionSettingsCreateSamples.java)
-- [Delete](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/IngestionSettingsDeleteSamples.java)
-- [Get](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/IngestionSettingsGetSamples.java)
-- [List](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/IngestionSettingsListSamples.java)
-- [ListConnectionStrings](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/IngestionSettingsListConnectionStringsSamples.java)
-- [ListTokens](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/IngestionSettingsListTokensSamples.java)
-
-### IotAlertTypes
-
-- [Get](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/IotAlertTypesGetSamples.java)
-- [List](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/IotAlertTypesListSamples.java)
-
-### IotAlerts
-
-- [Get](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/IotAlertsGetSamples.java)
-- [List](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/IotAlertsListSamples.java)
-
-### IotDefenderSettings
-
-- [CreateOrUpdate](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/IotDefenderSettingsCreateOrUpdateSamples.java)
-- [Delete](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/IotDefenderSettingsDeleteSamples.java)
-- [DownloadManagerActivation](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/IotDefenderSettingsDownloadManagerActivationSamples.java)
-- [Get](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/IotDefenderSettingsGetSamples.java)
-- [List](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/IotDefenderSettingsListSamples.java)
-- [PackageDownloads](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/IotDefenderSettingsPackageDownloadsSamples.java)
-
-### IotRecommendationTypes
-
-- [Get](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/IotRecommendationTypesGetSamples.java)
-- [List](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/IotRecommendationTypesListSamples.java)
-
-### IotRecommendations
-
-- [Get](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/IotRecommendationsGetSamples.java)
-- [List](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/IotRecommendationsListSamples.java)
-
-### IotSecuritySolution
-
-- [CreateOrUpdate](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/IotSecuritySolutionCreateOrUpdateSamples.java)
-- [Delete](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/IotSecuritySolutionDeleteSamples.java)
-- [GetByResourceGroup](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/IotSecuritySolutionGetByResourceGroupSamples.java)
-- [List](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/IotSecuritySolutionListSamples.java)
-- [ListByResourceGroup](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/IotSecuritySolutionListByResourceGroupSamples.java)
-- [Update](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/IotSecuritySolutionUpdateSamples.java)
-
-### IotSecuritySolutionAnalytics
-
-- [Get](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/IotSecuritySolutionAnalyticsGetSamples.java)
-- [List](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/IotSecuritySolutionAnalyticsListSamples.java)
-
-### IotSecuritySolutionsAnalyticsAggregatedAlert
-
-- [Dismiss](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/IotSecuritySolutionsAnalyticsAggregatedAlertDismissSamples.java)
-- [Get](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/IotSecuritySolutionsAnalyticsAggregatedAlertGetSamples.java)
-- [List](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/IotSecuritySolutionsAnalyticsAggregatedAlertListSamples.java)
-
-### IotSecuritySolutionsAnalyticsRecommendation
-
-- [Get](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/IotSecuritySolutionsAnalyticsRecommendationGetSamples.java)
-- [List](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/IotSecuritySolutionsAnalyticsRecommendationListSamples.java)
-
-### IotSensors
-
-- [CreateOrUpdate](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/IotSensorsCreateOrUpdateSamples.java)
-- [Delete](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/IotSensorsDeleteSamples.java)
-- [DownloadActivation](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/IotSensorsDownloadActivationSamples.java)
-- [DownloadResetPassword](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/IotSensorsDownloadResetPasswordSamples.java)
-- [Get](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/IotSensorsGetSamples.java)
-- [List](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/IotSensorsListSamples.java)
-- [TriggerTiPackageUpdate](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/IotSensorsTriggerTiPackageUpdateSamples.java)
-
-### IotSites
-
-- [CreateOrUpdate](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/IotSitesCreateOrUpdateSamples.java)
-- [Delete](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/IotSitesDeleteSamples.java)
-- [Get](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/IotSitesGetSamples.java)
-- [List](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/IotSitesListSamples.java)
-
-### JitNetworkAccessPolicies
-
-- [CreateOrUpdate](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/JitNetworkAccessPoliciesCreateOrUpdateSamples.java)
-- [Delete](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/JitNetworkAccessPoliciesDeleteSamples.java)
-- [Get](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/JitNetworkAccessPoliciesGetSamples.java)
-- [Initiate](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/JitNetworkAccessPoliciesInitiateSamples.java)
-- [List](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/JitNetworkAccessPoliciesListSamples.java)
-- [ListByRegion](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/JitNetworkAccessPoliciesListByRegionSamples.java)
-- [ListByResourceGroup](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/JitNetworkAccessPoliciesListByResourceGroupSamples.java)
-- [ListByResourceGroupAndRegion](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/JitNetworkAccessPoliciesListByResourceGroupAndRegionSamples.java)
-
-### Locations
-
-- [Get](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/LocationsGetSamples.java)
-- [List](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/LocationsListSamples.java)
-
-### OnPremiseIotSensors
-
-- [CreateOrUpdate](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/OnPremiseIotSensorsCreateOrUpdateSamples.java)
-- [Delete](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/OnPremiseIotSensorsDeleteSamples.java)
-- [DownloadActivation](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/OnPremiseIotSensorsDownloadActivationSamples.java)
-- [DownloadResetPassword](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/OnPremiseIotSensorsDownloadResetPasswordSamples.java)
-- [Get](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/OnPremiseIotSensorsGetSamples.java)
-- [List](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/OnPremiseIotSensorsListSamples.java)
-
-### Pricings
-
-- [Get](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/PricingsGetSamples.java)
-- [List](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/PricingsListSamples.java)
-- [Update](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/PricingsUpdateSamples.java)
-
-### RegulatoryComplianceAssessments
-
-- [Get](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/RegulatoryComplianceAssessmentsGetSamples.java)
-- [List](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/RegulatoryComplianceAssessmentsListSamples.java)
-
-### RegulatoryComplianceControls
-
-- [Get](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/RegulatoryComplianceControlsGetSamples.java)
-- [List](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/RegulatoryComplianceControlsListSamples.java)
-
-### RegulatoryComplianceStandards
-
-- [Get](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/RegulatoryComplianceStandardsGetSamples.java)
-- [List](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/RegulatoryComplianceStandardsListSamples.java)
-
-### SecureScoreControlDefinitions
-
-- [List](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/SecureScoreControlDefinitionsListSamples.java)
-- [ListBySubscription](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/SecureScoreControlDefinitionsListBySubscriptionSamples.java)
-
-### SecureScoreControls
-
-- [List](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/SecureScoreControlsListSamples.java)
-- [ListBySecureScore](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/SecureScoreControlsListBySecureScoreSamples.java)
-
-### SecureScores
-
-- [Get](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/SecureScoresGetSamples.java)
-- [List](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/SecureScoresListSamples.java)
-
-### SecurityContacts
-
-- [Create](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/SecurityContactsCreateSamples.java)
-- [Delete](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/SecurityContactsDeleteSamples.java)
-- [Get](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/SecurityContactsGetSamples.java)
-- [List](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/SecurityContactsListSamples.java)
-- [Update](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/SecurityContactsUpdateSamples.java)
-
-### SecuritySolutions
-
-- [Get](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/SecuritySolutionsGetSamples.java)
-- [List](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/SecuritySolutionsListSamples.java)
-
-### SecuritySolutionsReferenceData
-
-- [List](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/SecuritySolutionsReferenceDataListSamples.java)
-- [ListByHomeRegion](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/SecuritySolutionsReferenceDataListByHomeRegionSamples.java)
-
-### ServerVulnerabilityAssessment
-
-- [CreateOrUpdate](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/ServerVulnerabilityAssessmentCreateOrUpdateSamples.java)
-- [Delete](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/ServerVulnerabilityAssessmentDeleteSamples.java)
-- [Get](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/ServerVulnerabilityAssessmentGetSamples.java)
-- [ListByExtendedResource](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/ServerVulnerabilityAssessmentListByExtendedResourceSamples.java)
-
-### Settings
-
-- [Get](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/SettingsGetSamples.java)
-- [List](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/SettingsListSamples.java)
-- [Update](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/SettingsUpdateSamples.java)
-
-### SoftwareInventories
-
-- [Get](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/SoftwareInventoriesGetSamples.java)
-- [List](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/SoftwareInventoriesListSamples.java)
-- [ListByExtendedResource](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/SoftwareInventoriesListByExtendedResourceSamples.java)
-
-### SqlVulnerabilityAssessmentBaselineRules
-
-- [Add](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/SqlVulnerabilityAssessmentBaselineRulesAddSamples.java)
-- [CreateOrUpdate](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/SqlVulnerabilityAssessmentBaselineRulesCreateOrUpdateSamples.java)
-- [Delete](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/SqlVulnerabilityAssessmentBaselineRulesDeleteSamples.java)
-- [Get](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/SqlVulnerabilityAssessmentBaselineRulesGetSamples.java)
-- [List](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/SqlVulnerabilityAssessmentBaselineRulesListSamples.java)
-
-### SqlVulnerabilityAssessmentScanResults
-
-- [Get](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/SqlVulnerabilityAssessmentScanResultsGetSamples.java)
-- [List](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/SqlVulnerabilityAssessmentScanResultsListSamples.java)
-
-### SqlVulnerabilityAssessmentScans
-
-- [Get](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/SqlVulnerabilityAssessmentScansGetSamples.java)
-- [List](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/SqlVulnerabilityAssessmentScansListSamples.java)
-
-### SubAssessments
-
-- [Get](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/SubAssessmentsGetSamples.java)
-- [List](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/SubAssessmentsListSamples.java)
-- [ListAll](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/SubAssessmentsListAllSamples.java)
-
-### Tasks
-
-- [GetResourceGroupLevelTask](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/TasksGetResourceGroupLevelTaskSamples.java)
-- [GetSubscriptionLevelTask](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/TasksGetSubscriptionLevelTaskSamples.java)
-- [List](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/TasksListSamples.java)
-- [ListByHomeRegion](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/TasksListByHomeRegionSamples.java)
-- [ListByResourceGroup](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/TasksListByResourceGroupSamples.java)
-- [UpdateResourceGroupLevelTaskState](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/TasksUpdateResourceGroupLevelTaskStateSamples.java)
-- [UpdateSubscriptionLevelTaskState](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/TasksUpdateSubscriptionLevelTaskStateSamples.java)
-
-### Topology
-
-- [Get](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/TopologyGetSamples.java)
-- [List](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/TopologyListSamples.java)
-- [ListByHomeRegion](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/TopologyListByHomeRegionSamples.java)
-
-### WorkspaceSettings
-
-- [Create](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/WorkspaceSettingsCreateSamples.java)
-- [Delete](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/WorkspaceSettingsDeleteSamples.java)
-- [Get](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/WorkspaceSettingsGetSamples.java)
-- [List](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/WorkspaceSettingsListSamples.java)
-- [Update](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/WorkspaceSettingsUpdateSamples.java)
diff --git a/sdk/security/azure-resourcemanager-security/pom.xml b/sdk/security/azure-resourcemanager-security/pom.xml
index 83f238683178..4f8dc0605b39 100644
--- a/sdk/security/azure-resourcemanager-security/pom.xml
+++ b/sdk/security/azure-resourcemanager-security/pom.xml
@@ -13,7 +13,7 @@
jar
Microsoft Azure SDK for Security Management
- This package contains Microsoft Azure SDK for Security Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. API spec for Microsoft.Security (Azure Security Center) resource provider. Package tag package-composite-v3.
+ This package contains Microsoft Azure SDK for Security Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. API spec for Microsoft.Security (Azure Security Center) resource provider. Package tag package-2022-03.
https://github.com/Azure/azure-sdk-for-java
diff --git a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/SecurityManager.java b/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/SecurityManager.java
index cdcf2fc45d00..0ccaf5d688f2 100644
--- a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/SecurityManager.java
+++ b/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/SecurityManager.java
@@ -8,6 +8,7 @@
import com.azure.core.http.HttpClient;
import com.azure.core.http.HttpPipeline;
import com.azure.core.http.HttpPipelineBuilder;
+import com.azure.core.http.HttpPipelinePosition;
import com.azure.core.http.policy.AddDatePolicy;
import com.azure.core.http.policy.HttpLogOptions;
import com.azure.core.http.policy.HttpLoggingPolicy;
@@ -21,239 +22,20 @@
import com.azure.core.util.Configuration;
import com.azure.core.util.logging.ClientLogger;
import com.azure.resourcemanager.security.fluent.SecurityCenter;
-import com.azure.resourcemanager.security.implementation.AdaptiveApplicationControlsImpl;
-import com.azure.resourcemanager.security.implementation.AdaptiveNetworkHardeningsImpl;
-import com.azure.resourcemanager.security.implementation.AdvancedThreatProtectionsImpl;
-import com.azure.resourcemanager.security.implementation.AlertsImpl;
-import com.azure.resourcemanager.security.implementation.AlertsSuppressionRulesImpl;
-import com.azure.resourcemanager.security.implementation.AllowedConnectionsImpl;
-import com.azure.resourcemanager.security.implementation.AssessmentsImpl;
-import com.azure.resourcemanager.security.implementation.AssessmentsMetadatasImpl;
-import com.azure.resourcemanager.security.implementation.AutoProvisioningSettingsImpl;
-import com.azure.resourcemanager.security.implementation.AutomationsImpl;
-import com.azure.resourcemanager.security.implementation.ComplianceResultsImpl;
-import com.azure.resourcemanager.security.implementation.CompliancesImpl;
-import com.azure.resourcemanager.security.implementation.ConnectorsImpl;
-import com.azure.resourcemanager.security.implementation.DeviceSecurityGroupsImpl;
-import com.azure.resourcemanager.security.implementation.DevicesForHubsImpl;
-import com.azure.resourcemanager.security.implementation.DevicesForSubscriptionsImpl;
-import com.azure.resourcemanager.security.implementation.DevicesImpl;
-import com.azure.resourcemanager.security.implementation.DiscoveredSecuritySolutionsImpl;
-import com.azure.resourcemanager.security.implementation.ExternalSecuritySolutionsImpl;
-import com.azure.resourcemanager.security.implementation.InformationProtectionPoliciesImpl;
-import com.azure.resourcemanager.security.implementation.IngestionSettingsImpl;
-import com.azure.resourcemanager.security.implementation.IotAlertTypesImpl;
-import com.azure.resourcemanager.security.implementation.IotAlertsImpl;
-import com.azure.resourcemanager.security.implementation.IotDefenderSettingsImpl;
-import com.azure.resourcemanager.security.implementation.IotRecommendationTypesImpl;
-import com.azure.resourcemanager.security.implementation.IotRecommendationsImpl;
-import com.azure.resourcemanager.security.implementation.IotSecuritySolutionAnalyticsImpl;
-import com.azure.resourcemanager.security.implementation.IotSecuritySolutionsAnalyticsAggregatedAlertsImpl;
-import com.azure.resourcemanager.security.implementation.IotSecuritySolutionsAnalyticsRecommendationsImpl;
-import com.azure.resourcemanager.security.implementation.IotSecuritySolutionsImpl;
-import com.azure.resourcemanager.security.implementation.IotSensorsImpl;
-import com.azure.resourcemanager.security.implementation.IotSitesImpl;
-import com.azure.resourcemanager.security.implementation.JitNetworkAccessPoliciesImpl;
-import com.azure.resourcemanager.security.implementation.LocationsImpl;
-import com.azure.resourcemanager.security.implementation.OnPremiseIotSensorsImpl;
-import com.azure.resourcemanager.security.implementation.OperationsImpl;
import com.azure.resourcemanager.security.implementation.PricingsImpl;
-import com.azure.resourcemanager.security.implementation.RegulatoryComplianceAssessmentsImpl;
-import com.azure.resourcemanager.security.implementation.RegulatoryComplianceControlsImpl;
-import com.azure.resourcemanager.security.implementation.RegulatoryComplianceStandardsImpl;
-import com.azure.resourcemanager.security.implementation.SecureScoreControlDefinitionsImpl;
-import com.azure.resourcemanager.security.implementation.SecureScoreControlsImpl;
-import com.azure.resourcemanager.security.implementation.SecureScoresImpl;
import com.azure.resourcemanager.security.implementation.SecurityCenterBuilder;
-import com.azure.resourcemanager.security.implementation.SecurityContactsImpl;
-import com.azure.resourcemanager.security.implementation.SecuritySolutionsImpl;
-import com.azure.resourcemanager.security.implementation.SecuritySolutionsReferenceDatasImpl;
-import com.azure.resourcemanager.security.implementation.ServerVulnerabilityAssessmentsImpl;
-import com.azure.resourcemanager.security.implementation.SettingsImpl;
-import com.azure.resourcemanager.security.implementation.SoftwareInventoriesImpl;
-import com.azure.resourcemanager.security.implementation.SqlVulnerabilityAssessmentBaselineRulesImpl;
-import com.azure.resourcemanager.security.implementation.SqlVulnerabilityAssessmentScanResultsImpl;
-import com.azure.resourcemanager.security.implementation.SqlVulnerabilityAssessmentScansImpl;
-import com.azure.resourcemanager.security.implementation.SubAssessmentsImpl;
-import com.azure.resourcemanager.security.implementation.TasksImpl;
-import com.azure.resourcemanager.security.implementation.TopologiesImpl;
-import com.azure.resourcemanager.security.implementation.WorkspaceSettingsImpl;
-import com.azure.resourcemanager.security.models.AdaptiveApplicationControls;
-import com.azure.resourcemanager.security.models.AdaptiveNetworkHardenings;
-import com.azure.resourcemanager.security.models.AdvancedThreatProtections;
-import com.azure.resourcemanager.security.models.Alerts;
-import com.azure.resourcemanager.security.models.AlertsSuppressionRules;
-import com.azure.resourcemanager.security.models.AllowedConnections;
-import com.azure.resourcemanager.security.models.Assessments;
-import com.azure.resourcemanager.security.models.AssessmentsMetadatas;
-import com.azure.resourcemanager.security.models.AutoProvisioningSettings;
-import com.azure.resourcemanager.security.models.Automations;
-import com.azure.resourcemanager.security.models.ComplianceResults;
-import com.azure.resourcemanager.security.models.Compliances;
-import com.azure.resourcemanager.security.models.Connectors;
-import com.azure.resourcemanager.security.models.DeviceSecurityGroups;
-import com.azure.resourcemanager.security.models.Devices;
-import com.azure.resourcemanager.security.models.DevicesForHubs;
-import com.azure.resourcemanager.security.models.DevicesForSubscriptions;
-import com.azure.resourcemanager.security.models.DiscoveredSecuritySolutions;
-import com.azure.resourcemanager.security.models.ExternalSecuritySolutions;
-import com.azure.resourcemanager.security.models.InformationProtectionPolicies;
-import com.azure.resourcemanager.security.models.IngestionSettings;
-import com.azure.resourcemanager.security.models.IotAlertTypes;
-import com.azure.resourcemanager.security.models.IotAlerts;
-import com.azure.resourcemanager.security.models.IotDefenderSettings;
-import com.azure.resourcemanager.security.models.IotRecommendationTypes;
-import com.azure.resourcemanager.security.models.IotRecommendations;
-import com.azure.resourcemanager.security.models.IotSecuritySolutionAnalytics;
-import com.azure.resourcemanager.security.models.IotSecuritySolutions;
-import com.azure.resourcemanager.security.models.IotSecuritySolutionsAnalyticsAggregatedAlerts;
-import com.azure.resourcemanager.security.models.IotSecuritySolutionsAnalyticsRecommendations;
-import com.azure.resourcemanager.security.models.IotSensors;
-import com.azure.resourcemanager.security.models.IotSites;
-import com.azure.resourcemanager.security.models.JitNetworkAccessPolicies;
-import com.azure.resourcemanager.security.models.Locations;
-import com.azure.resourcemanager.security.models.OnPremiseIotSensors;
-import com.azure.resourcemanager.security.models.Operations;
import com.azure.resourcemanager.security.models.Pricings;
-import com.azure.resourcemanager.security.models.RegulatoryComplianceAssessments;
-import com.azure.resourcemanager.security.models.RegulatoryComplianceControls;
-import com.azure.resourcemanager.security.models.RegulatoryComplianceStandards;
-import com.azure.resourcemanager.security.models.SecureScoreControlDefinitions;
-import com.azure.resourcemanager.security.models.SecureScoreControls;
-import com.azure.resourcemanager.security.models.SecureScores;
-import com.azure.resourcemanager.security.models.SecurityContacts;
-import com.azure.resourcemanager.security.models.SecuritySolutions;
-import com.azure.resourcemanager.security.models.SecuritySolutionsReferenceDatas;
-import com.azure.resourcemanager.security.models.ServerVulnerabilityAssessments;
-import com.azure.resourcemanager.security.models.Settings;
-import com.azure.resourcemanager.security.models.SoftwareInventories;
-import com.azure.resourcemanager.security.models.SqlVulnerabilityAssessmentBaselineRules;
-import com.azure.resourcemanager.security.models.SqlVulnerabilityAssessmentScanResults;
-import com.azure.resourcemanager.security.models.SqlVulnerabilityAssessmentScans;
-import com.azure.resourcemanager.security.models.SubAssessments;
-import com.azure.resourcemanager.security.models.Tasks;
-import com.azure.resourcemanager.security.models.Topologies;
-import com.azure.resourcemanager.security.models.WorkspaceSettings;
import java.time.Duration;
import java.time.temporal.ChronoUnit;
import java.util.ArrayList;
import java.util.List;
import java.util.Objects;
+import java.util.stream.Collectors;
/** Entry point to SecurityManager. API spec for Microsoft.Security (Azure Security Center) resource provider. */
public final class SecurityManager {
- private ComplianceResults complianceResults;
-
private Pricings pricings;
- private AdvancedThreatProtections advancedThreatProtections;
-
- private DeviceSecurityGroups deviceSecurityGroups;
-
- private IotSecuritySolutions iotSecuritySolutions;
-
- private IotSecuritySolutionAnalytics iotSecuritySolutionAnalytics;
-
- private IotSecuritySolutionsAnalyticsAggregatedAlerts iotSecuritySolutionsAnalyticsAggregatedAlerts;
-
- private IotSecuritySolutionsAnalyticsRecommendations iotSecuritySolutionsAnalyticsRecommendations;
-
- private Locations locations;
-
- private Operations operations;
-
- private Tasks tasks;
-
- private AutoProvisioningSettings autoProvisioningSettings;
-
- private Compliances compliances;
-
- private InformationProtectionPolicies informationProtectionPolicies;
-
- private SecurityContacts securityContacts;
-
- private WorkspaceSettings workspaceSettings;
-
- private RegulatoryComplianceStandards regulatoryComplianceStandards;
-
- private RegulatoryComplianceControls regulatoryComplianceControls;
-
- private RegulatoryComplianceAssessments regulatoryComplianceAssessments;
-
- private SubAssessments subAssessments;
-
- private Automations automations;
-
- private AlertsSuppressionRules alertsSuppressionRules;
-
- private ServerVulnerabilityAssessments serverVulnerabilityAssessments;
-
- private AssessmentsMetadatas assessmentsMetadatas;
-
- private Assessments assessments;
-
- private AdaptiveApplicationControls adaptiveApplicationControls;
-
- private AdaptiveNetworkHardenings adaptiveNetworkHardenings;
-
- private AllowedConnections allowedConnections;
-
- private Topologies topologies;
-
- private JitNetworkAccessPolicies jitNetworkAccessPolicies;
-
- private DiscoveredSecuritySolutions discoveredSecuritySolutions;
-
- private SecuritySolutionsReferenceDatas securitySolutionsReferenceDatas;
-
- private ExternalSecuritySolutions externalSecuritySolutions;
-
- private SecureScores secureScores;
-
- private SecureScoreControls secureScoreControls;
-
- private SecureScoreControlDefinitions secureScoreControlDefinitions;
-
- private SecuritySolutions securitySolutions;
-
- private Connectors connectors;
-
- private SqlVulnerabilityAssessmentScans sqlVulnerabilityAssessmentScans;
-
- private SqlVulnerabilityAssessmentScanResults sqlVulnerabilityAssessmentScanResults;
-
- private SqlVulnerabilityAssessmentBaselineRules sqlVulnerabilityAssessmentBaselineRules;
-
- private IotDefenderSettings iotDefenderSettings;
-
- private IotSensors iotSensors;
-
- private DevicesForSubscriptions devicesForSubscriptions;
-
- private DevicesForHubs devicesForHubs;
-
- private Devices devices;
-
- private OnPremiseIotSensors onPremiseIotSensors;
-
- private IotSites iotSites;
-
- private IotAlerts iotAlerts;
-
- private IotAlertTypes iotAlertTypes;
-
- private IotRecommendations iotRecommendations;
-
- private IotRecommendationTypes iotRecommendationTypes;
-
- private Alerts alerts;
-
- private Settings settings;
-
- private IngestionSettings ingestionSettings;
-
- private SoftwareInventories softwareInventories;
-
private final SecurityCenter clientObject;
private SecurityManager(HttpPipeline httpPipeline, AzureProfile profile, Duration defaultPollInterval) {
@@ -413,11 +195,24 @@ public SecurityManager authenticate(TokenCredential credential, AzureProfile pro
List policies = new ArrayList<>();
policies.add(new UserAgentPolicy(userAgentBuilder.toString()));
policies.add(new RequestIdPolicy());
+ policies
+ .addAll(
+ this
+ .policies
+ .stream()
+ .filter(p -> p.getPipelinePosition() == HttpPipelinePosition.PER_CALL)
+ .collect(Collectors.toList()));
HttpPolicyProviders.addBeforeRetryPolicies(policies);
policies.add(retryPolicy);
policies.add(new AddDatePolicy());
policies.add(new ArmChallengeAuthenticationPolicy(credential, scopes.toArray(new String[0])));
- policies.addAll(this.policies);
+ policies
+ .addAll(
+ this
+ .policies
+ .stream()
+ .filter(p -> p.getPipelinePosition() == HttpPipelinePosition.PER_RETRY)
+ .collect(Collectors.toList()));
HttpPolicyProviders.addAfterRetryPolicies(policies);
policies.add(new HttpLoggingPolicy(httpLogOptions));
HttpPipeline httpPipeline =
@@ -429,14 +224,6 @@ public SecurityManager authenticate(TokenCredential credential, AzureProfile pro
}
}
- /** @return Resource collection API of ComplianceResults. */
- public ComplianceResults complianceResults() {
- if (this.complianceResults == null) {
- this.complianceResults = new ComplianceResultsImpl(clientObject.getComplianceResults(), this);
- }
- return complianceResults;
- }
-
/** @return Resource collection API of Pricings. */
public Pricings pricings() {
if (this.pricings == null) {
@@ -445,465 +232,6 @@ public Pricings pricings() {
return pricings;
}
- /** @return Resource collection API of AdvancedThreatProtections. */
- public AdvancedThreatProtections advancedThreatProtections() {
- if (this.advancedThreatProtections == null) {
- this.advancedThreatProtections =
- new AdvancedThreatProtectionsImpl(clientObject.getAdvancedThreatProtections(), this);
- }
- return advancedThreatProtections;
- }
-
- /** @return Resource collection API of DeviceSecurityGroups. */
- public DeviceSecurityGroups deviceSecurityGroups() {
- if (this.deviceSecurityGroups == null) {
- this.deviceSecurityGroups = new DeviceSecurityGroupsImpl(clientObject.getDeviceSecurityGroups(), this);
- }
- return deviceSecurityGroups;
- }
-
- /** @return Resource collection API of IotSecuritySolutions. */
- public IotSecuritySolutions iotSecuritySolutions() {
- if (this.iotSecuritySolutions == null) {
- this.iotSecuritySolutions = new IotSecuritySolutionsImpl(clientObject.getIotSecuritySolutions(), this);
- }
- return iotSecuritySolutions;
- }
-
- /** @return Resource collection API of IotSecuritySolutionAnalytics. */
- public IotSecuritySolutionAnalytics iotSecuritySolutionAnalytics() {
- if (this.iotSecuritySolutionAnalytics == null) {
- this.iotSecuritySolutionAnalytics =
- new IotSecuritySolutionAnalyticsImpl(clientObject.getIotSecuritySolutionAnalytics(), this);
- }
- return iotSecuritySolutionAnalytics;
- }
-
- /** @return Resource collection API of IotSecuritySolutionsAnalyticsAggregatedAlerts. */
- public IotSecuritySolutionsAnalyticsAggregatedAlerts iotSecuritySolutionsAnalyticsAggregatedAlerts() {
- if (this.iotSecuritySolutionsAnalyticsAggregatedAlerts == null) {
- this.iotSecuritySolutionsAnalyticsAggregatedAlerts =
- new IotSecuritySolutionsAnalyticsAggregatedAlertsImpl(
- clientObject.getIotSecuritySolutionsAnalyticsAggregatedAlerts(), this);
- }
- return iotSecuritySolutionsAnalyticsAggregatedAlerts;
- }
-
- /** @return Resource collection API of IotSecuritySolutionsAnalyticsRecommendations. */
- public IotSecuritySolutionsAnalyticsRecommendations iotSecuritySolutionsAnalyticsRecommendations() {
- if (this.iotSecuritySolutionsAnalyticsRecommendations == null) {
- this.iotSecuritySolutionsAnalyticsRecommendations =
- new IotSecuritySolutionsAnalyticsRecommendationsImpl(
- clientObject.getIotSecuritySolutionsAnalyticsRecommendations(), this);
- }
- return iotSecuritySolutionsAnalyticsRecommendations;
- }
-
- /** @return Resource collection API of Locations. */
- public Locations locations() {
- if (this.locations == null) {
- this.locations = new LocationsImpl(clientObject.getLocations(), this);
- }
- return locations;
- }
-
- /** @return Resource collection API of Operations. */
- public Operations operations() {
- if (this.operations == null) {
- this.operations = new OperationsImpl(clientObject.getOperations(), this);
- }
- return operations;
- }
-
- /** @return Resource collection API of Tasks. */
- public Tasks tasks() {
- if (this.tasks == null) {
- this.tasks = new TasksImpl(clientObject.getTasks(), this);
- }
- return tasks;
- }
-
- /** @return Resource collection API of AutoProvisioningSettings. */
- public AutoProvisioningSettings autoProvisioningSettings() {
- if (this.autoProvisioningSettings == null) {
- this.autoProvisioningSettings =
- new AutoProvisioningSettingsImpl(clientObject.getAutoProvisioningSettings(), this);
- }
- return autoProvisioningSettings;
- }
-
- /** @return Resource collection API of Compliances. */
- public Compliances compliances() {
- if (this.compliances == null) {
- this.compliances = new CompliancesImpl(clientObject.getCompliances(), this);
- }
- return compliances;
- }
-
- /** @return Resource collection API of InformationProtectionPolicies. */
- public InformationProtectionPolicies informationProtectionPolicies() {
- if (this.informationProtectionPolicies == null) {
- this.informationProtectionPolicies =
- new InformationProtectionPoliciesImpl(clientObject.getInformationProtectionPolicies(), this);
- }
- return informationProtectionPolicies;
- }
-
- /** @return Resource collection API of SecurityContacts. */
- public SecurityContacts securityContacts() {
- if (this.securityContacts == null) {
- this.securityContacts = new SecurityContactsImpl(clientObject.getSecurityContacts(), this);
- }
- return securityContacts;
- }
-
- /** @return Resource collection API of WorkspaceSettings. */
- public WorkspaceSettings workspaceSettings() {
- if (this.workspaceSettings == null) {
- this.workspaceSettings = new WorkspaceSettingsImpl(clientObject.getWorkspaceSettings(), this);
- }
- return workspaceSettings;
- }
-
- /** @return Resource collection API of RegulatoryComplianceStandards. */
- public RegulatoryComplianceStandards regulatoryComplianceStandards() {
- if (this.regulatoryComplianceStandards == null) {
- this.regulatoryComplianceStandards =
- new RegulatoryComplianceStandardsImpl(clientObject.getRegulatoryComplianceStandards(), this);
- }
- return regulatoryComplianceStandards;
- }
-
- /** @return Resource collection API of RegulatoryComplianceControls. */
- public RegulatoryComplianceControls regulatoryComplianceControls() {
- if (this.regulatoryComplianceControls == null) {
- this.regulatoryComplianceControls =
- new RegulatoryComplianceControlsImpl(clientObject.getRegulatoryComplianceControls(), this);
- }
- return regulatoryComplianceControls;
- }
-
- /** @return Resource collection API of RegulatoryComplianceAssessments. */
- public RegulatoryComplianceAssessments regulatoryComplianceAssessments() {
- if (this.regulatoryComplianceAssessments == null) {
- this.regulatoryComplianceAssessments =
- new RegulatoryComplianceAssessmentsImpl(clientObject.getRegulatoryComplianceAssessments(), this);
- }
- return regulatoryComplianceAssessments;
- }
-
- /** @return Resource collection API of SubAssessments. */
- public SubAssessments subAssessments() {
- if (this.subAssessments == null) {
- this.subAssessments = new SubAssessmentsImpl(clientObject.getSubAssessments(), this);
- }
- return subAssessments;
- }
-
- /** @return Resource collection API of Automations. */
- public Automations automations() {
- if (this.automations == null) {
- this.automations = new AutomationsImpl(clientObject.getAutomations(), this);
- }
- return automations;
- }
-
- /** @return Resource collection API of AlertsSuppressionRules. */
- public AlertsSuppressionRules alertsSuppressionRules() {
- if (this.alertsSuppressionRules == null) {
- this.alertsSuppressionRules =
- new AlertsSuppressionRulesImpl(clientObject.getAlertsSuppressionRules(), this);
- }
- return alertsSuppressionRules;
- }
-
- /** @return Resource collection API of ServerVulnerabilityAssessments. */
- public ServerVulnerabilityAssessments serverVulnerabilityAssessments() {
- if (this.serverVulnerabilityAssessments == null) {
- this.serverVulnerabilityAssessments =
- new ServerVulnerabilityAssessmentsImpl(clientObject.getServerVulnerabilityAssessments(), this);
- }
- return serverVulnerabilityAssessments;
- }
-
- /** @return Resource collection API of AssessmentsMetadatas. */
- public AssessmentsMetadatas assessmentsMetadatas() {
- if (this.assessmentsMetadatas == null) {
- this.assessmentsMetadatas = new AssessmentsMetadatasImpl(clientObject.getAssessmentsMetadatas(), this);
- }
- return assessmentsMetadatas;
- }
-
- /** @return Resource collection API of Assessments. */
- public Assessments assessments() {
- if (this.assessments == null) {
- this.assessments = new AssessmentsImpl(clientObject.getAssessments(), this);
- }
- return assessments;
- }
-
- /** @return Resource collection API of AdaptiveApplicationControls. */
- public AdaptiveApplicationControls adaptiveApplicationControls() {
- if (this.adaptiveApplicationControls == null) {
- this.adaptiveApplicationControls =
- new AdaptiveApplicationControlsImpl(clientObject.getAdaptiveApplicationControls(), this);
- }
- return adaptiveApplicationControls;
- }
-
- /** @return Resource collection API of AdaptiveNetworkHardenings. */
- public AdaptiveNetworkHardenings adaptiveNetworkHardenings() {
- if (this.adaptiveNetworkHardenings == null) {
- this.adaptiveNetworkHardenings =
- new AdaptiveNetworkHardeningsImpl(clientObject.getAdaptiveNetworkHardenings(), this);
- }
- return adaptiveNetworkHardenings;
- }
-
- /** @return Resource collection API of AllowedConnections. */
- public AllowedConnections allowedConnections() {
- if (this.allowedConnections == null) {
- this.allowedConnections = new AllowedConnectionsImpl(clientObject.getAllowedConnections(), this);
- }
- return allowedConnections;
- }
-
- /** @return Resource collection API of Topologies. */
- public Topologies topologies() {
- if (this.topologies == null) {
- this.topologies = new TopologiesImpl(clientObject.getTopologies(), this);
- }
- return topologies;
- }
-
- /** @return Resource collection API of JitNetworkAccessPolicies. */
- public JitNetworkAccessPolicies jitNetworkAccessPolicies() {
- if (this.jitNetworkAccessPolicies == null) {
- this.jitNetworkAccessPolicies =
- new JitNetworkAccessPoliciesImpl(clientObject.getJitNetworkAccessPolicies(), this);
- }
- return jitNetworkAccessPolicies;
- }
-
- /** @return Resource collection API of DiscoveredSecuritySolutions. */
- public DiscoveredSecuritySolutions discoveredSecuritySolutions() {
- if (this.discoveredSecuritySolutions == null) {
- this.discoveredSecuritySolutions =
- new DiscoveredSecuritySolutionsImpl(clientObject.getDiscoveredSecuritySolutions(), this);
- }
- return discoveredSecuritySolutions;
- }
-
- /** @return Resource collection API of SecuritySolutionsReferenceDatas. */
- public SecuritySolutionsReferenceDatas securitySolutionsReferenceDatas() {
- if (this.securitySolutionsReferenceDatas == null) {
- this.securitySolutionsReferenceDatas =
- new SecuritySolutionsReferenceDatasImpl(clientObject.getSecuritySolutionsReferenceDatas(), this);
- }
- return securitySolutionsReferenceDatas;
- }
-
- /** @return Resource collection API of ExternalSecuritySolutions. */
- public ExternalSecuritySolutions externalSecuritySolutions() {
- if (this.externalSecuritySolutions == null) {
- this.externalSecuritySolutions =
- new ExternalSecuritySolutionsImpl(clientObject.getExternalSecuritySolutions(), this);
- }
- return externalSecuritySolutions;
- }
-
- /** @return Resource collection API of SecureScores. */
- public SecureScores secureScores() {
- if (this.secureScores == null) {
- this.secureScores = new SecureScoresImpl(clientObject.getSecureScores(), this);
- }
- return secureScores;
- }
-
- /** @return Resource collection API of SecureScoreControls. */
- public SecureScoreControls secureScoreControls() {
- if (this.secureScoreControls == null) {
- this.secureScoreControls = new SecureScoreControlsImpl(clientObject.getSecureScoreControls(), this);
- }
- return secureScoreControls;
- }
-
- /** @return Resource collection API of SecureScoreControlDefinitions. */
- public SecureScoreControlDefinitions secureScoreControlDefinitions() {
- if (this.secureScoreControlDefinitions == null) {
- this.secureScoreControlDefinitions =
- new SecureScoreControlDefinitionsImpl(clientObject.getSecureScoreControlDefinitions(), this);
- }
- return secureScoreControlDefinitions;
- }
-
- /** @return Resource collection API of SecuritySolutions. */
- public SecuritySolutions securitySolutions() {
- if (this.securitySolutions == null) {
- this.securitySolutions = new SecuritySolutionsImpl(clientObject.getSecuritySolutions(), this);
- }
- return securitySolutions;
- }
-
- /** @return Resource collection API of Connectors. */
- public Connectors connectors() {
- if (this.connectors == null) {
- this.connectors = new ConnectorsImpl(clientObject.getConnectors(), this);
- }
- return connectors;
- }
-
- /** @return Resource collection API of SqlVulnerabilityAssessmentScans. */
- public SqlVulnerabilityAssessmentScans sqlVulnerabilityAssessmentScans() {
- if (this.sqlVulnerabilityAssessmentScans == null) {
- this.sqlVulnerabilityAssessmentScans =
- new SqlVulnerabilityAssessmentScansImpl(clientObject.getSqlVulnerabilityAssessmentScans(), this);
- }
- return sqlVulnerabilityAssessmentScans;
- }
-
- /** @return Resource collection API of SqlVulnerabilityAssessmentScanResults. */
- public SqlVulnerabilityAssessmentScanResults sqlVulnerabilityAssessmentScanResults() {
- if (this.sqlVulnerabilityAssessmentScanResults == null) {
- this.sqlVulnerabilityAssessmentScanResults =
- new SqlVulnerabilityAssessmentScanResultsImpl(
- clientObject.getSqlVulnerabilityAssessmentScanResults(), this);
- }
- return sqlVulnerabilityAssessmentScanResults;
- }
-
- /** @return Resource collection API of SqlVulnerabilityAssessmentBaselineRules. */
- public SqlVulnerabilityAssessmentBaselineRules sqlVulnerabilityAssessmentBaselineRules() {
- if (this.sqlVulnerabilityAssessmentBaselineRules == null) {
- this.sqlVulnerabilityAssessmentBaselineRules =
- new SqlVulnerabilityAssessmentBaselineRulesImpl(
- clientObject.getSqlVulnerabilityAssessmentBaselineRules(), this);
- }
- return sqlVulnerabilityAssessmentBaselineRules;
- }
-
- /** @return Resource collection API of IotDefenderSettings. */
- public IotDefenderSettings iotDefenderSettings() {
- if (this.iotDefenderSettings == null) {
- this.iotDefenderSettings = new IotDefenderSettingsImpl(clientObject.getIotDefenderSettings(), this);
- }
- return iotDefenderSettings;
- }
-
- /** @return Resource collection API of IotSensors. */
- public IotSensors iotSensors() {
- if (this.iotSensors == null) {
- this.iotSensors = new IotSensorsImpl(clientObject.getIotSensors(), this);
- }
- return iotSensors;
- }
-
- /** @return Resource collection API of DevicesForSubscriptions. */
- public DevicesForSubscriptions devicesForSubscriptions() {
- if (this.devicesForSubscriptions == null) {
- this.devicesForSubscriptions =
- new DevicesForSubscriptionsImpl(clientObject.getDevicesForSubscriptions(), this);
- }
- return devicesForSubscriptions;
- }
-
- /** @return Resource collection API of DevicesForHubs. */
- public DevicesForHubs devicesForHubs() {
- if (this.devicesForHubs == null) {
- this.devicesForHubs = new DevicesForHubsImpl(clientObject.getDevicesForHubs(), this);
- }
- return devicesForHubs;
- }
-
- /** @return Resource collection API of Devices. */
- public Devices devices() {
- if (this.devices == null) {
- this.devices = new DevicesImpl(clientObject.getDevices(), this);
- }
- return devices;
- }
-
- /** @return Resource collection API of OnPremiseIotSensors. */
- public OnPremiseIotSensors onPremiseIotSensors() {
- if (this.onPremiseIotSensors == null) {
- this.onPremiseIotSensors = new OnPremiseIotSensorsImpl(clientObject.getOnPremiseIotSensors(), this);
- }
- return onPremiseIotSensors;
- }
-
- /** @return Resource collection API of IotSites. */
- public IotSites iotSites() {
- if (this.iotSites == null) {
- this.iotSites = new IotSitesImpl(clientObject.getIotSites(), this);
- }
- return iotSites;
- }
-
- /** @return Resource collection API of IotAlerts. */
- public IotAlerts iotAlerts() {
- if (this.iotAlerts == null) {
- this.iotAlerts = new IotAlertsImpl(clientObject.getIotAlerts(), this);
- }
- return iotAlerts;
- }
-
- /** @return Resource collection API of IotAlertTypes. */
- public IotAlertTypes iotAlertTypes() {
- if (this.iotAlertTypes == null) {
- this.iotAlertTypes = new IotAlertTypesImpl(clientObject.getIotAlertTypes(), this);
- }
- return iotAlertTypes;
- }
-
- /** @return Resource collection API of IotRecommendations. */
- public IotRecommendations iotRecommendations() {
- if (this.iotRecommendations == null) {
- this.iotRecommendations = new IotRecommendationsImpl(clientObject.getIotRecommendations(), this);
- }
- return iotRecommendations;
- }
-
- /** @return Resource collection API of IotRecommendationTypes. */
- public IotRecommendationTypes iotRecommendationTypes() {
- if (this.iotRecommendationTypes == null) {
- this.iotRecommendationTypes =
- new IotRecommendationTypesImpl(clientObject.getIotRecommendationTypes(), this);
- }
- return iotRecommendationTypes;
- }
-
- /** @return Resource collection API of Alerts. */
- public Alerts alerts() {
- if (this.alerts == null) {
- this.alerts = new AlertsImpl(clientObject.getAlerts(), this);
- }
- return alerts;
- }
-
- /** @return Resource collection API of Settings. */
- public Settings settings() {
- if (this.settings == null) {
- this.settings = new SettingsImpl(clientObject.getSettings(), this);
- }
- return settings;
- }
-
- /** @return Resource collection API of IngestionSettings. */
- public IngestionSettings ingestionSettings() {
- if (this.ingestionSettings == null) {
- this.ingestionSettings = new IngestionSettingsImpl(clientObject.getIngestionSettings(), this);
- }
- return ingestionSettings;
- }
-
- /** @return Resource collection API of SoftwareInventories. */
- public SoftwareInventories softwareInventories() {
- if (this.softwareInventories == null) {
- this.softwareInventories = new SoftwareInventoriesImpl(clientObject.getSoftwareInventories(), this);
- }
- return softwareInventories;
- }
-
/**
* @return Wrapped service client SecurityCenter providing direct access to the underlying auto-generated API
* implementation, based on Azure REST API.
diff --git a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/AdaptiveApplicationControlsClient.java b/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/AdaptiveApplicationControlsClient.java
deleted file mode 100644
index 0febf887693d..000000000000
--- a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/AdaptiveApplicationControlsClient.java
+++ /dev/null
@@ -1,131 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.security.fluent;
-
-import com.azure.core.annotation.ReturnType;
-import com.azure.core.annotation.ServiceMethod;
-import com.azure.core.http.rest.Response;
-import com.azure.core.util.Context;
-import com.azure.resourcemanager.security.fluent.models.AdaptiveApplicationControlGroupInner;
-import com.azure.resourcemanager.security.fluent.models.AdaptiveApplicationControlGroupsInner;
-
-/** An instance of this class provides access to all the operations defined in AdaptiveApplicationControlsClient. */
-public interface AdaptiveApplicationControlsClient {
- /**
- * Gets a list of application control machine groups for the subscription.
- *
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a list of application control machine groups for the subscription.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- AdaptiveApplicationControlGroupsInner list();
-
- /**
- * Gets a list of application control machine groups for the subscription.
- *
- * @param includePathRecommendations Include the policy rules.
- * @param summary Return output in a summarized form.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a list of application control machine groups for the subscription.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response listWithResponse(
- Boolean includePathRecommendations, Boolean summary, Context context);
-
- /**
- * Gets an application control VM/server group.
- *
- * @param ascLocation The location where ASC stores the data of the subscription. can be retrieved from Get
- * locations.
- * @param groupName Name of an application control machine group.
- * @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 an application control VM/server group.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- AdaptiveApplicationControlGroupInner get(String ascLocation, String groupName);
-
- /**
- * Gets an application control VM/server group.
- *
- * @param ascLocation The location where ASC stores the data of the subscription. can be retrieved from Get
- * locations.
- * @param groupName Name of an application control machine group.
- * @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 an application control VM/server group.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(
- String ascLocation, String groupName, Context context);
-
- /**
- * Update an application control machine group.
- *
- * @param ascLocation The location where ASC stores the data of the subscription. can be retrieved from Get
- * locations.
- * @param groupName Name of an application control machine group.
- * @param body The body parameter.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the response.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- AdaptiveApplicationControlGroupInner put(
- String ascLocation, String groupName, AdaptiveApplicationControlGroupInner body);
-
- /**
- * Update an application control machine group.
- *
- * @param ascLocation The location where ASC stores the data of the subscription. can be retrieved from Get
- * locations.
- * @param groupName Name of an application control machine group.
- * @param body The body parameter.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the response.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response putWithResponse(
- String ascLocation, String groupName, AdaptiveApplicationControlGroupInner body, Context context);
-
- /**
- * Delete an application control machine group.
- *
- * @param ascLocation The location where ASC stores the data of the subscription. can be retrieved from Get
- * locations.
- * @param groupName Name of an application control machine group.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- void delete(String ascLocation, String groupName);
-
- /**
- * Delete an application control machine group.
- *
- * @param ascLocation The location where ASC stores the data of the subscription. can be retrieved from Get
- * locations.
- * @param groupName Name of an application control machine group.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the response.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response deleteWithResponse(String ascLocation, String groupName, Context context);
-}
diff --git a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/AdaptiveNetworkHardeningsClient.java b/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/AdaptiveNetworkHardeningsClient.java
deleted file mode 100644
index da45ed63794d..000000000000
--- a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/AdaptiveNetworkHardeningsClient.java
+++ /dev/null
@@ -1,197 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.security.fluent;
-
-import com.azure.core.annotation.ReturnType;
-import com.azure.core.annotation.ServiceMethod;
-import com.azure.core.http.rest.PagedIterable;
-import com.azure.core.http.rest.Response;
-import com.azure.core.management.polling.PollResult;
-import com.azure.core.util.Context;
-import com.azure.core.util.polling.SyncPoller;
-import com.azure.resourcemanager.security.fluent.models.AdaptiveNetworkHardeningInner;
-import com.azure.resourcemanager.security.models.AdaptiveNetworkHardeningEnforceRequest;
-
-/** An instance of this class provides access to all the operations defined in AdaptiveNetworkHardeningsClient. */
-public interface AdaptiveNetworkHardeningsClient {
- /**
- * Gets a list of Adaptive Network Hardenings resources in scope of an extended resource.
- *
- * @param resourceGroupName The name of the resource group within the user's subscription. The name is case
- * insensitive.
- * @param resourceNamespace The Namespace of the resource.
- * @param resourceType The type of the resource.
- * @param resourceName Name of the resource.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a list of Adaptive Network Hardenings resources in scope of an extended resource.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable listByExtendedResource(
- String resourceGroupName, String resourceNamespace, String resourceType, String resourceName);
-
- /**
- * Gets a list of Adaptive Network Hardenings resources in scope of an extended resource.
- *
- * @param resourceGroupName The name of the resource group within the user's subscription. The name is case
- * insensitive.
- * @param resourceNamespace The Namespace of the resource.
- * @param resourceType The type of the resource.
- * @param resourceName Name of the resource.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a list of Adaptive Network Hardenings resources in scope of an extended resource.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable listByExtendedResource(
- String resourceGroupName, String resourceNamespace, String resourceType, String resourceName, Context context);
-
- /**
- * Gets a single Adaptive Network Hardening resource.
- *
- * @param resourceGroupName The name of the resource group within the user's subscription. The name is case
- * insensitive.
- * @param resourceNamespace The Namespace of the resource.
- * @param resourceType The type of the resource.
- * @param resourceName Name of the resource.
- * @param adaptiveNetworkHardeningResourceName The name of the Adaptive Network Hardening resource.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a single Adaptive Network Hardening resource.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- AdaptiveNetworkHardeningInner get(
- String resourceGroupName,
- String resourceNamespace,
- String resourceType,
- String resourceName,
- String adaptiveNetworkHardeningResourceName);
-
- /**
- * Gets a single Adaptive Network Hardening resource.
- *
- * @param resourceGroupName The name of the resource group within the user's subscription. The name is case
- * insensitive.
- * @param resourceNamespace The Namespace of the resource.
- * @param resourceType The type of the resource.
- * @param resourceName Name of the resource.
- * @param adaptiveNetworkHardeningResourceName The name of the Adaptive Network Hardening resource.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a single Adaptive Network Hardening resource.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(
- String resourceGroupName,
- String resourceNamespace,
- String resourceType,
- String resourceName,
- String adaptiveNetworkHardeningResourceName,
- Context context);
-
- /**
- * Enforces the given rules on the NSG(s) listed in the request.
- *
- * @param resourceGroupName The name of the resource group within the user's subscription. The name is case
- * insensitive.
- * @param resourceNamespace The Namespace of the resource.
- * @param resourceType The type of the resource.
- * @param resourceName Name of the resource.
- * @param adaptiveNetworkHardeningResourceName The name of the Adaptive Network Hardening resource.
- * @param body The body parameter.
- * @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 completion.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- SyncPoller, Void> beginEnforce(
- String resourceGroupName,
- String resourceNamespace,
- String resourceType,
- String resourceName,
- String adaptiveNetworkHardeningResourceName,
- AdaptiveNetworkHardeningEnforceRequest body);
-
- /**
- * Enforces the given rules on the NSG(s) listed in the request.
- *
- * @param resourceGroupName The name of the resource group within the user's subscription. The name is case
- * insensitive.
- * @param resourceNamespace The Namespace of the resource.
- * @param resourceType The type of the resource.
- * @param resourceName Name of the resource.
- * @param adaptiveNetworkHardeningResourceName The name of the Adaptive Network Hardening resource.
- * @param body The body parameter.
- * @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 completion.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- SyncPoller, Void> beginEnforce(
- String resourceGroupName,
- String resourceNamespace,
- String resourceType,
- String resourceName,
- String adaptiveNetworkHardeningResourceName,
- AdaptiveNetworkHardeningEnforceRequest body,
- Context context);
-
- /**
- * Enforces the given rules on the NSG(s) listed in the request.
- *
- * @param resourceGroupName The name of the resource group within the user's subscription. The name is case
- * insensitive.
- * @param resourceNamespace The Namespace of the resource.
- * @param resourceType The type of the resource.
- * @param resourceName Name of the resource.
- * @param adaptiveNetworkHardeningResourceName The name of the Adaptive Network Hardening resource.
- * @param body The body parameter.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- void enforce(
- String resourceGroupName,
- String resourceNamespace,
- String resourceType,
- String resourceName,
- String adaptiveNetworkHardeningResourceName,
- AdaptiveNetworkHardeningEnforceRequest body);
-
- /**
- * Enforces the given rules on the NSG(s) listed in the request.
- *
- * @param resourceGroupName The name of the resource group within the user's subscription. The name is case
- * insensitive.
- * @param resourceNamespace The Namespace of the resource.
- * @param resourceType The type of the resource.
- * @param resourceName Name of the resource.
- * @param adaptiveNetworkHardeningResourceName The name of the Adaptive Network Hardening resource.
- * @param body The body parameter.
- * @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.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- void enforce(
- String resourceGroupName,
- String resourceNamespace,
- String resourceType,
- String resourceName,
- String adaptiveNetworkHardeningResourceName,
- AdaptiveNetworkHardeningEnforceRequest body,
- Context context);
-}
diff --git a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/AdvancedThreatProtectionsClient.java b/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/AdvancedThreatProtectionsClient.java
deleted file mode 100644
index ed227389460f..000000000000
--- a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/AdvancedThreatProtectionsClient.java
+++ /dev/null
@@ -1,68 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.security.fluent;
-
-import com.azure.core.annotation.ReturnType;
-import com.azure.core.annotation.ServiceMethod;
-import com.azure.core.http.rest.Response;
-import com.azure.core.util.Context;
-import com.azure.resourcemanager.security.fluent.models.AdvancedThreatProtectionSettingInner;
-
-/** An instance of this class provides access to all the operations defined in AdvancedThreatProtectionsClient. */
-public interface AdvancedThreatProtectionsClient {
- /**
- * Gets the Advanced Threat Protection settings for the specified resource.
- *
- * @param resourceId The identifier of the resource.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the Advanced Threat Protection settings for the specified resource.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- AdvancedThreatProtectionSettingInner get(String resourceId);
-
- /**
- * Gets the Advanced Threat Protection settings for the specified resource.
- *
- * @param resourceId The identifier of the resource.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the Advanced Threat Protection settings for the specified resource.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(String resourceId, Context context);
-
- /**
- * Creates or updates the Advanced Threat Protection settings on a specified resource.
- *
- * @param resourceId The identifier of the resource.
- * @param advancedThreatProtectionSetting Advanced Threat Protection Settings.
- * @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 Advanced Threat Protection resource.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- AdvancedThreatProtectionSettingInner create(
- String resourceId, AdvancedThreatProtectionSettingInner advancedThreatProtectionSetting);
-
- /**
- * Creates or updates the Advanced Threat Protection settings on a specified resource.
- *
- * @param resourceId The identifier of the resource.
- * @param advancedThreatProtectionSetting Advanced Threat Protection Settings.
- * @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 Advanced Threat Protection resource.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response createWithResponse(
- String resourceId, AdvancedThreatProtectionSettingInner advancedThreatProtectionSetting, Context context);
-}
diff --git a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/AlertsClient.java b/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/AlertsClient.java
deleted file mode 100644
index a2e489ff8652..000000000000
--- a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/AlertsClient.java
+++ /dev/null
@@ -1,433 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.security.fluent;
-
-import com.azure.core.annotation.ReturnType;
-import com.azure.core.annotation.ServiceMethod;
-import com.azure.core.http.rest.PagedIterable;
-import com.azure.core.http.rest.Response;
-import com.azure.core.management.polling.PollResult;
-import com.azure.core.util.Context;
-import com.azure.core.util.polling.SyncPoller;
-import com.azure.resourcemanager.security.fluent.models.AlertInner;
-import com.azure.resourcemanager.security.models.AlertSimulatorRequestBody;
-
-/** An instance of this class provides access to all the operations defined in AlertsClient. */
-public interface AlertsClient {
- /**
- * List all the alerts that are associated with the subscription.
- *
- * @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 list of security alerts.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list();
-
- /**
- * List all the alerts that are associated with the subscription.
- *
- * @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 list of security alerts.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(Context context);
-
- /**
- * List all the alerts that are associated with the resource group.
- *
- * @param resourceGroupName The name of the resource group within the user's subscription. The name is case
- * insensitive.
- * @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 list of security alerts.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable listByResourceGroup(String resourceGroupName);
-
- /**
- * List all the alerts that are associated with the resource group.
- *
- * @param resourceGroupName The name of the resource group within the user's subscription. The name is case
- * insensitive.
- * @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 list of security alerts.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable listByResourceGroup(String resourceGroupName, Context context);
-
- /**
- * List all the alerts that are associated with the subscription that are stored in a specific location.
- *
- * @param ascLocation The location where ASC stores the data of the subscription. can be retrieved from Get
- * locations.
- * @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 list of security alerts.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable listSubscriptionLevelByRegion(String ascLocation);
-
- /**
- * List all the alerts that are associated with the subscription that are stored in a specific location.
- *
- * @param ascLocation The location where ASC stores the data of the subscription. can be retrieved from Get
- * locations.
- * @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 list of security alerts.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable listSubscriptionLevelByRegion(String ascLocation, Context context);
-
- /**
- * List all the alerts that are associated with the resource group that are stored in a specific location.
- *
- * @param ascLocation The location where ASC stores the data of the subscription. can be retrieved from Get
- * locations.
- * @param resourceGroupName The name of the resource group within the user's subscription. The name is case
- * insensitive.
- * @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 list of security alerts.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable listResourceGroupLevelByRegion(String ascLocation, String resourceGroupName);
-
- /**
- * List all the alerts that are associated with the resource group that are stored in a specific location.
- *
- * @param ascLocation The location where ASC stores the data of the subscription. can be retrieved from Get
- * locations.
- * @param resourceGroupName The name of the resource group within the user's subscription. The name is case
- * insensitive.
- * @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 list of security alerts.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable listResourceGroupLevelByRegion(
- String ascLocation, String resourceGroupName, Context context);
-
- /**
- * Get an alert that is associated with a subscription.
- *
- * @param ascLocation The location where ASC stores the data of the subscription. can be retrieved from Get
- * locations.
- * @param alertName Name of the alert object.
- * @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 an alert that is associated with a subscription.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- AlertInner getSubscriptionLevel(String ascLocation, String alertName);
-
- /**
- * Get an alert that is associated with a subscription.
- *
- * @param ascLocation The location where ASC stores the data of the subscription. can be retrieved from Get
- * locations.
- * @param alertName Name of the alert object.
- * @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 an alert that is associated with a subscription.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response getSubscriptionLevelWithResponse(String ascLocation, String alertName, Context context);
-
- /**
- * Get an alert that is associated a resource group or a resource in a resource group.
- *
- * @param ascLocation The location where ASC stores the data of the subscription. can be retrieved from Get
- * locations.
- * @param alertName Name of the alert object.
- * @param resourceGroupName The name of the resource group within the user's subscription. The name is case
- * insensitive.
- * @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 an alert that is associated a resource group or a resource in a resource group.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- AlertInner getResourceGroupLevel(String ascLocation, String alertName, String resourceGroupName);
-
- /**
- * Get an alert that is associated a resource group or a resource in a resource group.
- *
- * @param ascLocation The location where ASC stores the data of the subscription. can be retrieved from Get
- * locations.
- * @param alertName Name of the alert object.
- * @param resourceGroupName The name of the resource group within the user's subscription. The name is case
- * insensitive.
- * @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 an alert that is associated a resource group or a resource in a resource group.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response getResourceGroupLevelWithResponse(
- String ascLocation, String alertName, String resourceGroupName, Context context);
-
- /**
- * Update the alert's state.
- *
- * @param ascLocation The location where ASC stores the data of the subscription. can be retrieved from Get
- * locations.
- * @param alertName Name of the alert object.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- void updateSubscriptionLevelStateToDismiss(String ascLocation, String alertName);
-
- /**
- * Update the alert's state.
- *
- * @param ascLocation The location where ASC stores the data of the subscription. can be retrieved from Get
- * locations.
- * @param alertName Name of the alert object.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the response.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response updateSubscriptionLevelStateToDismissWithResponse(
- String ascLocation, String alertName, Context context);
-
- /**
- * Update the alert's state.
- *
- * @param ascLocation The location where ASC stores the data of the subscription. can be retrieved from Get
- * locations.
- * @param alertName Name of the alert object.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- void updateSubscriptionLevelStateToResolve(String ascLocation, String alertName);
-
- /**
- * Update the alert's state.
- *
- * @param ascLocation The location where ASC stores the data of the subscription. can be retrieved from Get
- * locations.
- * @param alertName Name of the alert object.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the response.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response updateSubscriptionLevelStateToResolveWithResponse(
- String ascLocation, String alertName, Context context);
-
- /**
- * Update the alert's state.
- *
- * @param ascLocation The location where ASC stores the data of the subscription. can be retrieved from Get
- * locations.
- * @param alertName Name of the alert object.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- void updateSubscriptionLevelStateToActivate(String ascLocation, String alertName);
-
- /**
- * Update the alert's state.
- *
- * @param ascLocation The location where ASC stores the data of the subscription. can be retrieved from Get
- * locations.
- * @param alertName Name of the alert object.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the response.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response updateSubscriptionLevelStateToActivateWithResponse(
- String ascLocation, String alertName, Context context);
-
- /**
- * Update the alert's state.
- *
- * @param ascLocation The location where ASC stores the data of the subscription. can be retrieved from Get
- * locations.
- * @param alertName Name of the alert object.
- * @param resourceGroupName The name of the resource group within the user's subscription. The name is case
- * insensitive.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- void updateResourceGroupLevelStateToResolve(String ascLocation, String alertName, String resourceGroupName);
-
- /**
- * Update the alert's state.
- *
- * @param ascLocation The location where ASC stores the data of the subscription. can be retrieved from Get
- * locations.
- * @param alertName Name of the alert object.
- * @param resourceGroupName The name of the resource group within the user's subscription. The name is case
- * insensitive.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the response.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response updateResourceGroupLevelStateToResolveWithResponse(
- String ascLocation, String alertName, String resourceGroupName, Context context);
-
- /**
- * Update the alert's state.
- *
- * @param ascLocation The location where ASC stores the data of the subscription. can be retrieved from Get
- * locations.
- * @param alertName Name of the alert object.
- * @param resourceGroupName The name of the resource group within the user's subscription. The name is case
- * insensitive.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- void updateResourceGroupLevelStateToDismiss(String ascLocation, String alertName, String resourceGroupName);
-
- /**
- * Update the alert's state.
- *
- * @param ascLocation The location where ASC stores the data of the subscription. can be retrieved from Get
- * locations.
- * @param alertName Name of the alert object.
- * @param resourceGroupName The name of the resource group within the user's subscription. The name is case
- * insensitive.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the response.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response updateResourceGroupLevelStateToDismissWithResponse(
- String ascLocation, String alertName, String resourceGroupName, Context context);
-
- /**
- * Update the alert's state.
- *
- * @param ascLocation The location where ASC stores the data of the subscription. can be retrieved from Get
- * locations.
- * @param alertName Name of the alert object.
- * @param resourceGroupName The name of the resource group within the user's subscription. The name is case
- * insensitive.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- void updateResourceGroupLevelStateToActivate(String ascLocation, String alertName, String resourceGroupName);
-
- /**
- * Update the alert's state.
- *
- * @param ascLocation The location where ASC stores the data of the subscription. can be retrieved from Get
- * locations.
- * @param alertName Name of the alert object.
- * @param resourceGroupName The name of the resource group within the user's subscription. The name is case
- * insensitive.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the response.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response updateResourceGroupLevelStateToActivateWithResponse(
- String ascLocation, String alertName, String resourceGroupName, Context context);
-
- /**
- * Simulate security alerts.
- *
- * @param ascLocation The location where ASC stores the data of the subscription. can be retrieved from Get
- * locations.
- * @param alertSimulatorRequestBody Alert Simulator Request Properties.
- * @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 completion.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- SyncPoller, Void> beginSimulate(
- String ascLocation, AlertSimulatorRequestBody alertSimulatorRequestBody);
-
- /**
- * Simulate security alerts.
- *
- * @param ascLocation The location where ASC stores the data of the subscription. can be retrieved from Get
- * locations.
- * @param alertSimulatorRequestBody Alert Simulator Request Properties.
- * @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 completion.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- SyncPoller, Void> beginSimulate(
- String ascLocation, AlertSimulatorRequestBody alertSimulatorRequestBody, Context context);
-
- /**
- * Simulate security alerts.
- *
- * @param ascLocation The location where ASC stores the data of the subscription. can be retrieved from Get
- * locations.
- * @param alertSimulatorRequestBody Alert Simulator Request Properties.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- void simulate(String ascLocation, AlertSimulatorRequestBody alertSimulatorRequestBody);
-
- /**
- * Simulate security alerts.
- *
- * @param ascLocation The location where ASC stores the data of the subscription. can be retrieved from Get
- * locations.
- * @param alertSimulatorRequestBody Alert Simulator Request Properties.
- * @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.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- void simulate(String ascLocation, AlertSimulatorRequestBody alertSimulatorRequestBody, Context context);
-}
diff --git a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/AlertsSuppressionRulesClient.java b/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/AlertsSuppressionRulesClient.java
deleted file mode 100644
index 56bfb72b4229..000000000000
--- a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/AlertsSuppressionRulesClient.java
+++ /dev/null
@@ -1,116 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.security.fluent;
-
-import com.azure.core.annotation.ReturnType;
-import com.azure.core.annotation.ServiceMethod;
-import com.azure.core.http.rest.PagedIterable;
-import com.azure.core.http.rest.Response;
-import com.azure.core.util.Context;
-import com.azure.resourcemanager.security.fluent.models.AlertsSuppressionRuleInner;
-
-/** An instance of this class provides access to all the operations defined in AlertsSuppressionRulesClient. */
-public interface AlertsSuppressionRulesClient {
- /**
- * List of all the dismiss rules for the given subscription.
- *
- * @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 suppression rules list for subscription.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list();
-
- /**
- * List of all the dismiss rules for the given subscription.
- *
- * @param alertType Type of the alert to get rules for.
- * @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 suppression rules list for subscription.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(String alertType, Context context);
-
- /**
- * Get dismiss rule, with name: {alertsSuppressionRuleName}, for the given subscription.
- *
- * @param alertsSuppressionRuleName The unique name of the suppression alert rule.
- * @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 dismiss rule, with name: {alertsSuppressionRuleName}, for the given subscription.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- AlertsSuppressionRuleInner get(String alertsSuppressionRuleName);
-
- /**
- * Get dismiss rule, with name: {alertsSuppressionRuleName}, for the given subscription.
- *
- * @param alertsSuppressionRuleName The unique name of the suppression alert rule.
- * @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 dismiss rule, with name: {alertsSuppressionRuleName}, for the given subscription.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(String alertsSuppressionRuleName, Context context);
-
- /**
- * Update existing rule or create new rule if it doesn't exist.
- *
- * @param alertsSuppressionRuleName The unique name of the suppression alert rule.
- * @param alertsSuppressionRule Suppression rule object.
- * @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 describes the suppression rule.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- AlertsSuppressionRuleInner update(
- String alertsSuppressionRuleName, AlertsSuppressionRuleInner alertsSuppressionRule);
-
- /**
- * Update existing rule or create new rule if it doesn't exist.
- *
- * @param alertsSuppressionRuleName The unique name of the suppression alert rule.
- * @param alertsSuppressionRule Suppression rule object.
- * @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 describes the suppression rule.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response updateWithResponse(
- String alertsSuppressionRuleName, AlertsSuppressionRuleInner alertsSuppressionRule, Context context);
-
- /**
- * Delete dismiss alert rule for this subscription.
- *
- * @param alertsSuppressionRuleName The unique name of the suppression alert rule.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- void delete(String alertsSuppressionRuleName);
-
- /**
- * Delete dismiss alert rule for this subscription.
- *
- * @param alertsSuppressionRuleName The unique name of the suppression alert rule.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the response.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response deleteWithResponse(String alertsSuppressionRuleName, Context context);
-}
diff --git a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/AllowedConnectionsClient.java b/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/AllowedConnectionsClient.java
deleted file mode 100644
index 1597043d4c4d..000000000000
--- a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/AllowedConnectionsClient.java
+++ /dev/null
@@ -1,103 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.security.fluent;
-
-import com.azure.core.annotation.ReturnType;
-import com.azure.core.annotation.ServiceMethod;
-import com.azure.core.http.rest.PagedIterable;
-import com.azure.core.http.rest.Response;
-import com.azure.core.util.Context;
-import com.azure.resourcemanager.security.fluent.models.AllowedConnectionsResourceInner;
-import com.azure.resourcemanager.security.models.ConnectionType;
-
-/** An instance of this class provides access to all the operations defined in AllowedConnectionsClient. */
-public interface AllowedConnectionsClient {
- /**
- * Gets the list of all possible traffic between resources for the subscription.
- *
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the list of all possible traffic between resources for the subscription.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list();
-
- /**
- * Gets the list of all possible traffic between resources for the subscription.
- *
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the list of all possible traffic between resources for the subscription.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(Context context);
-
- /**
- * Gets the list of all possible traffic between resources for the subscription and location.
- *
- * @param ascLocation The location where ASC stores the data of the subscription. can be retrieved from Get
- * locations.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the list of all possible traffic between resources for the subscription and location.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable listByHomeRegion(String ascLocation);
-
- /**
- * Gets the list of all possible traffic between resources for the subscription and location.
- *
- * @param ascLocation The location where ASC stores the data of the subscription. can be retrieved from Get
- * locations.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the list of all possible traffic between resources for the subscription and location.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable listByHomeRegion(String ascLocation, Context context);
-
- /**
- * Gets the list of all possible traffic between resources for the subscription and location, based on connection
- * type.
- *
- * @param resourceGroupName The name of the resource group within the user's subscription. The name is case
- * insensitive.
- * @param ascLocation The location where ASC stores the data of the subscription. can be retrieved from Get
- * locations.
- * @param connectionType The type of allowed connections (Internal, External).
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the list of all possible traffic between resources for the subscription and location, based on connection
- * type.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- AllowedConnectionsResourceInner get(String resourceGroupName, String ascLocation, ConnectionType connectionType);
-
- /**
- * Gets the list of all possible traffic between resources for the subscription and location, based on connection
- * type.
- *
- * @param resourceGroupName The name of the resource group within the user's subscription. The name is case
- * insensitive.
- * @param ascLocation The location where ASC stores the data of the subscription. can be retrieved from Get
- * locations.
- * @param connectionType The type of allowed connections (Internal, External).
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the list of all possible traffic between resources for the subscription and location, based on connection
- * type.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(
- String resourceGroupName, String ascLocation, ConnectionType connectionType, Context context);
-}
diff --git a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/AssessmentsClient.java b/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/AssessmentsClient.java
deleted file mode 100644
index 5d3b6586bae3..000000000000
--- a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/AssessmentsClient.java
+++ /dev/null
@@ -1,133 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.security.fluent;
-
-import com.azure.core.annotation.ReturnType;
-import com.azure.core.annotation.ServiceMethod;
-import com.azure.core.http.rest.PagedIterable;
-import com.azure.core.http.rest.Response;
-import com.azure.core.util.Context;
-import com.azure.resourcemanager.security.fluent.models.SecurityAssessmentInner;
-import com.azure.resourcemanager.security.models.ExpandEnum;
-
-/** An instance of this class provides access to all the operations defined in AssessmentsClient. */
-public interface AssessmentsClient {
- /**
- * Get security assessments on all your scanned resources inside a scope.
- *
- * @param scope Scope of the query, can be subscription (/subscriptions/0b06d9ea-afe6-4779-bd59-30e5c2d9d13f) or
- * management group (/providers/Microsoft.Management/managementGroups/mgName).
- * @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 security assessments on all your scanned resources inside a scope.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(String scope);
-
- /**
- * Get security assessments on all your scanned resources inside a scope.
- *
- * @param scope Scope of the query, can be subscription (/subscriptions/0b06d9ea-afe6-4779-bd59-30e5c2d9d13f) or
- * management group (/providers/Microsoft.Management/managementGroups/mgName).
- * @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 security assessments on all your scanned resources inside a scope.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(String scope, Context context);
-
- /**
- * Get a security assessment on your scanned resource.
- *
- * @param resourceId The identifier of the resource.
- * @param assessmentName The Assessment Key - Unique key for the assessment type.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a security assessment on your scanned resource.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- SecurityAssessmentInner get(String resourceId, String assessmentName);
-
- /**
- * Get a security assessment on your scanned resource.
- *
- * @param resourceId The identifier of the resource.
- * @param assessmentName The Assessment Key - Unique key for the assessment type.
- * @param expand OData expand. Optional.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a security assessment on your scanned resource.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(
- String resourceId, String assessmentName, ExpandEnum expand, Context context);
-
- /**
- * Create a security assessment on your resource. An assessment metadata that describes this assessment must be
- * predefined with the same name before inserting the assessment result.
- *
- * @param resourceId The identifier of the resource.
- * @param assessmentName The Assessment Key - Unique key for the assessment type.
- * @param assessment Calculated assessment on a pre-defined assessment metadata.
- * @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 security assessment on a resource.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- SecurityAssessmentInner createOrUpdate(
- String resourceId, String assessmentName, SecurityAssessmentInner assessment);
-
- /**
- * Create a security assessment on your resource. An assessment metadata that describes this assessment must be
- * predefined with the same name before inserting the assessment result.
- *
- * @param resourceId The identifier of the resource.
- * @param assessmentName The Assessment Key - Unique key for the assessment type.
- * @param assessment Calculated assessment on a pre-defined assessment metadata.
- * @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 security assessment on a resource.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response createOrUpdateWithResponse(
- String resourceId, String assessmentName, SecurityAssessmentInner assessment, Context context);
-
- /**
- * Delete a security assessment on your resource. An assessment metadata that describes this assessment must be
- * predefined with the same name before inserting the assessment result.
- *
- * @param resourceId The identifier of the resource.
- * @param assessmentName The Assessment Key - Unique key for the assessment type.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- void delete(String resourceId, String assessmentName);
-
- /**
- * Delete a security assessment on your resource. An assessment metadata that describes this assessment must be
- * predefined with the same name before inserting the assessment result.
- *
- * @param resourceId The identifier of the resource.
- * @param assessmentName The Assessment Key - Unique key for the assessment type.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the response.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response deleteWithResponse(String resourceId, String assessmentName, Context context);
-}
diff --git a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/AssessmentsMetadatasClient.java b/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/AssessmentsMetadatasClient.java
deleted file mode 100644
index 6cc6f62ecf44..000000000000
--- a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/AssessmentsMetadatasClient.java
+++ /dev/null
@@ -1,165 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.security.fluent;
-
-import com.azure.core.annotation.ReturnType;
-import com.azure.core.annotation.ServiceMethod;
-import com.azure.core.http.rest.PagedIterable;
-import com.azure.core.http.rest.Response;
-import com.azure.core.util.Context;
-import com.azure.resourcemanager.security.fluent.models.SecurityAssessmentMetadataInner;
-
-/** An instance of this class provides access to all the operations defined in AssessmentsMetadatasClient. */
-public interface AssessmentsMetadatasClient {
- /**
- * Get metadata information on all assessment types.
- *
- * @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 metadata information on all assessment types.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list();
-
- /**
- * Get metadata information on all assessment types.
- *
- * @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 metadata information on all assessment types.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(Context context);
-
- /**
- * Get metadata information on an assessment type.
- *
- * @param assessmentMetadataName The Assessment Key - Unique key for the assessment type.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return metadata information on an assessment type.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- SecurityAssessmentMetadataInner get(String assessmentMetadataName);
-
- /**
- * Get metadata information on an assessment type.
- *
- * @param assessmentMetadataName The Assessment Key - Unique key for the assessment type.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return metadata information on an assessment type.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(String assessmentMetadataName, Context context);
-
- /**
- * Get metadata information on all assessment types in a specific subscription.
- *
- * @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 metadata information on all assessment types in a specific subscription.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable listBySubscription();
-
- /**
- * Get metadata information on all assessment types in a specific subscription.
- *
- * @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 metadata information on all assessment types in a specific subscription.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable listBySubscription(Context context);
-
- /**
- * Get metadata information on an assessment type in a specific subscription.
- *
- * @param assessmentMetadataName The Assessment Key - Unique key for the assessment type.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return metadata information on an assessment type in a specific subscription.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- SecurityAssessmentMetadataInner getInSubscription(String assessmentMetadataName);
-
- /**
- * Get metadata information on an assessment type in a specific subscription.
- *
- * @param assessmentMetadataName The Assessment Key - Unique key for the assessment type.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return metadata information on an assessment type in a specific subscription.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response getInSubscriptionWithResponse(
- String assessmentMetadataName, Context context);
-
- /**
- * Create metadata information on an assessment type in a specific subscription.
- *
- * @param assessmentMetadataName The Assessment Key - Unique key for the assessment type.
- * @param assessmentMetadata AssessmentMetadata object.
- * @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 security assessment metadata.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- SecurityAssessmentMetadataInner createInSubscription(
- String assessmentMetadataName, SecurityAssessmentMetadataInner assessmentMetadata);
-
- /**
- * Create metadata information on an assessment type in a specific subscription.
- *
- * @param assessmentMetadataName The Assessment Key - Unique key for the assessment type.
- * @param assessmentMetadata AssessmentMetadata object.
- * @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 security assessment metadata.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response createInSubscriptionWithResponse(
- String assessmentMetadataName, SecurityAssessmentMetadataInner assessmentMetadata, Context context);
-
- /**
- * Delete metadata information on an assessment type in a specific subscription, will cause the deletion of all the
- * assessments of that type in that subscription.
- *
- * @param assessmentMetadataName The Assessment Key - Unique key for the assessment type.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- void deleteInSubscription(String assessmentMetadataName);
-
- /**
- * Delete metadata information on an assessment type in a specific subscription, will cause the deletion of all the
- * assessments of that type in that subscription.
- *
- * @param assessmentMetadataName The Assessment Key - Unique key for the assessment type.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the response.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response deleteInSubscriptionWithResponse(String assessmentMetadataName, Context context);
-}
diff --git a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/AutoProvisioningSettingsClient.java b/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/AutoProvisioningSettingsClient.java
deleted file mode 100644
index 85f54c8b527f..000000000000
--- a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/AutoProvisioningSettingsClient.java
+++ /dev/null
@@ -1,90 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.security.fluent;
-
-import com.azure.core.annotation.ReturnType;
-import com.azure.core.annotation.ServiceMethod;
-import com.azure.core.http.rest.PagedIterable;
-import com.azure.core.http.rest.Response;
-import com.azure.core.util.Context;
-import com.azure.resourcemanager.security.fluent.models.AutoProvisioningSettingInner;
-
-/** An instance of this class provides access to all the operations defined in AutoProvisioningSettingsClient. */
-public interface AutoProvisioningSettingsClient {
- /**
- * Exposes the auto provisioning settings of the subscriptions.
- *
- * @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 list of all the auto provisioning settings response.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list();
-
- /**
- * Exposes the auto provisioning settings of the subscriptions.
- *
- * @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 list of all the auto provisioning settings response.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(Context context);
-
- /**
- * Details of a specific setting.
- *
- * @param settingName Auto provisioning setting key.
- * @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 auto provisioning setting.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- AutoProvisioningSettingInner get(String settingName);
-
- /**
- * Details of a specific setting.
- *
- * @param settingName Auto provisioning setting key.
- * @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 auto provisioning setting.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(String settingName, Context context);
-
- /**
- * Details of a specific setting.
- *
- * @param settingName Auto provisioning setting key.
- * @param setting Auto provisioning setting key.
- * @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 auto provisioning setting.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- AutoProvisioningSettingInner create(String settingName, AutoProvisioningSettingInner setting);
-
- /**
- * Details of a specific setting.
- *
- * @param settingName Auto provisioning setting key.
- * @param setting Auto provisioning setting key.
- * @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 auto provisioning setting.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response createWithResponse(
- String settingName, AutoProvisioningSettingInner setting, Context context);
-}
diff --git a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/AutomationsClient.java b/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/AutomationsClient.java
deleted file mode 100644
index 0a35d74e3790..000000000000
--- a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/AutomationsClient.java
+++ /dev/null
@@ -1,196 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.security.fluent;
-
-import com.azure.core.annotation.ReturnType;
-import com.azure.core.annotation.ServiceMethod;
-import com.azure.core.http.rest.PagedIterable;
-import com.azure.core.http.rest.Response;
-import com.azure.core.util.Context;
-import com.azure.resourcemanager.security.fluent.models.AutomationInner;
-import com.azure.resourcemanager.security.fluent.models.AutomationValidationStatusInner;
-
-/** An instance of this class provides access to all the operations defined in AutomationsClient. */
-public interface AutomationsClient {
- /**
- * Lists all the security automations in the specified subscription. Use the 'nextLink' property in the response to
- * get the next page of security automations for the specified subscription.
- *
- * @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 list of security automations response.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list();
-
- /**
- * Lists all the security automations in the specified subscription. Use the 'nextLink' property in the response to
- * get the next page of security automations for the specified subscription.
- *
- * @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 list of security automations response.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(Context context);
-
- /**
- * Lists all the security automations in the specified resource group. Use the 'nextLink' property in the response
- * to get the next page of security automations for the specified resource group.
- *
- * @param resourceGroupName The name of the resource group within the user's subscription. The name is case
- * insensitive.
- * @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 list of security automations response.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable listByResourceGroup(String resourceGroupName);
-
- /**
- * Lists all the security automations in the specified resource group. Use the 'nextLink' property in the response
- * to get the next page of security automations for the specified resource group.
- *
- * @param resourceGroupName The name of the resource group within the user's subscription. The name is case
- * insensitive.
- * @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 list of security automations response.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable listByResourceGroup(String resourceGroupName, Context context);
-
- /**
- * Retrieves information about the model of a security automation.
- *
- * @param resourceGroupName The name of the resource group within the user's subscription. The name is case
- * insensitive.
- * @param automationName The security automation name.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the security automation resource.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- AutomationInner getByResourceGroup(String resourceGroupName, String automationName);
-
- /**
- * Retrieves information about the model of a security automation.
- *
- * @param resourceGroupName The name of the resource group within the user's subscription. The name is case
- * insensitive.
- * @param automationName The security automation name.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the security automation resource.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response getByResourceGroupWithResponse(
- String resourceGroupName, String automationName, Context context);
-
- /**
- * Creates or updates a security automation. If a security automation is already created and a subsequent request is
- * issued for the same automation id, then it will be updated.
- *
- * @param resourceGroupName The name of the resource group within the user's subscription. The name is case
- * insensitive.
- * @param automationName The security automation name.
- * @param automation The security automation resource.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the security automation resource.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- AutomationInner createOrUpdate(String resourceGroupName, String automationName, AutomationInner automation);
-
- /**
- * Creates or updates a security automation. If a security automation is already created and a subsequent request is
- * issued for the same automation id, then it will be updated.
- *
- * @param resourceGroupName The name of the resource group within the user's subscription. The name is case
- * insensitive.
- * @param automationName The security automation name.
- * @param automation The security automation resource.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the security automation resource.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response createOrUpdateWithResponse(
- String resourceGroupName, String automationName, AutomationInner automation, Context context);
-
- /**
- * Deletes a security automation.
- *
- * @param resourceGroupName The name of the resource group within the user's subscription. The name is case
- * insensitive.
- * @param automationName The security automation name.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- void delete(String resourceGroupName, String automationName);
-
- /**
- * Deletes a security automation.
- *
- * @param resourceGroupName The name of the resource group within the user's subscription. The name is case
- * insensitive.
- * @param automationName The security automation name.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the response.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response deleteWithResponse(String resourceGroupName, String automationName, Context context);
-
- /**
- * Validates the security automation model before create or update. Any validation errors are returned to the
- * client.
- *
- * @param resourceGroupName The name of the resource group within the user's subscription. The name is case
- * insensitive.
- * @param automationName The security automation name.
- * @param automation The security automation resource.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the security automation model state property bag.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- AutomationValidationStatusInner validate(
- String resourceGroupName, String automationName, AutomationInner automation);
-
- /**
- * Validates the security automation model before create or update. Any validation errors are returned to the
- * client.
- *
- * @param resourceGroupName The name of the resource group within the user's subscription. The name is case
- * insensitive.
- * @param automationName The security automation name.
- * @param automation The security automation resource.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the security automation model state property bag.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response validateWithResponse(
- String resourceGroupName, String automationName, AutomationInner automation, Context context);
-}
diff --git a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/ComplianceResultsClient.java b/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/ComplianceResultsClient.java
deleted file mode 100644
index e0f03ed56e65..000000000000
--- a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/ComplianceResultsClient.java
+++ /dev/null
@@ -1,69 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.security.fluent;
-
-import com.azure.core.annotation.ReturnType;
-import com.azure.core.annotation.ServiceMethod;
-import com.azure.core.http.rest.PagedIterable;
-import com.azure.core.http.rest.Response;
-import com.azure.core.util.Context;
-import com.azure.resourcemanager.security.fluent.models.ComplianceResultInner;
-
-/** An instance of this class provides access to all the operations defined in ComplianceResultsClient. */
-public interface ComplianceResultsClient {
- /**
- * Security compliance results in the subscription.
- *
- * @param scope Scope of the query, can be subscription (/subscriptions/0b06d9ea-afe6-4779-bd59-30e5c2d9d13f) or
- * management group (/providers/Microsoft.Management/managementGroups/mgName).
- * @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 list of compliance results response.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(String scope);
-
- /**
- * Security compliance results in the subscription.
- *
- * @param scope Scope of the query, can be subscription (/subscriptions/0b06d9ea-afe6-4779-bd59-30e5c2d9d13f) or
- * management group (/providers/Microsoft.Management/managementGroups/mgName).
- * @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 list of compliance results response.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(String scope, Context context);
-
- /**
- * Security Compliance Result.
- *
- * @param resourceId The identifier of the resource.
- * @param complianceResultName name of the desired assessment compliance result.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a compliance result.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- ComplianceResultInner get(String resourceId, String complianceResultName);
-
- /**
- * Security Compliance Result.
- *
- * @param resourceId The identifier of the resource.
- * @param complianceResultName name of the desired assessment compliance result.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a compliance result.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(String resourceId, String complianceResultName, Context context);
-}
diff --git a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/CompliancesClient.java b/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/CompliancesClient.java
deleted file mode 100644
index 368db296b9de..000000000000
--- a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/CompliancesClient.java
+++ /dev/null
@@ -1,71 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.security.fluent;
-
-import com.azure.core.annotation.ReturnType;
-import com.azure.core.annotation.ServiceMethod;
-import com.azure.core.http.rest.PagedIterable;
-import com.azure.core.http.rest.Response;
-import com.azure.core.util.Context;
-import com.azure.resourcemanager.security.fluent.models.ComplianceInner;
-
-/** An instance of this class provides access to all the operations defined in CompliancesClient. */
-public interface CompliancesClient {
- /**
- * The Compliance scores of the specific management group.
- *
- * @param scope Scope of the query, can be subscription (/subscriptions/0b06d9ea-afe6-4779-bd59-30e5c2d9d13f) or
- * management group (/providers/Microsoft.Management/managementGroups/mgName).
- * @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 list of Compliance objects response.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(String scope);
-
- /**
- * The Compliance scores of the specific management group.
- *
- * @param scope Scope of the query, can be subscription (/subscriptions/0b06d9ea-afe6-4779-bd59-30e5c2d9d13f) or
- * management group (/providers/Microsoft.Management/managementGroups/mgName).
- * @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 list of Compliance objects response.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(String scope, Context context);
-
- /**
- * Details of a specific Compliance.
- *
- * @param scope Scope of the query, can be subscription (/subscriptions/0b06d9ea-afe6-4779-bd59-30e5c2d9d13f) or
- * management group (/providers/Microsoft.Management/managementGroups/mgName).
- * @param complianceName name of the Compliance.
- * @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 compliance of a scope.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- ComplianceInner get(String scope, String complianceName);
-
- /**
- * Details of a specific Compliance.
- *
- * @param scope Scope of the query, can be subscription (/subscriptions/0b06d9ea-afe6-4779-bd59-30e5c2d9d13f) or
- * management group (/providers/Microsoft.Management/managementGroups/mgName).
- * @param complianceName name of the Compliance.
- * @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 compliance of a scope.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(String scope, String complianceName, Context context);
-}
diff --git a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/ConnectorsClient.java b/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/ConnectorsClient.java
deleted file mode 100644
index 4d5e6d47ba13..000000000000
--- a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/ConnectorsClient.java
+++ /dev/null
@@ -1,116 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.security.fluent;
-
-import com.azure.core.annotation.ReturnType;
-import com.azure.core.annotation.ServiceMethod;
-import com.azure.core.http.rest.PagedIterable;
-import com.azure.core.http.rest.Response;
-import com.azure.core.util.Context;
-import com.azure.resourcemanager.security.fluent.models.ConnectorSettingInner;
-
-/** An instance of this class provides access to all the operations defined in ConnectorsClient. */
-public interface ConnectorsClient {
- /**
- * Cloud accounts connectors of a subscription.
- *
- * @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 for a subscription, list of all cloud account connectors and their settings.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list();
-
- /**
- * Cloud accounts connectors of a subscription.
- *
- * @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 for a subscription, list of all cloud account connectors and their settings.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(Context context);
-
- /**
- * Details of a specific cloud account connector.
- *
- * @param connectorName Name of the cloud account connector.
- * @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 connector setting.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- ConnectorSettingInner get(String connectorName);
-
- /**
- * Details of a specific cloud account connector.
- *
- * @param connectorName Name of the cloud account connector.
- * @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 connector setting.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(String connectorName, Context context);
-
- /**
- * Create a cloud account connector or update an existing one. Connect to your cloud account. For AWS, use either
- * account credentials or role-based authentication. For GCP, use account organization credentials.
- *
- * @param connectorName Name of the cloud account connector.
- * @param connectorSetting Settings for the cloud account connector.
- * @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 connector setting.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- ConnectorSettingInner createOrUpdate(String connectorName, ConnectorSettingInner connectorSetting);
-
- /**
- * Create a cloud account connector or update an existing one. Connect to your cloud account. For AWS, use either
- * account credentials or role-based authentication. For GCP, use account organization credentials.
- *
- * @param connectorName Name of the cloud account connector.
- * @param connectorSetting Settings for the cloud account connector.
- * @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 connector setting.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response createOrUpdateWithResponse(
- String connectorName, ConnectorSettingInner connectorSetting, Context context);
-
- /**
- * Delete a cloud account connector from a subscription.
- *
- * @param connectorName Name of the cloud account connector.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- void delete(String connectorName);
-
- /**
- * Delete a cloud account connector from a subscription.
- *
- * @param connectorName Name of the cloud account connector.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the response.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response deleteWithResponse(String connectorName, Context context);
-}
diff --git a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/DeviceSecurityGroupsClient.java b/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/DeviceSecurityGroupsClient.java
deleted file mode 100644
index 4c8b55d0b84e..000000000000
--- a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/DeviceSecurityGroupsClient.java
+++ /dev/null
@@ -1,134 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.security.fluent;
-
-import com.azure.core.annotation.ReturnType;
-import com.azure.core.annotation.ServiceMethod;
-import com.azure.core.http.rest.PagedIterable;
-import com.azure.core.http.rest.Response;
-import com.azure.core.util.Context;
-import com.azure.resourcemanager.security.fluent.models.DeviceSecurityGroupInner;
-
-/** An instance of this class provides access to all the operations defined in DeviceSecurityGroupsClient. */
-public interface DeviceSecurityGroupsClient {
- /**
- * Use this method get the list of device security groups for the specified IoT Hub resource.
- *
- * @param resourceId The identifier of the resource.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return list of device security groups.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(String resourceId);
-
- /**
- * Use this method get the list of device security groups for the specified IoT Hub resource.
- *
- * @param resourceId The identifier of the resource.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return list of device security groups.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(String resourceId, Context context);
-
- /**
- * Use this method to get the device security group for the specified IoT Hub resource.
- *
- * @param resourceId The identifier of the resource.
- * @param deviceSecurityGroupName The name of the device security group. Note that the name of the device security
- * group is case insensitive.
- * @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 device security group resource.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- DeviceSecurityGroupInner get(String resourceId, String deviceSecurityGroupName);
-
- /**
- * Use this method to get the device security group for the specified IoT Hub resource.
- *
- * @param resourceId The identifier of the resource.
- * @param deviceSecurityGroupName The name of the device security group. Note that the name of the device security
- * group is case insensitive.
- * @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 device security group resource.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(
- String resourceId, String deviceSecurityGroupName, Context context);
-
- /**
- * Use this method to creates or updates the device security group on a specified IoT Hub resource.
- *
- * @param resourceId The identifier of the resource.
- * @param deviceSecurityGroupName The name of the device security group. Note that the name of the device security
- * group is case insensitive.
- * @param deviceSecurityGroup Security group object.
- * @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 device security group resource.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- DeviceSecurityGroupInner createOrUpdate(
- String resourceId, String deviceSecurityGroupName, DeviceSecurityGroupInner deviceSecurityGroup);
-
- /**
- * Use this method to creates or updates the device security group on a specified IoT Hub resource.
- *
- * @param resourceId The identifier of the resource.
- * @param deviceSecurityGroupName The name of the device security group. Note that the name of the device security
- * group is case insensitive.
- * @param deviceSecurityGroup Security group object.
- * @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 device security group resource.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response createOrUpdateWithResponse(
- String resourceId,
- String deviceSecurityGroupName,
- DeviceSecurityGroupInner deviceSecurityGroup,
- Context context);
-
- /**
- * User this method to deletes the device security group.
- *
- * @param resourceId The identifier of the resource.
- * @param deviceSecurityGroupName The name of the device security group. Note that the name of the device security
- * group is case insensitive.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- void delete(String resourceId, String deviceSecurityGroupName);
-
- /**
- * User this method to deletes the device security group.
- *
- * @param resourceId The identifier of the resource.
- * @param deviceSecurityGroupName The name of the device security group. Note that the name of the device security
- * group is case insensitive.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the response.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response deleteWithResponse(String resourceId, String deviceSecurityGroupName, Context context);
-}
diff --git a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/DevicesClient.java b/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/DevicesClient.java
deleted file mode 100644
index 90532443f9ff..000000000000
--- a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/DevicesClient.java
+++ /dev/null
@@ -1,41 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.security.fluent;
-
-import com.azure.core.annotation.ReturnType;
-import com.azure.core.annotation.ServiceMethod;
-import com.azure.core.http.rest.Response;
-import com.azure.core.util.Context;
-import com.azure.resourcemanager.security.fluent.models.DeviceInner;
-
-/** An instance of this class provides access to all the operations defined in DevicesClient. */
-public interface DevicesClient {
- /**
- * Get device.
- *
- * @param resourceId The identifier of the resource.
- * @param deviceId Identifier of the device.
- * @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 device.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- DeviceInner get(String resourceId, String deviceId);
-
- /**
- * Get device.
- *
- * @param resourceId The identifier of the resource.
- * @param deviceId Identifier of the device.
- * @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 device.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(String resourceId, String deviceId, Context context);
-}
diff --git a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/DevicesForHubsClient.java b/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/DevicesForHubsClient.java
deleted file mode 100644
index 69f002544a43..000000000000
--- a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/DevicesForHubsClient.java
+++ /dev/null
@@ -1,44 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.security.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.security.fluent.models.DeviceInner;
-import com.azure.resourcemanager.security.models.ManagementState;
-
-/** An instance of this class provides access to all the operations defined in DevicesForHubsClient. */
-public interface DevicesForHubsClient {
- /**
- * Get list of the devices for the specified IoT Hub resource.
- *
- * @param resourceId The identifier of the resource.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return list of the devices for the specified IoT Hub resource.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(String resourceId);
-
- /**
- * Get list of the devices for the specified IoT Hub resource.
- *
- * @param resourceId The identifier of the resource.
- * @param limit Limit the number of items returned in a single page.
- * @param skipToken Skip token used for pagination.
- * @param deviceManagementType Get devices only from specific type, Managed or Unmanaged.
- * @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 list of the devices for the specified IoT Hub resource.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(
- String resourceId, Integer limit, String skipToken, ManagementState deviceManagementType, Context context);
-}
diff --git a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/DevicesForSubscriptionsClient.java b/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/DevicesForSubscriptionsClient.java
deleted file mode 100644
index 155c79771103..000000000000
--- a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/DevicesForSubscriptionsClient.java
+++ /dev/null
@@ -1,41 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.security.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.security.fluent.models.DeviceInner;
-import com.azure.resourcemanager.security.models.ManagementState;
-
-/** An instance of this class provides access to all the operations defined in DevicesForSubscriptionsClient. */
-public interface DevicesForSubscriptionsClient {
- /**
- * Get list of the devices by their subscription.
- *
- * @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 list of the devices by their subscription.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list();
-
- /**
- * Get list of the devices by their subscription.
- *
- * @param limit Limit the number of items returned in a single page.
- * @param skipToken Skip token used for pagination.
- * @param deviceManagementType Get devices only from specific type, Managed or Unmanaged.
- * @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 list of the devices by their subscription.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(
- Integer limit, String skipToken, ManagementState deviceManagementType, Context context);
-}
diff --git a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/DiscoveredSecuritySolutionsClient.java b/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/DiscoveredSecuritySolutionsClient.java
deleted file mode 100644
index cffe25fb5761..000000000000
--- a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/DiscoveredSecuritySolutionsClient.java
+++ /dev/null
@@ -1,99 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.security.fluent;
-
-import com.azure.core.annotation.ReturnType;
-import com.azure.core.annotation.ServiceMethod;
-import com.azure.core.http.rest.PagedIterable;
-import com.azure.core.http.rest.Response;
-import com.azure.core.util.Context;
-import com.azure.resourcemanager.security.fluent.models.DiscoveredSecuritySolutionInner;
-
-/** An instance of this class provides access to all the operations defined in DiscoveredSecuritySolutionsClient. */
-public interface DiscoveredSecuritySolutionsClient {
- /**
- * Gets a list of discovered Security Solutions for the subscription.
- *
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a list of discovered Security Solutions for the subscription.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list();
-
- /**
- * Gets a list of discovered Security Solutions for the subscription.
- *
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a list of discovered Security Solutions for the subscription.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(Context context);
-
- /**
- * Gets a list of discovered Security Solutions for the subscription and location.
- *
- * @param ascLocation The location where ASC stores the data of the subscription. can be retrieved from Get
- * locations.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a list of discovered Security Solutions for the subscription and location.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable listByHomeRegion(String ascLocation);
-
- /**
- * Gets a list of discovered Security Solutions for the subscription and location.
- *
- * @param ascLocation The location where ASC stores the data of the subscription. can be retrieved from Get
- * locations.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a list of discovered Security Solutions for the subscription and location.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable listByHomeRegion(String ascLocation, Context context);
-
- /**
- * Gets a specific discovered Security Solution.
- *
- * @param resourceGroupName The name of the resource group within the user's subscription. The name is case
- * insensitive.
- * @param ascLocation The location where ASC stores the data of the subscription. can be retrieved from Get
- * locations.
- * @param discoveredSecuritySolutionName Name of a discovered security solution.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a specific discovered Security Solution.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- DiscoveredSecuritySolutionInner get(
- String resourceGroupName, String ascLocation, String discoveredSecuritySolutionName);
-
- /**
- * Gets a specific discovered Security Solution.
- *
- * @param resourceGroupName The name of the resource group within the user's subscription. The name is case
- * insensitive.
- * @param ascLocation The location where ASC stores the data of the subscription. can be retrieved from Get
- * locations.
- * @param discoveredSecuritySolutionName Name of a discovered security solution.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a specific discovered Security Solution.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(
- String resourceGroupName, String ascLocation, String discoveredSecuritySolutionName, Context context);
-}
diff --git a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/ExternalSecuritySolutionsClient.java b/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/ExternalSecuritySolutionsClient.java
deleted file mode 100644
index 33fe6f92a327..000000000000
--- a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/ExternalSecuritySolutionsClient.java
+++ /dev/null
@@ -1,99 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.security.fluent;
-
-import com.azure.core.annotation.ReturnType;
-import com.azure.core.annotation.ServiceMethod;
-import com.azure.core.http.rest.PagedIterable;
-import com.azure.core.http.rest.Response;
-import com.azure.core.util.Context;
-import com.azure.resourcemanager.security.fluent.models.ExternalSecuritySolutionInner;
-
-/** An instance of this class provides access to all the operations defined in ExternalSecuritySolutionsClient. */
-public interface ExternalSecuritySolutionsClient {
- /**
- * Gets a list of external security solutions for the subscription.
- *
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a list of external security solutions for the subscription.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list();
-
- /**
- * Gets a list of external security solutions for the subscription.
- *
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a list of external security solutions for the subscription.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(Context context);
-
- /**
- * Gets a list of external Security Solutions for the subscription and location.
- *
- * @param ascLocation The location where ASC stores the data of the subscription. can be retrieved from Get
- * locations.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a list of external Security Solutions for the subscription and location.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable listByHomeRegion(String ascLocation);
-
- /**
- * Gets a list of external Security Solutions for the subscription and location.
- *
- * @param ascLocation The location where ASC stores the data of the subscription. can be retrieved from Get
- * locations.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a list of external Security Solutions for the subscription and location.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable listByHomeRegion(String ascLocation, Context context);
-
- /**
- * Gets a specific external Security Solution.
- *
- * @param resourceGroupName The name of the resource group within the user's subscription. The name is case
- * insensitive.
- * @param ascLocation The location where ASC stores the data of the subscription. can be retrieved from Get
- * locations.
- * @param externalSecuritySolutionsName Name of an external security solution.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a specific external Security Solution.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- ExternalSecuritySolutionInner get(
- String resourceGroupName, String ascLocation, String externalSecuritySolutionsName);
-
- /**
- * Gets a specific external Security Solution.
- *
- * @param resourceGroupName The name of the resource group within the user's subscription. The name is case
- * insensitive.
- * @param ascLocation The location where ASC stores the data of the subscription. can be retrieved from Get
- * locations.
- * @param externalSecuritySolutionsName Name of an external security solution.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a specific external Security Solution.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(
- String resourceGroupName, String ascLocation, String externalSecuritySolutionsName, Context context);
-}
diff --git a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/InformationProtectionPoliciesClient.java b/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/InformationProtectionPoliciesClient.java
deleted file mode 100644
index f38b0eab073d..000000000000
--- a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/InformationProtectionPoliciesClient.java
+++ /dev/null
@@ -1,114 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.security.fluent;
-
-import com.azure.core.annotation.ReturnType;
-import com.azure.core.annotation.ServiceMethod;
-import com.azure.core.http.rest.PagedIterable;
-import com.azure.core.http.rest.Response;
-import com.azure.core.util.Context;
-import com.azure.resourcemanager.security.fluent.models.InformationProtectionPolicyInner;
-import com.azure.resourcemanager.security.models.InformationProtectionPoliciesInformationProtectionPolicyName;
-
-/** An instance of this class provides access to all the operations defined in InformationProtectionPoliciesClient. */
-public interface InformationProtectionPoliciesClient {
- /**
- * Details of the information protection policy.
- *
- * @param scope Scope of the query, can be subscription (/subscriptions/0b06d9ea-afe6-4779-bd59-30e5c2d9d13f) or
- * management group (/providers/Microsoft.Management/managementGroups/mgName).
- * @param informationProtectionPolicyName Name of the information protection policy.
- * @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 information protection policy.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- InformationProtectionPolicyInner get(
- String scope, InformationProtectionPoliciesInformationProtectionPolicyName informationProtectionPolicyName);
-
- /**
- * Details of the information protection policy.
- *
- * @param scope Scope of the query, can be subscription (/subscriptions/0b06d9ea-afe6-4779-bd59-30e5c2d9d13f) or
- * management group (/providers/Microsoft.Management/managementGroups/mgName).
- * @param informationProtectionPolicyName Name of the information protection policy.
- * @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 information protection policy.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(
- String scope,
- InformationProtectionPoliciesInformationProtectionPolicyName informationProtectionPolicyName,
- Context context);
-
- /**
- * Details of the information protection policy.
- *
- * @param scope Scope of the query, can be subscription (/subscriptions/0b06d9ea-afe6-4779-bd59-30e5c2d9d13f) or
- * management group (/providers/Microsoft.Management/managementGroups/mgName).
- * @param informationProtectionPolicyName Name of the information protection policy.
- * @param informationProtectionPolicy Information protection policy.
- * @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 information protection policy.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- InformationProtectionPolicyInner createOrUpdate(
- String scope,
- InformationProtectionPoliciesInformationProtectionPolicyName informationProtectionPolicyName,
- InformationProtectionPolicyInner informationProtectionPolicy);
-
- /**
- * Details of the information protection policy.
- *
- * @param scope Scope of the query, can be subscription (/subscriptions/0b06d9ea-afe6-4779-bd59-30e5c2d9d13f) or
- * management group (/providers/Microsoft.Management/managementGroups/mgName).
- * @param informationProtectionPolicyName Name of the information protection policy.
- * @param informationProtectionPolicy Information protection policy.
- * @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 information protection policy.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response createOrUpdateWithResponse(
- String scope,
- InformationProtectionPoliciesInformationProtectionPolicyName informationProtectionPolicyName,
- InformationProtectionPolicyInner informationProtectionPolicy,
- Context context);
-
- /**
- * Information protection policies of a specific management group.
- *
- * @param scope Scope of the query, can be subscription (/subscriptions/0b06d9ea-afe6-4779-bd59-30e5c2d9d13f) or
- * management group (/providers/Microsoft.Management/managementGroups/mgName).
- * @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 information protection policies response.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(String scope);
-
- /**
- * Information protection policies of a specific management group.
- *
- * @param scope Scope of the query, can be subscription (/subscriptions/0b06d9ea-afe6-4779-bd59-30e5c2d9d13f) or
- * management group (/providers/Microsoft.Management/managementGroups/mgName).
- * @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 information protection policies response.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(String scope, Context context);
-}
diff --git a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/IngestionSettingsClient.java b/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/IngestionSettingsClient.java
deleted file mode 100644
index 12a83684c271..000000000000
--- a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/IngestionSettingsClient.java
+++ /dev/null
@@ -1,166 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.security.fluent;
-
-import com.azure.core.annotation.ReturnType;
-import com.azure.core.annotation.ServiceMethod;
-import com.azure.core.http.rest.PagedIterable;
-import com.azure.core.http.rest.Response;
-import com.azure.core.util.Context;
-import com.azure.resourcemanager.security.fluent.models.ConnectionStringsInner;
-import com.azure.resourcemanager.security.fluent.models.IngestionSettingInner;
-import com.azure.resourcemanager.security.fluent.models.IngestionSettingTokenInner;
-
-/** An instance of this class provides access to all the operations defined in IngestionSettingsClient. */
-public interface IngestionSettingsClient {
- /**
- * Settings for ingesting security data and logs to correlate with resources associated with the subscription.
- *
- * @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 list of ingestion settings.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list();
-
- /**
- * Settings for ingesting security data and logs to correlate with resources associated with the subscription.
- *
- * @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 list of ingestion settings.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(Context context);
-
- /**
- * Settings for ingesting security data and logs to correlate with resources associated with the subscription.
- *
- * @param ingestionSettingName Name of the ingestion setting.
- * @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 configures how to correlate scan data and logs with resources associated with the subscription.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- IngestionSettingInner get(String ingestionSettingName);
-
- /**
- * Settings for ingesting security data and logs to correlate with resources associated with the subscription.
- *
- * @param ingestionSettingName Name of the ingestion setting.
- * @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 configures how to correlate scan data and logs with resources associated with the subscription.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(String ingestionSettingName, Context context);
-
- /**
- * Create setting for ingesting security data and logs to correlate with resources associated with the subscription.
- *
- * @param ingestionSettingName Name of the ingestion setting.
- * @param ingestionSetting Ingestion setting object.
- * @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 configures how to correlate scan data and logs with resources associated with the subscription.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- IngestionSettingInner create(String ingestionSettingName, IngestionSettingInner ingestionSetting);
-
- /**
- * Create setting for ingesting security data and logs to correlate with resources associated with the subscription.
- *
- * @param ingestionSettingName Name of the ingestion setting.
- * @param ingestionSetting Ingestion setting object.
- * @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 configures how to correlate scan data and logs with resources associated with the subscription.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response createWithResponse(
- String ingestionSettingName, IngestionSettingInner ingestionSetting, Context context);
-
- /**
- * Deletes the ingestion settings for this subscription.
- *
- * @param ingestionSettingName Name of the ingestion setting.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- void delete(String ingestionSettingName);
-
- /**
- * Deletes the ingestion settings for this subscription.
- *
- * @param ingestionSettingName Name of the ingestion setting.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the response.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response deleteWithResponse(String ingestionSettingName, Context context);
-
- /**
- * Returns the token that is used for correlating ingested telemetry with the resources in the subscription.
- *
- * @param ingestionSettingName Name of the ingestion setting.
- * @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 configures how to correlate scan data and logs with resources associated with the subscription.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- IngestionSettingTokenInner listTokens(String ingestionSettingName);
-
- /**
- * Returns the token that is used for correlating ingested telemetry with the resources in the subscription.
- *
- * @param ingestionSettingName Name of the ingestion setting.
- * @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 configures how to correlate scan data and logs with resources associated with the subscription.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response listTokensWithResponse(String ingestionSettingName, Context context);
-
- /**
- * Connection strings for ingesting security scan logs and data.
- *
- * @param ingestionSettingName Name of the ingestion setting.
- * @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 connection string for ingesting security data and logs.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- ConnectionStringsInner listConnectionStrings(String ingestionSettingName);
-
- /**
- * Connection strings for ingesting security scan logs and data.
- *
- * @param ingestionSettingName Name of the ingestion setting.
- * @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 connection string for ingesting security data and logs.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response listConnectionStringsWithResponse(String ingestionSettingName, Context context);
-}
diff --git a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/IotAlertTypesClient.java b/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/IotAlertTypesClient.java
deleted file mode 100644
index c61e6ae4bc96..000000000000
--- a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/IotAlertTypesClient.java
+++ /dev/null
@@ -1,62 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.security.fluent;
-
-import com.azure.core.annotation.ReturnType;
-import com.azure.core.annotation.ServiceMethod;
-import com.azure.core.http.rest.Response;
-import com.azure.core.util.Context;
-import com.azure.resourcemanager.security.fluent.models.IotAlertTypeInner;
-import com.azure.resourcemanager.security.fluent.models.IotAlertTypeListInner;
-
-/** An instance of this class provides access to all the operations defined in IotAlertTypesClient. */
-public interface IotAlertTypesClient {
- /**
- * List IoT alert types.
- *
- * @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 list of alert types.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- IotAlertTypeListInner list();
-
- /**
- * List IoT alert types.
- *
- * @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 list of alert types.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response listWithResponse(Context context);
-
- /**
- * Get IoT alert type.
- *
- * @param iotAlertTypeName Name of the alert type.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return ioT alert type.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- IotAlertTypeInner get(String iotAlertTypeName);
-
- /**
- * Get IoT alert type.
- *
- * @param iotAlertTypeName Name of the alert type.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return ioT alert type.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(String iotAlertTypeName, Context context);
-}
diff --git a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/IotAlertsClient.java b/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/IotAlertsClient.java
deleted file mode 100644
index add204e53a99..000000000000
--- a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/IotAlertsClient.java
+++ /dev/null
@@ -1,88 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.security.fluent;
-
-import com.azure.core.annotation.ReturnType;
-import com.azure.core.annotation.ServiceMethod;
-import com.azure.core.http.rest.PagedIterable;
-import com.azure.core.http.rest.Response;
-import com.azure.core.util.Context;
-import com.azure.resourcemanager.security.fluent.models.IotAlertModelInner;
-import com.azure.resourcemanager.security.models.ManagementState;
-
-/** An instance of this class provides access to all the operations defined in IotAlertsClient. */
-public interface IotAlertsClient {
- /**
- * List IoT alerts.
- *
- * @param scope Scope of the query: Subscription (i.e. /subscriptions/{subscriptionId}) or IoT Hub (i.e.
- * /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Devices/iotHubs/{iotHubName}).
- * @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 list of IoT alerts.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(String scope);
-
- /**
- * List IoT alerts.
- *
- * @param scope Scope of the query: Subscription (i.e. /subscriptions/{subscriptionId}) or IoT Hub (i.e.
- * /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Devices/iotHubs/{iotHubName}).
- * @param minStartTimeUtc Filter by minimum startTimeUtc (ISO 8601 format).
- * @param maxStartTimeUtc Filter by maximum startTimeUtc (ISO 8601 format).
- * @param alertType Filter by alert type.
- * @param deviceManagementType Get devices only from specific type, Managed or Unmanaged.
- * @param compromisedEntity Filter by compromised device.
- * @param limit Limit the number of items returned in a single page.
- * @param skipToken Skip token used for pagination.
- * @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 list of IoT alerts.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(
- String scope,
- String minStartTimeUtc,
- String maxStartTimeUtc,
- String alertType,
- ManagementState deviceManagementType,
- String compromisedEntity,
- Integer limit,
- String skipToken,
- Context context);
-
- /**
- * Get IoT alert.
- *
- * @param scope Scope of the query: Subscription (i.e. /subscriptions/{subscriptionId}) or IoT Hub (i.e.
- * /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Devices/iotHubs/{iotHubName}).
- * @param iotAlertId Id of the alert.
- * @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 ioT alert.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- IotAlertModelInner get(String scope, String iotAlertId);
-
- /**
- * Get IoT alert.
- *
- * @param scope Scope of the query: Subscription (i.e. /subscriptions/{subscriptionId}) or IoT Hub (i.e.
- * /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Devices/iotHubs/{iotHubName}).
- * @param iotAlertId Id of the alert.
- * @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 ioT alert.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(String scope, String iotAlertId, Context context);
-}
diff --git a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/IotDefenderSettingsClient.java b/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/IotDefenderSettingsClient.java
deleted file mode 100644
index 2fc29dca0093..000000000000
--- a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/IotDefenderSettingsClient.java
+++ /dev/null
@@ -1,153 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.security.fluent;
-
-import com.azure.core.annotation.ReturnType;
-import com.azure.core.annotation.ServiceMethod;
-import com.azure.core.http.rest.Response;
-import com.azure.core.http.rest.StreamResponse;
-import com.azure.core.util.Context;
-import com.azure.resourcemanager.security.fluent.models.IotDefenderSettingsListInner;
-import com.azure.resourcemanager.security.fluent.models.IotDefenderSettingsModelInner;
-import com.azure.resourcemanager.security.fluent.models.PackageDownloadsInner;
-import java.io.InputStream;
-
-/** An instance of this class provides access to all the operations defined in IotDefenderSettingsClient. */
-public interface IotDefenderSettingsClient {
- /**
- * List IoT Defender Settings.
- *
- * @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 list of IoT Defender settings.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- IotDefenderSettingsListInner list();
-
- /**
- * List IoT Defender Settings.
- *
- * @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 list of IoT Defender settings.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response listWithResponse(Context context);
-
- /**
- * Get IoT Defender Settings.
- *
- * @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 ioT Defender Settings.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- IotDefenderSettingsModelInner get();
-
- /**
- * Get IoT Defender Settings.
- *
- * @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 ioT Defender Settings.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(Context context);
-
- /**
- * Create or update IoT Defender settings.
- *
- * @param iotDefenderSettingsModel The IoT defender settings model.
- * @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 ioT Defender settings.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- IotDefenderSettingsModelInner createOrUpdate(IotDefenderSettingsModelInner iotDefenderSettingsModel);
-
- /**
- * Create or update IoT Defender settings.
- *
- * @param iotDefenderSettingsModel The IoT defender settings model.
- * @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 ioT Defender settings.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response createOrUpdateWithResponse(
- IotDefenderSettingsModelInner iotDefenderSettingsModel, Context context);
-
- /**
- * Delete IoT Defender settings.
- *
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- void delete();
-
- /**
- * Delete IoT Defender settings.
- *
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the response.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response deleteWithResponse(Context context);
-
- /**
- * Information about downloadable packages.
- *
- * @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 information about package downloads.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- PackageDownloadsInner packageDownloads();
-
- /**
- * Information about downloadable packages.
- *
- * @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 information about package downloads.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response packageDownloadsWithResponse(Context context);
-
- /**
- * Download manager activation data defined for this subscription.
- *
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the response.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- InputStream downloadManagerActivation();
-
- /**
- * Download manager activation data defined for this subscription.
- *
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the response.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- StreamResponse downloadManagerActivationWithResponse(Context context);
-}
diff --git a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/IotRecommendationTypesClient.java b/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/IotRecommendationTypesClient.java
deleted file mode 100644
index 73ef2991f597..000000000000
--- a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/IotRecommendationTypesClient.java
+++ /dev/null
@@ -1,62 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.security.fluent;
-
-import com.azure.core.annotation.ReturnType;
-import com.azure.core.annotation.ServiceMethod;
-import com.azure.core.http.rest.Response;
-import com.azure.core.util.Context;
-import com.azure.resourcemanager.security.fluent.models.IotRecommendationTypeInner;
-import com.azure.resourcemanager.security.fluent.models.IotRecommendationTypeListInner;
-
-/** An instance of this class provides access to all the operations defined in IotRecommendationTypesClient. */
-public interface IotRecommendationTypesClient {
- /**
- * List IoT recommendation types.
- *
- * @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 list of recommendation types.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- IotRecommendationTypeListInner list();
-
- /**
- * List IoT recommendation types.
- *
- * @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 list of recommendation types.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response listWithResponse(Context context);
-
- /**
- * Get IoT recommendation type.
- *
- * @param iotRecommendationTypeName Name of the recommendation type.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return ioT recommendation type.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- IotRecommendationTypeInner get(String iotRecommendationTypeName);
-
- /**
- * Get IoT recommendation type.
- *
- * @param iotRecommendationTypeName Name of the recommendation type.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return ioT recommendation type.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(String iotRecommendationTypeName, Context context);
-}
diff --git a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/IotRecommendationsClient.java b/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/IotRecommendationsClient.java
deleted file mode 100644
index 8d800d83f319..000000000000
--- a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/IotRecommendationsClient.java
+++ /dev/null
@@ -1,76 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.security.fluent;
-
-import com.azure.core.annotation.ReturnType;
-import com.azure.core.annotation.ServiceMethod;
-import com.azure.core.http.rest.PagedIterable;
-import com.azure.core.http.rest.Response;
-import com.azure.core.util.Context;
-import com.azure.resourcemanager.security.fluent.models.IotRecommendationModelInner;
-
-/** An instance of this class provides access to all the operations defined in IotRecommendationsClient. */
-public interface IotRecommendationsClient {
- /**
- * List IoT recommendations.
- *
- * @param scope Scope of the query: Subscription (i.e. /subscriptions/{subscriptionId}) or IoT Hub (i.e.
- * /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Devices/iotHubs/{iotHubName}).
- * @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 list of IoT recommendations.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(String scope);
-
- /**
- * List IoT recommendations.
- *
- * @param scope Scope of the query: Subscription (i.e. /subscriptions/{subscriptionId}) or IoT Hub (i.e.
- * /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Devices/iotHubs/{iotHubName}).
- * @param recommendationType Filter by recommendation type.
- * @param deviceId Filter by device id.
- * @param limit Limit the number of items returned in a single page.
- * @param skipToken Skip token used for pagination.
- * @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 list of IoT recommendations.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(
- String scope, String recommendationType, String deviceId, Integer limit, String skipToken, Context context);
-
- /**
- * Get IoT recommendation.
- *
- * @param scope Scope of the query: Subscription (i.e. /subscriptions/{subscriptionId}) or IoT Hub (i.e.
- * /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Devices/iotHubs/{iotHubName}).
- * @param iotRecommendationId Id of the recommendation.
- * @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 ioT recommendation.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- IotRecommendationModelInner get(String scope, String iotRecommendationId);
-
- /**
- * Get IoT recommendation.
- *
- * @param scope Scope of the query: Subscription (i.e. /subscriptions/{subscriptionId}) or IoT Hub (i.e.
- * /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Devices/iotHubs/{iotHubName}).
- * @param iotRecommendationId Id of the recommendation.
- * @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 ioT recommendation.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(String scope, String iotRecommendationId, Context context);
-}
diff --git a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/IotSecuritySolutionAnalyticsClient.java b/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/IotSecuritySolutionAnalyticsClient.java
deleted file mode 100644
index f8b3923def91..000000000000
--- a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/IotSecuritySolutionAnalyticsClient.java
+++ /dev/null
@@ -1,75 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.security.fluent;
-
-import com.azure.core.annotation.ReturnType;
-import com.azure.core.annotation.ServiceMethod;
-import com.azure.core.http.rest.Response;
-import com.azure.core.util.Context;
-import com.azure.resourcemanager.security.fluent.models.IoTSecuritySolutionAnalyticsModelInner;
-import com.azure.resourcemanager.security.fluent.models.IoTSecuritySolutionAnalyticsModelListInner;
-
-/** An instance of this class provides access to all the operations defined in IotSecuritySolutionAnalyticsClient. */
-public interface IotSecuritySolutionAnalyticsClient {
- /**
- * Use this method to get IoT security Analytics metrics in an array.
- *
- * @param resourceGroupName The name of the resource group within the user's subscription. The name is case
- * insensitive.
- * @param solutionName The name of the IoT Security solution.
- * @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 list of Security analytics of your IoT Security solution.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- IoTSecuritySolutionAnalyticsModelListInner list(String resourceGroupName, String solutionName);
-
- /**
- * Use this method to get IoT security Analytics metrics in an array.
- *
- * @param resourceGroupName The name of the resource group within the user's subscription. The name is case
- * insensitive.
- * @param solutionName The name of the IoT Security solution.
- * @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 list of Security analytics of your IoT Security solution.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response listWithResponse(
- String resourceGroupName, String solutionName, Context context);
-
- /**
- * Use this method to get IoT Security Analytics metrics.
- *
- * @param resourceGroupName The name of the resource group within the user's subscription. The name is case
- * insensitive.
- * @param solutionName The name of the IoT Security solution.
- * @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 security analytics of your IoT Security solution.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- IoTSecuritySolutionAnalyticsModelInner get(String resourceGroupName, String solutionName);
-
- /**
- * Use this method to get IoT Security Analytics metrics.
- *
- * @param resourceGroupName The name of the resource group within the user's subscription. The name is case
- * insensitive.
- * @param solutionName The name of the IoT Security solution.
- * @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 security analytics of your IoT Security solution.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(
- String resourceGroupName, String solutionName, Context context);
-}
diff --git a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/IotSecuritySolutionsAnalyticsAggregatedAlertsClient.java b/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/IotSecuritySolutionsAnalyticsAggregatedAlertsClient.java
deleted file mode 100644
index 5f8cd88af1f7..000000000000
--- a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/IotSecuritySolutionsAnalyticsAggregatedAlertsClient.java
+++ /dev/null
@@ -1,114 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.security.fluent;
-
-import com.azure.core.annotation.ReturnType;
-import com.azure.core.annotation.ServiceMethod;
-import com.azure.core.http.rest.PagedIterable;
-import com.azure.core.http.rest.Response;
-import com.azure.core.util.Context;
-import com.azure.resourcemanager.security.fluent.models.IoTSecurityAggregatedAlertInner;
-
-/**
- * An instance of this class provides access to all the operations defined in
- * IotSecuritySolutionsAnalyticsAggregatedAlertsClient.
- */
-public interface IotSecuritySolutionsAnalyticsAggregatedAlertsClient {
- /**
- * Use this method to get the aggregated alert list of yours IoT Security solution.
- *
- * @param resourceGroupName The name of the resource group within the user's subscription. The name is case
- * insensitive.
- * @param solutionName The name of the IoT Security solution.
- * @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 list of IoT Security solution aggregated alert data.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(String resourceGroupName, String solutionName);
-
- /**
- * Use this method to get the aggregated alert list of yours IoT Security solution.
- *
- * @param resourceGroupName The name of the resource group within the user's subscription. The name is case
- * insensitive.
- * @param solutionName The name of the IoT Security solution.
- * @param top Number of results to retrieve.
- * @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 list of IoT Security solution aggregated alert data.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(
- String resourceGroupName, String solutionName, Integer top, Context context);
-
- /**
- * Use this method to get a single the aggregated alert of yours IoT Security solution. This aggregation is
- * performed by alert name.
- *
- * @param resourceGroupName The name of the resource group within the user's subscription. The name is case
- * insensitive.
- * @param solutionName The name of the IoT Security solution.
- * @param aggregatedAlertName Identifier of the aggregated alert.
- * @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 security Solution Aggregated Alert information.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- IoTSecurityAggregatedAlertInner get(String resourceGroupName, String solutionName, String aggregatedAlertName);
-
- /**
- * Use this method to get a single the aggregated alert of yours IoT Security solution. This aggregation is
- * performed by alert name.
- *
- * @param resourceGroupName The name of the resource group within the user's subscription. The name is case
- * insensitive.
- * @param solutionName The name of the IoT Security solution.
- * @param aggregatedAlertName Identifier of the aggregated alert.
- * @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 security Solution Aggregated Alert information.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(
- String resourceGroupName, String solutionName, String aggregatedAlertName, Context context);
-
- /**
- * Use this method to dismiss an aggregated IoT Security Solution Alert.
- *
- * @param resourceGroupName The name of the resource group within the user's subscription. The name is case
- * insensitive.
- * @param solutionName The name of the IoT Security solution.
- * @param aggregatedAlertName Identifier of the aggregated alert.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- void dismiss(String resourceGroupName, String solutionName, String aggregatedAlertName);
-
- /**
- * Use this method to dismiss an aggregated IoT Security Solution Alert.
- *
- * @param resourceGroupName The name of the resource group within the user's subscription. The name is case
- * insensitive.
- * @param solutionName The name of the IoT Security solution.
- * @param aggregatedAlertName Identifier of the aggregated alert.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the response.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response dismissWithResponse(
- String resourceGroupName, String solutionName, String aggregatedAlertName, Context context);
-}
diff --git a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/IotSecuritySolutionsAnalyticsRecommendationsClient.java b/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/IotSecuritySolutionsAnalyticsRecommendationsClient.java
deleted file mode 100644
index 4f28948d08b9..000000000000
--- a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/IotSecuritySolutionsAnalyticsRecommendationsClient.java
+++ /dev/null
@@ -1,84 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.security.fluent;
-
-import com.azure.core.annotation.ReturnType;
-import com.azure.core.annotation.ServiceMethod;
-import com.azure.core.http.rest.PagedIterable;
-import com.azure.core.http.rest.Response;
-import com.azure.core.util.Context;
-import com.azure.resourcemanager.security.fluent.models.IoTSecurityAggregatedRecommendationInner;
-
-/**
- * An instance of this class provides access to all the operations defined in
- * IotSecuritySolutionsAnalyticsRecommendationsClient.
- */
-public interface IotSecuritySolutionsAnalyticsRecommendationsClient {
- /**
- * Use this method to get the aggregated security analytics recommendation of yours IoT Security solution. This
- * aggregation is performed by recommendation name.
- *
- * @param resourceGroupName The name of the resource group within the user's subscription. The name is case
- * insensitive.
- * @param solutionName The name of the IoT Security solution.
- * @param aggregatedRecommendationName Name of the recommendation aggregated for this query.
- * @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 ioT Security solution recommendation information.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- IoTSecurityAggregatedRecommendationInner get(
- String resourceGroupName, String solutionName, String aggregatedRecommendationName);
-
- /**
- * Use this method to get the aggregated security analytics recommendation of yours IoT Security solution. This
- * aggregation is performed by recommendation name.
- *
- * @param resourceGroupName The name of the resource group within the user's subscription. The name is case
- * insensitive.
- * @param solutionName The name of the IoT Security solution.
- * @param aggregatedRecommendationName Name of the recommendation aggregated for this query.
- * @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 ioT Security solution recommendation information.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(
- String resourceGroupName, String solutionName, String aggregatedRecommendationName, Context context);
-
- /**
- * Use this method to get the list of aggregated security analytics recommendations of yours IoT Security solution.
- *
- * @param resourceGroupName The name of the resource group within the user's subscription. The name is case
- * insensitive.
- * @param solutionName The name of the IoT Security solution.
- * @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 list of IoT Security solution aggregated recommendations.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(String resourceGroupName, String solutionName);
-
- /**
- * Use this method to get the list of aggregated security analytics recommendations of yours IoT Security solution.
- *
- * @param resourceGroupName The name of the resource group within the user's subscription. The name is case
- * insensitive.
- * @param solutionName The name of the IoT Security solution.
- * @param top Number of results to retrieve.
- * @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 list of IoT Security solution aggregated recommendations.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(
- String resourceGroupName, String solutionName, Integer top, Context context);
-}
diff --git a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/IotSecuritySolutionsClient.java b/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/IotSecuritySolutionsClient.java
deleted file mode 100644
index 054c973f186c..000000000000
--- a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/IotSecuritySolutionsClient.java
+++ /dev/null
@@ -1,200 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.security.fluent;
-
-import com.azure.core.annotation.ReturnType;
-import com.azure.core.annotation.ServiceMethod;
-import com.azure.core.http.rest.PagedIterable;
-import com.azure.core.http.rest.Response;
-import com.azure.core.util.Context;
-import com.azure.resourcemanager.security.fluent.models.IoTSecuritySolutionModelInner;
-import com.azure.resourcemanager.security.models.UpdateIotSecuritySolutionData;
-
-/** An instance of this class provides access to all the operations defined in IotSecuritySolutionsClient. */
-public interface IotSecuritySolutionsClient {
- /**
- * Use this method to get the list of IoT Security solutions by subscription.
- *
- * @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 list of IoT Security solutions.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list();
-
- /**
- * Use this method to get the list of IoT Security solutions by subscription.
- *
- * @param filter Filter the IoT Security solution with OData syntax. Supports filtering by iotHubs.
- * @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 list of IoT Security solutions.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(String filter, Context context);
-
- /**
- * Use this method to get the list IoT Security solutions organized by resource group.
- *
- * @param resourceGroupName The name of the resource group within the user's subscription. The name is case
- * insensitive.
- * @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 list of IoT Security solutions.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable listByResourceGroup(String resourceGroupName);
-
- /**
- * Use this method to get the list IoT Security solutions organized by resource group.
- *
- * @param resourceGroupName The name of the resource group within the user's subscription. The name is case
- * insensitive.
- * @param filter Filter the IoT Security solution with OData syntax. Supports filtering by iotHubs.
- * @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 list of IoT Security solutions.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable listByResourceGroup(
- String resourceGroupName, String filter, Context context);
-
- /**
- * User this method to get details of a specific IoT Security solution based on solution name.
- *
- * @param resourceGroupName The name of the resource group within the user's subscription. The name is case
- * insensitive.
- * @param solutionName The name of the IoT Security solution.
- * @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 ioT Security solution configuration and resource information.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- IoTSecuritySolutionModelInner getByResourceGroup(String resourceGroupName, String solutionName);
-
- /**
- * User this method to get details of a specific IoT Security solution based on solution name.
- *
- * @param resourceGroupName The name of the resource group within the user's subscription. The name is case
- * insensitive.
- * @param solutionName The name of the IoT Security solution.
- * @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 ioT Security solution configuration and resource information.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response getByResourceGroupWithResponse(
- String resourceGroupName, String solutionName, Context context);
-
- /**
- * Use this method to create or update yours IoT Security solution.
- *
- * @param resourceGroupName The name of the resource group within the user's subscription. The name is case
- * insensitive.
- * @param solutionName The name of the IoT Security solution.
- * @param iotSecuritySolutionData The security solution data.
- * @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 ioT Security solution configuration and resource information.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- IoTSecuritySolutionModelInner createOrUpdate(
- String resourceGroupName, String solutionName, IoTSecuritySolutionModelInner iotSecuritySolutionData);
-
- /**
- * Use this method to create or update yours IoT Security solution.
- *
- * @param resourceGroupName The name of the resource group within the user's subscription. The name is case
- * insensitive.
- * @param solutionName The name of the IoT Security solution.
- * @param iotSecuritySolutionData The security solution data.
- * @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 ioT Security solution configuration and resource information.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response createOrUpdateWithResponse(
- String resourceGroupName,
- String solutionName,
- IoTSecuritySolutionModelInner iotSecuritySolutionData,
- Context context);
-
- /**
- * Use this method to update existing IoT Security solution tags or user defined resources. To update other fields
- * use the CreateOrUpdate method.
- *
- * @param resourceGroupName The name of the resource group within the user's subscription. The name is case
- * insensitive.
- * @param solutionName The name of the IoT Security solution.
- * @param updateIotSecuritySolutionData The security solution data.
- * @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 ioT Security solution configuration and resource information.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- IoTSecuritySolutionModelInner update(
- String resourceGroupName, String solutionName, UpdateIotSecuritySolutionData updateIotSecuritySolutionData);
-
- /**
- * Use this method to update existing IoT Security solution tags or user defined resources. To update other fields
- * use the CreateOrUpdate method.
- *
- * @param resourceGroupName The name of the resource group within the user's subscription. The name is case
- * insensitive.
- * @param solutionName The name of the IoT Security solution.
- * @param updateIotSecuritySolutionData The security solution data.
- * @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 ioT Security solution configuration and resource information.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response updateWithResponse(
- String resourceGroupName,
- String solutionName,
- UpdateIotSecuritySolutionData updateIotSecuritySolutionData,
- Context context);
-
- /**
- * Use this method to delete yours IoT Security solution.
- *
- * @param resourceGroupName The name of the resource group within the user's subscription. The name is case
- * insensitive.
- * @param solutionName The name of the IoT Security solution.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- void delete(String resourceGroupName, String solutionName);
-
- /**
- * Use this method to delete yours IoT Security solution.
- *
- * @param resourceGroupName The name of the resource group within the user's subscription. The name is case
- * insensitive.
- * @param solutionName The name of the IoT Security solution.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the response.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response deleteWithResponse(String resourceGroupName, String solutionName, Context context);
-}
diff --git a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/IotSensorsClient.java b/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/IotSensorsClient.java
deleted file mode 100644
index 6ea5cb5022dc..000000000000
--- a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/IotSensorsClient.java
+++ /dev/null
@@ -1,209 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.security.fluent;
-
-import com.azure.core.annotation.ReturnType;
-import com.azure.core.annotation.ServiceMethod;
-import com.azure.core.http.rest.Response;
-import com.azure.core.http.rest.StreamResponse;
-import com.azure.core.util.Context;
-import com.azure.resourcemanager.security.fluent.models.IotSensorsListInner;
-import com.azure.resourcemanager.security.fluent.models.IotSensorsModelInner;
-import com.azure.resourcemanager.security.models.ResetPasswordInput;
-import java.io.InputStream;
-
-/** An instance of this class provides access to all the operations defined in IotSensorsClient. */
-public interface IotSensorsClient {
- /**
- * List IoT sensors.
- *
- * @param scope Scope of the query (IoT Hub, /providers/Microsoft.Devices/iotHubs/myHub).
- * @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 list of IoT sensors.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- IotSensorsListInner list(String scope);
-
- /**
- * List IoT sensors.
- *
- * @param scope Scope of the query (IoT Hub, /providers/Microsoft.Devices/iotHubs/myHub).
- * @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 list of IoT sensors.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response listWithResponse(String scope, Context context);
-
- /**
- * Get IoT sensor.
- *
- * @param scope Scope of the query (IoT Hub, /providers/Microsoft.Devices/iotHubs/myHub).
- * @param iotSensorName Name of the IoT sensor.
- * @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 ioT sensor.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- IotSensorsModelInner get(String scope, String iotSensorName);
-
- /**
- * Get IoT sensor.
- *
- * @param scope Scope of the query (IoT Hub, /providers/Microsoft.Devices/iotHubs/myHub).
- * @param iotSensorName Name of the IoT sensor.
- * @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 ioT sensor.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(String scope, String iotSensorName, Context context);
-
- /**
- * Create or update IoT sensor.
- *
- * @param scope Scope of the query (IoT Hub, /providers/Microsoft.Devices/iotHubs/myHub).
- * @param iotSensorName Name of the IoT sensor.
- * @param iotSensorsModel The IoT sensor model.
- * @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 ioT sensor model.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- IotSensorsModelInner createOrUpdate(String scope, String iotSensorName, IotSensorsModelInner iotSensorsModel);
-
- /**
- * Create or update IoT sensor.
- *
- * @param scope Scope of the query (IoT Hub, /providers/Microsoft.Devices/iotHubs/myHub).
- * @param iotSensorName Name of the IoT sensor.
- * @param iotSensorsModel The IoT sensor model.
- * @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 ioT sensor model.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response createOrUpdateWithResponse(
- String scope, String iotSensorName, IotSensorsModelInner iotSensorsModel, Context context);
-
- /**
- * Delete IoT sensor.
- *
- * @param scope Scope of the query (IoT Hub, /providers/Microsoft.Devices/iotHubs/myHub).
- * @param iotSensorName Name of the IoT sensor.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- void delete(String scope, String iotSensorName);
-
- /**
- * Delete IoT sensor.
- *
- * @param scope Scope of the query (IoT Hub, /providers/Microsoft.Devices/iotHubs/myHub).
- * @param iotSensorName Name of the IoT sensor.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the response.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response deleteWithResponse(String scope, String iotSensorName, Context context);
-
- /**
- * Download sensor activation file.
- *
- * @param scope Scope of the query (IoT Hub, /providers/Microsoft.Devices/iotHubs/myHub).
- * @param iotSensorName Name of the IoT sensor.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the response.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- InputStream downloadActivation(String scope, String iotSensorName);
-
- /**
- * Download sensor activation file.
- *
- * @param scope Scope of the query (IoT Hub, /providers/Microsoft.Devices/iotHubs/myHub).
- * @param iotSensorName Name of the IoT sensor.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the response.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- StreamResponse downloadActivationWithResponse(String scope, String iotSensorName, Context context);
-
- /**
- * Download file for reset password of the sensor.
- *
- * @param scope Scope of the query (IoT Hub, /providers/Microsoft.Devices/iotHubs/myHub).
- * @param iotSensorName Name of the IoT sensor.
- * @param body The reset password input.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the response.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- InputStream downloadResetPassword(String scope, String iotSensorName, ResetPasswordInput body);
-
- /**
- * Download file for reset password of the sensor.
- *
- * @param scope Scope of the query (IoT Hub, /providers/Microsoft.Devices/iotHubs/myHub).
- * @param iotSensorName Name of the IoT sensor.
- * @param body The reset password input.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the response.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- StreamResponse downloadResetPasswordWithResponse(
- String scope, String iotSensorName, ResetPasswordInput body, Context context);
-
- /**
- * Trigger threat intelligence package update.
- *
- * @param scope Scope of the query (IoT Hub, /providers/Microsoft.Devices/iotHubs/myHub).
- * @param iotSensorName Name of the IoT sensor.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- void triggerTiPackageUpdate(String scope, String iotSensorName);
-
- /**
- * Trigger threat intelligence package update.
- *
- * @param scope Scope of the query (IoT Hub, /providers/Microsoft.Devices/iotHubs/myHub).
- * @param iotSensorName Name of the IoT sensor.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the response.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response triggerTiPackageUpdateWithResponse(String scope, String iotSensorName, Context context);
-}
diff --git a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/IotSitesClient.java b/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/IotSitesClient.java
deleted file mode 100644
index 4945f8bc0f1d..000000000000
--- a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/IotSitesClient.java
+++ /dev/null
@@ -1,117 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.security.fluent;
-
-import com.azure.core.annotation.ReturnType;
-import com.azure.core.annotation.ServiceMethod;
-import com.azure.core.http.rest.Response;
-import com.azure.core.util.Context;
-import com.azure.resourcemanager.security.fluent.models.IotSitesListInner;
-import com.azure.resourcemanager.security.fluent.models.IotSitesModelInner;
-
-/** An instance of this class provides access to all the operations defined in IotSitesClient. */
-public interface IotSitesClient {
- /**
- * List IoT sites.
- *
- * @param scope Scope of the query (IoT Hub, /providers/Microsoft.Devices/iotHubs/myHub).
- * @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 list of IoT sites.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- IotSitesListInner list(String scope);
-
- /**
- * List IoT sites.
- *
- * @param scope Scope of the query (IoT Hub, /providers/Microsoft.Devices/iotHubs/myHub).
- * @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 list of IoT sites.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response listWithResponse(String scope, Context context);
-
- /**
- * Get IoT site.
- *
- * @param scope Scope of the query (IoT Hub, /providers/Microsoft.Devices/iotHubs/myHub).
- * @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 ioT site.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- IotSitesModelInner get(String scope);
-
- /**
- * Get IoT site.
- *
- * @param scope Scope of the query (IoT Hub, /providers/Microsoft.Devices/iotHubs/myHub).
- * @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 ioT site.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(String scope, Context context);
-
- /**
- * Create or update IoT site.
- *
- * @param scope Scope of the query (IoT Hub, /providers/Microsoft.Devices/iotHubs/myHub).
- * @param iotSitesModel The IoT sites model.
- * @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 ioT site model.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- IotSitesModelInner createOrUpdate(String scope, IotSitesModelInner iotSitesModel);
-
- /**
- * Create or update IoT site.
- *
- * @param scope Scope of the query (IoT Hub, /providers/Microsoft.Devices/iotHubs/myHub).
- * @param iotSitesModel The IoT sites model.
- * @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 ioT site model.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response createOrUpdateWithResponse(
- String scope, IotSitesModelInner iotSitesModel, Context context);
-
- /**
- * Delete IoT site.
- *
- * @param scope Scope of the query (IoT Hub, /providers/Microsoft.Devices/iotHubs/myHub).
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- void delete(String scope);
-
- /**
- * Delete IoT site.
- *
- * @param scope Scope of the query (IoT Hub, /providers/Microsoft.Devices/iotHubs/myHub).
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the response.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response deleteWithResponse(String scope, Context context);
-}
diff --git a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/JitNetworkAccessPoliciesClient.java b/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/JitNetworkAccessPoliciesClient.java
deleted file mode 100644
index d3629d77084a..000000000000
--- a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/JitNetworkAccessPoliciesClient.java
+++ /dev/null
@@ -1,281 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.security.fluent;
-
-import com.azure.core.annotation.ReturnType;
-import com.azure.core.annotation.ServiceMethod;
-import com.azure.core.http.rest.PagedIterable;
-import com.azure.core.http.rest.Response;
-import com.azure.core.util.Context;
-import com.azure.resourcemanager.security.fluent.models.JitNetworkAccessPolicyInner;
-import com.azure.resourcemanager.security.fluent.models.JitNetworkAccessRequestInner;
-import com.azure.resourcemanager.security.models.JitNetworkAccessPolicyInitiateRequest;
-
-/** An instance of this class provides access to all the operations defined in JitNetworkAccessPoliciesClient. */
-public interface JitNetworkAccessPoliciesClient {
- /**
- * Policies for protecting resources using Just-in-Time access control.
- *
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the response.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list();
-
- /**
- * Policies for protecting resources using Just-in-Time access control.
- *
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the response.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(Context context);
-
- /**
- * Policies for protecting resources using Just-in-Time access control for the subscription, location.
- *
- * @param ascLocation The location where ASC stores the data of the subscription. can be retrieved from Get
- * locations.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the response.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable listByRegion(String ascLocation);
-
- /**
- * Policies for protecting resources using Just-in-Time access control for the subscription, location.
- *
- * @param ascLocation The location where ASC stores the data of the subscription. can be retrieved from Get
- * locations.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the response.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable listByRegion(String ascLocation, Context context);
-
- /**
- * Policies for protecting resources using Just-in-Time access control for the subscription, location.
- *
- * @param resourceGroupName The name of the resource group within the user's subscription. The name is case
- * insensitive.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the response.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable listByResourceGroup(String resourceGroupName);
-
- /**
- * Policies for protecting resources using Just-in-Time access control for the subscription, location.
- *
- * @param resourceGroupName The name of the resource group within the user's subscription. The name is case
- * insensitive.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the response.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable listByResourceGroup(String resourceGroupName, Context context);
-
- /**
- * Policies for protecting resources using Just-in-Time access control for the subscription, location.
- *
- * @param resourceGroupName The name of the resource group within the user's subscription. The name is case
- * insensitive.
- * @param ascLocation The location where ASC stores the data of the subscription. can be retrieved from Get
- * locations.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the response.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable listByResourceGroupAndRegion(
- String resourceGroupName, String ascLocation);
-
- /**
- * Policies for protecting resources using Just-in-Time access control for the subscription, location.
- *
- * @param resourceGroupName The name of the resource group within the user's subscription. The name is case
- * insensitive.
- * @param ascLocation The location where ASC stores the data of the subscription. can be retrieved from Get
- * locations.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the response.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable listByResourceGroupAndRegion(
- String resourceGroupName, String ascLocation, Context context);
-
- /**
- * Policies for protecting resources using Just-in-Time access control for the subscription, location.
- *
- * @param resourceGroupName The name of the resource group within the user's subscription. The name is case
- * insensitive.
- * @param ascLocation The location where ASC stores the data of the subscription. can be retrieved from Get
- * locations.
- * @param jitNetworkAccessPolicyName Name of a Just-in-Time access configuration policy.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the response.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- JitNetworkAccessPolicyInner get(String resourceGroupName, String ascLocation, String jitNetworkAccessPolicyName);
-
- /**
- * Policies for protecting resources using Just-in-Time access control for the subscription, location.
- *
- * @param resourceGroupName The name of the resource group within the user's subscription. The name is case
- * insensitive.
- * @param ascLocation The location where ASC stores the data of the subscription. can be retrieved from Get
- * locations.
- * @param jitNetworkAccessPolicyName Name of a Just-in-Time access configuration policy.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the response.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(
- String resourceGroupName, String ascLocation, String jitNetworkAccessPolicyName, Context context);
-
- /**
- * Create a policy for protecting resources using Just-in-Time access control.
- *
- * @param resourceGroupName The name of the resource group within the user's subscription. The name is case
- * insensitive.
- * @param ascLocation The location where ASC stores the data of the subscription. can be retrieved from Get
- * locations.
- * @param jitNetworkAccessPolicyName Name of a Just-in-Time access configuration policy.
- * @param body The body parameter.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the response.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- JitNetworkAccessPolicyInner createOrUpdate(
- String resourceGroupName,
- String ascLocation,
- String jitNetworkAccessPolicyName,
- JitNetworkAccessPolicyInner body);
-
- /**
- * Create a policy for protecting resources using Just-in-Time access control.
- *
- * @param resourceGroupName The name of the resource group within the user's subscription. The name is case
- * insensitive.
- * @param ascLocation The location where ASC stores the data of the subscription. can be retrieved from Get
- * locations.
- * @param jitNetworkAccessPolicyName Name of a Just-in-Time access configuration policy.
- * @param body The body parameter.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the response.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response createOrUpdateWithResponse(
- String resourceGroupName,
- String ascLocation,
- String jitNetworkAccessPolicyName,
- JitNetworkAccessPolicyInner body,
- Context context);
-
- /**
- * Delete a Just-in-Time access control policy.
- *
- * @param resourceGroupName The name of the resource group within the user's subscription. The name is case
- * insensitive.
- * @param ascLocation The location where ASC stores the data of the subscription. can be retrieved from Get
- * locations.
- * @param jitNetworkAccessPolicyName Name of a Just-in-Time access configuration policy.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- void delete(String resourceGroupName, String ascLocation, String jitNetworkAccessPolicyName);
-
- /**
- * Delete a Just-in-Time access control policy.
- *
- * @param resourceGroupName The name of the resource group within the user's subscription. The name is case
- * insensitive.
- * @param ascLocation The location where ASC stores the data of the subscription. can be retrieved from Get
- * locations.
- * @param jitNetworkAccessPolicyName Name of a Just-in-Time access configuration policy.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the response.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response deleteWithResponse(
- String resourceGroupName, String ascLocation, String jitNetworkAccessPolicyName, Context context);
-
- /**
- * Initiate a JIT access from a specific Just-in-Time policy configuration.
- *
- * @param resourceGroupName The name of the resource group within the user's subscription. The name is case
- * insensitive.
- * @param ascLocation The location where ASC stores the data of the subscription. can be retrieved from Get
- * locations.
- * @param jitNetworkAccessPolicyName Name of a Just-in-Time access configuration policy.
- * @param body The body parameter.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the response.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- JitNetworkAccessRequestInner initiate(
- String resourceGroupName,
- String ascLocation,
- String jitNetworkAccessPolicyName,
- JitNetworkAccessPolicyInitiateRequest body);
-
- /**
- * Initiate a JIT access from a specific Just-in-Time policy configuration.
- *
- * @param resourceGroupName The name of the resource group within the user's subscription. The name is case
- * insensitive.
- * @param ascLocation The location where ASC stores the data of the subscription. can be retrieved from Get
- * locations.
- * @param jitNetworkAccessPolicyName Name of a Just-in-Time access configuration policy.
- * @param body The body parameter.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the response.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response initiateWithResponse(
- String resourceGroupName,
- String ascLocation,
- String jitNetworkAccessPolicyName,
- JitNetworkAccessPolicyInitiateRequest body,
- Context context);
-}
diff --git a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/LocationsClient.java b/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/LocationsClient.java
deleted file mode 100644
index 3afa964f5cc9..000000000000
--- a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/LocationsClient.java
+++ /dev/null
@@ -1,68 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.security.fluent;
-
-import com.azure.core.annotation.ReturnType;
-import com.azure.core.annotation.ServiceMethod;
-import com.azure.core.http.rest.PagedIterable;
-import com.azure.core.http.rest.Response;
-import com.azure.core.util.Context;
-import com.azure.resourcemanager.security.fluent.models.AscLocationInner;
-
-/** An instance of this class provides access to all the operations defined in LocationsClient. */
-public interface LocationsClient {
- /**
- * The location of the responsible ASC of the specific subscription (home region). For each subscription there is
- * only one responsible location. The location in the response should be used to read or write other resources in
- * ASC according to their ID.
- *
- * @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 list of locations where ASC saves your data.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list();
-
- /**
- * The location of the responsible ASC of the specific subscription (home region). For each subscription there is
- * only one responsible location. The location in the response should be used to read or write other resources in
- * ASC according to their ID.
- *
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return list of locations where ASC saves your data.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(Context context);
-
- /**
- * Details of a specific location.
- *
- * @param ascLocation The location where ASC stores the data of the subscription. can be retrieved from Get
- * locations.
- * @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 ASC location of the subscription is in the "name" field.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- AscLocationInner get(String ascLocation);
-
- /**
- * Details of a specific location.
- *
- * @param ascLocation The location where ASC stores the data of the subscription. can be retrieved from Get
- * locations.
- * @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 ASC location of the subscription is in the "name" field.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(String ascLocation, Context context);
-}
diff --git a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/OnPremiseIotSensorsClient.java b/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/OnPremiseIotSensorsClient.java
deleted file mode 100644
index 726cda7fbdbd..000000000000
--- a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/OnPremiseIotSensorsClient.java
+++ /dev/null
@@ -1,167 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.security.fluent;
-
-import com.azure.core.annotation.ReturnType;
-import com.azure.core.annotation.ServiceMethod;
-import com.azure.core.http.rest.Response;
-import com.azure.core.http.rest.StreamResponse;
-import com.azure.core.util.Context;
-import com.azure.resourcemanager.security.fluent.models.OnPremiseIotSensorInner;
-import com.azure.resourcemanager.security.fluent.models.OnPremiseIotSensorsListInner;
-import com.azure.resourcemanager.security.models.ResetPasswordInput;
-import java.io.InputStream;
-
-/** An instance of this class provides access to all the operations defined in OnPremiseIotSensorsClient. */
-public interface OnPremiseIotSensorsClient {
- /**
- * List on-premise IoT sensors.
- *
- * @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 list of on-premise IoT sensors.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- OnPremiseIotSensorsListInner list();
-
- /**
- * List on-premise IoT sensors.
- *
- * @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 list of on-premise IoT sensors.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response listWithResponse(Context context);
-
- /**
- * Get on-premise IoT sensor.
- *
- * @param onPremiseIotSensorName Name of the on-premise IoT sensor.
- * @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 on-premise IoT sensor.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- OnPremiseIotSensorInner get(String onPremiseIotSensorName);
-
- /**
- * Get on-premise IoT sensor.
- *
- * @param onPremiseIotSensorName Name of the on-premise IoT sensor.
- * @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 on-premise IoT sensor.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(String onPremiseIotSensorName, Context context);
-
- /**
- * Create or update on-premise IoT sensor.
- *
- * @param onPremiseIotSensorName Name of the on-premise IoT sensor.
- * @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 on-premise IoT sensor.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- OnPremiseIotSensorInner createOrUpdate(String onPremiseIotSensorName);
-
- /**
- * Create or update on-premise IoT sensor.
- *
- * @param onPremiseIotSensorName Name of the on-premise IoT sensor.
- * @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 on-premise IoT sensor.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response createOrUpdateWithResponse(String onPremiseIotSensorName, Context context);
-
- /**
- * Delete on-premise IoT sensor.
- *
- * @param onPremiseIotSensorName Name of the on-premise IoT sensor.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- void delete(String onPremiseIotSensorName);
-
- /**
- * Delete on-premise IoT sensor.
- *
- * @param onPremiseIotSensorName Name of the on-premise IoT sensor.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the response.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response deleteWithResponse(String onPremiseIotSensorName, Context context);
-
- /**
- * Download sensor activation file.
- *
- * @param onPremiseIotSensorName Name of the on-premise IoT sensor.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the response.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- InputStream downloadActivation(String onPremiseIotSensorName);
-
- /**
- * Download sensor activation file.
- *
- * @param onPremiseIotSensorName Name of the on-premise IoT sensor.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the response.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- StreamResponse downloadActivationWithResponse(String onPremiseIotSensorName, Context context);
-
- /**
- * Download file for reset password of the sensor.
- *
- * @param onPremiseIotSensorName Name of the on-premise IoT sensor.
- * @param body Input for reset password.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the response.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- InputStream downloadResetPassword(String onPremiseIotSensorName, ResetPasswordInput body);
-
- /**
- * Download file for reset password of the sensor.
- *
- * @param onPremiseIotSensorName Name of the on-premise IoT sensor.
- * @param body Input for reset password.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the response.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- StreamResponse downloadResetPasswordWithResponse(
- String onPremiseIotSensorName, ResetPasswordInput body, Context context);
-}
diff --git a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/OperationsClient.java b/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/OperationsClient.java
deleted file mode 100644
index 329a3db4ed77..000000000000
--- a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/OperationsClient.java
+++ /dev/null
@@ -1,36 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.security.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.security.fluent.models.OperationInner;
-
-/** An instance of this class provides access to all the operations defined in OperationsClient. */
-public interface OperationsClient {
- /**
- * Exposes all available operations for discovery purposes.
- *
- * @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 list of possible operations for Microsoft.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list();
-
- /**
- * Exposes all available operations for discovery purposes.
- *
- * @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 list of possible operations for Microsoft.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(Context context);
-}
diff --git a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/PricingsClient.java b/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/PricingsClient.java
index 0e10a8641ae3..74e1b2b08ad1 100644
--- a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/PricingsClient.java
+++ b/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/PricingsClient.java
@@ -30,7 +30,7 @@ public interface PricingsClient {
* @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 list of pricing configurations response.
+ * @return list of pricing configurations response along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response listWithResponse(Context context);
@@ -55,7 +55,7 @@ public interface PricingsClient {
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a provided Security Center pricing configuration in the subscription.
+ * @return a provided Security Center pricing configuration in the subscription along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response getWithResponse(String pricingName, Context context);
@@ -84,7 +84,7 @@ public interface PricingsClient {
* @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 azure Security Center is provided in two pricing tiers: free and standard, with the standard tier
- * available with a trial period.
+ * available with a trial period along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response updateWithResponse(String pricingName, PricingInner pricing, Context context);
diff --git a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/RegulatoryComplianceAssessmentsClient.java b/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/RegulatoryComplianceAssessmentsClient.java
deleted file mode 100644
index 1100f050a32d..000000000000
--- a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/RegulatoryComplianceAssessmentsClient.java
+++ /dev/null
@@ -1,84 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.security.fluent;
-
-import com.azure.core.annotation.ReturnType;
-import com.azure.core.annotation.ServiceMethod;
-import com.azure.core.http.rest.PagedIterable;
-import com.azure.core.http.rest.Response;
-import com.azure.core.util.Context;
-import com.azure.resourcemanager.security.fluent.models.RegulatoryComplianceAssessmentInner;
-
-/** An instance of this class provides access to all the operations defined in RegulatoryComplianceAssessmentsClient. */
-public interface RegulatoryComplianceAssessmentsClient {
- /**
- * Details and state of assessments mapped to selected regulatory compliance control.
- *
- * @param regulatoryComplianceStandardName Name of the regulatory compliance standard object.
- * @param regulatoryComplianceControlName Name of the regulatory compliance control object.
- * @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 list of regulatory compliance assessment response.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(
- String regulatoryComplianceStandardName, String regulatoryComplianceControlName);
-
- /**
- * Details and state of assessments mapped to selected regulatory compliance control.
- *
- * @param regulatoryComplianceStandardName Name of the regulatory compliance standard object.
- * @param regulatoryComplianceControlName Name of the regulatory compliance control object.
- * @param filter OData filter. Optional.
- * @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 list of regulatory compliance assessment response.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(
- String regulatoryComplianceStandardName,
- String regulatoryComplianceControlName,
- String filter,
- Context context);
-
- /**
- * Supported regulatory compliance details and state for selected assessment.
- *
- * @param regulatoryComplianceStandardName Name of the regulatory compliance standard object.
- * @param regulatoryComplianceControlName Name of the regulatory compliance control object.
- * @param regulatoryComplianceAssessmentName Name of the regulatory compliance assessment object.
- * @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 regulatory compliance assessment details and state.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- RegulatoryComplianceAssessmentInner get(
- String regulatoryComplianceStandardName,
- String regulatoryComplianceControlName,
- String regulatoryComplianceAssessmentName);
-
- /**
- * Supported regulatory compliance details and state for selected assessment.
- *
- * @param regulatoryComplianceStandardName Name of the regulatory compliance standard object.
- * @param regulatoryComplianceControlName Name of the regulatory compliance control object.
- * @param regulatoryComplianceAssessmentName Name of the regulatory compliance assessment object.
- * @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 regulatory compliance assessment details and state.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(
- String regulatoryComplianceStandardName,
- String regulatoryComplianceControlName,
- String regulatoryComplianceAssessmentName,
- Context context);
-}
diff --git a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/RegulatoryComplianceControlsClient.java b/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/RegulatoryComplianceControlsClient.java
deleted file mode 100644
index e840c3d5f320..000000000000
--- a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/RegulatoryComplianceControlsClient.java
+++ /dev/null
@@ -1,71 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.security.fluent;
-
-import com.azure.core.annotation.ReturnType;
-import com.azure.core.annotation.ServiceMethod;
-import com.azure.core.http.rest.PagedIterable;
-import com.azure.core.http.rest.Response;
-import com.azure.core.util.Context;
-import com.azure.resourcemanager.security.fluent.models.RegulatoryComplianceControlInner;
-
-/** An instance of this class provides access to all the operations defined in RegulatoryComplianceControlsClient. */
-public interface RegulatoryComplianceControlsClient {
- /**
- * All supported regulatory compliance controls details and state for selected standard.
- *
- * @param regulatoryComplianceStandardName Name of the regulatory compliance standard object.
- * @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 list of regulatory compliance controls response.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(String regulatoryComplianceStandardName);
-
- /**
- * All supported regulatory compliance controls details and state for selected standard.
- *
- * @param regulatoryComplianceStandardName Name of the regulatory compliance standard object.
- * @param filter OData filter. Optional.
- * @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 list of regulatory compliance controls response.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(
- String regulatoryComplianceStandardName, String filter, Context context);
-
- /**
- * Selected regulatory compliance control details and state.
- *
- * @param regulatoryComplianceStandardName Name of the regulatory compliance standard object.
- * @param regulatoryComplianceControlName Name of the regulatory compliance control object.
- * @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 regulatory compliance control details and state.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- RegulatoryComplianceControlInner get(
- String regulatoryComplianceStandardName, String regulatoryComplianceControlName);
-
- /**
- * Selected regulatory compliance control details and state.
- *
- * @param regulatoryComplianceStandardName Name of the regulatory compliance standard object.
- * @param regulatoryComplianceControlName Name of the regulatory compliance control object.
- * @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 regulatory compliance control details and state.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(
- String regulatoryComplianceStandardName, String regulatoryComplianceControlName, Context context);
-}
diff --git a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/RegulatoryComplianceStandardsClient.java b/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/RegulatoryComplianceStandardsClient.java
deleted file mode 100644
index 9bbdaab5f7ae..000000000000
--- a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/RegulatoryComplianceStandardsClient.java
+++ /dev/null
@@ -1,64 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.security.fluent;
-
-import com.azure.core.annotation.ReturnType;
-import com.azure.core.annotation.ServiceMethod;
-import com.azure.core.http.rest.PagedIterable;
-import com.azure.core.http.rest.Response;
-import com.azure.core.util.Context;
-import com.azure.resourcemanager.security.fluent.models.RegulatoryComplianceStandardInner;
-
-/** An instance of this class provides access to all the operations defined in RegulatoryComplianceStandardsClient. */
-public interface RegulatoryComplianceStandardsClient {
- /**
- * Supported regulatory compliance standards details and state.
- *
- * @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 list of regulatory compliance standards response.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list();
-
- /**
- * Supported regulatory compliance standards details and state.
- *
- * @param filter OData filter. Optional.
- * @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 list of regulatory compliance standards response.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(String filter, Context context);
-
- /**
- * Supported regulatory compliance details state for selected standard.
- *
- * @param regulatoryComplianceStandardName Name of the regulatory compliance standard object.
- * @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 regulatory compliance standard details and state.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- RegulatoryComplianceStandardInner get(String regulatoryComplianceStandardName);
-
- /**
- * Supported regulatory compliance details state for selected standard.
- *
- * @param regulatoryComplianceStandardName Name of the regulatory compliance standard object.
- * @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 regulatory compliance standard details and state.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(
- String regulatoryComplianceStandardName, Context context);
-}
diff --git a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/SecureScoreControlDefinitionsClient.java b/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/SecureScoreControlDefinitionsClient.java
deleted file mode 100644
index 0a5e4ce88eaa..000000000000
--- a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/SecureScoreControlDefinitionsClient.java
+++ /dev/null
@@ -1,58 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.security.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.security.fluent.models.SecureScoreControlDefinitionItemInner;
-
-/** An instance of this class provides access to all the operations defined in SecureScoreControlDefinitionsClient. */
-public interface SecureScoreControlDefinitionsClient {
- /**
- * List the available security controls, their assessments, and the max score.
- *
- * @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 list of security controls definition.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list();
-
- /**
- * List the available security controls, their assessments, and the max score.
- *
- * @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 list of security controls definition.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(Context context);
-
- /**
- * For a specified subscription, list the available security controls, their assessments, and the max score.
- *
- * @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 list of security controls definition.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable listBySubscription();
-
- /**
- * For a specified subscription, list the available security controls, their assessments, and the max score.
- *
- * @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 list of security controls definition.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable listBySubscription(Context context);
-}
diff --git a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/SecureScoreControlsClient.java b/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/SecureScoreControlsClient.java
deleted file mode 100644
index 586b17c1b0ff..000000000000
--- a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/SecureScoreControlsClient.java
+++ /dev/null
@@ -1,67 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.security.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.security.fluent.models.SecureScoreControlDetailsInner;
-import com.azure.resourcemanager.security.models.ExpandControlsEnum;
-
-/** An instance of this class provides access to all the operations defined in SecureScoreControlsClient. */
-public interface SecureScoreControlsClient {
- /**
- * Get all security controls for a specific initiative within a scope.
- *
- * @param secureScoreName The initiative name. For the ASC Default initiative, use 'ascScore' as in the sample
- * request below.
- * @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 all security controls for a specific initiative within a scope.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable listBySecureScore(String secureScoreName);
-
- /**
- * Get all security controls for a specific initiative within a scope.
- *
- * @param secureScoreName The initiative name. For the ASC Default initiative, use 'ascScore' as in the sample
- * request below.
- * @param expand OData expand. Optional.
- * @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 all security controls for a specific initiative within a scope.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable listBySecureScore(
- String secureScoreName, ExpandControlsEnum expand, Context context);
-
- /**
- * Get all security controls within a scope.
- *
- * @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 all security controls within a scope.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list();
-
- /**
- * Get all security controls within a scope.
- *
- * @param expand OData expand. Optional.
- * @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 all security controls within a scope.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(ExpandControlsEnum expand, Context context);
-}
diff --git a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/SecureScoresClient.java b/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/SecureScoresClient.java
deleted file mode 100644
index fb31886fd226..000000000000
--- a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/SecureScoresClient.java
+++ /dev/null
@@ -1,66 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.security.fluent;
-
-import com.azure.core.annotation.ReturnType;
-import com.azure.core.annotation.ServiceMethod;
-import com.azure.core.http.rest.PagedIterable;
-import com.azure.core.http.rest.Response;
-import com.azure.core.util.Context;
-import com.azure.resourcemanager.security.fluent.models.SecureScoreItemInner;
-
-/** An instance of this class provides access to all the operations defined in SecureScoresClient. */
-public interface SecureScoresClient {
- /**
- * List secure scores for all your Security Center initiatives within your current scope.
- *
- * @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 list of secure scores.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list();
-
- /**
- * List secure scores for all your Security Center initiatives within your current scope.
- *
- * @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 list of secure scores.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(Context context);
-
- /**
- * Get secure score for a specific Security Center initiative within your current scope. For the ASC Default
- * initiative, use 'ascScore'.
- *
- * @param secureScoreName The initiative name. For the ASC Default initiative, use 'ascScore' as in the sample
- * request below.
- * @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 secure score for a specific Security Center initiative within your current scope.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- SecureScoreItemInner get(String secureScoreName);
-
- /**
- * Get secure score for a specific Security Center initiative within your current scope. For the ASC Default
- * initiative, use 'ascScore'.
- *
- * @param secureScoreName The initiative name. For the ASC Default initiative, use 'ascScore' as in the sample
- * request below.
- * @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 secure score for a specific Security Center initiative within your current scope.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(String secureScoreName, Context context);
-}
diff --git a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/SecurityCenter.java b/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/SecurityCenter.java
index ed8d21449d3a..1eb7e7ff5ebf 100644
--- a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/SecurityCenter.java
+++ b/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/SecurityCenter.java
@@ -23,6 +23,13 @@ public interface SecurityCenter {
*/
String getEndpoint();
+ /**
+ * Gets Api Version.
+ *
+ * @return the apiVersion value.
+ */
+ String getApiVersion();
+
/**
* Gets The HTTP pipeline to send requests through.
*
@@ -37,395 +44,10 @@ public interface SecurityCenter {
*/
Duration getDefaultPollInterval();
- /**
- * Gets the ComplianceResultsClient object to access its operations.
- *
- * @return the ComplianceResultsClient object.
- */
- ComplianceResultsClient getComplianceResults();
-
/**
* Gets the PricingsClient object to access its operations.
*
* @return the PricingsClient object.
*/
PricingsClient getPricings();
-
- /**
- * Gets the AdvancedThreatProtectionsClient object to access its operations.
- *
- * @return the AdvancedThreatProtectionsClient object.
- */
- AdvancedThreatProtectionsClient getAdvancedThreatProtections();
-
- /**
- * Gets the DeviceSecurityGroupsClient object to access its operations.
- *
- * @return the DeviceSecurityGroupsClient object.
- */
- DeviceSecurityGroupsClient getDeviceSecurityGroups();
-
- /**
- * Gets the IotSecuritySolutionsClient object to access its operations.
- *
- * @return the IotSecuritySolutionsClient object.
- */
- IotSecuritySolutionsClient getIotSecuritySolutions();
-
- /**
- * Gets the IotSecuritySolutionAnalyticsClient object to access its operations.
- *
- * @return the IotSecuritySolutionAnalyticsClient object.
- */
- IotSecuritySolutionAnalyticsClient getIotSecuritySolutionAnalytics();
-
- /**
- * Gets the IotSecuritySolutionsAnalyticsAggregatedAlertsClient object to access its operations.
- *
- * @return the IotSecuritySolutionsAnalyticsAggregatedAlertsClient object.
- */
- IotSecuritySolutionsAnalyticsAggregatedAlertsClient getIotSecuritySolutionsAnalyticsAggregatedAlerts();
-
- /**
- * Gets the IotSecuritySolutionsAnalyticsRecommendationsClient object to access its operations.
- *
- * @return the IotSecuritySolutionsAnalyticsRecommendationsClient object.
- */
- IotSecuritySolutionsAnalyticsRecommendationsClient getIotSecuritySolutionsAnalyticsRecommendations();
-
- /**
- * Gets the LocationsClient object to access its operations.
- *
- * @return the LocationsClient object.
- */
- LocationsClient getLocations();
-
- /**
- * Gets the OperationsClient object to access its operations.
- *
- * @return the OperationsClient object.
- */
- OperationsClient getOperations();
-
- /**
- * Gets the TasksClient object to access its operations.
- *
- * @return the TasksClient object.
- */
- TasksClient getTasks();
-
- /**
- * Gets the AutoProvisioningSettingsClient object to access its operations.
- *
- * @return the AutoProvisioningSettingsClient object.
- */
- AutoProvisioningSettingsClient getAutoProvisioningSettings();
-
- /**
- * Gets the CompliancesClient object to access its operations.
- *
- * @return the CompliancesClient object.
- */
- CompliancesClient getCompliances();
-
- /**
- * Gets the InformationProtectionPoliciesClient object to access its operations.
- *
- * @return the InformationProtectionPoliciesClient object.
- */
- InformationProtectionPoliciesClient getInformationProtectionPolicies();
-
- /**
- * Gets the SecurityContactsClient object to access its operations.
- *
- * @return the SecurityContactsClient object.
- */
- SecurityContactsClient getSecurityContacts();
-
- /**
- * Gets the WorkspaceSettingsClient object to access its operations.
- *
- * @return the WorkspaceSettingsClient object.
- */
- WorkspaceSettingsClient getWorkspaceSettings();
-
- /**
- * Gets the RegulatoryComplianceStandardsClient object to access its operations.
- *
- * @return the RegulatoryComplianceStandardsClient object.
- */
- RegulatoryComplianceStandardsClient getRegulatoryComplianceStandards();
-
- /**
- * Gets the RegulatoryComplianceControlsClient object to access its operations.
- *
- * @return the RegulatoryComplianceControlsClient object.
- */
- RegulatoryComplianceControlsClient getRegulatoryComplianceControls();
-
- /**
- * Gets the RegulatoryComplianceAssessmentsClient object to access its operations.
- *
- * @return the RegulatoryComplianceAssessmentsClient object.
- */
- RegulatoryComplianceAssessmentsClient getRegulatoryComplianceAssessments();
-
- /**
- * Gets the SubAssessmentsClient object to access its operations.
- *
- * @return the SubAssessmentsClient object.
- */
- SubAssessmentsClient getSubAssessments();
-
- /**
- * Gets the AutomationsClient object to access its operations.
- *
- * @return the AutomationsClient object.
- */
- AutomationsClient getAutomations();
-
- /**
- * Gets the AlertsSuppressionRulesClient object to access its operations.
- *
- * @return the AlertsSuppressionRulesClient object.
- */
- AlertsSuppressionRulesClient getAlertsSuppressionRules();
-
- /**
- * Gets the ServerVulnerabilityAssessmentsClient object to access its operations.
- *
- * @return the ServerVulnerabilityAssessmentsClient object.
- */
- ServerVulnerabilityAssessmentsClient getServerVulnerabilityAssessments();
-
- /**
- * Gets the AssessmentsMetadatasClient object to access its operations.
- *
- * @return the AssessmentsMetadatasClient object.
- */
- AssessmentsMetadatasClient getAssessmentsMetadatas();
-
- /**
- * Gets the AssessmentsClient object to access its operations.
- *
- * @return the AssessmentsClient object.
- */
- AssessmentsClient getAssessments();
-
- /**
- * Gets the AdaptiveApplicationControlsClient object to access its operations.
- *
- * @return the AdaptiveApplicationControlsClient object.
- */
- AdaptiveApplicationControlsClient getAdaptiveApplicationControls();
-
- /**
- * Gets the AdaptiveNetworkHardeningsClient object to access its operations.
- *
- * @return the AdaptiveNetworkHardeningsClient object.
- */
- AdaptiveNetworkHardeningsClient getAdaptiveNetworkHardenings();
-
- /**
- * Gets the AllowedConnectionsClient object to access its operations.
- *
- * @return the AllowedConnectionsClient object.
- */
- AllowedConnectionsClient getAllowedConnections();
-
- /**
- * Gets the TopologiesClient object to access its operations.
- *
- * @return the TopologiesClient object.
- */
- TopologiesClient getTopologies();
-
- /**
- * Gets the JitNetworkAccessPoliciesClient object to access its operations.
- *
- * @return the JitNetworkAccessPoliciesClient object.
- */
- JitNetworkAccessPoliciesClient getJitNetworkAccessPolicies();
-
- /**
- * Gets the DiscoveredSecuritySolutionsClient object to access its operations.
- *
- * @return the DiscoveredSecuritySolutionsClient object.
- */
- DiscoveredSecuritySolutionsClient getDiscoveredSecuritySolutions();
-
- /**
- * Gets the SecuritySolutionsReferenceDatasClient object to access its operations.
- *
- * @return the SecuritySolutionsReferenceDatasClient object.
- */
- SecuritySolutionsReferenceDatasClient getSecuritySolutionsReferenceDatas();
-
- /**
- * Gets the ExternalSecuritySolutionsClient object to access its operations.
- *
- * @return the ExternalSecuritySolutionsClient object.
- */
- ExternalSecuritySolutionsClient getExternalSecuritySolutions();
-
- /**
- * Gets the SecureScoresClient object to access its operations.
- *
- * @return the SecureScoresClient object.
- */
- SecureScoresClient getSecureScores();
-
- /**
- * Gets the SecureScoreControlsClient object to access its operations.
- *
- * @return the SecureScoreControlsClient object.
- */
- SecureScoreControlsClient getSecureScoreControls();
-
- /**
- * Gets the SecureScoreControlDefinitionsClient object to access its operations.
- *
- * @return the SecureScoreControlDefinitionsClient object.
- */
- SecureScoreControlDefinitionsClient getSecureScoreControlDefinitions();
-
- /**
- * Gets the SecuritySolutionsClient object to access its operations.
- *
- * @return the SecuritySolutionsClient object.
- */
- SecuritySolutionsClient getSecuritySolutions();
-
- /**
- * Gets the ConnectorsClient object to access its operations.
- *
- * @return the ConnectorsClient object.
- */
- ConnectorsClient getConnectors();
-
- /**
- * Gets the SqlVulnerabilityAssessmentScansClient object to access its operations.
- *
- * @return the SqlVulnerabilityAssessmentScansClient object.
- */
- SqlVulnerabilityAssessmentScansClient getSqlVulnerabilityAssessmentScans();
-
- /**
- * Gets the SqlVulnerabilityAssessmentScanResultsClient object to access its operations.
- *
- * @return the SqlVulnerabilityAssessmentScanResultsClient object.
- */
- SqlVulnerabilityAssessmentScanResultsClient getSqlVulnerabilityAssessmentScanResults();
-
- /**
- * Gets the SqlVulnerabilityAssessmentBaselineRulesClient object to access its operations.
- *
- * @return the SqlVulnerabilityAssessmentBaselineRulesClient object.
- */
- SqlVulnerabilityAssessmentBaselineRulesClient getSqlVulnerabilityAssessmentBaselineRules();
-
- /**
- * Gets the IotDefenderSettingsClient object to access its operations.
- *
- * @return the IotDefenderSettingsClient object.
- */
- IotDefenderSettingsClient getIotDefenderSettings();
-
- /**
- * Gets the IotSensorsClient object to access its operations.
- *
- * @return the IotSensorsClient object.
- */
- IotSensorsClient getIotSensors();
-
- /**
- * Gets the DevicesForSubscriptionsClient object to access its operations.
- *
- * @return the DevicesForSubscriptionsClient object.
- */
- DevicesForSubscriptionsClient getDevicesForSubscriptions();
-
- /**
- * Gets the DevicesForHubsClient object to access its operations.
- *
- * @return the DevicesForHubsClient object.
- */
- DevicesForHubsClient getDevicesForHubs();
-
- /**
- * Gets the DevicesClient object to access its operations.
- *
- * @return the DevicesClient object.
- */
- DevicesClient getDevices();
-
- /**
- * Gets the OnPremiseIotSensorsClient object to access its operations.
- *
- * @return the OnPremiseIotSensorsClient object.
- */
- OnPremiseIotSensorsClient getOnPremiseIotSensors();
-
- /**
- * Gets the IotSitesClient object to access its operations.
- *
- * @return the IotSitesClient object.
- */
- IotSitesClient getIotSites();
-
- /**
- * Gets the IotAlertsClient object to access its operations.
- *
- * @return the IotAlertsClient object.
- */
- IotAlertsClient getIotAlerts();
-
- /**
- * Gets the IotAlertTypesClient object to access its operations.
- *
- * @return the IotAlertTypesClient object.
- */
- IotAlertTypesClient getIotAlertTypes();
-
- /**
- * Gets the IotRecommendationsClient object to access its operations.
- *
- * @return the IotRecommendationsClient object.
- */
- IotRecommendationsClient getIotRecommendations();
-
- /**
- * Gets the IotRecommendationTypesClient object to access its operations.
- *
- * @return the IotRecommendationTypesClient object.
- */
- IotRecommendationTypesClient getIotRecommendationTypes();
-
- /**
- * Gets the AlertsClient object to access its operations.
- *
- * @return the AlertsClient object.
- */
- AlertsClient getAlerts();
-
- /**
- * Gets the SettingsClient object to access its operations.
- *
- * @return the SettingsClient object.
- */
- SettingsClient getSettings();
-
- /**
- * Gets the IngestionSettingsClient object to access its operations.
- *
- * @return the IngestionSettingsClient object.
- */
- IngestionSettingsClient getIngestionSettings();
-
- /**
- * Gets the SoftwareInventoriesClient object to access its operations.
- *
- * @return the SoftwareInventoriesClient object.
- */
- SoftwareInventoriesClient getSoftwareInventories();
}
diff --git a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/SecurityContactsClient.java b/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/SecurityContactsClient.java
deleted file mode 100644
index cb1929f2c13c..000000000000
--- a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/SecurityContactsClient.java
+++ /dev/null
@@ -1,142 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.security.fluent;
-
-import com.azure.core.annotation.ReturnType;
-import com.azure.core.annotation.ServiceMethod;
-import com.azure.core.http.rest.PagedIterable;
-import com.azure.core.http.rest.Response;
-import com.azure.core.util.Context;
-import com.azure.resourcemanager.security.fluent.models.SecurityContactInner;
-
-/** An instance of this class provides access to all the operations defined in SecurityContactsClient. */
-public interface SecurityContactsClient {
- /**
- * Security contact configurations for the subscription.
- *
- * @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 list of security contacts response.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list();
-
- /**
- * Security contact configurations for the subscription.
- *
- * @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 list of security contacts response.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(Context context);
-
- /**
- * Security contact configurations for the subscription.
- *
- * @param securityContactName Name of the security contact object.
- * @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 contact details for security issues.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- SecurityContactInner get(String securityContactName);
-
- /**
- * Security contact configurations for the subscription.
- *
- * @param securityContactName Name of the security contact object.
- * @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 contact details for security issues.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(String securityContactName, Context context);
-
- /**
- * Security contact configurations for the subscription.
- *
- * @param securityContactName Name of the security contact object.
- * @param securityContact Security contact object.
- * @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 contact details for security issues.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- SecurityContactInner create(String securityContactName, SecurityContactInner securityContact);
-
- /**
- * Security contact configurations for the subscription.
- *
- * @param securityContactName Name of the security contact object.
- * @param securityContact Security contact object.
- * @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 contact details for security issues.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response createWithResponse(
- String securityContactName, SecurityContactInner securityContact, Context context);
-
- /**
- * Security contact configurations for the subscription.
- *
- * @param securityContactName Name of the security contact object.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- void delete(String securityContactName);
-
- /**
- * Security contact configurations for the subscription.
- *
- * @param securityContactName Name of the security contact object.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the response.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response deleteWithResponse(String securityContactName, Context context);
-
- /**
- * Security contact configurations for the subscription.
- *
- * @param securityContactName Name of the security contact object.
- * @param securityContact Security contact object.
- * @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 contact details for security issues.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- SecurityContactInner update(String securityContactName, SecurityContactInner securityContact);
-
- /**
- * Security contact configurations for the subscription.
- *
- * @param securityContactName Name of the security contact object.
- * @param securityContact Security contact object.
- * @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 contact details for security issues.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response updateWithResponse(
- String securityContactName, SecurityContactInner securityContact, Context context);
-}
diff --git a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/SecuritySolutionsClient.java b/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/SecuritySolutionsClient.java
deleted file mode 100644
index fe9535a7bf5a..000000000000
--- a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/SecuritySolutionsClient.java
+++ /dev/null
@@ -1,71 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.security.fluent;
-
-import com.azure.core.annotation.ReturnType;
-import com.azure.core.annotation.ServiceMethod;
-import com.azure.core.http.rest.PagedIterable;
-import com.azure.core.http.rest.Response;
-import com.azure.core.util.Context;
-import com.azure.resourcemanager.security.fluent.models.SecuritySolutionInner;
-
-/** An instance of this class provides access to all the operations defined in SecuritySolutionsClient. */
-public interface SecuritySolutionsClient {
- /**
- * Gets a list of Security Solutions for the subscription.
- *
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a list of Security Solutions for the subscription.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list();
-
- /**
- * Gets a list of Security Solutions for the subscription.
- *
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a list of Security Solutions for the subscription.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(Context context);
-
- /**
- * Gets a specific Security Solution.
- *
- * @param resourceGroupName The name of the resource group within the user's subscription. The name is case
- * insensitive.
- * @param ascLocation The location where ASC stores the data of the subscription. can be retrieved from Get
- * locations.
- * @param securitySolutionName Name of security solution.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a specific Security Solution.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- SecuritySolutionInner get(String resourceGroupName, String ascLocation, String securitySolutionName);
-
- /**
- * Gets a specific Security Solution.
- *
- * @param resourceGroupName The name of the resource group within the user's subscription. The name is case
- * insensitive.
- * @param ascLocation The location where ASC stores the data of the subscription. can be retrieved from Get
- * locations.
- * @param securitySolutionName Name of security solution.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a specific Security Solution.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(
- String resourceGroupName, String ascLocation, String securitySolutionName, Context context);
-}
diff --git a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/SecuritySolutionsReferenceDatasClient.java b/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/SecuritySolutionsReferenceDatasClient.java
deleted file mode 100644
index cb48242e29bb..000000000000
--- a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/SecuritySolutionsReferenceDatasClient.java
+++ /dev/null
@@ -1,63 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.security.fluent;
-
-import com.azure.core.annotation.ReturnType;
-import com.azure.core.annotation.ServiceMethod;
-import com.azure.core.http.rest.Response;
-import com.azure.core.util.Context;
-import com.azure.resourcemanager.security.fluent.models.SecuritySolutionsReferenceDataListInner;
-
-/** An instance of this class provides access to all the operations defined in SecuritySolutionsReferenceDatasClient. */
-public interface SecuritySolutionsReferenceDatasClient {
- /**
- * Gets a list of all supported Security Solutions for the subscription.
- *
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a list of all supported Security Solutions for the subscription.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- SecuritySolutionsReferenceDataListInner list();
-
- /**
- * Gets a list of all supported Security Solutions for the subscription.
- *
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a list of all supported Security Solutions for the subscription.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response listWithResponse(Context context);
-
- /**
- * Gets list of all supported Security Solutions for subscription and location.
- *
- * @param ascLocation The location where ASC stores the data of the subscription. can be retrieved from Get
- * locations.
- * @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 list of all supported Security Solutions for subscription and location.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- SecuritySolutionsReferenceDataListInner listByHomeRegion(String ascLocation);
-
- /**
- * Gets list of all supported Security Solutions for subscription and location.
- *
- * @param ascLocation The location where ASC stores the data of the subscription. can be retrieved from Get
- * locations.
- * @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 list of all supported Security Solutions for subscription and location.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response listByHomeRegionWithResponse(String ascLocation, Context context);
-}
diff --git a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/ServerVulnerabilityAssessmentsClient.java b/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/ServerVulnerabilityAssessmentsClient.java
deleted file mode 100644
index 6725b6c2d2b1..000000000000
--- a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/ServerVulnerabilityAssessmentsClient.java
+++ /dev/null
@@ -1,191 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.security.fluent;
-
-import com.azure.core.annotation.ReturnType;
-import com.azure.core.annotation.ServiceMethod;
-import com.azure.core.http.rest.Response;
-import com.azure.core.management.polling.PollResult;
-import com.azure.core.util.Context;
-import com.azure.core.util.polling.SyncPoller;
-import com.azure.resourcemanager.security.fluent.models.ServerVulnerabilityAssessmentInner;
-import com.azure.resourcemanager.security.fluent.models.ServerVulnerabilityAssessmentsListInner;
-
-/** An instance of this class provides access to all the operations defined in ServerVulnerabilityAssessmentsClient. */
-public interface ServerVulnerabilityAssessmentsClient {
- /**
- * Gets a list of server vulnerability assessment onboarding statuses on a given resource.
- *
- * @param resourceGroupName The name of the resource group within the user's subscription. The name is case
- * insensitive.
- * @param resourceNamespace The Namespace of the resource.
- * @param resourceType The type of the resource.
- * @param resourceName Name of the resource.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a list of server vulnerability assessment onboarding statuses on a given resource.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- ServerVulnerabilityAssessmentsListInner listByExtendedResource(
- String resourceGroupName, String resourceNamespace, String resourceType, String resourceName);
-
- /**
- * Gets a list of server vulnerability assessment onboarding statuses on a given resource.
- *
- * @param resourceGroupName The name of the resource group within the user's subscription. The name is case
- * insensitive.
- * @param resourceNamespace The Namespace of the resource.
- * @param resourceType The type of the resource.
- * @param resourceName Name of the resource.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a list of server vulnerability assessment onboarding statuses on a given resource.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response listByExtendedResourceWithResponse(
- String resourceGroupName, String resourceNamespace, String resourceType, String resourceName, Context context);
-
- /**
- * Gets a server vulnerability assessment onboarding statuses on a given resource.
- *
- * @param resourceGroupName The name of the resource group within the user's subscription. The name is case
- * insensitive.
- * @param resourceNamespace The Namespace of the resource.
- * @param resourceType The type of the resource.
- * @param resourceName Name of the resource.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a server vulnerability assessment onboarding statuses on a given resource.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- ServerVulnerabilityAssessmentInner get(
- String resourceGroupName, String resourceNamespace, String resourceType, String resourceName);
-
- /**
- * Gets a server vulnerability assessment onboarding statuses on a given resource.
- *
- * @param resourceGroupName The name of the resource group within the user's subscription. The name is case
- * insensitive.
- * @param resourceNamespace The Namespace of the resource.
- * @param resourceType The type of the resource.
- * @param resourceName Name of the resource.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a server vulnerability assessment onboarding statuses on a given resource.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(
- String resourceGroupName, String resourceNamespace, String resourceType, String resourceName, Context context);
-
- /**
- * Creating a server vulnerability assessment on a resource, which will onboard a resource for having a
- * vulnerability assessment on it.
- *
- * @param resourceGroupName The name of the resource group within the user's subscription. The name is case
- * insensitive.
- * @param resourceNamespace The Namespace of the resource.
- * @param resourceType The type of the resource.
- * @param resourceName Name of the resource.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return describes the server vulnerability assessment details on a resource.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- ServerVulnerabilityAssessmentInner createOrUpdate(
- String resourceGroupName, String resourceNamespace, String resourceType, String resourceName);
-
- /**
- * Creating a server vulnerability assessment on a resource, which will onboard a resource for having a
- * vulnerability assessment on it.
- *
- * @param resourceGroupName The name of the resource group within the user's subscription. The name is case
- * insensitive.
- * @param resourceNamespace The Namespace of the resource.
- * @param resourceType The type of the resource.
- * @param resourceName Name of the resource.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return describes the server vulnerability assessment details on a resource.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response createOrUpdateWithResponse(
- String resourceGroupName, String resourceNamespace, String resourceType, String resourceName, Context context);
-
- /**
- * Removing server vulnerability assessment from a resource.
- *
- * @param resourceGroupName The name of the resource group within the user's subscription. The name is case
- * insensitive.
- * @param resourceNamespace The Namespace of the resource.
- * @param resourceType The type of the resource.
- * @param resourceName Name of the resource.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the completion.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- SyncPoller, Void> beginDelete(
- String resourceGroupName, String resourceNamespace, String resourceType, String resourceName);
-
- /**
- * Removing server vulnerability assessment from a resource.
- *
- * @param resourceGroupName The name of the resource group within the user's subscription. The name is case
- * insensitive.
- * @param resourceNamespace The Namespace of the resource.
- * @param resourceType The type of the resource.
- * @param resourceName Name of the resource.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the completion.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- SyncPoller, Void> beginDelete(
- String resourceGroupName, String resourceNamespace, String resourceType, String resourceName, Context context);
-
- /**
- * Removing server vulnerability assessment from a resource.
- *
- * @param resourceGroupName The name of the resource group within the user's subscription. The name is case
- * insensitive.
- * @param resourceNamespace The Namespace of the resource.
- * @param resourceType The type of the resource.
- * @param resourceName Name of the resource.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- void delete(String resourceGroupName, String resourceNamespace, String resourceType, String resourceName);
-
- /**
- * Removing server vulnerability assessment from a resource.
- *
- * @param resourceGroupName The name of the resource group within the user's subscription. The name is case
- * insensitive.
- * @param resourceNamespace The Namespace of the resource.
- * @param resourceType The type of the resource.
- * @param resourceName Name of the resource.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- void delete(
- String resourceGroupName, String resourceNamespace, String resourceType, String resourceName, Context context);
-}
diff --git a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/SettingsClient.java b/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/SettingsClient.java
deleted file mode 100644
index 54cae08ff3a5..000000000000
--- a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/SettingsClient.java
+++ /dev/null
@@ -1,90 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.security.fluent;
-
-import com.azure.core.annotation.ReturnType;
-import com.azure.core.annotation.ServiceMethod;
-import com.azure.core.http.rest.PagedIterable;
-import com.azure.core.http.rest.Response;
-import com.azure.core.util.Context;
-import com.azure.resourcemanager.security.fluent.models.SettingInner;
-import com.azure.resourcemanager.security.models.SettingsSettingName;
-
-/** An instance of this class provides access to all the operations defined in SettingsClient. */
-public interface SettingsClient {
- /**
- * Settings about different configurations in security center.
- *
- * @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 subscription settings list.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list();
-
- /**
- * Settings about different configurations in security center.
- *
- * @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 subscription settings list.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(Context context);
-
- /**
- * Settings of different configurations in security center.
- *
- * @param settingName The name of the setting.
- * @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 kind of the security setting.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- SettingInner get(SettingsSettingName settingName);
-
- /**
- * Settings of different configurations in security center.
- *
- * @param settingName The name of the setting.
- * @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 kind of the security setting.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(SettingsSettingName settingName, Context context);
-
- /**
- * updating settings about different configurations in security center.
- *
- * @param settingName The name of the setting.
- * @param setting Setting object.
- * @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 kind of the security setting.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- SettingInner update(SettingsSettingName settingName, SettingInner setting);
-
- /**
- * updating settings about different configurations in security center.
- *
- * @param settingName The name of the setting.
- * @param setting Setting object.
- * @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 kind of the security setting.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response updateWithResponse(SettingsSettingName settingName, SettingInner setting, Context context);
-}
diff --git a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/SoftwareInventoriesClient.java b/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/SoftwareInventoriesClient.java
deleted file mode 100644
index cc9f1ab364f0..000000000000
--- a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/SoftwareInventoriesClient.java
+++ /dev/null
@@ -1,118 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.security.fluent;
-
-import com.azure.core.annotation.ReturnType;
-import com.azure.core.annotation.ServiceMethod;
-import com.azure.core.http.rest.PagedIterable;
-import com.azure.core.http.rest.Response;
-import com.azure.core.util.Context;
-import com.azure.resourcemanager.security.fluent.models.SoftwareInner;
-
-/** An instance of this class provides access to all the operations defined in SoftwareInventoriesClient. */
-public interface SoftwareInventoriesClient {
- /**
- * Gets the software inventory of the virtual machine.
- *
- * @param resourceGroupName The name of the resource group within the user's subscription. The name is case
- * insensitive.
- * @param resourceNamespace The namespace of the resource.
- * @param resourceType The type of the resource.
- * @param resourceName Name of the resource.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the software inventory of the virtual machine.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable listByExtendedResource(
- String resourceGroupName, String resourceNamespace, String resourceType, String resourceName);
-
- /**
- * Gets the software inventory of the virtual machine.
- *
- * @param resourceGroupName The name of the resource group within the user's subscription. The name is case
- * insensitive.
- * @param resourceNamespace The namespace of the resource.
- * @param resourceType The type of the resource.
- * @param resourceName Name of the resource.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the software inventory of the virtual machine.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable listByExtendedResource(
- String resourceGroupName, String resourceNamespace, String resourceType, String resourceName, Context context);
-
- /**
- * Gets the software inventory of all virtual machines in the subscriptions.
- *
- * @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 software inventory of all virtual machines in the subscriptions.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list();
-
- /**
- * Gets the software inventory of all virtual machines in the subscriptions.
- *
- * @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 software inventory of all virtual machines in the subscriptions.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(Context context);
-
- /**
- * Gets a single software data of the virtual machine.
- *
- * @param resourceGroupName The name of the resource group within the user's subscription. The name is case
- * insensitive.
- * @param resourceNamespace The namespace of the resource.
- * @param resourceType The type of the resource.
- * @param resourceName Name of the resource.
- * @param softwareName Name of the installed software.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a single software data of the virtual machine.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- SoftwareInner get(
- String resourceGroupName,
- String resourceNamespace,
- String resourceType,
- String resourceName,
- String softwareName);
-
- /**
- * Gets a single software data of the virtual machine.
- *
- * @param resourceGroupName The name of the resource group within the user's subscription. The name is case
- * insensitive.
- * @param resourceNamespace The namespace of the resource.
- * @param resourceType The type of the resource.
- * @param resourceName Name of the resource.
- * @param softwareName Name of the installed software.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a single software data of the virtual machine.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(
- String resourceGroupName,
- String resourceNamespace,
- String resourceType,
- String resourceName,
- String softwareName,
- Context context);
-}
diff --git a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/SqlVulnerabilityAssessmentBaselineRulesClient.java b/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/SqlVulnerabilityAssessmentBaselineRulesClient.java
deleted file mode 100644
index 63c78c504c3d..000000000000
--- a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/SqlVulnerabilityAssessmentBaselineRulesClient.java
+++ /dev/null
@@ -1,164 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.security.fluent;
-
-import com.azure.core.annotation.ReturnType;
-import com.azure.core.annotation.ServiceMethod;
-import com.azure.core.http.rest.Response;
-import com.azure.core.util.Context;
-import com.azure.resourcemanager.security.fluent.models.RuleResultsInner;
-import com.azure.resourcemanager.security.fluent.models.RulesResultsInner;
-import com.azure.resourcemanager.security.models.RuleResultsInput;
-import com.azure.resourcemanager.security.models.RulesResultsInput;
-
-/**
- * An instance of this class provides access to all the operations defined in
- * SqlVulnerabilityAssessmentBaselineRulesClient.
- */
-public interface SqlVulnerabilityAssessmentBaselineRulesClient {
- /**
- * Creates a Baseline for a rule in a database. Will overwrite any previously existing results.
- *
- * @param ruleId The rule Id.
- * @param workspaceId The workspace Id.
- * @param resourceId The identifier of the resource.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return rule results.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- RuleResultsInner createOrUpdate(String ruleId, String workspaceId, String resourceId);
-
- /**
- * Creates a Baseline for a rule in a database. Will overwrite any previously existing results.
- *
- * @param ruleId The rule Id.
- * @param workspaceId The workspace Id.
- * @param resourceId The identifier of the resource.
- * @param body The baseline results for this rule.
- * @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 rule results.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response createOrUpdateWithResponse(
- String ruleId, String workspaceId, String resourceId, RuleResultsInput body, Context context);
-
- /**
- * Gets the results for a given rule in the Baseline.
- *
- * @param ruleId The rule Id.
- * @param workspaceId The workspace Id.
- * @param resourceId The identifier of the resource.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the results for a given rule in the Baseline.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- RuleResultsInner get(String ruleId, String workspaceId, String resourceId);
-
- /**
- * Gets the results for a given rule in the Baseline.
- *
- * @param ruleId The rule Id.
- * @param workspaceId The workspace Id.
- * @param resourceId The identifier of the resource.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the results for a given rule in the Baseline.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(String ruleId, String workspaceId, String resourceId, Context context);
-
- /**
- * Deletes a rule from the Baseline of a given database.
- *
- * @param ruleId The rule Id.
- * @param workspaceId The workspace Id.
- * @param resourceId The identifier of the resource.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- void delete(String ruleId, String workspaceId, String resourceId);
-
- /**
- * Deletes a rule from the Baseline of a given database.
- *
- * @param ruleId The rule Id.
- * @param workspaceId The workspace Id.
- * @param resourceId The identifier of the resource.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the response.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response deleteWithResponse(String ruleId, String workspaceId, String resourceId, Context context);
-
- /**
- * Gets the results for all rules in the Baseline.
- *
- * @param workspaceId The workspace Id.
- * @param resourceId The identifier of the resource.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the results for all rules in the Baseline.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- RulesResultsInner list(String workspaceId, String resourceId);
-
- /**
- * Gets the results for all rules in the Baseline.
- *
- * @param workspaceId The workspace Id.
- * @param resourceId The identifier of the resource.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the results for all rules in the Baseline.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response listWithResponse(String workspaceId, String resourceId, Context context);
-
- /**
- * Add a list of baseline rules. Will overwrite any previously existing results (for all rules).
- *
- * @param workspaceId The workspace Id.
- * @param resourceId The identifier of the resource.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a list of rules results.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- RulesResultsInner add(String workspaceId, String resourceId);
-
- /**
- * Add a list of baseline rules. Will overwrite any previously existing results (for all rules).
- *
- * @param workspaceId The workspace Id.
- * @param resourceId The identifier of the resource.
- * @param body The baseline rules.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a list of rules results.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response addWithResponse(
- String workspaceId, String resourceId, RulesResultsInput body, Context context);
-}
diff --git a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/SqlVulnerabilityAssessmentScanResultsClient.java b/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/SqlVulnerabilityAssessmentScanResultsClient.java
deleted file mode 100644
index 38060ada1168..000000000000
--- a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/SqlVulnerabilityAssessmentScanResultsClient.java
+++ /dev/null
@@ -1,79 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.security.fluent;
-
-import com.azure.core.annotation.ReturnType;
-import com.azure.core.annotation.ServiceMethod;
-import com.azure.core.http.rest.Response;
-import com.azure.core.util.Context;
-import com.azure.resourcemanager.security.fluent.models.ScanResultInner;
-import com.azure.resourcemanager.security.fluent.models.ScanResultsInner;
-
-/**
- * An instance of this class provides access to all the operations defined in
- * SqlVulnerabilityAssessmentScanResultsClient.
- */
-public interface SqlVulnerabilityAssessmentScanResultsClient {
- /**
- * Gets the scan results of a single rule in a scan record.
- *
- * @param scanId The scan Id. Type 'latest' to get the scan results for the latest scan.
- * @param scanResultId The rule Id of the results.
- * @param workspaceId The workspace Id.
- * @param resourceId The identifier of the resource.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the scan results of a single rule in a scan record.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- ScanResultInner get(String scanId, String scanResultId, String workspaceId, String resourceId);
-
- /**
- * Gets the scan results of a single rule in a scan record.
- *
- * @param scanId The scan Id. Type 'latest' to get the scan results for the latest scan.
- * @param scanResultId The rule Id of the results.
- * @param workspaceId The workspace Id.
- * @param resourceId The identifier of the resource.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the scan results of a single rule in a scan record.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(
- String scanId, String scanResultId, String workspaceId, String resourceId, Context context);
-
- /**
- * Gets a list of scan results for a single scan record.
- *
- * @param scanId The scan Id. Type 'latest' to get the scan results for the latest scan.
- * @param workspaceId The workspace Id.
- * @param resourceId The identifier of the resource.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a list of scan results for a single scan record.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- ScanResultsInner list(String scanId, String workspaceId, String resourceId);
-
- /**
- * Gets a list of scan results for a single scan record.
- *
- * @param scanId The scan Id. Type 'latest' to get the scan results for the latest scan.
- * @param workspaceId The workspace Id.
- * @param resourceId The identifier of the resource.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a list of scan results for a single scan record.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response listWithResponse(String scanId, String workspaceId, String resourceId, Context context);
-}
diff --git a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/SqlVulnerabilityAssessmentScansClient.java b/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/SqlVulnerabilityAssessmentScansClient.java
deleted file mode 100644
index a0fe8031cc17..000000000000
--- a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/SqlVulnerabilityAssessmentScansClient.java
+++ /dev/null
@@ -1,71 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.security.fluent;
-
-import com.azure.core.annotation.ReturnType;
-import com.azure.core.annotation.ServiceMethod;
-import com.azure.core.http.rest.Response;
-import com.azure.core.util.Context;
-import com.azure.resourcemanager.security.fluent.models.ScanInner;
-import com.azure.resourcemanager.security.fluent.models.ScansInner;
-
-/** An instance of this class provides access to all the operations defined in SqlVulnerabilityAssessmentScansClient. */
-public interface SqlVulnerabilityAssessmentScansClient {
- /**
- * Gets the scan details of a single scan record.
- *
- * @param scanId The scan Id. Type 'latest' to get the scan record for the latest scan.
- * @param workspaceId The workspace Id.
- * @param resourceId The identifier of the resource.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the scan details of a single scan record.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- ScanInner get(String scanId, String workspaceId, String resourceId);
-
- /**
- * Gets the scan details of a single scan record.
- *
- * @param scanId The scan Id. Type 'latest' to get the scan record for the latest scan.
- * @param workspaceId The workspace Id.
- * @param resourceId The identifier of the resource.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the scan details of a single scan record.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(String scanId, String workspaceId, String resourceId, Context context);
-
- /**
- * Gets a list of scan records.
- *
- * @param workspaceId The workspace Id.
- * @param resourceId The identifier of the resource.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a list of scan records.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- ScansInner list(String workspaceId, String resourceId);
-
- /**
- * Gets a list of scan records.
- *
- * @param workspaceId The workspace Id.
- * @param resourceId The identifier of the resource.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a list of scan records.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response listWithResponse(String workspaceId, String resourceId, Context context);
-}
diff --git a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/SubAssessmentsClient.java b/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/SubAssessmentsClient.java
deleted file mode 100644
index ef2fafc457f1..000000000000
--- a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/SubAssessmentsClient.java
+++ /dev/null
@@ -1,103 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.security.fluent;
-
-import com.azure.core.annotation.ReturnType;
-import com.azure.core.annotation.ServiceMethod;
-import com.azure.core.http.rest.PagedIterable;
-import com.azure.core.http.rest.Response;
-import com.azure.core.util.Context;
-import com.azure.resourcemanager.security.fluent.models.SecuritySubAssessmentInner;
-
-/** An instance of this class provides access to all the operations defined in SubAssessmentsClient. */
-public interface SubAssessmentsClient {
- /**
- * Get security sub-assessments on all your scanned resources inside a subscription scope.
- *
- * @param scope Scope of the query, can be subscription (/subscriptions/0b06d9ea-afe6-4779-bd59-30e5c2d9d13f) or
- * management group (/providers/Microsoft.Management/managementGroups/mgName).
- * @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 security sub-assessments on all your scanned resources inside a subscription scope.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable listAll(String scope);
-
- /**
- * Get security sub-assessments on all your scanned resources inside a subscription scope.
- *
- * @param scope Scope of the query, can be subscription (/subscriptions/0b06d9ea-afe6-4779-bd59-30e5c2d9d13f) or
- * management group (/providers/Microsoft.Management/managementGroups/mgName).
- * @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 security sub-assessments on all your scanned resources inside a subscription scope.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable listAll(String scope, Context context);
-
- /**
- * Get security sub-assessments on all your scanned resources inside a scope.
- *
- * @param scope Scope of the query, can be subscription (/subscriptions/0b06d9ea-afe6-4779-bd59-30e5c2d9d13f) or
- * management group (/providers/Microsoft.Management/managementGroups/mgName).
- * @param assessmentName The Assessment Key - Unique key for the assessment type.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return security sub-assessments on all your scanned resources inside a scope.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(String scope, String assessmentName);
-
- /**
- * Get security sub-assessments on all your scanned resources inside a scope.
- *
- * @param scope Scope of the query, can be subscription (/subscriptions/0b06d9ea-afe6-4779-bd59-30e5c2d9d13f) or
- * management group (/providers/Microsoft.Management/managementGroups/mgName).
- * @param assessmentName The Assessment Key - Unique key for the assessment type.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return security sub-assessments on all your scanned resources inside a scope.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(String scope, String assessmentName, Context context);
-
- /**
- * Get a security sub-assessment on your scanned resource.
- *
- * @param scope Scope of the query, can be subscription (/subscriptions/0b06d9ea-afe6-4779-bd59-30e5c2d9d13f) or
- * management group (/providers/Microsoft.Management/managementGroups/mgName).
- * @param assessmentName The Assessment Key - Unique key for the assessment type.
- * @param subAssessmentName The Sub-Assessment Key - Unique key for the sub-assessment type.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a security sub-assessment on your scanned resource.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- SecuritySubAssessmentInner get(String scope, String assessmentName, String subAssessmentName);
-
- /**
- * Get a security sub-assessment on your scanned resource.
- *
- * @param scope Scope of the query, can be subscription (/subscriptions/0b06d9ea-afe6-4779-bd59-30e5c2d9d13f) or
- * management group (/providers/Microsoft.Management/managementGroups/mgName).
- * @param assessmentName The Assessment Key - Unique key for the assessment type.
- * @param subAssessmentName The Sub-Assessment Key - Unique key for the sub-assessment type.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a security sub-assessment on your scanned resource.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(
- String scope, String assessmentName, String subAssessmentName, Context context);
-}
diff --git a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/TasksClient.java b/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/TasksClient.java
deleted file mode 100644
index ba7689390426..000000000000
--- a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/TasksClient.java
+++ /dev/null
@@ -1,236 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.security.fluent;
-
-import com.azure.core.annotation.ReturnType;
-import com.azure.core.annotation.ServiceMethod;
-import com.azure.core.http.rest.PagedIterable;
-import com.azure.core.http.rest.Response;
-import com.azure.core.util.Context;
-import com.azure.resourcemanager.security.fluent.models.SecurityTaskInner;
-import com.azure.resourcemanager.security.models.TasksTaskUpdateActionType;
-
-/** An instance of this class provides access to all the operations defined in TasksClient. */
-public interface TasksClient {
- /**
- * Recommended tasks that will help improve the security of the subscription proactively.
- *
- * @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 list of security task recommendations.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list();
-
- /**
- * Recommended tasks that will help improve the security of the subscription proactively.
- *
- * @param filter OData filter. Optional.
- * @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 list of security task recommendations.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(String filter, Context context);
-
- /**
- * Recommended tasks that will help improve the security of the subscription proactively.
- *
- * @param ascLocation The location where ASC stores the data of the subscription. can be retrieved from Get
- * locations.
- * @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 list of security task recommendations.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable listByHomeRegion(String ascLocation);
-
- /**
- * Recommended tasks that will help improve the security of the subscription proactively.
- *
- * @param ascLocation The location where ASC stores the data of the subscription. can be retrieved from Get
- * locations.
- * @param filter OData filter. Optional.
- * @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 list of security task recommendations.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable listByHomeRegion(String ascLocation, String filter, Context context);
-
- /**
- * Recommended tasks that will help improve the security of the subscription proactively.
- *
- * @param ascLocation The location where ASC stores the data of the subscription. can be retrieved from Get
- * locations.
- * @param taskName Name of the task object, will be a GUID.
- * @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 security task that we recommend to do in order to strengthen security.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- SecurityTaskInner getSubscriptionLevelTask(String ascLocation, String taskName);
-
- /**
- * Recommended tasks that will help improve the security of the subscription proactively.
- *
- * @param ascLocation The location where ASC stores the data of the subscription. can be retrieved from Get
- * locations.
- * @param taskName Name of the task object, will be a GUID.
- * @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 security task that we recommend to do in order to strengthen security.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response getSubscriptionLevelTaskWithResponse(
- String ascLocation, String taskName, Context context);
-
- /**
- * Recommended tasks that will help improve the security of the subscription proactively.
- *
- * @param ascLocation The location where ASC stores the data of the subscription. can be retrieved from Get
- * locations.
- * @param taskName Name of the task object, will be a GUID.
- * @param taskUpdateActionType Type of the action to do on the task.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- void updateSubscriptionLevelTaskState(
- String ascLocation, String taskName, TasksTaskUpdateActionType taskUpdateActionType);
-
- /**
- * Recommended tasks that will help improve the security of the subscription proactively.
- *
- * @param ascLocation The location where ASC stores the data of the subscription. can be retrieved from Get
- * locations.
- * @param taskName Name of the task object, will be a GUID.
- * @param taskUpdateActionType Type of the action to do on the task.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the response.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response updateSubscriptionLevelTaskStateWithResponse(
- String ascLocation, String taskName, TasksTaskUpdateActionType taskUpdateActionType, Context context);
-
- /**
- * Recommended tasks that will help improve the security of the subscription proactively.
- *
- * @param resourceGroupName The name of the resource group within the user's subscription. The name is case
- * insensitive.
- * @param ascLocation The location where ASC stores the data of the subscription. can be retrieved from Get
- * locations.
- * @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 list of security task recommendations.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable listByResourceGroup(String resourceGroupName, String ascLocation);
-
- /**
- * Recommended tasks that will help improve the security of the subscription proactively.
- *
- * @param resourceGroupName The name of the resource group within the user's subscription. The name is case
- * insensitive.
- * @param ascLocation The location where ASC stores the data of the subscription. can be retrieved from Get
- * locations.
- * @param filter OData filter. Optional.
- * @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 list of security task recommendations.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable listByResourceGroup(
- String resourceGroupName, String ascLocation, String filter, Context context);
-
- /**
- * Recommended tasks that will help improve the security of the subscription proactively.
- *
- * @param resourceGroupName The name of the resource group within the user's subscription. The name is case
- * insensitive.
- * @param ascLocation The location where ASC stores the data of the subscription. can be retrieved from Get
- * locations.
- * @param taskName Name of the task object, will be a GUID.
- * @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 security task that we recommend to do in order to strengthen security.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- SecurityTaskInner getResourceGroupLevelTask(String resourceGroupName, String ascLocation, String taskName);
-
- /**
- * Recommended tasks that will help improve the security of the subscription proactively.
- *
- * @param resourceGroupName The name of the resource group within the user's subscription. The name is case
- * insensitive.
- * @param ascLocation The location where ASC stores the data of the subscription. can be retrieved from Get
- * locations.
- * @param taskName Name of the task object, will be a GUID.
- * @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 security task that we recommend to do in order to strengthen security.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response getResourceGroupLevelTaskWithResponse(
- String resourceGroupName, String ascLocation, String taskName, Context context);
-
- /**
- * Recommended tasks that will help improve the security of the subscription proactively.
- *
- * @param resourceGroupName The name of the resource group within the user's subscription. The name is case
- * insensitive.
- * @param ascLocation The location where ASC stores the data of the subscription. can be retrieved from Get
- * locations.
- * @param taskName Name of the task object, will be a GUID.
- * @param taskUpdateActionType Type of the action to do on the task.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- void updateResourceGroupLevelTaskState(
- String resourceGroupName, String ascLocation, String taskName, TasksTaskUpdateActionType taskUpdateActionType);
-
- /**
- * Recommended tasks that will help improve the security of the subscription proactively.
- *
- * @param resourceGroupName The name of the resource group within the user's subscription. The name is case
- * insensitive.
- * @param ascLocation The location where ASC stores the data of the subscription. can be retrieved from Get
- * locations.
- * @param taskName Name of the task object, will be a GUID.
- * @param taskUpdateActionType Type of the action to do on the task.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the response.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response updateResourceGroupLevelTaskStateWithResponse(
- String resourceGroupName,
- String ascLocation,
- String taskName,
- TasksTaskUpdateActionType taskUpdateActionType,
- Context context);
-}
diff --git a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/TopologiesClient.java b/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/TopologiesClient.java
deleted file mode 100644
index d44a14f3c804..000000000000
--- a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/TopologiesClient.java
+++ /dev/null
@@ -1,98 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.security.fluent;
-
-import com.azure.core.annotation.ReturnType;
-import com.azure.core.annotation.ServiceMethod;
-import com.azure.core.http.rest.PagedIterable;
-import com.azure.core.http.rest.Response;
-import com.azure.core.util.Context;
-import com.azure.resourcemanager.security.fluent.models.TopologyResourceInner;
-
-/** An instance of this class provides access to all the operations defined in TopologiesClient. */
-public interface TopologiesClient {
- /**
- * Gets a list that allows to build a topology view of a subscription.
- *
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a list that allows to build a topology view of a subscription.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list();
-
- /**
- * Gets a list that allows to build a topology view of a subscription.
- *
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a list that allows to build a topology view of a subscription.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(Context context);
-
- /**
- * Gets a list that allows to build a topology view of a subscription and location.
- *
- * @param ascLocation The location where ASC stores the data of the subscription. can be retrieved from Get
- * locations.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a list that allows to build a topology view of a subscription and location.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable listByHomeRegion(String ascLocation);
-
- /**
- * Gets a list that allows to build a topology view of a subscription and location.
- *
- * @param ascLocation The location where ASC stores the data of the subscription. can be retrieved from Get
- * locations.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a list that allows to build a topology view of a subscription and location.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable listByHomeRegion(String ascLocation, Context context);
-
- /**
- * Gets a specific topology component.
- *
- * @param resourceGroupName The name of the resource group within the user's subscription. The name is case
- * insensitive.
- * @param ascLocation The location where ASC stores the data of the subscription. can be retrieved from Get
- * locations.
- * @param topologyResourceName Name of a topology resources collection.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a specific topology component.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- TopologyResourceInner get(String resourceGroupName, String ascLocation, String topologyResourceName);
-
- /**
- * Gets a specific topology component.
- *
- * @param resourceGroupName The name of the resource group within the user's subscription. The name is case
- * insensitive.
- * @param ascLocation The location where ASC stores the data of the subscription. can be retrieved from Get
- * locations.
- * @param topologyResourceName Name of a topology resources collection.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a specific topology component.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(
- String resourceGroupName, String ascLocation, String topologyResourceName, Context context);
-}
diff --git a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/WorkspaceSettingsClient.java b/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/WorkspaceSettingsClient.java
deleted file mode 100644
index 224d6aa6585e..000000000000
--- a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/WorkspaceSettingsClient.java
+++ /dev/null
@@ -1,146 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.security.fluent;
-
-import com.azure.core.annotation.ReturnType;
-import com.azure.core.annotation.ServiceMethod;
-import com.azure.core.http.rest.PagedIterable;
-import com.azure.core.http.rest.Response;
-import com.azure.core.util.Context;
-import com.azure.resourcemanager.security.fluent.models.WorkspaceSettingInner;
-
-/** An instance of this class provides access to all the operations defined in WorkspaceSettingsClient. */
-public interface WorkspaceSettingsClient {
- /**
- * Settings about where we should store your security data and logs. If the result is empty, it means that no
- * custom-workspace configuration was set.
- *
- * @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 list of workspace settings response.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list();
-
- /**
- * Settings about where we should store your security data and logs. If the result is empty, it means that no
- * custom-workspace configuration was set.
- *
- * @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 list of workspace settings response.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(Context context);
-
- /**
- * Settings about where we should store your security data and logs. If the result is empty, it means that no
- * custom-workspace configuration was set.
- *
- * @param workspaceSettingName Name of the security setting.
- * @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 configures where to store the OMS agent data for workspaces under a scope.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- WorkspaceSettingInner get(String workspaceSettingName);
-
- /**
- * Settings about where we should store your security data and logs. If the result is empty, it means that no
- * custom-workspace configuration was set.
- *
- * @param workspaceSettingName Name of the security setting.
- * @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 configures where to store the OMS agent data for workspaces under a scope.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(String workspaceSettingName, Context context);
-
- /**
- * creating settings about where we should store your security data and logs.
- *
- * @param workspaceSettingName Name of the security setting.
- * @param workspaceSetting Security data setting object.
- * @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 configures where to store the OMS agent data for workspaces under a scope.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- WorkspaceSettingInner create(String workspaceSettingName, WorkspaceSettingInner workspaceSetting);
-
- /**
- * creating settings about where we should store your security data and logs.
- *
- * @param workspaceSettingName Name of the security setting.
- * @param workspaceSetting Security data setting object.
- * @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 configures where to store the OMS agent data for workspaces under a scope.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response createWithResponse(
- String workspaceSettingName, WorkspaceSettingInner workspaceSetting, Context context);
-
- /**
- * Settings about where we should store your security data and logs.
- *
- * @param workspaceSettingName Name of the security setting.
- * @param workspaceSetting Security data setting object.
- * @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 configures where to store the OMS agent data for workspaces under a scope.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- WorkspaceSettingInner update(String workspaceSettingName, WorkspaceSettingInner workspaceSetting);
-
- /**
- * Settings about where we should store your security data and logs.
- *
- * @param workspaceSettingName Name of the security setting.
- * @param workspaceSetting Security data setting object.
- * @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 configures where to store the OMS agent data for workspaces under a scope.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response updateWithResponse(
- String workspaceSettingName, WorkspaceSettingInner workspaceSetting, Context context);
-
- /**
- * Deletes the custom workspace settings for this subscription. new VMs will report to the default workspace.
- *
- * @param workspaceSettingName Name of the security setting.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- void delete(String workspaceSettingName);
-
- /**
- * Deletes the custom workspace settings for this subscription. new VMs will report to the default workspace.
- *
- * @param workspaceSettingName Name of the security setting.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the response.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response deleteWithResponse(String workspaceSettingName, Context context);
-}
diff --git a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/models/AdaptiveApplicationControlGroupInner.java b/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/models/AdaptiveApplicationControlGroupInner.java
deleted file mode 100644
index 63eb3290cc2e..000000000000
--- a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/models/AdaptiveApplicationControlGroupInner.java
+++ /dev/null
@@ -1,233 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.security.fluent.models;
-
-import com.azure.core.annotation.Fluent;
-import com.azure.core.annotation.JsonFlatten;
-import com.azure.core.management.ProxyResource;
-import com.azure.core.util.logging.ClientLogger;
-import com.azure.resourcemanager.security.models.AdaptiveApplicationControlIssueSummary;
-import com.azure.resourcemanager.security.models.ConfigurationStatus;
-import com.azure.resourcemanager.security.models.EnforcementMode;
-import com.azure.resourcemanager.security.models.PathRecommendation;
-import com.azure.resourcemanager.security.models.ProtectionMode;
-import com.azure.resourcemanager.security.models.RecommendationStatus;
-import com.azure.resourcemanager.security.models.SourceSystem;
-import com.azure.resourcemanager.security.models.VmRecommendation;
-import com.fasterxml.jackson.annotation.JsonIgnore;
-import com.fasterxml.jackson.annotation.JsonProperty;
-import java.util.List;
-
-/** The AdaptiveApplicationControlGroup model. */
-@JsonFlatten
-@Fluent
-public class AdaptiveApplicationControlGroupInner extends ProxyResource {
- @JsonIgnore private final ClientLogger logger = new ClientLogger(AdaptiveApplicationControlGroupInner.class);
-
- /*
- * The application control policy enforcement/protection mode of the
- * machine group
- */
- @JsonProperty(value = "properties.enforcementMode")
- private EnforcementMode enforcementMode;
-
- /*
- * The protection mode of the collection/file types. Exe/Msi/Script are
- * used for Windows, Executable is used for Linux.
- */
- @JsonProperty(value = "properties.protectionMode")
- private ProtectionMode protectionMode;
-
- /*
- * The configuration status of the machines group or machine or rule
- */
- @JsonProperty(value = "properties.configurationStatus", access = JsonProperty.Access.WRITE_ONLY)
- private ConfigurationStatus configurationStatus;
-
- /*
- * The initial recommendation status of the machine group or machine
- */
- @JsonProperty(value = "properties.recommendationStatus", access = JsonProperty.Access.WRITE_ONLY)
- private RecommendationStatus recommendationStatus;
-
- /*
- * The issues property.
- */
- @JsonProperty(value = "properties.issues", access = JsonProperty.Access.WRITE_ONLY)
- private List issues;
-
- /*
- * The source type of the machine group
- */
- @JsonProperty(value = "properties.sourceSystem", access = JsonProperty.Access.WRITE_ONLY)
- private SourceSystem sourceSystem;
-
- /*
- * The vmRecommendations property.
- */
- @JsonProperty(value = "properties.vmRecommendations")
- private List