Compartir a través de


ManagedInstanceAdvancedThreatProtectionCollection.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/managedInstances/{managedInstanceName}/advancedThreatProtectionSettings/{advancedThreatProtectionName}
  • IdManagedInstanceAdvancedThreatProtectionSettings_Get de operación
public virtual Azure.NullableResponse<Azure.ResourceManager.Sql.ManagedInstanceAdvancedThreatProtectionResource> GetIfExists (Azure.ResourceManager.Sql.Models.AdvancedThreatProtectionName advancedThreatProtectionName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetIfExists : Azure.ResourceManager.Sql.Models.AdvancedThreatProtectionName * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.Sql.ManagedInstanceAdvancedThreatProtectionResource>
override this.GetIfExists : Azure.ResourceManager.Sql.Models.AdvancedThreatProtectionName * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.Sql.ManagedInstanceAdvancedThreatProtectionResource>
Public Overridable Function GetIfExists (advancedThreatProtectionName As AdvancedThreatProtectionName, Optional cancellationToken As CancellationToken = Nothing) As NullableResponse(Of ManagedInstanceAdvancedThreatProtectionResource)

Parámetros

advancedThreatProtectionName
AdvancedThreatProtectionName

Nombre del estado de Advanced Threat Protection.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Se aplica a