Compartir a través de


ServerAdvancedThreatProtectionSettingsOperationsExtensions.BeginCreateOrUpdateAsync Método

Definición

Crea o actualiza un estado de Advanced Threat Protection.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Sql.Models.ServerAdvancedThreatProtection> BeginCreateOrUpdateAsync (this Microsoft.Azure.Management.Sql.IServerAdvancedThreatProtectionSettingsOperations operations, string resourceGroupName, string serverName, Microsoft.Azure.Management.Sql.Models.ServerAdvancedThreatProtection parameters, System.Threading.CancellationToken cancellationToken = default);
static member BeginCreateOrUpdateAsync : Microsoft.Azure.Management.Sql.IServerAdvancedThreatProtectionSettingsOperations * string * string * Microsoft.Azure.Management.Sql.Models.ServerAdvancedThreatProtection * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Sql.Models.ServerAdvancedThreatProtection>
<Extension()>
Public Function BeginCreateOrUpdateAsync (operations As IServerAdvancedThreatProtectionSettingsOperations, resourceGroupName As String, serverName As String, parameters As ServerAdvancedThreatProtection, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ServerAdvancedThreatProtection)

Parámetros

operations
IServerAdvancedThreatProtectionSettingsOperations

Grupo de operaciones para este método de extensión.

resourceGroupName
String

Nombre del grupo de recursos que contiene el recurso. Puede obtener este valor en la API del Administrador de recursos o el portal de Azure.

serverName
String

El nombre del servidor.

parameters
ServerAdvancedThreatProtection

Estado de Advanced Threat Protection del servidor.

cancellationToken
CancellationToken

Token de cancelación.

Devoluciones

Se aplica a