net.bytebuddy
byte-buddy
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 80fd7da717a7..de2f8a7627be 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
@@ -30,8 +30,6 @@
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.ApiCollectionOffboardingsImpl;
-import com.azure.resourcemanager.security.implementation.ApiCollectionOnboardingsImpl;
import com.azure.resourcemanager.security.implementation.ApiCollectionsImpl;
import com.azure.resourcemanager.security.implementation.ApplicationOperationsImpl;
import com.azure.resourcemanager.security.implementation.ApplicationsImpl;
@@ -39,20 +37,29 @@
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.DefenderForStoragesImpl;
+import com.azure.resourcemanager.security.implementation.DevOpsConfigurationsImpl;
+import com.azure.resourcemanager.security.implementation.DevOpsOperationResultsImpl;
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.HealthReportOperationsImpl;
import com.azure.resourcemanager.security.implementation.HealthReportsImpl;
import com.azure.resourcemanager.security.implementation.InformationProtectionPoliciesImpl;
-import com.azure.resourcemanager.security.implementation.IngestionSettingsImpl;
import com.azure.resourcemanager.security.implementation.IotSecuritySolutionAnalyticsImpl;
import com.azure.resourcemanager.security.implementation.IotSecuritySolutionsAnalyticsAggregatedAlertsImpl;
import com.azure.resourcemanager.security.implementation.IotSecuritySolutionsAnalyticsRecommendationsImpl;
@@ -65,6 +72,7 @@
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.ResourceProvidersImpl;
import com.azure.resourcemanager.security.implementation.SecureScoreControlDefinitionsImpl;
import com.azure.resourcemanager.security.implementation.SecureScoreControlsImpl;
import com.azure.resourcemanager.security.implementation.SecureScoresImpl;
@@ -76,7 +84,9 @@
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.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;
@@ -92,8 +102,6 @@
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.ApiCollectionOffboardings;
-import com.azure.resourcemanager.security.models.ApiCollectionOnboardings;
import com.azure.resourcemanager.security.models.ApiCollections;
import com.azure.resourcemanager.security.models.ApplicationOperations;
import com.azure.resourcemanager.security.models.Applications;
@@ -101,20 +109,29 @@
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.DefenderForStorages;
+import com.azure.resourcemanager.security.models.DevOpsConfigurations;
+import com.azure.resourcemanager.security.models.DevOpsOperationResults;
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.HealthReportOperations;
import com.azure.resourcemanager.security.models.HealthReports;
import com.azure.resourcemanager.security.models.InformationProtectionPolicies;
-import com.azure.resourcemanager.security.models.IngestionSettings;
import com.azure.resourcemanager.security.models.IotSecuritySolutionAnalytics;
import com.azure.resourcemanager.security.models.IotSecuritySolutions;
import com.azure.resourcemanager.security.models.IotSecuritySolutionsAnalyticsAggregatedAlerts;
@@ -127,6 +144,7 @@
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.ResourceProviders;
import com.azure.resourcemanager.security.models.SecureScoreControlDefinitions;
import com.azure.resourcemanager.security.models.SecureScoreControls;
import com.azure.resourcemanager.security.models.SecureScores;
@@ -137,7 +155,9 @@
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.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;
@@ -154,147 +174,166 @@
import java.util.Objects;
import java.util.stream.Collectors;
-/** Entry point to SecurityManager. API spec for Microsoft.Security (Azure Security Center) resource provider. */
+/**
+ * Entry point to SecurityManager.
+ * API spec for Microsoft.Security (Azure Security Center) resource provider.
+ */
public final class SecurityManager {
- private MdeOnboardings mdeOnboardings;
+ private Locations locations;
- private CustomAssessmentAutomations customAssessmentAutomations;
+ private Operations operations;
- private CustomEntityStoreAssignments customEntityStoreAssignments;
+ private Tasks tasks;
- private ComplianceResults complianceResults;
+ private AutoProvisioningSettings autoProvisioningSettings;
- private Pricings pricings;
+ private Compliances compliances;
- private AdvancedThreatProtections advancedThreatProtections;
+ private InformationProtectionPolicies informationProtectionPolicies;
- private DeviceSecurityGroups deviceSecurityGroups;
+ private WorkspaceSettings workspaceSettings;
- private IotSecuritySolutions iotSecuritySolutions;
+ private AlertsSuppressionRules alertsSuppressionRules;
- private IotSecuritySolutionAnalytics iotSecuritySolutionAnalytics;
+ private Automations automations;
- private IotSecuritySolutionsAnalyticsAggregatedAlerts iotSecuritySolutionsAnalyticsAggregatedAlerts;
+ private RegulatoryComplianceStandards regulatoryComplianceStandards;
- private IotSecuritySolutionsAnalyticsRecommendations iotSecuritySolutionsAnalyticsRecommendations;
+ private RegulatoryComplianceControls regulatoryComplianceControls;
- private Locations locations;
+ private RegulatoryComplianceAssessments regulatoryComplianceAssessments;
- private Operations operations;
+ private SubAssessments subAssessments;
- private Tasks tasks;
+ private Connectors connectors;
- private AutoProvisioningSettings autoProvisioningSettings;
+ private SecurityContacts securityContacts;
- private Compliances compliances;
+ private SoftwareInventories softwareInventories;
- private InformationProtectionPolicies informationProtectionPolicies;
+ private CustomAssessmentAutomations customAssessmentAutomations;
- private SecurityContacts securityContacts;
+ private CustomEntityStoreAssignments customEntityStoreAssignments;
- private WorkspaceSettings workspaceSettings;
+ private MdeOnboardings mdeOnboardings;
- private RegulatoryComplianceStandards regulatoryComplianceStandards;
+ private GovernanceAssignments governanceAssignments;
- private RegulatoryComplianceControls regulatoryComplianceControls;
+ private GovernanceRules governanceRules;
- private RegulatoryComplianceAssessments regulatoryComplianceAssessments;
+ private Applications applications;
- private SubAssessments subAssessments;
+ private ApplicationOperations applicationOperations;
- private Automations automations;
+ private SecurityConnectorApplications securityConnectorApplications;
- private AlertsSuppressionRules alertsSuppressionRules;
+ private SecurityConnectorApplicationOperations securityConnectorApplicationOperations;
- private ServerVulnerabilityAssessments serverVulnerabilityAssessments;
+ private DefenderForStorages defenderForStorages;
- private AssessmentsMetadatas assessmentsMetadatas;
+ private SecurityOperators securityOperators;
- private Assessments assessments;
+ private SqlVulnerabilityAssessmentBaselineRules sqlVulnerabilityAssessmentBaselineRules;
- private AdaptiveApplicationControls adaptiveApplicationControls;
+ private SqlVulnerabilityAssessmentScans sqlVulnerabilityAssessmentScans;
- private AdaptiveNetworkHardenings adaptiveNetworkHardenings;
+ private SqlVulnerabilityAssessmentScanResults sqlVulnerabilityAssessmentScanResults;
- private AllowedConnections allowedConnections;
+ private ResourceProviders resourceProviders;
- private Topologies topologies;
+ private SensitivitySettings sensitivitySettings;
- private JitNetworkAccessPolicies jitNetworkAccessPolicies;
+ private HealthReports healthReports;
- private DiscoveredSecuritySolutions discoveredSecuritySolutions;
+ private AzureDevOpsOrgs azureDevOpsOrgs;
- private SecuritySolutionsReferenceDatas securitySolutionsReferenceDatas;
+ private AzureDevOpsProjects azureDevOpsProjects;
- private ExternalSecuritySolutions externalSecuritySolutions;
+ private AzureDevOpsRepos azureDevOpsRepos;
- private SecureScores secureScores;
+ private DevOpsConfigurations devOpsConfigurations;
- private SecureScoreControls secureScoreControls;
+ private GitHubOwners gitHubOwners;
- private SecureScoreControlDefinitions secureScoreControlDefinitions;
+ private GitHubRepos gitHubRepos;
- private SecuritySolutions securitySolutions;
+ private GitLabGroups gitLabGroups;
- private Connectors connectors;
+ private GitLabSubgroups gitLabSubgroups;
- private Alerts alerts;
+ private GitLabProjects gitLabProjects;
- private Settings settings;
+ private DevOpsOperationResults devOpsOperationResults;
- private IngestionSettings ingestionSettings;
+ private SecurityConnectors securityConnectors;
- private SoftwareInventories softwareInventories;
+ private ComplianceResults complianceResults;
- private GovernanceRules governanceRules;
+ private AdvancedThreatProtections advancedThreatProtections;
- private GovernanceAssignments governanceAssignments;
+ private DeviceSecurityGroups deviceSecurityGroups;
- private Applications applications;
+ private IotSecuritySolutionAnalytics iotSecuritySolutionAnalytics;
- private ApplicationOperations applicationOperations;
+ private IotSecuritySolutionsAnalyticsAggregatedAlerts iotSecuritySolutionsAnalyticsAggregatedAlerts;
- private SecurityConnectorApplications securityConnectorApplications;
+ private IotSecuritySolutionsAnalyticsRecommendations iotSecuritySolutionsAnalyticsRecommendations;
- private SecurityConnectorApplicationOperations securityConnectorApplicationOperations;
+ private IotSecuritySolutions iotSecuritySolutions;
- private ApiCollections apiCollections;
+ private AdaptiveNetworkHardenings adaptiveNetworkHardenings;
- private ApiCollectionOnboardings apiCollectionOnboardings;
+ private AllowedConnections allowedConnections;
- private ApiCollectionOffboardings apiCollectionOffboardings;
+ private AdaptiveApplicationControls adaptiveApplicationControls;
- private HealthReports healthReports;
+ private DiscoveredSecuritySolutions discoveredSecuritySolutions;
- private HealthReportOperations healthReportOperations;
+ private ExternalSecuritySolutions externalSecuritySolutions;
- private SqlVulnerabilityAssessmentScans sqlVulnerabilityAssessmentScans;
+ private JitNetworkAccessPolicies jitNetworkAccessPolicies;
- private SqlVulnerabilityAssessmentScanResults sqlVulnerabilityAssessmentScanResults;
+ private SecureScores secureScores;
- private SqlVulnerabilityAssessmentBaselineRules sqlVulnerabilityAssessmentBaselineRules;
+ private SecureScoreControls secureScoreControls;
- private SecurityConnectors securityConnectors;
+ private SecureScoreControlDefinitions secureScoreControlDefinitions;
- private SecurityOperators securityOperators;
+ private SecuritySolutions securitySolutions;
+
+ private SecuritySolutionsReferenceDatas securitySolutionsReferenceDatas;
+
+ private ServerVulnerabilityAssessments serverVulnerabilityAssessments;
+
+ private Topologies topologies;
+
+ private AssessmentsMetadatas assessmentsMetadatas;
+
+ private Assessments assessments;
+
+ private Alerts alerts;
+
+ private Settings settings;
+
+ private ServerVulnerabilityAssessmentsSettings serverVulnerabilityAssessmentsSettings;
+
+ private ApiCollections apiCollections;
+
+ private Pricings pricings;
private final SecurityCenter clientObject;
private SecurityManager(HttpPipeline httpPipeline, AzureProfile profile, Duration defaultPollInterval) {
Objects.requireNonNull(httpPipeline, "'httpPipeline' cannot be null.");
Objects.requireNonNull(profile, "'profile' cannot be null.");
- this.clientObject =
- new SecurityCenterBuilder()
- .pipeline(httpPipeline)
- .endpoint(profile.getEnvironment().getResourceManagerEndpoint())
- .subscriptionId(profile.getSubscriptionId())
- .defaultPollInterval(defaultPollInterval)
- .buildClient();
+ this.clientObject = new SecurityCenterBuilder().pipeline(httpPipeline)
+ .endpoint(profile.getEnvironment().getResourceManagerEndpoint()).subscriptionId(profile.getSubscriptionId())
+ .defaultPollInterval(defaultPollInterval).buildClient();
}
/**
* Creates an instance of Security service API entry point.
- *
+ *
* @param credential the credential to use.
* @param profile the Azure profile for client.
* @return the Security service API instance.
@@ -307,7 +346,7 @@ public static SecurityManager authenticate(TokenCredential credential, AzureProf
/**
* Creates an instance of Security service API entry point.
- *
+ *
* @param httpPipeline the {@link HttpPipeline} configured with Azure authentication credential.
* @param profile the Azure profile for client.
* @return the Security service API instance.
@@ -320,14 +359,16 @@ public static SecurityManager authenticate(HttpPipeline httpPipeline, AzureProfi
/**
* Gets a Configurable instance that can be used to create SecurityManager with optional configuration.
- *
+ *
* @return the Configurable instance allowing configurations.
*/
public static Configurable configure() {
return new SecurityManager.Configurable();
}
- /** The Configurable allowing configurations to be set. */
+ /**
+ * The Configurable allowing configurations to be set.
+ */
public static final class Configurable {
private static final ClientLogger LOGGER = new ClientLogger(Configurable.class);
@@ -399,8 +440,8 @@ public Configurable withRetryPolicy(RetryPolicy retryPolicy) {
/**
* Sets the retry options for the HTTP pipeline retry policy.
- *
- * This setting has no effect, if retry policy is set via {@link #withRetryPolicy(RetryPolicy)}.
+ *
+ * This setting has no effect, if retry policy is set via {@link #withRetryPolicy(RetryPolicy)}.
*
* @param retryOptions the retry options for the HTTP pipeline retry policy.
* @return the configurable object itself.
@@ -417,8 +458,8 @@ public Configurable withRetryOptions(RetryOptions retryOptions) {
* @return the configurable object itself.
*/
public Configurable withDefaultPollInterval(Duration defaultPollInterval) {
- this.defaultPollInterval =
- Objects.requireNonNull(defaultPollInterval, "'defaultPollInterval' cannot be null.");
+ this.defaultPollInterval
+ = Objects.requireNonNull(defaultPollInterval, "'defaultPollInterval' cannot be null.");
if (this.defaultPollInterval.isNegative()) {
throw LOGGER
.logExceptionAsError(new IllegalArgumentException("'defaultPollInterval' cannot be negative"));
@@ -438,21 +479,12 @@ public SecurityManager authenticate(TokenCredential credential, AzureProfile pro
Objects.requireNonNull(profile, "'profile' cannot be null.");
StringBuilder userAgentBuilder = new StringBuilder();
- userAgentBuilder
- .append("azsdk-java")
- .append("-")
- .append("com.azure.resourcemanager.security")
- .append("/")
- .append("1.0.0-beta.5");
+ userAgentBuilder.append("azsdk-java").append("-").append("com.azure.resourcemanager.security").append("/")
+ .append("1.0.0-beta.6");
if (!Configuration.getGlobalConfiguration().get("AZURE_TELEMETRY_DISABLED", false)) {
- userAgentBuilder
- .append(" (")
- .append(Configuration.getGlobalConfiguration().get("java.version"))
- .append("; ")
- .append(Configuration.getGlobalConfiguration().get("os.name"))
- .append("; ")
- .append(Configuration.getGlobalConfiguration().get("os.version"))
- .append("; auto-generated)");
+ userAgentBuilder.append(" (").append(Configuration.getGlobalConfiguration().get("java.version"))
+ .append("; ").append(Configuration.getGlobalConfiguration().get("os.name")).append("; ")
+ .append(Configuration.getGlobalConfiguration().get("os.version")).append("; auto-generated)");
} else {
userAgentBuilder.append(" (auto-generated)");
}
@@ -471,178 +503,25 @@ public SecurityManager authenticate(TokenCredential credential, AzureProfile pro
policies.add(new UserAgentPolicy(userAgentBuilder.toString()));
policies.add(new AddHeadersFromContextPolicy());
policies.add(new RequestIdPolicy());
- policies
- .addAll(
- this
- .policies
- .stream()
- .filter(p -> p.getPipelinePosition() == HttpPipelinePosition.PER_CALL)
- .collect(Collectors.toList()));
+ policies.addAll(this.policies.stream().filter(p -> p.getPipelinePosition() == HttpPipelinePosition.PER_CALL)
+ .collect(Collectors.toList()));
HttpPolicyProviders.addBeforeRetryPolicies(policies);
policies.add(retryPolicy);
policies.add(new AddDatePolicy());
policies.add(new ArmChallengeAuthenticationPolicy(credential, scopes.toArray(new String[0])));
- policies
- .addAll(
- this
- .policies
- .stream()
- .filter(p -> p.getPipelinePosition() == HttpPipelinePosition.PER_RETRY)
- .collect(Collectors.toList()));
+ policies.addAll(this.policies.stream()
+ .filter(p -> p.getPipelinePosition() == HttpPipelinePosition.PER_RETRY).collect(Collectors.toList()));
HttpPolicyProviders.addAfterRetryPolicies(policies);
policies.add(new HttpLoggingPolicy(httpLogOptions));
- HttpPipeline httpPipeline =
- new HttpPipelineBuilder()
- .httpClient(httpClient)
- .policies(policies.toArray(new HttpPipelinePolicy[0]))
- .build();
+ HttpPipeline httpPipeline = new HttpPipelineBuilder().httpClient(httpClient)
+ .policies(policies.toArray(new HttpPipelinePolicy[0])).build();
return new SecurityManager(httpPipeline, profile, defaultPollInterval);
}
}
- /**
- * 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 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 ComplianceResults.
- *
- * @return Resource collection API of ComplianceResults.
- */
- public ComplianceResults complianceResults() {
- if (this.complianceResults == null) {
- this.complianceResults = new ComplianceResultsImpl(clientObject.getComplianceResults(), this);
- }
- return complianceResults;
- }
-
- /**
- * Gets the resource collection API of Pricings.
- *
- * @return Resource collection API of Pricings.
- */
- public Pricings pricings() {
- if (this.pricings == null) {
- this.pricings = new PricingsImpl(clientObject.getPricings(), this);
- }
- return pricings;
- }
-
- /**
- * Gets the resource collection API of AdvancedThreatProtections. It manages AdvancedThreatProtectionSetting.
- *
- * @return Resource collection API of AdvancedThreatProtections.
- */
- public AdvancedThreatProtections advancedThreatProtections() {
- if (this.advancedThreatProtections == null) {
- this.advancedThreatProtections =
- new AdvancedThreatProtectionsImpl(clientObject.getAdvancedThreatProtections(), this);
- }
- return advancedThreatProtections;
- }
-
- /**
- * Gets the resource collection API of DeviceSecurityGroups. It manages DeviceSecurityGroup.
- *
- * @return Resource collection API of DeviceSecurityGroups.
- */
- public DeviceSecurityGroups deviceSecurityGroups() {
- if (this.deviceSecurityGroups == null) {
- this.deviceSecurityGroups = new DeviceSecurityGroupsImpl(clientObject.getDeviceSecurityGroups(), this);
- }
- return deviceSecurityGroups;
- }
-
- /**
- * Gets the resource collection API of IotSecuritySolutions. It manages IoTSecuritySolutionModel.
- *
- * @return Resource collection API of IotSecuritySolutions.
- */
- public IotSecuritySolutions iotSecuritySolutions() {
- if (this.iotSecuritySolutions == null) {
- this.iotSecuritySolutions = new IotSecuritySolutionsImpl(clientObject.getIotSecuritySolutions(), this);
- }
- return iotSecuritySolutions;
- }
-
- /**
- * Gets the resource collection API of IotSecuritySolutionAnalytics.
- *
- * @return Resource collection API of IotSecuritySolutionAnalytics.
- */
- public IotSecuritySolutionAnalytics iotSecuritySolutionAnalytics() {
- if (this.iotSecuritySolutionAnalytics == null) {
- this.iotSecuritySolutionAnalytics =
- new IotSecuritySolutionAnalyticsImpl(clientObject.getIotSecuritySolutionAnalytics(), this);
- }
- return iotSecuritySolutionAnalytics;
- }
-
- /**
- * Gets the resource collection API of IotSecuritySolutionsAnalyticsAggregatedAlerts.
- *
- * @return Resource collection API of IotSecuritySolutionsAnalyticsAggregatedAlerts.
- */
- public IotSecuritySolutionsAnalyticsAggregatedAlerts iotSecuritySolutionsAnalyticsAggregatedAlerts() {
- if (this.iotSecuritySolutionsAnalyticsAggregatedAlerts == null) {
- this.iotSecuritySolutionsAnalyticsAggregatedAlerts =
- new IotSecuritySolutionsAnalyticsAggregatedAlertsImpl(
- clientObject.getIotSecuritySolutionsAnalyticsAggregatedAlerts(), this);
- }
- return iotSecuritySolutionsAnalyticsAggregatedAlerts;
- }
-
- /**
- * Gets the resource collection API of IotSecuritySolutionsAnalyticsRecommendations.
- *
- * @return Resource collection API of IotSecuritySolutionsAnalyticsRecommendations.
- */
- public IotSecuritySolutionsAnalyticsRecommendations iotSecuritySolutionsAnalyticsRecommendations() {
- if (this.iotSecuritySolutionsAnalyticsRecommendations == null) {
- this.iotSecuritySolutionsAnalyticsRecommendations =
- new IotSecuritySolutionsAnalyticsRecommendationsImpl(
- clientObject.getIotSecuritySolutionsAnalyticsRecommendations(), this);
- }
- return iotSecuritySolutionsAnalyticsRecommendations;
- }
-
/**
* Gets the resource collection API of Locations.
- *
+ *
* @return Resource collection API of Locations.
*/
public Locations locations() {
@@ -654,7 +533,7 @@ public Locations locations() {
/**
* Gets the resource collection API of Operations.
- *
+ *
* @return Resource collection API of Operations.
*/
public Operations operations() {
@@ -666,7 +545,7 @@ public Operations operations() {
/**
* Gets the resource collection API of Tasks.
- *
+ *
* @return Resource collection API of Tasks.
*/
public Tasks tasks() {
@@ -678,20 +557,20 @@ public Tasks 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);
+ 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() {
@@ -703,32 +582,20 @@ public Compliances 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);
+ this.informationProtectionPolicies
+ = new InformationProtectionPoliciesImpl(clientObject.getInformationProtectionPolicies(), this);
}
return informationProtectionPolicies;
}
- /**
- * 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 WorkspaceSettings. It manages WorkspaceSetting.
- *
+ *
* @return Resource collection API of WorkspaceSettings.
*/
public WorkspaceSettings workspaceSettings() {
@@ -739,47 +606,72 @@ public WorkspaceSettings workspaceSettings() {
}
/**
- * Gets the resource collection API of RegulatoryComplianceStandards.
- *
- * @return Resource collection API of RegulatoryComplianceStandards.
- */
+ * 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 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 RegulatoryComplianceStandards.
+ *
+ * @return Resource collection API of RegulatoryComplianceStandards.
+ */
public RegulatoryComplianceStandards regulatoryComplianceStandards() {
if (this.regulatoryComplianceStandards == null) {
- this.regulatoryComplianceStandards =
- new RegulatoryComplianceStandardsImpl(clientObject.getRegulatoryComplianceStandards(), this);
+ 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);
+ 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);
+ 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() {
@@ -790,484 +682,727 @@ public SubAssessments subAssessments() {
}
/**
- * Gets the resource collection API of Automations. It manages Automation.
- *
- * @return Resource collection API of Automations.
+ * Gets the resource collection API of Connectors. It manages ConnectorSetting.
+ *
+ * @return Resource collection API of Connectors.
*/
- public Automations automations() {
- if (this.automations == null) {
- this.automations = new AutomationsImpl(clientObject.getAutomations(), this);
+ public Connectors connectors() {
+ if (this.connectors == null) {
+ this.connectors = new ConnectorsImpl(clientObject.getConnectors(), this);
}
- return automations;
+ return connectors;
}
/**
- * Gets the resource collection API of AlertsSuppressionRules.
- *
- * @return Resource collection API of AlertsSuppressionRules.
+ * Gets the resource collection API of SecurityContacts. It manages SecurityContact.
+ *
+ * @return Resource collection API of SecurityContacts.
*/
- public AlertsSuppressionRules alertsSuppressionRules() {
- if (this.alertsSuppressionRules == null) {
- this.alertsSuppressionRules =
- new AlertsSuppressionRulesImpl(clientObject.getAlertsSuppressionRules(), this);
+ public SecurityContacts securityContacts() {
+ if (this.securityContacts == null) {
+ this.securityContacts = new SecurityContactsImpl(clientObject.getSecurityContacts(), this);
}
- return alertsSuppressionRules;
+ return securityContacts;
}
/**
- * Gets the resource collection API of ServerVulnerabilityAssessments.
- *
- * @return Resource collection API of ServerVulnerabilityAssessments.
+ * Gets the resource collection API of SoftwareInventories.
+ *
+ * @return Resource collection API of SoftwareInventories.
*/
- public ServerVulnerabilityAssessments serverVulnerabilityAssessments() {
- if (this.serverVulnerabilityAssessments == null) {
- this.serverVulnerabilityAssessments =
- new ServerVulnerabilityAssessmentsImpl(clientObject.getServerVulnerabilityAssessments(), this);
+ public SoftwareInventories softwareInventories() {
+ if (this.softwareInventories == null) {
+ this.softwareInventories = new SoftwareInventoriesImpl(clientObject.getSoftwareInventories(), this);
}
- return serverVulnerabilityAssessments;
+ return softwareInventories;
}
/**
- * Gets the resource collection API of AssessmentsMetadatas. It manages SecurityAssessmentMetadataResponse.
- *
- * @return Resource collection API of AssessmentsMetadatas.
+ * Gets the resource collection API of CustomAssessmentAutomations. It manages CustomAssessmentAutomation.
+ *
+ * @return Resource collection API of CustomAssessmentAutomations.
*/
- public AssessmentsMetadatas assessmentsMetadatas() {
- if (this.assessmentsMetadatas == null) {
- this.assessmentsMetadatas = new AssessmentsMetadatasImpl(clientObject.getAssessmentsMetadatas(), this);
+ public CustomAssessmentAutomations customAssessmentAutomations() {
+ if (this.customAssessmentAutomations == null) {
+ this.customAssessmentAutomations
+ = new CustomAssessmentAutomationsImpl(clientObject.getCustomAssessmentAutomations(), this);
}
- return assessmentsMetadatas;
+ return customAssessmentAutomations;
}
/**
- * Gets the resource collection API of Assessments. It manages SecurityAssessmentResponse.
- *
- * @return Resource collection API of Assessments.
+ * Gets the resource collection API of CustomEntityStoreAssignments. It manages CustomEntityStoreAssignment.
+ *
+ * @return Resource collection API of CustomEntityStoreAssignments.
*/
- public Assessments assessments() {
- if (this.assessments == null) {
- this.assessments = new AssessmentsImpl(clientObject.getAssessments(), this);
+ public CustomEntityStoreAssignments customEntityStoreAssignments() {
+ if (this.customEntityStoreAssignments == null) {
+ this.customEntityStoreAssignments
+ = new CustomEntityStoreAssignmentsImpl(clientObject.getCustomEntityStoreAssignments(), this);
}
- return assessments;
+ return customEntityStoreAssignments;
}
/**
- * Gets the resource collection API of AdaptiveApplicationControls. It manages AdaptiveApplicationControlGroup.
- *
- * @return Resource collection API of AdaptiveApplicationControls.
+ * Gets the resource collection API of MdeOnboardings.
+ *
+ * @return Resource collection API of MdeOnboardings.
*/
- public AdaptiveApplicationControls adaptiveApplicationControls() {
- if (this.adaptiveApplicationControls == null) {
- this.adaptiveApplicationControls =
- new AdaptiveApplicationControlsImpl(clientObject.getAdaptiveApplicationControls(), this);
+ public MdeOnboardings mdeOnboardings() {
+ if (this.mdeOnboardings == null) {
+ this.mdeOnboardings = new MdeOnboardingsImpl(clientObject.getMdeOnboardings(), this);
}
- return adaptiveApplicationControls;
+ return mdeOnboardings;
}
/**
- * Gets the resource collection API of AdaptiveNetworkHardenings.
- *
- * @return Resource collection API of AdaptiveNetworkHardenings.
+ * Gets the resource collection API of GovernanceAssignments. It manages GovernanceAssignment.
+ *
+ * @return Resource collection API of GovernanceAssignments.
*/
- public AdaptiveNetworkHardenings adaptiveNetworkHardenings() {
- if (this.adaptiveNetworkHardenings == null) {
- this.adaptiveNetworkHardenings =
- new AdaptiveNetworkHardeningsImpl(clientObject.getAdaptiveNetworkHardenings(), this);
+ public GovernanceAssignments governanceAssignments() {
+ if (this.governanceAssignments == null) {
+ this.governanceAssignments = new GovernanceAssignmentsImpl(clientObject.getGovernanceAssignments(), this);
}
- return adaptiveNetworkHardenings;
+ return governanceAssignments;
}
/**
- * Gets the resource collection API of AllowedConnections.
- *
- * @return Resource collection API of AllowedConnections.
+ * Gets the resource collection API of GovernanceRules. It manages GovernanceRule.
+ *
+ * @return Resource collection API of GovernanceRules.
*/
- public AllowedConnections allowedConnections() {
- if (this.allowedConnections == null) {
- this.allowedConnections = new AllowedConnectionsImpl(clientObject.getAllowedConnections(), this);
+ public GovernanceRules governanceRules() {
+ if (this.governanceRules == null) {
+ this.governanceRules = new GovernanceRulesImpl(clientObject.getGovernanceRules(), this);
}
- return allowedConnections;
+ return governanceRules;
}
/**
- * Gets the resource collection API of Topologies.
- *
- * @return Resource collection API of Topologies.
+ * Gets the resource collection API of Applications.
+ *
+ * @return Resource collection API of Applications.
*/
- public Topologies topologies() {
- if (this.topologies == null) {
- this.topologies = new TopologiesImpl(clientObject.getTopologies(), this);
+ public Applications applications() {
+ if (this.applications == null) {
+ this.applications = new ApplicationsImpl(clientObject.getApplications(), this);
}
- return topologies;
+ return applications;
}
/**
- * Gets the resource collection API of JitNetworkAccessPolicies. It manages JitNetworkAccessPolicy.
- *
- * @return Resource collection API of JitNetworkAccessPolicies.
+ * Gets the resource collection API of ApplicationOperations. It manages Application.
+ *
+ * @return Resource collection API of ApplicationOperations.
*/
- public JitNetworkAccessPolicies jitNetworkAccessPolicies() {
- if (this.jitNetworkAccessPolicies == null) {
- this.jitNetworkAccessPolicies =
- new JitNetworkAccessPoliciesImpl(clientObject.getJitNetworkAccessPolicies(), this);
+ public ApplicationOperations applicationOperations() {
+ if (this.applicationOperations == null) {
+ this.applicationOperations = new ApplicationOperationsImpl(clientObject.getApplicationOperations(), this);
}
- return jitNetworkAccessPolicies;
+ return applicationOperations;
}
/**
- * Gets the resource collection API of DiscoveredSecuritySolutions.
- *
- * @return Resource collection API of DiscoveredSecuritySolutions.
+ * Gets the resource collection API of SecurityConnectorApplications.
+ *
+ * @return Resource collection API of SecurityConnectorApplications.
*/
- public DiscoveredSecuritySolutions discoveredSecuritySolutions() {
- if (this.discoveredSecuritySolutions == null) {
- this.discoveredSecuritySolutions =
- new DiscoveredSecuritySolutionsImpl(clientObject.getDiscoveredSecuritySolutions(), this);
+ public SecurityConnectorApplications securityConnectorApplications() {
+ if (this.securityConnectorApplications == null) {
+ this.securityConnectorApplications
+ = new SecurityConnectorApplicationsImpl(clientObject.getSecurityConnectorApplications(), this);
}
- return discoveredSecuritySolutions;
+ return securityConnectorApplications;
}
/**
- * Gets the resource collection API of SecuritySolutionsReferenceDatas.
- *
- * @return Resource collection API of SecuritySolutionsReferenceDatas.
+ * Gets the resource collection API of SecurityConnectorApplicationOperations.
+ *
+ * @return Resource collection API of SecurityConnectorApplicationOperations.
*/
- public SecuritySolutionsReferenceDatas securitySolutionsReferenceDatas() {
- if (this.securitySolutionsReferenceDatas == null) {
- this.securitySolutionsReferenceDatas =
- new SecuritySolutionsReferenceDatasImpl(clientObject.getSecuritySolutionsReferenceDatas(), this);
+ public SecurityConnectorApplicationOperations securityConnectorApplicationOperations() {
+ if (this.securityConnectorApplicationOperations == null) {
+ this.securityConnectorApplicationOperations = new SecurityConnectorApplicationOperationsImpl(
+ clientObject.getSecurityConnectorApplicationOperations(), this);
}
- return securitySolutionsReferenceDatas;
+ return securityConnectorApplicationOperations;
}
/**
- * Gets the resource collection API of ExternalSecuritySolutions.
- *
- * @return Resource collection API of ExternalSecuritySolutions.
+ * Gets the resource collection API of DefenderForStorages. It manages DefenderForStorageSetting.
+ *
+ * @return Resource collection API of DefenderForStorages.
*/
- public ExternalSecuritySolutions externalSecuritySolutions() {
- if (this.externalSecuritySolutions == null) {
- this.externalSecuritySolutions =
- new ExternalSecuritySolutionsImpl(clientObject.getExternalSecuritySolutions(), this);
+ public DefenderForStorages defenderForStorages() {
+ if (this.defenderForStorages == null) {
+ this.defenderForStorages = new DefenderForStoragesImpl(clientObject.getDefenderForStorages(), this);
}
- return externalSecuritySolutions;
+ return defenderForStorages;
}
/**
- * Gets the resource collection API of SecureScores.
- *
- * @return Resource collection API of SecureScores.
+ * Gets the resource collection API of SecurityOperators.
+ *
+ * @return Resource collection API of SecurityOperators.
*/
- public SecureScores secureScores() {
- if (this.secureScores == null) {
- this.secureScores = new SecureScoresImpl(clientObject.getSecureScores(), this);
+ public SecurityOperators securityOperators() {
+ if (this.securityOperators == null) {
+ this.securityOperators = new SecurityOperatorsImpl(clientObject.getSecurityOperators(), this);
}
- return secureScores;
+ return securityOperators;
}
/**
- * Gets the resource collection API of SecureScoreControls.
- *
- * @return Resource collection API of SecureScoreControls.
+ * Gets the resource collection API of SqlVulnerabilityAssessmentBaselineRules. It manages RuleResults.
+ *
+ * @return Resource collection API of SqlVulnerabilityAssessmentBaselineRules.
*/
- public SecureScoreControls secureScoreControls() {
- if (this.secureScoreControls == null) {
- this.secureScoreControls = new SecureScoreControlsImpl(clientObject.getSecureScoreControls(), this);
+ public SqlVulnerabilityAssessmentBaselineRules sqlVulnerabilityAssessmentBaselineRules() {
+ if (this.sqlVulnerabilityAssessmentBaselineRules == null) {
+ this.sqlVulnerabilityAssessmentBaselineRules = new SqlVulnerabilityAssessmentBaselineRulesImpl(
+ clientObject.getSqlVulnerabilityAssessmentBaselineRules(), this);
}
- return secureScoreControls;
+ return sqlVulnerabilityAssessmentBaselineRules;
}
/**
- * Gets the resource collection API of SecureScoreControlDefinitions.
- *
- * @return Resource collection API of SecureScoreControlDefinitions.
+ * Gets the resource collection API of SqlVulnerabilityAssessmentScans.
+ *
+ * @return Resource collection API of SqlVulnerabilityAssessmentScans.
*/
- public SecureScoreControlDefinitions secureScoreControlDefinitions() {
- if (this.secureScoreControlDefinitions == null) {
- this.secureScoreControlDefinitions =
- new SecureScoreControlDefinitionsImpl(clientObject.getSecureScoreControlDefinitions(), this);
+ public SqlVulnerabilityAssessmentScans sqlVulnerabilityAssessmentScans() {
+ if (this.sqlVulnerabilityAssessmentScans == null) {
+ this.sqlVulnerabilityAssessmentScans
+ = new SqlVulnerabilityAssessmentScansImpl(clientObject.getSqlVulnerabilityAssessmentScans(), this);
}
- return secureScoreControlDefinitions;
+ return sqlVulnerabilityAssessmentScans;
}
/**
- * Gets the resource collection API of SecuritySolutions.
- *
- * @return Resource collection API of SecuritySolutions.
+ * Gets the resource collection API of SqlVulnerabilityAssessmentScanResults.
+ *
+ * @return Resource collection API of SqlVulnerabilityAssessmentScanResults.
*/
- public SecuritySolutions securitySolutions() {
- if (this.securitySolutions == null) {
- this.securitySolutions = new SecuritySolutionsImpl(clientObject.getSecuritySolutions(), this);
+ public SqlVulnerabilityAssessmentScanResults sqlVulnerabilityAssessmentScanResults() {
+ if (this.sqlVulnerabilityAssessmentScanResults == null) {
+ this.sqlVulnerabilityAssessmentScanResults = new SqlVulnerabilityAssessmentScanResultsImpl(
+ clientObject.getSqlVulnerabilityAssessmentScanResults(), this);
}
- return securitySolutions;
+ return sqlVulnerabilityAssessmentScanResults;
}
/**
- * Gets the resource collection API of Connectors. It manages ConnectorSetting.
- *
- * @return Resource collection API of Connectors.
+ * Gets the resource collection API of ResourceProviders.
+ *
+ * @return Resource collection API of ResourceProviders.
*/
- public Connectors connectors() {
- if (this.connectors == null) {
- this.connectors = new ConnectorsImpl(clientObject.getConnectors(), this);
+ public ResourceProviders resourceProviders() {
+ if (this.resourceProviders == null) {
+ this.resourceProviders = new ResourceProvidersImpl(clientObject.getResourceProviders(), this);
}
- return connectors;
+ return resourceProviders;
}
/**
- * Gets the resource collection API of Alerts.
- *
- * @return Resource collection API of Alerts.
+ * Gets the resource collection API of SensitivitySettings.
+ *
+ * @return Resource collection API of SensitivitySettings.
*/
- public Alerts alerts() {
- if (this.alerts == null) {
- this.alerts = new AlertsImpl(clientObject.getAlerts(), this);
+ public SensitivitySettings sensitivitySettings() {
+ if (this.sensitivitySettings == null) {
+ this.sensitivitySettings = new SensitivitySettingsImpl(clientObject.getSensitivitySettings(), this);
}
- return alerts;
+ return sensitivitySettings;
}
/**
- * Gets the resource collection API of Settings.
- *
- * @return Resource collection API of Settings.
+ * Gets the resource collection API of HealthReports.
+ *
+ * @return Resource collection API of HealthReports.
*/
- public Settings settings() {
- if (this.settings == null) {
- this.settings = new SettingsImpl(clientObject.getSettings(), this);
+ public HealthReports healthReports() {
+ if (this.healthReports == null) {
+ this.healthReports = new HealthReportsImpl(clientObject.getHealthReports(), this);
}
- return settings;
+ return healthReports;
}
/**
- * Gets the resource collection API of IngestionSettings. It manages IngestionSetting.
- *
- * @return Resource collection API of IngestionSettings.
+ * Gets the resource collection API of AzureDevOpsOrgs. It manages AzureDevOpsOrg.
+ *
+ * @return Resource collection API of AzureDevOpsOrgs.
*/
- public IngestionSettings ingestionSettings() {
- if (this.ingestionSettings == null) {
- this.ingestionSettings = new IngestionSettingsImpl(clientObject.getIngestionSettings(), this);
+ public AzureDevOpsOrgs azureDevOpsOrgs() {
+ if (this.azureDevOpsOrgs == null) {
+ this.azureDevOpsOrgs = new AzureDevOpsOrgsImpl(clientObject.getAzureDevOpsOrgs(), this);
}
- return ingestionSettings;
+ return azureDevOpsOrgs;
}
/**
- * Gets the resource collection API of SoftwareInventories.
- *
- * @return Resource collection API of SoftwareInventories.
+ * Gets the resource collection API of AzureDevOpsProjects. It manages AzureDevOpsProject.
+ *
+ * @return Resource collection API of AzureDevOpsProjects.
*/
- public SoftwareInventories softwareInventories() {
- if (this.softwareInventories == null) {
- this.softwareInventories = new SoftwareInventoriesImpl(clientObject.getSoftwareInventories(), this);
+ public AzureDevOpsProjects azureDevOpsProjects() {
+ if (this.azureDevOpsProjects == null) {
+ this.azureDevOpsProjects = new AzureDevOpsProjectsImpl(clientObject.getAzureDevOpsProjects(), this);
}
- return softwareInventories;
+ return azureDevOpsProjects;
}
/**
- * Gets the resource collection API of GovernanceRules. It manages GovernanceRule.
- *
- * @return Resource collection API of GovernanceRules.
+ * Gets the resource collection API of AzureDevOpsRepos. It manages AzureDevOpsRepository.
+ *
+ * @return Resource collection API of AzureDevOpsRepos.
*/
- public GovernanceRules governanceRules() {
- if (this.governanceRules == null) {
- this.governanceRules = new GovernanceRulesImpl(clientObject.getGovernanceRules(), this);
+ public AzureDevOpsRepos azureDevOpsRepos() {
+ if (this.azureDevOpsRepos == null) {
+ this.azureDevOpsRepos = new AzureDevOpsReposImpl(clientObject.getAzureDevOpsRepos(), this);
}
- return governanceRules;
+ return azureDevOpsRepos;
}
/**
- * Gets the resource collection API of GovernanceAssignments. It manages GovernanceAssignment.
- *
- * @return Resource collection API of GovernanceAssignments.
+ * Gets the resource collection API of DevOpsConfigurations.
+ *
+ * @return Resource collection API of DevOpsConfigurations.
*/
- public GovernanceAssignments governanceAssignments() {
- if (this.governanceAssignments == null) {
- this.governanceAssignments = new GovernanceAssignmentsImpl(clientObject.getGovernanceAssignments(), this);
+ public DevOpsConfigurations devOpsConfigurations() {
+ if (this.devOpsConfigurations == null) {
+ this.devOpsConfigurations = new DevOpsConfigurationsImpl(clientObject.getDevOpsConfigurations(), this);
}
- return governanceAssignments;
+ return devOpsConfigurations;
}
/**
- * Gets the resource collection API of Applications.
- *
- * @return Resource collection API of Applications.
+ * Gets the resource collection API of GitHubOwners.
+ *
+ * @return Resource collection API of GitHubOwners.
*/
- public Applications applications() {
- if (this.applications == null) {
- this.applications = new ApplicationsImpl(clientObject.getApplications(), this);
+ public GitHubOwners gitHubOwners() {
+ if (this.gitHubOwners == null) {
+ this.gitHubOwners = new GitHubOwnersImpl(clientObject.getGitHubOwners(), this);
}
- return applications;
+ return gitHubOwners;
}
/**
- * Gets the resource collection API of ApplicationOperations. It manages Application.
- *
- * @return Resource collection API of ApplicationOperations.
+ * Gets the resource collection API of GitHubRepos.
+ *
+ * @return Resource collection API of GitHubRepos.
*/
- public ApplicationOperations applicationOperations() {
- if (this.applicationOperations == null) {
- this.applicationOperations = new ApplicationOperationsImpl(clientObject.getApplicationOperations(), this);
+ public GitHubRepos gitHubRepos() {
+ if (this.gitHubRepos == null) {
+ this.gitHubRepos = new GitHubReposImpl(clientObject.getGitHubRepos(), this);
}
- return applicationOperations;
+ return gitHubRepos;
}
/**
- * Gets the resource collection API of SecurityConnectorApplications.
- *
- * @return Resource collection API of SecurityConnectorApplications.
+ * Gets the resource collection API of GitLabGroups.
+ *
+ * @return Resource collection API of GitLabGroups.
*/
- public SecurityConnectorApplications securityConnectorApplications() {
- if (this.securityConnectorApplications == null) {
- this.securityConnectorApplications =
- new SecurityConnectorApplicationsImpl(clientObject.getSecurityConnectorApplications(), this);
+ public GitLabGroups gitLabGroups() {
+ if (this.gitLabGroups == null) {
+ this.gitLabGroups = new GitLabGroupsImpl(clientObject.getGitLabGroups(), this);
}
- return securityConnectorApplications;
+ return gitLabGroups;
}
/**
- * Gets the resource collection API of SecurityConnectorApplicationOperations.
- *
- * @return Resource collection API of SecurityConnectorApplicationOperations.
+ * Gets the resource collection API of GitLabSubgroups.
+ *
+ * @return Resource collection API of GitLabSubgroups.
*/
- public SecurityConnectorApplicationOperations securityConnectorApplicationOperations() {
- if (this.securityConnectorApplicationOperations == null) {
- this.securityConnectorApplicationOperations =
- new SecurityConnectorApplicationOperationsImpl(
- clientObject.getSecurityConnectorApplicationOperations(), this);
+ public GitLabSubgroups gitLabSubgroups() {
+ if (this.gitLabSubgroups == null) {
+ this.gitLabSubgroups = new GitLabSubgroupsImpl(clientObject.getGitLabSubgroups(), this);
}
- return securityConnectorApplicationOperations;
+ return gitLabSubgroups;
}
/**
- * Gets the resource collection API of ApiCollections.
- *
- * @return Resource collection API of ApiCollections.
+ * Gets the resource collection API of GitLabProjects.
+ *
+ * @return Resource collection API of GitLabProjects.
*/
- public ApiCollections apiCollections() {
- if (this.apiCollections == null) {
- this.apiCollections = new ApiCollectionsImpl(clientObject.getApiCollections(), this);
+ public GitLabProjects gitLabProjects() {
+ if (this.gitLabProjects == null) {
+ this.gitLabProjects = new GitLabProjectsImpl(clientObject.getGitLabProjects(), this);
}
- return apiCollections;
+ return gitLabProjects;
}
/**
- * Gets the resource collection API of ApiCollectionOnboardings.
- *
- * @return Resource collection API of ApiCollectionOnboardings.
+ * Gets the resource collection API of DevOpsOperationResults.
+ *
+ * @return Resource collection API of DevOpsOperationResults.
*/
- public ApiCollectionOnboardings apiCollectionOnboardings() {
- if (this.apiCollectionOnboardings == null) {
- this.apiCollectionOnboardings =
- new ApiCollectionOnboardingsImpl(clientObject.getApiCollectionOnboardings(), this);
+ public DevOpsOperationResults devOpsOperationResults() {
+ if (this.devOpsOperationResults == null) {
+ this.devOpsOperationResults
+ = new DevOpsOperationResultsImpl(clientObject.getDevOpsOperationResults(), this);
}
- return apiCollectionOnboardings;
+ return devOpsOperationResults;
}
/**
- * Gets the resource collection API of ApiCollectionOffboardings.
- *
- * @return Resource collection API of ApiCollectionOffboardings.
+ * Gets the resource collection API of SecurityConnectors. It manages SecurityConnector.
+ *
+ * @return Resource collection API of SecurityConnectors.
*/
- public ApiCollectionOffboardings apiCollectionOffboardings() {
- if (this.apiCollectionOffboardings == null) {
- this.apiCollectionOffboardings =
- new ApiCollectionOffboardingsImpl(clientObject.getApiCollectionOffboardings(), this);
+ public SecurityConnectors securityConnectors() {
+ if (this.securityConnectors == null) {
+ this.securityConnectors = new SecurityConnectorsImpl(clientObject.getSecurityConnectors(), this);
}
- return apiCollectionOffboardings;
+ return securityConnectors;
}
/**
- * Gets the resource collection API of HealthReports.
- *
- * @return Resource collection API of HealthReports.
+ * Gets the resource collection API of ComplianceResults.
+ *
+ * @return Resource collection API of ComplianceResults.
*/
- public HealthReports healthReports() {
- if (this.healthReports == null) {
- this.healthReports = new HealthReportsImpl(clientObject.getHealthReports(), this);
+ public ComplianceResults complianceResults() {
+ if (this.complianceResults == null) {
+ this.complianceResults = new ComplianceResultsImpl(clientObject.getComplianceResults(), this);
}
- return healthReports;
+ return complianceResults;
}
/**
- * Gets the resource collection API of HealthReportOperations.
- *
- * @return Resource collection API of HealthReportOperations.
+ * Gets the resource collection API of AdvancedThreatProtections. It manages AdvancedThreatProtectionSetting.
+ *
+ * @return Resource collection API of AdvancedThreatProtections.
*/
- public HealthReportOperations healthReportOperations() {
- if (this.healthReportOperations == null) {
- this.healthReportOperations =
- new HealthReportOperationsImpl(clientObject.getHealthReportOperations(), this);
+ public AdvancedThreatProtections advancedThreatProtections() {
+ if (this.advancedThreatProtections == null) {
+ this.advancedThreatProtections
+ = new AdvancedThreatProtectionsImpl(clientObject.getAdvancedThreatProtections(), this);
}
- return healthReportOperations;
+ return advancedThreatProtections;
}
/**
- * Gets the resource collection API of SqlVulnerabilityAssessmentScans.
- *
- * @return Resource collection API of SqlVulnerabilityAssessmentScans.
+ * Gets the resource collection API of DeviceSecurityGroups. It manages DeviceSecurityGroup.
+ *
+ * @return Resource collection API of DeviceSecurityGroups.
*/
- public SqlVulnerabilityAssessmentScans sqlVulnerabilityAssessmentScans() {
- if (this.sqlVulnerabilityAssessmentScans == null) {
- this.sqlVulnerabilityAssessmentScans =
- new SqlVulnerabilityAssessmentScansImpl(clientObject.getSqlVulnerabilityAssessmentScans(), this);
+ public DeviceSecurityGroups deviceSecurityGroups() {
+ if (this.deviceSecurityGroups == null) {
+ this.deviceSecurityGroups = new DeviceSecurityGroupsImpl(clientObject.getDeviceSecurityGroups(), this);
}
- return sqlVulnerabilityAssessmentScans;
+ return deviceSecurityGroups;
}
/**
- * Gets the resource collection API of SqlVulnerabilityAssessmentScanResults.
- *
- * @return Resource collection API of SqlVulnerabilityAssessmentScanResults.
+ * Gets the resource collection API of IotSecuritySolutionAnalytics.
+ *
+ * @return Resource collection API of IotSecuritySolutionAnalytics.
*/
- public SqlVulnerabilityAssessmentScanResults sqlVulnerabilityAssessmentScanResults() {
- if (this.sqlVulnerabilityAssessmentScanResults == null) {
- this.sqlVulnerabilityAssessmentScanResults =
- new SqlVulnerabilityAssessmentScanResultsImpl(
- clientObject.getSqlVulnerabilityAssessmentScanResults(), this);
+ public IotSecuritySolutionAnalytics iotSecuritySolutionAnalytics() {
+ if (this.iotSecuritySolutionAnalytics == null) {
+ this.iotSecuritySolutionAnalytics
+ = new IotSecuritySolutionAnalyticsImpl(clientObject.getIotSecuritySolutionAnalytics(), this);
}
- return sqlVulnerabilityAssessmentScanResults;
+ return iotSecuritySolutionAnalytics;
}
/**
- * Gets the resource collection API of SqlVulnerabilityAssessmentBaselineRules. It manages RuleResults.
- *
- * @return Resource collection API of SqlVulnerabilityAssessmentBaselineRules.
+ * Gets the resource collection API of IotSecuritySolutionsAnalyticsAggregatedAlerts.
+ *
+ * @return Resource collection API of IotSecuritySolutionsAnalyticsAggregatedAlerts.
*/
- public SqlVulnerabilityAssessmentBaselineRules sqlVulnerabilityAssessmentBaselineRules() {
- if (this.sqlVulnerabilityAssessmentBaselineRules == null) {
- this.sqlVulnerabilityAssessmentBaselineRules =
- new SqlVulnerabilityAssessmentBaselineRulesImpl(
- clientObject.getSqlVulnerabilityAssessmentBaselineRules(), this);
+ public IotSecuritySolutionsAnalyticsAggregatedAlerts iotSecuritySolutionsAnalyticsAggregatedAlerts() {
+ if (this.iotSecuritySolutionsAnalyticsAggregatedAlerts == null) {
+ this.iotSecuritySolutionsAnalyticsAggregatedAlerts = new IotSecuritySolutionsAnalyticsAggregatedAlertsImpl(
+ clientObject.getIotSecuritySolutionsAnalyticsAggregatedAlerts(), this);
}
- return sqlVulnerabilityAssessmentBaselineRules;
+ return iotSecuritySolutionsAnalyticsAggregatedAlerts;
}
/**
- * Gets the resource collection API of SecurityConnectors. It manages SecurityConnector.
- *
- * @return Resource collection API of SecurityConnectors.
+ * Gets the resource collection API of IotSecuritySolutionsAnalyticsRecommendations.
+ *
+ * @return Resource collection API of IotSecuritySolutionsAnalyticsRecommendations.
*/
- public SecurityConnectors securityConnectors() {
- if (this.securityConnectors == null) {
- this.securityConnectors = new SecurityConnectorsImpl(clientObject.getSecurityConnectors(), this);
+ public IotSecuritySolutionsAnalyticsRecommendations iotSecuritySolutionsAnalyticsRecommendations() {
+ if (this.iotSecuritySolutionsAnalyticsRecommendations == null) {
+ this.iotSecuritySolutionsAnalyticsRecommendations = new IotSecuritySolutionsAnalyticsRecommendationsImpl(
+ clientObject.getIotSecuritySolutionsAnalyticsRecommendations(), this);
}
- return securityConnectors;
+ return iotSecuritySolutionsAnalyticsRecommendations;
}
/**
- * Gets the resource collection API of SecurityOperators.
- *
- * @return Resource collection API of SecurityOperators.
+ * Gets the resource collection API of IotSecuritySolutions. It manages IoTSecuritySolutionModel.
+ *
+ * @return Resource collection API of IotSecuritySolutions.
*/
- public SecurityOperators securityOperators() {
- if (this.securityOperators == null) {
- this.securityOperators = new SecurityOperatorsImpl(clientObject.getSecurityOperators(), this);
+ public IotSecuritySolutions iotSecuritySolutions() {
+ if (this.iotSecuritySolutions == null) {
+ this.iotSecuritySolutions = new IotSecuritySolutionsImpl(clientObject.getIotSecuritySolutions(), this);
}
- return securityOperators;
+ return iotSecuritySolutions;
+ }
+
+ /**
+ * Gets the resource collection API of AdaptiveNetworkHardenings.
+ *
+ * @return Resource collection API of AdaptiveNetworkHardenings.
+ */
+ public AdaptiveNetworkHardenings adaptiveNetworkHardenings() {
+ if (this.adaptiveNetworkHardenings == null) {
+ this.adaptiveNetworkHardenings
+ = new AdaptiveNetworkHardeningsImpl(clientObject.getAdaptiveNetworkHardenings(), this);
+ }
+ return adaptiveNetworkHardenings;
+ }
+
+ /**
+ * Gets the resource collection API of AllowedConnections.
+ *
+ * @return Resource collection API of AllowedConnections.
+ */
+ public AllowedConnections allowedConnections() {
+ if (this.allowedConnections == null) {
+ this.allowedConnections = new AllowedConnectionsImpl(clientObject.getAllowedConnections(), this);
+ }
+ return allowedConnections;
+ }
+
+ /**
+ * Gets the resource collection API of AdaptiveApplicationControls. It manages AdaptiveApplicationControlGroup.
+ *
+ * @return Resource collection API of AdaptiveApplicationControls.
+ */
+ public AdaptiveApplicationControls adaptiveApplicationControls() {
+ if (this.adaptiveApplicationControls == null) {
+ this.adaptiveApplicationControls
+ = new AdaptiveApplicationControlsImpl(clientObject.getAdaptiveApplicationControls(), this);
+ }
+ return adaptiveApplicationControls;
+ }
+
+ /**
+ * Gets the resource collection API of DiscoveredSecuritySolutions.
+ *
+ * @return Resource collection API of DiscoveredSecuritySolutions.
+ */
+ public DiscoveredSecuritySolutions discoveredSecuritySolutions() {
+ if (this.discoveredSecuritySolutions == null) {
+ this.discoveredSecuritySolutions
+ = new DiscoveredSecuritySolutionsImpl(clientObject.getDiscoveredSecuritySolutions(), this);
+ }
+ return discoveredSecuritySolutions;
+ }
+
+ /**
+ * Gets the resource collection API of ExternalSecuritySolutions.
+ *
+ * @return Resource collection API of ExternalSecuritySolutions.
+ */
+ public ExternalSecuritySolutions externalSecuritySolutions() {
+ if (this.externalSecuritySolutions == null) {
+ this.externalSecuritySolutions
+ = new ExternalSecuritySolutionsImpl(clientObject.getExternalSecuritySolutions(), this);
+ }
+ return externalSecuritySolutions;
+ }
+
+ /**
+ * Gets the resource collection API of JitNetworkAccessPolicies. It manages JitNetworkAccessPolicy.
+ *
+ * @return Resource collection API of JitNetworkAccessPolicies.
+ */
+ public JitNetworkAccessPolicies jitNetworkAccessPolicies() {
+ if (this.jitNetworkAccessPolicies == null) {
+ this.jitNetworkAccessPolicies
+ = new JitNetworkAccessPoliciesImpl(clientObject.getJitNetworkAccessPolicies(), this);
+ }
+ return jitNetworkAccessPolicies;
+ }
+
+ /**
+ * Gets the resource collection API of SecureScores.
+ *
+ * @return Resource collection API of SecureScores.
+ */
+ public SecureScores secureScores() {
+ if (this.secureScores == null) {
+ this.secureScores = new SecureScoresImpl(clientObject.getSecureScores(), this);
+ }
+ return secureScores;
+ }
+
+ /**
+ * Gets the resource collection API of SecureScoreControls.
+ *
+ * @return Resource collection API of SecureScoreControls.
+ */
+ public SecureScoreControls secureScoreControls() {
+ if (this.secureScoreControls == null) {
+ this.secureScoreControls = new SecureScoreControlsImpl(clientObject.getSecureScoreControls(), this);
+ }
+ return secureScoreControls;
+ }
+
+ /**
+ * Gets the resource collection API of SecureScoreControlDefinitions.
+ *
+ * @return Resource collection API of SecureScoreControlDefinitions.
+ */
+ public SecureScoreControlDefinitions secureScoreControlDefinitions() {
+ if (this.secureScoreControlDefinitions == null) {
+ this.secureScoreControlDefinitions
+ = new SecureScoreControlDefinitionsImpl(clientObject.getSecureScoreControlDefinitions(), this);
+ }
+ return secureScoreControlDefinitions;
+ }
+
+ /**
+ * Gets the resource collection API of SecuritySolutions.
+ *
+ * @return Resource collection API of SecuritySolutions.
+ */
+ public SecuritySolutions securitySolutions() {
+ if (this.securitySolutions == null) {
+ this.securitySolutions = new SecuritySolutionsImpl(clientObject.getSecuritySolutions(), this);
+ }
+ return securitySolutions;
+ }
+
+ /**
+ * Gets the resource collection API of SecuritySolutionsReferenceDatas.
+ *
+ * @return Resource collection API of SecuritySolutionsReferenceDatas.
+ */
+ public SecuritySolutionsReferenceDatas securitySolutionsReferenceDatas() {
+ if (this.securitySolutionsReferenceDatas == null) {
+ this.securitySolutionsReferenceDatas
+ = new SecuritySolutionsReferenceDatasImpl(clientObject.getSecuritySolutionsReferenceDatas(), this);
+ }
+ return securitySolutionsReferenceDatas;
+ }
+
+ /**
+ * Gets the resource collection API of ServerVulnerabilityAssessments.
+ *
+ * @return Resource collection API of ServerVulnerabilityAssessments.
+ */
+ public ServerVulnerabilityAssessments serverVulnerabilityAssessments() {
+ if (this.serverVulnerabilityAssessments == null) {
+ this.serverVulnerabilityAssessments
+ = new ServerVulnerabilityAssessmentsImpl(clientObject.getServerVulnerabilityAssessments(), this);
+ }
+ return serverVulnerabilityAssessments;
+ }
+
+ /**
+ * Gets the resource collection API of Topologies.
+ *
+ * @return Resource collection API of Topologies.
+ */
+ public Topologies topologies() {
+ if (this.topologies == null) {
+ this.topologies = new TopologiesImpl(clientObject.getTopologies(), this);
+ }
+ return topologies;
+ }
+
+ /**
+ * Gets the resource collection API of AssessmentsMetadatas. It manages SecurityAssessmentMetadataResponse.
+ *
+ * @return Resource collection API of AssessmentsMetadatas.
+ */
+ public AssessmentsMetadatas assessmentsMetadatas() {
+ if (this.assessmentsMetadatas == null) {
+ this.assessmentsMetadatas = new AssessmentsMetadatasImpl(clientObject.getAssessmentsMetadatas(), this);
+ }
+ return assessmentsMetadatas;
+ }
+
+ /**
+ * Gets the resource collection API of Assessments. It manages SecurityAssessmentResponse.
+ *
+ * @return Resource collection API of Assessments.
+ */
+ public Assessments assessments() {
+ if (this.assessments == null) {
+ this.assessments = new AssessmentsImpl(clientObject.getAssessments(), this);
+ }
+ return assessments;
+ }
+
+ /**
+ * Gets the resource collection API of Alerts.
+ *
+ * @return Resource collection API of Alerts.
+ */
+ public Alerts alerts() {
+ if (this.alerts == null) {
+ this.alerts = new AlertsImpl(clientObject.getAlerts(), this);
+ }
+ return alerts;
+ }
+
+ /**
+ * Gets the resource collection API of Settings.
+ *
+ * @return Resource collection API of Settings.
+ */
+ public Settings settings() {
+ if (this.settings == null) {
+ this.settings = new SettingsImpl(clientObject.getSettings(), this);
+ }
+ return settings;
+ }
+
+ /**
+ * Gets the resource collection API of ServerVulnerabilityAssessmentsSettings.
+ *
+ * @return Resource collection API of ServerVulnerabilityAssessmentsSettings.
+ */
+ public ServerVulnerabilityAssessmentsSettings serverVulnerabilityAssessmentsSettings() {
+ if (this.serverVulnerabilityAssessmentsSettings == null) {
+ this.serverVulnerabilityAssessmentsSettings = new ServerVulnerabilityAssessmentsSettingsImpl(
+ clientObject.getServerVulnerabilityAssessmentsSettings(), this);
+ }
+ return serverVulnerabilityAssessmentsSettings;
+ }
+
+ /**
+ * Gets the resource collection API of ApiCollections.
+ *
+ * @return Resource collection API of ApiCollections.
+ */
+ public ApiCollections apiCollections() {
+ if (this.apiCollections == null) {
+ this.apiCollections = new ApiCollectionsImpl(clientObject.getApiCollections(), this);
+ }
+ return apiCollections;
+ }
+
+ /**
+ * Gets the resource collection API of Pricings.
+ *
+ * @return Resource collection API of Pricings.
+ */
+ public Pricings pricings() {
+ if (this.pricings == null) {
+ this.pricings = new PricingsImpl(clientObject.getPricings(), this);
+ }
+ return pricings;
}
/**
- * @return Wrapped service client SecurityCenter providing direct access to the underlying auto-generated API
- * implementation, based on Azure REST API.
+ * Gets wrapped service client SecurityCenter providing direct access to the underlying auto-generated API
+ * implementation, based on Azure REST API.
+ *
+ * @return Wrapped service client SecurityCenter.
*/
public SecurityCenter serviceClient() {
return this.clientObject;
diff --git a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/AdaptiveApplicationControlsClient.java b/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/AdaptiveApplicationControlsClient.java
index 26e579af6d38..413920bdc12c 100644
--- a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/AdaptiveApplicationControlsClient.java
+++ b/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/AdaptiveApplicationControlsClient.java
@@ -11,11 +11,13 @@
import com.azure.resourcemanager.security.fluent.models.AdaptiveApplicationControlGroupInner;
import com.azure.resourcemanager.security.fluent.models.AdaptiveApplicationControlGroupsInner;
-/** An instance of this class provides access to all the operations defined in AdaptiveApplicationControlsClient. */
+/**
+ * An instance of this class provides access to all the operations defined in AdaptiveApplicationControlsClient.
+ */
public interface AdaptiveApplicationControlsClient {
/**
* Gets a list of application control machine groups for the subscription.
- *
+ *
* @param includePathRecommendations Include the policy rules.
* @param summary Return output in a summarized form.
* @param context The context to associate with this operation.
@@ -25,12 +27,12 @@ public interface AdaptiveApplicationControlsClient {
* @return a list of application control machine groups for the subscription along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response listWithResponse(
- Boolean includePathRecommendations, Boolean summary, Context context);
+ Response listWithResponse(Boolean includePathRecommendations,
+ Boolean summary, Context context);
/**
* Gets a list of application control machine groups for the subscription.
- *
+ *
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return a list of application control machine groups for the subscription.
@@ -40,9 +42,9 @@ Response listWithResponse(
/**
* Gets an application control VM/server group.
- *
+ *
* @param ascLocation The location where ASC stores the data of the subscription. can be retrieved from Get
- * locations.
+ * locations.
* @param groupName Name of an application control machine group.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -51,14 +53,14 @@ Response listWithResponse(
* @return an application control VM/server group along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(
- String ascLocation, String groupName, Context context);
+ Response getWithResponse(String ascLocation, String groupName,
+ Context context);
/**
* Gets an application control VM/server group.
- *
+ *
* @param ascLocation The location where ASC stores the data of the subscription. can be retrieved from Get
- * locations.
+ * locations.
* @param groupName Name of an application control machine group.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -70,9 +72,9 @@ Response getWithResponse(
/**
* Update an application control machine group.
- *
+ *
* @param ascLocation The location where ASC stores the data of the subscription. can be retrieved from Get
- * locations.
+ * locations.
* @param groupName Name of an application control machine group.
* @param body The body parameter.
* @param context The context to associate with this operation.
@@ -82,14 +84,14 @@ Response getWithResponse(
* @return the response body along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response putWithResponse(
- String ascLocation, String groupName, AdaptiveApplicationControlGroupInner body, Context context);
+ Response putWithResponse(String ascLocation, String groupName,
+ AdaptiveApplicationControlGroupInner body, Context context);
/**
* Update an application control machine group.
- *
+ *
* @param ascLocation The location where ASC stores the data of the subscription. can be retrieved from Get
- * locations.
+ * locations.
* @param groupName Name of an application control machine group.
* @param body The body parameter.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -98,14 +100,14 @@ Response putWithResponse(
* @return the response.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- AdaptiveApplicationControlGroupInner put(
- String ascLocation, String groupName, AdaptiveApplicationControlGroupInner body);
+ AdaptiveApplicationControlGroupInner put(String ascLocation, String groupName,
+ AdaptiveApplicationControlGroupInner body);
/**
* Delete an application control machine group.
- *
+ *
* @param ascLocation The location where ASC stores the data of the subscription. can be retrieved from Get
- * locations.
+ * locations.
* @param groupName Name of an application control machine group.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -118,9 +120,9 @@ AdaptiveApplicationControlGroupInner put(
/**
* Delete an application control machine group.
- *
+ *
* @param ascLocation The location where ASC stores the data of the subscription. can be retrieved from Get
- * locations.
+ * locations.
* @param groupName Name of an application control machine group.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
diff --git a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/AdaptiveNetworkHardeningsClient.java b/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/AdaptiveNetworkHardeningsClient.java
index 9a39539b447e..a9d60aff4c1c 100644
--- a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/AdaptiveNetworkHardeningsClient.java
+++ b/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/AdaptiveNetworkHardeningsClient.java
@@ -14,13 +14,15 @@
import com.azure.resourcemanager.security.fluent.models.AdaptiveNetworkHardeningInner;
import com.azure.resourcemanager.security.models.AdaptiveNetworkHardeningEnforceRequest;
-/** An instance of this class provides access to all the operations defined in AdaptiveNetworkHardeningsClient. */
+/**
+ * An instance of this class provides access to all the operations defined in AdaptiveNetworkHardeningsClient.
+ */
public interface AdaptiveNetworkHardeningsClient {
/**
* Gets a list of Adaptive Network Hardenings resources in scope of an extended resource.
- *
+ *
* @param resourceGroupName The name of the resource group within the user's subscription. The name is case
- * insensitive.
+ * insensitive.
* @param resourceNamespace The Namespace of the resource.
* @param resourceType The type of the resource.
* @param resourceName Name of the resource.
@@ -28,17 +30,17 @@ public interface AdaptiveNetworkHardeningsClient {
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return a list of Adaptive Network Hardenings resources in scope of an extended resource as paginated response
- * with {@link PagedIterable}.
+ * with {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable listByExtendedResource(
- String resourceGroupName, String resourceNamespace, String resourceType, String resourceName);
+ PagedIterable listByExtendedResource(String resourceGroupName,
+ String resourceNamespace, String resourceType, String resourceName);
/**
* Gets a list of Adaptive Network Hardenings resources in scope of an extended resource.
- *
+ *
* @param resourceGroupName The name of the resource group within the user's subscription. The name is case
- * insensitive.
+ * insensitive.
* @param resourceNamespace The Namespace of the resource.
* @param resourceType The type of the resource.
* @param resourceName Name of the resource.
@@ -47,17 +49,17 @@ PagedIterable listByExtendedResource(
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return a list of Adaptive Network Hardenings resources in scope of an extended resource as paginated response
- * with {@link PagedIterable}.
+ * with {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable listByExtendedResource(
- String resourceGroupName, String resourceNamespace, String resourceType, String resourceName, Context context);
+ PagedIterable listByExtendedResource(String resourceGroupName,
+ String resourceNamespace, String resourceType, String resourceName, Context context);
/**
* Gets a single Adaptive Network Hardening resource.
- *
+ *
* @param resourceGroupName The name of the resource group within the user's subscription. The name is case
- * insensitive.
+ * insensitive.
* @param resourceNamespace The Namespace of the resource.
* @param resourceType The type of the resource.
* @param resourceName Name of the resource.
@@ -69,19 +71,14 @@ PagedIterable listByExtendedResource(
* @return a single Adaptive Network Hardening resource along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(
- String resourceGroupName,
- String resourceNamespace,
- String resourceType,
- String resourceName,
- String adaptiveNetworkHardeningResourceName,
- Context context);
+ Response getWithResponse(String resourceGroupName, String resourceNamespace,
+ String resourceType, String resourceName, String adaptiveNetworkHardeningResourceName, Context context);
/**
* Gets a single Adaptive Network Hardening resource.
- *
+ *
* @param resourceGroupName The name of the resource group within the user's subscription. The name is case
- * insensitive.
+ * insensitive.
* @param resourceNamespace The Namespace of the resource.
* @param resourceType The type of the resource.
* @param resourceName Name of the resource.
@@ -92,18 +89,14 @@ Response getWithResponse(
* @return a single Adaptive Network Hardening resource.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- AdaptiveNetworkHardeningInner get(
- String resourceGroupName,
- String resourceNamespace,
- String resourceType,
- String resourceName,
- String adaptiveNetworkHardeningResourceName);
+ AdaptiveNetworkHardeningInner get(String resourceGroupName, String resourceNamespace, String resourceType,
+ String resourceName, String adaptiveNetworkHardeningResourceName);
/**
* Enforces the given rules on the NSG(s) listed in the request.
- *
+ *
* @param resourceGroupName The name of the resource group within the user's subscription. The name is case
- * insensitive.
+ * insensitive.
* @param resourceNamespace The Namespace of the resource.
* @param resourceType The type of the resource.
* @param resourceName Name of the resource.
@@ -115,19 +108,15 @@ AdaptiveNetworkHardeningInner get(
* @return the {@link SyncPoller} for polling of long-running operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, Void> beginEnforce(
- String resourceGroupName,
- String resourceNamespace,
- String resourceType,
- String resourceName,
- String adaptiveNetworkHardeningResourceName,
+ SyncPoller, Void> beginEnforce(String resourceGroupName, String resourceNamespace,
+ String resourceType, String resourceName, String adaptiveNetworkHardeningResourceName,
AdaptiveNetworkHardeningEnforceRequest body);
/**
* Enforces the given rules on the NSG(s) listed in the request.
- *
+ *
* @param resourceGroupName The name of the resource group within the user's subscription. The name is case
- * insensitive.
+ * insensitive.
* @param resourceNamespace The Namespace of the resource.
* @param resourceType The type of the resource.
* @param resourceName Name of the resource.
@@ -140,20 +129,15 @@ SyncPoller, Void> beginEnforce(
* @return the {@link SyncPoller} for polling of long-running operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, Void> beginEnforce(
- String resourceGroupName,
- String resourceNamespace,
- String resourceType,
- String resourceName,
- String adaptiveNetworkHardeningResourceName,
- AdaptiveNetworkHardeningEnforceRequest body,
- Context context);
+ SyncPoller, Void> beginEnforce(String resourceGroupName, String resourceNamespace,
+ String resourceType, String resourceName, String adaptiveNetworkHardeningResourceName,
+ AdaptiveNetworkHardeningEnforceRequest body, Context context);
/**
* Enforces the given rules on the NSG(s) listed in the request.
- *
+ *
* @param resourceGroupName The name of the resource group within the user's subscription. The name is case
- * insensitive.
+ * insensitive.
* @param resourceNamespace The Namespace of the resource.
* @param resourceType The type of the resource.
* @param resourceName Name of the resource.
@@ -164,19 +148,14 @@ SyncPoller, Void> beginEnforce(
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- void enforce(
- String resourceGroupName,
- String resourceNamespace,
- String resourceType,
- String resourceName,
- String adaptiveNetworkHardeningResourceName,
- AdaptiveNetworkHardeningEnforceRequest body);
+ void enforce(String resourceGroupName, String resourceNamespace, String resourceType, String resourceName,
+ String adaptiveNetworkHardeningResourceName, AdaptiveNetworkHardeningEnforceRequest body);
/**
* Enforces the given rules on the NSG(s) listed in the request.
- *
+ *
* @param resourceGroupName The name of the resource group within the user's subscription. The name is case
- * insensitive.
+ * insensitive.
* @param resourceNamespace The Namespace of the resource.
* @param resourceType The type of the resource.
* @param resourceName Name of the resource.
@@ -188,12 +167,6 @@ void enforce(
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- void enforce(
- String resourceGroupName,
- String resourceNamespace,
- String resourceType,
- String resourceName,
- String adaptiveNetworkHardeningResourceName,
- AdaptiveNetworkHardeningEnforceRequest body,
- Context context);
+ void enforce(String resourceGroupName, String resourceNamespace, String resourceType, String resourceName,
+ String adaptiveNetworkHardeningResourceName, AdaptiveNetworkHardeningEnforceRequest body, Context context);
}
diff --git a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/AdvancedThreatProtectionsClient.java b/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/AdvancedThreatProtectionsClient.java
index df0146bcab8f..923759f73f94 100644
--- a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/AdvancedThreatProtectionsClient.java
+++ b/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/AdvancedThreatProtectionsClient.java
@@ -10,11 +10,13 @@
import com.azure.core.util.Context;
import com.azure.resourcemanager.security.fluent.models.AdvancedThreatProtectionSettingInner;
-/** An instance of this class provides access to all the operations defined in AdvancedThreatProtectionsClient. */
+/**
+ * An instance of this class provides access to all the operations defined in AdvancedThreatProtectionsClient.
+ */
public interface AdvancedThreatProtectionsClient {
/**
* Gets the Advanced Threat Protection settings for the specified resource.
- *
+ *
* @param resourceId The identifier of the resource.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -27,7 +29,7 @@ public interface AdvancedThreatProtectionsClient {
/**
* Gets the Advanced Threat Protection settings for the specified resource.
- *
+ *
* @param resourceId The identifier of the resource.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -39,7 +41,7 @@ public interface AdvancedThreatProtectionsClient {
/**
* Creates or updates the Advanced Threat Protection settings on a specified resource.
- *
+ *
* @param resourceId The identifier of the resource.
* @param advancedThreatProtectionSetting Advanced Threat Protection Settings.
* @param context The context to associate with this operation.
@@ -49,12 +51,12 @@ public interface AdvancedThreatProtectionsClient {
* @return the Advanced Threat Protection resource along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response createWithResponse(
- String resourceId, AdvancedThreatProtectionSettingInner advancedThreatProtectionSetting, Context context);
+ Response createWithResponse(String resourceId,
+ AdvancedThreatProtectionSettingInner advancedThreatProtectionSetting, Context context);
/**
* Creates or updates the Advanced Threat Protection settings on a specified resource.
- *
+ *
* @param resourceId The identifier of the resource.
* @param advancedThreatProtectionSetting Advanced Threat Protection Settings.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -63,6 +65,6 @@ Response createWithResponse(
* @return the Advanced Threat Protection resource.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- AdvancedThreatProtectionSettingInner create(
- String resourceId, AdvancedThreatProtectionSettingInner advancedThreatProtectionSetting);
+ AdvancedThreatProtectionSettingInner create(String resourceId,
+ AdvancedThreatProtectionSettingInner advancedThreatProtectionSetting);
}
diff --git a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/AlertsClient.java b/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/AlertsClient.java
index 6a8b01d63a82..198c8dcd1e90 100644
--- a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/AlertsClient.java
+++ b/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/AlertsClient.java
@@ -14,11 +14,13 @@
import com.azure.resourcemanager.security.fluent.models.AlertInner;
import com.azure.resourcemanager.security.models.AlertSimulatorRequestBody;
-/** An instance of this class provides access to all the operations defined in AlertsClient. */
+/**
+ * An instance of this class provides access to all the operations defined in AlertsClient.
+ */
public interface AlertsClient {
/**
* List all the alerts that are associated with the subscription.
- *
+ *
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return list of security alerts as paginated response with {@link PagedIterable}.
@@ -28,7 +30,7 @@ public interface AlertsClient {
/**
* List all the alerts that are associated with the subscription.
- *
+ *
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -40,9 +42,9 @@ public interface AlertsClient {
/**
* List all the alerts that are associated with the resource group.
- *
+ *
* @param resourceGroupName The name of the resource group within the user's subscription. The name is case
- * insensitive.
+ * 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.
@@ -53,9 +55,9 @@ public interface AlertsClient {
/**
* List all the alerts that are associated with the resource group.
- *
+ *
* @param resourceGroupName The name of the resource group within the user's subscription. The name is case
- * insensitive.
+ * 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.
@@ -67,9 +69,9 @@ public interface AlertsClient {
/**
* List all the alerts that are associated with the subscription that are stored in a specific location.
- *
+ *
* @param ascLocation The location where ASC stores the data of the subscription. can be retrieved from Get
- * locations.
+ * 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.
@@ -80,9 +82,9 @@ public interface AlertsClient {
/**
* List all the alerts that are associated with the subscription that are stored in a specific location.
- *
+ *
* @param ascLocation The location where ASC stores the data of the subscription. can be retrieved from Get
- * locations.
+ * 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.
@@ -94,11 +96,11 @@ public interface AlertsClient {
/**
* List all the alerts that are associated with the resource group that are stored in a specific location.
- *
+ *
* @param ascLocation The location where ASC stores the data of the subscription. can be retrieved from Get
- * locations.
+ * locations.
* @param resourceGroupName The name of the resource group within the user's subscription. The name is case
- * insensitive.
+ * 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.
@@ -109,11 +111,11 @@ public interface AlertsClient {
/**
* List all the alerts that are associated with the resource group that are stored in a specific location.
- *
+ *
* @param ascLocation The location where ASC stores the data of the subscription. can be retrieved from Get
- * locations.
+ * locations.
* @param resourceGroupName The name of the resource group within the user's subscription. The name is case
- * insensitive.
+ * 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.
@@ -121,14 +123,14 @@ public interface AlertsClient {
* @return list of security alerts as paginated response with {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable listResourceGroupLevelByRegion(
- String ascLocation, String resourceGroupName, Context context);
+ PagedIterable listResourceGroupLevelByRegion(String ascLocation, String resourceGroupName,
+ Context context);
/**
* Get an alert that is associated with a subscription.
- *
+ *
* @param ascLocation The location where ASC stores the data of the subscription. can be retrieved from Get
- * locations.
+ * locations.
* @param alertName Name of the alert object.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -141,9 +143,9 @@ PagedIterable listResourceGroupLevelByRegion(
/**
* Get an alert that is associated with a subscription.
- *
+ *
* @param ascLocation The location where ASC stores the data of the subscription. can be retrieved from Get
- * locations.
+ * locations.
* @param alertName Name of the alert object.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -155,30 +157,30 @@ PagedIterable listResourceGroupLevelByRegion(
/**
* Get an alert that is associated a resource group or a resource in a resource group.
- *
+ *
* @param resourceGroupName The name of the resource group within the user's subscription. The name is case
- * insensitive.
+ * insensitive.
* @param ascLocation The location where ASC stores the data of the subscription. can be retrieved from Get
- * locations.
+ * locations.
* @param alertName Name of the alert object.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return an alert that is associated a resource group or a resource in a resource group along with {@link
- * Response}.
+ * @return an alert that is associated a resource group or a resource in a resource group along with
+ * {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response getResourceGroupLevelWithResponse(
- String resourceGroupName, String ascLocation, String alertName, Context context);
+ Response getResourceGroupLevelWithResponse(String resourceGroupName, String ascLocation,
+ String alertName, Context context);
/**
* Get an alert that is associated a resource group or a resource in a resource group.
- *
+ *
* @param resourceGroupName The name of the resource group within the user's subscription. The name is case
- * insensitive.
+ * insensitive.
* @param ascLocation The location where ASC stores the data of the subscription. can be retrieved from Get
- * locations.
+ * locations.
* @param alertName Name of the alert object.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -190,9 +192,9 @@ Response getResourceGroupLevelWithResponse(
/**
* Update the alert's state.
- *
+ *
* @param ascLocation The location where ASC stores the data of the subscription. can be retrieved from Get
- * locations.
+ * locations.
* @param alertName Name of the alert object.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -201,14 +203,14 @@ Response getResourceGroupLevelWithResponse(
* @return the {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response updateSubscriptionLevelStateToDismissWithResponse(
- String ascLocation, String alertName, Context context);
+ Response updateSubscriptionLevelStateToDismissWithResponse(String ascLocation, String alertName,
+ Context context);
/**
* Update the alert's state.
- *
+ *
* @param ascLocation The location where ASC stores the data of the subscription. can be retrieved from Get
- * locations.
+ * locations.
* @param alertName Name of the alert object.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -219,9 +221,9 @@ Response updateSubscriptionLevelStateToDismissWithResponse(
/**
* Update the alert's state.
- *
+ *
* @param ascLocation The location where ASC stores the data of the subscription. can be retrieved from Get
- * locations.
+ * locations.
* @param alertName Name of the alert object.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -230,14 +232,14 @@ Response updateSubscriptionLevelStateToDismissWithResponse(
* @return the {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response updateSubscriptionLevelStateToResolveWithResponse(
- String ascLocation, String alertName, Context context);
+ Response updateSubscriptionLevelStateToResolveWithResponse(String ascLocation, String alertName,
+ Context context);
/**
* Update the alert's state.
- *
+ *
* @param ascLocation The location where ASC stores the data of the subscription. can be retrieved from Get
- * locations.
+ * locations.
* @param alertName Name of the alert object.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -248,9 +250,9 @@ Response updateSubscriptionLevelStateToResolveWithResponse(
/**
* Update the alert's state.
- *
+ *
* @param ascLocation The location where ASC stores the data of the subscription. can be retrieved from Get
- * locations.
+ * locations.
* @param alertName Name of the alert object.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -259,14 +261,14 @@ Response updateSubscriptionLevelStateToResolveWithResponse(
* @return the {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response updateSubscriptionLevelStateToActivateWithResponse(
- String ascLocation, String alertName, Context context);
+ Response updateSubscriptionLevelStateToActivateWithResponse(String ascLocation, String alertName,
+ Context context);
/**
* Update the alert's state.
- *
+ *
* @param ascLocation The location where ASC stores the data of the subscription. can be retrieved from Get
- * locations.
+ * locations.
* @param alertName Name of the alert object.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -277,9 +279,9 @@ Response updateSubscriptionLevelStateToActivateWithResponse(
/**
* Update the alert's state.
- *
+ *
* @param ascLocation The location where ASC stores the data of the subscription. can be retrieved from Get
- * locations.
+ * locations.
* @param alertName Name of the alert object.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -288,14 +290,14 @@ Response updateSubscriptionLevelStateToActivateWithResponse(
* @return the {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response updateSubscriptionLevelStateToInProgressWithResponse(
- String ascLocation, String alertName, Context context);
+ Response updateSubscriptionLevelStateToInProgressWithResponse(String ascLocation, String alertName,
+ Context context);
/**
* Update the alert's state.
- *
+ *
* @param ascLocation The location where ASC stores the data of the subscription. can be retrieved from Get
- * locations.
+ * locations.
* @param alertName Name of the alert object.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -306,11 +308,11 @@ Response updateSubscriptionLevelStateToInProgressWithResponse(
/**
* Update the alert's state.
- *
+ *
* @param resourceGroupName The name of the resource group within the user's subscription. The name is case
- * insensitive.
+ * insensitive.
* @param ascLocation The location where ASC stores the data of the subscription. can be retrieved from Get
- * locations.
+ * locations.
* @param alertName Name of the alert object.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -319,16 +321,16 @@ Response updateSubscriptionLevelStateToInProgressWithResponse(
* @return the {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response updateResourceGroupLevelStateToResolveWithResponse(
- String resourceGroupName, String ascLocation, String alertName, Context context);
+ Response updateResourceGroupLevelStateToResolveWithResponse(String resourceGroupName, String ascLocation,
+ String alertName, Context context);
/**
* Update the alert's state.
- *
+ *
* @param resourceGroupName The name of the resource group within the user's subscription. The name is case
- * insensitive.
+ * insensitive.
* @param ascLocation The location where ASC stores the data of the subscription. can be retrieved from Get
- * locations.
+ * locations.
* @param alertName Name of the alert object.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -339,11 +341,11 @@ Response updateResourceGroupLevelStateToResolveWithResponse(
/**
* Update the alert's state.
- *
+ *
* @param resourceGroupName The name of the resource group within the user's subscription. The name is case
- * insensitive.
+ * insensitive.
* @param ascLocation The location where ASC stores the data of the subscription. can be retrieved from Get
- * locations.
+ * locations.
* @param alertName Name of the alert object.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -352,16 +354,16 @@ Response updateResourceGroupLevelStateToResolveWithResponse(
* @return the {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response updateResourceGroupLevelStateToDismissWithResponse(
- String resourceGroupName, String ascLocation, String alertName, Context context);
+ Response updateResourceGroupLevelStateToDismissWithResponse(String resourceGroupName, String ascLocation,
+ String alertName, Context context);
/**
* Update the alert's state.
- *
+ *
* @param resourceGroupName The name of the resource group within the user's subscription. The name is case
- * insensitive.
+ * insensitive.
* @param ascLocation The location where ASC stores the data of the subscription. can be retrieved from Get
- * locations.
+ * locations.
* @param alertName Name of the alert object.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -372,11 +374,11 @@ Response updateResourceGroupLevelStateToDismissWithResponse(
/**
* Update the alert's state.
- *
+ *
* @param resourceGroupName The name of the resource group within the user's subscription. The name is case
- * insensitive.
+ * insensitive.
* @param ascLocation The location where ASC stores the data of the subscription. can be retrieved from Get
- * locations.
+ * locations.
* @param alertName Name of the alert object.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -385,16 +387,16 @@ Response updateResourceGroupLevelStateToDismissWithResponse(
* @return the {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response updateResourceGroupLevelStateToActivateWithResponse(
- String resourceGroupName, String ascLocation, String alertName, Context context);
+ Response updateResourceGroupLevelStateToActivateWithResponse(String resourceGroupName, String ascLocation,
+ String alertName, Context context);
/**
* Update the alert's state.
- *
+ *
* @param resourceGroupName The name of the resource group within the user's subscription. The name is case
- * insensitive.
+ * insensitive.
* @param ascLocation The location where ASC stores the data of the subscription. can be retrieved from Get
- * locations.
+ * locations.
* @param alertName Name of the alert object.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -405,11 +407,11 @@ Response updateResourceGroupLevelStateToActivateWithResponse(
/**
* Update the alert's state.
- *
+ *
* @param resourceGroupName The name of the resource group within the user's subscription. The name is case
- * insensitive.
+ * insensitive.
* @param ascLocation The location where ASC stores the data of the subscription. can be retrieved from Get
- * locations.
+ * locations.
* @param alertName Name of the alert object.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -418,16 +420,16 @@ Response updateResourceGroupLevelStateToActivateWithResponse(
* @return the {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response updateResourceGroupLevelStateToInProgressWithResponse(
- String resourceGroupName, String ascLocation, String alertName, Context context);
+ Response updateResourceGroupLevelStateToInProgressWithResponse(String resourceGroupName, String ascLocation,
+ String alertName, Context context);
/**
* Update the alert's state.
- *
+ *
* @param resourceGroupName The name of the resource group within the user's subscription. The name is case
- * insensitive.
+ * insensitive.
* @param ascLocation The location where ASC stores the data of the subscription. can be retrieved from Get
- * locations.
+ * locations.
* @param alertName Name of the alert object.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -438,9 +440,9 @@ Response updateResourceGroupLevelStateToInProgressWithResponse(
/**
* Simulate security alerts.
- *
+ *
* @param ascLocation The location where ASC stores the data of the subscription. can be retrieved from Get
- * locations.
+ * locations.
* @param alertSimulatorRequestBody Alert Simulator Request Properties.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -448,14 +450,14 @@ Response updateResourceGroupLevelStateToInProgressWithResponse(
* @return the {@link SyncPoller} for polling of long-running operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, Void> beginSimulate(
- String ascLocation, AlertSimulatorRequestBody alertSimulatorRequestBody);
+ SyncPoller, Void> beginSimulate(String ascLocation,
+ AlertSimulatorRequestBody alertSimulatorRequestBody);
/**
* Simulate security alerts.
- *
+ *
* @param ascLocation The location where ASC stores the data of the subscription. can be retrieved from Get
- * locations.
+ * locations.
* @param alertSimulatorRequestBody Alert Simulator Request Properties.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -464,14 +466,14 @@ SyncPoller, Void> beginSimulate(
* @return the {@link SyncPoller} for polling of long-running operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, Void> beginSimulate(
- String ascLocation, AlertSimulatorRequestBody alertSimulatorRequestBody, Context context);
+ SyncPoller, Void> beginSimulate(String ascLocation,
+ AlertSimulatorRequestBody alertSimulatorRequestBody, Context context);
/**
* Simulate security alerts.
- *
+ *
* @param ascLocation The location where ASC stores the data of the subscription. can be retrieved from Get
- * locations.
+ * locations.
* @param alertSimulatorRequestBody Alert Simulator Request Properties.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -482,9 +484,9 @@ SyncPoller, Void> beginSimulate(
/**
* Simulate security alerts.
- *
+ *
* @param ascLocation The location where ASC stores the data of the subscription. can be retrieved from Get
- * locations.
+ * locations.
* @param alertSimulatorRequestBody Alert Simulator Request Properties.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
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
index 64f7db01f3ce..4536de8753de 100644
--- 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
@@ -11,11 +11,13 @@
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. */
+/**
+ * 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}.
@@ -25,7 +27,7 @@ public interface AlertsSuppressionRulesClient {
/**
* 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.
@@ -38,21 +40,21 @@ public interface AlertsSuppressionRulesClient {
/**
* 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}.
+ * @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.
@@ -64,7 +66,7 @@ public interface AlertsSuppressionRulesClient {
/**
* 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.
@@ -74,12 +76,12 @@ public interface AlertsSuppressionRulesClient {
* @return describes the suppression rule along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response updateWithResponse(
- String alertsSuppressionRuleName, AlertsSuppressionRuleInner alertsSuppressionRule, Context context);
+ 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.
@@ -88,12 +90,12 @@ Response updateWithResponse(
* @return describes the suppression rule.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- AlertsSuppressionRuleInner update(
- String alertsSuppressionRuleName, AlertsSuppressionRuleInner alertsSuppressionRule);
+ 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.
@@ -106,7 +108,7 @@ AlertsSuppressionRuleInner update(
/**
* 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.
diff --git a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/AllowedConnectionsClient.java b/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/AllowedConnectionsClient.java
index 021776947464..2f0fa1c92398 100644
--- a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/AllowedConnectionsClient.java
+++ b/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/AllowedConnectionsClient.java
@@ -12,57 +12,59 @@
import com.azure.resourcemanager.security.fluent.models.AllowedConnectionsResourceInner;
import com.azure.resourcemanager.security.models.ConnectionType;
-/** An instance of this class provides access to all the operations defined in AllowedConnectionsClient. */
+/**
+ * An instance of this class provides access to all the operations defined in AllowedConnectionsClient.
+ */
public interface AllowedConnectionsClient {
/**
* Gets the list of all possible traffic between resources for the subscription.
- *
+ *
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the list of all possible traffic between resources for the subscription as paginated response with {@link
- * PagedIterable}.
+ * @return the list of all possible traffic between resources for the subscription as paginated response with
+ * {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable list();
/**
* Gets the list of all possible traffic between resources for the subscription.
- *
+ *
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the list of all possible traffic between resources for the subscription as paginated response with {@link
- * PagedIterable}.
+ * @return the list of all possible traffic between resources for the subscription as paginated response with
+ * {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable list(Context context);
/**
* Gets the list of all possible traffic between resources for the subscription and location.
- *
+ *
* @param ascLocation The location where ASC stores the data of the subscription. can be retrieved from Get
- * locations.
+ * locations.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the list of all possible traffic between resources for the subscription and location as paginated
- * response with {@link PagedIterable}.
+ * response with {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable listByHomeRegion(String ascLocation);
/**
* Gets the list of all possible traffic between resources for the subscription and location.
- *
+ *
* @param ascLocation The location where ASC stores the data of the subscription. can be retrieved from Get
- * locations.
+ * locations.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the list of all possible traffic between resources for the subscription and location as paginated
- * response with {@link PagedIterable}.
+ * response with {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable listByHomeRegion(String ascLocation, Context context);
@@ -70,37 +72,37 @@ public interface AllowedConnectionsClient {
/**
* Gets the list of all possible traffic between resources for the subscription and location, based on connection
* type.
- *
+ *
* @param resourceGroupName The name of the resource group within the user's subscription. The name is case
- * insensitive.
+ * insensitive.
* @param ascLocation The location where ASC stores the data of the subscription. can be retrieved from Get
- * locations.
+ * locations.
* @param connectionType The type of allowed connections (Internal, External).
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the list of all possible traffic between resources for the subscription and location, based on connection
- * type along with {@link Response}.
+ * type along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(
- String resourceGroupName, String ascLocation, ConnectionType connectionType, Context context);
+ Response getWithResponse(String resourceGroupName, String ascLocation,
+ ConnectionType connectionType, Context context);
/**
* Gets the list of all possible traffic between resources for the subscription and location, based on connection
* type.
- *
+ *
* @param resourceGroupName The name of the resource group within the user's subscription. The name is case
- * insensitive.
+ * insensitive.
* @param ascLocation The location where ASC stores the data of the subscription. can be retrieved from Get
- * locations.
+ * locations.
* @param connectionType The type of allowed connections (Internal, External).
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the list of all possible traffic between resources for the subscription and location, based on connection
- * type.
+ * type.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
AllowedConnectionsResourceInner get(String resourceGroupName, String ascLocation, ConnectionType connectionType);
diff --git a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/ApiCollectionOffboardingsClient.java b/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/ApiCollectionOffboardingsClient.java
deleted file mode 100644
index 01617030ae54..000000000000
--- a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/ApiCollectionOffboardingsClient.java
+++ /dev/null
@@ -1,50 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.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;
-
-/** An instance of this class provides access to all the operations defined in ApiCollectionOffboardingsClient. */
-public interface ApiCollectionOffboardingsClient {
- /**
- * Offboard an Azure API Management API from Defender for APIs
- *
- * Offboard an Azure API Management API from Defender for APIs. The system will stop monitoring the operations
- * within the Azure API Management API for intrusive behaviors.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param serviceName The name of the API Management service.
- * @param apiCollectionId A string representing the apiCollections resource within the Microsoft.Security provider
- * namespace. This string matches the Azure API Management API 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 serviceName, String apiCollectionId, Context context);
-
- /**
- * Offboard an Azure API Management API from Defender for APIs
- *
- * Offboard an Azure API Management API from Defender for APIs. The system will stop monitoring the operations
- * within the Azure API Management API for intrusive behaviors.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param serviceName The name of the API Management service.
- * @param apiCollectionId A string representing the apiCollections resource within the Microsoft.Security provider
- * namespace. This string matches the Azure API Management API 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 serviceName, String apiCollectionId);
-}
diff --git a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/ApiCollectionOnboardingsClient.java b/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/ApiCollectionOnboardingsClient.java
deleted file mode 100644
index 2dd341d3c7e1..000000000000
--- a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/ApiCollectionOnboardingsClient.java
+++ /dev/null
@@ -1,52 +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.ApiCollectionResponseInner;
-
-/** An instance of this class provides access to all the operations defined in ApiCollectionOnboardingsClient. */
-public interface ApiCollectionOnboardingsClient {
- /**
- * Onboard an Azure API Management API to Defender for APIs
- *
- *
Onboard an Azure API Management API to Defender for APIs. The system will start monitoring the operations
- * within the Azure Management API for intrusive behaviors and provide alerts for attacks that have been detected.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param serviceName The name of the API Management service.
- * @param apiCollectionId A string representing the apiCollections resource within the Microsoft.Security provider
- * namespace. This string matches the Azure API Management API 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 an API collection as represented by Defender for APIs along with {@link Response}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response createWithResponse(
- String resourceGroupName, String serviceName, String apiCollectionId, Context context);
-
- /**
- * Onboard an Azure API Management API to Defender for APIs
- *
- * Onboard an Azure API Management API to Defender for APIs. The system will start monitoring the operations
- * within the Azure Management API for intrusive behaviors and provide alerts for attacks that have been detected.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param serviceName The name of the API Management service.
- * @param apiCollectionId A string representing the apiCollections resource within the Microsoft.Security provider
- * namespace. This string matches the Azure API Management API 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 an API collection as represented by Defender for APIs.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- ApiCollectionResponseInner create(String resourceGroupName, String serviceName, String apiCollectionId);
-}
diff --git a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/ApiCollectionsClient.java b/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/ApiCollectionsClient.java
index 6eded28ea973..be7da87c723d 100644
--- a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/ApiCollectionsClient.java
+++ b/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/ApiCollectionsClient.java
@@ -8,85 +8,268 @@
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.resourcemanager.security.fluent.models.ApiCollectionResponseInner;
+import com.azure.core.util.polling.SyncPoller;
+import com.azure.resourcemanager.security.fluent.models.ApiCollectionInner;
-/** An instance of this class provides access to all the operations defined in ApiCollectionsClient. */
+/**
+ * An instance of this class provides access to all the operations defined in ApiCollectionsClient.
+ */
public interface ApiCollectionsClient {
/**
- * Gets a list of Azure API Management APIs that have been onboarded to Defender for APIs
- *
- *
Gets a list of Azure API Management APIs that have been onboarded to Defender for APIs. If an Azure API
- * Management API is onboarded to Defender for APIs, the system will monitor the operations within the Azure API
- * Management API for intrusive behaviors and provide alerts for attacks that have been detected.
- *
+ * Gets a list of API collections within a subscription
+ *
+ * Gets a list of API collections within a subscription that have been onboarded to Microsoft Defender for APIs.
+ *
+ * @throws com.azure.core.management.exception.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 API collections within a subscription that have been onboarded to Microsoft Defender for APIs
+ * as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list();
+
+ /**
+ * Gets a list of API collections within a subscription
+ *
+ * Gets a list of API collections within a subscription that have been onboarded to Microsoft Defender for APIs.
+ *
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.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 API collections within a subscription that have been onboarded to Microsoft Defender for APIs
+ * as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(Context context);
+
+ /**
+ * Gets a list of API collections within a resource group
+ *
+ * Gets a list of API collections within a resource group that have been onboarded to Microsoft Defender for APIs.
+ *
+ * @param resourceGroupName The name of the resource group. 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 API collections within a resource group that have been onboarded to Microsoft Defender for APIs
+ * as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByResourceGroup(String resourceGroupName);
+
+ /**
+ * Gets a list of API collections within a resource group
+ *
+ * Gets a list of API collections within a resource group that have been onboarded to Microsoft Defender for APIs.
+ *
+ * @param resourceGroupName The name of the resource group. 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 API collections within a resource group that have been onboarded to Microsoft Defender for APIs
+ * as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByResourceGroup(String resourceGroupName, Context context);
+
+ /**
+ * Gets a list of onboarded Azure API Management APIs
+ *
+ * Gets a list of Azure API Management APIs that have been onboarded to Microsoft Defender for APIs. If an Azure API
+ * Management API is onboarded to Microsoft Defender for APIs, the system will monitor the operations within the
+ * Azure API Management API for intrusive behaviors and provide alerts for attacks that have been detected.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param serviceName The name of the API Management service.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.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 Azure API Management APIs that have been onboarded to Defender for APIs as paginated response
- * with {@link PagedIterable}.
+ * @return a list of Azure API Management APIs that have been onboarded to Microsoft Defender for APIs as paginated
+ * response with {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(String resourceGroupName, String serviceName);
+ PagedIterable listByAzureApiManagementService(String resourceGroupName, String serviceName);
/**
- * Gets a list of Azure API Management APIs that have been onboarded to Defender for APIs
- *
- * Gets a list of Azure API Management APIs that have been onboarded to Defender for APIs. If an Azure API
- * Management API is onboarded to Defender for APIs, the system will monitor the operations within the Azure API
- * Management API for intrusive behaviors and provide alerts for attacks that have been detected.
- *
+ * Gets a list of onboarded Azure API Management APIs
+ *
+ * Gets a list of Azure API Management APIs that have been onboarded to Microsoft Defender for APIs. If an Azure API
+ * Management API is onboarded to Microsoft Defender for APIs, the system will monitor the operations within the
+ * Azure API Management API for intrusive behaviors and provide alerts for attacks that have been detected.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param serviceName The name of the API Management service.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.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 Azure API Management APIs that have been onboarded to Defender for APIs as paginated response
- * with {@link PagedIterable}.
+ * @return a list of Azure API Management APIs that have been onboarded to Microsoft Defender for APIs as paginated
+ * response with {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(String resourceGroupName, String serviceName, Context context);
+ PagedIterable listByAzureApiManagementService(String resourceGroupName, String serviceName,
+ Context context);
+
+ /**
+ * Gets an onboarded Azure API Management API
+ *
+ * Gets an Azure API Management API if it has been onboarded to Microsoft Defender for APIs. If an Azure API
+ * Management API is onboarded to Microsoft Defender for APIs, the system will monitor the operations within the
+ * Azure API Management API for intrusive behaviors and provide alerts for attacks that have been detected.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param serviceName The name of the API Management service.
+ * @param apiId API revision identifier. Must be unique in the API Management service instance. Non-current revision
+ * has ;rev=n as a suffix where n is the revision number.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return an Azure API Management API if it has been onboarded to Microsoft Defender for APIs along with
+ * {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getByAzureApiManagementServiceWithResponse(String resourceGroupName,
+ String serviceName, String apiId, Context context);
+
+ /**
+ * Gets an onboarded Azure API Management API
+ *
+ * Gets an Azure API Management API if it has been onboarded to Microsoft Defender for APIs. If an Azure API
+ * Management API is onboarded to Microsoft Defender for APIs, the system will monitor the operations within the
+ * Azure API Management API for intrusive behaviors and provide alerts for attacks that have been detected.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param serviceName The name of the API Management service.
+ * @param apiId API revision identifier. Must be unique in the API Management service instance. Non-current revision
+ * has ;rev=n as a suffix where n is the revision number.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return an Azure API Management API if it has been onboarded to Microsoft Defender for APIs.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ApiCollectionInner getByAzureApiManagementService(String resourceGroupName, String serviceName, String apiId);
+
+ /**
+ * Onboard an Azure API Management API to Microsoft Defender for APIs
+ *
+ * Onboard an Azure API Management API to Microsoft Defender for APIs. The system will start monitoring the
+ * operations within the Azure Management API for intrusive behaviors and provide alerts for attacks that have been
+ * detected.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param serviceName The name of the API Management service.
+ * @param apiId API revision identifier. Must be unique in the API Management service instance. Non-current revision
+ * has ;rev=n as a suffix where n is the revision number.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.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 an API collection as represented by Microsoft Defender for APIs.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, ApiCollectionInner>
+ beginOnboardAzureApiManagementApi(String resourceGroupName, String serviceName, String apiId);
+
+ /**
+ * Onboard an Azure API Management API to Microsoft Defender for APIs
+ *
+ * Onboard an Azure API Management API to Microsoft Defender for APIs. The system will start monitoring the
+ * operations within the Azure Management API for intrusive behaviors and provide alerts for attacks that have been
+ * detected.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param serviceName The name of the API Management service.
+ * @param apiId API revision identifier. Must be unique in the API Management service instance. Non-current revision
+ * has ;rev=n as a suffix where n is the revision number.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.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 an API collection as represented by Microsoft Defender for APIs.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, ApiCollectionInner>
+ beginOnboardAzureApiManagementApi(String resourceGroupName, String serviceName, String apiId, Context context);
+
+ /**
+ * Onboard an Azure API Management API to Microsoft Defender for APIs
+ *
+ * Onboard an Azure API Management API to Microsoft Defender for APIs. The system will start monitoring the
+ * operations within the Azure Management API for intrusive behaviors and provide alerts for attacks that have been
+ * detected.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param serviceName The name of the API Management service.
+ * @param apiId API revision identifier. Must be unique in the API Management service instance. Non-current revision
+ * has ;rev=n as a suffix where n is the revision number.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return an API collection as represented by Microsoft Defender for APIs.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ApiCollectionInner onboardAzureApiManagementApi(String resourceGroupName, String serviceName, String apiId);
+
+ /**
+ * Onboard an Azure API Management API to Microsoft Defender for APIs
+ *
+ * Onboard an Azure API Management API to Microsoft Defender for APIs. The system will start monitoring the
+ * operations within the Azure Management API for intrusive behaviors and provide alerts for attacks that have been
+ * detected.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param serviceName The name of the API Management service.
+ * @param apiId API revision identifier. Must be unique in the API Management service instance. Non-current revision
+ * has ;rev=n as a suffix where n is the revision number.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return an API collection as represented by Microsoft Defender for APIs.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ApiCollectionInner onboardAzureApiManagementApi(String resourceGroupName, String serviceName, String apiId,
+ Context context);
/**
- * Gets an Azure API Management API if it has been onboarded to Defender for APIs
- *
- * Gets an Azure API Management API if it has been onboarded to Defender for APIs. If an Azure API Management API
- * is onboarded to Defender for APIs, the system will monitor the operations within the Azure API Management API for
- * intrusive behaviors and provide alerts for attacks that have been detected.
- *
+ * Offboard an Azure API Management API from Microsoft Defender for APIs
+ *
+ * Offboard an Azure API Management API from Microsoft Defender for APIs. The system will stop monitoring the
+ * operations within the Azure API Management API for intrusive behaviors.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param serviceName The name of the API Management service.
- * @param apiCollectionId A string representing the apiCollections resource within the Microsoft.Security provider
- * namespace. This string matches the Azure API Management API name.
+ * @param apiId API revision identifier. Must be unique in the API Management service instance. Non-current revision
+ * has ;rev=n as a suffix where n is the revision number.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return an Azure API Management API if it has been onboarded to Defender for APIs along with {@link Response}.
+ * @return the {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(
- String resourceGroupName, String serviceName, String apiCollectionId, Context context);
+ Response offboardAzureApiManagementApiWithResponse(String resourceGroupName, String serviceName, String apiId,
+ Context context);
/**
- * Gets an Azure API Management API if it has been onboarded to Defender for APIs
- *
- * Gets an Azure API Management API if it has been onboarded to Defender for APIs. If an Azure API Management API
- * is onboarded to Defender for APIs, the system will monitor the operations within the Azure API Management API for
- * intrusive behaviors and provide alerts for attacks that have been detected.
- *
+ * Offboard an Azure API Management API from Microsoft Defender for APIs
+ *
+ * Offboard an Azure API Management API from Microsoft Defender for APIs. The system will stop monitoring the
+ * operations within the Azure API Management API for intrusive behaviors.
+ *
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param serviceName The name of the API Management service.
- * @param apiCollectionId A string representing the apiCollections resource within the Microsoft.Security provider
- * namespace. This string matches the Azure API Management API name.
+ * @param apiId API revision identifier. Must be unique in the API Management service instance. Non-current revision
+ * has ;rev=n as a suffix where n is the revision number.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return an Azure API Management API if it has been onboarded to Defender for APIs.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- ApiCollectionResponseInner get(String resourceGroupName, String serviceName, String apiCollectionId);
+ void offboardAzureApiManagementApi(String resourceGroupName, String serviceName, String apiId);
}
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
index 1454ded26234..19482d743f36 100644
--- 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
@@ -10,11 +10,13 @@
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. */
+/**
+ * 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.
@@ -27,7 +29,7 @@ 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.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -39,7 +41,7 @@ public interface ApplicationOperationsClient {
/**
* 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.
@@ -49,12 +51,12 @@ public interface ApplicationOperationsClient {
* @return security Application over a given scope along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response createOrUpdateWithResponse(
- String applicationId, ApplicationInner application, Context context);
+ 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.
@@ -67,7 +69,7 @@ Response createOrUpdateWithResponse(
/**
* 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.
@@ -80,7 +82,7 @@ Response createOrUpdateWithResponse(
/**
* 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.
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
index 1f8851380eb8..a35f403f9bd8 100644
--- 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
@@ -10,28 +10,30 @@
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. */
+/**
+ * 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}.
+ * @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}.
+ * @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/AssessmentsClient.java b/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/AssessmentsClient.java
index ea903c0cc61a..5c702d11ef8b 100644
--- a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/AssessmentsClient.java
+++ b/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/AssessmentsClient.java
@@ -13,40 +13,42 @@
import com.azure.resourcemanager.security.models.ExpandEnum;
import com.azure.resourcemanager.security.models.SecurityAssessment;
-/** An instance of this class provides access to all the operations defined in AssessmentsClient. */
+/**
+ * An instance of this class provides access to all the operations defined in AssessmentsClient.
+ */
public interface AssessmentsClient {
/**
* Get security assessments on all your scanned resources inside a scope.
- *
+ *
* @param scope Scope of the query, can be subscription (/subscriptions/0b06d9ea-afe6-4779-bd59-30e5c2d9d13f) or
- * management group (/providers/Microsoft.Management/managementGroups/mgName).
+ * management group (/providers/Microsoft.Management/managementGroups/mgName).
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return security assessments on all your scanned resources inside a scope as paginated response with {@link
- * PagedIterable}.
+ * @return security assessments on all your scanned resources inside a scope as paginated response with
+ * {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable list(String scope);
/**
* Get security assessments on all your scanned resources inside a scope.
- *
+ *
* @param scope Scope of the query, can be subscription (/subscriptions/0b06d9ea-afe6-4779-bd59-30e5c2d9d13f) or
- * management group (/providers/Microsoft.Management/managementGroups/mgName).
+ * management group (/providers/Microsoft.Management/managementGroups/mgName).
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return security assessments on all your scanned resources inside a scope as paginated response with {@link
- * PagedIterable}.
+ * @return security assessments on all your scanned resources inside a scope as paginated response with
+ * {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable list(String scope, Context context);
/**
* Get a security assessment on your scanned resource.
- *
+ *
* @param resourceId The identifier of the resource.
* @param assessmentName The Assessment Key - Unique key for the assessment type.
* @param expand OData expand. Optional.
@@ -57,12 +59,12 @@ public interface AssessmentsClient {
* @return a security assessment on your scanned resource along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(
- String resourceId, String assessmentName, ExpandEnum expand, Context context);
+ Response getWithResponse(String resourceId, String assessmentName,
+ ExpandEnum expand, Context context);
/**
* Get a security assessment on your scanned resource.
- *
+ *
* @param resourceId The identifier of the resource.
* @param assessmentName The Assessment Key - Unique key for the assessment type.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -76,7 +78,7 @@ Response getWithResponse(
/**
* Create a security assessment on your resource. An assessment metadata that describes this assessment must be
* predefined with the same name before inserting the assessment result.
- *
+ *
* @param resourceId The identifier of the resource.
* @param assessmentName The Assessment Key - Unique key for the assessment type.
* @param assessment Calculated assessment on a pre-defined assessment metadata.
@@ -87,13 +89,13 @@ Response getWithResponse(
* @return security assessment on a resource - response format along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response createOrUpdateWithResponse(
- String resourceId, String assessmentName, SecurityAssessment assessment, Context context);
+ Response createOrUpdateWithResponse(String resourceId, String assessmentName,
+ SecurityAssessment assessment, Context context);
/**
* Create a security assessment on your resource. An assessment metadata that describes this assessment must be
* predefined with the same name before inserting the assessment result.
- *
+ *
* @param resourceId The identifier of the resource.
* @param assessmentName The Assessment Key - Unique key for the assessment type.
* @param assessment Calculated assessment on a pre-defined assessment metadata.
@@ -103,13 +105,13 @@ Response createOrUpdateWithResponse(
* @return security assessment on a resource - response format.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- SecurityAssessmentResponseInner createOrUpdate(
- String resourceId, String assessmentName, SecurityAssessment assessment);
+ SecurityAssessmentResponseInner createOrUpdate(String resourceId, String assessmentName,
+ SecurityAssessment assessment);
/**
* Delete a security assessment on your resource. An assessment metadata that describes this assessment must be
* predefined with the same name before inserting the assessment result.
- *
+ *
* @param resourceId The identifier of the resource.
* @param assessmentName The Assessment Key - Unique key for the assessment type.
* @param context The context to associate with this operation.
@@ -124,7 +126,7 @@ SecurityAssessmentResponseInner createOrUpdate(
/**
* Delete a security assessment on your resource. An assessment metadata that describes this assessment must be
* predefined with the same name before inserting the assessment result.
- *
+ *
* @param resourceId The identifier of the resource.
* @param assessmentName The Assessment Key - Unique key for the assessment type.
* @throws IllegalArgumentException thrown if parameters fail the validation.
diff --git a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/AssessmentsMetadatasClient.java b/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/AssessmentsMetadatasClient.java
index d2d08e0c5684..112d254fa3fb 100644
--- a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/AssessmentsMetadatasClient.java
+++ b/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/AssessmentsMetadatasClient.java
@@ -11,11 +11,13 @@
import com.azure.core.util.Context;
import com.azure.resourcemanager.security.fluent.models.SecurityAssessmentMetadataResponseInner;
-/** An instance of this class provides access to all the operations defined in AssessmentsMetadatasClient. */
+/**
+ * An instance of this class provides access to all the operations defined in AssessmentsMetadatasClient.
+ */
public interface AssessmentsMetadatasClient {
/**
* Get metadata information on all assessment types.
- *
+ *
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return metadata information on all assessment types as paginated response with {@link PagedIterable}.
@@ -25,7 +27,7 @@ public interface AssessmentsMetadatasClient {
/**
* Get metadata information on all assessment types.
- *
+ *
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -37,7 +39,7 @@ public interface AssessmentsMetadatasClient {
/**
* Get metadata information on an assessment type.
- *
+ *
* @param assessmentMetadataName The Assessment Key - Unique key for the assessment type.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -50,7 +52,7 @@ public interface AssessmentsMetadatasClient {
/**
* Get metadata information on an assessment type.
- *
+ *
* @param assessmentMetadataName The Assessment Key - Unique key for the assessment type.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -62,31 +64,31 @@ public interface AssessmentsMetadatasClient {
/**
* Get metadata information on all assessment types in a specific subscription.
- *
+ *
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return metadata information on all assessment types in a specific subscription as paginated response with {@link
- * PagedIterable}.
+ * @return metadata information on all assessment types in a specific subscription as paginated response with
+ * {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable listBySubscription();
/**
* Get metadata information on all assessment types in a specific subscription.
- *
+ *
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return metadata information on all assessment types in a specific subscription as paginated response with {@link
- * PagedIterable}.
+ * @return metadata information on all assessment types in a specific subscription as paginated response with
+ * {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable listBySubscription(Context context);
/**
* Get metadata information on an assessment type in a specific subscription.
- *
+ *
* @param assessmentMetadataName The Assessment Key - Unique key for the assessment type.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -95,12 +97,12 @@ public interface AssessmentsMetadatasClient {
* @return metadata information on an assessment type in a specific subscription along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response getInSubscriptionWithResponse(
- String assessmentMetadataName, Context context);
+ Response getInSubscriptionWithResponse(String assessmentMetadataName,
+ Context context);
/**
* Get metadata information on an assessment type in a specific subscription.
- *
+ *
* @param assessmentMetadataName The Assessment Key - Unique key for the assessment type.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -112,7 +114,7 @@ Response getInSubscriptionWithResponse(
/**
* Create metadata information on an assessment type in a specific subscription.
- *
+ *
* @param assessmentMetadataName The Assessment Key - Unique key for the assessment type.
* @param assessmentMetadata AssessmentMetadata object.
* @param context The context to associate with this operation.
@@ -122,12 +124,12 @@ Response getInSubscriptionWithResponse(
* @return security assessment metadata response along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response createInSubscriptionWithResponse(
- String assessmentMetadataName, SecurityAssessmentMetadataResponseInner assessmentMetadata, Context context);
+ Response createInSubscriptionWithResponse(String assessmentMetadataName,
+ SecurityAssessmentMetadataResponseInner assessmentMetadata, Context context);
/**
* Create metadata information on an assessment type in a specific subscription.
- *
+ *
* @param assessmentMetadataName The Assessment Key - Unique key for the assessment type.
* @param assessmentMetadata AssessmentMetadata object.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -136,13 +138,13 @@ Response createInSubscriptionWithRespon
* @return security assessment metadata response.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- SecurityAssessmentMetadataResponseInner createInSubscription(
- String assessmentMetadataName, SecurityAssessmentMetadataResponseInner assessmentMetadata);
+ SecurityAssessmentMetadataResponseInner createInSubscription(String assessmentMetadataName,
+ SecurityAssessmentMetadataResponseInner assessmentMetadata);
/**
* Delete metadata information on an assessment type in a specific subscription, will cause the deletion of all the
* assessments of that type in that subscription.
- *
+ *
* @param assessmentMetadataName The Assessment Key - Unique key for the assessment type.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -156,7 +158,7 @@ SecurityAssessmentMetadataResponseInner createInSubscription(
/**
* Delete metadata information on an assessment type in a specific subscription, will cause the deletion of all the
* assessments of that type in that subscription.
- *
+ *
* @param assessmentMetadataName The Assessment Key - Unique key for the assessment type.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
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
index 7d93098d7d09..385c41b9a00c 100644
--- 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
@@ -11,11 +11,13 @@
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. */
+/**
+ * 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}.
@@ -25,7 +27,7 @@ public interface AutoProvisioningSettingsClient {
/**
* 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.
@@ -37,7 +39,7 @@ public interface AutoProvisioningSettingsClient {
/**
* 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.
@@ -50,7 +52,7 @@ public interface AutoProvisioningSettingsClient {
/**
* 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.
@@ -62,7 +64,7 @@ public interface AutoProvisioningSettingsClient {
/**
* 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.
@@ -72,12 +74,12 @@ public interface AutoProvisioningSettingsClient {
* @return auto provisioning setting along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response createWithResponse(
- String settingName, AutoProvisioningSettingInner setting, Context context);
+ 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.
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
index cfbcb6c5613d..7d18996b5d26 100644
--- 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
@@ -11,13 +11,16 @@
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. */
+/**
+ * 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}.
@@ -28,7 +31,7 @@ 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.
- *
+ *
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -41,9 +44,9 @@ public interface AutomationsClient {
/**
* 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.
+ * 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.
@@ -55,9 +58,9 @@ public interface AutomationsClient {
/**
* 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.
+ * 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.
@@ -69,9 +72,9 @@ public interface AutomationsClient {
/**
* 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.
+ * insensitive.
* @param automationName The security automation name.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -80,14 +83,14 @@ public interface AutomationsClient {
* @return the security automation resource along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response getByResourceGroupWithResponse(
- String resourceGroupName, String automationName, Context context);
+ 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.
+ * 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.
@@ -100,9 +103,9 @@ Response getByResourceGroupWithResponse(
/**
* 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.
+ * insensitive.
* @param automationName The security automation name.
* @param automation The security automation resource.
* @param context The context to associate with this operation.
@@ -112,15 +115,15 @@ Response getByResourceGroupWithResponse(
* @return the security automation resource along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response createOrUpdateWithResponse(
- String resourceGroupName, String automationName, AutomationInner automation, Context context);
+ 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.
+ * insensitive.
* @param automationName The security automation name.
* @param automation The security automation resource.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -131,11 +134,43 @@ Response createOrUpdateWithResponse(
@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.
+ * insensitive.
* @param automationName The security automation name.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -148,9 +183,9 @@ Response createOrUpdateWithResponse(
/**
* Deletes a security automation.
- *
+ *
* @param resourceGroupName The name of the resource group within the user's subscription. The name is case
- * insensitive.
+ * 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.
@@ -162,9 +197,9 @@ Response createOrUpdateWithResponse(
/**
* 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.
+ * insensitive.
* @param automationName The security automation name.
* @param automation The security automation resource.
* @param context The context to associate with this operation.
@@ -174,15 +209,15 @@ Response createOrUpdateWithResponse(
* @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);
+ 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.
+ * insensitive.
* @param automationName The security automation name.
* @param automation The security automation resource.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -191,6 +226,6 @@ Response validateWithResponse(
* @return the security automation model state property bag.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- AutomationValidationStatusInner validate(
- String resourceGroupName, String automationName, AutomationInner automation);
+ 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
new file mode 100644
index 000000000000..566832c05a50
--- /dev/null
+++ b/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/AzureDevOpsOrgsClient.java
@@ -0,0 +1,237 @@
+// 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
new file mode 100644
index 000000000000..8f0c62b56735
--- /dev/null
+++ b/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/AzureDevOpsProjectsClient.java
@@ -0,0 +1,225 @@
+// 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
new file mode 100644
index 000000000000..0c8ef8061ae1
--- /dev/null
+++ b/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/AzureDevOpsReposClient.java
@@ -0,0 +1,239 @@
+// 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/ComplianceResultsClient.java b/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/ComplianceResultsClient.java
index 834cf0990b35..2f3bb8e37c72 100644
--- a/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/ComplianceResultsClient.java
+++ b/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/ComplianceResultsClient.java
@@ -11,13 +11,15 @@
import com.azure.core.util.Context;
import com.azure.resourcemanager.security.fluent.models.ComplianceResultInner;
-/** An instance of this class provides access to all the operations defined in ComplianceResultsClient. */
+/**
+ * An instance of this class provides access to all the operations defined in ComplianceResultsClient.
+ */
public interface ComplianceResultsClient {
/**
* Security compliance results in the subscription.
- *
+ *
* @param scope Scope of the query, can be subscription (/subscriptions/0b06d9ea-afe6-4779-bd59-30e5c2d9d13f) or
- * management group (/providers/Microsoft.Management/managementGroups/mgName).
+ * 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.
@@ -28,9 +30,9 @@ public interface ComplianceResultsClient {
/**
* Security compliance results in the subscription.
- *
+ *
* @param scope Scope of the query, can be subscription (/subscriptions/0b06d9ea-afe6-4779-bd59-30e5c2d9d13f) or
- * management group (/providers/Microsoft.Management/managementGroups/mgName).
+ * 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.
@@ -42,7 +44,7 @@ public interface ComplianceResultsClient {
/**
* Security Compliance Result.
- *
+ *
* @param resourceId The identifier of the resource.
* @param complianceResultName name of the desired assessment compliance result.
* @param context The context to associate with this operation.
@@ -56,7 +58,7 @@ public interface ComplianceResultsClient {
/**
* Security Compliance Result.
- *
+ *
* @param resourceId The identifier of the resource.
* @param complianceResultName name of the desired assessment compliance result.
* @throws IllegalArgumentException thrown if parameters fail the validation.
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
index 7914ab6d4293..a592b826901c 100644
--- 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
@@ -11,13 +11,15 @@
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. */
+/**
+ * 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).
+ * 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.
@@ -28,9 +30,9 @@ 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).
+ * 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.
@@ -42,9 +44,9 @@ public interface CompliancesClient {
/**
* 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).
+ * 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.
@@ -57,9 +59,9 @@ public interface CompliancesClient {
/**
* 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).
+ * 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.
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
index fc3073c4ec5a..7f2e36613828 100644
--- 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
@@ -11,35 +11,37 @@
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. */
+/**
+ * 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}.
+ * {@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}.
+ * {@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.
@@ -52,7 +54,7 @@ public interface ConnectorsClient {
/**
* 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.
@@ -65,7 +67,7 @@ public interface ConnectorsClient {
/**
* 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.
@@ -75,13 +77,13 @@ public interface ConnectorsClient {
* @return the connector setting along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response createOrUpdateWithResponse(
- String connectorName, ConnectorSettingInner connectorSetting, Context context);
+ 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.
@@ -94,7 +96,7 @@ Response createOrUpdateWithResponse(
/**
* 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.
@@ -107,7 +109,7 @@ Response createOrUpdateWithResponse(
/**
* 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.
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
index cdd6a0b7a94f..d27421608356 100644
--- 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
@@ -12,34 +12,36 @@
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. */
+/**
+ * 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.
- *
+ *
+ * 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.
+ * 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}.
+ * {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response getByResourceGroupWithResponse(
- String resourceGroupName, String customAssessmentAutomationName, Context context);
+ 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.
- *
+ *
+ * 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.
+ * 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.
@@ -51,12 +53,12 @@ Response getByResourceGroupWithResponse(
/**
* Creates a custom assessment automation
- *
- * Creates or updates a custom assessment automation for the provided subscription. Please note that providing an
+ *
+ * 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.
+ * insensitive.
* @param customAssessmentAutomationName Name of the Custom Assessment Automation.
* @param customAssessmentAutomationBody Custom Assessment Automation body.
* @param context The context to associate with this operation.
@@ -66,20 +68,18 @@ Response getByResourceGroupWithResponse(
* @return custom Assessment Automation along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response createWithResponse(
- String resourceGroupName,
- String customAssessmentAutomationName,
- CustomAssessmentAutomationRequest customAssessmentAutomationBody,
+ 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
+ *
+ * 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.
+ * insensitive.
* @param customAssessmentAutomationName Name of the Custom Assessment Automation.
* @param customAssessmentAutomationBody Custom Assessment Automation body.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -88,18 +88,16 @@ Response createWithResponse(
* @return custom Assessment Automation.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- CustomAssessmentAutomationInner create(
- String resourceGroupName,
- String customAssessmentAutomationName,
+ CustomAssessmentAutomationInner create(String resourceGroupName, String customAssessmentAutomationName,
CustomAssessmentAutomationRequest customAssessmentAutomationBody);
/**
* Deletes a custom assessment automation
- *
- * Deletes a custom assessment automation by name for a provided subscription.
- *
+ *
+ * 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.
+ * 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.
@@ -112,11 +110,11 @@ CustomAssessmentAutomationInner create(
/**
* Deletes a custom assessment automation
- *
- *
Deletes a custom assessment automation by name for a provided subscription.
- *
+ *
+ * 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.
+ * 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.
@@ -127,11 +125,11 @@ CustomAssessmentAutomationInner create(
/**
* List custom assessment automations in a subscription and a resource group
- *
- *
List custom assessment automations by provided subscription and 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.
+ * 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.
@@ -142,11 +140,11 @@ CustomAssessmentAutomationInner create(
/**
* List custom assessment automations in a subscription and a resource group
- *
- *
List custom assessment automations by provided subscription and 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.
+ * 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.
@@ -158,9 +156,9 @@ CustomAssessmentAutomationInner create(
/**
* List custom assessment automations in a subscription
- *
- *
List custom assessment automations by provided 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}.
@@ -170,9 +168,9 @@ CustomAssessmentAutomationInner create(
/**
* List custom assessment automations in a subscription
- *
- *
List custom assessment automations by provided 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.
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
index 5f7d062043ad..74a13bec8c99 100644
--- 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
@@ -12,34 +12,36 @@
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. */
+/**
+ * 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.
- *
+ *
+ * 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.
+ * 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}.
+ * with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response getByResourceGroupWithResponse(
- String resourceGroupName, String customEntityStoreAssignmentName, Context context);
+ 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.
- *
+ *
+ * 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.
+ * 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.
@@ -47,16 +49,16 @@ Response getByResourceGroupWithResponse(
* @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);
+ 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.
- *
+ *
+ * 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.
+ * 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.
@@ -66,19 +68,17 @@ CustomEntityStoreAssignmentInner getByResourceGroup(
* @return custom entity store assignment along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response createWithResponse(
- String resourceGroupName,
+ Response createWithResponse(String resourceGroupName,
String customEntityStoreAssignmentName,
- CustomEntityStoreAssignmentRequest customEntityStoreAssignmentRequestBody,
- Context context);
+ CustomEntityStoreAssignmentRequest customEntityStoreAssignmentRequestBody, Context context);
/**
* Creates a custom entity store assignment
- *
- * Creates a custom entity store assignment for the provided subscription, if not already exists.
- *
+ *
+ * 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.
+ * 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.
@@ -87,18 +87,16 @@ Response createWithResponse(
* @return custom entity store assignment.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- CustomEntityStoreAssignmentInner create(
- String resourceGroupName,
- String customEntityStoreAssignmentName,
+ 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.
- *
+ *
+ * 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.
+ * 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.
@@ -107,16 +105,16 @@ CustomEntityStoreAssignmentInner create(
* @return the {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response deleteWithResponse(
- String resourceGroupName, String customEntityStoreAssignmentName, Context context);
+ 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.
- *
+ *
+ * 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.
+ * 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.
@@ -127,11 +125,11 @@ Response deleteWithResponse(
/**
* List custom entity store assignments in a subscription and a resource group
- *
- * List custom entity store assignments by a provided subscription and 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.
+ * 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.
@@ -142,11 +140,11 @@ Response deleteWithResponse(
/**
* List custom entity store assignments in a subscription and a resource group
- *
- * List custom entity store assignments by a provided subscription and 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.
+ * 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.
@@ -158,9 +156,9 @@ Response deleteWithResponse(
/**
* List custom entity store assignments in a subscription
- *
- * List custom entity store assignments by provided 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}.
@@ -170,9 +168,9 @@ Response deleteWithResponse(
/**
* List custom entity store assignments in a subscription
- *
- * List custom entity store assignments by provided 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.
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
new file mode 100644
index 000000000000..a703e8d5114d
--- /dev/null
+++ b/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/DefenderForStoragesClient.java
@@ -0,0 +1,76 @@
+// 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.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);
+}
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
new file mode 100644
index 000000000000..072a55b3132f
--- /dev/null
+++ b/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/DevOpsConfigurationsClient.java
@@ -0,0 +1,253 @@
+// 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
new file mode 100644
index 000000000000..104278955f2d
--- /dev/null
+++ b/sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/fluent/DevOpsOperationResultsClient.java
@@ -0,0 +1,46 @@
+// 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