你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
SqlVulnerabilityAssessmentBaselineRulesOperationsExtensions.AddAsync 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).
public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Security.Models.RulesResults> AddAsync (this Microsoft.Azure.Management.Security.ISqlVulnerabilityAssessmentBaselineRulesOperations operations, string workspaceId, string resourceId, bool? latestScan = default, System.Collections.Generic.IDictionary<string,System.Collections.Generic.IList<System.Collections.Generic.IList<string>>> results = default, System.Threading.CancellationToken cancellationToken = default);
static member AddAsync : Microsoft.Azure.Management.Security.ISqlVulnerabilityAssessmentBaselineRulesOperations * string * string * Nullable<bool> * System.Collections.Generic.IDictionary<string, System.Collections.Generic.IList<System.Collections.Generic.IList<string>>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Security.Models.RulesResults>
<Extension()>
Public Function AddAsync (operations As ISqlVulnerabilityAssessmentBaselineRulesOperations, workspaceId As String, resourceId As String, Optional latestScan As Nullable(Of Boolean) = Nothing, Optional results As IDictionary(Of String, IList(Of IList(Of String))) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of RulesResults)
Parameters
The operations group for this extension method.
- workspaceId
- String
The workspace Id.
- resourceId
- String
The identifier of the resource.
- results
- IDictionary<String,IList<IList<String>>>
- cancellationToken
- CancellationToken
The cancellation token.