Share via


ServerSecurityAlertPolicy Class

Definition

Workspace managed Sql server security alert policy.

[Microsoft.Rest.Serialization.JsonTransformation]
public class ServerSecurityAlertPolicy : Microsoft.Azure.Management.Synapse.Models.ProxyResource
[<Microsoft.Rest.Serialization.JsonTransformation>]
type ServerSecurityAlertPolicy = class
    inherit ProxyResource
Public Class ServerSecurityAlertPolicy
Inherits ProxyResource
Inheritance
ServerSecurityAlertPolicy
Attributes

Constructors

ServerSecurityAlertPolicy()

Initializes a new instance of the ServerSecurityAlertPolicy class.

ServerSecurityAlertPolicy(SecurityAlertPolicyState, String, String, String, IList<String>, IList<String>, Nullable<Boolean>, String, String, Nullable<Int32>, Nullable<DateTime>)

Initializes a new instance of the ServerSecurityAlertPolicy class.

Properties

CreationTime

Gets specifies the UTC creation time of the policy.

DisabledAlerts

Gets or sets specifies an array of alerts that are disabled. Allowed values are: Sql_Injection, Sql_Injection_Vulnerability, Access_Anomaly, Data_Exfiltration, Unsafe_Action

EmailAccountAdmins

Gets or sets specifies that the alert is sent to the account administrators.

EmailAddresses

Gets or sets specifies an array of e-mail addresses to which the alert is sent.

Id

Gets fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

(Inherited from Resource)
Name

Gets the name of the resource

(Inherited from Resource)
RetentionDays

Gets or sets specifies the number of days to keep in the Threat Detection audit logs.

State

Gets or sets specifies the state of the policy, whether it is enabled or disabled or a policy has not been applied yet on the specific server. Possible values include: 'New', 'Enabled', 'Disabled'

StorageAccountAccessKey

Gets or sets specifies the identifier key of the Threat Detection audit storage account.

StorageEndpoint

Gets or sets specifies the blob storage endpoint (e.g. https://MyAccount.blob.core.windows.net). This blob storage will hold all Threat Detection audit logs.

Type

Gets the type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

(Inherited from Resource)

Methods

Validate()

Validate the object.

Applies to