SqlVulnerabilityAssessmentBaselineRuleCollection Class

Definition

Provides a compatibility shim for the SqlVulnerabilityAssessmentBaselineRuleCollection class.

public class SqlVulnerabilityAssessmentBaselineRuleCollection : Azure.ResourceManager.ArmCollection
public class SqlVulnerabilityAssessmentBaselineRuleCollection : Azure.ResourceManager.ArmCollection, System.Collections.Generic.IAsyncEnumerable<Azure.ResourceManager.SecurityCenter.SqlVulnerabilityAssessmentBaselineRuleResource>, System.Collections.Generic.IEnumerable<Azure.ResourceManager.SecurityCenter.SqlVulnerabilityAssessmentBaselineRuleResource>
type SqlVulnerabilityAssessmentBaselineRuleCollection = class
    inherit ArmCollection
type SqlVulnerabilityAssessmentBaselineRuleCollection = class
    inherit ArmCollection
    interface seq<SqlVulnerabilityAssessmentBaselineRuleResource>
    interface IEnumerable
    interface IAsyncEnumerable<SqlVulnerabilityAssessmentBaselineRuleResource>
Public Class SqlVulnerabilityAssessmentBaselineRuleCollection
Inherits ArmCollection
Public Class SqlVulnerabilityAssessmentBaselineRuleCollection
Inherits ArmCollection
Implements IAsyncEnumerable(Of SqlVulnerabilityAssessmentBaselineRuleResource), IEnumerable(Of SqlVulnerabilityAssessmentBaselineRuleResource)
Inheritance
SqlVulnerabilityAssessmentBaselineRuleCollection
Implements

Constructors

Name Description
SqlVulnerabilityAssessmentBaselineRuleCollection()

Initializes a new instance of SqlVulnerabilityAssessmentBaselineRuleCollection for mocking.

Properties

Name Description
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

Name Description
AddRules(Guid, RulesResultsContent, CancellationToken)

Provides a compatibility shim for the AddRules operation preserved from the previous public API surface.

AddRulesAsync(Guid, RulesResultsContent, CancellationToken)

Provides a compatibility shim for the AddRulesAsync operation preserved from the previous public API surface.

CreateOrUpdate(WaitUntil, String, Guid, SqlVulnerabilityAssessmentBaselineRuleCreateOrUpdateContent, CancellationToken)

Provides a compatibility shim for the CreateOrUpdate operation preserved from the previous public API surface.

CreateOrUpdate(WaitUntil, String, RuleResultsInput, String, 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. : 2026-04-01-preview.
CreateOrUpdateAsync(WaitUntil, String, Guid, SqlVulnerabilityAssessmentBaselineRuleCreateOrUpdateContent, CancellationToken)

Provides a compatibility shim for the CreateOrUpdateAsync operation preserved from the previous public API surface.

CreateOrUpdateAsync(WaitUntil, String, RuleResultsInput, String, 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. : 2026-04-01-preview.
Exists(String, Guid, CancellationToken)

Provides a compatibility shim for the Exists operation preserved from the previous public API surface.

Exists(String, String, 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. : 2026-04-01-preview.
ExistsAsync(String, Guid, CancellationToken)

Provides a compatibility shim for the ExistsAsync operation preserved from the previous public API surface.

ExistsAsync(String, String, 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. : 2026-04-01-preview.
Get(String, Guid, CancellationToken)

Provides a compatibility shim for the Get operation preserved from the previous public API surface.

Get(String, String, 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. : 2026-04-01-preview.
GetAll(Guid, CancellationToken)

Provides a compatibility shim for the GetAll operation preserved from the previous public API surface.

GetAll(String, 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. : 2026-04-01-preview.
GetAllAsync(Guid, CancellationToken)

Provides a compatibility shim for the GetAllAsync operation preserved from the previous public API surface.

GetAllAsync(String, 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. : 2026-04-01-preview.
GetAsync(String, Guid, CancellationToken)

Provides a compatibility shim for the GetAsync operation preserved from the previous public API surface.

GetAsync(String, String, 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. : 2026-04-01-preview.
GetIfExists(String, String, 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. : 2026-04-01-preview.
GetIfExistsAsync(String, String, 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. : 2026-04-01-preview.
TryGetApiVersion(ResourceType, String)

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

(Inherited from ArmCollection)

Explicit Interface Implementations

Name Description
IAsyncEnumerable<SqlVulnerabilityAssessmentBaselineRuleResource>.GetAsyncEnumerator(CancellationToken)
IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<SqlVulnerabilityAssessmentBaselineRuleResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Extension Methods

Name Description
ArrayContainsAll<T>(IEnumerable<T>, Object[])

Returns whether all values are present in the array.

ArrayContainsAny<T>(IEnumerable<T>, Object[])

Returns whether any values are present in the array.

Applies to