|
34 | 34 | import com.azure.resourcemanager.security.implementation.ComplianceResultsImpl; |
35 | 35 | import com.azure.resourcemanager.security.implementation.CompliancesImpl; |
36 | 36 | import com.azure.resourcemanager.security.implementation.ConnectorsImpl; |
| 37 | +import com.azure.resourcemanager.security.implementation.CustomAssessmentAutomationsImpl; |
| 38 | +import com.azure.resourcemanager.security.implementation.CustomEntityStoreAssignmentsImpl; |
37 | 39 | import com.azure.resourcemanager.security.implementation.DeviceSecurityGroupsImpl; |
38 | | -import com.azure.resourcemanager.security.implementation.DevicesForHubsImpl; |
39 | | -import com.azure.resourcemanager.security.implementation.DevicesForSubscriptionsImpl; |
40 | | -import com.azure.resourcemanager.security.implementation.DevicesImpl; |
41 | 40 | import com.azure.resourcemanager.security.implementation.DiscoveredSecuritySolutionsImpl; |
42 | 41 | import com.azure.resourcemanager.security.implementation.ExternalSecuritySolutionsImpl; |
43 | 42 | import com.azure.resourcemanager.security.implementation.InformationProtectionPoliciesImpl; |
44 | 43 | import com.azure.resourcemanager.security.implementation.IngestionSettingsImpl; |
45 | | -import com.azure.resourcemanager.security.implementation.IotAlertTypesImpl; |
46 | | -import com.azure.resourcemanager.security.implementation.IotAlertsImpl; |
47 | | -import com.azure.resourcemanager.security.implementation.IotDefenderSettingsImpl; |
48 | | -import com.azure.resourcemanager.security.implementation.IotRecommendationTypesImpl; |
49 | | -import com.azure.resourcemanager.security.implementation.IotRecommendationsImpl; |
50 | 44 | import com.azure.resourcemanager.security.implementation.IotSecuritySolutionAnalyticsImpl; |
51 | 45 | import com.azure.resourcemanager.security.implementation.IotSecuritySolutionsAnalyticsAggregatedAlertsImpl; |
52 | 46 | import com.azure.resourcemanager.security.implementation.IotSecuritySolutionsAnalyticsRecommendationsImpl; |
53 | 47 | import com.azure.resourcemanager.security.implementation.IotSecuritySolutionsImpl; |
54 | | -import com.azure.resourcemanager.security.implementation.IotSensorsImpl; |
55 | | -import com.azure.resourcemanager.security.implementation.IotSitesImpl; |
56 | 48 | import com.azure.resourcemanager.security.implementation.JitNetworkAccessPoliciesImpl; |
57 | 49 | import com.azure.resourcemanager.security.implementation.LocationsImpl; |
58 | | -import com.azure.resourcemanager.security.implementation.OnPremiseIotSensorsImpl; |
| 50 | +import com.azure.resourcemanager.security.implementation.MdeOnboardingsImpl; |
59 | 51 | import com.azure.resourcemanager.security.implementation.OperationsImpl; |
60 | 52 | import com.azure.resourcemanager.security.implementation.PricingsImpl; |
61 | 53 | import com.azure.resourcemanager.security.implementation.RegulatoryComplianceAssessmentsImpl; |
|
91 | 83 | import com.azure.resourcemanager.security.models.ComplianceResults; |
92 | 84 | import com.azure.resourcemanager.security.models.Compliances; |
93 | 85 | import com.azure.resourcemanager.security.models.Connectors; |
| 86 | +import com.azure.resourcemanager.security.models.CustomAssessmentAutomations; |
| 87 | +import com.azure.resourcemanager.security.models.CustomEntityStoreAssignments; |
94 | 88 | import com.azure.resourcemanager.security.models.DeviceSecurityGroups; |
95 | | -import com.azure.resourcemanager.security.models.Devices; |
96 | | -import com.azure.resourcemanager.security.models.DevicesForHubs; |
97 | | -import com.azure.resourcemanager.security.models.DevicesForSubscriptions; |
98 | 89 | import com.azure.resourcemanager.security.models.DiscoveredSecuritySolutions; |
99 | 90 | import com.azure.resourcemanager.security.models.ExternalSecuritySolutions; |
100 | 91 | import com.azure.resourcemanager.security.models.InformationProtectionPolicies; |
101 | 92 | import com.azure.resourcemanager.security.models.IngestionSettings; |
102 | | -import com.azure.resourcemanager.security.models.IotAlertTypes; |
103 | | -import com.azure.resourcemanager.security.models.IotAlerts; |
104 | | -import com.azure.resourcemanager.security.models.IotDefenderSettings; |
105 | | -import com.azure.resourcemanager.security.models.IotRecommendationTypes; |
106 | | -import com.azure.resourcemanager.security.models.IotRecommendations; |
107 | 93 | import com.azure.resourcemanager.security.models.IotSecuritySolutionAnalytics; |
108 | 94 | import com.azure.resourcemanager.security.models.IotSecuritySolutions; |
109 | 95 | import com.azure.resourcemanager.security.models.IotSecuritySolutionsAnalyticsAggregatedAlerts; |
110 | 96 | import com.azure.resourcemanager.security.models.IotSecuritySolutionsAnalyticsRecommendations; |
111 | | -import com.azure.resourcemanager.security.models.IotSensors; |
112 | | -import com.azure.resourcemanager.security.models.IotSites; |
113 | 97 | import com.azure.resourcemanager.security.models.JitNetworkAccessPolicies; |
114 | 98 | import com.azure.resourcemanager.security.models.Locations; |
115 | | -import com.azure.resourcemanager.security.models.OnPremiseIotSensors; |
| 99 | +import com.azure.resourcemanager.security.models.MdeOnboardings; |
116 | 100 | import com.azure.resourcemanager.security.models.Operations; |
117 | 101 | import com.azure.resourcemanager.security.models.Pricings; |
118 | 102 | import com.azure.resourcemanager.security.models.RegulatoryComplianceAssessments; |
|
142 | 126 |
|
143 | 127 | /** Entry point to SecurityManager. API spec for Microsoft.Security (Azure Security Center) resource provider. */ |
144 | 128 | public final class SecurityManager { |
| 129 | + private MdeOnboardings mdeOnboardings; |
| 130 | + |
| 131 | + private CustomAssessmentAutomations customAssessmentAutomations; |
| 132 | + |
| 133 | + private CustomEntityStoreAssignments customEntityStoreAssignments; |
| 134 | + |
145 | 135 | private ComplianceResults complianceResults; |
146 | 136 |
|
147 | 137 | private Pricings pricings; |
@@ -224,28 +214,6 @@ public final class SecurityManager { |
224 | 214 |
|
225 | 215 | private SqlVulnerabilityAssessmentBaselineRules sqlVulnerabilityAssessmentBaselineRules; |
226 | 216 |
|
227 | | - private IotDefenderSettings iotDefenderSettings; |
228 | | - |
229 | | - private IotSensors iotSensors; |
230 | | - |
231 | | - private DevicesForSubscriptions devicesForSubscriptions; |
232 | | - |
233 | | - private DevicesForHubs devicesForHubs; |
234 | | - |
235 | | - private Devices devices; |
236 | | - |
237 | | - private OnPremiseIotSensors onPremiseIotSensors; |
238 | | - |
239 | | - private IotSites iotSites; |
240 | | - |
241 | | - private IotAlerts iotAlerts; |
242 | | - |
243 | | - private IotAlertTypes iotAlertTypes; |
244 | | - |
245 | | - private IotRecommendations iotRecommendations; |
246 | | - |
247 | | - private IotRecommendationTypes iotRecommendationTypes; |
248 | | - |
249 | 217 | private Alerts alerts; |
250 | 218 |
|
251 | 219 | private Settings settings; |
@@ -429,6 +397,32 @@ public SecurityManager authenticate(TokenCredential credential, AzureProfile pro |
429 | 397 | } |
430 | 398 | } |
431 | 399 |
|
| 400 | + /** @return Resource collection API of MdeOnboardings. */ |
| 401 | + public MdeOnboardings mdeOnboardings() { |
| 402 | + if (this.mdeOnboardings == null) { |
| 403 | + this.mdeOnboardings = new MdeOnboardingsImpl(clientObject.getMdeOnboardings(), this); |
| 404 | + } |
| 405 | + return mdeOnboardings; |
| 406 | + } |
| 407 | + |
| 408 | + /** @return Resource collection API of CustomAssessmentAutomations. */ |
| 409 | + public CustomAssessmentAutomations customAssessmentAutomations() { |
| 410 | + if (this.customAssessmentAutomations == null) { |
| 411 | + this.customAssessmentAutomations = |
| 412 | + new CustomAssessmentAutomationsImpl(clientObject.getCustomAssessmentAutomations(), this); |
| 413 | + } |
| 414 | + return customAssessmentAutomations; |
| 415 | + } |
| 416 | + |
| 417 | + /** @return Resource collection API of CustomEntityStoreAssignments. */ |
| 418 | + public CustomEntityStoreAssignments customEntityStoreAssignments() { |
| 419 | + if (this.customEntityStoreAssignments == null) { |
| 420 | + this.customEntityStoreAssignments = |
| 421 | + new CustomEntityStoreAssignmentsImpl(clientObject.getCustomEntityStoreAssignments(), this); |
| 422 | + } |
| 423 | + return customEntityStoreAssignments; |
| 424 | + } |
| 425 | + |
432 | 426 | /** @return Resource collection API of ComplianceResults. */ |
433 | 427 | public ComplianceResults complianceResults() { |
434 | 428 | if (this.complianceResults == null) { |
@@ -782,96 +776,6 @@ public SqlVulnerabilityAssessmentBaselineRules sqlVulnerabilityAssessmentBaselin |
782 | 776 | return sqlVulnerabilityAssessmentBaselineRules; |
783 | 777 | } |
784 | 778 |
|
785 | | - /** @return Resource collection API of IotDefenderSettings. */ |
786 | | - public IotDefenderSettings iotDefenderSettings() { |
787 | | - if (this.iotDefenderSettings == null) { |
788 | | - this.iotDefenderSettings = new IotDefenderSettingsImpl(clientObject.getIotDefenderSettings(), this); |
789 | | - } |
790 | | - return iotDefenderSettings; |
791 | | - } |
792 | | - |
793 | | - /** @return Resource collection API of IotSensors. */ |
794 | | - public IotSensors iotSensors() { |
795 | | - if (this.iotSensors == null) { |
796 | | - this.iotSensors = new IotSensorsImpl(clientObject.getIotSensors(), this); |
797 | | - } |
798 | | - return iotSensors; |
799 | | - } |
800 | | - |
801 | | - /** @return Resource collection API of DevicesForSubscriptions. */ |
802 | | - public DevicesForSubscriptions devicesForSubscriptions() { |
803 | | - if (this.devicesForSubscriptions == null) { |
804 | | - this.devicesForSubscriptions = |
805 | | - new DevicesForSubscriptionsImpl(clientObject.getDevicesForSubscriptions(), this); |
806 | | - } |
807 | | - return devicesForSubscriptions; |
808 | | - } |
809 | | - |
810 | | - /** @return Resource collection API of DevicesForHubs. */ |
811 | | - public DevicesForHubs devicesForHubs() { |
812 | | - if (this.devicesForHubs == null) { |
813 | | - this.devicesForHubs = new DevicesForHubsImpl(clientObject.getDevicesForHubs(), this); |
814 | | - } |
815 | | - return devicesForHubs; |
816 | | - } |
817 | | - |
818 | | - /** @return Resource collection API of Devices. */ |
819 | | - public Devices devices() { |
820 | | - if (this.devices == null) { |
821 | | - this.devices = new DevicesImpl(clientObject.getDevices(), this); |
822 | | - } |
823 | | - return devices; |
824 | | - } |
825 | | - |
826 | | - /** @return Resource collection API of OnPremiseIotSensors. */ |
827 | | - public OnPremiseIotSensors onPremiseIotSensors() { |
828 | | - if (this.onPremiseIotSensors == null) { |
829 | | - this.onPremiseIotSensors = new OnPremiseIotSensorsImpl(clientObject.getOnPremiseIotSensors(), this); |
830 | | - } |
831 | | - return onPremiseIotSensors; |
832 | | - } |
833 | | - |
834 | | - /** @return Resource collection API of IotSites. */ |
835 | | - public IotSites iotSites() { |
836 | | - if (this.iotSites == null) { |
837 | | - this.iotSites = new IotSitesImpl(clientObject.getIotSites(), this); |
838 | | - } |
839 | | - return iotSites; |
840 | | - } |
841 | | - |
842 | | - /** @return Resource collection API of IotAlerts. */ |
843 | | - public IotAlerts iotAlerts() { |
844 | | - if (this.iotAlerts == null) { |
845 | | - this.iotAlerts = new IotAlertsImpl(clientObject.getIotAlerts(), this); |
846 | | - } |
847 | | - return iotAlerts; |
848 | | - } |
849 | | - |
850 | | - /** @return Resource collection API of IotAlertTypes. */ |
851 | | - public IotAlertTypes iotAlertTypes() { |
852 | | - if (this.iotAlertTypes == null) { |
853 | | - this.iotAlertTypes = new IotAlertTypesImpl(clientObject.getIotAlertTypes(), this); |
854 | | - } |
855 | | - return iotAlertTypes; |
856 | | - } |
857 | | - |
858 | | - /** @return Resource collection API of IotRecommendations. */ |
859 | | - public IotRecommendations iotRecommendations() { |
860 | | - if (this.iotRecommendations == null) { |
861 | | - this.iotRecommendations = new IotRecommendationsImpl(clientObject.getIotRecommendations(), this); |
862 | | - } |
863 | | - return iotRecommendations; |
864 | | - } |
865 | | - |
866 | | - /** @return Resource collection API of IotRecommendationTypes. */ |
867 | | - public IotRecommendationTypes iotRecommendationTypes() { |
868 | | - if (this.iotRecommendationTypes == null) { |
869 | | - this.iotRecommendationTypes = |
870 | | - new IotRecommendationTypesImpl(clientObject.getIotRecommendationTypes(), this); |
871 | | - } |
872 | | - return iotRecommendationTypes; |
873 | | - } |
874 | | - |
875 | 779 | /** @return Resource collection API of Alerts. */ |
876 | 780 | public Alerts alerts() { |
877 | 781 | if (this.alerts == null) { |
|
0 commit comments