Microsoft.DBforPostgreSQL flexibleServers/advancedThreatProtectionSettings 2023-12-01-preview

Bicep リソース定義

flexibleServers/advancedThreatProtectionSettings リソースの種類は、次をターゲットとする操作と共にデプロイできます。

  • リソース グループの - リソース グループのデプロイ コマンド 参照

各 API バージョンで変更されたプロパティの一覧については、変更ログの参照してください。

リソースの形式

Microsoft.DBforPostgreSQL/flexibleServers/advancedThreatProtectionSettings リソースを作成するには、次の Bicep をテンプレートに追加します。

resource symbolicname 'Microsoft.DBforPostgreSQL/flexibleServers/advancedThreatProtectionSettings@2023-12-01-preview' = {
  name: 'Default'
  parent: resourceSymbolicName
  properties: {
    state: 'string'
  }
}

プロパティ値

flexibleServers/advancedThreatProtectionSettings

名前 形容 価値
名前 リソース名

Bicepで子リソースの名前と種類 設定する方法を参照してください。
'Default'
Bicep では、子リソースの親リソースを指定できます。 このプロパティを追加する必要があるのは、子リソースが親リソースの外部で宣言されている場合のみです。

詳細については、「親リソースの外部 子リソース」を参照してください。
種類のリソースのシンボリック名: flexibleServers
プロパティ Advanced Threat Protection プロパティ。 ServerThreatProtectionProperties

ServerThreatProtectionProperties

名前 形容 価値
状態 Threat Protection の状態を指定します。有効か無効か、または特定のサーバーに状態がまだ適用されていません。 'Disabled'
'Enabled' (必須)

ARM テンプレート リソース定義

flexibleServers/advancedThreatProtectionSettings リソースの種類は、次をターゲットとする操作と共にデプロイできます。

  • リソース グループの - リソース グループのデプロイ コマンド 参照

各 API バージョンで変更されたプロパティの一覧については、変更ログの参照してください。

リソースの形式

Microsoft.DBforPostgreSQL/flexibleServers/advancedThreatProtectionSettings リソースを作成するには、次の JSON をテンプレートに追加します。

{
  "type": "Microsoft.DBforPostgreSQL/flexibleServers/advancedThreatProtectionSettings",
  "apiVersion": "2023-12-01-preview",
  "name": "Default",
  "properties": {
    "state": "string"
  }
}

プロパティ値

flexibleServers/advancedThreatProtectionSettings

名前 形容 価値
種類 リソースの種類 'Microsoft.DBforPostgreSQL/flexibleServers/advancedThreatProtectionSettings'
apiVersion リソース API のバージョン '2023-12-01-preview'
名前 リソース名

JSON ARM テンプレートで子リソースの名前と型 設定する方法を参照してください。
'Default'
プロパティ Advanced Threat Protection プロパティ。 ServerThreatProtectionProperties

ServerThreatProtectionProperties

名前 形容 価値
状態 Threat Protection の状態を指定します。有効か無効か、または特定のサーバーに状態がまだ適用されていません。 'Disabled'
'Enabled' (必須)

Terraform (AzAPI プロバイダー) リソース定義

flexibleServers/advancedThreatProtectionSettings リソースの種類は、次をターゲットとする操作と共にデプロイできます。

  • リソース グループの

各 API バージョンで変更されたプロパティの一覧については、変更ログの参照してください。

リソースの形式

Microsoft.DBforPostgreSQL/flexibleServers/advancedThreatProtectionSettings リソースを作成するには、次の Terraform をテンプレートに追加します。

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.DBforPostgreSQL/flexibleServers/advancedThreatProtectionSettings@2023-12-01-preview"
  name = "Default"
  parent_id = "string"
  body = jsonencode({
    properties = {
      state = "string"
    }
  })
}

プロパティ値

flexibleServers/advancedThreatProtectionSettings

名前 形容 価値
種類 リソースの種類 "Microsoft.DBforPostgreSQL/flexibleServers/advancedThreatProtectionSettings@2023-12-01-preview"
名前 リソース名 "Default"
parent_id このリソースの親であるリソースの ID。 種類のリソースの ID: flexibleServers
プロパティ Advanced Threat Protection プロパティ。 ServerThreatProtectionProperties

ServerThreatProtectionProperties

名前 形容 価値
状態 Threat Protection の状態を指定します。有効か無効か、または特定のサーバーに状態がまだ適用されていません。 "無効"
"有効" (必須)