次の方法で共有


IDatabaseVulnerabilityAssessmentRuleBaselinesOperations.DeleteWithHttpMessagesAsync メソッド

定義

データベースの脆弱性評価規則のベースラインを削除します。

public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse> DeleteWithHttpMessagesAsync(string resourceGroupName, string serverName, string databaseName, string ruleId, Microsoft.Azure.Management.Sql.Models.VulnerabilityAssessmentPolicyBaselineName baselineName, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member DeleteWithHttpMessagesAsync : string * string * string * string * Microsoft.Azure.Management.Sql.Models.VulnerabilityAssessmentPolicyBaselineName * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse>
Public Function DeleteWithHttpMessagesAsync (resourceGroupName As String, serverName As String, databaseName As String, ruleId As String, baselineName As VulnerabilityAssessmentPolicyBaselineName, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AzureOperationResponse)

パラメーター

resourceGroupName
String

リソースが含まれているリソース グループの名前。 この値は、Azure リソース マネージャー API またはポータルから取得できます。

serverName
String

サーバーの名前。

databaseName
String

脆弱性評価規則のベースラインが定義されているデータベースの名前。

ruleId
String

脆弱性評価ルール ID。

baselineName
VulnerabilityAssessmentPolicyBaselineName

脆弱性評価規則のベースラインの名前 (既定値は、データベース レベルの規則のベースラインとサーバー レベルルールのマスターを意味します)。 使用可能な値は次のとおりです: 'master'、'default'

customHeaders
Dictionary<String,List<String>>

要求に追加されるヘッダー。

cancellationToken
CancellationToken

キャンセル トークン。

戻り値

例外

操作が無効な状態コードを返したときにスローされます

必須パラメーターが null の場合にスローされます

適用対象