Udostępnij za pośrednictwem


ServerSecurityAlertPolicy Class

Definition

A server security alert policy.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.Api20171201.ServerSecurityAlertPolicyTypeConverter))]
public class ServerSecurityAlertPolicy : Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.Api20171201.IServerSecurityAlertPolicy, Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.Api20171201.ServerSecurityAlertPolicyTypeConverter))>]
type ServerSecurityAlertPolicy = class
    interface IServerSecurityAlertPolicy
    interface IJsonSerializable
    interface IResource
    interface IValidates
Public Class ServerSecurityAlertPolicy
Implements IServerSecurityAlertPolicy, IValidates
Inheritance
ServerSecurityAlertPolicy
Attributes
Implements

Constructors

ServerSecurityAlertPolicy()

Creates an new ServerSecurityAlertPolicy instance.

Properties

DisabledAlert

Specifies an array of alerts that are disabled. Allowed values are: Sql_Injection, Sql_Injection_Vulnerability, Access_Anomaly

EmailAccountAdmin

Specifies that the alert is sent to the account administrators.

EmailAddress

Specifies an array of e-mail addresses to which the alert is sent.

Id

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

Name

The name of the resource

RetentionDay

Specifies the number of days to keep in the Threat Detection audit logs.

State

Specifies the state of the policy, whether it is enabled or disabled.

StorageAccountAccessKey

Specifies the identifier key of the Threat Detection audit storage account.

StorageEndpoint

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

Type

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of ServerSecurityAlertPolicy.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of ServerSecurityAlertPolicy.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.Api20171201.IServerSecurityAlertPolicy.

FromJsonString(String)

Creates a new instance of ServerSecurityAlertPolicy, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of ServerSecurityAlertPolicy into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to