com.azure.resourcemanager.security.SecurityManager Maven / Gradle / Ivy
// 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;
import com.azure.core.credential.TokenCredential;
import com.azure.core.http.HttpClient;
import com.azure.core.http.HttpPipeline;
import com.azure.core.http.HttpPipelineBuilder;
import com.azure.core.http.HttpPipelinePosition;
import com.azure.core.http.policy.AddDatePolicy;
import com.azure.core.http.policy.AddHeadersFromContextPolicy;
import com.azure.core.http.policy.BearerTokenAuthenticationPolicy;
import com.azure.core.http.policy.HttpLogOptions;
import com.azure.core.http.policy.HttpLoggingPolicy;
import com.azure.core.http.policy.HttpPipelinePolicy;
import com.azure.core.http.policy.HttpPolicyProviders;
import com.azure.core.http.policy.RequestIdPolicy;
import com.azure.core.http.policy.RetryOptions;
import com.azure.core.http.policy.RetryPolicy;
import com.azure.core.http.policy.UserAgentPolicy;
import com.azure.core.management.profile.AzureProfile;
import com.azure.core.util.Configuration;
import com.azure.core.util.logging.ClientLogger;
import com.azure.resourcemanager.security.fluent.SecurityCenter;
import com.azure.resourcemanager.security.implementation.AdvancedThreatProtectionsImpl;
import com.azure.resourcemanager.security.implementation.AlertsImpl;
import com.azure.resourcemanager.security.implementation.AlertsSuppressionRulesImpl;
import com.azure.resourcemanager.security.implementation.AllowedConnectionsImpl;
import com.azure.resourcemanager.security.implementation.ApiCollectionsImpl;
import com.azure.resourcemanager.security.implementation.ApplicationOperationsImpl;
import com.azure.resourcemanager.security.implementation.ApplicationsImpl;
import com.azure.resourcemanager.security.implementation.AssessmentsImpl;
import com.azure.resourcemanager.security.implementation.AssessmentsMetadatasImpl;
import com.azure.resourcemanager.security.implementation.AutoProvisioningSettingsImpl;
import com.azure.resourcemanager.security.implementation.AutomationsImpl;
import com.azure.resourcemanager.security.implementation.AzureDevOpsOrgsImpl;
import com.azure.resourcemanager.security.implementation.AzureDevOpsProjectsImpl;
import com.azure.resourcemanager.security.implementation.AzureDevOpsReposImpl;
import com.azure.resourcemanager.security.implementation.ComplianceResultsImpl;
import com.azure.resourcemanager.security.implementation.CompliancesImpl;
import com.azure.resourcemanager.security.implementation.ConnectorsImpl;
import com.azure.resourcemanager.security.implementation.CustomAssessmentAutomationsImpl;
import com.azure.resourcemanager.security.implementation.CustomEntityStoreAssignmentsImpl;
import com.azure.resourcemanager.security.implementation.CustomRecommendationsImpl;
import com.azure.resourcemanager.security.implementation.DefenderForStoragesImpl;
import com.azure.resourcemanager.security.implementation.DevOpsConfigurationsImpl;
import com.azure.resourcemanager.security.implementation.DevOpsOperationResultsImpl;
import com.azure.resourcemanager.security.implementation.DevOpsPoliciesImpl;
import com.azure.resourcemanager.security.implementation.DevOpsPolicyAssignmentsImpl;
import com.azure.resourcemanager.security.implementation.DeviceSecurityGroupsImpl;
import com.azure.resourcemanager.security.implementation.DiscoveredSecuritySolutionsImpl;
import com.azure.resourcemanager.security.implementation.ExternalSecuritySolutionsImpl;
import com.azure.resourcemanager.security.implementation.GitHubOwnersImpl;
import com.azure.resourcemanager.security.implementation.GitHubReposImpl;
import com.azure.resourcemanager.security.implementation.GitLabGroupsImpl;
import com.azure.resourcemanager.security.implementation.GitLabProjectsImpl;
import com.azure.resourcemanager.security.implementation.GitLabSubgroupsImpl;
import com.azure.resourcemanager.security.implementation.GovernanceAssignmentsImpl;
import com.azure.resourcemanager.security.implementation.GovernanceRulesImpl;
import com.azure.resourcemanager.security.implementation.HealthReportsImpl;
import com.azure.resourcemanager.security.implementation.InformationProtectionPoliciesImpl;
import com.azure.resourcemanager.security.implementation.IotSecuritySolutionAnalyticsImpl;
import com.azure.resourcemanager.security.implementation.IotSecuritySolutionsAnalyticsAggregatedAlertsImpl;
import com.azure.resourcemanager.security.implementation.IotSecuritySolutionsAnalyticsRecommendationsImpl;
import com.azure.resourcemanager.security.implementation.IotSecuritySolutionsImpl;
import com.azure.resourcemanager.security.implementation.JitNetworkAccessPoliciesImpl;
import com.azure.resourcemanager.security.implementation.LocationsImpl;
import com.azure.resourcemanager.security.implementation.MdeOnboardingsImpl;
import com.azure.resourcemanager.security.implementation.OperationsImpl;
import com.azure.resourcemanager.security.implementation.PricingsImpl;
import com.azure.resourcemanager.security.implementation.RegulatoryComplianceAssessmentsImpl;
import com.azure.resourcemanager.security.implementation.RegulatoryComplianceControlsImpl;
import com.azure.resourcemanager.security.implementation.RegulatoryComplianceStandardsImpl;
import com.azure.resourcemanager.security.implementation.SecureScoreControlDefinitionsImpl;
import com.azure.resourcemanager.security.implementation.SecureScoreControlsImpl;
import com.azure.resourcemanager.security.implementation.SecureScoresImpl;
import com.azure.resourcemanager.security.implementation.SecurityCenterBuilder;
import com.azure.resourcemanager.security.implementation.SecurityConnectorApplicationOperationsImpl;
import com.azure.resourcemanager.security.implementation.SecurityConnectorApplicationsImpl;
import com.azure.resourcemanager.security.implementation.SecurityConnectorsImpl;
import com.azure.resourcemanager.security.implementation.SecurityContactsImpl;
import com.azure.resourcemanager.security.implementation.SecurityOperatorsImpl;
import com.azure.resourcemanager.security.implementation.SecuritySolutionsImpl;
import com.azure.resourcemanager.security.implementation.SecuritySolutionsReferenceDatasImpl;
import com.azure.resourcemanager.security.implementation.SecurityStandardsImpl;
import com.azure.resourcemanager.security.implementation.SensitivitySettingsImpl;
import com.azure.resourcemanager.security.implementation.ServerVulnerabilityAssessmentsImpl;
import com.azure.resourcemanager.security.implementation.ServerVulnerabilityAssessmentsSettingsImpl;
import com.azure.resourcemanager.security.implementation.SettingsImpl;
import com.azure.resourcemanager.security.implementation.SoftwareInventoriesImpl;
import com.azure.resourcemanager.security.implementation.SqlVulnerabilityAssessmentBaselineRulesImpl;
import com.azure.resourcemanager.security.implementation.SqlVulnerabilityAssessmentScanResultsImpl;
import com.azure.resourcemanager.security.implementation.SqlVulnerabilityAssessmentScansImpl;
import com.azure.resourcemanager.security.implementation.StandardAssignmentsImpl;
import com.azure.resourcemanager.security.implementation.SubAssessmentsImpl;
import com.azure.resourcemanager.security.implementation.TasksImpl;
import com.azure.resourcemanager.security.implementation.TopologiesImpl;
import com.azure.resourcemanager.security.implementation.WorkspaceSettingsImpl;
import com.azure.resourcemanager.security.models.AdvancedThreatProtections;
import com.azure.resourcemanager.security.models.Alerts;
import com.azure.resourcemanager.security.models.AlertsSuppressionRules;
import com.azure.resourcemanager.security.models.AllowedConnections;
import com.azure.resourcemanager.security.models.ApiCollections;
import com.azure.resourcemanager.security.models.ApplicationOperations;
import com.azure.resourcemanager.security.models.Applications;
import com.azure.resourcemanager.security.models.Assessments;
import com.azure.resourcemanager.security.models.AssessmentsMetadatas;
import com.azure.resourcemanager.security.models.AutoProvisioningSettings;
import com.azure.resourcemanager.security.models.Automations;
import com.azure.resourcemanager.security.models.AzureDevOpsOrgs;
import com.azure.resourcemanager.security.models.AzureDevOpsProjects;
import com.azure.resourcemanager.security.models.AzureDevOpsRepos;
import com.azure.resourcemanager.security.models.ComplianceResults;
import com.azure.resourcemanager.security.models.Compliances;
import com.azure.resourcemanager.security.models.Connectors;
import com.azure.resourcemanager.security.models.CustomAssessmentAutomations;
import com.azure.resourcemanager.security.models.CustomEntityStoreAssignments;
import com.azure.resourcemanager.security.models.CustomRecommendations;
import com.azure.resourcemanager.security.models.DefenderForStorages;
import com.azure.resourcemanager.security.models.DevOpsConfigurations;
import com.azure.resourcemanager.security.models.DevOpsOperationResults;
import com.azure.resourcemanager.security.models.DevOpsPolicies;
import com.azure.resourcemanager.security.models.DevOpsPolicyAssignments;
import com.azure.resourcemanager.security.models.DeviceSecurityGroups;
import com.azure.resourcemanager.security.models.DiscoveredSecuritySolutions;
import com.azure.resourcemanager.security.models.ExternalSecuritySolutions;
import com.azure.resourcemanager.security.models.GitHubOwners;
import com.azure.resourcemanager.security.models.GitHubRepos;
import com.azure.resourcemanager.security.models.GitLabGroups;
import com.azure.resourcemanager.security.models.GitLabProjects;
import com.azure.resourcemanager.security.models.GitLabSubgroups;
import com.azure.resourcemanager.security.models.GovernanceAssignments;
import com.azure.resourcemanager.security.models.GovernanceRules;
import com.azure.resourcemanager.security.models.HealthReports;
import com.azure.resourcemanager.security.models.InformationProtectionPolicies;
import com.azure.resourcemanager.security.models.IotSecuritySolutionAnalytics;
import com.azure.resourcemanager.security.models.IotSecuritySolutions;
import com.azure.resourcemanager.security.models.IotSecuritySolutionsAnalyticsAggregatedAlerts;
import com.azure.resourcemanager.security.models.IotSecuritySolutionsAnalyticsRecommendations;
import com.azure.resourcemanager.security.models.JitNetworkAccessPolicies;
import com.azure.resourcemanager.security.models.Locations;
import com.azure.resourcemanager.security.models.MdeOnboardings;
import com.azure.resourcemanager.security.models.Operations;
import com.azure.resourcemanager.security.models.Pricings;
import com.azure.resourcemanager.security.models.RegulatoryComplianceAssessments;
import com.azure.resourcemanager.security.models.RegulatoryComplianceControls;
import com.azure.resourcemanager.security.models.RegulatoryComplianceStandards;
import com.azure.resourcemanager.security.models.SecureScoreControlDefinitions;
import com.azure.resourcemanager.security.models.SecureScoreControls;
import com.azure.resourcemanager.security.models.SecureScores;
import com.azure.resourcemanager.security.models.SecurityConnectorApplicationOperations;
import com.azure.resourcemanager.security.models.SecurityConnectorApplications;
import com.azure.resourcemanager.security.models.SecurityConnectors;
import com.azure.resourcemanager.security.models.SecurityContacts;
import com.azure.resourcemanager.security.models.SecurityOperators;
import com.azure.resourcemanager.security.models.SecuritySolutions;
import com.azure.resourcemanager.security.models.SecuritySolutionsReferenceDatas;
import com.azure.resourcemanager.security.models.SecurityStandards;
import com.azure.resourcemanager.security.models.SensitivitySettings;
import com.azure.resourcemanager.security.models.ServerVulnerabilityAssessments;
import com.azure.resourcemanager.security.models.ServerVulnerabilityAssessmentsSettings;
import com.azure.resourcemanager.security.models.Settings;
import com.azure.resourcemanager.security.models.SoftwareInventories;
import com.azure.resourcemanager.security.models.SqlVulnerabilityAssessmentBaselineRules;
import com.azure.resourcemanager.security.models.SqlVulnerabilityAssessmentScanResults;
import com.azure.resourcemanager.security.models.SqlVulnerabilityAssessmentScans;
import com.azure.resourcemanager.security.models.StandardAssignments;
import com.azure.resourcemanager.security.models.SubAssessments;
import com.azure.resourcemanager.security.models.Tasks;
import com.azure.resourcemanager.security.models.Topologies;
import com.azure.resourcemanager.security.models.WorkspaceSettings;
import java.time.Duration;
import java.time.temporal.ChronoUnit;
import java.util.ArrayList;
import java.util.List;
import java.util.Objects;
import java.util.stream.Collectors;
/**
* Entry point to SecurityManager.
* API spec for Microsoft.Security (Azure Security Center) resource provider.
*/
public final class SecurityManager {
private Locations locations;
private Operations operations;
private Tasks tasks;
private AutoProvisioningSettings autoProvisioningSettings;
private Compliances compliances;
private InformationProtectionPolicies informationProtectionPolicies;
private WorkspaceSettings workspaceSettings;
private AlertsSuppressionRules alertsSuppressionRules;
private RegulatoryComplianceStandards regulatoryComplianceStandards;
private RegulatoryComplianceControls regulatoryComplianceControls;
private RegulatoryComplianceAssessments regulatoryComplianceAssessments;
private SubAssessments subAssessments;
private Connectors connectors;
private SoftwareInventories softwareInventories;
private CustomAssessmentAutomations customAssessmentAutomations;
private CustomEntityStoreAssignments customEntityStoreAssignments;
private MdeOnboardings mdeOnboardings;
private GovernanceAssignments governanceAssignments;
private GovernanceRules governanceRules;
private Applications applications;
private ApplicationOperations applicationOperations;
private SecurityConnectorApplications securityConnectorApplications;
private SecurityConnectorApplicationOperations securityConnectorApplicationOperations;
private DefenderForStorages defenderForStorages;
private SecurityOperators securityOperators;
private SqlVulnerabilityAssessmentBaselineRules sqlVulnerabilityAssessmentBaselineRules;
private SqlVulnerabilityAssessmentScans sqlVulnerabilityAssessmentScans;
private SqlVulnerabilityAssessmentScanResults sqlVulnerabilityAssessmentScanResults;
private SensitivitySettings sensitivitySettings;
private HealthReports healthReports;
private Automations automations;
private SecurityContacts securityContacts;
private SecurityConnectors securityConnectors;
private AzureDevOpsOrgs azureDevOpsOrgs;
private AzureDevOpsProjects azureDevOpsProjects;
private AzureDevOpsRepos azureDevOpsRepos;
private DevOpsConfigurations devOpsConfigurations;
private DevOpsPolicies devOpsPolicies;
private DevOpsPolicyAssignments devOpsPolicyAssignments;
private GitHubOwners gitHubOwners;
private GitHubRepos gitHubRepos;
private GitLabGroups gitLabGroups;
private GitLabSubgroups gitLabSubgroups;
private GitLabProjects gitLabProjects;
private DevOpsOperationResults devOpsOperationResults;
private ComplianceResults complianceResults;
private AdvancedThreatProtections advancedThreatProtections;
private DeviceSecurityGroups deviceSecurityGroups;
private IotSecuritySolutionAnalytics iotSecuritySolutionAnalytics;
private IotSecuritySolutionsAnalyticsAggregatedAlerts iotSecuritySolutionsAnalyticsAggregatedAlerts;
private IotSecuritySolutionsAnalyticsRecommendations iotSecuritySolutionsAnalyticsRecommendations;
private IotSecuritySolutions iotSecuritySolutions;
private AllowedConnections allowedConnections;
private DiscoveredSecuritySolutions discoveredSecuritySolutions;
private ExternalSecuritySolutions externalSecuritySolutions;
private JitNetworkAccessPolicies jitNetworkAccessPolicies;
private SecureScores secureScores;
private SecureScoreControls secureScoreControls;
private SecureScoreControlDefinitions secureScoreControlDefinitions;
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 SecurityStandards securityStandards;
private StandardAssignments standardAssignments;
private CustomRecommendations customRecommendations;
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();
}
/**
* 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.
*/
public static SecurityManager authenticate(TokenCredential credential, AzureProfile profile) {
Objects.requireNonNull(credential, "'credential' cannot be null.");
Objects.requireNonNull(profile, "'profile' cannot be null.");
return configure().authenticate(credential, profile);
}
/**
* 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.
*/
public static SecurityManager authenticate(HttpPipeline httpPipeline, AzureProfile profile) {
Objects.requireNonNull(httpPipeline, "'httpPipeline' cannot be null.");
Objects.requireNonNull(profile, "'profile' cannot be null.");
return new SecurityManager(httpPipeline, profile, null);
}
/**
* 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.
*/
public static final class Configurable {
private static final ClientLogger LOGGER = new ClientLogger(Configurable.class);
private HttpClient httpClient;
private HttpLogOptions httpLogOptions;
private final List policies = new ArrayList<>();
private final List scopes = new ArrayList<>();
private RetryPolicy retryPolicy;
private RetryOptions retryOptions;
private Duration defaultPollInterval;
private Configurable() {
}
/**
* Sets the http client.
*
* @param httpClient the HTTP client.
* @return the configurable object itself.
*/
public Configurable withHttpClient(HttpClient httpClient) {
this.httpClient = Objects.requireNonNull(httpClient, "'httpClient' cannot be null.");
return this;
}
/**
* Sets the logging options to the HTTP pipeline.
*
* @param httpLogOptions the HTTP log options.
* @return the configurable object itself.
*/
public Configurable withLogOptions(HttpLogOptions httpLogOptions) {
this.httpLogOptions = Objects.requireNonNull(httpLogOptions, "'httpLogOptions' cannot be null.");
return this;
}
/**
* Adds the pipeline policy to the HTTP pipeline.
*
* @param policy the HTTP pipeline policy.
* @return the configurable object itself.
*/
public Configurable withPolicy(HttpPipelinePolicy policy) {
this.policies.add(Objects.requireNonNull(policy, "'policy' cannot be null."));
return this;
}
/**
* Adds the scope to permission sets.
*
* @param scope the scope.
* @return the configurable object itself.
*/
public Configurable withScope(String scope) {
this.scopes.add(Objects.requireNonNull(scope, "'scope' cannot be null."));
return this;
}
/**
* Sets the retry policy to the HTTP pipeline.
*
* @param retryPolicy the HTTP pipeline retry policy.
* @return the configurable object itself.
*/
public Configurable withRetryPolicy(RetryPolicy retryPolicy) {
this.retryPolicy = Objects.requireNonNull(retryPolicy, "'retryPolicy' cannot be null.");
return this;
}
/**
* Sets the retry options for the HTTP pipeline retry policy.
*
* 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.
*/
public Configurable withRetryOptions(RetryOptions retryOptions) {
this.retryOptions = Objects.requireNonNull(retryOptions, "'retryOptions' cannot be null.");
return this;
}
/**
* Sets the default poll interval, used when service does not provide "Retry-After" header.
*
* @param defaultPollInterval the default poll interval.
* @return the configurable object itself.
*/
public Configurable withDefaultPollInterval(Duration defaultPollInterval) {
this.defaultPollInterval
= Objects.requireNonNull(defaultPollInterval, "'defaultPollInterval' cannot be null.");
if (this.defaultPollInterval.isNegative()) {
throw LOGGER
.logExceptionAsError(new IllegalArgumentException("'defaultPollInterval' cannot be negative"));
}
return this;
}
/**
* 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.
*/
public SecurityManager authenticate(TokenCredential credential, AzureProfile profile) {
Objects.requireNonNull(credential, "'credential' cannot be null.");
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.8");
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)");
} else {
userAgentBuilder.append(" (auto-generated)");
}
if (scopes.isEmpty()) {
scopes.add(profile.getEnvironment().getManagementEndpoint() + "/.default");
}
if (retryPolicy == null) {
if (retryOptions != null) {
retryPolicy = new RetryPolicy(retryOptions);
} else {
retryPolicy = new RetryPolicy("Retry-After", ChronoUnit.SECONDS);
}
}
List policies = new ArrayList<>();
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()));
HttpPolicyProviders.addBeforeRetryPolicies(policies);
policies.add(retryPolicy);
policies.add(new AddDatePolicy());
policies.add(new BearerTokenAuthenticationPolicy(credential, scopes.toArray(new String[0])));
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();
return new SecurityManager(httpPipeline, profile, defaultPollInterval);
}
}
/**
* Gets the resource collection API of Locations.
*
* @return Resource collection API of Locations.
*/
public Locations locations() {
if (this.locations == null) {
this.locations = new LocationsImpl(clientObject.getLocations(), this);
}
return locations;
}
/**
* Gets the resource collection API of Operations.
*
* @return Resource collection API of Operations.
*/
public Operations operations() {
if (this.operations == null) {
this.operations = new OperationsImpl(clientObject.getOperations(), this);
}
return operations;
}
/**
* Gets the resource collection API of Tasks.
*
* @return Resource collection API of Tasks.
*/
public Tasks tasks() {
if (this.tasks == null) {
this.tasks = new TasksImpl(clientObject.getTasks(), this);
}
return tasks;
}
/**
* Gets the resource collection API of AutoProvisioningSettings. It manages AutoProvisioningSetting.
*
* @return Resource collection API of AutoProvisioningSettings.
*/
public AutoProvisioningSettings autoProvisioningSettings() {
if (this.autoProvisioningSettings == null) {
this.autoProvisioningSettings
= new AutoProvisioningSettingsImpl(clientObject.getAutoProvisioningSettings(), this);
}
return autoProvisioningSettings;
}
/**
* Gets the resource collection API of Compliances.
*
* @return Resource collection API of Compliances.
*/
public Compliances compliances() {
if (this.compliances == null) {
this.compliances = new CompliancesImpl(clientObject.getCompliances(), this);
}
return compliances;
}
/**
* Gets the resource collection API of InformationProtectionPolicies. It manages InformationProtectionPolicy.
*
* @return Resource collection API of InformationProtectionPolicies.
*/
public InformationProtectionPolicies informationProtectionPolicies() {
if (this.informationProtectionPolicies == null) {
this.informationProtectionPolicies
= new InformationProtectionPoliciesImpl(clientObject.getInformationProtectionPolicies(), this);
}
return informationProtectionPolicies;
}
/**
* Gets the resource collection API of WorkspaceSettings. It manages WorkspaceSetting.
*
* @return Resource collection API of WorkspaceSettings.
*/
public WorkspaceSettings workspaceSettings() {
if (this.workspaceSettings == null) {
this.workspaceSettings = new WorkspaceSettingsImpl(clientObject.getWorkspaceSettings(), this);
}
return workspaceSettings;
}
/**
* Gets the resource collection API of AlertsSuppressionRules.
*
* @return Resource collection API of AlertsSuppressionRules.
*/
public AlertsSuppressionRules alertsSuppressionRules() {
if (this.alertsSuppressionRules == null) {
this.alertsSuppressionRules
= new AlertsSuppressionRulesImpl(clientObject.getAlertsSuppressionRules(), this);
}
return alertsSuppressionRules;
}
/**
* Gets the resource collection API of RegulatoryComplianceStandards.
*
* @return Resource collection API of RegulatoryComplianceStandards.
*/
public RegulatoryComplianceStandards regulatoryComplianceStandards() {
if (this.regulatoryComplianceStandards == null) {
this.regulatoryComplianceStandards
= new RegulatoryComplianceStandardsImpl(clientObject.getRegulatoryComplianceStandards(), this);
}
return regulatoryComplianceStandards;
}
/**
* Gets the resource collection API of RegulatoryComplianceControls.
*
* @return Resource collection API of RegulatoryComplianceControls.
*/
public RegulatoryComplianceControls regulatoryComplianceControls() {
if (this.regulatoryComplianceControls == null) {
this.regulatoryComplianceControls
= new RegulatoryComplianceControlsImpl(clientObject.getRegulatoryComplianceControls(), this);
}
return regulatoryComplianceControls;
}
/**
* Gets the resource collection API of RegulatoryComplianceAssessments.
*
* @return Resource collection API of RegulatoryComplianceAssessments.
*/
public RegulatoryComplianceAssessments regulatoryComplianceAssessments() {
if (this.regulatoryComplianceAssessments == null) {
this.regulatoryComplianceAssessments
= new RegulatoryComplianceAssessmentsImpl(clientObject.getRegulatoryComplianceAssessments(), this);
}
return regulatoryComplianceAssessments;
}
/**
* Gets the resource collection API of SubAssessments.
*
* @return Resource collection API of SubAssessments.
*/
public SubAssessments subAssessments() {
if (this.subAssessments == null) {
this.subAssessments = new SubAssessmentsImpl(clientObject.getSubAssessments(), this);
}
return subAssessments;
}
/**
* Gets the resource collection API of Connectors. It manages ConnectorSetting.
*
* @return Resource collection API of Connectors.
*/
public Connectors connectors() {
if (this.connectors == null) {
this.connectors = new ConnectorsImpl(clientObject.getConnectors(), this);
}
return connectors;
}
/**
* Gets the resource collection API of SoftwareInventories.
*
* @return Resource collection API of SoftwareInventories.
*/
public SoftwareInventories softwareInventories() {
if (this.softwareInventories == null) {
this.softwareInventories = new SoftwareInventoriesImpl(clientObject.getSoftwareInventories(), this);
}
return softwareInventories;
}
/**
* Gets the resource collection API of CustomAssessmentAutomations. It manages CustomAssessmentAutomation.
*
* @return Resource collection API of CustomAssessmentAutomations.
*/
public CustomAssessmentAutomations customAssessmentAutomations() {
if (this.customAssessmentAutomations == null) {
this.customAssessmentAutomations
= new CustomAssessmentAutomationsImpl(clientObject.getCustomAssessmentAutomations(), this);
}
return customAssessmentAutomations;
}
/**
* Gets the resource collection API of CustomEntityStoreAssignments. It manages CustomEntityStoreAssignment.
*
* @return Resource collection API of CustomEntityStoreAssignments.
*/
public CustomEntityStoreAssignments customEntityStoreAssignments() {
if (this.customEntityStoreAssignments == null) {
this.customEntityStoreAssignments
= new CustomEntityStoreAssignmentsImpl(clientObject.getCustomEntityStoreAssignments(), this);
}
return customEntityStoreAssignments;
}
/**
* Gets the resource collection API of MdeOnboardings.
*
* @return Resource collection API of MdeOnboardings.
*/
public MdeOnboardings mdeOnboardings() {
if (this.mdeOnboardings == null) {
this.mdeOnboardings = new MdeOnboardingsImpl(clientObject.getMdeOnboardings(), this);
}
return mdeOnboardings;
}
/**
* Gets the resource collection API of GovernanceAssignments. It manages GovernanceAssignment.
*
* @return Resource collection API of GovernanceAssignments.
*/
public GovernanceAssignments governanceAssignments() {
if (this.governanceAssignments == null) {
this.governanceAssignments = new GovernanceAssignmentsImpl(clientObject.getGovernanceAssignments(), this);
}
return governanceAssignments;
}
/**
* Gets the resource collection API of GovernanceRules. It manages GovernanceRule.
*
* @return Resource collection API of GovernanceRules.
*/
public GovernanceRules governanceRules() {
if (this.governanceRules == null) {
this.governanceRules = new GovernanceRulesImpl(clientObject.getGovernanceRules(), this);
}
return governanceRules;
}
/**
* Gets the resource collection API of Applications.
*
* @return Resource collection API of Applications.
*/
public Applications applications() {
if (this.applications == null) {
this.applications = new ApplicationsImpl(clientObject.getApplications(), this);
}
return applications;
}
/**
* Gets the resource collection API of ApplicationOperations. It manages Application.
*
* @return Resource collection API of ApplicationOperations.
*/
public ApplicationOperations applicationOperations() {
if (this.applicationOperations == null) {
this.applicationOperations = new ApplicationOperationsImpl(clientObject.getApplicationOperations(), this);
}
return applicationOperations;
}
/**
* Gets the resource collection API of SecurityConnectorApplications.
*
* @return Resource collection API of SecurityConnectorApplications.
*/
public SecurityConnectorApplications securityConnectorApplications() {
if (this.securityConnectorApplications == null) {
this.securityConnectorApplications
= new SecurityConnectorApplicationsImpl(clientObject.getSecurityConnectorApplications(), this);
}
return securityConnectorApplications;
}
/**
* Gets the resource collection API of SecurityConnectorApplicationOperations.
*
* @return Resource collection API of SecurityConnectorApplicationOperations.
*/
public SecurityConnectorApplicationOperations securityConnectorApplicationOperations() {
if (this.securityConnectorApplicationOperations == null) {
this.securityConnectorApplicationOperations = new SecurityConnectorApplicationOperationsImpl(
clientObject.getSecurityConnectorApplicationOperations(), this);
}
return securityConnectorApplicationOperations;
}
/**
* Gets the resource collection API of DefenderForStorages. It manages DefenderForStorageSetting.
*
* @return Resource collection API of DefenderForStorages.
*/
public DefenderForStorages defenderForStorages() {
if (this.defenderForStorages == null) {
this.defenderForStorages = new DefenderForStoragesImpl(clientObject.getDefenderForStorages(), this);
}
return defenderForStorages;
}
/**
* Gets the resource collection API of SecurityOperators.
*
* @return Resource collection API of SecurityOperators.
*/
public SecurityOperators securityOperators() {
if (this.securityOperators == null) {
this.securityOperators = new SecurityOperatorsImpl(clientObject.getSecurityOperators(), this);
}
return securityOperators;
}
/**
* Gets the resource collection API of SqlVulnerabilityAssessmentBaselineRules. It manages RuleResults.
*
* @return Resource collection API of SqlVulnerabilityAssessmentBaselineRules.
*/
public SqlVulnerabilityAssessmentBaselineRules sqlVulnerabilityAssessmentBaselineRules() {
if (this.sqlVulnerabilityAssessmentBaselineRules == null) {
this.sqlVulnerabilityAssessmentBaselineRules = new SqlVulnerabilityAssessmentBaselineRulesImpl(
clientObject.getSqlVulnerabilityAssessmentBaselineRules(), this);
}
return sqlVulnerabilityAssessmentBaselineRules;
}
/**
* Gets the resource collection API of SqlVulnerabilityAssessmentScans.
*
* @return Resource collection API of SqlVulnerabilityAssessmentScans.
*/
public SqlVulnerabilityAssessmentScans sqlVulnerabilityAssessmentScans() {
if (this.sqlVulnerabilityAssessmentScans == null) {
this.sqlVulnerabilityAssessmentScans
= new SqlVulnerabilityAssessmentScansImpl(clientObject.getSqlVulnerabilityAssessmentScans(), this);
}
return sqlVulnerabilityAssessmentScans;
}
/**
* Gets the resource collection API of SqlVulnerabilityAssessmentScanResults.
*
* @return Resource collection API of SqlVulnerabilityAssessmentScanResults.
*/
public SqlVulnerabilityAssessmentScanResults sqlVulnerabilityAssessmentScanResults() {
if (this.sqlVulnerabilityAssessmentScanResults == null) {
this.sqlVulnerabilityAssessmentScanResults = new SqlVulnerabilityAssessmentScanResultsImpl(
clientObject.getSqlVulnerabilityAssessmentScanResults(), this);
}
return sqlVulnerabilityAssessmentScanResults;
}
/**
* Gets the resource collection API of SensitivitySettings.
*
* @return Resource collection API of SensitivitySettings.
*/
public SensitivitySettings sensitivitySettings() {
if (this.sensitivitySettings == null) {
this.sensitivitySettings = new SensitivitySettingsImpl(clientObject.getSensitivitySettings(), this);
}
return sensitivitySettings;
}
/**
* Gets the resource collection API of HealthReports.
*
* @return Resource collection API of HealthReports.
*/
public HealthReports healthReports() {
if (this.healthReports == null) {
this.healthReports = new HealthReportsImpl(clientObject.getHealthReports(), this);
}
return healthReports;
}
/**
* Gets the resource collection API of Automations. It manages Automation.
*
* @return Resource collection API of Automations.
*/
public Automations automations() {
if (this.automations == null) {
this.automations = new AutomationsImpl(clientObject.getAutomations(), this);
}
return automations;
}
/**
* Gets the resource collection API of SecurityContacts. It manages SecurityContact.
*
* @return Resource collection API of SecurityContacts.
*/
public SecurityContacts securityContacts() {
if (this.securityContacts == null) {
this.securityContacts = new SecurityContactsImpl(clientObject.getSecurityContacts(), this);
}
return securityContacts;
}
/**
* Gets the resource collection API of SecurityConnectors. It manages SecurityConnector.
*
* @return Resource collection API of SecurityConnectors.
*/
public SecurityConnectors securityConnectors() {
if (this.securityConnectors == null) {
this.securityConnectors = new SecurityConnectorsImpl(clientObject.getSecurityConnectors(), this);
}
return securityConnectors;
}
/**
* Gets the resource collection API of AzureDevOpsOrgs. It manages AzureDevOpsOrg.
*
* @return Resource collection API of AzureDevOpsOrgs.
*/
public AzureDevOpsOrgs azureDevOpsOrgs() {
if (this.azureDevOpsOrgs == null) {
this.azureDevOpsOrgs = new AzureDevOpsOrgsImpl(clientObject.getAzureDevOpsOrgs(), this);
}
return azureDevOpsOrgs;
}
/**
* Gets the resource collection API of AzureDevOpsProjects. It manages AzureDevOpsProject.
*
* @return Resource collection API of AzureDevOpsProjects.
*/
public AzureDevOpsProjects azureDevOpsProjects() {
if (this.azureDevOpsProjects == null) {
this.azureDevOpsProjects = new AzureDevOpsProjectsImpl(clientObject.getAzureDevOpsProjects(), this);
}
return azureDevOpsProjects;
}
/**
* Gets the resource collection API of AzureDevOpsRepos. It manages AzureDevOpsRepository.
*
* @return Resource collection API of AzureDevOpsRepos.
*/
public AzureDevOpsRepos azureDevOpsRepos() {
if (this.azureDevOpsRepos == null) {
this.azureDevOpsRepos = new AzureDevOpsReposImpl(clientObject.getAzureDevOpsRepos(), this);
}
return azureDevOpsRepos;
}
/**
* Gets the resource collection API of DevOpsConfigurations.
*
* @return Resource collection API of DevOpsConfigurations.
*/
public DevOpsConfigurations devOpsConfigurations() {
if (this.devOpsConfigurations == null) {
this.devOpsConfigurations = new DevOpsConfigurationsImpl(clientObject.getDevOpsConfigurations(), this);
}
return devOpsConfigurations;
}
/**
* Gets the resource collection API of DevOpsPolicies.
*
* @return Resource collection API of DevOpsPolicies.
*/
public DevOpsPolicies devOpsPolicies() {
if (this.devOpsPolicies == null) {
this.devOpsPolicies = new DevOpsPoliciesImpl(clientObject.getDevOpsPolicies(), this);
}
return devOpsPolicies;
}
/**
* Gets the resource collection API of DevOpsPolicyAssignments. It manages DevOpsPolicyAssignment.
*
* @return Resource collection API of DevOpsPolicyAssignments.
*/
public DevOpsPolicyAssignments devOpsPolicyAssignments() {
if (this.devOpsPolicyAssignments == null) {
this.devOpsPolicyAssignments
= new DevOpsPolicyAssignmentsImpl(clientObject.getDevOpsPolicyAssignments(), this);
}
return devOpsPolicyAssignments;
}
/**
* Gets the resource collection API of GitHubOwners.
*
* @return Resource collection API of GitHubOwners.
*/
public GitHubOwners gitHubOwners() {
if (this.gitHubOwners == null) {
this.gitHubOwners = new GitHubOwnersImpl(clientObject.getGitHubOwners(), this);
}
return gitHubOwners;
}
/**
* Gets the resource collection API of GitHubRepos.
*
* @return Resource collection API of GitHubRepos.
*/
public GitHubRepos gitHubRepos() {
if (this.gitHubRepos == null) {
this.gitHubRepos = new GitHubReposImpl(clientObject.getGitHubRepos(), this);
}
return gitHubRepos;
}
/**
* Gets the resource collection API of GitLabGroups.
*
* @return Resource collection API of GitLabGroups.
*/
public GitLabGroups gitLabGroups() {
if (this.gitLabGroups == null) {
this.gitLabGroups = new GitLabGroupsImpl(clientObject.getGitLabGroups(), this);
}
return gitLabGroups;
}
/**
* Gets the resource collection API of GitLabSubgroups.
*
* @return Resource collection API of GitLabSubgroups.
*/
public GitLabSubgroups gitLabSubgroups() {
if (this.gitLabSubgroups == null) {
this.gitLabSubgroups = new GitLabSubgroupsImpl(clientObject.getGitLabSubgroups(), this);
}
return gitLabSubgroups;
}
/**
* Gets the resource collection API of GitLabProjects.
*
* @return Resource collection API of GitLabProjects.
*/
public GitLabProjects gitLabProjects() {
if (this.gitLabProjects == null) {
this.gitLabProjects = new GitLabProjectsImpl(clientObject.getGitLabProjects(), this);
}
return gitLabProjects;
}
/**
* Gets the resource collection API of DevOpsOperationResults.
*
* @return Resource collection API of DevOpsOperationResults.
*/
public DevOpsOperationResults devOpsOperationResults() {
if (this.devOpsOperationResults == null) {
this.devOpsOperationResults
= new DevOpsOperationResultsImpl(clientObject.getDevOpsOperationResults(), this);
}
return devOpsOperationResults;
}
/**
* Gets the resource collection API of ComplianceResults.
*
* @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 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 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 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 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 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;
}
/**
* Gets the resource collection API of SecurityStandards. It manages SecurityStandard.
*
* @return Resource collection API of SecurityStandards.
*/
public SecurityStandards securityStandards() {
if (this.securityStandards == null) {
this.securityStandards = new SecurityStandardsImpl(clientObject.getSecurityStandards(), this);
}
return securityStandards;
}
/**
* Gets the resource collection API of StandardAssignments. It manages StandardAssignment.
*
* @return Resource collection API of StandardAssignments.
*/
public StandardAssignments standardAssignments() {
if (this.standardAssignments == null) {
this.standardAssignments = new StandardAssignmentsImpl(clientObject.getStandardAssignments(), this);
}
return standardAssignments;
}
/**
* Gets the resource collection API of CustomRecommendations. It manages CustomRecommendation.
*
* @return Resource collection API of CustomRecommendations.
*/
public CustomRecommendations customRecommendations() {
if (this.customRecommendations == null) {
this.customRecommendations = new CustomRecommendationsImpl(clientObject.getCustomRecommendations(), this);
}
return customRecommendations;
}
/**
* 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;
}
}