SqlVulnerabilityAssessmentBaselineRules Interface
public interface SqlVulnerabilityAssessmentBaselineRules
Resource collection API of SqlVulnerabilityAssessmentBaselineRules.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
abstract
Rules |
add(String resourceId)
Set a list of baseline rules. |
|
abstract
Response<Rules |
addWithResponse(String resourceId, String databaseName, RulesResultsInput body, Context context)
Set a list of baseline rules. |
| abstract Blank |
define(String name)
Begins definition for a new Rule |
| abstract void |
delete(String resourceId, String ruleId)
Deletes a rule from the Baseline of a given database. |
| abstract void |
deleteById(String id)
Deletes a rule from the Baseline of a given database. |
| abstract Response<Void> |
deleteByIdWithResponse(String id, String databaseName, Context context)
Deletes a rule from the Baseline of a given database. |
| abstract Response<Void> |
deleteWithResponse(String resourceId, String ruleId, String databaseName, Context context)
Deletes a rule from the Baseline of a given database. |
|
abstract
Rule |
get(String resourceId, String ruleId)
Gets the results for a given rule in the Baseline. |
|
abstract
Rule |
getById(String id)
Gets the results for a given rule in the Baseline. |
|
abstract
Response<Rule |
getByIdWithResponse(String id, String databaseName, Context context)
Gets the results for a given rule in the Baseline. |
|
abstract
Response<Rule |
getWithResponse(String resourceId, String ruleId, String databaseName, Context context)
Gets the results for a given rule in the Baseline. |
|
abstract
Paged |
list(String resourceId)
Gets the results for all rules in the Baseline. |
|
abstract
Paged |
list(String resourceId, String databaseName, Context context)
Gets the results for all rules in the Baseline. |
Method Details
add
public abstract RulesResults add(String resourceId)
Set a list of baseline rules. Will overwrite any previously existing results (for all rules).
Parameters:
Returns:
addWithResponse
public abstract Response<RulesResults> addWithResponse(String resourceId, String databaseName, RulesResultsInput body, Context context)
Set a list of baseline rules. Will overwrite any previously existing results (for all rules).
Parameters:
Returns:
define
public abstract RuleResults.DefinitionStages.Blank define(String name)
Begins definition for a new RuleResults resource.
Parameters:
Returns:
delete
public abstract void delete(String resourceId, String ruleId)
Deletes a rule from the Baseline of a given database.
Parameters:
deleteById
public abstract void deleteById(String id)
Deletes a rule from the Baseline of a given database.
Parameters:
deleteByIdWithResponse
public abstract Response<Void> deleteByIdWithResponse(String id, String databaseName, Context context)
Deletes a rule from the Baseline of a given database.
Parameters:
Returns:
deleteWithResponse
public abstract Response<Void> deleteWithResponse(String resourceId, String ruleId, String databaseName, Context context)
Deletes a rule from the Baseline of a given database.
Parameters:
Returns:
get
public abstract RuleResults get(String resourceId, String ruleId)
Gets the results for a given rule in the Baseline.
Parameters:
Returns:
getById
public abstract RuleResults getById(String id)
Gets the results for a given rule in the Baseline.
Parameters:
Returns:
getByIdWithResponse
public abstract Response<RuleResults> getByIdWithResponse(String id, String databaseName, Context context)
Gets the results for a given rule in the Baseline.
Parameters:
Returns:
getWithResponse
public abstract Response<RuleResults> getWithResponse(String resourceId, String ruleId, String databaseName, Context context)
Gets the results for a given rule in the Baseline.
Parameters:
Returns:
list
public abstract PagedIterable<RuleResults> list(String resourceId)
Gets the results for all rules in the Baseline.
Parameters:
Returns:
list
public abstract PagedIterable<RuleResults> list(String resourceId, String databaseName, Context context)
Gets the results for all rules in the Baseline.
Parameters:
Returns: