From f96650bcec190e77a743820abe74d901c19fdc62 Mon Sep 17 00:00:00 2001
From: Azure SDK Bot <53356347+azure-sdk@users.noreply.github.com>
Date: Wed, 25 Dec 2024 19:28:11 -0800
Subject: [PATCH] [Automation] Generate Fluent Lite from Swagger
security#package-composite-v3 (#43617)
---
eng/versioning/version_client.txt | 2 +-
.../CHANGELOG.md | 10 +-
.../azure-resourcemanager-security/README.md | 2 +-
.../azure-resourcemanager-security/SAMPLE.md | 7529 +++--------------
.../azure-resourcemanager-security/pom.xml | 7 +-
.../security/SecurityManager.java | 737 +-
.../fluent/AlertsSuppressionRulesClient.java | 119 -
.../fluent/ApplicationOperationsClient.java | 93 -
.../security/fluent/ApplicationsClient.java | 40 -
.../AutoProvisioningSettingsClient.java | 92 -
.../security/fluent/AutomationsClient.java | 231 -
.../fluent/AzureDevOpsOrgsClient.java | 237 -
.../fluent/AzureDevOpsProjectsClient.java | 225 -
.../fluent/AzureDevOpsReposClient.java | 239 -
.../security/fluent/CompliancesClient.java | 73 -
.../security/fluent/ConnectorsClient.java | 120 -
.../CustomAssessmentAutomationsClient.java | 182 -
.../CustomEntityStoreAssignmentsClient.java | 182 -
.../fluent/DefenderForStoragesClient.java | 165 -
.../fluent/DevOpsConfigurationsClient.java | 253 -
.../fluent/DevOpsOperationResultsClient.java | 46 -
.../security/fluent/DevOpsPoliciesClient.java | 76 -
.../fluent/DevOpsPolicyAssignmentsClient.java | 273 -
.../security/fluent/GitHubOwnersClient.java | 103 -
.../security/fluent/GitHubReposClient.java | 80 -
.../security/fluent/GitLabGroupsClient.java | 103 -
.../security/fluent/GitLabProjectsClient.java | 82 -
.../fluent/GitLabSubgroupsClient.java | 46 -
.../fluent/GovernanceAssignmentsClient.java | 153 -
.../fluent/GovernanceRulesClient.java | 289 -
.../security/fluent/HealthReportsClient.java | 73 -
.../InformationProtectionPoliciesClient.java | 110 -
.../security/fluent/LocationsClient.java | 70 -
.../security/fluent/MdeOnboardingsClient.java | 62 -
.../security/fluent/OperationsClient.java | 40 -
...RegulatoryComplianceAssessmentsClient.java | 78 -
.../RegulatoryComplianceControlsClient.java | 73 -
.../RegulatoryComplianceStandardsClient.java | 66 -
.../security/fluent/SecurityCenter.java | 315 -
...yConnectorApplicationOperationsClient.java | 115 -
.../SecurityConnectorApplicationsClient.java | 47 -
.../fluent/SecurityConnectorsClient.java | 196 -
.../fluent/SecurityContactsClient.java | 118 -
.../fluent/SecurityOperatorsClient.java | 123 -
.../fluent/SensitivitySettingsClient.java | 88 -
.../security/fluent/SettingsClient.java | 11 +-
.../fluent/SoftwareInventoriesClient.java | 113 -
...rabilityAssessmentBaselineRulesClient.java | 164 -
...nerabilityAssessmentScanResultsClient.java | 79 -
...SqlVulnerabilityAssessmentScansClient.java | 73 -
.../security/fluent/SubAssessmentsClient.java | 109 -
.../security/fluent/TasksClient.java | 234 -
.../fluent/WorkspaceSettingsClient.java | 148 -
.../models/AlertsSuppressionRuleInner.java | 290 -
.../AlertsSuppressionRuleProperties.java | 285 -
.../fluent/models/ApplicationInner.java | 231 -
.../fluent/models/ApplicationProperties.java | 197 -
.../fluent/models/AscLocationInner.java | 145 -
.../models/AutoProvisioningSettingInner.java | 162 -
.../AutoProvisioningSettingProperties.java | 105 -
.../fluent/models/AutomationInner.java | 290 -
.../fluent/models/AutomationProperties.java | 232 -
.../AutomationValidationStatusInner.java | 122 -
.../fluent/models/AzureDevOpsOrgInner.java | 166 -
.../AzureDevOpsOrgListResponseInner.java | 128 -
.../models/AzureDevOpsProjectInner.java | 166 -
.../models/AzureDevOpsRepositoryInner.java | 167 -
.../fluent/models/ComplianceInner.java | 168 -
.../fluent/models/ComplianceProperties.java | 127 -
.../fluent/models/ConnectorSettingInner.java | 189 -
.../models/ConnectorSettingProperties.java | 135 -
.../CustomAssessmentAutomationInner.java | 325 -
.../CustomAssessmentAutomationProperties.java | 274 -
...AssessmentAutomationRequestProperties.java | 246 -
.../CustomEntityStoreAssignmentInner.java | 204 -
...CustomEntityStoreAssignmentProperties.java | 125 -
...ntityStoreAssignmentRequestProperties.java | 98 -
.../DefenderForStorageSettingInner.java | 151 -
.../models/DevOpsConfigurationInner.java | 166 -
.../models/DevOpsPolicyAssignmentInner.java | 167 -
.../fluent/models/DevOpsPolicyInner.java | 168 -
...tSensitivitySettingsListResponseInner.java | 101 -
.../GetSensitivitySettingsResponseInner.java | 151 -
.../fluent/models/GitHubOwnerInner.java | 166 -
.../models/GitHubOwnerListResponseInner.java | 126 -
.../fluent/models/GitHubRepositoryInner.java | 166 -
.../fluent/models/GitLabGroupInner.java | 166 -
.../models/GitLabGroupListResponseInner.java | 126 -
.../fluent/models/GitLabProjectInner.java | 166 -
.../models/GovernanceAssignmentInner.java | 287 -
.../GovernanceAssignmentProperties.java | 273 -
.../fluent/models/GovernanceRuleInner.java | 485 --
.../models/GovernanceRuleProperties.java | 538 --
.../fluent/models/HealthReportInner.java | 315 -
.../fluent/models/HealthReportProperties.java | 308 -
.../InformationProtectionPolicyInner.java | 207 -
...InformationProtectionPolicyProperties.java | 180 -
.../fluent/models/MalwareScanInner.java | 97 -
.../fluent/models/MdeOnboardingDataInner.java | 190 -
.../models/MdeOnboardingDataListInner.java | 99 -
.../models/MdeOnboardingDataProperties.java | 128 -
.../fluent/models/OperationInner.java | 172 -
.../OperationResultAutoGeneratedInner.java | 84 -
.../models/OperationStatusResultInner.java | 312 -
.../RegulatoryComplianceAssessmentInner.java | 227 -
...ulatoryComplianceAssessmentProperties.java | 213 -
.../RegulatoryComplianceControlInner.java | 202 -
...RegulatoryComplianceControlProperties.java | 166 -
.../RegulatoryComplianceStandardInner.java | 203 -
...egulatoryComplianceStandardProperties.java | 168 -
.../fluent/models/RuleResultsInner.java | 149 -
.../fluent/models/RulesResultsInner.java | 98 -
.../security/fluent/models/ScanInner.java | 149 -
.../fluent/models/ScanResultInner.java | 149 -
.../fluent/models/ScanResultsInner.java | 98 -
.../security/fluent/models/ScansInner.java | 98 -
.../fluent/models/SecurityConnectorInner.java | 289 -
.../models/SecurityConnectorProperties.java | 213 -
.../fluent/models/SecurityContactInner.java | 260 -
.../models/SecurityContactProperties.java | 225 -
.../fluent/models/SecurityOperatorInner.java | 149 -
.../models/SecurityOperatorListInner.java | 107 -
.../models/SecuritySubAssessmentInner.java | 274 -
.../SecuritySubAssessmentProperties.java | 277 -
.../fluent/models/SecurityTaskInner.java | 200 -
.../fluent/models/SecurityTaskProperties.java | 167 -
.../security/fluent/models/SoftwareInner.java | 351 -
.../fluent/models/SoftwareProperties.java | 321 -
.../fluent/models/WorkspaceSettingInner.java | 185 -
.../models/WorkspaceSettingProperties.java | 138 -
.../AlertsSuppressionRuleImpl.java | 71 -
.../AlertsSuppressionRulesClientImpl.java | 638 --
.../AlertsSuppressionRulesImpl.java | 98 -
.../implementation/ApplicationImpl.java | 145 -
.../ApplicationOperationsClientImpl.java | 418 -
.../ApplicationOperationsImpl.java | 103 -
.../ApplicationsClientImpl.java | 246 -
.../implementation/ApplicationsImpl.java | 45 -
.../implementation/AscLocationImpl.java | 43 -
.../AutoProvisioningSettingImpl.java | 91 -
.../AutoProvisioningSettingsClientImpl.java | 488 --
.../AutoProvisioningSettingsImpl.java | 88 -
.../implementation/AutomationImpl.java | 265 -
.../AutomationValidationStatusImpl.java | 36 -
.../implementation/AutomationsClientImpl.java | 1203 ---
.../implementation/AutomationsImpl.java | 172 -
.../implementation/AzureDevOpsOrgImpl.java | 129 -
.../AzureDevOpsOrgListResponseImpl.java | 48 -
.../AzureDevOpsOrgsClientImpl.java | 1102 ---
.../implementation/AzureDevOpsOrgsImpl.java | 135 -
.../AzureDevOpsProjectImpl.java | 136 -
.../AzureDevOpsProjectsClientImpl.java | 1052 ---
.../AzureDevOpsProjectsImpl.java | 127 -
.../AzureDevOpsReposClientImpl.java | 1121 ---
.../implementation/AzureDevOpsReposImpl.java | 138 -
.../AzureDevOpsRepositoryImpl.java | 143 -
.../implementation/ComplianceImpl.java | 60 -
.../implementation/CompliancesClientImpl.java | 372 -
.../implementation/CompliancesImpl.java | 66 -
.../implementation/ConnectorSettingImpl.java | 119 -
.../implementation/ConnectorsClientImpl.java | 610 --
.../implementation/ConnectorsImpl.java | 114 -
.../CustomAssessmentAutomationImpl.java | 160 -
...CustomAssessmentAutomationsClientImpl.java | 966 ---
.../CustomAssessmentAutomationsImpl.java | 160 -
.../CustomEntityStoreAssignmentImpl.java | 113 -
...ustomEntityStoreAssignmentsClientImpl.java | 963 ---
.../CustomEntityStoreAssignmentsImpl.java | 160 -
.../DefenderForStorageSettingImpl.java | 110 -
.../DefenderForStoragesClientImpl.java | 713 --
.../DefenderForStoragesImpl.java | 161 -
.../DevOpsConfigurationImpl.java | 50 -
.../DevOpsConfigurationsClientImpl.java | 1148 ---
.../DevOpsConfigurationsImpl.java | 123 -
.../DevOpsOperationResultsClientImpl.java | 210 -
.../DevOpsOperationResultsImpl.java | 58 -
.../DevOpsPoliciesClientImpl.java | 454 -
.../implementation/DevOpsPoliciesImpl.java | 70 -
.../DevOpsPolicyAssignmentImpl.java | 132 -
.../DevOpsPolicyAssignmentsClientImpl.java | 1284 ---
.../DevOpsPolicyAssignmentsImpl.java | 163 -
.../implementation/DevOpsPolicyImpl.java | 49 -
...etSensitivitySettingsListResponseImpl.java | 44 -
.../GetSensitivitySettingsResponseImpl.java | 45 -
.../implementation/GitHubOwnerImpl.java | 49 -
.../GitHubOwnerListResponseImpl.java | 47 -
.../GitHubOwnersClientImpl.java | 562 --
.../implementation/GitHubOwnersImpl.java | 93 -
.../implementation/GitHubReposClientImpl.java | 454 -
.../implementation/GitHubReposImpl.java | 74 -
.../implementation/GitHubRepositoryImpl.java | 50 -
.../implementation/GitLabGroupImpl.java | 49 -
.../GitLabGroupListResponseImpl.java | 47 -
.../GitLabGroupsClientImpl.java | 564 --
.../implementation/GitLabGroupsImpl.java | 93 -
.../implementation/GitLabProjectImpl.java | 50 -
.../GitLabProjectsClientImpl.java | 462 -
.../implementation/GitLabProjectsImpl.java | 74 -
.../GitLabSubgroupsClientImpl.java | 209 -
.../implementation/GitLabSubgroupsImpl.java | 58 -
.../GovernanceAssignmentImpl.java | 180 -
.../GovernanceAssignmentsClientImpl.java | 723 --
.../GovernanceAssignmentsImpl.java | 181 -
.../implementation/GovernanceRuleImpl.java | 267 -
.../GovernanceRulesClientImpl.java | 1222 ---
.../implementation/GovernanceRulesImpl.java | 176 -
.../implementation/HealthReportImpl.java | 99 -
.../HealthReportsClientImpl.java | 376 -
.../implementation/HealthReportsImpl.java | 66 -
...formationProtectionPoliciesClientImpl.java | 540 --
.../InformationProtectionPoliciesImpl.java | 116 -
.../InformationProtectionPolicyImpl.java | 159 -
.../implementation/LocationsClientImpl.java | 372 -
.../implementation/LocationsImpl.java | 66 -
.../implementation/MalwareScanImpl.java | 32 -
.../implementation/MdeOnboardingDataImpl.java | 48 -
.../MdeOnboardingDataListImpl.java | 44 -
.../MdeOnboardingsClientImpl.java | 259 -
.../implementation/MdeOnboardingsImpl.java | 76 -
.../implementation/OperationImpl.java | 50 -
.../OperationResultAutoGeneratedImpl.java | 33 -
.../OperationStatusResultImpl.java | 72 -
.../implementation/OperationsClientImpl.java | 235 -
.../implementation/OperationsImpl.java | 45 -
.../RegulatoryComplianceAssessmentImpl.java | 73 -
...latoryComplianceAssessmentsClientImpl.java | 471 --
.../RegulatoryComplianceAssessmentsImpl.java | 77 -
.../RegulatoryComplianceControlImpl.java | 61 -
...egulatoryComplianceControlsClientImpl.java | 429 -
.../RegulatoryComplianceControlsImpl.java | 75 -
.../RegulatoryComplianceStandardImpl.java | 61 -
...gulatoryComplianceStandardsClientImpl.java | 385 -
.../RegulatoryComplianceStandardsImpl.java | 70 -
.../implementation/RuleResultsImpl.java | 150 -
.../implementation/RulesResultsImpl.java | 42 -
.../security/implementation/ScanImpl.java | 44 -
.../implementation/ScanResultImpl.java | 44 -
.../implementation/ScanResultsImpl.java | 42 -
.../security/implementation/ScansImpl.java | 42 -
.../implementation/SecurityCenterImpl.java | 720 --
...nectorApplicationOperationsClientImpl.java | 533 --
...ityConnectorApplicationOperationsImpl.java | 90 -
...curityConnectorApplicationsClientImpl.java | 292 -
.../SecurityConnectorApplicationsImpl.java | 46 -
.../implementation/SecurityConnectorImpl.java | 209 -
.../SecurityConnectorsClientImpl.java | 1061 ---
.../SecurityConnectorsImpl.java | 149 -
.../implementation/SecurityContactImpl.java | 137 -
.../SecurityContactsClientImpl.java | 617 --
.../implementation/SecurityContactsImpl.java | 119 -
.../implementation/SecurityOperatorImpl.java | 45 -
.../SecurityOperatorListImpl.java | 44 -
.../SecurityOperatorsClientImpl.java | 562 --
.../implementation/SecurityOperatorsImpl.java | 108 -
.../SecuritySubAssessmentImpl.java | 84 -
.../implementation/SecurityTaskImpl.java | 61 -
.../SensitivitySettingsClientImpl.java | 352 -
.../SensitivitySettingsImpl.java | 98 -
.../implementation/SettingsClientImpl.java | 33 +-
.../security/implementation/SettingsImpl.java | 11 +-
.../security/implementation/SoftwareImpl.java | 76 -
.../SoftwareInventoriesClientImpl.java | 686 --
.../SoftwareInventoriesImpl.java | 84 -
...lityAssessmentBaselineRulesClientImpl.java | 712 --
...nerabilityAssessmentBaselineRulesImpl.java | 112 -
...bilityAssessmentScanResultsClientImpl.java | 337 -
...ulnerabilityAssessmentScanResultsImpl.java | 80 -
...ulnerabilityAssessmentScansClientImpl.java | 302 -
.../SqlVulnerabilityAssessmentScansImpl.java | 76 -
.../SubAssessmentsClientImpl.java | 610 --
.../implementation/SubAssessmentsImpl.java | 78 -
.../implementation/TasksClientImpl.java | 1358 ---
.../security/implementation/TasksImpl.java | 137 -
.../implementation/WorkspaceSettingImpl.java | 121 -
.../WorkspaceSettingsClientImpl.java | 767 --
.../implementation/WorkspaceSettingsImpl.java | 114 -
.../models/AccessTokenAuthentication.java | 143 -
.../security/models/ActionType.java | 61 -
.../models/ActionableRemediation.java | 207 -
.../models/ActionableRemediationState.java | 59 -
.../security/models/AdditionalData.java | 113 -
.../models/AlertsSuppressionRule.java | 91 -
.../models/AlertsSuppressionRules.java | 108 -
.../models/AlertsSuppressionRulesList.java | 124 -
.../models/AnnotateDefaultBranchState.java | 54 -
.../security/models/Application.java | 261 -
.../models/ApplicationOperations.java | 111 -
.../models/ApplicationSourceResourceType.java | 46 -
.../security/models/Applications.java | 35 -
.../security/models/ApplicationsList.java | 103 -
.../security/models/ArcAutoProvisioning.java | 124 -
.../models/ArcAutoProvisioningAws.java | 121 -
.../ArcAutoProvisioningConfiguration.java | 122 -
.../models/ArcAutoProvisioningGcp.java | 93 -
.../security/models/AscLocation.java | 47 -
.../security/models/AscLocationList.java | 103 -
.../security/models/AssessedResourceType.java | 57 -
.../security/models/Authentication.java | 108 -
.../AuthenticationDetailsProperties.java | 175 -
.../AuthenticationProvisioningState.java | 61 -
.../security/models/AuthenticationType.java | 57 -
.../security/models/Authorization.java | 99 -
.../security/models/AutoDiscovery.java | 56 -
.../security/models/AutoProvision.java | 51 -
.../models/AutoProvisioningSetting.java | 114 -
.../models/AutoProvisioningSettingList.java | 116 -
.../models/AutoProvisioningSettings.java | 88 -
.../security/models/Automation.java | 440 -
.../security/models/AutomationAction.java | 111 -
.../models/AutomationActionEventHub.java | 187 -
.../models/AutomationActionLogicApp.java | 143 -
.../models/AutomationActionWorkspace.java | 115 -
.../security/models/AutomationList.java | 122 -
.../security/models/AutomationRuleSet.java | 100 -
.../security/models/AutomationScope.java | 124 -
.../security/models/AutomationSource.java | 131 -
.../models/AutomationTriggeringRule.java | 182 -
.../models/AutomationUpdateModel.java | 224 -
.../models/AutomationValidationStatus.java | 33 -
.../security/models/Automations.java | 203 -
...meRoleAuthenticationDetailsProperties.java | 187 -
...sCredsAuthenticationDetailsProperties.java | 184 -
.../security/models/AwsEnvironmentData.java | 189 -
.../models/AwsOrganizationalData.java | 112 -
.../models/AwsOrganizationalDataMaster.java | 148 -
.../models/AwsOrganizationalDataMember.java | 115 -
.../security/models/AzureDevOpsOrg.java | 189 -
.../models/AzureDevOpsOrgListResponse.java | 34 -
.../models/AzureDevOpsOrgProperties.java | 212 -
.../security/models/AzureDevOpsOrgs.java | 124 -
.../security/models/AzureDevOpsProject.java | 191 -
.../AzureDevOpsProjectListResponse.java | 129 -
.../models/AzureDevOpsProjectProperties.java | 257 -
.../security/models/AzureDevOpsProjects.java | 103 -
.../security/models/AzureDevOpsRepos.java | 109 -
.../models/AzureDevOpsRepository.java | 192 -
.../AzureDevOpsRepositoryListResponse.java | 129 -
.../AzureDevOpsRepositoryProperties.java | 319 -
.../AzureDevOpsScopeEnvironmentData.java | 86 -
.../models/AzureTrackedResourceLocation.java | 93 -
.../security/models/Baseline.java | 130 -
.../models/BaselineAdjustedResult.java | 187 -
.../security/models/BenchmarkReference.java | 121 -
.../security/models/BlobsScanSummary.java | 177 -
.../security/models/BuiltInInfoType.java | 152 -
.../models/CategoryConfiguration.java | 139 -
.../security/models/CloudName.java | 81 -
.../security/models/CloudOffering.java | 170 -
.../security/models/Compliance.java | 64 -
.../security/models/ComplianceList.java | 115 -
.../security/models/ComplianceSegment.java | 97 -
.../security/models/Compliances.java | 66 -
.../security/models/ConnectorSetting.java | 203 -
.../security/models/ConnectorSettingList.java | 116 -
.../security/models/Connectors.java | 134 -
...tainerRegistryVulnerabilityProperties.java | 238 -
.../models/CspmMonitorAwsOffering.java | 118 -
...nitorAwsOfferingNativeCloudConnection.java | 95 -
.../CspmMonitorAzureDevOpsOffering.java | 87 -
.../models/CspmMonitorDockerHubOffering.java | 85 -
.../models/CspmMonitorGcpOffering.java | 118 -
...nitorGcpOfferingNativeCloudConnection.java | 127 -
.../models/CspmMonitorGitLabOffering.java | 85 -
.../models/CspmMonitorGithubOffering.java | 85 -
.../models/CspmMonitorJFrogOffering.java | 85 -
.../models/CustomAssessmentAutomation.java | 256 -
.../CustomAssessmentAutomationRequest.java | 284 -
.../models/CustomAssessmentAutomations.java | 194 -
...CustomAssessmentAutomationsListResult.java | 118 -
.../models/CustomEntityStoreAssignment.java | 147 -
.../CustomEntityStoreAssignmentRequest.java | 113 -
.../models/CustomEntityStoreAssignments.java | 194 -
...ustomEntityStoreAssignmentsListResult.java | 118 -
.../resourcemanager/security/models/Cve.java | 97 -
.../resourcemanager/security/models/Cvss.java | 81 -
.../models/DefenderCspmAwsOffering.java | 280 -
.../models/DefenderCspmAwsOfferingCiem.java | 130 -
.../DefenderCspmAwsOfferingCiemDiscovery.java | 95 -
.../DefenderCspmAwsOfferingCiemOidc.java | 124 -
...pmAwsOfferingDataSensitivityDiscovery.java | 124 -
.../DefenderCspmAwsOfferingDatabasesDspm.java | 124 -
...ingMdcContainersAgentlessDiscoveryK8S.java | 127 -
...sOfferingMdcContainersImageAssessment.java | 125 -
.../DefenderCspmAwsOfferingVmScanners.java | 107 -
.../models/DefenderCspmDockerHubOffering.java | 87 -
.../models/DefenderCspmGcpOffering.java | 251 -
.../DefenderCspmGcpOfferingCiemDiscovery.java | 157 -
...pmGcpOfferingDataSensitivityDiscovery.java | 156 -
...ingMdcContainersAgentlessDiscoveryK8S.java | 158 -
...pOfferingMdcContainersImageAssessment.java | 157 -
.../DefenderCspmGcpOfferingVmScanners.java | 95 -
.../models/DefenderCspmJFrogOffering.java | 118 -
...gOfferingMdcContainersImageAssessment.java | 97 -
.../DefenderFoDatabasesAwsOffering.java | 183 -
...tabasesAwsOfferingArcAutoProvisioning.java | 108 -
...erFoDatabasesAwsOfferingDatabasesDspm.java | 124 -
.../DefenderFoDatabasesAwsOfferingRds.java | 122 -
.../DefenderForContainersAwsOffering.java | 471 --
...tainersAwsOfferingCloudWatchToKinesis.java | 96 -
...erForContainersAwsOfferingKinesisToS3.java | 95 -
...rsAwsOfferingKubernetesDataCollection.java | 98 -
...ontainersAwsOfferingKubernetesService.java | 95 -
...ingMdcContainersAgentlessDiscoveryK8S.java | 127 -
...sOfferingMdcContainersImageAssessment.java | 127 -
...derForContainersAwsOfferingVmScanners.java | 107 -
...efenderForContainersDockerHubOffering.java | 87 -
.../DefenderForContainersGcpOffering.java | 345 -
...ringDataPipelineNativeCloudConnection.java | 133 -
...ingMdcContainersAgentlessDiscoveryK8S.java | 158 -
...pOfferingMdcContainersImageAssessment.java | 158 -
...inersGcpOfferingNativeCloudConnection.java | 128 -
...derForContainersGcpOfferingVmScanners.java | 95 -
.../DefenderForContainersJFrogOffering.java | 87 -
.../DefenderForDatabasesGcpOffering.java | 155 -
...tabasesGcpOfferingArcAutoProvisioning.java | 97 -
...fenderForDatabasesArcAutoProvisioning.java | 129 -
.../models/DefenderForServersAwsOffering.java | 283 -
...ServersAwsOfferingArcAutoProvisioning.java | 108 -
...rServersAwsOfferingDefenderForServers.java | 95 -
...ServersAwsOfferingMdeAutoProvisioning.java | 124 -
.../DefenderForServersAwsOfferingSubPlan.java | 95 -
...rServersAwsOfferingVaAutoProvisioning.java | 129 -
...feringVaAutoProvisioningConfiguration.java | 98 -
...fenderForServersAwsOfferingVmScanners.java | 107 -
.../models/DefenderForServersGcpOffering.java | 283 -
...ServersGcpOfferingArcAutoProvisioning.java | 96 -
...rServersGcpOfferingDefenderForServers.java | 127 -
...ServersGcpOfferingMdeAutoProvisioning.java | 124 -
.../DefenderForServersGcpOfferingSubPlan.java | 95 -
...rServersGcpOfferingVaAutoProvisioning.java | 129 -
...feringVaAutoProvisioningConfiguration.java | 98 -
...fenderForServersGcpOfferingVmScanners.java | 95 -
.../models/DefenderForStorageSetting.java | 148 -
.../DefenderForStorageSettingProperties.java | 194 -
.../security/models/DefenderForStorages.java | 150 -
.../security/models/DescendantBehavior.java | 56 -
.../security/models/DevOpsCapability.java | 97 -
.../security/models/DevOpsConfiguration.java | 55 -
.../DevOpsConfigurationListResponse.java | 129 -
.../models/DevOpsConfigurationProperties.java | 250 -
.../security/models/DevOpsConfigurations.java | 147 -
.../models/DevOpsOperationResults.java | 41 -
.../security/models/DevOpsPolicies.java | 69 -
.../security/models/DevOpsPolicy.java | 56 -
.../models/DevOpsPolicyAssignment.java | 189 -
.../DevOpsPolicyAssignmentListResponse.java | 129 -
.../DevOpsPolicyAssignmentProperties.java | 254 -
.../models/DevOpsPolicyAssignments.java | 147 -
.../models/DevOpsPolicyDescriptor.java | 177 -
.../models/DevOpsPolicyListResponse.java | 127 -
.../models/DevOpsPolicyProperties.java | 279 -
.../security/models/DevOpsPolicySource.java | 56 -
.../security/models/DevOpsPolicyType.java | 51 -
.../models/DevOpsProvisioningState.java | 84 -
.../models/DockerHubEnvironmentData.java | 144 -
.../security/models/EndOfSupportStatus.java | 67 -
.../security/models/EnvironmentData.java | 120 -
.../security/models/EnvironmentDetails.java | 213 -
.../security/models/EnvironmentType.java | 76 -
.../resourcemanager/security/models/Etag.java | 93 -
.../security/models/EventSource.java | 107 -
.../models/ExecuteGovernanceRuleParams.java | 93 -
.../security/models/Extension.java | 6 +-
.../GcpCredentialsDetailsProperties.java | 464 -
.../models/GcpOrganizationalData.java | 112 -
.../models/GcpOrganizationalDataMember.java | 143 -
.../GcpOrganizationalDataOrganization.java | 196 -
.../security/models/GcpProjectDetails.java | 153 -
.../models/GcpProjectEnvironmentData.java | 175 -
.../GetSensitivitySettingsListResponse.java | 27 -
.../GetSensitivitySettingsResponse.java | 47 -
...SensitivitySettingsResponseProperties.java | 201 -
...tingsResponsePropertiesMipInformation.java | 202 -
.../security/models/GitHubOwner.java | 55 -
.../models/GitHubOwnerListResponse.java | 34 -
.../models/GitHubOwnerProperties.java | 212 -
.../security/models/GitHubOwners.java | 93 -
.../security/models/GitHubRepos.java | 72 -
.../security/models/GitHubRepository.java | 55 -
.../models/GitHubRepositoryListResponse.java | 128 -
.../models/GitHubRepositoryProperties.java | 285 -
.../security/models/GitLabGroup.java | 55 -
.../models/GitLabGroupListResponse.java | 34 -
.../models/GitLabGroupProperties.java | 239 -
.../security/models/GitLabGroups.java | 93 -
.../security/models/GitLabProject.java | 55 -
.../models/GitLabProjectListResponse.java | 127 -
.../models/GitLabProjectProperties.java | 261 -
.../security/models/GitLabProjects.java | 74 -
.../security/models/GitLabSubgroups.java | 41 -
.../models/GithubScopeEnvironmentData.java | 85 -
.../models/GitlabScopeEnvironmentData.java | 85 -
.../security/models/GovernanceAssignment.java | 367 -
.../GovernanceAssignmentAdditionalData.java | 155 -
.../models/GovernanceAssignments.java | 160 -
.../models/GovernanceAssignmentsList.java | 104 -
.../models/GovernanceEmailNotification.java | 123 -
.../security/models/GovernanceRule.java | 673 --
.../GovernanceRuleEmailNotification.java | 125 -
.../security/models/GovernanceRuleList.java | 104 -
.../models/GovernanceRuleMetadata.java | 133 -
.../models/GovernanceRuleOwnerSource.java | 122 -
.../models/GovernanceRuleOwnerSourceType.java | 51 -
.../GovernanceRuleSourceResourceType.java | 46 -
.../security/models/GovernanceRuleType.java | 51 -
.../security/models/GovernanceRules.java | 219 -
...overnanceRulesOperationResultsHeaders.java | 58 -
...vernanceRulesOperationResultsResponse.java | 40 -
.../models/HealthDataClassification.java | 149 -
.../security/models/HealthReport.java | 99 -
.../security/models/HealthReports.java | 66 -
.../security/models/HealthReportsList.java | 103 -
.../HybridComputeProvisioningState.java | 56 -
.../HybridComputeSettingsProperties.java | 247 -
.../security/models/Identity.java | 125 -
.../security/models/InfoType.java | 152 -
.../models/InformationProtectionKeyword.java | 177 -
.../models/InformationProtectionPolicies.java | 98 -
.../models/InformationProtectionPolicy.java | 223 -
.../InformationProtectionPolicyList.java | 117 -
.../InformationProtectionPolicyName.java | 51 -
.../security/models/InformationType.java | 270 -
.../models/InheritFromParentState.java | 54 -
.../security/models/Issue.java | 282 -
.../security/models/JFrogEnvironmentData.java | 112 -
.../security/models/Label.java | 154 -
.../security/models/Locations.java | 63 -
.../security/models/MalwareScan.java | 26 -
.../models/MalwareScanProperties.java | 238 -
.../models/MalwareScanningProperties.java | 147 -
.../security/models/MdeOnboardingData.java | 56 -
.../models/MdeOnboardingDataList.java | 27 -
.../security/models/MdeOnboardings.java | 54 -
.../security/models/MinimalRiskLevel.java | 61 -
.../security/models/MinimalSeverity.java | 56 -
.../security/models/MipIntegrationStatus.java | 61 -
.../security/models/NotificationsSource.java | 109 -
.../models/NotificationsSourceAlert.java | 113 -
.../models/NotificationsSourceAttackPath.java | 116 -
.../security/models/OfferingType.java | 136 -
.../security/models/OnUploadProperties.java | 121 -
.../security/models/OnboardingState.java | 67 -
.../security/models/Operation.java | 58 -
.../security/models/OperationDisplay.java | 136 -
.../security/models/OperationListResult.java | 104 -
.../security/models/OperationResult.java | 56 -
.../models/OperationResultAutoGenerated.java | 26 -
.../security/models/OperationStatus.java | 12 +-
.../models/OperationStatusAutoGenerated.java | 121 -
.../models/OperationStatusResult.java | 78 -
.../security/models/Operations.java | 35 -
.../security/models/Operator.java | 86 -
.../models/OrganizationMembershipType.java | 51 -
.../security/models/Origin.java | 57 -
.../security/models/PermissionProperty.java | 63 -
.../security/models/PropertyType.java | 61 -
.../models/ProxyServerProperties.java | 122 -
.../security/models/QueryCheck.java | 154 -
.../resourcemanager/security/models/Rank.java | 71 -
.../RegulatoryComplianceAssessment.java | 97 -
.../RegulatoryComplianceAssessmentList.java | 125 -
.../RegulatoryComplianceAssessments.java | 71 -
.../models/RegulatoryComplianceControl.java | 78 -
.../RegulatoryComplianceControlList.java | 125 -
.../models/RegulatoryComplianceControls.java | 65 -
.../models/RegulatoryComplianceStandard.java | 79 -
.../RegulatoryComplianceStandardList.java | 125 -
.../models/RegulatoryComplianceStandards.java | 58 -
.../security/models/Remediation.java | 179 -
.../security/models/RemediationEta.java | 138 -
.../models/ResourceDetailsAutoGenerated.java | 125 -
.../security/models/ResourceIdentityType.java | 51 -
.../security/models/RuleCategory.java | 77 -
.../security/models/RuleResults.java | 215 -
.../security/models/RuleResultsInput.java | 128 -
.../models/RuleResultsProperties.java | 97 -
.../security/models/RuleSeverity.java | 66 -
.../security/models/RuleState.java | 61 -
.../security/models/RuleStatus.java | 56 -
.../security/models/RuleType.java | 61 -
.../security/models/RulesResults.java | 27 -
.../security/models/RulesResultsInput.java | 129 -
.../resourcemanager/security/models/Scan.java | 47 -
.../security/models/ScanProperties.java | 494 --
.../security/models/ScanResult.java | 47 -
.../security/models/ScanResultProperties.java | 274 -
.../security/models/ScanResults.java | 27 -
.../security/models/ScanState.java | 61 -
.../security/models/ScanSummary.java | 126 -
.../security/models/ScanTriggerType.java | 51 -
.../security/models/ScanningMode.java | 46 -
.../security/models/Scans.java | 27 -
.../security/models/ScopeElement.java | 131 -
.../security/models/SecurityConnector.java | 382 -
...ecurityConnectorApplicationOperations.java | 106 -
.../models/SecurityConnectorApplications.java | 42 -
.../security/models/SecurityConnectors.java | 171 -
.../models/SecurityConnectorsList.java | 123 -
.../security/models/SecurityContact.java | 204 -
.../security/models/SecurityContactList.java | 123 -
.../security/models/SecurityContactName.java | 46 -
...yContactPropertiesNotificationsByRole.java | 135 -
.../security/models/SecurityContactRole.java | 61 -
.../security/models/SecurityContacts.java | 132 -
.../security/models/SecurityOperator.java | 47 -
.../security/models/SecurityOperatorList.java | 27 -
.../security/models/SecurityOperators.java | 111 -
.../models/SecuritySubAssessment.java | 111 -
.../models/SecuritySubAssessmentList.java | 104 -
.../security/models/SecurityTask.java | 77 -
.../security/models/SecurityTaskList.java | 103 -
.../models/SecurityTaskParameters.java | 121 -
.../SensitiveDataDiscoveryProperties.java | 114 -
.../security/models/SensitivityLabel.java | 205 -
.../security/models/SensitivitySettings.java | 77 -
.../models/ServerVulnerabilityProperties.java | 221 -
.../models/ServicePrincipalProperties.java | 124 -
.../security/models/SettingName.java | 25 +-
.../models/SettingNameAutoGenerated.java | 67 -
.../security/models/Settings.java | 8 +-
.../security/models/Severity.java | 2 +-
.../security/models/SeverityEnum.java | 2 +-
.../security/models/Software.java | 103 -
.../security/models/SoftwareInventories.java | 104 -
.../security/models/SoftwaresList.java | 115 -
.../security/models/SourceType.java | 51 -
.../SqlServerVulnerabilityProperties.java | 118 -
...lVulnerabilityAssessmentBaselineRules.java | 126 -
...SqlVulnerabilityAssessmentScanResults.java | 70 -
.../SqlVulnerabilityAssessmentScans.java | 65 -
.../security/models/State.java | 61 -
.../security/models/StatusAutoGenerated.java | 163 -
.../security/models/StatusName.java | 56 -
.../security/models/SubAssessmentStatus.java | 129 -
.../models/SubAssessmentStatusCode.java | 56 -
.../security/models/SubAssessments.java | 100 -
.../security/models/SubPlan.java | 51 -
.../security/models/SupportedCloudEnum.java | 51 -
.../models/SuppressionAlertsScope.java | 105 -
.../resourcemanager/security/models/Tags.java | 95 -
.../models/TargetBranchConfiguration.java | 134 -
.../security/models/TaskUpdateActionType.java | 66 -
.../security/models/Tasks.java | 215 -
.../security/models/TrackedResource.java | 231 -
.../resourcemanager/security/models/Type.java | 51 -
.../UpdateSensitivitySettingsRequest.java | 173 -
.../security/models/VaRule.java | 327 -
.../security/models/VendorReference.java | 97 -
.../security/models/VmScannersAws.java | 120 -
.../security/models/VmScannersBase.java | 124 -
.../models/VmScannersBaseConfiguration.java | 123 -
.../security/models/VmScannersGcp.java | 92 -
.../security/models/WorkspaceSetting.java | 197 -
.../security/models/WorkspaceSettingList.java | 123 -
.../security/models/WorkspaceSettings.java | 138 -
.../proxy-config.json | 2 +-
.../AlertsSuppressionRulesDeleteSamples.java | 25 -
.../AlertsSuppressionRulesGetSamples.java | 25 -
.../AlertsSuppressionRulesListSamples.java | 39 -
.../AlertsSuppressionRulesUpdateSamples.java | 61 -
...icationOperationCreateOrUpdateSamples.java | 39 -
.../ApplicationOperationDeleteSamples.java | 25 -
.../ApplicationOperationGetSamples.java | 26 -
.../generated/ApplicationsListSamples.java | 25 -
...AutoProvisioningSettingsCreateSamples.java | 27 -
.../AutoProvisioningSettingsGetSamples.java | 25 -
.../AutoProvisioningSettingsListSamples.java | 25 -
.../AutomationsCreateOrUpdateSamples.java | 133 -
.../generated/AutomationsDeleteSamples.java | 25 -
.../AutomationsGetByResourceGroupSamples.java | 26 -
...AutomationsListByResourceGroupSamples.java | 25 -
.../generated/AutomationsListSamples.java | 25 -
.../generated/AutomationsUpdateSamples.java | 60 -
.../generated/AutomationsValidateSamples.java | 70 -
.../AzureDevOpsOrgsCreateOrUpdateSamples.java | 34 -
.../generated/AzureDevOpsOrgsGetSamples.java | 25 -
.../AzureDevOpsOrgsListAvailableSamples.java | 25 -
.../generated/AzureDevOpsOrgsListSamples.java | 24 -
.../AzureDevOpsOrgsUpdateSamples.java | 36 -
...reDevOpsProjectsCreateOrUpdateSamples.java | 34 -
.../AzureDevOpsProjectsGetSamples.java | 26 -
.../AzureDevOpsProjectsListSamples.java | 25 -
.../AzureDevOpsProjectsUpdateSamples.java | 37 -
...AzureDevOpsReposCreateOrUpdateSamples.java | 34 -
.../generated/AzureDevOpsReposGetSamples.java | 26 -
.../AzureDevOpsReposListSamples.java | 26 -
.../AzureDevOpsReposUpdateSamples.java | 37 -
.../generated/CompliancesGetSamples.java | 26 -
.../generated/CompliancesListSamples.java | 25 -
.../ConnectorsCreateOrUpdateSamples.java | 102 -
.../generated/ConnectorsDeleteSamples.java | 25 -
.../generated/ConnectorsGetSamples.java | 25 -
.../generated/ConnectorsListSamples.java | 25 -
...tomAssessmentAutomationsCreateSamples.java | 37 -
...tomAssessmentAutomationsDeleteSamples.java | 26 -
...tAutomationsGetByResourceGroupSamples.java | 26 -
...AutomationsListByResourceGroupSamples.java | 26 -
...ustomAssessmentAutomationsListSamples.java | 25 -
...omEntityStoreAssignmentsCreateSamples.java | 28 -
...omEntityStoreAssignmentsDeleteSamples.java | 26 -
...eAssignmentsGetByResourceGroupSamples.java | 26 -
...AssignmentsListByResourceGroupSamples.java | 26 -
...stomEntityStoreAssignmentsListSamples.java | 25 -
...derForStorageCancelMalwareScanSamples.java | 30 -
.../DefenderForStorageCreateSamples.java | 42 -
...fenderForStorageGetMalwareScanSamples.java | 30 -
.../DefenderForStorageGetSamples.java | 30 -
...nderForStorageStartMalwareScanSamples.java | 30 -
...psConfigurationsCreateOrUpdateSamples.java | 77 -
.../DevOpsConfigurationsDeleteSamples.java | 24 -
.../DevOpsConfigurationsGetSamples.java | 41 -
.../DevOpsConfigurationsListSamples.java | 24 -
.../DevOpsConfigurationsUpdateSamples.java | 32 -
.../DevOpsOperationResultsGetSamples.java | 42 -
.../generated/DevOpsPoliciesGetSamples.java | 25 -
.../generated/DevOpsPoliciesListSamples.java | 24 -
...olicyAssignmentsCreateOrUpdateSamples.java | 40 -
.../DevOpsPolicyAssignmentsDeleteSamples.java | 26 -
.../DevOpsPolicyAssignmentsGetSamples.java | 26 -
.../DevOpsPolicyAssignmentsListSamples.java | 25 -
.../DevOpsPolicyAssignmentsUpdateSamples.java | 42 -
.../generated/GitHubOwnersGetSamples.java | 25 -
.../GitHubOwnersListAvailableSamples.java | 25 -
.../generated/GitHubOwnersListSamples.java | 24 -
.../generated/GitHubReposGetSamples.java | 26 -
.../generated/GitHubReposListSamples.java | 25 -
.../generated/GitLabGroupsGetSamples.java | 26 -
.../GitLabGroupsListAvailableSamples.java | 25 -
.../generated/GitLabGroupsListSamples.java | 24 -
.../generated/GitLabProjectsGetSamples.java | 26 -
.../generated/GitLabProjectsListSamples.java | 25 -
.../generated/GitLabSubgroupsListSamples.java | 25 -
...nanceAssignmentsCreateOrUpdateSamples.java | 45 -
.../GovernanceAssignmentsDeleteSamples.java | 28 -
.../GovernanceAssignmentsGetSamples.java | 29 -
.../GovernanceAssignmentsListSamples.java | 26 -
.../GovernanceRulesCreateOrUpdateSamples.java | 127 -
.../GovernanceRulesDeleteSamples.java | 62 -
.../GovernanceRulesExecuteSamples.java | 62 -
.../generated/GovernanceRulesGetSamples.java | 62 -
.../generated/GovernanceRulesListSamples.java | 60 -
...overnanceRulesOperationResultsSamples.java | 65 -
.../generated/HealthReportsGetSamples.java | 27 -
.../generated/HealthReportsListSamples.java | 25 -
...otectionPoliciesCreateOrUpdateSamples.java | 73 -
...formationProtectionPoliciesGetSamples.java | 46 -
...ormationProtectionPoliciesListSamples.java | 26 -
.../generated/LocationsGetSamples.java | 24 -
.../generated/LocationsListSamples.java | 24 -
.../generated/MdeOnboardingsGetSamples.java | 25 -
.../generated/MdeOnboardingsListSamples.java | 25 -
.../generated/OperationsListSamples.java | 25 -
...latoryComplianceAssessmentsGetSamples.java | 27 -
...atoryComplianceAssessmentsListSamples.java | 25 -
...egulatoryComplianceControlsGetSamples.java | 25 -
...gulatoryComplianceControlsListSamples.java | 25 -
...gulatoryComplianceStandardsGetSamples.java | 25 -
...ulatoryComplianceStandardsListSamples.java | 25 -
...icationOperationCreateOrUpdateSamples.java | 41 -
...ctorApplicationOperationDeleteSamples.java | 26 -
...nnectorApplicationOperationGetSamples.java | 27 -
...urityConnectorApplicationsListSamples.java | 26 -
...curityConnectorsCreateOrUpdateSamples.java | 55 -
.../SecurityConnectorsDeleteSamples.java | 25 -
...tyConnectorsGetByResourceGroupSamples.java | 26 -
...yConnectorsListByResourceGroupSamples.java | 25 -
.../SecurityConnectorsListSamples.java | 25 -
.../SecurityConnectorsUpdateSamples.java | 57 -
.../SecurityContactsCreateSamples.java | 45 -
.../SecurityContactsDeleteSamples.java | 26 -
.../generated/SecurityContactsGetSamples.java | 26 -
.../SecurityContactsListSamples.java | 24 -
...ecurityOperatorsCreateOrUpdateSamples.java | 27 -
.../SecurityOperatorsDeleteSamples.java | 27 -
.../SecurityOperatorsGetSamples.java | 26 -
.../SecurityOperatorsListSamples.java | 24 -
...sitivitySettingsCreateOrUpdateSamples.java | 36 -
.../SensitivitySettingsGetSamples.java | 24 -
.../SensitivitySettingsListSamples.java | 24 -
.../generated/SettingsGetSamples.java | 4 +-
.../generated/SettingsUpdateSamples.java | 4 +-
.../SoftwareInventoriesGetSamples.java | 27 -
...entoriesListByExtendedResourceSamples.java | 27 -
.../SoftwareInventoriesListSamples.java | 25 -
...lityAssessmentBaselineRulesAddSamples.java | 66 -
...entBaselineRulesCreateOrUpdateSamples.java | 55 -
...yAssessmentBaselineRulesDeleteSamples.java | 27 -
...lityAssessmentBaselineRulesGetSamples.java | 27 -
...ityAssessmentBaselineRulesListSamples.java | 27 -
...bilityAssessmentScanResultsGetSamples.java | 44 -
...ilityAssessmentScanResultsListSamples.java | 44 -
...ulnerabilityAssessmentScansGetSamples.java | 44 -
...lnerabilityAssessmentScansListSamples.java | 27 -
.../generated/SubAssessmentsGetSamples.java | 29 -
.../SubAssessmentsListAllSamples.java | 25 -
.../generated/SubAssessmentsListSamples.java | 26 -
...TasksGetResourceGroupLevelTaskSamples.java | 27 -
.../TasksGetSubscriptionLevelTaskSamples.java | 27 -
.../TasksListByHomeRegionSamples.java | 25 -
.../TasksListByResourceGroupSamples.java | 25 -
.../security/generated/TasksListSamples.java | 24 -
...ateResourceGroupLevelTaskStateSamples.java | 29 -
...dateSubscriptionLevelTaskStateSamples.java | 29 -
.../WorkspaceSettingsCreateSamples.java | 30 -
.../WorkspaceSettingsDeleteSamples.java | 25 -
.../WorkspaceSettingsGetSamples.java | 24 -
.../WorkspaceSettingsListSamples.java | 24 -
.../WorkspaceSettingsUpdateSamples.java | 32 -
...adConnectivityStateAutoGeneratedTests.java | 8 +-
.../AadExternalSecuritySolutionTests.java | 22 +-
.../generated/AadSolutionPropertiesTests.java | 26 +-
.../generated/ActionableRemediationTests.java | 53 -
...tiveConnectionsNotInAllowedRangeTests.java | 26 +-
.../generated/AdditionalDataTests.java | 22 -
.../AdditionalWorkspacesPropertiesTests.java | 17 +-
...ncedThreatProtectionSettingInnerTests.java | 11 +-
...rotectionsCreateWithResponseMockTests.java | 10 +-
...atProtectionsGetWithResponseMockTests.java | 10 +-
.../security/generated/AlertEntityTests.java | 6 +-
...lertPropertiesSupportingEvidenceTests.java | 8 +-
...imulatorBundlesRequestPropertiesTests.java | 10 +-
.../AlertSimulatorRequestBodyTests.java | 2 +-
.../AlertSimulatorRequestPropertiesTests.java | 4 +-
.../generated/AlertSyncSettingsTests.java | 2 +-
.../AlertsSuppressionRuleInnerTests.java | 63 -
.../AlertsSuppressionRulePropertiesTests.java | 61 -
...ssionRulesDeleteWithResponseMockTests.java | 33 -
...pressionRulesGetWithResponseMockTests.java | 45 -
.../AlertsSuppressionRulesListMockTests.java | 47 -
.../AlertsSuppressionRulesListTests.java | 62 -
...ssionRulesUpdateWithResponseMockTests.java | 70 -
...lStateToActivateWithResponseMockTests.java | 2 +-
...elStateToDismissWithResponseMockTests.java | 2 +-
...tateToInProgressWithResponseMockTests.java | 2 +-
...elStateToResolveWithResponseMockTests.java | 2 +-
...lStateToActivateWithResponseMockTests.java | 3 +-
...elStateToDismissWithResponseMockTests.java | 2 +-
...tateToInProgressWithResponseMockTests.java | 2 +-
...elStateToResolveWithResponseMockTests.java | 3 +-
...edConnectionsGetWithResponseMockTests.java | 4 +-
...dConnectionsListByHomeRegionMockTests.java | 4 +-
.../AllowedConnectionsListMockTests.java | 2 +-
.../AllowedConnectionsListTests.java | 2 +-
.../AllowedConnectionsResourceInnerTests.java | 2 +-
...wedConnectionsResourcePropertiesTests.java | 2 +-
.../AllowlistCustomAlertRuleTests.java | 10 +-
...AmqpC2DMessagesNotInAllowedRangeTests.java | 20 +-
...ejectedMessagesNotInAllowedRangeTests.java | 26 +-
...AmqpD2CMessagesNotInAllowedRangeTests.java | 26 +-
.../generated/ApiCollectionInnerTests.java | 2 +-
.../generated/ApiCollectionListTests.java | 2 +-
.../ApiCollectionPropertiesTests.java | 2 +-
...anagementServiceWithResponseMockTests.java | 4 +-
...tByAzureApiManagementServiceMockTests.java | 4 +-
...llectionsListByResourceGroupMockTests.java | 4 +-
.../ApiCollectionsListMockTests.java | 2 +-
...ApiManagementApiWithResponseMockTests.java | 3 +-
...OnboardAzureApiManagementApiMockTests.java | 5 +-
.../generated/ApplicationInnerTests.java | 35 -
...nsCreateOrUpdateWithResponseMockTests.java | 47 -
...OperationsDeleteWithResponseMockTests.java | 33 -
...ionOperationsGetWithResponseMockTests.java | 42 -
.../generated/ApplicationPropertiesTests.java | 35 -
.../generated/ApplicationsListMockTests.java | 42 -
.../generated/ApplicationsListTests.java | 23 -
.../ArcAutoProvisioningAwsTests.java | 35 -
...ArcAutoProvisioningConfigurationTests.java | 29 -
.../ArcAutoProvisioningGcpTests.java | 34 -
.../generated/ArcAutoProvisioningTests.java | 34 -
.../generated/AscLocationInnerTests.java | 24 -
.../generated/AscLocationListTests.java | 23 -
.../generated/AssessmentLinksTests.java | 2 +-
...eByResourceGroupWithResponseMockTests.java | 2 +-
...teInSubscriptionWithResponseMockTests.java | 3 +-
.../generated/AssignedStandardItemTests.java | 9 +-
.../AtaExternalSecuritySolutionTests.java | 28 +-
.../generated/AtaSolutionPropertiesTests.java | 26 +-
.../generated/AttestationEvidenceTests.java | 15 +-
.../AuthenticationDetailsPropertiesTests.java | 23 -
.../generated/AuthenticationTests.java | 22 -
.../AutoProvisioningSettingInnerTests.java | 27 -
.../AutoProvisioningSettingListTests.java | 32 -
...utoProvisioningSettingPropertiesTests.java | 27 -
...ngSettingsCreateWithResponseMockTests.java | 39 -
...oningSettingsGetWithResponseMockTests.java | 39 -
...AutoProvisioningSettingsListMockTests.java | 40 -
.../AutomationActionEventHubTests.java | 32 -
.../AutomationActionLogicAppTests.java | 30 -
.../generated/AutomationActionTests.java | 22 -
.../AutomationActionWorkspaceTests.java | 26 -
.../generated/AutomationInnerTests.java | 93 -
.../generated/AutomationListTests.java | 138 -
.../generated/AutomationPropertiesTests.java | 60 -
.../generated/AutomationRuleSetTests.java | 44 -
.../generated/AutomationScopeTests.java | 28 -
.../generated/AutomationSourceTests.java | 80 -
.../AutomationTriggeringRuleTests.java | 37 -
.../generated/AutomationUpdateModelTests.java | 69 -
.../AutomationValidationStatusInnerTests.java | 28 -
...nsCreateOrUpdateWithResponseMockTests.java | 83 -
...eByResourceGroupWithResponseMockTests.java | 34 -
...tByResourceGroupWithResponseMockTests.java | 46 -
...tomationsListByResourceGroupMockTests.java | 47 -
.../generated/AutomationsListMockTests.java | 45 -
...omationsValidateWithResponseMockTests.java | 74 -
...eAuthenticationDetailsPropertiesTests.java | 30 -
.../generated/AwsEnvironmentDataTests.java | 32 -
.../AwsOrganizationalDataMasterTests.java | 30 -
.../AwsOrganizationalDataMemberTests.java | 26 -
.../generated/AwsOrganizationalDataTests.java | 23 -
.../generated/AzureDevOpsOrgInnerTests.java | 71 -
.../AzureDevOpsOrgListResponseInnerTests.java | 93 -
.../AzureDevOpsOrgPropertiesTests.java | 61 -
...zureDevOpsOrgsCreateOrUpdateMockTests.java | 74 -
...ureDevOpsOrgsGetWithResponseMockTests.java | 56 -
...rgsListAvailableWithResponseMockTests.java | 47 -
.../AzureDevOpsOrgsListMockTests.java | 68 -
.../AzureDevOpsProjectInnerTests.java | 77 -
.../AzureDevOpsProjectListResponseTests.java | 86 -
.../AzureDevOpsProjectPropertiesTests.java | 71 -
...DevOpsProjectsCreateOrUpdateMockTests.java | 73 -
...evOpsProjectsGetWithResponseMockTests.java | 56 -
.../AzureDevOpsProjectsListMockTests.java | 69 -
...ureDevOpsReposCreateOrUpdateMockTests.java | 74 -
...reDevOpsReposGetWithResponseMockTests.java | 59 -
.../AzureDevOpsReposListMockTests.java | 69 -
.../AzureDevOpsRepositoryInnerTests.java | 77 -
...zureDevOpsRepositoryListResponseTests.java | 87 -
.../AzureDevOpsRepositoryPropertiesTests.java | 72 -
.../AzureDevOpsScopeEnvironmentDataTests.java | 22 -
.../generated/AzureResourceDetailsTests.java | 2 +-
.../AzureResourceIdentifierTests.java | 2 +-
.../generated/AzureResourceLinkTests.java | 3 +-
.../generated/AzureServersSettingTests.java | 2 +-
.../AzureTrackedResourceLocationTests.java | 25 -
.../BaselineAdjustedResultTests.java | 45 -
.../security/generated/BaselineTests.java | 33 -
.../generated/BenchmarkReferenceTests.java | 27 -
.../generated/BlobsScanSummaryTests.java | 35 -
.../generated/BuiltInInfoTypeTests.java | 34 -
.../generated/CategoryConfigurationTests.java | 30 -
.../CefExternalSecuritySolutionTests.java | 40 +-
.../generated/CefSolutionPropertiesTests.java | 38 +-
.../generated/CloudOfferingTests.java | 23 -
.../generated/ComplianceInnerTests.java | 23 -
.../generated/ComplianceListTests.java | 25 -
.../generated/CompliancePropertiesTests.java | 23 -
.../generated/ComplianceResultInnerTests.java | 2 +-
.../generated/ComplianceResultListTests.java | 6 +-
...lianceResultsGetWithResponseMockTests.java | 4 +-
.../ComplianceResultsListMockTests.java | 4 +-
.../generated/ComplianceSegmentTests.java | 22 -
.../CompliancesGetWithResponseMockTests.java | 37 -
.../generated/CompliancesListMockTests.java | 36 -
.../generated/ConnectableResourceTests.java | 2 +-
.../generated/ConnectedResourceTests.java | 6 +-
.../generated/ConnectedWorkspaceTests.java | 8 +-
.../ConnectionFromIpNotAllowedTests.java | 8 +-
.../ConnectionToIpNotAllowedTests.java | 14 +-
...ConnectorsDeleteWithResponseMockTests.java | 33 -
...rRegistryVulnerabilityPropertiesTests.java | 23 -
...AwsOfferingNativeCloudConnectionTests.java | 26 -
.../CspmMonitorAwsOfferingTests.java | 28 -
.../CspmMonitorAzureDevOpsOfferingTests.java | 23 -
.../CspmMonitorDockerHubOfferingTests.java | 23 -
...GcpOfferingNativeCloudConnectionTests.java | 30 -
.../CspmMonitorGcpOfferingTests.java | 31 -
.../CspmMonitorGitLabOfferingTests.java | 23 -
.../CspmMonitorGithubOfferingTests.java | 23 -
.../CspmMonitorJFrogOfferingTests.java | 23 -
.../generated/CustomAlertRuleTests.java | 5 +-
...smentAutomationRequestPropertiesTests.java | 44 -
...ustomAssessmentAutomationRequestTests.java | 43 -
...eByResourceGroupWithResponseMockTests.java | 34 -
...CustomEntityStoreAssignmentInnerTests.java | 29 -
...mEntityStoreAssignmentPropertiesTests.java | 29 -
...StoreAssignmentRequestPropertiesTests.java | 26 -
...stomEntityStoreAssignmentRequestTests.java | 27 -
...ssignmentsCreateWithResponseMockTests.java | 42 -
...eByResourceGroupWithResponseMockTests.java | 34 -
...tByResourceGroupWithResponseMockTests.java | 40 -
...signmentsListByResourceGroupMockTests.java | 40 -
...omEntityStoreAssignmentsListMockTests.java | 40 -
...EntityStoreAssignmentsListResultTests.java | 27 -
...eByResourceGroupWithResponseMockTests.java | 2 +-
.../security/generated/CveTests.java | 21 -
.../security/generated/CvssTests.java | 21 -
.../DataExportSettingPropertiesTests.java | 8 +-
.../generated/DataExportSettingsTests.java | 2 +-
...nderCspmAwsOfferingCiemDiscoveryTests.java | 26 -
.../DefenderCspmAwsOfferingCiemOidcTests.java | 29 -
.../DefenderCspmAwsOfferingCiemTests.java | 35 -
...OfferingDataSensitivityDiscoveryTests.java | 29 -
...nderCspmAwsOfferingDatabasesDspmTests.java | 29 -
...cContainersAgentlessDiscoveryK8STests.java | 30 -
...ringMdcContainersImageAssessmentTests.java | 30 -
.../DefenderCspmAwsOfferingTests.java | 96 -
...efenderCspmAwsOfferingVmScannersTests.java | 51 -
.../DefenderCspmDockerHubOfferingTests.java | 23 -
...nderCspmGcpOfferingCiemDiscoveryTests.java | 33 -
...OfferingDataSensitivityDiscoveryTests.java | 33 -
...cContainersAgentlessDiscoveryK8STests.java | 34 -
...ringMdcContainersImageAssessmentTests.java | 34 -
.../DefenderCspmGcpOfferingTests.java | 94 -
...efenderCspmGcpOfferingVmScannersTests.java | 48 -
...ringMdcContainersImageAssessmentTests.java | 26 -
.../DefenderCspmJFrogOfferingTests.java | 28 -
...esAwsOfferingArcAutoProvisioningTests.java | 37 -
...atabasesAwsOfferingDatabasesDspmTests.java | 29 -
...efenderFoDatabasesAwsOfferingRdsTests.java | 29 -
.../DefenderFoDatabasesAwsOfferingTests.java | 51 -
...rsAwsOfferingCloudWatchToKinesisTests.java | 27 -
...ContainersAwsOfferingKinesisToS3Tests.java | 26 -
...OfferingKubernetesDataCollectionTests.java | 27 -
...nersAwsOfferingKubernetesServiceTests.java | 26 -
...cContainersAgentlessDiscoveryK8STests.java | 31 -
...ringMdcContainersImageAssessmentTests.java | 31 -
...DefenderForContainersAwsOfferingTests.java | 102 -
...rContainersAwsOfferingVmScannersTests.java | 52 -
...erForContainersDockerHubOfferingTests.java | 23 -
...ataPipelineNativeCloudConnectionTests.java | 32 -
...cContainersAgentlessDiscoveryK8STests.java | 34 -
...ringMdcContainersImageAssessmentTests.java | 34 -
...GcpOfferingNativeCloudConnectionTests.java | 31 -
...DefenderForContainersGcpOfferingTests.java | 101 -
...rContainersGcpOfferingVmScannersTests.java | 49 -
...fenderForContainersJFrogOfferingTests.java | 23 -
...esGcpOfferingArcAutoProvisioningTests.java | 35 -
...rForDatabasesArcAutoProvisioningTests.java | 32 -
.../DefenderForDatabasesGcpOfferingTests.java | 47 -
...rsAwsOfferingArcAutoProvisioningTests.java | 37 -
...ersAwsOfferingDefenderForServersTests.java | 26 -
...rsAwsOfferingMdeAutoProvisioningTests.java | 28 -
...nderForServersAwsOfferingSubPlanTests.java | 26 -
.../DefenderForServersAwsOfferingTests.java | 91 -
...gVaAutoProvisioningConfigurationTests.java | 29 -
...ersAwsOfferingVaAutoProvisioningTests.java | 33 -
...rForServersAwsOfferingVmScannersTests.java | 51 -
...rsGcpOfferingArcAutoProvisioningTests.java | 34 -
...ersGcpOfferingDefenderForServersTests.java | 30 -
...rsGcpOfferingMdeAutoProvisioningTests.java | 27 -
...nderForServersGcpOfferingSubPlanTests.java | 26 -
.../DefenderForServersGcpOfferingTests.java | 89 -
...gVaAutoProvisioningConfigurationTests.java | 28 -
...ersGcpOfferingVaAutoProvisioningTests.java | 32 -
...rForServersGcpOfferingVmScannersTests.java | 48 -
...ancelMalwareScanWithResponseMockTests.java | 49 -
...esGetMalwareScanWithResponseMockTests.java | 51 -
...StartMalwareScanWithResponseMockTests.java | 50 -
.../DenylistCustomAlertRuleTests.java | 14 +-
.../generated/DevOpsCapabilityTests.java | 22 -
.../DevOpsConfigurationsDeleteMockTests.java | 33 -
...evOpsPoliciesGetWithResponseMockTests.java | 44 -
.../DevOpsPoliciesListMockTests.java | 44 -
.../DevOpsPolicyAssignmentInnerTests.java | 50 -
...vOpsPolicyAssignmentListResponseTests.java | 66 -
...DevOpsPolicyAssignmentPropertiesTests.java | 48 -
...icyAssignmentsCreateOrUpdateMockTests.java | 57 -
...cyAssignmentsGetWithResponseMockTests.java | 47 -
.../DevOpsPolicyAssignmentsListMockTests.java | 50 -
.../DevOpsPolicyDescriptorTests.java | 36 -
.../generated/DevOpsPolicyInnerTests.java | 39 -
.../DevOpsPolicyListResponseTests.java | 53 -
.../DevOpsPolicyPropertiesTests.java | 37 -
.../DeviceSecurityGroupInnerTests.java | 90 +-
.../DeviceSecurityGroupListTests.java | 199 +-
.../DeviceSecurityGroupPropertiesTests.java | 85 +-
...psCreateOrUpdateWithResponseMockTests.java | 82 +-
...eByResourceGroupWithResponseMockTests.java | 3 +-
...ecurityGroupsGetWithResponseMockTests.java | 22 +-
.../DeviceSecurityGroupsListMockTests.java | 23 +-
...ctMethodInvokesNotInAllowedRangeTests.java | 20 +-
.../DiscoveredSecuritySolutionInnerTests.java | 26 +-
.../DiscoveredSecuritySolutionListTests.java | 40 +-
...overedSecuritySolutionPropertiesTests.java | 26 +-
...ritySolutionsGetWithResponseMockTests.java | 12 +-
...itySolutionsListByHomeRegionMockTests.java | 12 +-
...coveredSecuritySolutionsListMockTests.java | 10 +-
.../DockerHubEnvironmentDataTests.java | 28 -
.../generated/EnvironmentDataTests.java | 22 -
.../generated/EnvironmentDetailsTests.java | 38 -
.../security/generated/EtagTests.java | 24 -
.../ExecuteGovernanceRuleParamsTests.java | 25 -
.../ExternalSecuritySolutionInnerTests.java | 2 +-
.../ExternalSecuritySolutionListTests.java | 7 +-
...ternalSecuritySolutionPropertiesTests.java | 23 +-
...ritySolutionsGetWithResponseMockTests.java | 4 +-
...itySolutionsListByHomeRegionMockTests.java | 4 +-
...xternalSecuritySolutionsListMockTests.java | 2 +-
...iledLocalLoginsNotInAllowedRangeTests.java | 20 +-
.../FileUploadsNotInAllowedRangeTests.java | 26 +-
.../GcpOrganizationalDataMemberTests.java | 29 -
...cpOrganizationalDataOrganizationTests.java | 34 -
.../generated/GcpOrganizationalDataTests.java | 23 -
.../generated/GcpProjectDetailsTests.java | 28 -
.../GcpProjectEnvironmentDataTests.java | 35 -
...itivitySettingsListResponseInnerTests.java | 101 -
...SensitivitySettingsResponseInnerTests.java | 94 -
...ResponsePropertiesMipInformationTests.java | 92 -
...tivitySettingsResponsePropertiesTests.java | 89 -
.../generated/GitHubOwnerInnerTests.java | 29 -
.../GitHubOwnerListResponseInnerTests.java | 42 -
.../generated/GitHubOwnerPropertiesTests.java | 28 -
.../GitHubOwnersGetWithResponseMockTests.java | 40 -
...ersListAvailableWithResponseMockTests.java | 42 -
.../generated/GitHubOwnersListMockTests.java | 41 -
.../GitHubReposGetWithResponseMockTests.java | 41 -
.../generated/GitHubReposListMockTests.java | 42 -
.../generated/GitHubRepositoryInnerTests.java | 32 -
.../GitHubRepositoryListResponseTests.java | 47 -
.../GitHubRepositoryPropertiesTests.java | 31 -
.../generated/GitLabGroupInnerTests.java | 29 -
.../GitLabGroupListResponseInnerTests.java | 38 -
.../generated/GitLabGroupPropertiesTests.java | 28 -
.../GitLabGroupsGetWithResponseMockTests.java | 40 -
...upsListAvailableWithResponseMockTests.java | 41 -
.../generated/GitLabGroupsListMockTests.java | 41 -
.../generated/GitLabProjectInnerTests.java | 29 -
.../GitLabProjectListResponseTests.java | 35 -
.../GitLabProjectPropertiesTests.java | 28 -
...itLabProjectsGetWithResponseMockTests.java | 40 -
.../GitLabProjectsListMockTests.java | 41 -
...LabSubgroupsListWithResponseMockTests.java | 41 -
.../GithubScopeEnvironmentDataTests.java | 22 -
.../GitlabScopeEnvironmentDataTests.java | 22 -
...vernanceAssignmentAdditionalDataTests.java | 32 -
.../GovernanceAssignmentInnerTests.java | 58 -
.../GovernanceAssignmentPropertiesTests.java | 58 -
...tsCreateOrUpdateWithResponseMockTests.java | 63 -
...ssignmentsDeleteWithResponseMockTests.java | 34 -
...ceAssignmentsGetWithResponseMockTests.java | 48 -
.../GovernanceAssignmentsListMockTests.java | 52 -
.../GovernanceAssignmentsListTests.java | 23 -
.../GovernanceEmailNotificationTests.java | 29 -
.../GovernanceRuleEmailNotificationTests.java | 30 -
.../generated/GovernanceRuleInnerTests.java | 75 -
.../generated/GovernanceRuleListTests.java | 23 -
.../GovernanceRuleMetadataTests.java | 23 -
.../GovernanceRuleOwnerSourceTests.java | 29 -
.../GovernanceRulePropertiesTests.java | 75 -
...esCreateOrUpdateWithResponseMockTests.java | 77 -
.../GovernanceRulesDeleteMockTests.java | 33 -
...vernanceRulesGetWithResponseMockTests.java | 54 -
.../GovernanceRulesListMockTests.java | 59 -
...OperationResultsWithResponseMockTests.java | 36 -
.../HealthDataClassificationTests.java | 31 -
...HttpC2DMessagesNotInAllowedRangeTests.java | 20 +-
...ejectedMessagesNotInAllowedRangeTests.java | 20 +-
...HttpD2CMessagesNotInAllowedRangeTests.java | 26 +-
.../security/generated/IdentityTests.java | 28 -
.../security/generated/InfoTypeTests.java | 34 -
.../InformationProtectionKeywordTests.java | 35 -
.../IoTSecurityAggregatedAlertInnerTests.java | 10 +-
.../IoTSecurityAggregatedAlertListTests.java | 12 +-
...ecurityAggregatedAlertPropertiesTests.java | 2 +-
...lertPropertiesTopDevicesListItemTests.java | 2 +-
...ityAggregatedRecommendationInnerTests.java | 14 +-
...rityAggregatedRecommendationListTests.java | 27 +-
...gregatedRecommendationPropertiesTests.java | 8 +-
.../IoTSecurityAlertedDeviceTests.java | 2 +-
.../IoTSecurityDeviceAlertTests.java | 2 +-
.../IoTSecurityDeviceRecommendationTests.java | 2 +-
...uritySolutionAnalyticsModelInnerTests.java | 11 +-
...ySolutionAnalyticsModelListInnerTests.java | 22 +-
...odelPropertiesDevicesMetricsItemTests.java | 26 +-
...SolutionAnalyticsModelPropertiesTests.java | 10 +-
.../IoTSecuritySolutionModelInnerTests.java | 89 +-
.../IoTSecuritySolutionPropertiesTests.java | 75 +-
.../IoTSecuritySolutionsListTests.java | 130 +-
.../generated/IoTSeverityMetricsTests.java | 20 +-
...tionAnalyticsGetWithResponseMockTests.java | 4 +-
...ionAnalyticsListWithResponseMockTests.java | 4 +-
...tedAlertsDismissWithResponseMockTests.java | 2 +-
...regatedAlertsGetWithResponseMockTests.java | 6 +-
...nalyticsAggregatedAlertsListMockTests.java | 6 +-
...commendationsGetWithResponseMockTests.java | 8 +-
...AnalyticsRecommendationsListMockTests.java | 8 +-
...nsCreateOrUpdateWithResponseMockTests.java | 75 +-
...eByResourceGroupWithResponseMockTests.java | 2 +-
...tByResourceGroupWithResponseMockTests.java | 30 +-
...SolutionsListByResourceGroupMockTests.java | 26 +-
.../IotSecuritySolutionsListMockTests.java | 28 +-
.../generated/JFrogEnvironmentDataTests.java | 26 -
...esCreateOrUpdateWithResponseMockTests.java | 111 +-
...ssPoliciesDeleteWithResponseMockTests.java | 2 +-
...ccessPoliciesGetWithResponseMockTests.java | 24 +-
...PoliciesInitiateWithResponseMockTests.java | 87 +-
...rkAccessPoliciesListByRegionMockTests.java | 26 +-
...ListByResourceGroupAndRegionMockTests.java | 25 +-
...sPoliciesListByResourceGroupMockTests.java | 23 +-
...JitNetworkAccessPoliciesListMockTests.java | 23 +-
.../JitNetworkAccessPoliciesListTests.java | 157 +-
...tNetworkAccessPolicyInitiatePortTests.java | 20 +-
...tworkAccessPolicyInitiateRequestTests.java | 54 +-
...cessPolicyInitiateVirtualMachineTests.java | 30 +-
.../JitNetworkAccessPolicyInnerTests.java | 244 +-
...JitNetworkAccessPolicyPropertiesTests.java | 262 +-
...etworkAccessPolicyVirtualMachineTests.java | 62 +-
.../JitNetworkAccessPortRuleTests.java | 32 +-
.../JitNetworkAccessRequestInnerTests.java | 167 +-
.../JitNetworkAccessRequestPortTests.java | 33 +-
...tworkAccessRequestVirtualMachineTests.java | 79 +-
.../generated/KindAutoGeneratedTests.java | 8 +-
.../security/generated/LabelTests.java | 34 -
.../generated/ListCustomAlertRuleTests.java | 8 +-
.../generated/LocalUserNotAllowedTests.java | 14 +-
.../security/generated/LocationTests.java | 2 +-
.../LocationsGetWithResponseMockTests.java | 35 -
.../generated/LocationsListMockTests.java | 36 -
.../LogAnalyticsIdentifierTests.java | 2 +-
.../generated/MalwareScanInnerTests.java | 60 -
.../generated/MalwareScanPropertiesTests.java | 55 -
.../MdeOnboardingDataInnerTests.java | 23 -
.../MdeOnboardingDataListInnerTests.java | 26 -
.../MdeOnboardingDataPropertiesTests.java | 21 -
...deOnboardingsGetWithResponseMockTests.java | 35 -
...eOnboardingsListWithResponseMockTests.java | 36 -
...MqttC2DMessagesNotInAllowedRangeTests.java | 20 +-
...ejectedMessagesNotInAllowedRangeTests.java | 20 +-
...MqttD2CMessagesNotInAllowedRangeTests.java | 26 +-
.../NotificationsSourceAlertTests.java | 26 -
.../NotificationsSourceAttackPathTests.java | 28 -
.../generated/NotificationsSourceTests.java | 22 -
.../OnPremiseResourceDetailsTests.java | 26 +-
.../OnPremiseSqlResourceDetailsTests.java | 38 +-
.../generated/OnUploadPropertiesTests.java | 27 -
.../generated/OperationDisplayTests.java | 23 -
.../generated/OperationInnerTests.java | 24 -
.../generated/OperationListResultTests.java | 23 -
...perationResultAutoGeneratedInnerTests.java | 22 -
.../generated/OperationsListMockTests.java | 36 -
.../generated/PricingListInnerTests.java | 56 +-
...eByResourceGroupWithResponseMockTests.java | 3 +-
.../PricingsListWithResponseMockTests.java | 12 +-
.../generated/ProcessNotAllowedTests.java | 10 +-
.../generated/ProxyServerPropertiesTests.java | 27 -
.../security/generated/QueryCheckTests.java | 34 -
.../QueuePurgesNotInAllowedRangeTests.java | 20 +-
...mendationConfigurationPropertiesTests.java | 13 +-
...ulatoryComplianceAssessmentInnerTests.java | 28 -
...gulatoryComplianceAssessmentListTests.java | 33 -
...ryComplianceAssessmentPropertiesTests.java | 28 -
...ceAssessmentsGetWithResponseMockTests.java | 40 -
...oryComplianceAssessmentsListMockTests.java | 40 -
...RegulatoryComplianceControlInnerTests.java | 27 -
.../RegulatoryComplianceControlListTests.java | 32 -
...atoryComplianceControlPropertiesTests.java | 28 -
...ianceControlsGetWithResponseMockTests.java | 40 -
...latoryComplianceControlsListMockTests.java | 40 -
...egulatoryComplianceStandardInnerTests.java | 27 -
...RegulatoryComplianceStandardListTests.java | 30 -
...toryComplianceStandardPropertiesTests.java | 28 -
...anceStandardsGetWithResponseMockTests.java | 40 -
...atoryComplianceStandardsListMockTests.java | 40 -
.../generated/RemediationEtaTests.java | 30 -
.../security/generated/RemediationTests.java | 36 -
.../ResourceDetailsAutoGeneratedTests.java | 27 -
.../generated/RuleResultsInnerTests.java | 30 -
.../generated/RuleResultsInputTests.java | 32 -
.../generated/RuleResultsPropertiesTests.java | 30 -
.../generated/RulesResultsInnerTests.java | 35 -
.../generated/RulesResultsInputTests.java | 50 -
.../security/generated/ScanInnerTests.java | 72 -
.../generated/ScanPropertiesTests.java | 71 -
.../generated/ScanResultInnerTests.java | 128 -
.../generated/ScanResultPropertiesTests.java | 124 -
.../generated/ScanResultsInnerTests.java | 158 -
.../security/generated/ScanSummaryTests.java | 39 -
.../security/generated/ScansInnerTests.java | 96 -
.../security/generated/ScopeElementTests.java | 40 -
.../security/generated/ScoreDetailsTests.java | 6 +-
...eScoreControlDefinitionItemInnerTests.java | 2 +-
...eControlDefinitionItemPropertiesTests.java | 2 +-
...SecureScoreControlDefinitionListTests.java | 2 +-
...efinitionsListBySubscriptionMockTests.java | 2 +-
...eScoreControlDefinitionsListMockTests.java | 2 +-
.../SecureScoreControlDetailsInnerTests.java | 2 +-
.../SecureScoreControlListTests.java | 2 +-
...ureScoreControlScoreDetailsInnerTests.java | 2 +-
...oreControlsListBySecureScoreMockTests.java | 4 +-
.../SecureScoreControlsListMockTests.java | 2 +-
.../generated/SecureScoreItemInnerTests.java | 2 +-
.../SecureScoreItemPropertiesTests.java | 2 +-
.../SecureScoresGetWithResponseMockTests.java | 4 +-
.../generated/SecureScoresListMockTests.java | 2 +-
.../generated/SecureScoresListTests.java | 2 +-
...taPropertiesResponsePublishDatesTests.java | 14 +-
...nsCreateOrUpdateWithResponseMockTests.java | 49 -
...OperationsDeleteWithResponseMockTests.java | 34 -
...ionOperationsGetWithResponseMockTests.java | 42 -
...ityConnectorApplicationsListMockTests.java | 43 -
.../SecurityConnectorInnerTests.java | 56 -
.../SecurityConnectorPropertiesTests.java | 35 -
...rsCreateOrUpdateWithResponseMockTests.java | 68 -
...eByResourceGroupWithResponseMockTests.java | 34 -
...tByResourceGroupWithResponseMockTests.java | 43 -
...onnectorsListByResourceGroupMockTests.java | 43 -
.../SecurityConnectorsListMockTests.java | 42 -
.../SecurityConnectorsListTests.java | 81 -
.../generated/SecurityContactInnerTests.java | 44 -
.../generated/SecurityContactListTests.java | 63 -
...actPropertiesNotificationsByRoleTests.java | 33 -
.../SecurityContactPropertiesTests.java | 46 -
...tyContactsCreateWithResponseMockTests.java | 56 -
...tyContactsDeleteWithResponseMockTests.java | 34 -
...urityContactsGetWithResponseMockTests.java | 46 -
.../SecurityContactsListMockTests.java | 45 -
.../generated/SecurityOperatorInnerTests.java | 29 -
.../SecurityOperatorListInnerTests.java | 32 -
...rsCreateOrUpdateWithResponseMockTests.java | 40 -
...eByResourceGroupWithResponseMockTests.java | 34 -
...rityOperatorsGetWithResponseMockTests.java | 40 -
...ityOperatorsListWithResponseMockTests.java | 39 -
.../generated/SecuritySolutionInnerTests.java | 14 +-
.../generated/SecuritySolutionListTests.java | 34 +-
.../SecuritySolutionPropertiesTests.java | 26 +-
...ritySolutionsGetWithResponseMockTests.java | 10 +-
.../SecuritySolutionsListMockTests.java | 8 +-
...ySolutionsReferenceDataListInnerTests.java | 68 +-
...SolutionsReferenceDataPropertiesTests.java | 44 +-
.../SecuritySolutionsReferenceDataTests.java | 44 +-
...ListByHomeRegionWithResponseMockTests.java | 16 +-
...ferenceDatasListWithResponseMockTests.java | 16 +-
...eByResourceGroupWithResponseMockTests.java | 2 +-
.../generated/SecurityTaskInnerTests.java | 39 -
.../generated/SecurityTaskListTests.java | 23 -
.../SecurityTaskParametersTests.java | 38 -
.../SecurityTaskPropertiesTests.java | 39 -
.../generated/SensitivityLabelTests.java | 39 -
...gsCreateOrUpdateWithResponseMockTests.java | 69 -
...ivitySettingsGetWithResponseMockTests.java | 60 -
...vitySettingsListWithResponseMockTests.java | 46 -
...rverVulnerabilityAssessmentInnerTests.java | 2 +-
...ulnerabilityAssessmentPropertiesTests.java | 5 +-
...tsCreateOrUpdateWithResponseMockTests.java | 5 +-
...lnerabilityAssessmentsDeleteMockTests.java | 2 +-
...tyAssessmentsGetWithResponseMockTests.java | 4 +-
...ExtendedResourceWithResponseMockTests.java | 4 +-
...ulnerabilityAssessmentsListInnerTests.java | 7 +-
...erabilityAssessmentsSettingInnerTests.java | 2 +-
...gsCreateOrUpdateWithResponseMockTests.java | 2 +-
...mentsSettingsGetWithResponseMockTests.java | 2 +-
...ilityAssessmentsSettingsListMockTests.java | 2 +-
...erabilityAssessmentsSettingsListTests.java | 2 +-
.../ServerVulnerabilityPropertiesTests.java | 23 -
.../security/generated/SettingInnerTests.java | 2 +-
.../SettingsGetWithResponseMockTests.java | 11 +-
.../generated/SettingsListMockTests.java | 2 +-
.../security/generated/SettingsListTests.java | 4 +-
.../SettingsUpdateWithResponseMockTests.java | 8 +-
.../generated/SoftwareInnerTests.java | 51 -
...reInventoriesGetWithResponseMockTests.java | 49 -
...toriesListByExtendedResourceMockTests.java | 49 -
.../SoftwareInventoriesListMockTests.java | 48 -
.../generated/SoftwarePropertiesTests.java | 51 -
.../generated/SoftwaresListTests.java | 65 -
...SqlServerVulnerabilityPropertiesTests.java | 24 -
...BaselineRulesAddWithResponseMockTests.java | 60 -
...esCreateOrUpdateWithResponseMockTests.java | 46 -
...elineRulesDeleteWithResponseMockTests.java | 34 -
...BaselineRulesGetWithResponseMockTests.java | 39 -
...aselineRulesListWithResponseMockTests.java | 39 -
...ntScanResultsGetWithResponseMockTests.java | 75 -
...tScanResultsListWithResponseMockTests.java | 58 -
...sessmentScansGetWithResponseMockTests.java | 55 -
...essmentScansListWithResponseMockTests.java | 58 -
.../StandardAssignmentMetadataTests.java | 2 +-
...eByResourceGroupWithResponseMockTests.java | 2 +-
.../generated/StandardMetadataTests.java | 2 +-
.../SuppressionAlertsScopeTests.java | 45 -
.../security/generated/TagsResourceTests.java | 8 +-
.../security/generated/TagsTests.java | 40 -
.../TargetBranchConfigurationTests.java | 32 -
...ceGroupLevelTaskWithResponseMockTests.java | 38 -
...riptionLevelTaskWithResponseMockTests.java | 37 -
.../TasksListByHomeRegionMockTests.java | 37 -
.../TasksListByResourceGroupMockTests.java | 37 -
.../generated/TasksListMockTests.java | 36 -
...upLevelTaskStateWithResponseMockTests.java | 36 -
...onLevelTaskStateWithResponseMockTests.java | 36 -
.../ThresholdCustomAlertRuleTests.java | 14 +-
.../TimeWindowCustomAlertRuleTests.java | 26 +-
.../TopologiesGetWithResponseMockTests.java | 4 +-
.../TopologiesListByHomeRegionMockTests.java | 4 +-
.../generated/TopologiesListMockTests.java | 2 +-
.../security/generated/TopologyListTests.java | 2 +-
.../generated/TopologyResourceInnerTests.java | 2 +-
.../TopologyResourcePropertiesTests.java | 2 +-
.../TopologySingleResourceChildTests.java | 2 +-
.../TopologySingleResourceParentTests.java | 2 +-
.../TopologySingleResourceTests.java | 2 +-
.../generated/TrackedResourceTests.java | 49 -
.../TwinUpdatesNotInAllowedRangeTests.java | 26 +-
...rizedOperationsNotInAllowedRangeTests.java | 26 +-
...ateIoTSecuritySolutionPropertiesTests.java | 34 +-
.../UpdateIotSecuritySolutionDataTests.java | 42 +-
...UpdateSensitivitySettingsRequestTests.java | 40 -
.../UserDefinedResourcesPropertiesTests.java | 14 +-
.../security/generated/VaRuleTests.java | 65 -
.../generated/VendorReferenceTests.java | 22 -
.../generated/VmScannersAwsTests.java | 51 -
.../VmScannersBaseConfigurationTests.java | 44 -
.../generated/VmScannersBaseTests.java | 49 -
.../generated/VmScannersGcpTests.java | 49 -
.../generated/WorkspaceSettingInnerTests.java | 28 -
.../generated/WorkspaceSettingListTests.java | 31 -
.../WorkspaceSettingPropertiesTests.java | 29 -
...ceSettingsCreateWithResponseMockTests.java | 42 -
...ceSettingsDeleteWithResponseMockTests.java | 33 -
...spaceSettingsGetWithResponseMockTests.java | 39 -
.../WorkspaceSettingsListMockTests.java | 39 -
1411 files changed, 3560 insertions(+), 136474 deletions(-)
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/AlertsSuppressionRulesClient.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/ApplicationOperationsClient.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/ApplicationsClient.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/AutoProvisioningSettingsClient.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/AutomationsClient.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/AzureDevOpsOrgsClient.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/AzureDevOpsProjectsClient.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/AzureDevOpsReposClient.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/CompliancesClient.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/ConnectorsClient.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/CustomAssessmentAutomationsClient.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/CustomEntityStoreAssignmentsClient.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/DefenderForStoragesClient.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/DevOpsConfigurationsClient.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/DevOpsOperationResultsClient.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/DevOpsPoliciesClient.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/DevOpsPolicyAssignmentsClient.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/GitHubOwnersClient.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/GitHubReposClient.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/GitLabGroupsClient.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/GitLabProjectsClient.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/GitLabSubgroupsClient.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/GovernanceAssignmentsClient.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/GovernanceRulesClient.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/HealthReportsClient.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/InformationProtectionPoliciesClient.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/LocationsClient.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/MdeOnboardingsClient.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/OperationsClient.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/RegulatoryComplianceAssessmentsClient.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/RegulatoryComplianceControlsClient.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/RegulatoryComplianceStandardsClient.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/SecurityConnectorApplicationOperationsClient.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/SecurityConnectorApplicationsClient.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/SecurityConnectorsClient.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/SecurityContactsClient.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/SecurityOperatorsClient.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/SensitivitySettingsClient.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/SoftwareInventoriesClient.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/SqlVulnerabilityAssessmentBaselineRulesClient.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/SqlVulnerabilityAssessmentScanResultsClient.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/SqlVulnerabilityAssessmentScansClient.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/SubAssessmentsClient.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/TasksClient.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/WorkspaceSettingsClient.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/models/AlertsSuppressionRuleInner.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/models/AlertsSuppressionRuleProperties.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/models/ApplicationInner.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/models/ApplicationProperties.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/models/AscLocationInner.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/models/AutoProvisioningSettingInner.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/models/AutoProvisioningSettingProperties.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/models/AutomationInner.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/models/AutomationProperties.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/models/AutomationValidationStatusInner.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/models/AzureDevOpsOrgInner.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/models/AzureDevOpsOrgListResponseInner.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/models/AzureDevOpsProjectInner.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/models/AzureDevOpsRepositoryInner.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/models/ComplianceInner.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/models/ComplianceProperties.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/models/ConnectorSettingInner.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/models/ConnectorSettingProperties.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/models/CustomAssessmentAutomationInner.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/models/CustomAssessmentAutomationProperties.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/models/CustomAssessmentAutomationRequestProperties.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/models/CustomEntityStoreAssignmentInner.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/models/CustomEntityStoreAssignmentProperties.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/models/CustomEntityStoreAssignmentRequestProperties.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/models/DefenderForStorageSettingInner.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/models/DevOpsConfigurationInner.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/models/DevOpsPolicyAssignmentInner.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/models/DevOpsPolicyInner.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/models/GetSensitivitySettingsListResponseInner.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/models/GetSensitivitySettingsResponseInner.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/models/GitHubOwnerInner.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/models/GitHubOwnerListResponseInner.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/models/GitHubRepositoryInner.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/models/GitLabGroupInner.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/models/GitLabGroupListResponseInner.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/models/GitLabProjectInner.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/models/GovernanceAssignmentInner.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/models/GovernanceAssignmentProperties.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/models/GovernanceRuleInner.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/models/GovernanceRuleProperties.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/models/HealthReportInner.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/models/HealthReportProperties.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/models/InformationProtectionPolicyInner.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/models/InformationProtectionPolicyProperties.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/models/MalwareScanInner.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/models/MdeOnboardingDataInner.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/models/MdeOnboardingDataListInner.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/models/MdeOnboardingDataProperties.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/models/OperationInner.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/models/OperationResultAutoGeneratedInner.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/models/OperationStatusResultInner.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/models/RegulatoryComplianceAssessmentInner.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/models/RegulatoryComplianceAssessmentProperties.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/models/RegulatoryComplianceControlInner.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/models/RegulatoryComplianceControlProperties.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/models/RegulatoryComplianceStandardInner.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/models/RegulatoryComplianceStandardProperties.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/models/RuleResultsInner.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/models/RulesResultsInner.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/models/ScanInner.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/models/ScanResultInner.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/models/ScanResultsInner.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/models/ScansInner.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/models/SecurityConnectorInner.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/models/SecurityConnectorProperties.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/models/SecurityContactInner.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/models/SecurityContactProperties.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/models/SecurityOperatorInner.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/models/SecurityOperatorListInner.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/models/SecuritySubAssessmentInner.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/models/SecuritySubAssessmentProperties.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/models/SecurityTaskInner.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/models/SecurityTaskProperties.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/models/SoftwareInner.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/models/SoftwareProperties.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/models/WorkspaceSettingInner.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/models/WorkspaceSettingProperties.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/implementation/AlertsSuppressionRuleImpl.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/implementation/AlertsSuppressionRulesClientImpl.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/implementation/AlertsSuppressionRulesImpl.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/implementation/ApplicationImpl.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/implementation/ApplicationOperationsClientImpl.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/implementation/ApplicationOperationsImpl.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/implementation/ApplicationsClientImpl.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/implementation/ApplicationsImpl.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/implementation/AscLocationImpl.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/implementation/AutoProvisioningSettingImpl.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/implementation/AutoProvisioningSettingsClientImpl.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/implementation/AutoProvisioningSettingsImpl.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/implementation/AutomationImpl.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/implementation/AutomationValidationStatusImpl.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/implementation/AutomationsClientImpl.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/implementation/AutomationsImpl.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/implementation/AzureDevOpsOrgImpl.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/implementation/AzureDevOpsOrgListResponseImpl.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/implementation/AzureDevOpsOrgsClientImpl.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/implementation/AzureDevOpsOrgsImpl.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/implementation/AzureDevOpsProjectImpl.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/implementation/AzureDevOpsProjectsClientImpl.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/implementation/AzureDevOpsProjectsImpl.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/implementation/AzureDevOpsReposClientImpl.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/implementation/AzureDevOpsReposImpl.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/implementation/AzureDevOpsRepositoryImpl.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/implementation/ComplianceImpl.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/implementation/CompliancesClientImpl.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/implementation/CompliancesImpl.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/implementation/ConnectorSettingImpl.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/implementation/ConnectorsClientImpl.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/implementation/ConnectorsImpl.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/implementation/CustomAssessmentAutomationImpl.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/implementation/CustomAssessmentAutomationsClientImpl.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/implementation/CustomAssessmentAutomationsImpl.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/implementation/CustomEntityStoreAssignmentImpl.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/implementation/CustomEntityStoreAssignmentsClientImpl.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/implementation/CustomEntityStoreAssignmentsImpl.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/implementation/DefenderForStorageSettingImpl.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/implementation/DefenderForStoragesClientImpl.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/implementation/DefenderForStoragesImpl.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/implementation/DevOpsConfigurationImpl.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/implementation/DevOpsConfigurationsClientImpl.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/implementation/DevOpsConfigurationsImpl.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/implementation/DevOpsOperationResultsClientImpl.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/implementation/DevOpsOperationResultsImpl.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/implementation/DevOpsPoliciesClientImpl.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/implementation/DevOpsPoliciesImpl.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/implementation/DevOpsPolicyAssignmentImpl.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/implementation/DevOpsPolicyAssignmentsClientImpl.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/implementation/DevOpsPolicyAssignmentsImpl.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/implementation/DevOpsPolicyImpl.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/implementation/GetSensitivitySettingsListResponseImpl.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/implementation/GetSensitivitySettingsResponseImpl.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/implementation/GitHubOwnerImpl.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/implementation/GitHubOwnerListResponseImpl.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/implementation/GitHubOwnersClientImpl.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/implementation/GitHubOwnersImpl.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/implementation/GitHubReposClientImpl.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/implementation/GitHubReposImpl.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/implementation/GitHubRepositoryImpl.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/implementation/GitLabGroupImpl.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/implementation/GitLabGroupListResponseImpl.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/implementation/GitLabGroupsClientImpl.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/implementation/GitLabGroupsImpl.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/implementation/GitLabProjectImpl.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/implementation/GitLabProjectsClientImpl.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/implementation/GitLabProjectsImpl.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/implementation/GitLabSubgroupsClientImpl.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/implementation/GitLabSubgroupsImpl.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/implementation/GovernanceAssignmentImpl.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/implementation/GovernanceAssignmentsClientImpl.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/implementation/GovernanceAssignmentsImpl.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/implementation/GovernanceRuleImpl.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/implementation/GovernanceRulesClientImpl.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/implementation/GovernanceRulesImpl.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/implementation/HealthReportImpl.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/implementation/HealthReportsClientImpl.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/implementation/HealthReportsImpl.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/implementation/InformationProtectionPoliciesClientImpl.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/implementation/InformationProtectionPoliciesImpl.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/implementation/InformationProtectionPolicyImpl.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/implementation/LocationsClientImpl.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/implementation/LocationsImpl.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/implementation/MalwareScanImpl.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/implementation/MdeOnboardingDataImpl.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/implementation/MdeOnboardingDataListImpl.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/implementation/MdeOnboardingsClientImpl.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/implementation/MdeOnboardingsImpl.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/implementation/OperationImpl.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/implementation/OperationResultAutoGeneratedImpl.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/implementation/OperationStatusResultImpl.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/implementation/OperationsClientImpl.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/implementation/OperationsImpl.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/implementation/RegulatoryComplianceAssessmentImpl.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/implementation/RegulatoryComplianceAssessmentsClientImpl.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/implementation/RegulatoryComplianceAssessmentsImpl.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/implementation/RegulatoryComplianceControlImpl.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/implementation/RegulatoryComplianceControlsClientImpl.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/implementation/RegulatoryComplianceControlsImpl.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/implementation/RegulatoryComplianceStandardImpl.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/implementation/RegulatoryComplianceStandardsClientImpl.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/implementation/RegulatoryComplianceStandardsImpl.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/implementation/RuleResultsImpl.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/implementation/RulesResultsImpl.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/implementation/ScanImpl.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/implementation/ScanResultImpl.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/implementation/ScanResultsImpl.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/implementation/ScansImpl.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/implementation/SecurityConnectorApplicationOperationsClientImpl.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/implementation/SecurityConnectorApplicationOperationsImpl.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/implementation/SecurityConnectorApplicationsClientImpl.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/implementation/SecurityConnectorApplicationsImpl.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/implementation/SecurityConnectorImpl.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/implementation/SecurityConnectorsClientImpl.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/implementation/SecurityConnectorsImpl.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/implementation/SecurityContactImpl.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/implementation/SecurityContactsClientImpl.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/implementation/SecurityContactsImpl.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/implementation/SecurityOperatorImpl.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/implementation/SecurityOperatorListImpl.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/implementation/SecurityOperatorsClientImpl.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/implementation/SecurityOperatorsImpl.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/implementation/SecuritySubAssessmentImpl.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/implementation/SecurityTaskImpl.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/implementation/SensitivitySettingsClientImpl.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/implementation/SensitivitySettingsImpl.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/implementation/SoftwareImpl.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/implementation/SoftwareInventoriesClientImpl.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/implementation/SoftwareInventoriesImpl.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/implementation/SqlVulnerabilityAssessmentBaselineRulesClientImpl.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/implementation/SqlVulnerabilityAssessmentBaselineRulesImpl.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/implementation/SqlVulnerabilityAssessmentScanResultsClientImpl.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/implementation/SqlVulnerabilityAssessmentScanResultsImpl.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/implementation/SqlVulnerabilityAssessmentScansClientImpl.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/implementation/SqlVulnerabilityAssessmentScansImpl.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/implementation/SubAssessmentsClientImpl.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/implementation/SubAssessmentsImpl.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/implementation/TasksClientImpl.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/implementation/TasksImpl.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/implementation/WorkspaceSettingImpl.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/implementation/WorkspaceSettingsClientImpl.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/implementation/WorkspaceSettingsImpl.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/AccessTokenAuthentication.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/ActionType.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/ActionableRemediation.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/ActionableRemediationState.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/AdditionalData.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/AlertsSuppressionRule.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/AlertsSuppressionRules.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/AlertsSuppressionRulesList.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/AnnotateDefaultBranchState.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/Application.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/ApplicationOperations.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/ApplicationSourceResourceType.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/Applications.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/ApplicationsList.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/ArcAutoProvisioning.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/ArcAutoProvisioningAws.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/ArcAutoProvisioningConfiguration.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/ArcAutoProvisioningGcp.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/AscLocation.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/AscLocationList.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/AssessedResourceType.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/Authentication.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/AuthenticationDetailsProperties.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/AuthenticationProvisioningState.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/AuthenticationType.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/Authorization.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/AutoDiscovery.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/AutoProvision.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/AutoProvisioningSetting.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/AutoProvisioningSettingList.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/AutoProvisioningSettings.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/Automation.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/AutomationAction.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/AutomationActionEventHub.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/AutomationActionLogicApp.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/AutomationActionWorkspace.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/AutomationList.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/AutomationRuleSet.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/AutomationScope.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/AutomationSource.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/AutomationTriggeringRule.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/AutomationUpdateModel.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/AutomationValidationStatus.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/Automations.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/AwAssumeRoleAuthenticationDetailsProperties.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/AwsCredsAuthenticationDetailsProperties.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/AwsEnvironmentData.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/AwsOrganizationalData.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/AwsOrganizationalDataMaster.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/AwsOrganizationalDataMember.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/AzureDevOpsOrg.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/AzureDevOpsOrgListResponse.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/AzureDevOpsOrgProperties.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/AzureDevOpsOrgs.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/AzureDevOpsProject.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/AzureDevOpsProjectListResponse.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/AzureDevOpsProjectProperties.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/AzureDevOpsProjects.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/AzureDevOpsRepos.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/AzureDevOpsRepository.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/AzureDevOpsRepositoryListResponse.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/AzureDevOpsRepositoryProperties.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/AzureDevOpsScopeEnvironmentData.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/AzureTrackedResourceLocation.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/Baseline.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/BaselineAdjustedResult.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/BenchmarkReference.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/BlobsScanSummary.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/BuiltInInfoType.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/CategoryConfiguration.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/CloudName.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/CloudOffering.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/Compliance.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/ComplianceList.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/ComplianceSegment.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/Compliances.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/ConnectorSetting.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/ConnectorSettingList.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/Connectors.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/ContainerRegistryVulnerabilityProperties.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/CspmMonitorAwsOffering.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/CspmMonitorAwsOfferingNativeCloudConnection.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/CspmMonitorAzureDevOpsOffering.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/CspmMonitorDockerHubOffering.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/CspmMonitorGcpOffering.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/CspmMonitorGcpOfferingNativeCloudConnection.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/CspmMonitorGitLabOffering.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/CspmMonitorGithubOffering.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/CspmMonitorJFrogOffering.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/CustomAssessmentAutomation.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/CustomAssessmentAutomationRequest.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/CustomAssessmentAutomations.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/CustomAssessmentAutomationsListResult.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/CustomEntityStoreAssignment.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/CustomEntityStoreAssignmentRequest.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/CustomEntityStoreAssignments.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/CustomEntityStoreAssignmentsListResult.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/Cve.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/Cvss.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/DefenderCspmAwsOffering.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/DefenderCspmAwsOfferingCiem.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/DefenderCspmAwsOfferingCiemDiscovery.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/DefenderCspmAwsOfferingCiemOidc.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/DefenderCspmAwsOfferingDataSensitivityDiscovery.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/DefenderCspmAwsOfferingDatabasesDspm.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/DefenderCspmAwsOfferingMdcContainersAgentlessDiscoveryK8S.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/DefenderCspmAwsOfferingMdcContainersImageAssessment.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/DefenderCspmAwsOfferingVmScanners.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/DefenderCspmDockerHubOffering.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/DefenderCspmGcpOffering.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/DefenderCspmGcpOfferingCiemDiscovery.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/DefenderCspmGcpOfferingDataSensitivityDiscovery.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/DefenderCspmGcpOfferingMdcContainersAgentlessDiscoveryK8S.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/DefenderCspmGcpOfferingMdcContainersImageAssessment.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/DefenderCspmGcpOfferingVmScanners.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/DefenderCspmJFrogOffering.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/DefenderCspmJFrogOfferingMdcContainersImageAssessment.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/DefenderFoDatabasesAwsOffering.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/DefenderFoDatabasesAwsOfferingArcAutoProvisioning.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/DefenderFoDatabasesAwsOfferingDatabasesDspm.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/DefenderFoDatabasesAwsOfferingRds.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/DefenderForContainersAwsOffering.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/DefenderForContainersAwsOfferingCloudWatchToKinesis.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/DefenderForContainersAwsOfferingKinesisToS3.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/DefenderForContainersAwsOfferingKubernetesDataCollection.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/DefenderForContainersAwsOfferingKubernetesService.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/DefenderForContainersAwsOfferingMdcContainersAgentlessDiscoveryK8S.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/DefenderForContainersAwsOfferingMdcContainersImageAssessment.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/DefenderForContainersAwsOfferingVmScanners.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/DefenderForContainersDockerHubOffering.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/DefenderForContainersGcpOffering.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/DefenderForContainersGcpOfferingDataPipelineNativeCloudConnection.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/DefenderForContainersGcpOfferingMdcContainersAgentlessDiscoveryK8S.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/DefenderForContainersGcpOfferingMdcContainersImageAssessment.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/DefenderForContainersGcpOfferingNativeCloudConnection.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/DefenderForContainersGcpOfferingVmScanners.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/DefenderForContainersJFrogOffering.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/DefenderForDatabasesGcpOffering.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/DefenderForDatabasesGcpOfferingArcAutoProvisioning.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/DefenderForDatabasesGcpOfferingDefenderForDatabasesArcAutoProvisioning.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/DefenderForServersAwsOffering.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/DefenderForServersAwsOfferingArcAutoProvisioning.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/DefenderForServersAwsOfferingDefenderForServers.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/DefenderForServersAwsOfferingMdeAutoProvisioning.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/DefenderForServersAwsOfferingSubPlan.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/DefenderForServersAwsOfferingVaAutoProvisioning.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/DefenderForServersAwsOfferingVaAutoProvisioningConfiguration.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/DefenderForServersAwsOfferingVmScanners.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/DefenderForServersGcpOffering.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/DefenderForServersGcpOfferingArcAutoProvisioning.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/DefenderForServersGcpOfferingDefenderForServers.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/DefenderForServersGcpOfferingMdeAutoProvisioning.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/DefenderForServersGcpOfferingSubPlan.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/DefenderForServersGcpOfferingVaAutoProvisioning.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/DefenderForServersGcpOfferingVaAutoProvisioningConfiguration.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/DefenderForServersGcpOfferingVmScanners.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/DefenderForStorageSetting.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/DefenderForStorageSettingProperties.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/DefenderForStorages.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/DescendantBehavior.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/DevOpsCapability.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/DevOpsConfiguration.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/DevOpsConfigurationListResponse.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/DevOpsConfigurationProperties.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/DevOpsConfigurations.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/DevOpsOperationResults.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/DevOpsPolicies.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/DevOpsPolicy.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/DevOpsPolicyAssignment.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/DevOpsPolicyAssignmentListResponse.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/DevOpsPolicyAssignmentProperties.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/DevOpsPolicyAssignments.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/DevOpsPolicyDescriptor.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/DevOpsPolicyListResponse.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/DevOpsPolicyProperties.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/DevOpsPolicySource.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/DevOpsPolicyType.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/DevOpsProvisioningState.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/DockerHubEnvironmentData.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/EndOfSupportStatus.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/EnvironmentData.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/EnvironmentDetails.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/EnvironmentType.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/Etag.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/EventSource.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/ExecuteGovernanceRuleParams.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/GcpCredentialsDetailsProperties.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/GcpOrganizationalData.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/GcpOrganizationalDataMember.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/GcpOrganizationalDataOrganization.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/GcpProjectDetails.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/GcpProjectEnvironmentData.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/GetSensitivitySettingsListResponse.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/GetSensitivitySettingsResponse.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/GetSensitivitySettingsResponseProperties.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/GetSensitivitySettingsResponsePropertiesMipInformation.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/GitHubOwner.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/GitHubOwnerListResponse.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/GitHubOwnerProperties.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/GitHubOwners.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/GitHubRepos.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/GitHubRepository.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/GitHubRepositoryListResponse.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/GitHubRepositoryProperties.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/GitLabGroup.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/GitLabGroupListResponse.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/GitLabGroupProperties.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/GitLabGroups.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/GitLabProject.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/GitLabProjectListResponse.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/GitLabProjectProperties.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/GitLabProjects.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/GitLabSubgroups.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/GithubScopeEnvironmentData.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/GitlabScopeEnvironmentData.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/GovernanceAssignment.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/GovernanceAssignmentAdditionalData.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/GovernanceAssignments.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/GovernanceAssignmentsList.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/GovernanceEmailNotification.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/GovernanceRule.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/GovernanceRuleEmailNotification.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/GovernanceRuleList.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/GovernanceRuleMetadata.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/GovernanceRuleOwnerSource.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/GovernanceRuleOwnerSourceType.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/GovernanceRuleSourceResourceType.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/GovernanceRuleType.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/GovernanceRules.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/GovernanceRulesOperationResultsHeaders.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/GovernanceRulesOperationResultsResponse.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/HealthDataClassification.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/HealthReport.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/HealthReports.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/HealthReportsList.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/HybridComputeProvisioningState.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/HybridComputeSettingsProperties.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/Identity.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/InfoType.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/InformationProtectionKeyword.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/InformationProtectionPolicies.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/InformationProtectionPolicy.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/InformationProtectionPolicyList.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/InformationProtectionPolicyName.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/InformationType.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/InheritFromParentState.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/Issue.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/JFrogEnvironmentData.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/Label.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/Locations.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/MalwareScan.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/MalwareScanProperties.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/MalwareScanningProperties.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/MdeOnboardingData.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/MdeOnboardingDataList.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/MdeOnboardings.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/MinimalRiskLevel.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/MinimalSeverity.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/MipIntegrationStatus.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/NotificationsSource.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/NotificationsSourceAlert.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/NotificationsSourceAttackPath.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/OfferingType.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/OnUploadProperties.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/OnboardingState.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/Operation.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/OperationDisplay.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/OperationListResult.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/OperationResult.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/OperationResultAutoGenerated.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/OperationStatusAutoGenerated.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/OperationStatusResult.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/Operations.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/Operator.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/OrganizationMembershipType.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/Origin.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/PermissionProperty.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/PropertyType.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/ProxyServerProperties.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/QueryCheck.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/Rank.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/RegulatoryComplianceAssessment.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/RegulatoryComplianceAssessmentList.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/RegulatoryComplianceAssessments.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/RegulatoryComplianceControl.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/RegulatoryComplianceControlList.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/RegulatoryComplianceControls.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/RegulatoryComplianceStandard.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/RegulatoryComplianceStandardList.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/RegulatoryComplianceStandards.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/Remediation.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/RemediationEta.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/ResourceDetailsAutoGenerated.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/ResourceIdentityType.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/RuleCategory.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/RuleResults.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/RuleResultsInput.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/RuleResultsProperties.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/RuleSeverity.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/RuleState.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/RuleStatus.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/RuleType.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/RulesResults.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/RulesResultsInput.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/Scan.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/ScanProperties.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/ScanResult.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/ScanResultProperties.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/ScanResults.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/ScanState.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/ScanSummary.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/ScanTriggerType.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/ScanningMode.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/Scans.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/ScopeElement.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/SecurityConnector.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/SecurityConnectorApplicationOperations.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/SecurityConnectorApplications.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/SecurityConnectors.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/SecurityConnectorsList.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/SecurityContact.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/SecurityContactList.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/SecurityContactName.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/SecurityContactPropertiesNotificationsByRole.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/SecurityContactRole.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/SecurityContacts.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/SecurityOperator.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/SecurityOperatorList.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/SecurityOperators.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/SecuritySubAssessment.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/SecuritySubAssessmentList.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/SecurityTask.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/SecurityTaskList.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/SecurityTaskParameters.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/SensitiveDataDiscoveryProperties.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/SensitivityLabel.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/SensitivitySettings.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/ServerVulnerabilityProperties.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/ServicePrincipalProperties.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/SettingNameAutoGenerated.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/Software.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/SoftwareInventories.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/SoftwaresList.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/SourceType.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/SqlServerVulnerabilityProperties.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/SqlVulnerabilityAssessmentBaselineRules.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/SqlVulnerabilityAssessmentScanResults.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/SqlVulnerabilityAssessmentScans.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/State.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/StatusAutoGenerated.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/StatusName.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/SubAssessmentStatus.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/SubAssessmentStatusCode.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/SubAssessments.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/SubPlan.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/SupportedCloudEnum.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/SuppressionAlertsScope.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/Tags.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/TargetBranchConfiguration.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/TaskUpdateActionType.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/Tasks.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/TrackedResource.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/Type.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/UpdateSensitivitySettingsRequest.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/VaRule.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/VendorReference.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/VmScannersAws.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/VmScannersBase.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/VmScannersBaseConfiguration.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/VmScannersGcp.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/WorkspaceSetting.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/WorkspaceSettingList.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/WorkspaceSettings.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/generated/AlertsSuppressionRulesDeleteSamples.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/generated/AlertsSuppressionRulesGetSamples.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/generated/AlertsSuppressionRulesListSamples.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/generated/AlertsSuppressionRulesUpdateSamples.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/generated/ApplicationOperationCreateOrUpdateSamples.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/generated/ApplicationOperationDeleteSamples.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/generated/ApplicationOperationGetSamples.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/generated/ApplicationsListSamples.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/generated/AutoProvisioningSettingsCreateSamples.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/generated/AutoProvisioningSettingsGetSamples.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/generated/AutoProvisioningSettingsListSamples.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/generated/AutomationsCreateOrUpdateSamples.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/generated/AutomationsDeleteSamples.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/generated/AutomationsGetByResourceGroupSamples.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/generated/AutomationsListByResourceGroupSamples.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/generated/AutomationsListSamples.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/generated/AutomationsUpdateSamples.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/generated/AutomationsValidateSamples.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/generated/AzureDevOpsOrgsCreateOrUpdateSamples.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/generated/AzureDevOpsOrgsGetSamples.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/generated/AzureDevOpsOrgsListAvailableSamples.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/generated/AzureDevOpsOrgsListSamples.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/generated/AzureDevOpsOrgsUpdateSamples.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/generated/AzureDevOpsProjectsCreateOrUpdateSamples.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/generated/AzureDevOpsProjectsGetSamples.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/generated/AzureDevOpsProjectsListSamples.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/generated/AzureDevOpsProjectsUpdateSamples.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/generated/AzureDevOpsReposCreateOrUpdateSamples.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/generated/AzureDevOpsReposGetSamples.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/generated/AzureDevOpsReposListSamples.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/generated/AzureDevOpsReposUpdateSamples.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/generated/CompliancesGetSamples.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/generated/CompliancesListSamples.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/generated/ConnectorsCreateOrUpdateSamples.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/generated/ConnectorsDeleteSamples.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/generated/ConnectorsGetSamples.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/generated/ConnectorsListSamples.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/generated/CustomAssessmentAutomationsCreateSamples.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/generated/CustomAssessmentAutomationsDeleteSamples.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/generated/CustomAssessmentAutomationsGetByResourceGroupSamples.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/generated/CustomAssessmentAutomationsListByResourceGroupSamples.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/generated/CustomAssessmentAutomationsListSamples.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/generated/CustomEntityStoreAssignmentsCreateSamples.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/generated/CustomEntityStoreAssignmentsDeleteSamples.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/generated/CustomEntityStoreAssignmentsGetByResourceGroupSamples.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/generated/CustomEntityStoreAssignmentsListByResourceGroupSamples.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/generated/CustomEntityStoreAssignmentsListSamples.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/generated/DefenderForStorageCancelMalwareScanSamples.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/generated/DefenderForStorageCreateSamples.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/generated/DefenderForStorageGetMalwareScanSamples.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/generated/DefenderForStorageGetSamples.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/generated/DefenderForStorageStartMalwareScanSamples.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/generated/DevOpsConfigurationsCreateOrUpdateSamples.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/generated/DevOpsConfigurationsDeleteSamples.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/generated/DevOpsConfigurationsGetSamples.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/generated/DevOpsConfigurationsListSamples.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/generated/DevOpsConfigurationsUpdateSamples.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/generated/DevOpsOperationResultsGetSamples.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/generated/DevOpsPoliciesGetSamples.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/generated/DevOpsPoliciesListSamples.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/generated/DevOpsPolicyAssignmentsCreateOrUpdateSamples.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/generated/DevOpsPolicyAssignmentsDeleteSamples.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/generated/DevOpsPolicyAssignmentsGetSamples.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/generated/DevOpsPolicyAssignmentsListSamples.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/generated/DevOpsPolicyAssignmentsUpdateSamples.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/generated/GitHubOwnersGetSamples.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/generated/GitHubOwnersListAvailableSamples.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/generated/GitHubOwnersListSamples.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/generated/GitHubReposGetSamples.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/generated/GitHubReposListSamples.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/generated/GitLabGroupsGetSamples.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/generated/GitLabGroupsListAvailableSamples.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/generated/GitLabGroupsListSamples.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/generated/GitLabProjectsGetSamples.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/generated/GitLabProjectsListSamples.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/generated/GitLabSubgroupsListSamples.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/generated/GovernanceAssignmentsCreateOrUpdateSamples.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/generated/GovernanceAssignmentsDeleteSamples.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/generated/GovernanceAssignmentsGetSamples.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/generated/GovernanceAssignmentsListSamples.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/generated/GovernanceRulesCreateOrUpdateSamples.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/generated/GovernanceRulesDeleteSamples.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/generated/GovernanceRulesExecuteSamples.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/generated/GovernanceRulesGetSamples.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/generated/GovernanceRulesListSamples.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/generated/GovernanceRulesOperationResultsSamples.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/generated/HealthReportsGetSamples.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/generated/HealthReportsListSamples.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/generated/InformationProtectionPoliciesCreateOrUpdateSamples.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/generated/InformationProtectionPoliciesGetSamples.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/generated/InformationProtectionPoliciesListSamples.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/generated/LocationsGetSamples.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/generated/LocationsListSamples.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/generated/MdeOnboardingsGetSamples.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/generated/MdeOnboardingsListSamples.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/generated/OperationsListSamples.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/generated/RegulatoryComplianceAssessmentsGetSamples.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/generated/RegulatoryComplianceAssessmentsListSamples.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/generated/RegulatoryComplianceControlsGetSamples.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/generated/RegulatoryComplianceControlsListSamples.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/generated/RegulatoryComplianceStandardsGetSamples.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/generated/RegulatoryComplianceStandardsListSamples.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/generated/SecurityConnectorApplicationOperationCreateOrUpdateSamples.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/generated/SecurityConnectorApplicationOperationDeleteSamples.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/generated/SecurityConnectorApplicationOperationGetSamples.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/generated/SecurityConnectorApplicationsListSamples.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/generated/SecurityConnectorsCreateOrUpdateSamples.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/generated/SecurityConnectorsDeleteSamples.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/generated/SecurityConnectorsGetByResourceGroupSamples.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/generated/SecurityConnectorsListByResourceGroupSamples.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/generated/SecurityConnectorsListSamples.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/generated/SecurityConnectorsUpdateSamples.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/generated/SecurityContactsCreateSamples.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/generated/SecurityContactsDeleteSamples.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/generated/SecurityContactsGetSamples.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/generated/SecurityContactsListSamples.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/generated/SecurityOperatorsCreateOrUpdateSamples.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/generated/SecurityOperatorsDeleteSamples.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/generated/SecurityOperatorsGetSamples.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/generated/SecurityOperatorsListSamples.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/generated/SensitivitySettingsCreateOrUpdateSamples.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/generated/SensitivitySettingsGetSamples.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/generated/SensitivitySettingsListSamples.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/generated/SoftwareInventoriesGetSamples.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/generated/SoftwareInventoriesListByExtendedResourceSamples.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/generated/SoftwareInventoriesListSamples.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/generated/SqlVulnerabilityAssessmentBaselineRulesAddSamples.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/generated/SqlVulnerabilityAssessmentBaselineRulesCreateOrUpdateSamples.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/generated/SqlVulnerabilityAssessmentBaselineRulesDeleteSamples.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/generated/SqlVulnerabilityAssessmentBaselineRulesGetSamples.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/generated/SqlVulnerabilityAssessmentBaselineRulesListSamples.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/generated/SqlVulnerabilityAssessmentScanResultsGetSamples.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/generated/SqlVulnerabilityAssessmentScanResultsListSamples.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/generated/SqlVulnerabilityAssessmentScansGetSamples.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/generated/SqlVulnerabilityAssessmentScansListSamples.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/generated/SubAssessmentsGetSamples.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/generated/SubAssessmentsListAllSamples.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/generated/SubAssessmentsListSamples.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/generated/TasksGetResourceGroupLevelTaskSamples.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/generated/TasksGetSubscriptionLevelTaskSamples.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/generated/TasksListByHomeRegionSamples.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/generated/TasksListByResourceGroupSamples.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/generated/TasksListSamples.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/generated/TasksUpdateResourceGroupLevelTaskStateSamples.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/generated/TasksUpdateSubscriptionLevelTaskStateSamples.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/generated/WorkspaceSettingsCreateSamples.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/generated/WorkspaceSettingsDeleteSamples.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/generated/WorkspaceSettingsGetSamples.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/generated/WorkspaceSettingsListSamples.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/samples/java/com/azure/resourcemanager/security/generated/WorkspaceSettingsUpdateSamples.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/ActionableRemediationTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/AdditionalDataTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/AlertsSuppressionRuleInnerTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/AlertsSuppressionRulePropertiesTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/AlertsSuppressionRulesDeleteWithResponseMockTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/AlertsSuppressionRulesGetWithResponseMockTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/AlertsSuppressionRulesListMockTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/AlertsSuppressionRulesListTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/AlertsSuppressionRulesUpdateWithResponseMockTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/ApplicationInnerTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/ApplicationOperationsCreateOrUpdateWithResponseMockTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/ApplicationOperationsDeleteWithResponseMockTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/ApplicationOperationsGetWithResponseMockTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/ApplicationPropertiesTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/ApplicationsListMockTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/ApplicationsListTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/ArcAutoProvisioningAwsTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/ArcAutoProvisioningConfigurationTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/ArcAutoProvisioningGcpTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/ArcAutoProvisioningTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/AscLocationInnerTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/AscLocationListTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/AuthenticationDetailsPropertiesTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/AuthenticationTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/AutoProvisioningSettingInnerTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/AutoProvisioningSettingListTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/AutoProvisioningSettingPropertiesTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/AutoProvisioningSettingsCreateWithResponseMockTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/AutoProvisioningSettingsGetWithResponseMockTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/AutoProvisioningSettingsListMockTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/AutomationActionEventHubTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/AutomationActionLogicAppTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/AutomationActionTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/AutomationActionWorkspaceTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/AutomationInnerTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/AutomationListTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/AutomationPropertiesTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/AutomationRuleSetTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/AutomationScopeTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/AutomationSourceTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/AutomationTriggeringRuleTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/AutomationUpdateModelTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/AutomationValidationStatusInnerTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/AutomationsCreateOrUpdateWithResponseMockTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/AutomationsDeleteByResourceGroupWithResponseMockTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/AutomationsGetByResourceGroupWithResponseMockTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/AutomationsListByResourceGroupMockTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/AutomationsListMockTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/AutomationsValidateWithResponseMockTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/AwAssumeRoleAuthenticationDetailsPropertiesTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/AwsEnvironmentDataTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/AwsOrganizationalDataMasterTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/AwsOrganizationalDataMemberTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/AwsOrganizationalDataTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/AzureDevOpsOrgInnerTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/AzureDevOpsOrgListResponseInnerTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/AzureDevOpsOrgPropertiesTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/AzureDevOpsOrgsCreateOrUpdateMockTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/AzureDevOpsOrgsGetWithResponseMockTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/AzureDevOpsOrgsListAvailableWithResponseMockTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/AzureDevOpsOrgsListMockTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/AzureDevOpsProjectInnerTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/AzureDevOpsProjectListResponseTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/AzureDevOpsProjectPropertiesTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/AzureDevOpsProjectsCreateOrUpdateMockTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/AzureDevOpsProjectsGetWithResponseMockTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/AzureDevOpsProjectsListMockTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/AzureDevOpsReposCreateOrUpdateMockTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/AzureDevOpsReposGetWithResponseMockTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/AzureDevOpsReposListMockTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/AzureDevOpsRepositoryInnerTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/AzureDevOpsRepositoryListResponseTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/AzureDevOpsRepositoryPropertiesTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/AzureDevOpsScopeEnvironmentDataTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/AzureTrackedResourceLocationTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/BaselineAdjustedResultTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/BaselineTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/BenchmarkReferenceTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/BlobsScanSummaryTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/BuiltInInfoTypeTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/CategoryConfigurationTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/CloudOfferingTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/ComplianceInnerTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/ComplianceListTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/CompliancePropertiesTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/ComplianceSegmentTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/CompliancesGetWithResponseMockTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/CompliancesListMockTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/ConnectorsDeleteWithResponseMockTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/ContainerRegistryVulnerabilityPropertiesTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/CspmMonitorAwsOfferingNativeCloudConnectionTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/CspmMonitorAwsOfferingTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/CspmMonitorAzureDevOpsOfferingTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/CspmMonitorDockerHubOfferingTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/CspmMonitorGcpOfferingNativeCloudConnectionTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/CspmMonitorGcpOfferingTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/CspmMonitorGitLabOfferingTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/CspmMonitorGithubOfferingTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/CspmMonitorJFrogOfferingTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/CustomAssessmentAutomationRequestPropertiesTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/CustomAssessmentAutomationRequestTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/CustomAssessmentAutomationsDeleteByResourceGroupWithResponseMockTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/CustomEntityStoreAssignmentInnerTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/CustomEntityStoreAssignmentPropertiesTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/CustomEntityStoreAssignmentRequestPropertiesTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/CustomEntityStoreAssignmentRequestTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/CustomEntityStoreAssignmentsCreateWithResponseMockTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/CustomEntityStoreAssignmentsDeleteByResourceGroupWithResponseMockTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/CustomEntityStoreAssignmentsGetByResourceGroupWithResponseMockTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/CustomEntityStoreAssignmentsListByResourceGroupMockTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/CustomEntityStoreAssignmentsListMockTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/CustomEntityStoreAssignmentsListResultTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/CveTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/CvssTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/DefenderCspmAwsOfferingCiemDiscoveryTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/DefenderCspmAwsOfferingCiemOidcTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/DefenderCspmAwsOfferingCiemTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/DefenderCspmAwsOfferingDataSensitivityDiscoveryTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/DefenderCspmAwsOfferingDatabasesDspmTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/DefenderCspmAwsOfferingMdcContainersAgentlessDiscoveryK8STests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/DefenderCspmAwsOfferingMdcContainersImageAssessmentTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/DefenderCspmAwsOfferingTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/DefenderCspmAwsOfferingVmScannersTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/DefenderCspmDockerHubOfferingTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/DefenderCspmGcpOfferingCiemDiscoveryTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/DefenderCspmGcpOfferingDataSensitivityDiscoveryTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/DefenderCspmGcpOfferingMdcContainersAgentlessDiscoveryK8STests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/DefenderCspmGcpOfferingMdcContainersImageAssessmentTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/DefenderCspmGcpOfferingTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/DefenderCspmGcpOfferingVmScannersTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/DefenderCspmJFrogOfferingMdcContainersImageAssessmentTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/DefenderCspmJFrogOfferingTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/DefenderFoDatabasesAwsOfferingArcAutoProvisioningTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/DefenderFoDatabasesAwsOfferingDatabasesDspmTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/DefenderFoDatabasesAwsOfferingRdsTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/DefenderFoDatabasesAwsOfferingTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/DefenderForContainersAwsOfferingCloudWatchToKinesisTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/DefenderForContainersAwsOfferingKinesisToS3Tests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/DefenderForContainersAwsOfferingKubernetesDataCollectionTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/DefenderForContainersAwsOfferingKubernetesServiceTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/DefenderForContainersAwsOfferingMdcContainersAgentlessDiscoveryK8STests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/DefenderForContainersAwsOfferingMdcContainersImageAssessmentTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/DefenderForContainersAwsOfferingTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/DefenderForContainersAwsOfferingVmScannersTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/DefenderForContainersDockerHubOfferingTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/DefenderForContainersGcpOfferingDataPipelineNativeCloudConnectionTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/DefenderForContainersGcpOfferingMdcContainersAgentlessDiscoveryK8STests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/DefenderForContainersGcpOfferingMdcContainersImageAssessmentTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/DefenderForContainersGcpOfferingNativeCloudConnectionTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/DefenderForContainersGcpOfferingTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/DefenderForContainersGcpOfferingVmScannersTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/DefenderForContainersJFrogOfferingTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/DefenderForDatabasesGcpOfferingArcAutoProvisioningTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/DefenderForDatabasesGcpOfferingDefenderForDatabasesArcAutoProvisioningTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/DefenderForDatabasesGcpOfferingTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/DefenderForServersAwsOfferingArcAutoProvisioningTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/DefenderForServersAwsOfferingDefenderForServersTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/DefenderForServersAwsOfferingMdeAutoProvisioningTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/DefenderForServersAwsOfferingSubPlanTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/DefenderForServersAwsOfferingTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/DefenderForServersAwsOfferingVaAutoProvisioningConfigurationTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/DefenderForServersAwsOfferingVaAutoProvisioningTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/DefenderForServersAwsOfferingVmScannersTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/DefenderForServersGcpOfferingArcAutoProvisioningTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/DefenderForServersGcpOfferingDefenderForServersTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/DefenderForServersGcpOfferingMdeAutoProvisioningTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/DefenderForServersGcpOfferingSubPlanTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/DefenderForServersGcpOfferingTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/DefenderForServersGcpOfferingVaAutoProvisioningConfigurationTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/DefenderForServersGcpOfferingVaAutoProvisioningTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/DefenderForServersGcpOfferingVmScannersTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/DefenderForStoragesCancelMalwareScanWithResponseMockTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/DefenderForStoragesGetMalwareScanWithResponseMockTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/DefenderForStoragesStartMalwareScanWithResponseMockTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/DevOpsCapabilityTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/DevOpsConfigurationsDeleteMockTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/DevOpsPoliciesGetWithResponseMockTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/DevOpsPoliciesListMockTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/DevOpsPolicyAssignmentInnerTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/DevOpsPolicyAssignmentListResponseTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/DevOpsPolicyAssignmentPropertiesTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/DevOpsPolicyAssignmentsCreateOrUpdateMockTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/DevOpsPolicyAssignmentsGetWithResponseMockTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/DevOpsPolicyAssignmentsListMockTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/DevOpsPolicyDescriptorTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/DevOpsPolicyInnerTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/DevOpsPolicyListResponseTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/DevOpsPolicyPropertiesTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/DockerHubEnvironmentDataTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/EnvironmentDataTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/EnvironmentDetailsTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/EtagTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/ExecuteGovernanceRuleParamsTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/GcpOrganizationalDataMemberTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/GcpOrganizationalDataOrganizationTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/GcpOrganizationalDataTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/GcpProjectDetailsTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/GcpProjectEnvironmentDataTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/GetSensitivitySettingsListResponseInnerTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/GetSensitivitySettingsResponseInnerTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/GetSensitivitySettingsResponsePropertiesMipInformationTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/GetSensitivitySettingsResponsePropertiesTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/GitHubOwnerInnerTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/GitHubOwnerListResponseInnerTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/GitHubOwnerPropertiesTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/GitHubOwnersGetWithResponseMockTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/GitHubOwnersListAvailableWithResponseMockTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/GitHubOwnersListMockTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/GitHubReposGetWithResponseMockTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/GitHubReposListMockTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/GitHubRepositoryInnerTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/GitHubRepositoryListResponseTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/GitHubRepositoryPropertiesTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/GitLabGroupInnerTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/GitLabGroupListResponseInnerTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/GitLabGroupPropertiesTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/GitLabGroupsGetWithResponseMockTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/GitLabGroupsListAvailableWithResponseMockTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/GitLabGroupsListMockTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/GitLabProjectInnerTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/GitLabProjectListResponseTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/GitLabProjectPropertiesTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/GitLabProjectsGetWithResponseMockTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/GitLabProjectsListMockTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/GitLabSubgroupsListWithResponseMockTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/GithubScopeEnvironmentDataTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/GitlabScopeEnvironmentDataTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/GovernanceAssignmentAdditionalDataTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/GovernanceAssignmentInnerTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/GovernanceAssignmentPropertiesTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/GovernanceAssignmentsCreateOrUpdateWithResponseMockTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/GovernanceAssignmentsDeleteWithResponseMockTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/GovernanceAssignmentsGetWithResponseMockTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/GovernanceAssignmentsListMockTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/GovernanceAssignmentsListTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/GovernanceEmailNotificationTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/GovernanceRuleEmailNotificationTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/GovernanceRuleInnerTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/GovernanceRuleListTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/GovernanceRuleMetadataTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/GovernanceRuleOwnerSourceTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/GovernanceRulePropertiesTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/GovernanceRulesCreateOrUpdateWithResponseMockTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/GovernanceRulesDeleteMockTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/GovernanceRulesGetWithResponseMockTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/GovernanceRulesListMockTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/GovernanceRulesOperationResultsWithResponseMockTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/HealthDataClassificationTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/IdentityTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/InfoTypeTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/InformationProtectionKeywordTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/JFrogEnvironmentDataTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/LabelTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/LocationsGetWithResponseMockTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/LocationsListMockTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/MalwareScanInnerTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/MalwareScanPropertiesTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/MdeOnboardingDataInnerTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/MdeOnboardingDataListInnerTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/MdeOnboardingDataPropertiesTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/MdeOnboardingsGetWithResponseMockTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/MdeOnboardingsListWithResponseMockTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/NotificationsSourceAlertTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/NotificationsSourceAttackPathTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/NotificationsSourceTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/OnUploadPropertiesTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/OperationDisplayTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/OperationInnerTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/OperationListResultTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/OperationResultAutoGeneratedInnerTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/OperationsListMockTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/ProxyServerPropertiesTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/QueryCheckTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/RegulatoryComplianceAssessmentInnerTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/RegulatoryComplianceAssessmentListTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/RegulatoryComplianceAssessmentPropertiesTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/RegulatoryComplianceAssessmentsGetWithResponseMockTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/RegulatoryComplianceAssessmentsListMockTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/RegulatoryComplianceControlInnerTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/RegulatoryComplianceControlListTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/RegulatoryComplianceControlPropertiesTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/RegulatoryComplianceControlsGetWithResponseMockTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/RegulatoryComplianceControlsListMockTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/RegulatoryComplianceStandardInnerTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/RegulatoryComplianceStandardListTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/RegulatoryComplianceStandardPropertiesTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/RegulatoryComplianceStandardsGetWithResponseMockTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/RegulatoryComplianceStandardsListMockTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/RemediationEtaTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/RemediationTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/ResourceDetailsAutoGeneratedTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/RuleResultsInnerTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/RuleResultsInputTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/RuleResultsPropertiesTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/RulesResultsInnerTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/RulesResultsInputTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/ScanInnerTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/ScanPropertiesTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/ScanResultInnerTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/ScanResultPropertiesTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/ScanResultsInnerTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/ScanSummaryTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/ScansInnerTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/ScopeElementTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/SecurityConnectorApplicationOperationsCreateOrUpdateWithResponseMockTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/SecurityConnectorApplicationOperationsDeleteWithResponseMockTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/SecurityConnectorApplicationOperationsGetWithResponseMockTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/SecurityConnectorApplicationsListMockTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/SecurityConnectorInnerTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/SecurityConnectorPropertiesTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/SecurityConnectorsCreateOrUpdateWithResponseMockTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/SecurityConnectorsDeleteByResourceGroupWithResponseMockTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/SecurityConnectorsGetByResourceGroupWithResponseMockTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/SecurityConnectorsListByResourceGroupMockTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/SecurityConnectorsListMockTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/SecurityConnectorsListTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/SecurityContactInnerTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/SecurityContactListTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/SecurityContactPropertiesNotificationsByRoleTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/SecurityContactPropertiesTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/SecurityContactsCreateWithResponseMockTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/SecurityContactsDeleteWithResponseMockTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/SecurityContactsGetWithResponseMockTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/SecurityContactsListMockTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/SecurityOperatorInnerTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/SecurityOperatorListInnerTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/SecurityOperatorsCreateOrUpdateWithResponseMockTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/SecurityOperatorsDeleteByResourceGroupWithResponseMockTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/SecurityOperatorsGetWithResponseMockTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/SecurityOperatorsListWithResponseMockTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/SecurityTaskInnerTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/SecurityTaskListTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/SecurityTaskParametersTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/SecurityTaskPropertiesTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/SensitivityLabelTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/SensitivitySettingsCreateOrUpdateWithResponseMockTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/SensitivitySettingsGetWithResponseMockTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/SensitivitySettingsListWithResponseMockTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/ServerVulnerabilityPropertiesTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/SoftwareInnerTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/SoftwareInventoriesGetWithResponseMockTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/SoftwareInventoriesListByExtendedResourceMockTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/SoftwareInventoriesListMockTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/SoftwarePropertiesTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/SoftwaresListTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/SqlServerVulnerabilityPropertiesTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/SqlVulnerabilityAssessmentBaselineRulesAddWithResponseMockTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/SqlVulnerabilityAssessmentBaselineRulesCreateOrUpdateWithResponseMockTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/SqlVulnerabilityAssessmentBaselineRulesDeleteWithResponseMockTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/SqlVulnerabilityAssessmentBaselineRulesGetWithResponseMockTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/SqlVulnerabilityAssessmentBaselineRulesListWithResponseMockTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/SqlVulnerabilityAssessmentScanResultsGetWithResponseMockTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/SqlVulnerabilityAssessmentScanResultsListWithResponseMockTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/SqlVulnerabilityAssessmentScansGetWithResponseMockTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/SqlVulnerabilityAssessmentScansListWithResponseMockTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/SuppressionAlertsScopeTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/TagsTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/TargetBranchConfigurationTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/TasksGetResourceGroupLevelTaskWithResponseMockTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/TasksGetSubscriptionLevelTaskWithResponseMockTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/TasksListByHomeRegionMockTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/TasksListByResourceGroupMockTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/TasksListMockTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/TasksUpdateResourceGroupLevelTaskStateWithResponseMockTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/TasksUpdateSubscriptionLevelTaskStateWithResponseMockTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/TrackedResourceTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/UpdateSensitivitySettingsRequestTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/VaRuleTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/VendorReferenceTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/VmScannersAwsTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/VmScannersBaseConfigurationTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/VmScannersBaseTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/VmScannersGcpTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/WorkspaceSettingInnerTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/WorkspaceSettingListTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/WorkspaceSettingPropertiesTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/WorkspaceSettingsCreateWithResponseMockTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/WorkspaceSettingsDeleteWithResponseMockTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/WorkspaceSettingsGetWithResponseMockTests.java
delete mode 100644 sdk/security/azure-resourcemanager-security/src/test/java/com/azure/resourcemanager/security/generated/WorkspaceSettingsListMockTests.java
diff --git a/eng/versioning/version_client.txt b/eng/versioning/version_client.txt
index 06dd9ec9b2409..67d98326555ef 100644
--- a/eng/versioning/version_client.txt
+++ b/eng/versioning/version_client.txt
@@ -379,7 +379,7 @@ com.azure.resourcemanager:azure-resourcemanager-deviceprovisioningservices;1.0.0
com.azure.resourcemanager:azure-resourcemanager-postgresqlflexibleserver;1.0.0;1.1.0-beta.5
com.azure.resourcemanager:azure-resourcemanager-elastic;1.0.0;1.1.0-beta.1
com.azure.resourcemanager:azure-resourcemanager-webpubsub;1.1.0;1.2.0-beta.1
-com.azure.resourcemanager:azure-resourcemanager-security;1.0.0-beta.8;1.0.0-beta.9
+com.azure.resourcemanager:azure-resourcemanager-security;1.0.0-beta.8;1.0.0
com.azure.resourcemanager:azure-resourcemanager-azurearcdata;1.0.0-beta.4;1.0.0-beta.5
com.azure.resourcemanager:azure-resourcemanager-hybridnetwork;1.1.0;1.2.0-beta.1
com.azure.resourcemanager:azure-resourcemanager-purview;1.0.0-beta.3;1.0.0-beta.4
diff --git a/sdk/security/azure-resourcemanager-security/CHANGELOG.md b/sdk/security/azure-resourcemanager-security/CHANGELOG.md
index 2ab20534e6823..780c12c7f7188 100644
--- a/sdk/security/azure-resourcemanager-security/CHANGELOG.md
+++ b/sdk/security/azure-resourcemanager-security/CHANGELOG.md
@@ -1,15 +1,13 @@
# Release History
-## 1.0.0-beta.9 (Unreleased)
+## 1.0.0 (2024-12-26)
-### Features Added
-
-### Breaking Changes
-
-### Bugs Fixed
+- 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).
### Other Changes
+- Release for Azure Resource Manager Security client library for Java.
+
## 1.0.0-beta.8 (2024-12-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-composite-v3. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).
diff --git a/sdk/security/azure-resourcemanager-security/README.md b/sdk/security/azure-resourcemanager-security/README.md
index 837645e4ec5d5..a768255a18d07 100644
--- a/sdk/security/azure-resourcemanager-security/README.md
+++ b/sdk/security/azure-resourcemanager-security/README.md
@@ -32,7 +32,7 @@ Various documentation is available to help you get started
com.azure.resourcemanager
azure-resourcemanager-security
- 1.0.0-beta.8
+ 1.0.0
```
[//]: # ({x-version-update-end})
diff --git a/sdk/security/azure-resourcemanager-security/SAMPLE.md b/sdk/security/azure-resourcemanager-security/SAMPLE.md
index e095850a82126..a0765d25ba822 100644
--- a/sdk/security/azure-resourcemanager-security/SAMPLE.md
+++ b/sdk/security/azure-resourcemanager-security/SAMPLE.md
@@ -24,13 +24,6 @@
- [UpdateSubscriptionLevelStateToInProgress](#alerts_updatesubscriptionlevelstatetoinprogress)
- [UpdateSubscriptionLevelStateToResolve](#alerts_updatesubscriptionlevelstatetoresolve)
-## AlertsSuppressionRules
-
-- [Delete](#alertssuppressionrules_delete)
-- [Get](#alertssuppressionrules_get)
-- [List](#alertssuppressionrules_list)
-- [Update](#alertssuppressionrules_update)
-
## AllowedConnections
- [Get](#allowedconnections_get)
@@ -46,16 +39,6 @@
- [OffboardAzureApiManagementApi](#apicollections_offboardazureapimanagementapi)
- [OnboardAzureApiManagementApi](#apicollections_onboardazureapimanagementapi)
-## ApplicationOperation
-
-- [CreateOrUpdate](#applicationoperation_createorupdate)
-- [Delete](#applicationoperation_delete)
-- [Get](#applicationoperation_get)
-
-## Applications
-
-- [List](#applications_list)
-
## Assessments
- [CreateOrUpdate](#assessments_createorupdate)
@@ -72,77 +55,11 @@
- [List](#assessmentsmetadata_list)
- [ListBySubscription](#assessmentsmetadata_listbysubscription)
-## AutoProvisioningSettings
-
-- [Create](#autoprovisioningsettings_create)
-- [Get](#autoprovisioningsettings_get)
-- [List](#autoprovisioningsettings_list)
-
-## Automations
-
-- [CreateOrUpdate](#automations_createorupdate)
-- [Delete](#automations_delete)
-- [GetByResourceGroup](#automations_getbyresourcegroup)
-- [List](#automations_list)
-- [ListByResourceGroup](#automations_listbyresourcegroup)
-- [Update](#automations_update)
-- [Validate](#automations_validate)
-
-## AzureDevOpsOrgs
-
-- [CreateOrUpdate](#azuredevopsorgs_createorupdate)
-- [Get](#azuredevopsorgs_get)
-- [List](#azuredevopsorgs_list)
-- [ListAvailable](#azuredevopsorgs_listavailable)
-- [Update](#azuredevopsorgs_update)
-
-## AzureDevOpsProjects
-
-- [CreateOrUpdate](#azuredevopsprojects_createorupdate)
-- [Get](#azuredevopsprojects_get)
-- [List](#azuredevopsprojects_list)
-- [Update](#azuredevopsprojects_update)
-
-## AzureDevOpsRepos
-
-- [CreateOrUpdate](#azuredevopsrepos_createorupdate)
-- [Get](#azuredevopsrepos_get)
-- [List](#azuredevopsrepos_list)
-- [Update](#azuredevopsrepos_update)
-
## ComplianceResults
- [Get](#complianceresults_get)
- [List](#complianceresults_list)
-## Compliances
-
-- [Get](#compliances_get)
-- [List](#compliances_list)
-
-## Connectors
-
-- [CreateOrUpdate](#connectors_createorupdate)
-- [Delete](#connectors_delete)
-- [Get](#connectors_get)
-- [List](#connectors_list)
-
-## CustomAssessmentAutomations
-
-- [Create](#customassessmentautomations_create)
-- [Delete](#customassessmentautomations_delete)
-- [GetByResourceGroup](#customassessmentautomations_getbyresourcegroup)
-- [List](#customassessmentautomations_list)
-- [ListByResourceGroup](#customassessmentautomations_listbyresourcegroup)
-
-## CustomEntityStoreAssignments
-
-- [Create](#customentitystoreassignments_create)
-- [Delete](#customentitystoreassignments_delete)
-- [GetByResourceGroup](#customentitystoreassignments_getbyresourcegroup)
-- [List](#customentitystoreassignments_list)
-- [ListByResourceGroup](#customentitystoreassignments_listbyresourcegroup)
-
## CustomRecommendations
- [CreateOrUpdate](#customrecommendations_createorupdate)
@@ -150,39 +67,6 @@
- [Get](#customrecommendations_get)
- [List](#customrecommendations_list)
-## DefenderForStorage
-
-- [CancelMalwareScan](#defenderforstorage_cancelmalwarescan)
-- [Create](#defenderforstorage_create)
-- [Get](#defenderforstorage_get)
-- [GetMalwareScan](#defenderforstorage_getmalwarescan)
-- [StartMalwareScan](#defenderforstorage_startmalwarescan)
-
-## DevOpsConfigurations
-
-- [CreateOrUpdate](#devopsconfigurations_createorupdate)
-- [Delete](#devopsconfigurations_delete)
-- [Get](#devopsconfigurations_get)
-- [List](#devopsconfigurations_list)
-- [Update](#devopsconfigurations_update)
-
-## DevOpsOperationResults
-
-- [Get](#devopsoperationresults_get)
-
-## DevOpsPolicies
-
-- [Get](#devopspolicies_get)
-- [List](#devopspolicies_list)
-
-## DevOpsPolicyAssignments
-
-- [CreateOrUpdate](#devopspolicyassignments_createorupdate)
-- [Delete](#devopspolicyassignments_delete)
-- [Get](#devopspolicyassignments_get)
-- [List](#devopspolicyassignments_list)
-- [Update](#devopspolicyassignments_update)
-
## DeviceSecurityGroups
- [CreateOrUpdate](#devicesecuritygroups_createorupdate)
@@ -202,59 +86,6 @@
- [List](#externalsecuritysolutions_list)
- [ListByHomeRegion](#externalsecuritysolutions_listbyhomeregion)
-## GitHubOwners
-
-- [Get](#githubowners_get)
-- [List](#githubowners_list)
-- [ListAvailable](#githubowners_listavailable)
-
-## GitHubRepos
-
-- [Get](#githubrepos_get)
-- [List](#githubrepos_list)
-
-## GitLabGroups
-
-- [Get](#gitlabgroups_get)
-- [List](#gitlabgroups_list)
-- [ListAvailable](#gitlabgroups_listavailable)
-
-## GitLabProjects
-
-- [Get](#gitlabprojects_get)
-- [List](#gitlabprojects_list)
-
-## GitLabSubgroups
-
-- [List](#gitlabsubgroups_list)
-
-## GovernanceAssignments
-
-- [CreateOrUpdate](#governanceassignments_createorupdate)
-- [Delete](#governanceassignments_delete)
-- [Get](#governanceassignments_get)
-- [List](#governanceassignments_list)
-
-## GovernanceRules
-
-- [CreateOrUpdate](#governancerules_createorupdate)
-- [Delete](#governancerules_delete)
-- [Execute](#governancerules_execute)
-- [Get](#governancerules_get)
-- [List](#governancerules_list)
-- [OperationResults](#governancerules_operationresults)
-
-## HealthReports
-
-- [Get](#healthreports_get)
-- [List](#healthreports_list)
-
-## InformationProtectionPolicies
-
-- [CreateOrUpdate](#informationprotectionpolicies_createorupdate)
-- [Get](#informationprotectionpolicies_get)
-- [List](#informationprotectionpolicies_list)
-
## IotSecuritySolution
- [CreateOrUpdate](#iotsecuritysolution_createorupdate)
@@ -291,20 +122,6 @@
- [ListByResourceGroup](#jitnetworkaccesspolicies_listbyresourcegroup)
- [ListByResourceGroupAndRegion](#jitnetworkaccesspolicies_listbyresourcegroupandregion)
-## Locations
-
-- [Get](#locations_get)
-- [List](#locations_list)
-
-## MdeOnboardings
-
-- [Get](#mdeonboardings_get)
-- [List](#mdeonboardings_list)
-
-## Operations
-
-- [List](#operations_list)
-
## Pricings
- [Delete](#pricings_delete)
@@ -312,21 +129,6 @@
- [List](#pricings_list)
- [Update](#pricings_update)
-## RegulatoryComplianceAssessments
-
-- [Get](#regulatorycomplianceassessments_get)
-- [List](#regulatorycomplianceassessments_list)
-
-## RegulatoryComplianceControls
-
-- [Get](#regulatorycompliancecontrols_get)
-- [List](#regulatorycompliancecontrols_list)
-
-## RegulatoryComplianceStandards
-
-- [Get](#regulatorycompliancestandards_get)
-- [List](#regulatorycompliancestandards_list)
-
## SecureScoreControlDefinitions
- [List](#securescorecontroldefinitions_list)
@@ -342,39 +144,6 @@
- [Get](#securescores_get)
- [List](#securescores_list)
-## SecurityConnectorApplicationOperation
-
-- [CreateOrUpdate](#securityconnectorapplicationoperation_createorupdate)
-- [Delete](#securityconnectorapplicationoperation_delete)
-- [Get](#securityconnectorapplicationoperation_get)
-
-## SecurityConnectorApplications
-
-- [List](#securityconnectorapplications_list)
-
-## SecurityConnectors
-
-- [CreateOrUpdate](#securityconnectors_createorupdate)
-- [Delete](#securityconnectors_delete)
-- [GetByResourceGroup](#securityconnectors_getbyresourcegroup)
-- [List](#securityconnectors_list)
-- [ListByResourceGroup](#securityconnectors_listbyresourcegroup)
-- [Update](#securityconnectors_update)
-
-## SecurityContacts
-
-- [Create](#securitycontacts_create)
-- [Delete](#securitycontacts_delete)
-- [Get](#securitycontacts_get)
-- [List](#securitycontacts_list)
-
-## SecurityOperators
-
-- [CreateOrUpdate](#securityoperators_createorupdate)
-- [Delete](#securityoperators_delete)
-- [Get](#securityoperators_get)
-- [List](#securityoperators_list)
-
## SecuritySolutions
- [Get](#securitysolutions_get)
@@ -392,12 +161,6 @@
- [Get](#securitystandards_get)
- [List](#securitystandards_list)
-## SensitivitySettings
-
-- [CreateOrUpdate](#sensitivitysettings_createorupdate)
-- [Get](#sensitivitysettings_get)
-- [List](#sensitivitysettings_list)
-
## ServerVulnerabilityAssessment
- [CreateOrUpdate](#servervulnerabilityassessment_createorupdate)
@@ -418,30 +181,6 @@
- [List](#settings_list)
- [Update](#settings_update)
-## SoftwareInventories
-
-- [Get](#softwareinventories_get)
-- [List](#softwareinventories_list)
-- [ListByExtendedResource](#softwareinventories_listbyextendedresource)
-
-## SqlVulnerabilityAssessmentBaselineRules
-
-- [Add](#sqlvulnerabilityassessmentbaselinerules_add)
-- [CreateOrUpdate](#sqlvulnerabilityassessmentbaselinerules_createorupdate)
-- [Delete](#sqlvulnerabilityassessmentbaselinerules_delete)
-- [Get](#sqlvulnerabilityassessmentbaselinerules_get)
-- [List](#sqlvulnerabilityassessmentbaselinerules_list)
-
-## SqlVulnerabilityAssessmentScanResults
-
-- [Get](#sqlvulnerabilityassessmentscanresults_get)
-- [List](#sqlvulnerabilityassessmentscanresults_list)
-
-## SqlVulnerabilityAssessmentScans
-
-- [Get](#sqlvulnerabilityassessmentscans_get)
-- [List](#sqlvulnerabilityassessmentscans_list)
-
## StandardAssignments
- [Create](#standardassignments_create)
@@ -449,35 +188,11 @@
- [Get](#standardassignments_get)
- [List](#standardassignments_list)
-## SubAssessments
-
-- [Get](#subassessments_get)
-- [List](#subassessments_list)
-- [ListAll](#subassessments_listall)
-
-## Tasks
-
-- [GetResourceGroupLevelTask](#tasks_getresourcegroupleveltask)
-- [GetSubscriptionLevelTask](#tasks_getsubscriptionleveltask)
-- [List](#tasks_list)
-- [ListByHomeRegion](#tasks_listbyhomeregion)
-- [ListByResourceGroup](#tasks_listbyresourcegroup)
-- [UpdateResourceGroupLevelTaskState](#tasks_updateresourcegroupleveltaskstate)
-- [UpdateSubscriptionLevelTaskState](#tasks_updatesubscriptionleveltaskstate)
-
## Topology
- [Get](#topology_get)
- [List](#topology_list)
- [ListByHomeRegion](#topology_listbyhomeregion)
-
-## WorkspaceSettings
-
-- [Create](#workspacesettings_create)
-- [Delete](#workspacesettings_delete)
-- [Get](#workspacesettings_get)
-- [List](#workspacesettings_list)
-- [Update](#workspacesettings_update)
### AdvancedThreatProtection_Create
```java
@@ -908,152 +623,6 @@ public final class AlertsUpdateSubscriptionLevelStateToResolveSamples {
}
```
-### AlertsSuppressionRules_Delete
-
-```java
-/**
- * Samples for AlertsSuppressionRules Delete.
- */
-public final class AlertsSuppressionRulesDeleteSamples {
- /*
- * x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/
- * AlertsSuppressionRules/DeleteAlertsSuppressionRule_example.json
- */
- /**
- * Sample code: Delete suppression rule data for a subscription.
- *
- * @param manager Entry point to SecurityManager.
- */
- public static void
- deleteSuppressionRuleDataForASubscription(com.azure.resourcemanager.security.SecurityManager manager) {
- manager.alertsSuppressionRules().deleteWithResponse("dismissIpAnomalyAlerts", com.azure.core.util.Context.NONE);
- }
-}
-```
-
-### AlertsSuppressionRules_Get
-
-```java
-/**
- * Samples for AlertsSuppressionRules Get.
- */
-public final class AlertsSuppressionRulesGetSamples {
- /*
- * x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/
- * AlertsSuppressionRules/GetAlertsSuppressionRule_example.json
- */
- /**
- * Sample code: Get suppression alert rule for subscription.
- *
- * @param manager Entry point to SecurityManager.
- */
- public static void
- getSuppressionAlertRuleForSubscription(com.azure.resourcemanager.security.SecurityManager manager) {
- manager.alertsSuppressionRules().getWithResponse("dismissIpAnomalyAlerts", com.azure.core.util.Context.NONE);
- }
-}
-```
-
-### AlertsSuppressionRules_List
-
-```java
-/**
- * Samples for AlertsSuppressionRules List.
- */
-public final class AlertsSuppressionRulesListSamples {
- /*
- * x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/
- * AlertsSuppressionRules/GetAlertsSuppressionRules_example.json
- */
- /**
- * Sample code: Get suppression rules for subscription.
- *
- * @param manager Entry point to SecurityManager.
- */
- public static void getSuppressionRulesForSubscription(com.azure.resourcemanager.security.SecurityManager manager) {
- manager.alertsSuppressionRules().list(null, com.azure.core.util.Context.NONE);
- }
-
- /*
- * x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/
- * AlertsSuppressionRules/GetAlertsSuppressionRulesWithAlertType_example.json
- */
- /**
- * Sample code: Get suppression alert rule for subscription, filtered by AlertType.
- *
- * @param manager Entry point to SecurityManager.
- */
- public static void getSuppressionAlertRuleForSubscriptionFilteredByAlertType(
- com.azure.resourcemanager.security.SecurityManager manager) {
- manager.alertsSuppressionRules().list("IpAnomaly", com.azure.core.util.Context.NONE);
- }
-}
-```
-
-### AlertsSuppressionRules_Update
-
-```java
-import com.azure.core.management.serializer.SerializerFactory;
-import com.azure.core.util.serializer.SerializerEncoding;
-import com.azure.resourcemanager.security.fluent.models.AlertsSuppressionRuleInner;
-import com.azure.resourcemanager.security.models.RuleState;
-import com.azure.resourcemanager.security.models.ScopeElement;
-import com.azure.resourcemanager.security.models.SuppressionAlertsScope;
-import java.io.IOException;
-import java.time.OffsetDateTime;
-import java.util.Arrays;
-import java.util.HashMap;
-import java.util.Map;
-
-/**
- * Samples for AlertsSuppressionRules Update.
- */
-public final class AlertsSuppressionRulesUpdateSamples {
- /*
- * x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/
- * AlertsSuppressionRules/PutAlertsSuppressionRule_example.json
- */
- /**
- * Sample code: Update or create suppression rule for subscription.
- *
- * @param manager Entry point to SecurityManager.
- */
- public static void updateOrCreateSuppressionRuleForSubscription(
- com.azure.resourcemanager.security.SecurityManager manager) throws IOException {
- manager.alertsSuppressionRules()
- .updateWithResponse("dismissIpAnomalyAlerts", new AlertsSuppressionRuleInner().withAlertType("IpAnomaly")
- .withExpirationDateUtc(OffsetDateTime.parse("2019-12-01T19:50:47.083633Z"))
- .withReason("FalsePositive")
- .withState(RuleState.ENABLED)
- .withComment("Test VM")
- .withSuppressionAlertsScope(new SuppressionAlertsScope().withAllOf(Arrays.asList(new ScopeElement()
- .withField("entities.ip.address")
- .withAdditionalProperties(mapOf("in", SerializerFactory.createDefaultManagementSerializerAdapter()
- .deserialize("[\"104.215.95.187\",\"52.164.206.56\"]", Object.class, SerializerEncoding.JSON))),
- new ScopeElement().withField("entities.process.commandline")
- .withAdditionalProperties(mapOf("contains", "POWERSHELL.EXE"))))),
- com.azure.core.util.Context.NONE);
- }
-
- // Use "Map.of" if available
- @SuppressWarnings("unchecked")
- private static Map mapOf(Object... inputs) {
- Map map = new HashMap<>();
- for (int i = 0; i < inputs.length; i += 2) {
- String key = (String) inputs[i];
- T value = (T) inputs[i + 1];
- map.put(key, value);
- }
- return map;
- }
-}
-```
-
### AllowedConnections_Get
```java
@@ -1280,117 +849,6 @@ public final class ApiCollectionsOnboardAzureApiManagementApiSamples {
}
```
-### ApplicationOperation_CreateOrUpdate
-
-```java
-import com.azure.core.management.serializer.SerializerFactory;
-import com.azure.core.util.serializer.SerializerEncoding;
-import com.azure.resourcemanager.security.models.ApplicationSourceResourceType;
-import java.io.IOException;
-import java.util.Arrays;
-
-/**
- * Samples for ApplicationOperation CreateOrUpdate.
- */
-public final class ApplicationOperationCreateOrUpdateSamples {
- /*
- * x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/preview/2022-07-01-preview/examples/Applications/
- * PutApplication_example.json
- */
- /**
- * Sample code: Create application.
- *
- * @param manager Entry point to SecurityManager.
- */
- public static void createApplication(com.azure.resourcemanager.security.SecurityManager manager)
- throws IOException {
- manager.applicationOperations()
- .define("ad9a8e26-29d9-4829-bb30-e597a58cdbb8")
- .withDisplayName("Admin's application")
- .withDescription("An application on critical recommendations")
- .withSourceResourceType(ApplicationSourceResourceType.ASSESSMENTS)
- .withConditionSets(Arrays.asList(SerializerFactory.createDefaultManagementSerializerAdapter()
- .deserialize("{\"conditions\":[{\"operator\":\"contains\",\"property\":\"$.Id\",\"value\":\"-bil-\"}]}",
- Object.class, SerializerEncoding.JSON)))
- .create();
- }
-}
-```
-
-### ApplicationOperation_Delete
-
-```java
-/**
- * Samples for ApplicationOperation Delete.
- */
-public final class ApplicationOperationDeleteSamples {
- /*
- * x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/preview/2022-07-01-preview/examples/Applications/
- * DeleteApplication_example.json
- */
- /**
- * Sample code: Delete security Application.
- *
- * @param manager Entry point to SecurityManager.
- */
- public static void deleteSecurityApplication(com.azure.resourcemanager.security.SecurityManager manager) {
- manager.applicationOperations()
- .deleteWithResponse("ad9a8e26-29d9-4829-bb30-e597a58cdbb8", com.azure.core.util.Context.NONE);
- }
-}
-```
-
-### ApplicationOperation_Get
-
-```java
-/**
- * Samples for ApplicationOperation Get.
- */
-public final class ApplicationOperationGetSamples {
- /*
- * x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/preview/2022-07-01-preview/examples/Applications/
- * GetApplication_example.json
- */
- /**
- * Sample code: Get security application by specific applicationId.
- *
- * @param manager Entry point to SecurityManager.
- */
- public static void
- getSecurityApplicationBySpecificApplicationId(com.azure.resourcemanager.security.SecurityManager manager) {
- manager.applicationOperations()
- .getWithResponse("ad9a8e26-29d9-4829-bb30-e597a58cdbb8", com.azure.core.util.Context.NONE);
- }
-}
-```
-
-### Applications_List
-
-```java
-/**
- * Samples for Applications List.
- */
-public final class ApplicationsListSamples {
- /*
- * x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/preview/2022-07-01-preview/examples/Applications/
- * ListBySubscriptionApplications_example.json
- */
- /**
- * Sample code: List applications security by subscription level scope.
- *
- * @param manager Entry point to SecurityManager.
- */
- public static void
- listApplicationsSecurityBySubscriptionLevelScope(com.azure.resourcemanager.security.SecurityManager manager) {
- manager.applications().list(com.azure.core.util.Context.NONE);
- }
-}
-```
-
### Assessments_CreateOrUpdate
```java
@@ -1689,7151 +1147,2556 @@ public final class AssessmentsMetadataListBySubscriptionSamples {
}
```
-### AutoProvisioningSettings_Create
+### ComplianceResults_Get
```java
-import com.azure.resourcemanager.security.models.AutoProvision;
-
/**
- * Samples for AutoProvisioningSettings Create.
+ * Samples for ComplianceResults Get.
*/
-public final class AutoProvisioningSettingsCreateSamples {
+public final class ComplianceResultsGetSamples {
/*
* x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/examples/
- * AutoProvisioningSettings/CreateAutoProvisioningSettingsSubscription_example.json
+ * specification/security/resource-manager/Microsoft.Security/stable/2017-08-01/examples/ComplianceResults/
+ * GetComplianceResults_example.json
*/
/**
- * Sample code: Create auto provisioning settings for subscription.
+ * Sample code: Get compliance results on subscription.
*
* @param manager Entry point to SecurityManager.
*/
- public static void
- createAutoProvisioningSettingsForSubscription(com.azure.resourcemanager.security.SecurityManager manager) {
- manager.autoProvisioningSettings().define("default").withAutoProvision(AutoProvision.ON).create();
- }
-}
-```
-
-### AutoProvisioningSettings_Get
-
-```java
-/**
- * Samples for AutoProvisioningSettings Get.
- */
-public final class AutoProvisioningSettingsGetSamples {
- /*
- * x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/examples/
- * AutoProvisioningSettings/GetAutoProvisioningSettingSubscription_example.json
- */
- /**
- * Sample code: Get an auto provisioning setting for subscription.
- *
- * @param manager Entry point to SecurityManager.
- */
- public static void
- getAnAutoProvisioningSettingForSubscription(com.azure.resourcemanager.security.SecurityManager manager) {
- manager.autoProvisioningSettings().getWithResponse("default", com.azure.core.util.Context.NONE);
+ public static void getComplianceResultsOnSubscription(com.azure.resourcemanager.security.SecurityManager manager) {
+ manager.complianceResults()
+ .getWithResponse("subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23", "DesignateMoreThanOneOwner",
+ com.azure.core.util.Context.NONE);
}
}
```
-### AutoProvisioningSettings_List
+### ComplianceResults_List
```java
/**
- * Samples for AutoProvisioningSettings List.
+ * Samples for ComplianceResults List.
*/
-public final class AutoProvisioningSettingsListSamples {
+public final class ComplianceResultsListSamples {
/*
* x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/examples/
- * AutoProvisioningSettings/GetAutoProvisioningSettingsSubscription_example.json
+ * specification/security/resource-manager/Microsoft.Security/stable/2017-08-01/examples/ComplianceResults/
+ * ListComplianceResults_example.json
*/
/**
- * Sample code: Get auto provisioning settings for subscription.
+ * Sample code: Get compliance results on subscription.
*
* @param manager Entry point to SecurityManager.
*/
- public static void
- getAutoProvisioningSettingsForSubscription(com.azure.resourcemanager.security.SecurityManager manager) {
- manager.autoProvisioningSettings().list(com.azure.core.util.Context.NONE);
+ public static void getComplianceResultsOnSubscription(com.azure.resourcemanager.security.SecurityManager manager) {
+ manager.complianceResults()
+ .list("subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23", com.azure.core.util.Context.NONE);
}
}
```
-### Automations_CreateOrUpdate
+### CustomRecommendations_CreateOrUpdate
```java
-import com.azure.resourcemanager.security.models.AutomationActionLogicApp;
-import com.azure.resourcemanager.security.models.AutomationRuleSet;
-import com.azure.resourcemanager.security.models.AutomationScope;
-import com.azure.resourcemanager.security.models.AutomationSource;
-import com.azure.resourcemanager.security.models.AutomationTriggeringRule;
-import com.azure.resourcemanager.security.models.EventSource;
-import com.azure.resourcemanager.security.models.Operator;
-import com.azure.resourcemanager.security.models.PropertyType;
+import com.azure.resourcemanager.security.models.RecommendationSupportedClouds;
+import com.azure.resourcemanager.security.models.SecurityIssue;
+import com.azure.resourcemanager.security.models.SeverityEnum;
import java.util.Arrays;
-import java.util.HashMap;
-import java.util.Map;
/**
- * Samples for Automations CreateOrUpdate.
+ * Samples for CustomRecommendations CreateOrUpdate.
*/
-public final class AutomationsCreateOrUpdateSamples {
+public final class CustomRecommendationsCreateOrUpdateSamples {
/*
* x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/preview/2023-12-01-preview/examples/Automations/
- * PutAutomationAllAssessments_example.json
+ * specification/security/resource-manager/Microsoft.Security/stable/2024-08-01/examples/CustomRecommendations/
+ * PutBySecurityConnectorCustomRecommendation_example.json
*/
/**
- * Sample code: Create or update a security automation for all assessments (including all severities).
+ * Sample code: Create or update custom recommendation over security connector scope.
*
* @param manager Entry point to SecurityManager.
*/
- public static void createOrUpdateASecurityAutomationForAllAssessmentsIncludingAllSeverities(
+ public static void createOrUpdateCustomRecommendationOverSecurityConnectorScope(
com.azure.resourcemanager.security.SecurityManager manager) {
- manager.automations()
- .define("exampleAutomation")
- .withRegion("Central US")
- .withExistingResourceGroup("exampleResourceGroup")
- .withTags(mapOf())
- .withDescription(
- "An example of a security automation that triggers one LogicApp resource (myTest1) on any security assessment")
- .withIsEnabled(true)
- .withScopes(Arrays.asList(new AutomationScope().withDescription(
- "A description that helps to identify this scope - for example: security assessments that relate to the resource group myResourceGroup within the subscription a5caac9c-5c04-49af-b3d0-e204f40345d5")
- .withScopePath("/subscriptions/a5caac9c-5c04-49af-b3d0-e204f40345d5/resourceGroups/myResourceGroup")))
- .withSources(Arrays.asList(new AutomationSource().withEventSource(EventSource.ASSESSMENTS)))
- .withActions(Arrays.asList(new AutomationActionLogicApp().withLogicAppResourceId(
- "/subscriptions/e54a4a18-5b94-4f90-9471-bd3decad8a2e/resourceGroups/sample/providers/Microsoft.Logic/workflows/MyTest1")
- .withUri("https://exampleTriggerUri1.com")))
+ manager.customRecommendations()
+ .define("33e7cc6e-a139-4723-a0e5-76993aee0771")
+ .withExistingScope(
+ "subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/gcpResourceGroup/providers/Microsoft.Security/securityConnectors/gcpconnector")
+ .withQuery(
+ "RawEntityMetadata | where Environment == 'GCP' and Identifiers.Type == 'compute.firewalls' | extend IslogConfigEnabled = tobool(Record.logConfig.enable) | extend HealthStatus = iff(IslogConfigEnabled, 'HEALTHY', 'UNHEALTHY')")
+ .withCloudProviders(Arrays.asList(RecommendationSupportedClouds.AWS))
+ .withSeverity(SeverityEnum.MEDIUM)
+ .withSecurityIssue(SecurityIssue.VULNERABILITY)
+ .withDisplayName("Password Policy")
+ .withDescription("organization passwords policy")
+ .withRemediationDescription("Change password policy to...")
.create();
}
/*
* x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/preview/2023-12-01-preview/examples/Automations/
- * PutDisableAutomation_example.json
+ * specification/security/resource-manager/Microsoft.Security/stable/2024-08-01/examples/CustomRecommendations/
+ * PutBySubscriptionCustomRecommendation_example.json
*/
/**
- * Sample code: Disable or enable a security automation.
+ * Sample code: Create or update custom recommendation over subscription scope.
*
* @param manager Entry point to SecurityManager.
*/
- public static void disableOrEnableASecurityAutomation(com.azure.resourcemanager.security.SecurityManager manager) {
- manager.automations()
- .define("exampleAutomation")
- .withRegion("Central US")
- .withExistingResourceGroup("exampleResourceGroup")
- .withTags(mapOf())
- .withDescription(
- "An example of a security automation that triggers one LogicApp resource (myTest1) on any security assessment of type customAssessment")
- .withIsEnabled(false)
- .withScopes(Arrays.asList(new AutomationScope().withDescription(
- "A description that helps to identify this scope - for example: security assessments that relate to the resource group myResourceGroup within the subscription a5caac9c-5c04-49af-b3d0-e204f40345d5")
- .withScopePath("/subscriptions/a5caac9c-5c04-49af-b3d0-e204f40345d5/resourceGroups/myResourceGroup")))
- .withSources(Arrays.asList(new AutomationSource().withEventSource(EventSource.ASSESSMENTS)
- .withRuleSets(Arrays.asList(new AutomationRuleSet()
- .withRules(Arrays.asList(new AutomationTriggeringRule().withPropertyJPath("$.Entity.AssessmentType")
- .withPropertyType(PropertyType.STRING)
- .withExpectedValue("customAssessment")
- .withOperator(Operator.EQUALS)))))))
- .withActions(Arrays.asList(new AutomationActionLogicApp().withLogicAppResourceId(
- "/subscriptions/e54a4a18-5b94-4f90-9471-bd3decad8a2e/resourceGroups/sample/providers/Microsoft.Logic/workflows/MyTest1")
- .withUri("https://exampleTriggerUri1.com")))
+ public static void createOrUpdateCustomRecommendationOverSubscriptionScope(
+ com.azure.resourcemanager.security.SecurityManager manager) {
+ manager.customRecommendations()
+ .define("33e7cc6e-a139-4723-a0e5-76993aee0771")
+ .withExistingScope("subscriptions/e5d1b86c-3051-44d5-8802-aa65d45a279b")
+ .withQuery(
+ "RawEntityMetadata | where Environment == 'GCP' and Identifiers.Type == 'compute.firewalls' | extend IslogConfigEnabled = tobool(Record.logConfig.enable) | extend HealthStatus = iff(IslogConfigEnabled, 'HEALTHY', 'UNHEALTHY')")
+ .withCloudProviders(Arrays.asList(RecommendationSupportedClouds.AWS))
+ .withSeverity(SeverityEnum.MEDIUM)
+ .withSecurityIssue(SecurityIssue.VULNERABILITY)
+ .withDisplayName("Password Policy")
+ .withDescription("organization passwords policy")
+ .withRemediationDescription("Change password policy to...")
.create();
}
/*
* x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/preview/2023-12-01-preview/examples/Automations/
- * PutAutomationHighSeverityAssessments_example.json
+ * specification/security/resource-manager/Microsoft.Security/stable/2024-08-01/examples/CustomRecommendations/
+ * PutByManagementGroupCustomRecommendation_example.json
*/
/**
- * Sample code: Create or update a security automation for all high severity assessments.
+ * Sample code: Create or update custom recommendation over management group scope.
*
* @param manager Entry point to SecurityManager.
*/
- public static void createOrUpdateASecurityAutomationForAllHighSeverityAssessments(
+ public static void createOrUpdateCustomRecommendationOverManagementGroupScope(
com.azure.resourcemanager.security.SecurityManager manager) {
- manager.automations()
- .define("exampleAutomation")
- .withRegion("Central US")
- .withExistingResourceGroup("exampleResourceGroup")
- .withTags(mapOf())
- .withDescription(
- "An example of a security automation that triggers one LogicApp resource (myTest1) on any high severity security assessment")
- .withIsEnabled(true)
- .withScopes(Arrays.asList(new AutomationScope().withDescription(
- "A description that helps to identify this scope - for example: security assessments that relate to the resource group myResourceGroup within the subscription a5caac9c-5c04-49af-b3d0-e204f40345d5")
- .withScopePath("/subscriptions/a5caac9c-5c04-49af-b3d0-e204f40345d5/resourceGroups/myResourceGroup")))
- .withSources(Arrays.asList(new AutomationSource().withEventSource(EventSource.ASSESSMENTS)
- .withRuleSets(Arrays.asList(new AutomationRuleSet().withRules(
- Arrays.asList(new AutomationTriggeringRule().withPropertyJPath("properties.metadata.severity")
- .withPropertyType(PropertyType.STRING)
- .withExpectedValue("High")
- .withOperator(Operator.EQUALS)))))))
- .withActions(Arrays.asList(new AutomationActionLogicApp().withLogicAppResourceId(
- "/subscriptions/e54a4a18-5b94-4f90-9471-bd3decad8a2e/resourceGroups/sample/providers/Microsoft.Logic/workflows/MyTest1")
- .withUri("https://exampleTriggerUri1.com")))
+ manager.customRecommendations()
+ .define("33e7cc6e-a139-4723-a0e5-76993aee0771")
+ .withExistingScope("providers/Microsoft.Management/managementGroups/contoso")
+ .withQuery(
+ "RawEntityMetadata | where Environment == 'GCP' and Identifiers.Type == 'compute.firewalls' | extend IslogConfigEnabled = tobool(Record.logConfig.enable) | extend HealthStatus = iff(IslogConfigEnabled, 'HEALTHY', 'UNHEALTHY')")
+ .withCloudProviders(Arrays.asList(RecommendationSupportedClouds.AWS))
+ .withSeverity(SeverityEnum.MEDIUM)
+ .withSecurityIssue(SecurityIssue.VULNERABILITY)
+ .withDisplayName("Password Policy")
+ .withDescription("organization passwords policy")
+ .withRemediationDescription("Change password policy to...")
.create();
}
-
- // Use "Map.of" if available
- @SuppressWarnings("unchecked")
- private static Map mapOf(Object... inputs) {
- Map map = new HashMap<>();
- for (int i = 0; i < inputs.length; i += 2) {
- String key = (String) inputs[i];
- T value = (T) inputs[i + 1];
- map.put(key, value);
- }
- return map;
- }
}
```
-### Automations_Delete
+### CustomRecommendations_Delete
```java
/**
- * Samples for Automations Delete.
+ * Samples for CustomRecommendations Delete.
*/
-public final class AutomationsDeleteSamples {
+public final class CustomRecommendationsDeleteSamples {
/*
* x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/preview/2023-12-01-preview/examples/Automations/
- * DeleteAutomation_example.json
+ * specification/security/resource-manager/Microsoft.Security/stable/2024-08-01/examples/CustomRecommendations/
+ * DeleteBySecurityConnectorCustomRecommendation_example.json
*/
/**
- * Sample code: Delete a security automation.
+ * Sample code: Delete a custom recommendation over security connector scope.
*
* @param manager Entry point to SecurityManager.
*/
- public static void deleteASecurityAutomation(com.azure.resourcemanager.security.SecurityManager manager) {
- manager.automations()
- .deleteByResourceGroupWithResponse("myRg", "myAutomationName", com.azure.core.util.Context.NONE);
+ public static void deleteACustomRecommendationOverSecurityConnectorScope(
+ com.azure.resourcemanager.security.SecurityManager manager) {
+ manager.customRecommendations()
+ .deleteByResourceGroupWithResponse(
+ "subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/gcpResourceGroup/providers/Microsoft.Security/securityConnectors/gcpconnector",
+ "ad9a8e26-29d9-4829-bb30-e597a58cdbb8", com.azure.core.util.Context.NONE);
}
-}
-```
-### Automations_GetByResourceGroup
-
-```java
-/**
- * Samples for Automations GetByResourceGroup.
- */
-public final class AutomationsGetByResourceGroupSamples {
/*
* x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/preview/2023-12-01-preview/examples/Automations/
- * GetAutomationResourceGroup_example.json
+ * specification/security/resource-manager/Microsoft.Security/stable/2024-08-01/examples/CustomRecommendations/
+ * DeleteBySubscriptionCustomRecommendation_example.json
*/
/**
- * Sample code: Retrieve a security automation.
+ * Sample code: Delete a custom recommendation over subscription scope.
*
* @param manager Entry point to SecurityManager.
*/
- public static void retrieveASecurityAutomation(com.azure.resourcemanager.security.SecurityManager manager) {
- manager.automations()
- .getByResourceGroupWithResponse("exampleResourceGroup", "exampleAutomation",
- com.azure.core.util.Context.NONE);
+ public static void
+ deleteACustomRecommendationOverSubscriptionScope(com.azure.resourcemanager.security.SecurityManager manager) {
+ manager.customRecommendations()
+ .deleteByResourceGroupWithResponse("subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23",
+ "1f3afdf9-d0c9-4c3d-847f-89da613e70a8", com.azure.core.util.Context.NONE);
}
-}
-```
-
-### Automations_List
-```java
-/**
- * Samples for Automations List.
- */
-public final class AutomationsListSamples {
/*
* x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/preview/2023-12-01-preview/examples/Automations/
- * GetAutomationsSubscription_example.json
+ * specification/security/resource-manager/Microsoft.Security/stable/2024-08-01/examples/CustomRecommendations/
+ * DeleteByManagementGroupCustomRecommendation_example.json
*/
/**
- * Sample code: List all security automations of a specified subscription.
+ * Sample code: Delete a custom recommendation over management group scope.
*
* @param manager Entry point to SecurityManager.
*/
- public static void
- listAllSecurityAutomationsOfASpecifiedSubscription(com.azure.resourcemanager.security.SecurityManager manager) {
- manager.automations().list(com.azure.core.util.Context.NONE);
+ public static void deleteACustomRecommendationOverManagementGroupScope(
+ com.azure.resourcemanager.security.SecurityManager manager) {
+ manager.customRecommendations()
+ .deleteByResourceGroupWithResponse("providers/Microsoft.Management/managementGroups/contoso",
+ "ad9a8e26-29d9-4829-bb30-e597a58cdbb8", com.azure.core.util.Context.NONE);
}
}
```
-### Automations_ListByResourceGroup
+### CustomRecommendations_Get
```java
/**
- * Samples for Automations ListByResourceGroup.
+ * Samples for CustomRecommendations Get.
*/
-public final class AutomationsListByResourceGroupSamples {
+public final class CustomRecommendationsGetSamples {
/*
* x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/preview/2023-12-01-preview/examples/Automations/
- * GetAutomationsResourceGroup_example.json
+ * specification/security/resource-manager/Microsoft.Security/stable/2024-08-01/examples/CustomRecommendations/
+ * GetByManagementGroupCustomRecommendation_example.json
*/
/**
- * Sample code: List all security automations of a specified resource group.
+ * Sample code: Get a custom recommendation over management group scope.
*
* @param manager Entry point to SecurityManager.
*/
- public static void listAllSecurityAutomationsOfASpecifiedResourceGroup(
- com.azure.resourcemanager.security.SecurityManager manager) {
- manager.automations().listByResourceGroup("exampleResourceGroup", com.azure.core.util.Context.NONE);
+ public static void
+ getACustomRecommendationOverManagementGroupScope(com.azure.resourcemanager.security.SecurityManager manager) {
+ manager.customRecommendations()
+ .getWithResponse("providers/Microsoft.Management/managementGroups/contoso",
+ "1f3afdf9-d0c9-4c3d-847f-89da613e70a8", com.azure.core.util.Context.NONE);
}
-}
-```
-
-### Automations_Update
-
-```java
-import com.azure.resourcemanager.security.models.Automation;
-import com.azure.resourcemanager.security.models.AutomationActionLogicApp;
-import com.azure.resourcemanager.security.models.AutomationScope;
-import com.azure.resourcemanager.security.models.AutomationSource;
-import com.azure.resourcemanager.security.models.EventSource;
-import java.util.Arrays;
-import java.util.HashMap;
-import java.util.Map;
-/**
- * Samples for Automations Update.
- */
-public final class AutomationsUpdateSamples {
/*
* x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/preview/2023-12-01-preview/examples/Automations/
- * PatchAutomation_example.json
+ * specification/security/resource-manager/Microsoft.Security/stable/2024-08-01/examples/CustomRecommendations/
+ * GetBySecurityConnectorCustomRecommendation_example.json
*/
/**
- * Sample code: Update a security automation.
+ * Sample code: Get a custom recommendation over security connector scope.
*
* @param manager Entry point to SecurityManager.
*/
- public static void updateASecurityAutomation(com.azure.resourcemanager.security.SecurityManager manager) {
- Automation resource = manager.automations()
- .getByResourceGroupWithResponse("exampleResourceGroup", "exampleAutomation",
- com.azure.core.util.Context.NONE)
- .getValue();
- resource.update()
- .withTags(mapOf("Example", "exampleTag"))
- .withDescription(
- "An example of a security automation that triggers one LogicApp resource (myTest1) on any security assessment")
- .withScopes(Arrays.asList(new AutomationScope().withDescription(
- "A description that helps to identify this scope - for example: security assessments that relate to the resource group myResourceGroup within the subscription a5caac9c-5c04-49af-b3d0-e204f40345d5")
- .withScopePath("/subscriptions/a5caac9c-5c04-49af-b3d0-e204f40345d5/resourceGroups/myResourceGroup")))
- .withSources(Arrays.asList(new AutomationSource().withEventSource(EventSource.ASSESSMENTS)))
- .withActions(Arrays.asList(new AutomationActionLogicApp().withLogicAppResourceId(
- "/subscriptions/e54a4a18-5b94-4f90-9471-bd3decad8a2e/resourceGroups/sample/providers/Microsoft.Logic/workflows/MyTest1")
- .withUri("https://exampleTriggerUri1.com")))
- .apply();
- }
-
- // Use "Map.of" if available
- @SuppressWarnings("unchecked")
- private static Map mapOf(Object... inputs) {
- Map map = new HashMap<>();
- for (int i = 0; i < inputs.length; i += 2) {
- String key = (String) inputs[i];
- T value = (T) inputs[i + 1];
- map.put(key, value);
- }
- return map;
+ public static void
+ getACustomRecommendationOverSecurityConnectorScope(com.azure.resourcemanager.security.SecurityManager manager) {
+ manager.customRecommendations()
+ .getWithResponse(
+ "subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/gcpResourceGroup/providers/Microsoft.Security/securityConnectors/gcpconnector",
+ "1f3afdf9-d0c9-4c3d-847f-89da613e70a8", com.azure.core.util.Context.NONE);
}
-}
-```
-
-### Automations_Validate
-
-```java
-import com.azure.resourcemanager.security.fluent.models.AutomationInner;
-import com.azure.resourcemanager.security.models.AutomationActionLogicApp;
-import com.azure.resourcemanager.security.models.AutomationRuleSet;
-import com.azure.resourcemanager.security.models.AutomationScope;
-import com.azure.resourcemanager.security.models.AutomationSource;
-import com.azure.resourcemanager.security.models.AutomationTriggeringRule;
-import com.azure.resourcemanager.security.models.EventSource;
-import com.azure.resourcemanager.security.models.Operator;
-import com.azure.resourcemanager.security.models.PropertyType;
-import java.util.Arrays;
-import java.util.HashMap;
-import java.util.Map;
-/**
- * Samples for Automations Validate.
- */
-public final class AutomationsValidateSamples {
/*
* x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/preview/2023-12-01-preview/examples/Automations/
- * ValidateAutomation_example.json
+ * specification/security/resource-manager/Microsoft.Security/stable/2024-08-01/examples/CustomRecommendations/
+ * GetBySubscriptionCustomRecommendation_example.json
*/
/**
- * Sample code: Validate the security automation model before create or update.
+ * Sample code: Get a custom recommendation over subscription scope.
*
* @param manager Entry point to SecurityManager.
*/
- public static void validateTheSecurityAutomationModelBeforeCreateOrUpdate(
- com.azure.resourcemanager.security.SecurityManager manager) {
- manager.automations()
- .validateWithResponse("exampleResourceGroup", "exampleAutomation", new AutomationInner()
- .withLocation("Central US")
- .withTags(mapOf())
- .withDescription(
- "An example of a security automation that triggers one LogicApp resource (myTest1) on any security assessment of type customAssessment")
- .withIsEnabled(true)
- .withScopes(Arrays.asList(new AutomationScope().withDescription(
- "A description that helps to identify this scope - for example: security assessments that relate to the resource group myResourceGroup within the subscription a5caac9c-5c04-49af-b3d0-e204f40345d5")
- .withScopePath(
- "/subscriptions/a5caac9c-5c04-49af-b3d0-e204f40345d5/resourceGroups/myResourceGroup")))
- .withSources(Arrays.asList(new AutomationSource().withEventSource(EventSource.ASSESSMENTS)
- .withRuleSets(Arrays.asList(new AutomationRuleSet().withRules(
- Arrays.asList(new AutomationTriggeringRule().withPropertyJPath("$.Entity.AssessmentType")
- .withPropertyType(PropertyType.STRING)
- .withExpectedValue("customAssessment")
- .withOperator(Operator.EQUALS)))))))
- .withActions(Arrays.asList(new AutomationActionLogicApp().withLogicAppResourceId(
- "/subscriptions/e54a4a18-5b94-4f90-9471-bd3decad8a2e/resourceGroups/sample/providers/Microsoft.Logic/workflows/MyTest1")
- .withUri("https://exampleTriggerUri1.com"))),
- com.azure.core.util.Context.NONE);
- }
-
- // Use "Map.of" if available
- @SuppressWarnings("unchecked")
- private static Map mapOf(Object... inputs) {
- Map map = new HashMap<>();
- for (int i = 0; i < inputs.length; i += 2) {
- String key = (String) inputs[i];
- T value = (T) inputs[i + 1];
- map.put(key, value);
- }
- return map;
+ public static void
+ getACustomRecommendationOverSubscriptionScope(com.azure.resourcemanager.security.SecurityManager manager) {
+ manager.customRecommendations()
+ .getWithResponse("subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23",
+ "1f3afdf9-d0c9-4c3d-847f-89da613e70a8", com.azure.core.util.Context.NONE);
}
}
```
-### AzureDevOpsOrgs_CreateOrUpdate
+### CustomRecommendations_List
```java
-import com.azure.resourcemanager.security.models.ActionableRemediation;
-import com.azure.resourcemanager.security.models.ActionableRemediationState;
-import com.azure.resourcemanager.security.models.AzureDevOpsOrgProperties;
-import com.azure.resourcemanager.security.models.OnboardingState;
-
/**
- * Samples for AzureDevOpsOrgs CreateOrUpdate.
+ * Samples for CustomRecommendations List.
*/
-public final class AzureDevOpsOrgsCreateOrUpdateSamples {
+public final class CustomRecommendationsListSamples {
/*
* x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/preview/2024-05-15-preview/examples/
- * SecurityConnectorsDevOps/CreateOrUpdateAzureDevOpsOrgs_example.json
+ * specification/security/resource-manager/Microsoft.Security/stable/2024-08-01/examples/CustomRecommendations/
+ * ListByManagementGroupCustomRecommendations_example.json
*/
/**
- * Sample code: CreateOrUpdate_AzureDevOpsOrgs.
+ * Sample code: List custom recommendations by management group scope.
*
* @param manager Entry point to SecurityManager.
*/
- public static void createOrUpdateAzureDevOpsOrgs(com.azure.resourcemanager.security.SecurityManager manager) {
- manager.azureDevOpsOrgs()
- .define("myAzDevOpsOrg")
- .withExistingSecurityConnector("myRg", "mySecurityConnectorName")
- .withProperties(new AzureDevOpsOrgProperties().withOnboardingState(OnboardingState.NOT_APPLICABLE)
- .withActionableRemediation(new ActionableRemediation().withState(ActionableRemediationState.ENABLED)))
- .create();
+ public static void
+ listCustomRecommendationsByManagementGroupScope(com.azure.resourcemanager.security.SecurityManager manager) {
+ manager.customRecommendations()
+ .list("providers/Microsoft.Management/managementGroups/contoso", com.azure.core.util.Context.NONE);
}
-}
-```
-
-### AzureDevOpsOrgs_Get
-```java
-/**
- * Samples for AzureDevOpsOrgs Get.
- */
-public final class AzureDevOpsOrgsGetSamples {
/*
* x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/preview/2024-05-15-preview/examples/
- * SecurityConnectorsDevOps/GetAzureDevOpsOrgs_example.json
+ * specification/security/resource-manager/Microsoft.Security/stable/2024-08-01/examples/CustomRecommendations/
+ * ListBySubscriptionCustomRecommendations_example.json
*/
/**
- * Sample code: Get_AzureDevOpsOrgs.
+ * Sample code: List custom recommendations by subscription scope.
*
* @param manager Entry point to SecurityManager.
*/
- public static void getAzureDevOpsOrgs(com.azure.resourcemanager.security.SecurityManager manager) {
- manager.azureDevOpsOrgs()
- .getWithResponse("myRg", "mySecurityConnectorName", "myAzDevOpsOrg", com.azure.core.util.Context.NONE);
+ public static void
+ listCustomRecommendationsBySubscriptionScope(com.azure.resourcemanager.security.SecurityManager manager) {
+ manager.customRecommendations()
+ .list("subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23", com.azure.core.util.Context.NONE);
}
-}
-```
-### AzureDevOpsOrgs_List
-
-```java
-/**
- * Samples for AzureDevOpsOrgs List.
- */
-public final class AzureDevOpsOrgsListSamples {
/*
* x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/preview/2024-05-15-preview/examples/
- * SecurityConnectorsDevOps/ListAzureDevOpsOrgs_example.json
+ * specification/security/resource-manager/Microsoft.Security/stable/2024-08-01/examples/CustomRecommendations/
+ * ListBySecurityConnectorCustomRecommendations_example.json
*/
/**
- * Sample code: List_AzureDevOpsOrgs.
+ * Sample code: List custom recommendations by security connector scope.
*
* @param manager Entry point to SecurityManager.
*/
- public static void listAzureDevOpsOrgs(com.azure.resourcemanager.security.SecurityManager manager) {
- manager.azureDevOpsOrgs().list("myRg", "mySecurityConnectorName", com.azure.core.util.Context.NONE);
+ public static void
+ listCustomRecommendationsBySecurityConnectorScope(com.azure.resourcemanager.security.SecurityManager manager) {
+ manager.customRecommendations()
+ .list(
+ "subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/gcpResourceGroup/providers/Microsoft.Security/securityConnectors/gcpconnector",
+ com.azure.core.util.Context.NONE);
}
}
```
-### AzureDevOpsOrgs_ListAvailable
+### DeviceSecurityGroups_CreateOrUpdate
```java
+import com.azure.resourcemanager.security.models.ActiveConnectionsNotInAllowedRange;
+import java.time.Duration;
+import java.util.Arrays;
+
/**
- * Samples for AzureDevOpsOrgs ListAvailable.
+ * Samples for DeviceSecurityGroups CreateOrUpdate.
*/
-public final class AzureDevOpsOrgsListAvailableSamples {
+public final class DeviceSecurityGroupsCreateOrUpdateSamples {
/*
* x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/preview/2024-05-15-preview/examples/
- * SecurityConnectorsDevOps/ListAvailableAzureDevOpsOrgs_example.json
+ * specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/DeviceSecurityGroups/
+ * PutDeviceSecurityGroups_example.json
*/
/**
- * Sample code: ListAvailable_AzureDevOpsOrgs.
+ * Sample code: Create or update a device security group for the specified IoT hub resource.
*
* @param manager Entry point to SecurityManager.
*/
- public static void listAvailableAzureDevOpsOrgs(com.azure.resourcemanager.security.SecurityManager manager) {
- manager.azureDevOpsOrgs()
- .listAvailableWithResponse("myRg", "mySecurityConnectorName", com.azure.core.util.Context.NONE);
+ public static void createOrUpdateADeviceSecurityGroupForTheSpecifiedIoTHubResource(
+ com.azure.resourcemanager.security.SecurityManager manager) {
+ manager.deviceSecurityGroups()
+ .define("samplesecuritygroup")
+ .withExistingResourceId(
+ "subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/SampleRG/providers/Microsoft.Devices/iotHubs/sampleiothub")
+ .withTimeWindowRules(Arrays.asList(new ActiveConnectionsNotInAllowedRange().withIsEnabled(true)
+ .withMinThreshold(0)
+ .withMaxThreshold(30)
+ .withTimeWindowSize(Duration.parse("PT05M"))))
+ .create();
}
}
```
-### AzureDevOpsOrgs_Update
+### DeviceSecurityGroups_Delete
```java
-import com.azure.resourcemanager.security.models.ActionableRemediation;
-import com.azure.resourcemanager.security.models.ActionableRemediationState;
-import com.azure.resourcemanager.security.models.AzureDevOpsOrg;
-import com.azure.resourcemanager.security.models.AzureDevOpsOrgProperties;
-import com.azure.resourcemanager.security.models.OnboardingState;
-
/**
- * Samples for AzureDevOpsOrgs Update.
+ * Samples for DeviceSecurityGroups Delete.
*/
-public final class AzureDevOpsOrgsUpdateSamples {
+public final class DeviceSecurityGroupsDeleteSamples {
/*
* x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/preview/2024-05-15-preview/examples/
- * SecurityConnectorsDevOps/UpdateAzureDevOpsOrgs_example.json
+ * specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/DeviceSecurityGroups/
+ * DeleteDeviceSecurityGroups_example.json
*/
/**
- * Sample code: Update_AzureDevOpsOrgs.
+ * Sample code: Delete a device security group for the specified IoT Hub resource.
*
* @param manager Entry point to SecurityManager.
*/
- public static void updateAzureDevOpsOrgs(com.azure.resourcemanager.security.SecurityManager manager) {
- AzureDevOpsOrg resource = manager.azureDevOpsOrgs()
- .getWithResponse("myRg", "mySecurityConnectorName", "myAzDevOpsOrg", com.azure.core.util.Context.NONE)
- .getValue();
- resource.update()
- .withProperties(new AzureDevOpsOrgProperties().withOnboardingState(OnboardingState.NOT_APPLICABLE)
- .withActionableRemediation(new ActionableRemediation().withState(ActionableRemediationState.ENABLED)))
- .apply();
+ public static void deleteADeviceSecurityGroupForTheSpecifiedIoTHubResource(
+ com.azure.resourcemanager.security.SecurityManager manager) {
+ manager.deviceSecurityGroups()
+ .deleteByResourceGroupWithResponse(
+ "subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/SampleRG/providers/Microsoft.Devices/iotHubs/sampleiothub",
+ "samplesecuritygroup", com.azure.core.util.Context.NONE);
}
}
```
-### AzureDevOpsProjects_CreateOrUpdate
+### DeviceSecurityGroups_Get
```java
-import com.azure.resourcemanager.security.models.ActionableRemediation;
-import com.azure.resourcemanager.security.models.ActionableRemediationState;
-import com.azure.resourcemanager.security.models.AzureDevOpsProjectProperties;
-import com.azure.resourcemanager.security.models.OnboardingState;
-
/**
- * Samples for AzureDevOpsProjects CreateOrUpdate.
+ * Samples for DeviceSecurityGroups Get.
*/
-public final class AzureDevOpsProjectsCreateOrUpdateSamples {
+public final class DeviceSecurityGroupsGetSamples {
/*
* x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/preview/2024-05-15-preview/examples/
- * SecurityConnectorsDevOps/CreateOrUpdateAzureDevOpsProjects_example.json
+ * specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/DeviceSecurityGroups/
+ * GetDeviceSecurityGroups_example.json
*/
/**
- * Sample code: CreateOrUpdate_AzureDevOpsProjects.
+ * Sample code: Get a device security group for the specified IoT Hub resource.
*
* @param manager Entry point to SecurityManager.
*/
- public static void createOrUpdateAzureDevOpsProjects(com.azure.resourcemanager.security.SecurityManager manager) {
- manager.azureDevOpsProjects()
- .define("myAzDevOpsProject")
- .withExistingAzureDevOpsOrg("myRg", "mySecurityConnectorName", "myAzDevOpsOrg")
- .withProperties(new AzureDevOpsProjectProperties().withOnboardingState(OnboardingState.NOT_APPLICABLE)
- .withActionableRemediation(new ActionableRemediation().withState(ActionableRemediationState.ENABLED)))
- .create();
+ public static void getADeviceSecurityGroupForTheSpecifiedIoTHubResource(
+ com.azure.resourcemanager.security.SecurityManager manager) {
+ manager.deviceSecurityGroups()
+ .getWithResponse(
+ "subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/SampleRG/providers/Microsoft.Devices/iotHubs/sampleiothub",
+ "samplesecuritygroup", com.azure.core.util.Context.NONE);
}
}
```
-### AzureDevOpsProjects_Get
+### DeviceSecurityGroups_List
```java
/**
- * Samples for AzureDevOpsProjects Get.
+ * Samples for DeviceSecurityGroups List.
*/
-public final class AzureDevOpsProjectsGetSamples {
+public final class DeviceSecurityGroupsListSamples {
/*
* x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/preview/2024-05-15-preview/examples/
- * SecurityConnectorsDevOps/GetAzureDevOpsProjects_example.json
+ * specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/DeviceSecurityGroups/
+ * ListDeviceSecurityGroups_example.json
*/
/**
- * Sample code: Get_AzureDevOpsProjects.
+ * Sample code: List all device security groups for the specified IoT Hub resource.
*
* @param manager Entry point to SecurityManager.
*/
- public static void getAzureDevOpsProjects(com.azure.resourcemanager.security.SecurityManager manager) {
- manager.azureDevOpsProjects()
- .getWithResponse("myRg", "mySecurityConnectorName", "myAzDevOpsOrg", "myAzDevOpsProject",
+ public static void listAllDeviceSecurityGroupsForTheSpecifiedIoTHubResource(
+ com.azure.resourcemanager.security.SecurityManager manager) {
+ manager.deviceSecurityGroups()
+ .list(
+ "subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/SampleRG/providers/Microsoft.Devices/iotHubs/sampleiothub",
com.azure.core.util.Context.NONE);
}
}
```
-### AzureDevOpsProjects_List
+### DiscoveredSecuritySolutions_Get
```java
/**
- * Samples for AzureDevOpsProjects List.
+ * Samples for DiscoveredSecuritySolutions Get.
*/
-public final class AzureDevOpsProjectsListSamples {
+public final class DiscoveredSecuritySolutionsGetSamples {
/*
* x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/preview/2024-05-15-preview/examples/
- * SecurityConnectorsDevOps/ListAzureDevOpsProjects_example.json
+ * specification/security/resource-manager/Microsoft.Security/stable/2020-01-01/examples/DiscoveredSecuritySolutions
+ * /GetDiscoveredSecuritySolutionResourceGroupLocation_example.json
*/
/**
- * Sample code: List_AzureDevOpsProjects.
+ * Sample code: Get discovered security solution from a security data location.
*
* @param manager Entry point to SecurityManager.
*/
- public static void listAzureDevOpsProjects(com.azure.resourcemanager.security.SecurityManager manager) {
- manager.azureDevOpsProjects()
- .list("myRg", "mySecurityConnectorName", "myAzDevOpsOrg", com.azure.core.util.Context.NONE);
+ public static void getDiscoveredSecuritySolutionFromASecurityDataLocation(
+ com.azure.resourcemanager.security.SecurityManager manager) {
+ manager.discoveredSecuritySolutions()
+ .getWithResponse("myRg2", "centralus", "paloalto7", com.azure.core.util.Context.NONE);
}
}
```
-### AzureDevOpsProjects_Update
+### DiscoveredSecuritySolutions_List
```java
-import com.azure.resourcemanager.security.models.ActionableRemediation;
-import com.azure.resourcemanager.security.models.ActionableRemediationState;
-import com.azure.resourcemanager.security.models.AzureDevOpsProject;
-import com.azure.resourcemanager.security.models.AzureDevOpsProjectProperties;
-import com.azure.resourcemanager.security.models.OnboardingState;
-
/**
- * Samples for AzureDevOpsProjects Update.
+ * Samples for DiscoveredSecuritySolutions List.
*/
-public final class AzureDevOpsProjectsUpdateSamples {
+public final class DiscoveredSecuritySolutionsListSamples {
/*
* x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/preview/2024-05-15-preview/examples/
- * SecurityConnectorsDevOps/UpdateAzureDevOpsProjects_example.json
+ * specification/security/resource-manager/Microsoft.Security/stable/2020-01-01/examples/DiscoveredSecuritySolutions
+ * /GetDiscoveredSecuritySolutionsSubscription_example.json
*/
/**
- * Sample code: Update_AzureDevOpsProjects.
+ * Sample code: Get discovered security solutions.
*
* @param manager Entry point to SecurityManager.
*/
- public static void updateAzureDevOpsProjects(com.azure.resourcemanager.security.SecurityManager manager) {
- AzureDevOpsProject resource = manager.azureDevOpsProjects()
- .getWithResponse("myRg", "mySecurityConnectorName", "myAzDevOpsOrg", "myAzDevOpsProject",
- com.azure.core.util.Context.NONE)
- .getValue();
- resource.update()
- .withProperties(new AzureDevOpsProjectProperties().withOnboardingState(OnboardingState.NOT_APPLICABLE)
- .withActionableRemediation(new ActionableRemediation().withState(ActionableRemediationState.ENABLED)))
- .apply();
+ public static void getDiscoveredSecuritySolutions(com.azure.resourcemanager.security.SecurityManager manager) {
+ manager.discoveredSecuritySolutions().list(com.azure.core.util.Context.NONE);
}
}
```
-### AzureDevOpsRepos_CreateOrUpdate
+### DiscoveredSecuritySolutions_ListByHomeRegion
```java
-import com.azure.resourcemanager.security.models.ActionableRemediation;
-import com.azure.resourcemanager.security.models.ActionableRemediationState;
-import com.azure.resourcemanager.security.models.AzureDevOpsRepositoryProperties;
-import com.azure.resourcemanager.security.models.OnboardingState;
-
/**
- * Samples for AzureDevOpsRepos CreateOrUpdate.
+ * Samples for DiscoveredSecuritySolutions ListByHomeRegion.
*/
-public final class AzureDevOpsReposCreateOrUpdateSamples {
+public final class DiscoveredSecuritySolutionsListByHomeRegionSamples {
/*
* x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/preview/2024-05-15-preview/examples/
- * SecurityConnectorsDevOps/CreateOrUpdateAzureDevOpsRepos_example.json
+ * specification/security/resource-manager/Microsoft.Security/stable/2020-01-01/examples/DiscoveredSecuritySolutions
+ * /GetDiscoveredSecuritySolutionsSubscriptionLocation_example.json
*/
/**
- * Sample code: CreateOrUpdate_AzureDevOpsRepos.
+ * Sample code: Get discovered security solutions from a security data location.
*
* @param manager Entry point to SecurityManager.
*/
- public static void createOrUpdateAzureDevOpsRepos(com.azure.resourcemanager.security.SecurityManager manager) {
- manager.azureDevOpsRepos()
- .define("myAzDevOpsRepo")
- .withExistingProject("myRg", "mySecurityConnectorName", "myAzDevOpsOrg", "myAzDevOpsProject")
- .withProperties(new AzureDevOpsRepositoryProperties().withOnboardingState(OnboardingState.NOT_APPLICABLE)
- .withActionableRemediation(new ActionableRemediation().withState(ActionableRemediationState.ENABLED)))
- .create();
+ public static void getDiscoveredSecuritySolutionsFromASecurityDataLocation(
+ com.azure.resourcemanager.security.SecurityManager manager) {
+ manager.discoveredSecuritySolutions().listByHomeRegion("centralus", com.azure.core.util.Context.NONE);
}
}
```
-### AzureDevOpsRepos_Get
+### ExternalSecuritySolutions_Get
```java
/**
- * Samples for AzureDevOpsRepos Get.
+ * Samples for ExternalSecuritySolutions Get.
*/
-public final class AzureDevOpsReposGetSamples {
+public final class ExternalSecuritySolutionsGetSamples {
/*
* x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/preview/2024-05-15-preview/examples/
- * SecurityConnectorsDevOps/GetAzureDevOpsRepos_example.json
+ * specification/security/resource-manager/Microsoft.Security/stable/2020-01-01/examples/ExternalSecuritySolutions/
+ * GetExternalSecuritySolution_example.json
*/
/**
- * Sample code: Get_AzureDevOpsRepos.
+ * Sample code: Get external security solution.
*
* @param manager Entry point to SecurityManager.
*/
- public static void getAzureDevOpsRepos(com.azure.resourcemanager.security.SecurityManager manager) {
- manager.azureDevOpsRepos()
- .getWithResponse("myRg", "mySecurityConnectorName", "myAzDevOpsOrg", "myAzDevOpsProject", "myAzDevOpsRepo",
- com.azure.core.util.Context.NONE);
+ public static void getExternalSecuritySolution(com.azure.resourcemanager.security.SecurityManager manager) {
+ manager.externalSecuritySolutions()
+ .getWithResponse("defaultresourcegroup-eus", "centralus",
+ "aad_defaultworkspace-20ff7fc3-e762-44dd-bd96-b71116dcdc23-eus", com.azure.core.util.Context.NONE);
}
}
```
-### AzureDevOpsRepos_List
+### ExternalSecuritySolutions_List
```java
/**
- * Samples for AzureDevOpsRepos List.
+ * Samples for ExternalSecuritySolutions List.
*/
-public final class AzureDevOpsReposListSamples {
+public final class ExternalSecuritySolutionsListSamples {
/*
* x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/preview/2024-05-15-preview/examples/
- * SecurityConnectorsDevOps/ListAzureDevOpsRepos_example.json
+ * specification/security/resource-manager/Microsoft.Security/stable/2020-01-01/examples/ExternalSecuritySolutions/
+ * GetExternalSecuritySolutionsSubscription_example.json
*/
/**
- * Sample code: List_AzureDevOpsRepos.
+ * Sample code: Get external security solutions on a subscription.
*
* @param manager Entry point to SecurityManager.
*/
- public static void listAzureDevOpsRepos(com.azure.resourcemanager.security.SecurityManager manager) {
- manager.azureDevOpsRepos()
- .list("myRg", "mySecurityConnectorName", "myAzDevOpsOrg", "myAzDevOpsProject",
- com.azure.core.util.Context.NONE);
+ public static void
+ getExternalSecuritySolutionsOnASubscription(com.azure.resourcemanager.security.SecurityManager manager) {
+ manager.externalSecuritySolutions().list(com.azure.core.util.Context.NONE);
}
}
```
-### AzureDevOpsRepos_Update
+### ExternalSecuritySolutions_ListByHomeRegion
```java
-import com.azure.resourcemanager.security.models.ActionableRemediation;
-import com.azure.resourcemanager.security.models.ActionableRemediationState;
-import com.azure.resourcemanager.security.models.AzureDevOpsRepository;
-import com.azure.resourcemanager.security.models.AzureDevOpsRepositoryProperties;
-import com.azure.resourcemanager.security.models.OnboardingState;
-
/**
- * Samples for AzureDevOpsRepos Update.
+ * Samples for ExternalSecuritySolutions ListByHomeRegion.
*/
-public final class AzureDevOpsReposUpdateSamples {
+public final class ExternalSecuritySolutionsListByHomeRegionSamples {
/*
* x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/preview/2024-05-15-preview/examples/
- * SecurityConnectorsDevOps/UpdateAzureDevOpsRepos_example.json
+ * specification/security/resource-manager/Microsoft.Security/stable/2020-01-01/examples/ExternalSecuritySolutions/
+ * GetExternalSecuritySolutionsSubscriptionLocation_example.json
*/
/**
- * Sample code: Update_AzureDevOpsRepos.
+ * Sample code: Get external security solutions on a subscription from security data location.
*
* @param manager Entry point to SecurityManager.
*/
- public static void updateAzureDevOpsRepos(com.azure.resourcemanager.security.SecurityManager manager) {
- AzureDevOpsRepository resource = manager.azureDevOpsRepos()
- .getWithResponse("myRg", "mySecurityConnectorName", "myAzDevOpsOrg", "myAzDevOpsProject", "myAzDevOpsRepo",
- com.azure.core.util.Context.NONE)
- .getValue();
- resource.update()
- .withProperties(new AzureDevOpsRepositoryProperties().withOnboardingState(OnboardingState.NOT_APPLICABLE)
- .withActionableRemediation(new ActionableRemediation().withState(ActionableRemediationState.ENABLED)))
- .apply();
+ public static void getExternalSecuritySolutionsOnASubscriptionFromSecurityDataLocation(
+ com.azure.resourcemanager.security.SecurityManager manager) {
+ manager.externalSecuritySolutions().listByHomeRegion("centralus", com.azure.core.util.Context.NONE);
}
}
```
-### ComplianceResults_Get
+### IotSecuritySolution_CreateOrUpdate
```java
+import com.azure.resourcemanager.security.models.RecommendationConfigStatus;
+import com.azure.resourcemanager.security.models.RecommendationConfigurationProperties;
+import com.azure.resourcemanager.security.models.RecommendationType;
+import com.azure.resourcemanager.security.models.SecuritySolutionStatus;
+import com.azure.resourcemanager.security.models.UnmaskedIpLoggingStatus;
+import com.azure.resourcemanager.security.models.UserDefinedResourcesProperties;
+import java.util.Arrays;
+import java.util.HashMap;
+import java.util.Map;
+
/**
- * Samples for ComplianceResults Get.
+ * Samples for IotSecuritySolution CreateOrUpdate.
*/
-public final class ComplianceResultsGetSamples {
+public final class IotSecuritySolutionCreateOrUpdateSamples {
/*
* x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/stable/2017-08-01/examples/ComplianceResults/
- * GetComplianceResults_example.json
+ * specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutions/
+ * CreateIoTSecuritySolution.json
*/
/**
- * Sample code: Get compliance results on subscription.
+ * Sample code: Create or update a IoT security solution.
*
* @param manager Entry point to SecurityManager.
*/
- public static void getComplianceResultsOnSubscription(com.azure.resourcemanager.security.SecurityManager manager) {
- manager.complianceResults()
- .getWithResponse("subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23", "DesignateMoreThanOneOwner",
- com.azure.core.util.Context.NONE);
+ public static void createOrUpdateAIoTSecuritySolution(com.azure.resourcemanager.security.SecurityManager manager) {
+ manager.iotSecuritySolutions()
+ .define("default")
+ .withExistingResourceGroup("MyGroup")
+ .withRegion("East Us")
+ .withTags(mapOf())
+ .withWorkspace(
+ "/subscriptions/c4930e90-cd72-4aa5-93e9-2d081d129569/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace1")
+ .withDisplayName("Solution Default")
+ .withStatus(SecuritySolutionStatus.ENABLED)
+ .withExport(Arrays.asList())
+ .withDisabledDataSources(Arrays.asList())
+ .withIotHubs(Arrays.asList(
+ "/subscriptions/075423e9-7d33-4166-8bdf-3920b04e3735/resourceGroups/myRg/providers/Microsoft.Devices/IotHubs/FirstIotHub"))
+ .withUserDefinedResources(new UserDefinedResourcesProperties()
+ .withQuery("where type != \"microsoft.devices/iothubs\" | where name contains \"iot\"")
+ .withQuerySubscriptions(Arrays.asList("075423e9-7d33-4166-8bdf-3920b04e3735")))
+ .withRecommendationsConfiguration(Arrays.asList(
+ new RecommendationConfigurationProperties().withRecommendationType(RecommendationType.IO_T_OPEN_PORTS)
+ .withStatus(RecommendationConfigStatus.DISABLED),
+ new RecommendationConfigurationProperties()
+ .withRecommendationType(RecommendationType.IO_T_SHARED_CREDENTIALS)
+ .withStatus(RecommendationConfigStatus.DISABLED)))
+ .withUnmaskedIpLoggingStatus(UnmaskedIpLoggingStatus.ENABLED)
+ .create();
}
-}
-```
-
-### ComplianceResults_List
-```java
-/**
- * Samples for ComplianceResults List.
- */
-public final class ComplianceResultsListSamples {
- /*
- * x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/stable/2017-08-01/examples/ComplianceResults/
- * ListComplianceResults_example.json
- */
- /**
- * Sample code: Get compliance results on subscription.
- *
- * @param manager Entry point to SecurityManager.
- */
- public static void getComplianceResultsOnSubscription(com.azure.resourcemanager.security.SecurityManager manager) {
- manager.complianceResults()
- .list("subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23", com.azure.core.util.Context.NONE);
+ // Use "Map.of" if available
+ @SuppressWarnings("unchecked")
+ private static Map mapOf(Object... inputs) {
+ Map map = new HashMap<>();
+ for (int i = 0; i < inputs.length; i += 2) {
+ String key = (String) inputs[i];
+ T value = (T) inputs[i + 1];
+ map.put(key, value);
+ }
+ return map;
}
}
```
-### Compliances_Get
+### IotSecuritySolution_Delete
```java
/**
- * Samples for Compliances Get.
+ * Samples for IotSecuritySolution Delete.
*/
-public final class CompliancesGetSamples {
+public final class IotSecuritySolutionDeleteSamples {
/*
* x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/examples/Compliances/
- * GetCompliance_example.json
+ * specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutions/
+ * DeleteIoTSecuritySolution.json
*/
/**
- * Sample code: Get security compliance data for a day.
+ * Sample code: Delete an IoT security solution.
*
* @param manager Entry point to SecurityManager.
*/
- public static void getSecurityComplianceDataForADay(com.azure.resourcemanager.security.SecurityManager manager) {
- manager.compliances()
- .getWithResponse("subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23", "2018-01-01Z",
- com.azure.core.util.Context.NONE);
+ public static void deleteAnIoTSecuritySolution(com.azure.resourcemanager.security.SecurityManager manager) {
+ manager.iotSecuritySolutions()
+ .deleteByResourceGroupWithResponse("MyGroup", "default", com.azure.core.util.Context.NONE);
}
}
```
-### Compliances_List
+### IotSecuritySolution_GetByResourceGroup
```java
/**
- * Samples for Compliances List.
+ * Samples for IotSecuritySolution GetByResourceGroup.
*/
-public final class CompliancesListSamples {
+public final class IotSecuritySolutionGetByResourceGroupSamples {
/*
* x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/examples/Compliances/
- * GetCompliances_example.json
+ * specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutions/
+ * GetIoTSecuritySolution.json
*/
/**
- * Sample code: Get security compliance data over time.
+ * Sample code: Get a IoT security solution.
*
* @param manager Entry point to SecurityManager.
*/
- public static void getSecurityComplianceDataOverTime(com.azure.resourcemanager.security.SecurityManager manager) {
- manager.compliances()
- .list("subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23", com.azure.core.util.Context.NONE);
+ public static void getAIoTSecuritySolution(com.azure.resourcemanager.security.SecurityManager manager) {
+ manager.iotSecuritySolutions()
+ .getByResourceGroupWithResponse("MyGroup", "default", com.azure.core.util.Context.NONE);
}
}
```
-### Connectors_CreateOrUpdate
+### IotSecuritySolution_List
```java
-import com.azure.resourcemanager.security.models.AutoProvision;
-import com.azure.resourcemanager.security.models.AwAssumeRoleAuthenticationDetailsProperties;
-import com.azure.resourcemanager.security.models.AwsCredsAuthenticationDetailsProperties;
-import com.azure.resourcemanager.security.models.GcpCredentialsDetailsProperties;
-import com.azure.resourcemanager.security.models.HybridComputeSettingsProperties;
-import com.azure.resourcemanager.security.models.ProxyServerProperties;
-import com.azure.resourcemanager.security.models.ServicePrincipalProperties;
-
/**
- * Samples for Connectors CreateOrUpdate.
+ * Samples for IotSecuritySolution List.
*/
-public final class ConnectorsCreateOrUpdateSamples {
+public final class IotSecuritySolutionListSamples {
/*
* x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/preview/2020-01-01-preview/examples/Connectors/
- * CreateUpdateGcpCredentialsConnectorSubscription_example.json
+ * specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutions/
+ * GetIoTSecuritySolutionsList.json
*/
/**
- * Sample code: gcpCredentials - Create a cloud account connector for a subscription.
+ * Sample code: List IoT Security solutions by subscription.
*
* @param manager Entry point to SecurityManager.
*/
- public static void gcpCredentialsCreateACloudAccountConnectorForASubscription(
- com.azure.resourcemanager.security.SecurityManager manager) {
- manager.connectors()
- .define("gcp_dev")
- .withHybridComputeSettings(new HybridComputeSettingsProperties().withAutoProvision(AutoProvision.OFF))
- .withAuthenticationDetails(new GcpCredentialsDetailsProperties().withOrganizationId("AscDemoOrg")
- .withType("service_account")
- .withProjectId("asc-project-1234")
- .withPrivateKeyId("fakeTokenPlaceholder")
- .withPrivateKey("fakeTokenPlaceholder")
- .withClientEmail("asc-135@asc-project-1234.iam.gserviceaccount.com")
- .withClientId("105889053725632919854")
- .withAuthUri("https://accounts.google.com/o/oauth2/auth")
- .withTokenUri("fakeTokenPlaceholder")
- .withAuthProviderX509CertUrl("https://www.googleapis.com/oauth2/v1/certs")
- .withClientX509CertUrl(
- "https://www.googleapis.com/robot/v1/metadata/x509/asc-135%40asc-project-1234.iam.gserviceaccount.com"))
- .create();
+ public static void
+ listIoTSecuritySolutionsBySubscription(com.azure.resourcemanager.security.SecurityManager manager) {
+ manager.iotSecuritySolutions().list(null, com.azure.core.util.Context.NONE);
}
/*
* x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/preview/2020-01-01-preview/examples/Connectors/
- * CreateUpdateAwsCredConnectorSubscription_example.json
+ * specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutions/
+ * GetIoTSecuritySolutionsListByIotHub.json
*/
/**
- * Sample code: AwsCred - Create a cloud account connector for a subscription.
+ * Sample code: List IoT Security solutions by IoT Hub.
*
* @param manager Entry point to SecurityManager.
*/
- public static void awsCredCreateACloudAccountConnectorForASubscription(
- com.azure.resourcemanager.security.SecurityManager manager) {
- manager.connectors()
- .define("aws_dev1")
- .withHybridComputeSettings(new HybridComputeSettingsProperties().withAutoProvision(AutoProvision.ON)
- .withResourceGroupName("AwsConnectorRG")
- .withRegion("West US 2")
- .withProxyServer(new ProxyServerProperties().withIp("167.220.197.140").withPort("34"))
- .withServicePrincipal(
- new ServicePrincipalProperties().withApplicationId("ad9bcd79-be9c-45ab-abd8-80ca1654a7d1")
- .withSecret("fakeTokenPlaceholder")))
- .withAuthenticationDetails(
- new AwsCredsAuthenticationDetailsProperties().withAwsAccessKeyId("fakeTokenPlaceholder")
- .withAwsSecretAccessKey("fakeTokenPlaceholder"))
- .create();
- }
-
- /*
- * x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/preview/2020-01-01-preview/examples/Connectors/
- * CreateUpdateAwsAssumeRoleConnectorSubscription_example.json
- */
- /**
- * Sample code: AwsAssumeRole - Create a cloud account connector for a subscription.
- *
- * @param manager Entry point to SecurityManager.
- */
- public static void awsAssumeRoleCreateACloudAccountConnectorForASubscription(
- com.azure.resourcemanager.security.SecurityManager manager) {
- manager.connectors()
- .define("aws_dev2")
- .withHybridComputeSettings(new HybridComputeSettingsProperties().withAutoProvision(AutoProvision.ON)
- .withResourceGroupName("AwsConnectorRG")
- .withRegion("West US 2")
- .withProxyServer(new ProxyServerProperties().withIp("167.220.197.140").withPort("34"))
- .withServicePrincipal(
- new ServicePrincipalProperties().withApplicationId("ad9bcd79-be9c-45ab-abd8-80ca1654a7d1")
- .withSecret("fakeTokenPlaceholder")))
- .withAuthenticationDetails(new AwAssumeRoleAuthenticationDetailsProperties()
- .withAwsAssumeRoleArn("arn:aws:iam::81231569658:role/AscConnector")
- .withAwsExternalId("20ff7fc3-e762-44dd-bd96-b71116dcdc23"))
- .create();
+ public static void listIoTSecuritySolutionsByIoTHub(com.azure.resourcemanager.security.SecurityManager manager) {
+ manager.iotSecuritySolutions()
+ .list(
+ "properties.iotHubs/any(i eq \"/subscriptions/075423e9-7d33-4166-8bdf-3920b04e3735/resourceGroups/myRg/providers/Microsoft.Devices/IotHubs/FirstIotHub\")",
+ com.azure.core.util.Context.NONE);
}
}
```
-### Connectors_Delete
+### IotSecuritySolution_ListByResourceGroup
```java
/**
- * Samples for Connectors Delete.
+ * Samples for IotSecuritySolution ListByResourceGroup.
*/
-public final class ConnectorsDeleteSamples {
+public final class IotSecuritySolutionListByResourceGroupSamples {
/*
* x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/preview/2020-01-01-preview/examples/Connectors/
- * DeleteConnectorSubscription_example.json
+ * specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutions/
+ * GetIoTSecuritySolutionsListByIotHubAndRg.json
*/
/**
- * Sample code: Delete a cloud account connector from a subscription.
+ * Sample code: List IoT Security solutions by resource group and IoT Hub.
*
* @param manager Entry point to SecurityManager.
*/
public static void
- deleteACloudAccountConnectorFromASubscription(com.azure.resourcemanager.security.SecurityManager manager) {
- manager.connectors().deleteWithResponse("aws_dev1", com.azure.core.util.Context.NONE);
+ listIoTSecuritySolutionsByResourceGroupAndIoTHub(com.azure.resourcemanager.security.SecurityManager manager) {
+ manager.iotSecuritySolutions()
+ .listByResourceGroup("MyRg",
+ "properties.iotHubs/any(i eq \"/subscriptions/075423e9-7d33-4166-8bdf-3920b04e3735/resourceGroups/myRg/providers/Microsoft.Devices/IotHubs/FirstIotHub\")",
+ com.azure.core.util.Context.NONE);
}
-}
-```
-
-### Connectors_Get
-```java
-/**
- * Samples for Connectors Get.
- */
-public final class ConnectorsGetSamples {
/*
* x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/preview/2020-01-01-preview/examples/Connectors/
- * GetConnectorSubscription_example.json
+ * specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutions/
+ * GetIoTSecuritySolutionsListByRg.json
*/
/**
- * Sample code: Details of a specific cloud account connector.
+ * Sample code: List IoT Security solutions by resource group.
*
* @param manager Entry point to SecurityManager.
*/
public static void
- detailsOfASpecificCloudAccountConnector(com.azure.resourcemanager.security.SecurityManager manager) {
- manager.connectors().getWithResponse("aws_dev1", com.azure.core.util.Context.NONE);
+ listIoTSecuritySolutionsByResourceGroup(com.azure.resourcemanager.security.SecurityManager manager) {
+ manager.iotSecuritySolutions().listByResourceGroup("MyGroup", null, com.azure.core.util.Context.NONE);
}
}
```
-### Connectors_List
+### IotSecuritySolution_Update
```java
+import com.azure.resourcemanager.security.models.IoTSecuritySolutionModel;
+import com.azure.resourcemanager.security.models.RecommendationConfigStatus;
+import com.azure.resourcemanager.security.models.RecommendationConfigurationProperties;
+import com.azure.resourcemanager.security.models.RecommendationType;
+import com.azure.resourcemanager.security.models.UserDefinedResourcesProperties;
+import java.util.Arrays;
+import java.util.HashMap;
+import java.util.Map;
+
/**
- * Samples for Connectors List.
+ * Samples for IotSecuritySolution Update.
*/
-public final class ConnectorsListSamples {
+public final class IotSecuritySolutionUpdateSamples {
/*
* x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/preview/2020-01-01-preview/examples/Connectors/
- * GetListConnectorSubscription_example.json
+ * specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutions/
+ * UpdateIoTSecuritySolution.json
*/
/**
- * Sample code: Get all cloud accounts connectors of a subscription.
+ * Sample code: Use this method to update existing IoT Security solution.
*
* @param manager Entry point to SecurityManager.
*/
public static void
- getAllCloudAccountsConnectorsOfASubscription(com.azure.resourcemanager.security.SecurityManager manager) {
- manager.connectors().list(com.azure.core.util.Context.NONE);
+ useThisMethodToUpdateExistingIoTSecuritySolution(com.azure.resourcemanager.security.SecurityManager manager) {
+ IoTSecuritySolutionModel resource = manager.iotSecuritySolutions()
+ .getByResourceGroupWithResponse("myRg", "default", com.azure.core.util.Context.NONE)
+ .getValue();
+ resource.update()
+ .withTags(mapOf("foo", "bar"))
+ .withUserDefinedResources(new UserDefinedResourcesProperties()
+ .withQuery("where type != \"microsoft.devices/iothubs\" | where name contains \"v2\"")
+ .withQuerySubscriptions(Arrays.asList("075423e9-7d33-4166-8bdf-3920b04e3735")))
+ .withRecommendationsConfiguration(Arrays.asList(
+ new RecommendationConfigurationProperties().withRecommendationType(RecommendationType.IO_T_OPEN_PORTS)
+ .withStatus(RecommendationConfigStatus.DISABLED),
+ new RecommendationConfigurationProperties()
+ .withRecommendationType(RecommendationType.IO_T_SHARED_CREDENTIALS)
+ .withStatus(RecommendationConfigStatus.DISABLED)))
+ .apply();
+ }
+
+ // Use "Map.of" if available
+ @SuppressWarnings("unchecked")
+ private static Map mapOf(Object... inputs) {
+ Map map = new HashMap<>();
+ for (int i = 0; i < inputs.length; i += 2) {
+ String key = (String) inputs[i];
+ T value = (T) inputs[i + 1];
+ map.put(key, value);
+ }
+ return map;
}
}
```
-### CustomAssessmentAutomations_Create
+### IotSecuritySolutionAnalytics_Get
```java
-import com.azure.resourcemanager.security.models.SeverityEnum;
-import com.azure.resourcemanager.security.models.SupportedCloudEnum;
-
/**
- * Samples for CustomAssessmentAutomations Create.
+ * Samples for IotSecuritySolutionAnalytics Get.
*/
-public final class CustomAssessmentAutomationsCreateSamples {
+public final class IotSecuritySolutionAnalyticsGetSamples {
/*
- * x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/preview/2021-07-01-preview/examples/
- * CustomAssessmentAutomations/customAssessmentAutomationCreate_example.json
+ * x-ms-original-file: specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/
+ * IoTSecuritySolutionsAnalytics/GetIoTSecuritySolutionsSecurityAnalytics.json
*/
/**
- * Sample code: Create a Custom Assessment Automation.
+ * Sample code: Get Security Solution Analytics.
*
* @param manager Entry point to SecurityManager.
*/
- public static void createACustomAssessmentAutomation(com.azure.resourcemanager.security.SecurityManager manager) {
- manager.customAssessmentAutomations()
- .define("MyCustomAssessmentAutomation")
- .withExistingResourceGroup("TestResourceGroup")
- .withCompressedQuery(
- "DQAKAEkAYQBtAF8ARwByAG8AdQBwAA0ACgB8ACAAZQB4AHQAZQBuAGQAIABIAGUAYQBsAHQAaABTAHQAYQB0AHUAcwAgAD0AIABpAGYAZgAoAHQAbwBzAHQAcgBpAG4AZwAoAFIAZQBjAG8AcgBkAC4AVQBzAGUAcgBOAGEAbQBlACkAIABjAG8AbgB0AGEAaQBuAHMAIAAnAHUAcwBlAHIAJwAsACAAJwBVAE4ASABFAEEATABUAEgAWQAnACwAIAAnAEgARQBBAEwAVABIAFkAJwApAA0ACgA=")
- .withSupportedCloud(SupportedCloudEnum.AWS)
- .withSeverity(SeverityEnum.MEDIUM)
- .withDisplayName("Password Policy")
- .withDescription("Data should be encrypted")
- .withRemediationDescription("Encrypt store by...")
- .create();
+ public static void getSecuritySolutionAnalytics(com.azure.resourcemanager.security.SecurityManager manager) {
+ manager.iotSecuritySolutionAnalytics().getWithResponse("MyGroup", "default", com.azure.core.util.Context.NONE);
}
}
```
-### CustomAssessmentAutomations_Delete
+### IotSecuritySolutionAnalytics_List
```java
/**
- * Samples for CustomAssessmentAutomations Delete.
+ * Samples for IotSecuritySolutionAnalytics List.
*/
-public final class CustomAssessmentAutomationsDeleteSamples {
+public final class IotSecuritySolutionAnalyticsListSamples {
/*
- * x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/preview/2021-07-01-preview/examples/
- * CustomAssessmentAutomations/customAssessmentAutomationDelete_example.json
+ * x-ms-original-file: specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/
+ * IoTSecuritySolutionsAnalytics/GetIoTSecuritySolutionsSecurityAnalyticsList.json
*/
/**
- * Sample code: Delete a Custom Assessment Automation.
+ * Sample code: Get Security Solution Analytics.
*
* @param manager Entry point to SecurityManager.
*/
- public static void deleteACustomAssessmentAutomation(com.azure.resourcemanager.security.SecurityManager manager) {
- manager.customAssessmentAutomations()
- .deleteByResourceGroupWithResponse("TestResourceGroup", "MyCustomAssessmentAutomation",
- com.azure.core.util.Context.NONE);
+ public static void getSecuritySolutionAnalytics(com.azure.resourcemanager.security.SecurityManager manager) {
+ manager.iotSecuritySolutionAnalytics().listWithResponse("MyGroup", "default", com.azure.core.util.Context.NONE);
}
}
```
-### CustomAssessmentAutomations_GetByResourceGroup
+### IotSecuritySolutionsAnalyticsAggregatedAlert_Dismiss
```java
/**
- * Samples for CustomAssessmentAutomations GetByResourceGroup.
+ * Samples for IotSecuritySolutionsAnalyticsAggregatedAlert Dismiss.
*/
-public final class CustomAssessmentAutomationsGetByResourceGroupSamples {
+public final class IotSecuritySolutionsAnalyticsAggregatedAlertDismissSamples {
/*
- * x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/preview/2021-07-01-preview/examples/
- * CustomAssessmentAutomations/customAssessmentAutomationGet_example.json
+ * x-ms-original-file: specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/
+ * IoTSecuritySolutionsAnalytics/PostIoTSecuritySolutionsSecurityAggregatedAlertDismiss.json
*/
/**
- * Sample code: Get a Custom Assessment Automation.
+ * Sample code: Dismiss an aggregated IoT Security Solution Alert.
*
* @param manager Entry point to SecurityManager.
*/
- public static void getACustomAssessmentAutomation(com.azure.resourcemanager.security.SecurityManager manager) {
- manager.customAssessmentAutomations()
- .getByResourceGroupWithResponse("TestResourceGroup", "MyCustomAssessmentAutomation",
+ public static void
+ dismissAnAggregatedIoTSecuritySolutionAlert(com.azure.resourcemanager.security.SecurityManager manager) {
+ manager.iotSecuritySolutionsAnalyticsAggregatedAlerts()
+ .dismissWithResponse("IoTEdgeResources", "default", "IoT_Bruteforce_Fail/2019-02-02/dismiss",
com.azure.core.util.Context.NONE);
}
}
```
-### CustomAssessmentAutomations_List
+### IotSecuritySolutionsAnalyticsAggregatedAlert_Get
```java
/**
- * Samples for CustomAssessmentAutomations List.
+ * Samples for IotSecuritySolutionsAnalyticsAggregatedAlert Get.
*/
-public final class CustomAssessmentAutomationsListSamples {
+public final class IotSecuritySolutionsAnalyticsAggregatedAlertGetSamples {
/*
- * x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/preview/2021-07-01-preview/examples/
- * CustomAssessmentAutomations/customAssessmentAutomationListBySubscription_example.json
+ * x-ms-original-file: specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/
+ * IoTSecuritySolutionsAnalytics/GetIoTSecuritySolutionsSecurityAggregatedAlert.json
*/
/**
- * Sample code: List Custom Assessment Automations in a subscription.
+ * Sample code: Get the aggregated security analytics alert of yours IoT Security solution. This aggregation is
+ * performed by alert name.
*
* @param manager Entry point to SecurityManager.
*/
public static void
- listCustomAssessmentAutomationsInASubscription(com.azure.resourcemanager.security.SecurityManager manager) {
- manager.customAssessmentAutomations().list(com.azure.core.util.Context.NONE);
+ getTheAggregatedSecurityAnalyticsAlertOfYoursIoTSecuritySolutionThisAggregationIsPerformedByAlertName(
+ com.azure.resourcemanager.security.SecurityManager manager) {
+ manager.iotSecuritySolutionsAnalyticsAggregatedAlerts()
+ .getWithResponse("MyGroup", "default", "IoT_Bruteforce_Fail/2019-02-02", com.azure.core.util.Context.NONE);
}
}
```
-### CustomAssessmentAutomations_ListByResourceGroup
+### IotSecuritySolutionsAnalyticsAggregatedAlert_List
```java
/**
- * Samples for CustomAssessmentAutomations ListByResourceGroup.
+ * Samples for IotSecuritySolutionsAnalyticsAggregatedAlert List.
*/
-public final class CustomAssessmentAutomationsListByResourceGroupSamples {
+public final class IotSecuritySolutionsAnalyticsAggregatedAlertListSamples {
/*
- * x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/preview/2021-07-01-preview/examples/
- * CustomAssessmentAutomations/customAssessmentAutomationListByResourceGroup_example.json
+ * x-ms-original-file: specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/
+ * IoTSecuritySolutionsAnalytics/GetIoTSecuritySolutionsSecurityAggregatedAlertList.json
*/
/**
- * Sample code: List Custom Assessment Automations in a subscription and a resource group.
+ * Sample code: Get the aggregated alert list of yours IoT Security solution.
*
* @param manager Entry point to SecurityManager.
*/
- public static void listCustomAssessmentAutomationsInASubscriptionAndAResourceGroup(
+ public static void getTheAggregatedAlertListOfYoursIoTSecuritySolution(
com.azure.resourcemanager.security.SecurityManager manager) {
- manager.customAssessmentAutomations()
- .listByResourceGroup("TestResourceGroup", com.azure.core.util.Context.NONE);
+ manager.iotSecuritySolutionsAnalyticsAggregatedAlerts()
+ .list("MyGroup", "default", null, com.azure.core.util.Context.NONE);
}
}
```
-### CustomEntityStoreAssignments_Create
+### IotSecuritySolutionsAnalyticsRecommendation_Get
```java
/**
- * Samples for CustomEntityStoreAssignments Create.
+ * Samples for IotSecuritySolutionsAnalyticsRecommendation Get.
*/
-public final class CustomEntityStoreAssignmentsCreateSamples {
+public final class IotSecuritySolutionsAnalyticsRecommendationGetSamples {
/*
- * x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/preview/2021-07-01-preview/examples/
- * CustomEntityStoreAssignments/customEntityStoreAssignmentCreate_example.json
+ * x-ms-original-file: specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/
+ * IoTSecuritySolutionsAnalytics/GetIoTSecuritySolutionsSecurityRecommendation.json
*/
/**
- * Sample code: Create a custom entity store assignment.
+ * Sample code: Get the aggregated security analytics recommendation of yours IoT Security solution.
*
* @param manager Entry point to SecurityManager.
*/
- public static void createACustomEntityStoreAssignment(com.azure.resourcemanager.security.SecurityManager manager) {
- manager.customEntityStoreAssignments()
- .define("33e7cc6e-a139-4723-a0e5-76993aee0771")
- .withExistingResourceGroup("TestResourceGroup")
- .withPrincipal("aaduser=f3923a3e-ad57-4752-b1a9-fbf3c8e5e082;72f988bf-86f1-41af-91ab-2d7cd011db47")
- .create();
+ public static void getTheAggregatedSecurityAnalyticsRecommendationOfYoursIoTSecuritySolution(
+ com.azure.resourcemanager.security.SecurityManager manager) {
+ manager.iotSecuritySolutionsAnalyticsRecommendations()
+ .getWithResponse("IoTEdgeResources", "default", "OpenPortsOnDevice", com.azure.core.util.Context.NONE);
}
}
```
-### CustomEntityStoreAssignments_Delete
+### IotSecuritySolutionsAnalyticsRecommendation_List
```java
/**
- * Samples for CustomEntityStoreAssignments Delete.
+ * Samples for IotSecuritySolutionsAnalyticsRecommendation List.
*/
-public final class CustomEntityStoreAssignmentsDeleteSamples {
+public final class IotSecuritySolutionsAnalyticsRecommendationListSamples {
/*
- * x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/preview/2021-07-01-preview/examples/
- * CustomEntityStoreAssignments/customEntityStoreAssignmentDelete_example.json
+ * x-ms-original-file: specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/
+ * IoTSecuritySolutionsAnalytics/GetIoTSecuritySolutionsSecurityRecommendationList.json
*/
/**
- * Sample code: Delete a custom entity store assignment.
+ * Sample code: Get the list of aggregated security analytics recommendations of yours IoT Security solution.
*
* @param manager Entry point to SecurityManager.
*/
- public static void deleteACustomEntityStoreAssignment(com.azure.resourcemanager.security.SecurityManager manager) {
- manager.customEntityStoreAssignments()
- .deleteByResourceGroupWithResponse("TestResourceGroup", "33e7cc6e-a139-4723-a0e5-76993aee0771",
- com.azure.core.util.Context.NONE);
+ public static void getTheListOfAggregatedSecurityAnalyticsRecommendationsOfYoursIoTSecuritySolution(
+ com.azure.resourcemanager.security.SecurityManager manager) {
+ manager.iotSecuritySolutionsAnalyticsRecommendations()
+ .list("IoTEdgeResources", "default", null, com.azure.core.util.Context.NONE);
}
}
```
-### CustomEntityStoreAssignments_GetByResourceGroup
+### JitNetworkAccessPolicies_CreateOrUpdate
```java
+import com.azure.resourcemanager.security.fluent.models.JitNetworkAccessRequestInner;
+import com.azure.resourcemanager.security.models.JitNetworkAccessPolicyVirtualMachine;
+import com.azure.resourcemanager.security.models.JitNetworkAccessPortRule;
+import com.azure.resourcemanager.security.models.JitNetworkAccessRequestPort;
+import com.azure.resourcemanager.security.models.JitNetworkAccessRequestVirtualMachine;
+import com.azure.resourcemanager.security.models.Protocol;
+import com.azure.resourcemanager.security.models.Status;
+import com.azure.resourcemanager.security.models.StatusReason;
+import java.time.OffsetDateTime;
+import java.util.Arrays;
+
/**
- * Samples for CustomEntityStoreAssignments GetByResourceGroup.
+ * Samples for JitNetworkAccessPolicies CreateOrUpdate.
*/
-public final class CustomEntityStoreAssignmentsGetByResourceGroupSamples {
+public final class JitNetworkAccessPoliciesCreateOrUpdateSamples {
/*
* x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/preview/2021-07-01-preview/examples/
- * CustomEntityStoreAssignments/customEntityStoreAssignmentGet_example.json
+ * specification/security/resource-manager/Microsoft.Security/stable/2020-01-01/examples/JitNetworkAccessPolicies/
+ * CreateJitNetworkAccessPolicy_example.json
*/
/**
- * Sample code: Get a custom entity store assignment.
+ * Sample code: Create JIT network access policy.
*
* @param manager Entry point to SecurityManager.
*/
- public static void getACustomEntityStoreAssignment(com.azure.resourcemanager.security.SecurityManager manager) {
- manager.customEntityStoreAssignments()
- .getByResourceGroupWithResponse("TestResourceGroup", "33e7cc6e-a139-4723-a0e5-76993aee0771",
- com.azure.core.util.Context.NONE);
+ public static void createJITNetworkAccessPolicy(com.azure.resourcemanager.security.SecurityManager manager) {
+ manager.jitNetworkAccessPolicies()
+ .define("default")
+ .withExistingLocation("myRg1", "westeurope")
+ .withVirtualMachines(Arrays.asList(new JitNetworkAccessPolicyVirtualMachine().withId(
+ "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/myRg1/providers/Microsoft.Compute/virtualMachines/vm1")
+ .withPorts(Arrays.asList(
+ new JitNetworkAccessPortRule().withNumber(22)
+ .withProtocol(Protocol.ASTERISK)
+ .withAllowedSourceAddressPrefix("*")
+ .withMaxRequestAccessDuration("PT3H"),
+ new JitNetworkAccessPortRule().withNumber(3389)
+ .withProtocol(Protocol.ASTERISK)
+ .withAllowedSourceAddressPrefix("*")
+ .withMaxRequestAccessDuration("PT3H")))))
+ .withKind("Basic")
+ .withRequests(Arrays.asList(new JitNetworkAccessRequestInner()
+ .withVirtualMachines(Arrays.asList(new JitNetworkAccessRequestVirtualMachine().withId(
+ "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/myRg1/providers/Microsoft.Compute/virtualMachines/vm1")
+ .withPorts(Arrays.asList(new JitNetworkAccessRequestPort().withNumber(3389)
+ .withAllowedSourceAddressPrefix("192.127.0.2")
+ .withEndTimeUtc(OffsetDateTime.parse("2018-05-17T09:06:45.5691611Z"))
+ .withStatus(Status.INITIATED)
+ .withStatusReason(StatusReason.USER_REQUESTED)))))
+ .withStartTimeUtc(OffsetDateTime.parse("2018-05-17T08:06:45.5691611Z"))
+ .withRequestor("barbara@contoso.com")))
+ .create();
}
}
```
-### CustomEntityStoreAssignments_List
+### JitNetworkAccessPolicies_Delete
```java
/**
- * Samples for CustomEntityStoreAssignments List.
+ * Samples for JitNetworkAccessPolicies Delete.
*/
-public final class CustomEntityStoreAssignmentsListSamples {
+public final class JitNetworkAccessPoliciesDeleteSamples {
/*
* x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/preview/2021-07-01-preview/examples/
- * CustomEntityStoreAssignments/customEntityStoreAssignmentListBySubscription_example.json
+ * specification/security/resource-manager/Microsoft.Security/stable/2020-01-01/examples/JitNetworkAccessPolicies/
+ * DeleteJitNetworkAccessPolicy_example.json
*/
/**
- * Sample code: List custom entity store assignments in a subscription.
+ * Sample code: Delete a JIT network access policy.
*
* @param manager Entry point to SecurityManager.
*/
- public static void
- listCustomEntityStoreAssignmentsInASubscription(com.azure.resourcemanager.security.SecurityManager manager) {
- manager.customEntityStoreAssignments().list(com.azure.core.util.Context.NONE);
+ public static void deleteAJITNetworkAccessPolicy(com.azure.resourcemanager.security.SecurityManager manager) {
+ manager.jitNetworkAccessPolicies()
+ .deleteWithResponse("myRg1", "westeurope", "default", com.azure.core.util.Context.NONE);
}
}
```
-### CustomEntityStoreAssignments_ListByResourceGroup
+### JitNetworkAccessPolicies_Get
```java
/**
- * Samples for CustomEntityStoreAssignments ListByResourceGroup.
+ * Samples for JitNetworkAccessPolicies Get.
*/
-public final class CustomEntityStoreAssignmentsListByResourceGroupSamples {
+public final class JitNetworkAccessPoliciesGetSamples {
/*
* x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/preview/2021-07-01-preview/examples/
- * CustomEntityStoreAssignments/customEntityStoreAssignmentListByResourceGroup_example.json
+ * specification/security/resource-manager/Microsoft.Security/stable/2020-01-01/examples/JitNetworkAccessPolicies/
+ * GetJitNetworkAccessPolicy_example.json
*/
/**
- * Sample code: List custom entity store assignments in a subscription and a resource group.
+ * Sample code: Get JIT network access policy.
*
* @param manager Entry point to SecurityManager.
*/
- public static void listCustomEntityStoreAssignmentsInASubscriptionAndAResourceGroup(
- com.azure.resourcemanager.security.SecurityManager manager) {
- manager.customEntityStoreAssignments()
- .listByResourceGroup("TestResourceGroup", com.azure.core.util.Context.NONE);
+ public static void getJITNetworkAccessPolicy(com.azure.resourcemanager.security.SecurityManager manager) {
+ manager.jitNetworkAccessPolicies()
+ .getWithResponse("myRg1", "westeurope", "default", com.azure.core.util.Context.NONE);
}
}
```
-### CustomRecommendations_CreateOrUpdate
+### JitNetworkAccessPolicies_Initiate
```java
-import com.azure.resourcemanager.security.models.RecommendationSupportedClouds;
-import com.azure.resourcemanager.security.models.SecurityIssue;
-import com.azure.resourcemanager.security.models.SeverityEnum;
+import com.azure.resourcemanager.security.models.JitNetworkAccessPolicyInitiatePort;
+import com.azure.resourcemanager.security.models.JitNetworkAccessPolicyInitiateRequest;
+import com.azure.resourcemanager.security.models.JitNetworkAccessPolicyInitiateVirtualMachine;
import java.util.Arrays;
/**
- * Samples for CustomRecommendations CreateOrUpdate.
+ * Samples for JitNetworkAccessPolicies Initiate.
*/
-public final class CustomRecommendationsCreateOrUpdateSamples {
+public final class JitNetworkAccessPoliciesInitiateSamples {
/*
* x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/stable/2024-08-01/examples/CustomRecommendations/
- * PutBySecurityConnectorCustomRecommendation_example.json
+ * specification/security/resource-manager/Microsoft.Security/stable/2020-01-01/examples/JitNetworkAccessPolicies/
+ * InitiateJitNetworkAccessPolicy_example.json
*/
/**
- * Sample code: Create or update custom recommendation over security connector scope.
+ * Sample code: Initiate an action on a JIT network access policy.
*
* @param manager Entry point to SecurityManager.
*/
- public static void createOrUpdateCustomRecommendationOverSecurityConnectorScope(
- com.azure.resourcemanager.security.SecurityManager manager) {
- manager.customRecommendations()
- .define("33e7cc6e-a139-4723-a0e5-76993aee0771")
- .withExistingScope(
- "subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/gcpResourceGroup/providers/Microsoft.Security/securityConnectors/gcpconnector")
- .withQuery(
- "RawEntityMetadata | where Environment == 'GCP' and Identifiers.Type == 'compute.firewalls' | extend IslogConfigEnabled = tobool(Record.logConfig.enable) | extend HealthStatus = iff(IslogConfigEnabled, 'HEALTHY', 'UNHEALTHY')")
- .withCloudProviders(Arrays.asList(RecommendationSupportedClouds.AWS))
- .withSeverity(SeverityEnum.MEDIUM)
- .withSecurityIssue(SecurityIssue.VULNERABILITY)
- .withDisplayName("Password Policy")
- .withDescription("organization passwords policy")
- .withRemediationDescription("Change password policy to...")
- .create();
+ public static void
+ initiateAnActionOnAJITNetworkAccessPolicy(com.azure.resourcemanager.security.SecurityManager manager) {
+ manager.jitNetworkAccessPolicies()
+ .initiateWithResponse("myRg1", "westeurope", "default", new JitNetworkAccessPolicyInitiateRequest()
+ .withVirtualMachines(Arrays.asList(new JitNetworkAccessPolicyInitiateVirtualMachine().withId(
+ "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/myRg1/providers/Microsoft.Compute/virtualMachines/vm1")
+ .withPorts(Arrays.asList(new JitNetworkAccessPolicyInitiatePort().withNumber(3389)
+ .withAllowedSourceAddressPrefix("192.127.0.2")))))
+ .withJustification("testing a new version of the product"), com.azure.core.util.Context.NONE);
}
+}
+```
+### JitNetworkAccessPolicies_List
+
+```java
+/**
+ * Samples for JitNetworkAccessPolicies List.
+ */
+public final class JitNetworkAccessPoliciesListSamples {
/*
* x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/stable/2024-08-01/examples/CustomRecommendations/
- * PutBySubscriptionCustomRecommendation_example.json
+ * specification/security/resource-manager/Microsoft.Security/stable/2020-01-01/examples/JitNetworkAccessPolicies/
+ * GetJitNetworkAccessPoliciesSubscription_example.json
*/
/**
- * Sample code: Create or update custom recommendation over subscription scope.
+ * Sample code: Get JIT network access policies on a subscription.
*
* @param manager Entry point to SecurityManager.
*/
- public static void createOrUpdateCustomRecommendationOverSubscriptionScope(
- com.azure.resourcemanager.security.SecurityManager manager) {
- manager.customRecommendations()
- .define("33e7cc6e-a139-4723-a0e5-76993aee0771")
- .withExistingScope("subscriptions/e5d1b86c-3051-44d5-8802-aa65d45a279b")
- .withQuery(
- "RawEntityMetadata | where Environment == 'GCP' and Identifiers.Type == 'compute.firewalls' | extend IslogConfigEnabled = tobool(Record.logConfig.enable) | extend HealthStatus = iff(IslogConfigEnabled, 'HEALTHY', 'UNHEALTHY')")
- .withCloudProviders(Arrays.asList(RecommendationSupportedClouds.AWS))
- .withSeverity(SeverityEnum.MEDIUM)
- .withSecurityIssue(SecurityIssue.VULNERABILITY)
- .withDisplayName("Password Policy")
- .withDescription("organization passwords policy")
- .withRemediationDescription("Change password policy to...")
- .create();
+ public static void
+ getJITNetworkAccessPoliciesOnASubscription(com.azure.resourcemanager.security.SecurityManager manager) {
+ manager.jitNetworkAccessPolicies().list(com.azure.core.util.Context.NONE);
}
+}
+```
+### JitNetworkAccessPolicies_ListByRegion
+
+```java
+/**
+ * Samples for JitNetworkAccessPolicies ListByRegion.
+ */
+public final class JitNetworkAccessPoliciesListByRegionSamples {
/*
* x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/stable/2024-08-01/examples/CustomRecommendations/
- * PutByManagementGroupCustomRecommendation_example.json
+ * specification/security/resource-manager/Microsoft.Security/stable/2020-01-01/examples/JitNetworkAccessPolicies/
+ * GetJitNetworkAccessPoliciesSubscriptionLocation_example.json
*/
/**
- * Sample code: Create or update custom recommendation over management group scope.
+ * Sample code: Get JIT network access policies on a subscription from a security data location.
*
* @param manager Entry point to SecurityManager.
*/
- public static void createOrUpdateCustomRecommendationOverManagementGroupScope(
+ public static void getJITNetworkAccessPoliciesOnASubscriptionFromASecurityDataLocation(
com.azure.resourcemanager.security.SecurityManager manager) {
- manager.customRecommendations()
- .define("33e7cc6e-a139-4723-a0e5-76993aee0771")
- .withExistingScope("providers/Microsoft.Management/managementGroups/contoso")
- .withQuery(
- "RawEntityMetadata | where Environment == 'GCP' and Identifiers.Type == 'compute.firewalls' | extend IslogConfigEnabled = tobool(Record.logConfig.enable) | extend HealthStatus = iff(IslogConfigEnabled, 'HEALTHY', 'UNHEALTHY')")
- .withCloudProviders(Arrays.asList(RecommendationSupportedClouds.AWS))
- .withSeverity(SeverityEnum.MEDIUM)
- .withSecurityIssue(SecurityIssue.VULNERABILITY)
- .withDisplayName("Password Policy")
- .withDescription("organization passwords policy")
- .withRemediationDescription("Change password policy to...")
- .create();
+ manager.jitNetworkAccessPolicies().listByRegion("westeurope", com.azure.core.util.Context.NONE);
}
}
```
-### CustomRecommendations_Delete
+### JitNetworkAccessPolicies_ListByResourceGroup
```java
/**
- * Samples for CustomRecommendations Delete.
+ * Samples for JitNetworkAccessPolicies ListByResourceGroup.
*/
-public final class CustomRecommendationsDeleteSamples {
+public final class JitNetworkAccessPoliciesListByResourceGroupSamples {
/*
* x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/stable/2024-08-01/examples/CustomRecommendations/
- * DeleteBySecurityConnectorCustomRecommendation_example.json
+ * specification/security/resource-manager/Microsoft.Security/stable/2020-01-01/examples/JitNetworkAccessPolicies/
+ * GetJitNetworkAccessPoliciesResourceGroup_example.json
*/
/**
- * Sample code: Delete a custom recommendation over security connector scope.
+ * Sample code: Get JIT network access policies on a resource group.
*
* @param manager Entry point to SecurityManager.
*/
- public static void deleteACustomRecommendationOverSecurityConnectorScope(
- com.azure.resourcemanager.security.SecurityManager manager) {
- manager.customRecommendations()
- .deleteByResourceGroupWithResponse(
- "subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/gcpResourceGroup/providers/Microsoft.Security/securityConnectors/gcpconnector",
- "ad9a8e26-29d9-4829-bb30-e597a58cdbb8", com.azure.core.util.Context.NONE);
+ public static void
+ getJITNetworkAccessPoliciesOnAResourceGroup(com.azure.resourcemanager.security.SecurityManager manager) {
+ manager.jitNetworkAccessPolicies().listByResourceGroup("myRg1", com.azure.core.util.Context.NONE);
}
+}
+```
+
+### JitNetworkAccessPolicies_ListByResourceGroupAndRegion
+```java
+/**
+ * Samples for JitNetworkAccessPolicies ListByResourceGroupAndRegion.
+ */
+public final class JitNetworkAccessPoliciesListByResourceGroupAndRegionSamples {
/*
* x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/stable/2024-08-01/examples/CustomRecommendations/
- * DeleteBySubscriptionCustomRecommendation_example.json
+ * specification/security/resource-manager/Microsoft.Security/stable/2020-01-01/examples/JitNetworkAccessPolicies/
+ * GetJitNetworkAccessPoliciesResourceGroupLocation_example.json
*/
/**
- * Sample code: Delete a custom recommendation over subscription scope.
+ * Sample code: Get JIT network access policies on a resource group from a security data location.
*
* @param manager Entry point to SecurityManager.
*/
- public static void
- deleteACustomRecommendationOverSubscriptionScope(com.azure.resourcemanager.security.SecurityManager manager) {
- manager.customRecommendations()
- .deleteByResourceGroupWithResponse("subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23",
- "1f3afdf9-d0c9-4c3d-847f-89da613e70a8", com.azure.core.util.Context.NONE);
+ public static void getJITNetworkAccessPoliciesOnAResourceGroupFromASecurityDataLocation(
+ com.azure.resourcemanager.security.SecurityManager manager) {
+ manager.jitNetworkAccessPolicies()
+ .listByResourceGroupAndRegion("myRg1", "westeurope", com.azure.core.util.Context.NONE);
}
+}
+```
+
+### Pricings_Delete
+```java
+/**
+ * Samples for Pricings Delete.
+ */
+public final class PricingsDeleteSamples {
/*
* x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/stable/2024-08-01/examples/CustomRecommendations/
- * DeleteByManagementGroupCustomRecommendation_example.json
+ * specification/security/resource-manager/Microsoft.Security/stable/2024-01-01/examples/Pricings/
+ * DeleteResourcePricing_example.json
*/
/**
- * Sample code: Delete a custom recommendation over management group scope.
+ * Sample code: Delete a pricing on resource.
*
* @param manager Entry point to SecurityManager.
*/
- public static void deleteACustomRecommendationOverManagementGroupScope(
- com.azure.resourcemanager.security.SecurityManager manager) {
- manager.customRecommendations()
- .deleteByResourceGroupWithResponse("providers/Microsoft.Management/managementGroups/contoso",
- "ad9a8e26-29d9-4829-bb30-e597a58cdbb8", com.azure.core.util.Context.NONE);
+ public static void deleteAPricingOnResource(com.azure.resourcemanager.security.SecurityManager manager) {
+ manager.pricings()
+ .deleteByResourceGroupWithResponse(
+ "subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/DEMO/providers/Microsoft.Compute/virtualMachines/VM-1",
+ "VirtualMachines", com.azure.core.util.Context.NONE);
}
}
```
-### CustomRecommendations_Get
+### Pricings_Get
```java
/**
- * Samples for CustomRecommendations Get.
+ * Samples for Pricings Get.
*/
-public final class CustomRecommendationsGetSamples {
+public final class PricingsGetSamples {
/*
* x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/stable/2024-08-01/examples/CustomRecommendations/
- * GetByManagementGroupCustomRecommendation_example.json
+ * specification/security/resource-manager/Microsoft.Security/stable/2024-01-01/examples/Pricings/
+ * GetResourcePricingByNameVirtualMachines_example.json
*/
/**
- * Sample code: Get a custom recommendation over management group scope.
+ * Sample code: Get pricings on resource - VirtualMachines plan.
*
* @param manager Entry point to SecurityManager.
*/
public static void
- getACustomRecommendationOverManagementGroupScope(com.azure.resourcemanager.security.SecurityManager manager) {
- manager.customRecommendations()
- .getWithResponse("providers/Microsoft.Management/managementGroups/contoso",
- "1f3afdf9-d0c9-4c3d-847f-89da613e70a8", com.azure.core.util.Context.NONE);
+ getPricingsOnResourceVirtualMachinesPlan(com.azure.resourcemanager.security.SecurityManager manager) {
+ manager.pricings()
+ .getWithResponse(
+ "subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/DEMO/providers/Microsoft.Compute/virtualMachines/VM-1",
+ "VirtualMachines", com.azure.core.util.Context.NONE);
}
/*
* x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/stable/2024-08-01/examples/CustomRecommendations/
- * GetBySecurityConnectorCustomRecommendation_example.json
+ * specification/security/resource-manager/Microsoft.Security/stable/2024-01-01/examples/Pricings/
+ * GetPricingByNameCloudPosture_example.json
*/
/**
- * Sample code: Get a custom recommendation over security connector scope.
+ * Sample code: Get pricings on subscription - CloudPosture plan.
*
* @param manager Entry point to SecurityManager.
*/
public static void
- getACustomRecommendationOverSecurityConnectorScope(com.azure.resourcemanager.security.SecurityManager manager) {
- manager.customRecommendations()
- .getWithResponse(
- "subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/gcpResourceGroup/providers/Microsoft.Security/securityConnectors/gcpconnector",
- "1f3afdf9-d0c9-4c3d-847f-89da613e70a8", com.azure.core.util.Context.NONE);
+ getPricingsOnSubscriptionCloudPosturePlan(com.azure.resourcemanager.security.SecurityManager manager) {
+ manager.pricings()
+ .getWithResponse("subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23", "CloudPosture",
+ com.azure.core.util.Context.NONE);
}
/*
* x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/stable/2024-08-01/examples/CustomRecommendations/
- * GetBySubscriptionCustomRecommendation_example.json
+ * specification/security/resource-manager/Microsoft.Security/stable/2024-01-01/examples/Pricings/
+ * GetPricingByNameDns_example.json
*/
/**
- * Sample code: Get a custom recommendation over subscription scope.
+ * Sample code: Get pricings on subscription - Dns plan.
*
* @param manager Entry point to SecurityManager.
*/
- public static void
- getACustomRecommendationOverSubscriptionScope(com.azure.resourcemanager.security.SecurityManager manager) {
- manager.customRecommendations()
- .getWithResponse("subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23",
- "1f3afdf9-d0c9-4c3d-847f-89da613e70a8", com.azure.core.util.Context.NONE);
+ public static void getPricingsOnSubscriptionDnsPlan(com.azure.resourcemanager.security.SecurityManager manager) {
+ manager.pricings()
+ .getWithResponse("subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23", "Dns",
+ com.azure.core.util.Context.NONE);
}
-}
-```
-
-### CustomRecommendations_List
-```java
-/**
- * Samples for CustomRecommendations List.
- */
-public final class CustomRecommendationsListSamples {
/*
* x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/stable/2024-08-01/examples/CustomRecommendations/
- * ListByManagementGroupCustomRecommendations_example.json
+ * specification/security/resource-manager/Microsoft.Security/stable/2024-01-01/examples/Pricings/
+ * GetPricingByNameContainers_example.json
*/
/**
- * Sample code: List custom recommendations by management group scope.
+ * Sample code: Get pricings on subscription - Containers plan.
*
* @param manager Entry point to SecurityManager.
*/
public static void
- listCustomRecommendationsByManagementGroupScope(com.azure.resourcemanager.security.SecurityManager manager) {
- manager.customRecommendations()
- .list("providers/Microsoft.Management/managementGroups/contoso", com.azure.core.util.Context.NONE);
+ getPricingsOnSubscriptionContainersPlan(com.azure.resourcemanager.security.SecurityManager manager) {
+ manager.pricings()
+ .getWithResponse("subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23", "Containers",
+ com.azure.core.util.Context.NONE);
}
/*
* x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/stable/2024-08-01/examples/CustomRecommendations/
- * ListBySubscriptionCustomRecommendations_example.json
+ * specification/security/resource-manager/Microsoft.Security/stable/2024-01-01/examples/Pricings/
+ * GetPricingByNameStorageAccounts_example.json
*/
/**
- * Sample code: List custom recommendations by subscription scope.
+ * Sample code: Get pricings on subscription - StorageAccounts plan.
*
* @param manager Entry point to SecurityManager.
*/
public static void
- listCustomRecommendationsBySubscriptionScope(com.azure.resourcemanager.security.SecurityManager manager) {
- manager.customRecommendations()
- .list("subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23", com.azure.core.util.Context.NONE);
+ getPricingsOnSubscriptionStorageAccountsPlan(com.azure.resourcemanager.security.SecurityManager manager) {
+ manager.pricings()
+ .getWithResponse("subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23", "StorageAccounts",
+ com.azure.core.util.Context.NONE);
}
/*
* x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/stable/2024-08-01/examples/CustomRecommendations/
- * ListBySecurityConnectorCustomRecommendations_example.json
+ * specification/security/resource-manager/Microsoft.Security/stable/2024-01-01/examples/Pricings/
+ * GetPricingByNameVirtualMachines_example.json
*/
/**
- * Sample code: List custom recommendations by security connector scope.
+ * Sample code: Get pricings on subscription - VirtualMachines plan.
*
* @param manager Entry point to SecurityManager.
*/
public static void
- listCustomRecommendationsBySecurityConnectorScope(com.azure.resourcemanager.security.SecurityManager manager) {
- manager.customRecommendations()
- .list(
- "subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/gcpResourceGroup/providers/Microsoft.Security/securityConnectors/gcpconnector",
+ getPricingsOnSubscriptionVirtualMachinesPlan(com.azure.resourcemanager.security.SecurityManager manager) {
+ manager.pricings()
+ .getWithResponse("subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23", "VirtualMachines",
com.azure.core.util.Context.NONE);
}
}
```
-### DefenderForStorage_CancelMalwareScan
+### Pricings_List
```java
-import com.azure.resourcemanager.security.models.SettingName;
-
/**
- * Samples for DefenderForStorage CancelMalwareScan.
+ * Samples for Pricings List.
*/
-public final class DefenderForStorageCancelMalwareScanSamples {
+public final class PricingsListSamples {
/*
* x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/preview/2024-10-01-preview/examples/DefenderForStorage
- * /CancelMalwareScan_example.json
+ * specification/security/resource-manager/Microsoft.Security/stable/2024-01-01/examples/Pricings/
+ * ListPricingsWithPlanFilter_example.json
*/
/**
- * Sample code: Cancel a Defender for Storage malware scan for the specified storage resource.
+ * Sample code: Get pricings on subscription with plans filter.
*
* @param manager Entry point to SecurityManager.
*/
- public static void cancelADefenderForStorageMalwareScanForTheSpecifiedStorageResource(
- com.azure.resourcemanager.security.SecurityManager manager) {
- manager.defenderForStorages()
- .cancelMalwareScanWithResponse(
- "subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/SampleRG/providers/Microsoft.Storage/storageAccounts/samplestorageaccount",
- SettingName.CURRENT, "latest", com.azure.core.util.Context.NONE);
- }
-}
-```
-
-### DefenderForStorage_Create
-
-```java
-import com.azure.resourcemanager.security.models.DefenderForStorageSettingProperties;
-import com.azure.resourcemanager.security.models.MalwareScanningProperties;
-import com.azure.resourcemanager.security.models.OnUploadProperties;
-import com.azure.resourcemanager.security.models.SensitiveDataDiscoveryProperties;
-import com.azure.resourcemanager.security.models.SettingName;
-
-/**
- * Samples for DefenderForStorage Create.
- */
-public final class DefenderForStorageCreateSamples {
- /*
- * x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/preview/2024-10-01-preview/examples/DefenderForStorage
- * /PutDefenderForStorageSettings_example.json
- */
- /**
- * Sample code: Creates or updates the Defender for Storage settings on a specified resource.
- *
- * @param manager Entry point to SecurityManager.
- */
- public static void createsOrUpdatesTheDefenderForStorageSettingsOnASpecifiedResource(
- com.azure.resourcemanager.security.SecurityManager manager) {
- manager.defenderForStorages()
- .define(SettingName.CURRENT)
- .withExistingResourceId(
- "subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/SampleRG/providers/Microsoft.Storage/storageAccounts/samplestorageaccount")
- .withProperties(new DefenderForStorageSettingProperties().withIsEnabled(true)
- .withMalwareScanning(new MalwareScanningProperties()
- .withOnUpload(new OnUploadProperties().withIsEnabled(true).withCapGBPerMonth(-1))
- .withScanResultsEventGridTopicResourceId(
- "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/SampleRG/providers/Microsoft.EventGrid/topics/sampletopic"))
- .withSensitiveDataDiscovery(new SensitiveDataDiscoveryProperties().withIsEnabled(true))
- .withOverrideSubscriptionLevelSettings(true))
- .create();
+ public static void
+ getPricingsOnSubscriptionWithPlansFilter(com.azure.resourcemanager.security.SecurityManager manager) {
+ manager.pricings()
+ .listWithResponse("subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23",
+ "name in (VirtualMachines,KeyVaults)", com.azure.core.util.Context.NONE);
}
-}
-```
-
-### DefenderForStorage_Get
-```java
-import com.azure.resourcemanager.security.models.SettingName;
-
-/**
- * Samples for DefenderForStorage Get.
- */
-public final class DefenderForStorageGetSamples {
/*
* x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/preview/2024-10-01-preview/examples/DefenderForStorage
- * /GetDefenderForStorageSettings_example.json
+ * specification/security/resource-manager/Microsoft.Security/stable/2024-01-01/examples/Pricings/
+ * ListPricings_example.json
*/
/**
- * Sample code: Gets the Defender for Storage settings for the specified resource.
+ * Sample code: Get pricings on subscription.
*
* @param manager Entry point to SecurityManager.
*/
- public static void getsTheDefenderForStorageSettingsForTheSpecifiedResource(
- com.azure.resourcemanager.security.SecurityManager manager) {
- manager.defenderForStorages()
- .getWithResponse(
- "subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/SampleRG/providers/Microsoft.Storage/storageAccounts/samplestorageaccount",
- SettingName.CURRENT, com.azure.core.util.Context.NONE);
+ public static void getPricingsOnSubscription(com.azure.resourcemanager.security.SecurityManager manager) {
+ manager.pricings()
+ .listWithResponse("subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23", null,
+ com.azure.core.util.Context.NONE);
}
-}
-```
-
-### DefenderForStorage_GetMalwareScan
-
-```java
-import com.azure.resourcemanager.security.models.SettingName;
-/**
- * Samples for DefenderForStorage GetMalwareScan.
- */
-public final class DefenderForStorageGetMalwareScanSamples {
/*
* x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/preview/2024-10-01-preview/examples/DefenderForStorage
- * /GetMalwareScan_example.json
+ * specification/security/resource-manager/Microsoft.Security/stable/2024-01-01/examples/Pricings/
+ * ListResourcePricings_example.json
*/
/**
- * Sample code: Gets the Defender for Storage malware scan for the specified storage resource.
+ * Sample code: Get pricings on resource.
*
* @param manager Entry point to SecurityManager.
*/
- public static void getsTheDefenderForStorageMalwareScanForTheSpecifiedStorageResource(
- com.azure.resourcemanager.security.SecurityManager manager) {
- manager.defenderForStorages()
- .getMalwareScanWithResponse(
- "subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/SampleRG/providers/Microsoft.Storage/storageAccounts/samplestorageaccount",
- SettingName.CURRENT, "latest", com.azure.core.util.Context.NONE);
+ public static void getPricingsOnResource(com.azure.resourcemanager.security.SecurityManager manager) {
+ manager.pricings()
+ .listWithResponse(
+ "subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/DEMO/providers/Microsoft.Compute/virtualMachines/VM-1",
+ null, com.azure.core.util.Context.NONE);
}
}
```
-### DefenderForStorage_StartMalwareScan
+### Pricings_Update
```java
-import com.azure.resourcemanager.security.models.SettingName;
+import com.azure.resourcemanager.security.fluent.models.PricingInner;
+import com.azure.resourcemanager.security.models.Enforce;
+import com.azure.resourcemanager.security.models.PricingTier;
/**
- * Samples for DefenderForStorage StartMalwareScan.
+ * Samples for Pricings Update.
*/
-public final class DefenderForStorageStartMalwareScanSamples {
+public final class PricingsUpdateSamples {
/*
* x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/preview/2024-10-01-preview/examples/DefenderForStorage
- * /StartMalwareScan_example.json
+ * specification/security/resource-manager/Microsoft.Security/stable/2024-01-01/examples/Pricings/
+ * PutPricingByName_example.json
*/
/**
- * Sample code: Initiate a Defender for Storage malware scan for the specified storage account.
+ * Sample code: Update pricing on subscription (example for CloudPosture plan).
*
* @param manager Entry point to SecurityManager.
*/
- public static void initiateADefenderForStorageMalwareScanForTheSpecifiedStorageAccount(
+ public static void updatePricingOnSubscriptionExampleForCloudPosturePlan(
com.azure.resourcemanager.security.SecurityManager manager) {
- manager.defenderForStorages()
- .startMalwareScanWithResponse(
- "subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/SampleRG/providers/Microsoft.Storage/storageAccounts/samplestorageaccount",
- SettingName.CURRENT, com.azure.core.util.Context.NONE);
+ manager.pricings()
+ .updateWithResponse("subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23", "CloudPosture",
+ new PricingInner().withPricingTier(PricingTier.STANDARD), com.azure.core.util.Context.NONE);
}
-}
-```
-
-### DevOpsConfigurations_CreateOrUpdate
-
-```java
-import com.azure.resourcemanager.security.fluent.models.DevOpsConfigurationInner;
-import com.azure.resourcemanager.security.models.Authorization;
-import com.azure.resourcemanager.security.models.AutoDiscovery;
-import com.azure.resourcemanager.security.models.DevOpsConfigurationProperties;
-import java.util.Arrays;
-/**
- * Samples for DevOpsConfigurations CreateOrUpdate.
- */
-public final class DevOpsConfigurationsCreateOrUpdateSamples {
/*
* x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/preview/2024-05-15-preview/examples/
- * SecurityConnectorsDevOps/CreateOrUpdateDevOpsConfigurationsOnboardCurrentAndFuture_example.json
+ * specification/security/resource-manager/Microsoft.Security/stable/2024-01-01/examples/Pricings/
+ * PutPricingByNamePartialSuccess_example.json
*/
/**
- * Sample code: CreateOrUpdate_DevOpsConfigurations_OnboardCurrentAndFuture.
+ * Sample code: Update pricing on subscription (example for CloudPosture plan) - partial success.
*
* @param manager Entry point to SecurityManager.
*/
- public static void createOrUpdateDevOpsConfigurationsOnboardCurrentAndFuture(
+ public static void updatePricingOnSubscriptionExampleForCloudPosturePlanPartialSuccess(
com.azure.resourcemanager.security.SecurityManager manager) {
- manager.devOpsConfigurations()
- .createOrUpdate("myRg", "mySecurityConnectorName",
- new DevOpsConfigurationInner().withProperties(new DevOpsConfigurationProperties()
- .withAuthorization(new Authorization().withCode("fakeTokenPlaceholder"))
- .withAutoDiscovery(AutoDiscovery.ENABLED)),
- com.azure.core.util.Context.NONE);
+ manager.pricings()
+ .updateWithResponse("subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23", "CloudPosture",
+ new PricingInner().withPricingTier(PricingTier.STANDARD), com.azure.core.util.Context.NONE);
}
/*
* x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/preview/2024-05-15-preview/examples/
- * SecurityConnectorsDevOps/CreateOrUpdateDevOpsConfigurationsOnboardCurrentOnly_example.json
+ * specification/security/resource-manager/Microsoft.Security/stable/2024-01-01/examples/Pricings/
+ * PutPricingVMsByName_example.json
*/
/**
- * Sample code: CreateOrUpdate_DevOpsConfigurations_OnboardCurrentOnly.
+ * Sample code: Update pricing on subscription (example for VirtualMachines plan).
*
* @param manager Entry point to SecurityManager.
*/
- public static void createOrUpdateDevOpsConfigurationsOnboardCurrentOnly(
+ public static void updatePricingOnSubscriptionExampleForVirtualMachinesPlan(
com.azure.resourcemanager.security.SecurityManager manager) {
- manager.devOpsConfigurations()
- .createOrUpdate("myRg", "mySecurityConnectorName",
- new DevOpsConfigurationInner().withProperties(new DevOpsConfigurationProperties()
- .withAuthorization(new Authorization().withCode("fakeTokenPlaceholder"))
- .withAutoDiscovery(AutoDiscovery.DISABLED)),
- com.azure.core.util.Context.NONE);
- }
-
- /*
- * x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/preview/2024-05-15-preview/examples/
- * SecurityConnectorsDevOps/CreateOrUpdateDevOpsConfigurationsOnboardSelected_example.json
- */
- /**
- * Sample code: CreateOrUpdate_DevOpsConfigurations_OnboardSelected.
- *
- * @param manager Entry point to SecurityManager.
- */
- public static void
- createOrUpdateDevOpsConfigurationsOnboardSelected(com.azure.resourcemanager.security.SecurityManager manager) {
- manager.devOpsConfigurations()
- .createOrUpdate("myRg", "mySecurityConnectorName",
- new DevOpsConfigurationInner().withProperties(new DevOpsConfigurationProperties()
- .withAuthorization(new Authorization().withCode("fakeTokenPlaceholder"))
- .withAutoDiscovery(AutoDiscovery.DISABLED)
- .withTopLevelInventoryList(Arrays.asList("org1", "org2"))),
- com.azure.core.util.Context.NONE);
- }
-}
-```
-
-### DevOpsConfigurations_Delete
-
-```java
-/**
- * Samples for DevOpsConfigurations Delete.
- */
-public final class DevOpsConfigurationsDeleteSamples {
- /*
- * x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/preview/2024-05-15-preview/examples/
- * SecurityConnectorsDevOps/DeleteDevOpsConfigurations_example.json
- */
- /**
- * Sample code: Delete_DevOpsConfigurations.
- *
- * @param manager Entry point to SecurityManager.
- */
- public static void deleteDevOpsConfigurations(com.azure.resourcemanager.security.SecurityManager manager) {
- manager.devOpsConfigurations().delete("myRg", "mySecurityConnectorName", com.azure.core.util.Context.NONE);
- }
-}
-```
-
-### DevOpsConfigurations_Get
-
-```java
-/**
- * Samples for DevOpsConfigurations Get.
- */
-public final class DevOpsConfigurationsGetSamples {
- /*
- * x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/preview/2024-05-15-preview/examples/
- * SecurityConnectorsDevOps/GetDevOpsConfigurationsWithCapabilities_example.json
- */
- /**
- * Sample code: Get_DevOpsConfigurations_WithCapabilities.
- *
- * @param manager Entry point to SecurityManager.
- */
- public static void
- getDevOpsConfigurationsWithCapabilities(com.azure.resourcemanager.security.SecurityManager manager) {
- manager.devOpsConfigurations()
- .getWithResponse("myRg", "mySecurityConnectorName", com.azure.core.util.Context.NONE);
- }
-
- /*
- * x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/preview/2024-05-15-preview/examples/
- * SecurityConnectorsDevOps/GetDevOpsConfigurations_example.json
- */
- /**
- * Sample code: Get_DevOpsConfigurations.
- *
- * @param manager Entry point to SecurityManager.
- */
- public static void getDevOpsConfigurations(com.azure.resourcemanager.security.SecurityManager manager) {
- manager.devOpsConfigurations()
- .getWithResponse("myRg", "mySecurityConnectorName", com.azure.core.util.Context.NONE);
- }
-}
-```
-
-### DevOpsConfigurations_List
-
-```java
-/**
- * Samples for DevOpsConfigurations List.
- */
-public final class DevOpsConfigurationsListSamples {
- /*
- * x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/preview/2024-05-15-preview/examples/
- * SecurityConnectorsDevOps/ListDevOpsConfigurations_example.json
- */
- /**
- * Sample code: List_DevOpsConfigurations.
- *
- * @param manager Entry point to SecurityManager.
- */
- public static void listDevOpsConfigurations(com.azure.resourcemanager.security.SecurityManager manager) {
- manager.devOpsConfigurations().list("myRg", "mySecurityConnectorName", com.azure.core.util.Context.NONE);
- }
-}
-```
-
-### DevOpsConfigurations_Update
-
-```java
-import com.azure.resourcemanager.security.fluent.models.DevOpsConfigurationInner;
-import com.azure.resourcemanager.security.models.AutoDiscovery;
-import com.azure.resourcemanager.security.models.DevOpsConfigurationProperties;
-
-/**
- * Samples for DevOpsConfigurations Update.
- */
-public final class DevOpsConfigurationsUpdateSamples {
- /*
- * x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/preview/2024-05-15-preview/examples/
- * SecurityConnectorsDevOps/UpdateDevOpsConfigurations_example.json
- */
- /**
- * Sample code: Update_DevOpsConfigurations.
- *
- * @param manager Entry point to SecurityManager.
- */
- public static void updateDevOpsConfigurations(com.azure.resourcemanager.security.SecurityManager manager) {
- manager.devOpsConfigurations()
- .update("myRg", "mySecurityConnectorName",
- new DevOpsConfigurationInner()
- .withProperties(new DevOpsConfigurationProperties().withAutoDiscovery(AutoDiscovery.ENABLED)),
- com.azure.core.util.Context.NONE);
- }
-}
-```
-
-### DevOpsOperationResults_Get
-
-```java
-/**
- * Samples for DevOpsOperationResults Get.
- */
-public final class DevOpsOperationResultsGetSamples {
- /*
- * x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/preview/2024-05-15-preview/examples/
- * SecurityConnectorsDevOps/GetDevOpsOperationResultsFailed_example.json
- */
- /**
- * Sample code: Get_DevOpsOperationResults_Failed.
- *
- * @param manager Entry point to SecurityManager.
- */
- public static void getDevOpsOperationResultsFailed(com.azure.resourcemanager.security.SecurityManager manager) {
- manager.devOpsOperationResults()
- .getWithResponse("myRg", "mySecurityConnectorName", "8d4caace-e7b3-4b3e-af99-73f76829ebcf",
- com.azure.core.util.Context.NONE);
- }
-
- /*
- * x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/preview/2024-05-15-preview/examples/
- * SecurityConnectorsDevOps/GetDevOpsOperationResultsSucceeded_example.json
- */
- /**
- * Sample code: Get_DevOpsOperationResults_Succeeded.
- *
- * @param manager Entry point to SecurityManager.
- */
- public static void getDevOpsOperationResultsSucceeded(com.azure.resourcemanager.security.SecurityManager manager) {
- manager.devOpsOperationResults()
- .getWithResponse("myRg", "mySecurityConnectorName", "4e826cf1-5c36-4808-a7d2-fb4f5170978b",
+ manager.pricings()
+ .updateWithResponse("subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23", "VirtualMachines",
+ new PricingInner().withPricingTier(PricingTier.STANDARD).withSubPlan("P2").withEnforce(Enforce.TRUE),
com.azure.core.util.Context.NONE);
}
-}
-```
-
-### DevOpsPolicies_Get
-
-```java
-/**
- * Samples for DevOpsPolicies Get.
- */
-public final class DevOpsPoliciesGetSamples {
- /*
- * x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/preview/2024-05-15-preview/examples/
- * SecurityConnectorsDevOps/GetDevOpsPolicies_example.json
- */
- /**
- * Sample code: Get_DevOpsPolicies.
- *
- * @param manager Entry point to SecurityManager.
- */
- public static void getDevOpsPolicies(com.azure.resourcemanager.security.SecurityManager manager) {
- manager.devOpsPolicies()
- .getWithResponse("myRg", "mySecurityConnectorName", "myDevOpsPolicy", com.azure.core.util.Context.NONE);
- }
-}
-```
-
-### DevOpsPolicies_List
-
-```java
-/**
- * Samples for DevOpsPolicies List.
- */
-public final class DevOpsPoliciesListSamples {
- /*
- * x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/preview/2024-05-15-preview/examples/
- * SecurityConnectorsDevOps/ListDevOpsPolicies_example.json
- */
- /**
- * Sample code: List_DevOpsPolicies.
- *
- * @param manager Entry point to SecurityManager.
- */
- public static void listDevOpsPolicies(com.azure.resourcemanager.security.SecurityManager manager) {
- manager.devOpsPolicies().list("myRg", "mySecurityConnectorName", null, com.azure.core.util.Context.NONE);
- }
-}
-```
-
-### DevOpsPolicyAssignments_CreateOrUpdate
-
-```java
-import com.azure.resourcemanager.security.models.DescendantBehavior;
-import com.azure.resourcemanager.security.models.DevOpsPolicyAssignmentProperties;
-import com.azure.resourcemanager.security.models.DevOpsPolicyDescriptor;
-import com.azure.resourcemanager.security.models.DevOpsPolicyType;
-
-/**
- * Samples for DevOpsPolicyAssignments CreateOrUpdate.
- */
-public final class DevOpsPolicyAssignmentsCreateOrUpdateSamples {
- /*
- * x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/preview/2024-05-15-preview/examples/
- * SecurityConnectorsDevOps/CreateOrUpdateDevOpsPolicyAssignments_example.json
- */
- /**
- * Sample code: CreateOrUpdate_DevOpsPolicyAssignments.
- *
- * @param manager Entry point to SecurityManager.
- */
- public static void
- createOrUpdateDevOpsPolicyAssignments(com.azure.resourcemanager.security.SecurityManager manager) {
- manager.devOpsPolicyAssignments()
- .define("5ec87f43-62d8-437b-8f46-4c8d4032cf6d")
- .withExistingSecurityConnector("myRg", "mySecurityConnectorName")
- .withProperties(new DevOpsPolicyAssignmentProperties().withResourceId(
- "/subscriptions/0806e1cd-cfda-4ff8-b99c-2b0af42cffd3/resourcegroups/myRg/providers/Microsoft.Security/securityConnectors/mySecurityConnectorName/devops/default/azureDevOpsOrgs/Contoso")
- .withDescendantBehavior(DescendantBehavior.OVERRIDE)
- .withPolicy(new DevOpsPolicyDescriptor().withPolicyName("myDevOpsPolicy")
- .withPolicyId("00000000-0000-0000-0000-000000000000")
- .withPolicyVersion("1.0")
- .withPolicyType(DevOpsPolicyType.PIPELINE)))
- .create();
- }
-}
-```
-
-### DevOpsPolicyAssignments_Delete
-
-```java
-/**
- * Samples for DevOpsPolicyAssignments Delete.
- */
-public final class DevOpsPolicyAssignmentsDeleteSamples {
- /*
- * x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/preview/2024-05-15-preview/examples/
- * SecurityConnectorsDevOps/DeleteDevOpsPolicyAssignments_example.json
- */
- /**
- * Sample code: Delete_DevOpsPolicyAssignments.
- *
- * @param manager Entry point to SecurityManager.
- */
- public static void deleteDevOpsPolicyAssignments(com.azure.resourcemanager.security.SecurityManager manager) {
- manager.devOpsPolicyAssignments()
- .delete("myRg", "mySecurityConnectorName", "5ec87f43-62d8-437b-8f46-4c8d4032cf6d",
- com.azure.core.util.Context.NONE);
- }
-}
-```
-
-### DevOpsPolicyAssignments_Get
-
-```java
-/**
- * Samples for DevOpsPolicyAssignments Get.
- */
-public final class DevOpsPolicyAssignmentsGetSamples {
- /*
- * x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/preview/2024-05-15-preview/examples/
- * SecurityConnectorsDevOps/GetDevOpsPolicyAssignments_example.json
- */
- /**
- * Sample code: Get_DevOpsPolicyAssignments.
- *
- * @param manager Entry point to SecurityManager.
- */
- public static void getDevOpsPolicyAssignments(com.azure.resourcemanager.security.SecurityManager manager) {
- manager.devOpsPolicyAssignments()
- .getWithResponse("myRg", "mySecurityConnectorName", "5ec87f43-62d8-437b-8f46-4c8d4032cf6d",
- com.azure.core.util.Context.NONE);
- }
-}
-```
-
-### DevOpsPolicyAssignments_List
-
-```java
-/**
- * Samples for DevOpsPolicyAssignments List.
- */
-public final class DevOpsPolicyAssignmentsListSamples {
- /*
- * x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/preview/2024-05-15-preview/examples/
- * SecurityConnectorsDevOps/ListDevOpsPolicyAssignments_example.json
- */
- /**
- * Sample code: List_DevOpsPolicyAssignments.
- *
- * @param manager Entry point to SecurityManager.
- */
- public static void listDevOpsPolicyAssignments(com.azure.resourcemanager.security.SecurityManager manager) {
- manager.devOpsPolicyAssignments()
- .list("myRg", "mySecurityConnectorName", null, null, com.azure.core.util.Context.NONE);
- }
-}
-```
-
-### DevOpsPolicyAssignments_Update
-
-```java
-import com.azure.resourcemanager.security.models.DescendantBehavior;
-import com.azure.resourcemanager.security.models.DevOpsPolicyAssignment;
-import com.azure.resourcemanager.security.models.DevOpsPolicyAssignmentProperties;
-import com.azure.resourcemanager.security.models.DevOpsPolicyDescriptor;
-import com.azure.resourcemanager.security.models.DevOpsPolicyType;
-
-/**
- * Samples for DevOpsPolicyAssignments Update.
- */
-public final class DevOpsPolicyAssignmentsUpdateSamples {
- /*
- * x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/preview/2024-05-15-preview/examples/
- * SecurityConnectorsDevOps/UpdateDevOpsPolicyAssignments_example.json
- */
- /**
- * Sample code: Update_DevOpsPolicyAssignments.
- *
- * @param manager Entry point to SecurityManager.
- */
- public static void updateDevOpsPolicyAssignments(com.azure.resourcemanager.security.SecurityManager manager) {
- DevOpsPolicyAssignment resource = manager.devOpsPolicyAssignments()
- .getWithResponse("myRg", "mySecurityConnectorName", "5ec87f43-62d8-437b-8f46-4c8d4032cf6d",
- com.azure.core.util.Context.NONE)
- .getValue();
- resource.update()
- .withProperties(new DevOpsPolicyAssignmentProperties().withResourceId(
- "/subscriptions/0806e1cd-cfda-4ff8-b99c-2b0af42cffd3/resourcegroups/myRg/providers/Microsoft.Security/securityConnectors/mySecurityConnectorName/devops/default/azureDevOpsOrgs/Contoso")
- .withDescendantBehavior(DescendantBehavior.OVERRIDE)
- .withPolicy(new DevOpsPolicyDescriptor().withPolicyName("myDevOpsPolicy")
- .withPolicyId("00000000-0000-0000-0000-000000000000")
- .withPolicyVersion("1.0")
- .withPolicyType(DevOpsPolicyType.PIPELINE)))
- .apply();
- }
-}
-```
-
-### DeviceSecurityGroups_CreateOrUpdate
-
-```java
-import com.azure.resourcemanager.security.models.ActiveConnectionsNotInAllowedRange;
-import java.time.Duration;
-import java.util.Arrays;
-
-/**
- * Samples for DeviceSecurityGroups CreateOrUpdate.
- */
-public final class DeviceSecurityGroupsCreateOrUpdateSamples {
- /*
- * x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/DeviceSecurityGroups/
- * PutDeviceSecurityGroups_example.json
- */
- /**
- * Sample code: Create or update a device security group for the specified IoT hub resource.
- *
- * @param manager Entry point to SecurityManager.
- */
- public static void createOrUpdateADeviceSecurityGroupForTheSpecifiedIoTHubResource(
- com.azure.resourcemanager.security.SecurityManager manager) {
- manager.deviceSecurityGroups()
- .define("samplesecuritygroup")
- .withExistingResourceId(
- "subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/SampleRG/providers/Microsoft.Devices/iotHubs/sampleiothub")
- .withTimeWindowRules(Arrays.asList(new ActiveConnectionsNotInAllowedRange().withIsEnabled(true)
- .withMinThreshold(0)
- .withMaxThreshold(30)
- .withTimeWindowSize(Duration.parse("PT05M"))))
- .create();
- }
-}
-```
-
-### DeviceSecurityGroups_Delete
-
-```java
-/**
- * Samples for DeviceSecurityGroups Delete.
- */
-public final class DeviceSecurityGroupsDeleteSamples {
- /*
- * x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/DeviceSecurityGroups/
- * DeleteDeviceSecurityGroups_example.json
- */
- /**
- * Sample code: Delete a device security group for the specified IoT Hub resource.
- *
- * @param manager Entry point to SecurityManager.
- */
- public static void deleteADeviceSecurityGroupForTheSpecifiedIoTHubResource(
- com.azure.resourcemanager.security.SecurityManager manager) {
- manager.deviceSecurityGroups()
- .deleteByResourceGroupWithResponse(
- "subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/SampleRG/providers/Microsoft.Devices/iotHubs/sampleiothub",
- "samplesecuritygroup", com.azure.core.util.Context.NONE);
- }
-}
-```
-
-### DeviceSecurityGroups_Get
-
-```java
-/**
- * Samples for DeviceSecurityGroups Get.
- */
-public final class DeviceSecurityGroupsGetSamples {
- /*
- * x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/DeviceSecurityGroups/
- * GetDeviceSecurityGroups_example.json
- */
- /**
- * Sample code: Get a device security group for the specified IoT Hub resource.
- *
- * @param manager Entry point to SecurityManager.
- */
- public static void getADeviceSecurityGroupForTheSpecifiedIoTHubResource(
- com.azure.resourcemanager.security.SecurityManager manager) {
- manager.deviceSecurityGroups()
- .getWithResponse(
- "subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/SampleRG/providers/Microsoft.Devices/iotHubs/sampleiothub",
- "samplesecuritygroup", com.azure.core.util.Context.NONE);
- }
-}
-```
-
-### DeviceSecurityGroups_List
-
-```java
-/**
- * Samples for DeviceSecurityGroups List.
- */
-public final class DeviceSecurityGroupsListSamples {
- /*
- * x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/DeviceSecurityGroups/
- * ListDeviceSecurityGroups_example.json
- */
- /**
- * Sample code: List all device security groups for the specified IoT Hub resource.
- *
- * @param manager Entry point to SecurityManager.
- */
- public static void listAllDeviceSecurityGroupsForTheSpecifiedIoTHubResource(
- com.azure.resourcemanager.security.SecurityManager manager) {
- manager.deviceSecurityGroups()
- .list(
- "subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/SampleRG/providers/Microsoft.Devices/iotHubs/sampleiothub",
- com.azure.core.util.Context.NONE);
- }
-}
-```
-
-### DiscoveredSecuritySolutions_Get
-
-```java
-/**
- * Samples for DiscoveredSecuritySolutions Get.
- */
-public final class DiscoveredSecuritySolutionsGetSamples {
- /*
- * x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/stable/2020-01-01/examples/DiscoveredSecuritySolutions
- * /GetDiscoveredSecuritySolutionResourceGroupLocation_example.json
- */
- /**
- * Sample code: Get discovered security solution from a security data location.
- *
- * @param manager Entry point to SecurityManager.
- */
- public static void getDiscoveredSecuritySolutionFromASecurityDataLocation(
- com.azure.resourcemanager.security.SecurityManager manager) {
- manager.discoveredSecuritySolutions()
- .getWithResponse("myRg2", "centralus", "paloalto7", com.azure.core.util.Context.NONE);
- }
-}
-```
-
-### DiscoveredSecuritySolutions_List
-
-```java
-/**
- * Samples for DiscoveredSecuritySolutions List.
- */
-public final class DiscoveredSecuritySolutionsListSamples {
- /*
- * x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/stable/2020-01-01/examples/DiscoveredSecuritySolutions
- * /GetDiscoveredSecuritySolutionsSubscription_example.json
- */
- /**
- * Sample code: Get discovered security solutions.
- *
- * @param manager Entry point to SecurityManager.
- */
- public static void getDiscoveredSecuritySolutions(com.azure.resourcemanager.security.SecurityManager manager) {
- manager.discoveredSecuritySolutions().list(com.azure.core.util.Context.NONE);
- }
-}
-```
-
-### DiscoveredSecuritySolutions_ListByHomeRegion
-
-```java
-/**
- * Samples for DiscoveredSecuritySolutions ListByHomeRegion.
- */
-public final class DiscoveredSecuritySolutionsListByHomeRegionSamples {
- /*
- * x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/stable/2020-01-01/examples/DiscoveredSecuritySolutions
- * /GetDiscoveredSecuritySolutionsSubscriptionLocation_example.json
- */
- /**
- * Sample code: Get discovered security solutions from a security data location.
- *
- * @param manager Entry point to SecurityManager.
- */
- public static void getDiscoveredSecuritySolutionsFromASecurityDataLocation(
- com.azure.resourcemanager.security.SecurityManager manager) {
- manager.discoveredSecuritySolutions().listByHomeRegion("centralus", com.azure.core.util.Context.NONE);
- }
-}
-```
-
-### ExternalSecuritySolutions_Get
-
-```java
-/**
- * Samples for ExternalSecuritySolutions Get.
- */
-public final class ExternalSecuritySolutionsGetSamples {
- /*
- * x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/stable/2020-01-01/examples/ExternalSecuritySolutions/
- * GetExternalSecuritySolution_example.json
- */
- /**
- * Sample code: Get external security solution.
- *
- * @param manager Entry point to SecurityManager.
- */
- public static void getExternalSecuritySolution(com.azure.resourcemanager.security.SecurityManager manager) {
- manager.externalSecuritySolutions()
- .getWithResponse("defaultresourcegroup-eus", "centralus",
- "aad_defaultworkspace-20ff7fc3-e762-44dd-bd96-b71116dcdc23-eus", com.azure.core.util.Context.NONE);
- }
-}
-```
-
-### ExternalSecuritySolutions_List
-
-```java
-/**
- * Samples for ExternalSecuritySolutions List.
- */
-public final class ExternalSecuritySolutionsListSamples {
- /*
- * x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/stable/2020-01-01/examples/ExternalSecuritySolutions/
- * GetExternalSecuritySolutionsSubscription_example.json
- */
- /**
- * Sample code: Get external security solutions on a subscription.
- *
- * @param manager Entry point to SecurityManager.
- */
- public static void
- getExternalSecuritySolutionsOnASubscription(com.azure.resourcemanager.security.SecurityManager manager) {
- manager.externalSecuritySolutions().list(com.azure.core.util.Context.NONE);
- }
-}
-```
-
-### ExternalSecuritySolutions_ListByHomeRegion
-
-```java
-/**
- * Samples for ExternalSecuritySolutions ListByHomeRegion.
- */
-public final class ExternalSecuritySolutionsListByHomeRegionSamples {
- /*
- * x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/stable/2020-01-01/examples/ExternalSecuritySolutions/
- * GetExternalSecuritySolutionsSubscriptionLocation_example.json
- */
- /**
- * Sample code: Get external security solutions on a subscription from security data location.
- *
- * @param manager Entry point to SecurityManager.
- */
- public static void getExternalSecuritySolutionsOnASubscriptionFromSecurityDataLocation(
- com.azure.resourcemanager.security.SecurityManager manager) {
- manager.externalSecuritySolutions().listByHomeRegion("centralus", com.azure.core.util.Context.NONE);
- }
-}
-```
-
-### GitHubOwners_Get
-
-```java
-/**
- * Samples for GitHubOwners Get.
- */
-public final class GitHubOwnersGetSamples {
- /*
- * x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/preview/2024-05-15-preview/examples/
- * SecurityConnectorsDevOps/GetGitHubOwners_example.json
- */
- /**
- * Sample code: Get_GitHubOwners.
- *
- * @param manager Entry point to SecurityManager.
- */
- public static void getGitHubOwners(com.azure.resourcemanager.security.SecurityManager manager) {
- manager.gitHubOwners()
- .getWithResponse("myRg", "mySecurityConnectorName", "myGitHubOwner", com.azure.core.util.Context.NONE);
- }
-}
-```
-
-### GitHubOwners_List
-
-```java
-/**
- * Samples for GitHubOwners List.
- */
-public final class GitHubOwnersListSamples {
- /*
- * x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/preview/2024-05-15-preview/examples/
- * SecurityConnectorsDevOps/ListGitHubOwners_example.json
- */
- /**
- * Sample code: List_GitHubOwners.
- *
- * @param manager Entry point to SecurityManager.
- */
- public static void listGitHubOwners(com.azure.resourcemanager.security.SecurityManager manager) {
- manager.gitHubOwners().list("myRg", "mySecurityConnectorName", com.azure.core.util.Context.NONE);
- }
-}
-```
-
-### GitHubOwners_ListAvailable
-
-```java
-/**
- * Samples for GitHubOwners ListAvailable.
- */
-public final class GitHubOwnersListAvailableSamples {
- /*
- * x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/preview/2024-05-15-preview/examples/
- * SecurityConnectorsDevOps/ListAvailableGitHubOwners_example.json
- */
- /**
- * Sample code: ListAvailable_GitHubOwners.
- *
- * @param manager Entry point to SecurityManager.
- */
- public static void listAvailableGitHubOwners(com.azure.resourcemanager.security.SecurityManager manager) {
- manager.gitHubOwners()
- .listAvailableWithResponse("myRg", "mySecurityConnectorName", com.azure.core.util.Context.NONE);
- }
-}
-```
-
-### GitHubRepos_Get
-
-```java
-/**
- * Samples for GitHubRepos Get.
- */
-public final class GitHubReposGetSamples {
- /*
- * x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/preview/2024-05-15-preview/examples/
- * SecurityConnectorsDevOps/GetGitHubRepos_example.json
- */
- /**
- * Sample code: Get_GitHubRepos.
- *
- * @param manager Entry point to SecurityManager.
- */
- public static void getGitHubRepos(com.azure.resourcemanager.security.SecurityManager manager) {
- manager.gitHubRepos()
- .getWithResponse("myRg", "mySecurityConnectorName", "myGitHubOwner", "myGitHubRepo",
- com.azure.core.util.Context.NONE);
- }
-}
-```
-
-### GitHubRepos_List
-
-```java
-/**
- * Samples for GitHubRepos List.
- */
-public final class GitHubReposListSamples {
- /*
- * x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/preview/2024-05-15-preview/examples/
- * SecurityConnectorsDevOps/ListGitHubRepos_example.json
- */
- /**
- * Sample code: List_GitHubRepos.
- *
- * @param manager Entry point to SecurityManager.
- */
- public static void listGitHubRepos(com.azure.resourcemanager.security.SecurityManager manager) {
- manager.gitHubRepos()
- .list("myRg", "mySecurityConnectorName", "myGitHubOwner", com.azure.core.util.Context.NONE);
- }
-}
-```
-
-### GitLabGroups_Get
-
-```java
-/**
- * Samples for GitLabGroups Get.
- */
-public final class GitLabGroupsGetSamples {
- /*
- * x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/preview/2024-05-15-preview/examples/
- * SecurityConnectorsDevOps/GetGitLabGroups_example.json
- */
- /**
- * Sample code: Get_GitLabGroups.
- *
- * @param manager Entry point to SecurityManager.
- */
- public static void getGitLabGroups(com.azure.resourcemanager.security.SecurityManager manager) {
- manager.gitLabGroups()
- .getWithResponse("myRg", "mySecurityConnectorName", "myGitLabGroup$mySubGroup",
- com.azure.core.util.Context.NONE);
- }
-}
-```
-
-### GitLabGroups_List
-
-```java
-/**
- * Samples for GitLabGroups List.
- */
-public final class GitLabGroupsListSamples {
- /*
- * x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/preview/2024-05-15-preview/examples/
- * SecurityConnectorsDevOps/ListGitLabGroups_example.json
- */
- /**
- * Sample code: List_GitLabGroups.
- *
- * @param manager Entry point to SecurityManager.
- */
- public static void listGitLabGroups(com.azure.resourcemanager.security.SecurityManager manager) {
- manager.gitLabGroups().list("myRg", "mySecurityConnectorName", com.azure.core.util.Context.NONE);
- }
-}
-```
-
-### GitLabGroups_ListAvailable
-
-```java
-/**
- * Samples for GitLabGroups ListAvailable.
- */
-public final class GitLabGroupsListAvailableSamples {
- /*
- * x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/preview/2024-05-15-preview/examples/
- * SecurityConnectorsDevOps/ListAvailableGitLabGroups_example.json
- */
- /**
- * Sample code: ListAvailable_GitLabGroups.
- *
- * @param manager Entry point to SecurityManager.
- */
- public static void listAvailableGitLabGroups(com.azure.resourcemanager.security.SecurityManager manager) {
- manager.gitLabGroups()
- .listAvailableWithResponse("myRg", "mySecurityConnectorName", com.azure.core.util.Context.NONE);
- }
-}
-```
-
-### GitLabProjects_Get
-
-```java
-/**
- * Samples for GitLabProjects Get.
- */
-public final class GitLabProjectsGetSamples {
- /*
- * x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/preview/2024-05-15-preview/examples/
- * SecurityConnectorsDevOps/GetGitLabProjects_example.json
- */
- /**
- * Sample code: Get_GitLabProjects.
- *
- * @param manager Entry point to SecurityManager.
- */
- public static void getGitLabProjects(com.azure.resourcemanager.security.SecurityManager manager) {
- manager.gitLabProjects()
- .getWithResponse("myRg", "mySecurityConnectorName", "myGitLabGroup$mySubGroup", "myGitLabProject",
- com.azure.core.util.Context.NONE);
- }
-}
-```
-
-### GitLabProjects_List
-
-```java
-/**
- * Samples for GitLabProjects List.
- */
-public final class GitLabProjectsListSamples {
- /*
- * x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/preview/2024-05-15-preview/examples/
- * SecurityConnectorsDevOps/ListGitLabProjects_example.json
- */
- /**
- * Sample code: List_GitLabProjects.
- *
- * @param manager Entry point to SecurityManager.
- */
- public static void listGitLabProjects(com.azure.resourcemanager.security.SecurityManager manager) {
- manager.gitLabProjects()
- .list("myRg", "mySecurityConnectorName", "myGitLabGroup$mySubGroup", com.azure.core.util.Context.NONE);
- }
-}
-```
-
-### GitLabSubgroups_List
-
-```java
-/**
- * Samples for GitLabSubgroups List.
- */
-public final class GitLabSubgroupsListSamples {
- /*
- * x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/preview/2024-05-15-preview/examples/
- * SecurityConnectorsDevOps/ListGitLabSubgroups_example.json
- */
- /**
- * Sample code: List_GitLabSubgroups.
- *
- * @param manager Entry point to SecurityManager.
- */
- public static void listGitLabSubgroups(com.azure.resourcemanager.security.SecurityManager manager) {
- manager.gitLabSubgroups()
- .listWithResponse("myRg", "mySecurityConnectorName", "myGitLabGroup", com.azure.core.util.Context.NONE);
- }
-}
-```
-
-### GovernanceAssignments_CreateOrUpdate
-
-```java
-import com.azure.resourcemanager.security.models.GovernanceAssignmentAdditionalData;
-import com.azure.resourcemanager.security.models.GovernanceEmailNotification;
-import com.azure.resourcemanager.security.models.RemediationEta;
-import java.time.OffsetDateTime;
-
-/**
- * Samples for GovernanceAssignments CreateOrUpdate.
- */
-public final class GovernanceAssignmentsCreateOrUpdateSamples {
- /*
- * x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/preview/2022-01-01-preview/examples/
- * GovernanceAssignments/PutGovernanceAssignment_example.json
- */
- /**
- * Sample code: Create Governance assignment.
- *
- * @param manager Entry point to SecurityManager.
- */
- public static void createGovernanceAssignment(com.azure.resourcemanager.security.SecurityManager manager) {
- manager.governanceAssignments()
- .define("6634ff9f-127b-4bf2-8e6e-b1737f5e789c")
- .withExistingAssessment(
- "subscriptions/c32e05d9-7207-4e22-bdf4-4f7d9c72e5fd/resourceGroups/compute_servers/providers/Microsoft.Compute/virtualMachines/win2012",
- "6b9421dd-5555-2251-9b3d-2be58e2f82cd")
- .withOwner("user@contoso.com")
- .withRemediationDueDate(OffsetDateTime.parse("2022-01-07T13:00:00.0000000Z"))
- .withRemediationEta(new RemediationEta().withEta(OffsetDateTime.parse("2022-01-08T13:00:00.0000000Z"))
- .withJustification("Justification of ETA"))
- .withIsGracePeriod(true)
- .withGovernanceEmailNotification(
- new GovernanceEmailNotification().withDisableManagerEmailNotification(false)
- .withDisableOwnerEmailNotification(false))
- .withAdditionalData(new GovernanceAssignmentAdditionalData().withTicketNumber(123123)
- .withTicketLink("https://snow.com")
- .withTicketStatus("Active"))
- .create();
- }
-}
-```
-
-### GovernanceAssignments_Delete
-
-```java
-/**
- * Samples for GovernanceAssignments Delete.
- */
-public final class GovernanceAssignmentsDeleteSamples {
- /*
- * x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/preview/2022-01-01-preview/examples/
- * GovernanceAssignments/DeleteGovernanceAssignment_example.json
- */
- /**
- * Sample code: Delete security assignment.
- *
- * @param manager Entry point to SecurityManager.
- */
- public static void deleteSecurityAssignment(com.azure.resourcemanager.security.SecurityManager manager) {
- manager.governanceAssignments()
- .deleteWithResponse(
- "subscriptions/c32e05d9-7207-4e22-bdf4-4f7d9c72e5fd/resourceGroups/compute_servers/providers/Microsoft.Compute/virtualMachines/win2012",
- "6b9421dd-5555-2251-9b3d-2be58e2f82cd", "6634ff9f-127b-4bf2-8e6e-b1737f5e789c",
- com.azure.core.util.Context.NONE);
- }
-}
-```
-
-### GovernanceAssignments_Get
-
-```java
-/**
- * Samples for GovernanceAssignments Get.
- */
-public final class GovernanceAssignmentsGetSamples {
- /*
- * x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/preview/2022-01-01-preview/examples/
- * GovernanceAssignments/GetGovernanceAssignment_example.json
- */
- /**
- * Sample code: Get governanceAssignment by specific governanceAssignmentKey.
- *
- * @param manager Entry point to SecurityManager.
- */
- public static void getGovernanceAssignmentBySpecificGovernanceAssignmentKey(
- com.azure.resourcemanager.security.SecurityManager manager) {
- manager.governanceAssignments()
- .getWithResponse(
- "subscriptions/c32e05d9-7207-4e22-bdf4-4f7d9c72e5fd/resourceGroups/compute_servers/providers/Microsoft.Compute/virtualMachines/win2012",
- "6b9421dd-5555-2251-9b3d-2be58e2f82cd", "6634ff9f-127b-4bf2-8e6e-b1737f5e789c",
- com.azure.core.util.Context.NONE);
- }
-}
-```
-
-### GovernanceAssignments_List
-
-```java
-/**
- * Samples for GovernanceAssignments List.
- */
-public final class GovernanceAssignmentsListSamples {
- /*
- * x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/preview/2022-01-01-preview/examples/
- * GovernanceAssignments/ListGovernanceAssignments_example.json
- */
- /**
- * Sample code: List governance assignments.
- *
- * @param manager Entry point to SecurityManager.
- */
- public static void listGovernanceAssignments(com.azure.resourcemanager.security.SecurityManager manager) {
- manager.governanceAssignments()
- .list("subscriptions/c32e05d9-7207-4e22-bdf4-4f7d9c72e5fd", "6b9421dd-5555-2251-9b3d-2be58e2f82cd",
- com.azure.core.util.Context.NONE);
- }
-}
-```
-
-### GovernanceRules_CreateOrUpdate
-
-```java
-import com.azure.core.management.serializer.SerializerFactory;
-import com.azure.core.util.serializer.SerializerEncoding;
-import com.azure.resourcemanager.security.models.GovernanceRuleEmailNotification;
-import com.azure.resourcemanager.security.models.GovernanceRuleOwnerSource;
-import com.azure.resourcemanager.security.models.GovernanceRuleOwnerSourceType;
-import com.azure.resourcemanager.security.models.GovernanceRuleSourceResourceType;
-import com.azure.resourcemanager.security.models.GovernanceRuleType;
-import java.io.IOException;
-import java.util.Arrays;
-
-/**
- * Samples for GovernanceRules CreateOrUpdate.
- */
-public final class GovernanceRulesCreateOrUpdateSamples {
- /*
- * x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/preview/2022-01-01-preview/examples/GovernanceRules/
- * PutManagementGroupGovernanceRule_example.json
- */
- /**
- * Sample code: Create or update governance rule over management group scope.
- *
- * @param manager Entry point to SecurityManager.
- */
- public static void createOrUpdateGovernanceRuleOverManagementGroupScope(
- com.azure.resourcemanager.security.SecurityManager manager) throws IOException {
- manager.governanceRules()
- .define("ad9a8e26-29d9-4829-bb30-e597a58cdbb8")
- .withExistingScope("providers/Microsoft.Management/managementGroups/contoso")
- .withDisplayName("Management group rule")
- .withDescription("A rule for a management group")
- .withRemediationTimeframe("7.00:00:00")
- .withIsGracePeriod(true)
- .withRulePriority(200)
- .withIsDisabled(false)
- .withRuleType(GovernanceRuleType.INTEGRATED)
- .withSourceResourceType(GovernanceRuleSourceResourceType.ASSESSMENTS)
- .withExcludedScopes(Arrays.asList("/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23"))
- .withConditionSets(Arrays.asList(SerializerFactory.createDefaultManagementSerializerAdapter()
- .deserialize(
- "{\"conditions\":[{\"operator\":\"In\",\"property\":\"$.AssessmentKey\",\"value\":\"[\\\"b1cd27e0-4ecc-4246-939f-49c426d9d72f\\\", \\\"fe83f80b-073d-4ccf-93d9-6797eb870201\\\"]\"}]}",
- Object.class, SerializerEncoding.JSON)))
- .withOwnerSource(new GovernanceRuleOwnerSource().withType(GovernanceRuleOwnerSourceType.MANUALLY)
- .withValue("user@contoso.com"))
- .withGovernanceEmailNotification(
- new GovernanceRuleEmailNotification().withDisableManagerEmailNotification(true)
- .withDisableOwnerEmailNotification(false))
- .create();
- }
-
- /*
- * x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/preview/2022-01-01-preview/examples/GovernanceRules/
- * PutSecurityConnectorGovernanceRule_example.json
- */
- /**
- * Sample code: Create or update governance rule over security connector scope.
- *
- * @param manager Entry point to SecurityManager.
- */
- public static void createOrUpdateGovernanceRuleOverSecurityConnectorScope(
- com.azure.resourcemanager.security.SecurityManager manager) throws IOException {
- manager.governanceRules()
- .define("ad9a8e26-29d9-4829-bb30-e597a58cdbb8")
- .withExistingScope(
- "subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/gcpResourceGroup/providers/Microsoft.Security/securityConnectors/gcpconnector")
- .withDisplayName("GCP Admin's rule")
- .withDescription("A rule on critical GCP recommendations")
- .withRemediationTimeframe("7.00:00:00")
- .withIsGracePeriod(true)
- .withRulePriority(200)
- .withIsDisabled(false)
- .withRuleType(GovernanceRuleType.INTEGRATED)
- .withSourceResourceType(GovernanceRuleSourceResourceType.ASSESSMENTS)
- .withConditionSets(Arrays.asList(SerializerFactory.createDefaultManagementSerializerAdapter()
- .deserialize(
- "{\"conditions\":[{\"operator\":\"In\",\"property\":\"$.AssessmentKey\",\"value\":\"[\\\"b1cd27e0-4ecc-4246-939f-49c426d9d72f\\\", \\\"fe83f80b-073d-4ccf-93d9-6797eb870201\\\"]\"}]}",
- Object.class, SerializerEncoding.JSON)))
- .withOwnerSource(new GovernanceRuleOwnerSource().withType(GovernanceRuleOwnerSourceType.MANUALLY)
- .withValue("user@contoso.com"))
- .withGovernanceEmailNotification(
- new GovernanceRuleEmailNotification().withDisableManagerEmailNotification(true)
- .withDisableOwnerEmailNotification(false))
- .create();
- }
-
- /*
- * x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/preview/2022-01-01-preview/examples/GovernanceRules/
- * PutGovernanceRule_example.json
- */
- /**
- * Sample code: Create or update governance rule over subscription scope.
- *
- * @param manager Entry point to SecurityManager.
- */
- public static void createOrUpdateGovernanceRuleOverSubscriptionScope(
- com.azure.resourcemanager.security.SecurityManager manager) throws IOException {
- manager.governanceRules()
- .define("ad9a8e26-29d9-4829-bb30-e597a58cdbb8")
- .withExistingScope("subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23")
- .withDisplayName("Admin's rule")
- .withDescription("A rule for critical recommendations")
- .withRemediationTimeframe("7.00:00:00")
- .withIsGracePeriod(true)
- .withRulePriority(200)
- .withIsDisabled(false)
- .withRuleType(GovernanceRuleType.INTEGRATED)
- .withSourceResourceType(GovernanceRuleSourceResourceType.ASSESSMENTS)
- .withConditionSets(Arrays.asList(SerializerFactory.createDefaultManagementSerializerAdapter()
- .deserialize(
- "{\"conditions\":[{\"operator\":\"In\",\"property\":\"$.AssessmentKey\",\"value\":\"[\\\"b1cd27e0-4ecc-4246-939f-49c426d9d72f\\\", \\\"fe83f80b-073d-4ccf-93d9-6797eb870201\\\"]\"}]}",
- Object.class, SerializerEncoding.JSON)))
- .withOwnerSource(new GovernanceRuleOwnerSource().withType(GovernanceRuleOwnerSourceType.MANUALLY)
- .withValue("user@contoso.com"))
- .withGovernanceEmailNotification(
- new GovernanceRuleEmailNotification().withDisableManagerEmailNotification(false)
- .withDisableOwnerEmailNotification(false))
- .create();
- }
-}
-```
-
-### GovernanceRules_Delete
-
-```java
-/**
- * Samples for GovernanceRules Delete.
- */
-public final class GovernanceRulesDeleteSamples {
- /*
- * x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/preview/2022-01-01-preview/examples/GovernanceRules/
- * DeleteManagementGroupGovernanceRule_example.json
- */
- /**
- * Sample code: Delete a Governance rule over management group scope.
- *
- * @param manager Entry point to SecurityManager.
- */
- public static void
- deleteAGovernanceRuleOverManagementGroupScope(com.azure.resourcemanager.security.SecurityManager manager) {
- manager.governanceRules()
- .delete("providers/Microsoft.Management/managementGroups/contoso", "ad9a8e26-29d9-4829-bb30-e597a58cdbb8",
- com.azure.core.util.Context.NONE);
- }
-
- /*
- * x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/preview/2022-01-01-preview/examples/GovernanceRules/
- * DeleteGovernanceRule_example.json
- */
- /**
- * Sample code: Delete a Governance rule over subscription scope.
- *
- * @param manager Entry point to SecurityManager.
- */
- public static void
- deleteAGovernanceRuleOverSubscriptionScope(com.azure.resourcemanager.security.SecurityManager manager) {
- manager.governanceRules()
- .delete("subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23", "ad9a8e26-29d9-4829-bb30-e597a58cdbb8",
- com.azure.core.util.Context.NONE);
- }
-
- /*
- * x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/preview/2022-01-01-preview/examples/GovernanceRules/
- * DeleteSecurityConnectorGovernanceRule_example.json
- */
- /**
- * Sample code: Delete a Governance rule over security connector scope.
- *
- * @param manager Entry point to SecurityManager.
- */
- public static void
- deleteAGovernanceRuleOverSecurityConnectorScope(com.azure.resourcemanager.security.SecurityManager manager) {
- manager.governanceRules()
- .delete(
- "subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/gcpResourceGroup/providers/Microsoft.Security/securityConnectors/gcpconnector",
- "ad9a8e26-29d9-4829-bb30-e597a58cdbb8", com.azure.core.util.Context.NONE);
- }
-}
-```
-
-### GovernanceRules_Execute
-
-```java
-
-/**
- * Samples for GovernanceRules Execute.
- */
-public final class GovernanceRulesExecuteSamples {
- /*
- * x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/preview/2022-01-01-preview/examples/GovernanceRules/
- * PostSecurityConnectorGovernanceRule_example.json
- */
- /**
- * Sample code: Execute governance rule over security connector scope.
- *
- * @param manager Entry point to SecurityManager.
- */
- public static void
- executeGovernanceRuleOverSecurityConnectorScope(com.azure.resourcemanager.security.SecurityManager manager) {
- manager.governanceRules()
- .execute(
- "subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/gcpResourceGroup/providers/Microsoft.Security/securityConnectors/gcpconnector",
- "ad9a8e26-29d9-4829-bb30-e597a58cdbb8", null, com.azure.core.util.Context.NONE);
- }
-
- /*
- * x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/preview/2022-01-01-preview/examples/GovernanceRules/
- * PostGovernanceRule_example.json
- */
- /**
- * Sample code: Execute Governance rule over subscription scope.
- *
- * @param manager Entry point to SecurityManager.
- */
- public static void
- executeGovernanceRuleOverSubscriptionScope(com.azure.resourcemanager.security.SecurityManager manager) {
- manager.governanceRules()
- .execute("subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23", "ad9a8e26-29d9-4829-bb30-e597a58cdbb8", null,
- com.azure.core.util.Context.NONE);
- }
-
- /*
- * x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/preview/2022-01-01-preview/examples/GovernanceRules/
- * PostManagementGroupGovernanceRule_example.json
- */
- /**
- * Sample code: Execute governance rule over management group scope.
- *
- * @param manager Entry point to SecurityManager.
- */
- public static void
- executeGovernanceRuleOverManagementGroupScope(com.azure.resourcemanager.security.SecurityManager manager) {
- manager.governanceRules()
- .execute("providers/Microsoft.Management/managementGroups/contoso", "ad9a8e26-29d9-4829-bb30-e597a58cdbb8",
- null, com.azure.core.util.Context.NONE);
- }
-}
-```
-
-### GovernanceRules_Get
-
-```java
-/**
- * Samples for GovernanceRules Get.
- */
-public final class GovernanceRulesGetSamples {
- /*
- * x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/preview/2022-01-01-preview/examples/GovernanceRules/
- * GetManagementGroupGovernanceRule_example.json
- */
- /**
- * Sample code: Get a governance rule over management group scope.
- *
- * @param manager Entry point to SecurityManager.
- */
- public static void
- getAGovernanceRuleOverManagementGroupScope(com.azure.resourcemanager.security.SecurityManager manager) {
- manager.governanceRules()
- .getWithResponse("providers/Microsoft.Management/managementGroups/contoso",
- "ad9a8e26-29d9-4829-bb30-e597a58cdbb8", com.azure.core.util.Context.NONE);
- }
-
- /*
- * x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/preview/2022-01-01-preview/examples/GovernanceRules/
- * GetGovernanceRule_example.json
- */
- /**
- * Sample code: Get a governance rule over subscription scope.
- *
- * @param manager Entry point to SecurityManager.
- */
- public static void
- getAGovernanceRuleOverSubscriptionScope(com.azure.resourcemanager.security.SecurityManager manager) {
- manager.governanceRules()
- .getWithResponse("subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23",
- "ad9a8e26-29d9-4829-bb30-e597a58cdbb8", com.azure.core.util.Context.NONE);
- }
-
- /*
- * x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/preview/2022-01-01-preview/examples/GovernanceRules/
- * GetSecurityConnectorGovernanceRule_example.json
- */
- /**
- * Sample code: Get a governance rule over security connector scope.
- *
- * @param manager Entry point to SecurityManager.
- */
- public static void
- getAGovernanceRuleOverSecurityConnectorScope(com.azure.resourcemanager.security.SecurityManager manager) {
- manager.governanceRules()
- .getWithResponse(
- "subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/gcpResourceGroup/providers/Microsoft.Security/securityConnectors/gcpconnector",
- "ad9a8e26-29d9-4829-bb30-e597a58cdbb8", com.azure.core.util.Context.NONE);
- }
-}
-```
-
-### GovernanceRules_List
-
-```java
-/**
- * Samples for GovernanceRules List.
- */
-public final class GovernanceRulesListSamples {
- /*
- * x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/preview/2022-01-01-preview/examples/GovernanceRules/
- * ListBySubscriptionGovernanceRules_example.json
- */
- /**
- * Sample code: List governance rules by subscription scope.
- *
- * @param manager Entry point to SecurityManager.
- */
- public static void
- listGovernanceRulesBySubscriptionScope(com.azure.resourcemanager.security.SecurityManager manager) {
- manager.governanceRules()
- .list("subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23", com.azure.core.util.Context.NONE);
- }
-
- /*
- * x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/preview/2022-01-01-preview/examples/GovernanceRules/
- * ListBySecurityConnectorGovernanceRules_example.json
- */
- /**
- * Sample code: List governance rules by security connector scope.
- *
- * @param manager Entry point to SecurityManager.
- */
- public static void
- listGovernanceRulesBySecurityConnectorScope(com.azure.resourcemanager.security.SecurityManager manager) {
- manager.governanceRules()
- .list(
- "subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/gcpResourceGroup/providers/Microsoft.Security/securityConnectors/gcpconnector",
- com.azure.core.util.Context.NONE);
- }
-
- /*
- * x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/preview/2022-01-01-preview/examples/GovernanceRules/
- * ListByManagementGroupGovernanceRules_example.json
- */
- /**
- * Sample code: List governance rules by management group scope.
- *
- * @param manager Entry point to SecurityManager.
- */
- public static void
- listGovernanceRulesByManagementGroupScope(com.azure.resourcemanager.security.SecurityManager manager) {
- manager.governanceRules()
- .list("providers/Microsoft.Management/managementGroups/contoso", com.azure.core.util.Context.NONE);
- }
-}
-```
-
-### GovernanceRules_OperationResults
-
-```java
-/**
- * Samples for GovernanceRules OperationResults.
- */
-public final class GovernanceRulesOperationResultsSamples {
- /*
- * x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/preview/2022-01-01-preview/examples/GovernanceRules/
- * GetManagementGroupGovernanceRuleExecuteStatus_example.json
- */
- /**
- * Sample code: Get governance rules long run operation result over management group.
- *
- * @param manager Entry point to SecurityManager.
- */
- public static void getGovernanceRulesLongRunOperationResultOverManagementGroup(
- com.azure.resourcemanager.security.SecurityManager manager) {
- manager.governanceRules()
- .operationResultsWithResponse("providers/Microsoft.Management/managementGroups/contoso",
- "ad9a8e26-29d9-4829-bb30-e597a58cdbb8", "58b33f4f-c8c7-4b01-99cc-d437db4d40dd",
- com.azure.core.util.Context.NONE);
- }
-
- /*
- * x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/preview/2022-01-01-preview/examples/GovernanceRules/
- * GetSecurityConnectorGovernanceRuleExecuteStatus_example.json
- */
- /**
- * Sample code: Get governance rules long run operation result over security connector.
- *
- * @param manager Entry point to SecurityManager.
- */
- public static void getGovernanceRulesLongRunOperationResultOverSecurityConnector(
- com.azure.resourcemanager.security.SecurityManager manager) {
- manager.governanceRules()
- .operationResultsWithResponse(
- "subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/gcpResourceGroup/providers/Microsoft.Security/securityConnectors/gcpconnector",
- "ad9a8e26-29d9-4829-bb30-e597a58cdbb8", "58b33f4f-c8c7-4b01-99cc-d437db4d40dd",
- com.azure.core.util.Context.NONE);
- }
-
- /*
- * x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/preview/2022-01-01-preview/examples/GovernanceRules/
- * GetGovernanceRuleExecuteStatus_example.json
- */
- /**
- * Sample code: Get governance rules long run operation result over subscription.
- *
- * @param manager Entry point to SecurityManager.
- */
- public static void getGovernanceRulesLongRunOperationResultOverSubscription(
- com.azure.resourcemanager.security.SecurityManager manager) {
- manager.governanceRules()
- .operationResultsWithResponse("subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23",
- "ad9a8e26-29d9-4829-bb30-e597a58cdbb8", "58b33f4f-c8c7-4b01-99cc-d437db4d40dd",
- com.azure.core.util.Context.NONE);
- }
-}
-```
-
-### HealthReports_Get
-
-```java
-/**
- * Samples for HealthReports Get.
- */
-public final class HealthReportsGetSamples {
- /*
- * x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/preview/2023-05-01-preview/examples/HealthReports/
- * GetHealthReports_example.json
- */
- /**
- * Sample code: Get health report of resource.
- *
- * @param manager Entry point to SecurityManager.
- */
- public static void getHealthReportOfResource(com.azure.resourcemanager.security.SecurityManager manager) {
- manager.healthReports()
- .getWithResponse(
- "subscriptions/a1efb6ca-fbc5-4782-9aaa-5c7daded1ce2/resourcegroups/E2E-IBB0WX/providers/Microsoft.Security/securityconnectors/AwsConnectorAllOfferings",
- "909c629a-bf39-4521-8e4f-10b443a0bc02", com.azure.core.util.Context.NONE);
- }
-}
-```
-
-### HealthReports_List
-
-```java
-/**
- * Samples for HealthReports List.
- */
-public final class HealthReportsListSamples {
- /*
- * x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/preview/2023-05-01-preview/examples/HealthReports/
- * ListHealthReports_example.json
- */
- /**
- * Sample code: List health reports.
- *
- * @param manager Entry point to SecurityManager.
- */
- public static void listHealthReports(com.azure.resourcemanager.security.SecurityManager manager) {
- manager.healthReports()
- .list("subscriptions/a1efb6ca-fbc5-4782-9aaa-5c7daded1ce2", com.azure.core.util.Context.NONE);
- }
-}
-```
-
-### InformationProtectionPolicies_CreateOrUpdate
-
-```java
-import com.azure.resourcemanager.security.models.InformationProtectionKeyword;
-import com.azure.resourcemanager.security.models.InformationProtectionPolicyName;
-import com.azure.resourcemanager.security.models.InformationType;
-import com.azure.resourcemanager.security.models.SensitivityLabel;
-import java.util.Arrays;
-import java.util.HashMap;
-import java.util.Map;
-import java.util.UUID;
-
-/**
- * Samples for InformationProtectionPolicies CreateOrUpdate.
- */
-public final class InformationProtectionPoliciesCreateOrUpdateSamples {
- /*
- * x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/examples/
- * InformationProtectionPolicies/CreateOrUpdateInformationProtectionPolicy_example.json
- */
- /**
- * Sample code: Create or update an information protection policy for a management group.
- *
- * @param manager Entry point to SecurityManager.
- */
- public static void createOrUpdateAnInformationProtectionPolicyForAManagementGroup(
- com.azure.resourcemanager.security.SecurityManager manager) {
- manager.informationProtectionPolicies()
- .define(InformationProtectionPolicyName.CUSTOM)
- .withExistingScope("providers/Microsoft.Management/managementGroups/148059f7-faf3-49a6-ba35-85122112291e")
- .withLabels(mapOf("1345da73-bc5a-4a8f-b7dd-3820eb713da8",
- new SensitivityLabel().withDisplayName("Public").withOrder(100).withEnabled(true),
- "575739d2-3d53-4df0-9042-4c7772d5c7b1",
- new SensitivityLabel().withDisplayName("Confidential").withOrder(300).withEnabled(true),
- "7aa516c7-5a53-4857-bc6e-6808c6acd542",
- new SensitivityLabel().withDisplayName("General").withOrder(200).withEnabled(true)))
- .withInformationTypes(mapOf("3bf35491-99b8-41f2-86d5-c1200a7df658",
- new InformationType().withDisplayName("Custom")
- .withOrder(1400)
- .withRecommendedLabelId(UUID.fromString("7aa516c7-5a53-4857-bc6e-6808c6acd542"))
- .withEnabled(true)
- .withCustom(true)
- .withKeywords(Arrays.asList(new InformationProtectionKeyword().withPattern("%custom%")
- .withCustom(true)
- .withCanBeNumeric(true))),
- "7fb9419d-2473-4ad8-8e11-b25cc8cf6a07",
- new InformationType().withDisplayName("Networking")
- .withOrder(100)
- .withRecommendedLabelId(UUID.fromString("575739d2-3d53-4df0-9042-4c7772d5c7b1"))
- .withEnabled(true)
- .withCustom(false)
- .withKeywords(Arrays.asList(new InformationProtectionKeyword().withPattern("%networking%")
- .withCustom(true)
- .withCanBeNumeric(false)))))
- .create();
- }
-
- // Use "Map.of" if available
- @SuppressWarnings("unchecked")
- private static Map mapOf(Object... inputs) {
- Map map = new HashMap<>();
- for (int i = 0; i < inputs.length; i += 2) {
- String key = (String) inputs[i];
- T value = (T) inputs[i + 1];
- map.put(key, value);
- }
- return map;
- }
-}
-```
-
-### InformationProtectionPolicies_Get
-
-```java
-import com.azure.resourcemanager.security.models.InformationProtectionPolicyName;
-
-/**
- * Samples for InformationProtectionPolicies Get.
- */
-public final class InformationProtectionPoliciesGetSamples {
- /*
- * x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/examples/
- * InformationProtectionPolicies/GetCustomInformationProtectionPolicy_example.json
- */
- /**
- * Sample code: Get the customized information protection policy for a management group.
- *
- * @param manager Entry point to SecurityManager.
- */
- public static void getTheCustomizedInformationProtectionPolicyForAManagementGroup(
- com.azure.resourcemanager.security.SecurityManager manager) {
- manager.informationProtectionPolicies()
- .getWithResponse("providers/Microsoft.Management/managementGroups/148059f7-faf3-49a6-ba35-85122112291e",
- InformationProtectionPolicyName.CUSTOM, com.azure.core.util.Context.NONE);
- }
-
- /*
- * x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/examples/
- * InformationProtectionPolicies/GetEffectiveInformationProtectionPolicy_example.json
- */
- /**
- * Sample code: Get the effective information protection policy for a management group.
- *
- * @param manager Entry point to SecurityManager.
- */
- public static void getTheEffectiveInformationProtectionPolicyForAManagementGroup(
- com.azure.resourcemanager.security.SecurityManager manager) {
- manager.informationProtectionPolicies()
- .getWithResponse("providers/Microsoft.Management/managementGroups/148059f7-faf3-49a6-ba35-85122112291e",
- InformationProtectionPolicyName.EFFECTIVE, com.azure.core.util.Context.NONE);
- }
-}
-```
-
-### InformationProtectionPolicies_List
-
-```java
-/**
- * Samples for InformationProtectionPolicies List.
- */
-public final class InformationProtectionPoliciesListSamples {
- /*
- * x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/examples/
- * InformationProtectionPolicies/ListInformationProtectionPolicies_example.json
- */
- /**
- * Sample code: Get information protection policies.
- *
- * @param manager Entry point to SecurityManager.
- */
- public static void getInformationProtectionPolicies(com.azure.resourcemanager.security.SecurityManager manager) {
- manager.informationProtectionPolicies()
- .list("providers/Microsoft.Management/managementGroups/148059f7-faf3-49a6-ba35-85122112291e",
- com.azure.core.util.Context.NONE);
- }
-}
-```
-
-### IotSecuritySolution_CreateOrUpdate
-
-```java
-import com.azure.resourcemanager.security.models.RecommendationConfigStatus;
-import com.azure.resourcemanager.security.models.RecommendationConfigurationProperties;
-import com.azure.resourcemanager.security.models.RecommendationType;
-import com.azure.resourcemanager.security.models.SecuritySolutionStatus;
-import com.azure.resourcemanager.security.models.UnmaskedIpLoggingStatus;
-import com.azure.resourcemanager.security.models.UserDefinedResourcesProperties;
-import java.util.Arrays;
-import java.util.HashMap;
-import java.util.Map;
-
-/**
- * Samples for IotSecuritySolution CreateOrUpdate.
- */
-public final class IotSecuritySolutionCreateOrUpdateSamples {
- /*
- * x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutions/
- * CreateIoTSecuritySolution.json
- */
- /**
- * Sample code: Create or update a IoT security solution.
- *
- * @param manager Entry point to SecurityManager.
- */
- public static void createOrUpdateAIoTSecuritySolution(com.azure.resourcemanager.security.SecurityManager manager) {
- manager.iotSecuritySolutions()
- .define("default")
- .withExistingResourceGroup("MyGroup")
- .withRegion("East Us")
- .withTags(mapOf())
- .withWorkspace(
- "/subscriptions/c4930e90-cd72-4aa5-93e9-2d081d129569/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace1")
- .withDisplayName("Solution Default")
- .withStatus(SecuritySolutionStatus.ENABLED)
- .withExport(Arrays.asList())
- .withDisabledDataSources(Arrays.asList())
- .withIotHubs(Arrays.asList(
- "/subscriptions/075423e9-7d33-4166-8bdf-3920b04e3735/resourceGroups/myRg/providers/Microsoft.Devices/IotHubs/FirstIotHub"))
- .withUserDefinedResources(new UserDefinedResourcesProperties()
- .withQuery("where type != \"microsoft.devices/iothubs\" | where name contains \"iot\"")
- .withQuerySubscriptions(Arrays.asList("075423e9-7d33-4166-8bdf-3920b04e3735")))
- .withRecommendationsConfiguration(Arrays.asList(
- new RecommendationConfigurationProperties().withRecommendationType(RecommendationType.IO_T_OPEN_PORTS)
- .withStatus(RecommendationConfigStatus.DISABLED),
- new RecommendationConfigurationProperties()
- .withRecommendationType(RecommendationType.IO_T_SHARED_CREDENTIALS)
- .withStatus(RecommendationConfigStatus.DISABLED)))
- .withUnmaskedIpLoggingStatus(UnmaskedIpLoggingStatus.ENABLED)
- .create();
- }
-
- // Use "Map.of" if available
- @SuppressWarnings("unchecked")
- private static Map mapOf(Object... inputs) {
- Map map = new HashMap<>();
- for (int i = 0; i < inputs.length; i += 2) {
- String key = (String) inputs[i];
- T value = (T) inputs[i + 1];
- map.put(key, value);
- }
- return map;
- }
-}
-```
-
-### IotSecuritySolution_Delete
-
-```java
-/**
- * Samples for IotSecuritySolution Delete.
- */
-public final class IotSecuritySolutionDeleteSamples {
- /*
- * x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutions/
- * DeleteIoTSecuritySolution.json
- */
- /**
- * Sample code: Delete an IoT security solution.
- *
- * @param manager Entry point to SecurityManager.
- */
- public static void deleteAnIoTSecuritySolution(com.azure.resourcemanager.security.SecurityManager manager) {
- manager.iotSecuritySolutions()
- .deleteByResourceGroupWithResponse("MyGroup", "default", com.azure.core.util.Context.NONE);
- }
-}
-```
-
-### IotSecuritySolution_GetByResourceGroup
-
-```java
-/**
- * Samples for IotSecuritySolution GetByResourceGroup.
- */
-public final class IotSecuritySolutionGetByResourceGroupSamples {
- /*
- * x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutions/
- * GetIoTSecuritySolution.json
- */
- /**
- * Sample code: Get a IoT security solution.
- *
- * @param manager Entry point to SecurityManager.
- */
- public static void getAIoTSecuritySolution(com.azure.resourcemanager.security.SecurityManager manager) {
- manager.iotSecuritySolutions()
- .getByResourceGroupWithResponse("MyGroup", "default", com.azure.core.util.Context.NONE);
- }
-}
-```
-
-### IotSecuritySolution_List
-
-```java
-/**
- * Samples for IotSecuritySolution List.
- */
-public final class IotSecuritySolutionListSamples {
- /*
- * x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutions/
- * GetIoTSecuritySolutionsList.json
- */
- /**
- * Sample code: List IoT Security solutions by subscription.
- *
- * @param manager Entry point to SecurityManager.
- */
- public static void
- listIoTSecuritySolutionsBySubscription(com.azure.resourcemanager.security.SecurityManager manager) {
- manager.iotSecuritySolutions().list(null, com.azure.core.util.Context.NONE);
- }
-
- /*
- * x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutions/
- * GetIoTSecuritySolutionsListByIotHub.json
- */
- /**
- * Sample code: List IoT Security solutions by IoT Hub.
- *
- * @param manager Entry point to SecurityManager.
- */
- public static void listIoTSecuritySolutionsByIoTHub(com.azure.resourcemanager.security.SecurityManager manager) {
- manager.iotSecuritySolutions()
- .list(
- "properties.iotHubs/any(i eq \"/subscriptions/075423e9-7d33-4166-8bdf-3920b04e3735/resourceGroups/myRg/providers/Microsoft.Devices/IotHubs/FirstIotHub\")",
- com.azure.core.util.Context.NONE);
- }
-}
-```
-
-### IotSecuritySolution_ListByResourceGroup
-
-```java
-/**
- * Samples for IotSecuritySolution ListByResourceGroup.
- */
-public final class IotSecuritySolutionListByResourceGroupSamples {
- /*
- * x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutions/
- * GetIoTSecuritySolutionsListByIotHubAndRg.json
- */
- /**
- * Sample code: List IoT Security solutions by resource group and IoT Hub.
- *
- * @param manager Entry point to SecurityManager.
- */
- public static void
- listIoTSecuritySolutionsByResourceGroupAndIoTHub(com.azure.resourcemanager.security.SecurityManager manager) {
- manager.iotSecuritySolutions()
- .listByResourceGroup("MyRg",
- "properties.iotHubs/any(i eq \"/subscriptions/075423e9-7d33-4166-8bdf-3920b04e3735/resourceGroups/myRg/providers/Microsoft.Devices/IotHubs/FirstIotHub\")",
- com.azure.core.util.Context.NONE);
- }
-
- /*
- * x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutions/
- * GetIoTSecuritySolutionsListByRg.json
- */
- /**
- * Sample code: List IoT Security solutions by resource group.
- *
- * @param manager Entry point to SecurityManager.
- */
- public static void
- listIoTSecuritySolutionsByResourceGroup(com.azure.resourcemanager.security.SecurityManager manager) {
- manager.iotSecuritySolutions().listByResourceGroup("MyGroup", null, com.azure.core.util.Context.NONE);
- }
-}
-```
-
-### IotSecuritySolution_Update
-
-```java
-import com.azure.resourcemanager.security.models.IoTSecuritySolutionModel;
-import com.azure.resourcemanager.security.models.RecommendationConfigStatus;
-import com.azure.resourcemanager.security.models.RecommendationConfigurationProperties;
-import com.azure.resourcemanager.security.models.RecommendationType;
-import com.azure.resourcemanager.security.models.UserDefinedResourcesProperties;
-import java.util.Arrays;
-import java.util.HashMap;
-import java.util.Map;
-
-/**
- * Samples for IotSecuritySolution Update.
- */
-public final class IotSecuritySolutionUpdateSamples {
- /*
- * x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutions/
- * UpdateIoTSecuritySolution.json
- */
- /**
- * Sample code: Use this method to update existing IoT Security solution.
- *
- * @param manager Entry point to SecurityManager.
- */
- public static void
- useThisMethodToUpdateExistingIoTSecuritySolution(com.azure.resourcemanager.security.SecurityManager manager) {
- IoTSecuritySolutionModel resource = manager.iotSecuritySolutions()
- .getByResourceGroupWithResponse("myRg", "default", com.azure.core.util.Context.NONE)
- .getValue();
- resource.update()
- .withTags(mapOf("foo", "bar"))
- .withUserDefinedResources(new UserDefinedResourcesProperties()
- .withQuery("where type != \"microsoft.devices/iothubs\" | where name contains \"v2\"")
- .withQuerySubscriptions(Arrays.asList("075423e9-7d33-4166-8bdf-3920b04e3735")))
- .withRecommendationsConfiguration(Arrays.asList(
- new RecommendationConfigurationProperties().withRecommendationType(RecommendationType.IO_T_OPEN_PORTS)
- .withStatus(RecommendationConfigStatus.DISABLED),
- new RecommendationConfigurationProperties()
- .withRecommendationType(RecommendationType.IO_T_SHARED_CREDENTIALS)
- .withStatus(RecommendationConfigStatus.DISABLED)))
- .apply();
- }
-
- // Use "Map.of" if available
- @SuppressWarnings("unchecked")
- private static Map mapOf(Object... inputs) {
- Map map = new HashMap<>();
- for (int i = 0; i < inputs.length; i += 2) {
- String key = (String) inputs[i];
- T value = (T) inputs[i + 1];
- map.put(key, value);
- }
- return map;
- }
-}
-```
-
-### IotSecuritySolutionAnalytics_Get
-
-```java
-/**
- * Samples for IotSecuritySolutionAnalytics Get.
- */
-public final class IotSecuritySolutionAnalyticsGetSamples {
- /*
- * x-ms-original-file: specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/
- * IoTSecuritySolutionsAnalytics/GetIoTSecuritySolutionsSecurityAnalytics.json
- */
- /**
- * Sample code: Get Security Solution Analytics.
- *
- * @param manager Entry point to SecurityManager.
- */
- public static void getSecuritySolutionAnalytics(com.azure.resourcemanager.security.SecurityManager manager) {
- manager.iotSecuritySolutionAnalytics().getWithResponse("MyGroup", "default", com.azure.core.util.Context.NONE);
- }
-}
-```
-
-### IotSecuritySolutionAnalytics_List
-
-```java
-/**
- * Samples for IotSecuritySolutionAnalytics List.
- */
-public final class IotSecuritySolutionAnalyticsListSamples {
- /*
- * x-ms-original-file: specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/
- * IoTSecuritySolutionsAnalytics/GetIoTSecuritySolutionsSecurityAnalyticsList.json
- */
- /**
- * Sample code: Get Security Solution Analytics.
- *
- * @param manager Entry point to SecurityManager.
- */
- public static void getSecuritySolutionAnalytics(com.azure.resourcemanager.security.SecurityManager manager) {
- manager.iotSecuritySolutionAnalytics().listWithResponse("MyGroup", "default", com.azure.core.util.Context.NONE);
- }
-}
-```
-
-### IotSecuritySolutionsAnalyticsAggregatedAlert_Dismiss
-
-```java
-/**
- * Samples for IotSecuritySolutionsAnalyticsAggregatedAlert Dismiss.
- */
-public final class IotSecuritySolutionsAnalyticsAggregatedAlertDismissSamples {
- /*
- * x-ms-original-file: specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/
- * IoTSecuritySolutionsAnalytics/PostIoTSecuritySolutionsSecurityAggregatedAlertDismiss.json
- */
- /**
- * Sample code: Dismiss an aggregated IoT Security Solution Alert.
- *
- * @param manager Entry point to SecurityManager.
- */
- public static void
- dismissAnAggregatedIoTSecuritySolutionAlert(com.azure.resourcemanager.security.SecurityManager manager) {
- manager.iotSecuritySolutionsAnalyticsAggregatedAlerts()
- .dismissWithResponse("IoTEdgeResources", "default", "IoT_Bruteforce_Fail/2019-02-02/dismiss",
- com.azure.core.util.Context.NONE);
- }
-}
-```
-
-### IotSecuritySolutionsAnalyticsAggregatedAlert_Get
-
-```java
-/**
- * Samples for IotSecuritySolutionsAnalyticsAggregatedAlert Get.
- */
-public final class IotSecuritySolutionsAnalyticsAggregatedAlertGetSamples {
- /*
- * x-ms-original-file: specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/
- * IoTSecuritySolutionsAnalytics/GetIoTSecuritySolutionsSecurityAggregatedAlert.json
- */
- /**
- * Sample code: Get the aggregated security analytics alert of yours IoT Security solution. This aggregation is
- * performed by alert name.
- *
- * @param manager Entry point to SecurityManager.
- */
- public static void
- getTheAggregatedSecurityAnalyticsAlertOfYoursIoTSecuritySolutionThisAggregationIsPerformedByAlertName(
- com.azure.resourcemanager.security.SecurityManager manager) {
- manager.iotSecuritySolutionsAnalyticsAggregatedAlerts()
- .getWithResponse("MyGroup", "default", "IoT_Bruteforce_Fail/2019-02-02", com.azure.core.util.Context.NONE);
- }
-}
-```
-
-### IotSecuritySolutionsAnalyticsAggregatedAlert_List
-
-```java
-/**
- * Samples for IotSecuritySolutionsAnalyticsAggregatedAlert List.
- */
-public final class IotSecuritySolutionsAnalyticsAggregatedAlertListSamples {
- /*
- * x-ms-original-file: specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/
- * IoTSecuritySolutionsAnalytics/GetIoTSecuritySolutionsSecurityAggregatedAlertList.json
- */
- /**
- * Sample code: Get the aggregated alert list of yours IoT Security solution.
- *
- * @param manager Entry point to SecurityManager.
- */
- public static void getTheAggregatedAlertListOfYoursIoTSecuritySolution(
- com.azure.resourcemanager.security.SecurityManager manager) {
- manager.iotSecuritySolutionsAnalyticsAggregatedAlerts()
- .list("MyGroup", "default", null, com.azure.core.util.Context.NONE);
- }
-}
-```
-
-### IotSecuritySolutionsAnalyticsRecommendation_Get
-
-```java
-/**
- * Samples for IotSecuritySolutionsAnalyticsRecommendation Get.
- */
-public final class IotSecuritySolutionsAnalyticsRecommendationGetSamples {
- /*
- * x-ms-original-file: specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/
- * IoTSecuritySolutionsAnalytics/GetIoTSecuritySolutionsSecurityRecommendation.json
- */
- /**
- * Sample code: Get the aggregated security analytics recommendation of yours IoT Security solution.
- *
- * @param manager Entry point to SecurityManager.
- */
- public static void getTheAggregatedSecurityAnalyticsRecommendationOfYoursIoTSecuritySolution(
- com.azure.resourcemanager.security.SecurityManager manager) {
- manager.iotSecuritySolutionsAnalyticsRecommendations()
- .getWithResponse("IoTEdgeResources", "default", "OpenPortsOnDevice", com.azure.core.util.Context.NONE);
- }
-}
-```
-
-### IotSecuritySolutionsAnalyticsRecommendation_List
-
-```java
-/**
- * Samples for IotSecuritySolutionsAnalyticsRecommendation List.
- */
-public final class IotSecuritySolutionsAnalyticsRecommendationListSamples {
- /*
- * x-ms-original-file: specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/
- * IoTSecuritySolutionsAnalytics/GetIoTSecuritySolutionsSecurityRecommendationList.json
- */
- /**
- * Sample code: Get the list of aggregated security analytics recommendations of yours IoT Security solution.
- *
- * @param manager Entry point to SecurityManager.
- */
- public static void getTheListOfAggregatedSecurityAnalyticsRecommendationsOfYoursIoTSecuritySolution(
- com.azure.resourcemanager.security.SecurityManager manager) {
- manager.iotSecuritySolutionsAnalyticsRecommendations()
- .list("IoTEdgeResources", "default", null, com.azure.core.util.Context.NONE);
- }
-}
-```
-
-### JitNetworkAccessPolicies_CreateOrUpdate
-
-```java
-import com.azure.resourcemanager.security.fluent.models.JitNetworkAccessRequestInner;
-import com.azure.resourcemanager.security.models.JitNetworkAccessPolicyVirtualMachine;
-import com.azure.resourcemanager.security.models.JitNetworkAccessPortRule;
-import com.azure.resourcemanager.security.models.JitNetworkAccessRequestPort;
-import com.azure.resourcemanager.security.models.JitNetworkAccessRequestVirtualMachine;
-import com.azure.resourcemanager.security.models.Protocol;
-import com.azure.resourcemanager.security.models.Status;
-import com.azure.resourcemanager.security.models.StatusReason;
-import java.time.OffsetDateTime;
-import java.util.Arrays;
-
-/**
- * Samples for JitNetworkAccessPolicies CreateOrUpdate.
- */
-public final class JitNetworkAccessPoliciesCreateOrUpdateSamples {
- /*
- * x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/stable/2020-01-01/examples/JitNetworkAccessPolicies/
- * CreateJitNetworkAccessPolicy_example.json
- */
- /**
- * Sample code: Create JIT network access policy.
- *
- * @param manager Entry point to SecurityManager.
- */
- public static void createJITNetworkAccessPolicy(com.azure.resourcemanager.security.SecurityManager manager) {
- manager.jitNetworkAccessPolicies()
- .define("default")
- .withExistingLocation("myRg1", "westeurope")
- .withVirtualMachines(Arrays.asList(new JitNetworkAccessPolicyVirtualMachine().withId(
- "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/myRg1/providers/Microsoft.Compute/virtualMachines/vm1")
- .withPorts(Arrays.asList(
- new JitNetworkAccessPortRule().withNumber(22)
- .withProtocol(Protocol.ASTERISK)
- .withAllowedSourceAddressPrefix("*")
- .withMaxRequestAccessDuration("PT3H"),
- new JitNetworkAccessPortRule().withNumber(3389)
- .withProtocol(Protocol.ASTERISK)
- .withAllowedSourceAddressPrefix("*")
- .withMaxRequestAccessDuration("PT3H")))))
- .withKind("Basic")
- .withRequests(Arrays.asList(new JitNetworkAccessRequestInner()
- .withVirtualMachines(Arrays.asList(new JitNetworkAccessRequestVirtualMachine().withId(
- "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/myRg1/providers/Microsoft.Compute/virtualMachines/vm1")
- .withPorts(Arrays.asList(new JitNetworkAccessRequestPort().withNumber(3389)
- .withAllowedSourceAddressPrefix("192.127.0.2")
- .withEndTimeUtc(OffsetDateTime.parse("2018-05-17T09:06:45.5691611Z"))
- .withStatus(Status.INITIATED)
- .withStatusReason(StatusReason.USER_REQUESTED)))))
- .withStartTimeUtc(OffsetDateTime.parse("2018-05-17T08:06:45.5691611Z"))
- .withRequestor("barbara@contoso.com")))
- .create();
- }
-}
-```
-
-### JitNetworkAccessPolicies_Delete
-
-```java
-/**
- * Samples for JitNetworkAccessPolicies Delete.
- */
-public final class JitNetworkAccessPoliciesDeleteSamples {
- /*
- * x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/stable/2020-01-01/examples/JitNetworkAccessPolicies/
- * DeleteJitNetworkAccessPolicy_example.json
- */
- /**
- * Sample code: Delete a JIT network access policy.
- *
- * @param manager Entry point to SecurityManager.
- */
- public static void deleteAJITNetworkAccessPolicy(com.azure.resourcemanager.security.SecurityManager manager) {
- manager.jitNetworkAccessPolicies()
- .deleteWithResponse("myRg1", "westeurope", "default", com.azure.core.util.Context.NONE);
- }
-}
-```
-
-### JitNetworkAccessPolicies_Get
-
-```java
-/**
- * Samples for JitNetworkAccessPolicies Get.
- */
-public final class JitNetworkAccessPoliciesGetSamples {
- /*
- * x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/stable/2020-01-01/examples/JitNetworkAccessPolicies/
- * GetJitNetworkAccessPolicy_example.json
- */
- /**
- * Sample code: Get JIT network access policy.
- *
- * @param manager Entry point to SecurityManager.
- */
- public static void getJITNetworkAccessPolicy(com.azure.resourcemanager.security.SecurityManager manager) {
- manager.jitNetworkAccessPolicies()
- .getWithResponse("myRg1", "westeurope", "default", com.azure.core.util.Context.NONE);
- }
-}
-```
-
-### JitNetworkAccessPolicies_Initiate
-
-```java
-import com.azure.resourcemanager.security.models.JitNetworkAccessPolicyInitiatePort;
-import com.azure.resourcemanager.security.models.JitNetworkAccessPolicyInitiateRequest;
-import com.azure.resourcemanager.security.models.JitNetworkAccessPolicyInitiateVirtualMachine;
-import java.util.Arrays;
-
-/**
- * Samples for JitNetworkAccessPolicies Initiate.
- */
-public final class JitNetworkAccessPoliciesInitiateSamples {
- /*
- * x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/stable/2020-01-01/examples/JitNetworkAccessPolicies/
- * InitiateJitNetworkAccessPolicy_example.json
- */
- /**
- * Sample code: Initiate an action on a JIT network access policy.
- *
- * @param manager Entry point to SecurityManager.
- */
- public static void
- initiateAnActionOnAJITNetworkAccessPolicy(com.azure.resourcemanager.security.SecurityManager manager) {
- manager.jitNetworkAccessPolicies()
- .initiateWithResponse("myRg1", "westeurope", "default", new JitNetworkAccessPolicyInitiateRequest()
- .withVirtualMachines(Arrays.asList(new JitNetworkAccessPolicyInitiateVirtualMachine().withId(
- "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/myRg1/providers/Microsoft.Compute/virtualMachines/vm1")
- .withPorts(Arrays.asList(new JitNetworkAccessPolicyInitiatePort().withNumber(3389)
- .withAllowedSourceAddressPrefix("192.127.0.2")))))
- .withJustification("testing a new version of the product"), com.azure.core.util.Context.NONE);
- }
-}
-```
-
-### JitNetworkAccessPolicies_List
-
-```java
-/**
- * Samples for JitNetworkAccessPolicies List.
- */
-public final class JitNetworkAccessPoliciesListSamples {
- /*
- * x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/stable/2020-01-01/examples/JitNetworkAccessPolicies/
- * GetJitNetworkAccessPoliciesSubscription_example.json
- */
- /**
- * Sample code: Get JIT network access policies on a subscription.
- *
- * @param manager Entry point to SecurityManager.
- */
- public static void
- getJITNetworkAccessPoliciesOnASubscription(com.azure.resourcemanager.security.SecurityManager manager) {
- manager.jitNetworkAccessPolicies().list(com.azure.core.util.Context.NONE);
- }
-}
-```
-
-### JitNetworkAccessPolicies_ListByRegion
-
-```java
-/**
- * Samples for JitNetworkAccessPolicies ListByRegion.
- */
-public final class JitNetworkAccessPoliciesListByRegionSamples {
- /*
- * x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/stable/2020-01-01/examples/JitNetworkAccessPolicies/
- * GetJitNetworkAccessPoliciesSubscriptionLocation_example.json
- */
- /**
- * Sample code: Get JIT network access policies on a subscription from a security data location.
- *
- * @param manager Entry point to SecurityManager.
- */
- public static void getJITNetworkAccessPoliciesOnASubscriptionFromASecurityDataLocation(
- com.azure.resourcemanager.security.SecurityManager manager) {
- manager.jitNetworkAccessPolicies().listByRegion("westeurope", com.azure.core.util.Context.NONE);
- }
-}
-```
-
-### JitNetworkAccessPolicies_ListByResourceGroup
-
-```java
-/**
- * Samples for JitNetworkAccessPolicies ListByResourceGroup.
- */
-public final class JitNetworkAccessPoliciesListByResourceGroupSamples {
- /*
- * x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/stable/2020-01-01/examples/JitNetworkAccessPolicies/
- * GetJitNetworkAccessPoliciesResourceGroup_example.json
- */
- /**
- * Sample code: Get JIT network access policies on a resource group.
- *
- * @param manager Entry point to SecurityManager.
- */
- public static void
- getJITNetworkAccessPoliciesOnAResourceGroup(com.azure.resourcemanager.security.SecurityManager manager) {
- manager.jitNetworkAccessPolicies().listByResourceGroup("myRg1", com.azure.core.util.Context.NONE);
- }
-}
-```
-
-### JitNetworkAccessPolicies_ListByResourceGroupAndRegion
-
-```java
-/**
- * Samples for JitNetworkAccessPolicies ListByResourceGroupAndRegion.
- */
-public final class JitNetworkAccessPoliciesListByResourceGroupAndRegionSamples {
- /*
- * x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/stable/2020-01-01/examples/JitNetworkAccessPolicies/
- * GetJitNetworkAccessPoliciesResourceGroupLocation_example.json
- */
- /**
- * Sample code: Get JIT network access policies on a resource group from a security data location.
- *
- * @param manager Entry point to SecurityManager.
- */
- public static void getJITNetworkAccessPoliciesOnAResourceGroupFromASecurityDataLocation(
- com.azure.resourcemanager.security.SecurityManager manager) {
- manager.jitNetworkAccessPolicies()
- .listByResourceGroupAndRegion("myRg1", "westeurope", com.azure.core.util.Context.NONE);
- }
-}
-```
-
-### Locations_Get
-
-```java
-/**
- * Samples for Locations Get.
- */
-public final class LocationsGetSamples {
- /*
- * x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/preview/2015-06-01-preview/examples/Locations/
- * GetLocation_example.json
- */
- /**
- * Sample code: Get security data location.
- *
- * @param manager Entry point to SecurityManager.
- */
- public static void getSecurityDataLocation(com.azure.resourcemanager.security.SecurityManager manager) {
- manager.locations().getWithResponse("centralus", com.azure.core.util.Context.NONE);
- }
-}
-```
-
-### Locations_List
-
-```java
-/**
- * Samples for Locations List.
- */
-public final class LocationsListSamples {
- /*
- * x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/preview/2015-06-01-preview/examples/Locations/
- * GetLocations_example.json
- */
- /**
- * Sample code: Get security data locations.
- *
- * @param manager Entry point to SecurityManager.
- */
- public static void getSecurityDataLocations(com.azure.resourcemanager.security.SecurityManager manager) {
- manager.locations().list(com.azure.core.util.Context.NONE);
- }
-}
-```
-
-### MdeOnboardings_Get
-
-```java
-/**
- * Samples for MdeOnboardings Get.
- */
-public final class MdeOnboardingsGetSamples {
- /*
- * x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/preview/2021-10-01-preview/examples/MdeOnboardings/
- * GetMdeOnboardings_example.json
- */
- /**
- * Sample code: The default configuration or data needed to onboard the machine to MDE.
- *
- * @param manager Entry point to SecurityManager.
- */
- public static void theDefaultConfigurationOrDataNeededToOnboardTheMachineToMDE(
- com.azure.resourcemanager.security.SecurityManager manager) {
- manager.mdeOnboardings().getWithResponse(com.azure.core.util.Context.NONE);
- }
-}
-```
-
-### MdeOnboardings_List
-
-```java
-/**
- * Samples for MdeOnboardings List.
- */
-public final class MdeOnboardingsListSamples {
- /*
- * x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/preview/2021-10-01-preview/examples/MdeOnboardings/
- * ListMdeOnboardings_example.json
- */
- /**
- * Sample code: The configuration or data needed to onboard the machine to MDE.
- *
- * @param manager Entry point to SecurityManager.
- */
- public static void theConfigurationOrDataNeededToOnboardTheMachineToMDE(
- com.azure.resourcemanager.security.SecurityManager manager) {
- manager.mdeOnboardings().listWithResponse(com.azure.core.util.Context.NONE);
- }
-}
-```
-
-### Operations_List
-
-```java
-/**
- * Samples for Operations List.
- */
-public final class OperationsListSamples {
- /*
- * x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/preview/2024-10-01-preview/examples/Operations/
- * ListOperations_example.json
- */
- /**
- * Sample code: List the operations for the Microsoft.Security (Microsoft Defender for Cloud) resource provider.
- *
- * @param manager Entry point to SecurityManager.
- */
- public static void listTheOperationsForTheMicrosoftSecurityMicrosoftDefenderForCloudResourceProvider(
- com.azure.resourcemanager.security.SecurityManager manager) {
- manager.operations().list(com.azure.core.util.Context.NONE);
- }
-}
-```
-
-### Pricings_Delete
-
-```java
-/**
- * Samples for Pricings Delete.
- */
-public final class PricingsDeleteSamples {
- /*
- * x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/stable/2024-01-01/examples/Pricings/
- * DeleteResourcePricing_example.json
- */
- /**
- * Sample code: Delete a pricing on resource.
- *
- * @param manager Entry point to SecurityManager.
- */
- public static void deleteAPricingOnResource(com.azure.resourcemanager.security.SecurityManager manager) {
- manager.pricings()
- .deleteByResourceGroupWithResponse(
- "subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/DEMO/providers/Microsoft.Compute/virtualMachines/VM-1",
- "VirtualMachines", com.azure.core.util.Context.NONE);
- }
-}
-```
-
-### Pricings_Get
-
-```java
-/**
- * Samples for Pricings Get.
- */
-public final class PricingsGetSamples {
- /*
- * x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/stable/2024-01-01/examples/Pricings/
- * GetResourcePricingByNameVirtualMachines_example.json
- */
- /**
- * Sample code: Get pricings on resource - VirtualMachines plan.
- *
- * @param manager Entry point to SecurityManager.
- */
- public static void
- getPricingsOnResourceVirtualMachinesPlan(com.azure.resourcemanager.security.SecurityManager manager) {
- manager.pricings()
- .getWithResponse(
- "subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/DEMO/providers/Microsoft.Compute/virtualMachines/VM-1",
- "VirtualMachines", com.azure.core.util.Context.NONE);
- }
-
- /*
- * x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/stable/2024-01-01/examples/Pricings/
- * GetPricingByNameCloudPosture_example.json
- */
- /**
- * Sample code: Get pricings on subscription - CloudPosture plan.
- *
- * @param manager Entry point to SecurityManager.
- */
- public static void
- getPricingsOnSubscriptionCloudPosturePlan(com.azure.resourcemanager.security.SecurityManager manager) {
- manager.pricings()
- .getWithResponse("subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23", "CloudPosture",
- com.azure.core.util.Context.NONE);
- }
-
- /*
- * x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/stable/2024-01-01/examples/Pricings/
- * GetPricingByNameDns_example.json
- */
- /**
- * Sample code: Get pricings on subscription - Dns plan.
- *
- * @param manager Entry point to SecurityManager.
- */
- public static void getPricingsOnSubscriptionDnsPlan(com.azure.resourcemanager.security.SecurityManager manager) {
- manager.pricings()
- .getWithResponse("subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23", "Dns",
- com.azure.core.util.Context.NONE);
- }
-
- /*
- * x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/stable/2024-01-01/examples/Pricings/
- * GetPricingByNameContainers_example.json
- */
- /**
- * Sample code: Get pricings on subscription - Containers plan.
- *
- * @param manager Entry point to SecurityManager.
- */
- public static void
- getPricingsOnSubscriptionContainersPlan(com.azure.resourcemanager.security.SecurityManager manager) {
- manager.pricings()
- .getWithResponse("subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23", "Containers",
- com.azure.core.util.Context.NONE);
- }
-
- /*
- * x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/stable/2024-01-01/examples/Pricings/
- * GetPricingByNameStorageAccounts_example.json
- */
- /**
- * Sample code: Get pricings on subscription - StorageAccounts plan.
- *
- * @param manager Entry point to SecurityManager.
- */
- public static void
- getPricingsOnSubscriptionStorageAccountsPlan(com.azure.resourcemanager.security.SecurityManager manager) {
- manager.pricings()
- .getWithResponse("subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23", "StorageAccounts",
- com.azure.core.util.Context.NONE);
- }
-
- /*
- * x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/stable/2024-01-01/examples/Pricings/
- * GetPricingByNameVirtualMachines_example.json
- */
- /**
- * Sample code: Get pricings on subscription - VirtualMachines plan.
- *
- * @param manager Entry point to SecurityManager.
- */
- public static void
- getPricingsOnSubscriptionVirtualMachinesPlan(com.azure.resourcemanager.security.SecurityManager manager) {
- manager.pricings()
- .getWithResponse("subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23", "VirtualMachines",
- com.azure.core.util.Context.NONE);
- }
-}
-```
-
-### Pricings_List
-
-```java
-/**
- * Samples for Pricings List.
- */
-public final class PricingsListSamples {
- /*
- * x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/stable/2024-01-01/examples/Pricings/
- * ListPricingsWithPlanFilter_example.json
- */
- /**
- * Sample code: Get pricings on subscription with plans filter.
- *
- * @param manager Entry point to SecurityManager.
- */
- public static void
- getPricingsOnSubscriptionWithPlansFilter(com.azure.resourcemanager.security.SecurityManager manager) {
- manager.pricings()
- .listWithResponse("subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23",
- "name in (VirtualMachines,KeyVaults)", com.azure.core.util.Context.NONE);
- }
-
- /*
- * x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/stable/2024-01-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("subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23", null,
- com.azure.core.util.Context.NONE);
- }
-
- /*
- * x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/stable/2024-01-01/examples/Pricings/
- * ListResourcePricings_example.json
- */
- /**
- * Sample code: Get pricings on resource.
- *
- * @param manager Entry point to SecurityManager.
- */
- public static void getPricingsOnResource(com.azure.resourcemanager.security.SecurityManager manager) {
- manager.pricings()
- .listWithResponse(
- "subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/DEMO/providers/Microsoft.Compute/virtualMachines/VM-1",
- null, com.azure.core.util.Context.NONE);
- }
-}
-```
-
-### Pricings_Update
-
-```java
-import com.azure.resourcemanager.security.fluent.models.PricingInner;
-import com.azure.resourcemanager.security.models.Enforce;
-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/2024-01-01/examples/Pricings/
- * PutPricingByName_example.json
- */
- /**
- * Sample code: Update pricing on subscription (example for CloudPosture plan).
- *
- * @param manager Entry point to SecurityManager.
- */
- public static void updatePricingOnSubscriptionExampleForCloudPosturePlan(
- com.azure.resourcemanager.security.SecurityManager manager) {
- manager.pricings()
- .updateWithResponse("subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23", "CloudPosture",
- new PricingInner().withPricingTier(PricingTier.STANDARD), com.azure.core.util.Context.NONE);
- }
-
- /*
- * x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/stable/2024-01-01/examples/Pricings/
- * PutPricingByNamePartialSuccess_example.json
- */
- /**
- * Sample code: Update pricing on subscription (example for CloudPosture plan) - partial success.
- *
- * @param manager Entry point to SecurityManager.
- */
- public static void updatePricingOnSubscriptionExampleForCloudPosturePlanPartialSuccess(
- com.azure.resourcemanager.security.SecurityManager manager) {
- manager.pricings()
- .updateWithResponse("subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23", "CloudPosture",
- new PricingInner().withPricingTier(PricingTier.STANDARD), com.azure.core.util.Context.NONE);
- }
-
- /*
- * x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/stable/2024-01-01/examples/Pricings/
- * PutPricingVMsByName_example.json
- */
- /**
- * Sample code: Update pricing on subscription (example for VirtualMachines plan).
- *
- * @param manager Entry point to SecurityManager.
- */
- public static void updatePricingOnSubscriptionExampleForVirtualMachinesPlan(
- com.azure.resourcemanager.security.SecurityManager manager) {
- manager.pricings()
- .updateWithResponse("subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23", "VirtualMachines",
- new PricingInner().withPricingTier(PricingTier.STANDARD).withSubPlan("P2").withEnforce(Enforce.TRUE),
- com.azure.core.util.Context.NONE);
- }
-
- /*
- * x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/stable/2024-01-01/examples/Pricings/
- * PutResourcePricingByNameVirtualMachines_example.json
- */
- /**
- * Sample code: Update pricing on resource (example for VirtualMachines plan).
- *
- * @param manager Entry point to SecurityManager.
- */
- public static void updatePricingOnResourceExampleForVirtualMachinesPlan(
- com.azure.resourcemanager.security.SecurityManager manager) {
- manager.pricings()
- .updateWithResponse(
- "subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/DEMO/providers/Microsoft.Compute/virtualMachines/VM-1",
- "virtualMachines", new PricingInner().withPricingTier(PricingTier.STANDARD).withSubPlan("P1"),
- com.azure.core.util.Context.NONE);
- }
-}
-```
-
-### RegulatoryComplianceAssessments_Get
-
-```java
-/**
- * Samples for RegulatoryComplianceAssessments Get.
- */
-public final class RegulatoryComplianceAssessmentsGetSamples {
- /*
- * x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/
- * RegulatoryCompliance/getRegulatoryComplianceAssessment_example.json
- */
- /**
- * Sample code: Get selected regulatory compliance assessment details and state.
- *
- * @param manager Entry point to SecurityManager.
- */
- public static void getSelectedRegulatoryComplianceAssessmentDetailsAndState(
- com.azure.resourcemanager.security.SecurityManager manager) {
- manager.regulatoryComplianceAssessments()
- .getWithResponse("PCI-DSS-3.2", "1.1", "968548cb-02b3-8cd2-11f8-0cf64ab1a347",
- com.azure.core.util.Context.NONE);
- }
-}
-```
-
-### RegulatoryComplianceAssessments_List
-
-```java
-/**
- * Samples for RegulatoryComplianceAssessments List.
- */
-public final class RegulatoryComplianceAssessmentsListSamples {
- /*
- * x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/
- * RegulatoryCompliance/getRegulatoryComplianceAssessmentList_example.json
- */
- /**
- * Sample code: Get all assessments mapped to selected regulatory compliance control.
- *
- * @param manager Entry point to SecurityManager.
- */
- public static void getAllAssessmentsMappedToSelectedRegulatoryComplianceControl(
- com.azure.resourcemanager.security.SecurityManager manager) {
- manager.regulatoryComplianceAssessments().list("PCI-DSS-3.2", "1.1", null, com.azure.core.util.Context.NONE);
- }
-}
-```
-
-### RegulatoryComplianceControls_Get
-
-```java
-/**
- * Samples for RegulatoryComplianceControls Get.
- */
-public final class RegulatoryComplianceControlsGetSamples {
- /*
- * x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/
- * RegulatoryCompliance/getRegulatoryComplianceControl_example.json
- */
- /**
- * Sample code: Get selected regulatory compliance control details and state.
- *
- * @param manager Entry point to SecurityManager.
- */
- public static void getSelectedRegulatoryComplianceControlDetailsAndState(
- com.azure.resourcemanager.security.SecurityManager manager) {
- manager.regulatoryComplianceControls().getWithResponse("PCI-DSS-3.2", "1.1", com.azure.core.util.Context.NONE);
- }
-}
-```
-
-### RegulatoryComplianceControls_List
-
-```java
-/**
- * Samples for RegulatoryComplianceControls List.
- */
-public final class RegulatoryComplianceControlsListSamples {
- /*
- * x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/
- * RegulatoryCompliance/getRegulatoryComplianceControlList_example.json
- */
- /**
- * Sample code: Get all regulatory compliance controls details and state for selected standard.
- *
- * @param manager Entry point to SecurityManager.
- */
- public static void getAllRegulatoryComplianceControlsDetailsAndStateForSelectedStandard(
- com.azure.resourcemanager.security.SecurityManager manager) {
- manager.regulatoryComplianceControls().list("PCI-DSS-3.2", null, com.azure.core.util.Context.NONE);
- }
-}
-```
-
-### RegulatoryComplianceStandards_Get
-
-```java
-/**
- * Samples for RegulatoryComplianceStandards Get.
- */
-public final class RegulatoryComplianceStandardsGetSamples {
- /*
- * x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/
- * RegulatoryCompliance/getRegulatoryComplianceStandard_example.json
- */
- /**
- * Sample code: Get selected regulatory compliance standard details and state.
- *
- * @param manager Entry point to SecurityManager.
- */
- public static void getSelectedRegulatoryComplianceStandardDetailsAndState(
- com.azure.resourcemanager.security.SecurityManager manager) {
- manager.regulatoryComplianceStandards().getWithResponse("PCI-DSS-3.2", com.azure.core.util.Context.NONE);
- }
-}
-```
-
-### RegulatoryComplianceStandards_List
-
-```java
-/**
- * Samples for RegulatoryComplianceStandards List.
- */
-public final class RegulatoryComplianceStandardsListSamples {
- /*
- * x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/
- * RegulatoryCompliance/getRegulatoryComplianceStandardList_example.json
- */
- /**
- * Sample code: Get all supported regulatory compliance standards details and state.
- *
- * @param manager Entry point to SecurityManager.
- */
- public static void getAllSupportedRegulatoryComplianceStandardsDetailsAndState(
- com.azure.resourcemanager.security.SecurityManager manager) {
- manager.regulatoryComplianceStandards().list(null, com.azure.core.util.Context.NONE);
- }
-}
-```
-
-### SecureScoreControlDefinitions_List
-
-```java
-/**
- * Samples for SecureScoreControlDefinitions List.
- */
-public final class SecureScoreControlDefinitionsListSamples {
- /*
- * x-ms-original-file: specification/security/resource-manager/Microsoft.Security/stable/2020-01-01/examples/
- * secureScoreControlDefinitions/ListSecureScoreControlDefinitions_example.json
- */
- /**
- * Sample code: List security controls definition.
- *
- * @param manager Entry point to SecurityManager.
- */
- public static void listSecurityControlsDefinition(com.azure.resourcemanager.security.SecurityManager manager) {
- manager.secureScoreControlDefinitions().list(com.azure.core.util.Context.NONE);
- }
-}
-```
-
-### SecureScoreControlDefinitions_ListBySubscription
-
-```java
-/**
- * Samples for SecureScoreControlDefinitions ListBySubscription.
- */
-public final class SecureScoreControlDefinitionsListBySubscriptionSamples {
- /*
- * x-ms-original-file: specification/security/resource-manager/Microsoft.Security/stable/2020-01-01/examples/
- * secureScoreControlDefinitions/ListSecureScoreControlDefinitions_subscription_example.json
- */
- /**
- * Sample code: List security controls definition by subscription.
- *
- * @param manager Entry point to SecurityManager.
- */
- public static void
- listSecurityControlsDefinitionBySubscription(com.azure.resourcemanager.security.SecurityManager manager) {
- manager.secureScoreControlDefinitions().listBySubscription(com.azure.core.util.Context.NONE);
- }
-}
-```
-
-### SecureScoreControls_List
-
-```java
-
-/**
- * Samples for SecureScoreControls List.
- */
-public final class SecureScoreControlsListSamples {
- /*
- * x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/stable/2020-01-01/examples/secureScores/
- * ListSecureScoreControls_example.json
- */
- /**
- * Sample code: List all secure scores controls.
- *
- * @param manager Entry point to SecurityManager.
- */
- public static void listAllSecureScoresControls(com.azure.resourcemanager.security.SecurityManager manager) {
- manager.secureScoreControls().list(null, com.azure.core.util.Context.NONE);
- }
-}
-```
-
-### SecureScoreControls_ListBySecureScore
-
-```java
-import com.azure.resourcemanager.security.models.ExpandControlsEnum;
-
-/**
- * Samples for SecureScoreControls ListBySecureScore.
- */
-public final class SecureScoreControlsListBySecureScoreSamples {
- /*
- * x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/stable/2020-01-01/examples/secureScores/
- * ListSecureScoreControlsForNameWithExpand_builtin_example.json
- */
- /**
- * Sample code: Get security controls and their current score for the specified initiative with the expand
- * parameter.
- *
- * @param manager Entry point to SecurityManager.
- */
- public static void getSecurityControlsAndTheirCurrentScoreForTheSpecifiedInitiativeWithTheExpandParameter(
- com.azure.resourcemanager.security.SecurityManager manager) {
- manager.secureScoreControls()
- .listBySecureScore("ascScore", ExpandControlsEnum.DEFINITION, com.azure.core.util.Context.NONE);
- }
-
- /*
- * x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/stable/2020-01-01/examples/secureScores/
- * ListSecureScoreControlsForName_builtin_example.json
- */
- /**
- * Sample code: Get security controls and their current score for the specified initiative.
- *
- * @param manager Entry point to SecurityManager.
- */
- public static void getSecurityControlsAndTheirCurrentScoreForTheSpecifiedInitiative(
- com.azure.resourcemanager.security.SecurityManager manager) {
- manager.secureScoreControls().listBySecureScore("ascScore", null, com.azure.core.util.Context.NONE);
- }
-}
-```
-
-### SecureScores_Get
-
-```java
-/**
- * Samples for SecureScores Get.
- */
-public final class SecureScoresGetSamples {
- /*
- * x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/stable/2020-01-01/examples/secureScores/
- * GetSecureScoresSingle_example.json
- */
- /**
- * Sample code: Get single secure score.
- *
- * @param manager Entry point to SecurityManager.
- */
- public static void getSingleSecureScore(com.azure.resourcemanager.security.SecurityManager manager) {
- manager.secureScores().getWithResponse("ascScore", com.azure.core.util.Context.NONE);
- }
-}
-```
-
-### SecureScores_List
-
-```java
-/**
- * Samples for SecureScores List.
- */
-public final class SecureScoresListSamples {
- /*
- * x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/stable/2020-01-01/examples/secureScores/
- * ListSecureScores_example.json
- */
- /**
- * Sample code: List secure scores.
- *
- * @param manager Entry point to SecurityManager.
- */
- public static void listSecureScores(com.azure.resourcemanager.security.SecurityManager manager) {
- manager.secureScores().list(com.azure.core.util.Context.NONE);
- }
-}
-```
-
-### SecurityConnectorApplicationOperation_CreateOrUpdate
-
-```java
-import com.azure.core.management.serializer.SerializerFactory;
-import com.azure.core.util.serializer.SerializerEncoding;
-import com.azure.resourcemanager.security.fluent.models.ApplicationInner;
-import com.azure.resourcemanager.security.models.ApplicationSourceResourceType;
-import java.io.IOException;
-import java.util.Arrays;
-
-/**
- * Samples for SecurityConnectorApplicationOperation CreateOrUpdate.
- */
-public final class SecurityConnectorApplicationOperationCreateOrUpdateSamples {
- /*
- * x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/preview/2022-07-01-preview/examples/Applications/
- * PutSecurityConnectorApplication_example.json
- */
- /**
- * Sample code: Create Application.
- *
- * @param manager Entry point to SecurityManager.
- */
- public static void createApplication(com.azure.resourcemanager.security.SecurityManager manager)
- throws IOException {
- manager.securityConnectorApplicationOperations()
- .createOrUpdateWithResponse("gcpResourceGroup", "gcpconnector", "ad9a8e26-29d9-4829-bb30-e597a58cdbb8",
- new ApplicationInner().withDisplayName("GCP Admin's application")
- .withDescription("An application on critical GCP recommendations")
- .withSourceResourceType(ApplicationSourceResourceType.ASSESSMENTS)
- .withConditionSets(Arrays.asList(SerializerFactory.createDefaultManagementSerializerAdapter()
- .deserialize(
- "{\"conditions\":[{\"operator\":\"contains\",\"property\":\"$.Id\",\"value\":\"-prod-\"}]}",
- Object.class, SerializerEncoding.JSON))),
- com.azure.core.util.Context.NONE);
- }
-}
-```
-
-### SecurityConnectorApplicationOperation_Delete
-
-```java
-/**
- * Samples for SecurityConnectorApplicationOperation Delete.
- */
-public final class SecurityConnectorApplicationOperationDeleteSamples {
- /*
- * x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/preview/2022-07-01-preview/examples/Applications/
- * DeleteSecurityConnectorApplication_example.json
- */
- /**
- * Sample code: Delete security Application.
- *
- * @param manager Entry point to SecurityManager.
- */
- public static void deleteSecurityApplication(com.azure.resourcemanager.security.SecurityManager manager) {
- manager.securityConnectorApplicationOperations()
- .deleteWithResponse("gcpResourceGroup", "gcpconnector", "ad9a8e26-29d9-4829-bb30-e597a58cdbb8",
- com.azure.core.util.Context.NONE);
- }
-}
-```
-
-### SecurityConnectorApplicationOperation_Get
-
-```java
-/**
- * Samples for SecurityConnectorApplicationOperation Get.
- */
-public final class SecurityConnectorApplicationOperationGetSamples {
- /*
- * x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/preview/2022-07-01-preview/examples/Applications/
- * GetSecurityConnectorApplication_example.json
- */
- /**
- * Sample code: Get security applications by specific applicationId.
- *
- * @param manager Entry point to SecurityManager.
- */
- public static void
- getSecurityApplicationsBySpecificApplicationId(com.azure.resourcemanager.security.SecurityManager manager) {
- manager.securityConnectorApplicationOperations()
- .getWithResponse("gcpResourceGroup", "gcpconnector", "ad9a8e26-29d9-4829-bb30-e597a58cdbb8",
- com.azure.core.util.Context.NONE);
- }
-}
-```
-
-### SecurityConnectorApplications_List
-
-```java
-/**
- * Samples for SecurityConnectorApplications List.
- */
-public final class SecurityConnectorApplicationsListSamples {
- /*
- * x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/preview/2022-07-01-preview/examples/Applications/
- * ListBySecurityConnectorApplications_example.json
- */
- /**
- * Sample code: List security applications by security connector level scope.
- *
- * @param manager Entry point to SecurityManager.
- */
- public static void listSecurityApplicationsBySecurityConnectorLevelScope(
- com.azure.resourcemanager.security.SecurityManager manager) {
- manager.securityConnectorApplications()
- .list("gcpResourceGroup", "gcpconnector", com.azure.core.util.Context.NONE);
- }
-}
-```
-
-### SecurityConnectors_CreateOrUpdate
-
-```java
-import com.azure.resourcemanager.security.models.AwsEnvironmentData;
-import com.azure.resourcemanager.security.models.CloudName;
-import com.azure.resourcemanager.security.models.CspmMonitorAwsOffering;
-import com.azure.resourcemanager.security.models.CspmMonitorAwsOfferingNativeCloudConnection;
-import java.util.Arrays;
-import java.util.HashMap;
-import java.util.Map;
-
-/**
- * Samples for SecurityConnectors CreateOrUpdate.
- */
-public final class SecurityConnectorsCreateOrUpdateSamples {
- /*
- * x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/preview/2024-08-01-preview/examples/SecurityConnectors
- * /PutSecurityConnector_example.json
- */
- /**
- * Sample code: Create or update a security connector.
- *
- * @param manager Entry point to SecurityManager.
- */
- public static void createOrUpdateASecurityConnector(com.azure.resourcemanager.security.SecurityManager manager) {
- manager.securityConnectors()
- .define("exampleSecurityConnectorName")
- .withRegion("Central US")
- .withExistingResourceGroup("exampleResourceGroup")
- .withTags(mapOf())
- .withHierarchyIdentifier("exampleHierarchyId")
- .withEnvironmentName(CloudName.AWS)
- .withOfferings(Arrays.asList(
- new CspmMonitorAwsOffering().withNativeCloudConnection(new CspmMonitorAwsOfferingNativeCloudConnection()
- .withCloudRoleArn("arn:aws:iam::00000000:role/ASCMonitor"))))
- .withEnvironmentData(new AwsEnvironmentData().withScanInterval(4L))
- .create();
- }
-
- // Use "Map.of" if available
- @SuppressWarnings("unchecked")
- private static Map mapOf(Object... inputs) {
- Map map = new HashMap<>();
- for (int i = 0; i < inputs.length; i += 2) {
- String key = (String) inputs[i];
- T value = (T) inputs[i + 1];
- map.put(key, value);
- }
- return map;
- }
-}
-```
-
-### SecurityConnectors_Delete
-
-```java
-/**
- * Samples for SecurityConnectors Delete.
- */
-public final class SecurityConnectorsDeleteSamples {
- /*
- * x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/preview/2024-08-01-preview/examples/SecurityConnectors
- * /DeleteSecurityConnector_example.json
- */
- /**
- * Sample code: Delete a security connector.
- *
- * @param manager Entry point to SecurityManager.
- */
- public static void deleteASecurityConnector(com.azure.resourcemanager.security.SecurityManager manager) {
- manager.securityConnectors()
- .deleteByResourceGroupWithResponse("myRg", "mySecurityConnectorName", com.azure.core.util.Context.NONE);
- }
-}
-```
-
-### SecurityConnectors_GetByResourceGroup
-
-```java
-/**
- * Samples for SecurityConnectors GetByResourceGroup.
- */
-public final class SecurityConnectorsGetByResourceGroupSamples {
- /*
- * x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/preview/2024-08-01-preview/examples/SecurityConnectors
- * /GetSecurityConnectorSingleResource_example.json
- */
- /**
- * Sample code: Retrieve a security connector.
- *
- * @param manager Entry point to SecurityManager.
- */
- public static void retrieveASecurityConnector(com.azure.resourcemanager.security.SecurityManager manager) {
- manager.securityConnectors()
- .getByResourceGroupWithResponse("exampleResourceGroup", "exampleSecurityConnectorName",
- com.azure.core.util.Context.NONE);
- }
-}
-```
-
-### SecurityConnectors_List
-
-```java
-/**
- * Samples for SecurityConnectors List.
- */
-public final class SecurityConnectorsListSamples {
- /*
- * x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/preview/2024-08-01-preview/examples/SecurityConnectors
- * /GetSecurityConnectorsSubscription_example.json
- */
- /**
- * Sample code: List all security connectors of a specified subscription.
- *
- * @param manager Entry point to SecurityManager.
- */
- public static void
- listAllSecurityConnectorsOfASpecifiedSubscription(com.azure.resourcemanager.security.SecurityManager manager) {
- manager.securityConnectors().list(com.azure.core.util.Context.NONE);
- }
-}
-```
-
-### SecurityConnectors_ListByResourceGroup
-
-```java
-/**
- * Samples for SecurityConnectors ListByResourceGroup.
- */
-public final class SecurityConnectorsListByResourceGroupSamples {
- /*
- * x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/preview/2024-08-01-preview/examples/SecurityConnectors
- * /GetSecurityConnectorsResourceGroup_example.json
- */
- /**
- * Sample code: List all security connectors of a specified resource group.
- *
- * @param manager Entry point to SecurityManager.
- */
- public static void
- listAllSecurityConnectorsOfASpecifiedResourceGroup(com.azure.resourcemanager.security.SecurityManager manager) {
- manager.securityConnectors().listByResourceGroup("exampleResourceGroup", com.azure.core.util.Context.NONE);
- }
-}
-```
-
-### SecurityConnectors_Update
-
-```java
-import com.azure.resourcemanager.security.models.AwsEnvironmentData;
-import com.azure.resourcemanager.security.models.CloudName;
-import com.azure.resourcemanager.security.models.CspmMonitorAwsOffering;
-import com.azure.resourcemanager.security.models.CspmMonitorAwsOfferingNativeCloudConnection;
-import com.azure.resourcemanager.security.models.SecurityConnector;
-import java.util.Arrays;
-import java.util.HashMap;
-import java.util.Map;
-
-/**
- * Samples for SecurityConnectors Update.
- */
-public final class SecurityConnectorsUpdateSamples {
- /*
- * x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/preview/2024-08-01-preview/examples/SecurityConnectors
- * /PatchSecurityConnector_example.json
- */
- /**
- * Sample code: Update a security connector.
- *
- * @param manager Entry point to SecurityManager.
- */
- public static void updateASecurityConnector(com.azure.resourcemanager.security.SecurityManager manager) {
- SecurityConnector resource = manager.securityConnectors()
- .getByResourceGroupWithResponse("exampleResourceGroup", "exampleSecurityConnectorName",
- com.azure.core.util.Context.NONE)
- .getValue();
- resource.update()
- .withTags(mapOf())
- .withHierarchyIdentifier("exampleHierarchyId")
- .withEnvironmentName(CloudName.AWS)
- .withOfferings(Arrays.asList(
- new CspmMonitorAwsOffering().withNativeCloudConnection(new CspmMonitorAwsOfferingNativeCloudConnection()
- .withCloudRoleArn("arn:aws:iam::00000000:role/ASCMonitor"))))
- .withEnvironmentData(new AwsEnvironmentData())
- .apply();
- }
-
- // Use "Map.of" if available
- @SuppressWarnings("unchecked")
- private static Map mapOf(Object... inputs) {
- Map map = new HashMap<>();
- for (int i = 0; i < inputs.length; i += 2) {
- String key = (String) inputs[i];
- T value = (T) inputs[i + 1];
- map.put(key, value);
- }
- return map;
- }
-}
-```
-
-### SecurityContacts_Create
-
-```java
-import com.azure.resourcemanager.security.models.MinimalRiskLevel;
-import com.azure.resourcemanager.security.models.MinimalSeverity;
-import com.azure.resourcemanager.security.models.NotificationsSourceAlert;
-import com.azure.resourcemanager.security.models.NotificationsSourceAttackPath;
-import com.azure.resourcemanager.security.models.SecurityContactName;
-import com.azure.resourcemanager.security.models.SecurityContactPropertiesNotificationsByRole;
-import com.azure.resourcemanager.security.models.SecurityContactRole;
-import com.azure.resourcemanager.security.models.State;
-import java.util.Arrays;
-
-/**
- * Samples for SecurityContacts Create.
- */
-public final class SecurityContactsCreateSamples {
- /*
- * x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/preview/2023-12-01-preview/examples/SecurityContacts/
- * CreateSecurityContact_example.json
- */
- /**
- * Sample code: Create security contact data.
- *
- * @param manager Entry point to SecurityManager.
- */
- public static void createSecurityContactData(com.azure.resourcemanager.security.SecurityManager manager) {
- manager.securityContacts()
- .define(SecurityContactName.DEFAULT)
- .withEmails("john@contoso.com;jane@contoso.com")
- .withPhone("(214)275-4038")
- .withIsEnabled(true)
- .withNotificationsSources(
- Arrays.asList(new NotificationsSourceAttackPath().withMinimalRiskLevel(MinimalRiskLevel.CRITICAL),
- new NotificationsSourceAlert().withMinimalSeverity(MinimalSeverity.MEDIUM)))
- .withNotificationsByRole(
- new SecurityContactPropertiesNotificationsByRole().withState(State.fromString("On"))
- .withRoles(Arrays.asList(SecurityContactRole.OWNER)))
- .create();
- }
-}
-```
-
-### SecurityContacts_Delete
-
-```java
-import com.azure.resourcemanager.security.models.SecurityContactName;
-
-/**
- * Samples for SecurityContacts Delete.
- */
-public final class SecurityContactsDeleteSamples {
- /*
- * x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/preview/2023-12-01-preview/examples/SecurityContacts/
- * DeleteSecurityContact_example.json
- */
- /**
- * Sample code: Deletes a security contact data.
- *
- * @param manager Entry point to SecurityManager.
- */
- public static void deletesASecurityContactData(com.azure.resourcemanager.security.SecurityManager manager) {
- manager.securityContacts().deleteWithResponse(SecurityContactName.DEFAULT, com.azure.core.util.Context.NONE);
- }
-}
-```
-
-### SecurityContacts_Get
-
-```java
-import com.azure.resourcemanager.security.models.SecurityContactName;
-
-/**
- * Samples for SecurityContacts Get.
- */
-public final class SecurityContactsGetSamples {
- /*
- * x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/preview/2023-12-01-preview/examples/SecurityContacts/
- * GetSecurityContact_example.json
- */
- /**
- * Sample code: Get a security contact.
- *
- * @param manager Entry point to SecurityManager.
- */
- public static void getASecurityContact(com.azure.resourcemanager.security.SecurityManager manager) {
- manager.securityContacts().getWithResponse(SecurityContactName.DEFAULT, com.azure.core.util.Context.NONE);
- }
-}
-```
-
-### SecurityContacts_List
-
-```java
-/**
- * Samples for SecurityContacts List.
- */
-public final class SecurityContactsListSamples {
- /*
- * x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/preview/2023-12-01-preview/examples/SecurityContacts/
- * GetSecurityContactsSubscription_example.json
- */
- /**
- * Sample code: List security contact data.
- *
- * @param manager Entry point to SecurityManager.
- */
- public static void listSecurityContactData(com.azure.resourcemanager.security.SecurityManager manager) {
- manager.securityContacts().list(com.azure.core.util.Context.NONE);
- }
-}
-```
-
-### SecurityOperators_CreateOrUpdate
-
-```java
-/**
- * Samples for SecurityOperators CreateOrUpdate.
- */
-public final class SecurityOperatorsCreateOrUpdateSamples {
- /*
- * x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/preview/2023-01-01-preview/examples/SecurityOperators/
- * PutSecurityOperatorByName_example.json
- */
- /**
- * Sample code: Create a security operator on the given scope.
- *
- * @param manager Entry point to SecurityManager.
- */
- public static void
- createASecurityOperatorOnTheGivenScope(com.azure.resourcemanager.security.SecurityManager manager) {
- manager.securityOperators()
- .createOrUpdateWithResponse("CloudPosture", "DefenderCSPMSecurityOperator",
- com.azure.core.util.Context.NONE);
- }
-}
-```
-
-### SecurityOperators_Delete
-
-```java
-/**
- * Samples for SecurityOperators Delete.
- */
-public final class SecurityOperatorsDeleteSamples {
- /*
- * x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/preview/2023-01-01-preview/examples/SecurityOperators/
- * DeleteSecurityOperatorByName_example.json
- */
- /**
- * Sample code: Delete SecurityOperator on subscription.
- *
- * @param manager Entry point to SecurityManager.
- */
- public static void
- deleteSecurityOperatorOnSubscription(com.azure.resourcemanager.security.SecurityManager manager) {
- manager.securityOperators()
- .deleteByResourceGroupWithResponse("CloudPosture", "DefenderCSPMSecurityOperator",
- com.azure.core.util.Context.NONE);
- }
-}
-```
-
-### SecurityOperators_Get
-
-```java
-/**
- * Samples for SecurityOperators Get.
- */
-public final class SecurityOperatorsGetSamples {
- /*
- * x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/preview/2023-01-01-preview/examples/SecurityOperators/
- * GetSecurityOperatorByName_example.json
- */
- /**
- * Sample code: Get a specific security operator by scope and securityOperatorName.
- *
- * @param manager Entry point to SecurityManager.
- */
- public static void getASpecificSecurityOperatorByScopeAndSecurityOperatorName(
- com.azure.resourcemanager.security.SecurityManager manager) {
- manager.securityOperators()
- .getWithResponse("CloudPosture", "DefenderCSPMSecurityOperator", com.azure.core.util.Context.NONE);
- }
-}
-```
-
-### SecurityOperators_List
-
-```java
-/**
- * Samples for SecurityOperators List.
- */
-public final class SecurityOperatorsListSamples {
- /*
- * x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/preview/2023-01-01-preview/examples/SecurityOperators/
- * ListSecurityOperators_example.json
- */
- /**
- * Sample code: List SecurityOperators.
- *
- * @param manager Entry point to SecurityManager.
- */
- public static void listSecurityOperators(com.azure.resourcemanager.security.SecurityManager manager) {
- manager.securityOperators().listWithResponse("CloudPosture", com.azure.core.util.Context.NONE);
- }
-}
-```
-
-### SecuritySolutions_Get
-
-```java
-/**
- * Samples for SecuritySolutions Get.
- */
-public final class SecuritySolutionsGetSamples {
- /*
- * x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/stable/2020-01-01/examples/SecuritySolutions/
- * GetSecuritySolutionsResourceGroupLocation_example.json
- */
- /**
- * Sample code: Get a security solution from a security data location.
- *
- * @param manager Entry point to SecurityManager.
- */
- public static void
- getASecuritySolutionFromASecurityDataLocation(com.azure.resourcemanager.security.SecurityManager manager) {
- manager.securitySolutions()
- .getWithResponse("myRg2", "centralus", "paloalto7", com.azure.core.util.Context.NONE);
- }
-}
-```
-
-### SecuritySolutions_List
-
-```java
-/**
- * Samples for SecuritySolutions List.
- */
-public final class SecuritySolutionsListSamples {
- /*
- * x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/stable/2020-01-01/examples/SecuritySolutions/
- * GetSecuritySolutionsSubscription_example.json
- */
- /**
- * Sample code: Get security solutions.
- *
- * @param manager Entry point to SecurityManager.
- */
- public static void getSecuritySolutions(com.azure.resourcemanager.security.SecurityManager manager) {
- manager.securitySolutions().list(com.azure.core.util.Context.NONE);
- }
-}
-```
-
-### SecuritySolutionsReferenceData_List
-
-```java
-/**
- * Samples for SecuritySolutionsReferenceData List.
- */
-public final class SecuritySolutionsReferenceDataListSamples {
- /*
- * x-ms-original-file: specification/security/resource-manager/Microsoft.Security/stable/2020-01-01/examples/
- * SecuritySolutionsReferenceData/GetSecuritySolutionsReferenceDataSubscription_example.json
- */
- /**
- * Sample code: Get security solutions.
- *
- * @param manager Entry point to SecurityManager.
- */
- public static void getSecuritySolutions(com.azure.resourcemanager.security.SecurityManager manager) {
- manager.securitySolutionsReferenceDatas().listWithResponse(com.azure.core.util.Context.NONE);
- }
-}
-```
-
-### SecuritySolutionsReferenceData_ListByHomeRegion
-
-```java
-/**
- * Samples for SecuritySolutionsReferenceData ListByHomeRegion.
- */
-public final class SecuritySolutionsReferenceDataListByHomeRegionSamples {
- /*
- * x-ms-original-file: specification/security/resource-manager/Microsoft.Security/stable/2020-01-01/examples/
- * SecuritySolutionsReferenceData/GetSecuritySolutionsReferenceDataSubscriptionLocation_example.json
- */
- /**
- * Sample code: Get security solutions from a security data location.
- *
- * @param manager Entry point to SecurityManager.
- */
- public static void
- getSecuritySolutionsFromASecurityDataLocation(com.azure.resourcemanager.security.SecurityManager manager) {
- manager.securitySolutionsReferenceDatas()
- .listByHomeRegionWithResponse("westcentralus", com.azure.core.util.Context.NONE);
- }
-}
-```
-
-### SecurityStandards_CreateOrUpdate
-
-```java
-import com.azure.resourcemanager.security.models.PartialAssessmentProperties;
-import com.azure.resourcemanager.security.models.StandardSupportedCloud;
-import java.util.Arrays;
-
-/**
- * Samples for SecurityStandards CreateOrUpdate.
- */
-public final class SecurityStandardsCreateOrUpdateSamples {
- /*
- * x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/stable/2024-08-01/examples/SecurityStandards/
- * PutBySubscriptionSecurityStandard_example.json
- */
- /**
- * Sample code: Create or update security standard over subscription scope.
- *
- * @param manager Entry point to SecurityManager.
- */
- public static void createOrUpdateSecurityStandardOverSubscriptionScope(
- com.azure.resourcemanager.security.SecurityManager manager) {
- manager.securityStandards()
- .define("8bb8be0a-6010-4789-812f-e4d661c4ed0e")
- .withExistingScope("subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23")
- .withDisplayName("Azure Test Security Standard 1")
- .withDescription("description of Azure Test Security Standard 1")
- .withAssessments(Arrays.asList(new PartialAssessmentProperties().withAssessmentKey("fakeTokenPlaceholder"),
- new PartialAssessmentProperties().withAssessmentKey("fakeTokenPlaceholder")))
- .withCloudProviders(Arrays.asList(StandardSupportedCloud.GCP))
- .withPolicySetDefinitionId(
- "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/providers/Microsoft.Authorization/policySetDefinitions/patchorchestration-applicationversions")
- .create();
- }
-
- /*
- * x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/stable/2024-08-01/examples/SecurityStandards/
- * PutBySecurityConnectorSecurityStandard_example.json
- */
- /**
- * Sample code: Create or update security standard over security connector scope.
- *
- * @param manager Entry point to SecurityManager.
- */
- public static void createOrUpdateSecurityStandardOverSecurityConnectorScope(
- com.azure.resourcemanager.security.SecurityManager manager) {
- manager.securityStandards()
- .define("8bb8be0a-6010-4789-812f-e4d661c4ed0e")
- .withExistingScope(
- "subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/gcpResourceGroup/providers/Microsoft.Security/securityConnectors/gcpconnector")
- .withDisplayName("Azure Test Security Standard 1")
- .withDescription("description of Azure Test Security Standard 1")
- .withAssessments(Arrays.asList(new PartialAssessmentProperties().withAssessmentKey("fakeTokenPlaceholder"),
- new PartialAssessmentProperties().withAssessmentKey("fakeTokenPlaceholder")))
- .withCloudProviders(Arrays.asList(StandardSupportedCloud.GCP))
- .create();
- }
-
- /*
- * x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/stable/2024-08-01/examples/SecurityStandards/
- * PutByManagementGroupSecurityStandard_example.json
- */
- /**
- * Sample code: Create or update security standard over management group scope.
- *
- * @param manager Entry point to SecurityManager.
- */
- public static void createOrUpdateSecurityStandardOverManagementGroupScope(
- com.azure.resourcemanager.security.SecurityManager manager) {
- manager.securityStandards()
- .define("8bb8be0a-6010-4789-812f-e4d661c4ed0e")
- .withExistingScope("providers/Microsoft.Management/managementGroups/contoso")
- .withDisplayName("Azure Test Security Standard 1")
- .withDescription("description of Azure Test Security Standard 1")
- .withAssessments(Arrays.asList(new PartialAssessmentProperties().withAssessmentKey("fakeTokenPlaceholder"),
- new PartialAssessmentProperties().withAssessmentKey("fakeTokenPlaceholder")))
- .withCloudProviders(Arrays.asList(StandardSupportedCloud.GCP))
- .withPolicySetDefinitionId(
- "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/providers/Microsoft.Authorization/policySetDefinitions/patchorchestration-applicationversions")
- .create();
- }
-}
-```
-
-### SecurityStandards_Delete
-
-```java
-/**
- * Samples for SecurityStandards Delete.
- */
-public final class SecurityStandardsDeleteSamples {
- /*
- * x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/stable/2024-08-01/examples/SecurityStandards/
- * DeleteBySecurityConnectorSecurityStandard_example.json
- */
- /**
- * Sample code: Delete a security standard over security connector scope.
- *
- * @param manager Entry point to SecurityManager.
- */
- public static void
- deleteASecurityStandardOverSecurityConnectorScope(com.azure.resourcemanager.security.SecurityManager manager) {
- manager.securityStandards()
- .deleteByResourceGroupWithResponse(
- "subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/gcpResourceGroup/providers/Microsoft.Security/securityConnectors/gcpconnector",
- "ad9a8e26-29d9-4829-bb30-e597a58cdbb8", com.azure.core.util.Context.NONE);
- }
-
- /*
- * x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/stable/2024-08-01/examples/SecurityStandards/
- * DeleteByManagementGroupSecurityStandard_example.json
- */
- /**
- * Sample code: Delete a security standard over management group scope.
- *
- * @param manager Entry point to SecurityManager.
- */
- public static void
- deleteASecurityStandardOverManagementGroupScope(com.azure.resourcemanager.security.SecurityManager manager) {
- manager.securityStandards()
- .deleteByResourceGroupWithResponse("providers/Microsoft.Management/managementGroups/contoso",
- "ad9a8e26-29d9-4829-bb30-e597a58cdbb8", com.azure.core.util.Context.NONE);
- }
-
- /*
- * x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/stable/2024-08-01/examples/SecurityStandards/
- * DeleteBySubscriptionSecurityStandard_example.json
- */
- /**
- * Sample code: Delete a security standard over subscription scope.
- *
- * @param manager Entry point to SecurityManager.
- */
- public static void
- deleteASecurityStandardOverSubscriptionScope(com.azure.resourcemanager.security.SecurityManager manager) {
- manager.securityStandards()
- .deleteByResourceGroupWithResponse("subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23",
- "ad9a8e26-29d9-4829-bb30-e597a58cdbb8", com.azure.core.util.Context.NONE);
- }
-}
-```
-
-### SecurityStandards_Get
-
-```java
-/**
- * Samples for SecurityStandards Get.
- */
-public final class SecurityStandardsGetSamples {
- /*
- * x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/stable/2024-08-01/examples/SecurityStandards/
- * GetBySecurityConnectorSecurityStandard_example.json
- */
- /**
- * Sample code: Get a security standard over security connector scope.
- *
- * @param manager Entry point to SecurityManager.
- */
- public static void
- getASecurityStandardOverSecurityConnectorScope(com.azure.resourcemanager.security.SecurityManager manager) {
- manager.securityStandards()
- .getWithResponse(
- "subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/gcpResourceGroup/providers/Microsoft.Security/securityConnectors/gcpconnector",
- "1f3afdf9-d0c9-4c3d-847f-89da613e70a8", com.azure.core.util.Context.NONE);
- }
-
- /*
- * x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/stable/2024-08-01/examples/SecurityStandards/
- * GetByManagementGroupSecurityStandard_example.json
- */
- /**
- * Sample code: Get a security standard over management group scope.
- *
- * @param manager Entry point to SecurityManager.
- */
- public static void
- getASecurityStandardOverManagementGroupScope(com.azure.resourcemanager.security.SecurityManager manager) {
- manager.securityStandards()
- .getWithResponse("providers/Microsoft.Management/managementGroups/contoso",
- "1f3afdf9-d0c9-4c3d-847f-89da613e70a8", com.azure.core.util.Context.NONE);
- }
-
- /*
- * x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/stable/2024-08-01/examples/SecurityStandards/
- * GetBySubscriptionSecurityStandard_example.json
- */
- /**
- * Sample code: Get a security standard over subscription scope.
- *
- * @param manager Entry point to SecurityManager.
- */
- public static void
- getASecurityStandardOverSubscriptionScope(com.azure.resourcemanager.security.SecurityManager manager) {
- manager.securityStandards()
- .getWithResponse("subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23",
- "1f3afdf9-d0c9-4c3d-847f-89da613e70a8", com.azure.core.util.Context.NONE);
- }
-}
-```
-
-### SecurityStandards_List
-
-```java
-/**
- * Samples for SecurityStandards List.
- */
-public final class SecurityStandardsListSamples {
- /*
- * x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/stable/2024-08-01/examples/SecurityStandards/
- * ListByManagementGroupSecurityStandards_example.json
- */
- /**
- * Sample code: List security standards by management group scope.
- *
- * @param manager Entry point to SecurityManager.
- */
- public static void
- listSecurityStandardsByManagementGroupScope(com.azure.resourcemanager.security.SecurityManager manager) {
- manager.securityStandards()
- .list("providers/Microsoft.Management/managementGroups/contoso", com.azure.core.util.Context.NONE);
- }
-
- /*
- * x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/stable/2024-08-01/examples/SecurityStandards/
- * ListBySubscriptionSecurityStandards_example.json
- */
- /**
- * Sample code: List security standards by subscription scope.
- *
- * @param manager Entry point to SecurityManager.
- */
- public static void
- listSecurityStandardsBySubscriptionScope(com.azure.resourcemanager.security.SecurityManager manager) {
- manager.securityStandards()
- .list("subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23", com.azure.core.util.Context.NONE);
- }
-
- /*
- * x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/stable/2024-08-01/examples/SecurityStandards/
- * ListBySecurityConnectorSecurityStandards_example.json
- */
- /**
- * Sample code: List security standards by security connector scope.
- *
- * @param manager Entry point to SecurityManager.
- */
- public static void
- listSecurityStandardsBySecurityConnectorScope(com.azure.resourcemanager.security.SecurityManager manager) {
- manager.securityStandards()
- .list(
- "subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/gcpResourceGroup/providers/Microsoft.Security/securityConnectors/gcpconnector",
- com.azure.core.util.Context.NONE);
- }
-}
-```
-
-### SensitivitySettings_CreateOrUpdate
-
-```java
-import com.azure.resourcemanager.security.models.UpdateSensitivitySettingsRequest;
-import java.util.Arrays;
-import java.util.UUID;
-
-/**
- * Samples for SensitivitySettings CreateOrUpdate.
- */
-public final class SensitivitySettingsCreateOrUpdateSamples {
- /*
- * x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/preview/2023-02-15-preview/examples/
- * SensitivitySettings/PutSensitivitySettings_example.json
- */
- /**
- * Sample code: Update sensitivity settings.
- *
- * @param manager Entry point to SecurityManager.
- */
- public static void updateSensitivitySettings(com.azure.resourcemanager.security.SecurityManager manager) {
- manager.sensitivitySettings()
- .createOrUpdateWithResponse(
- new UpdateSensitivitySettingsRequest()
- .withSensitiveInfoTypesIds(Arrays.asList(UUID.fromString("f2f8a7a1-28c0-404b-9ab4-30a0a7af18cb"),
- UUID.fromString("b452f22b-f87d-4f48-8490-ecf0873325b5"),
- UUID.fromString("d59ee8b6-2618-404b-a5e7-aa377cd67543")))
- .withSensitivityThresholdLabelOrder(2.0F)
- .withSensitivityThresholdLabelId(UUID.fromString("f2f8a7a1-28c0-404b-9ab4-30a0a7af18cb")),
- com.azure.core.util.Context.NONE);
- }
-}
-```
-
-### SensitivitySettings_Get
-
-```java
-/**
- * Samples for SensitivitySettings Get.
- */
-public final class SensitivitySettingsGetSamples {
- /*
- * x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/preview/2023-02-15-preview/examples/
- * SensitivitySettings/GetSensitivitySettings_example.json
- */
- /**
- * Sample code: Get sensitivity settings.
- *
- * @param manager Entry point to SecurityManager.
- */
- public static void getSensitivitySettings(com.azure.resourcemanager.security.SecurityManager manager) {
- manager.sensitivitySettings().getWithResponse(com.azure.core.util.Context.NONE);
- }
-}
-```
-
-### SensitivitySettings_List
-
-```java
-/**
- * Samples for SensitivitySettings List.
- */
-public final class SensitivitySettingsListSamples {
- /*
- * x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/preview/2023-02-15-preview/examples/
- * SensitivitySettings/GetSensitivitySettingsList_example.json
- */
- /**
- * Sample code: Get sensitivity settings list.
- *
- * @param manager Entry point to SecurityManager.
- */
- public static void getSensitivitySettingsList(com.azure.resourcemanager.security.SecurityManager manager) {
- manager.sensitivitySettings().listWithResponse(com.azure.core.util.Context.NONE);
- }
-}
-```
-
-### ServerVulnerabilityAssessment_CreateOrUpdate
-
-```java
-/**
- * Samples for ServerVulnerabilityAssessment CreateOrUpdate.
- */
-public final class ServerVulnerabilityAssessmentCreateOrUpdateSamples {
- /*
- * x-ms-original-file: specification/security/resource-manager/Microsoft.Security/stable/2020-01-01/examples/
- * ServerVulnerabilityAssessments/CreateServerVulnerabilityAssessments_example.json
- */
- /**
- * Sample code: Create a server vulnerability assessments on a resource. Only 'default' resource is supported. Once
- * creating the resource, the server will be onboarded to vulnerability assessment by Microsoft.Security.
- *
- * @param manager Entry point to SecurityManager.
- */
- public static void
- createAServerVulnerabilityAssessmentsOnAResourceOnlyDefaultResourceIsSupportedOnceCreatingTheResourceTheServerWillBeOnboardedToVulnerabilityAssessmentByMicrosoftSecurity(
- com.azure.resourcemanager.security.SecurityManager manager) {
- manager.serverVulnerabilityAssessments()
- .createOrUpdateWithResponse("rg1", "Microsoft.Compute", "virtualMachines", "vm1",
- com.azure.core.util.Context.NONE);
- }
-}
-```
-
-### ServerVulnerabilityAssessment_Delete
-
-```java
-/**
- * Samples for ServerVulnerabilityAssessment Delete.
- */
-public final class ServerVulnerabilityAssessmentDeleteSamples {
- /*
- * x-ms-original-file: specification/security/resource-manager/Microsoft.Security/stable/2020-01-01/examples/
- * ServerVulnerabilityAssessments/DeleteServerVulnerabilityAssessments_example.json
- */
- /**
- * Sample code: Delete a server vulnerability assessments on a resource. Only 'default' resource is supported. Once
- * deleting, Microsoft.Security will not provide vulnerability assessment findings on the resource.
- *
- * @param manager Entry point to SecurityManager.
- */
- public static void
- deleteAServerVulnerabilityAssessmentsOnAResourceOnlyDefaultResourceIsSupportedOnceDeletingMicrosoftSecurityWillNotProvideVulnerabilityAssessmentFindingsOnTheResource(
- com.azure.resourcemanager.security.SecurityManager manager) {
- manager.serverVulnerabilityAssessments()
- .delete("rg1", "Microsoft.Compute", "virtualMachines", "vm1", com.azure.core.util.Context.NONE);
- }
-}
-```
-
-### ServerVulnerabilityAssessment_Get
-
-```java
-/**
- * Samples for ServerVulnerabilityAssessment Get.
- */
-public final class ServerVulnerabilityAssessmentGetSamples {
- /*
- * x-ms-original-file: specification/security/resource-manager/Microsoft.Security/stable/2020-01-01/examples/
- * ServerVulnerabilityAssessments/GetServerVulnerabilityAssessments_example.json
- */
- /**
- * Sample code: Get a server vulnerability assessments onboarding status on a resource. Currently Microsoft.Security
- * only supports the single 'default' resource.
- *
- * @param manager Entry point to SecurityManager.
- */
- public static void
- getAServerVulnerabilityAssessmentsOnboardingStatusOnAResourceCurrentlyMicrosoftSecurityOnlySupportsTheSingleDefaultResource(
- com.azure.resourcemanager.security.SecurityManager manager) {
- manager.serverVulnerabilityAssessments()
- .getWithResponse("rg1", "Microsoft.Compute", "virtualMachines", "vm1", com.azure.core.util.Context.NONE);
- }
-}
-```
-
-### ServerVulnerabilityAssessment_ListByExtendedResource
-
-```java
-/**
- * Samples for ServerVulnerabilityAssessment ListByExtendedResource.
- */
-public final class ServerVulnerabilityAssessmentListByExtendedResourceSamples {
- /*
- * x-ms-original-file: specification/security/resource-manager/Microsoft.Security/stable/2020-01-01/examples/
- * ServerVulnerabilityAssessments/ListByExtendedResourceServerVulnerabilityAssessments_example.json
- */
- /**
- * Sample code: Get a list of server vulnerability assessments on a resource. Though this API returns a list,
- * Currently Microsoft.Security only supports a single default type of server vulnerability assessment.
- *
- * @param manager Entry point to SecurityManager.
- */
- public static void
- getAListOfServerVulnerabilityAssessmentsOnAResourceThoughThisAPIReturnsAListCurrentlyMicrosoftSecurityOnlySupportsASingleDefaultTypeOfServerVulnerabilityAssessment(
- com.azure.resourcemanager.security.SecurityManager manager) {
- manager.serverVulnerabilityAssessments()
- .listByExtendedResourceWithResponse("rg1", "Microsoft.Compute", "virtualMachines", "vm1",
- com.azure.core.util.Context.NONE);
- }
-}
-```
-
-### ServerVulnerabilityAssessmentsSettings_CreateOrUpdate
-
-```java
-import com.azure.resourcemanager.security.models.AzureServersSetting;
-import com.azure.resourcemanager.security.models.ServerVulnerabilityAssessmentsAzureSettingSelectedProvider;
-import com.azure.resourcemanager.security.models.ServerVulnerabilityAssessmentsSettingKindName;
-
-/**
- * Samples for ServerVulnerabilityAssessmentsSettings CreateOrUpdate.
- */
-public final class ServerVulnerabilityAssessmentsSettingsCreateOrUpdateSamples {
- /*
- * x-ms-original-file: specification/security/resource-manager/Microsoft.Security/stable/2023-05-01/examples/
- * ServerVulnerabilityAssessmentsSettings/PutServerVulnerabilityAssessmentsSetting_example.json
- */
- /**
- * Sample code: Set a server vulnerability assessments setting of the kind settingKind on the subscription.
- *
- * @param manager Entry point to SecurityManager.
- */
- public static void setAServerVulnerabilityAssessmentsSettingOfTheKindSettingKindOnTheSubscription(
- com.azure.resourcemanager.security.SecurityManager manager) {
- manager.serverVulnerabilityAssessmentsSettings()
- .createOrUpdateWithResponse(ServerVulnerabilityAssessmentsSettingKindName.AZURE_SERVERS_SETTING,
- new AzureServersSetting()
- .withSelectedProvider(ServerVulnerabilityAssessmentsAzureSettingSelectedProvider.MDE_TVM),
- com.azure.core.util.Context.NONE);
- }
-}
-```
-
-### ServerVulnerabilityAssessmentsSettings_Delete
-
-```java
-import com.azure.resourcemanager.security.models.ServerVulnerabilityAssessmentsSettingKindName;
-/**
- * Samples for ServerVulnerabilityAssessmentsSettings Delete.
- */
-public final class ServerVulnerabilityAssessmentsSettingsDeleteSamples {
/*
- * x-ms-original-file: specification/security/resource-manager/Microsoft.Security/stable/2023-05-01/examples/
- * ServerVulnerabilityAssessmentsSettings/DeleteServerVulnerabilityAssessmentsSetting_example.json
+ * x-ms-original-file:
+ * specification/security/resource-manager/Microsoft.Security/stable/2024-01-01/examples/Pricings/
+ * PutResourcePricingByNameVirtualMachines_example.json
*/
/**
- * Sample code: Delete the server vulnerability assessments setting of the kind settingKind from the subscription.
+ * Sample code: Update pricing on resource (example for VirtualMachines plan).
*
* @param manager Entry point to SecurityManager.
*/
- public static void deleteTheServerVulnerabilityAssessmentsSettingOfTheKindSettingKindFromTheSubscription(
+ public static void updatePricingOnResourceExampleForVirtualMachinesPlan(
com.azure.resourcemanager.security.SecurityManager manager) {
- manager.serverVulnerabilityAssessmentsSettings()
- .deleteWithResponse(ServerVulnerabilityAssessmentsSettingKindName.AZURE_SERVERS_SETTING,
+ manager.pricings()
+ .updateWithResponse(
+ "subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/DEMO/providers/Microsoft.Compute/virtualMachines/VM-1",
+ "virtualMachines", new PricingInner().withPricingTier(PricingTier.STANDARD).withSubPlan("P1"),
com.azure.core.util.Context.NONE);
}
}
```
-### ServerVulnerabilityAssessmentsSettings_Get
+### SecureScoreControlDefinitions_List
```java
-import com.azure.resourcemanager.security.models.ServerVulnerabilityAssessmentsSettingKindName;
-
/**
- * Samples for ServerVulnerabilityAssessmentsSettings Get.
+ * Samples for SecureScoreControlDefinitions List.
*/
-public final class ServerVulnerabilityAssessmentsSettingsGetSamples {
+public final class SecureScoreControlDefinitionsListSamples {
/*
- * x-ms-original-file: specification/security/resource-manager/Microsoft.Security/stable/2023-05-01/examples/
- * ServerVulnerabilityAssessmentsSettings/GetServerVulnerabilityAssessmentsSetting_example.json
+ * x-ms-original-file: specification/security/resource-manager/Microsoft.Security/stable/2020-01-01/examples/
+ * secureScoreControlDefinitions/ListSecureScoreControlDefinitions_example.json
*/
/**
- * Sample code: Get the server vulnerability assessments setting of the kind settingKind that is set on the
- * subscription.
+ * Sample code: List security controls definition.
*
* @param manager Entry point to SecurityManager.
*/
- public static void getTheServerVulnerabilityAssessmentsSettingOfTheKindSettingKindThatIsSetOnTheSubscription(
- com.azure.resourcemanager.security.SecurityManager manager) {
- manager.serverVulnerabilityAssessmentsSettings()
- .getWithResponse(ServerVulnerabilityAssessmentsSettingKindName.AZURE_SERVERS_SETTING,
- com.azure.core.util.Context.NONE);
+ public static void listSecurityControlsDefinition(com.azure.resourcemanager.security.SecurityManager manager) {
+ manager.secureScoreControlDefinitions().list(com.azure.core.util.Context.NONE);
}
}
```
-### ServerVulnerabilityAssessmentsSettings_List
+### SecureScoreControlDefinitions_ListBySubscription
```java
/**
- * Samples for ServerVulnerabilityAssessmentsSettings List.
+ * Samples for SecureScoreControlDefinitions ListBySubscription.
*/
-public final class ServerVulnerabilityAssessmentsSettingsListSamples {
+public final class SecureScoreControlDefinitionsListBySubscriptionSamples {
/*
- * x-ms-original-file: specification/security/resource-manager/Microsoft.Security/stable/2023-05-01/examples/
- * ServerVulnerabilityAssessmentsSettings/ListServerVulnerabilityAssessmentsSettings_example.json
+ * x-ms-original-file: specification/security/resource-manager/Microsoft.Security/stable/2020-01-01/examples/
+ * secureScoreControlDefinitions/ListSecureScoreControlDefinitions_subscription_example.json
*/
/**
- * Sample code: List the server vulnerability assessments settings set on the subscription.
+ * Sample code: List security controls definition by subscription.
*
* @param manager Entry point to SecurityManager.
*/
- public static void listTheServerVulnerabilityAssessmentsSettingsSetOnTheSubscription(
- com.azure.resourcemanager.security.SecurityManager manager) {
- manager.serverVulnerabilityAssessmentsSettings().list(com.azure.core.util.Context.NONE);
+ public static void
+ listSecurityControlsDefinitionBySubscription(com.azure.resourcemanager.security.SecurityManager manager) {
+ manager.secureScoreControlDefinitions().listBySubscription(com.azure.core.util.Context.NONE);
}
}
```
-### Settings_Get
+### SecureScoreControls_List
```java
-import com.azure.resourcemanager.security.models.SettingNameAutoGenerated;
/**
- * Samples for Settings Get.
+ * Samples for SecureScoreControls List.
*/
-public final class SettingsGetSamples {
+public final class SecureScoreControlsListSamples {
/*
* x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/stable/2022-05-01/examples/Settings/GetSetting_example
- * .json
+ * specification/security/resource-manager/Microsoft.Security/stable/2020-01-01/examples/secureScores/
+ * ListSecureScoreControls_example.json
*/
/**
- * Sample code: Get a setting on subscription.
+ * Sample code: List all secure scores controls.
*
* @param manager Entry point to SecurityManager.
*/
- public static void getASettingOnSubscription(com.azure.resourcemanager.security.SecurityManager manager) {
- manager.settings().getWithResponse(SettingNameAutoGenerated.WDATP, com.azure.core.util.Context.NONE);
+ public static void listAllSecureScoresControls(com.azure.resourcemanager.security.SecurityManager manager) {
+ manager.secureScoreControls().list(null, com.azure.core.util.Context.NONE);
}
}
```
-### Settings_List
+### SecureScoreControls_ListBySecureScore
```java
+import com.azure.resourcemanager.security.models.ExpandControlsEnum;
+
/**
- * Samples for Settings List.
+ * Samples for SecureScoreControls ListBySecureScore.
*/
-public final class SettingsListSamples {
+public final class SecureScoreControlsListBySecureScoreSamples {
/*
* x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/stable/2022-05-01/examples/Settings/
- * GetSettings_example.json
+ * specification/security/resource-manager/Microsoft.Security/stable/2020-01-01/examples/secureScores/
+ * ListSecureScoreControlsForNameWithExpand_builtin_example.json
*/
/**
- * Sample code: Get settings of subscription.
+ * Sample code: Get security controls and their current score for the specified initiative with the expand
+ * parameter.
*
* @param manager Entry point to SecurityManager.
*/
- public static void getSettingsOfSubscription(com.azure.resourcemanager.security.SecurityManager manager) {
- manager.settings().list(com.azure.core.util.Context.NONE);
+ public static void getSecurityControlsAndTheirCurrentScoreForTheSpecifiedInitiativeWithTheExpandParameter(
+ com.azure.resourcemanager.security.SecurityManager manager) {
+ manager.secureScoreControls()
+ .listBySecureScore("ascScore", ExpandControlsEnum.DEFINITION, com.azure.core.util.Context.NONE);
}
-}
-```
-
-### Settings_Update
-
-```java
-import com.azure.resourcemanager.security.models.DataExportSettings;
-import com.azure.resourcemanager.security.models.SettingNameAutoGenerated;
-/**
- * Samples for Settings Update.
- */
-public final class SettingsUpdateSamples {
/*
* x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/stable/2022-05-01/examples/Settings/
- * UpdateSetting_example.json
+ * specification/security/resource-manager/Microsoft.Security/stable/2020-01-01/examples/secureScores/
+ * ListSecureScoreControlsForName_builtin_example.json
*/
/**
- * Sample code: Update a setting for subscription.
+ * Sample code: Get security controls and their current score for the specified initiative.
*
* @param manager Entry point to SecurityManager.
*/
- public static void updateASettingForSubscription(com.azure.resourcemanager.security.SecurityManager manager) {
- manager.settings()
- .updateWithResponse(SettingNameAutoGenerated.WDATP, new DataExportSettings().withEnabled(true),
- com.azure.core.util.Context.NONE);
+ public static void getSecurityControlsAndTheirCurrentScoreForTheSpecifiedInitiative(
+ com.azure.resourcemanager.security.SecurityManager manager) {
+ manager.secureScoreControls().listBySecureScore("ascScore", null, com.azure.core.util.Context.NONE);
}
}
```
-### SoftwareInventories_Get
+### SecureScores_Get
```java
/**
- * Samples for SoftwareInventories Get.
+ * Samples for SecureScores Get.
*/
-public final class SoftwareInventoriesGetSamples {
+public final class SecureScoresGetSamples {
/*
* x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/preview/2021-05-01-preview/examples/
- * SoftwareInventories/GetSoftware_example.json
+ * specification/security/resource-manager/Microsoft.Security/stable/2020-01-01/examples/secureScores/
+ * GetSecureScoresSingle_example.json
*/
/**
- * Sample code: Gets a single software data of the virtual machine.
+ * Sample code: Get single secure score.
*
* @param manager Entry point to SecurityManager.
*/
- public static void
- getsASingleSoftwareDataOfTheVirtualMachine(com.azure.resourcemanager.security.SecurityManager manager) {
- manager.softwareInventories()
- .getWithResponse("EITAN-TESTS", "Microsoft.Compute", "virtualMachines", "Eitan-Test1",
- "outlook_16.0.10371.20060", com.azure.core.util.Context.NONE);
+ public static void getSingleSecureScore(com.azure.resourcemanager.security.SecurityManager manager) {
+ manager.secureScores().getWithResponse("ascScore", com.azure.core.util.Context.NONE);
}
}
```
-### SoftwareInventories_List
+### SecureScores_List
```java
/**
- * Samples for SoftwareInventories List.
+ * Samples for SecureScores List.
*/
-public final class SoftwareInventoriesListSamples {
+public final class SecureScoresListSamples {
/*
* x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/preview/2021-05-01-preview/examples/
- * SoftwareInventories/ListBySubscriptionSoftwareInventories_example.json
+ * specification/security/resource-manager/Microsoft.Security/stable/2020-01-01/examples/secureScores/
+ * ListSecureScores_example.json
*/
/**
- * Sample code: Gets the software inventory of all virtual machines in the subscriptions.
+ * Sample code: List secure scores.
*
* @param manager Entry point to SecurityManager.
*/
- public static void getsTheSoftwareInventoryOfAllVirtualMachinesInTheSubscriptions(
- com.azure.resourcemanager.security.SecurityManager manager) {
- manager.softwareInventories().list(com.azure.core.util.Context.NONE);
+ public static void listSecureScores(com.azure.resourcemanager.security.SecurityManager manager) {
+ manager.secureScores().list(com.azure.core.util.Context.NONE);
}
}
```
-### SoftwareInventories_ListByExtendedResource
+### SecuritySolutions_Get
```java
/**
- * Samples for SoftwareInventories ListByExtendedResource.
+ * Samples for SecuritySolutions Get.
*/
-public final class SoftwareInventoriesListByExtendedResourceSamples {
+public final class SecuritySolutionsGetSamples {
/*
* x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/preview/2021-05-01-preview/examples/
- * SoftwareInventories/ListByExtendedResourceSoftwareInventories_example.json
+ * specification/security/resource-manager/Microsoft.Security/stable/2020-01-01/examples/SecuritySolutions/
+ * GetSecuritySolutionsResourceGroupLocation_example.json
*/
/**
- * Sample code: Gets the software inventory of the virtual machine.
+ * Sample code: Get a security solution from a security data location.
*
* @param manager Entry point to SecurityManager.
*/
public static void
- getsTheSoftwareInventoryOfTheVirtualMachine(com.azure.resourcemanager.security.SecurityManager manager) {
- manager.softwareInventories()
- .listByExtendedResource("EITAN-TESTS", "Microsoft.Compute", "virtualMachines", "Eitan-Test1",
- com.azure.core.util.Context.NONE);
+ getASecuritySolutionFromASecurityDataLocation(com.azure.resourcemanager.security.SecurityManager manager) {
+ manager.securitySolutions()
+ .getWithResponse("myRg2", "centralus", "paloalto7", com.azure.core.util.Context.NONE);
}
}
```
-### SqlVulnerabilityAssessmentBaselineRules_Add
+### SecuritySolutions_List
```java
-import com.azure.resourcemanager.security.models.RulesResultsInput;
-import java.util.Arrays;
-import java.util.HashMap;
-import java.util.Map;
-
/**
- * Samples for SqlVulnerabilityAssessmentBaselineRules Add.
+ * Samples for SecuritySolutions List.
*/
-public final class SqlVulnerabilityAssessmentBaselineRulesAddSamples {
+public final class SecuritySolutionsListSamples {
/*
* x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/preview/2023-02-01-preview/examples/
- * sqlVulnerabilityAssessmentsBaselineRuleOperations/ArcMachineBaselineRules_Add.json
+ * specification/security/resource-manager/Microsoft.Security/stable/2020-01-01/examples/SecuritySolutions/
+ * GetSecuritySolutionsSubscription_example.json
*/
/**
- * Sample code: Create a baseline for all rules.
+ * Sample code: Get security solutions.
*
* @param manager Entry point to SecurityManager.
*/
- public static void createABaselineForAllRules(com.azure.resourcemanager.security.SecurityManager manager) {
- manager.sqlVulnerabilityAssessmentBaselineRules()
- .addWithResponse("55555555-6666-7777-8888-999999999999",
- "subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Rg/providers/Microsoft.HybridCompute/machines/MyMachine/sqlServers/server1/databases/master",
- new RulesResultsInput().withLatestScan(false)
- .withResults(mapOf("VA1234",
- Arrays.asList(Arrays.asList("userA", "SELECT"), Arrays.asList("userB", "SELECT")), "VA5678",
- Arrays.asList(Arrays.asList("Test", "0.0.0.0", "125.125.125.125")))),
- com.azure.core.util.Context.NONE);
+ public static void getSecuritySolutions(com.azure.resourcemanager.security.SecurityManager manager) {
+ manager.securitySolutions().list(com.azure.core.util.Context.NONE);
}
+}
+```
+
+### SecuritySolutionsReferenceData_List
+```java
+/**
+ * Samples for SecuritySolutionsReferenceData List.
+ */
+public final class SecuritySolutionsReferenceDataListSamples {
/*
- * x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/preview/2023-02-01-preview/examples/
- * sqlVulnerabilityAssessmentsBaselineRuleOperations/ArcMachineBaselineRules_AddLatest.json
+ * x-ms-original-file: specification/security/resource-manager/Microsoft.Security/stable/2020-01-01/examples/
+ * SecuritySolutionsReferenceData/GetSecuritySolutionsReferenceDataSubscription_example.json
*/
/**
- * Sample code: Create a baseline for all rules using the latest scan results.
+ * Sample code: Get security solutions.
*
* @param manager Entry point to SecurityManager.
*/
- public static void createABaselineForAllRulesUsingTheLatestScanResults(
- com.azure.resourcemanager.security.SecurityManager manager) {
- manager.sqlVulnerabilityAssessmentBaselineRules()
- .addWithResponse("55555555-6666-7777-8888-999999999999",
- "subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Rg/providers/Microsoft.HybridCompute/machines/MyMachine/sqlServers/server1/databases/master",
- new RulesResultsInput().withLatestScan(true).withResults(mapOf()), com.azure.core.util.Context.NONE);
- }
-
- // Use "Map.of" if available
- @SuppressWarnings("unchecked")
- private static Map mapOf(Object... inputs) {
- Map map = new HashMap<>();
- for (int i = 0; i < inputs.length; i += 2) {
- String key = (String) inputs[i];
- T value = (T) inputs[i + 1];
- map.put(key, value);
- }
- return map;
+ public static void getSecuritySolutions(com.azure.resourcemanager.security.SecurityManager manager) {
+ manager.securitySolutionsReferenceDatas().listWithResponse(com.azure.core.util.Context.NONE);
}
}
```
-### SqlVulnerabilityAssessmentBaselineRules_CreateOrUpdate
+### SecuritySolutionsReferenceData_ListByHomeRegion
```java
-import java.util.Arrays;
-
/**
- * Samples for SqlVulnerabilityAssessmentBaselineRules CreateOrUpdate.
+ * Samples for SecuritySolutionsReferenceData ListByHomeRegion.
*/
-public final class SqlVulnerabilityAssessmentBaselineRulesCreateOrUpdateSamples {
+public final class SecuritySolutionsReferenceDataListByHomeRegionSamples {
/*
- * x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/preview/2023-02-01-preview/examples/
- * sqlVulnerabilityAssessmentsBaselineRuleOperations/ArcMachineBaselineRules_PutLatest.json
+ * x-ms-original-file: specification/security/resource-manager/Microsoft.Security/stable/2020-01-01/examples/
+ * SecuritySolutionsReferenceData/GetSecuritySolutionsReferenceDataSubscriptionLocation_example.json
*/
/**
- * Sample code: Create a baseline using the latest scan results.
+ * Sample code: Get security solutions from a security data location.
*
* @param manager Entry point to SecurityManager.
*/
public static void
- createABaselineUsingTheLatestScanResults(com.azure.resourcemanager.security.SecurityManager manager) {
- manager.sqlVulnerabilityAssessmentBaselineRules()
- .define("VA1234")
- .withExistingResourceId(
- "subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Rg/providers/Microsoft.HybridCompute/machines/MyMachine/sqlServers/server1/databases/master")
- .withLatestScan(true)
- .withResults(Arrays.asList())
- .withWorkspaceId("55555555-6666-7777-8888-999999999999")
- .create();
- }
-
- /*
- * x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/preview/2023-02-01-preview/examples/
- * sqlVulnerabilityAssessmentsBaselineRuleOperations/ArcMachineBaselineRules_Put.json
- */
- /**
- * Sample code: Create a baseline.
- *
- * @param manager Entry point to SecurityManager.
- */
- public static void createABaseline(com.azure.resourcemanager.security.SecurityManager manager) {
- manager.sqlVulnerabilityAssessmentBaselineRules()
- .define("VA1234")
- .withExistingResourceId(
- "subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Rg/providers/Microsoft.HybridCompute/machines/MyMachine/sqlServers/server1/databases/master")
- .withLatestScan(false)
- .withResults(Arrays.asList(Arrays.asList("userA", "SELECT"), Arrays.asList("userB", "SELECT")))
- .withWorkspaceId("55555555-6666-7777-8888-999999999999")
- .create();
+ getSecuritySolutionsFromASecurityDataLocation(com.azure.resourcemanager.security.SecurityManager manager) {
+ manager.securitySolutionsReferenceDatas()
+ .listByHomeRegionWithResponse("westcentralus", com.azure.core.util.Context.NONE);
}
}
```
-### SqlVulnerabilityAssessmentBaselineRules_Delete
+### SecurityStandards_CreateOrUpdate
```java
+import com.azure.resourcemanager.security.models.PartialAssessmentProperties;
+import com.azure.resourcemanager.security.models.StandardSupportedCloud;
+import java.util.Arrays;
+
/**
- * Samples for SqlVulnerabilityAssessmentBaselineRules Delete.
+ * Samples for SecurityStandards CreateOrUpdate.
*/
-public final class SqlVulnerabilityAssessmentBaselineRulesDeleteSamples {
+public final class SecurityStandardsCreateOrUpdateSamples {
/*
* x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/preview/2023-02-01-preview/examples/
- * sqlVulnerabilityAssessmentsBaselineRuleOperations/ArcMachineBaselineRules_Delete.json
+ * specification/security/resource-manager/Microsoft.Security/stable/2024-08-01/examples/SecurityStandards/
+ * PutBySubscriptionSecurityStandard_example.json
*/
/**
- * Sample code: Delete the baseline.
+ * Sample code: Create or update security standard over subscription scope.
*
* @param manager Entry point to SecurityManager.
*/
- public static void deleteTheBaseline(com.azure.resourcemanager.security.SecurityManager manager) {
- manager.sqlVulnerabilityAssessmentBaselineRules()
- .deleteWithResponse("VA1234", "55555555-6666-7777-8888-999999999999",
- "subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Rg/providers/Microsoft.HybridCompute/machines/MyMachine/sqlServers/server1/databases/master",
- com.azure.core.util.Context.NONE);
+ public static void createOrUpdateSecurityStandardOverSubscriptionScope(
+ com.azure.resourcemanager.security.SecurityManager manager) {
+ manager.securityStandards()
+ .define("8bb8be0a-6010-4789-812f-e4d661c4ed0e")
+ .withExistingScope("subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23")
+ .withDisplayName("Azure Test Security Standard 1")
+ .withDescription("description of Azure Test Security Standard 1")
+ .withAssessments(Arrays.asList(new PartialAssessmentProperties().withAssessmentKey("fakeTokenPlaceholder"),
+ new PartialAssessmentProperties().withAssessmentKey("fakeTokenPlaceholder")))
+ .withCloudProviders(Arrays.asList(StandardSupportedCloud.GCP))
+ .withPolicySetDefinitionId(
+ "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/providers/Microsoft.Authorization/policySetDefinitions/patchorchestration-applicationversions")
+ .create();
}
-}
-```
-### SqlVulnerabilityAssessmentBaselineRules_Get
-
-```java
-/**
- * Samples for SqlVulnerabilityAssessmentBaselineRules Get.
- */
-public final class SqlVulnerabilityAssessmentBaselineRulesGetSamples {
/*
* x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/preview/2023-02-01-preview/examples/
- * sqlVulnerabilityAssessmentsBaselineRuleOperations/ArcMachineBaselineRules_Get.json
+ * specification/security/resource-manager/Microsoft.Security/stable/2024-08-01/examples/SecurityStandards/
+ * PutBySecurityConnectorSecurityStandard_example.json
*/
/**
- * Sample code: Get the baseline.
+ * Sample code: Create or update security standard over security connector scope.
*
* @param manager Entry point to SecurityManager.
*/
- public static void getTheBaseline(com.azure.resourcemanager.security.SecurityManager manager) {
- manager.sqlVulnerabilityAssessmentBaselineRules()
- .getWithResponse("VA1234", "55555555-6666-7777-8888-999999999999",
- "subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Rg/providers/Microsoft.HybridCompute/machines/MyMachine/sqlServers/server1/databases/master",
- com.azure.core.util.Context.NONE);
+ public static void createOrUpdateSecurityStandardOverSecurityConnectorScope(
+ com.azure.resourcemanager.security.SecurityManager manager) {
+ manager.securityStandards()
+ .define("8bb8be0a-6010-4789-812f-e4d661c4ed0e")
+ .withExistingScope(
+ "subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/gcpResourceGroup/providers/Microsoft.Security/securityConnectors/gcpconnector")
+ .withDisplayName("Azure Test Security Standard 1")
+ .withDescription("description of Azure Test Security Standard 1")
+ .withAssessments(Arrays.asList(new PartialAssessmentProperties().withAssessmentKey("fakeTokenPlaceholder"),
+ new PartialAssessmentProperties().withAssessmentKey("fakeTokenPlaceholder")))
+ .withCloudProviders(Arrays.asList(StandardSupportedCloud.GCP))
+ .create();
}
-}
-```
-### SqlVulnerabilityAssessmentBaselineRules_List
-
-```java
-/**
- * Samples for SqlVulnerabilityAssessmentBaselineRules List.
- */
-public final class SqlVulnerabilityAssessmentBaselineRulesListSamples {
/*
* x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/preview/2023-02-01-preview/examples/
- * sqlVulnerabilityAssessmentsBaselineRuleOperations/ArcMachineBaselineRules_List.json
+ * specification/security/resource-manager/Microsoft.Security/stable/2024-08-01/examples/SecurityStandards/
+ * PutByManagementGroupSecurityStandard_example.json
*/
/**
- * Sample code: List baseline for all rules.
+ * Sample code: Create or update security standard over management group scope.
*
* @param manager Entry point to SecurityManager.
*/
- public static void listBaselineForAllRules(com.azure.resourcemanager.security.SecurityManager manager) {
- manager.sqlVulnerabilityAssessmentBaselineRules()
- .listWithResponse("55555555-6666-7777-8888-999999999999",
- "subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Rg/providers/Microsoft.HybridCompute/machines/MyMachine/sqlServers/server1/databases/master",
- com.azure.core.util.Context.NONE);
+ public static void createOrUpdateSecurityStandardOverManagementGroupScope(
+ com.azure.resourcemanager.security.SecurityManager manager) {
+ manager.securityStandards()
+ .define("8bb8be0a-6010-4789-812f-e4d661c4ed0e")
+ .withExistingScope("providers/Microsoft.Management/managementGroups/contoso")
+ .withDisplayName("Azure Test Security Standard 1")
+ .withDescription("description of Azure Test Security Standard 1")
+ .withAssessments(Arrays.asList(new PartialAssessmentProperties().withAssessmentKey("fakeTokenPlaceholder"),
+ new PartialAssessmentProperties().withAssessmentKey("fakeTokenPlaceholder")))
+ .withCloudProviders(Arrays.asList(StandardSupportedCloud.GCP))
+ .withPolicySetDefinitionId(
+ "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/providers/Microsoft.Authorization/policySetDefinitions/patchorchestration-applicationversions")
+ .create();
}
}
```
-### SqlVulnerabilityAssessmentScanResults_Get
+### SecurityStandards_Delete
```java
/**
- * Samples for SqlVulnerabilityAssessmentScanResults Get.
+ * Samples for SecurityStandards Delete.
*/
-public final class SqlVulnerabilityAssessmentScanResultsGetSamples {
- /*
- * x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/preview/2023-02-01-preview/examples/
- * sqlVulnerabilityAssessmentsScanResultsOperations/ArcMachineScanResults_Get.json
- */
- /**
- * Sample code: Get scan details of a scan record.
- *
- * @param manager Entry point to SecurityManager.
- */
- public static void getScanDetailsOfAScanRecord(com.azure.resourcemanager.security.SecurityManager manager) {
- manager.sqlVulnerabilityAssessmentScanResults()
- .getWithResponse("Scheduled-20200623", "VA2063", "55555555-6666-7777-8888-999999999999",
- "subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Rg/providers/Microsoft.HybridCompute/machines/MyMachine/sqlServers/server1/databases/master",
- com.azure.core.util.Context.NONE);
- }
-
+public final class SecurityStandardsDeleteSamples {
/*
* x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/preview/2023-02-01-preview/examples/
- * sqlVulnerabilityAssessmentsScanResultsOperations/ArcMachineScanResults_GetLatest.json
+ * specification/security/resource-manager/Microsoft.Security/stable/2024-08-01/examples/SecurityStandards/
+ * DeleteBySecurityConnectorSecurityStandard_example.json
*/
/**
- * Sample code: Get scan details of the latest scan record.
+ * Sample code: Delete a security standard over security connector scope.
*
* @param manager Entry point to SecurityManager.
*/
- public static void getScanDetailsOfTheLatestScanRecord(com.azure.resourcemanager.security.SecurityManager manager) {
- manager.sqlVulnerabilityAssessmentScanResults()
- .getWithResponse("latest", "VA2063", "55555555-6666-7777-8888-999999999999",
- "subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Rg/providers/Microsoft.HybridCompute/machines/MyMachine/sqlServers/server1/databases/master",
- com.azure.core.util.Context.NONE);
+ public static void
+ deleteASecurityStandardOverSecurityConnectorScope(com.azure.resourcemanager.security.SecurityManager manager) {
+ manager.securityStandards()
+ .deleteByResourceGroupWithResponse(
+ "subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/gcpResourceGroup/providers/Microsoft.Security/securityConnectors/gcpconnector",
+ "ad9a8e26-29d9-4829-bb30-e597a58cdbb8", com.azure.core.util.Context.NONE);
}
-}
-```
-### SqlVulnerabilityAssessmentScanResults_List
-
-```java
-/**
- * Samples for SqlVulnerabilityAssessmentScanResults List.
- */
-public final class SqlVulnerabilityAssessmentScanResultsListSamples {
/*
* x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/preview/2023-02-01-preview/examples/
- * sqlVulnerabilityAssessmentsScanResultsOperations/ArcMachineScanResults_ListLatest.json
+ * specification/security/resource-manager/Microsoft.Security/stable/2024-08-01/examples/SecurityStandards/
+ * DeleteByManagementGroupSecurityStandard_example.json
*/
/**
- * Sample code: List scan results of the latest scan.
+ * Sample code: Delete a security standard over management group scope.
*
* @param manager Entry point to SecurityManager.
*/
- public static void listScanResultsOfTheLatestScan(com.azure.resourcemanager.security.SecurityManager manager) {
- manager.sqlVulnerabilityAssessmentScanResults()
- .listWithResponse("latest", "55555555-6666-7777-8888-999999999999",
- "subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Rg/providers/Microsoft.HybridCompute/machines/MyMachine/sqlServers/server1/databases/master",
- com.azure.core.util.Context.NONE);
+ public static void
+ deleteASecurityStandardOverManagementGroupScope(com.azure.resourcemanager.security.SecurityManager manager) {
+ manager.securityStandards()
+ .deleteByResourceGroupWithResponse("providers/Microsoft.Management/managementGroups/contoso",
+ "ad9a8e26-29d9-4829-bb30-e597a58cdbb8", com.azure.core.util.Context.NONE);
}
/*
* x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/preview/2023-02-01-preview/examples/
- * sqlVulnerabilityAssessmentsScanResultsOperations/ArcMachineScanResults_List.json
+ * specification/security/resource-manager/Microsoft.Security/stable/2024-08-01/examples/SecurityStandards/
+ * DeleteBySubscriptionSecurityStandard_example.json
*/
/**
- * Sample code: List scan results.
+ * Sample code: Delete a security standard over subscription scope.
*
* @param manager Entry point to SecurityManager.
*/
- public static void listScanResults(com.azure.resourcemanager.security.SecurityManager manager) {
- manager.sqlVulnerabilityAssessmentScanResults()
- .listWithResponse("Scheduled-20200623", "55555555-6666-7777-8888-999999999999",
- "subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Rg/providers/Microsoft.HybridCompute/machines/MyMachine/sqlServers/server1/databases/master",
- com.azure.core.util.Context.NONE);
+ public static void
+ deleteASecurityStandardOverSubscriptionScope(com.azure.resourcemanager.security.SecurityManager manager) {
+ manager.securityStandards()
+ .deleteByResourceGroupWithResponse("subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23",
+ "ad9a8e26-29d9-4829-bb30-e597a58cdbb8", com.azure.core.util.Context.NONE);
}
}
```
-### SqlVulnerabilityAssessmentScans_Get
+### SecurityStandards_Get
```java
/**
- * Samples for SqlVulnerabilityAssessmentScans Get.
+ * Samples for SecurityStandards Get.
*/
-public final class SqlVulnerabilityAssessmentScansGetSamples {
+public final class SecurityStandardsGetSamples {
/*
* x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/preview/2023-02-01-preview/examples/
- * sqlVulnerabilityAssessmentScanOperations/ArcMachineScans_Get.json
+ * specification/security/resource-manager/Microsoft.Security/stable/2024-08-01/examples/SecurityStandards/
+ * GetBySecurityConnectorSecurityStandard_example.json
*/
/**
- * Sample code: Get scan details of a scan record.
+ * Sample code: Get a security standard over security connector scope.
*
* @param manager Entry point to SecurityManager.
*/
- public static void getScanDetailsOfAScanRecord(com.azure.resourcemanager.security.SecurityManager manager) {
- manager.sqlVulnerabilityAssessmentScans()
- .getWithResponse("Scheduled-20200623", "55555555-6666-7777-8888-999999999999",
- "subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Rg/providers/Microsoft.HybridCompute/machines/MyMachine/sqlServers/server1/databases/master",
- com.azure.core.util.Context.NONE);
+ public static void
+ getASecurityStandardOverSecurityConnectorScope(com.azure.resourcemanager.security.SecurityManager manager) {
+ manager.securityStandards()
+ .getWithResponse(
+ "subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/gcpResourceGroup/providers/Microsoft.Security/securityConnectors/gcpconnector",
+ "1f3afdf9-d0c9-4c3d-847f-89da613e70a8", com.azure.core.util.Context.NONE);
}
/*
* x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/preview/2023-02-01-preview/examples/
- * sqlVulnerabilityAssessmentScanOperations/ArcMachineScans_GetLatest.json
+ * specification/security/resource-manager/Microsoft.Security/stable/2024-08-01/examples/SecurityStandards/
+ * GetByManagementGroupSecurityStandard_example.json
*/
/**
- * Sample code: Get scan details of the latest scan record.
+ * Sample code: Get a security standard over management group scope.
*
* @param manager Entry point to SecurityManager.
*/
- public static void getScanDetailsOfTheLatestScanRecord(com.azure.resourcemanager.security.SecurityManager manager) {
- manager.sqlVulnerabilityAssessmentScans()
- .getWithResponse("latest", "55555555-6666-7777-8888-999999999999",
- "subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Rg/providers/Microsoft.HybridCompute/machines/MyMachine/sqlServers/server1/databases/master",
- com.azure.core.util.Context.NONE);
+ public static void
+ getASecurityStandardOverManagementGroupScope(com.azure.resourcemanager.security.SecurityManager manager) {
+ manager.securityStandards()
+ .getWithResponse("providers/Microsoft.Management/managementGroups/contoso",
+ "1f3afdf9-d0c9-4c3d-847f-89da613e70a8", com.azure.core.util.Context.NONE);
}
-}
-```
-### SqlVulnerabilityAssessmentScans_List
-
-```java
-/**
- * Samples for SqlVulnerabilityAssessmentScans List.
- */
-public final class SqlVulnerabilityAssessmentScansListSamples {
/*
* x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/preview/2023-02-01-preview/examples/
- * sqlVulnerabilityAssessmentScanOperations/ArcMachineScans_List.json
+ * specification/security/resource-manager/Microsoft.Security/stable/2024-08-01/examples/SecurityStandards/
+ * GetBySubscriptionSecurityStandard_example.json
*/
/**
- * Sample code: List scan details.
+ * Sample code: Get a security standard over subscription scope.
*
* @param manager Entry point to SecurityManager.
*/
- public static void listScanDetails(com.azure.resourcemanager.security.SecurityManager manager) {
- manager.sqlVulnerabilityAssessmentScans()
- .listWithResponse("55555555-6666-7777-8888-999999999999",
- "subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Rg/providers/Microsoft.HybridCompute/machines/MyMachine/sqlServers/server1/databases/master",
- com.azure.core.util.Context.NONE);
+ public static void
+ getASecurityStandardOverSubscriptionScope(com.azure.resourcemanager.security.SecurityManager manager) {
+ manager.securityStandards()
+ .getWithResponse("subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23",
+ "1f3afdf9-d0c9-4c3d-847f-89da613e70a8", com.azure.core.util.Context.NONE);
}
}
```
-### StandardAssignments_Create
+### SecurityStandards_List
```java
-import com.azure.resourcemanager.security.models.AssignedAssessmentItem;
-import com.azure.resourcemanager.security.models.AssignedStandardItem;
-import com.azure.resourcemanager.security.models.Effect;
-import com.azure.resourcemanager.security.models.ExemptionCategory;
-import com.azure.resourcemanager.security.models.StandardAssignmentPropertiesExemptionData;
-import java.time.OffsetDateTime;
-import java.util.Arrays;
-
/**
- * Samples for StandardAssignments Create.
+ * Samples for SecurityStandards List.
*/
-public final class StandardAssignmentsCreateSamples {
+public final class SecurityStandardsListSamples {
/*
* x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/stable/2024-08-01/examples/StandardAssignments/
- * PutStandardAssignment.json
+ * specification/security/resource-manager/Microsoft.Security/stable/2024-08-01/examples/SecurityStandards/
+ * ListByManagementGroupSecurityStandards_example.json
*/
/**
- * Sample code: Put an audit standard assignment.
+ * Sample code: List security standards by management group scope.
*
* @param manager Entry point to SecurityManager.
*/
- public static void putAnAuditStandardAssignment(com.azure.resourcemanager.security.SecurityManager manager) {
- manager.standardAssignments()
- .define("1f3afdf9-d0c9-4c3d-847f-89da613e70a8")
- .withExistingResourceId("subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23")
- .withDisplayName("ASC Default")
- .withDescription("Set of policies monitored by Azure Security Center for cross cloud")
- .withAssignedStandard(new AssignedStandardItem()
- .withId("/providers/Microsoft.Security/securityStandards/1f3afdf9-d0c9-4c3d-847f-89da613e70a8"))
- .withEffect(Effect.AUDIT)
- .withExcludedScopes(Arrays.asList())
- .create();
+ public static void
+ listSecurityStandardsByManagementGroupScope(com.azure.resourcemanager.security.SecurityManager manager) {
+ manager.securityStandards()
+ .list("providers/Microsoft.Management/managementGroups/contoso", com.azure.core.util.Context.NONE);
}
/*
* x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/stable/2024-08-01/examples/StandardAssignments/
- * PutExemptionStandardAssignment.json
+ * specification/security/resource-manager/Microsoft.Security/stable/2024-08-01/examples/SecurityStandards/
+ * ListBySubscriptionSecurityStandards_example.json
*/
/**
- * Sample code: Put exemption standard assignment.
+ * Sample code: List security standards by subscription scope.
*
* @param manager Entry point to SecurityManager.
*/
- public static void putExemptionStandardAssignment(com.azure.resourcemanager.security.SecurityManager manager) {
- manager.standardAssignments()
- .define("1f3afdf9-d0c9-4c3d-847f-89da613e70a8")
- .withExistingResourceId(
- "subscriptions/212f9889-769e-45ae-ab43-6da33674bd26/resourceGroups/ANAT_TEST_RG/providers/Microsoft.Compute/virtualMachines/anatTestE2LA")
- .withDisplayName("Test exemption")
- .withDescription("Exemption description")
- .withAssignedStandard(new AssignedStandardItem()
- .withId("/providers/Microsoft.Security/securityStandards/1f3afdf9-d0c9-4c3d-847f-89da613e70a8"))
- .withEffect(Effect.EXEMPT)
- .withExpiresOn(OffsetDateTime.parse("2022-05-01T19:50:47.083633Z"))
- .withExemptionData(
- new StandardAssignmentPropertiesExemptionData().withExemptionCategory(ExemptionCategory.WAIVER)
- .withAssignedAssessment(new AssignedAssessmentItem().withAssessmentKey("fakeTokenPlaceholder")))
- .create();
+ public static void
+ listSecurityStandardsBySubscriptionScope(com.azure.resourcemanager.security.SecurityManager manager) {
+ manager.securityStandards()
+ .list("subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23", com.azure.core.util.Context.NONE);
}
-}
-```
-
-### StandardAssignments_Delete
-```java
-/**
- * Samples for StandardAssignments Delete.
- */
-public final class StandardAssignmentsDeleteSamples {
/*
* x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/stable/2024-08-01/examples/StandardAssignments/
- * DeleteStandardAssignment.json
+ * specification/security/resource-manager/Microsoft.Security/stable/2024-08-01/examples/SecurityStandards/
+ * ListBySecurityConnectorSecurityStandards_example.json
*/
/**
- * Sample code: Delete a standard assignment.
+ * Sample code: List security standards by security connector scope.
*
* @param manager Entry point to SecurityManager.
*/
- public static void deleteAStandardAssignment(com.azure.resourcemanager.security.SecurityManager manager) {
- manager.standardAssignments()
- .deleteByResourceGroupWithResponse(
+ public static void
+ listSecurityStandardsBySecurityConnectorScope(com.azure.resourcemanager.security.SecurityManager manager) {
+ manager.securityStandards()
+ .list(
"subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/gcpResourceGroup/providers/Microsoft.Security/securityConnectors/gcpconnector",
- "ad9a8e26-29d9-4829-bb30-e597a58cdbb8", com.azure.core.util.Context.NONE);
- }
-}
-```
-
-### StandardAssignments_Get
-
-```java
-/**
- * Samples for StandardAssignments Get.
- */
-public final class StandardAssignmentsGetSamples {
- /*
- * x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/stable/2024-08-01/examples/StandardAssignments/
- * GetStandardAssignment.json
- */
- /**
- * Sample code: Retrieve a standard assignment.
- *
- * @param manager Entry point to SecurityManager.
- */
- public static void retrieveAStandardAssignment(com.azure.resourcemanager.security.SecurityManager manager) {
- manager.standardAssignments()
- .getWithResponse("providers/Microsoft.Management/managementGroups/contoso",
- "1f3afdf9-d0c9-4c3d-847f-89da613e70a8", com.azure.core.util.Context.NONE);
+ com.azure.core.util.Context.NONE);
}
}
```
-### StandardAssignments_List
+### ServerVulnerabilityAssessment_CreateOrUpdate
```java
/**
- * Samples for StandardAssignments List.
+ * Samples for ServerVulnerabilityAssessment CreateOrUpdate.
*/
-public final class StandardAssignmentsListSamples {
+public final class ServerVulnerabilityAssessmentCreateOrUpdateSamples {
/*
- * x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/stable/2024-08-01/examples/StandardAssignments/
- * ListStandardAssignments.json
+ * x-ms-original-file: specification/security/resource-manager/Microsoft.Security/stable/2020-01-01/examples/
+ * ServerVulnerabilityAssessments/CreateServerVulnerabilityAssessments_example.json
*/
/**
- * Sample code: List standard assignments.
+ * Sample code: Create a server vulnerability assessments on a resource. Only 'default' resource is supported. Once
+ * creating the resource, the server will be onboarded to vulnerability assessment by Microsoft.Security.
*
* @param manager Entry point to SecurityManager.
*/
- public static void listStandardAssignments(com.azure.resourcemanager.security.SecurityManager manager) {
- manager.standardAssignments()
- .list(
- "subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/gcpResourceGroup/providers/Microsoft.Security/securityConnectors/gcpconnector",
+ public static void
+ createAServerVulnerabilityAssessmentsOnAResourceOnlyDefaultResourceIsSupportedOnceCreatingTheResourceTheServerWillBeOnboardedToVulnerabilityAssessmentByMicrosoftSecurity(
+ com.azure.resourcemanager.security.SecurityManager manager) {
+ manager.serverVulnerabilityAssessments()
+ .createOrUpdateWithResponse("rg1", "Microsoft.Compute", "virtualMachines", "vm1",
com.azure.core.util.Context.NONE);
}
}
```
-### SubAssessments_Get
+### ServerVulnerabilityAssessment_Delete
```java
/**
- * Samples for SubAssessments Get.
+ * Samples for ServerVulnerabilityAssessment Delete.
*/
-public final class SubAssessmentsGetSamples {
+public final class ServerVulnerabilityAssessmentDeleteSamples {
/*
- * x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/SubAssessments/
- * GetSubAssessment_example.json
+ * x-ms-original-file: specification/security/resource-manager/Microsoft.Security/stable/2020-01-01/examples/
+ * ServerVulnerabilityAssessments/DeleteServerVulnerabilityAssessments_example.json
*/
/**
- * Sample code: Get security recommendation task from security data location.
+ * Sample code: Delete a server vulnerability assessments on a resource. Only 'default' resource is supported. Once
+ * deleting, Microsoft.Security will not provide vulnerability assessment findings on the resource.
*
* @param manager Entry point to SecurityManager.
*/
- public static void getSecurityRecommendationTaskFromSecurityDataLocation(
- com.azure.resourcemanager.security.SecurityManager manager) {
- manager.subAssessments()
- .getWithResponse(
- "subscriptions/212f9889-769e-45ae-ab43-6da33674bd26/resourceGroups/DEMORG/providers/Microsoft.Compute/virtualMachines/vm2",
- "1195afff-c881-495e-9bc5-1486211ae03f", "95f7da9c-a2a4-1322-0758-fcd24ef09b85",
- com.azure.core.util.Context.NONE);
+ public static void
+ deleteAServerVulnerabilityAssessmentsOnAResourceOnlyDefaultResourceIsSupportedOnceDeletingMicrosoftSecurityWillNotProvideVulnerabilityAssessmentFindingsOnTheResource(
+ com.azure.resourcemanager.security.SecurityManager manager) {
+ manager.serverVulnerabilityAssessments()
+ .delete("rg1", "Microsoft.Compute", "virtualMachines", "vm1", com.azure.core.util.Context.NONE);
}
}
```
-### SubAssessments_List
+### ServerVulnerabilityAssessment_Get
```java
/**
- * Samples for SubAssessments List.
+ * Samples for ServerVulnerabilityAssessment Get.
*/
-public final class SubAssessmentsListSamples {
+public final class ServerVulnerabilityAssessmentGetSamples {
/*
- * x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/SubAssessments/
- * ListSubAssessments_example.json
+ * x-ms-original-file: specification/security/resource-manager/Microsoft.Security/stable/2020-01-01/examples/
+ * ServerVulnerabilityAssessments/GetServerVulnerabilityAssessments_example.json
*/
/**
- * Sample code: List security sub-assessments.
+ * Sample code: Get a server vulnerability assessments onboarding status on a resource. Currently Microsoft.Security
+ * only supports the single 'default' resource.
*
* @param manager Entry point to SecurityManager.
*/
- public static void listSecuritySubAssessments(com.azure.resourcemanager.security.SecurityManager manager) {
- manager.subAssessments()
- .list("subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23", "82e20e14-edc5-4373-bfc4-f13121257c37",
- com.azure.core.util.Context.NONE);
+ public static void
+ getAServerVulnerabilityAssessmentsOnboardingStatusOnAResourceCurrentlyMicrosoftSecurityOnlySupportsTheSingleDefaultResource(
+ com.azure.resourcemanager.security.SecurityManager manager) {
+ manager.serverVulnerabilityAssessments()
+ .getWithResponse("rg1", "Microsoft.Compute", "virtualMachines", "vm1", com.azure.core.util.Context.NONE);
}
}
```
-### SubAssessments_ListAll
+### ServerVulnerabilityAssessment_ListByExtendedResource
```java
/**
- * Samples for SubAssessments ListAll.
+ * Samples for ServerVulnerabilityAssessment ListByExtendedResource.
*/
-public final class SubAssessmentsListAllSamples {
+public final class ServerVulnerabilityAssessmentListByExtendedResourceSamples {
/*
- * x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/SubAssessments/
- * ListSubscriptionSubAssessments_example.json
+ * x-ms-original-file: specification/security/resource-manager/Microsoft.Security/stable/2020-01-01/examples/
+ * ServerVulnerabilityAssessments/ListByExtendedResourceServerVulnerabilityAssessments_example.json
*/
/**
- * Sample code: List security sub-assessments.
+ * Sample code: Get a list of server vulnerability assessments on a resource. Though this API returns a list,
+ * Currently Microsoft.Security only supports a single default type of server vulnerability assessment.
*
* @param manager Entry point to SecurityManager.
*/
- public static void listSecuritySubAssessments(com.azure.resourcemanager.security.SecurityManager manager) {
- manager.subAssessments()
- .listAll("subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23", com.azure.core.util.Context.NONE);
+ public static void
+ getAListOfServerVulnerabilityAssessmentsOnAResourceThoughThisAPIReturnsAListCurrentlyMicrosoftSecurityOnlySupportsASingleDefaultTypeOfServerVulnerabilityAssessment(
+ com.azure.resourcemanager.security.SecurityManager manager) {
+ manager.serverVulnerabilityAssessments()
+ .listByExtendedResourceWithResponse("rg1", "Microsoft.Compute", "virtualMachines", "vm1",
+ com.azure.core.util.Context.NONE);
}
}
```
-### Tasks_GetResourceGroupLevelTask
+### ServerVulnerabilityAssessmentsSettings_CreateOrUpdate
```java
+import com.azure.resourcemanager.security.models.AzureServersSetting;
+import com.azure.resourcemanager.security.models.ServerVulnerabilityAssessmentsAzureSettingSelectedProvider;
+import com.azure.resourcemanager.security.models.ServerVulnerabilityAssessmentsSettingKindName;
+
/**
- * Samples for Tasks GetResourceGroupLevelTask.
+ * Samples for ServerVulnerabilityAssessmentsSettings CreateOrUpdate.
*/
-public final class TasksGetResourceGroupLevelTaskSamples {
+public final class ServerVulnerabilityAssessmentsSettingsCreateOrUpdateSamples {
/*
- * x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/preview/2015-06-01-preview/examples/Tasks/
- * GetTaskResourceGroupLocation_example.json
+ * x-ms-original-file: specification/security/resource-manager/Microsoft.Security/stable/2023-05-01/examples/
+ * ServerVulnerabilityAssessmentsSettings/PutServerVulnerabilityAssessmentsSetting_example.json
*/
/**
- * Sample code: Get security recommendation task in a resource group.
+ * Sample code: Set a server vulnerability assessments setting of the kind settingKind on the subscription.
*
* @param manager Entry point to SecurityManager.
*/
- public static void
- getSecurityRecommendationTaskInAResourceGroup(com.azure.resourcemanager.security.SecurityManager manager) {
- manager.tasks()
- .getResourceGroupLevelTaskWithResponse("myRg", "westeurope", "d55b4dc0-779c-c66c-33e5-d7bce24c4222",
+ public static void setAServerVulnerabilityAssessmentsSettingOfTheKindSettingKindOnTheSubscription(
+ com.azure.resourcemanager.security.SecurityManager manager) {
+ manager.serverVulnerabilityAssessmentsSettings()
+ .createOrUpdateWithResponse(ServerVulnerabilityAssessmentsSettingKindName.AZURE_SERVERS_SETTING,
+ new AzureServersSetting()
+ .withSelectedProvider(ServerVulnerabilityAssessmentsAzureSettingSelectedProvider.MDE_TVM),
com.azure.core.util.Context.NONE);
}
}
```
-### Tasks_GetSubscriptionLevelTask
+### ServerVulnerabilityAssessmentsSettings_Delete
```java
+import com.azure.resourcemanager.security.models.ServerVulnerabilityAssessmentsSettingKindName;
+
/**
- * Samples for Tasks GetSubscriptionLevelTask.
+ * Samples for ServerVulnerabilityAssessmentsSettings Delete.
*/
-public final class TasksGetSubscriptionLevelTaskSamples {
+public final class ServerVulnerabilityAssessmentsSettingsDeleteSamples {
/*
- * x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/preview/2015-06-01-preview/examples/Tasks/
- * GetTaskSubscriptionLocation_example.json
+ * x-ms-original-file: specification/security/resource-manager/Microsoft.Security/stable/2023-05-01/examples/
+ * ServerVulnerabilityAssessmentsSettings/DeleteServerVulnerabilityAssessmentsSetting_example.json
*/
/**
- * Sample code: Get security recommendation task from security data location.
+ * Sample code: Delete the server vulnerability assessments setting of the kind settingKind from the subscription.
*
* @param manager Entry point to SecurityManager.
*/
- public static void getSecurityRecommendationTaskFromSecurityDataLocation(
+ public static void deleteTheServerVulnerabilityAssessmentsSettingOfTheKindSettingKindFromTheSubscription(
com.azure.resourcemanager.security.SecurityManager manager) {
- manager.tasks()
- .getSubscriptionLevelTaskWithResponse("westeurope", "62609ee7-d0a5-8616-9fe4-1df5cca7758d",
+ manager.serverVulnerabilityAssessmentsSettings()
+ .deleteWithResponse(ServerVulnerabilityAssessmentsSettingKindName.AZURE_SERVERS_SETTING,
com.azure.core.util.Context.NONE);
}
}
```
-### Tasks_List
+### ServerVulnerabilityAssessmentsSettings_Get
```java
+import com.azure.resourcemanager.security.models.ServerVulnerabilityAssessmentsSettingKindName;
+
/**
- * Samples for Tasks List.
+ * Samples for ServerVulnerabilityAssessmentsSettings Get.
*/
-public final class TasksListSamples {
+public final class ServerVulnerabilityAssessmentsSettingsGetSamples {
/*
- * x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/preview/2015-06-01-preview/examples/Tasks/
- * GetTasksSubscription_example.json
+ * x-ms-original-file: specification/security/resource-manager/Microsoft.Security/stable/2023-05-01/examples/
+ * ServerVulnerabilityAssessmentsSettings/GetServerVulnerabilityAssessmentsSetting_example.json
*/
/**
- * Sample code: Get security recommendations tasks.
+ * Sample code: Get the server vulnerability assessments setting of the kind settingKind that is set on the
+ * subscription.
*
* @param manager Entry point to SecurityManager.
*/
- public static void getSecurityRecommendationsTasks(com.azure.resourcemanager.security.SecurityManager manager) {
- manager.tasks().list(null, com.azure.core.util.Context.NONE);
+ public static void getTheServerVulnerabilityAssessmentsSettingOfTheKindSettingKindThatIsSetOnTheSubscription(
+ com.azure.resourcemanager.security.SecurityManager manager) {
+ manager.serverVulnerabilityAssessmentsSettings()
+ .getWithResponse(ServerVulnerabilityAssessmentsSettingKindName.AZURE_SERVERS_SETTING,
+ com.azure.core.util.Context.NONE);
}
}
```
-### Tasks_ListByHomeRegion
+### ServerVulnerabilityAssessmentsSettings_List
```java
/**
- * Samples for Tasks ListByHomeRegion.
+ * Samples for ServerVulnerabilityAssessmentsSettings List.
*/
-public final class TasksListByHomeRegionSamples {
+public final class ServerVulnerabilityAssessmentsSettingsListSamples {
/*
- * x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/preview/2015-06-01-preview/examples/Tasks/
- * GetTasksSubscriptionLocation_example.json
+ * x-ms-original-file: specification/security/resource-manager/Microsoft.Security/stable/2023-05-01/examples/
+ * ServerVulnerabilityAssessmentsSettings/ListServerVulnerabilityAssessmentsSettings_example.json
*/
/**
- * Sample code: Get security recommendations tasks from security data location.
+ * Sample code: List the server vulnerability assessments settings set on the subscription.
*
* @param manager Entry point to SecurityManager.
*/
- public static void getSecurityRecommendationsTasksFromSecurityDataLocation(
+ public static void listTheServerVulnerabilityAssessmentsSettingsSetOnTheSubscription(
com.azure.resourcemanager.security.SecurityManager manager) {
- manager.tasks().listByHomeRegion("westeurope", null, com.azure.core.util.Context.NONE);
+ manager.serverVulnerabilityAssessmentsSettings().list(com.azure.core.util.Context.NONE);
}
}
```
-### Tasks_ListByResourceGroup
+### Settings_Get
```java
+import com.azure.resourcemanager.security.models.SettingName;
+
/**
- * Samples for Tasks ListByResourceGroup.
+ * Samples for Settings Get.
*/
-public final class TasksListByResourceGroupSamples {
+public final class SettingsGetSamples {
/*
* x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/preview/2015-06-01-preview/examples/Tasks/
- * GetTasksResourceGroupLocation_example.json
+ * specification/security/resource-manager/Microsoft.Security/stable/2022-05-01/examples/Settings/GetSetting_example
+ * .json
*/
/**
- * Sample code: Get security recommendation tasks in a resource group.
+ * Sample code: Get a setting on subscription.
*
* @param manager Entry point to SecurityManager.
*/
- public static void
- getSecurityRecommendationTasksInAResourceGroup(com.azure.resourcemanager.security.SecurityManager manager) {
- manager.tasks().listByResourceGroup("myRg", "westeurope", null, com.azure.core.util.Context.NONE);
+ public static void getASettingOnSubscription(com.azure.resourcemanager.security.SecurityManager manager) {
+ manager.settings().getWithResponse(SettingName.WDATP, com.azure.core.util.Context.NONE);
}
}
```
-### Tasks_UpdateResourceGroupLevelTaskState
+### Settings_List
```java
-import com.azure.resourcemanager.security.models.TaskUpdateActionType;
-
/**
- * Samples for Tasks UpdateResourceGroupLevelTaskState.
+ * Samples for Settings List.
*/
-public final class TasksUpdateResourceGroupLevelTaskStateSamples {
+public final class SettingsListSamples {
/*
* x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/preview/2015-06-01-preview/examples/Tasks/
- * UpdateTaskResourceGroupLocation_example.json
+ * specification/security/resource-manager/Microsoft.Security/stable/2022-05-01/examples/Settings/
+ * GetSettings_example.json
*/
/**
- * Sample code: Change security recommendation task state.
+ * Sample code: Get settings of subscription.
*
* @param manager Entry point to SecurityManager.
*/
- public static void
- changeSecurityRecommendationTaskState(com.azure.resourcemanager.security.SecurityManager manager) {
- manager.tasks()
- .updateResourceGroupLevelTaskStateWithResponse("myRg", "westeurope", "d55b4dc0-779c-c66c-33e5-d7bce24c4222",
- TaskUpdateActionType.DISMISS, com.azure.core.util.Context.NONE);
+ public static void getSettingsOfSubscription(com.azure.resourcemanager.security.SecurityManager manager) {
+ manager.settings().list(com.azure.core.util.Context.NONE);
}
}
```
-### Tasks_UpdateSubscriptionLevelTaskState
+### Settings_Update
```java
-import com.azure.resourcemanager.security.models.TaskUpdateActionType;
+import com.azure.resourcemanager.security.models.DataExportSettings;
+import com.azure.resourcemanager.security.models.SettingName;
/**
- * Samples for Tasks UpdateSubscriptionLevelTaskState.
+ * Samples for Settings Update.
*/
-public final class TasksUpdateSubscriptionLevelTaskStateSamples {
+public final class SettingsUpdateSamples {
/*
* x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/preview/2015-06-01-preview/examples/Tasks/
- * UpdateTaskSubscriptionLocation_example.json
+ * specification/security/resource-manager/Microsoft.Security/stable/2022-05-01/examples/Settings/
+ * UpdateSetting_example.json
*/
/**
- * Sample code: Change security recommendation task state.
+ * Sample code: Update a setting for subscription.
*
* @param manager Entry point to SecurityManager.
*/
- public static void
- changeSecurityRecommendationTaskState(com.azure.resourcemanager.security.SecurityManager manager) {
- manager.tasks()
- .updateSubscriptionLevelTaskStateWithResponse("westeurope", "62609ee7-d0a5-8616-9fe4-1df5cca7758d",
- TaskUpdateActionType.DISMISS, com.azure.core.util.Context.NONE);
+ public static void updateASettingForSubscription(com.azure.resourcemanager.security.SecurityManager manager) {
+ manager.settings()
+ .updateWithResponse(SettingName.WDATP, new DataExportSettings().withEnabled(true),
+ com.azure.core.util.Context.NONE);
}
}
```
-### Topology_Get
+### StandardAssignments_Create
```java
+import com.azure.resourcemanager.security.models.AssignedAssessmentItem;
+import com.azure.resourcemanager.security.models.AssignedStandardItem;
+import com.azure.resourcemanager.security.models.Effect;
+import com.azure.resourcemanager.security.models.ExemptionCategory;
+import com.azure.resourcemanager.security.models.StandardAssignmentPropertiesExemptionData;
+import java.time.OffsetDateTime;
+import java.util.Arrays;
+
/**
- * Samples for Topology Get.
+ * Samples for StandardAssignments Create.
*/
-public final class TopologyGetSamples {
+public final class StandardAssignmentsCreateSamples {
/*
* x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/stable/2020-01-01/examples/Topology/
- * GetTopology_example.json
+ * specification/security/resource-manager/Microsoft.Security/stable/2024-08-01/examples/StandardAssignments/
+ * PutStandardAssignment.json
*/
/**
- * Sample code: Get topology.
+ * Sample code: Put an audit standard assignment.
*
* @param manager Entry point to SecurityManager.
*/
- public static void getTopology(com.azure.resourcemanager.security.SecurityManager manager) {
- manager.topologies().getWithResponse("myservers", "centralus", "vnets", com.azure.core.util.Context.NONE);
+ public static void putAnAuditStandardAssignment(com.azure.resourcemanager.security.SecurityManager manager) {
+ manager.standardAssignments()
+ .define("1f3afdf9-d0c9-4c3d-847f-89da613e70a8")
+ .withExistingResourceId("subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23")
+ .withDisplayName("ASC Default")
+ .withDescription("Set of policies monitored by Azure Security Center for cross cloud")
+ .withAssignedStandard(new AssignedStandardItem()
+ .withId("/providers/Microsoft.Security/securityStandards/1f3afdf9-d0c9-4c3d-847f-89da613e70a8"))
+ .withEffect(Effect.AUDIT)
+ .withExcludedScopes(Arrays.asList())
+ .create();
}
-}
-```
-
-### Topology_List
-```java
-/**
- * Samples for Topology List.
- */
-public final class TopologyListSamples {
/*
* x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/stable/2020-01-01/examples/Topology/
- * GetTopologySubscription_example.json
+ * specification/security/resource-manager/Microsoft.Security/stable/2024-08-01/examples/StandardAssignments/
+ * PutExemptionStandardAssignment.json
*/
/**
- * Sample code: Get topology on a subscription.
+ * Sample code: Put exemption standard assignment.
*
* @param manager Entry point to SecurityManager.
*/
- public static void getTopologyOnASubscription(com.azure.resourcemanager.security.SecurityManager manager) {
- manager.topologies().list(com.azure.core.util.Context.NONE);
+ public static void putExemptionStandardAssignment(com.azure.resourcemanager.security.SecurityManager manager) {
+ manager.standardAssignments()
+ .define("1f3afdf9-d0c9-4c3d-847f-89da613e70a8")
+ .withExistingResourceId(
+ "subscriptions/212f9889-769e-45ae-ab43-6da33674bd26/resourceGroups/ANAT_TEST_RG/providers/Microsoft.Compute/virtualMachines/anatTestE2LA")
+ .withDisplayName("Test exemption")
+ .withDescription("Exemption description")
+ .withAssignedStandard(new AssignedStandardItem()
+ .withId("/providers/Microsoft.Security/securityStandards/1f3afdf9-d0c9-4c3d-847f-89da613e70a8"))
+ .withEffect(Effect.EXEMPT)
+ .withExpiresOn(OffsetDateTime.parse("2022-05-01T19:50:47.083633Z"))
+ .withExemptionData(
+ new StandardAssignmentPropertiesExemptionData().withExemptionCategory(ExemptionCategory.WAIVER)
+ .withAssignedAssessment(new AssignedAssessmentItem().withAssessmentKey("fakeTokenPlaceholder")))
+ .create();
}
}
```
-### Topology_ListByHomeRegion
+### StandardAssignments_Delete
```java
/**
- * Samples for Topology ListByHomeRegion.
+ * Samples for StandardAssignments Delete.
*/
-public final class TopologyListByHomeRegionSamples {
+public final class StandardAssignmentsDeleteSamples {
/*
* x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/stable/2020-01-01/examples/Topology/
- * GetTopologySubscriptionLocation_example.json
+ * specification/security/resource-manager/Microsoft.Security/stable/2024-08-01/examples/StandardAssignments/
+ * DeleteStandardAssignment.json
*/
/**
- * Sample code: Get topology on a subscription from security data location.
+ * Sample code: Delete a standard assignment.
*
* @param manager Entry point to SecurityManager.
*/
- public static void
- getTopologyOnASubscriptionFromSecurityDataLocation(com.azure.resourcemanager.security.SecurityManager manager) {
- manager.topologies().listByHomeRegion("centralus", com.azure.core.util.Context.NONE);
+ public static void deleteAStandardAssignment(com.azure.resourcemanager.security.SecurityManager manager) {
+ manager.standardAssignments()
+ .deleteByResourceGroupWithResponse(
+ "subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/gcpResourceGroup/providers/Microsoft.Security/securityConnectors/gcpconnector",
+ "ad9a8e26-29d9-4829-bb30-e597a58cdbb8", com.azure.core.util.Context.NONE);
}
}
```
-### WorkspaceSettings_Create
+### StandardAssignments_Get
```java
/**
- * Samples for WorkspaceSettings Create.
+ * Samples for StandardAssignments Get.
*/
-public final class WorkspaceSettingsCreateSamples {
+public final class StandardAssignmentsGetSamples {
/*
* x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/examples/WorkspaceSettings/
- * CreateWorkspaceSetting_example.json
+ * specification/security/resource-manager/Microsoft.Security/stable/2024-08-01/examples/StandardAssignments/
+ * GetStandardAssignment.json
*/
/**
- * Sample code: Create a workspace setting data for subscription.
+ * Sample code: Retrieve a standard assignment.
*
* @param manager Entry point to SecurityManager.
*/
- public static void
- createAWorkspaceSettingDataForSubscription(com.azure.resourcemanager.security.SecurityManager manager) {
- manager.workspaceSettings()
- .define("default")
- .withWorkspaceId(
- "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace")
- .withScope("/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23")
- .create();
+ public static void retrieveAStandardAssignment(com.azure.resourcemanager.security.SecurityManager manager) {
+ manager.standardAssignments()
+ .getWithResponse("providers/Microsoft.Management/managementGroups/contoso",
+ "1f3afdf9-d0c9-4c3d-847f-89da613e70a8", com.azure.core.util.Context.NONE);
}
}
```
-### WorkspaceSettings_Delete
+### StandardAssignments_List
```java
/**
- * Samples for WorkspaceSettings Delete.
+ * Samples for StandardAssignments List.
*/
-public final class WorkspaceSettingsDeleteSamples {
+public final class StandardAssignmentsListSamples {
/*
* x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/examples/WorkspaceSettings/
- * DeleteWorkspaceSetting_example.json
+ * specification/security/resource-manager/Microsoft.Security/stable/2024-08-01/examples/StandardAssignments/
+ * ListStandardAssignments.json
*/
/**
- * Sample code: Delete a workspace setting data for resource group.
+ * Sample code: List standard assignments.
*
* @param manager Entry point to SecurityManager.
*/
- public static void
- deleteAWorkspaceSettingDataForResourceGroup(com.azure.resourcemanager.security.SecurityManager manager) {
- manager.workspaceSettings().deleteWithResponse("default", com.azure.core.util.Context.NONE);
+ public static void listStandardAssignments(com.azure.resourcemanager.security.SecurityManager manager) {
+ manager.standardAssignments()
+ .list(
+ "subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/gcpResourceGroup/providers/Microsoft.Security/securityConnectors/gcpconnector",
+ com.azure.core.util.Context.NONE);
}
}
```
-### WorkspaceSettings_Get
+### Topology_Get
```java
/**
- * Samples for WorkspaceSettings Get.
+ * Samples for Topology Get.
*/
-public final class WorkspaceSettingsGetSamples {
+public final class TopologyGetSamples {
/*
* x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/examples/WorkspaceSettings/
- * GetWorkspaceSetting_example.json
+ * specification/security/resource-manager/Microsoft.Security/stable/2020-01-01/examples/Topology/
+ * GetTopology_example.json
*/
/**
- * Sample code: Get a workspace setting on subscription.
+ * Sample code: Get topology.
*
* @param manager Entry point to SecurityManager.
*/
- public static void getAWorkspaceSettingOnSubscription(com.azure.resourcemanager.security.SecurityManager manager) {
- manager.workspaceSettings().getWithResponse("default", com.azure.core.util.Context.NONE);
+ public static void getTopology(com.azure.resourcemanager.security.SecurityManager manager) {
+ manager.topologies().getWithResponse("myservers", "centralus", "vnets", com.azure.core.util.Context.NONE);
}
}
```
-### WorkspaceSettings_List
+### Topology_List
```java
/**
- * Samples for WorkspaceSettings List.
+ * Samples for Topology List.
*/
-public final class WorkspaceSettingsListSamples {
+public final class TopologyListSamples {
/*
* x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/examples/WorkspaceSettings/
- * GetWorkspaceSettings_example.json
+ * specification/security/resource-manager/Microsoft.Security/stable/2020-01-01/examples/Topology/
+ * GetTopologySubscription_example.json
*/
/**
- * Sample code: Get workspace settings on subscription.
+ * Sample code: Get topology on a subscription.
*
* @param manager Entry point to SecurityManager.
*/
- public static void getWorkspaceSettingsOnSubscription(com.azure.resourcemanager.security.SecurityManager manager) {
- manager.workspaceSettings().list(com.azure.core.util.Context.NONE);
+ public static void getTopologyOnASubscription(com.azure.resourcemanager.security.SecurityManager manager) {
+ manager.topologies().list(com.azure.core.util.Context.NONE);
}
}
```
-### WorkspaceSettings_Update
+### Topology_ListByHomeRegion
```java
-import com.azure.resourcemanager.security.models.WorkspaceSetting;
-
/**
- * Samples for WorkspaceSettings Update.
+ * Samples for Topology ListByHomeRegion.
*/
-public final class WorkspaceSettingsUpdateSamples {
+public final class TopologyListByHomeRegionSamples {
/*
* x-ms-original-file:
- * specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/examples/WorkspaceSettings/
- * UpdateWorkspaceSetting_example.json
+ * specification/security/resource-manager/Microsoft.Security/stable/2020-01-01/examples/Topology/
+ * GetTopologySubscriptionLocation_example.json
*/
/**
- * Sample code: Update a workspace setting data for subscription.
+ * Sample code: Get topology on a subscription from security data location.
*
* @param manager Entry point to SecurityManager.
*/
public static void
- updateAWorkspaceSettingDataForSubscription(com.azure.resourcemanager.security.SecurityManager manager) {
- WorkspaceSetting resource
- = manager.workspaceSettings().getWithResponse("default", com.azure.core.util.Context.NONE).getValue();
- resource.update()
- .withWorkspaceId(
- "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace")
- .apply();
+ getTopologyOnASubscriptionFromSecurityDataLocation(com.azure.resourcemanager.security.SecurityManager manager) {
+ manager.topologies().listByHomeRegion("centralus", com.azure.core.util.Context.NONE);
}
}
```
diff --git a/sdk/security/azure-resourcemanager-security/pom.xml b/sdk/security/azure-resourcemanager-security/pom.xml
index 4f9b36f8bd0cc..6ccc2233f3460 100644
--- a/sdk/security/azure-resourcemanager-security/pom.xml
+++ b/sdk/security/azure-resourcemanager-security/pom.xml
@@ -1,7 +1,7 @@
4.0.0
@@ -14,7 +14,7 @@
com.azure.resourcemanager
azure-resourcemanager-security
- 1.0.0-beta.9
+ 1.0.0
jar
Microsoft Azure SDK for Security Management
@@ -45,7 +45,6 @@
UTF-8
0
0
- true
false
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 0d84e621ce5c8..7899208378023 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
@@ -26,151 +26,61 @@
import com.azure.resourcemanager.security.fluent.SecurityCenter;
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.ApiCollectionsImpl;
-import com.azure.resourcemanager.security.implementation.ApplicationOperationsImpl;
-import com.azure.resourcemanager.security.implementation.ApplicationsImpl;
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.AzureDevOpsOrgsImpl;
-import com.azure.resourcemanager.security.implementation.AzureDevOpsProjectsImpl;
-import com.azure.resourcemanager.security.implementation.AzureDevOpsReposImpl;
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.CustomAssessmentAutomationsImpl;
-import com.azure.resourcemanager.security.implementation.CustomEntityStoreAssignmentsImpl;
import com.azure.resourcemanager.security.implementation.CustomRecommendationsImpl;
-import com.azure.resourcemanager.security.implementation.DefenderForStoragesImpl;
-import com.azure.resourcemanager.security.implementation.DevOpsConfigurationsImpl;
-import com.azure.resourcemanager.security.implementation.DevOpsOperationResultsImpl;
-import com.azure.resourcemanager.security.implementation.DevOpsPoliciesImpl;
-import com.azure.resourcemanager.security.implementation.DevOpsPolicyAssignmentsImpl;
import com.azure.resourcemanager.security.implementation.DeviceSecurityGroupsImpl;
import com.azure.resourcemanager.security.implementation.DiscoveredSecuritySolutionsImpl;
import com.azure.resourcemanager.security.implementation.ExternalSecuritySolutionsImpl;
-import com.azure.resourcemanager.security.implementation.GitHubOwnersImpl;
-import com.azure.resourcemanager.security.implementation.GitHubReposImpl;
-import com.azure.resourcemanager.security.implementation.GitLabGroupsImpl;
-import com.azure.resourcemanager.security.implementation.GitLabProjectsImpl;
-import com.azure.resourcemanager.security.implementation.GitLabSubgroupsImpl;
-import com.azure.resourcemanager.security.implementation.GovernanceAssignmentsImpl;
-import com.azure.resourcemanager.security.implementation.GovernanceRulesImpl;
-import com.azure.resourcemanager.security.implementation.HealthReportsImpl;
-import com.azure.resourcemanager.security.implementation.InformationProtectionPoliciesImpl;
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.JitNetworkAccessPoliciesImpl;
-import com.azure.resourcemanager.security.implementation.LocationsImpl;
-import com.azure.resourcemanager.security.implementation.MdeOnboardingsImpl;
-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.SecurityConnectorApplicationOperationsImpl;
-import com.azure.resourcemanager.security.implementation.SecurityConnectorApplicationsImpl;
-import com.azure.resourcemanager.security.implementation.SecurityConnectorsImpl;
-import com.azure.resourcemanager.security.implementation.SecurityContactsImpl;
-import com.azure.resourcemanager.security.implementation.SecurityOperatorsImpl;
import com.azure.resourcemanager.security.implementation.SecuritySolutionsImpl;
import com.azure.resourcemanager.security.implementation.SecuritySolutionsReferenceDatasImpl;
import com.azure.resourcemanager.security.implementation.SecurityStandardsImpl;
-import com.azure.resourcemanager.security.implementation.SensitivitySettingsImpl;
import com.azure.resourcemanager.security.implementation.ServerVulnerabilityAssessmentsImpl;
import com.azure.resourcemanager.security.implementation.ServerVulnerabilityAssessmentsSettingsImpl;
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.StandardAssignmentsImpl;
-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.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.ApiCollections;
-import com.azure.resourcemanager.security.models.ApplicationOperations;
-import com.azure.resourcemanager.security.models.Applications;
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.AzureDevOpsOrgs;
-import com.azure.resourcemanager.security.models.AzureDevOpsProjects;
-import com.azure.resourcemanager.security.models.AzureDevOpsRepos;
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.CustomAssessmentAutomations;
-import com.azure.resourcemanager.security.models.CustomEntityStoreAssignments;
import com.azure.resourcemanager.security.models.CustomRecommendations;
-import com.azure.resourcemanager.security.models.DefenderForStorages;
-import com.azure.resourcemanager.security.models.DevOpsConfigurations;
-import com.azure.resourcemanager.security.models.DevOpsOperationResults;
-import com.azure.resourcemanager.security.models.DevOpsPolicies;
-import com.azure.resourcemanager.security.models.DevOpsPolicyAssignments;
import com.azure.resourcemanager.security.models.DeviceSecurityGroups;
import com.azure.resourcemanager.security.models.DiscoveredSecuritySolutions;
import com.azure.resourcemanager.security.models.ExternalSecuritySolutions;
-import com.azure.resourcemanager.security.models.GitHubOwners;
-import com.azure.resourcemanager.security.models.GitHubRepos;
-import com.azure.resourcemanager.security.models.GitLabGroups;
-import com.azure.resourcemanager.security.models.GitLabProjects;
-import com.azure.resourcemanager.security.models.GitLabSubgroups;
-import com.azure.resourcemanager.security.models.GovernanceAssignments;
-import com.azure.resourcemanager.security.models.GovernanceRules;
-import com.azure.resourcemanager.security.models.HealthReports;
-import com.azure.resourcemanager.security.models.InformationProtectionPolicies;
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.JitNetworkAccessPolicies;
-import com.azure.resourcemanager.security.models.Locations;
-import com.azure.resourcemanager.security.models.MdeOnboardings;
-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.SecurityConnectorApplicationOperations;
-import com.azure.resourcemanager.security.models.SecurityConnectorApplications;
-import com.azure.resourcemanager.security.models.SecurityConnectors;
-import com.azure.resourcemanager.security.models.SecurityContacts;
-import com.azure.resourcemanager.security.models.SecurityOperators;
import com.azure.resourcemanager.security.models.SecuritySolutions;
import com.azure.resourcemanager.security.models.SecuritySolutionsReferenceDatas;
import com.azure.resourcemanager.security.models.SecurityStandards;
-import com.azure.resourcemanager.security.models.SensitivitySettings;
import com.azure.resourcemanager.security.models.ServerVulnerabilityAssessments;
import com.azure.resourcemanager.security.models.ServerVulnerabilityAssessmentsSettings;
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.StandardAssignments;
-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;
@@ -183,96 +93,6 @@
* API spec for Microsoft.Security (Azure Security Center) resource provider.
*/
public final class SecurityManager {
- private Locations locations;
-
- private Operations operations;
-
- private Tasks tasks;
-
- private AutoProvisioningSettings autoProvisioningSettings;
-
- private Compliances compliances;
-
- private InformationProtectionPolicies informationProtectionPolicies;
-
- private WorkspaceSettings workspaceSettings;
-
- private AlertsSuppressionRules alertsSuppressionRules;
-
- private RegulatoryComplianceStandards regulatoryComplianceStandards;
-
- private RegulatoryComplianceControls regulatoryComplianceControls;
-
- private RegulatoryComplianceAssessments regulatoryComplianceAssessments;
-
- private SubAssessments subAssessments;
-
- private Connectors connectors;
-
- private SoftwareInventories softwareInventories;
-
- private CustomAssessmentAutomations customAssessmentAutomations;
-
- private CustomEntityStoreAssignments customEntityStoreAssignments;
-
- private MdeOnboardings mdeOnboardings;
-
- private GovernanceAssignments governanceAssignments;
-
- private GovernanceRules governanceRules;
-
- private Applications applications;
-
- private ApplicationOperations applicationOperations;
-
- private SecurityConnectorApplications securityConnectorApplications;
-
- private SecurityConnectorApplicationOperations securityConnectorApplicationOperations;
-
- private DefenderForStorages defenderForStorages;
-
- private SecurityOperators securityOperators;
-
- private SqlVulnerabilityAssessmentBaselineRules sqlVulnerabilityAssessmentBaselineRules;
-
- private SqlVulnerabilityAssessmentScans sqlVulnerabilityAssessmentScans;
-
- private SqlVulnerabilityAssessmentScanResults sqlVulnerabilityAssessmentScanResults;
-
- private SensitivitySettings sensitivitySettings;
-
- private HealthReports healthReports;
-
- private Automations automations;
-
- private SecurityContacts securityContacts;
-
- private SecurityConnectors securityConnectors;
-
- private AzureDevOpsOrgs azureDevOpsOrgs;
-
- private AzureDevOpsProjects azureDevOpsProjects;
-
- private AzureDevOpsRepos azureDevOpsRepos;
-
- private DevOpsConfigurations devOpsConfigurations;
-
- private DevOpsPolicies devOpsPolicies;
-
- private DevOpsPolicyAssignments devOpsPolicyAssignments;
-
- private GitHubOwners gitHubOwners;
-
- private GitHubRepos gitHubRepos;
-
- private GitLabGroups gitLabGroups;
-
- private GitLabSubgroups gitLabSubgroups;
-
- private GitLabProjects gitLabProjects;
-
- private DevOpsOperationResults devOpsOperationResults;
-
private ComplianceResults complianceResults;
private AdvancedThreatProtections advancedThreatProtections;
@@ -493,7 +313,7 @@ public SecurityManager authenticate(TokenCredential credential, AzureProfile pro
.append("-")
.append("com.azure.resourcemanager.security")
.append("/")
- .append("1.0.0-beta.8");
+ .append("1.0.0");
if (!Configuration.getGlobalConfiguration().get("AZURE_TELEMETRY_DISABLED", false)) {
userAgentBuilder.append(" (")
.append(Configuration.getGlobalConfiguration().get("java.version"))
@@ -539,561 +359,6 @@ public SecurityManager authenticate(TokenCredential credential, AzureProfile pro
}
}
- /**
- * Gets the resource collection API of Locations.
- *
- * @return Resource collection API of Locations.
- */
- public Locations locations() {
- if (this.locations == null) {
- this.locations = new LocationsImpl(clientObject.getLocations(), this);
- }
- return locations;
- }
-
- /**
- * Gets the resource collection API of Operations.
- *
- * @return Resource collection API of Operations.
- */
- public Operations operations() {
- if (this.operations == null) {
- this.operations = new OperationsImpl(clientObject.getOperations(), this);
- }
- return operations;
- }
-
- /**
- * Gets the resource collection API of Tasks.
- *
- * @return Resource collection API of Tasks.
- */
- public Tasks tasks() {
- if (this.tasks == null) {
- this.tasks = new TasksImpl(clientObject.getTasks(), this);
- }
- return tasks;
- }
-
- /**
- * Gets the resource collection API of AutoProvisioningSettings. It manages AutoProvisioningSetting.
- *
- * @return Resource collection API of AutoProvisioningSettings.
- */
- public AutoProvisioningSettings autoProvisioningSettings() {
- if (this.autoProvisioningSettings == null) {
- this.autoProvisioningSettings
- = new AutoProvisioningSettingsImpl(clientObject.getAutoProvisioningSettings(), this);
- }
- return autoProvisioningSettings;
- }
-
- /**
- * Gets the resource collection API of Compliances.
- *
- * @return Resource collection API of Compliances.
- */
- public Compliances compliances() {
- if (this.compliances == null) {
- this.compliances = new CompliancesImpl(clientObject.getCompliances(), this);
- }
- return compliances;
- }
-
- /**
- * Gets the resource collection API of InformationProtectionPolicies. It manages InformationProtectionPolicy.
- *
- * @return Resource collection API of InformationProtectionPolicies.
- */
- public InformationProtectionPolicies informationProtectionPolicies() {
- if (this.informationProtectionPolicies == null) {
- this.informationProtectionPolicies
- = new InformationProtectionPoliciesImpl(clientObject.getInformationProtectionPolicies(), this);
- }
- return informationProtectionPolicies;
- }
-
- /**
- * Gets the resource collection API of WorkspaceSettings. It manages WorkspaceSetting.
- *
- * @return Resource collection API of WorkspaceSettings.
- */
- public WorkspaceSettings workspaceSettings() {
- if (this.workspaceSettings == null) {
- this.workspaceSettings = new WorkspaceSettingsImpl(clientObject.getWorkspaceSettings(), this);
- }
- return workspaceSettings;
- }
-
- /**
- * Gets the resource collection API of AlertsSuppressionRules.
- *
- * @return Resource collection API of AlertsSuppressionRules.
- */
- public AlertsSuppressionRules alertsSuppressionRules() {
- if (this.alertsSuppressionRules == null) {
- this.alertsSuppressionRules
- = new AlertsSuppressionRulesImpl(clientObject.getAlertsSuppressionRules(), this);
- }
- return alertsSuppressionRules;
- }
-
- /**
- * Gets the resource collection API of RegulatoryComplianceStandards.
- *
- * @return Resource collection API of RegulatoryComplianceStandards.
- */
- public RegulatoryComplianceStandards regulatoryComplianceStandards() {
- if (this.regulatoryComplianceStandards == null) {
- this.regulatoryComplianceStandards
- = new RegulatoryComplianceStandardsImpl(clientObject.getRegulatoryComplianceStandards(), this);
- }
- return regulatoryComplianceStandards;
- }
-
- /**
- * Gets the resource collection API of RegulatoryComplianceControls.
- *
- * @return Resource collection API of RegulatoryComplianceControls.
- */
- public RegulatoryComplianceControls regulatoryComplianceControls() {
- if (this.regulatoryComplianceControls == null) {
- this.regulatoryComplianceControls
- = new RegulatoryComplianceControlsImpl(clientObject.getRegulatoryComplianceControls(), this);
- }
- return regulatoryComplianceControls;
- }
-
- /**
- * Gets the resource collection API of RegulatoryComplianceAssessments.
- *
- * @return Resource collection API of RegulatoryComplianceAssessments.
- */
- public RegulatoryComplianceAssessments regulatoryComplianceAssessments() {
- if (this.regulatoryComplianceAssessments == null) {
- this.regulatoryComplianceAssessments
- = new RegulatoryComplianceAssessmentsImpl(clientObject.getRegulatoryComplianceAssessments(), this);
- }
- return regulatoryComplianceAssessments;
- }
-
- /**
- * Gets the resource collection API of SubAssessments.
- *
- * @return Resource collection API of SubAssessments.
- */
- public SubAssessments subAssessments() {
- if (this.subAssessments == null) {
- this.subAssessments = new SubAssessmentsImpl(clientObject.getSubAssessments(), this);
- }
- return subAssessments;
- }
-
- /**
- * Gets the resource collection API of Connectors. It manages ConnectorSetting.
- *
- * @return Resource collection API of Connectors.
- */
- public Connectors connectors() {
- if (this.connectors == null) {
- this.connectors = new ConnectorsImpl(clientObject.getConnectors(), this);
- }
- return connectors;
- }
-
- /**
- * Gets the resource collection API of SoftwareInventories.
- *
- * @return Resource collection API of SoftwareInventories.
- */
- public SoftwareInventories softwareInventories() {
- if (this.softwareInventories == null) {
- this.softwareInventories = new SoftwareInventoriesImpl(clientObject.getSoftwareInventories(), this);
- }
- return softwareInventories;
- }
-
- /**
- * Gets the resource collection API of CustomAssessmentAutomations. It manages CustomAssessmentAutomation.
- *
- * @return Resource collection API of CustomAssessmentAutomations.
- */
- public CustomAssessmentAutomations customAssessmentAutomations() {
- if (this.customAssessmentAutomations == null) {
- this.customAssessmentAutomations
- = new CustomAssessmentAutomationsImpl(clientObject.getCustomAssessmentAutomations(), this);
- }
- return customAssessmentAutomations;
- }
-
- /**
- * Gets the resource collection API of CustomEntityStoreAssignments. It manages CustomEntityStoreAssignment.
- *
- * @return Resource collection API of CustomEntityStoreAssignments.
- */
- public CustomEntityStoreAssignments customEntityStoreAssignments() {
- if (this.customEntityStoreAssignments == null) {
- this.customEntityStoreAssignments
- = new CustomEntityStoreAssignmentsImpl(clientObject.getCustomEntityStoreAssignments(), this);
- }
- return customEntityStoreAssignments;
- }
-
- /**
- * Gets the resource collection API of MdeOnboardings.
- *
- * @return Resource collection API of MdeOnboardings.
- */
- public MdeOnboardings mdeOnboardings() {
- if (this.mdeOnboardings == null) {
- this.mdeOnboardings = new MdeOnboardingsImpl(clientObject.getMdeOnboardings(), this);
- }
- return mdeOnboardings;
- }
-
- /**
- * Gets the resource collection API of GovernanceAssignments. It manages GovernanceAssignment.
- *
- * @return Resource collection API of GovernanceAssignments.
- */
- public GovernanceAssignments governanceAssignments() {
- if (this.governanceAssignments == null) {
- this.governanceAssignments = new GovernanceAssignmentsImpl(clientObject.getGovernanceAssignments(), this);
- }
- return governanceAssignments;
- }
-
- /**
- * Gets the resource collection API of GovernanceRules. It manages GovernanceRule.
- *
- * @return Resource collection API of GovernanceRules.
- */
- public GovernanceRules governanceRules() {
- if (this.governanceRules == null) {
- this.governanceRules = new GovernanceRulesImpl(clientObject.getGovernanceRules(), this);
- }
- return governanceRules;
- }
-
- /**
- * Gets the resource collection API of Applications.
- *
- * @return Resource collection API of Applications.
- */
- public Applications applications() {
- if (this.applications == null) {
- this.applications = new ApplicationsImpl(clientObject.getApplications(), this);
- }
- return applications;
- }
-
- /**
- * Gets the resource collection API of ApplicationOperations. It manages Application.
- *
- * @return Resource collection API of ApplicationOperations.
- */
- public ApplicationOperations applicationOperations() {
- if (this.applicationOperations == null) {
- this.applicationOperations = new ApplicationOperationsImpl(clientObject.getApplicationOperations(), this);
- }
- return applicationOperations;
- }
-
- /**
- * Gets the resource collection API of SecurityConnectorApplications.
- *
- * @return Resource collection API of SecurityConnectorApplications.
- */
- public SecurityConnectorApplications securityConnectorApplications() {
- if (this.securityConnectorApplications == null) {
- this.securityConnectorApplications
- = new SecurityConnectorApplicationsImpl(clientObject.getSecurityConnectorApplications(), this);
- }
- return securityConnectorApplications;
- }
-
- /**
- * Gets the resource collection API of SecurityConnectorApplicationOperations.
- *
- * @return Resource collection API of SecurityConnectorApplicationOperations.
- */
- public SecurityConnectorApplicationOperations securityConnectorApplicationOperations() {
- if (this.securityConnectorApplicationOperations == null) {
- this.securityConnectorApplicationOperations = new SecurityConnectorApplicationOperationsImpl(
- clientObject.getSecurityConnectorApplicationOperations(), this);
- }
- return securityConnectorApplicationOperations;
- }
-
- /**
- * Gets the resource collection API of DefenderForStorages. It manages DefenderForStorageSetting.
- *
- * @return Resource collection API of DefenderForStorages.
- */
- public DefenderForStorages defenderForStorages() {
- if (this.defenderForStorages == null) {
- this.defenderForStorages = new DefenderForStoragesImpl(clientObject.getDefenderForStorages(), this);
- }
- return defenderForStorages;
- }
-
- /**
- * Gets the resource collection API of SecurityOperators.
- *
- * @return Resource collection API of SecurityOperators.
- */
- public SecurityOperators securityOperators() {
- if (this.securityOperators == null) {
- this.securityOperators = new SecurityOperatorsImpl(clientObject.getSecurityOperators(), this);
- }
- return securityOperators;
- }
-
- /**
- * Gets the resource collection API of SqlVulnerabilityAssessmentBaselineRules. It manages RuleResults.
- *
- * @return Resource collection API of SqlVulnerabilityAssessmentBaselineRules.
- */
- public SqlVulnerabilityAssessmentBaselineRules sqlVulnerabilityAssessmentBaselineRules() {
- if (this.sqlVulnerabilityAssessmentBaselineRules == null) {
- this.sqlVulnerabilityAssessmentBaselineRules = new SqlVulnerabilityAssessmentBaselineRulesImpl(
- clientObject.getSqlVulnerabilityAssessmentBaselineRules(), this);
- }
- return sqlVulnerabilityAssessmentBaselineRules;
- }
-
- /**
- * Gets the resource collection API of SqlVulnerabilityAssessmentScans.
- *
- * @return Resource collection API of SqlVulnerabilityAssessmentScans.
- */
- public SqlVulnerabilityAssessmentScans sqlVulnerabilityAssessmentScans() {
- if (this.sqlVulnerabilityAssessmentScans == null) {
- this.sqlVulnerabilityAssessmentScans
- = new SqlVulnerabilityAssessmentScansImpl(clientObject.getSqlVulnerabilityAssessmentScans(), this);
- }
- return sqlVulnerabilityAssessmentScans;
- }
-
- /**
- * Gets the resource collection API of SqlVulnerabilityAssessmentScanResults.
- *
- * @return Resource collection API of SqlVulnerabilityAssessmentScanResults.
- */
- public SqlVulnerabilityAssessmentScanResults sqlVulnerabilityAssessmentScanResults() {
- if (this.sqlVulnerabilityAssessmentScanResults == null) {
- this.sqlVulnerabilityAssessmentScanResults = new SqlVulnerabilityAssessmentScanResultsImpl(
- clientObject.getSqlVulnerabilityAssessmentScanResults(), this);
- }
- return sqlVulnerabilityAssessmentScanResults;
- }
-
- /**
- * Gets the resource collection API of SensitivitySettings.
- *
- * @return Resource collection API of SensitivitySettings.
- */
- public SensitivitySettings sensitivitySettings() {
- if (this.sensitivitySettings == null) {
- this.sensitivitySettings = new SensitivitySettingsImpl(clientObject.getSensitivitySettings(), this);
- }
- return sensitivitySettings;
- }
-
- /**
- * Gets the resource collection API of HealthReports.
- *
- * @return Resource collection API of HealthReports.
- */
- public HealthReports healthReports() {
- if (this.healthReports == null) {
- this.healthReports = new HealthReportsImpl(clientObject.getHealthReports(), this);
- }
- return healthReports;
- }
-
- /**
- * Gets the resource collection API of Automations. It manages Automation.
- *
- * @return Resource collection API of Automations.
- */
- public Automations automations() {
- if (this.automations == null) {
- this.automations = new AutomationsImpl(clientObject.getAutomations(), this);
- }
- return automations;
- }
-
- /**
- * Gets the resource collection API of SecurityContacts. It manages SecurityContact.
- *
- * @return Resource collection API of SecurityContacts.
- */
- public SecurityContacts securityContacts() {
- if (this.securityContacts == null) {
- this.securityContacts = new SecurityContactsImpl(clientObject.getSecurityContacts(), this);
- }
- return securityContacts;
- }
-
- /**
- * Gets the resource collection API of SecurityConnectors. It manages SecurityConnector.
- *
- * @return Resource collection API of SecurityConnectors.
- */
- public SecurityConnectors securityConnectors() {
- if (this.securityConnectors == null) {
- this.securityConnectors = new SecurityConnectorsImpl(clientObject.getSecurityConnectors(), this);
- }
- return securityConnectors;
- }
-
- /**
- * Gets the resource collection API of AzureDevOpsOrgs. It manages AzureDevOpsOrg.
- *
- * @return Resource collection API of AzureDevOpsOrgs.
- */
- public AzureDevOpsOrgs azureDevOpsOrgs() {
- if (this.azureDevOpsOrgs == null) {
- this.azureDevOpsOrgs = new AzureDevOpsOrgsImpl(clientObject.getAzureDevOpsOrgs(), this);
- }
- return azureDevOpsOrgs;
- }
-
- /**
- * Gets the resource collection API of AzureDevOpsProjects. It manages AzureDevOpsProject.
- *
- * @return Resource collection API of AzureDevOpsProjects.
- */
- public AzureDevOpsProjects azureDevOpsProjects() {
- if (this.azureDevOpsProjects == null) {
- this.azureDevOpsProjects = new AzureDevOpsProjectsImpl(clientObject.getAzureDevOpsProjects(), this);
- }
- return azureDevOpsProjects;
- }
-
- /**
- * Gets the resource collection API of AzureDevOpsRepos. It manages AzureDevOpsRepository.
- *
- * @return Resource collection API of AzureDevOpsRepos.
- */
- public AzureDevOpsRepos azureDevOpsRepos() {
- if (this.azureDevOpsRepos == null) {
- this.azureDevOpsRepos = new AzureDevOpsReposImpl(clientObject.getAzureDevOpsRepos(), this);
- }
- return azureDevOpsRepos;
- }
-
- /**
- * Gets the resource collection API of DevOpsConfigurations.
- *
- * @return Resource collection API of DevOpsConfigurations.
- */
- public DevOpsConfigurations devOpsConfigurations() {
- if (this.devOpsConfigurations == null) {
- this.devOpsConfigurations = new DevOpsConfigurationsImpl(clientObject.getDevOpsConfigurations(), this);
- }
- return devOpsConfigurations;
- }
-
- /**
- * Gets the resource collection API of DevOpsPolicies.
- *
- * @return Resource collection API of DevOpsPolicies.
- */
- public DevOpsPolicies devOpsPolicies() {
- if (this.devOpsPolicies == null) {
- this.devOpsPolicies = new DevOpsPoliciesImpl(clientObject.getDevOpsPolicies(), this);
- }
- return devOpsPolicies;
- }
-
- /**
- * Gets the resource collection API of DevOpsPolicyAssignments. It manages DevOpsPolicyAssignment.
- *
- * @return Resource collection API of DevOpsPolicyAssignments.
- */
- public DevOpsPolicyAssignments devOpsPolicyAssignments() {
- if (this.devOpsPolicyAssignments == null) {
- this.devOpsPolicyAssignments
- = new DevOpsPolicyAssignmentsImpl(clientObject.getDevOpsPolicyAssignments(), this);
- }
- return devOpsPolicyAssignments;
- }
-
- /**
- * Gets the resource collection API of GitHubOwners.
- *
- * @return Resource collection API of GitHubOwners.
- */
- public GitHubOwners gitHubOwners() {
- if (this.gitHubOwners == null) {
- this.gitHubOwners = new GitHubOwnersImpl(clientObject.getGitHubOwners(), this);
- }
- return gitHubOwners;
- }
-
- /**
- * Gets the resource collection API of GitHubRepos.
- *
- * @return Resource collection API of GitHubRepos.
- */
- public GitHubRepos gitHubRepos() {
- if (this.gitHubRepos == null) {
- this.gitHubRepos = new GitHubReposImpl(clientObject.getGitHubRepos(), this);
- }
- return gitHubRepos;
- }
-
- /**
- * Gets the resource collection API of GitLabGroups.
- *
- * @return Resource collection API of GitLabGroups.
- */
- public GitLabGroups gitLabGroups() {
- if (this.gitLabGroups == null) {
- this.gitLabGroups = new GitLabGroupsImpl(clientObject.getGitLabGroups(), this);
- }
- return gitLabGroups;
- }
-
- /**
- * Gets the resource collection API of GitLabSubgroups.
- *
- * @return Resource collection API of GitLabSubgroups.
- */
- public GitLabSubgroups gitLabSubgroups() {
- if (this.gitLabSubgroups == null) {
- this.gitLabSubgroups = new GitLabSubgroupsImpl(clientObject.getGitLabSubgroups(), this);
- }
- return gitLabSubgroups;
- }
-
- /**
- * Gets the resource collection API of GitLabProjects.
- *
- * @return Resource collection API of GitLabProjects.
- */
- public GitLabProjects gitLabProjects() {
- if (this.gitLabProjects == null) {
- this.gitLabProjects = new GitLabProjectsImpl(clientObject.getGitLabProjects(), this);
- }
- return gitLabProjects;
- }
-
- /**
- * Gets the resource collection API of DevOpsOperationResults.
- *
- * @return Resource collection API of DevOpsOperationResults.
- */
- public DevOpsOperationResults devOpsOperationResults() {
- if (this.devOpsOperationResults == null) {
- this.devOpsOperationResults
- = new DevOpsOperationResultsImpl(clientObject.getDevOpsOperationResults(), this);
- }
- return devOpsOperationResults;
- }
-
/**
* Gets the resource collection API of ComplianceResults.
*
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 4536de8753de4..0000000000000
--- a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/AlertsSuppressionRulesClient.java
+++ /dev/null
@@ -1,119 +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 as paginated response with {@link PagedIterable}.
- */
- @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 as paginated response with {@link PagedIterable}.
- */
- @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.
- * @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 along with
- * {@link Response}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(String alertsSuppressionRuleName, 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);
-
- /**
- * 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 along with {@link Response}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response updateWithResponse(String alertsSuppressionRuleName,
- AlertsSuppressionRuleInner alertsSuppressionRule, 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);
-
- /**
- * 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 {@link Response}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response deleteWithResponse(String alertsSuppressionRuleName, 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);
-}
diff --git a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/ApplicationOperationsClient.java b/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/ApplicationOperationsClient.java
deleted file mode 100644
index 19482d743f368..0000000000000
--- a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/ApplicationOperationsClient.java
+++ /dev/null
@@ -1,93 +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.ApplicationInner;
-
-/**
- * An instance of this class provides access to all the operations defined in ApplicationOperationsClient.
- */
-public interface ApplicationOperationsClient {
- /**
- * Get a specific application for the requested scope by applicationId.
- *
- * @param applicationId The security Application key - unique key for the standard application.
- * @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 application for the requested scope by applicationId along with {@link Response}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(String applicationId, Context context);
-
- /**
- * Get a specific application for the requested scope by applicationId.
- *
- * @param applicationId The security Application key - unique key for the standard application.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.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 application for the requested scope by applicationId.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- ApplicationInner get(String applicationId);
-
- /**
- * Creates or update a security application on the given subscription.
- *
- * @param applicationId The security Application key - unique key for the standard application.
- * @param application Application over a subscription 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 security Application over a given scope along with {@link Response}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response createOrUpdateWithResponse(String applicationId, ApplicationInner application,
- Context context);
-
- /**
- * Creates or update a security application on the given subscription.
- *
- * @param applicationId The security Application key - unique key for the standard application.
- * @param application Application over a subscription scope.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.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 Application over a given scope.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- ApplicationInner createOrUpdate(String applicationId, ApplicationInner application);
-
- /**
- * Delete an Application over a given scope.
- *
- * @param applicationId The security Application key - unique key for the standard application.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link Response}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response deleteWithResponse(String applicationId, Context context);
-
- /**
- * Delete an Application over a given scope.
- *
- * @param applicationId The security Application key - unique key for the standard application.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.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 applicationId);
-}
diff --git a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/ApplicationsClient.java b/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/ApplicationsClient.java
deleted file mode 100644
index a35f403f9bd84..0000000000000
--- a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/ApplicationsClient.java
+++ /dev/null
@@ -1,40 +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.ApplicationInner;
-
-/**
- * An instance of this class provides access to all the operations defined in ApplicationsClient.
- */
-public interface ApplicationsClient {
- /**
- * Get a list of all relevant applications over a subscription level 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 a list of all relevant applications over a subscription level scope as paginated response with
- * {@link PagedIterable}.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list();
-
- /**
- * Get a list of all relevant applications over a subscription level 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 a list of all relevant applications over a subscription level scope as paginated response with
- * {@link PagedIterable}.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(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 385c41b9a00c2..0000000000000
--- a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/AutoProvisioningSettingsClient.java
+++ /dev/null
@@ -1,92 +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 as paginated response with {@link PagedIterable}.
- */
- @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 as paginated response with {@link PagedIterable}.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(Context context);
-
- /**
- * 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 along with {@link Response}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(String settingName, 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 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 along with {@link Response}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response createWithResponse(String settingName, AutoProvisioningSettingInner setting,
- 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);
-}
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 7d18996b5d265..0000000000000
--- a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/AutomationsClient.java
+++ /dev/null
@@ -1,231 +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;
-import com.azure.resourcemanager.security.models.AutomationUpdateModel;
-
-/**
- * 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 as paginated response with {@link PagedIterable}.
- */
- @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 as paginated response with {@link PagedIterable}.
- */
- @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 as paginated response with {@link PagedIterable}.
- */
- @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 as paginated response with {@link PagedIterable}.
- */
- @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.
- * @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 along with {@link Response}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response getByResourceGroupWithResponse(String resourceGroupName, String automationName,
- 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);
-
- /**
- * 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 along with {@link Response}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response createOrUpdateWithResponse(String resourceGroupName, String automationName,
- AutomationInner automation, 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);
-
- /**
- * Updates 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 automation The update model of 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 along with {@link Response}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response updateWithResponse(String resourceGroupName, String automationName,
- AutomationUpdateModel automation, Context context);
-
- /**
- * Updates 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 automation The update model of 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 update(String resourceGroupName, String automationName, AutomationUpdateModel automation);
-
- /**
- * 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 {@link Response}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response deleteWithResponse(String resourceGroupName, String automationName, 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);
-
- /**
- * 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 along with {@link Response}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response validateWithResponse(String resourceGroupName, String automationName,
- AutomationInner automation, 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);
-}
diff --git a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/AzureDevOpsOrgsClient.java b/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/AzureDevOpsOrgsClient.java
deleted file mode 100644
index 566832c05a501..0000000000000
--- a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/AzureDevOpsOrgsClient.java
+++ /dev/null
@@ -1,237 +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.AzureDevOpsOrgInner;
-import com.azure.resourcemanager.security.fluent.models.AzureDevOpsOrgListResponseInner;
-
-/**
- * An instance of this class provides access to all the operations defined in AzureDevOpsOrgsClient.
- */
-public interface AzureDevOpsOrgsClient {
- /**
- * Returns a list of all Azure DevOps organizations accessible by the user token consumed by the connector.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param securityConnectorName The security connector 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 list of RP resources which supports pagination along with {@link Response}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response listAvailableWithResponse(String resourceGroupName,
- String securityConnectorName, Context context);
-
- /**
- * Returns a list of all Azure DevOps organizations accessible by the user token consumed by the connector.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param securityConnectorName The security connector 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 list of RP resources which supports pagination.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- AzureDevOpsOrgListResponseInner listAvailable(String resourceGroupName, String securityConnectorName);
-
- /**
- * Returns a list of Azure DevOps organizations onboarded to the connector.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param securityConnectorName The security connector 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 list of RP resources which supports pagination as paginated response with {@link PagedIterable}.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(String resourceGroupName, String securityConnectorName);
-
- /**
- * Returns a list of Azure DevOps organizations onboarded to the connector.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param securityConnectorName The security connector 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 list of RP resources which supports pagination as paginated response with {@link PagedIterable}.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(String resourceGroupName, String securityConnectorName, Context context);
-
- /**
- * Returns a monitored Azure DevOps organization resource.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param securityConnectorName The security connector name.
- * @param orgName The Azure DevOps organization 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 azure DevOps Organization resource along with {@link Response}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(String resourceGroupName, String securityConnectorName,
- String orgName, Context context);
-
- /**
- * Returns a monitored Azure DevOps organization resource.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param securityConnectorName The security connector name.
- * @param orgName The Azure DevOps organization 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 azure DevOps Organization resource.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- AzureDevOpsOrgInner get(String resourceGroupName, String securityConnectorName, String orgName);
-
- /**
- * Creates or updates monitored Azure DevOps organization details.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param securityConnectorName The security connector name.
- * @param orgName The Azure DevOps organization name.
- * @param azureDevOpsOrg The Azure DevOps organization resource payload.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link SyncPoller} for polling of azure DevOps Organization resource.
- */
- @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, AzureDevOpsOrgInner> beginCreateOrUpdate(String resourceGroupName,
- String securityConnectorName, String orgName, AzureDevOpsOrgInner azureDevOpsOrg);
-
- /**
- * Creates or updates monitored Azure DevOps organization details.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param securityConnectorName The security connector name.
- * @param orgName The Azure DevOps organization name.
- * @param azureDevOpsOrg The Azure DevOps organization resource payload.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link SyncPoller} for polling of azure DevOps Organization resource.
- */
- @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, AzureDevOpsOrgInner> beginCreateOrUpdate(String resourceGroupName,
- String securityConnectorName, String orgName, AzureDevOpsOrgInner azureDevOpsOrg, Context context);
-
- /**
- * Creates or updates monitored Azure DevOps organization details.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param securityConnectorName The security connector name.
- * @param orgName The Azure DevOps organization name.
- * @param azureDevOpsOrg The Azure DevOps organization resource payload.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.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 DevOps Organization resource.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- AzureDevOpsOrgInner createOrUpdate(String resourceGroupName, String securityConnectorName, String orgName,
- AzureDevOpsOrgInner azureDevOpsOrg);
-
- /**
- * Creates or updates monitored Azure DevOps organization details.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param securityConnectorName The security connector name.
- * @param orgName The Azure DevOps organization name.
- * @param azureDevOpsOrg The Azure DevOps organization resource payload.
- * @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 azure DevOps Organization resource.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- AzureDevOpsOrgInner createOrUpdate(String resourceGroupName, String securityConnectorName, String orgName,
- AzureDevOpsOrgInner azureDevOpsOrg, Context context);
-
- /**
- * Updates monitored Azure DevOps organization details.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param securityConnectorName The security connector name.
- * @param orgName The Azure DevOps organization name.
- * @param azureDevOpsOrg The Azure DevOps organization resource payload.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link SyncPoller} for polling of azure DevOps Organization resource.
- */
- @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, AzureDevOpsOrgInner> beginUpdate(String resourceGroupName,
- String securityConnectorName, String orgName, AzureDevOpsOrgInner azureDevOpsOrg);
-
- /**
- * Updates monitored Azure DevOps organization details.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param securityConnectorName The security connector name.
- * @param orgName The Azure DevOps organization name.
- * @param azureDevOpsOrg The Azure DevOps organization resource payload.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link SyncPoller} for polling of azure DevOps Organization resource.
- */
- @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, AzureDevOpsOrgInner> beginUpdate(String resourceGroupName,
- String securityConnectorName, String orgName, AzureDevOpsOrgInner azureDevOpsOrg, Context context);
-
- /**
- * Updates monitored Azure DevOps organization details.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param securityConnectorName The security connector name.
- * @param orgName The Azure DevOps organization name.
- * @param azureDevOpsOrg The Azure DevOps organization resource payload.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.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 DevOps Organization resource.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- AzureDevOpsOrgInner update(String resourceGroupName, String securityConnectorName, String orgName,
- AzureDevOpsOrgInner azureDevOpsOrg);
-
- /**
- * Updates monitored Azure DevOps organization details.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param securityConnectorName The security connector name.
- * @param orgName The Azure DevOps organization name.
- * @param azureDevOpsOrg The Azure DevOps organization resource payload.
- * @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 azure DevOps Organization resource.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- AzureDevOpsOrgInner update(String resourceGroupName, String securityConnectorName, String orgName,
- AzureDevOpsOrgInner azureDevOpsOrg, Context context);
-}
diff --git a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/AzureDevOpsProjectsClient.java b/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/AzureDevOpsProjectsClient.java
deleted file mode 100644
index 8f0c62b567356..0000000000000
--- a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/AzureDevOpsProjectsClient.java
+++ /dev/null
@@ -1,225 +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.AzureDevOpsProjectInner;
-
-/**
- * An instance of this class provides access to all the operations defined in AzureDevOpsProjectsClient.
- */
-public interface AzureDevOpsProjectsClient {
- /**
- * Returns a list of Azure DevOps projects onboarded to the connector.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param securityConnectorName The security connector name.
- * @param orgName The Azure DevOps organization 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 list of RP resources which supports pagination as paginated response with {@link PagedIterable}.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(String resourceGroupName, String securityConnectorName, String orgName);
-
- /**
- * Returns a list of Azure DevOps projects onboarded to the connector.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param securityConnectorName The security connector name.
- * @param orgName The Azure DevOps organization 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 list of RP resources which supports pagination as paginated response with {@link PagedIterable}.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(String resourceGroupName, String securityConnectorName, String orgName,
- Context context);
-
- /**
- * Returns a monitored Azure DevOps project resource.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param securityConnectorName The security connector name.
- * @param orgName The Azure DevOps organization name.
- * @param projectName The project 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 azure DevOps Project resource along with {@link Response}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(String resourceGroupName, String securityConnectorName,
- String orgName, String projectName, Context context);
-
- /**
- * Returns a monitored Azure DevOps project resource.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param securityConnectorName The security connector name.
- * @param orgName The Azure DevOps organization name.
- * @param projectName The project 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 azure DevOps Project resource.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- AzureDevOpsProjectInner get(String resourceGroupName, String securityConnectorName, String orgName,
- String projectName);
-
- /**
- * Creates or updates a monitored Azure DevOps project resource.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param securityConnectorName The security connector name.
- * @param orgName The Azure DevOps organization name.
- * @param projectName The project name.
- * @param azureDevOpsProject The Azure DevOps project resource payload.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link SyncPoller} for polling of azure DevOps Project resource.
- */
- @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, AzureDevOpsProjectInner> beginCreateOrUpdate(
- String resourceGroupName, String securityConnectorName, String orgName, String projectName,
- AzureDevOpsProjectInner azureDevOpsProject);
-
- /**
- * Creates or updates a monitored Azure DevOps project resource.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param securityConnectorName The security connector name.
- * @param orgName The Azure DevOps organization name.
- * @param projectName The project name.
- * @param azureDevOpsProject The Azure DevOps project resource payload.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link SyncPoller} for polling of azure DevOps Project resource.
- */
- @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, AzureDevOpsProjectInner> beginCreateOrUpdate(
- String resourceGroupName, String securityConnectorName, String orgName, String projectName,
- AzureDevOpsProjectInner azureDevOpsProject, Context context);
-
- /**
- * Creates or updates a monitored Azure DevOps project resource.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param securityConnectorName The security connector name.
- * @param orgName The Azure DevOps organization name.
- * @param projectName The project name.
- * @param azureDevOpsProject The Azure DevOps project resource payload.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.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 DevOps Project resource.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- AzureDevOpsProjectInner createOrUpdate(String resourceGroupName, String securityConnectorName, String orgName,
- String projectName, AzureDevOpsProjectInner azureDevOpsProject);
-
- /**
- * Creates or updates a monitored Azure DevOps project resource.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param securityConnectorName The security connector name.
- * @param orgName The Azure DevOps organization name.
- * @param projectName The project name.
- * @param azureDevOpsProject The Azure DevOps project resource payload.
- * @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 azure DevOps Project resource.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- AzureDevOpsProjectInner createOrUpdate(String resourceGroupName, String securityConnectorName, String orgName,
- String projectName, AzureDevOpsProjectInner azureDevOpsProject, Context context);
-
- /**
- * Updates a monitored Azure DevOps project resource.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param securityConnectorName The security connector name.
- * @param orgName The Azure DevOps organization name.
- * @param projectName The project name.
- * @param azureDevOpsProject The Azure DevOps project resource payload.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link SyncPoller} for polling of azure DevOps Project resource.
- */
- @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, AzureDevOpsProjectInner> beginUpdate(String resourceGroupName,
- String securityConnectorName, String orgName, String projectName, AzureDevOpsProjectInner azureDevOpsProject);
-
- /**
- * Updates a monitored Azure DevOps project resource.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param securityConnectorName The security connector name.
- * @param orgName The Azure DevOps organization name.
- * @param projectName The project name.
- * @param azureDevOpsProject The Azure DevOps project resource payload.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link SyncPoller} for polling of azure DevOps Project resource.
- */
- @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, AzureDevOpsProjectInner> beginUpdate(String resourceGroupName,
- String securityConnectorName, String orgName, String projectName, AzureDevOpsProjectInner azureDevOpsProject,
- Context context);
-
- /**
- * Updates a monitored Azure DevOps project resource.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param securityConnectorName The security connector name.
- * @param orgName The Azure DevOps organization name.
- * @param projectName The project name.
- * @param azureDevOpsProject The Azure DevOps project resource payload.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.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 DevOps Project resource.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- AzureDevOpsProjectInner update(String resourceGroupName, String securityConnectorName, String orgName,
- String projectName, AzureDevOpsProjectInner azureDevOpsProject);
-
- /**
- * Updates a monitored Azure DevOps project resource.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param securityConnectorName The security connector name.
- * @param orgName The Azure DevOps organization name.
- * @param projectName The project name.
- * @param azureDevOpsProject The Azure DevOps project resource payload.
- * @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 azure DevOps Project resource.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- AzureDevOpsProjectInner update(String resourceGroupName, String securityConnectorName, String orgName,
- String projectName, AzureDevOpsProjectInner azureDevOpsProject, Context context);
-}
diff --git a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/AzureDevOpsReposClient.java b/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/AzureDevOpsReposClient.java
deleted file mode 100644
index 0c8ef8061ae1e..0000000000000
--- a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/AzureDevOpsReposClient.java
+++ /dev/null
@@ -1,239 +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.AzureDevOpsRepositoryInner;
-
-/**
- * An instance of this class provides access to all the operations defined in AzureDevOpsReposClient.
- */
-public interface AzureDevOpsReposClient {
- /**
- * Returns a list of Azure DevOps repositories onboarded to the connector.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param securityConnectorName The security connector name.
- * @param orgName The Azure DevOps organization name.
- * @param projectName The project 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 list of RP resources which supports pagination as paginated response with {@link PagedIterable}.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(String resourceGroupName, String securityConnectorName,
- String orgName, String projectName);
-
- /**
- * Returns a list of Azure DevOps repositories onboarded to the connector.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param securityConnectorName The security connector name.
- * @param orgName The Azure DevOps organization name.
- * @param projectName The project 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 list of RP resources which supports pagination as paginated response with {@link PagedIterable}.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(String resourceGroupName, String securityConnectorName,
- String orgName, String projectName, Context context);
-
- /**
- * Returns a monitored Azure DevOps repository resource.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param securityConnectorName The security connector name.
- * @param orgName The Azure DevOps organization name.
- * @param projectName The project name.
- * @param repoName The repository 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 azure DevOps Repository resource along with {@link Response}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(String resourceGroupName, String securityConnectorName,
- String orgName, String projectName, String repoName, Context context);
-
- /**
- * Returns a monitored Azure DevOps repository resource.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param securityConnectorName The security connector name.
- * @param orgName The Azure DevOps organization name.
- * @param projectName The project name.
- * @param repoName The repository 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 azure DevOps Repository resource.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- AzureDevOpsRepositoryInner get(String resourceGroupName, String securityConnectorName, String orgName,
- String projectName, String repoName);
-
- /**
- * Creates or updates a monitored Azure DevOps repository resource.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param securityConnectorName The security connector name.
- * @param orgName The Azure DevOps organization name.
- * @param projectName The project name.
- * @param repoName The repository name.
- * @param azureDevOpsRepository The Azure DevOps repository resource payload.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link SyncPoller} for polling of azure DevOps Repository resource.
- */
- @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, AzureDevOpsRepositoryInner> beginCreateOrUpdate(
- String resourceGroupName, String securityConnectorName, String orgName, String projectName, String repoName,
- AzureDevOpsRepositoryInner azureDevOpsRepository);
-
- /**
- * Creates or updates a monitored Azure DevOps repository resource.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param securityConnectorName The security connector name.
- * @param orgName The Azure DevOps organization name.
- * @param projectName The project name.
- * @param repoName The repository name.
- * @param azureDevOpsRepository The Azure DevOps repository resource payload.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link SyncPoller} for polling of azure DevOps Repository resource.
- */
- @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, AzureDevOpsRepositoryInner> beginCreateOrUpdate(
- String resourceGroupName, String securityConnectorName, String orgName, String projectName, String repoName,
- AzureDevOpsRepositoryInner azureDevOpsRepository, Context context);
-
- /**
- * Creates or updates a monitored Azure DevOps repository resource.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param securityConnectorName The security connector name.
- * @param orgName The Azure DevOps organization name.
- * @param projectName The project name.
- * @param repoName The repository name.
- * @param azureDevOpsRepository The Azure DevOps repository resource payload.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.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 DevOps Repository resource.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- AzureDevOpsRepositoryInner createOrUpdate(String resourceGroupName, String securityConnectorName, String orgName,
- String projectName, String repoName, AzureDevOpsRepositoryInner azureDevOpsRepository);
-
- /**
- * Creates or updates a monitored Azure DevOps repository resource.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param securityConnectorName The security connector name.
- * @param orgName The Azure DevOps organization name.
- * @param projectName The project name.
- * @param repoName The repository name.
- * @param azureDevOpsRepository The Azure DevOps repository resource payload.
- * @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 azure DevOps Repository resource.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- AzureDevOpsRepositoryInner createOrUpdate(String resourceGroupName, String securityConnectorName, String orgName,
- String projectName, String repoName, AzureDevOpsRepositoryInner azureDevOpsRepository, Context context);
-
- /**
- * Updates a monitored Azure DevOps repository resource.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param securityConnectorName The security connector name.
- * @param orgName The Azure DevOps organization name.
- * @param projectName The project name.
- * @param repoName The repository name.
- * @param azureDevOpsRepository The Azure DevOps repository resource payload.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link SyncPoller} for polling of azure DevOps Repository resource.
- */
- @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, AzureDevOpsRepositoryInner> beginUpdate(String resourceGroupName,
- String securityConnectorName, String orgName, String projectName, String repoName,
- AzureDevOpsRepositoryInner azureDevOpsRepository);
-
- /**
- * Updates a monitored Azure DevOps repository resource.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param securityConnectorName The security connector name.
- * @param orgName The Azure DevOps organization name.
- * @param projectName The project name.
- * @param repoName The repository name.
- * @param azureDevOpsRepository The Azure DevOps repository resource payload.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link SyncPoller} for polling of azure DevOps Repository resource.
- */
- @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, AzureDevOpsRepositoryInner> beginUpdate(String resourceGroupName,
- String securityConnectorName, String orgName, String projectName, String repoName,
- AzureDevOpsRepositoryInner azureDevOpsRepository, Context context);
-
- /**
- * Updates a monitored Azure DevOps repository resource.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param securityConnectorName The security connector name.
- * @param orgName The Azure DevOps organization name.
- * @param projectName The project name.
- * @param repoName The repository name.
- * @param azureDevOpsRepository The Azure DevOps repository resource payload.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.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 DevOps Repository resource.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- AzureDevOpsRepositoryInner update(String resourceGroupName, String securityConnectorName, String orgName,
- String projectName, String repoName, AzureDevOpsRepositoryInner azureDevOpsRepository);
-
- /**
- * Updates a monitored Azure DevOps repository resource.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param securityConnectorName The security connector name.
- * @param orgName The Azure DevOps organization name.
- * @param projectName The project name.
- * @param repoName The repository name.
- * @param azureDevOpsRepository The Azure DevOps repository resource payload.
- * @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 azure DevOps Repository resource.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- AzureDevOpsRepositoryInner update(String resourceGroupName, String securityConnectorName, String orgName,
- String projectName, String repoName, AzureDevOpsRepositoryInner azureDevOpsRepository, 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 a592b826901c0..0000000000000
--- a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/CompliancesClient.java
+++ /dev/null
@@ -1,73 +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 as paginated response with {@link PagedIterable}.
- */
- @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 as paginated response with {@link PagedIterable}.
- */
- @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.
- * @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 along with {@link Response}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(String scope, String complianceName, 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);
-}
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 7f2e366138284..0000000000000
--- a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/ConnectorsClient.java
+++ /dev/null
@@ -1,120 +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 as paginated response with
- * {@link PagedIterable}.
- */
- @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 as paginated response with
- * {@link PagedIterable}.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(Context context);
-
- /**
- * 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 along with {@link Response}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(String connectorName, 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);
-
- /**
- * 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 along with {@link Response}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response createOrUpdateWithResponse(String connectorName,
- ConnectorSettingInner connectorSetting, 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);
-
- /**
- * 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 {@link Response}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response deleteWithResponse(String connectorName, 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);
-}
diff --git a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/CustomAssessmentAutomationsClient.java b/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/CustomAssessmentAutomationsClient.java
deleted file mode 100644
index d274216083560..0000000000000
--- a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/CustomAssessmentAutomationsClient.java
+++ /dev/null
@@ -1,182 +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.CustomAssessmentAutomationInner;
-import com.azure.resourcemanager.security.models.CustomAssessmentAutomationRequest;
-
-/**
- * An instance of this class provides access to all the operations defined in CustomAssessmentAutomationsClient.
- */
-public interface CustomAssessmentAutomationsClient {
- /**
- * Gets a custom assessment automation
- *
- * Gets a single custom assessment automation by name for the provided subscription and resource group.
- *
- * @param resourceGroupName The name of the resource group within the user's subscription. The name is case
- * insensitive.
- * @param customAssessmentAutomationName Name of the Custom Assessment Automation.
- * @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 custom assessment automation by name for the provided subscription and resource group along with
- * {@link Response}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response getByResourceGroupWithResponse(String resourceGroupName,
- String customAssessmentAutomationName, Context context);
-
- /**
- * Gets a custom assessment automation
- *
- * Gets a single custom assessment automation by name for the provided subscription and resource group.
- *
- * @param resourceGroupName The name of the resource group within the user's subscription. The name is case
- * insensitive.
- * @param customAssessmentAutomationName Name of the Custom Assessment Automation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.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 custom assessment automation by name for the provided subscription and resource group.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- CustomAssessmentAutomationInner getByResourceGroup(String resourceGroupName, String customAssessmentAutomationName);
-
- /**
- * Creates a custom assessment automation
- *
- * Creates or updates a custom assessment automation for the provided subscription. Please note that providing an
- * existing custom assessment automation will replace the existing record.
- *
- * @param resourceGroupName The name of the resource group within the user's subscription. The name is case
- * insensitive.
- * @param customAssessmentAutomationName Name of the Custom Assessment Automation.
- * @param customAssessmentAutomationBody Custom Assessment Automation body.
- * @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 custom Assessment Automation along with {@link Response}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response createWithResponse(String resourceGroupName,
- String customAssessmentAutomationName, CustomAssessmentAutomationRequest customAssessmentAutomationBody,
- Context context);
-
- /**
- * Creates a custom assessment automation
- *
- * Creates or updates a custom assessment automation for the provided subscription. Please note that providing an
- * existing custom assessment automation will replace the existing record.
- *
- * @param resourceGroupName The name of the resource group within the user's subscription. The name is case
- * insensitive.
- * @param customAssessmentAutomationName Name of the Custom Assessment Automation.
- * @param customAssessmentAutomationBody Custom Assessment Automation body.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return custom Assessment Automation.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- CustomAssessmentAutomationInner create(String resourceGroupName, String customAssessmentAutomationName,
- CustomAssessmentAutomationRequest customAssessmentAutomationBody);
-
- /**
- * Deletes a custom assessment automation
- *
- * Deletes a custom assessment automation by name for a provided subscription.
- *
- * @param resourceGroupName The name of the resource group within the user's subscription. The name is case
- * insensitive.
- * @param customAssessmentAutomationName Name of the Custom Assessment Automation.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link Response}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response deleteWithResponse(String resourceGroupName, String customAssessmentAutomationName, Context context);
-
- /**
- * Deletes a custom assessment automation
- *
- * Deletes a custom assessment automation by name for a provided subscription.
- *
- * @param resourceGroupName The name of the resource group within the user's subscription. The name is case
- * insensitive.
- * @param customAssessmentAutomationName Name of the Custom Assessment Automation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.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 customAssessmentAutomationName);
-
- /**
- * List custom assessment automations in a subscription and a resource group
- *
- * List custom assessment automations by provided subscription and 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 a list of Custom Assessment Automations as paginated response with {@link PagedIterable}.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable listByResourceGroup(String resourceGroupName);
-
- /**
- * List custom assessment automations in a subscription and a resource group
- *
- * List custom assessment automations by provided subscription and 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 a list of Custom Assessment Automations as paginated response with {@link PagedIterable}.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable listByResourceGroup(String resourceGroupName, Context context);
-
- /**
- * List custom assessment automations in a subscription
- *
- * List custom assessment automations by provided 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 Custom Assessment Automations as paginated response with {@link PagedIterable}.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list();
-
- /**
- * List custom assessment automations in a subscription
- *
- * List custom assessment automations by provided 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 Custom Assessment Automations as paginated response with {@link PagedIterable}.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(Context context);
-}
diff --git a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/CustomEntityStoreAssignmentsClient.java b/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/CustomEntityStoreAssignmentsClient.java
deleted file mode 100644
index 74a13bec8c99f..0000000000000
--- a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/CustomEntityStoreAssignmentsClient.java
+++ /dev/null
@@ -1,182 +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.CustomEntityStoreAssignmentInner;
-import com.azure.resourcemanager.security.models.CustomEntityStoreAssignmentRequest;
-
-/**
- * An instance of this class provides access to all the operations defined in CustomEntityStoreAssignmentsClient.
- */
-public interface CustomEntityStoreAssignmentsClient {
- /**
- * Gets a custom entity store assignment
- *
- * Gets a single custom entity store assignment by name for the provided subscription and resource group.
- *
- * @param resourceGroupName The name of the resource group within the user's subscription. The name is case
- * insensitive.
- * @param customEntityStoreAssignmentName Name of the custom entity store assignment. Generated name is 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 a single custom entity store assignment by name for the provided subscription and resource group along
- * with {@link Response}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response getByResourceGroupWithResponse(String resourceGroupName,
- String customEntityStoreAssignmentName, Context context);
-
- /**
- * Gets a custom entity store assignment
- *
- * Gets a single custom entity store assignment by name for the provided subscription and resource group.
- *
- * @param resourceGroupName The name of the resource group within the user's subscription. The name is case
- * insensitive.
- * @param customEntityStoreAssignmentName Name of the custom entity store assignment. Generated name is 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 a single custom entity store assignment by name for the provided subscription and resource group.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- CustomEntityStoreAssignmentInner getByResourceGroup(String resourceGroupName,
- String customEntityStoreAssignmentName);
-
- /**
- * Creates a custom entity store assignment
- *
- * Creates a custom entity store assignment for the provided subscription, if not already exists.
- *
- * @param resourceGroupName The name of the resource group within the user's subscription. The name is case
- * insensitive.
- * @param customEntityStoreAssignmentName Name of the custom entity store assignment. Generated name is GUID.
- * @param customEntityStoreAssignmentRequestBody Custom entity store assignment body.
- * @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 custom entity store assignment along with {@link Response}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response createWithResponse(String resourceGroupName,
- String customEntityStoreAssignmentName,
- CustomEntityStoreAssignmentRequest customEntityStoreAssignmentRequestBody, Context context);
-
- /**
- * Creates a custom entity store assignment
- *
- * Creates a custom entity store assignment for the provided subscription, if not already exists.
- *
- * @param resourceGroupName The name of the resource group within the user's subscription. The name is case
- * insensitive.
- * @param customEntityStoreAssignmentName Name of the custom entity store assignment. Generated name is GUID.
- * @param customEntityStoreAssignmentRequestBody Custom entity store assignment body.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return custom entity store assignment.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- CustomEntityStoreAssignmentInner create(String resourceGroupName, String customEntityStoreAssignmentName,
- CustomEntityStoreAssignmentRequest customEntityStoreAssignmentRequestBody);
-
- /**
- * Deleted a custom entity store assignment
- *
- * Delete a custom entity store assignment by name for a provided subscription.
- *
- * @param resourceGroupName The name of the resource group within the user's subscription. The name is case
- * insensitive.
- * @param customEntityStoreAssignmentName Name of the custom entity store assignment. Generated name is 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 the {@link Response}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response deleteWithResponse(String resourceGroupName, String customEntityStoreAssignmentName,
- Context context);
-
- /**
- * Deleted a custom entity store assignment
- *
- * Delete a custom entity store assignment by name for a provided subscription.
- *
- * @param resourceGroupName The name of the resource group within the user's subscription. The name is case
- * insensitive.
- * @param customEntityStoreAssignmentName Name of the custom entity store assignment. Generated name is 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.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- void delete(String resourceGroupName, String customEntityStoreAssignmentName);
-
- /**
- * List custom entity store assignments in a subscription and a resource group
- *
- * List custom entity store assignments by a provided subscription and 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 a list of custom entity store assignments as paginated response with {@link PagedIterable}.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable listByResourceGroup(String resourceGroupName);
-
- /**
- * List custom entity store assignments in a subscription and a resource group
- *
- * List custom entity store assignments by a provided subscription and 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 a list of custom entity store assignments as paginated response with {@link PagedIterable}.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable listByResourceGroup(String resourceGroupName, Context context);
-
- /**
- * List custom entity store assignments in a subscription
- *
- * List custom entity store assignments by provided 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 custom entity store assignments as paginated response with {@link PagedIterable}.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list();
-
- /**
- * List custom entity store assignments in a subscription
- *
- * List custom entity store assignments by provided 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 custom entity store assignments as paginated response with {@link PagedIterable}.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(Context context);
-}
diff --git a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/DefenderForStoragesClient.java b/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/DefenderForStoragesClient.java
deleted file mode 100644
index f092ddc308def..0000000000000
--- a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/DefenderForStoragesClient.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.Response;
-import com.azure.core.util.Context;
-import com.azure.resourcemanager.security.fluent.models.DefenderForStorageSettingInner;
-import com.azure.resourcemanager.security.fluent.models.MalwareScanInner;
-import com.azure.resourcemanager.security.models.SettingName;
-
-/**
- * An instance of this class provides access to all the operations defined in DefenderForStoragesClient.
- */
-public interface DefenderForStoragesClient {
- /**
- * Gets the Defender for Storage settings for the specified storage account.
- *
- * @param resourceId The identifier of the resource.
- * @param settingName Defender for Storage setting 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 Defender for Storage settings for the specified storage account along with {@link Response}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(String resourceId, SettingName settingName,
- Context context);
-
- /**
- * Gets the Defender for Storage settings for the specified storage account.
- *
- * @param resourceId The identifier of the resource.
- * @param settingName Defender for Storage setting 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 Defender for Storage settings for the specified storage account.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- DefenderForStorageSettingInner get(String resourceId, SettingName settingName);
-
- /**
- * Creates or updates the Defender for Storage settings on a specified storage account.
- *
- * @param resourceId The identifier of the resource.
- * @param settingName Defender for Storage setting name.
- * @param defenderForStorageSetting Defender for Storage 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 Defender for Storage resource along with {@link Response}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response createWithResponse(String resourceId, SettingName settingName,
- DefenderForStorageSettingInner defenderForStorageSetting, Context context);
-
- /**
- * Creates or updates the Defender for Storage settings on a specified storage account.
- *
- * @param resourceId The identifier of the resource.
- * @param settingName Defender for Storage setting name.
- * @param defenderForStorageSetting Defender for Storage 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 Defender for Storage resource.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- DefenderForStorageSettingInner create(String resourceId, SettingName settingName,
- DefenderForStorageSettingInner defenderForStorageSetting);
-
- /**
- * Initiate a Defender for Storage malware scan for the specified storage account.
- *
- * @param resourceId The identifier of the resource.
- * @param settingName Defender for Storage setting 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 describes the state of a malware scan operation along with {@link Response}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response startMalwareScanWithResponse(String resourceId, SettingName settingName,
- Context context);
-
- /**
- * Initiate a Defender for Storage malware scan for the specified storage account.
- *
- * @param resourceId The identifier of the resource.
- * @param settingName Defender for Storage setting 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 describes the state of a malware scan operation.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- MalwareScanInner startMalwareScan(String resourceId, SettingName settingName);
-
- /**
- * Cancels a Defender for Storage malware scan for the specified storage account.
- *
- * @param resourceId The identifier of the resource.
- * @param settingName Defender for Storage setting name.
- * @param scanId The identifier of the scan. Can be either 'latest' or 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 describes the state of a malware scan operation along with {@link Response}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response cancelMalwareScanWithResponse(String resourceId, SettingName settingName, String scanId,
- Context context);
-
- /**
- * Cancels a Defender for Storage malware scan for the specified storage account.
- *
- * @param resourceId The identifier of the resource.
- * @param settingName Defender for Storage setting name.
- * @param scanId The identifier of the scan. Can be either 'latest' or 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 describes the state of a malware scan operation.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- MalwareScanInner cancelMalwareScan(String resourceId, SettingName settingName, String scanId);
-
- /**
- * Gets the Defender for Storage malware scan for the specified storage resource.
- *
- * @param resourceId The identifier of the resource.
- * @param settingName Defender for Storage setting name.
- * @param scanId The identifier of the scan. Can be either 'latest' or 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 the Defender for Storage malware scan for the specified storage resource along with {@link Response}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response getMalwareScanWithResponse(String resourceId, SettingName settingName, String scanId,
- Context context);
-
- /**
- * Gets the Defender for Storage malware scan for the specified storage resource.
- *
- * @param resourceId The identifier of the resource.
- * @param settingName Defender for Storage setting name.
- * @param scanId The identifier of the scan. Can be either 'latest' or 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 the Defender for Storage malware scan for the specified storage resource.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- MalwareScanInner getMalwareScan(String resourceId, SettingName settingName, String scanId);
-}
diff --git a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/DevOpsConfigurationsClient.java b/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/DevOpsConfigurationsClient.java
deleted file mode 100644
index 072a55b3132f0..0000000000000
--- a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/DevOpsConfigurationsClient.java
+++ /dev/null
@@ -1,253 +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.DevOpsConfigurationInner;
-
-/**
- * An instance of this class provides access to all the operations defined in DevOpsConfigurationsClient.
- */
-public interface DevOpsConfigurationsClient {
- /**
- * List DevOps Configurations.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param securityConnectorName The security connector 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 list of RP resources which supports pagination as paginated response with {@link PagedIterable}.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(String resourceGroupName, String securityConnectorName);
-
- /**
- * List DevOps Configurations.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param securityConnectorName The security connector 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 list of RP resources which supports pagination as paginated response with {@link PagedIterable}.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(String resourceGroupName, String securityConnectorName,
- Context context);
-
- /**
- * Gets a DevOps Configuration.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param securityConnectorName The security connector name.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a DevOps Configuration along with {@link Response}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(String resourceGroupName, String securityConnectorName,
- Context context);
-
- /**
- * Gets a DevOps Configuration.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param securityConnectorName The security connector name.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a DevOps Configuration.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- DevOpsConfigurationInner get(String resourceGroupName, String securityConnectorName);
-
- /**
- * Creates or updates a DevOps Configuration.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param securityConnectorName The security connector name.
- * @param devOpsConfiguration The DevOps configuration resource payload.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link SyncPoller} for polling of devOps Configuration resource.
- */
- @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, DevOpsConfigurationInner> beginCreateOrUpdate(
- String resourceGroupName, String securityConnectorName, DevOpsConfigurationInner devOpsConfiguration);
-
- /**
- * Creates or updates a DevOps Configuration.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param securityConnectorName The security connector name.
- * @param devOpsConfiguration The DevOps configuration resource payload.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link SyncPoller} for polling of devOps Configuration resource.
- */
- @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, DevOpsConfigurationInner> beginCreateOrUpdate(
- String resourceGroupName, String securityConnectorName, DevOpsConfigurationInner devOpsConfiguration,
- Context context);
-
- /**
- * Creates or updates a DevOps Configuration.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param securityConnectorName The security connector name.
- * @param devOpsConfiguration The DevOps configuration resource payload.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return devOps Configuration resource.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- DevOpsConfigurationInner createOrUpdate(String resourceGroupName, String securityConnectorName,
- DevOpsConfigurationInner devOpsConfiguration);
-
- /**
- * Creates or updates a DevOps Configuration.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param securityConnectorName The security connector name.
- * @param devOpsConfiguration The DevOps configuration resource payload.
- * @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 devOps Configuration resource.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- DevOpsConfigurationInner createOrUpdate(String resourceGroupName, String securityConnectorName,
- DevOpsConfigurationInner devOpsConfiguration, Context context);
-
- /**
- * Updates a DevOps Configuration.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param securityConnectorName The security connector name.
- * @param devOpsConfiguration The DevOps configuration resource payload.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link SyncPoller} for polling of devOps Configuration resource.
- */
- @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, DevOpsConfigurationInner> beginUpdate(String resourceGroupName,
- String securityConnectorName, DevOpsConfigurationInner devOpsConfiguration);
-
- /**
- * Updates a DevOps Configuration.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param securityConnectorName The security connector name.
- * @param devOpsConfiguration The DevOps configuration resource payload.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link SyncPoller} for polling of devOps Configuration resource.
- */
- @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, DevOpsConfigurationInner> beginUpdate(String resourceGroupName,
- String securityConnectorName, DevOpsConfigurationInner devOpsConfiguration, Context context);
-
- /**
- * Updates a DevOps Configuration.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param securityConnectorName The security connector name.
- * @param devOpsConfiguration The DevOps configuration resource payload.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return devOps Configuration resource.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- DevOpsConfigurationInner update(String resourceGroupName, String securityConnectorName,
- DevOpsConfigurationInner devOpsConfiguration);
-
- /**
- * Updates a DevOps Configuration.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param securityConnectorName The security connector name.
- * @param devOpsConfiguration The DevOps configuration resource payload.
- * @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 devOps Configuration resource.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- DevOpsConfigurationInner update(String resourceGroupName, String securityConnectorName,
- DevOpsConfigurationInner devOpsConfiguration, Context context);
-
- /**
- * Deletes a DevOps Connector.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param securityConnectorName The security connector name.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link SyncPoller} for polling of long-running operation.
- */
- @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, Void> beginDelete(String resourceGroupName, String securityConnectorName);
-
- /**
- * Deletes a DevOps Connector.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param securityConnectorName The security connector name.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link SyncPoller} for polling of long-running operation.
- */
- @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, Void> beginDelete(String resourceGroupName, String securityConnectorName,
- Context context);
-
- /**
- * Deletes a DevOps Connector.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param securityConnectorName The security connector 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 securityConnectorName);
-
- /**
- * Deletes a DevOps Connector.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param securityConnectorName The security connector 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.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- void delete(String resourceGroupName, String securityConnectorName, Context context);
-}
diff --git a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/DevOpsOperationResultsClient.java b/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/DevOpsOperationResultsClient.java
deleted file mode 100644
index 104278955f2d8..0000000000000
--- a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/DevOpsOperationResultsClient.java
+++ /dev/null
@@ -1,46 +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.OperationStatusResultInner;
-
-/**
- * An instance of this class provides access to all the operations defined in DevOpsOperationResultsClient.
- */
-public interface DevOpsOperationResultsClient {
- /**
- * Get devops long running operation result.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param securityConnectorName The security connector name.
- * @param operationResultId The operation result 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 devops long running operation result along with {@link Response}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(String resourceGroupName, String securityConnectorName,
- String operationResultId, Context context);
-
- /**
- * Get devops long running operation result.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param securityConnectorName The security connector name.
- * @param operationResultId The operation result Id.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return devops long running operation result.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- OperationStatusResultInner get(String resourceGroupName, String securityConnectorName, String operationResultId);
-}
diff --git a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/DevOpsPoliciesClient.java b/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/DevOpsPoliciesClient.java
deleted file mode 100644
index e395c3b7cfbaf..0000000000000
--- a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/DevOpsPoliciesClient.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.DevOpsPolicyInner;
-
-/**
- * An instance of this class provides access to all the operations defined in DevOpsPoliciesClient.
- */
-public interface DevOpsPoliciesClient {
- /**
- * Returns a list of DevOps Policies.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param securityConnectorName The security connector 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 list of RP resources which supports pagination as paginated response with {@link PagedIterable}.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(String resourceGroupName, String securityConnectorName);
-
- /**
- * Returns a list of DevOps Policies.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param securityConnectorName The security connector name.
- * @param devOpsPolicyType Optional filter for listing the policies.
- * @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 RP resources which supports pagination as paginated response with {@link PagedIterable}.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(String resourceGroupName, String securityConnectorName,
- String devOpsPolicyType, Context context);
-
- /**
- * Returns a DevOps Policy.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param securityConnectorName The security connector name.
- * @param policyName The policy 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 devOps Policy Resource along with {@link Response}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(String resourceGroupName, String securityConnectorName,
- String policyName, Context context);
-
- /**
- * Returns a DevOps Policy.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param securityConnectorName The security connector name.
- * @param policyName The policy 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 devOps Policy Resource.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- DevOpsPolicyInner get(String resourceGroupName, String securityConnectorName, String policyName);
-}
diff --git a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/DevOpsPolicyAssignmentsClient.java b/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/DevOpsPolicyAssignmentsClient.java
deleted file mode 100644
index 2c9701b130637..0000000000000
--- a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/DevOpsPolicyAssignmentsClient.java
+++ /dev/null
@@ -1,273 +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.DevOpsPolicyAssignmentInner;
-
-/**
- * An instance of this class provides access to all the operations defined in DevOpsPolicyAssignmentsClient.
- */
-public interface DevOpsPolicyAssignmentsClient {
- /**
- * Returns a list of DevOps Policy Assignments.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param securityConnectorName The security connector 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 list of RP resources which supports pagination as paginated response with {@link PagedIterable}.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(String resourceGroupName, String securityConnectorName);
-
- /**
- * Returns a list of DevOps Policy Assignments.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param securityConnectorName The security connector name.
- * @param devOpsPolicyType Optional filter for listing the policies.
- * @param resourceId Optional filter for listing the assignments of a specific 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 RP resources which supports pagination as paginated response with {@link PagedIterable}.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(String resourceGroupName, String securityConnectorName,
- String devOpsPolicyType, String resourceId, Context context);
-
- /**
- * Returns a DevOps Policy Assignment Resource.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param securityConnectorName The security connector name.
- * @param policyAssignmentId The policy assignment 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 devOps Policy assignment resource along with {@link Response}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(String resourceGroupName, String securityConnectorName,
- String policyAssignmentId, Context context);
-
- /**
- * Returns a DevOps Policy Assignment Resource.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param securityConnectorName The security connector name.
- * @param policyAssignmentId The policy assignment Id.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return devOps Policy assignment resource.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- DevOpsPolicyAssignmentInner get(String resourceGroupName, String securityConnectorName, String policyAssignmentId);
-
- /**
- * Creates or updates a DevOps Policy Assignment Resource.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param securityConnectorName The security connector name.
- * @param policyAssignmentId The policy assignment Id.
- * @param devOpsPolicyAssignment The DevOps Policy Assignment.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link SyncPoller} for polling of devOps Policy assignment resource.
- */
- @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, DevOpsPolicyAssignmentInner> beginCreateOrUpdate(
- String resourceGroupName, String securityConnectorName, String policyAssignmentId,
- DevOpsPolicyAssignmentInner devOpsPolicyAssignment);
-
- /**
- * Creates or updates a DevOps Policy Assignment Resource.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param securityConnectorName The security connector name.
- * @param policyAssignmentId The policy assignment Id.
- * @param devOpsPolicyAssignment The DevOps Policy Assignment.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link SyncPoller} for polling of devOps Policy assignment resource.
- */
- @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, DevOpsPolicyAssignmentInner> beginCreateOrUpdate(
- String resourceGroupName, String securityConnectorName, String policyAssignmentId,
- DevOpsPolicyAssignmentInner devOpsPolicyAssignment, Context context);
-
- /**
- * Creates or updates a DevOps Policy Assignment Resource.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param securityConnectorName The security connector name.
- * @param policyAssignmentId The policy assignment Id.
- * @param devOpsPolicyAssignment The DevOps Policy Assignment.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return devOps Policy assignment resource.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- DevOpsPolicyAssignmentInner createOrUpdate(String resourceGroupName, String securityConnectorName,
- String policyAssignmentId, DevOpsPolicyAssignmentInner devOpsPolicyAssignment);
-
- /**
- * Creates or updates a DevOps Policy Assignment Resource.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param securityConnectorName The security connector name.
- * @param policyAssignmentId The policy assignment Id.
- * @param devOpsPolicyAssignment The DevOps Policy Assignment.
- * @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 devOps Policy assignment resource.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- DevOpsPolicyAssignmentInner createOrUpdate(String resourceGroupName, String securityConnectorName,
- String policyAssignmentId, DevOpsPolicyAssignmentInner devOpsPolicyAssignment, Context context);
-
- /**
- * Updates a DevOps Policy Assignment Resource.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param securityConnectorName The security connector name.
- * @param policyAssignmentId The policy assignment Id.
- * @param devOpsPolicyAssignment The DevOps Policy Assignment.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link SyncPoller} for polling of devOps Policy assignment resource.
- */
- @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, DevOpsPolicyAssignmentInner> beginUpdate(
- String resourceGroupName, String securityConnectorName, String policyAssignmentId,
- DevOpsPolicyAssignmentInner devOpsPolicyAssignment);
-
- /**
- * Updates a DevOps Policy Assignment Resource.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param securityConnectorName The security connector name.
- * @param policyAssignmentId The policy assignment Id.
- * @param devOpsPolicyAssignment The DevOps Policy Assignment.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link SyncPoller} for polling of devOps Policy assignment resource.
- */
- @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, DevOpsPolicyAssignmentInner> beginUpdate(
- String resourceGroupName, String securityConnectorName, String policyAssignmentId,
- DevOpsPolicyAssignmentInner devOpsPolicyAssignment, Context context);
-
- /**
- * Updates a DevOps Policy Assignment Resource.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param securityConnectorName The security connector name.
- * @param policyAssignmentId The policy assignment Id.
- * @param devOpsPolicyAssignment The DevOps Policy Assignment.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return devOps Policy assignment resource.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- DevOpsPolicyAssignmentInner update(String resourceGroupName, String securityConnectorName,
- String policyAssignmentId, DevOpsPolicyAssignmentInner devOpsPolicyAssignment);
-
- /**
- * Updates a DevOps Policy Assignment Resource.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param securityConnectorName The security connector name.
- * @param policyAssignmentId The policy assignment Id.
- * @param devOpsPolicyAssignment The DevOps Policy Assignment.
- * @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 devOps Policy assignment resource.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- DevOpsPolicyAssignmentInner update(String resourceGroupName, String securityConnectorName,
- String policyAssignmentId, DevOpsPolicyAssignmentInner devOpsPolicyAssignment, Context context);
-
- /**
- * Deletes a DevOps Policy Assignment Resource.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param securityConnectorName The security connector name.
- * @param policyAssignmentId The policy assignment Id.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link SyncPoller} for polling of long-running operation.
- */
- @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, Void> beginDelete(String resourceGroupName, String securityConnectorName,
- String policyAssignmentId);
-
- /**
- * Deletes a DevOps Policy Assignment Resource.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param securityConnectorName The security connector name.
- * @param policyAssignmentId The policy assignment Id.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link SyncPoller} for polling of long-running operation.
- */
- @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, Void> beginDelete(String resourceGroupName, String securityConnectorName,
- String policyAssignmentId, Context context);
-
- /**
- * Deletes a DevOps Policy Assignment Resource.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param securityConnectorName The security connector name.
- * @param policyAssignmentId The policy assignment Id.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- void delete(String resourceGroupName, String securityConnectorName, String policyAssignmentId);
-
- /**
- * Deletes a DevOps Policy Assignment Resource.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param securityConnectorName The security connector name.
- * @param policyAssignmentId The policy assignment 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.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- void delete(String resourceGroupName, String securityConnectorName, String policyAssignmentId, Context context);
-}
diff --git a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/GitHubOwnersClient.java b/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/GitHubOwnersClient.java
deleted file mode 100644
index 7a4c2cb6a4a40..0000000000000
--- a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/GitHubOwnersClient.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.GitHubOwnerInner;
-import com.azure.resourcemanager.security.fluent.models.GitHubOwnerListResponseInner;
-
-/**
- * An instance of this class provides access to all the operations defined in GitHubOwnersClient.
- */
-public interface GitHubOwnersClient {
- /**
- * Returns a list of all GitHub owners accessible by the user token consumed by the connector.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param securityConnectorName The security connector 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 list of RP resources which supports pagination along with {@link Response}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response listAvailableWithResponse(String resourceGroupName,
- String securityConnectorName, Context context);
-
- /**
- * Returns a list of all GitHub owners accessible by the user token consumed by the connector.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param securityConnectorName The security connector 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 list of RP resources which supports pagination.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- GitHubOwnerListResponseInner listAvailable(String resourceGroupName, String securityConnectorName);
-
- /**
- * Returns a list of GitHub owners onboarded to the connector.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param securityConnectorName The security connector 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 list of RP resources which supports pagination as paginated response with {@link PagedIterable}.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(String resourceGroupName, String securityConnectorName);
-
- /**
- * Returns a list of GitHub owners onboarded to the connector.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param securityConnectorName The security connector 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 list of RP resources which supports pagination as paginated response with {@link PagedIterable}.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(String resourceGroupName, String securityConnectorName, Context context);
-
- /**
- * Returns a monitored GitHub owner.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param securityConnectorName The security connector name.
- * @param ownerName The GitHub owner 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 gitHub Owner resource along with {@link Response}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(String resourceGroupName, String securityConnectorName, String ownerName,
- Context context);
-
- /**
- * Returns a monitored GitHub owner.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param securityConnectorName The security connector name.
- * @param ownerName The GitHub owner 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 gitHub Owner resource.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- GitHubOwnerInner get(String resourceGroupName, String securityConnectorName, String ownerName);
-}
diff --git a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/GitHubReposClient.java b/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/GitHubReposClient.java
deleted file mode 100644
index fc4eb380b972a..0000000000000
--- a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/GitHubReposClient.java
+++ /dev/null
@@ -1,80 +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.GitHubRepositoryInner;
-
-/**
- * An instance of this class provides access to all the operations defined in GitHubReposClient.
- */
-public interface GitHubReposClient {
- /**
- * Returns a list of GitHub repositories onboarded to the connector.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param securityConnectorName The security connector name.
- * @param ownerName The GitHub owner 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 list of RP resources which supports pagination as paginated response with {@link PagedIterable}.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(String resourceGroupName, String securityConnectorName, String ownerName);
-
- /**
- * Returns a list of GitHub repositories onboarded to the connector.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param securityConnectorName The security connector name.
- * @param ownerName The GitHub owner 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 list of RP resources which supports pagination as paginated response with {@link PagedIterable}.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(String resourceGroupName, String securityConnectorName, String ownerName,
- Context context);
-
- /**
- * Returns a monitored GitHub repository.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param securityConnectorName The security connector name.
- * @param ownerName The GitHub owner name.
- * @param repoName The repository 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 gitHub Repository resource along with {@link Response}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(String resourceGroupName, String securityConnectorName,
- String ownerName, String repoName, Context context);
-
- /**
- * Returns a monitored GitHub repository.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param securityConnectorName The security connector name.
- * @param ownerName The GitHub owner name.
- * @param repoName The repository 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 gitHub Repository resource.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- GitHubRepositoryInner get(String resourceGroupName, String securityConnectorName, String ownerName,
- String repoName);
-}
diff --git a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/GitLabGroupsClient.java b/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/GitLabGroupsClient.java
deleted file mode 100644
index a20ab3e0215d0..0000000000000
--- a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/GitLabGroupsClient.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.GitLabGroupInner;
-import com.azure.resourcemanager.security.fluent.models.GitLabGroupListResponseInner;
-
-/**
- * An instance of this class provides access to all the operations defined in GitLabGroupsClient.
- */
-public interface GitLabGroupsClient {
- /**
- * Returns a list of all GitLab groups accessible by the user token consumed by the connector.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param securityConnectorName The security connector 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 list of RP resources which supports pagination along with {@link Response}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response listAvailableWithResponse(String resourceGroupName,
- String securityConnectorName, Context context);
-
- /**
- * Returns a list of all GitLab groups accessible by the user token consumed by the connector.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param securityConnectorName The security connector 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 list of RP resources which supports pagination.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- GitLabGroupListResponseInner listAvailable(String resourceGroupName, String securityConnectorName);
-
- /**
- * Returns a list of GitLab groups onboarded to the connector.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param securityConnectorName The security connector 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 list of RP resources which supports pagination as paginated response with {@link PagedIterable}.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(String resourceGroupName, String securityConnectorName);
-
- /**
- * Returns a list of GitLab groups onboarded to the connector.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param securityConnectorName The security connector 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 list of RP resources which supports pagination as paginated response with {@link PagedIterable}.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(String resourceGroupName, String securityConnectorName, Context context);
-
- /**
- * Returns a monitored GitLab Group resource for a given fully-qualified name.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param securityConnectorName The security connector name.
- * @param groupFQName The GitLab group fully-qualified 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 gitLab Group resource along with {@link Response}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(String resourceGroupName, String securityConnectorName,
- String groupFQName, Context context);
-
- /**
- * Returns a monitored GitLab Group resource for a given fully-qualified name.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param securityConnectorName The security connector name.
- * @param groupFQName The GitLab group fully-qualified 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 gitLab Group resource.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- GitLabGroupInner get(String resourceGroupName, String securityConnectorName, String groupFQName);
-}
diff --git a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/GitLabProjectsClient.java b/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/GitLabProjectsClient.java
deleted file mode 100644
index 9faf6c688bccf..0000000000000
--- a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/GitLabProjectsClient.java
+++ /dev/null
@@ -1,82 +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.GitLabProjectInner;
-
-/**
- * An instance of this class provides access to all the operations defined in GitLabProjectsClient.
- */
-public interface GitLabProjectsClient {
- /**
- * Gets a list of GitLab projects that are directly owned by given group and onboarded to the connector.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param securityConnectorName The security connector name.
- * @param groupFQName The GitLab group fully-qualified name.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a list of GitLab projects that are directly owned by given group and onboarded to the connector as
- * paginated response with {@link PagedIterable}.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(String resourceGroupName, String securityConnectorName, String groupFQName);
-
- /**
- * Gets a list of GitLab projects that are directly owned by given group and onboarded to the connector.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param securityConnectorName The security connector name.
- * @param groupFQName The GitLab group fully-qualified name.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a list of GitLab projects that are directly owned by given group and onboarded to the connector as
- * paginated response with {@link PagedIterable}.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(String resourceGroupName, String securityConnectorName, String groupFQName,
- Context context);
-
- /**
- * Returns a monitored GitLab Project resource for a given fully-qualified group name and project name.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param securityConnectorName The security connector name.
- * @param groupFQName The GitLab group fully-qualified name.
- * @param projectName The project 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 gitLab Project resource along with {@link Response}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(String resourceGroupName, String securityConnectorName,
- String groupFQName, String projectName, Context context);
-
- /**
- * Returns a monitored GitLab Project resource for a given fully-qualified group name and project name.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param securityConnectorName The security connector name.
- * @param groupFQName The GitLab group fully-qualified name.
- * @param projectName The project 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 gitLab Project resource.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- GitLabProjectInner get(String resourceGroupName, String securityConnectorName, String groupFQName,
- String projectName);
-}
diff --git a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/GitLabSubgroupsClient.java b/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/GitLabSubgroupsClient.java
deleted file mode 100644
index ffcc005c753ba..0000000000000
--- a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/GitLabSubgroupsClient.java
+++ /dev/null
@@ -1,46 +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.GitLabGroupListResponseInner;
-
-/**
- * An instance of this class provides access to all the operations defined in GitLabSubgroupsClient.
- */
-public interface GitLabSubgroupsClient {
- /**
- * Gets nested subgroups of given GitLab Group which are onboarded to the connector.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param securityConnectorName The security connector name.
- * @param groupFQName The GitLab group fully-qualified 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 nested subgroups of given GitLab Group which are onboarded to the connector along with {@link Response}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response listWithResponse(String resourceGroupName, String securityConnectorName,
- String groupFQName, Context context);
-
- /**
- * Gets nested subgroups of given GitLab Group which are onboarded to the connector.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param securityConnectorName The security connector name.
- * @param groupFQName The GitLab group fully-qualified 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 nested subgroups of given GitLab Group which are onboarded to the connector.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- GitLabGroupListResponseInner list(String resourceGroupName, String securityConnectorName, String groupFQName);
-}
diff --git a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/GovernanceAssignmentsClient.java b/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/GovernanceAssignmentsClient.java
deleted file mode 100644
index bb00ad61eea32..0000000000000
--- a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/GovernanceAssignmentsClient.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.PagedIterable;
-import com.azure.core.http.rest.Response;
-import com.azure.core.util.Context;
-import com.azure.resourcemanager.security.fluent.models.GovernanceAssignmentInner;
-
-/**
- * An instance of this class provides access to all the operations defined in GovernanceAssignmentsClient.
- */
-public interface GovernanceAssignmentsClient {
- /**
- * Get governance assignments on all of your resources inside a scope.
- *
- * @param scope The scope of the Governance assignments. Valid scopes are: subscription (format:
- * 'subscriptions/{subscriptionId}'), or security connector (format:
- * 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName})'.
- * @param assessmentName The Assessment Key - A 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 governance assignments on all of your resources inside a scope as paginated response with
- * {@link PagedIterable}.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(String scope, String assessmentName);
-
- /**
- * Get governance assignments on all of your resources inside a scope.
- *
- * @param scope The scope of the Governance assignments. Valid scopes are: subscription (format:
- * 'subscriptions/{subscriptionId}'), or security connector (format:
- * 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName})'.
- * @param assessmentName The Assessment Key - A 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 governance assignments on all of your resources inside a scope as paginated response with
- * {@link PagedIterable}.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(String scope, String assessmentName, Context context);
-
- /**
- * Get a specific governanceAssignment for the requested scope by AssignmentKey.
- *
- * @param scope The scope of the Governance assignments. Valid scopes are: subscription (format:
- * 'subscriptions/{subscriptionId}'), or security connector (format:
- * 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName})'.
- * @param assessmentName The Assessment Key - A unique key for the assessment type.
- * @param assignmentKey The governance assignment key - the assessment key of the required governance assignment.
- * @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 governanceAssignment for the requested scope by AssignmentKey along with {@link Response}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(String scope, String assessmentName, String assignmentKey,
- Context context);
-
- /**
- * Get a specific governanceAssignment for the requested scope by AssignmentKey.
- *
- * @param scope The scope of the Governance assignments. Valid scopes are: subscription (format:
- * 'subscriptions/{subscriptionId}'), or security connector (format:
- * 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName})'.
- * @param assessmentName The Assessment Key - A unique key for the assessment type.
- * @param assignmentKey The governance assignment key - the assessment key of the required governance assignment.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.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 governanceAssignment for the requested scope by AssignmentKey.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- GovernanceAssignmentInner get(String scope, String assessmentName, String assignmentKey);
-
- /**
- * Creates or updates a governance assignment on the given subscription.
- *
- * @param scope The scope of the Governance assignments. Valid scopes are: subscription (format:
- * 'subscriptions/{subscriptionId}'), or security connector (format:
- * 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName})'.
- * @param assessmentName The Assessment Key - A unique key for the assessment type.
- * @param assignmentKey The governance assignment key - the assessment key of the required governance assignment.
- * @param governanceAssignment Governance assignment over a subscription 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 governance assignment over a given scope along with {@link Response}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response createOrUpdateWithResponse(String scope, String assessmentName,
- String assignmentKey, GovernanceAssignmentInner governanceAssignment, Context context);
-
- /**
- * Creates or updates a governance assignment on the given subscription.
- *
- * @param scope The scope of the Governance assignments. Valid scopes are: subscription (format:
- * 'subscriptions/{subscriptionId}'), or security connector (format:
- * 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName})'.
- * @param assessmentName The Assessment Key - A unique key for the assessment type.
- * @param assignmentKey The governance assignment key - the assessment key of the required governance assignment.
- * @param governanceAssignment Governance assignment over a subscription scope.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return governance assignment over a given scope.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- GovernanceAssignmentInner createOrUpdate(String scope, String assessmentName, String assignmentKey,
- GovernanceAssignmentInner governanceAssignment);
-
- /**
- * Delete a GovernanceAssignment over a given scope.
- *
- * @param scope The scope of the Governance assignments. Valid scopes are: subscription (format:
- * 'subscriptions/{subscriptionId}'), or security connector (format:
- * 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName})'.
- * @param assessmentName The Assessment Key - A unique key for the assessment type.
- * @param assignmentKey The governance assignment key - the assessment key of the required governance assignment.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link Response}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response deleteWithResponse(String scope, String assessmentName, String assignmentKey, Context context);
-
- /**
- * Delete a GovernanceAssignment over a given scope.
- *
- * @param scope The scope of the Governance assignments. Valid scopes are: subscription (format:
- * 'subscriptions/{subscriptionId}'), or security connector (format:
- * 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName})'.
- * @param assessmentName The Assessment Key - A unique key for the assessment type.
- * @param assignmentKey The governance assignment key - the assessment key of the required governance assignment.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.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 assessmentName, String assignmentKey);
-}
diff --git a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/GovernanceRulesClient.java b/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/GovernanceRulesClient.java
deleted file mode 100644
index a75e3e9290b69..0000000000000
--- a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/GovernanceRulesClient.java
+++ /dev/null
@@ -1,289 +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.GovernanceRuleInner;
-import com.azure.resourcemanager.security.fluent.models.OperationResultAutoGeneratedInner;
-import com.azure.resourcemanager.security.models.ExecuteGovernanceRuleParams;
-import com.azure.resourcemanager.security.models.GovernanceRulesOperationResultsResponse;
-
-/**
- * An instance of this class provides access to all the operations defined in GovernanceRulesClient.
- */
-public interface GovernanceRulesClient {
- /**
- * Get a list of all relevant governance rules over a scope.
- *
- * @param scope The scope of the Governance rules. Valid scopes are: management group (format:
- * 'providers/Microsoft.Management/managementGroups/{managementGroup}'), subscription (format:
- * 'subscriptions/{subscriptionId}'), or security connector (format:
- * 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName})'.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.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 relevant governance rules over a scope as paginated response with {@link PagedIterable}.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(String scope);
-
- /**
- * Get a list of all relevant governance rules over a scope.
- *
- * @param scope The scope of the Governance rules. Valid scopes are: management group (format:
- * 'providers/Microsoft.Management/managementGroups/{managementGroup}'), subscription (format:
- * 'subscriptions/{subscriptionId}'), or security connector (format:
- * 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName})'.
- * @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 relevant governance rules over a scope as paginated response with {@link PagedIterable}.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(String scope, Context context);
-
- /**
- * Get a specific governance rule for the requested scope by ruleId.
- *
- * @param scope The scope of the Governance rules. Valid scopes are: management group (format:
- * 'providers/Microsoft.Management/managementGroups/{managementGroup}'), subscription (format:
- * 'subscriptions/{subscriptionId}'), or security connector (format:
- * 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName})'.
- * @param ruleId The governance rule key - unique key for the standard governance rule (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 a specific governance rule for the requested scope by ruleId along with {@link Response}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(String scope, String ruleId, Context context);
-
- /**
- * Get a specific governance rule for the requested scope by ruleId.
- *
- * @param scope The scope of the Governance rules. Valid scopes are: management group (format:
- * 'providers/Microsoft.Management/managementGroups/{managementGroup}'), subscription (format:
- * 'subscriptions/{subscriptionId}'), or security connector (format:
- * 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName})'.
- * @param ruleId The governance rule key - unique key for the standard governance rule (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 a specific governance rule for the requested scope by ruleId.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- GovernanceRuleInner get(String scope, String ruleId);
-
- /**
- * Creates or updates a governance rule over a given scope.
- *
- * @param scope The scope of the Governance rules. Valid scopes are: management group (format:
- * 'providers/Microsoft.Management/managementGroups/{managementGroup}'), subscription (format:
- * 'subscriptions/{subscriptionId}'), or security connector (format:
- * 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName})'.
- * @param ruleId The governance rule key - unique key for the standard governance rule (GUID).
- * @param governanceRule Governance rule over a given 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 governance rule over a given scope along with {@link Response}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response createOrUpdateWithResponse(String scope, String ruleId,
- GovernanceRuleInner governanceRule, Context context);
-
- /**
- * Creates or updates a governance rule over a given scope.
- *
- * @param scope The scope of the Governance rules. Valid scopes are: management group (format:
- * 'providers/Microsoft.Management/managementGroups/{managementGroup}'), subscription (format:
- * 'subscriptions/{subscriptionId}'), or security connector (format:
- * 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName})'.
- * @param ruleId The governance rule key - unique key for the standard governance rule (GUID).
- * @param governanceRule Governance rule over a given scope.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return governance rule over a given scope.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- GovernanceRuleInner createOrUpdate(String scope, String ruleId, GovernanceRuleInner governanceRule);
-
- /**
- * Delete a Governance rule over a given scope.
- *
- * @param scope The scope of the Governance rules. Valid scopes are: management group (format:
- * 'providers/Microsoft.Management/managementGroups/{managementGroup}'), subscription (format:
- * 'subscriptions/{subscriptionId}'), or security connector (format:
- * 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName})'.
- * @param ruleId The governance rule key - unique key for the standard governance rule (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 the {@link SyncPoller} for polling of long-running operation.
- */
- @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, Void> beginDelete(String scope, String ruleId);
-
- /**
- * Delete a Governance rule over a given scope.
- *
- * @param scope The scope of the Governance rules. Valid scopes are: management group (format:
- * 'providers/Microsoft.Management/managementGroups/{managementGroup}'), subscription (format:
- * 'subscriptions/{subscriptionId}'), or security connector (format:
- * 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName})'.
- * @param ruleId The governance rule key - unique key for the standard governance rule (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 the {@link SyncPoller} for polling of long-running operation.
- */
- @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, Void> beginDelete(String scope, String ruleId, Context context);
-
- /**
- * Delete a Governance rule over a given scope.
- *
- * @param scope The scope of the Governance rules. Valid scopes are: management group (format:
- * 'providers/Microsoft.Management/managementGroups/{managementGroup}'), subscription (format:
- * 'subscriptions/{subscriptionId}'), or security connector (format:
- * 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName})'.
- * @param ruleId The governance rule key - unique key for the standard governance rule (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.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- void delete(String scope, String ruleId);
-
- /**
- * Delete a Governance rule over a given scope.
- *
- * @param scope The scope of the Governance rules. Valid scopes are: management group (format:
- * 'providers/Microsoft.Management/managementGroups/{managementGroup}'), subscription (format:
- * 'subscriptions/{subscriptionId}'), or security connector (format:
- * 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName})'.
- * @param ruleId The governance rule key - unique key for the standard governance rule (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.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- void delete(String scope, String ruleId, Context context);
-
- /**
- * Execute a governance rule.
- *
- * @param scope The scope of the Governance rules. Valid scopes are: management group (format:
- * 'providers/Microsoft.Management/managementGroups/{managementGroup}'), subscription (format:
- * 'subscriptions/{subscriptionId}'), or security connector (format:
- * 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName})'.
- * @param ruleId The governance rule key - unique key for the standard governance rule (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 the {@link SyncPoller} for polling of long-running operation.
- */
- @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, Void> beginExecute(String scope, String ruleId);
-
- /**
- * Execute a governance rule.
- *
- * @param scope The scope of the Governance rules. Valid scopes are: management group (format:
- * 'providers/Microsoft.Management/managementGroups/{managementGroup}'), subscription (format:
- * 'subscriptions/{subscriptionId}'), or security connector (format:
- * 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName})'.
- * @param ruleId The governance rule key - unique key for the standard governance rule (GUID).
- * @param executeGovernanceRuleParams Execute governance rule over a given 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 the {@link SyncPoller} for polling of long-running operation.
- */
- @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, Void> beginExecute(String scope, String ruleId,
- ExecuteGovernanceRuleParams executeGovernanceRuleParams, Context context);
-
- /**
- * Execute a governance rule.
- *
- * @param scope The scope of the Governance rules. Valid scopes are: management group (format:
- * 'providers/Microsoft.Management/managementGroups/{managementGroup}'), subscription (format:
- * 'subscriptions/{subscriptionId}'), or security connector (format:
- * 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName})'.
- * @param ruleId The governance rule key - unique key for the standard governance rule (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.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- void execute(String scope, String ruleId);
-
- /**
- * Execute a governance rule.
- *
- * @param scope The scope of the Governance rules. Valid scopes are: management group (format:
- * 'providers/Microsoft.Management/managementGroups/{managementGroup}'), subscription (format:
- * 'subscriptions/{subscriptionId}'), or security connector (format:
- * 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName})'.
- * @param ruleId The governance rule key - unique key for the standard governance rule (GUID).
- * @param executeGovernanceRuleParams Execute governance rule over a given 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.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- void execute(String scope, String ruleId, ExecuteGovernanceRuleParams executeGovernanceRuleParams, Context context);
-
- /**
- * Get governance rules long run operation result for the requested scope by ruleId and operationId.
- *
- * @param scope The scope of the Governance rules. Valid scopes are: management group (format:
- * 'providers/Microsoft.Management/managementGroups/{managementGroup}'), subscription (format:
- * 'subscriptions/{subscriptionId}'), or security connector (format:
- * 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName})'.
- * @param ruleId The governance rule key - unique key for the standard governance rule (GUID).
- * @param operationId The governance rule long running operation unique 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 governance rules long run operation result for the requested scope by ruleId and operationId.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- GovernanceRulesOperationResultsResponse operationResultsWithResponse(String scope, String ruleId,
- String operationId, Context context);
-
- /**
- * Get governance rules long run operation result for the requested scope by ruleId and operationId.
- *
- * @param scope The scope of the Governance rules. Valid scopes are: management group (format:
- * 'providers/Microsoft.Management/managementGroups/{managementGroup}'), subscription (format:
- * 'subscriptions/{subscriptionId}'), or security connector (format:
- * 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName})'.
- * @param ruleId The governance rule key - unique key for the standard governance rule (GUID).
- * @param operationId The governance rule long running operation unique 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 governance rules long run operation result for the requested scope by ruleId and operationId.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- OperationResultAutoGeneratedInner operationResults(String scope, String ruleId, String operationId);
-}
diff --git a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/HealthReportsClient.java b/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/HealthReportsClient.java
deleted file mode 100644
index 2db32bbb22aa4..0000000000000
--- a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/HealthReportsClient.java
+++ /dev/null
@@ -1,73 +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.HealthReportInner;
-
-/**
- * An instance of this class provides access to all the operations defined in HealthReportsClient.
- */
-public interface HealthReportsClient {
- /**
- * Get a list of all health reports inside a scope. Valid scopes are: subscription (format:
- * 'subscriptions/{subscriptionId}'), or security connector (format:
- * 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName})'.
- *
- * @param scope The scope at which the operation is performed.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.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 health reports inside a scope as paginated response with {@link PagedIterable}.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(String scope);
-
- /**
- * Get a list of all health reports inside a scope. Valid scopes are: subscription (format:
- * 'subscriptions/{subscriptionId}'), or security connector (format:
- * 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName})'.
- *
- * @param scope The scope at which the operation is performed.
- * @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 health reports inside a scope as paginated response with {@link PagedIterable}.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(String scope, Context context);
-
- /**
- * Get health report of resource.
- *
- * @param resourceId The identifier of the resource.
- * @param healthReportName The health report Key - Unique key for the health report 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 health report of resource along with {@link Response}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(String resourceId, String healthReportName, Context context);
-
- /**
- * Get health report of resource.
- *
- * @param resourceId The identifier of the resource.
- * @param healthReportName The health report Key - Unique key for the health report 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 health report of resource.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- HealthReportInner get(String resourceId, String healthReportName);
-}
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 4004e84aa1033..0000000000000
--- a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/InformationProtectionPoliciesClient.java
+++ /dev/null
@@ -1,110 +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.InformationProtectionPolicyName;
-
-/**
- * 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.
- * @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 along with {@link Response}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(String scope,
- InformationProtectionPolicyName 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.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.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, InformationProtectionPolicyName 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 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 along with {@link Response}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response createOrUpdateWithResponse(String scope,
- InformationProtectionPolicyName informationProtectionPolicyName,
- InformationProtectionPolicyInner informationProtectionPolicy, 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,
- InformationProtectionPolicyName informationProtectionPolicyName,
- InformationProtectionPolicyInner informationProtectionPolicy);
-
- /**
- * 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 as paginated response with {@link PagedIterable}.
- */
- @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 as paginated response with {@link PagedIterable}.
- */
- @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/LocationsClient.java b/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/LocationsClient.java
deleted file mode 100644
index 3addbc8dafd4c..0000000000000
--- a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/LocationsClient.java
+++ /dev/null
@@ -1,70 +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 as paginated response with {@link PagedIterable}.
- */
- @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 as paginated response with {@link PagedIterable}.
- */
- @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.
- * @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 along with {@link Response}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(String ascLocation, 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);
-}
diff --git a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/MdeOnboardingsClient.java b/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/MdeOnboardingsClient.java
deleted file mode 100644
index 1326b7d829a95..0000000000000
--- a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/MdeOnboardingsClient.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.MdeOnboardingDataInner;
-import com.azure.resourcemanager.security.fluent.models.MdeOnboardingDataListInner;
-
-/**
- * An instance of this class provides access to all the operations defined in MdeOnboardingsClient.
- */
-public interface MdeOnboardingsClient {
- /**
- * The configuration or data needed to onboard the machine to MDE.
- *
- * @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 MDE onboarding data resources along with {@link Response}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response listWithResponse(Context context);
-
- /**
- * The configuration or data needed to onboard the machine to MDE.
- *
- * @throws com.azure.core.management.exception.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 MDE onboarding data resources.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- MdeOnboardingDataListInner list();
-
- /**
- * The default configuration or data needed to onboard the machine to MDE.
- *
- * @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 resource of the configuration or data needed to onboard the machine to MDE along with
- * {@link Response}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(Context context);
-
- /**
- * The default configuration or data needed to onboard the machine to MDE.
- *
- * @throws com.azure.core.management.exception.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 resource of the configuration or data needed to onboard the machine to MDE.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- MdeOnboardingDataInner get();
-}
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 3ce1a1869f471..0000000000000
--- a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/OperationsClient.java
+++ /dev/null
@@ -1,40 +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 a list of REST API operations supported by an Azure Resource Provider as paginated response with
- * {@link PagedIterable}.
- */
- @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 a list of REST API operations supported by an Azure Resource Provider as paginated response with
- * {@link PagedIterable}.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(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 36f7fb66f1aee..0000000000000
--- a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/RegulatoryComplianceAssessmentsClient.java
+++ /dev/null
@@ -1,78 +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 as paginated response with {@link PagedIterable}.
- */
- @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 as paginated response with {@link PagedIterable}.
- */
- @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.
- * @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 along with {@link Response}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(String regulatoryComplianceStandardName,
- String regulatoryComplianceControlName, String regulatoryComplianceAssessmentName, 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);
-}
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 d5da21d079244..0000000000000
--- a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/RegulatoryComplianceControlsClient.java
+++ /dev/null
@@ -1,73 +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 as paginated response with {@link PagedIterable}.
- */
- @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 as paginated response with {@link PagedIterable}.
- */
- @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.
- * @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 along with {@link Response}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(String regulatoryComplianceStandardName,
- String regulatoryComplianceControlName, 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);
-}
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 598e1cdedbd42..0000000000000
--- a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/RegulatoryComplianceStandardsClient.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.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 as paginated response with {@link PagedIterable}.
- */
- @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 as paginated response with {@link PagedIterable}.
- */
- @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.
- * @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 along with {@link Response}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(String regulatoryComplianceStandardName,
- 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);
-}
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 5fd6a95031732..0b1eac75a8623 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
@@ -39,321 +39,6 @@ public interface SecurityCenter {
*/
Duration getDefaultPollInterval();
- /**
- * 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 WorkspaceSettingsClient object to access its operations.
- *
- * @return the WorkspaceSettingsClient object.
- */
- WorkspaceSettingsClient getWorkspaceSettings();
-
- /**
- * Gets the AlertsSuppressionRulesClient object to access its operations.
- *
- * @return the AlertsSuppressionRulesClient object.
- */
- AlertsSuppressionRulesClient getAlertsSuppressionRules();
-
- /**
- * 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 ConnectorsClient object to access its operations.
- *
- * @return the ConnectorsClient object.
- */
- ConnectorsClient getConnectors();
-
- /**
- * Gets the SoftwareInventoriesClient object to access its operations.
- *
- * @return the SoftwareInventoriesClient object.
- */
- SoftwareInventoriesClient getSoftwareInventories();
-
- /**
- * Gets the CustomAssessmentAutomationsClient object to access its operations.
- *
- * @return the CustomAssessmentAutomationsClient object.
- */
- CustomAssessmentAutomationsClient getCustomAssessmentAutomations();
-
- /**
- * Gets the CustomEntityStoreAssignmentsClient object to access its operations.
- *
- * @return the CustomEntityStoreAssignmentsClient object.
- */
- CustomEntityStoreAssignmentsClient getCustomEntityStoreAssignments();
-
- /**
- * Gets the MdeOnboardingsClient object to access its operations.
- *
- * @return the MdeOnboardingsClient object.
- */
- MdeOnboardingsClient getMdeOnboardings();
-
- /**
- * Gets the GovernanceAssignmentsClient object to access its operations.
- *
- * @return the GovernanceAssignmentsClient object.
- */
- GovernanceAssignmentsClient getGovernanceAssignments();
-
- /**
- * Gets the GovernanceRulesClient object to access its operations.
- *
- * @return the GovernanceRulesClient object.
- */
- GovernanceRulesClient getGovernanceRules();
-
- /**
- * Gets the ApplicationsClient object to access its operations.
- *
- * @return the ApplicationsClient object.
- */
- ApplicationsClient getApplications();
-
- /**
- * Gets the ApplicationOperationsClient object to access its operations.
- *
- * @return the ApplicationOperationsClient object.
- */
- ApplicationOperationsClient getApplicationOperations();
-
- /**
- * Gets the SecurityConnectorApplicationsClient object to access its operations.
- *
- * @return the SecurityConnectorApplicationsClient object.
- */
- SecurityConnectorApplicationsClient getSecurityConnectorApplications();
-
- /**
- * Gets the SecurityConnectorApplicationOperationsClient object to access its operations.
- *
- * @return the SecurityConnectorApplicationOperationsClient object.
- */
- SecurityConnectorApplicationOperationsClient getSecurityConnectorApplicationOperations();
-
- /**
- * Gets the DefenderForStoragesClient object to access its operations.
- *
- * @return the DefenderForStoragesClient object.
- */
- DefenderForStoragesClient getDefenderForStorages();
-
- /**
- * Gets the SecurityOperatorsClient object to access its operations.
- *
- * @return the SecurityOperatorsClient object.
- */
- SecurityOperatorsClient getSecurityOperators();
-
- /**
- * Gets the SqlVulnerabilityAssessmentBaselineRulesClient object to access its operations.
- *
- * @return the SqlVulnerabilityAssessmentBaselineRulesClient object.
- */
- SqlVulnerabilityAssessmentBaselineRulesClient getSqlVulnerabilityAssessmentBaselineRules();
-
- /**
- * 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 SensitivitySettingsClient object to access its operations.
- *
- * @return the SensitivitySettingsClient object.
- */
- SensitivitySettingsClient getSensitivitySettings();
-
- /**
- * Gets the HealthReportsClient object to access its operations.
- *
- * @return the HealthReportsClient object.
- */
- HealthReportsClient getHealthReports();
-
- /**
- * Gets the AutomationsClient object to access its operations.
- *
- * @return the AutomationsClient object.
- */
- AutomationsClient getAutomations();
-
- /**
- * Gets the SecurityContactsClient object to access its operations.
- *
- * @return the SecurityContactsClient object.
- */
- SecurityContactsClient getSecurityContacts();
-
- /**
- * Gets the SecurityConnectorsClient object to access its operations.
- *
- * @return the SecurityConnectorsClient object.
- */
- SecurityConnectorsClient getSecurityConnectors();
-
- /**
- * Gets the AzureDevOpsOrgsClient object to access its operations.
- *
- * @return the AzureDevOpsOrgsClient object.
- */
- AzureDevOpsOrgsClient getAzureDevOpsOrgs();
-
- /**
- * Gets the AzureDevOpsProjectsClient object to access its operations.
- *
- * @return the AzureDevOpsProjectsClient object.
- */
- AzureDevOpsProjectsClient getAzureDevOpsProjects();
-
- /**
- * Gets the AzureDevOpsReposClient object to access its operations.
- *
- * @return the AzureDevOpsReposClient object.
- */
- AzureDevOpsReposClient getAzureDevOpsRepos();
-
- /**
- * Gets the DevOpsConfigurationsClient object to access its operations.
- *
- * @return the DevOpsConfigurationsClient object.
- */
- DevOpsConfigurationsClient getDevOpsConfigurations();
-
- /**
- * Gets the DevOpsPoliciesClient object to access its operations.
- *
- * @return the DevOpsPoliciesClient object.
- */
- DevOpsPoliciesClient getDevOpsPolicies();
-
- /**
- * Gets the DevOpsPolicyAssignmentsClient object to access its operations.
- *
- * @return the DevOpsPolicyAssignmentsClient object.
- */
- DevOpsPolicyAssignmentsClient getDevOpsPolicyAssignments();
-
- /**
- * Gets the GitHubOwnersClient object to access its operations.
- *
- * @return the GitHubOwnersClient object.
- */
- GitHubOwnersClient getGitHubOwners();
-
- /**
- * Gets the GitHubReposClient object to access its operations.
- *
- * @return the GitHubReposClient object.
- */
- GitHubReposClient getGitHubRepos();
-
- /**
- * Gets the GitLabGroupsClient object to access its operations.
- *
- * @return the GitLabGroupsClient object.
- */
- GitLabGroupsClient getGitLabGroups();
-
- /**
- * Gets the GitLabSubgroupsClient object to access its operations.
- *
- * @return the GitLabSubgroupsClient object.
- */
- GitLabSubgroupsClient getGitLabSubgroups();
-
- /**
- * Gets the GitLabProjectsClient object to access its operations.
- *
- * @return the GitLabProjectsClient object.
- */
- GitLabProjectsClient getGitLabProjects();
-
- /**
- * Gets the DevOpsOperationResultsClient object to access its operations.
- *
- * @return the DevOpsOperationResultsClient object.
- */
- DevOpsOperationResultsClient getDevOpsOperationResults();
-
/**
* Gets the ComplianceResultsClient object to access its operations.
*
diff --git a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/SecurityConnectorApplicationOperationsClient.java b/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/SecurityConnectorApplicationOperationsClient.java
deleted file mode 100644
index 8a5151b952815..0000000000000
--- a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/SecurityConnectorApplicationOperationsClient.java
+++ /dev/null
@@ -1,115 +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.ApplicationInner;
-
-/**
- * An instance of this class provides access to all the operations defined in
- * SecurityConnectorApplicationOperationsClient.
- */
-public interface SecurityConnectorApplicationOperationsClient {
- /**
- * Get a specific application for the requested scope by applicationId.
- *
- * @param resourceGroupName The name of the resource group within the user's subscription. The name is case
- * insensitive.
- * @param securityConnectorName The security connector name.
- * @param applicationId The security Application key - unique key for the standard application.
- * @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 application for the requested scope by applicationId along with {@link Response}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(String resourceGroupName, String securityConnectorName,
- String applicationId, Context context);
-
- /**
- * Get a specific application for the requested scope by applicationId.
- *
- * @param resourceGroupName The name of the resource group within the user's subscription. The name is case
- * insensitive.
- * @param securityConnectorName The security connector name.
- * @param applicationId The security Application key - unique key for the standard application.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.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 application for the requested scope by applicationId.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- ApplicationInner get(String resourceGroupName, String securityConnectorName, String applicationId);
-
- /**
- * Creates or update a security Application on the given security connector.
- *
- * @param resourceGroupName The name of the resource group within the user's subscription. The name is case
- * insensitive.
- * @param securityConnectorName The security connector name.
- * @param applicationId The security Application key - unique key for the standard application.
- * @param application Application over a subscription 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 security Application over a given scope along with {@link Response}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response createOrUpdateWithResponse(String resourceGroupName, String securityConnectorName,
- String applicationId, ApplicationInner application, Context context);
-
- /**
- * Creates or update a security Application on the given security connector.
- *
- * @param resourceGroupName The name of the resource group within the user's subscription. The name is case
- * insensitive.
- * @param securityConnectorName The security connector name.
- * @param applicationId The security Application key - unique key for the standard application.
- * @param application Application over a subscription scope.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.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 Application over a given scope.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- ApplicationInner createOrUpdate(String resourceGroupName, String securityConnectorName, String applicationId,
- ApplicationInner application);
-
- /**
- * Delete an Application over a given scope.
- *
- * @param resourceGroupName The name of the resource group within the user's subscription. The name is case
- * insensitive.
- * @param securityConnectorName The security connector name.
- * @param applicationId The security Application key - unique key for the standard application.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link Response}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response deleteWithResponse(String resourceGroupName, String securityConnectorName, String applicationId,
- Context context);
-
- /**
- * Delete an Application over a given scope.
- *
- * @param resourceGroupName The name of the resource group within the user's subscription. The name is case
- * insensitive.
- * @param securityConnectorName The security connector name.
- * @param applicationId The security Application key - unique key for the standard application.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.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 securityConnectorName, String applicationId);
-}
diff --git a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/SecurityConnectorApplicationsClient.java b/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/SecurityConnectorApplicationsClient.java
deleted file mode 100644
index fd9ab063f4d8c..0000000000000
--- a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/SecurityConnectorApplicationsClient.java
+++ /dev/null
@@ -1,47 +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.ApplicationInner;
-
-/**
- * An instance of this class provides access to all the operations defined in SecurityConnectorApplicationsClient.
- */
-public interface SecurityConnectorApplicationsClient {
- /**
- * Get a list of all relevant applications over a security connector level scope.
- *
- * @param resourceGroupName The name of the resource group within the user's subscription. The name is case
- * insensitive.
- * @param securityConnectorName The security connector name.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a list of all relevant applications over a security connector level scope as paginated response with
- * {@link PagedIterable}.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(String resourceGroupName, String securityConnectorName);
-
- /**
- * Get a list of all relevant applications over a security connector level scope.
- *
- * @param resourceGroupName The name of the resource group within the user's subscription. The name is case
- * insensitive.
- * @param securityConnectorName The security connector name.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a list of all relevant applications over a security connector level scope as paginated response with
- * {@link PagedIterable}.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(String resourceGroupName, String securityConnectorName, Context context);
-}
diff --git a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/SecurityConnectorsClient.java b/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/SecurityConnectorsClient.java
deleted file mode 100644
index c213bebdc82b5..0000000000000
--- a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/SecurityConnectorsClient.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.SecurityConnectorInner;
-
-/**
- * An instance of this class provides access to all the operations defined in SecurityConnectorsClient.
- */
-public interface SecurityConnectorsClient {
- /**
- * Lists all the security connectors in the specified subscription. Use the 'nextLink' property in the response to
- * get the next page of security connectors 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 connectors response as paginated response with {@link PagedIterable}.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list();
-
- /**
- * Lists all the security connectors in the specified subscription. Use the 'nextLink' property in the response to
- * get the next page of security connectors 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 connectors response as paginated response with {@link PagedIterable}.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(Context context);
-
- /**
- * Lists all the security connectors in the specified resource group. Use the 'nextLink' property in the response to
- * get the next page of security connectors 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 connectors response as paginated response with {@link PagedIterable}.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable listByResourceGroup(String resourceGroupName);
-
- /**
- * Lists all the security connectors in the specified resource group. Use the 'nextLink' property in the response to
- * get the next page of security connectors 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 connectors response as paginated response with {@link PagedIterable}.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable listByResourceGroup(String resourceGroupName, Context context);
-
- /**
- * Retrieves details of a specific security connector.
- *
- * @param resourceGroupName The name of the resource group within the user's subscription. The name is case
- * insensitive.
- * @param securityConnectorName The security connector 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 connector resource along with {@link Response}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response getByResourceGroupWithResponse(String resourceGroupName,
- String securityConnectorName, Context context);
-
- /**
- * Retrieves details of a specific security connector.
- *
- * @param resourceGroupName The name of the resource group within the user's subscription. The name is case
- * insensitive.
- * @param securityConnectorName The security connector 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 connector resource.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- SecurityConnectorInner getByResourceGroup(String resourceGroupName, String securityConnectorName);
-
- /**
- * Creates or updates a security connector. If a security connector is already created and a subsequent request is
- * issued for the same security connector 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 securityConnectorName The security connector name.
- * @param securityConnector The security connector 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 connector resource along with {@link Response}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response createOrUpdateWithResponse(String resourceGroupName, String securityConnectorName,
- SecurityConnectorInner securityConnector, Context context);
-
- /**
- * Creates or updates a security connector. If a security connector is already created and a subsequent request is
- * issued for the same security connector 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 securityConnectorName The security connector name.
- * @param securityConnector The security connector 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 connector resource.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- SecurityConnectorInner createOrUpdate(String resourceGroupName, String securityConnectorName,
- SecurityConnectorInner securityConnector);
-
- /**
- * Updates a security connector.
- *
- * @param resourceGroupName The name of the resource group within the user's subscription. The name is case
- * insensitive.
- * @param securityConnectorName The security connector name.
- * @param securityConnector The security connector 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 connector resource along with {@link Response}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response updateWithResponse(String resourceGroupName, String securityConnectorName,
- SecurityConnectorInner securityConnector, Context context);
-
- /**
- * Updates a security connector.
- *
- * @param resourceGroupName The name of the resource group within the user's subscription. The name is case
- * insensitive.
- * @param securityConnectorName The security connector name.
- * @param securityConnector The security connector 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 connector resource.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- SecurityConnectorInner update(String resourceGroupName, String securityConnectorName,
- SecurityConnectorInner securityConnector);
-
- /**
- * Deletes a security connector.
- *
- * @param resourceGroupName The name of the resource group within the user's subscription. The name is case
- * insensitive.
- * @param securityConnectorName The security connector name.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link Response}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response deleteWithResponse(String resourceGroupName, String securityConnectorName, Context context);
-
- /**
- * Deletes a security connector.
- *
- * @param resourceGroupName The name of the resource group within the user's subscription. The name is case
- * insensitive.
- * @param securityConnectorName The security connector 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 securityConnectorName);
-}
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 ed6a348f7243b..0000000000000
--- a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/SecurityContactsClient.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.SecurityContactInner;
-import com.azure.resourcemanager.security.models.SecurityContactName;
-
-/**
- * An instance of this class provides access to all the operations defined in SecurityContactsClient.
- */
-public interface SecurityContactsClient {
- /**
- * List all 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 as paginated response with {@link PagedIterable}.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list();
-
- /**
- * List all 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 as paginated response with {@link PagedIterable}.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(Context context);
-
- /**
- * Get Default 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 default Security contact configurations for the subscription along with {@link Response}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(SecurityContactName securityContactName, Context context);
-
- /**
- * Get Default 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 default Security contact configurations for the subscription.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- SecurityContactInner get(SecurityContactName securityContactName);
-
- /**
- * Create 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 and configurations for notifications coming from Microsoft Defender for Cloud along with
- * {@link Response}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response createWithResponse(SecurityContactName securityContactName,
- SecurityContactInner securityContact, Context context);
-
- /**
- * Create 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 and configurations for notifications coming from Microsoft Defender for Cloud.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- SecurityContactInner create(SecurityContactName securityContactName, SecurityContactInner securityContact);
-
- /**
- * Delete 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 {@link Response}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response deleteWithResponse(SecurityContactName securityContactName, Context context);
-
- /**
- * Delete 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(SecurityContactName securityContactName);
-}
diff --git a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/SecurityOperatorsClient.java b/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/SecurityOperatorsClient.java
deleted file mode 100644
index 1971f46dd42ef..0000000000000
--- a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/SecurityOperatorsClient.java
+++ /dev/null
@@ -1,123 +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.SecurityOperatorInner;
-import com.azure.resourcemanager.security.fluent.models.SecurityOperatorListInner;
-
-/**
- * An instance of this class provides access to all the operations defined in SecurityOperatorsClient.
- */
-public interface SecurityOperatorsClient {
- /**
- * Lists Microsoft Defender for Cloud securityOperators in the subscription.
- *
- * @param pricingName name of the pricing configuration.
- * @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 SecurityOperator response along with {@link Response}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response listWithResponse(String pricingName, Context context);
-
- /**
- * Lists Microsoft Defender for Cloud securityOperators in the subscription.
- *
- * @param pricingName name of the pricing configuration.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.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 SecurityOperator response.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- SecurityOperatorListInner list(String pricingName);
-
- /**
- * Get a specific security operator for the requested scope.
- *
- * @param pricingName name of the pricing configuration.
- * @param securityOperatorName name of the securityOperator.
- * @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 operator for the requested scope along with {@link Response}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(String pricingName, String securityOperatorName, Context context);
-
- /**
- * Get a specific security operator for the requested scope.
- *
- * @param pricingName name of the pricing configuration.
- * @param securityOperatorName name of the securityOperator.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.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 operator for the requested scope.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- SecurityOperatorInner get(String pricingName, String securityOperatorName);
-
- /**
- * Creates Microsoft Defender for Cloud security operator on the given scope.
- *
- * @param pricingName name of the pricing configuration.
- * @param securityOperatorName name of the securityOperator.
- * @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 operator under a given subscription and pricing along with {@link Response}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response createOrUpdateWithResponse(String pricingName, String securityOperatorName,
- Context context);
-
- /**
- * Creates Microsoft Defender for Cloud security operator on the given scope.
- *
- * @param pricingName name of the pricing configuration.
- * @param securityOperatorName name of the securityOperator.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.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 operator under a given subscription and pricing.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- SecurityOperatorInner createOrUpdate(String pricingName, String securityOperatorName);
-
- /**
- * Delete Microsoft Defender for Cloud securityOperator in the subscription.
- *
- * @param pricingName name of the pricing configuration.
- * @param securityOperatorName name of the securityOperator.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link Response}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response deleteWithResponse(String pricingName, String securityOperatorName, Context context);
-
- /**
- * Delete Microsoft Defender for Cloud securityOperator in the subscription.
- *
- * @param pricingName name of the pricing configuration.
- * @param securityOperatorName name of the securityOperator.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.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 pricingName, String securityOperatorName);
-}
diff --git a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/SensitivitySettingsClient.java b/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/SensitivitySettingsClient.java
deleted file mode 100644
index 3a777e018198c..0000000000000
--- a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/SensitivitySettingsClient.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.Response;
-import com.azure.core.util.Context;
-import com.azure.resourcemanager.security.fluent.models.GetSensitivitySettingsListResponseInner;
-import com.azure.resourcemanager.security.fluent.models.GetSensitivitySettingsResponseInner;
-import com.azure.resourcemanager.security.models.UpdateSensitivitySettingsRequest;
-
-/**
- * An instance of this class provides access to all the operations defined in SensitivitySettingsClient.
- */
-public interface SensitivitySettingsClient {
- /**
- * Create or update data sensitivity settings for sensitive data discovery.
- *
- * @param sensitivitySettings The data sensitivity settings to update.
- * @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 data sensitivity settings for sensitive data discovery along with {@link Response}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response
- createOrUpdateWithResponse(UpdateSensitivitySettingsRequest sensitivitySettings, Context context);
-
- /**
- * Create or update data sensitivity settings for sensitive data discovery.
- *
- * @param sensitivitySettings The data sensitivity settings to update.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return data sensitivity settings for sensitive data discovery.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- GetSensitivitySettingsResponseInner createOrUpdate(UpdateSensitivitySettingsRequest sensitivitySettings);
-
- /**
- * Gets data sensitivity settings for sensitive data discovery.
- *
- * @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 data sensitivity settings for sensitive data discovery along with {@link Response}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(Context context);
-
- /**
- * Gets data sensitivity settings for sensitive data discovery.
- *
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return data sensitivity settings for sensitive data discovery.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- GetSensitivitySettingsResponseInner get();
-
- /**
- * Gets a list with a single sensitivity settings 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 with a single sensitivity settings resource along with {@link Response}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response listWithResponse(Context context);
-
- /**
- * Gets a list with a single sensitivity settings resource.
- *
- * @throws com.azure.core.management.exception.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 with a single sensitivity settings resource.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- GetSensitivitySettingsListResponseInner list();
-}
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
index 18ef6bb2b741e..f1bb9a7bd7409 100644
--- 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
@@ -10,7 +10,7 @@
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.SettingNameAutoGenerated;
+import com.azure.resourcemanager.security.models.SettingName;
/**
* An instance of this class provides access to all the operations defined in SettingsClient.
@@ -49,7 +49,7 @@ public interface SettingsClient {
* @return the kind of the security setting along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(SettingNameAutoGenerated settingName, Context context);
+ Response getWithResponse(SettingName settingName, Context context);
/**
* Settings of different configurations in Microsoft Defender for Cloud.
@@ -61,7 +61,7 @@ public interface SettingsClient {
* @return the kind of the security setting.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- SettingInner get(SettingNameAutoGenerated settingName);
+ SettingInner get(SettingName settingName);
/**
* updating settings about different configurations in Microsoft Defender for Cloud.
@@ -75,8 +75,7 @@ public interface SettingsClient {
* @return the kind of the security setting along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response updateWithResponse(SettingNameAutoGenerated settingName, SettingInner setting,
- Context context);
+ Response updateWithResponse(SettingName settingName, SettingInner setting, Context context);
/**
* updating settings about different configurations in Microsoft Defender for Cloud.
@@ -89,5 +88,5 @@ Response updateWithResponse(SettingNameAutoGenerated settingName,
* @return the kind of the security setting.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- SettingInner update(SettingNameAutoGenerated settingName, SettingInner setting);
+ SettingInner update(SettingName settingName, SettingInner setting);
}
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 44c87aa6b3438..0000000000000
--- a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/SoftwareInventoriesClient.java
+++ /dev/null
@@ -1,113 +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 as paginated response with {@link PagedIterable}.
- */
- @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 as paginated response with {@link PagedIterable}.
- */
- @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 as paginated response with
- * {@link PagedIterable}.
- */
- @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 as paginated response with
- * {@link PagedIterable}.
- */
- @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.
- * @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 along with {@link Response}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(String resourceGroupName, String resourceNamespace, String resourceType,
- String resourceName, String softwareName, 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);
-}
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 4ddb2758ac869..0000000000000
--- 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.
- * @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 along with {@link Response}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response createOrUpdateWithResponse(String ruleId, String workspaceId, String resourceId,
- RuleResultsInput body, Context context);
-
- /**
- * 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);
-
- /**
- * 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 along with {@link Response}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(String ruleId, String workspaceId, String resourceId, 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);
-
- /**
- * 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 {@link Response}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response deleteWithResponse(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);
-
- /**
- * 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 along with {@link Response}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response listWithResponse(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);
-
- /**
- * 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 along with {@link Response}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response addWithResponse(String workspaceId, String resourceId, RulesResultsInput body,
- 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);
-}
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 c669c0462cd7b..0000000000000
--- 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.
- * @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 along with {@link Response}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(String scanId, String scanResultId, String workspaceId, String resourceId,
- Context context);
-
- /**
- * 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 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 along with {@link Response}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response listWithResponse(String scanId, 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);
-}
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 d87cdc9a55830..0000000000000
--- a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/SqlVulnerabilityAssessmentScansClient.java
+++ /dev/null
@@ -1,73 +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.
- * @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 along with {@link Response}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(String scanId, String workspaceId, String resourceId, Context context);
-
- /**
- * 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 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 along with {@link Response}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response listWithResponse(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);
-}
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 4c3cc7e17d9d7..0000000000000
--- a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/SubAssessmentsClient.java
+++ /dev/null
@@ -1,109 +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 as paginated response
- * with {@link PagedIterable}.
- */
- @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 as paginated response
- * with {@link PagedIterable}.
- */
- @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 as paginated response with
- * {@link PagedIterable}.
- */
- @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 as paginated response with
- * {@link PagedIterable}.
- */
- @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.
- * @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 along with {@link Response}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(String scope, String assessmentName, String subAssessmentName,
- 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);
-}
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 5e45193f7e01e..0000000000000
--- a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/TasksClient.java
+++ /dev/null
@@ -1,234 +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.TaskUpdateActionType;
-
-/**
- * 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 as paginated response with {@link PagedIterable}.
- */
- @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 as paginated response with {@link PagedIterable}.
- */
- @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 as paginated response with {@link PagedIterable}.
- */
- @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 as paginated response with {@link PagedIterable}.
- */
- @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.
- * @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 along with {@link Response}.
- */
- @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.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.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 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 {@link Response}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response updateSubscriptionLevelTaskStateWithResponse(String ascLocation, String taskName,
- TaskUpdateActionType taskUpdateActionType, 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,
- TaskUpdateActionType 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.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.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 as paginated response with {@link PagedIterable}.
- */
- @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 as paginated response with {@link PagedIterable}.
- */
- @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.
- * @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 along with {@link Response}.
- */
- @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.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.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 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 {@link Response}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response updateResourceGroupLevelTaskStateWithResponse(String resourceGroupName, String ascLocation,
- String taskName, TaskUpdateActionType 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.
- * @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,
- TaskUpdateActionType taskUpdateActionType);
-}
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 246993e8efde6..0000000000000
--- a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/WorkspaceSettingsClient.java
+++ /dev/null
@@ -1,148 +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 as paginated response with {@link PagedIterable}.
- */
- @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 as paginated response with {@link PagedIterable}.
- */
- @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.
- * @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 along with {@link Response}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(String workspaceSettingName, 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);
-
- /**
- * 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 along with {@link Response}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response createWithResponse(String workspaceSettingName,
- WorkspaceSettingInner workspaceSetting, 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);
-
- /**
- * 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 along with {@link Response}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response updateWithResponse(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);
-
- /**
- * 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 {@link Response}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response deleteWithResponse(String workspaceSettingName, 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);
-}
diff --git a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/models/AlertsSuppressionRuleInner.java b/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/models/AlertsSuppressionRuleInner.java
deleted file mode 100644
index b82361145a2d1..0000000000000
--- a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/models/AlertsSuppressionRuleInner.java
+++ /dev/null
@@ -1,290 +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.management.ProxyResource;
-import com.azure.json.JsonReader;
-import com.azure.json.JsonToken;
-import com.azure.json.JsonWriter;
-import com.azure.resourcemanager.security.models.RuleState;
-import com.azure.resourcemanager.security.models.SuppressionAlertsScope;
-import java.io.IOException;
-import java.time.OffsetDateTime;
-
-/**
- * Describes the suppression rule.
- */
-@Fluent
-public final class AlertsSuppressionRuleInner extends ProxyResource {
- /*
- * describes AlertsSuppressionRule properties
- */
- private AlertsSuppressionRuleProperties innerProperties;
-
- /*
- * The type of the resource.
- */
- private String type;
-
- /*
- * The name of the resource.
- */
- private String name;
-
- /*
- * Fully qualified resource Id for the resource.
- */
- private String id;
-
- /**
- * Creates an instance of AlertsSuppressionRuleInner class.
- */
- public AlertsSuppressionRuleInner() {
- }
-
- /**
- * Get the innerProperties property: describes AlertsSuppressionRule properties.
- *
- * @return the innerProperties value.
- */
- private AlertsSuppressionRuleProperties innerProperties() {
- return this.innerProperties;
- }
-
- /**
- * Get the type property: The type of the resource.
- *
- * @return the type value.
- */
- @Override
- public String type() {
- return this.type;
- }
-
- /**
- * Get the name property: The name of the resource.
- *
- * @return the name value.
- */
- @Override
- public String name() {
- return this.name;
- }
-
- /**
- * Get the id property: Fully qualified resource Id for the resource.
- *
- * @return the id value.
- */
- @Override
- public String id() {
- return this.id;
- }
-
- /**
- * Get the alertType property: Type of the alert to automatically suppress. For all alert types, use '*'.
- *
- * @return the alertType value.
- */
- public String alertType() {
- return this.innerProperties() == null ? null : this.innerProperties().alertType();
- }
-
- /**
- * Set the alertType property: Type of the alert to automatically suppress. For all alert types, use '*'.
- *
- * @param alertType the alertType value to set.
- * @return the AlertsSuppressionRuleInner object itself.
- */
- public AlertsSuppressionRuleInner withAlertType(String alertType) {
- if (this.innerProperties() == null) {
- this.innerProperties = new AlertsSuppressionRuleProperties();
- }
- this.innerProperties().withAlertType(alertType);
- return this;
- }
-
- /**
- * Get the lastModifiedUtc property: The last time this rule was modified.
- *
- * @return the lastModifiedUtc value.
- */
- public OffsetDateTime lastModifiedUtc() {
- return this.innerProperties() == null ? null : this.innerProperties().lastModifiedUtc();
- }
-
- /**
- * Get the expirationDateUtc property: Expiration date of the rule, if value is not provided or provided as null
- * there will no expiration at all.
- *
- * @return the expirationDateUtc value.
- */
- public OffsetDateTime expirationDateUtc() {
- return this.innerProperties() == null ? null : this.innerProperties().expirationDateUtc();
- }
-
- /**
- * Set the expirationDateUtc property: Expiration date of the rule, if value is not provided or provided as null
- * there will no expiration at all.
- *
- * @param expirationDateUtc the expirationDateUtc value to set.
- * @return the AlertsSuppressionRuleInner object itself.
- */
- public AlertsSuppressionRuleInner withExpirationDateUtc(OffsetDateTime expirationDateUtc) {
- if (this.innerProperties() == null) {
- this.innerProperties = new AlertsSuppressionRuleProperties();
- }
- this.innerProperties().withExpirationDateUtc(expirationDateUtc);
- return this;
- }
-
- /**
- * Get the reason property: The reason for dismissing the alert.
- *
- * @return the reason value.
- */
- public String reason() {
- return this.innerProperties() == null ? null : this.innerProperties().reason();
- }
-
- /**
- * Set the reason property: The reason for dismissing the alert.
- *
- * @param reason the reason value to set.
- * @return the AlertsSuppressionRuleInner object itself.
- */
- public AlertsSuppressionRuleInner withReason(String reason) {
- if (this.innerProperties() == null) {
- this.innerProperties = new AlertsSuppressionRuleProperties();
- }
- this.innerProperties().withReason(reason);
- return this;
- }
-
- /**
- * Get the state property: Possible states of the rule.
- *
- * @return the state value.
- */
- public RuleState state() {
- return this.innerProperties() == null ? null : this.innerProperties().state();
- }
-
- /**
- * Set the state property: Possible states of the rule.
- *
- * @param state the state value to set.
- * @return the AlertsSuppressionRuleInner object itself.
- */
- public AlertsSuppressionRuleInner withState(RuleState state) {
- if (this.innerProperties() == null) {
- this.innerProperties = new AlertsSuppressionRuleProperties();
- }
- this.innerProperties().withState(state);
- return this;
- }
-
- /**
- * Get the comment property: Any comment regarding the rule.
- *
- * @return the comment value.
- */
- public String comment() {
- return this.innerProperties() == null ? null : this.innerProperties().comment();
- }
-
- /**
- * Set the comment property: Any comment regarding the rule.
- *
- * @param comment the comment value to set.
- * @return the AlertsSuppressionRuleInner object itself.
- */
- public AlertsSuppressionRuleInner withComment(String comment) {
- if (this.innerProperties() == null) {
- this.innerProperties = new AlertsSuppressionRuleProperties();
- }
- this.innerProperties().withComment(comment);
- return this;
- }
-
- /**
- * Get the suppressionAlertsScope property: The suppression conditions.
- *
- * @return the suppressionAlertsScope value.
- */
- public SuppressionAlertsScope suppressionAlertsScope() {
- return this.innerProperties() == null ? null : this.innerProperties().suppressionAlertsScope();
- }
-
- /**
- * Set the suppressionAlertsScope property: The suppression conditions.
- *
- * @param suppressionAlertsScope the suppressionAlertsScope value to set.
- * @return the AlertsSuppressionRuleInner object itself.
- */
- public AlertsSuppressionRuleInner withSuppressionAlertsScope(SuppressionAlertsScope suppressionAlertsScope) {
- if (this.innerProperties() == null) {
- this.innerProperties = new AlertsSuppressionRuleProperties();
- }
- this.innerProperties().withSuppressionAlertsScope(suppressionAlertsScope);
- return this;
- }
-
- /**
- * Validates the instance.
- *
- * @throws IllegalArgumentException thrown if the instance is not valid.
- */
- public void validate() {
- if (innerProperties() != null) {
- innerProperties().validate();
- }
- }
-
- /**
- * {@inheritDoc}
- */
- @Override
- public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
- jsonWriter.writeStartObject();
- jsonWriter.writeJsonField("properties", this.innerProperties);
- return jsonWriter.writeEndObject();
- }
-
- /**
- * Reads an instance of AlertsSuppressionRuleInner from the JsonReader.
- *
- * @param jsonReader The JsonReader being read.
- * @return An instance of AlertsSuppressionRuleInner if the JsonReader was pointing to an instance of it, or null if
- * it was pointing to JSON null.
- * @throws IllegalStateException If the deserialized JSON object was missing any required properties.
- * @throws IOException If an error occurs while reading the AlertsSuppressionRuleInner.
- */
- public static AlertsSuppressionRuleInner fromJson(JsonReader jsonReader) throws IOException {
- return jsonReader.readObject(reader -> {
- AlertsSuppressionRuleInner deserializedAlertsSuppressionRuleInner = new AlertsSuppressionRuleInner();
- while (reader.nextToken() != JsonToken.END_OBJECT) {
- String fieldName = reader.getFieldName();
- reader.nextToken();
-
- if ("id".equals(fieldName)) {
- deserializedAlertsSuppressionRuleInner.id = reader.getString();
- } else if ("name".equals(fieldName)) {
- deserializedAlertsSuppressionRuleInner.name = reader.getString();
- } else if ("type".equals(fieldName)) {
- deserializedAlertsSuppressionRuleInner.type = reader.getString();
- } else if ("properties".equals(fieldName)) {
- deserializedAlertsSuppressionRuleInner.innerProperties
- = AlertsSuppressionRuleProperties.fromJson(reader);
- } else {
- reader.skipChildren();
- }
- }
-
- return deserializedAlertsSuppressionRuleInner;
- });
- }
-}
diff --git a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/models/AlertsSuppressionRuleProperties.java b/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/models/AlertsSuppressionRuleProperties.java
deleted file mode 100644
index b7d82f67d8ea8..0000000000000
--- a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/models/AlertsSuppressionRuleProperties.java
+++ /dev/null
@@ -1,285 +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.util.CoreUtils;
-import com.azure.core.util.logging.ClientLogger;
-import com.azure.json.JsonReader;
-import com.azure.json.JsonSerializable;
-import com.azure.json.JsonToken;
-import com.azure.json.JsonWriter;
-import com.azure.resourcemanager.security.models.RuleState;
-import com.azure.resourcemanager.security.models.SuppressionAlertsScope;
-import java.io.IOException;
-import java.time.OffsetDateTime;
-import java.time.format.DateTimeFormatter;
-
-/**
- * describes AlertsSuppressionRule properties.
- */
-@Fluent
-public final class AlertsSuppressionRuleProperties implements JsonSerializable {
- /*
- * Type of the alert to automatically suppress. For all alert types, use '*'
- */
- private String alertType;
-
- /*
- * The last time this rule was modified
- */
- private OffsetDateTime lastModifiedUtc;
-
- /*
- * Expiration date of the rule, if value is not provided or provided as null there will no expiration at all
- */
- private OffsetDateTime expirationDateUtc;
-
- /*
- * The reason for dismissing the alert
- */
- private String reason;
-
- /*
- * Possible states of the rule
- */
- private RuleState state;
-
- /*
- * Any comment regarding the rule
- */
- private String comment;
-
- /*
- * The suppression conditions
- */
- private SuppressionAlertsScope suppressionAlertsScope;
-
- /**
- * Creates an instance of AlertsSuppressionRuleProperties class.
- */
- public AlertsSuppressionRuleProperties() {
- }
-
- /**
- * Get the alertType property: Type of the alert to automatically suppress. For all alert types, use '*'.
- *
- * @return the alertType value.
- */
- public String alertType() {
- return this.alertType;
- }
-
- /**
- * Set the alertType property: Type of the alert to automatically suppress. For all alert types, use '*'.
- *
- * @param alertType the alertType value to set.
- * @return the AlertsSuppressionRuleProperties object itself.
- */
- public AlertsSuppressionRuleProperties withAlertType(String alertType) {
- this.alertType = alertType;
- return this;
- }
-
- /**
- * Get the lastModifiedUtc property: The last time this rule was modified.
- *
- * @return the lastModifiedUtc value.
- */
- public OffsetDateTime lastModifiedUtc() {
- return this.lastModifiedUtc;
- }
-
- /**
- * Get the expirationDateUtc property: Expiration date of the rule, if value is not provided or provided as null
- * there will no expiration at all.
- *
- * @return the expirationDateUtc value.
- */
- public OffsetDateTime expirationDateUtc() {
- return this.expirationDateUtc;
- }
-
- /**
- * Set the expirationDateUtc property: Expiration date of the rule, if value is not provided or provided as null
- * there will no expiration at all.
- *
- * @param expirationDateUtc the expirationDateUtc value to set.
- * @return the AlertsSuppressionRuleProperties object itself.
- */
- public AlertsSuppressionRuleProperties withExpirationDateUtc(OffsetDateTime expirationDateUtc) {
- this.expirationDateUtc = expirationDateUtc;
- return this;
- }
-
- /**
- * Get the reason property: The reason for dismissing the alert.
- *
- * @return the reason value.
- */
- public String reason() {
- return this.reason;
- }
-
- /**
- * Set the reason property: The reason for dismissing the alert.
- *
- * @param reason the reason value to set.
- * @return the AlertsSuppressionRuleProperties object itself.
- */
- public AlertsSuppressionRuleProperties withReason(String reason) {
- this.reason = reason;
- return this;
- }
-
- /**
- * Get the state property: Possible states of the rule.
- *
- * @return the state value.
- */
- public RuleState state() {
- return this.state;
- }
-
- /**
- * Set the state property: Possible states of the rule.
- *
- * @param state the state value to set.
- * @return the AlertsSuppressionRuleProperties object itself.
- */
- public AlertsSuppressionRuleProperties withState(RuleState state) {
- this.state = state;
- return this;
- }
-
- /**
- * Get the comment property: Any comment regarding the rule.
- *
- * @return the comment value.
- */
- public String comment() {
- return this.comment;
- }
-
- /**
- * Set the comment property: Any comment regarding the rule.
- *
- * @param comment the comment value to set.
- * @return the AlertsSuppressionRuleProperties object itself.
- */
- public AlertsSuppressionRuleProperties withComment(String comment) {
- this.comment = comment;
- return this;
- }
-
- /**
- * Get the suppressionAlertsScope property: The suppression conditions.
- *
- * @return the suppressionAlertsScope value.
- */
- public SuppressionAlertsScope suppressionAlertsScope() {
- return this.suppressionAlertsScope;
- }
-
- /**
- * Set the suppressionAlertsScope property: The suppression conditions.
- *
- * @param suppressionAlertsScope the suppressionAlertsScope value to set.
- * @return the AlertsSuppressionRuleProperties object itself.
- */
- public AlertsSuppressionRuleProperties withSuppressionAlertsScope(SuppressionAlertsScope suppressionAlertsScope) {
- this.suppressionAlertsScope = suppressionAlertsScope;
- return this;
- }
-
- /**
- * Validates the instance.
- *
- * @throws IllegalArgumentException thrown if the instance is not valid.
- */
- public void validate() {
- if (alertType() == null) {
- throw LOGGER.atError()
- .log(new IllegalArgumentException(
- "Missing required property alertType in model AlertsSuppressionRuleProperties"));
- }
- if (reason() == null) {
- throw LOGGER.atError()
- .log(new IllegalArgumentException(
- "Missing required property reason in model AlertsSuppressionRuleProperties"));
- }
- if (state() == null) {
- throw LOGGER.atError()
- .log(new IllegalArgumentException(
- "Missing required property state in model AlertsSuppressionRuleProperties"));
- }
- if (suppressionAlertsScope() != null) {
- suppressionAlertsScope().validate();
- }
- }
-
- private static final ClientLogger LOGGER = new ClientLogger(AlertsSuppressionRuleProperties.class);
-
- /**
- * {@inheritDoc}
- */
- @Override
- public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
- jsonWriter.writeStartObject();
- jsonWriter.writeStringField("alertType", this.alertType);
- jsonWriter.writeStringField("reason", this.reason);
- jsonWriter.writeStringField("state", this.state == null ? null : this.state.toString());
- jsonWriter.writeStringField("expirationDateUtc",
- this.expirationDateUtc == null
- ? null
- : DateTimeFormatter.ISO_OFFSET_DATE_TIME.format(this.expirationDateUtc));
- jsonWriter.writeStringField("comment", this.comment);
- jsonWriter.writeJsonField("suppressionAlertsScope", this.suppressionAlertsScope);
- return jsonWriter.writeEndObject();
- }
-
- /**
- * Reads an instance of AlertsSuppressionRuleProperties from the JsonReader.
- *
- * @param jsonReader The JsonReader being read.
- * @return An instance of AlertsSuppressionRuleProperties if the JsonReader was pointing to an instance of it, or
- * null if it was pointing to JSON null.
- * @throws IllegalStateException If the deserialized JSON object was missing any required properties.
- * @throws IOException If an error occurs while reading the AlertsSuppressionRuleProperties.
- */
- public static AlertsSuppressionRuleProperties fromJson(JsonReader jsonReader) throws IOException {
- return jsonReader.readObject(reader -> {
- AlertsSuppressionRuleProperties deserializedAlertsSuppressionRuleProperties
- = new AlertsSuppressionRuleProperties();
- while (reader.nextToken() != JsonToken.END_OBJECT) {
- String fieldName = reader.getFieldName();
- reader.nextToken();
-
- if ("alertType".equals(fieldName)) {
- deserializedAlertsSuppressionRuleProperties.alertType = reader.getString();
- } else if ("reason".equals(fieldName)) {
- deserializedAlertsSuppressionRuleProperties.reason = reader.getString();
- } else if ("state".equals(fieldName)) {
- deserializedAlertsSuppressionRuleProperties.state = RuleState.fromString(reader.getString());
- } else if ("lastModifiedUtc".equals(fieldName)) {
- deserializedAlertsSuppressionRuleProperties.lastModifiedUtc = reader
- .getNullable(nonNullReader -> CoreUtils.parseBestOffsetDateTime(nonNullReader.getString()));
- } else if ("expirationDateUtc".equals(fieldName)) {
- deserializedAlertsSuppressionRuleProperties.expirationDateUtc = reader
- .getNullable(nonNullReader -> CoreUtils.parseBestOffsetDateTime(nonNullReader.getString()));
- } else if ("comment".equals(fieldName)) {
- deserializedAlertsSuppressionRuleProperties.comment = reader.getString();
- } else if ("suppressionAlertsScope".equals(fieldName)) {
- deserializedAlertsSuppressionRuleProperties.suppressionAlertsScope
- = SuppressionAlertsScope.fromJson(reader);
- } else {
- reader.skipChildren();
- }
- }
-
- return deserializedAlertsSuppressionRuleProperties;
- });
- }
-}
diff --git a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/models/ApplicationInner.java b/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/models/ApplicationInner.java
deleted file mode 100644
index 15d33f5044d47..0000000000000
--- a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/models/ApplicationInner.java
+++ /dev/null
@@ -1,231 +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.management.ProxyResource;
-import com.azure.json.JsonReader;
-import com.azure.json.JsonToken;
-import com.azure.json.JsonWriter;
-import com.azure.resourcemanager.security.models.ApplicationSourceResourceType;
-import java.io.IOException;
-import java.util.List;
-
-/**
- * Security Application over a given scope.
- */
-@Fluent
-public final class ApplicationInner extends ProxyResource {
- /*
- * Properties of a security application
- */
- private ApplicationProperties innerProperties;
-
- /*
- * The type of the resource.
- */
- private String type;
-
- /*
- * The name of the resource.
- */
- private String name;
-
- /*
- * Fully qualified resource Id for the resource.
- */
- private String id;
-
- /**
- * Creates an instance of ApplicationInner class.
- */
- public ApplicationInner() {
- }
-
- /**
- * Get the innerProperties property: Properties of a security application.
- *
- * @return the innerProperties value.
- */
- private ApplicationProperties innerProperties() {
- return this.innerProperties;
- }
-
- /**
- * Get the type property: The type of the resource.
- *
- * @return the type value.
- */
- @Override
- public String type() {
- return this.type;
- }
-
- /**
- * Get the name property: The name of the resource.
- *
- * @return the name value.
- */
- @Override
- public String name() {
- return this.name;
- }
-
- /**
- * Get the id property: Fully qualified resource Id for the resource.
- *
- * @return the id value.
- */
- @Override
- public String id() {
- return this.id;
- }
-
- /**
- * Get the displayName property: display name of the application.
- *
- * @return the displayName value.
- */
- public String displayName() {
- return this.innerProperties() == null ? null : this.innerProperties().displayName();
- }
-
- /**
- * Set the displayName property: display name of the application.
- *
- * @param displayName the displayName value to set.
- * @return the ApplicationInner object itself.
- */
- public ApplicationInner withDisplayName(String displayName) {
- if (this.innerProperties() == null) {
- this.innerProperties = new ApplicationProperties();
- }
- this.innerProperties().withDisplayName(displayName);
- return this;
- }
-
- /**
- * Get the description property: description of the application.
- *
- * @return the description value.
- */
- public String description() {
- return this.innerProperties() == null ? null : this.innerProperties().description();
- }
-
- /**
- * Set the description property: description of the application.
- *
- * @param description the description value to set.
- * @return the ApplicationInner object itself.
- */
- public ApplicationInner withDescription(String description) {
- if (this.innerProperties() == null) {
- this.innerProperties = new ApplicationProperties();
- }
- this.innerProperties().withDescription(description);
- return this;
- }
-
- /**
- * Get the sourceResourceType property: The application source, what it affects, e.g. Assessments.
- *
- * @return the sourceResourceType value.
- */
- public ApplicationSourceResourceType sourceResourceType() {
- return this.innerProperties() == null ? null : this.innerProperties().sourceResourceType();
- }
-
- /**
- * Set the sourceResourceType property: The application source, what it affects, e.g. Assessments.
- *
- * @param sourceResourceType the sourceResourceType value to set.
- * @return the ApplicationInner object itself.
- */
- public ApplicationInner withSourceResourceType(ApplicationSourceResourceType sourceResourceType) {
- if (this.innerProperties() == null) {
- this.innerProperties = new ApplicationProperties();
- }
- this.innerProperties().withSourceResourceType(sourceResourceType);
- return this;
- }
-
- /**
- * Get the conditionSets property: The application conditionSets - see examples.
- *
- * @return the conditionSets value.
- */
- public List