次の方法で共有


ServerSecurityAlertPolicy コンストラクター

定義

オーバーロード

ServerSecurityAlertPolicy()

ServerSecurityAlertPolicy クラスの新しいインスタンスを初期化します。

ServerSecurityAlertPolicy(ServerSecurityAlertPolicyState, String, String, String, IList<String>, IList<String>, Nullable<Boolean>, String, String, Nullable<Int32>)

ServerSecurityAlertPolicy クラスの新しいインスタンスを初期化します。

ServerSecurityAlertPolicy()

ServerSecurityAlertPolicy クラスの新しいインスタンスを初期化します。

public ServerSecurityAlertPolicy ();
Public Sub New ()

適用対象

ServerSecurityAlertPolicy(ServerSecurityAlertPolicyState, String, String, String, IList<String>, IList<String>, Nullable<Boolean>, String, String, Nullable<Int32>)

ServerSecurityAlertPolicy クラスの新しいインスタンスを初期化します。

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)

パラメーター

state
ServerSecurityAlertPolicyState

ポリシーの状態を指定します。有効か無効かを指定します。 使用可能な値は次のとおりです: 'Enabled'、'Disabled'

id
String

リソースの完全修飾リソース ID。 例 - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

name
String

リソースの名前

type
String

リソースの型。 例: "Microsoft.Compute/virtualMachines" または "Microsoft.Storage/storageAccounts"

disabledAlerts
IList<String>

無効になっているアラートの配列を指定します。 使用できる値: Sql_Injection、Sql_Injection_Vulnerability、Access_Anomaly

emailAddresses
IList<String>

アラートの送信先となる電子メール アドレスの配列を指定します。

emailAccountAdmins
Nullable<Boolean>

アラートがアカウント管理者に送信されることを指定します。

storageEndpoint
String

BLOB ストレージ エンドポイント (例: ) を指定します。 https://MyAccount.blob.core.windows.net この BLOB ストレージには、すべての脅威検出監査ログが保持されます。

storageAccountAccessKey
String

脅威検出監査ストレージ アカウントの識別子キーを指定します。

retentionDays
Nullable<Int32>

脅威検出監査ログに保持する日数を指定します。

適用対象