Microsoft.DBforPostgreSQL 서버/securityAlertPolicies 2017-12-01

Bicep 리소스 정의

서버/securityAlertPolicies 리소스 종류는 다음을 대상으로 하는 작업으로 배포할 수 있습니다.

각 API 버전에서 변경된 속성 목록은 변경 로그를 참조하세요.

리소스 형식

Microsoft.DBforPostgreSQL/servers/securityAlertPolicies 리소스를 만들려면 템플릿에 다음 Bicep을 추가합니다.

resource symbolicname 'Microsoft.DBforPostgreSQL/servers/securityAlertPolicies@2017-12-01' = {
  name: 'Default'
  parent: resourceSymbolicName
  properties: {
    disabledAlerts: [
      'string'
    ]
    emailAccountAdmins: bool
    emailAddresses: [
      'string'
    ]
    retentionDays: int
    state: 'string'
    storageAccountAccessKey: 'string'
    storageEndpoint: 'string'
  }
}

속성 값

servers/securityAlertPolicies

속성 Description
name 리소스 이름

Bicep에서 자식 리소스의 이름과 형식을 설정하는 방법을 참조하세요.
'기본값'
부모(parent) Bicep에서 자식 리소스에 대한 부모 리소스를 지정할 수 있습니다. 자식 리소스가 부모 리소스 외부에서 선언된 경우에만 이 속성을 추가하면 됩니다.

자세한 내용은 부모 리소스 외부의 자식 리소스를 참조하세요.
형식의 리소스에 대한 기호 이름: 서버
properties 리소스 속성입니다. SecurityAlertPolicyProperties

SecurityAlertPolicyProperties

속성 Description
disabledAlerts 사용하지 않도록 설정된 경고의 배열을 지정합니다. 허용되는 값은 Sql_Injection, Sql_Injection_Vulnerability, Access_Anomaly string[]
emailAccountAdmins 경고가 계정 관리자에게 전송되도록 지정합니다. bool
emailAddresses 경고가 전송되는 전자 메일 주소 배열을 지정합니다. string[]
retentionDays 위협 탐지 감사 로그에 유지할 일 수를 지정합니다. int
state 정책의 사용 여부에 관계없이 정책의 상태를 지정합니다. '사용 안 함'
'Enabled'(필수)
storageAccountAccessKey 위협 탐지 감사 스토리지 계정의 식별자 키를 지정합니다. 문자열
storageEndpoint Blob Storage 엔드포인트(예: https://MyAccount.blob.core.windows.net)를 지정합니다. 이 Blob Storage는 모든 위협 탐지 감사 로그를 보유합니다. 문자열

ARM 템플릿 리소스 정의

서버/securityAlertPolicies 리소스 종류는 다음을 대상으로 하는 작업으로 배포할 수 있습니다.

각 API 버전에서 변경된 속성 목록은 변경 로그를 참조하세요.

리소스 형식

Microsoft.DBforPostgreSQL/servers/securityAlertPolicies 리소스를 만들려면 템플릿에 다음 JSON을 추가합니다.

{
  "type": "Microsoft.DBforPostgreSQL/servers/securityAlertPolicies",
  "apiVersion": "2017-12-01",
  "name": "Default",
  "properties": {
    "disabledAlerts": [ "string" ],
    "emailAccountAdmins": "bool",
    "emailAddresses": [ "string" ],
    "retentionDays": "int",
    "state": "string",
    "storageAccountAccessKey": "string",
    "storageEndpoint": "string"
  }
}

속성 값

servers/securityAlertPolicies

속성 Description
형식 리소스 종류 'Microsoft.DBforPostgreSQL/servers/securityAlertPolicies'
apiVersion 리소스 api 버전 '2017-12-01'
name 리소스 이름

JSON ARM 템플릿에서 자식 리소스의 이름 및 형식을 설정하는 방법을 참조하세요.
'기본값'
properties 리소스 속성입니다. SecurityAlertPolicyProperties

SecurityAlertPolicyProperties

속성 Description
disabledAlerts 사용하지 않도록 설정된 경고의 배열을 지정합니다. 허용되는 값은 Sql_Injection, Sql_Injection_Vulnerability, Access_Anomaly string[]
emailAccountAdmins 경고가 계정 관리자에게 전송되도록 지정합니다. bool
emailAddresses 경고가 전송되는 전자 메일 주소 배열을 지정합니다. string[]
retentionDays 위협 탐지 감사 로그에 유지할 일 수를 지정합니다. int
state 정책의 사용 여부와 관계없이 정책의 상태를 지정합니다. 'Disabled'
'Enabled'(필수)
storageAccountAccessKey 위협 탐지 감사 스토리지 계정의 식별자 키를 지정합니다. 문자열
storageEndpoint Blob Storage 엔드포인트를 지정합니다(예: https://MyAccount.blob.core.windows.net). 이 Blob Storage는 모든 위협 탐지 감사 로그를 보유합니다. 문자열

Terraform(AzAPI 공급자) 리소스 정의

서버/securityAlertPolicies 리소스 종류는 다음을 대상으로 하는 작업으로 배포할 수 있습니다.

  • 리소스 그룹

각 API 버전에서 변경된 속성 목록은 변경 로그를 참조하세요.

리소스 형식

Microsoft.DBforPostgreSQL/servers/securityAlertPolicies 리소스를 만들려면 템플릿에 다음 Terraform을 추가합니다.

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.DBforPostgreSQL/servers/securityAlertPolicies@2017-12-01"
  name = "Default"
  parent_id = "string"
  body = jsonencode({
    properties = {
      disabledAlerts = [
        "string"
      ]
      emailAccountAdmins = bool
      emailAddresses = [
        "string"
      ]
      retentionDays = int
      state = "string"
      storageAccountAccessKey = "string"
      storageEndpoint = "string"
    }
  })
}

속성 값

servers/securityAlertPolicies

속성 Description
형식 리소스 종류 "Microsoft.DBforPostgreSQL/servers/securityAlertPolicies@2017-12-01"
name 리소스 이름 "기본값"
parent_id 이 리소스의 부모인 리소스의 ID입니다. 유형의 리소스에 대한 ID: 서버
properties 리소스 속성. SecurityAlertPolicyProperties

SecurityAlertPolicyProperties

속성 Description
disabledAlerts 사용하지 않도록 설정된 경고의 배열을 지정합니다. 허용되는 값은 Sql_Injection, Sql_Injection_Vulnerability, Access_Anomaly string[]
emailAccountAdmins 경고가 계정 관리자에게 전송되도록 지정합니다. bool
emailAddresses 경고가 전송되는 전자 메일 주소의 배열을 지정합니다. string[]
retentionDays 위협 탐지 감사 로그에 유지할 일 수를 지정합니다. int
state 정책의 사용 여부와 관계없이 정책의 상태를 지정합니다. "사용 안 함"
"Enabled"(필수)
storageAccountAccessKey 위협 탐지 감사 스토리지 계정의 식별자 키를 지정합니다. 문자열
storageEndpoint Blob Storage 엔드포인트를 지정합니다(예: https://MyAccount.blob.core.windows.net). 이 Blob Storage는 모든 위협 탐지 감사 로그를 보유합니다. string