ServerSecurityAlertPolicy Interface
public interface ServerSecurityAlertPolicy
An immutable client-side representation of ServerSecurityAlertPolicy.
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract List<String> |
disabledAlerts()
Gets the disabled |
abstract Boolean |
emailAccountAdmins()
Gets the email |
abstract List<String> |
emailAddresses()
Gets the email |
abstract String |
id()
Gets the id property: Fully qualified resource Id for the resource. |
abstract
Server |
innerModel()
Gets the inner com. |
abstract String |
name()
Gets the name property: The name of the resource. |
abstract
Server |
refresh()
Refreshes the resource to sync with Azure. |
abstract
Server |
refresh(Context context)
Refreshes the resource to sync with Azure. |
abstract Integer |
retentionDays()
Gets the retention |
abstract
Server |
state()
Gets the state property: Specifies the state of the policy, whether it is enabled or disabled. |
abstract String |
storageAccountAccessKey()
Gets the storage |
abstract String |
storageEndpoint()
Gets the storage |
abstract String |
type()
Gets the type property: The type of the resource. |
abstract Update |
update()
Begins update for the Server |
Method Details
disabledAlerts
public abstract List
Gets the disabledAlerts property: Specifies an array of alerts that are disabled. Allowed values are: Sql_Injection, Sql_Injection_Vulnerability, Access_Anomaly.
Returns:
emailAccountAdmins
public abstract Boolean emailAccountAdmins()
Gets the emailAccountAdmins property: Specifies that the alert is sent to the account administrators.
Returns:
emailAddresses
public abstract List
Gets the emailAddresses property: Specifies an array of e-mail addresses to which the alert is sent.
Returns:
id
public abstract String id()
Gets the id property: Fully qualified resource Id for the resource.
Returns:
innerModel
public abstract ServerSecurityAlertPolicyInner innerModel()
Gets the inner com.azure.resourcemanager.postgresql.fluent.models.ServerSecurityAlertPolicyInner object.
Returns:
name
public abstract String name()
Gets the name property: The name of the resource.
Returns:
refresh
public abstract ServerSecurityAlertPolicy refresh()
Refreshes the resource to sync with Azure.
Returns:
refresh
public abstract ServerSecurityAlertPolicy refresh(Context context)
Refreshes the resource to sync with Azure.
Parameters:
Returns:
retentionDays
public abstract Integer retentionDays()
Gets the retentionDays property: Specifies the number of days to keep in the Threat Detection audit logs.
Returns:
state
public abstract ServerSecurityAlertPolicyState state()
Gets the state property: Specifies the state of the policy, whether it is enabled or disabled.
Returns:
storageAccountAccessKey
public abstract String storageAccountAccessKey()
Gets the storageAccountAccessKey property: Specifies the identifier key of the Threat Detection audit storage account.
Returns:
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:
type
public abstract String type()
Gets the type property: The type of the resource.
Returns:
update
public abstract ServerSecurityAlertPolicy.Update update()
Begins update for the ServerSecurityAlertPolicy resource.
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for