diff --git a/docs/README.md b/docs/README.md index 385ed453..ea0f63cb 100644 --- a/docs/README.md +++ b/docs/README.md @@ -16,7 +16,7 @@ This documentation describes a list of rules available by enabling this ruleset. ## API Specification Rules -These are the rules that warn against invalid values generated from [azure-rest-api-specs](https://github.com/Azure/azure-rest-api-specs). Currently, 216 rules are available. +These are the rules that warn against invalid values generated from [azure-rest-api-specs](https://github.com/Azure/azure-rest-api-specs). Currently, 217 rules are available. |Rule|Enabled by default| | --- | --- | @@ -97,8 +97,6 @@ These are the rules that warn against invalid values generated from [azure-rest- |[azurerm_data_factory_trigger_schedule_invalid_frequency](rules/azurerm_data_factory_trigger_schedule_invalid_frequency.md)|✔| |[azurerm_database_migration_project_invalid_source_platform](rules/azurerm_database_migration_project_invalid_source_platform.md)|✔| |[azurerm_database_migration_project_invalid_target_platform](rules/azurerm_database_migration_project_invalid_target_platform.md)|✔| -|[azurerm_databricks_workspace_invalid_managed_resource_group_name](rules/azurerm_databricks_workspace_invalid_managed_resource_group_name.md)|✔| -|[azurerm_databricks_workspace_invalid_resource_group_name](rules/azurerm_databricks_workspace_invalid_resource_group_name.md)|✔| |[azurerm_dedicated_host_group_invalid_platform_fault_domain_count](rules/azurerm_dedicated_host_group_invalid_platform_fault_domain_count.md)|✔| |[azurerm_dedicated_host_invalid_license_type](rules/azurerm_dedicated_host_invalid_license_type.md)|✔| |[azurerm_dedicated_host_invalid_platform_fault_domain](rules/azurerm_dedicated_host_invalid_platform_fault_domain.md)|✔| @@ -163,6 +161,7 @@ These are the rules that warn against invalid values generated from [azure-rest- |[azurerm_linux_virtual_machine_scale_set_invalid_eviction_policy](rules/azurerm_linux_virtual_machine_scale_set_invalid_eviction_policy.md)|✔| |[azurerm_linux_virtual_machine_scale_set_invalid_priority](rules/azurerm_linux_virtual_machine_scale_set_invalid_priority.md)|✔| |[azurerm_logic_app_trigger_recurrence_invalid_frequency](rules/azurerm_logic_app_trigger_recurrence_invalid_frequency.md)|✔| +|[azurerm_machine_learning_workspace_invalid_name](rules/azurerm_machine_learning_workspace_invalid_name.md)|✔| |[azurerm_maintenance_configuration_invalid_scope](rules/azurerm_maintenance_configuration_invalid_scope.md)|✔| |[azurerm_managed_application_definition_invalid_lock_level](rules/azurerm_managed_application_definition_invalid_lock_level.md)|✔| |[azurerm_managed_disk_invalid_os_type](rules/azurerm_managed_disk_invalid_os_type.md)|✔| @@ -212,8 +211,10 @@ These are the rules that warn against invalid values generated from [azure-rest- |[azurerm_servicebus_subscription_rule_invalid_filter_type](rules/azurerm_servicebus_subscription_rule_invalid_filter_type.md)|✔| |[azurerm_servicebus_topic_invalid_status](rules/azurerm_servicebus_topic_invalid_status.md)|✔| |[azurerm_shared_image_invalid_os_type](rules/azurerm_shared_image_invalid_os_type.md)|✔| +|[azurerm_signalr_service_invalid_name](rules/azurerm_signalr_service_invalid_name.md)|✔| |[azurerm_storage_account_invalid_access_tier](rules/azurerm_storage_account_invalid_access_tier.md)|✔| |[azurerm_storage_account_invalid_account_kind](rules/azurerm_storage_account_invalid_account_kind.md)|✔| +|[azurerm_storage_account_invalid_name](rules/azurerm_storage_account_invalid_name.md)|✔| |[azurerm_storage_account_invalid_resource_group_name](rules/azurerm_storage_account_invalid_resource_group_name.md)|✔| |[azurerm_storage_account_network_rules_invalid_default_action](rules/azurerm_storage_account_network_rules_invalid_default_action.md)|✔| |[azurerm_stream_analytics_job_invalid_compatibility_level](rules/azurerm_stream_analytics_job_invalid_compatibility_level.md)|✔| diff --git a/docs/rules/azurerm_batch_account_invalid_name.md b/docs/rules/azurerm_batch_account_invalid_name.md index 46d2df05..cc2e9794 100644 --- a/docs/rules/azurerm_batch_account_invalid_name.md +++ b/docs/rules/azurerm_batch_account_invalid_name.md @@ -39,4 +39,4 @@ Replace the warned value with a valid value. This rule is automatically generated from [azure-rest-api-specs](https://github.com/Azure/azure-rest-api-specs). If you are uncertain about the warning, check the following API schema referenced by this rule. -https://github.com/Azure/azure-rest-api-specs/tree/master/specification/batch/resource-manager/Microsoft.Batch/stable/2023-05-01/BatchManagement.json +https://github.com/Azure/azure-rest-api-specs/tree/master/specification/batch/resource-manager/Microsoft.Batch/stable/2024-07-01/BatchManagement.json diff --git a/docs/rules/azurerm_batch_account_invalid_pool_allocation_mode.md b/docs/rules/azurerm_batch_account_invalid_pool_allocation_mode.md index dd94d6ab..cf28a9f0 100644 --- a/docs/rules/azurerm_batch_account_invalid_pool_allocation_mode.md +++ b/docs/rules/azurerm_batch_account_invalid_pool_allocation_mode.md @@ -41,4 +41,4 @@ Replace the warned value with a valid value. This rule is automatically generated from [azure-rest-api-specs](https://github.com/Azure/azure-rest-api-specs). If you are uncertain about the warning, check the following API schema referenced by this rule. -https://github.com/Azure/azure-rest-api-specs/tree/master/specification/batch/resource-manager/Microsoft.Batch/stable/2023-05-01/BatchManagement.json +https://github.com/Azure/azure-rest-api-specs/tree/master/specification/batch/resource-manager/Microsoft.Batch/stable/2024-07-01/BatchManagement.json diff --git a/docs/rules/azurerm_batch_application_invalid_account_name.md b/docs/rules/azurerm_batch_application_invalid_account_name.md index 6891aec5..64e52a41 100644 --- a/docs/rules/azurerm_batch_application_invalid_account_name.md +++ b/docs/rules/azurerm_batch_application_invalid_account_name.md @@ -39,4 +39,4 @@ Replace the warned value with a valid value. This rule is automatically generated from [azure-rest-api-specs](https://github.com/Azure/azure-rest-api-specs). If you are uncertain about the warning, check the following API schema referenced by this rule. -https://github.com/Azure/azure-rest-api-specs/tree/master/specification/batch/resource-manager/Microsoft.Batch/stable/2023-05-01/BatchManagement.json +https://github.com/Azure/azure-rest-api-specs/tree/master/specification/batch/resource-manager/Microsoft.Batch/stable/2024-07-01/BatchManagement.json diff --git a/docs/rules/azurerm_batch_application_invalid_name.md b/docs/rules/azurerm_batch_application_invalid_name.md index 303ef6e4..43640887 100644 --- a/docs/rules/azurerm_batch_application_invalid_name.md +++ b/docs/rules/azurerm_batch_application_invalid_name.md @@ -39,4 +39,4 @@ Replace the warned value with a valid value. This rule is automatically generated from [azure-rest-api-specs](https://github.com/Azure/azure-rest-api-specs). If you are uncertain about the warning, check the following API schema referenced by this rule. -https://github.com/Azure/azure-rest-api-specs/tree/master/specification/batch/resource-manager/Microsoft.Batch/stable/2023-05-01/BatchManagement.json +https://github.com/Azure/azure-rest-api-specs/tree/master/specification/batch/resource-manager/Microsoft.Batch/stable/2024-07-01/BatchManagement.json diff --git a/docs/rules/azurerm_batch_certificate_invalid_account_name.md b/docs/rules/azurerm_batch_certificate_invalid_account_name.md index 80f6a5fa..a9998406 100644 --- a/docs/rules/azurerm_batch_certificate_invalid_account_name.md +++ b/docs/rules/azurerm_batch_certificate_invalid_account_name.md @@ -39,4 +39,4 @@ Replace the warned value with a valid value. This rule is automatically generated from [azure-rest-api-specs](https://github.com/Azure/azure-rest-api-specs). If you are uncertain about the warning, check the following API schema referenced by this rule. -https://github.com/Azure/azure-rest-api-specs/tree/master/specification/batch/resource-manager/Microsoft.Batch/stable/2023-05-01/BatchManagement.json +https://github.com/Azure/azure-rest-api-specs/tree/master/specification/batch/resource-manager/Microsoft.Batch/stable/2024-07-01/BatchManagement.json diff --git a/docs/rules/azurerm_batch_certificate_invalid_format.md b/docs/rules/azurerm_batch_certificate_invalid_format.md index 12473e4a..6cb7a1ca 100644 --- a/docs/rules/azurerm_batch_certificate_invalid_format.md +++ b/docs/rules/azurerm_batch_certificate_invalid_format.md @@ -41,4 +41,4 @@ Replace the warned value with a valid value. This rule is automatically generated from [azure-rest-api-specs](https://github.com/Azure/azure-rest-api-specs). If you are uncertain about the warning, check the following API schema referenced by this rule. -https://github.com/Azure/azure-rest-api-specs/tree/master/specification/batch/resource-manager/Microsoft.Batch/stable/2023-05-01/BatchManagement.json +https://github.com/Azure/azure-rest-api-specs/tree/master/specification/batch/resource-manager/Microsoft.Batch/stable/2024-07-01/BatchManagement.json diff --git a/docs/rules/azurerm_batch_pool_invalid_account_name.md b/docs/rules/azurerm_batch_pool_invalid_account_name.md index a8362d27..e37a75b8 100644 --- a/docs/rules/azurerm_batch_pool_invalid_account_name.md +++ b/docs/rules/azurerm_batch_pool_invalid_account_name.md @@ -39,4 +39,4 @@ Replace the warned value with a valid value. This rule is automatically generated from [azure-rest-api-specs](https://github.com/Azure/azure-rest-api-specs). If you are uncertain about the warning, check the following API schema referenced by this rule. -https://github.com/Azure/azure-rest-api-specs/tree/master/specification/batch/resource-manager/Microsoft.Batch/stable/2023-05-01/BatchManagement.json +https://github.com/Azure/azure-rest-api-specs/tree/master/specification/batch/resource-manager/Microsoft.Batch/stable/2024-07-01/BatchManagement.json diff --git a/docs/rules/azurerm_batch_pool_invalid_name.md b/docs/rules/azurerm_batch_pool_invalid_name.md index e645130f..a9c02b2d 100644 --- a/docs/rules/azurerm_batch_pool_invalid_name.md +++ b/docs/rules/azurerm_batch_pool_invalid_name.md @@ -39,4 +39,4 @@ Replace the warned value with a valid value. This rule is automatically generated from [azure-rest-api-specs](https://github.com/Azure/azure-rest-api-specs). If you are uncertain about the warning, check the following API schema referenced by this rule. -https://github.com/Azure/azure-rest-api-specs/tree/master/specification/batch/resource-manager/Microsoft.Batch/stable/2023-05-01/BatchManagement.json +https://github.com/Azure/azure-rest-api-specs/tree/master/specification/batch/resource-manager/Microsoft.Batch/stable/2024-07-01/BatchManagement.json diff --git a/docs/rules/azurerm_cognitive_account_invalid_name.md b/docs/rules/azurerm_cognitive_account_invalid_name.md index 3069af82..a1346d2c 100644 --- a/docs/rules/azurerm_cognitive_account_invalid_name.md +++ b/docs/rules/azurerm_cognitive_account_invalid_name.md @@ -39,4 +39,4 @@ Replace the warned value with a valid value. This rule is automatically generated from [azure-rest-api-specs](https://github.com/Azure/azure-rest-api-specs). If you are uncertain about the warning, check the following API schema referenced by this rule. -https://github.com/Azure/azure-rest-api-specs/tree/master/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2023-05-01/cognitiveservices.json +https://github.com/Azure/azure-rest-api-specs/tree/master/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2024-10-01/cognitiveservices.json diff --git a/docs/rules/azurerm_container_registry_invalid_name.md b/docs/rules/azurerm_container_registry_invalid_name.md index d3e90c79..d507c2aa 100644 --- a/docs/rules/azurerm_container_registry_invalid_name.md +++ b/docs/rules/azurerm_container_registry_invalid_name.md @@ -39,4 +39,4 @@ Replace the warned value with a valid value. This rule is automatically generated from [azure-rest-api-specs](https://github.com/Azure/azure-rest-api-specs). If you are uncertain about the warning, check the following API schema referenced by this rule. -https://github.com/Azure/azure-rest-api-specs/tree/master/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2021-08-01-preview/containerregistry.json +https://github.com/Azure/azure-rest-api-specs/tree/master/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-11-01-preview/containerregistry.json diff --git a/docs/rules/azurerm_container_registry_invalid_sku.md b/docs/rules/azurerm_container_registry_invalid_sku.md index 5496a81b..764b563a 100644 --- a/docs/rules/azurerm_container_registry_invalid_sku.md +++ b/docs/rules/azurerm_container_registry_invalid_sku.md @@ -43,4 +43,4 @@ Replace the warned value with a valid value. This rule is automatically generated from [azure-rest-api-specs](https://github.com/Azure/azure-rest-api-specs). If you are uncertain about the warning, check the following API schema referenced by this rule. -https://github.com/Azure/azure-rest-api-specs/tree/master/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2021-08-01-preview/containerregistry.json +https://github.com/Azure/azure-rest-api-specs/tree/master/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-11-01-preview/containerregistry.json diff --git a/docs/rules/azurerm_container_registry_webhook_invalid_name.md b/docs/rules/azurerm_container_registry_webhook_invalid_name.md index 66212e0f..862af99e 100644 --- a/docs/rules/azurerm_container_registry_webhook_invalid_name.md +++ b/docs/rules/azurerm_container_registry_webhook_invalid_name.md @@ -39,4 +39,4 @@ Replace the warned value with a valid value. This rule is automatically generated from [azure-rest-api-specs](https://github.com/Azure/azure-rest-api-specs). If you are uncertain about the warning, check the following API schema referenced by this rule. -https://github.com/Azure/azure-rest-api-specs/tree/master/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2021-08-01-preview/containerregistry.json +https://github.com/Azure/azure-rest-api-specs/tree/master/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-11-01-preview/containerregistry.json diff --git a/docs/rules/azurerm_container_registry_webhook_invalid_registry_name.md b/docs/rules/azurerm_container_registry_webhook_invalid_registry_name.md index c81518e5..d1e54437 100644 --- a/docs/rules/azurerm_container_registry_webhook_invalid_registry_name.md +++ b/docs/rules/azurerm_container_registry_webhook_invalid_registry_name.md @@ -39,4 +39,4 @@ Replace the warned value with a valid value. This rule is automatically generated from [azure-rest-api-specs](https://github.com/Azure/azure-rest-api-specs). If you are uncertain about the warning, check the following API schema referenced by this rule. -https://github.com/Azure/azure-rest-api-specs/tree/master/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2021-08-01-preview/containerregistry.json +https://github.com/Azure/azure-rest-api-specs/tree/master/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-11-01-preview/containerregistry.json diff --git a/docs/rules/azurerm_container_registry_webhook_invalid_status.md b/docs/rules/azurerm_container_registry_webhook_invalid_status.md index 9d395409..c965c6f6 100644 --- a/docs/rules/azurerm_container_registry_webhook_invalid_status.md +++ b/docs/rules/azurerm_container_registry_webhook_invalid_status.md @@ -41,4 +41,4 @@ Replace the warned value with a valid value. This rule is automatically generated from [azure-rest-api-specs](https://github.com/Azure/azure-rest-api-specs). If you are uncertain about the warning, check the following API schema referenced by this rule. -https://github.com/Azure/azure-rest-api-specs/tree/master/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2021-08-01-preview/containerregistry.json +https://github.com/Azure/azure-rest-api-specs/tree/master/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-11-01-preview/containerregistry.json diff --git a/docs/rules/azurerm_cosmosdb_account_invalid_kind.md b/docs/rules/azurerm_cosmosdb_account_invalid_kind.md index aeb3cd71..35922938 100644 --- a/docs/rules/azurerm_cosmosdb_account_invalid_kind.md +++ b/docs/rules/azurerm_cosmosdb_account_invalid_kind.md @@ -42,4 +42,4 @@ Replace the warned value with a valid value. This rule is automatically generated from [azure-rest-api-specs](https://github.com/Azure/azure-rest-api-specs). If you are uncertain about the warning, check the following API schema referenced by this rule. -https://github.com/Azure/azure-rest-api-specs/tree/master/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2023-04-15/cosmos-db.json +https://github.com/Azure/azure-rest-api-specs/tree/master/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/cosmos-db.json diff --git a/docs/rules/azurerm_cosmosdb_account_invalid_name.md b/docs/rules/azurerm_cosmosdb_account_invalid_name.md index f43a229c..6bf4a84a 100644 --- a/docs/rules/azurerm_cosmosdb_account_invalid_name.md +++ b/docs/rules/azurerm_cosmosdb_account_invalid_name.md @@ -39,4 +39,4 @@ Replace the warned value with a valid value. This rule is automatically generated from [azure-rest-api-specs](https://github.com/Azure/azure-rest-api-specs). If you are uncertain about the warning, check the following API schema referenced by this rule. -https://github.com/Azure/azure-rest-api-specs/tree/master/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2023-04-15/cosmos-db.json +https://github.com/Azure/azure-rest-api-specs/tree/master/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/cosmos-db.json diff --git a/docs/rules/azurerm_cosmosdb_account_invalid_offer_type.md b/docs/rules/azurerm_cosmosdb_account_invalid_offer_type.md index 45680388..446fb676 100644 --- a/docs/rules/azurerm_cosmosdb_account_invalid_offer_type.md +++ b/docs/rules/azurerm_cosmosdb_account_invalid_offer_type.md @@ -40,4 +40,4 @@ Replace the warned value with a valid value. This rule is automatically generated from [azure-rest-api-specs](https://github.com/Azure/azure-rest-api-specs). If you are uncertain about the warning, check the following API schema referenced by this rule. -https://github.com/Azure/azure-rest-api-specs/tree/master/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2023-04-15/cosmos-db.json +https://github.com/Azure/azure-rest-api-specs/tree/master/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/cosmos-db.json diff --git a/docs/rules/azurerm_cosmosdb_account_invalid_resource_group_name.md b/docs/rules/azurerm_cosmosdb_account_invalid_resource_group_name.md index b4d349e5..e3864177 100644 --- a/docs/rules/azurerm_cosmosdb_account_invalid_resource_group_name.md +++ b/docs/rules/azurerm_cosmosdb_account_invalid_resource_group_name.md @@ -39,4 +39,4 @@ Replace the warned value with a valid value. This rule is automatically generated from [azure-rest-api-specs](https://github.com/Azure/azure-rest-api-specs). If you are uncertain about the warning, check the following API schema referenced by this rule. -https://github.com/Azure/azure-rest-api-specs/tree/master/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2023-04-15/cosmos-db.json +https://github.com/Azure/azure-rest-api-specs/tree/master/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/cosmos-db.json diff --git a/docs/rules/azurerm_cosmosdb_cassandra_keyspace_invalid_account_name.md b/docs/rules/azurerm_cosmosdb_cassandra_keyspace_invalid_account_name.md index ade3f9c6..221796a6 100644 --- a/docs/rules/azurerm_cosmosdb_cassandra_keyspace_invalid_account_name.md +++ b/docs/rules/azurerm_cosmosdb_cassandra_keyspace_invalid_account_name.md @@ -39,4 +39,4 @@ Replace the warned value with a valid value. This rule is automatically generated from [azure-rest-api-specs](https://github.com/Azure/azure-rest-api-specs). If you are uncertain about the warning, check the following API schema referenced by this rule. -https://github.com/Azure/azure-rest-api-specs/tree/master/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2023-04-15/cosmos-db.json +https://github.com/Azure/azure-rest-api-specs/tree/master/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2021-10-15/cosmos-db.json diff --git a/docs/rules/azurerm_cosmosdb_cassandra_keyspace_invalid_resource_group_name.md b/docs/rules/azurerm_cosmosdb_cassandra_keyspace_invalid_resource_group_name.md index 7590c774..ee8bd639 100644 --- a/docs/rules/azurerm_cosmosdb_cassandra_keyspace_invalid_resource_group_name.md +++ b/docs/rules/azurerm_cosmosdb_cassandra_keyspace_invalid_resource_group_name.md @@ -39,4 +39,4 @@ Replace the warned value with a valid value. This rule is automatically generated from [azure-rest-api-specs](https://github.com/Azure/azure-rest-api-specs). If you are uncertain about the warning, check the following API schema referenced by this rule. -https://github.com/Azure/azure-rest-api-specs/tree/master/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2023-04-15/cosmos-db.json +https://github.com/Azure/azure-rest-api-specs/tree/master/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2021-10-15/cosmos-db.json diff --git a/docs/rules/azurerm_cosmosdb_gremlin_database_invalid_account_name.md b/docs/rules/azurerm_cosmosdb_gremlin_database_invalid_account_name.md index 8b0b0ffd..8bddbf36 100644 --- a/docs/rules/azurerm_cosmosdb_gremlin_database_invalid_account_name.md +++ b/docs/rules/azurerm_cosmosdb_gremlin_database_invalid_account_name.md @@ -39,4 +39,4 @@ Replace the warned value with a valid value. This rule is automatically generated from [azure-rest-api-specs](https://github.com/Azure/azure-rest-api-specs). If you are uncertain about the warning, check the following API schema referenced by this rule. -https://github.com/Azure/azure-rest-api-specs/tree/master/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2023-04-15/cosmos-db.json +https://github.com/Azure/azure-rest-api-specs/tree/master/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/cosmos-db.json diff --git a/docs/rules/azurerm_cosmosdb_gremlin_database_invalid_resource_group_name.md b/docs/rules/azurerm_cosmosdb_gremlin_database_invalid_resource_group_name.md index fb68ad29..8c39ceee 100644 --- a/docs/rules/azurerm_cosmosdb_gremlin_database_invalid_resource_group_name.md +++ b/docs/rules/azurerm_cosmosdb_gremlin_database_invalid_resource_group_name.md @@ -39,4 +39,4 @@ Replace the warned value with a valid value. This rule is automatically generated from [azure-rest-api-specs](https://github.com/Azure/azure-rest-api-specs). If you are uncertain about the warning, check the following API schema referenced by this rule. -https://github.com/Azure/azure-rest-api-specs/tree/master/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2023-04-15/cosmos-db.json +https://github.com/Azure/azure-rest-api-specs/tree/master/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/cosmos-db.json diff --git a/docs/rules/azurerm_cosmosdb_gremlin_graph_invalid_account_name.md b/docs/rules/azurerm_cosmosdb_gremlin_graph_invalid_account_name.md index 97cd45d6..0ae6e40b 100644 --- a/docs/rules/azurerm_cosmosdb_gremlin_graph_invalid_account_name.md +++ b/docs/rules/azurerm_cosmosdb_gremlin_graph_invalid_account_name.md @@ -39,4 +39,4 @@ Replace the warned value with a valid value. This rule is automatically generated from [azure-rest-api-specs](https://github.com/Azure/azure-rest-api-specs). If you are uncertain about the warning, check the following API schema referenced by this rule. -https://github.com/Azure/azure-rest-api-specs/tree/master/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2023-04-15/cosmos-db.json +https://github.com/Azure/azure-rest-api-specs/tree/master/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/cosmos-db.json diff --git a/docs/rules/azurerm_cosmosdb_gremlin_graph_invalid_resource_group_name.md b/docs/rules/azurerm_cosmosdb_gremlin_graph_invalid_resource_group_name.md index 00d53fd1..603bb606 100644 --- a/docs/rules/azurerm_cosmosdb_gremlin_graph_invalid_resource_group_name.md +++ b/docs/rules/azurerm_cosmosdb_gremlin_graph_invalid_resource_group_name.md @@ -39,4 +39,4 @@ Replace the warned value with a valid value. This rule is automatically generated from [azure-rest-api-specs](https://github.com/Azure/azure-rest-api-specs). If you are uncertain about the warning, check the following API schema referenced by this rule. -https://github.com/Azure/azure-rest-api-specs/tree/master/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2023-04-15/cosmos-db.json +https://github.com/Azure/azure-rest-api-specs/tree/master/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/cosmos-db.json diff --git a/docs/rules/azurerm_cosmosdb_mongo_collection_invalid_resource_group_name.md b/docs/rules/azurerm_cosmosdb_mongo_collection_invalid_resource_group_name.md index 78ddbdfb..aa29b940 100644 --- a/docs/rules/azurerm_cosmosdb_mongo_collection_invalid_resource_group_name.md +++ b/docs/rules/azurerm_cosmosdb_mongo_collection_invalid_resource_group_name.md @@ -39,4 +39,4 @@ Replace the warned value with a valid value. This rule is automatically generated from [azure-rest-api-specs](https://github.com/Azure/azure-rest-api-specs). If you are uncertain about the warning, check the following API schema referenced by this rule. -https://github.com/Azure/azure-rest-api-specs/tree/master/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2023-04-15/cosmos-db.json +https://github.com/Azure/azure-rest-api-specs/tree/master/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2021-10-15/cosmos-db.json diff --git a/docs/rules/azurerm_cosmosdb_mongo_database_invalid_account_name.md b/docs/rules/azurerm_cosmosdb_mongo_database_invalid_account_name.md index ea31f0ea..6d92749b 100644 --- a/docs/rules/azurerm_cosmosdb_mongo_database_invalid_account_name.md +++ b/docs/rules/azurerm_cosmosdb_mongo_database_invalid_account_name.md @@ -39,4 +39,4 @@ Replace the warned value with a valid value. This rule is automatically generated from [azure-rest-api-specs](https://github.com/Azure/azure-rest-api-specs). If you are uncertain about the warning, check the following API schema referenced by this rule. -https://github.com/Azure/azure-rest-api-specs/tree/master/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2023-04-15/cosmos-db.json +https://github.com/Azure/azure-rest-api-specs/tree/master/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2021-10-15/cosmos-db.json diff --git a/docs/rules/azurerm_cosmosdb_mongo_database_invalid_resource_group_name.md b/docs/rules/azurerm_cosmosdb_mongo_database_invalid_resource_group_name.md index 298e21bf..4e92bb69 100644 --- a/docs/rules/azurerm_cosmosdb_mongo_database_invalid_resource_group_name.md +++ b/docs/rules/azurerm_cosmosdb_mongo_database_invalid_resource_group_name.md @@ -39,4 +39,4 @@ Replace the warned value with a valid value. This rule is automatically generated from [azure-rest-api-specs](https://github.com/Azure/azure-rest-api-specs). If you are uncertain about the warning, check the following API schema referenced by this rule. -https://github.com/Azure/azure-rest-api-specs/tree/master/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2023-04-15/cosmos-db.json +https://github.com/Azure/azure-rest-api-specs/tree/master/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2021-10-15/cosmos-db.json diff --git a/docs/rules/azurerm_cosmosdb_sql_container_invalid_account_name.md b/docs/rules/azurerm_cosmosdb_sql_container_invalid_account_name.md index 057a7c5a..dbdf4f2d 100644 --- a/docs/rules/azurerm_cosmosdb_sql_container_invalid_account_name.md +++ b/docs/rules/azurerm_cosmosdb_sql_container_invalid_account_name.md @@ -39,4 +39,4 @@ Replace the warned value with a valid value. This rule is automatically generated from [azure-rest-api-specs](https://github.com/Azure/azure-rest-api-specs). If you are uncertain about the warning, check the following API schema referenced by this rule. -https://github.com/Azure/azure-rest-api-specs/tree/master/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2023-04-15/cosmos-db.json +https://github.com/Azure/azure-rest-api-specs/tree/master/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/cosmos-db.json diff --git a/docs/rules/azurerm_cosmosdb_sql_container_invalid_resource_group_name.md b/docs/rules/azurerm_cosmosdb_sql_container_invalid_resource_group_name.md index 72982a71..2189cf38 100644 --- a/docs/rules/azurerm_cosmosdb_sql_container_invalid_resource_group_name.md +++ b/docs/rules/azurerm_cosmosdb_sql_container_invalid_resource_group_name.md @@ -39,4 +39,4 @@ Replace the warned value with a valid value. This rule is automatically generated from [azure-rest-api-specs](https://github.com/Azure/azure-rest-api-specs). If you are uncertain about the warning, check the following API schema referenced by this rule. -https://github.com/Azure/azure-rest-api-specs/tree/master/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2023-04-15/cosmos-db.json +https://github.com/Azure/azure-rest-api-specs/tree/master/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/cosmos-db.json diff --git a/docs/rules/azurerm_cosmosdb_sql_database_invalid_account_name.md b/docs/rules/azurerm_cosmosdb_sql_database_invalid_account_name.md index 683acc94..512c29dc 100644 --- a/docs/rules/azurerm_cosmosdb_sql_database_invalid_account_name.md +++ b/docs/rules/azurerm_cosmosdb_sql_database_invalid_account_name.md @@ -39,4 +39,4 @@ Replace the warned value with a valid value. This rule is automatically generated from [azure-rest-api-specs](https://github.com/Azure/azure-rest-api-specs). If you are uncertain about the warning, check the following API schema referenced by this rule. -https://github.com/Azure/azure-rest-api-specs/tree/master/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2023-04-15/cosmos-db.json +https://github.com/Azure/azure-rest-api-specs/tree/master/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2021-10-15/cosmos-db.json diff --git a/docs/rules/azurerm_cosmosdb_sql_database_invalid_resource_group_name.md b/docs/rules/azurerm_cosmosdb_sql_database_invalid_resource_group_name.md index d3aff30e..3a5cc928 100644 --- a/docs/rules/azurerm_cosmosdb_sql_database_invalid_resource_group_name.md +++ b/docs/rules/azurerm_cosmosdb_sql_database_invalid_resource_group_name.md @@ -39,4 +39,4 @@ Replace the warned value with a valid value. This rule is automatically generated from [azure-rest-api-specs](https://github.com/Azure/azure-rest-api-specs). If you are uncertain about the warning, check the following API schema referenced by this rule. -https://github.com/Azure/azure-rest-api-specs/tree/master/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2023-04-15/cosmos-db.json +https://github.com/Azure/azure-rest-api-specs/tree/master/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2021-10-15/cosmos-db.json diff --git a/docs/rules/azurerm_express_route_circuit_peering_invalid_peering_type.md b/docs/rules/azurerm_express_route_circuit_peering_invalid_peering_type.md index 58bb11d3..96e99db0 100644 --- a/docs/rules/azurerm_express_route_circuit_peering_invalid_peering_type.md +++ b/docs/rules/azurerm_express_route_circuit_peering_invalid_peering_type.md @@ -42,4 +42,4 @@ Replace the warned value with a valid value. This rule is automatically generated from [azure-rest-api-specs](https://github.com/Azure/azure-rest-api-specs). If you are uncertain about the warning, check the following API schema referenced by this rule. -https://github.com/Azure/azure-rest-api-specs/tree/master/specification/network/resource-manager/Microsoft.Network/stable/2023-09-01/expressRouteCircuit.json +https://github.com/Azure/azure-rest-api-specs/tree/master/specification/network/resource-manager/Microsoft.Network/stable/2024-05-01/expressRouteCircuit.json diff --git a/docs/rules/azurerm_firewall_application_rule_collection_invalid_action.md b/docs/rules/azurerm_firewall_application_rule_collection_invalid_action.md index 431cb9d3..1a89e654 100644 --- a/docs/rules/azurerm_firewall_application_rule_collection_invalid_action.md +++ b/docs/rules/azurerm_firewall_application_rule_collection_invalid_action.md @@ -41,4 +41,4 @@ Replace the warned value with a valid value. This rule is automatically generated from [azure-rest-api-specs](https://github.com/Azure/azure-rest-api-specs). If you are uncertain about the warning, check the following API schema referenced by this rule. -https://github.com/Azure/azure-rest-api-specs/tree/master/specification/network/resource-manager/Microsoft.Network/stable/2023-11-01/azureFirewall.json +https://github.com/Azure/azure-rest-api-specs/tree/master/specification/network/resource-manager/Microsoft.Network/stable/2024-05-01/azureFirewall.json diff --git a/docs/rules/azurerm_firewall_application_rule_collection_invalid_priority.md b/docs/rules/azurerm_firewall_application_rule_collection_invalid_priority.md index 82cd8edc..615bb7af 100644 --- a/docs/rules/azurerm_firewall_application_rule_collection_invalid_priority.md +++ b/docs/rules/azurerm_firewall_application_rule_collection_invalid_priority.md @@ -39,4 +39,4 @@ Replace the warned value with a valid value. This rule is automatically generated from [azure-rest-api-specs](https://github.com/Azure/azure-rest-api-specs). If you are uncertain about the warning, check the following API schema referenced by this rule. -https://github.com/Azure/azure-rest-api-specs/tree/master/specification/network/resource-manager/Microsoft.Network/stable/2023-11-01/azureFirewall.json +https://github.com/Azure/azure-rest-api-specs/tree/master/specification/network/resource-manager/Microsoft.Network/stable/2024-05-01/azureFirewall.json diff --git a/docs/rules/azurerm_firewall_nat_rule_collection_invalid_action.md b/docs/rules/azurerm_firewall_nat_rule_collection_invalid_action.md index 46c157a3..a7e4b8ae 100644 --- a/docs/rules/azurerm_firewall_nat_rule_collection_invalid_action.md +++ b/docs/rules/azurerm_firewall_nat_rule_collection_invalid_action.md @@ -41,4 +41,4 @@ Replace the warned value with a valid value. This rule is automatically generated from [azure-rest-api-specs](https://github.com/Azure/azure-rest-api-specs). If you are uncertain about the warning, check the following API schema referenced by this rule. -https://github.com/Azure/azure-rest-api-specs/tree/master/specification/network/resource-manager/Microsoft.Network/stable/2023-11-01/azureFirewall.json +https://github.com/Azure/azure-rest-api-specs/tree/master/specification/network/resource-manager/Microsoft.Network/stable/2024-05-01/azureFirewall.json diff --git a/docs/rules/azurerm_firewall_nat_rule_collection_invalid_priority.md b/docs/rules/azurerm_firewall_nat_rule_collection_invalid_priority.md index 6f90f5ae..c2f820c0 100644 --- a/docs/rules/azurerm_firewall_nat_rule_collection_invalid_priority.md +++ b/docs/rules/azurerm_firewall_nat_rule_collection_invalid_priority.md @@ -39,4 +39,4 @@ Replace the warned value with a valid value. This rule is automatically generated from [azure-rest-api-specs](https://github.com/Azure/azure-rest-api-specs). If you are uncertain about the warning, check the following API schema referenced by this rule. -https://github.com/Azure/azure-rest-api-specs/tree/master/specification/network/resource-manager/Microsoft.Network/stable/2023-11-01/azureFirewall.json +https://github.com/Azure/azure-rest-api-specs/tree/master/specification/network/resource-manager/Microsoft.Network/stable/2024-05-01/azureFirewall.json diff --git a/docs/rules/azurerm_firewall_network_rule_collection_invalid_action.md b/docs/rules/azurerm_firewall_network_rule_collection_invalid_action.md index edb0ebc4..44cd10a8 100644 --- a/docs/rules/azurerm_firewall_network_rule_collection_invalid_action.md +++ b/docs/rules/azurerm_firewall_network_rule_collection_invalid_action.md @@ -41,4 +41,4 @@ Replace the warned value with a valid value. This rule is automatically generated from [azure-rest-api-specs](https://github.com/Azure/azure-rest-api-specs). If you are uncertain about the warning, check the following API schema referenced by this rule. -https://github.com/Azure/azure-rest-api-specs/tree/master/specification/network/resource-manager/Microsoft.Network/stable/2023-11-01/azureFirewall.json +https://github.com/Azure/azure-rest-api-specs/tree/master/specification/network/resource-manager/Microsoft.Network/stable/2024-05-01/azureFirewall.json diff --git a/docs/rules/azurerm_firewall_network_rule_collection_invalid_priority.md b/docs/rules/azurerm_firewall_network_rule_collection_invalid_priority.md index 40020b6e..31b3309f 100644 --- a/docs/rules/azurerm_firewall_network_rule_collection_invalid_priority.md +++ b/docs/rules/azurerm_firewall_network_rule_collection_invalid_priority.md @@ -39,4 +39,4 @@ Replace the warned value with a valid value. This rule is automatically generated from [azure-rest-api-specs](https://github.com/Azure/azure-rest-api-specs). If you are uncertain about the warning, check the following API schema referenced by this rule. -https://github.com/Azure/azure-rest-api-specs/tree/master/specification/network/resource-manager/Microsoft.Network/stable/2023-11-01/azureFirewall.json +https://github.com/Azure/azure-rest-api-specs/tree/master/specification/network/resource-manager/Microsoft.Network/stable/2024-05-01/azureFirewall.json diff --git a/docs/rules/azurerm_key_vault_key_invalid_curve.md b/docs/rules/azurerm_key_vault_key_invalid_curve.md index 0a3451cf..e7fe8158 100644 --- a/docs/rules/azurerm_key_vault_key_invalid_curve.md +++ b/docs/rules/azurerm_key_vault_key_invalid_curve.md @@ -8,7 +8,7 @@ Allowed values are: - P-256 - P-384 - P-521 -- SECP256K1 +- P-256K ## Example @@ -43,4 +43,4 @@ Replace the warned value with a valid value. This rule is automatically generated from [azure-rest-api-specs](https://github.com/Azure/azure-rest-api-specs). If you are uncertain about the warning, check the following API schema referenced by this rule. -https://github.com/Azure/azure-rest-api-specs/tree/master/specification/keyvault/data-plane/Microsoft.KeyVault/stable/2016-10-01/keyvault.json +https://github.com/Azure/azure-rest-api-specs/tree/master/specification/keyvault/data-plane/Microsoft.KeyVault/stable/7.4/keys.json diff --git a/docs/rules/azurerm_key_vault_key_invalid_key_type.md b/docs/rules/azurerm_key_vault_key_invalid_key_type.md index 7dc38bb2..3e2e0d22 100644 --- a/docs/rules/azurerm_key_vault_key_invalid_key_type.md +++ b/docs/rules/azurerm_key_vault_key_invalid_key_type.md @@ -10,6 +10,7 @@ Allowed values are: - RSA - RSA-HSM - oct +- oct-HSM ## Example @@ -44,4 +45,4 @@ Replace the warned value with a valid value. This rule is automatically generated from [azure-rest-api-specs](https://github.com/Azure/azure-rest-api-specs). If you are uncertain about the warning, check the following API schema referenced by this rule. -https://github.com/Azure/azure-rest-api-specs/tree/master/specification/keyvault/data-plane/Microsoft.KeyVault/stable/2016-10-01/keyvault.json +https://github.com/Azure/azure-rest-api-specs/tree/master/specification/keyvault/data-plane/Microsoft.KeyVault/stable/7.4/keys.json diff --git a/docs/rules/azurerm_kubernetes_cluster_invalid_name.md b/docs/rules/azurerm_kubernetes_cluster_invalid_name.md index 4c8a8ec2..44ae0387 100644 --- a/docs/rules/azurerm_kubernetes_cluster_invalid_name.md +++ b/docs/rules/azurerm_kubernetes_cluster_invalid_name.md @@ -39,4 +39,4 @@ Replace the warned value with a valid value. This rule is automatically generated from [azure-rest-api-specs](https://github.com/Azure/azure-rest-api-specs). If you are uncertain about the warning, check the following API schema referenced by this rule. -https://github.com/Azure/azure-rest-api-specs/tree/master/specification/containerservice/resource-manager/Microsoft.ContainerService/aks/preview/2023-09-02-preview/managedClusters.json +https://github.com/Azure/azure-rest-api-specs/tree/master/specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/managedClusters.json diff --git a/docs/rules/azurerm_kubernetes_cluster_node_pool_invalid_os_disk_size_gb.md b/docs/rules/azurerm_kubernetes_cluster_node_pool_invalid_os_disk_size_gb.md index 41d6333d..94b96b0b 100644 --- a/docs/rules/azurerm_kubernetes_cluster_node_pool_invalid_os_disk_size_gb.md +++ b/docs/rules/azurerm_kubernetes_cluster_node_pool_invalid_os_disk_size_gb.md @@ -39,4 +39,4 @@ Replace the warned value with a valid value. This rule is automatically generated from [azure-rest-api-specs](https://github.com/Azure/azure-rest-api-specs). If you are uncertain about the warning, check the following API schema referenced by this rule. -https://github.com/Azure/azure-rest-api-specs/tree/master/specification/containerservice/resource-manager/Microsoft.ContainerService/aks/preview/2023-09-02-preview/managedClusters.json +https://github.com/Azure/azure-rest-api-specs/tree/master/specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/managedClusters.json diff --git a/docs/rules/azurerm_kubernetes_cluster_node_pool_invalid_os_type.md b/docs/rules/azurerm_kubernetes_cluster_node_pool_invalid_os_type.md index 1e9a05aa..0e9faa62 100644 --- a/docs/rules/azurerm_kubernetes_cluster_node_pool_invalid_os_type.md +++ b/docs/rules/azurerm_kubernetes_cluster_node_pool_invalid_os_type.md @@ -41,4 +41,4 @@ Replace the warned value with a valid value. This rule is automatically generated from [azure-rest-api-specs](https://github.com/Azure/azure-rest-api-specs). If you are uncertain about the warning, check the following API schema referenced by this rule. -https://github.com/Azure/azure-rest-api-specs/tree/master/specification/containerservice/resource-manager/Microsoft.ContainerService/aks/preview/2023-09-02-preview/managedClusters.json +https://github.com/Azure/azure-rest-api-specs/tree/master/specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/managedClusters.json diff --git a/docs/rules/azurerm_kusto_cluster_invalid_name.md b/docs/rules/azurerm_kusto_cluster_invalid_name.md index 6a409b59..29ac723c 100644 --- a/docs/rules/azurerm_kusto_cluster_invalid_name.md +++ b/docs/rules/azurerm_kusto_cluster_invalid_name.md @@ -39,4 +39,4 @@ Replace the warned value with a valid value. This rule is automatically generated from [azure-rest-api-specs](https://github.com/Azure/azure-rest-api-specs). If you are uncertain about the warning, check the following API schema referenced by this rule. -https://github.com/Azure/azure-rest-api-specs/tree/master/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/kusto.json +https://github.com/Azure/azure-rest-api-specs/tree/master/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/kusto.json diff --git a/docs/rules/azurerm_kusto_database_invalid_cluster_name.md b/docs/rules/azurerm_kusto_database_invalid_cluster_name.md index c4386e5d..e6960fc7 100644 --- a/docs/rules/azurerm_kusto_database_invalid_cluster_name.md +++ b/docs/rules/azurerm_kusto_database_invalid_cluster_name.md @@ -39,4 +39,4 @@ Replace the warned value with a valid value. This rule is automatically generated from [azure-rest-api-specs](https://github.com/Azure/azure-rest-api-specs). If you are uncertain about the warning, check the following API schema referenced by this rule. -https://github.com/Azure/azure-rest-api-specs/tree/master/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/kusto.json +https://github.com/Azure/azure-rest-api-specs/tree/master/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/kusto.json diff --git a/docs/rules/azurerm_kusto_database_invalid_name.md b/docs/rules/azurerm_kusto_database_invalid_name.md index a49bdebb..6b5f63f2 100644 --- a/docs/rules/azurerm_kusto_database_invalid_name.md +++ b/docs/rules/azurerm_kusto_database_invalid_name.md @@ -39,4 +39,4 @@ Replace the warned value with a valid value. This rule is automatically generated from [azure-rest-api-specs](https://github.com/Azure/azure-rest-api-specs). If you are uncertain about the warning, check the following API schema referenced by this rule. -https://github.com/Azure/azure-rest-api-specs/tree/master/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/kusto.json +https://github.com/Azure/azure-rest-api-specs/tree/master/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/kusto.json diff --git a/docs/rules/azurerm_kusto_eventhub_data_connection_invalid_data_format.md b/docs/rules/azurerm_kusto_eventhub_data_connection_invalid_data_format.md index c090b3e1..0ba87ff4 100644 --- a/docs/rules/azurerm_kusto_eventhub_data_connection_invalid_data_format.md +++ b/docs/rules/azurerm_kusto_eventhub_data_connection_invalid_data_format.md @@ -55,4 +55,4 @@ Replace the warned value with a valid value. This rule is automatically generated from [azure-rest-api-specs](https://github.com/Azure/azure-rest-api-specs). If you are uncertain about the warning, check the following API schema referenced by this rule. -https://github.com/Azure/azure-rest-api-specs/tree/master/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/kusto.json +https://github.com/Azure/azure-rest-api-specs/tree/master/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/kusto.json diff --git a/docs/rules/azurerm_kusto_eventhub_data_connection_invalid_database_name.md b/docs/rules/azurerm_kusto_eventhub_data_connection_invalid_database_name.md index 20a5108f..4f08ffad 100644 --- a/docs/rules/azurerm_kusto_eventhub_data_connection_invalid_database_name.md +++ b/docs/rules/azurerm_kusto_eventhub_data_connection_invalid_database_name.md @@ -39,4 +39,4 @@ Replace the warned value with a valid value. This rule is automatically generated from [azure-rest-api-specs](https://github.com/Azure/azure-rest-api-specs). If you are uncertain about the warning, check the following API schema referenced by this rule. -https://github.com/Azure/azure-rest-api-specs/tree/master/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/kusto.json +https://github.com/Azure/azure-rest-api-specs/tree/master/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/kusto.json diff --git a/docs/rules/azurerm_kusto_eventhub_data_connection_invalid_name.md b/docs/rules/azurerm_kusto_eventhub_data_connection_invalid_name.md index b44c5bb0..fc21be35 100644 --- a/docs/rules/azurerm_kusto_eventhub_data_connection_invalid_name.md +++ b/docs/rules/azurerm_kusto_eventhub_data_connection_invalid_name.md @@ -39,4 +39,4 @@ Replace the warned value with a valid value. This rule is automatically generated from [azure-rest-api-specs](https://github.com/Azure/azure-rest-api-specs). If you are uncertain about the warning, check the following API schema referenced by this rule. -https://github.com/Azure/azure-rest-api-specs/tree/master/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/kusto.json +https://github.com/Azure/azure-rest-api-specs/tree/master/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/kusto.json diff --git a/docs/rules/azurerm_linux_virtual_machine_invalid_eviction_policy.md b/docs/rules/azurerm_linux_virtual_machine_invalid_eviction_policy.md index 501e9b04..1fb1aa54 100644 --- a/docs/rules/azurerm_linux_virtual_machine_invalid_eviction_policy.md +++ b/docs/rules/azurerm_linux_virtual_machine_invalid_eviction_policy.md @@ -41,4 +41,4 @@ Replace the warned value with a valid value. This rule is automatically generated from [azure-rest-api-specs](https://github.com/Azure/azure-rest-api-specs). If you are uncertain about the warning, check the following API schema referenced by this rule. -https://github.com/Azure/azure-rest-api-specs/tree/master/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2023-03-01/computeRPCommon.json +https://github.com/Azure/azure-rest-api-specs/tree/master/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/computeRPCommon.json diff --git a/docs/rules/azurerm_linux_virtual_machine_invalid_priority.md b/docs/rules/azurerm_linux_virtual_machine_invalid_priority.md index 4c101111..91fdaccf 100644 --- a/docs/rules/azurerm_linux_virtual_machine_invalid_priority.md +++ b/docs/rules/azurerm_linux_virtual_machine_invalid_priority.md @@ -42,4 +42,4 @@ Replace the warned value with a valid value. This rule is automatically generated from [azure-rest-api-specs](https://github.com/Azure/azure-rest-api-specs). If you are uncertain about the warning, check the following API schema referenced by this rule. -https://github.com/Azure/azure-rest-api-specs/tree/master/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2023-03-01/computeRPCommon.json +https://github.com/Azure/azure-rest-api-specs/tree/master/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/computeRPCommon.json diff --git a/docs/rules/azurerm_linux_virtual_machine_scale_set_invalid_eviction_policy.md b/docs/rules/azurerm_linux_virtual_machine_scale_set_invalid_eviction_policy.md index 8b57e6cd..2eca2567 100644 --- a/docs/rules/azurerm_linux_virtual_machine_scale_set_invalid_eviction_policy.md +++ b/docs/rules/azurerm_linux_virtual_machine_scale_set_invalid_eviction_policy.md @@ -41,4 +41,4 @@ Replace the warned value with a valid value. This rule is automatically generated from [azure-rest-api-specs](https://github.com/Azure/azure-rest-api-specs). If you are uncertain about the warning, check the following API schema referenced by this rule. -https://github.com/Azure/azure-rest-api-specs/tree/master/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2023-03-01/computeRPCommon.json +https://github.com/Azure/azure-rest-api-specs/tree/master/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/computeRPCommon.json diff --git a/docs/rules/azurerm_linux_virtual_machine_scale_set_invalid_priority.md b/docs/rules/azurerm_linux_virtual_machine_scale_set_invalid_priority.md index 836dde96..8d4e773d 100644 --- a/docs/rules/azurerm_linux_virtual_machine_scale_set_invalid_priority.md +++ b/docs/rules/azurerm_linux_virtual_machine_scale_set_invalid_priority.md @@ -42,4 +42,4 @@ Replace the warned value with a valid value. This rule is automatically generated from [azure-rest-api-specs](https://github.com/Azure/azure-rest-api-specs). If you are uncertain about the warning, check the following API schema referenced by this rule. -https://github.com/Azure/azure-rest-api-specs/tree/master/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2023-03-01/computeRPCommon.json +https://github.com/Azure/azure-rest-api-specs/tree/master/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/computeRPCommon.json diff --git a/docs/rules/azurerm_databricks_workspace_invalid_managed_resource_group_name.md b/docs/rules/azurerm_machine_learning_workspace_invalid_name.md similarity index 56% rename from docs/rules/azurerm_databricks_workspace_invalid_managed_resource_group_name.md rename to docs/rules/azurerm_machine_learning_workspace_invalid_name.md index ccb95872..9f56c463 100644 --- a/docs/rules/azurerm_databricks_workspace_invalid_managed_resource_group_name.md +++ b/docs/rules/azurerm_machine_learning_workspace_invalid_name.md @@ -1,16 +1,16 @@ -# azurerm_databricks_workspace_invalid_managed_resource_group_name +# azurerm_machine_learning_workspace_invalid_name Warns about values that appear to be invalid based on [azure-rest-api-specs](https://github.com/Azure/azure-rest-api-specs). -In this rule, the string must match the regular expression `^[-\w\._\(\)]+$``. +In this rule, the string must match the regular expression `^[a-zA-Z0-9][a-zA-Z0-9_-]{2,32}$``. ## Example ```hcl -resource "azurerm_databricks_workspace" "foo" { - managed_resource_group_name = ... // invalid value +resource "azurerm_machine_learning_workspace" "foo" { + name = ... // invalid value } ``` @@ -18,12 +18,12 @@ resource "azurerm_databricks_workspace" "foo" { $ tflint 1 issue(s) found: -Error: "..." does not match valid pattern ^[-\w\._\(\)]+$ (azurerm_databricks_workspace_invalid_managed_resource_group_name) +Error: "..." does not match valid pattern ^[a-zA-Z0-9][a-zA-Z0-9_-]{2,32}$ (azurerm_machine_learning_workspace_invalid_name) on template.tf line 2: - 2: managed_resource_group_name = ... // invalid value + 2: name = ... // invalid value -Reference: https://github.com/terraform-linters/tflint-ruleset-azurerm/blob/v0.1.0/docs/rules/azurerm_databricks_workspace_invalid_managed_resource_group_name.md +Reference: https://github.com/terraform-linters/tflint-ruleset-azurerm/blob/v0.1.0/docs/rules/azurerm_machine_learning_workspace_invalid_name.md ``` @@ -39,4 +39,4 @@ Replace the warned value with a valid value. This rule is automatically generated from [azure-rest-api-specs](https://github.com/Azure/azure-rest-api-specs). If you are uncertain about the warning, check the following API schema referenced by this rule. -https://github.com/Azure/azure-rest-api-specs/tree/master/specification/databricks/resource-manager/Microsoft.Databricks/stable/2023-02-01/databricks.json +https://github.com/Azure/azure-rest-api-specs/tree/master/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/workspaceRP.json diff --git a/docs/rules/azurerm_managed_application_definition_invalid_lock_level.md b/docs/rules/azurerm_managed_application_definition_invalid_lock_level.md index 1a34d391..9f350cc5 100644 --- a/docs/rules/azurerm_managed_application_definition_invalid_lock_level.md +++ b/docs/rules/azurerm_managed_application_definition_invalid_lock_level.md @@ -42,4 +42,4 @@ Replace the warned value with a valid value. This rule is automatically generated from [azure-rest-api-specs](https://github.com/Azure/azure-rest-api-specs). If you are uncertain about the warning, check the following API schema referenced by this rule. -https://github.com/Azure/azure-rest-api-specs/tree/master/specification/resources/resource-manager/Microsoft.Solutions/stable/2019-07-01/managedapplications.json +https://github.com/Azure/azure-rest-api-specs/tree/master/specification/solutions/resource-manager/Microsoft.Solutions/stable/2021-07-01/managedapplications.json diff --git a/docs/rules/azurerm_mssql_virtual_machine_invalid_sql_connectivity_type.md b/docs/rules/azurerm_mssql_virtual_machine_invalid_sql_connectivity_type.md index 535e8b07..7172dab1 100644 --- a/docs/rules/azurerm_mssql_virtual_machine_invalid_sql_connectivity_type.md +++ b/docs/rules/azurerm_mssql_virtual_machine_invalid_sql_connectivity_type.md @@ -42,4 +42,4 @@ Replace the warned value with a valid value. This rule is automatically generated from [azure-rest-api-specs](https://github.com/Azure/azure-rest-api-specs). If you are uncertain about the warning, check the following API schema referenced by this rule. -https://github.com/Azure/azure-rest-api-specs/tree/master/specification/sqlvirtualmachine/resource-manager/Microsoft.SqlVirtualMachine/stable/2022-02-01/sqlvm.json +https://github.com/Azure/azure-rest-api-specs/tree/master/specification/sqlvirtualmachine/resource-manager/Microsoft.SqlVirtualMachine/stable/2023-10-01/sqlvm.json diff --git a/docs/rules/azurerm_mssql_virtual_machine_invalid_sql_license_type.md b/docs/rules/azurerm_mssql_virtual_machine_invalid_sql_license_type.md index 56911b29..5583b3b9 100644 --- a/docs/rules/azurerm_mssql_virtual_machine_invalid_sql_license_type.md +++ b/docs/rules/azurerm_mssql_virtual_machine_invalid_sql_license_type.md @@ -42,4 +42,4 @@ Replace the warned value with a valid value. This rule is automatically generated from [azure-rest-api-specs](https://github.com/Azure/azure-rest-api-specs). If you are uncertain about the warning, check the following API schema referenced by this rule. -https://github.com/Azure/azure-rest-api-specs/tree/master/specification/sqlvirtualmachine/resource-manager/Microsoft.SqlVirtualMachine/stable/2022-02-01/sqlvm.json +https://github.com/Azure/azure-rest-api-specs/tree/master/specification/sqlvirtualmachine/resource-manager/Microsoft.SqlVirtualMachine/stable/2023-10-01/sqlvm.json diff --git a/docs/rules/azurerm_nat_gateway_invalid_sku_name.md b/docs/rules/azurerm_nat_gateway_invalid_sku_name.md index ecfaef6c..d5569096 100644 --- a/docs/rules/azurerm_nat_gateway_invalid_sku_name.md +++ b/docs/rules/azurerm_nat_gateway_invalid_sku_name.md @@ -40,4 +40,4 @@ Replace the warned value with a valid value. This rule is automatically generated from [azure-rest-api-specs](https://github.com/Azure/azure-rest-api-specs). If you are uncertain about the warning, check the following API schema referenced by this rule. -https://github.com/Azure/azure-rest-api-specs/tree/master/specification/network/resource-manager/Microsoft.Network/stable/2023-11-01/natGateway.json +https://github.com/Azure/azure-rest-api-specs/tree/master/specification/network/resource-manager/Microsoft.Network/stable/2024-05-01/natGateway.json diff --git a/docs/rules/azurerm_netapp_account_invalid_name.md b/docs/rules/azurerm_netapp_account_invalid_name.md index bf97df9f..c23f5594 100644 --- a/docs/rules/azurerm_netapp_account_invalid_name.md +++ b/docs/rules/azurerm_netapp_account_invalid_name.md @@ -39,4 +39,4 @@ Replace the warned value with a valid value. This rule is automatically generated from [azure-rest-api-specs](https://github.com/Azure/azure-rest-api-specs). If you are uncertain about the warning, check the following API schema referenced by this rule. -https://github.com/Azure/azure-rest-api-specs/tree/master/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-05-01/netapp.json +https://github.com/Azure/azure-rest-api-specs/tree/master/specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-03-01/netapp.json diff --git a/docs/rules/azurerm_netapp_pool_invalid_account_name.md b/docs/rules/azurerm_netapp_pool_invalid_account_name.md index e202bc43..c38d9632 100644 --- a/docs/rules/azurerm_netapp_pool_invalid_account_name.md +++ b/docs/rules/azurerm_netapp_pool_invalid_account_name.md @@ -39,4 +39,4 @@ Replace the warned value with a valid value. This rule is automatically generated from [azure-rest-api-specs](https://github.com/Azure/azure-rest-api-specs). If you are uncertain about the warning, check the following API schema referenced by this rule. -https://github.com/Azure/azure-rest-api-specs/tree/master/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-05-01/netapp.json +https://github.com/Azure/azure-rest-api-specs/tree/master/specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-03-01/netapp.json diff --git a/docs/rules/azurerm_netapp_pool_invalid_name.md b/docs/rules/azurerm_netapp_pool_invalid_name.md index 749b22a2..65a5720d 100644 --- a/docs/rules/azurerm_netapp_pool_invalid_name.md +++ b/docs/rules/azurerm_netapp_pool_invalid_name.md @@ -39,4 +39,4 @@ Replace the warned value with a valid value. This rule is automatically generated from [azure-rest-api-specs](https://github.com/Azure/azure-rest-api-specs). If you are uncertain about the warning, check the following API schema referenced by this rule. -https://github.com/Azure/azure-rest-api-specs/tree/master/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-05-01/netapp.json +https://github.com/Azure/azure-rest-api-specs/tree/master/specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-03-01/netapp.json diff --git a/docs/rules/azurerm_netapp_pool_invalid_service_level.md b/docs/rules/azurerm_netapp_pool_invalid_service_level.md index 09426ebf..4f3adc0a 100644 --- a/docs/rules/azurerm_netapp_pool_invalid_service_level.md +++ b/docs/rules/azurerm_netapp_pool_invalid_service_level.md @@ -43,4 +43,4 @@ Replace the warned value with a valid value. This rule is automatically generated from [azure-rest-api-specs](https://github.com/Azure/azure-rest-api-specs). If you are uncertain about the warning, check the following API schema referenced by this rule. -https://github.com/Azure/azure-rest-api-specs/tree/master/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-05-01/netapp.json +https://github.com/Azure/azure-rest-api-specs/tree/master/specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-03-01/netapp.json diff --git a/docs/rules/azurerm_netapp_snapshot_invalid_account_name.md b/docs/rules/azurerm_netapp_snapshot_invalid_account_name.md index ce30644d..9e1629c4 100644 --- a/docs/rules/azurerm_netapp_snapshot_invalid_account_name.md +++ b/docs/rules/azurerm_netapp_snapshot_invalid_account_name.md @@ -39,4 +39,4 @@ Replace the warned value with a valid value. This rule is automatically generated from [azure-rest-api-specs](https://github.com/Azure/azure-rest-api-specs). If you are uncertain about the warning, check the following API schema referenced by this rule. -https://github.com/Azure/azure-rest-api-specs/tree/master/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-05-01/netapp.json +https://github.com/Azure/azure-rest-api-specs/tree/master/specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-03-01/netapp.json diff --git a/docs/rules/azurerm_netapp_snapshot_invalid_pool_name.md b/docs/rules/azurerm_netapp_snapshot_invalid_pool_name.md index 99005ca7..42e3f605 100644 --- a/docs/rules/azurerm_netapp_snapshot_invalid_pool_name.md +++ b/docs/rules/azurerm_netapp_snapshot_invalid_pool_name.md @@ -39,4 +39,4 @@ Replace the warned value with a valid value. This rule is automatically generated from [azure-rest-api-specs](https://github.com/Azure/azure-rest-api-specs). If you are uncertain about the warning, check the following API schema referenced by this rule. -https://github.com/Azure/azure-rest-api-specs/tree/master/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-05-01/netapp.json +https://github.com/Azure/azure-rest-api-specs/tree/master/specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-03-01/netapp.json diff --git a/docs/rules/azurerm_netapp_snapshot_invalid_volume_name.md b/docs/rules/azurerm_netapp_snapshot_invalid_volume_name.md index db13b1f1..16d67921 100644 --- a/docs/rules/azurerm_netapp_snapshot_invalid_volume_name.md +++ b/docs/rules/azurerm_netapp_snapshot_invalid_volume_name.md @@ -39,4 +39,4 @@ Replace the warned value with a valid value. This rule is automatically generated from [azure-rest-api-specs](https://github.com/Azure/azure-rest-api-specs). If you are uncertain about the warning, check the following API schema referenced by this rule. -https://github.com/Azure/azure-rest-api-specs/tree/master/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-05-01/netapp.json +https://github.com/Azure/azure-rest-api-specs/tree/master/specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-03-01/netapp.json diff --git a/docs/rules/azurerm_netapp_volume_invalid_account_name.md b/docs/rules/azurerm_netapp_volume_invalid_account_name.md index 06983288..2e1b958a 100644 --- a/docs/rules/azurerm_netapp_volume_invalid_account_name.md +++ b/docs/rules/azurerm_netapp_volume_invalid_account_name.md @@ -39,4 +39,4 @@ Replace the warned value with a valid value. This rule is automatically generated from [azure-rest-api-specs](https://github.com/Azure/azure-rest-api-specs). If you are uncertain about the warning, check the following API schema referenced by this rule. -https://github.com/Azure/azure-rest-api-specs/tree/master/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-05-01/netapp.json +https://github.com/Azure/azure-rest-api-specs/tree/master/specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-03-01/netapp.json diff --git a/docs/rules/azurerm_netapp_volume_invalid_name.md b/docs/rules/azurerm_netapp_volume_invalid_name.md index 231a8ae1..81933e86 100644 --- a/docs/rules/azurerm_netapp_volume_invalid_name.md +++ b/docs/rules/azurerm_netapp_volume_invalid_name.md @@ -39,4 +39,4 @@ Replace the warned value with a valid value. This rule is automatically generated from [azure-rest-api-specs](https://github.com/Azure/azure-rest-api-specs). If you are uncertain about the warning, check the following API schema referenced by this rule. -https://github.com/Azure/azure-rest-api-specs/tree/master/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-05-01/netapp.json +https://github.com/Azure/azure-rest-api-specs/tree/master/specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-03-01/netapp.json diff --git a/docs/rules/azurerm_netapp_volume_invalid_pool_name.md b/docs/rules/azurerm_netapp_volume_invalid_pool_name.md index cb36ce74..bb59cc76 100644 --- a/docs/rules/azurerm_netapp_volume_invalid_pool_name.md +++ b/docs/rules/azurerm_netapp_volume_invalid_pool_name.md @@ -39,4 +39,4 @@ Replace the warned value with a valid value. This rule is automatically generated from [azure-rest-api-specs](https://github.com/Azure/azure-rest-api-specs). If you are uncertain about the warning, check the following API schema referenced by this rule. -https://github.com/Azure/azure-rest-api-specs/tree/master/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-05-01/netapp.json +https://github.com/Azure/azure-rest-api-specs/tree/master/specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-03-01/netapp.json diff --git a/docs/rules/azurerm_netapp_volume_invalid_service_level.md b/docs/rules/azurerm_netapp_volume_invalid_service_level.md index f0b1807e..deb3af15 100644 --- a/docs/rules/azurerm_netapp_volume_invalid_service_level.md +++ b/docs/rules/azurerm_netapp_volume_invalid_service_level.md @@ -43,4 +43,4 @@ Replace the warned value with a valid value. This rule is automatically generated from [azure-rest-api-specs](https://github.com/Azure/azure-rest-api-specs). If you are uncertain about the warning, check the following API schema referenced by this rule. -https://github.com/Azure/azure-rest-api-specs/tree/master/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-05-01/netapp.json +https://github.com/Azure/azure-rest-api-specs/tree/master/specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-03-01/netapp.json diff --git a/docs/rules/azurerm_network_packet_capture_invalid_maximum_capture_duration.md b/docs/rules/azurerm_network_packet_capture_invalid_maximum_capture_duration.md index 03f835f5..4177fd22 100644 --- a/docs/rules/azurerm_network_packet_capture_invalid_maximum_capture_duration.md +++ b/docs/rules/azurerm_network_packet_capture_invalid_maximum_capture_duration.md @@ -39,4 +39,4 @@ Replace the warned value with a valid value. This rule is automatically generated from [azure-rest-api-specs](https://github.com/Azure/azure-rest-api-specs). If you are uncertain about the warning, check the following API schema referenced by this rule. -https://github.com/Azure/azure-rest-api-specs/tree/master/specification/network/resource-manager/Microsoft.Network/stable/2023-11-01/networkWatcher.json +https://github.com/Azure/azure-rest-api-specs/tree/master/specification/network/resource-manager/Microsoft.Network/stable/2024-05-01/networkWatcher.json diff --git a/docs/rules/azurerm_network_security_rule_invalid_access.md b/docs/rules/azurerm_network_security_rule_invalid_access.md index 61314111..9094ad92 100644 --- a/docs/rules/azurerm_network_security_rule_invalid_access.md +++ b/docs/rules/azurerm_network_security_rule_invalid_access.md @@ -41,4 +41,4 @@ Replace the warned value with a valid value. This rule is automatically generated from [azure-rest-api-specs](https://github.com/Azure/azure-rest-api-specs). If you are uncertain about the warning, check the following API schema referenced by this rule. -https://github.com/Azure/azure-rest-api-specs/tree/master/specification/network/resource-manager/Microsoft.Network/stable/2023-11-01/networkSecurityGroup.json +https://github.com/Azure/azure-rest-api-specs/tree/master/specification/network/resource-manager/Microsoft.Network/stable/2024-05-01/networkSecurityGroup.json diff --git a/docs/rules/azurerm_network_security_rule_invalid_direction.md b/docs/rules/azurerm_network_security_rule_invalid_direction.md index 7bc0d68a..b04ba7a9 100644 --- a/docs/rules/azurerm_network_security_rule_invalid_direction.md +++ b/docs/rules/azurerm_network_security_rule_invalid_direction.md @@ -41,4 +41,4 @@ Replace the warned value with a valid value. This rule is automatically generated from [azure-rest-api-specs](https://github.com/Azure/azure-rest-api-specs). If you are uncertain about the warning, check the following API schema referenced by this rule. -https://github.com/Azure/azure-rest-api-specs/tree/master/specification/network/resource-manager/Microsoft.Network/stable/2023-11-01/networkSecurityGroup.json +https://github.com/Azure/azure-rest-api-specs/tree/master/specification/network/resource-manager/Microsoft.Network/stable/2024-05-01/networkSecurityGroup.json diff --git a/docs/rules/azurerm_network_security_rule_invalid_protocol.md b/docs/rules/azurerm_network_security_rule_invalid_protocol.md index 362c406e..d491a955 100644 --- a/docs/rules/azurerm_network_security_rule_invalid_protocol.md +++ b/docs/rules/azurerm_network_security_rule_invalid_protocol.md @@ -45,4 +45,4 @@ Replace the warned value with a valid value. This rule is automatically generated from [azure-rest-api-specs](https://github.com/Azure/azure-rest-api-specs). If you are uncertain about the warning, check the following API schema referenced by this rule. -https://github.com/Azure/azure-rest-api-specs/tree/master/specification/network/resource-manager/Microsoft.Network/stable/2023-11-01/networkSecurityGroup.json +https://github.com/Azure/azure-rest-api-specs/tree/master/specification/network/resource-manager/Microsoft.Network/stable/2024-05-01/networkSecurityGroup.json diff --git a/docs/rules/azurerm_notification_hub_namespace_invalid_namespace_type.md b/docs/rules/azurerm_notification_hub_namespace_invalid_namespace_type.md index 9ab8a107..c3bfdf75 100644 --- a/docs/rules/azurerm_notification_hub_namespace_invalid_namespace_type.md +++ b/docs/rules/azurerm_notification_hub_namespace_invalid_namespace_type.md @@ -41,4 +41,4 @@ Replace the warned value with a valid value. This rule is automatically generated from [azure-rest-api-specs](https://github.com/Azure/azure-rest-api-specs). If you are uncertain about the warning, check the following API schema referenced by this rule. -https://github.com/Azure/azure-rest-api-specs/tree/master/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/stable/2017-04-01/notificationhubs.json +https://github.com/Azure/azure-rest-api-specs/tree/master/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/stable/2023-09-01/notificationhubs.json diff --git a/docs/rules/azurerm_notification_hub_namespace_invalid_sku_name.md b/docs/rules/azurerm_notification_hub_namespace_invalid_sku_name.md index c0194144..f8e72d10 100644 --- a/docs/rules/azurerm_notification_hub_namespace_invalid_sku_name.md +++ b/docs/rules/azurerm_notification_hub_namespace_invalid_sku_name.md @@ -42,4 +42,4 @@ Replace the warned value with a valid value. This rule is automatically generated from [azure-rest-api-specs](https://github.com/Azure/azure-rest-api-specs). If you are uncertain about the warning, check the following API schema referenced by this rule. -https://github.com/Azure/azure-rest-api-specs/tree/master/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/stable/2017-04-01/notificationhubs.json +https://github.com/Azure/azure-rest-api-specs/tree/master/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/stable/2023-09-01/notificationhubs.json diff --git a/docs/rules/azurerm_public_ip_prefix_invalid_sku.md b/docs/rules/azurerm_public_ip_prefix_invalid_sku.md index bd5b7458..b508e314 100644 --- a/docs/rules/azurerm_public_ip_prefix_invalid_sku.md +++ b/docs/rules/azurerm_public_ip_prefix_invalid_sku.md @@ -40,4 +40,4 @@ Replace the warned value with a valid value. This rule is automatically generated from [azure-rest-api-specs](https://github.com/Azure/azure-rest-api-specs). If you are uncertain about the warning, check the following API schema referenced by this rule. -https://github.com/Azure/azure-rest-api-specs/tree/master/specification/network/resource-manager/Microsoft.Network/stable/2023-11-01/publicIpPrefix.json +https://github.com/Azure/azure-rest-api-specs/tree/master/specification/network/resource-manager/Microsoft.Network/stable/2024-05-01/publicIpPrefix.json diff --git a/docs/rules/azurerm_recovery_services_vault_invalid_sku.md b/docs/rules/azurerm_recovery_services_vault_invalid_sku.md index 0249b172..bd903f77 100644 --- a/docs/rules/azurerm_recovery_services_vault_invalid_sku.md +++ b/docs/rules/azurerm_recovery_services_vault_invalid_sku.md @@ -41,4 +41,4 @@ Replace the warned value with a valid value. This rule is automatically generated from [azure-rest-api-specs](https://github.com/Azure/azure-rest-api-specs). If you are uncertain about the warning, check the following API schema referenced by this rule. -https://github.com/Azure/azure-rest-api-specs/tree/master/specification/recoveryservices/resource-manager/Microsoft.RecoveryServices/stable/2024-01-01/vaults.json +https://github.com/Azure/azure-rest-api-specs/tree/master/specification/recoveryservices/resource-manager/Microsoft.RecoveryServices/stable/2023-02-01/vaults.json diff --git a/docs/rules/azurerm_redis_cache_invalid_family.md b/docs/rules/azurerm_redis_cache_invalid_family.md index ece7662e..c3e57cc0 100644 --- a/docs/rules/azurerm_redis_cache_invalid_family.md +++ b/docs/rules/azurerm_redis_cache_invalid_family.md @@ -41,4 +41,4 @@ Replace the warned value with a valid value. This rule is automatically generated from [azure-rest-api-specs](https://github.com/Azure/azure-rest-api-specs). If you are uncertain about the warning, check the following API schema referenced by this rule. -https://github.com/Azure/azure-rest-api-specs/tree/master/specification/redis/resource-manager/Microsoft.Cache/stable/2023-08-01/redis.json +https://github.com/Azure/azure-rest-api-specs/tree/master/specification/redis/resource-manager/Microsoft.Cache/stable/2024-11-01/redis.json diff --git a/docs/rules/azurerm_redis_cache_invalid_minimum_tls_version.md b/docs/rules/azurerm_redis_cache_invalid_minimum_tls_version.md index 97916286..49514d0a 100644 --- a/docs/rules/azurerm_redis_cache_invalid_minimum_tls_version.md +++ b/docs/rules/azurerm_redis_cache_invalid_minimum_tls_version.md @@ -42,4 +42,4 @@ Replace the warned value with a valid value. This rule is automatically generated from [azure-rest-api-specs](https://github.com/Azure/azure-rest-api-specs). If you are uncertain about the warning, check the following API schema referenced by this rule. -https://github.com/Azure/azure-rest-api-specs/tree/master/specification/redis/resource-manager/Microsoft.Cache/stable/2023-08-01/redis.json +https://github.com/Azure/azure-rest-api-specs/tree/master/specification/redis/resource-manager/Microsoft.Cache/stable/2024-11-01/redis.json diff --git a/docs/rules/azurerm_redis_cache_invalid_private_static_ip_address.md b/docs/rules/azurerm_redis_cache_invalid_private_static_ip_address.md index d5c25ebd..ab49480e 100644 --- a/docs/rules/azurerm_redis_cache_invalid_private_static_ip_address.md +++ b/docs/rules/azurerm_redis_cache_invalid_private_static_ip_address.md @@ -39,4 +39,4 @@ Replace the warned value with a valid value. This rule is automatically generated from [azure-rest-api-specs](https://github.com/Azure/azure-rest-api-specs). If you are uncertain about the warning, check the following API schema referenced by this rule. -https://github.com/Azure/azure-rest-api-specs/tree/master/specification/redis/resource-manager/Microsoft.Cache/stable/2023-08-01/redis.json +https://github.com/Azure/azure-rest-api-specs/tree/master/specification/redis/resource-manager/Microsoft.Cache/stable/2024-11-01/redis.json diff --git a/docs/rules/azurerm_redis_cache_invalid_sku_name.md b/docs/rules/azurerm_redis_cache_invalid_sku_name.md index 8c814c1d..be868ae7 100644 --- a/docs/rules/azurerm_redis_cache_invalid_sku_name.md +++ b/docs/rules/azurerm_redis_cache_invalid_sku_name.md @@ -42,4 +42,4 @@ Replace the warned value with a valid value. This rule is automatically generated from [azure-rest-api-specs](https://github.com/Azure/azure-rest-api-specs). If you are uncertain about the warning, check the following API schema referenced by this rule. -https://github.com/Azure/azure-rest-api-specs/tree/master/specification/redis/resource-manager/Microsoft.Cache/stable/2023-08-01/redis.json +https://github.com/Azure/azure-rest-api-specs/tree/master/specification/redis/resource-manager/Microsoft.Cache/stable/2024-11-01/redis.json diff --git a/docs/rules/azurerm_redis_cache_invalid_subnet_id.md b/docs/rules/azurerm_redis_cache_invalid_subnet_id.md index 4785cb40..0d8426d0 100644 --- a/docs/rules/azurerm_redis_cache_invalid_subnet_id.md +++ b/docs/rules/azurerm_redis_cache_invalid_subnet_id.md @@ -39,4 +39,4 @@ Replace the warned value with a valid value. This rule is automatically generated from [azure-rest-api-specs](https://github.com/Azure/azure-rest-api-specs). If you are uncertain about the warning, check the following API schema referenced by this rule. -https://github.com/Azure/azure-rest-api-specs/tree/master/specification/redis/resource-manager/Microsoft.Cache/stable/2023-08-01/redis.json +https://github.com/Azure/azure-rest-api-specs/tree/master/specification/redis/resource-manager/Microsoft.Cache/stable/2024-11-01/redis.json diff --git a/docs/rules/azurerm_route_invalid_next_hop_type.md b/docs/rules/azurerm_route_invalid_next_hop_type.md index 75285233..1f117aef 100644 --- a/docs/rules/azurerm_route_invalid_next_hop_type.md +++ b/docs/rules/azurerm_route_invalid_next_hop_type.md @@ -44,4 +44,4 @@ Replace the warned value with a valid value. This rule is automatically generated from [azure-rest-api-specs](https://github.com/Azure/azure-rest-api-specs). If you are uncertain about the warning, check the following API schema referenced by this rule. -https://github.com/Azure/azure-rest-api-specs/tree/master/specification/network/resource-manager/Microsoft.Network/stable/2023-11-01/routeTable.json +https://github.com/Azure/azure-rest-api-specs/tree/master/specification/network/resource-manager/Microsoft.Network/stable/2024-05-01/routeTable.json diff --git a/docs/rules/azurerm_search_service_invalid_partition_count.md b/docs/rules/azurerm_search_service_invalid_partition_count.md index 7831b8ee..91adaa01 100644 --- a/docs/rules/azurerm_search_service_invalid_partition_count.md +++ b/docs/rules/azurerm_search_service_invalid_partition_count.md @@ -39,4 +39,4 @@ Replace the warned value with a valid value. This rule is automatically generated from [azure-rest-api-specs](https://github.com/Azure/azure-rest-api-specs). If you are uncertain about the warning, check the following API schema referenced by this rule. -https://github.com/Azure/azure-rest-api-specs/tree/master/specification/search/resource-manager/Microsoft.Search/stable/2023-11-01/search.json +https://github.com/Azure/azure-rest-api-specs/tree/master/specification/search/resource-manager/Microsoft.Search/preview/2024-06-01-preview/search.json diff --git a/docs/rules/azurerm_search_service_invalid_replica_count.md b/docs/rules/azurerm_search_service_invalid_replica_count.md index 6d2a0a58..d5b4303f 100644 --- a/docs/rules/azurerm_search_service_invalid_replica_count.md +++ b/docs/rules/azurerm_search_service_invalid_replica_count.md @@ -39,4 +39,4 @@ Replace the warned value with a valid value. This rule is automatically generated from [azure-rest-api-specs](https://github.com/Azure/azure-rest-api-specs). If you are uncertain about the warning, check the following API schema referenced by this rule. -https://github.com/Azure/azure-rest-api-specs/tree/master/specification/search/resource-manager/Microsoft.Search/stable/2023-11-01/search.json +https://github.com/Azure/azure-rest-api-specs/tree/master/specification/search/resource-manager/Microsoft.Search/preview/2024-06-01-preview/search.json diff --git a/docs/rules/azurerm_search_service_invalid_sku.md b/docs/rules/azurerm_search_service_invalid_sku.md index fc3fe2e6..f5ea4fc4 100644 --- a/docs/rules/azurerm_search_service_invalid_sku.md +++ b/docs/rules/azurerm_search_service_invalid_sku.md @@ -46,4 +46,4 @@ Replace the warned value with a valid value. This rule is automatically generated from [azure-rest-api-specs](https://github.com/Azure/azure-rest-api-specs). If you are uncertain about the warning, check the following API schema referenced by this rule. -https://github.com/Azure/azure-rest-api-specs/tree/master/specification/search/resource-manager/Microsoft.Search/stable/2023-11-01/search.json +https://github.com/Azure/azure-rest-api-specs/tree/master/specification/search/resource-manager/Microsoft.Search/preview/2024-06-01-preview/search.json diff --git a/docs/rules/azurerm_sentinel_alert_rule_ms_security_incident_invalid_product_filter.md b/docs/rules/azurerm_sentinel_alert_rule_ms_security_incident_invalid_product_filter.md index 543cb356..02f8d9be 100644 --- a/docs/rules/azurerm_sentinel_alert_rule_ms_security_incident_invalid_product_filter.md +++ b/docs/rules/azurerm_sentinel_alert_rule_ms_security_incident_invalid_product_filter.md @@ -46,4 +46,4 @@ Replace the warned value with a valid value. This rule is automatically generated from [azure-rest-api-specs](https://github.com/Azure/azure-rest-api-specs). If you are uncertain about the warning, check the following API schema referenced by this rule. -https://github.com/Azure/azure-rest-api-specs/tree/master/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2022-10-01-preview/AlertRules.json +https://github.com/Azure/azure-rest-api-specs/tree/master/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2023-12-01-preview/AlertRules.json diff --git a/docs/rules/azurerm_servicebus_subscription_rule_invalid_filter_type.md b/docs/rules/azurerm_servicebus_subscription_rule_invalid_filter_type.md index cc9e4d4a..a48d5f7f 100644 --- a/docs/rules/azurerm_servicebus_subscription_rule_invalid_filter_type.md +++ b/docs/rules/azurerm_servicebus_subscription_rule_invalid_filter_type.md @@ -41,4 +41,4 @@ Replace the warned value with a valid value. This rule is automatically generated from [azure-rest-api-specs](https://github.com/Azure/azure-rest-api-specs). If you are uncertain about the warning, check the following API schema referenced by this rule. -https://github.com/Azure/azure-rest-api-specs/tree/master/specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2022-10-01-preview/Rules.json +https://github.com/Azure/azure-rest-api-specs/tree/master/specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2021-06-01-preview/Rules.json diff --git a/docs/rules/azurerm_databricks_workspace_invalid_resource_group_name.md b/docs/rules/azurerm_signalr_service_invalid_name.md similarity index 58% rename from docs/rules/azurerm_databricks_workspace_invalid_resource_group_name.md rename to docs/rules/azurerm_signalr_service_invalid_name.md index a3981d70..3bf11106 100644 --- a/docs/rules/azurerm_databricks_workspace_invalid_resource_group_name.md +++ b/docs/rules/azurerm_signalr_service_invalid_name.md @@ -1,16 +1,16 @@ -# azurerm_databricks_workspace_invalid_resource_group_name +# azurerm_signalr_service_invalid_name Warns about values that appear to be invalid based on [azure-rest-api-specs](https://github.com/Azure/azure-rest-api-specs). -In this rule, the string must match the regular expression `^[-\w\._\(\)]+$``. +In this rule, the string must match the regular expression `^[a-zA-Z][a-zA-Z0-9-]{1,61}[a-zA-Z0-9]$``. ## Example ```hcl -resource "azurerm_databricks_workspace" "foo" { - resource_group_name = ... // invalid value +resource "azurerm_signalr_service" "foo" { + name = ... // invalid value } ``` @@ -18,12 +18,12 @@ resource "azurerm_databricks_workspace" "foo" { $ tflint 1 issue(s) found: -Error: "..." does not match valid pattern ^[-\w\._\(\)]+$ (azurerm_databricks_workspace_invalid_resource_group_name) +Error: "..." does not match valid pattern ^[a-zA-Z][a-zA-Z0-9-]{1,61}[a-zA-Z0-9]$ (azurerm_signalr_service_invalid_name) on template.tf line 2: - 2: resource_group_name = ... // invalid value + 2: name = ... // invalid value -Reference: https://github.com/terraform-linters/tflint-ruleset-azurerm/blob/v0.1.0/docs/rules/azurerm_databricks_workspace_invalid_resource_group_name.md +Reference: https://github.com/terraform-linters/tflint-ruleset-azurerm/blob/v0.1.0/docs/rules/azurerm_signalr_service_invalid_name.md ``` @@ -39,4 +39,4 @@ Replace the warned value with a valid value. This rule is automatically generated from [azure-rest-api-specs](https://github.com/Azure/azure-rest-api-specs). If you are uncertain about the warning, check the following API schema referenced by this rule. -https://github.com/Azure/azure-rest-api-specs/tree/master/specification/databricks/resource-manager/Microsoft.Databricks/stable/2023-02-01/databricks.json +https://github.com/Azure/azure-rest-api-specs/tree/master/specification/signalr/resource-manager/Microsoft.SignalRService/stable/2024-03-01/signalr.json diff --git a/docs/rules/azurerm_storage_account_invalid_access_tier.md b/docs/rules/azurerm_storage_account_invalid_access_tier.md index 1c4faec7..a3ac46ec 100644 --- a/docs/rules/azurerm_storage_account_invalid_access_tier.md +++ b/docs/rules/azurerm_storage_account_invalid_access_tier.md @@ -8,6 +8,7 @@ Allowed values are: - Hot - Cool - Premium +- Cold ## Example @@ -42,4 +43,4 @@ Replace the warned value with a valid value. This rule is automatically generated from [azure-rest-api-specs](https://github.com/Azure/azure-rest-api-specs). If you are uncertain about the warning, check the following API schema referenced by this rule. -https://github.com/Azure/azure-rest-api-specs/tree/master/specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/storage.json +https://github.com/Azure/azure-rest-api-specs/tree/master/specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/storage.json diff --git a/docs/rules/azurerm_storage_account_invalid_account_kind.md b/docs/rules/azurerm_storage_account_invalid_account_kind.md index 46d79018..62c33b88 100644 --- a/docs/rules/azurerm_storage_account_invalid_account_kind.md +++ b/docs/rules/azurerm_storage_account_invalid_account_kind.md @@ -44,4 +44,4 @@ Replace the warned value with a valid value. This rule is automatically generated from [azure-rest-api-specs](https://github.com/Azure/azure-rest-api-specs). If you are uncertain about the warning, check the following API schema referenced by this rule. -https://github.com/Azure/azure-rest-api-specs/tree/master/specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/storage.json +https://github.com/Azure/azure-rest-api-specs/tree/master/specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/storage.json diff --git a/docs/rules/azurerm_storage_account_invalid_name.md b/docs/rules/azurerm_storage_account_invalid_name.md new file mode 100644 index 00000000..5d72a3f0 --- /dev/null +++ b/docs/rules/azurerm_storage_account_invalid_name.md @@ -0,0 +1,42 @@ + + +# azurerm_storage_account_invalid_name + +Warns about values that appear to be invalid based on [azure-rest-api-specs](https://github.com/Azure/azure-rest-api-specs). + +In this rule, the string must match the regular expression `^[a-z0-9]+$``. + +## Example + +```hcl +resource "azurerm_storage_account" "foo" { + name = ... // invalid value +} +``` + +``` +$ tflint +1 issue(s) found: + +Error: "..." does not match valid pattern ^[a-z0-9]+$ (azurerm_storage_account_invalid_name) + + on template.tf line 2: + 2: name = ... // invalid value + +Reference: https://github.com/terraform-linters/tflint-ruleset-azurerm/blob/v0.1.0/docs/rules/azurerm_storage_account_invalid_name.md + +``` + +## Why + +Requests containing invalid values will return an error when calling the API by `terraform apply`. + +## How to Fix + +Replace the warned value with a valid value. + +## Source + +This rule is automatically generated from [azure-rest-api-specs](https://github.com/Azure/azure-rest-api-specs). If you are uncertain about the warning, check the following API schema referenced by this rule. + +https://github.com/Azure/azure-rest-api-specs/tree/master/specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/storage.json diff --git a/docs/rules/azurerm_storage_account_invalid_resource_group_name.md b/docs/rules/azurerm_storage_account_invalid_resource_group_name.md index c4bc7a60..acce7ada 100644 --- a/docs/rules/azurerm_storage_account_invalid_resource_group_name.md +++ b/docs/rules/azurerm_storage_account_invalid_resource_group_name.md @@ -39,4 +39,4 @@ Replace the warned value with a valid value. This rule is automatically generated from [azure-rest-api-specs](https://github.com/Azure/azure-rest-api-specs). If you are uncertain about the warning, check the following API schema referenced by this rule. -https://github.com/Azure/azure-rest-api-specs/tree/master/specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/storage.json +https://github.com/Azure/azure-rest-api-specs/tree/master/specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/storage.json diff --git a/docs/rules/azurerm_virtual_machine_scale_set_invalid_eviction_policy.md b/docs/rules/azurerm_virtual_machine_scale_set_invalid_eviction_policy.md index e6d33369..ee6adc87 100644 --- a/docs/rules/azurerm_virtual_machine_scale_set_invalid_eviction_policy.md +++ b/docs/rules/azurerm_virtual_machine_scale_set_invalid_eviction_policy.md @@ -41,4 +41,4 @@ Replace the warned value with a valid value. This rule is automatically generated from [azure-rest-api-specs](https://github.com/Azure/azure-rest-api-specs). If you are uncertain about the warning, check the following API schema referenced by this rule. -https://github.com/Azure/azure-rest-api-specs/tree/master/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/computeRPCommon.json +https://github.com/Azure/azure-rest-api-specs/tree/master/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/computeRPCommon.json diff --git a/docs/rules/azurerm_virtual_machine_scale_set_invalid_priority.md b/docs/rules/azurerm_virtual_machine_scale_set_invalid_priority.md index 34bb7cdb..715900db 100644 --- a/docs/rules/azurerm_virtual_machine_scale_set_invalid_priority.md +++ b/docs/rules/azurerm_virtual_machine_scale_set_invalid_priority.md @@ -42,4 +42,4 @@ Replace the warned value with a valid value. This rule is automatically generated from [azure-rest-api-specs](https://github.com/Azure/azure-rest-api-specs). If you are uncertain about the warning, check the following API schema referenced by this rule. -https://github.com/Azure/azure-rest-api-specs/tree/master/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/computeRPCommon.json +https://github.com/Azure/azure-rest-api-specs/tree/master/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/computeRPCommon.json diff --git a/docs/rules/azurerm_virtual_network_gateway_connection_invalid_connection_protocol.md b/docs/rules/azurerm_virtual_network_gateway_connection_invalid_connection_protocol.md index f9da21ea..8217f72b 100644 --- a/docs/rules/azurerm_virtual_network_gateway_connection_invalid_connection_protocol.md +++ b/docs/rules/azurerm_virtual_network_gateway_connection_invalid_connection_protocol.md @@ -41,4 +41,4 @@ Replace the warned value with a valid value. This rule is automatically generated from [azure-rest-api-specs](https://github.com/Azure/azure-rest-api-specs). If you are uncertain about the warning, check the following API schema referenced by this rule. -https://github.com/Azure/azure-rest-api-specs/tree/master/specification/network/resource-manager/Microsoft.Network/stable/2023-11-01/virtualNetworkGateway.json +https://github.com/Azure/azure-rest-api-specs/tree/master/specification/network/resource-manager/Microsoft.Network/stable/2024-05-01/virtualNetworkGateway.json diff --git a/docs/rules/azurerm_virtual_network_gateway_connection_invalid_type.md b/docs/rules/azurerm_virtual_network_gateway_connection_invalid_type.md index b9f6fa3f..1038175b 100644 --- a/docs/rules/azurerm_virtual_network_gateway_connection_invalid_type.md +++ b/docs/rules/azurerm_virtual_network_gateway_connection_invalid_type.md @@ -43,4 +43,4 @@ Replace the warned value with a valid value. This rule is automatically generated from [azure-rest-api-specs](https://github.com/Azure/azure-rest-api-specs). If you are uncertain about the warning, check the following API schema referenced by this rule. -https://github.com/Azure/azure-rest-api-specs/tree/master/specification/network/resource-manager/Microsoft.Network/stable/2023-11-01/virtualNetworkGateway.json +https://github.com/Azure/azure-rest-api-specs/tree/master/specification/network/resource-manager/Microsoft.Network/stable/2024-05-01/virtualNetworkGateway.json diff --git a/docs/rules/azurerm_virtual_network_gateway_invalid_generation.md b/docs/rules/azurerm_virtual_network_gateway_invalid_generation.md index e7f38c11..d3e0f7c5 100644 --- a/docs/rules/azurerm_virtual_network_gateway_invalid_generation.md +++ b/docs/rules/azurerm_virtual_network_gateway_invalid_generation.md @@ -42,4 +42,4 @@ Replace the warned value with a valid value. This rule is automatically generated from [azure-rest-api-specs](https://github.com/Azure/azure-rest-api-specs). If you are uncertain about the warning, check the following API schema referenced by this rule. -https://github.com/Azure/azure-rest-api-specs/tree/master/specification/network/resource-manager/Microsoft.Network/stable/2023-11-01/virtualNetworkGateway.json +https://github.com/Azure/azure-rest-api-specs/tree/master/specification/network/resource-manager/Microsoft.Network/stable/2024-05-01/virtualNetworkGateway.json diff --git a/docs/rules/azurerm_virtual_network_gateway_invalid_sku.md b/docs/rules/azurerm_virtual_network_gateway_invalid_sku.md index 33eb3dd8..45eb5823 100644 --- a/docs/rules/azurerm_virtual_network_gateway_invalid_sku.md +++ b/docs/rules/azurerm_virtual_network_gateway_invalid_sku.md @@ -57,4 +57,4 @@ Replace the warned value with a valid value. This rule is automatically generated from [azure-rest-api-specs](https://github.com/Azure/azure-rest-api-specs). If you are uncertain about the warning, check the following API schema referenced by this rule. -https://github.com/Azure/azure-rest-api-specs/tree/master/specification/network/resource-manager/Microsoft.Network/stable/2023-11-01/virtualNetworkGateway.json +https://github.com/Azure/azure-rest-api-specs/tree/master/specification/network/resource-manager/Microsoft.Network/stable/2024-05-01/virtualNetworkGateway.json diff --git a/docs/rules/azurerm_virtual_network_gateway_invalid_type.md b/docs/rules/azurerm_virtual_network_gateway_invalid_type.md index f921ce83..4bd180f1 100644 --- a/docs/rules/azurerm_virtual_network_gateway_invalid_type.md +++ b/docs/rules/azurerm_virtual_network_gateway_invalid_type.md @@ -42,4 +42,4 @@ Replace the warned value with a valid value. This rule is automatically generated from [azure-rest-api-specs](https://github.com/Azure/azure-rest-api-specs). If you are uncertain about the warning, check the following API schema referenced by this rule. -https://github.com/Azure/azure-rest-api-specs/tree/master/specification/network/resource-manager/Microsoft.Network/stable/2023-11-01/virtualNetworkGateway.json +https://github.com/Azure/azure-rest-api-specs/tree/master/specification/network/resource-manager/Microsoft.Network/stable/2024-05-01/virtualNetworkGateway.json diff --git a/docs/rules/azurerm_virtual_network_gateway_invalid_vpn_type.md b/docs/rules/azurerm_virtual_network_gateway_invalid_vpn_type.md index 083acd68..28a84563 100644 --- a/docs/rules/azurerm_virtual_network_gateway_invalid_vpn_type.md +++ b/docs/rules/azurerm_virtual_network_gateway_invalid_vpn_type.md @@ -41,4 +41,4 @@ Replace the warned value with a valid value. This rule is automatically generated from [azure-rest-api-specs](https://github.com/Azure/azure-rest-api-specs). If you are uncertain about the warning, check the following API schema referenced by this rule. -https://github.com/Azure/azure-rest-api-specs/tree/master/specification/network/resource-manager/Microsoft.Network/stable/2023-11-01/virtualNetworkGateway.json +https://github.com/Azure/azure-rest-api-specs/tree/master/specification/network/resource-manager/Microsoft.Network/stable/2024-05-01/virtualNetworkGateway.json diff --git a/docs/rules/azurerm_virtual_wan_invalid_office365_local_breakout_category.md b/docs/rules/azurerm_virtual_wan_invalid_office365_local_breakout_category.md index 772b759b..fb1a5ae8 100644 --- a/docs/rules/azurerm_virtual_wan_invalid_office365_local_breakout_category.md +++ b/docs/rules/azurerm_virtual_wan_invalid_office365_local_breakout_category.md @@ -43,4 +43,4 @@ Replace the warned value with a valid value. This rule is automatically generated from [azure-rest-api-specs](https://github.com/Azure/azure-rest-api-specs). If you are uncertain about the warning, check the following API schema referenced by this rule. -https://github.com/Azure/azure-rest-api-specs/tree/master/specification/network/resource-manager/Microsoft.Network/stable/2023-11-01/virtualWan.json +https://github.com/Azure/azure-rest-api-specs/tree/master/specification/network/resource-manager/Microsoft.Network/stable/2024-05-01/virtualWan.json diff --git a/docs/rules/azurerm_windows_virtual_machine_scale_set_invalid_eviction_policy.md b/docs/rules/azurerm_windows_virtual_machine_scale_set_invalid_eviction_policy.md index debae0d5..4e437e61 100644 --- a/docs/rules/azurerm_windows_virtual_machine_scale_set_invalid_eviction_policy.md +++ b/docs/rules/azurerm_windows_virtual_machine_scale_set_invalid_eviction_policy.md @@ -41,4 +41,4 @@ Replace the warned value with a valid value. This rule is automatically generated from [azure-rest-api-specs](https://github.com/Azure/azure-rest-api-specs). If you are uncertain about the warning, check the following API schema referenced by this rule. -https://github.com/Azure/azure-rest-api-specs/tree/master/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/computeRPCommon.json +https://github.com/Azure/azure-rest-api-specs/tree/master/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/computeRPCommon.json diff --git a/docs/rules/azurerm_windows_virtual_machine_scale_set_invalid_priority.md b/docs/rules/azurerm_windows_virtual_machine_scale_set_invalid_priority.md index eaa21ae4..517c7651 100644 --- a/docs/rules/azurerm_windows_virtual_machine_scale_set_invalid_priority.md +++ b/docs/rules/azurerm_windows_virtual_machine_scale_set_invalid_priority.md @@ -42,4 +42,4 @@ Replace the warned value with a valid value. This rule is automatically generated from [azure-rest-api-specs](https://github.com/Azure/azure-rest-api-specs). If you are uncertain about the warning, check the following API schema referenced by this rule. -https://github.com/Azure/azure-rest-api-specs/tree/master/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/computeRPCommon.json +https://github.com/Azure/azure-rest-api-specs/tree/master/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/computeRPCommon.json diff --git a/rules/apispec/azurerm_key_vault_key_invalid_curve.go b/rules/apispec/azurerm_key_vault_key_invalid_curve.go index 8bfdfe04..d3bcf883 100644 --- a/rules/apispec/azurerm_key_vault_key_invalid_curve.go +++ b/rules/apispec/azurerm_key_vault_key_invalid_curve.go @@ -28,7 +28,7 @@ func NewAzurermKeyVaultKeyInvalidCurveRule() *AzurermKeyVaultKeyInvalidCurveRule "P-256", "P-384", "P-521", - "SECP256K1", + "P-256K", }, } } diff --git a/rules/apispec/azurerm_key_vault_key_invalid_key_type.go b/rules/apispec/azurerm_key_vault_key_invalid_key_type.go index 3c533bc4..5546e24c 100644 --- a/rules/apispec/azurerm_key_vault_key_invalid_key_type.go +++ b/rules/apispec/azurerm_key_vault_key_invalid_key_type.go @@ -30,6 +30,7 @@ func NewAzurermKeyVaultKeyInvalidKeyTypeRule() *AzurermKeyVaultKeyInvalidKeyType "RSA", "RSA-HSM", "oct", + "oct-HSM", }, } } diff --git a/rules/apispec/azurerm_databricks_workspace_invalid_resource_group_name.go b/rules/apispec/azurerm_machine_learning_workspace_invalid_name.go similarity index 54% rename from rules/apispec/azurerm_databricks_workspace_invalid_resource_group_name.go rename to rules/apispec/azurerm_machine_learning_workspace_invalid_name.go index 30ea0048..387603af 100644 --- a/rules/apispec/azurerm_databricks_workspace_invalid_resource_group_name.go +++ b/rules/apispec/azurerm_machine_learning_workspace_invalid_name.go @@ -11,8 +11,8 @@ import ( "github.com/terraform-linters/tflint-ruleset-azurerm/project" ) -// AzurermDatabricksWorkspaceInvalidResourceGroupNameRule checks the pattern is valid -type AzurermDatabricksWorkspaceInvalidResourceGroupNameRule struct { +// AzurermMachineLearningWorkspaceInvalidNameRule checks the pattern is valid +type AzurermMachineLearningWorkspaceInvalidNameRule struct { tflint.DefaultRule resourceType string @@ -20,37 +20,37 @@ type AzurermDatabricksWorkspaceInvalidResourceGroupNameRule struct { pattern *regexp.Regexp } -// NewAzurermDatabricksWorkspaceInvalidResourceGroupNameRule returns new rule with default attributes -func NewAzurermDatabricksWorkspaceInvalidResourceGroupNameRule() *AzurermDatabricksWorkspaceInvalidResourceGroupNameRule { - return &AzurermDatabricksWorkspaceInvalidResourceGroupNameRule{ - resourceType: "azurerm_databricks_workspace", - attributeName: "resource_group_name", - pattern: regexp.MustCompile(`^[-\w\._\(\)]+$`), +// NewAzurermMachineLearningWorkspaceInvalidNameRule returns new rule with default attributes +func NewAzurermMachineLearningWorkspaceInvalidNameRule() *AzurermMachineLearningWorkspaceInvalidNameRule { + return &AzurermMachineLearningWorkspaceInvalidNameRule{ + resourceType: "azurerm_machine_learning_workspace", + attributeName: "name", + pattern: regexp.MustCompile(`^[a-zA-Z0-9][a-zA-Z0-9_-]{2,32}$`), } } // Name returns the rule name -func (r *AzurermDatabricksWorkspaceInvalidResourceGroupNameRule) Name() string { - return "azurerm_databricks_workspace_invalid_resource_group_name" +func (r *AzurermMachineLearningWorkspaceInvalidNameRule) Name() string { + return "azurerm_machine_learning_workspace_invalid_name" } // Enabled returns whether the rule is enabled by default -func (r *AzurermDatabricksWorkspaceInvalidResourceGroupNameRule) Enabled() bool { +func (r *AzurermMachineLearningWorkspaceInvalidNameRule) Enabled() bool { return true } // Severity returns the rule severity -func (r *AzurermDatabricksWorkspaceInvalidResourceGroupNameRule) Severity() tflint.Severity { +func (r *AzurermMachineLearningWorkspaceInvalidNameRule) Severity() tflint.Severity { return tflint.ERROR } // Link returns the rule reference link -func (r *AzurermDatabricksWorkspaceInvalidResourceGroupNameRule) Link() string { +func (r *AzurermMachineLearningWorkspaceInvalidNameRule) Link() string { return project.ReferenceLink(r.Name()) } // Check checks the pattern is valid -func (r *AzurermDatabricksWorkspaceInvalidResourceGroupNameRule) Check(runner tflint.Runner) error { +func (r *AzurermMachineLearningWorkspaceInvalidNameRule) Check(runner tflint.Runner) error { resources, err := runner.GetResourceContent(r.resourceType, &hclext.BodySchema{ Attributes: []hclext.AttributeSchema{ {Name: r.attributeName}, @@ -69,7 +69,7 @@ func (r *AzurermDatabricksWorkspaceInvalidResourceGroupNameRule) Check(runner tf if !r.pattern.MatchString(val) { runner.EmitIssue( r, - fmt.Sprintf(`"%s" does not match valid pattern %s`, truncateLongMessage(val), `^[-\w\._\(\)]+$`), + fmt.Sprintf(`"%s" does not match valid pattern %s`, truncateLongMessage(val), `^[a-zA-Z0-9][a-zA-Z0-9_-]{2,32}$`), attribute.Expr.Range(), ) } diff --git a/rules/apispec/azurerm_databricks_workspace_invalid_managed_resource_group_name.go b/rules/apispec/azurerm_signalr_service_invalid_name.go similarity index 52% rename from rules/apispec/azurerm_databricks_workspace_invalid_managed_resource_group_name.go rename to rules/apispec/azurerm_signalr_service_invalid_name.go index 01c71e4c..892c41c8 100644 --- a/rules/apispec/azurerm_databricks_workspace_invalid_managed_resource_group_name.go +++ b/rules/apispec/azurerm_signalr_service_invalid_name.go @@ -11,8 +11,8 @@ import ( "github.com/terraform-linters/tflint-ruleset-azurerm/project" ) -// AzurermDatabricksWorkspaceInvalidManagedResourceGroupNameRule checks the pattern is valid -type AzurermDatabricksWorkspaceInvalidManagedResourceGroupNameRule struct { +// AzurermSignalrServiceInvalidNameRule checks the pattern is valid +type AzurermSignalrServiceInvalidNameRule struct { tflint.DefaultRule resourceType string @@ -20,37 +20,37 @@ type AzurermDatabricksWorkspaceInvalidManagedResourceGroupNameRule struct { pattern *regexp.Regexp } -// NewAzurermDatabricksWorkspaceInvalidManagedResourceGroupNameRule returns new rule with default attributes -func NewAzurermDatabricksWorkspaceInvalidManagedResourceGroupNameRule() *AzurermDatabricksWorkspaceInvalidManagedResourceGroupNameRule { - return &AzurermDatabricksWorkspaceInvalidManagedResourceGroupNameRule{ - resourceType: "azurerm_databricks_workspace", - attributeName: "managed_resource_group_name", - pattern: regexp.MustCompile(`^[-\w\._\(\)]+$`), +// NewAzurermSignalrServiceInvalidNameRule returns new rule with default attributes +func NewAzurermSignalrServiceInvalidNameRule() *AzurermSignalrServiceInvalidNameRule { + return &AzurermSignalrServiceInvalidNameRule{ + resourceType: "azurerm_signalr_service", + attributeName: "name", + pattern: regexp.MustCompile(`^[a-zA-Z][a-zA-Z0-9-]{1,61}[a-zA-Z0-9]$`), } } // Name returns the rule name -func (r *AzurermDatabricksWorkspaceInvalidManagedResourceGroupNameRule) Name() string { - return "azurerm_databricks_workspace_invalid_managed_resource_group_name" +func (r *AzurermSignalrServiceInvalidNameRule) Name() string { + return "azurerm_signalr_service_invalid_name" } // Enabled returns whether the rule is enabled by default -func (r *AzurermDatabricksWorkspaceInvalidManagedResourceGroupNameRule) Enabled() bool { +func (r *AzurermSignalrServiceInvalidNameRule) Enabled() bool { return true } // Severity returns the rule severity -func (r *AzurermDatabricksWorkspaceInvalidManagedResourceGroupNameRule) Severity() tflint.Severity { +func (r *AzurermSignalrServiceInvalidNameRule) Severity() tflint.Severity { return tflint.ERROR } // Link returns the rule reference link -func (r *AzurermDatabricksWorkspaceInvalidManagedResourceGroupNameRule) Link() string { +func (r *AzurermSignalrServiceInvalidNameRule) Link() string { return project.ReferenceLink(r.Name()) } // Check checks the pattern is valid -func (r *AzurermDatabricksWorkspaceInvalidManagedResourceGroupNameRule) Check(runner tflint.Runner) error { +func (r *AzurermSignalrServiceInvalidNameRule) Check(runner tflint.Runner) error { resources, err := runner.GetResourceContent(r.resourceType, &hclext.BodySchema{ Attributes: []hclext.AttributeSchema{ {Name: r.attributeName}, @@ -69,7 +69,7 @@ func (r *AzurermDatabricksWorkspaceInvalidManagedResourceGroupNameRule) Check(ru if !r.pattern.MatchString(val) { runner.EmitIssue( r, - fmt.Sprintf(`"%s" does not match valid pattern %s`, truncateLongMessage(val), `^[-\w\._\(\)]+$`), + fmt.Sprintf(`"%s" does not match valid pattern %s`, truncateLongMessage(val), `^[a-zA-Z][a-zA-Z0-9-]{1,61}[a-zA-Z0-9]$`), attribute.Expr.Range(), ) } diff --git a/rules/apispec/azurerm_storage_account_invalid_access_tier.go b/rules/apispec/azurerm_storage_account_invalid_access_tier.go index 3d672cdf..74189e4b 100644 --- a/rules/apispec/azurerm_storage_account_invalid_access_tier.go +++ b/rules/apispec/azurerm_storage_account_invalid_access_tier.go @@ -28,6 +28,7 @@ func NewAzurermStorageAccountInvalidAccessTierRule() *AzurermStorageAccountInval "Hot", "Cool", "Premium", + "Cold", }, } } diff --git a/rules/apispec/azurerm_storage_account_invalid_name.go b/rules/apispec/azurerm_storage_account_invalid_name.go new file mode 100644 index 00000000..80c1cf9c --- /dev/null +++ b/rules/apispec/azurerm_storage_account_invalid_name.go @@ -0,0 +1,84 @@ +// This file generated by `tools/apispec-rule-gen/main.go`. DO NOT EDIT + +package apispec + +import ( + "fmt" + "regexp" + + "github.com/terraform-linters/tflint-plugin-sdk/hclext" + "github.com/terraform-linters/tflint-plugin-sdk/tflint" + "github.com/terraform-linters/tflint-ruleset-azurerm/project" +) + +// AzurermStorageAccountInvalidNameRule checks the pattern is valid +type AzurermStorageAccountInvalidNameRule struct { + tflint.DefaultRule + + resourceType string + attributeName string + pattern *regexp.Regexp +} + +// NewAzurermStorageAccountInvalidNameRule returns new rule with default attributes +func NewAzurermStorageAccountInvalidNameRule() *AzurermStorageAccountInvalidNameRule { + return &AzurermStorageAccountInvalidNameRule{ + resourceType: "azurerm_storage_account", + attributeName: "name", + pattern: regexp.MustCompile(`^[a-z0-9]+$`), + } +} + +// Name returns the rule name +func (r *AzurermStorageAccountInvalidNameRule) Name() string { + return "azurerm_storage_account_invalid_name" +} + +// Enabled returns whether the rule is enabled by default +func (r *AzurermStorageAccountInvalidNameRule) Enabled() bool { + return true +} + +// Severity returns the rule severity +func (r *AzurermStorageAccountInvalidNameRule) Severity() tflint.Severity { + return tflint.ERROR +} + +// Link returns the rule reference link +func (r *AzurermStorageAccountInvalidNameRule) Link() string { + return project.ReferenceLink(r.Name()) +} + +// Check checks the pattern is valid +func (r *AzurermStorageAccountInvalidNameRule) Check(runner tflint.Runner) error { + resources, err := runner.GetResourceContent(r.resourceType, &hclext.BodySchema{ + Attributes: []hclext.AttributeSchema{ + {Name: r.attributeName}, + }, + }, nil) + if err != nil { + return err + } + + for _, resource := range resources.Blocks { + attribute, exists := resource.Body.Attributes[r.attributeName] + if !exists { + continue + } + err := runner.EvaluateExpr(attribute.Expr, func (val string) error { + if !r.pattern.MatchString(val) { + runner.EmitIssue( + r, + fmt.Sprintf(`"%s" does not match valid pattern %s`, truncateLongMessage(val), `^[a-z0-9]+$`), + attribute.Expr.Range(), + ) + } + return nil + }, nil) + if err != nil { + return err + } + } + + return nil +} diff --git a/rules/apispec/provider.go b/rules/apispec/provider.go index 9df476ca..668c731c 100644 --- a/rules/apispec/provider.go +++ b/rules/apispec/provider.go @@ -87,8 +87,6 @@ var Rules = []tflint.Rule{ NewAzurermDataFactoryTriggerScheduleInvalidFrequencyRule(), NewAzurermDatabaseMigrationProjectInvalidSourcePlatformRule(), NewAzurermDatabaseMigrationProjectInvalidTargetPlatformRule(), - NewAzurermDatabricksWorkspaceInvalidManagedResourceGroupNameRule(), - NewAzurermDatabricksWorkspaceInvalidResourceGroupNameRule(), NewAzurermDedicatedHostGroupInvalidPlatformFaultDomainCountRule(), NewAzurermDedicatedHostInvalidLicenseTypeRule(), NewAzurermDedicatedHostInvalidPlatformFaultDomainRule(), @@ -153,6 +151,7 @@ var Rules = []tflint.Rule{ NewAzurermLinuxVirtualMachineScaleSetInvalidEvictionPolicyRule(), NewAzurermLinuxVirtualMachineScaleSetInvalidPriorityRule(), NewAzurermLogicAppTriggerRecurrenceInvalidFrequencyRule(), + NewAzurermMachineLearningWorkspaceInvalidNameRule(), NewAzurermMaintenanceConfigurationInvalidScopeRule(), NewAzurermManagedApplicationDefinitionInvalidLockLevelRule(), NewAzurermManagedDiskInvalidOSTypeRule(), @@ -202,8 +201,10 @@ var Rules = []tflint.Rule{ NewAzurermServicebusSubscriptionRuleInvalidFilterTypeRule(), NewAzurermServicebusTopicInvalidStatusRule(), NewAzurermSharedImageInvalidOSTypeRule(), + NewAzurermSignalrServiceInvalidNameRule(), NewAzurermStorageAccountInvalidAccessTierRule(), NewAzurermStorageAccountInvalidAccountKindRule(), + NewAzurermStorageAccountInvalidNameRule(), NewAzurermStorageAccountInvalidResourceGroupNameRule(), NewAzurermStorageAccountNetworkRulesInvalidDefaultActionRule(), NewAzurermStreamAnalyticsJobInvalidCompatibilityLevelRule(), diff --git a/tools/apispec-rule-gen/mappings/azurerm_application_gateway.hcl b/tools/apispec-rule-gen/mappings/azurerm_application_gateway.hcl index 8f1d7b44..227d4b1d 100644 --- a/tools/apispec-rule-gen/mappings/azurerm_application_gateway.hcl +++ b/tools/apispec-rule-gen/mappings/azurerm_application_gateway.hcl @@ -1,5 +1,5 @@ mapping "azurerm_application_gateway" { - import_path = "azure-rest-api-specs/specification/network/resource-manager/Microsoft.Network/stable/2023-09-01/applicationGateway.json" + import_path = "azure-rest-api-specs/specification/network/resource-manager/Microsoft.Network/stable/2024-05-01/applicationGateway.json" zones = ApplicationGateway.zones enable_http2 = ApplicationGatewayPropertiesFormat.enableHttp2 diff --git a/tools/apispec-rule-gen/mappings/azurerm_bastion_host.hcl b/tools/apispec-rule-gen/mappings/azurerm_bastion_host.hcl index 79efc0f2..3f7de4c7 100644 --- a/tools/apispec-rule-gen/mappings/azurerm_bastion_host.hcl +++ b/tools/apispec-rule-gen/mappings/azurerm_bastion_host.hcl @@ -1,5 +1,5 @@ mapping "azurerm_bastion_host" { - import_path = "azure-rest-api-specs/specification/network/resource-manager/Microsoft.Network/stable/2023-11-01/bastionHost.json" + import_path = "azure-rest-api-specs/specification/network/resource-manager/Microsoft.Network/stable/2024-01-01/bastionHost.json" name = BastionHostName resource_group_name = ResourceGroupName diff --git a/tools/apispec-rule-gen/mappings/azurerm_batch_account.hcl b/tools/apispec-rule-gen/mappings/azurerm_batch_account.hcl index 32cb2301..4f9c3dc2 100644 --- a/tools/apispec-rule-gen/mappings/azurerm_batch_account.hcl +++ b/tools/apispec-rule-gen/mappings/azurerm_batch_account.hcl @@ -1,5 +1,5 @@ mapping "azurerm_batch_account" { - import_path = "azure-rest-api-specs/specification/batch/resource-manager/Microsoft.Batch/stable/2023-05-01/BatchManagement.json" + import_path = "azure-rest-api-specs/specification/batch/resource-manager/Microsoft.Batch/stable/2024-07-01/BatchManagement.json" name = AccountNameParameter resource_group_name = ResourceGroupNameParameter diff --git a/tools/apispec-rule-gen/mappings/azurerm_batch_application.hcl b/tools/apispec-rule-gen/mappings/azurerm_batch_application.hcl index 7c22cb30..4c5cf3b1 100644 --- a/tools/apispec-rule-gen/mappings/azurerm_batch_application.hcl +++ b/tools/apispec-rule-gen/mappings/azurerm_batch_application.hcl @@ -1,5 +1,5 @@ mapping "azurerm_batch_application" { - import_path = "azure-rest-api-specs/specification/batch/resource-manager/Microsoft.Batch/stable/2023-05-01/BatchManagement.json" + import_path = "azure-rest-api-specs/specification/batch/resource-manager/Microsoft.Batch/stable/2024-07-01/BatchManagement.json" name = ApplicationNameParameter resource_group_name = ResourceGroupNameParameter diff --git a/tools/apispec-rule-gen/mappings/azurerm_batch_certificate.hcl b/tools/apispec-rule-gen/mappings/azurerm_batch_certificate.hcl index 468b9058..f628ab46 100644 --- a/tools/apispec-rule-gen/mappings/azurerm_batch_certificate.hcl +++ b/tools/apispec-rule-gen/mappings/azurerm_batch_certificate.hcl @@ -1,5 +1,5 @@ mapping "azurerm_batch_certificate" { - import_path = "azure-rest-api-specs/specification/batch/resource-manager/Microsoft.Batch/stable/2023-05-01/BatchManagement.json" + import_path = "azure-rest-api-specs/specification/batch/resource-manager/Microsoft.Batch/stable/2024-07-01/BatchManagement.json" account_name = AccountNameParameter resource_group_name = ResourceGroupNameParameter diff --git a/tools/apispec-rule-gen/mappings/azurerm_batch_pool.hcl b/tools/apispec-rule-gen/mappings/azurerm_batch_pool.hcl index b41762ab..268ea686 100644 --- a/tools/apispec-rule-gen/mappings/azurerm_batch_pool.hcl +++ b/tools/apispec-rule-gen/mappings/azurerm_batch_pool.hcl @@ -1,5 +1,5 @@ mapping "azurerm_batch_pool" { - import_path = "azure-rest-api-specs/specification/batch/resource-manager/Microsoft.Batch/stable/2023-05-01/BatchManagement.json" + import_path = "azure-rest-api-specs/specification/batch/resource-manager/Microsoft.Batch/stable/2024-07-01/BatchManagement.json" name = ApplicationNameParameter resource_group_name = ResourceGroupNameParameter diff --git a/tools/apispec-rule-gen/mappings/azurerm_cognitive_account.hcl b/tools/apispec-rule-gen/mappings/azurerm_cognitive_account.hcl index 4ae201f7..c754534a 100644 --- a/tools/apispec-rule-gen/mappings/azurerm_cognitive_account.hcl +++ b/tools/apispec-rule-gen/mappings/azurerm_cognitive_account.hcl @@ -1,5 +1,5 @@ mapping "azurerm_cognitive_account" { - import_path = "azure-rest-api-specs/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2023-05-01/cognitiveservices.json" + import_path = "azure-rest-api-specs/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2024-10-01/cognitiveservices.json" name = accountNameParameter location = locationParameter diff --git a/tools/apispec-rule-gen/mappings/azurerm_container_registry.hcl b/tools/apispec-rule-gen/mappings/azurerm_container_registry.hcl index 58cb5be6..efd4b3fe 100644 --- a/tools/apispec-rule-gen/mappings/azurerm_container_registry.hcl +++ b/tools/apispec-rule-gen/mappings/azurerm_container_registry.hcl @@ -1,9 +1,9 @@ mapping "azurerm_container_registry" { - import_path = "azure-rest-api-specs/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2021-08-01-preview/containerregistry.json" + import_path = "azure-rest-api-specs/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-11-01-preview/containerregistry.json" name = RegistryNameParameter - resource_group_name = ResourceGroupParameter + resource_group_name = any //ResourceGroupParameter admin_enabled = RegistryProperties.adminUserEnabled storage_account_id = any //StorageAccountProperties.id sku = Sku.name -} \ No newline at end of file +} diff --git a/tools/apispec-rule-gen/mappings/azurerm_container_registry_webhook.hcl b/tools/apispec-rule-gen/mappings/azurerm_container_registry_webhook.hcl index 749cee00..e4010f10 100644 --- a/tools/apispec-rule-gen/mappings/azurerm_container_registry_webhook.hcl +++ b/tools/apispec-rule-gen/mappings/azurerm_container_registry_webhook.hcl @@ -1,11 +1,11 @@ mapping "azurerm_container_registry_webhook" { - import_path = "azure-rest-api-specs/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2021-08-01-preview/containerregistry.json" + import_path = "azure-rest-api-specs/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-11-01-preview/containerregistry.json" name = WebhookNameParameter - resource_group_name = ResourceGroupParameter + resource_group_name = any //ResourceGroupParameter registry_name = RegistryNameParameter service_uri = WebhookPropertiesCreateParameters.serviceUri actions = WebhookProperties.actions status = WebhookProperties.status scope = WebhookProperties.scope -} \ No newline at end of file +} diff --git a/tools/apispec-rule-gen/mappings/azurerm_cosmosdb_account.hcl b/tools/apispec-rule-gen/mappings/azurerm_cosmosdb_account.hcl index 1c52c041..d2e56db0 100644 --- a/tools/apispec-rule-gen/mappings/azurerm_cosmosdb_account.hcl +++ b/tools/apispec-rule-gen/mappings/azurerm_cosmosdb_account.hcl @@ -1,5 +1,5 @@ mapping "azurerm_cosmosdb_account" { - import_path = "azure-rest-api-specs/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2023-04-15/cosmos-db.json" + import_path = "azure-rest-api-specs/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/cosmos-db.json" name = accountNameParameter resource_group_name = resourceGroupNameParameter diff --git a/tools/apispec-rule-gen/mappings/azurerm_cosmosdb_cassandra_keyspace.hcl b/tools/apispec-rule-gen/mappings/azurerm_cosmosdb_cassandra_keyspace.hcl index b8712c8b..f7505868 100644 --- a/tools/apispec-rule-gen/mappings/azurerm_cosmosdb_cassandra_keyspace.hcl +++ b/tools/apispec-rule-gen/mappings/azurerm_cosmosdb_cassandra_keyspace.hcl @@ -1,5 +1,5 @@ mapping "azurerm_cosmosdb_cassandra_keyspace" { - import_path = "azure-rest-api-specs/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2023-04-15/cosmos-db.json" + import_path = "azure-rest-api-specs/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2021-10-15/cosmos-db.json" name = keyspaceNameParameter resource_group_name = resourceGroupNameParameter diff --git a/tools/apispec-rule-gen/mappings/azurerm_cosmosdb_gremlin_database.hcl b/tools/apispec-rule-gen/mappings/azurerm_cosmosdb_gremlin_database.hcl index 58726e26..34a10ca1 100644 --- a/tools/apispec-rule-gen/mappings/azurerm_cosmosdb_gremlin_database.hcl +++ b/tools/apispec-rule-gen/mappings/azurerm_cosmosdb_gremlin_database.hcl @@ -1,5 +1,5 @@ mapping "azurerm_cosmosdb_gremlin_database" { - import_path = "azure-rest-api-specs/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2023-04-15/cosmos-db.json" + import_path = "azure-rest-api-specs/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/cosmos-db.json" name = databaseNameParameter resource_group_name = resourceGroupNameParameter diff --git a/tools/apispec-rule-gen/mappings/azurerm_cosmosdb_gremlin_graph.hcl b/tools/apispec-rule-gen/mappings/azurerm_cosmosdb_gremlin_graph.hcl index 861474ce..d672562c 100644 --- a/tools/apispec-rule-gen/mappings/azurerm_cosmosdb_gremlin_graph.hcl +++ b/tools/apispec-rule-gen/mappings/azurerm_cosmosdb_gremlin_graph.hcl @@ -1,5 +1,5 @@ mapping "azurerm_cosmosdb_gremlin_graph" { - import_path = "azure-rest-api-specs/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2023-04-15/cosmos-db.json" + import_path = "azure-rest-api-specs/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/cosmos-db.json" name = graphNameParameter resource_group_name = resourceGroupNameParameter diff --git a/tools/apispec-rule-gen/mappings/azurerm_cosmosdb_mongo_collection.hcl b/tools/apispec-rule-gen/mappings/azurerm_cosmosdb_mongo_collection.hcl index 62c78fee..b656bfa1 100644 --- a/tools/apispec-rule-gen/mappings/azurerm_cosmosdb_mongo_collection.hcl +++ b/tools/apispec-rule-gen/mappings/azurerm_cosmosdb_mongo_collection.hcl @@ -1,5 +1,5 @@ mapping "azurerm_cosmosdb_mongo_collection" { - import_path = "azure-rest-api-specs/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2023-04-15/cosmos-db.json" + import_path = "azure-rest-api-specs/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2021-10-15/cosmos-db.json" name = collectionNameParameter resource_group_name = resourceGroupNameParameter diff --git a/tools/apispec-rule-gen/mappings/azurerm_cosmosdb_mongo_database.hcl b/tools/apispec-rule-gen/mappings/azurerm_cosmosdb_mongo_database.hcl index 6ad9454b..1dccbb6e 100644 --- a/tools/apispec-rule-gen/mappings/azurerm_cosmosdb_mongo_database.hcl +++ b/tools/apispec-rule-gen/mappings/azurerm_cosmosdb_mongo_database.hcl @@ -1,5 +1,5 @@ mapping "azurerm_cosmosdb_mongo_database" { - import_path = "azure-rest-api-specs/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2023-04-15/cosmos-db.json" + import_path = "azure-rest-api-specs/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2021-10-15/cosmos-db.json" name = databaseNameParameter resource_group_name = resourceGroupNameParameter diff --git a/tools/apispec-rule-gen/mappings/azurerm_cosmosdb_sql_container.hcl b/tools/apispec-rule-gen/mappings/azurerm_cosmosdb_sql_container.hcl index bae6eed3..5d4cd9f1 100644 --- a/tools/apispec-rule-gen/mappings/azurerm_cosmosdb_sql_container.hcl +++ b/tools/apispec-rule-gen/mappings/azurerm_cosmosdb_sql_container.hcl @@ -1,5 +1,5 @@ mapping "azurerm_cosmosdb_sql_container" { - import_path = "azure-rest-api-specs/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2023-04-15/cosmos-db.json" + import_path = "azure-rest-api-specs/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/cosmos-db.json" name = containerNameParameter resource_group_name = resourceGroupNameParameter diff --git a/tools/apispec-rule-gen/mappings/azurerm_cosmosdb_sql_database.hcl b/tools/apispec-rule-gen/mappings/azurerm_cosmosdb_sql_database.hcl index c24ba2e0..fd9e8b81 100644 --- a/tools/apispec-rule-gen/mappings/azurerm_cosmosdb_sql_database.hcl +++ b/tools/apispec-rule-gen/mappings/azurerm_cosmosdb_sql_database.hcl @@ -1,5 +1,5 @@ mapping "azurerm_cosmosdb_sql_database" { - import_path = "azure-rest-api-specs/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2023-04-15/cosmos-db.json" + import_path = "azure-rest-api-specs/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2021-10-15/cosmos-db.json" name = databaseNameParameter resource_group_name = resourceGroupNameParameter diff --git a/tools/apispec-rule-gen/mappings/azurerm_databricks_workspace.hcl b/tools/apispec-rule-gen/mappings/azurerm_databricks_workspace.hcl index 864e051d..c078a9dc 100644 --- a/tools/apispec-rule-gen/mappings/azurerm_databricks_workspace.hcl +++ b/tools/apispec-rule-gen/mappings/azurerm_databricks_workspace.hcl @@ -1,8 +1,8 @@ mapping "azurerm_databricks_workspace" { - import_path = "azure-rest-api-specs/specification/databricks/resource-manager/Microsoft.Databricks/stable/2023-02-01/databricks.json" + import_path = "azure-rest-api-specs/specification/databricks/resource-manager/Microsoft.Databricks/stable/2024-05-01/databricks.json" name = WorkspaceName - resource_group_name = ResourceGroupName + resource_group_name = any //ResourceGroupName sku = Sku.name - managed_resource_group_name = ResourceGroupName + managed_resource_group_name = any //ResourceGroupName } diff --git a/tools/apispec-rule-gen/mappings/azurerm_disk_encryption_set.hcl b/tools/apispec-rule-gen/mappings/azurerm_disk_encryption_set.hcl index cc248c21..e070dfb4 100644 --- a/tools/apispec-rule-gen/mappings/azurerm_disk_encryption_set.hcl +++ b/tools/apispec-rule-gen/mappings/azurerm_disk_encryption_set.hcl @@ -1,5 +1,5 @@ mapping "azurerm_disk_encryption_set" { - import_path = "azure-rest-api-specs/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2023-04-02/disk.json" + import_path = "azure-rest-api-specs/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/disk.json" name = any // DiskEncryptionSetNameParameter resource_group_name = any // ResourceGroupNameParameter diff --git a/tools/apispec-rule-gen/mappings/azurerm_express_route_circuit.hcl b/tools/apispec-rule-gen/mappings/azurerm_express_route_circuit.hcl index ade170d7..1b6fbcd7 100644 --- a/tools/apispec-rule-gen/mappings/azurerm_express_route_circuit.hcl +++ b/tools/apispec-rule-gen/mappings/azurerm_express_route_circuit.hcl @@ -1,5 +1,5 @@ mapping "azurerm_express_route_circuit" { - import_path = "azure-rest-api-specs/specification/network/resource-manager/Microsoft.Network/stable/2023-09-01/expressRouteCircuit.json" + import_path = "azure-rest-api-specs/specification/network/resource-manager/Microsoft.Network/stable/2024-05-01/expressRouteCircuit.json" service_provider_name = ExpressRouteCircuitServiceProviderProperties.serviceProviderName peering_location = ExpressRouteCircuitServiceProviderProperties.peeringLocation diff --git a/tools/apispec-rule-gen/mappings/azurerm_express_route_circuit_peering.hcl b/tools/apispec-rule-gen/mappings/azurerm_express_route_circuit_peering.hcl index 718e02cc..c851ead8 100644 --- a/tools/apispec-rule-gen/mappings/azurerm_express_route_circuit_peering.hcl +++ b/tools/apispec-rule-gen/mappings/azurerm_express_route_circuit_peering.hcl @@ -1,5 +1,5 @@ mapping "azurerm_express_route_circuit_peering" { - import_path = "azure-rest-api-specs/specification/network/resource-manager/Microsoft.Network/stable/2023-09-01/expressRouteCircuit.json" + import_path = "azure-rest-api-specs/specification/network/resource-manager/Microsoft.Network/stable/2024-05-01/expressRouteCircuit.json" peering_type = ExpressRoutePeeringType primary_peer_address_prefix = ExpressRouteCircuitPeeringPropertiesFormat.primaryPeerAddressPrefix diff --git a/tools/apispec-rule-gen/mappings/azurerm_express_route_gateway.hcl b/tools/apispec-rule-gen/mappings/azurerm_express_route_gateway.hcl index 8b273744..d3260322 100644 --- a/tools/apispec-rule-gen/mappings/azurerm_express_route_gateway.hcl +++ b/tools/apispec-rule-gen/mappings/azurerm_express_route_gateway.hcl @@ -1,5 +1,5 @@ mapping "azurerm_express_route_gateway" { - import_path = "azure-rest-api-specs/specification/network/resource-manager/Microsoft.Network/stable/2019-12-01/expressRouteGateway.json" + import_path = "azure-rest-api-specs/specification/network/resource-manager/Microsoft.Network/stable/2024-05-01/virtualWan.json" virtual_hub_id = VirtualHubId.id } diff --git a/tools/apispec-rule-gen/mappings/azurerm_firewall.hcl b/tools/apispec-rule-gen/mappings/azurerm_firewall.hcl index 6abdb517..af104bb1 100644 --- a/tools/apispec-rule-gen/mappings/azurerm_firewall.hcl +++ b/tools/apispec-rule-gen/mappings/azurerm_firewall.hcl @@ -1,5 +1,5 @@ mapping "azurerm_firewall" { - import_path = "azure-rest-api-specs/specification/network/resource-manager/Microsoft.Network/stable/2023-11-01/azureFirewall.json" + import_path = "azure-rest-api-specs/specification/network/resource-manager/Microsoft.Network/stable/2024-05-01/azureFirewall.json" zones = AzureFirewall.zones } diff --git a/tools/apispec-rule-gen/mappings/azurerm_firewall_application_rule_collection.hcl b/tools/apispec-rule-gen/mappings/azurerm_firewall_application_rule_collection.hcl index 26d90cc7..6affb78a 100644 --- a/tools/apispec-rule-gen/mappings/azurerm_firewall_application_rule_collection.hcl +++ b/tools/apispec-rule-gen/mappings/azurerm_firewall_application_rule_collection.hcl @@ -1,5 +1,5 @@ mapping "azurerm_firewall_application_rule_collection" { - import_path = "azure-rest-api-specs/specification/network/resource-manager/Microsoft.Network/stable/2023-11-01/azureFirewall.json" + import_path = "azure-rest-api-specs/specification/network/resource-manager/Microsoft.Network/stable/2024-05-01/azureFirewall.json" priority = AzureFirewallApplicationRuleCollectionPropertiesFormat.priority action = AzureFirewallRCActionType diff --git a/tools/apispec-rule-gen/mappings/azurerm_firewall_nat_rule_collection.hcl b/tools/apispec-rule-gen/mappings/azurerm_firewall_nat_rule_collection.hcl index 29356366..92dd4f86 100644 --- a/tools/apispec-rule-gen/mappings/azurerm_firewall_nat_rule_collection.hcl +++ b/tools/apispec-rule-gen/mappings/azurerm_firewall_nat_rule_collection.hcl @@ -1,5 +1,5 @@ mapping "azurerm_firewall_nat_rule_collection" { - import_path = "azure-rest-api-specs/specification/network/resource-manager/Microsoft.Network/stable/2023-11-01/azureFirewall.json" + import_path = "azure-rest-api-specs/specification/network/resource-manager/Microsoft.Network/stable/2024-05-01/azureFirewall.json" priority = AzureFirewallNatRuleCollectionProperties.priority action = AzureFirewallNatRCActionType diff --git a/tools/apispec-rule-gen/mappings/azurerm_firewall_network_rule_collection.hcl b/tools/apispec-rule-gen/mappings/azurerm_firewall_network_rule_collection.hcl index 49926bb5..5f43d0d8 100644 --- a/tools/apispec-rule-gen/mappings/azurerm_firewall_network_rule_collection.hcl +++ b/tools/apispec-rule-gen/mappings/azurerm_firewall_network_rule_collection.hcl @@ -1,5 +1,5 @@ mapping "azurerm_firewall_network_rule_collection" { - import_path = "azure-rest-api-specs/specification/network/resource-manager/Microsoft.Network/stable/2023-11-01/azureFirewall.json" + import_path = "azure-rest-api-specs/specification/network/resource-manager/Microsoft.Network/stable/2024-05-01/azureFirewall.json" priority = AzureFirewallNetworkRuleCollectionPropertiesFormat.priority action = AzureFirewallRCActionType diff --git a/tools/apispec-rule-gen/mappings/azurerm_iothub_dps_certificate.hcl b/tools/apispec-rule-gen/mappings/azurerm_iothub_dps_certificate.hcl index c2cbcc4a..74692bda 100644 --- a/tools/apispec-rule-gen/mappings/azurerm_iothub_dps_certificate.hcl +++ b/tools/apispec-rule-gen/mappings/azurerm_iothub_dps_certificate.hcl @@ -1,5 +1,5 @@ mapping "azurerm_iothub_dps_certificate" { - import_path = "azure-rest-api-specs/specification/iothub/resource-manager/Microsoft.Devices/stable/2020-03-01/iothub.json" + import_path = "azure-rest-api-specs/specification/deviceprovisioningservices/resource-manager/Microsoft.Devices/stable/2022-02-05/iotdps.json" name = resourceName resource_group_name = resourceGroupName diff --git a/tools/apispec-rule-gen/mappings/azurerm_iothub_dps_shared_access_policy.hcl b/tools/apispec-rule-gen/mappings/azurerm_iothub_dps_shared_access_policy.hcl index 18ada0fc..48f2f67c 100644 --- a/tools/apispec-rule-gen/mappings/azurerm_iothub_dps_shared_access_policy.hcl +++ b/tools/apispec-rule-gen/mappings/azurerm_iothub_dps_shared_access_policy.hcl @@ -1,5 +1,5 @@ mapping "azurerm_iothub_dps_shared_access_policy" { - import_path = "azure-rest-api-specs/specification/iothub/resource-manager/Microsoft.Devices/preview/2022-04-30-preview/iothub.json" + import_path = "azure-rest-api-specs/specification/deviceprovisioningservices/resource-manager/Microsoft.Devices/stable/2022-02-05/iotdps.json" name = resourceName resource_group_name = resourceGroupName diff --git a/tools/apispec-rule-gen/mappings/azurerm_key_vault_key.hcl b/tools/apispec-rule-gen/mappings/azurerm_key_vault_key.hcl index 23f5fe61..8c283b94 100644 --- a/tools/apispec-rule-gen/mappings/azurerm_key_vault_key.hcl +++ b/tools/apispec-rule-gen/mappings/azurerm_key_vault_key.hcl @@ -1,10 +1,10 @@ mapping "azurerm_key_vault_key" { - import_path = "azure-rest-api-specs/specification/keyvault/data-plane/Microsoft.KeyVault/stable/2016-10-01/keyvault.json" + import_path = "azure-rest-api-specs/specification/keyvault/data-plane/Microsoft.KeyVault/stable/7.4/keys.json" key_type = KeyCreateParameters.kty key_size = KeyCreateParameters.key_size curve = KeyCreateParameters.crv key_opts = KeyCreateParameters.key_ops - not_before_date = Attributes.nbf - expiration_date = Attributes.exp + not_before_date = any //Attributes.nbf + expiration_date = any //Attributes.exp } diff --git a/tools/apispec-rule-gen/mappings/azurerm_key_vault_secret.hcl b/tools/apispec-rule-gen/mappings/azurerm_key_vault_secret.hcl index 7cb537aa..e7bd6784 100644 --- a/tools/apispec-rule-gen/mappings/azurerm_key_vault_secret.hcl +++ b/tools/apispec-rule-gen/mappings/azurerm_key_vault_secret.hcl @@ -1,8 +1,8 @@ mapping "azurerm_key_vault_secret" { - import_path = "azure-rest-api-specs/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2023-02-01/secrets.json" + import_path = "azure-rest-api-specs/specification/keyvault/data-plane/Microsoft.KeyVault/stable/7.4/secrets.json" - value = SecretProperties.value - content_type = SecretProperties.contentType - not_before_date = Attributes.nbf - expiration_date = Attributes.exp + value = SecretBundle.value + content_type = SecretBundle.contentType + not_before_date = any //Attributes.nbf + expiration_date = any //Attributes.exp } diff --git a/tools/apispec-rule-gen/mappings/azurerm_kubernetes_cluster.hcl b/tools/apispec-rule-gen/mappings/azurerm_kubernetes_cluster.hcl index 5bdf3571..fdf9c8cc 100644 --- a/tools/apispec-rule-gen/mappings/azurerm_kubernetes_cluster.hcl +++ b/tools/apispec-rule-gen/mappings/azurerm_kubernetes_cluster.hcl @@ -1,5 +1,5 @@ mapping "azurerm_kubernetes_cluster" { - import_path = "azure-rest-api-specs/specification/containerservice/resource-manager/Microsoft.ContainerService/aks/preview/2023-09-02-preview/managedClusters.json" + import_path = "azure-rest-api-specs/specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/managedClusters.json" name = ResourceNameParameter resource_group_name = any //ResourceGroupNameParameter diff --git a/tools/apispec-rule-gen/mappings/azurerm_kubernetes_cluster_node_pool.hcl b/tools/apispec-rule-gen/mappings/azurerm_kubernetes_cluster_node_pool.hcl index a87b5a1d..1988be62 100644 --- a/tools/apispec-rule-gen/mappings/azurerm_kubernetes_cluster_node_pool.hcl +++ b/tools/apispec-rule-gen/mappings/azurerm_kubernetes_cluster_node_pool.hcl @@ -1,5 +1,5 @@ mapping "azurerm_kubernetes_cluster_node_pool" { - import_path = "azure-rest-api-specs/specification/containerservice/resource-manager/Microsoft.ContainerService/aks/preview/2023-09-02-preview/managedClusters.json" + import_path = "azure-rest-api-specs/specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/managedClusters.json" vm_size = any //ContainerServiceVMSize availability_zones = ManagedClusterAgentPoolProfileProperties.availabilityZones diff --git a/tools/apispec-rule-gen/mappings/azurerm_kusto_cluster.hcl b/tools/apispec-rule-gen/mappings/azurerm_kusto_cluster.hcl index cce0b6e2..4dcd78aa 100644 --- a/tools/apispec-rule-gen/mappings/azurerm_kusto_cluster.hcl +++ b/tools/apispec-rule-gen/mappings/azurerm_kusto_cluster.hcl @@ -1,5 +1,5 @@ mapping "azurerm_kusto_cluster" { - import_path = "azure-rest-api-specs/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/kusto.json" + import_path = "azure-rest-api-specs/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/kusto.json" name = ClusterNameParameter resource_group_name = any //ResourceGroupParameter diff --git a/tools/apispec-rule-gen/mappings/azurerm_kusto_database.hcl b/tools/apispec-rule-gen/mappings/azurerm_kusto_database.hcl index 1c9896db..3c7aabb4 100644 --- a/tools/apispec-rule-gen/mappings/azurerm_kusto_database.hcl +++ b/tools/apispec-rule-gen/mappings/azurerm_kusto_database.hcl @@ -1,5 +1,5 @@ mapping "azurerm_kusto_database" { - import_path = "azure-rest-api-specs/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/kusto.json" + import_path = "azure-rest-api-specs/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/kusto.json" name = DatabaseNameParameter resource_group_name = any //ResourceGroupParameter diff --git a/tools/apispec-rule-gen/mappings/azurerm_kusto_eventhub_data_connection.hcl b/tools/apispec-rule-gen/mappings/azurerm_kusto_eventhub_data_connection.hcl index 444c5c19..016c910f 100644 --- a/tools/apispec-rule-gen/mappings/azurerm_kusto_eventhub_data_connection.hcl +++ b/tools/apispec-rule-gen/mappings/azurerm_kusto_eventhub_data_connection.hcl @@ -1,5 +1,5 @@ mapping "azurerm_kusto_eventhub_data_connection" { - import_path = "azure-rest-api-specs/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/kusto.json" + import_path = "azure-rest-api-specs/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/kusto.json" name = DataConnectionNameParameter resource_group_name = any //ResourceGroupParameter diff --git a/tools/apispec-rule-gen/mappings/azurerm_linux_virtual_machine.hcl b/tools/apispec-rule-gen/mappings/azurerm_linux_virtual_machine.hcl index afdb3679..46d53924 100644 --- a/tools/apispec-rule-gen/mappings/azurerm_linux_virtual_machine.hcl +++ b/tools/apispec-rule-gen/mappings/azurerm_linux_virtual_machine.hcl @@ -1,5 +1,5 @@ mapping "azurerm_linux_virtual_machine" { - import_path = "azure-rest-api-specs/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2023-03-01/computeRPCommon.json" + import_path = "azure-rest-api-specs/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/computeRPCommon.json" admin_username = OSProfile.adminUsername size = any //HardwareProfile.vmSize diff --git a/tools/apispec-rule-gen/mappings/azurerm_linux_virtual_machine_scale_set.hcl b/tools/apispec-rule-gen/mappings/azurerm_linux_virtual_machine_scale_set.hcl index 9bb01fea..2482bf8a 100644 --- a/tools/apispec-rule-gen/mappings/azurerm_linux_virtual_machine_scale_set.hcl +++ b/tools/apispec-rule-gen/mappings/azurerm_linux_virtual_machine_scale_set.hcl @@ -1,5 +1,5 @@ mapping "azurerm_linux_virtual_machine_scale_set" { - import_path = "azure-rest-api-specs/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2023-03-01/computeRPCommon.json" + import_path = "azure-rest-api-specs/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/computeRPCommon.json" admin_username = any //VirtualMachineScaleSetOSProfile.adminUsername sku = any //HardwareProfile.vmSize diff --git a/tools/apispec-rule-gen/mappings/azurerm_local_network_gateway.hcl b/tools/apispec-rule-gen/mappings/azurerm_local_network_gateway.hcl index 388d0dd4..f51a9434 100644 --- a/tools/apispec-rule-gen/mappings/azurerm_local_network_gateway.hcl +++ b/tools/apispec-rule-gen/mappings/azurerm_local_network_gateway.hcl @@ -1,5 +1,5 @@ mapping "azurerm_local_network_gateway" { - import_path = "azure-rest-api-specs/specification/network/resource-manager/Microsoft.Network/stable/2023-11-01/virtualNetworkGateway.json" + import_path = "azure-rest-api-specs/specification/network/resource-manager/Microsoft.Network/stable/2024-05-01/virtualNetworkGateway.json" gateway_address = LocalNetworkGatewayPropertiesFormat.gatewayIpAddress } diff --git a/tools/apispec-rule-gen/mappings/azurerm_machine_learning_workspace.hcl b/tools/apispec-rule-gen/mappings/azurerm_machine_learning_workspace.hcl index 0846d5e5..d7083926 100644 --- a/tools/apispec-rule-gen/mappings/azurerm_machine_learning_workspace.hcl +++ b/tools/apispec-rule-gen/mappings/azurerm_machine_learning_workspace.hcl @@ -1,9 +1,9 @@ mapping "azurerm_machine_learning_workspace" { - import_path = "azure-rest-api-specs/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2019-10-01/workspaces.json" + import_path = "azure-rest-api-specs/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/workspaceRP.json" name = WorkspaceNameParameter - resource_group_name = ResourceGroupParameter - key_vault_id = WorkspaceProperties.keyVaultIdentifierId - storage_account_id = WorkspaceProperties.userStorageAccountId - sku_name = Sku.name + resource_group_name = any //ResourceGroupParameter + key_vault_id = WorkspaceProperties.keyVault + storage_account_id = WorkspaceProperties.storageAccount + sku_name = any //Sku.name } diff --git a/tools/apispec-rule-gen/mappings/azurerm_managed_application_definition.hcl b/tools/apispec-rule-gen/mappings/azurerm_managed_application_definition.hcl index 07ebd545..f8b2b573 100644 --- a/tools/apispec-rule-gen/mappings/azurerm_managed_application_definition.hcl +++ b/tools/apispec-rule-gen/mappings/azurerm_managed_application_definition.hcl @@ -1,5 +1,5 @@ mapping "azurerm_managed_application_definition" { - import_path = "azure-rest-api-specs/specification/resources/resource-manager/Microsoft.Solutions/stable/2019-07-01/managedapplications.json" + import_path = "azure-rest-api-specs/specification/solutions/resource-manager/Microsoft.Solutions/stable/2021-07-01/managedapplications.json" lock_level = ApplicationLockLevel create_ui_definition = ApplicationDefinitionProperties.createUiDefinition diff --git a/tools/apispec-rule-gen/mappings/azurerm_mssql_virtual_machine.hcl b/tools/apispec-rule-gen/mappings/azurerm_mssql_virtual_machine.hcl index 1902fdff..5e3dace0 100644 --- a/tools/apispec-rule-gen/mappings/azurerm_mssql_virtual_machine.hcl +++ b/tools/apispec-rule-gen/mappings/azurerm_mssql_virtual_machine.hcl @@ -1,6 +1,6 @@ mapping "azurerm_mssql_virtual_machine" { - import_path = "azure-rest-api-specs/specification/sqlvirtualmachine/resource-manager/Microsoft.SqlVirtualMachine/stable/2022-02-01/sqlvm.json" + import_path = "azure-rest-api-specs/specification/sqlvirtualmachine/resource-manager/Microsoft.SqlVirtualMachine/stable/2023-10-01/sqlvm.json" sql_license_type = SqlVirtualMachineProperties.sqlServerLicenseType r_services_enabled = AdditionalFeaturesServerConfigurations.isRServicesEnabled diff --git a/tools/apispec-rule-gen/mappings/azurerm_nat_gateway.hcl b/tools/apispec-rule-gen/mappings/azurerm_nat_gateway.hcl index 4bbfe480..f5777a8c 100644 --- a/tools/apispec-rule-gen/mappings/azurerm_nat_gateway.hcl +++ b/tools/apispec-rule-gen/mappings/azurerm_nat_gateway.hcl @@ -1,5 +1,5 @@ mapping "azurerm_nat_gateway" { - import_path = "azure-rest-api-specs/specification/network/resource-manager/Microsoft.Network/stable/2023-11-01/natGateway.json" + import_path = "azure-rest-api-specs/specification/network/resource-manager/Microsoft.Network/stable/2024-05-01/natGateway.json" idle_timeout_in_minutes = NatGatewayPropertiesFormat.idleTimeoutInMinutes public_ip_address_ids = NatGatewayPropertiesFormat.publicIpAddresses diff --git a/tools/apispec-rule-gen/mappings/azurerm_netapp_account.hcl b/tools/apispec-rule-gen/mappings/azurerm_netapp_account.hcl index a8eade3d..a89dd5d3 100644 --- a/tools/apispec-rule-gen/mappings/azurerm_netapp_account.hcl +++ b/tools/apispec-rule-gen/mappings/azurerm_netapp_account.hcl @@ -1,5 +1,5 @@ mapping "azurerm_netapp_account" { - import_path = "azure-rest-api-specs/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-05-01/netapp.json" + import_path = "azure-rest-api-specs/specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-03-01/netapp.json" name = AccountName resource_group_name = any //ResourceGroup diff --git a/tools/apispec-rule-gen/mappings/azurerm_netapp_pool.hcl b/tools/apispec-rule-gen/mappings/azurerm_netapp_pool.hcl index c3fd2acf..2e141915 100644 --- a/tools/apispec-rule-gen/mappings/azurerm_netapp_pool.hcl +++ b/tools/apispec-rule-gen/mappings/azurerm_netapp_pool.hcl @@ -1,5 +1,5 @@ mapping "azurerm_netapp_pool" { - import_path = "azure-rest-api-specs/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-05-01/netapp.json" + import_path = "azure-rest-api-specs/specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-03-01/netapp.json" name = PoolName resource_group_name = any //ResourceGroup diff --git a/tools/apispec-rule-gen/mappings/azurerm_netapp_snapshot.hcl b/tools/apispec-rule-gen/mappings/azurerm_netapp_snapshot.hcl index 1c2baa4a..aede6204 100644 --- a/tools/apispec-rule-gen/mappings/azurerm_netapp_snapshot.hcl +++ b/tools/apispec-rule-gen/mappings/azurerm_netapp_snapshot.hcl @@ -1,5 +1,5 @@ mapping "azurerm_netapp_snapshot" { - import_path = "azure-rest-api-specs/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-05-01/netapp.json" + import_path = "azure-rest-api-specs/specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-03-01/netapp.json" name = SnapshotName resource_group_name = any //ResourceGroup diff --git a/tools/apispec-rule-gen/mappings/azurerm_netapp_volume.hcl b/tools/apispec-rule-gen/mappings/azurerm_netapp_volume.hcl index c99874ca..c1666128 100644 --- a/tools/apispec-rule-gen/mappings/azurerm_netapp_volume.hcl +++ b/tools/apispec-rule-gen/mappings/azurerm_netapp_volume.hcl @@ -1,5 +1,5 @@ mapping "azurerm_netapp_volume" { - import_path = "azure-rest-api-specs/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-05-01/netapp.json" + import_path = "azure-rest-api-specs/specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-03-01/netapp.json" name = VolumeName resource_group_name = any //ResourceGroup diff --git a/tools/apispec-rule-gen/mappings/azurerm_network_interface.hcl b/tools/apispec-rule-gen/mappings/azurerm_network_interface.hcl index d3ae9a41..8aa11f42 100644 --- a/tools/apispec-rule-gen/mappings/azurerm_network_interface.hcl +++ b/tools/apispec-rule-gen/mappings/azurerm_network_interface.hcl @@ -1,5 +1,5 @@ mapping "azurerm_network_interface" { - import_path = "azure-rest-api-specs/specification/network/resource-manager/Microsoft.Network/stable/2023-11-01/networkInterface.json" + import_path = "azure-rest-api-specs/specification/network/resource-manager/Microsoft.Network/stable/2024-05-01/networkInterface.json" dns_servers = NetworkInterfaceDnsSettings.dnsServers enable_ip_forwarding = NetworkInterfacePropertiesFormat.enableIPForwarding diff --git a/tools/apispec-rule-gen/mappings/azurerm_network_packet_capture.hcl b/tools/apispec-rule-gen/mappings/azurerm_network_packet_capture.hcl index 0192e537..4dec363e 100644 --- a/tools/apispec-rule-gen/mappings/azurerm_network_packet_capture.hcl +++ b/tools/apispec-rule-gen/mappings/azurerm_network_packet_capture.hcl @@ -1,5 +1,5 @@ mapping "azurerm_network_packet_capture" { - import_path = "azure-rest-api-specs/specification/network/resource-manager/Microsoft.Network/stable/2023-11-01/networkWatcher.json" + import_path = "azure-rest-api-specs/specification/network/resource-manager/Microsoft.Network/stable/2024-05-01/networkWatcher.json" target_resource_id = PacketCaptureParameters.target maximum_bytes_per_packet = any //PacketCaptureParameters.bytesToCapturePerPacket diff --git a/tools/apispec-rule-gen/mappings/azurerm_network_security_rule.hcl b/tools/apispec-rule-gen/mappings/azurerm_network_security_rule.hcl index fca6c552..50f8957b 100644 --- a/tools/apispec-rule-gen/mappings/azurerm_network_security_rule.hcl +++ b/tools/apispec-rule-gen/mappings/azurerm_network_security_rule.hcl @@ -1,5 +1,5 @@ mapping "azurerm_network_security_rule" { - import_path = "azure-rest-api-specs/specification/network/resource-manager/Microsoft.Network/stable/2023-11-01/networkSecurityGroup.json" + import_path = "azure-rest-api-specs/specification/network/resource-manager/Microsoft.Network/stable/2024-05-01/networkSecurityGroup.json" description = SecurityRulePropertiesFormat.description protocol = SecurityRulePropertiesFormat.protocol diff --git a/tools/apispec-rule-gen/mappings/azurerm_network_watcher_flow_log.hcl b/tools/apispec-rule-gen/mappings/azurerm_network_watcher_flow_log.hcl index 7a74f38e..7f506520 100644 --- a/tools/apispec-rule-gen/mappings/azurerm_network_watcher_flow_log.hcl +++ b/tools/apispec-rule-gen/mappings/azurerm_network_watcher_flow_log.hcl @@ -1,5 +1,5 @@ mapping "azurerm_network_watcher_flow_log" { - import_path = "azure-rest-api-specs/specification/network/resource-manager/Microsoft.Network/stable/2023-11-01/networkWatcher.json" + import_path = "azure-rest-api-specs/specification/network/resource-manager/Microsoft.Network/stable/2024-05-01/networkWatcher.json" network_security_group_id = FlowLogPropertiesFormat.targetResourceId storage_account_id = FlowLogPropertiesFormat.storageId diff --git a/tools/apispec-rule-gen/mappings/azurerm_notification_hub_namespace.hcl b/tools/apispec-rule-gen/mappings/azurerm_notification_hub_namespace.hcl index 59021700..59d94fe4 100644 --- a/tools/apispec-rule-gen/mappings/azurerm_notification_hub_namespace.hcl +++ b/tools/apispec-rule-gen/mappings/azurerm_notification_hub_namespace.hcl @@ -1,8 +1,8 @@ mapping "azurerm_notification_hub_namespace" { - import_path = "azure-rest-api-specs/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/stable/2017-04-01/notificationhubs.json" + import_path = "azure-rest-api-specs/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/stable/2023-09-01/notificationhubs.json" name = NamespaceProperties.name - namespace_type = NamespaceProperties.namespaceType - sku_name = Sku.name + namespace_type = NamespaceType + sku_name = SkuName enabled = NamespaceProperties.enabled } diff --git a/tools/apispec-rule-gen/mappings/azurerm_point_to_site_vpn_gateway.hcl b/tools/apispec-rule-gen/mappings/azurerm_point_to_site_vpn_gateway.hcl index 3d5597c2..f6137539 100644 --- a/tools/apispec-rule-gen/mappings/azurerm_point_to_site_vpn_gateway.hcl +++ b/tools/apispec-rule-gen/mappings/azurerm_point_to_site_vpn_gateway.hcl @@ -1,5 +1,5 @@ mapping "azurerm_point_to_site_vpn_gateway" { - import_path = "azure-rest-api-specs/specification/network/resource-manager/Microsoft.Network/stable/2023-11-01/virtualWan.json" + import_path = "azure-rest-api-specs/specification/network/resource-manager/Microsoft.Network/stable/2024-05-01/virtualWan.json" scale_unit = P2SVpnGatewayProperties.vpnGatewayScaleUnit } diff --git a/tools/apispec-rule-gen/mappings/azurerm_private_dns_a_record.hcl b/tools/apispec-rule-gen/mappings/azurerm_private_dns_a_record.hcl index c19d2124..77aa8c9e 100644 --- a/tools/apispec-rule-gen/mappings/azurerm_private_dns_a_record.hcl +++ b/tools/apispec-rule-gen/mappings/azurerm_private_dns_a_record.hcl @@ -1,5 +1,5 @@ mapping "azurerm_private_dns_a_record" { - import_path = "azure-rest-api-specs/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/privatedns.json" + import_path = "azure-rest-api-specs/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/privatedns.json" TTL = RecordSetProperties.ttl records = RecordSetProperties.aRecords diff --git a/tools/apispec-rule-gen/mappings/azurerm_private_dns_aaaa_record.hcl b/tools/apispec-rule-gen/mappings/azurerm_private_dns_aaaa_record.hcl index 1f67ed57..1a1a2cfb 100644 --- a/tools/apispec-rule-gen/mappings/azurerm_private_dns_aaaa_record.hcl +++ b/tools/apispec-rule-gen/mappings/azurerm_private_dns_aaaa_record.hcl @@ -1,5 +1,5 @@ mapping "azurerm_private_dns_aaaa_record" { - import_path = "azure-rest-api-specs/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/privatedns.json" + import_path = "azure-rest-api-specs/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/privatedns.json" TTL = RecordSetProperties.ttl records = RecordSetProperties.aaaaRecords diff --git a/tools/apispec-rule-gen/mappings/azurerm_private_dns_cname_record.hcl b/tools/apispec-rule-gen/mappings/azurerm_private_dns_cname_record.hcl index ab386fb2..eb7c864f 100644 --- a/tools/apispec-rule-gen/mappings/azurerm_private_dns_cname_record.hcl +++ b/tools/apispec-rule-gen/mappings/azurerm_private_dns_cname_record.hcl @@ -1,5 +1,5 @@ mapping "azurerm_private_dns_cname_record" { - import_path = "azure-rest-api-specs/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/privatedns.json" + import_path = "azure-rest-api-specs/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/privatedns.json" TTL = RecordSetProperties.ttl record = CnameRecord.cname diff --git a/tools/apispec-rule-gen/mappings/azurerm_private_dns_mx_record.hcl b/tools/apispec-rule-gen/mappings/azurerm_private_dns_mx_record.hcl index 39b92f4e..a2def09e 100644 --- a/tools/apispec-rule-gen/mappings/azurerm_private_dns_mx_record.hcl +++ b/tools/apispec-rule-gen/mappings/azurerm_private_dns_mx_record.hcl @@ -1,5 +1,5 @@ mapping "azurerm_private_dns_mx_record" { - import_path = "azure-rest-api-specs/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/privatedns.json" + import_path = "azure-rest-api-specs/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/privatedns.json" ttl = RecordSetProperties.ttl } diff --git a/tools/apispec-rule-gen/mappings/azurerm_private_dns_ptr_record.hcl b/tools/apispec-rule-gen/mappings/azurerm_private_dns_ptr_record.hcl index f26aa2b5..404bed28 100644 --- a/tools/apispec-rule-gen/mappings/azurerm_private_dns_ptr_record.hcl +++ b/tools/apispec-rule-gen/mappings/azurerm_private_dns_ptr_record.hcl @@ -1,5 +1,5 @@ mapping "azurerm_private_dns_ptr_record" { - import_path = "azure-rest-api-specs/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/privatedns.json" + import_path = "azure-rest-api-specs/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/privatedns.json" ttl = RecordSetProperties.ttl records = RecordSetProperties.ptrRecords diff --git a/tools/apispec-rule-gen/mappings/azurerm_private_dns_srv_record.hcl b/tools/apispec-rule-gen/mappings/azurerm_private_dns_srv_record.hcl index 411086f4..6158a0e6 100644 --- a/tools/apispec-rule-gen/mappings/azurerm_private_dns_srv_record.hcl +++ b/tools/apispec-rule-gen/mappings/azurerm_private_dns_srv_record.hcl @@ -1,5 +1,5 @@ mapping "azurerm_private_dns_srv_record" { - import_path = "azure-rest-api-specs/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/privatedns.json" + import_path = "azure-rest-api-specs/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/privatedns.json" ttl = RecordSetProperties.ttl } diff --git a/tools/apispec-rule-gen/mappings/azurerm_private_dns_zone_virtual_network_link.hcl b/tools/apispec-rule-gen/mappings/azurerm_private_dns_zone_virtual_network_link.hcl index c5e77002..78003c03 100644 --- a/tools/apispec-rule-gen/mappings/azurerm_private_dns_zone_virtual_network_link.hcl +++ b/tools/apispec-rule-gen/mappings/azurerm_private_dns_zone_virtual_network_link.hcl @@ -1,5 +1,5 @@ mapping "azurerm_private_dns_zone_virtual_network_link" { - import_path = "azure-rest-api-specs/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/privatedns.json" + import_path = "azure-rest-api-specs/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/privatedns.json" registration_enabled = VirtualNetworkLinkProperties.registrationEnabled } diff --git a/tools/apispec-rule-gen/mappings/azurerm_private_link_service.hcl b/tools/apispec-rule-gen/mappings/azurerm_private_link_service.hcl index ae8ecd9a..fdb8ca74 100644 --- a/tools/apispec-rule-gen/mappings/azurerm_private_link_service.hcl +++ b/tools/apispec-rule-gen/mappings/azurerm_private_link_service.hcl @@ -1,5 +1,5 @@ mapping "azurerm_private_link_service" { - import_path = "azure-rest-api-specs/specification/network/resource-manager/Microsoft.Network/stable/2023-11-01/privateLinkService.json" + import_path = "azure-rest-api-specs/specification/network/resource-manager/Microsoft.Network/stable/2024-05-01/privateLinkService.json" load_balancer_frontend_ip_configuration_ids = PrivateLinkServiceProperties.loadBalancerFrontendIpConfigurations enable_proxy_protocol = PrivateLinkServiceProperties.enableProxyProtocol diff --git a/tools/apispec-rule-gen/mappings/azurerm_public_ip_prefix.hcl b/tools/apispec-rule-gen/mappings/azurerm_public_ip_prefix.hcl index aa5109cf..4ca700b2 100644 --- a/tools/apispec-rule-gen/mappings/azurerm_public_ip_prefix.hcl +++ b/tools/apispec-rule-gen/mappings/azurerm_public_ip_prefix.hcl @@ -1,5 +1,5 @@ mapping "azurerm_public_ip_prefix" { - import_path = "azure-rest-api-specs/specification/network/resource-manager/Microsoft.Network/stable/2023-11-01/publicIpPrefix.json" + import_path = "azure-rest-api-specs/specification/network/resource-manager/Microsoft.Network/stable/2024-05-01/publicIpPrefix.json" sku = PublicIPPrefixSku.name prefix_length = PublicIPPrefixPropertiesFormat.prefixLength diff --git a/tools/apispec-rule-gen/mappings/azurerm_recovery_services_vault.hcl b/tools/apispec-rule-gen/mappings/azurerm_recovery_services_vault.hcl index 13aefa87..d1dfbccf 100644 --- a/tools/apispec-rule-gen/mappings/azurerm_recovery_services_vault.hcl +++ b/tools/apispec-rule-gen/mappings/azurerm_recovery_services_vault.hcl @@ -1,5 +1,5 @@ mapping "azurerm_recovery_services_vault" { - import_path = "azure-rest-api-specs/specification/recoveryservices/resource-manager/Microsoft.RecoveryServices/stable/2024-01-01/vaults.json" + import_path = "azure-rest-api-specs/specification/recoveryservices/resource-manager/Microsoft.RecoveryServices/stable/2023-02-01/vaults.json" name = VaultName resource_group_name = ResourceGroupName diff --git a/tools/apispec-rule-gen/mappings/azurerm_redis_cache.hcl b/tools/apispec-rule-gen/mappings/azurerm_redis_cache.hcl index 40804f82..7c973d3d 100644 --- a/tools/apispec-rule-gen/mappings/azurerm_redis_cache.hcl +++ b/tools/apispec-rule-gen/mappings/azurerm_redis_cache.hcl @@ -1,5 +1,5 @@ mapping "azurerm_redis_cache" { - import_path = "azure-rest-api-specs/specification/redis/resource-manager/Microsoft.Cache/stable/2023-08-01/redis.json" + import_path = "azure-rest-api-specs/specification/redis/resource-manager/Microsoft.Cache/stable/2024-11-01/redis.json" location = RedisCreateParameters.location capacity = Sku.capacity diff --git a/tools/apispec-rule-gen/mappings/azurerm_redis_firewall_rule.hcl b/tools/apispec-rule-gen/mappings/azurerm_redis_firewall_rule.hcl index 2e67baee..fa7bf280 100644 --- a/tools/apispec-rule-gen/mappings/azurerm_redis_firewall_rule.hcl +++ b/tools/apispec-rule-gen/mappings/azurerm_redis_firewall_rule.hcl @@ -1,5 +1,5 @@ mapping "azurerm_redis_firewall_rule" { - import_path = "azure-rest-api-specs/specification/redis/resource-manager/Microsoft.Cache/stable/2023-08-01/redis.json" + import_path = "azure-rest-api-specs/specification/redis/resource-manager/Microsoft.Cache/stable/2024-11-01/redis.json" start_ip = RedisFirewallRuleProperties.startIP end_ip = RedisFirewallRuleProperties.endIP diff --git a/tools/apispec-rule-gen/mappings/azurerm_route.hcl b/tools/apispec-rule-gen/mappings/azurerm_route.hcl index b0d8ddbf..6424fc37 100644 --- a/tools/apispec-rule-gen/mappings/azurerm_route.hcl +++ b/tools/apispec-rule-gen/mappings/azurerm_route.hcl @@ -1,5 +1,5 @@ mapping "azurerm_route" { - import_path = "azure-rest-api-specs/specification/network/resource-manager/Microsoft.Network/stable/2023-11-01/routeTable.json" + import_path = "azure-rest-api-specs/specification/network/resource-manager/Microsoft.Network/stable/2024-05-01/routeTable.json" address_prefix = RoutePropertiesFormat.addressPrefix next_hop_type = RouteNextHopType diff --git a/tools/apispec-rule-gen/mappings/azurerm_route_table.hcl b/tools/apispec-rule-gen/mappings/azurerm_route_table.hcl index ff5279ec..52d7b44d 100644 --- a/tools/apispec-rule-gen/mappings/azurerm_route_table.hcl +++ b/tools/apispec-rule-gen/mappings/azurerm_route_table.hcl @@ -1,5 +1,5 @@ mapping "azurerm_route_table" { - import_path = "azure-rest-api-specs/specification/network/resource-manager/Microsoft.Network/stable/2023-11-01/routeTable.json" + import_path = "azure-rest-api-specs/specification/network/resource-manager/Microsoft.Network/stable/2024-05-01/routeTable.json" disable_bgp_route_propagation = RouteTablePropertiesFormat.disableBgpRoutePropagation } diff --git a/tools/apispec-rule-gen/mappings/azurerm_search_service.hcl b/tools/apispec-rule-gen/mappings/azurerm_search_service.hcl index 327ae93e..2f59eef0 100644 --- a/tools/apispec-rule-gen/mappings/azurerm_search_service.hcl +++ b/tools/apispec-rule-gen/mappings/azurerm_search_service.hcl @@ -1,8 +1,8 @@ mapping "azurerm_search_service" { - import_path = "azure-rest-api-specs/specification/search/resource-manager/Microsoft.Search/stable/2023-11-01/search.json" + import_path = "azure-rest-api-specs/specification/search/resource-manager/Microsoft.Search/preview/2024-06-01-preview/search.json" location = any //Resource.location - name = SearchServiceNameParameter + name = any //SearchServiceNameParameter resource_group_name = ResourceGroupNameParameter sku = Sku.name partition_count = SearchServiceProperties.partitionCount diff --git a/tools/apispec-rule-gen/mappings/azurerm_sentinel_alert_rule_ms_security_incident.hcl b/tools/apispec-rule-gen/mappings/azurerm_sentinel_alert_rule_ms_security_incident.hcl index af3d71d8..d32f1efc 100644 --- a/tools/apispec-rule-gen/mappings/azurerm_sentinel_alert_rule_ms_security_incident.hcl +++ b/tools/apispec-rule-gen/mappings/azurerm_sentinel_alert_rule_ms_security_incident.hcl @@ -1,5 +1,5 @@ mapping "azurerm_sentinel_alert_rule_ms_security_incident" { - import_path = "azure-rest-api-specs/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2022-10-01-preview/AlertRules.json" + import_path = "azure-rest-api-specs/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2023-12-01-preview/AlertRules.json" name = MicrosoftSecurityIncidentCreationAlertRuleProperties.alertRuleTemplateName display_name = MicrosoftSecurityIncidentCreationAlertRuleProperties.displayName diff --git a/tools/apispec-rule-gen/mappings/azurerm_servicebus_queue.hcl b/tools/apispec-rule-gen/mappings/azurerm_servicebus_queue.hcl index 33da057b..063234aa 100644 --- a/tools/apispec-rule-gen/mappings/azurerm_servicebus_queue.hcl +++ b/tools/apispec-rule-gen/mappings/azurerm_servicebus_queue.hcl @@ -1,5 +1,5 @@ mapping "azurerm_servicebus_queue" { - import_path = "azure-rest-api-specs/specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2022-10-01-preview/Queue.json" + import_path = "azure-rest-api-specs/specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2021-06-01-preview/Queue.json" name = any namespace_name = any diff --git a/tools/apispec-rule-gen/mappings/azurerm_servicebus_subscription.hcl b/tools/apispec-rule-gen/mappings/azurerm_servicebus_subscription.hcl index a3f9baff..36c53a5a 100644 --- a/tools/apispec-rule-gen/mappings/azurerm_servicebus_subscription.hcl +++ b/tools/apispec-rule-gen/mappings/azurerm_servicebus_subscription.hcl @@ -1,5 +1,5 @@ mapping "azurerm_servicebus_subscription" { - import_path = "azure-rest-api-specs/specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2022-10-01-preview/subscriptions.json" + import_path = "azure-rest-api-specs/specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2021-06-01-preview/subscriptions.json" name = any namespace_name = any diff --git a/tools/apispec-rule-gen/mappings/azurerm_servicebus_subscription_rule.hcl b/tools/apispec-rule-gen/mappings/azurerm_servicebus_subscription_rule.hcl index 37bcb25c..b53ae3fb 100644 --- a/tools/apispec-rule-gen/mappings/azurerm_servicebus_subscription_rule.hcl +++ b/tools/apispec-rule-gen/mappings/azurerm_servicebus_subscription_rule.hcl @@ -1,5 +1,5 @@ mapping "azurerm_servicebus_subscription_rule" { - import_path = "azure-rest-api-specs/specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2022-10-01-preview/Rules.json" + import_path = "azure-rest-api-specs/specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2021-06-01-preview/Rules.json" namespace_name = any topic_name = any diff --git a/tools/apispec-rule-gen/mappings/azurerm_signalr_service.hcl b/tools/apispec-rule-gen/mappings/azurerm_signalr_service.hcl index bca762dd..8ca2bf1d 100644 --- a/tools/apispec-rule-gen/mappings/azurerm_signalr_service.hcl +++ b/tools/apispec-rule-gen/mappings/azurerm_signalr_service.hcl @@ -1,6 +1,6 @@ mapping "azurerm_signalr_service" { - import_path = "azure-rest-api-specs/specification/signalr/resource-manager/Microsoft.SignalRService/stable/2023-02-01/signalr.json" + import_path = "azure-rest-api-specs/specification/signalr/resource-manager/Microsoft.SignalRService/stable/2024-03-01/signalr.json" name = ResourceName - resource_group_name = ResourceGroupParameter + resource_group_name = any //ResourceGroupParameter } diff --git a/tools/apispec-rule-gen/mappings/azurerm_storage_account.hcl b/tools/apispec-rule-gen/mappings/azurerm_storage_account.hcl index 45c45ac8..baa1d143 100644 --- a/tools/apispec-rule-gen/mappings/azurerm_storage_account.hcl +++ b/tools/apispec-rule-gen/mappings/azurerm_storage_account.hcl @@ -1,5 +1,5 @@ mapping "azurerm_storage_account" { - import_path = "azure-rest-api-specs/specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/storage.json" + import_path = "azure-rest-api-specs/specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/storage.json" name = StorageAccountName resource_group_name = ResourceGroupName diff --git a/tools/apispec-rule-gen/mappings/azurerm_storage_account_customer_managed_key.hcl b/tools/apispec-rule-gen/mappings/azurerm_storage_account_customer_managed_key.hcl index 1c327fb0..6193a106 100644 --- a/tools/apispec-rule-gen/mappings/azurerm_storage_account_customer_managed_key.hcl +++ b/tools/apispec-rule-gen/mappings/azurerm_storage_account_customer_managed_key.hcl @@ -1,5 +1,5 @@ mapping "azurerm_storage_account_customer_managed_key" { - import_path = "azure-rest-api-specs/specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/storage.json" + import_path = "azure-rest-api-specs/specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/storage.json" key_name = KeyVaultProperties.keyname key_version = KeyVaultProperties.keyversion diff --git a/tools/apispec-rule-gen/mappings/azurerm_subnet.hcl b/tools/apispec-rule-gen/mappings/azurerm_subnet.hcl index 7266c11c..9f8ee62a 100644 --- a/tools/apispec-rule-gen/mappings/azurerm_subnet.hcl +++ b/tools/apispec-rule-gen/mappings/azurerm_subnet.hcl @@ -1,5 +1,5 @@ mapping "azurerm_subnet" { - import_path = "azure-rest-api-specs/specification/network/resource-manager/Microsoft.Network/stable/2023-11-01/virtualNetwork.json" + import_path = "azure-rest-api-specs/specification/network/resource-manager/Microsoft.Network/stable/2024-05-01/virtualNetwork.json" name = Subnet.name address_prefix = SubnetPropertiesFormat.addressPrefix diff --git a/tools/apispec-rule-gen/mappings/azurerm_virtual_hub.hcl b/tools/apispec-rule-gen/mappings/azurerm_virtual_hub.hcl index 8899737c..11d2da0a 100644 --- a/tools/apispec-rule-gen/mappings/azurerm_virtual_hub.hcl +++ b/tools/apispec-rule-gen/mappings/azurerm_virtual_hub.hcl @@ -1,5 +1,5 @@ mapping "azurerm_virtual_hub" { - import_path = "azure-rest-api-specs/specification/network/resource-manager/Microsoft.Network/stable/2023-11-01/virtualWan.json" + import_path = "azure-rest-api-specs/specification/network/resource-manager/Microsoft.Network/stable/2024-05-01/virtualWan.json" address_prefix = VirtualHubProperties.addressPrefix } diff --git a/tools/apispec-rule-gen/mappings/azurerm_virtual_hub_connection.hcl b/tools/apispec-rule-gen/mappings/azurerm_virtual_hub_connection.hcl index f28caab3..a7904ec3 100644 --- a/tools/apispec-rule-gen/mappings/azurerm_virtual_hub_connection.hcl +++ b/tools/apispec-rule-gen/mappings/azurerm_virtual_hub_connection.hcl @@ -1,5 +1,5 @@ mapping "azurerm_virtual_hub_connection" { - import_path = "azure-rest-api-specs/specification/network/resource-manager/Microsoft.Network/stable/2023-11-01/virtualWan.json" + import_path = "azure-rest-api-specs/specification/network/resource-manager/Microsoft.Network/stable/2024-05-01/virtualWan.json" hub_to_vitual_network_traffic_allowed = HubVirtualNetworkConnectionProperties.allowHubToRemoteVnetTransit vitual_network_to_hub_gateways_traffic_allowed = HubVirtualNetworkConnectionProperties.allowRemoteVnetToUseHubVnetGateways diff --git a/tools/apispec-rule-gen/mappings/azurerm_virtual_machine_scale_set.hcl b/tools/apispec-rule-gen/mappings/azurerm_virtual_machine_scale_set.hcl index c7b2e97f..4a0be7f8 100644 --- a/tools/apispec-rule-gen/mappings/azurerm_virtual_machine_scale_set.hcl +++ b/tools/apispec-rule-gen/mappings/azurerm_virtual_machine_scale_set.hcl @@ -1,5 +1,5 @@ mapping "azurerm_virtual_machine_scale_set" { - import_path = "azure-rest-api-specs/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/computeRPCommon.json" + import_path = "azure-rest-api-specs/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/computeRPCommon.json" upgrade_policy_mode = any //UpgradePolicy.mode eviction_policy = evictionPolicy diff --git a/tools/apispec-rule-gen/mappings/azurerm_virtual_network.hcl b/tools/apispec-rule-gen/mappings/azurerm_virtual_network.hcl index 7b965484..e9780b09 100644 --- a/tools/apispec-rule-gen/mappings/azurerm_virtual_network.hcl +++ b/tools/apispec-rule-gen/mappings/azurerm_virtual_network.hcl @@ -1,5 +1,5 @@ mapping "azurerm_virtual_network" { - import_path = "azure-rest-api-specs/specification/network/resource-manager/Microsoft.Network/stable/2023-11-01/virtualNetwork.json" + import_path = "azure-rest-api-specs/specification/network/resource-manager/Microsoft.Network/stable/2024-05-01/virtualNetwork.json" dns_servers = DhcpOptions.dnsServers } diff --git a/tools/apispec-rule-gen/mappings/azurerm_virtual_network_gateway.hcl b/tools/apispec-rule-gen/mappings/azurerm_virtual_network_gateway.hcl index 1a36dacf..38c1f73c 100644 --- a/tools/apispec-rule-gen/mappings/azurerm_virtual_network_gateway.hcl +++ b/tools/apispec-rule-gen/mappings/azurerm_virtual_network_gateway.hcl @@ -1,5 +1,5 @@ mapping "azurerm_virtual_network_gateway" { - import_path = "azure-rest-api-specs/specification/network/resource-manager/Microsoft.Network/stable/2023-11-01/virtualNetworkGateway.json" + import_path = "azure-rest-api-specs/specification/network/resource-manager/Microsoft.Network/stable/2024-05-01/virtualNetworkGateway.json" type = VirtualNetworkGatewayPropertiesFormat.gatewayType vpn_type = VirtualNetworkGatewayPropertiesFormat.vpnType diff --git a/tools/apispec-rule-gen/mappings/azurerm_virtual_network_gateway_connection.hcl b/tools/apispec-rule-gen/mappings/azurerm_virtual_network_gateway_connection.hcl index 1d03d042..626673fd 100644 --- a/tools/apispec-rule-gen/mappings/azurerm_virtual_network_gateway_connection.hcl +++ b/tools/apispec-rule-gen/mappings/azurerm_virtual_network_gateway_connection.hcl @@ -1,5 +1,5 @@ mapping "azurerm_virtual_network_gateway_connection" { - import_path = "azure-rest-api-specs/specification/network/resource-manager/Microsoft.Network/stable/2023-11-01/virtualNetworkGateway.json" + import_path = "azure-rest-api-specs/specification/network/resource-manager/Microsoft.Network/stable/2024-05-01/virtualNetworkGateway.json" type = VirtualNetworkGatewayConnectionType authorization_key = VirtualNetworkGatewayConnectionPropertiesFormat.authorizationKey diff --git a/tools/apispec-rule-gen/mappings/azurerm_virtual_network_peering.hcl b/tools/apispec-rule-gen/mappings/azurerm_virtual_network_peering.hcl index db90ed4d..5023c833 100644 --- a/tools/apispec-rule-gen/mappings/azurerm_virtual_network_peering.hcl +++ b/tools/apispec-rule-gen/mappings/azurerm_virtual_network_peering.hcl @@ -1,5 +1,5 @@ mapping "azurerm_virtual_network_peering" { - import_path = "azure-rest-api-specs/specification/network/resource-manager/Microsoft.Network/stable/2023-11-01/virtualNetwork.json" + import_path = "azure-rest-api-specs/specification/network/resource-manager/Microsoft.Network/stable/2024-05-01/virtualNetwork.json" allow_virtual_network_access = VirtualNetworkPeeringPropertiesFormat.allowVirtualNetworkAccess allow_forwarded_traffic = VirtualNetworkPeeringPropertiesFormat.allowForwardedTraffic diff --git a/tools/apispec-rule-gen/mappings/azurerm_virtual_wan.hcl b/tools/apispec-rule-gen/mappings/azurerm_virtual_wan.hcl index 93b252a2..ea885ba5 100644 --- a/tools/apispec-rule-gen/mappings/azurerm_virtual_wan.hcl +++ b/tools/apispec-rule-gen/mappings/azurerm_virtual_wan.hcl @@ -1,5 +1,5 @@ mapping "azurerm_virtual_wan" { - import_path = "azure-rest-api-specs/specification/network/resource-manager/Microsoft.Network/stable/2023-11-01/virtualWan.json" + import_path = "azure-rest-api-specs/specification/network/resource-manager/Microsoft.Network/stable/2024-05-01/virtualWan.json" disable_vpn_encryption = VirtualWanProperties.disableVpnEncryption allow_branch_to_branch_traffic = VirtualWanProperties.allowBranchToBranchTraffic diff --git a/tools/apispec-rule-gen/mappings/azurerm_vpn_gateway.hcl b/tools/apispec-rule-gen/mappings/azurerm_vpn_gateway.hcl index c9ddd295..7c30c8a4 100644 --- a/tools/apispec-rule-gen/mappings/azurerm_vpn_gateway.hcl +++ b/tools/apispec-rule-gen/mappings/azurerm_vpn_gateway.hcl @@ -1,5 +1,5 @@ mapping "azurerm_vpn_gateway" { - import_path = "azure-rest-api-specs/specification/network/resource-manager/Microsoft.Network/stable/2023-11-01/virtualWan.json" + import_path = "azure-rest-api-specs/specification/network/resource-manager/Microsoft.Network/stable/2024-05-01/virtualWan.json" scale_unit = VpnGatewayProperties.vpnGatewayScaleUnit } diff --git a/tools/apispec-rule-gen/mappings/azurerm_vpn_server_configuration.hcl b/tools/apispec-rule-gen/mappings/azurerm_vpn_server_configuration.hcl index d0c51f04..7e75a15a 100644 --- a/tools/apispec-rule-gen/mappings/azurerm_vpn_server_configuration.hcl +++ b/tools/apispec-rule-gen/mappings/azurerm_vpn_server_configuration.hcl @@ -1,5 +1,5 @@ mapping "azurerm_vpn_server_configuration" { - import_path = "azure-rest-api-specs/specification/network/resource-manager/Microsoft.Network/stable/2023-11-01/virtualWan.json" + import_path = "azure-rest-api-specs/specification/network/resource-manager/Microsoft.Network/stable/2024-05-01/virtualWan.json" vpn_authentication_types = VpnServerConfigurationProperties.vpnAuthenticationTypes vpn_protocols = VpnServerConfigurationProperties.vpnProtocols diff --git a/tools/apispec-rule-gen/mappings/azurerm_windows_virtual_machine_scale_set.hcl b/tools/apispec-rule-gen/mappings/azurerm_windows_virtual_machine_scale_set.hcl index ae75e53f..b5c23a7b 100644 --- a/tools/apispec-rule-gen/mappings/azurerm_windows_virtual_machine_scale_set.hcl +++ b/tools/apispec-rule-gen/mappings/azurerm_windows_virtual_machine_scale_set.hcl @@ -1,5 +1,5 @@ mapping "azurerm_windows_virtual_machine_scale_set" { - import_path = "azure-rest-api-specs/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/computeRPCommon.json" + import_path = "azure-rest-api-specs/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/computeRPCommon.json" admin_password = any //VirtualMachineScaleSetOSProfile.adminPassword admin_username = any //VirtualMachineScaleSetOSProfile.adminUsername