Share via


ISqlDatabaseThreatDetectionPolicyDefinition Interface

Definition

Container interface for all the definitions that need to be implemented.

public interface ISqlDatabaseThreatDetectionPolicyDefinition : Microsoft.Azure.Management.ResourceManager.Fluent.Core.ResourceActions.ICreatable<Microsoft.Azure.Management.Sql.Fluent.ISqlDatabaseThreatDetectionPolicy>, Microsoft.Azure.Management.Sql.Fluent.SqlDatabaseThreatDetectionPolicy.Definition.IBlank, Microsoft.Azure.Management.Sql.Fluent.SqlDatabaseThreatDetectionPolicy.Definition.IWithCreate
type ISqlDatabaseThreatDetectionPolicyDefinition = interface
    interface IBlank
    interface IWithSecurityAlertPolicyState
    interface IWithStorageEndpoint
    interface IWithStorageAccountAccessKey
    interface IWithAlertsFilter
    interface IWithEmailAddresses
    interface IWithRetentionDays
    interface IWithEmailToAccountAdmins
    interface IWithCreate
    interface ICreatable<ISqlDatabaseThreatDetectionPolicy>
    interface IIndexable
Public Interface ISqlDatabaseThreatDetectionPolicyDefinition
Implements IBlank, ICreatable(Of ISqlDatabaseThreatDetectionPolicy), IWithCreate
Implements

Properties

Key (Inherited from IIndexable)
Name

Gets the name of the creatable resource.

(Inherited from ICreatable<T>)

Methods

Create()

Execute the create request.

(Inherited from ICreatable<T>)
CreateAsync(CancellationToken, Boolean)

Puts the request into the queue and allow the HTTP client to execute it when system resources are available.

(Inherited from ICreatable<T>)
WithAlertsFilter(String)

Sets the security alert policy alerts to be disabled.

(Inherited from IWithAlertsFilter)
WithDefaultSecurityAlertPolicy()

Sets the security alert policy state to "New".

(Inherited from IWithSecurityAlertPolicyState)
WithEmailAddresses(String)

Sets the security alert policy email addresses.

(Inherited from IWithEmailAddresses)
WithEmailToAccountAdmins()

Enables the alert to be sent to the account administrators.

(Inherited from IWithEmailToAccountAdmins)
WithoutEmailToAccountAdmins()

Disables the alert will be sent to the account administrators.

(Inherited from IWithEmailToAccountAdmins)
WithPolicyDisabled()

Sets the security alert policy state to "Disabled".

(Inherited from IWithSecurityAlertPolicyState)
WithPolicyEnabled()

Sets the security alert policy state to "Enabled".

(Inherited from IWithSecurityAlertPolicyState)
WithPolicyNew()

Sets the security alert policy state to "New".

(Inherited from IWithSecurityAlertPolicyState)
WithRetentionDays(Int32)

Sets the security alert policy email addresses. Specifies the number of days to keep in the Threat Detection audit logs.

(Inherited from IWithRetentionDays)
WithStorageAccountAccessKey(String)

Sets the security alert policy storage access key.

(Inherited from IWithStorageAccountAccessKey)
WithStorageEndpoint(String)

Sets the security alert policy storage endpoint.

(Inherited from IWithStorageEndpoint)

Applies to