Compartir a través de


SqlServerSqlVulnerabilityAssessmentScanCollection.GetIfExists Método

Definición

Intenta obtener detalles de este recurso del servicio.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/sqlVulnerabilityAssessments/{vulnerabilityAssessmentName}/scans/{scanId}
  • IdSqlVulnerabilityAssessmentScans_Get de operación
public virtual Azure.NullableResponse<Azure.ResourceManager.Sql.SqlServerSqlVulnerabilityAssessmentScanResource> GetIfExists (string scanId, System.Threading.CancellationToken cancellationToken = default);
abstract member GetIfExists : string * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.Sql.SqlServerSqlVulnerabilityAssessmentScanResource>
override this.GetIfExists : string * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.Sql.SqlServerSqlVulnerabilityAssessmentScanResource>
Public Overridable Function GetIfExists (scanId As String, Optional cancellationToken As CancellationToken = Nothing) As NullableResponse(Of SqlServerSqlVulnerabilityAssessmentScanResource)

Parámetros

scanId
String

Cadena que se va a usar.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

scanId es una cadena vacía y se esperaba que no estuviera vacía.

scanId es null.

Se aplica a