共用方式為


SqlVulnerabilityAssessmentBaselineRuleCollection Class

Definition

A class representing a collection of SqlVulnerabilityAssessmentBaselineRuleResource and their operations. Each SqlVulnerabilityAssessmentBaselineRuleResource in the collection will belong to the same instance of ArmResource. To get a SqlVulnerabilityAssessmentBaselineRuleCollection instance call the GetSqlVulnerabilityAssessmentBaselineRules method from an instance of ArmResource.

public class SqlVulnerabilityAssessmentBaselineRuleCollection : Azure.ResourceManager.ArmCollection
type SqlVulnerabilityAssessmentBaselineRuleCollection = class
    inherit ArmCollection
Public Class SqlVulnerabilityAssessmentBaselineRuleCollection
Inherits ArmCollection
Inheritance
SqlVulnerabilityAssessmentBaselineRuleCollection

Constructors

SqlVulnerabilityAssessmentBaselineRuleCollection()

Initializes a new instance of the SqlVulnerabilityAssessmentBaselineRuleCollection class for mocking.

Properties

Client

Gets the ArmClient this resource client was created from.

(Inherited from ArmCollection)
Diagnostics

Gets the diagnostic options for this resource client.

(Inherited from ArmCollection)
Endpoint

Gets the base uri for this resource client.

(Inherited from ArmCollection)
Id

Gets the resource identifier.

(Inherited from ArmCollection)
Pipeline

Gets the pipeline for this resource client.

(Inherited from ArmCollection)

Methods

AddRules(Guid, RulesResultsContent, CancellationToken)

Add a list of baseline rules. Will overwrite any previously existing results (for all rules).

  • Request Path: /{resourceId}/providers/Microsoft.Security/sqlVulnerabilityAssessments/default/baselineRules
  • Operation Id: SqlVulnerabilityAssessmentBaselineRules_Add
AddRulesAsync(Guid, RulesResultsContent, CancellationToken)

Add a list of baseline rules. Will overwrite any previously existing results (for all rules).

  • Request Path: /{resourceId}/providers/Microsoft.Security/sqlVulnerabilityAssessments/default/baselineRules
  • Operation Id: SqlVulnerabilityAssessmentBaselineRules_Add
CreateOrUpdate(WaitUntil, String, Guid, SqlVulnerabilityAssessmentBaselineRuleCreateOrUpdateContent, CancellationToken)

Creates a Baseline for a rule in a database. Will overwrite any previously existing results.

  • Request Path: /{resourceId}/providers/Microsoft.Security/sqlVulnerabilityAssessments/default/baselineRules/{ruleId}
  • Operation Id: SqlVulnerabilityAssessmentBaselineRules_CreateOrUpdate
  • Default Api Version: 2023-02-01-preview
  • Resource: SqlVulnerabilityAssessmentBaselineRuleResource
CreateOrUpdateAsync(WaitUntil, String, Guid, SqlVulnerabilityAssessmentBaselineRuleCreateOrUpdateContent, CancellationToken)

Creates a Baseline for a rule in a database. Will overwrite any previously existing results.

  • Request Path: /{resourceId}/providers/Microsoft.Security/sqlVulnerabilityAssessments/default/baselineRules/{ruleId}
  • Operation Id: SqlVulnerabilityAssessmentBaselineRules_CreateOrUpdate
  • Default Api Version: 2023-02-01-preview
  • Resource: SqlVulnerabilityAssessmentBaselineRuleResource
Exists(String, Guid, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /{resourceId}/providers/Microsoft.Security/sqlVulnerabilityAssessments/default/baselineRules/{ruleId}
  • Operation Id: SqlVulnerabilityAssessmentBaselineRules_Get
  • Default Api Version: 2023-02-01-preview
  • Resource: SqlVulnerabilityAssessmentBaselineRuleResource
ExistsAsync(String, Guid, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /{resourceId}/providers/Microsoft.Security/sqlVulnerabilityAssessments/default/baselineRules/{ruleId}
  • Operation Id: SqlVulnerabilityAssessmentBaselineRules_Get
  • Default Api Version: 2023-02-01-preview
  • Resource: SqlVulnerabilityAssessmentBaselineRuleResource
Get(String, Guid, CancellationToken)

Gets the results for a given rule in the Baseline.

  • Request Path: /{resourceId}/providers/Microsoft.Security/sqlVulnerabilityAssessments/default/baselineRules/{ruleId}
  • Operation Id: SqlVulnerabilityAssessmentBaselineRules_Get
  • Default Api Version: 2023-02-01-preview
  • Resource: SqlVulnerabilityAssessmentBaselineRuleResource
GetAll(Guid, CancellationToken)

Gets the results for all rules in the Baseline.

  • Request Path: /{resourceId}/providers/Microsoft.Security/sqlVulnerabilityAssessments/default/baselineRules
  • Operation Id: SqlVulnerabilityAssessmentBaselineRules_List
  • Default Api Version: 2023-02-01-preview
  • Resource: SqlVulnerabilityAssessmentBaselineRuleResource
GetAllAsync(Guid, CancellationToken)

Gets the results for all rules in the Baseline.

  • Request Path: /{resourceId}/providers/Microsoft.Security/sqlVulnerabilityAssessments/default/baselineRules
  • Operation Id: SqlVulnerabilityAssessmentBaselineRules_List
  • Default Api Version: 2023-02-01-preview
  • Resource: SqlVulnerabilityAssessmentBaselineRuleResource
GetAsync(String, Guid, CancellationToken)

Gets the results for a given rule in the Baseline.

  • Request Path: /{resourceId}/providers/Microsoft.Security/sqlVulnerabilityAssessments/default/baselineRules/{ruleId}
  • Operation Id: SqlVulnerabilityAssessmentBaselineRules_Get
  • Default Api Version: 2023-02-01-preview
  • Resource: SqlVulnerabilityAssessmentBaselineRuleResource
GetIfExists(String, Guid, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /{resourceId}/providers/Microsoft.Security/sqlVulnerabilityAssessments/default/baselineRules/{ruleId}
  • Operation Id: SqlVulnerabilityAssessmentBaselineRules_Get
  • Default Api Version: 2023-02-01-preview
  • Resource: SqlVulnerabilityAssessmentBaselineRuleResource
GetIfExistsAsync(String, Guid, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /{resourceId}/providers/Microsoft.Security/sqlVulnerabilityAssessments/default/baselineRules/{ruleId}
  • Operation Id: SqlVulnerabilityAssessmentBaselineRules_Get
  • Default Api Version: 2023-02-01-preview
  • Resource: SqlVulnerabilityAssessmentBaselineRuleResource
TryGetApiVersion(ResourceType, String)

Gets the api version override if it has been set for the current client options.

(Inherited from ArmCollection)

Applies to