ServerSecurityAlertPolicy Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
ServerSecurityAlertPolicy() |
Initializes a new instance of the ServerSecurityAlertPolicy class. |
ServerSecurityAlertPolicy(ServerSecurityAlertPolicyState, String, String, String, IList<String>, IList<String>, Nullable<Boolean>, String, String, Nullable<Int32>) |
Initializes a new instance of the ServerSecurityAlertPolicy class. |
ServerSecurityAlertPolicy()
Initializes a new instance of the ServerSecurityAlertPolicy class.
public ServerSecurityAlertPolicy ();
Public Sub New ()
Applies to
ServerSecurityAlertPolicy(ServerSecurityAlertPolicyState, String, String, String, IList<String>, IList<String>, Nullable<Boolean>, String, String, Nullable<Int32>)
Initializes a new instance of the ServerSecurityAlertPolicy class.
public ServerSecurityAlertPolicy (Microsoft.Azure.Management.PostgreSQL.Models.ServerSecurityAlertPolicyState state, string id = default, string name = default, string type = default, System.Collections.Generic.IList<string> disabledAlerts = default, System.Collections.Generic.IList<string> emailAddresses = default, bool? emailAccountAdmins = default, string storageEndpoint = default, string storageAccountAccessKey = default, int? retentionDays = default);
new Microsoft.Azure.Management.PostgreSQL.Models.ServerSecurityAlertPolicy : Microsoft.Azure.Management.PostgreSQL.Models.ServerSecurityAlertPolicyState * string * string * string * System.Collections.Generic.IList<string> * System.Collections.Generic.IList<string> * Nullable<bool> * string * string * Nullable<int> -> Microsoft.Azure.Management.PostgreSQL.Models.ServerSecurityAlertPolicy
Public Sub New (state As ServerSecurityAlertPolicyState, Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional disabledAlerts As IList(Of String) = Nothing, Optional emailAddresses As IList(Of String) = Nothing, Optional emailAccountAdmins As Nullable(Of Boolean) = Nothing, Optional storageEndpoint As String = Nothing, Optional storageAccountAccessKey As String = Nothing, Optional retentionDays As Nullable(Of Integer) = Nothing)
Parameters
Specifies the state of the policy, whether it is enabled or disabled. Possible values include: 'Enabled', 'Disabled'
- id
- String
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- name
- String
The name of the resource
- type
- String
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
Specifies an array of alerts that are disabled. Allowed values are: Sql_Injection, Sql_Injection_Vulnerability, Access_Anomaly
Specifies that the alert is sent to the account administrators.
- storageEndpoint
- String
Specifies the blob storage endpoint (e.g. https://MyAccount.blob.core.windows.net). This blob storage will hold all Threat Detection audit logs.
- storageAccountAccessKey
- String
Specifies the identifier key of the Threat Detection audit storage account.
Specifies the number of days to keep in the Threat Detection audit logs.