다음을 통해 공유


DatabaseAdvancedThreatProtection Constructors

Definition

Overloads

DatabaseAdvancedThreatProtection()

Initializes a new instance of the DatabaseAdvancedThreatProtection class.

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

Initializes a new instance of the DatabaseAdvancedThreatProtection class.

DatabaseAdvancedThreatProtection()

Initializes a new instance of the DatabaseAdvancedThreatProtection class.

public DatabaseAdvancedThreatProtection ();
Public Sub New ()

Applies to

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

Initializes a new instance of the DatabaseAdvancedThreatProtection class.

public DatabaseAdvancedThreatProtection (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.DatabaseAdvancedThreatProtection : Microsoft.Azure.Management.Sql.Models.AdvancedThreatProtectionState * string * string * string * Microsoft.Azure.Management.Sql.Models.SystemData * Nullable<DateTime> -> Microsoft.Azure.Management.Sql.Models.DatabaseAdvancedThreatProtection
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