你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

SynapseSqlPoolVulnerabilityAssessmentResource.GetSynapseSqlPoolVulnerabilityAssessmentRuleBaseline 方法

定义

获取 SqlPool 的漏洞评估规则基线。

  • 请求路径/订阅/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlPools/{sqlPoolName}/vulnerabilityAssessments/{vulnerabilityAssessmentName}/rules/{ruleId}/baselines/{baselineName}
  • 操作IdSqlPoolVulnerabilityAssessmentRuleBaselines_Get
public virtual Azure.Response<Azure.ResourceManager.Synapse.SynapseSqlPoolVulnerabilityAssessmentRuleBaselineResource> GetSynapseSqlPoolVulnerabilityAssessmentRuleBaseline (string ruleId, Azure.ResourceManager.Synapse.Models.SynapseVulnerabilityAssessmentPolicyBaselineName baselineName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetSynapseSqlPoolVulnerabilityAssessmentRuleBaseline : string * Azure.ResourceManager.Synapse.Models.SynapseVulnerabilityAssessmentPolicyBaselineName * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Synapse.SynapseSqlPoolVulnerabilityAssessmentRuleBaselineResource>
override this.GetSynapseSqlPoolVulnerabilityAssessmentRuleBaseline : string * Azure.ResourceManager.Synapse.Models.SynapseVulnerabilityAssessmentPolicyBaselineName * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Synapse.SynapseSqlPoolVulnerabilityAssessmentRuleBaselineResource>
Public Overridable Function GetSynapseSqlPoolVulnerabilityAssessmentRuleBaseline (ruleId As String, baselineName As SynapseVulnerabilityAssessmentPolicyBaselineName, Optional cancellationToken As CancellationToken = Nothing) As Response(Of SynapseSqlPoolVulnerabilityAssessmentRuleBaselineResource)

参数

ruleId
String

漏洞评估规则 ID。

baselineName
SynapseVulnerabilityAssessmentPolicyBaselineName

默认 (漏洞评估规则基线的名称表示 Sql 池级别规则上的基线和服务器级规则) 的主数据库。

cancellationToken
CancellationToken

要使用的取消标记。

返回

例外

ruleId 是一个空字符串,预期为非空。

ruleId 为 null。

适用于