Udostępnij za pośrednictwem


IWithCreate Interface

Definition

The final stage of the SQL database threat detection policy definition.

public interface IWithCreate : Microsoft.Azure.Management.ResourceManager.Fluent.Core.ResourceActions.ICreatable<Microsoft.Azure.Management.Sql.Fluent.ISqlDatabaseThreatDetectionPolicy>, Microsoft.Azure.Management.Sql.Fluent.SqlDatabaseThreatDetectionPolicy.Definition.IWithAlertsFilter, Microsoft.Azure.Management.Sql.Fluent.SqlDatabaseThreatDetectionPolicy.Definition.IWithEmailAddresses, Microsoft.Azure.Management.Sql.Fluent.SqlDatabaseThreatDetectionPolicy.Definition.IWithEmailToAccountAdmins, Microsoft.Azure.Management.Sql.Fluent.SqlDatabaseThreatDetectionPolicy.Definition.IWithRetentionDays, Microsoft.Azure.Management.Sql.Fluent.SqlDatabaseThreatDetectionPolicy.Definition.IWithStorageAccountAccessKey, Microsoft.Azure.Management.Sql.Fluent.SqlDatabaseThreatDetectionPolicy.Definition.IWithStorageEndpoint
type IWithCreate = interface
    interface IWithStorageEndpoint
    interface IWithStorageAccountAccessKey
    interface IWithAlertsFilter
    interface IWithEmailAddresses
    interface IWithRetentionDays
    interface IWithEmailToAccountAdmins
    interface ICreatable<ISqlDatabaseThreatDetectionPolicy>
    interface IIndexable
Public Interface IWithCreate
Implements ICreatable(Of ISqlDatabaseThreatDetectionPolicy), IWithAlertsFilter, IWithEmailAddresses, IWithEmailToAccountAdmins, IWithRetentionDays, IWithStorageAccountAccessKey, IWithStorageEndpoint
Derived
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)
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)
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