Interface ServerSecurityAlertPolicy
public interface ServerSecurityAlertPolicy
An immutable client-side representation of ServerSecurityAlertPolicy.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
The entirety of the ServerSecurityAlertPolicy definition.static interface
The ServerSecurityAlertPolicy definition stages.static interface
The template for ServerSecurityAlertPolicy update.static interface
The ServerSecurityAlertPolicy update stages. -
Method Summary
Modifier and TypeMethodDescriptionGets the disabledAlerts property: Specifies an array of alerts that are disabled.Gets the emailAccountAdmins property: Specifies that the alert is sent to the account administrators.Gets the emailAddresses property: Specifies an array of e-mail addresses to which the alert is sent.id()
Gets the id property: Fully qualified resource Id for the resource.Gets the inner com.azure.resourcemanager.mariadb.fluent.models.ServerSecurityAlertPolicyInner object.name()
Gets the name property: The name of the resource.refresh()
Refreshes the resource to sync with Azure.refresh
(com.azure.core.util.Context context) Refreshes the resource to sync with Azure.Gets the name of the resource group.Gets the retentionDays property: Specifies the number of days to keep in the Threat Detection audit logs.state()
Gets the state property: Specifies the state of the policy, whether it is enabled or disabled.Gets the storageAccountAccessKey property: Specifies the identifier key of the Threat Detection audit storage account.Gets the storageEndpoint property: Specifies the blob storage endpoint (e.g.type()
Gets the type property: The type of the resource.update()
Begins update for the ServerSecurityAlertPolicy resource.
-
Method Details
-
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
ServerSecurityAlertPolicyState state()Gets the state property: Specifies the state of the policy, whether it is enabled or disabled.- Returns:
- the state value.
-
disabledAlerts
Gets the disabledAlerts property: Specifies an array of alerts that are disabled. Allowed values are: Sql_Injection, Sql_Injection_Vulnerability, Access_Anomaly.- Returns:
- the disabledAlerts value.
-
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.
-
resourceGroupName
String resourceGroupName()Gets the name of the resource group.- Returns:
- the name of the resource group.
-
innerModel
ServerSecurityAlertPolicyInner innerModel()Gets the inner com.azure.resourcemanager.mariadb.fluent.models.ServerSecurityAlertPolicyInner object.- Returns:
- the inner object.
-
update
ServerSecurityAlertPolicy.Update update()Begins update for the ServerSecurityAlertPolicy resource.- Returns:
- the stage of resource update.
-
refresh
ServerSecurityAlertPolicy refresh()Refreshes the resource to sync with Azure.- Returns:
- the refreshed resource.
-
refresh
Refreshes the resource to sync with Azure.- Parameters:
context
- The context to associate with this operation.- Returns:
- the refreshed resource.
-