From 95d0221bf20856f66c8e2c19d374edc651d69b6c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafael=20Fern=C3=A1ndez?= Date: Wed, 30 Oct 2024 16:12:41 +0100 Subject: [PATCH] refactor(examples): update 'enforce_private_link_endpoint_network_policies' to 'private_endpoint_network_policies' in configuration example files --- .../200-batch-account-private-endpoint/configuration.tfvars | 2 +- .../200-acr-private-link/configuration.tfvars | 2 +- .../100-backup-vault-blob-storage/configuration.tfvars | 2 +- .../101-backup-vault-disk/configuration.tfvars | 2 +- .../configuration.tfvars | 4 ++-- .../configuration.tfvars | 2 +- .../configuration.tfvars | 2 +- .../200-servicebus-privatelink/configuration.tfvars | 2 +- .../messaging/signalr/100-signalr-simple/configuration.tfvars | 4 ++-- .../111-sqlserver_private_endpoint/configurations.tfvars | 2 +- .../endpoints/centralized/virtual_networks.tfvars | 2 +- .../102-private-endpoint-postgresql/configuration.tfvars | 2 +- .../103-private-endpoint-with-fw-rule/configuration.tfvars | 2 +- .../103-asr-with-private-endpoint/virtual_networks.tfvars | 2 +- .../virtual_networks.tfvars | 2 +- .../105-asr-with-network-mapping/virtual_networks.tfvars | 4 ++-- .../103-redis-private-endpoints/configuration.tfvars | 2 +- 17 files changed, 20 insertions(+), 20 deletions(-) diff --git a/examples/compute/batch/batch_account/200-batch-account-private-endpoint/configuration.tfvars b/examples/compute/batch/batch_account/200-batch-account-private-endpoint/configuration.tfvars index aaf20eea53..caf53d00d8 100644 --- a/examples/compute/batch/batch_account/200-batch-account-private-endpoint/configuration.tfvars +++ b/examples/compute/batch/batch_account/200-batch-account-private-endpoint/configuration.tfvars @@ -54,7 +54,7 @@ vnets = { name = "pep" cidr = ["100.64.103.0/27"] service_endpoints = ["Microsoft.Storage"] - enforce_private_link_endpoint_network_policies = "true" + private_endpoint_network_policies = "Enabled" } } } diff --git a/examples/compute/container_registry/200-acr-private-link/configuration.tfvars b/examples/compute/container_registry/200-acr-private-link/configuration.tfvars index b8debd3da6..8ae58a9d98 100644 --- a/examples/compute/container_registry/200-acr-private-link/configuration.tfvars +++ b/examples/compute/container_registry/200-acr-private-link/configuration.tfvars @@ -79,7 +79,7 @@ vnets = { name = "jumphost" cidr = ["100.64.103.0/27"] service_endpoint = ["Microsoft.ContainerRegistry"] - enforce_private_link_endpoint_network_policies = "true" + private_endpoint_network_policies = "Enabled" } } } diff --git a/examples/data_protection/100-backup-vault-blob-storage/configuration.tfvars b/examples/data_protection/100-backup-vault-blob-storage/configuration.tfvars index 9d29aeb608..405ba8995f 100644 --- a/examples/data_protection/100-backup-vault-blob-storage/configuration.tfvars +++ b/examples/data_protection/100-backup-vault-blob-storage/configuration.tfvars @@ -52,7 +52,7 @@ backup_vault_policies = { type = "blob_storage" # policy type, blob_storage and disk supported backup_vault_key = "bv0" policy_name = "backup-policy-lvl0" - retention_duration = "P50D" #Specific ISO 8601 format + operational_default_retention_duration = "P50D" #Specific ISO 8601 format } } diff --git a/examples/data_protection/101-backup-vault-disk/configuration.tfvars b/examples/data_protection/101-backup-vault-disk/configuration.tfvars index 22ceb62d04..9068e7ffd7 100644 --- a/examples/data_protection/101-backup-vault-disk/configuration.tfvars +++ b/examples/data_protection/101-backup-vault-disk/configuration.tfvars @@ -50,7 +50,7 @@ backup_vault_policies = { type = "disk" backup_vault_key = "bv0" policy_name = "backup-policy-lvl0" - retention_duration = "P7D" #Specific ISO 8601 format + operational_default_retention_duration = = "P7D" #Specific ISO 8601 format backup_repeating_time_intervals = ["R/2022-04-20T00:00:00+00:00/PT4H"] # ISO 8601 repeating time interval retention_rules = { Daily = { diff --git a/examples/databricks/102-premium-databricks-vnet-private-endpoint/configuration.tfvars b/examples/databricks/102-premium-databricks-vnet-private-endpoint/configuration.tfvars index 65e47eaabc..50520707f4 100644 --- a/examples/databricks/102-premium-databricks-vnet-private-endpoint/configuration.tfvars +++ b/examples/databricks/102-premium-databricks-vnet-private-endpoint/configuration.tfvars @@ -33,7 +33,7 @@ databricks_workspaces = { name = "sales_workspace" resource_group_key = "databricks_re1" sku = "premium" - public_network_access_enabled = false + private_endpoint_network_policies = "Enabled" network_security_group_rules_required = "NoAzureDatabricksRules" tags = { ws = "ws" @@ -78,7 +78,7 @@ vnets = { pep = { name = "pep" cidr = ["10.100.100.0/28"] - enforce_private_link_endpoint_network_policies = "true" + private_endpoint_network_policies = "Enabled" } databricks_public = { nsg_key = "databricks_public" diff --git a/examples/eventhub/101-evh-namespace-with-private-endpoint/configuration.tfvars b/examples/eventhub/101-evh-namespace-with-private-endpoint/configuration.tfvars index dd24500f3c..55739ba4f0 100644 --- a/examples/eventhub/101-evh-namespace-with-private-endpoint/configuration.tfvars +++ b/examples/eventhub/101-evh-namespace-with-private-endpoint/configuration.tfvars @@ -68,7 +68,7 @@ vnets = { evh_subnet = { name = "evh_subnet" cidr = ["10.150.120.0/25"] - enforce_private_link_endpoint_network_policies = "true" + private_endpoint_network_policies = "Enabled" } } diff --git a/examples/messaging/eventgrid/101-simple-eventgrid-topic-private-endpoint/configuration.tfvars b/examples/messaging/eventgrid/101-simple-eventgrid-topic-private-endpoint/configuration.tfvars index 1cc444494c..c1da27e81e 100644 --- a/examples/messaging/eventgrid/101-simple-eventgrid-topic-private-endpoint/configuration.tfvars +++ b/examples/messaging/eventgrid/101-simple-eventgrid-topic-private-endpoint/configuration.tfvars @@ -24,7 +24,7 @@ vnets = { example = { name = "example-subnet" cidr = ["10.0.1.0/24"] - enforce_private_link_endpoint_network_policies = "true" + private_endpoint_network_policies = "Enabled" } } } diff --git a/examples/messaging/servicebus/200-servicebus-privatelink/configuration.tfvars b/examples/messaging/servicebus/200-servicebus-privatelink/configuration.tfvars index cc7639392c..9c8ed5e6a1 100644 --- a/examples/messaging/servicebus/200-servicebus-privatelink/configuration.tfvars +++ b/examples/messaging/servicebus/200-servicebus-privatelink/configuration.tfvars @@ -29,7 +29,7 @@ vnets = { name = "subnet2" cidr = ["172.33.101.0/24"] service_endpoint = ["Microsoft.ServiceBus"] - enforce_private_link_endpoint_network_policies = "true" + private_endpoint_network_policies = "Enabled" } } } diff --git a/examples/messaging/signalr/100-signalr-simple/configuration.tfvars b/examples/messaging/signalr/100-signalr-simple/configuration.tfvars index 866107820e..13c4374260 100644 --- a/examples/messaging/signalr/100-signalr-simple/configuration.tfvars +++ b/examples/messaging/signalr/100-signalr-simple/configuration.tfvars @@ -24,7 +24,7 @@ vnets = { subnet1 = { name = "signalr-pr-subnet" cidr = ["10.100.100.0/29"] - enforce_private_link_endpoint_network_policies = "true" + private_endpoint_network_policies = "Enabled" } } @@ -40,7 +40,7 @@ vnets = { subnet1 = { name = "signalr-pr-subnet" cidr = ["10.100.100.8/29"] - enforce_private_link_endpoint_network_policies = "true" + private_endpoint_network_policies = "Enabled" } } diff --git a/examples/mssql_server/111-sqlserver_private_endpoint/configurations.tfvars b/examples/mssql_server/111-sqlserver_private_endpoint/configurations.tfvars index 69b08879fc..0f902d1bc3 100644 --- a/examples/mssql_server/111-sqlserver_private_endpoint/configurations.tfvars +++ b/examples/mssql_server/111-sqlserver_private_endpoint/configurations.tfvars @@ -38,7 +38,7 @@ vnets = { web = { name = "web-subnet" cidr = ["10.0.1.0/24"] - enforce_private_link_endpoint_network_policies = "true" + private_endpoint_network_policies = "Enabled" } } } diff --git a/examples/networking/private_links/endpoints/centralized/virtual_networks.tfvars b/examples/networking/private_links/endpoints/centralized/virtual_networks.tfvars index dd85f38feb..a4c47107fb 100644 --- a/examples/networking/private_links/endpoints/centralized/virtual_networks.tfvars +++ b/examples/networking/private_links/endpoints/centralized/virtual_networks.tfvars @@ -13,7 +13,7 @@ vnets = { subnet_01 = { name = "subnet-01" cidr = ["10.100.1.128/25"] - enforce_private_link_endpoint_network_policies = "true" + private_endpoint_network_policies = "Enabled" } } diff --git a/examples/postgresql_server/102-private-endpoint-postgresql/configuration.tfvars b/examples/postgresql_server/102-private-endpoint-postgresql/configuration.tfvars index a39e064b06..7d517a04ee 100644 --- a/examples/postgresql_server/102-private-endpoint-postgresql/configuration.tfvars +++ b/examples/postgresql_server/102-private-endpoint-postgresql/configuration.tfvars @@ -151,7 +151,7 @@ vnets = { postgresql_subnet = { name = "postgresql_subnet" cidr = ["10.150.102.0/25"] - enforce_private_link_endpoint_network_policies = "true" + private_endpoint_network_policies = "Enabled" } } diff --git a/examples/postgresql_server/103-private-endpoint-with-fw-rule/configuration.tfvars b/examples/postgresql_server/103-private-endpoint-with-fw-rule/configuration.tfvars index dc7cbf25f7..51b32e4f08 100644 --- a/examples/postgresql_server/103-private-endpoint-with-fw-rule/configuration.tfvars +++ b/examples/postgresql_server/103-private-endpoint-with-fw-rule/configuration.tfvars @@ -170,7 +170,7 @@ vnets = { postgresql_subnet = { name = "postgresql_subnet" cidr = ["10.150.102.0/25"] - enforce_private_link_endpoint_network_policies = "true" + private_endpoint_network_policies = "Enabled" } } diff --git a/examples/recovery_vault/103-asr-with-private-endpoint/virtual_networks.tfvars b/examples/recovery_vault/103-asr-with-private-endpoint/virtual_networks.tfvars index 00c54f0e8a..27848fa54e 100644 --- a/examples/recovery_vault/103-asr-with-private-endpoint/virtual_networks.tfvars +++ b/examples/recovery_vault/103-asr-with-private-endpoint/virtual_networks.tfvars @@ -13,7 +13,7 @@ vnets = { asr_subnet = { name = "asr_subnet" cidr = ["10.150.105.0/25"] - enforce_private_link_endpoint_network_policies = "true" + private_endpoint_network_policies = "Enabled" } } diff --git a/examples/recovery_vault/104-backupvault-with-private-endpoint/virtual_networks.tfvars b/examples/recovery_vault/104-backupvault-with-private-endpoint/virtual_networks.tfvars index 181ba5b862..0c2f5132a5 100644 --- a/examples/recovery_vault/104-backupvault-with-private-endpoint/virtual_networks.tfvars +++ b/examples/recovery_vault/104-backupvault-with-private-endpoint/virtual_networks.tfvars @@ -13,7 +13,7 @@ vnets = { subnet_001 = { name = "privatelink_subnet" cidr = ["10.150.105.0/25"] - enforce_private_link_endpoint_network_policies = "true" + private_endpoint_network_policies = "Enabled" } } diff --git a/examples/recovery_vault/105-asr-with-network-mapping/virtual_networks.tfvars b/examples/recovery_vault/105-asr-with-network-mapping/virtual_networks.tfvars index 759d820400..94704aa058 100644 --- a/examples/recovery_vault/105-asr-with-network-mapping/virtual_networks.tfvars +++ b/examples/recovery_vault/105-asr-with-network-mapping/virtual_networks.tfvars @@ -13,7 +13,7 @@ vnets = { asr_subnet = { name = "asr_subnet" cidr = ["10.150.105.0/25"] - enforce_private_link_endpoint_network_policies = "true" + private_endpoint_network_policies = "Enabled" } } @@ -32,7 +32,7 @@ vnets = { asr_subnet = { name = "asr_subnet" cidr = ["10.150.106.0/25"] - enforce_private_link_endpoint_network_policies = "true" + private_endpoint_network_policies = "Enabled" } } diff --git a/examples/redis_cache/103-redis-private-endpoints/configuration.tfvars b/examples/redis_cache/103-redis-private-endpoints/configuration.tfvars index 5fd028349e..2f64ad099f 100644 --- a/examples/redis_cache/103-redis-private-endpoints/configuration.tfvars +++ b/examples/redis_cache/103-redis-private-endpoints/configuration.tfvars @@ -65,7 +65,7 @@ vnets = { pep = { name = "pep" cidr = ["10.1.0.0/28"] - enforce_private_link_endpoint_network_policies = "true" + private_endpoint_network_policies = "Enabled" } } }