Interface SqlPoolSecurityAlertPolicy
-
public interface SqlPoolSecurityAlertPolicy
An immutable client-side representation of SqlPoolSecurityAlertPolicy.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
SqlPoolSecurityAlertPolicy.Definition
The entirety of the SqlPoolSecurityAlertPolicy definition.static interface
SqlPoolSecurityAlertPolicy.DefinitionStages
The SqlPoolSecurityAlertPolicy definition stages.static interface
SqlPoolSecurityAlertPolicy.Update
The template for SqlPoolSecurityAlertPolicy update.static interface
SqlPoolSecurityAlertPolicy.UpdateStages
The SqlPoolSecurityAlertPolicy update stages.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description OffsetDateTime
creationTime()
Gets the creationTime property: Specifies the UTC creation time of the policy.List<String>
disabledAlerts()
Gets the disabledAlerts property: Specifies an array of alerts that are disabled.Boolean
emailAccountAdmins()
Gets the emailAccountAdmins property: Specifies that the alert is sent to the account administrators.List<String>
emailAddresses()
Gets the emailAddresses property: Specifies an array of e-mail addresses to which the alert is sent.String
id()
Gets the id property: Fully qualified resource Id for the resource.SqlPoolSecurityAlertPolicyInner
innerModel()
Gets the inner com.azure.resourcemanager.synapse.fluent.models.SqlPoolSecurityAlertPolicyInner object.String
name()
Gets the name property: The name of the resource.SqlPoolSecurityAlertPolicy
refresh()
Refreshes the resource to sync with Azure.SqlPoolSecurityAlertPolicy
refresh(com.azure.core.util.Context context)
Refreshes the resource to sync with Azure.Integer
retentionDays()
Gets the retentionDays property: Specifies the number of days to keep in the Threat Detection audit logs.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.String
storageAccountAccessKey()
Gets the storageAccountAccessKey property: Specifies the identifier key of the Threat Detection audit storage account.String
storageEndpoint()
Gets the storageEndpoint property: Specifies the blob storage endpoint (e.g.String
type()
Gets the type property: The type of the resource.SqlPoolSecurityAlertPolicy.Update
update()
Begins update for the SqlPoolSecurityAlertPolicy resource.
-
-
-
Method Detail
-
id
String id()
Gets the id property: Fully qualified resource Id for the resource.- Returns:
- the id value.
-
name
String name()
Gets the name property: The name of the resource.- Returns:
- the name value.
-
type
String type()
Gets the type property: The type of the resource.- Returns:
- the type value.
-
state
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.
-
disabledAlerts
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.
-
emailAddresses
List<String> emailAddresses()
Gets the emailAddresses property: Specifies an array of e-mail addresses to which the alert is sent.- Returns:
- the emailAddresses value.
-
emailAccountAdmins
Boolean emailAccountAdmins()
Gets the emailAccountAdmins property: Specifies that the alert is sent to the account administrators.- Returns:
- the emailAccountAdmins value.
-
storageEndpoint
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.
-
storageAccountAccessKey
String storageAccountAccessKey()
Gets the storageAccountAccessKey property: Specifies the identifier key of the Threat Detection audit storage account.- Returns:
- the storageAccountAccessKey value.
-
retentionDays
Integer retentionDays()
Gets the retentionDays property: Specifies the number of days to keep in the Threat Detection audit logs.- Returns:
- the retentionDays value.
-
creationTime
OffsetDateTime creationTime()
Gets the creationTime property: Specifies the UTC creation time of the policy.- Returns:
- the creationTime value.
-
innerModel
SqlPoolSecurityAlertPolicyInner innerModel()
Gets the inner com.azure.resourcemanager.synapse.fluent.models.SqlPoolSecurityAlertPolicyInner object.- Returns:
- the inner object.
-
update
SqlPoolSecurityAlertPolicy.Update update()
Begins update for the SqlPoolSecurityAlertPolicy resource.- Returns:
- the stage of resource update.
-
refresh
SqlPoolSecurityAlertPolicy refresh()
Refreshes the resource to sync with Azure.- Returns:
- the refreshed resource.
-
refresh
SqlPoolSecurityAlertPolicy refresh(com.azure.core.util.Context context)
Refreshes the resource to sync with Azure.- Parameters:
context
- The context to associate with this operation.- Returns:
- the refreshed resource.
-
-