SqlPoolSecurityAlertPolicy Interface

public interface SqlPoolSecurityAlertPolicy

An immutable client-side representation of SqlPoolSecurityAlertPolicy.

Method Summary

Modifier and Type Method and Description
abstract OffsetDateTime creationTime()

Gets the creationTime property: Specifies the UTC creation time of the policy.

abstract List<String> disabledAlerts()

Gets the disabledAlerts property: Specifies an array of alerts that are disabled.

abstract Boolean emailAccountAdmins()

Gets the emailAccountAdmins property: Specifies that the alert is sent to the account administrators.

abstract List<String> emailAddresses()

Gets the emailAddresses property: Specifies an array of e-mail addresses to which the alert is sent.

abstract String id()

Gets the id property: Fully qualified resource Id for the resource.

abstract SqlPoolSecurityAlertPolicyInner innerModel()

Gets the inner com.azure.resourcemanager.synapse.fluent.models.SqlPoolSecurityAlertPolicyInner object.

abstract String name()

Gets the name property: The name of the resource.

abstract SqlPoolSecurityAlertPolicy refresh()

Refreshes the resource to sync with Azure.

abstract SqlPoolSecurityAlertPolicy refresh(Context context)

Refreshes the resource to sync with Azure.

abstract String resourceGroupName()

Gets the name of the resource group.

abstract Integer retentionDays()

Gets the retentionDays property: Specifies the number of days to keep in the Threat Detection audit logs.

abstract SecurityAlertPolicyState state()

Gets the state property: Specifies the state of the policy, whether it is enabled or disabled or a policy has not been applied yet on the specific Sql pool.

abstract String storageAccountAccessKey()

Gets the storageAccountAccessKey property: Specifies the identifier key of the Threat Detection audit storage account.

abstract String storageEndpoint()

Gets the storageEndpoint property: Specifies the blob storage endpoint (e.g.

abstract String type()

Gets the type property: The type of the resource.

abstract Update update()

Begins update for the SqlPoolSecurityAlertPolicy resource.

Method Details

creationTime

public abstract OffsetDateTime creationTime()

Gets the creationTime property: Specifies the UTC creation time of the policy.

Returns:

the creationTime value.

disabledAlerts

public abstract List<String> disabledAlerts()

Gets the disabledAlerts property: Specifies an array of alerts that are disabled. Allowed values are: Sql_Injection, Sql_Injection_Vulnerability, Access_Anomaly, Data_Exfiltration, Unsafe_Action.

Returns:

the disabledAlerts value.

emailAccountAdmins

public abstract Boolean emailAccountAdmins()

Gets the emailAccountAdmins property: Specifies that the alert is sent to the account administrators.

Returns:

the emailAccountAdmins value.

emailAddresses

public abstract List<String> emailAddresses()

Gets the emailAddresses property: Specifies an array of e-mail addresses to which the alert is sent.

Returns:

the emailAddresses value.

id

public abstract String id()

Gets the id property: Fully qualified resource Id for the resource.

Returns:

the id value.

innerModel

public abstract SqlPoolSecurityAlertPolicyInner innerModel()

Gets the inner com.azure.resourcemanager.synapse.fluent.models.SqlPoolSecurityAlertPolicyInner object.

Returns:

the inner object.

name

public abstract String name()

Gets the name property: The name of the resource.

Returns:

the name value.

refresh

public abstract SqlPoolSecurityAlertPolicy refresh()

Refreshes the resource to sync with Azure.

Returns:

the refreshed resource.

refresh

public abstract SqlPoolSecurityAlertPolicy refresh(Context context)

Refreshes the resource to sync with Azure.

Parameters:

context - The context to associate with this operation.

Returns:

the refreshed resource.

resourceGroupName

public abstract String resourceGroupName()

Gets the name of the resource group.

Returns:

the name of the resource group.

retentionDays

public abstract Integer retentionDays()

Gets the retentionDays property: Specifies the number of days to keep in the Threat Detection audit logs.

Returns:

the retentionDays value.

state

public abstract SecurityAlertPolicyState state()

Gets the state property: Specifies the state of the policy, whether it is enabled or disabled or a policy has not been applied yet on the specific Sql pool.

Returns:

the state value.

storageAccountAccessKey

public abstract String storageAccountAccessKey()

Gets the storageAccountAccessKey property: Specifies the identifier key of the Threat Detection audit storage account.

Returns:

the storageAccountAccessKey value.

storageEndpoint

public abstract String storageEndpoint()

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

Returns:

the storageEndpoint value.

type

public abstract String type()

Gets the type property: The type of the resource.

Returns:

the type value.

update

public abstract SqlPoolSecurityAlertPolicy.Update update()

Begins update for the SqlPoolSecurityAlertPolicy resource.

Returns:

the stage of resource update.

Applies to