Compartilhar via


SqlServerSqlVulnerabilityAssessmentBaselineCollection.GetIfExists Método

Definição

Tenta obter detalhes para esse recurso do serviço.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/sqlVulnerabilityAssessments/{vulnerabilityAssessmentName}/baselines/{baselineName}
  • Operação IdSqlVulnerabilityAssessmentBaseline_Get
public virtual Azure.NullableResponse<Azure.ResourceManager.Sql.SqlServerSqlVulnerabilityAssessmentBaselineResource> GetIfExists (Azure.ResourceManager.Sql.Models.SqlVulnerabilityAssessmentBaselineName baselineName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetIfExists : Azure.ResourceManager.Sql.Models.SqlVulnerabilityAssessmentBaselineName * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.Sql.SqlServerSqlVulnerabilityAssessmentBaselineResource>
override this.GetIfExists : Azure.ResourceManager.Sql.Models.SqlVulnerabilityAssessmentBaselineName * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.Sql.SqlServerSqlVulnerabilityAssessmentBaselineResource>
Public Overridable Function GetIfExists (baselineName As SqlVulnerabilityAssessmentBaselineName, Optional cancellationToken As CancellationToken = Nothing) As NullableResponse(Of SqlServerSqlVulnerabilityAssessmentBaselineResource)

Parâmetros

baselineName
SqlVulnerabilityAssessmentBaselineName

O SqlVulnerabilityAssessmentBaselineName a ser usado.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Aplica-se a