SqlVulnerabilityAssessmentBaselineRuleCollection.AddRulesAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
public virtual Azure.AsyncPageable<Azure.ResourceManager.SecurityCenter.SqlVulnerabilityAssessmentBaselineRuleResource> AddRulesAsync (Guid workspaceId, Azure.ResourceManager.SecurityCenter.Models.RulesResultsContent content = default, System.Threading.CancellationToken cancellationToken = default);
abstract member AddRulesAsync : Guid * Azure.ResourceManager.SecurityCenter.Models.RulesResultsContent * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.SecurityCenter.SqlVulnerabilityAssessmentBaselineRuleResource>
override this.AddRulesAsync : Guid * Azure.ResourceManager.SecurityCenter.Models.RulesResultsContent * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.SecurityCenter.SqlVulnerabilityAssessmentBaselineRuleResource>
Public Overridable Function AddRulesAsync (workspaceId As Guid, Optional content As RulesResultsContent = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of SqlVulnerabilityAssessmentBaselineRuleResource)
Parameters
- workspaceId
- Guid
The workspace Id.
- content
- RulesResultsContent
The baseline rules.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
An async collection of SqlVulnerabilityAssessmentBaselineRuleResource that may take multiple service requests to iterate over.
Applies to
GitHub'da bizimle işbirliği yapın
Bu içeriğin kaynağı GitHub'da bulunabilir; burada ayrıca sorunları ve çekme isteklerini oluşturup gözden geçirebilirsiniz. Daha fazla bilgi için katkıda bulunan kılavuzumuzu inceleyin.
Azure SDK for .NET