From 5f375b387639b02b06dcb13f15d2a4e0025a24eb Mon Sep 17 00:00:00 2001 From: Hlosani Dube Date: Tue, 3 Oct 2023 10:00:43 +0200 Subject: [PATCH] Adding azurerm_monitor_data_collection_endpoint --- README.md | 1 + azurecaf/models_generated.go | 4 +++- resourceDefinition.json | 11 +++++++++++ 3 files changed, 15 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index c8b1921..cb50d1b 100644 --- a/README.md +++ b/README.md @@ -506,6 +506,7 @@ This is the current compreheensive status of the implemented resources in the pr |azurerm_monitor_action_rule_suppression | ❌ | |azurerm_monitor_activity_log_alert | ❌ | |azurerm_monitor_autoscale_setting | ✔ | +|azurerm_monitor_data_collection_endpoint | ✔ | |azurerm_monitor_diagnostic_categories | ❌ | |azurerm_monitor_diagnostic_setting | ✔ | |azurerm_monitor_log_profile | ❌ | diff --git a/azurecaf/models_generated.go b/azurecaf/models_generated.go index 394a0e1..fa36acd 100644 --- a/azurecaf/models_generated.go +++ b/azurecaf/models_generated.go @@ -1,6 +1,6 @@ // Code generated by go generate; DO NOT EDIT. // This file was generated by robots at -// 2023-06-09 13:17:32.192620018 +0000 UTC m=+0.003686558 +// 2023-10-03 09:58:15.184563 +0200 SAST m=+0.005338001 // using data from // resourceDefinition.json and resourceDefinition_out_of_docs.json @@ -221,6 +221,7 @@ var ResourceDefinitions = map[string]ResourceStructure{ "azurerm_monitor_action_group": {"azurerm_monitor_action_group", "amag", 1, 260, false, `[^~!@$^*()\[\]\{\}_\-="';,0-9A-Za-z _.-]`, "^[^|:<>+#%&\\?/]{0,259}[^|:<>+#%&\\?/. ]$", true, "resourceGroup"}, "azurerm_monitor_activity_log_alert": {"azurerm_monitor_activity_log_alert", "adfmysql", 1, 260, false, "[^0-9A-Za-z<>*%:&?#\\+\\/]", "^[^<>*%:&?#\\+\\/]{0,259}[^<>*%:&.?#\\+\\/]$", true, "parent"}, "azurerm_monitor_autoscale_setting": {"azurerm_monitor_autoscale_setting", "amas", 2, 64, false, "[^0-9A-Za-z _.-]", "^[a-zA-Z0-9][a-zA-Z0-9-]{0,62}[a-zA-Z0-9]$", true, "resourceGroup"}, + "azurerm_monitor_data_collection_endpoint": {"azurerm_monitor_data_collection_endpoint", "dce", 3, 44, false, "[^0-9A-Za-z_.-]", "^[a-zA-Z0-9][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$", true, "resourceGroup"}, "azurerm_monitor_diagnostic_setting": {"azurerm_monitor_diagnostic_setting", "amds", 1, 260, false, "[^0-9A-Za-z _.-]", "^[a-zA-Z0-9 ][a-zA-Z0-9-._ ]{0,258}[a-zA-Z0-9_]$", true, "parent"}, "azurerm_monitor_metric_alert": {"azurerm_monitor_metric_alert", "ma", 1, 251, false, "[<>*%&:\\?+/#@{}]", "^[^<>*%&:\\?+/#@{}]{0,250}[^<>*%&:\\?+/#@{}. ]$", true, "resourceGroup"}, "azurerm_monitor_private_link_scope": {"azurerm_monitor_private_link_scope", "ampls", 1, 255, false, "[^0-9A-Za-z-._()]", "^[0-9A-Za-z-._()]{0,254}[0-9A-Za-z-_()]$", true, "resourceGroup"}, @@ -511,6 +512,7 @@ var ResourceMaps = map[string]string{ "dbhcc": "databricks_high_concurrency_cluster", "dbsc": "databricks_standard_cluster", "dbw": "azurerm_databricks_workspace", + "dce": "azurerm_monitor_data_collection_endpoint", "ddospp": "azurerm_network_ddos_protection_plan", "deploy": "azurerm_template_deployment", "des": "azurerm_disk_encryption_set", diff --git a/resourceDefinition.json b/resourceDefinition.json index e475c71..fa13b24 100644 --- a/resourceDefinition.json +++ b/resourceDefinition.json @@ -3171,6 +3171,17 @@ "lowercase": false, "regex": "\"[^0-9A-Za-z _.-]\"" }, + { + "name": "azurerm_monitor_data_collection_endpoint", + "min_length": 3, + "max_length": 44, + "validation_regex": "\"^[a-zA-Z0-9][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$\"", + "scope": "resourceGroup", + "slug": "dce", + "dashes": true, + "lowercase": false, + "regex": "\"[^0-9A-Za-z_.-]\"" + }, { "name": "azurerm_monitor_diagnostic_setting", "min_length": 1,