Share via


IUpdate Interface

Definition

The template for a SQL database threat detection policy update operation, containing all the settings that can be modified.

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

Properties

Key (Inherited from IIndexable)

Methods

Apply()

Execute the update request.

(Inherited from IAppliable<T>)
ApplyAsync(CancellationToken, Boolean)

Execute the update request asynchronously.

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

Updates the security alert policy alerts to be disabled.

(Inherited from IWithAlertsFilter)
WithDefaultSecurityAlertPolicy()

Updates the security alert policy state to "New".

(Inherited from IWithSecurityAlertPolicyState)
WithEmailAddresses(String)

Updates 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()

Update the security alert policy state to "Disabled".

(Inherited from IWithSecurityAlertPolicyState)
WithPolicyEnabled()

Updates the security alert policy state to "Enabled".

(Inherited from IWithSecurityAlertPolicyState)
WithPolicyNew()

Updates the security alert policy state to "New".

(Inherited from IWithSecurityAlertPolicyState)
WithRetentionDays(Int32)

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

(Inherited from IWithRetentionDays)
WithStorageAccountAccessKey(String)

Updates the security alert policy storage access key.

(Inherited from IWithStorageAccountAccessKey)
WithStorageEndpoint(String)

Updates the security alert policy storage endpoint.

(Inherited from IWithStorageEndpoint)

Applies to