共用方式為


ServerAdvancedThreatProtection Constructors

Definition

Overloads

ServerAdvancedThreatProtection()

Initializes a new instance of the ServerAdvancedThreatProtection class.

ServerAdvancedThreatProtection(AdvancedThreatProtectionState, String, String, String, SystemData, Nullable<DateTime>)

Initializes a new instance of the ServerAdvancedThreatProtection class.

ServerAdvancedThreatProtection()

Initializes a new instance of the ServerAdvancedThreatProtection class.

public ServerAdvancedThreatProtection ();
Public Sub New ()

Applies to

ServerAdvancedThreatProtection(AdvancedThreatProtectionState, String, String, String, SystemData, Nullable<DateTime>)

Initializes a new instance of the ServerAdvancedThreatProtection class.

public ServerAdvancedThreatProtection (Microsoft.Azure.Management.Sql.Models.AdvancedThreatProtectionState state, string id = default, string name = default, string type = default, Microsoft.Azure.Management.Sql.Models.SystemData systemData = default, DateTime? creationTime = default);
new Microsoft.Azure.Management.Sql.Models.ServerAdvancedThreatProtection : Microsoft.Azure.Management.Sql.Models.AdvancedThreatProtectionState * string * string * string * Microsoft.Azure.Management.Sql.Models.SystemData * Nullable<DateTime> -> Microsoft.Azure.Management.Sql.Models.ServerAdvancedThreatProtection
Public Sub New (state As AdvancedThreatProtectionState, Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional systemData As SystemData = Nothing, Optional creationTime As Nullable(Of DateTime) = Nothing)

Parameters

state
AdvancedThreatProtectionState

Specifies the state of the Advanced Threat Protection, whether it is enabled or disabled or a state has not been applied yet on the specific database or server. Possible values include: 'New', 'Enabled', 'Disabled'

id
String

Resource ID.

name
String

Resource name.

type
String

Resource type.

systemData
SystemData

SystemData of AdvancedThreatProtectionResource.

creationTime
Nullable<DateTime>

Specifies the UTC creation time of the policy.

Applies to