Condividi tramite


DatabaseAdvancedThreatProtection Class

A database Advanced Threat Protection.

Variables are only populated by the server, and will be ignored when sending a request.

Constructor

DatabaseAdvancedThreatProtection(*, state: str | _models.AdvancedThreatProtectionState | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
state

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. Known values are: "New", "Enabled", and "Disabled".

Default value: None

Variables

Name Description
id
str

Resource ID.

name
str

Resource name.

type
str

Resource type.

system_data

SystemData of AdvancedThreatProtectionResource.

state

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. Known values are: "New", "Enabled", and "Disabled".

creation_time

Specifies the UTC creation time of the policy.